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

#include <market.hpp>

Inheritance diagram for graphene::chain::fill_order_operation:
graphene::chain::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

 fill_order_operation ()
 
 fill_order_operation (object_id_type o, account_id_type a, asset p, asset r, asset f, price fp, bool m)
 
pair< asset_id_type, asset_id_typeget_market () const
 
account_id_type fee_payer () const
 
void validate () const
 
share_type calculate_fee (const fee_parameters_type &k) const
 This is a virtual operation; there is no fee. More...
 
- Public Member Functions inherited from graphene::chain::base_operation
template<typename T >
share_type calculate_fee (const T &params) const
 
void get_required_authorities (vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_id_type > &) const
 
void get_required_owner_authorities (flat_set< account_id_type > &) const
 
void validate () const
 

Public Attributes

object_id_type order_id
 
account_id_type account_id
 
asset pays
 
asset receives
 
asset fee
 
price fill_price
 
bool is_maker
 

Additional Inherited Members

- Static Public Member Functions inherited from graphene::chain::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)
 

Detailed Description

Note
This is a virtual operation that is created while matching orders and emitted for the purpose of accurately tracking account history, accelerating a reindex.

Definition at line 144 of file market.hpp.

Constructor & Destructor Documentation

◆ fill_order_operation() [1/2]

graphene::chain::fill_order_operation::fill_order_operation ( )
inline

Definition at line 148 of file market.hpp.

◆ fill_order_operation() [2/2]

graphene::chain::fill_order_operation::fill_order_operation ( object_id_type  o,
account_id_type  a,
asset  p,
asset  r,
asset  f,
price  fp,
bool  m 
)
inline

Definition at line 149 of file market.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::chain::fill_order_operation::calculate_fee ( const fee_parameters_type k) const
inline

This is a virtual operation; there is no fee.

Definition at line 170 of file market.hpp.

◆ fee_payer()

account_id_type graphene::chain::fill_order_operation::fee_payer ( ) const
inline

Definition at line 166 of file market.hpp.

◆ get_market()

pair<asset_id_type,asset_id_type> graphene::chain::fill_order_operation::get_market ( ) const
inline

Definition at line 160 of file market.hpp.

◆ validate()

void graphene::chain::fill_order_operation::validate ( ) const
inline

Definition at line 167 of file market.hpp.

Member Data Documentation

◆ account_id

account_id_type graphene::chain::fill_order_operation::account_id

Definition at line 153 of file market.hpp.

◆ fee

asset graphene::chain::fill_order_operation::fee

Definition at line 156 of file market.hpp.

◆ fill_price

price graphene::chain::fill_order_operation::fill_price

Definition at line 157 of file market.hpp.

◆ is_maker

bool graphene::chain::fill_order_operation::is_maker

Definition at line 158 of file market.hpp.

◆ order_id

object_id_type graphene::chain::fill_order_operation::order_id

Definition at line 152 of file market.hpp.

◆ pays

asset graphene::chain::fill_order_operation::pays

Definition at line 154 of file market.hpp.

◆ receives

asset graphene::chain::fill_order_operation::receives

Definition at line 155 of file market.hpp.


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