erc20

package
v0.0.0-...-7efacb3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Method/Event id

Functions

func Allowance

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

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

func GetSignSymbol

func GetSignSymbol() string

func GetTotalSupply

func GetTotalSupply() string

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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