chaindata

package
v0.0.0-...-791c31d Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapTokenStat

type MapTokenStat struct {
	Supply                   eos.Asset       `json:"supply"`
	MaxSupply                eos.Asset       `json:"max_supply"`
	Issuer                   eos.AccountName `json:"issuer"`
	Chain                    eos.Name        `json:"chain"`
	SideAccount              eos.AccountName `json:"side_account"`
	SideAction               eos.ActionName  `json:"side_action"`
	TotalMineage             eos.Int128      `json:"total_mineage"`
	TotalMineageUpdateHeight uint32          `json:"total_mineage_update_height"`
	RewardScope              uint64          `json:"reward_scope"`
	RewardSize               int32           `json:"reward_size"`
}

MapTokenStat map token stat in relay.token

func GetTokenMapData

func GetTokenMapData(chain string, symbol string, client types.ClientInterface) (MapTokenStat, error)

GetTokenMapData get token map stat data from table

func GetTokenMapDatas

func GetTokenMapDatas(chain string, client types.ClientInterface) ([]MapTokenStat, error)

GetTokenMapDatas get token map stat data from table

Jump to

Keyboard shortcuts

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