mocks

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OracleBackendChain

type OracleBackendChain struct {
	mock.Mock
}

OracleBackendChain is an autogenerated mock type for the OracleBackendChain type

func NewOracleBackendChain added in v0.0.14

func NewOracleBackendChain(t mockConstructorTestingTNewOracleBackendChain) *OracleBackendChain

NewOracleBackendChain creates a new instance of OracleBackendChain. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*OracleBackendChain) BlockByHash

func (_m *OracleBackendChain) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)

BlockByHash provides a mock function with given fields: ctx, hash

func (*OracleBackendChain) BlockByNumber

func (_m *OracleBackendChain) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*OracleBackendChain) ChainConfig

func (_m *OracleBackendChain) ChainConfig() *params.ChainConfig

ChainConfig provides a mock function with given fields:

func (*OracleBackendChain) HeaderByNumber

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

HeaderByNumber provides a mock function with given fields: ctx, number

func (*OracleBackendChain) SuggestGasPrice

func (_m *OracleBackendChain) SuggestGasPrice(ctx context.Context) (*big.Int, error)

SuggestGasPrice provides a mock function with given fields: ctx

func (*OracleBackendChain) SuggestGasTipCap

func (_m *OracleBackendChain) SuggestGasTipCap(ctx context.Context) (*big.Int, error)

SuggestGasTipCap provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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