BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
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) |
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.
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.
|
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.