BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | List of all members
graphene::chain::instant_vesting_policy Struct Reference

instant vesting policy More...

#include <vesting_balance_object.hpp>

Public Member Functions

asset get_allowed_withdraw (const vesting_policy_context &ctx) const
 
bool is_deposit_allowed (const vesting_policy_context &ctx) const
 
bool is_deposit_vested_allowed (const vesting_policy_context &) const
 
bool is_withdraw_allowed (const vesting_policy_context &ctx) const
 
void on_deposit (const vesting_policy_context &ctx)
 
void on_deposit_vested (const vesting_policy_context &)
 
void on_withdraw (const vesting_policy_context &ctx)
 

Detailed Description

instant vesting policy

This policy allows to withdraw everything that is on a balance immediately

Definition at line 126 of file vesting_balance_object.hpp.

Member Function Documentation

◆ get_allowed_withdraw()

asset graphene::chain::instant_vesting_policy::get_allowed_withdraw ( const vesting_policy_context ctx) const

Definition at line 163 of file vesting_balance_object.cpp.

◆ is_deposit_allowed()

bool graphene::chain::instant_vesting_policy::is_deposit_allowed ( const vesting_policy_context ctx) const

Definition at line 177 of file vesting_balance_object.cpp.

◆ is_deposit_vested_allowed()

bool graphene::chain::instant_vesting_policy::is_deposit_vested_allowed ( const vesting_policy_context ) const
inline

Definition at line 130 of file vesting_balance_object.hpp.

◆ is_withdraw_allowed()

bool graphene::chain::instant_vesting_policy::is_withdraw_allowed ( const vesting_policy_context ctx) const

Definition at line 187 of file vesting_balance_object.cpp.

◆ on_deposit()

void graphene::chain::instant_vesting_policy::on_deposit ( const vesting_policy_context ctx)

Definition at line 168 of file vesting_balance_object.cpp.

◆ on_deposit_vested()

void graphene::chain::instant_vesting_policy::on_deposit_vested ( const vesting_policy_context )

Definition at line 172 of file vesting_balance_object.cpp.

◆ on_withdraw()

void graphene::chain::instant_vesting_policy::on_withdraw ( const vesting_policy_context ctx)

Definition at line 183 of file vesting_balance_object.cpp.


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