hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
remove_signatory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_REMOVE_SIGNATORY_HPP
7 #define IROHA_SHARED_MODEL_REMOVE_SIGNATORY_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
17  class RemoveSignatory : public ModelPrimitive<RemoveSignatory> {
18  public:
22  virtual const types::AccountIdType &accountId() const = 0;
26  virtual const types::PubkeyType &pubkey() const = 0;
27 
28  std::string toString() const override;
29 
30  bool operator==(const ModelType &rhs) const override;
31  };
32  } // namespace interface
33 } // namespace shared_model
34 
35 #endif // IROHA_SHARED_MODEL_REMOVE_SIGNATORY_HPP
Definition: remove_signatory.hpp:17
std::string AccountIdType
Type of account id.
Definition: types.hpp:35
std::string toString() const override
Definition: remove_signatory.cpp:13
Definition: public_key.hpp:16
bool operator==(const ModelType &rhs) const override
Definition: remove_signatory.cpp:21
Definition: model_primitive.hpp:23
virtual const types::AccountIdType & accountId() const =0
virtual const types::PubkeyType & pubkey() const =0
Definition: command_executor.hpp:12