hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
remove_signatory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_REMOVE_SIGNATORY_HPP
7 #define IROHA_SHARED_MODEL_REMOVE_SIGNATORY_HPP
8 
10 
12 
13 namespace shared_model {
14  namespace interface {
18  class RemoveSignatory : public ModelPrimitive<RemoveSignatory> {
19  public:
23  virtual const types::AccountIdType &accountId() const = 0;
27  virtual const types::PubkeyType &pubkey() const = 0;
28 
29  std::string toString() const override;
30 
31  bool operator==(const ModelType &rhs) const override;
32  };
33  } // namespace interface
34 } // namespace shared_model
35 
36 #endif // IROHA_SHARED_MODEL_REMOVE_SIGNATORY_HPP
Definition: remove_signatory.hpp:18
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
std::string toString() const override
Definition: remove_signatory.cpp:13
Definition: public_key.hpp:16
bool operator==(const ModelType &rhs) const override
Definition: remove_signatory.cpp:21
Definition: model_primitive.hpp:22
virtual const types::AccountIdType & accountId() const =0
virtual const types::PubkeyType & pubkey() const =0
Definition: command_executor.hpp:12