Documentation ¶
Index ¶
- func FetchErc20TokenMeta(urls []string, token string) (decimal int, symbol string, name string, err error)
- func FetchPoolPrice(urls []string, base string, baseDecimal int, quote string, quoteDecimal int, ...) (price float64, err error)
- func GetBalance(urls []string, addr string) (*big.Int, error)
- func GetTokenBalance(urls []string, token string, addr string) (amount *big.Int, err error)
- func Parse(urls []string, hash string, addr string) (*big.Int, error)
- func TransferETH(urls []string, fromKey string, to string, amount *big.Int) (string, error)
- func TransferErc20Token(urls []string, fromKey string, to string, amount *big.Int, token string, ...) (hash string, succeed bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchErc20TokenMeta ¶ added in v1.0.36
func FetchPoolPrice ¶ added in v1.0.36
func GetTokenBalance ¶ added in v1.0.36
func TransferETH ¶ added in v1.0.35
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.