hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::CreateAccount Class Referencefinal

#include "proto_create_account.hpp"

Inheritance diagram for shared_model::proto::CreateAccount:
Inheritance graph
Collaboration diagram for shared_model::proto::CreateAccount:
Collaboration graph

Public Member Functions

 CreateAccount (iroha::protocol::Command &command)
 
const std::string & pubkey () const override
 
const interface::types::AccountNameTypeaccountName () const override
 
const interface::types::DomainIdTypedomainId () const override
 
- Public Member Functions inherited from shared_model::interface::CreateAccount
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< CreateAccount >
virtual bool operator== (const ModelType &rhs) const=0
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< CreateAccount >
using ModelType = CreateAccount
 

Constructor & Destructor Documentation

◆ CreateAccount()

shared_model::proto::CreateAccount::CreateAccount ( iroha::protocol::Command &  command)
explicit

Member Function Documentation

◆ accountName()

const interface::types::AccountNameType & shared_model::proto::CreateAccount::accountName ( ) const
overridevirtual
Returns
Name of the account to create in Iroha

Implements shared_model::interface::CreateAccount.

◆ domainId()

const interface::types::DomainIdType & shared_model::proto::CreateAccount::domainId ( ) const
overridevirtual
Returns
Iroha domain in which account will be created

Implements shared_model::interface::CreateAccount.

◆ pubkey()

const std::string & shared_model::proto::CreateAccount::pubkey ( ) const
overridevirtual
Returns
Initial account public key

Implements shared_model::interface::CreateAccount.


The documentation for this class was generated from the following files: