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 
10 
12 
13 namespace shared_model {
14  namespace interface {
15 
19  class CreateAccount : public ModelPrimitive<CreateAccount> {
20  public:
24  virtual const types::AccountNameType &accountName() const = 0;
28  virtual const types::DomainIdType &domainId() const = 0;
32  virtual const types::PubkeyType &pubkey() const = 0;
33 
34  std::string toString() const override;
35 
36  bool operator==(const ModelType &rhs) const override;
37  };
38  } // namespace interface
39 } // namespace shared_model
40 
41 #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:53
std::string toString() const override
Definition: create_account.cpp:13
virtual const types::AccountNameType & accountName() const =0
Definition: create_account.hpp:19
std::string AccountNameType
Type of account name.
Definition: types.hpp:68
Definition: public_key.hpp:16
Definition: model_primitive.hpp:22
virtual const types::DomainIdType & domainId() const =0
Definition: command_executor.hpp:12
virtual const types::PubkeyType & pubkey() const =0