Bitshares-Core  2.0.181105
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:

Public Member Functions

asset get_additional_collateral () const
 
asset get_debt_covered () const
 
asset_id_type debt_type () const
 

Public Attributes

account_id_type bidder
 
price inv_swan_price
 

Static Public Attributes

static const uint8_t space_id = implementation_ids
 
static const uint8_t type_id = impl_collateral_bid_object_type
 

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

Member Function Documentation

◆ debt_type()

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

Definition at line 178 of file market_object.hpp.

◆ get_additional_collateral()

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

Definition at line 176 of file market_object.hpp.

◆ get_debt_covered()

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

Definition at line 177 of file market_object.hpp.

Member Data Documentation

◆ bidder

account_id_type graphene::chain::collateral_bid_object::bidder

Definition at line 180 of file market_object.hpp.

◆ inv_swan_price

price graphene::chain::collateral_bid_object::inv_swan_price

Definition at line 181 of file market_object.hpp.

◆ space_id

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

Definition at line 173 of file market_object.hpp.

◆ type_id

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

Definition at line 174 of file market_object.hpp.


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