Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::chain::bid_collateral_operation Struct Reference

#include <market.hpp>

Inheritance diagram for graphene::chain::bid_collateral_operation:
graphene::chain::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
- Public Member Functions inherited from graphene::chain::base_operation
template<typename T >
share_type calculate_fee (const T &params) const
 
void get_required_authorities (vector< authority > &) const
 
void get_required_active_authorities (flat_set< account_id_type > &) const
 
void get_required_owner_authorities (flat_set< account_id_type > &) const
 
void validate () const
 

Public Attributes

asset fee
 
account_id_type bidder
 pays fee and additional collateral More...
 
asset additional_collateral
 the amount of collateral to bid for the debt More...
 
asset debt_covered
 the amount of debt to take over More...
 
extensions_type extensions
 

Additional Inherited Members

- Static Public Member Functions inherited from graphene::chain::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)
 

Detailed Description

This operation can be used after a black swan to bid collateral for taking over part of the debt and the settlement_fund (see BSIP-0018).

Definition at line 179 of file market.hpp.

Member Function Documentation

◆ fee_payer()

account_id_type graphene::chain::bid_collateral_operation::fee_payer ( ) const
inline

Definition at line 190 of file market.hpp.

◆ validate()

void graphene::chain::bid_collateral_operation::validate ( ) const

Definition at line 51 of file market.cpp.

Member Data Documentation

◆ additional_collateral

asset graphene::chain::bid_collateral_operation::additional_collateral

the amount of collateral to bid for the debt

Definition at line 186 of file market.hpp.

◆ bidder

account_id_type graphene::chain::bid_collateral_operation::bidder

pays fee and additional collateral

Definition at line 185 of file market.hpp.

◆ debt_covered

asset graphene::chain::bid_collateral_operation::debt_covered

the amount of debt to take over

Definition at line 187 of file market.hpp.

◆ extensions

extensions_type graphene::chain::bid_collateral_operation::extensions

Definition at line 188 of file market.hpp.

◆ fee

asset graphene::chain::bid_collateral_operation::fee

Definition at line 184 of file market.hpp.


The documentation for this struct was generated from the following files: