hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_add_signatory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_ADD_SIGNATORY_HPP
7 #define IROHA_PROTO_ADD_SIGNATORY_HPP
8 
10 
11 #include "commands.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
15  class AddSignatory final : public interface::AddSignatory {
16  public:
17  explicit AddSignatory(iroha::protocol::Command &command);
18 
19  const interface::types::AccountIdType &accountId() const override;
20 
21  const std::string &pubkey() const override;
22 
23  private:
24  const iroha::protocol::AddSignatory &add_signatory_;
25  };
26 
27  } // namespace proto
28 } // namespace shared_model
29 
30 #endif // IROHA_PROTO_ADD_SIGNATORY_HPP
Definition: add_signatory.hpp:19
const interface::types::AccountIdType & accountId() const override
Definition: proto_add_signatory.cpp:16
AddSignatory(iroha::protocol::Command &command)
Definition: proto_add_signatory.cpp:13
const std::string & pubkey() const override
Definition: proto_add_signatory.cpp:20
std::string AccountIdType
Type of account id.
Definition: types.hpp:38
Definition: command_executor.hpp:13
Definition: proto_add_signatory.hpp:15