BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | 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, protocol_ids, balance_object_type > graphene::db::base_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, protocol_ids, balance_object_type >
 abstract_object ()
 
object_id< SpaceID, TypeID > get_id () const
 
- Public Member Functions inherited from graphene::db::base_abstract_object< balance_object >
std::unique_ptr< objectclone () const override
 
void move_from (object &obj) override
 
fc::variant to_variant () const override
 
std::vector< char > pack () const override
 
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
- Public Member Functions inherited from graphene::db::object
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
virtual ~object ()=default
 
virtual std::unique_ptr< objectclone () const =0
 
virtual fc::variant to_variant () const =0
 
virtual std::vector< char > pack () const =0
 

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
 

Additional Inherited Members

- Static Public Attributes inherited from graphene::db::abstract_object< balance_object, protocol_ids, balance_object_type >
static constexpr uint8_t space_id
 
static constexpr uint8_t type_id
 

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
inline

Definition at line 45 of file balance_object.hpp.

◆ available()

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

Definition at line 35 of file balance_object.hpp.

◆ is_vesting_balance()

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

Definition at line 33 of file balance_object.hpp.

Member Data Documentation

◆ balance

asset graphene::chain::balance_object::balance

Definition at line 42 of file balance_object.hpp.

◆ last_claim_date

time_point_sec graphene::chain::balance_object::last_claim_date

Definition at line 44 of file balance_object.hpp.

◆ owner

address graphene::chain::balance_object::owner

Definition at line 41 of file balance_object.hpp.

◆ vesting_policy

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

Definition at line 43 of file balance_object.hpp.


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