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

#include "add_asset_quantity.hpp"

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

Public Member Functions

bool operator== (const Command &command) const override
 AddAssetQuantity ()
 AddAssetQuantity (const std::string &asset_id, const std::string &amount)
- Public Member Functions inherited from iroha::model::Command
virtual ~Command ()=default
virtual bool operator!= (const Command &rhs) const

Public Attributes

std::string asset_id
std::string amount

Detailed Description

Add amount of asset to an account

Constructor & Destructor Documentation

iroha::model::AddAssetQuantity::AddAssetQuantity ( )
iroha::model::AddAssetQuantity::AddAssetQuantity ( const std::string &  asset_id,
const std::string &  amount 

Member Function Documentation

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

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::AddAssetQuantity::amount

Amount to add to account asset

std::string iroha::model::AddAssetQuantity::asset_id

Asset to issue Note: must exist in the system

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