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

Transfers BTS from the fee pool of a specified asset back to the issuer's balance. More...

#include <asset_ops.hpp>

Inheritance diagram for graphene::chain::asset_claim_pool_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 issuer
 
asset_id_type asset_id
 
asset amount_to_claim
 fee.asset_id must != asset_id More...
 
extensions_type extensions
 core asset More...
 

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

Transfers BTS from the fee pool of a specified asset back to the issuer's balance.

Parameters
feePayment for the operation execution
issuerAccount which will be used for transfering BTS
asset_idId of the asset whose fee pool is going to be drained
amount_to_claimAmount of BTS to claim from the fee pool
extensionsField for future expansion
Precondition
fee must be paid in the asset other than the one whose pool is being drained
amount_to_claim should be specified in the core asset
amount_to_claim should be nonnegative

Definition at line 491 of file asset_ops.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 503 of file asset_ops.hpp.

◆ validate()

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

Definition at line 246 of file asset_ops.cpp.

Member Data Documentation

◆ amount_to_claim

asset graphene::chain::asset_claim_pool_operation::amount_to_claim

fee.asset_id must != asset_id

Definition at line 500 of file asset_ops.hpp.

◆ asset_id

asset_id_type graphene::chain::asset_claim_pool_operation::asset_id

Definition at line 499 of file asset_ops.hpp.

◆ extensions

extensions_type graphene::chain::asset_claim_pool_operation::extensions

core asset

Definition at line 501 of file asset_ops.hpp.

◆ fee

asset graphene::chain::asset_claim_pool_operation::fee

Definition at line 497 of file asset_ops.hpp.

◆ issuer

account_id_type graphene::chain::asset_claim_pool_operation::issuer

Definition at line 498 of file asset_ops.hpp.


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