BitShares-Core  5.1.0
BitShares blockchain implementation and command-line interface 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:


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::protocol::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
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

share_type graphene::protocol::balance_claim_operation::calculate_fee ( const fee_parameters_type ) const

Definition at line 51 of file balance.hpp.

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

Definition at line 50 of file balance.hpp.

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

Definition at line 53 of file balance.hpp.

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

Definition at line 46 of file operations.cpp.

Member Data Documentation

public_key_type graphene::protocol::balance_claim_operation::balance_owner_key

Definition at line 47 of file balance.hpp.

balance_id_type graphene::protocol::balance_claim_operation::balance_to_claim

Definition at line 46 of file balance.hpp.

account_id_type graphene::protocol::balance_claim_operation::deposit_to_account

Definition at line 45 of file balance.hpp.

asset graphene::protocol::balance_claim_operation::fee

Definition at line 44 of file balance.hpp.

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: