Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::Asset Struct Reference

#include "asset.hpp"

Collaboration diagram for iroha::model::Asset:
Collaboration graph

Public Member Functions

 Asset ()=default
 Asset (std::string asset_id, std::string domain_id, uint8_t precision)

Public Attributes

std::string asset_id
std::string domain_id
uint8_t precision

Detailed Description

Asset Data Model

Constructor & Destructor Documentation

iroha::model::Asset::Asset ( )
iroha::model::Asset::Asset ( std::string  asset_id,
std::string  domain_id,
uint8_t  precision 

Member Data Documentation

std::string iroha::model::Asset::asset_id

Asset unique identifier

std::string iroha::model::Asset::domain_id
uint8_t iroha::model::Asset::precision

Precision of asset

The documentation for this struct was generated from the following file: