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

Claim a balance in a graphene::chain::balance_object. More...

#include <balance.hpp>

Inheritance diagram for graphene::protocol::balance_claim_operation:
graphene::protocol::base_operation

Classes

struct  fee_params_t
 

Public Member Functions

account_id_type fee_payer () const
 
share_type calculate_fee (const fee_params_t &) const
 
void validate () const
 
void get_required_authorities (vector< authority > &a) 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_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 deposit_to_account
 
balance_id_type balance_to_claim
 
public_key_type balance_owner_key
 
asset total_claimed
 

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

Claim a balance in a graphene::chain::balance_object.

This operation is used to claim the balance in a given graphene::chain::balance_object. If the balance object contains a vesting balance, total_claimed must not exceed graphene::chain::balance_object::available at the time of evaluation. If the object contains a non-vesting balance, total_claimed must be the full balance of the object.

Definition at line 40 of file balance.hpp.

Member Function Documentation

◆ calculate_fee()

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

Definition at line 51 of file balance.hpp.

◆ fee_payer()

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

Definition at line 50 of file balance.hpp.

◆ get_required_authorities()

void graphene::protocol::balance_claim_operation::get_required_authorities ( vector< authority > &  a) const
inlinevirtual

Reimplemented from graphene::protocol::base_operation.

Definition at line 53 of file balance.hpp.

◆ validate()

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

Reimplemented from graphene::protocol::base_operation.

Definition at line 46 of file operations.cpp.

Member Data Documentation

◆ balance_owner_key

public_key_type graphene::protocol::balance_claim_operation::balance_owner_key

Definition at line 47 of file balance.hpp.

◆ balance_to_claim

balance_id_type graphene::protocol::balance_claim_operation::balance_to_claim

Definition at line 46 of file balance.hpp.

◆ deposit_to_account

account_id_type graphene::protocol::balance_claim_operation::deposit_to_account

Definition at line 45 of file balance.hpp.

◆ fee

asset graphene::protocol::balance_claim_operation::fee

Definition at line 44 of file balance.hpp.

◆ total_claimed

asset graphene::protocol::balance_claim_operation::total_claimed

Definition at line 48 of file balance.hpp.


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