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

Public Attributes

vesting_policyp
 
share_type init_balance
 
fc::time_point_sec now
 

Detailed Description

Definition at line 48 of file vesting_balance_evaluator.cpp.

Member Typedef Documentation

◆ result_type

Definition at line 50 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 52 of file vesting_balance_evaluator.cpp.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 60 of file vesting_balance_evaluator.cpp.

◆ operator()() [2/2]

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

Definition at line 70 of file vesting_balance_evaluator.cpp.

Member Data Documentation

◆ init_balance

share_type graphene::chain::init_policy_visitor::init_balance

Definition at line 57 of file vesting_balance_evaluator.cpp.

◆ now

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

Definition at line 58 of file vesting_balance_evaluator.cpp.

◆ p

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

Definition at line 56 of file vesting_balance_evaluator.cpp.


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