BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::fill_order_operation Struct Reference

#include <market.hpp>

Inheritance diagram for graphene::protocol::fill_order_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

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_type > get_market () const
 
account_id_type fee_payer () const
 
void validate () const
 
share_type calculate_fee (const fee_params_t &) const
 This is a virtual operation; there is no fee. More...
 
- Public Member Functions inherited from graphene::protocol::base_operation
virtual ~base_operation ()=default
 
template<typename T >
share_type calculate_fee (const T &params) const
 
virtual void get_required_authorities (vector< authority > &) const
 
virtual void get_required_active_authorities (flat_set< account_id_type > &) const
 
virtual void get_required_owner_authorities (flat_set< account_id_type > &) const
 
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) 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 = true
 

Additional Inherited Members

- Static Public Member Functions inherited from graphene::protocol::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 206 of file market.hpp.

Constructor & Destructor Documentation

◆ fill_order_operation() [1/2]

graphene::protocol::fill_order_operation::fill_order_operation ( )
inline

Definition at line 210 of file market.hpp.

◆ fill_order_operation() [2/2]

graphene::protocol::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 211 of file market.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::protocol::fill_order_operation::calculate_fee ( const fee_params_t ) const
inline

This is a virtual operation; there is no fee.

Definition at line 232 of file market.hpp.

◆ fee_payer()

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

Definition at line 228 of file market.hpp.

◆ get_market()

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

Definition at line 222 of file market.hpp.

◆ validate()

void graphene::protocol::fill_order_operation::validate ( ) const
inlinevirtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 229 of file market.hpp.

Member Data Documentation

◆ account_id

account_id_type graphene::protocol::fill_order_operation::account_id

Definition at line 215 of file market.hpp.

◆ fee

asset graphene::protocol::fill_order_operation::fee

Definition at line 218 of file market.hpp.

◆ fill_price

price graphene::protocol::fill_order_operation::fill_price

Definition at line 219 of file market.hpp.

◆ is_maker

bool graphene::protocol::fill_order_operation::is_maker = true

Definition at line 220 of file market.hpp.

◆ order_id

object_id_type graphene::protocol::fill_order_operation::order_id

Definition at line 214 of file market.hpp.

◆ pays

asset graphene::protocol::fill_order_operation::pays

Definition at line 216 of file market.hpp.

◆ receives

asset graphene::protocol::fill_order_operation::receives

Definition at line 217 of file market.hpp.


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