BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Namespaces | Typedefs
market_object.hpp File Reference
#include <graphene/chain/types.hpp>
#include <graphene/db/generic_index.hpp>
#include <graphene/protocol/asset.hpp>
#include <graphene/protocol/market.hpp>
#include <boost/multi_index/composite_key.hpp>

Go to the source code of this file.

Classes

class  graphene::chain::limit_order_object
 an offer to sell an amount of an asset at a specified exchange rate by a certain time More...
 
class  graphene::chain::call_order_object
 tracks debt and call price information More...
 
class  graphene::chain::force_settlement_object
 tracks bitassets scheduled for force settlement at some point in the future. More...
 
class  graphene::chain::collateral_bid_object
 bids of collateral for debt after a black swan More...
 

Namespaces

 graphene
 
 graphene::chain
 

Typedefs

typedef multi_index_container< limit_order_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_expiration >, composite_key< limit_order_object, member< limit_order_object, time_point_sec, &limit_order_object::expiration >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_price >, composite_key< limit_order_object, member< limit_order_object, price, &limit_order_object::sell_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::greater< price >, std::less< object_id_type > > >, ordered_unique< tag< by_is_settled_debt >, composite_key< limit_order_object, member< limit_order_object, bool, &limit_order_object::is_settled_debt >, const_mem_fun< limit_order_object, asset_id_type, &limit_order_object::receive_asset_id >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_account >, composite_key< limit_order_object, member< limit_order_object, account_id_type, &limit_order_object::seller >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_account_price >, composite_key< limit_order_object, member< limit_order_object, account_id_type, &limit_order_object::seller >, member< limit_order_object, price, &limit_order_object::sell_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::less< account_id_type >, std::greater< price >, std::less< object_id_type > > > >> graphene::chain::limit_order_multi_index_type
 
typedef generic_index< limit_order_object, limit_order_multi_index_type > graphene::chain::limit_order_index
 
typedef multi_index_container< call_order_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_price >, composite_key< call_order_object, member< call_order_object, price, &call_order_object::call_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::less< price >, std::less< object_id_type > > >, ordered_unique< tag< by_account >, composite_key< call_order_object, member< call_order_object, account_id_type, &call_order_object::borrower >, const_mem_fun< call_order_object, asset_id_type, &call_order_object::debt_type > > >, ordered_unique< tag< by_collateral >, composite_key< call_order_object, const_mem_fun< call_order_object, price, &call_order_object::collateralization >, member< object, object_id_type, &object::id > > > >> graphene::chain::call_order_multi_index_type
 
typedef multi_index_container< force_settlement_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account >, composite_key< force_settlement_object, member< force_settlement_object, account_id_type, &force_settlement_object::owner >, member< object, object_id_type, &object::id > > >, ordered_unique< tag< by_expiration >, composite_key< force_settlement_object, const_mem_fun< force_settlement_object, asset_id_type, &force_settlement_object::settlement_asset_id >, member< force_settlement_object, time_point_sec, &force_settlement_object::settlement_date >, member< object, object_id_type, &object::id > > > >> graphene::chain::force_settlement_object_multi_index_type
 
typedef multi_index_container< collateral_bid_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_account >, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type, &collateral_bid_object::debt_type >, member< collateral_bid_object, account_id_type, &collateral_bid_object::bidder > > >, ordered_unique< tag< by_price >, composite_key< collateral_bid_object, const_mem_fun< collateral_bid_object, asset_id_type, &collateral_bid_object::debt_type >, member< collateral_bid_object, price, &collateral_bid_object::inv_swan_price >, member< object, object_id_type, &object::id > >, composite_key_compare< std::less< asset_id_type >, std::greater< price >, std::less< object_id_type > > > >> graphene::chain::collateral_bid_object_multi_index_type
 
typedef generic_index< call_order_object, call_order_multi_index_type > graphene::chain::call_order_index
 
typedef generic_index< force_settlement_object, force_settlement_object_multi_index_type > graphene::chain::force_settlement_index
 
typedef generic_index< collateral_bid_object, collateral_bid_object_multi_index_type > graphene::chain::collateral_bid_index