hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_add_asset_quantity.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_ADD_ASSET_QUANTITY_HPP
7 #define IROHA_PROTO_ADD_ASSET_QUANTITY_HPP
8 
10 
11 #include "commands.pb.h"
13 
14 namespace shared_model {
15  namespace proto {
17  public:
18  explicit AddAssetQuantity(iroha::protocol::Command &command);
19 
20  const interface::types::AssetIdType &assetId() const override;
21 
22  const interface::Amount &amount() const override;
23 
24  private:
25  const iroha::protocol::AddAssetQuantity &add_asset_quantity_;
26 
27  const interface::Amount amount_;
28  };
29  } // namespace proto
30 } // namespace shared_model
31 
32 #endif // IROHA_PROTO_ADD_ASSET_QUANTITY_HPP
Definition: amount.hpp:20
Definition: proto_add_asset_quantity.hpp:16
const interface::Amount & amount() const override
Definition: proto_add_asset_quantity.cpp:19
const interface::types::AssetIdType & assetId() const override
Definition: proto_add_asset_quantity.cpp:15
Definition: add_asset_quantity.hpp:20
Definition: command_executor.hpp:12
AddAssetQuantity(iroha::protocol::Command &command)
Definition: proto_add_asset_quantity.cpp:11
std::string AssetIdType
Type of asset id.
Definition: types.hpp:53