BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::bid_collateral_operation Struct Reference

#include <market.hpp>

Inheritance diagram for graphene::protocol::bid_collateral_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

Public Member Functions

account_id_type fee_payer () const
 
void validate () const
 
- Public Member Functions inherited from graphene::protocol::base_operation
virtual ~base_operation ()=default
 
template<typename T >
share_type calculate_fee (const T &params) const
 
virtual void get_required_authorities (vector< authority > &) const
 
virtual void get_required_active_authorities (flat_set< account_id_type > &) const
 
virtual void get_required_owner_authorities (flat_set< account_id_type > &) const
 
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) 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::protocol::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 global settlement to bid collateral for taking over part of the debt and the settlement_fund (see BSIP-0018).

Definition at line 241 of file market.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 252 of file market.hpp.

◆ validate()

void graphene::protocol::bid_collateral_operation::validate ( ) const
virtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 99 of file market.cpp.

Member Data Documentation

◆ additional_collateral

asset graphene::protocol::bid_collateral_operation::additional_collateral

the amount of collateral to bid for the debt

Definition at line 248 of file market.hpp.

◆ bidder

account_id_type graphene::protocol::bid_collateral_operation::bidder

pays fee and additional collateral

Definition at line 247 of file market.hpp.

◆ debt_covered

asset graphene::protocol::bid_collateral_operation::debt_covered

the amount of debt to take over

Definition at line 249 of file market.hpp.

◆ extensions

extensions_type graphene::protocol::bid_collateral_operation::extensions

Definition at line 250 of file market.hpp.

◆ fee

asset graphene::protocol::bid_collateral_operation::fee

Definition at line 246 of file market.hpp.


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