erc20

package
v0.0.0-...-450f598 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TransferID          = eth.SignABI(signTransfer)
	BalanceOfID         = eth.SignABI(signBalanceOf)
	Decimals            = eth.SignABI(decimals)
	TransferFromID      = eth.SignABI(signTransferFrom)
	ApproveID           = eth.SignABI(signApprove)
	TotalSupplyID       = eth.SignABI(signTotalSupply)
	AllowanceID         = eth.SignABI(signAllowance)
	TransferOwnershipID = eth.SignABI(signTransferOwnership)
)

Method/Event id

Functions

func Allowance

func Allowance(from, to string) ([]byte, error)

Allowance .

func Approve

func Approve(to string, value string) ([]byte, error)

Approve .

func BalanceOf

func BalanceOf(address string) string

BalanceOf create erc20 balanceof abi string

func GetDecimals

func GetDecimals() string

GetDecimals .

func GetName

func GetName() string

GetName .

func GetSignSymbol

func GetSignSymbol() string

GetSignSymbol .

func GetTotalSupply

func GetTotalSupply() string

GetTotalSupply .

func Transfer

func Transfer(to string, value string) ([]byte, error)

Transfer .

func TransferFrom

func TransferFrom(from, to string, value string) ([]byte, error)

TransferFrom .

func TransferOwnership

func TransferOwnership(to string) ([]byte, error)

TransferOwnership .

Types

This section is empty.

Jump to

Keyboard shortcuts

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