ethcontract

package
v1.35.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: LGPL-3.0, MIT Imports: 7 Imported by: 3 modules, 7 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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
	Address common.Address
	ABI     abi.ABI
}

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) Encode

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

func (*Contract) EventTopicHash added in v1.17.0

func (c *Contract) EventTopicHash(eventName string) (ethkit.Hash, error)

Jump to

Keyboard shortcuts

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