contracts

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustGetABI added in v0.9.10

func MustGetABI(json string) abi.ABI

func NewFlagsDecodingLogListener added in v0.9.0

func NewFlagsDecodingLogListener(
	contract *Flags,
	innerListener log.Listener,
) log.Listener

Types

type ConnectedContract added in v0.9.9

type ConnectedContract interface {
	eth.ContractCodec
	Call(result interface{}, methodName string, args ...interface{}) error
	SubscribeToLogs(listener log.Listener) (connected bool, _ UnsubscribeFunc)
}

func NewConnectedContract added in v0.9.9

func NewConnectedContract(
	codec eth.ContractCodec,
	address common.Address,
	ethClient eth.Client,
	logBroadcaster log.Broadcaster,
) ConnectedContract

type Flags added in v0.9.0

type Flags struct {
	Address common.Address
	flags_wrapper.Flags
}

func NewFlagsContract added in v0.9.0

func NewFlagsContract(address common.Address, backend bind.ContractBackend) (*Flags, error)

type UnsubscribeFunc added in v0.9.9

type UnsubscribeFunc func()

Jump to

Keyboard shortcuts

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