Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
graphene::chain::balance_object Class Reference

#include <balance_object.hpp>

Inheritance diagram for graphene::chain::balance_object:

Public Member Functions

bool is_vesting_balance () const
asset available (fc::time_point_sec now) const
asset_id_type asset_type () const

Public Attributes

address owner
asset balance
optional< linear_vesting_policyvesting_policy
time_point_sec last_claim_date

Static Public Attributes

static const uint8_t space_id = protocol_ids
static const uint8_t type_id = balance_object_type

Detailed Description

Definition at line 30 of file balance_object.hpp.

Member Function Documentation

◆ asset_type()

asset_id_type graphene::chain::balance_object::asset_type ( ) const

Definition at line 48 of file balance_object.hpp.

◆ available()

asset graphene::chain::balance_object::available ( fc::time_point_sec  now) const

Definition at line 38 of file balance_object.hpp.

◆ is_vesting_balance()

bool graphene::chain::balance_object::is_vesting_balance ( ) const

Definition at line 36 of file balance_object.hpp.

Member Data Documentation

◆ balance

asset graphene::chain::balance_object::balance

Definition at line 45 of file balance_object.hpp.

◆ last_claim_date

time_point_sec graphene::chain::balance_object::last_claim_date

Definition at line 47 of file balance_object.hpp.

◆ owner

address graphene::chain::balance_object::owner

Definition at line 44 of file balance_object.hpp.

◆ space_id

const uint8_t graphene::chain::balance_object::space_id = protocol_ids

Definition at line 33 of file balance_object.hpp.

◆ type_id

const uint8_t graphene::chain::balance_object::type_id = balance_object_type

Definition at line 34 of file balance_object.hpp.

◆ vesting_policy

optional<linear_vesting_policy> graphene::chain::balance_object::vesting_policy

Definition at line 46 of file balance_object.hpp.

The documentation for this class was generated from the following file: