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