Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var ( TWO decimal.Decimal = decimal.NewFromInt(NTWO) // TWO the decimal of 2 TEN decimal.Decimal = decimal.NewFromInt(NTEN) // TEN the decimal of 10 HUNDRED decimal.Decimal = decimal.NewFromInt(NHUNDRED) // HUNDRED the decimal of 100 )
Functions ¶
func RelevantUSDCoins ¶
RelevantUSDCoins returns the USD coins used for price conversion
Types ¶
type ChainID ¶
type ChainID uint
The ChainID of the crypto network
const ( MAINNET ChainID = 11111 // MAINNET Tron Mainnet NILE ChainID = 20190292 // NILE Tron Nile testnet SHASTA ChainID = 1 // SHASTA Tron Shasta testnet BSCMainnet ChainID = 56 // BSCMainnet Binance Mainnet BSCTestnet ChainID = 243 // BSCTestnet Binance Testnet BTTMainnet ChainID = 199 // BTTMainnet Bittorrent Mainnet BTTTestnet ChainID = 232 // BTTTestnet Bittorrent Testnet )
Click to show internal directories.
Click to hide internal directories.