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

bids of collateral for debt after a black swan More...

#include <market_object.hpp>

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

Public Member Functions

asset get_additional_collateral () const
 
asset get_debt_covered () const
 
asset_id_type debt_type () const
 
- Public Member Functions inherited from graphene::db::abstract_object< collateral_bid_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 bidder
 
price inv_swan_price
 
- Public Attributes inherited from graphene::db::object
object_id_type id
 

Static Public Attributes

static const uint8_t space_id = implementation_ids
 
static const uint8_t type_id = impl_collateral_bid_object_type
 
- Static Public Attributes inherited from graphene::db::object
static const uint8_t space_id = 0
 
static const uint8_t type_id = 0
 

Detailed Description

bids of collateral for debt after a black swan

There should only be one collateral_bid_object per asset per account, and only for smartcoin assets that have a global settlement_price.

Definition at line 189 of file market_object.hpp.

Member Function Documentation

asset_id_type graphene::chain::collateral_bid_object::debt_type ( ) const
inline

Definition at line 197 of file market_object.hpp.

asset graphene::chain::collateral_bid_object::get_additional_collateral ( ) const
inline

Definition at line 195 of file market_object.hpp.

asset graphene::chain::collateral_bid_object::get_debt_covered ( ) const
inline

Definition at line 196 of file market_object.hpp.

Member Data Documentation

account_id_type graphene::chain::collateral_bid_object::bidder

Definition at line 199 of file market_object.hpp.

price graphene::chain::collateral_bid_object::inv_swan_price

Definition at line 200 of file market_object.hpp.

const uint8_t graphene::chain::collateral_bid_object::space_id = implementation_ids
static

Definition at line 192 of file market_object.hpp.

const uint8_t graphene::chain::collateral_bid_object::type_id = impl_collateral_bid_object_type
static

Definition at line 193 of file market_object.hpp.


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