contract

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package contract is inferface layer for ERC20 tokens

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanSteal

func CanSteal(addr common.Address) (ret string)

CanSteal ERC20 token of this address

func SuggestGas

func SuggestGas() (*big.Int, error)

SuggestGas fowarded from ethclient

Types

type ERC20

type ERC20 struct {
	// contains filtered or unexported fields
}

ERC20 token structure

func List

func List() []ERC20

List ERC20 tokens registered

Jump to

Keyboard shortcuts

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