BitShares-Core
6.0.1
BitShares blockchain implementation and command-line interface software
|
an offer to sell an amount of an asset at a specified exchange rate by a certain timeThe objects are indexed by expiration and are automatically deleted on the first block after expiration. More...
#include <market_object.hpp>
Public Member Functions | |
pair< asset_id_type, asset_id_type > | get_market () const |
asset | amount_for_sale () const |
asset | amount_to_receive () const |
asset_id_type | sell_asset_id () const |
asset_id_type | receive_asset_id () const |
![]() | |
virtual unique_ptr< object > | clone () const |
these methods are implemented for derived classes by inheriting abstract_object<DerivedClass> More... | |
virtual void | move_from (object &obj) |
virtual variant | to_variant () const |
virtual vector< char > | pack () const |
![]() | |
object () | |
virtual | ~object () |
Public Attributes | |
time_point_sec | expiration |
account_id_type | seller |
share_type | for_sale |
asset id is sell_price.base.asset_id More... | |
price | sell_price |
share_type | deferred_fee |
fee converted to CORE More... | |
asset | deferred_paid_fee |
originally paid fee More... | |
bool | is_settled_debt = false |
Whether this order is an individual settlement fund. More... | |
![]() | |
object_id_type | id |
Static Public Attributes | |
static constexpr uint8_t | space_id = protocol_ids |
static constexpr uint8_t | type_id = limit_order_object_type |
an offer to sell an amount of an asset at a specified exchange rate by a certain time
The objects are indexed by expiration and are automatically deleted on the first block after expiration.
Definition at line 44 of file market_object.hpp.
|
inline |
Definition at line 65 of file market_object.hpp.
|
inline |
Definition at line 66 of file market_object.hpp.
|
inline |
Definition at line 58 of file market_object.hpp.
|
inline |
Definition at line 68 of file market_object.hpp.
|
inline |
Definition at line 67 of file market_object.hpp.
share_type graphene::chain::limit_order_object::deferred_fee |
fee converted to CORE
Definition at line 54 of file market_object.hpp.
asset graphene::chain::limit_order_object::deferred_paid_fee |
originally paid fee
Definition at line 55 of file market_object.hpp.
time_point_sec graphene::chain::limit_order_object::expiration |
Definition at line 50 of file market_object.hpp.
share_type graphene::chain::limit_order_object::for_sale |
asset id is sell_price.base.asset_id
Definition at line 52 of file market_object.hpp.
bool graphene::chain::limit_order_object::is_settled_debt = false |
Whether this order is an individual settlement fund.
Definition at line 56 of file market_object.hpp.
price graphene::chain::limit_order_object::sell_price |
Definition at line 53 of file market_object.hpp.
account_id_type graphene::chain::limit_order_object::seller |
Definition at line 51 of file market_object.hpp.
|
static |
Definition at line 47 of file market_object.hpp.
|
static |
Definition at line 48 of file market_object.hpp.