BitShares-Core  5.0.0
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:
graphene::db::abstract_object< balance_object > graphene::db::object

Public Member Functions

bool is_vesting_balance () const
asset available (fc::time_point_sec now) const
asset_id_type asset_type () const
- Public Member Functions inherited from graphene::db::abstract_object< balance_object >
virtual unique_ptr< objectclone () const
 these methods are implemented for derived classes by inheriting abstract_object<DerivedClass> More...
virtual void move_from (object &obj)
virtual variant to_variant () const
virtual vector< char > pack () const
- Public Member Functions inherited from graphene::db::object
 object ()
virtual ~object ()

Public Attributes

address owner
asset balance
optional< linear_vesting_policyvesting_policy
time_point_sec last_claim_date
- Public Attributes inherited from graphene::db::object
object_id_type id

Static Public Attributes

static constexpr uint8_t space_id = protocol_ids
static constexpr uint8_t type_id = balance_object_type

Detailed Description

Definition at line 30 of file balance_object.hpp.

Member Function Documentation

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

Definition at line 48 of file balance_object.hpp.

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

Definition at line 38 of file balance_object.hpp.

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

Definition at line 36 of file balance_object.hpp.

Member Data Documentation

asset graphene::chain::balance_object::balance

Definition at line 45 of file balance_object.hpp.

time_point_sec graphene::chain::balance_object::last_claim_date

Definition at line 47 of file balance_object.hpp.

address graphene::chain::balance_object::owner

Definition at line 44 of file balance_object.hpp.

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

Definition at line 33 of file balance_object.hpp.

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

Definition at line 34 of file balance_object.hpp.

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: