eth

package
v0.0.0-...-5fc2af4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ABIGenerateInput

func ABIGenerateInput(a abi.ABI, methodName string, args ...interface{}) (string, error)

func CallContractFunction

func CallContractFunction(a abi.ABI, addr string, methodName string, methodArgs []interface{}, result interface{}, opts ...interface{}) func() error

func CallRaw

func CallRaw(address string, fnc string) (string, error)

func CallRawAtBlock

func CallRawAtBlock(address string, fnc string, block int64) (string, error)

func DecodeFunctionOutputToInterface

func DecodeFunctionOutputToInterface(a abi.ABI, methodName string, output string, result interface{}) error

func DecodeString

func DecodeString(output string) ([]byte, error)

func GetERC20TokenFromChain

func GetERC20TokenFromChain(addr string) (*types.Token, error)

func Init

func Init() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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