Extended asset which stores the information of the owner of the asset.
struct eosio::extended_asset
: public eosio::asset
Extended asset which stores the information of the owner of the asset
Summary
| Members | Descriptions |
|---|---|
public account_name contract | The owner of the asset. |
public inline extended_symbol get_extended_symbol() const | Get the extended symbol of the asset. |
public extended_asset() = default | Construct a new extended asset object. |
public inline extended_asset(int64_t v,extended_symbol s) | Construct a new extended asset object. |
public inline extended_asset(asset a,account_name c) | Construct a new extended asset object. |
public inline void print() const | Print the extended asset |
public inline extended_asset operator-() const | Unary minus operator. |
Members
The owner of the asset
Get the extended symbol of the asset
Returns
extended_symbol - The extended symbol of the asset
Construct a new extended asset object.
Default constructor
Construct a new extended asset given the amount and extended symbol
Construct a new extended asset given the asset and owner name
Print the extended asset
Unary minus operator
Returns
extended_asset - New extended asset with its amount is the negative amount of this extended asset
