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

Claim a balance in a balanc_object. More...

#include <balance.hpp>

Inheritance diagram for graphene::chain::balance_claim_operation:
graphene::chain::base_operation

Classes

struct  fee_parameters_type
 

Public Member Functions

account_id_type fee_payer () const
 
share_type calculate_fee (const fee_parameters_type &) const
 
void validate () const
 
void get_required_authorities (vector< authority > &a) 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 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::chain::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)
 

Detailed Description

Claim a balance in a balanc_object.

This operation is used to claim the balance in a given balance_object. If the balance object contains a vesting balance, total_claimed must not exceed 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 36 of file balance.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::chain::balance_claim_operation::calculate_fee ( const fee_parameters_type ) const
inline

Definition at line 47 of file balance.hpp.

◆ fee_payer()

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

Definition at line 46 of file balance.hpp.

◆ get_required_authorities()

void graphene::chain::balance_claim_operation::get_required_authorities ( vector< authority > &  a) const
inline

Definition at line 49 of file balance.hpp.

◆ validate()

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

Definition at line 35 of file operations.cpp.

Member Data Documentation

◆ balance_owner_key

public_key_type graphene::chain::balance_claim_operation::balance_owner_key

Definition at line 43 of file balance.hpp.

◆ balance_to_claim

balance_id_type graphene::chain::balance_claim_operation::balance_to_claim

Definition at line 42 of file balance.hpp.

◆ deposit_to_account

account_id_type graphene::chain::balance_claim_operation::deposit_to_account

Definition at line 41 of file balance.hpp.

◆ fee

asset graphene::chain::balance_claim_operation::fee

Definition at line 40 of file balance.hpp.

◆ total_claimed

asset graphene::chain::balance_claim_operation::total_claimed

Definition at line 44 of file balance.hpp.


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