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::protocol::calc_fee_visitor Struct Reference

Public Types

using result_type = uint64_t

Public Member Functions

 calc_fee_visitor (const fee_schedule &p, const operation &op)
template<typename OpType >
result_type operator() (const OpType &op) const
uint64_t operator() (const htlc_create_operation &op) const
uint64_t operator() (const asset_create_operation &op) const

Public Attributes

const fee_scheduleparam
const operation::tag_type current_op

Detailed Description

Definition at line 31 of file fee_schedule_calc.cpp.

Member Typedef Documentation

◆ result_type

Definition at line 33 of file fee_schedule_calc.cpp.

Constructor & Destructor Documentation

◆ calc_fee_visitor()

graphene::protocol::calc_fee_visitor::calc_fee_visitor ( const fee_schedule p,
const operation op 

Definition at line 37 of file fee_schedule_calc.cpp.

Member Function Documentation

◆ operator()() [1/3]

uint64_t graphene::protocol::calc_fee_visitor::operator() ( const asset_create_operation op) const

Definition at line 67 of file fee_schedule_calc.cpp.

◆ operator()() [2/3]

uint64_t graphene::protocol::calc_fee_visitor::operator() ( const htlc_create_operation op) const

Definition at line 57 of file fee_schedule_calc.cpp.

◆ operator()() [3/3]

template<typename OpType >
result_type graphene::protocol::calc_fee_visitor::operator() ( const OpType &  op) const

Definition at line 41 of file fee_schedule_calc.cpp.

Member Data Documentation

◆ current_op

const operation::tag_type graphene::protocol::calc_fee_visitor::current_op

Definition at line 36 of file fee_schedule_calc.cpp.

◆ param

const fee_schedule& graphene::protocol::calc_fee_visitor::param

Definition at line 35 of file fee_schedule_calc.cpp.

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