hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
add_asset_quantity.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_ADD_ASSET_QUANTITY_HPP
7 #define IROHA_ADD_ASSET_QUANTITY_HPP
8 
9 #include <string>
10 #include "model/command.hpp"
11 
12 namespace iroha {
13  namespace model {
14 
18  struct AddAssetQuantity : public Command {
24 
29 
30  bool operator==(const Command &command) const override;
31 
33 
34  AddAssetQuantity(const std::string &asset_id, const std::string &amount)
35  : asset_id(asset_id), amount(amount) {}
36  };
37  } // namespace model
38 } // namespace iroha
39 #endif // IROHA_ADD_ASSET_QUANTITY_HPP
AddAssetQuantity(const std::string &asset_id, const std::string &amount)
Definition: add_asset_quantity.hpp:34
Definition: command.hpp:14
string(REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
Definition: CMakeLists.txt:54
Definition: block_query.hpp:16
AddAssetQuantity()
Definition: add_asset_quantity.hpp:32
std::string asset_id
Definition: add_asset_quantity.hpp:23
Definition: add_asset_quantity.hpp:18
std::string amount
Definition: add_asset_quantity.hpp:28
bool operator==(const Command &command) const override
Definition: model_operators.cpp:88