BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
graphene::chain::force_settlement_object Class Reference

tracks bitassets scheduled for force settlement at some point in the future. More...

#include <market_object.hpp>

Inheritance diagram for graphene::chain::force_settlement_object:
graphene::db::abstract_object< force_settlement_object > graphene::db::object

Public Member Functions

asset_id_type settlement_asset_id () const
- Public Member Functions inherited from graphene::db::abstract_object< force_settlement_object >
virtual unique_ptr< objectclone () 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
- Public Member Functions inherited from graphene::db::object
 object ()
virtual ~object ()

Public Attributes

account_id_type owner
asset balance
time_point_sec settlement_date
- Public Attributes inherited from graphene::db::object
object_id_type id

Static Public Attributes

static constexpr uint8_t space_id = protocol_ids
static constexpr uint8_t type_id = force_settlement_object_type

Detailed Description

tracks bitassets scheduled for force settlement at some point in the future.

On the settlement_date the balance will be converted to the collateral asset and paid to owner and then this object will be deleted.

Definition at line 168 of file market_object.hpp.

Member Function Documentation

asset_id_type graphene::chain::force_settlement_object::settlement_asset_id ( ) const

Definition at line 178 of file market_object.hpp.

Member Data Documentation

asset graphene::chain::force_settlement_object::balance

Definition at line 175 of file market_object.hpp.

account_id_type graphene::chain::force_settlement_object::owner

Definition at line 174 of file market_object.hpp.

time_point_sec graphene::chain::force_settlement_object::settlement_date

Definition at line 176 of file market_object.hpp.

constexpr uint8_t graphene::chain::force_settlement_object::space_id = protocol_ids

Definition at line 171 of file market_object.hpp.

constexpr uint8_t graphene::chain::force_settlement_object::type_id = force_settlement_object_type

Definition at line 172 of file market_object.hpp.

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