test

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbiBasedRpc

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

func NewAbiBasedRpc

func NewAbiBasedRpc(t *testing.T, to common.Address, contractAbi *abi.ABI) *AbiBasedRpc

func (*AbiBasedRpc) AddContract

func (l *AbiBasedRpc) AddContract(to common.Address, contractAbi *abi.ABI)

func (*AbiBasedRpc) BatchCallContext

func (l *AbiBasedRpc) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error

func (*AbiBasedRpc) CallContext

func (l *AbiBasedRpc) CallContext(_ context.Context, out interface{}, method string, args ...interface{}) error

func (*AbiBasedRpc) ClearResponses added in v1.5.1

func (l *AbiBasedRpc) ClearResponses(method string)

func (*AbiBasedRpc) SetResponse

func (l *AbiBasedRpc) SetResponse(to common.Address, method string, block batching.Block, expected []interface{}, output []interface{})

func (*AbiBasedRpc) VerifyTxCandidate

func (l *AbiBasedRpc) VerifyTxCandidate(candidate txmgr.TxCandidate)

Jump to

Keyboard shortcuts

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