#include "transfer_asset.hpp"


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 |
Transfer asset from one account to another
|
inline |
|
inline |
|
overridevirtual |
Implements iroha::model::Command.
| 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