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"
13 
14 namespace shared_model {
15  namespace proto {
16  class AddSignatory final : public interface::AddSignatory {
17  public:
18  explicit AddSignatory(iroha::protocol::Command &command);
19 
20  const interface::types::AccountIdType &accountId() const override;
21 
22  const interface::types::PubkeyType &pubkey() const override;
23 
24  private:
25  const iroha::protocol::AddSignatory &add_signatory_;
26 
27  const interface::types::PubkeyType pubkey_;
28  };
29 
30  } // namespace proto
31 } // namespace shared_model
32 
33 #endif // IROHA_PROTO_ADD_SIGNATORY_HPP
Definition: add_signatory.hpp:19
const interface::types::AccountIdType & accountId() const override
Definition: proto_add_signatory.cpp:17
AddSignatory(iroha::protocol::Command &command)
Definition: proto_add_signatory.cpp:13
const interface::types::PubkeyType & pubkey() const override
Definition: proto_add_signatory.cpp:21
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
Definition: public_key.hpp:16
Definition: command_executor.hpp:12
Definition: proto_add_signatory.hpp:16