Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExcludedAddresses ¶
type ExcludedAddresses struct {
// contains filtered or unexported fields
}
ExcludedAddresses calculates uncirculating tokens by excluding balances of specified addresses
func (*ExcludedAddresses) Init ¶
func (e *ExcludedAddresses) Init(t *app.TokenSupply) error
Init sets the token api app
func (*ExcludedAddresses) Uncirculating ¶
func (e *ExcludedAddresses) Uncirculating() (*big.Int, error)
Uncirculating sums the balances of all specified addresses
type LockedTokens ¶
LockedTokens removes locked tokens from the circulating supply
func (*LockedTokens) Init ¶
func (s *LockedTokens) Init(t *app.TokenSupply) error
Init sets the token api app
func (*LockedTokens) Uncirculating ¶
func (s *LockedTokens) Uncirculating() (*big.Int, error)
Uncirculating sums the balances of all locked tokens
type VestedTokens ¶
type VestedTokens struct { DelegatorPool *abi.DelegatorPool // contains filtered or unexported fields }
VestedTokens removes vested tokens from the circulating supply
func (*VestedTokens) Init ¶
func (s *VestedTokens) Init(t *app.TokenSupply) error
Init sets the token api app
func (*VestedTokens) Uncirculating ¶
func (s *VestedTokens) Uncirculating() (*big.Int, error)
Uncirculating sums the balances of all specified addresses
Click to show internal directories.
Click to hide internal directories.