ethinterface

package
Version: v1.67.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: BSD-3-Clause Imports: 7 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)
	SyncProgress(ctx context.Context) (*ethereum.SyncProgress, 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 ...

func (*SimExtend) SyncProgress added in v1.67.0

func (sim *SimExtend) SyncProgress(ctx context.Context) (*ethereum.SyncProgress, error)

Source Files

Jump to

Keyboard shortcuts

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