hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
asset.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_ASSET_HPP
7 #define IROHA_ASSET_HPP
8 
9 #include <string>
10 
11 namespace iroha {
12  namespace model {
13 
17  struct Asset {
18  Asset() = default;
19 
21  : asset_id(asset_id), domain_id(domain_id), precision(precision) {}
26 
28 
32  uint8_t precision;
33  };
34  } // namespace model
35 } // namespace iroha
36 
37 #endif // IROHA_ASSET_HPP
uint8_t precision
Definition: asset.hpp:32
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: asset.hpp:17
std::string domain_id
Definition: asset.hpp:27
Definition: block_query.hpp:16
std::string asset_id
Definition: asset.hpp:25
Asset(std::string asset_id, std::string domain_id, uint8_t precision)
Definition: asset.hpp:20