BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Transfers an amount of one asset from one account to another. More...
#include <transfer.hpp>
Classes | |
struct | fee_params_t |
Public Member Functions | |
account_id_type | fee_payer () const |
void | validate () const |
share_type | calculate_fee (const fee_params_t &k) const |
Public Member Functions inherited from graphene::protocol::base_operation | |
virtual | ~base_operation ()=default |
template<typename T > | |
share_type | calculate_fee (const T ¶ms) const |
virtual void | get_required_authorities (vector< authority > &) const |
virtual void | get_required_active_authorities (flat_set< account_id_type > &) const |
virtual void | get_required_owner_authorities (flat_set< account_id_type > &) const |
fc::optional< fc::future< void > > | validate_parallel (uint32_t skip) const |
Public Attributes | |
asset | fee |
account_id_type | from |
Account to transfer asset from. More... | |
account_id_type | to |
Account to transfer asset to. More... | |
asset | amount |
The amount of asset to transfer from from to to. More... | |
optional< memo_data > | memo |
User provided data encrypted to the memo key of the "to" account. More... | |
extensions_type | extensions |
Additional Inherited Members | |
Static Public Member Functions inherited from graphene::protocol::base_operation | |
static uint64_t | calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte) |
Transfers an amount of one asset from one account to another.
Fees are paid by the "from" account
Definition at line 45 of file transfer.hpp.
share_type graphene::protocol::transfer_operation::calculate_fee | ( | const fee_params_t & | k | ) | const |
Definition at line 30 of file transfer.cpp.
|
inline |
Definition at line 64 of file transfer.hpp.
|
virtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 39 of file transfer.cpp.
asset graphene::protocol::transfer_operation::amount |
The amount of asset to transfer from from to to.
Definition at line 58 of file transfer.hpp.
extensions_type graphene::protocol::transfer_operation::extensions |
Definition at line 62 of file transfer.hpp.
asset graphene::protocol::transfer_operation::fee |
Definition at line 52 of file transfer.hpp.
account_id_type graphene::protocol::transfer_operation::from |
Account to transfer asset from.
Definition at line 54 of file transfer.hpp.
User provided data encrypted to the memo key of the "to" account.
Definition at line 61 of file transfer.hpp.
account_id_type graphene::protocol::transfer_operation::to |
Account to transfer asset to.
Definition at line 56 of file transfer.hpp.