hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_get_account_assets.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_GET_ACCOUNT_ASSETS_H
7 #define IROHA_PROTO_GET_ACCOUNT_ASSETS_H
8 
11 #include "queries.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
15  class GetAccountAssets final
16  : public CopyableProto<interface::GetAccountAssets,
17  iroha::protocol::Query,
18  GetAccountAssets> {
19  public:
20  template <typename QueryType>
21  explicit GetAccountAssets(QueryType &&query);
22 
24 
25  GetAccountAssets(GetAccountAssets &&o) noexcept;
26 
27  const interface::types::AccountIdType &accountId() const override;
28 
29  private:
30  // ------------------------------| fields |-------------------------------
31 
32  const iroha::protocol::GetAccountAssets &account_assets_;
33  };
34  } // namespace proto
35 } // namespace shared_model
36 
37 #endif // IROHA_PROTO_GET_ACCOUNT_ASSETS_H
GetAccountAssets(QueryType &&query)
Definition: proto_get_account_assets.cpp:12
Definition: proto_get_account_assets.hpp:15
const interface::types::AccountIdType & accountId() const override
Definition: proto_get_account_assets.cpp:29
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
Definition: command_executor.hpp:12
Definition: trivial_proto.hpp:45