BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Create a vesting balance. More...
#include <vesting.hpp>
Classes | |
struct | fee_params_t |
Public Member Functions | |
account_id_type | fee_payer () const |
void | validate () 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 | creator |
Who provides funds initially. More... | |
account_id_type | owner |
Who is able to withdraw the balance. More... | |
asset | amount |
vesting_policy_initializer | policy |
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) |
Create a vesting balance.
The chain allows a user to create a vesting balance. Normally, vesting balances are created automatically as part of cashback and worker operations. This operation allows vesting balances to be created manually as well.
Manual creation of vesting balances can be used by a stakeholder to publicly demonstrate that they are committed to the chain. It can also be used as a building block to create transactions that function like public debt. Finally, it is useful for testing vesting balance functionality.
Definition at line 74 of file vesting.hpp.
|
inline |
Definition at line 84 of file vesting.hpp.
|
inlinevirtual |
Reimplemented from graphene::protocol::base_operation.
Definition at line 85 of file vesting.hpp.
asset graphene::protocol::vesting_balance_create_operation::amount |
Definition at line 81 of file vesting.hpp.
account_id_type graphene::protocol::vesting_balance_create_operation::creator |
Who provides funds initially.
Definition at line 79 of file vesting.hpp.
asset graphene::protocol::vesting_balance_create_operation::fee |
Definition at line 78 of file vesting.hpp.
account_id_type graphene::protocol::vesting_balance_create_operation::owner |
Who is able to withdraw the balance.
Definition at line 80 of file vesting.hpp.
vesting_policy_initializer graphene::protocol::vesting_balance_create_operation::policy |
Definition at line 82 of file vesting.hpp.