BitShares-Core  6.0.1
BitShares blockchain implementation and command-line interface software
Namespaces | Classes | Typedefs | Enumerations
graphene::market_history Namespace Reference

Namespaces

 detail
 

Classes

struct  bucket_key
 
struct  bucket_object
 
struct  history_key
 
struct  liquidity_pool_history_object
 
struct  liquidity_pool_ticker_meta_object
 Stores meta data for liquidity pool tickers. More...
 
struct  liquidity_pool_ticker_object
 Stores ticker data for liquidity pools. More...
 
class  market_history_plugin
 
struct  market_ticker_meta_object
 
struct  market_ticker_object
 
struct  order_history_object
 
struct  order_history_object_key_base_extractor
 
struct  order_history_object_key_quote_extractor
 
struct  order_history_object_key_sequence_extractor
 

Typedefs

typedef multi_index_container< bucket_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_key >, member< bucket_object, bucket_key, &bucket_object::key > > >> bucket_object_multi_index_type
 
typedef multi_index_container< order_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_key >, member< order_history_object, history_key, &order_history_object::key > >, ordered_unique< tag< by_market_time >, composite_key< order_history_object, order_history_object_key_base_extractor, order_history_object_key_quote_extractor, member< order_history_object, time_point_sec, &order_history_object::time >, order_history_object_key_sequence_extractor >, composite_key_compare< std::less< asset_id_type >, std::less< asset_id_type >, std::greater< time_point_sec >, std::less< int64_t > > > >> order_history_multi_index_type
 
typedef multi_index_container< market_ticker_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_non_unique< tag< by_volume >, member< market_ticker_object, fc::uint128_t, &market_ticker_object::base_volume > >, ordered_unique< tag< by_market >, composite_key< market_ticker_object, member< market_ticker_object, asset_id_type, &market_ticker_object::base >, member< market_ticker_object, asset_id_type, &market_ticker_object::quote > > > >> market_ticker_object_multi_index_type
 
typedef generic_index< bucket_object, bucket_object_multi_index_typebucket_index
 
typedef generic_index< order_history_object, order_history_multi_index_typehistory_index
 
typedef generic_index< market_ticker_object, market_ticker_object_multi_index_typemarket_ticker_index
 
typedef multi_index_container< liquidity_pool_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_pool_seq >, composite_key< liquidity_pool_history_object, member< liquidity_pool_history_object, liquidity_pool_id_type, &liquidity_pool_history_object::pool >, member< liquidity_pool_history_object, uint64_t, &liquidity_pool_history_object::sequence > >, composite_key_compare< std::less< liquidity_pool_id_type >, std::greater< uint64_t > > >, ordered_unique< tag< by_pool_time >, composite_key< liquidity_pool_history_object, member< liquidity_pool_history_object, liquidity_pool_id_type, &liquidity_pool_history_object::pool >, member< liquidity_pool_history_object, time_point_sec, &liquidity_pool_history_object::time >, member< liquidity_pool_history_object, uint64_t, &liquidity_pool_history_object::sequence > >, composite_key_compare< std::less< liquidity_pool_id_type >, std::greater< time_point_sec >, std::greater< uint64_t > > >, ordered_unique< tag< by_pool_op_type_seq >, composite_key< liquidity_pool_history_object, member< liquidity_pool_history_object, liquidity_pool_id_type, &liquidity_pool_history_object::pool >, member< liquidity_pool_history_object, int64_t, &liquidity_pool_history_object::op_type >, member< liquidity_pool_history_object, uint64_t, &liquidity_pool_history_object::sequence > >, composite_key_compare< std::less< liquidity_pool_id_type >, std::less< int64_t >, std::greater< uint64_t > > >, ordered_unique< tag< by_pool_op_type_time >, composite_key< liquidity_pool_history_object, member< liquidity_pool_history_object, liquidity_pool_id_type, &liquidity_pool_history_object::pool >, member< liquidity_pool_history_object, int64_t, &liquidity_pool_history_object::op_type >, member< liquidity_pool_history_object, time_point_sec, &liquidity_pool_history_object::time >, member< liquidity_pool_history_object, uint64_t, &liquidity_pool_history_object::sequence > >, composite_key_compare< std::less< liquidity_pool_id_type >, std::less< int64_t >, std::greater< time_point_sec >, std::greater< uint64_t > > > >> liquidity_pool_history_multi_index_type
 
typedef generic_index< liquidity_pool_history_object, liquidity_pool_history_multi_index_typeliquidity_pool_history_index
 
using liquidity_pool_ticker_id_type = object_id< MARKET_HISTORY_SPACE_ID, liquidity_pool_ticker_object_type >
 
typedef multi_index_container< liquidity_pool_ticker_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > > >> liquidity_pool_ticker_multi_index_type
 
typedef generic_index< liquidity_pool_ticker_object, liquidity_pool_ticker_multi_index_typeliquidity_pool_ticker_index
 

Enumerations

enum  market_history_object_type {
  order_history_object_type = 0, bucket_object_type = 1, market_ticker_object_type = 2, market_ticker_meta_object_type = 3,
  liquidity_pool_history_object_type = 4, liquidity_pool_ticker_meta_object_type = 5, liquidity_pool_ticker_object_type = 6
}
 

Typedef Documentation

◆ bucket_index

Definition at line 219 of file market_history_plugin.hpp.

◆ bucket_object_multi_index_type

typedef multi_index_container< bucket_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_key>, member< bucket_object, bucket_key, &bucket_object::key > > >> graphene::market_history::bucket_object_multi_index_type

Definition at line 166 of file market_history_plugin.hpp.

◆ history_index

Definition at line 220 of file market_history_plugin.hpp.

◆ liquidity_pool_history_index

Definition at line 298 of file market_history_plugin.hpp.

◆ liquidity_pool_history_multi_index_type

typedef multi_index_container< liquidity_pool_history_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_pool_seq>, composite_key< liquidity_pool_history_object, member<liquidity_pool_history_object, liquidity_pool_id_type, &liquidity_pool_history_object::pool>, member<liquidity_pool_history_object, uint64_t, &liquidity_pool_history_object::sequence> >, composite_key_compare< std::less< liquidity_pool_id_type >, std::greater< uint64_t > > >, ordered_unique< tag<by_pool_time>, composite_key< liquidity_pool_history_object, member<liquidity_pool_history_object, liquidity_pool_id_type, &liquidity_pool_history_object::pool>, member<liquidity_pool_history_object, time_point_sec, &liquidity_pool_history_object::time>, member<liquidity_pool_history_object, uint64_t, &liquidity_pool_history_object::sequence> >, composite_key_compare< std::less< liquidity_pool_id_type >, std::greater< time_point_sec >, std::greater< uint64_t > > >, ordered_unique< tag<by_pool_op_type_seq>, composite_key< liquidity_pool_history_object, member<liquidity_pool_history_object, liquidity_pool_id_type, &liquidity_pool_history_object::pool>, member<liquidity_pool_history_object, int64_t, &liquidity_pool_history_object::op_type>, member<liquidity_pool_history_object, uint64_t, &liquidity_pool_history_object::sequence> >, composite_key_compare< std::less< liquidity_pool_id_type >, std::less< int64_t >, std::greater< uint64_t > > >, ordered_unique< tag<by_pool_op_type_time>, composite_key< liquidity_pool_history_object, member<liquidity_pool_history_object, liquidity_pool_id_type, &liquidity_pool_history_object::pool>, member<liquidity_pool_history_object, int64_t, &liquidity_pool_history_object::op_type>, member<liquidity_pool_history_object, time_point_sec, &liquidity_pool_history_object::time>, member<liquidity_pool_history_object, uint64_t, &liquidity_pool_history_object::sequence> >, composite_key_compare< std::less< liquidity_pool_id_type >, std::less< int64_t >, std::greater< time_point_sec >, std::greater< uint64_t > > > >> graphene::market_history::liquidity_pool_history_multi_index_type

Definition at line 240 of file market_history_plugin.hpp.

◆ liquidity_pool_ticker_id_type

Definition at line 311 of file market_history_plugin.hpp.

◆ liquidity_pool_ticker_index

Definition at line 367 of file market_history_plugin.hpp.

◆ liquidity_pool_ticker_multi_index_type

typedef multi_index_container< liquidity_pool_ticker_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > > >> graphene::market_history::liquidity_pool_ticker_multi_index_type

Definition at line 364 of file market_history_plugin.hpp.

◆ market_ticker_index

Definition at line 221 of file market_history_plugin.hpp.

◆ market_ticker_object_multi_index_type

typedef multi_index_container< market_ticker_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_non_unique< tag<by_volume>, member< market_ticker_object, fc::uint128_t, &market_ticker_object::base_volume > >, ordered_unique< tag<by_market>, composite_key< market_ticker_object, member<market_ticker_object, asset_id_type, &market_ticker_object::base>, member<market_ticker_object, asset_id_type, &market_ticker_object::quote> > > >> graphene::market_history::market_ticker_object_multi_index_type

Definition at line 201 of file market_history_plugin.hpp.

◆ order_history_multi_index_type

typedef multi_index_container< order_history_object, indexed_by< ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >, ordered_unique< tag<by_key>, member< order_history_object, history_key, &order_history_object::key > >, ordered_unique< tag<by_market_time>, composite_key< order_history_object, order_history_object_key_base_extractor, order_history_object_key_quote_extractor, member<order_history_object, time_point_sec, &order_history_object::time>, order_history_object_key_sequence_extractor >, composite_key_compare< std::less< asset_id_type >, std::less< asset_id_type >, std::greater< time_point_sec >, std::less< int64_t > > > >> graphene::market_history::order_history_multi_index_type

Definition at line 175 of file market_history_plugin.hpp.

Enumeration Type Documentation

◆ market_history_object_type

Enumerator
order_history_object_type 
bucket_object_type 
market_ticker_object_type 
market_ticker_meta_object_type 
liquidity_pool_history_object_type 
liquidity_pool_ticker_meta_object_type 
liquidity_pool_ticker_object_type 

Definition at line 52 of file market_history_plugin.hpp.