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_reserve_operation Struct Reference

used to take an asset out of circulation, returning to the issuer More...

#include <asset_ops.hpp>

Inheritance diagram for graphene::protocol::asset_reserve_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 payer
 
asset amount_to_reserve
 
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

used to take an asset out of circulation, returning to the issuer

Note
You cannot use this operation on market-issued assets.

Definition at line 513 of file asset_ops.hpp.

Member Function Documentation

◆ fee_payer()

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

Definition at line 522 of file asset_ops.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 192 of file asset_ops.cpp.

Member Data Documentation

◆ amount_to_reserve

asset graphene::protocol::asset_reserve_operation::amount_to_reserve

Definition at line 519 of file asset_ops.hpp.

◆ extensions

extensions_type graphene::protocol::asset_reserve_operation::extensions

Definition at line 520 of file asset_ops.hpp.

◆ fee

asset graphene::protocol::asset_reserve_operation::fee

Definition at line 517 of file asset_ops.hpp.

◆ payer

account_id_type graphene::protocol::asset_reserve_operation::payer

Definition at line 518 of file asset_ops.hpp.


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