BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::vesting_balance_create_operation Struct Reference

Create a vesting balance. More...

#include <vesting.hpp>

Inheritance diagram for graphene::protocol::vesting_balance_create_operation:
graphene::protocol::base_operation

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 &params) 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)
 

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 74 of file vesting.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 84 of file vesting.hpp.

◆ validate()

void graphene::protocol::vesting_balance_create_operation::validate ( ) const
inlinevirtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 85 of file vesting.hpp.

Member Data Documentation

◆ amount

asset graphene::protocol::vesting_balance_create_operation::amount

Definition at line 81 of file vesting.hpp.

◆ creator

account_id_type graphene::protocol::vesting_balance_create_operation::creator

Who provides funds initially.

Definition at line 79 of file vesting.hpp.

◆ fee

asset graphene::protocol::vesting_balance_create_operation::fee

Definition at line 78 of file vesting.hpp.

◆ owner

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.

◆ policy

vesting_policy_initializer graphene::protocol::vesting_balance_create_operation::policy

Definition at line 82 of file vesting.hpp.


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