ethinterface

package
v0.0.0-...-e2eb64c Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: GPL-3.0 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 ...

Jump to

Keyboard shortcuts

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