hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
create_account.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_CREATE_ACCOUNT_HPP
7 #define IROHA_SHARED_MODEL_CREATE_ACCOUNT_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
14 
18  class CreateAccount : public ModelPrimitive<CreateAccount> {
19  public:
23  virtual const types::AccountNameType &accountName() const = 0;
27  virtual const types::DomainIdType &domainId() const = 0;
31  virtual const types::PubkeyType &pubkey() const = 0;
32 
33  std::string toString() const override;
34 
35  bool operator==(const ModelType &rhs) const override;
36  };
37  } // namespace interface
38 } // namespace shared_model
39 
40 #endif // IROHA_SHARED_MODEL_CREATE_ACCOUNT_HPP
bool operator==(const ModelType &rhs) const override
Definition: create_account.cpp:22
std::string DomainIdType
Iroha domain id type.
Definition: types.hpp:49
std::string toString() const override
Definition: create_account.cpp:13
virtual const types::AccountNameType & accountName() const =0
Definition: create_account.hpp:18
std::string AccountNameType
Type of account name.
Definition: types.hpp:65
Definition: public_key.hpp:16
Definition: model_primitive.hpp:23
virtual const types::DomainIdType & domainId() const =0
Definition: command_executor.hpp:12
virtual const types::PubkeyType & pubkey() const =0