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

#include <market.hpp>

Inheritance diagram for graphene::protocol::execute_bid_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

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_params_t &) const
 This is a virtual operation; there is no fee. More...
 
- 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

account_id_type bidder
 
asset debt
 
asset collateral
 
asset fee
 

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

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

Definition at line 262 of file market.hpp.

Constructor & Destructor Documentation

◆ execute_bid_operation() [1/2]

graphene::protocol::execute_bid_operation::execute_bid_operation ( )
inline

Definition at line 266 of file market.hpp.

◆ execute_bid_operation() [2/2]

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

Definition at line 267 of file market.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::protocol::execute_bid_operation::calculate_fee ( const fee_params_t ) const
inline

This is a virtual operation; there is no fee.

Definition at line 279 of file market.hpp.

◆ fee_payer()

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

Definition at line 275 of file market.hpp.

◆ validate()

void graphene::protocol::execute_bid_operation::validate ( ) const
inlinevirtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 276 of file market.hpp.

Member Data Documentation

◆ bidder

account_id_type graphene::protocol::execute_bid_operation::bidder

Definition at line 270 of file market.hpp.

◆ collateral

asset graphene::protocol::execute_bid_operation::collateral

Definition at line 272 of file market.hpp.

◆ debt

asset graphene::protocol::execute_bid_operation::debt

Definition at line 271 of file market.hpp.

◆ fee

asset graphene::protocol::execute_bid_operation::fee

Definition at line 273 of file market.hpp.


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