Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Types | Public Member Functions | Public Attributes | List of all members
golos::market_history::detail::market_history_plugin_impl::operation_process_fill_order Struct Reference

Public Types

typedef void result_type
 

Public Member Functions

 operation_process_fill_order (market_history_plugin &mhp, fc::time_point_sec n)
 
template<typename T >
void operator() (const T &) const
 
template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
void operator() (const fill_order_operation< Major, Hardfork, Release > &o) const
 
template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
void operator() (const fill_call_order_operation< Major, Hardfork, Release > &o) const
 
template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
void operator() (const fill_settlement_order_operation< Major, Hardfork, Release > &o) const
 

Public Attributes

market_history_plugin_plugin
 
fc::time_point_sec _now
 

Detailed Description

Definition at line 15 of file market_history_plugin.cpp.

Member Typedef Documentation

◆ result_type

Definition at line 23 of file market_history_plugin.cpp.

Constructor & Destructor Documentation

◆ operation_process_fill_order()

golos::market_history::detail::market_history_plugin_impl::operation_process_fill_order::operation_process_fill_order ( market_history_plugin mhp,
fc::time_point_sec  n 
)
inline

Definition at line 19 of file market_history_plugin.cpp.

Member Function Documentation

◆ operator()() [1/4]

template<typename T >
void golos::market_history::detail::market_history_plugin_impl::operation_process_fill_order::operator() ( const T &  ) const
inline

do nothing for other operation types

Definition at line 27 of file market_history_plugin.cpp.

◆ operator()() [2/4]

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
void golos::market_history::detail::market_history_plugin_impl::operation_process_fill_order::operator() ( const fill_order_operation< Major, Hardfork, Release > &  o) const
inline

for every matched order there are two fill order operations created, one for each side. We can filter the duplicates by only considering the fill operations where the base > quote

Definition at line 32 of file market_history_plugin.cpp.

◆ operator()() [3/4]

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
void golos::market_history::detail::market_history_plugin_impl::operation_process_fill_order::operator() ( const fill_call_order_operation< Major, Hardfork, Release > &  o) const
inline

for every matched order there are two fill order operations created, one for each side. We can filter the duplicates by only considering the fill operations where the base > quote

Definition at line 158 of file market_history_plugin.cpp.

◆ operator()() [4/4]

template<uint8_t Major, uint8_t Hardfork, uint16_t Release>
void golos::market_history::detail::market_history_plugin_impl::operation_process_fill_order::operator() ( const fill_settlement_order_operation< Major, Hardfork, Release > &  o) const
inline

for every matched order there are two fill order operations created, one for each side. We can filter the duplicates by only considering the fill operations where the base > quote

Definition at line 268 of file market_history_plugin.cpp.

Member Data Documentation

◆ _now

fc::time_point_sec golos::market_history::detail::market_history_plugin_impl::operation_process_fill_order::_now

Definition at line 17 of file market_history_plugin.cpp.

◆ _plugin

market_history_plugin& golos::market_history::detail::market_history_plugin_impl::operation_process_fill_order::_plugin

Definition at line 16 of file market_history_plugin.cpp.


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