ffcapimocks

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	mock.Mock
}

API is an autogenerated mock type for the API type

func NewAPI added in v1.1.6

func NewAPI(t interface {
	mock.TestingT
	Cleanup(func())
}) *API

NewAPI creates a new instance of API. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*API) AddressBalance added in v1.1.6

AddressBalance provides a mock function with given fields: ctx, req

func (*API) BlockInfoByHash added in v0.9.3

BlockInfoByHash provides a mock function with given fields: ctx, req

func (*API) BlockInfoByNumber added in v0.9.3

BlockInfoByNumber provides a mock function with given fields: ctx, req

func (*API) DeployContractPrepare added in v0.9.3

DeployContractPrepare provides a mock function with given fields: ctx, req

func (*API) EventListenerAdd added in v0.9.3

EventListenerAdd provides a mock function with given fields: ctx, req

func (*API) EventListenerHWM added in v0.9.3

EventListenerHWM provides a mock function with given fields: ctx, req

func (*API) EventListenerRemove added in v0.9.3

EventListenerRemove provides a mock function with given fields: ctx, req

func (*API) EventListenerVerifyOptions added in v0.9.3

EventListenerVerifyOptions provides a mock function with given fields: ctx, req

func (*API) EventStreamNewCheckpointStruct added in v0.9.3

func (_m *API) EventStreamNewCheckpointStruct() ffcapi.EventListenerCheckpoint

EventStreamNewCheckpointStruct provides a mock function with given fields:

func (*API) EventStreamStart added in v0.9.3

EventStreamStart provides a mock function with given fields: ctx, req

func (*API) EventStreamStopped added in v0.9.3

EventStreamStopped provides a mock function with given fields: ctx, req

func (*API) GasEstimate added in v1.2.13

GasEstimate provides a mock function with given fields: ctx, req

func (*API) GasPriceEstimate added in v0.9.3

GasPriceEstimate provides a mock function with given fields: ctx, req

func (*API) IsLive added in v0.9.11

IsLive provides a mock function with given fields: ctx

func (*API) IsReady added in v0.9.11

IsReady provides a mock function with given fields: ctx

func (*API) NewBlockListener added in v0.9.3

NewBlockListener provides a mock function with given fields: ctx, req

func (*API) NextNonceForSigner added in v0.9.3

NextNonceForSigner provides a mock function with given fields: ctx, req

func (*API) QueryInvoke added in v0.9.3

QueryInvoke provides a mock function with given fields: ctx, req

func (*API) TransactionPrepare added in v0.9.3

TransactionPrepare provides a mock function with given fields: ctx, req

func (*API) TransactionReceipt added in v0.9.3

TransactionReceipt provides a mock function with given fields: ctx, req

func (*API) TransactionSend added in v0.9.3

TransactionSend provides a mock function with given fields: ctx, req

Jump to

Keyboard shortcuts

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