BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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_schedule & current_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 2691 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 

Definition at line 2693 of file database_api.cpp.

Member Function Documentation

◆ set_op_fees()

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

Definition at line 2703 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)

Definition at line 2718 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 2738 of file database_api.cpp.

◆ current_fee_schedule

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

Definition at line 2737 of file database_api.cpp.

◆ current_recursion

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

Definition at line 2740 of file database_api.cpp.

◆ max_recursion

uint32_t graphene::app::get_required_fees_helper::max_recursion

Definition at line 2739 of file database_api.cpp.

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