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

#include "create_asset.hpp"

Inheritance diagram for iroha::model::CreateAsset:
Inheritance graph
Collaboration diagram for iroha::model::CreateAsset:
Collaboration graph

Public Member Functions

bool operator== (const Command &command) const override
 CreateAsset ()
 CreateAsset (const std::string &asset_name, const std::string &domain_id, uint8_t precision)
- Public Member Functions inherited from iroha::model::Command
virtual ~Command ()=default
virtual bool operator!= (const Command &rhs) const

Public Attributes

std::string asset_name
std::string domain_id
uint8_t precision

Detailed Description

Create new asset in the system

Constructor & Destructor Documentation

iroha::model::CreateAsset::CreateAsset ( )
iroha::model::CreateAsset::CreateAsset ( const std::string &  asset_name,
const std::string &  domain_id,
uint8_t  precision 

Member Function Documentation

bool iroha::model::CreateAsset::operator== ( const Command command) const

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::CreateAsset::asset_name

Asset to create in the system

std::string iroha::model::CreateAsset::domain_id

Domain id (full name)

uint8_t iroha::model::CreateAsset::precision

Asset precision

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