Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::chain::vesting_balance_create_operation Struct Reference

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. More...

#include <vesting.hpp>

Inheritance diagram for graphene::chain::vesting_balance_create_operation:
graphene::chain::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
- Public Member Functions inherited from graphene::chain::base_operation
template<typename T >
share_type calculate_fee (const T &params) const
 
void get_required_authorities (vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_id_type > &) const
 
void get_required_owner_authorities (flat_set< account_id_type > &) const
 
void validate () 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::chain::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)
 

Detailed Description

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.

Returns
ID of newly created vesting_balance_object

Definition at line 66 of file vesting.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::chain::vesting_balance_create_operation::fee_payer ( ) const
inline

Definition at line 76 of file vesting.hpp.

◆ validate()

void graphene::chain::vesting_balance_create_operation::validate ( ) const
inline

Definition at line 77 of file vesting.hpp.

Member Data Documentation

◆ amount

asset graphene::chain::vesting_balance_create_operation::amount

Definition at line 73 of file vesting.hpp.

◆ creator

account_id_type graphene::chain::vesting_balance_create_operation::creator

Who provides funds initially.

Definition at line 71 of file vesting.hpp.

◆ fee

asset graphene::chain::vesting_balance_create_operation::fee

Definition at line 70 of file vesting.hpp.

◆ owner

account_id_type graphene::chain::vesting_balance_create_operation::owner

Who is able to withdraw the balance.

Definition at line 72 of file vesting.hpp.

◆ policy

vesting_policy_initializer graphene::chain::vesting_balance_create_operation::policy

Definition at line 74 of file vesting.hpp.


The documentation for this struct was generated from the following file: