mocks

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GasEstimatorAPI added in v1.3.0

type GasEstimatorAPI struct {
	mock.Mock
}

GasEstimatorAPI is an autogenerated mock type for the GasEstimatorAPI type

func NewGasEstimatorAPI added in v1.3.0

func NewGasEstimatorAPI(t mockConstructorTestingTNewGasEstimatorAPI) *GasEstimatorAPI

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

func (*GasEstimatorAPI) GetGasFeeEstimate added in v1.3.0

func (_m *GasEstimatorAPI) GetGasFeeEstimate(ctx context.Context, protocol string, network string) ubiquity.ApiGetGasFeeEstimateRequest

GetGasFeeEstimate provides a mock function with given fields: ctx, protocol, network

func (*GasEstimatorAPI) GetGasFeeEstimateExecute added in v1.3.0

GetGasFeeEstimateExecute provides a mock function with given fields: r

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 mockConstructorTestingTNewTransactionsAPI) *TransactionsAPI

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

func (*TransactionsAPI) GetTxByHash added in v1.3.0

func (_m *TransactionsAPI) GetTxByHash(ctx context.Context, protocol string, network string, hash string) ubiquity.ApiGetTxByHashRequest

GetTxByHash provides a mock function with given fields: ctx, protocol, network, hash

func (*TransactionsAPI) GetTxByHashExecute added in v1.3.0

GetTxByHashExecute provides a mock function with given fields: r

func (*TransactionsAPI) GetTxConfirmations

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

GetTxConfirmations provides a mock function with given fields: ctx, protocol, network, hash

func (*TransactionsAPI) GetTxConfirmationsExecute

GetTxConfirmationsExecute provides a mock function with given fields: r

func (*TransactionsAPI) GetTxOutputByHashAndIndex added in v1.3.0

func (_m *TransactionsAPI) GetTxOutputByHashAndIndex(ctx context.Context, protocol string, network string, hash string, index int32) ubiquity.ApiGetTxOutputByHashAndIndexRequest

GetTxOutputByHashAndIndex provides a mock function with given fields: ctx, protocol, network, hash, index

func (*TransactionsAPI) GetTxOutputByHashAndIndexExecute added in v1.3.0

func (_m *TransactionsAPI) GetTxOutputByHashAndIndexExecute(r ubiquity.ApiGetTxOutputByHashAndIndexRequest) (ubiquity.TxOutput, *http.Response, error)

GetTxOutputByHashAndIndexExecute provides a mock function with given fields: r

func (*TransactionsAPI) GetTxs

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

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

func (*TransactionsAPI) GetTxsExecute

GetTxsExecute provides a mock function with given fields: r

func (*TransactionsAPI) TxCreate added in v1.3.0

func (_m *TransactionsAPI) TxCreate(ctx context.Context, protocol string, network string) ubiquity.ApiTxCreateRequest

TxCreate provides a mock function with given fields: ctx, protocol, network

func (*TransactionsAPI) TxCreateExecute added in v1.3.0

TxCreateExecute provides a mock function with given fields: r

func (*TransactionsAPI) TxSend

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

TxSend provides a mock function with given fields: ctx, protocol, 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