BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | Public Attributes | List of all members
graphene::chain::call_order_update_evaluator Class Reference

#include <market_evaluator.hpp>

Inheritance diagram for graphene::chain::call_order_update_evaluator:
graphene::chain::evaluator< call_order_update_evaluator > graphene::chain::generic_evaluator

Public Types

typedef call_order_update_operation operation_type

Public Member Functions

void_result do_evaluate (const call_order_update_operation &o)
object_id_type do_apply (const call_order_update_operation &o)
- Public Member Functions inherited from graphene::chain::evaluator< call_order_update_evaluator >
virtual int get_type () const override
virtual operation_result evaluate (const operation &o) finaloverride
virtual operation_result apply (const operation &o) finaloverride
- Public Member Functions inherited from graphene::chain::generic_evaluator
virtual ~generic_evaluator ()
virtual operation_result start_evaluate (transaction_evaluation_state &eval_state, const operation &op, bool apply)
virtual void pay_fee ()
databasedb () const

Public Attributes

bool _closing_order = false
const asset_object_debt_asset = nullptr
const account_object_paying_account = nullptr
const call_order_object_order = nullptr
const asset_bitasset_data_object_bitasset_data = nullptr
const asset_dynamic_data_object_dynamic_data_obj = nullptr

Additional Inherited Members

- Protected Member Functions inherited from graphene::chain::generic_evaluator
void prepare_fee (account_id_type account_id, asset fee)
 Fetch objects relevant to fee payer and set pointer members. More...
virtual void convert_fee ()
object_id_type get_relative_id (object_id_type rel_id) const
void pay_fba_fee (uint64_t fba_id)
share_type calculate_fee_for_operation (const operation &op) const
void db_adjust_balance (const account_id_type &fee_payer, asset fee_from_account)
- Protected Attributes inherited from graphene::chain::generic_evaluator
asset fee_from_account
share_type core_fee_paid
const account_objectfee_paying_account = nullptr
const account_statistics_objectfee_paying_account_statistics = nullptr
const asset_objectfee_asset = nullptr
const asset_dynamic_data_objectfee_asset_dyn_data = nullptr

Detailed Description

Definition at line 73 of file market_evaluator.hpp.

Member Typedef Documentation

Definition at line 76 of file market_evaluator.hpp.

Member Function Documentation

object_id_type graphene::chain::call_order_update_evaluator::do_apply ( const call_order_update_operation o)

Definition at line 230 of file market_evaluator.cpp.

void_result graphene::chain::call_order_update_evaluator::do_evaluate ( const call_order_update_operation o)

if there is a settlement for this asset, then no further margin positions may be taken and all existing margin positions should have been closed va database::globally_settle_asset

Definition at line 181 of file market_evaluator.cpp.

Member Data Documentation

const asset_bitasset_data_object* graphene::chain::call_order_update_evaluator::_bitasset_data = nullptr

Definition at line 85 of file market_evaluator.hpp.

bool graphene::chain::call_order_update_evaluator::_closing_order = false

Definition at line 81 of file market_evaluator.hpp.

const asset_object* graphene::chain::call_order_update_evaluator::_debt_asset = nullptr

Definition at line 82 of file market_evaluator.hpp.

const asset_dynamic_data_object* graphene::chain::call_order_update_evaluator::_dynamic_data_obj = nullptr

Definition at line 86 of file market_evaluator.hpp.

const call_order_object* graphene::chain::call_order_update_evaluator::_order = nullptr

Definition at line 84 of file market_evaluator.hpp.

const account_object* graphene::chain::call_order_update_evaluator::_paying_account = nullptr

Definition at line 83 of file market_evaluator.hpp.

The documentation for this class was generated from the following files: