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

Public Types

typedef void result_type
 

Public Member Functions

 init_policy_visitor (vesting_policy &po, const share_type &begin_balance, const fc::time_point_sec &n)
 
void operator() (const linear_vesting_policy_initializer &i) const
 
void operator() (const cdd_vesting_policy_initializer &i) const
 
void operator() (const instant_vesting_policy_initializer &i) const
 

Public Attributes

vesting_policyp
 
share_type init_balance
 
fc::time_point_sec now
 

Detailed Description

Definition at line 57 of file vesting_balance_evaluator.cpp.

Member Typedef Documentation

◆ result_type

Definition at line 59 of file vesting_balance_evaluator.cpp.

Constructor & Destructor Documentation

◆ init_policy_visitor()

graphene::chain::init_policy_visitor::init_policy_visitor ( vesting_policy po,
const share_type begin_balance,
const fc::time_point_sec n 
)
inline

Definition at line 61 of file vesting_balance_evaluator.cpp.

Member Function Documentation

◆ operator()() [1/3]

void graphene::chain::init_policy_visitor::operator() ( const cdd_vesting_policy_initializer i) const
inline

Definition at line 79 of file vesting_balance_evaluator.cpp.

◆ operator()() [2/3]

void graphene::chain::init_policy_visitor::operator() ( const instant_vesting_policy_initializer i) const
inline

Definition at line 89 of file vesting_balance_evaluator.cpp.

◆ operator()() [3/3]

void graphene::chain::init_policy_visitor::operator() ( const linear_vesting_policy_initializer i) const
inline

Definition at line 69 of file vesting_balance_evaluator.cpp.

Member Data Documentation

◆ init_balance

share_type graphene::chain::init_policy_visitor::init_balance

Definition at line 66 of file vesting_balance_evaluator.cpp.

◆ now

fc::time_point_sec graphene::chain::init_policy_visitor::now

Definition at line 67 of file vesting_balance_evaluator.cpp.

◆ p

vesting_policy& graphene::chain::init_policy_visitor::p

Definition at line 65 of file vesting_balance_evaluator.cpp.


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