ffcapimocks

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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