Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::chain::asset_dynamic_data_object Class Reference

tracks the asset information that changes frequentlyBecause the asset_object is very large it doesn't make sense to save an undo state for all of the parameters that never change. This object factors out the parameters of an asset that change in almost every transaction that involves the asset. More...

#include <asset_object.hpp>

Inheritance diagram for golos::chain::asset_dynamic_data_object:

Public Member Functions

template<typename Constructor , typename Allocator >
 asset_dynamic_data_object (Constructor &&c, allocator< Allocator > a)
 
 asset_dynamic_data_object ()
 

Public Attributes

id_type id
 
protocol::asset_name_type asset_name
 Ticker symbol for this asset, i.e. "USD". More...
 
share_type current_supply
 The number of shares currently in existence. More...
 
share_type confidential_supply
 total asset held in confidential balances More...
 
share_type accumulated_fees
 fees accumulate to be paid out over time More...
 
share_type fee_pool
 in core asset More...
 

Detailed Description

tracks the asset information that changes frequently

Because the asset_object is very large it doesn't make sense to save an undo state for all of the parameters that never change. This object factors out the parameters of an asset that change in almost every transaction that involves the asset.

This object exists as an implementation detail and its ID should never be referenced by a blockchain operation.

Definition at line 36 of file asset_object.hpp.

Constructor & Destructor Documentation

◆ asset_dynamic_data_object() [1/2]

template<typename Constructor , typename Allocator >
golos::chain::asset_dynamic_data_object::asset_dynamic_data_object ( Constructor &&  c,
allocator< Allocator >  a 
)
inline

Definition at line 40 of file asset_object.hpp.

◆ asset_dynamic_data_object() [2/2]

golos::chain::asset_dynamic_data_object::asset_dynamic_data_object ( )
inline

Definition at line 44 of file asset_object.hpp.

Member Data Documentation

◆ accumulated_fees

share_type golos::chain::asset_dynamic_data_object::accumulated_fees

fees accumulate to be paid out over time

Definition at line 55 of file asset_object.hpp.

◆ asset_name

protocol::asset_name_type golos::chain::asset_dynamic_data_object::asset_name

Ticker symbol for this asset, i.e. "USD".

Definition at line 50 of file asset_object.hpp.

◆ confidential_supply

share_type golos::chain::asset_dynamic_data_object::confidential_supply

total asset held in confidential balances

Definition at line 54 of file asset_object.hpp.

◆ current_supply

share_type golos::chain::asset_dynamic_data_object::current_supply

The number of shares currently in existence.

Definition at line 53 of file asset_object.hpp.

◆ fee_pool

share_type golos::chain::asset_dynamic_data_object::fee_pool

in core asset

Definition at line 56 of file asset_object.hpp.

◆ id

id_type golos::chain::asset_dynamic_data_object::id

Definition at line 47 of file asset_object.hpp.


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