BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | 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, protocol_ids, force_settlement_object_type > graphene::db::base_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, protocol_ids, force_settlement_object_type >
 abstract_object ()
 
object_id< SpaceID, TypeID > get_id () const
 
- Public Member Functions inherited from graphene::db::base_abstract_object< force_settlement_object >
std::unique_ptr< objectclone () const override
 
void move_from (object &obj) override
 
fc::variant to_variant () const override
 
std::vector< char > pack () const override
 
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
- Public Member Functions inherited from graphene::db::object
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
virtual ~object ()=default
 
virtual std::unique_ptr< objectclone () const =0
 
virtual fc::variant to_variant () const =0
 
virtual std::vector< char > pack () const =0
 

Public Attributes

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

Additional Inherited Members

- Static Public Attributes inherited from graphene::db::abstract_object< force_settlement_object, protocol_ids, force_settlement_object_type >
static constexpr uint8_t space_id
 
static constexpr uint8_t type_id
 

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 187 of file market_object.hpp.

Member Function Documentation

◆ settlement_asset_id()

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

Definition at line 195 of file market_object.hpp.

Member Data Documentation

◆ balance

asset graphene::chain::force_settlement_object::balance

Definition at line 192 of file market_object.hpp.

◆ owner

account_id_type graphene::chain::force_settlement_object::owner

Definition at line 191 of file market_object.hpp.

◆ settlement_date

time_point_sec graphene::chain::force_settlement_object::settlement_date

Definition at line 193 of file market_object.hpp.


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