29 namespace graphene {
namespace protocol {
124 uint32_t price_per_kbyte = 10;
140 account_id_type
fee_payer()
const {
return withdraw_to_account; }
187 (withdrawal_permission) )
optional< memo_data > memo
Memo for withdraw_from_account. Should generally be encrypted with withdraw_from_account->memo_key.
account_id_type fee_payer() const
account_id_type withdraw_from_account
Must match withdraw_permission->withdraw_from_account.
account_id_type withdraw_to_account
Must match withdraw_permision->authorized_account.
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
account_id_type fee_payer() const
account_id_type authorized_account
The account authorized to make withdrawals from withdraw_from_account.
asset withdrawal_limit
New maximum amount the withdrawer is allowed to charge per withdrawal period.
asset withdrawal_limit
The maximum amount authorized_account is allowed to withdraw in a given withdrawal period...
Delete an existing withdrawal permissionThis operation cancels a withdrawal permission, thus preventing any future withdrawals using that permission.
account_id_type withdraw_from_account
The account authorizing withdrawals from its balances.
asset amount_to_withdraw
Amount to withdraw. Must not exceed withdraw_permission->withdrawal_limit.
uint32_t withdrawal_period_sec
Length of the withdrawal period in seconds.
time_point_sec period_start_time
Time at which the first withdrawal period begins; must be in the future.
uint32_t periods_until_expiration
The number of withdrawal periods this permission is valid for.
asset fee
Paid by withdraw_to_account.
Withdraw from an account which has published a withdrawal permissionThis operation is used to withdra...
provides stack-based nullable value similar to boost::optional
account_id_type authorized_account
The account authorized to make withdrawals. Must match permission_to_update->authorized_account.
account_id_type withdraw_from_account
Must match withdrawal_permission->withdraw_from_account. This account pays the fee.
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
share_type calculate_fee(const T ¶ms) const
#define GRAPHENE_BLOCKCHAIN_PRECISION
account_id_type withdraw_from_account
This account pays the fee. Must match permission_to_update->withdraw_from_account.
account_id_type fee_payer() const
account_id_type fee_payer() const
withdraw_permission_id_type withdraw_permission
ID of the permission authorizing this withdrawal.
withdraw_permission_id_type withdrawal_permission
ID of the permission to be revoked.
withdraw_permission_id_type permission_to_update
ID of the permission which is being updated.
Update an existing withdraw permissionThis oeration is used to update the settings for an existing wi...
account_id_type authorized_account
The account previously authorized to make withdrawals. Must match withdrawal_permission->authorized_a...
Create a new withdrawal permissionThis operation creates a withdrawal permission, which allows some a...
time_point_sec period_start_time
New beginning of the next withdrawal period; must be in the future.