ethinterface

package
Version: v1.66.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthClientSpec

type EthClientSpec interface {
	bind.ContractBackend
	TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
	NetworkID(ctx context.Context) (*big.Int, error)
	BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
	HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
}

EthClientSpec ...

type SimExtend

type SimExtend struct {
	*backends.SimulatedBackend
}

SimExtend ...

func (*SimExtend) HeaderByNumber

func (sim *SimExtend) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)

HeaderByNumber ...

func (*SimExtend) NetworkID

func (sim *SimExtend) NetworkID(ctx context.Context) (*big.Int, error)

NetworkID ...

Source Files

Jump to

Keyboard shortcuts

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