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

#include <asset_ops.hpp>

Inheritance diagram for graphene::protocol::asset_settle_cancel_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

Public Member Functions

 asset_settle_cancel_operation ()=default
 
 asset_settle_cancel_operation (const force_settlement_id_type &fsid, const account_id_type &aid, const asset &a)
 
account_id_type fee_payer () const
 
void validate () const
 
share_type calculate_fee (const fee_params_t &params) 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
 
force_settlement_id_type settlement
 
account_id_type account
 Account requesting the force settlement. This account pays the fee. More...
 
asset amount
 Amount of asset to force settle. This must be a market-issued asset. More...
 

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

Virtual op generated when force settlement is cancelled.

Definition at line 293 of file asset_ops.hpp.

Constructor & Destructor Documentation

◆ asset_settle_cancel_operation() [1/2]

graphene::protocol::asset_settle_cancel_operation::asset_settle_cancel_operation ( )
default

◆ asset_settle_cancel_operation() [2/2]

graphene::protocol::asset_settle_cancel_operation::asset_settle_cancel_operation ( const force_settlement_id_type &  fsid,
const account_id_type &  aid,
const asset a 
)
inline

Definition at line 298 of file asset_ops.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::protocol::asset_settle_cancel_operation::calculate_fee ( const fee_params_t params) const
inline

Definition at line 315 of file asset_ops.hpp.

◆ fee_payer()

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

Definition at line 308 of file asset_ops.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 313 of file asset_ops.hpp.

Member Data Documentation

◆ account

account_id_type graphene::protocol::asset_settle_cancel_operation::account

Account requesting the force settlement. This account pays the fee.

Definition at line 304 of file asset_ops.hpp.

◆ amount

asset graphene::protocol::asset_settle_cancel_operation::amount

Amount of asset to force settle. This must be a market-issued asset.

Definition at line 306 of file asset_ops.hpp.

◆ fee

asset graphene::protocol::asset_settle_cancel_operation::fee

Definition at line 301 of file asset_ops.hpp.

◆ settlement

force_settlement_id_type graphene::protocol::asset_settle_cancel_operation::settlement

Definition at line 302 of file asset_ops.hpp.


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