BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Namespaces | Typedefs | Enumerations | Functions
vesting_balance_object.hpp File Reference
#include <graphene/db/generic_index.hpp>
#include <graphene/protocol/asset.hpp>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/identity.hpp>
#include <fc/static_variant.hpp>
#include <fc/uint128.hpp>

Go to the source code of this file.

Classes

struct  graphene::chain::vesting_policy_context
 
struct  graphene::chain::linear_vesting_policy
 Linear vesting balance with cliff. More...
 
struct  graphene::chain::cdd_vesting_policy
 defines vesting in terms of coin-days accrued which allows for dynamic deposit/withdraw More...
 
struct  graphene::chain::instant_vesting_policy
 instant vesting policy More...
 
class  graphene::chain::vesting_balance_object
 
struct  graphene::chain::detail::vesting_balance_object_hash
 
struct  graphene::chain::detail::vesting_balance_object_equal
 

Namespaces

 graphene
 
 graphene::chain
 
 graphene::chain::detail
 

Typedefs

typedef fc::static_variant< linear_vesting_policy, cdd_vesting_policy, instant_vesting_policy > graphene::chain::vesting_policy
 
typedef multi_index_container< vesting_balance_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_non_unique< tag< by_account >, member< vesting_balance_object, account_id_type, &vesting_balance_object::owner > >, hashed_unique< tag< by_vesting_type >, identity< vesting_balance_object >, detail::vesting_balance_object_hash, detail::vesting_balance_object_equal > > > graphene::chain::vesting_balance_multi_index_type
 
typedef generic_index< vesting_balance_object, vesting_balance_multi_index_type > graphene::chain::vesting_balance_index
 

Enumerations

enum  graphene::chain::vesting_balance_type {
  graphene::chain::vesting_balance_type::unspecified, graphene::chain::vesting_balance_type::cashback, graphene::chain::vesting_balance_type::worker, graphene::chain::vesting_balance_type::witness,
  graphene::chain::vesting_balance_type::market_fee_sharing
}
 

Functions

uint64_t graphene::chain::detail::vbo_mfs_hash (const account_id_type &account_id, const asset_id_type &asset_id)