ethcontract

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: LGPL-3.0, MIT Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNewArrayTypeTuple

func MustNewArrayTypeTuple(components []abi.ArgumentMarshaling) abi.Type

func MustNewType

func MustNewType(str string) abi.Type

func MustParseABI

func MustParseABI(abiJSON string) abi.ABI

func ParseABI

func ParseABI(abiJSON string) (abi.ABI, error)

Types

type Contract

type Contract struct {
	*bind.BoundContract
	// contains filtered or unexported fields
}

func NewContract

func NewContract(address common.Address, abi abi.ABI, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) *Contract

func NewContractCaller

func NewContractCaller(address common.Address, abi abi.ABI, caller bind.ContractCaller) *Contract

func NewContractFilterer

func NewContractFilterer(address common.Address, abi abi.ABI, filterer bind.ContractFilterer) *Contract

func NewContractTransactor

func NewContractTransactor(address common.Address, abi abi.ABI, caller bind.ContractCaller, transactor bind.ContractTransactor) *Contract

func (*Contract) ABI

func (c *Contract) ABI() abi.ABI

func (*Contract) Address

func (c *Contract) Address() common.Address

func (*Contract) Encode

func (c *Contract) Encode(method string, args ...interface{}) ([]byte, error)

Jump to

Keyboard shortcuts

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