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
20
Asset
(std::string
asset_id
, std::string
domain_id
, uint8_t
precision
)
21
: asset_id(asset_id), domain_id(domain_id), precision(precision) {}
25
std::string
asset_id
;
26
27
std::string
domain_id
;
28
32
uint8_t
precision
;
33
};
34
}
// namespace model
35
}
// namespace iroha
36
37
#endif // IROHA_ASSET_HPP
iroha::model::Asset::precision
uint8_t precision
Definition:
asset.hpp:32
iroha::model::Asset
Definition:
asset.hpp:17
iroha::model::Asset::domain_id
std::string domain_id
Definition:
asset.hpp:27
iroha
Definition:
block_query.hpp:15
iroha::model::Asset::asset_id
std::string asset_id
Definition:
asset.hpp:25
iroha::model::Asset::Asset
Asset(std::string asset_id, std::string domain_id, uint8_t precision)
Definition:
asset.hpp:20
iroha::model::Asset::Asset
Asset()=default
irohad
model
asset.hpp
Generated by
1.8.13