Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | List of all members
graphene::app::get_required_fees_helper Struct Reference

Public Member Functions

 get_required_fees_helper (const fee_schedule &_current_fee_schedule, const price &_core_exchange_rate, uint32_t _max_recursion)
 
fc::variant set_op_fees (operation &op)
 
fc::variant set_proposal_create_op_fees (operation &proposal_create_op)
 

Public Attributes

const fee_schedulecurrent_fee_schedule
 
const pricecore_exchange_rate
 
uint32_t max_recursion
 
uint32_t current_recursion = 0
 

Detailed Description

Container method for mutually recursive functions used to implement get_required_fees() with potentially nested proposals.

Definition at line 2103 of file database_api.cpp.

Constructor & Destructor Documentation

◆ get_required_fees_helper()

graphene::app::get_required_fees_helper::get_required_fees_helper ( const fee_schedule _current_fee_schedule,
const price _core_exchange_rate,
uint32_t  _max_recursion 
)
inline

Definition at line 2105 of file database_api.cpp.

Member Function Documentation

◆ set_op_fees()

fc::variant graphene::app::get_required_fees_helper::set_op_fees ( operation op)
inline

Definition at line 2115 of file database_api.cpp.

◆ set_proposal_create_op_fees()

fc::variant graphene::app::get_required_fees_helper::set_proposal_create_op_fees ( operation proposal_create_op)
inline

Definition at line 2130 of file database_api.cpp.

Member Data Documentation

◆ core_exchange_rate

const price& graphene::app::get_required_fees_helper::core_exchange_rate

Definition at line 2150 of file database_api.cpp.

◆ current_fee_schedule

const fee_schedule& graphene::app::get_required_fees_helper::current_fee_schedule

Definition at line 2149 of file database_api.cpp.

◆ current_recursion

uint32_t graphene::app::get_required_fees_helper::current_recursion = 0

Definition at line 2152 of file database_api.cpp.

◆ max_recursion

uint32_t graphene::app::get_required_fees_helper::max_recursion

Definition at line 2151 of file database_api.cpp.


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