Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::chain::collateral_bid_object Class Reference

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

#include <market_object.hpp>

Inheritance diagram for golos::chain::collateral_bid_object:

Public Member Functions

template<typename Constructor , typename Allocator >
 collateral_bid_object (Constructor &&c, allocator< Allocator > a)
 
 collateral_bid_object ()
 
protocol::asset< 0, 17, 0 > get_additional_collateral () const
 
protocol::asset< 0, 17, 0 > get_debt_covered () const
 
protocol::asset_name_type debt_type () const
 

Public Attributes

id_type id
 
protocol::account_name_type bidder
 
protocol::price< 0, 17, 0 > inv_swan_price
 

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

Constructor & Destructor Documentation

◆ collateral_bid_object() [1/2]

template<typename Constructor , typename Allocator >
golos::chain::collateral_bid_object::collateral_bid_object ( Constructor &&  c,
allocator< Allocator >  a 
)
inline

Definition at line 148 of file market_object.hpp.

◆ collateral_bid_object() [2/2]

golos::chain::collateral_bid_object::collateral_bid_object ( )
inline

Definition at line 152 of file market_object.hpp.

Member Function Documentation

◆ debt_type()

protocol::asset_name_type golos::chain::collateral_bid_object::debt_type ( ) const
inline

Definition at line 166 of file market_object.hpp.

◆ get_additional_collateral()

protocol::asset<0, 17, 0> golos::chain::collateral_bid_object::get_additional_collateral ( ) const
inline

Definition at line 158 of file market_object.hpp.

◆ get_debt_covered()

protocol::asset<0, 17, 0> golos::chain::collateral_bid_object::get_debt_covered ( ) const
inline

Definition at line 162 of file market_object.hpp.

Member Data Documentation

◆ bidder

protocol::account_name_type golos::chain::collateral_bid_object::bidder

Definition at line 170 of file market_object.hpp.

◆ id

id_type golos::chain::collateral_bid_object::id

Definition at line 156 of file market_object.hpp.

◆ inv_swan_price

protocol::price<0, 17, 0> golos::chain::collateral_bid_object::inv_swan_price

Definition at line 171 of file market_object.hpp.


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