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

#include "transfer_asset.hpp"

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

Public Member Functions

bool operator== (const Command &command) const override
 
 TransferAsset ()
 
 TransferAsset (const std::string &src_account_id, const std::string &dest_account_id, 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 src_account_id
 
std::string dest_account_id
 
std::string asset_id
 
std::string description
 
std::string amount
 

Detailed Description

Transfer asset from one account to another

Constructor & Destructor Documentation

iroha::model::TransferAsset::TransferAsset ( )
inline
iroha::model::TransferAsset::TransferAsset ( const std::string &  src_account_id,
const std::string &  dest_account_id,
const std::string &  asset_id,
const std::string &  amount 
)
inline

Member Function Documentation

bool iroha::model::TransferAsset::operator== ( const Command command) const
overridevirtual

Implements iroha::model::Command.

Member Data Documentation

std::string iroha::model::TransferAsset::amount

Amount of transferred asset

std::string iroha::model::TransferAsset::asset_id

Asset to transfer. Identifier is asset_id

std::string iroha::model::TransferAsset::description

Transfer description

std::string iroha::model::TransferAsset::dest_account_id

Destination account

std::string iroha::model::TransferAsset::src_account_id

Source account


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