mocks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionsAPI

type TransactionsAPI struct {
	mock.Mock
}

TransactionsAPI is an autogenerated mock type for the TransactionsAPI type

func NewTransactionsAPI added in v1.1.0

func NewTransactionsAPI(t testing.TB) *TransactionsAPI

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

func (*TransactionsAPI) FeeEstimate

func (_m *TransactionsAPI) FeeEstimate(ctx context.Context, platform string, network string) ubiquity.ApiFeeEstimateRequest

FeeEstimate provides a mock function with given fields: ctx, platform, network

func (*TransactionsAPI) FeeEstimateExecute

FeeEstimateExecute provides a mock function with given fields: r

func (*TransactionsAPI) GetTx

func (_m *TransactionsAPI) GetTx(ctx context.Context, platform string, network string, id string) ubiquity.ApiGetTxRequest

GetTx provides a mock function with given fields: ctx, platform, network, id

func (*TransactionsAPI) GetTxByHashAndIndex added in v1.1.0

func (_m *TransactionsAPI) GetTxByHashAndIndex(ctx context.Context, platform string, network string, id string, index int32) ubiquity.ApiGetTxByHashAndIndexRequest

GetTxByHashAndIndex provides a mock function with given fields: ctx, platform, network, id, index

func (*TransactionsAPI) GetTxByHashAndIndexExecute added in v1.1.0

GetTxByHashAndIndexExecute provides a mock function with given fields: r

func (*TransactionsAPI) GetTxConfirmations

func (_m *TransactionsAPI) GetTxConfirmations(ctx context.Context, platform string, network string, id string) ubiquity.ApiGetTxConfirmationsRequest

GetTxConfirmations provides a mock function with given fields: ctx, platform, network, id

func (*TransactionsAPI) GetTxConfirmationsExecute

GetTxConfirmationsExecute provides a mock function with given fields: r

func (*TransactionsAPI) GetTxExecute

GetTxExecute provides a mock function with given fields: r

func (*TransactionsAPI) GetTxs

func (_m *TransactionsAPI) GetTxs(ctx context.Context, platform string, network string) ubiquity.ApiGetTxsRequest

GetTxs provides a mock function with given fields: ctx, platform, network

func (*TransactionsAPI) GetTxsExecute

GetTxsExecute provides a mock function with given fields: r

func (*TransactionsAPI) TxSend

func (_m *TransactionsAPI) TxSend(ctx context.Context, platform string, network string) ubiquity.ApiTxSendRequest

TxSend provides a mock function with given fields: ctx, platform, network

func (*TransactionsAPI) TxSendExecute

TxSendExecute provides a mock function with given fields: r

Jump to

Keyboard shortcuts

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