uncirculating

package
v0.0.0-...-22cf739 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 7 Imported by: 0

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

type LockedTokens struct {
	SdlPool *abi.SdlPool
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL