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::execute_bid_operation Struct Reference

#include <market.hpp>

Inheritance diagram for graphene::chain::execute_bid_operation:
graphene::chain::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

 execute_bid_operation ()
 
 execute_bid_operation (account_id_type a, asset d, asset c)
 
account_id_type fee_payer () const
 
void validate () const
 
share_type calculate_fee (const fee_parameters_type &k) const
 This is a virtual operation; there is no fee. More...
 
- 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

account_id_type bidder
 
asset debt
 
asset collateral
 
asset fee
 

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

Note
This is a virtual operation that is created while reviving a bitasset from collateral bids.

Definition at line 200 of file market.hpp.

Constructor & Destructor Documentation

◆ execute_bid_operation() [1/2]

graphene::chain::execute_bid_operation::execute_bid_operation ( )
inline

Definition at line 204 of file market.hpp.

◆ execute_bid_operation() [2/2]

graphene::chain::execute_bid_operation::execute_bid_operation ( account_id_type  a,
asset  d,
asset  c 
)
inline

Definition at line 205 of file market.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::chain::execute_bid_operation::calculate_fee ( const fee_parameters_type k) const
inline

This is a virtual operation; there is no fee.

Definition at line 217 of file market.hpp.

◆ fee_payer()

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

Definition at line 213 of file market.hpp.

◆ validate()

void graphene::chain::execute_bid_operation::validate ( ) const
inline

Definition at line 214 of file market.hpp.

Member Data Documentation

◆ bidder

account_id_type graphene::chain::execute_bid_operation::bidder

Definition at line 208 of file market.hpp.

◆ collateral

asset graphene::chain::execute_bid_operation::collateral

Definition at line 210 of file market.hpp.

◆ debt

asset graphene::chain::execute_bid_operation::debt

Definition at line 209 of file market.hpp.

◆ fee

asset graphene::chain::execute_bid_operation::fee

Definition at line 211 of file market.hpp.


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