Contract

package
v0.0.0-...-507fc9a Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: LGPL-3.0-or-later, MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(url string) (*geth.Client, error)

func GetAbi

func GetAbi(stringAbi string) (abiABI, error)

func GetAllowanceAbi

func GetAllowanceAbi() (**big.Int, abiABI, error)

func GetBalanceOfAbi

func GetBalanceOfAbi() (**big.Int, abiABI, error)

func GetDecimalsAbi

func GetDecimalsAbi() (*uint8, abiABI, error)

func GetNameAbi

func GetNameAbi() (*string, abiABI, error)

func GetSymbolAbi

func GetSymbolAbi() (*string, abiABI, error)

func GetTotalSupplyAbi

func GetTotalSupplyAbi() (**big.Int, abiABI, error)

func HexToAddress

func HexToAddress(s string) commonAddress

func NewBoundContract

func NewBoundContract(address commonAddress, abi abiABI, caller bind.ContractCaller) *bind.BoundContract

Types

type Erc20Abis

type Erc20Abis struct {
	BalanceOf   **big.Int
	Symbol      *string
	Name        *string
	TotalSupply **big.Int
	Decimals    *uint8
	Allowance   **big.Int
}

func GetErc20Abi

func GetErc20Abi() (Erc20Abis, abiABI, error)

Jump to

Keyboard shortcuts

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