ffcapimocks

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 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

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

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

func (*API) BlockInfoByHash

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

func (*API) BlockInfoByNumber

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

func (*API) DeployContractPrepare

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

func (*API) EventListenerAdd

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

func (*API) EventListenerHWM

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

func (*API) EventListenerRemove

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

func (*API) EventListenerVerifyOptions

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

func (*API) EventStreamNewCheckpointStruct

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

EventStreamNewCheckpointStruct provides a mock function with no fields

func (*API) EventStreamStart

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

func (*API) EventStreamStopped

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

func (*API) GasEstimate

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

func (*API) GasPriceEstimate

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

func (*API) GetChainTrackingMode

func (_m *API) GetChainTrackingMode(ctx context.Context) ffcapi.ChainTrackingMode

GetChainTrackingMode provides a mock function with given fields: ctx

func (*API) IsLive

IsLive provides a mock function with given fields: ctx

func (*API) IsReady

IsReady provides a mock function with given fields: ctx

func (*API) NewBlockListener

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

func (*API) NextNonceForSigner

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

func (*API) QueryInvoke

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

func (*API) ReconcileConfirmationsForTransaction

func (_m *API) ReconcileConfirmationsForTransaction(ctx context.Context, txHash string, existingConfirmations []*ffcapi.MinimalBlockInfo, targetConfirmationCount uint64) (*ffcapi.ConfirmationUpdateResult, error)

ReconcileConfirmationsForTransaction provides a mock function with given fields: ctx, txHash, existingConfirmations, targetConfirmationCount

func (*API) TransactionPrepare

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

func (*API) TransactionReceipt

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

func (*API) TransactionSend

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