BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface 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

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.

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.

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.

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.

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

Definition at line 168 of file vesting_balance_object.cpp.

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

Definition at line 172 of file vesting_balance_object.cpp.

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: