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