mocks

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

AUTOGENERATED! Do not use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	mock.Mock
}

Transaction is an autogenerated mock type for the Transaction type

func NewTransaction

func NewTransaction(t mockConstructorTestingTNewTransaction) *Transaction

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

func (*Transaction) ExecuteSmartContract

func (_m *Transaction) ExecuteSmartContract(ctx context.Context, address string, funcName string, input interface{}, val uint64) (string, error)

ExecuteSmartContract provides a mock function with given fields: ctx, address, funcName, input, val

func (*Transaction) GetCallback

GetCallback provides a mock function with given fields:

func (*Transaction) GetHash

func (_m *Transaction) GetHash() string

GetHash provides a mock function with given fields:

func (*Transaction) GetScheme

func (_m *Transaction) GetScheme() zcncore.TransactionScheme

GetScheme provides a mock function with given fields:

func (*Transaction) GetTransactionOutput

func (_m *Transaction) GetTransactionOutput() string

GetTransactionOutput provides a mock function with given fields:

func (*Transaction) SetHash

func (_m *Transaction) SetHash(_a0 string)

SetHash provides a mock function with given fields: _a0

func (*Transaction) Verify

func (_m *Transaction) Verify(ctx context.Context) error

Verify provides a mock function with given fields: ctx

type TransactionCallbackAwaitable

type TransactionCallbackAwaitable struct {
	mock.Mock
}

TransactionCallbackAwaitable is an autogenerated mock type for the TransactionCallbackAwaitable type

func NewTransactionCallbackAwaitable

func NewTransactionCallbackAwaitable(t mockConstructorTestingTNewTransactionCallbackAwaitable) *TransactionCallbackAwaitable

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

func (*TransactionCallbackAwaitable) OnAuthComplete

func (_m *TransactionCallbackAwaitable) OnAuthComplete(t *zcncore.Transaction, status int)

OnAuthComplete provides a mock function with given fields: t, status

func (*TransactionCallbackAwaitable) OnTransactionComplete

func (_m *TransactionCallbackAwaitable) OnTransactionComplete(t *zcncore.Transaction, status int)

OnTransactionComplete provides a mock function with given fields: t, status

func (*TransactionCallbackAwaitable) OnVerifyComplete

func (_m *TransactionCallbackAwaitable) OnVerifyComplete(t *zcncore.Transaction, status int)

OnVerifyComplete provides a mock function with given fields: t, status

func (*TransactionCallbackAwaitable) WaitCompleteCall

func (_m *TransactionCallbackAwaitable) WaitCompleteCall(ctx context.Context) error

WaitCompleteCall provides a mock function with given fields: ctx

func (*TransactionCallbackAwaitable) WaitVerifyCall

func (_m *TransactionCallbackAwaitable) WaitVerifyCall(ctx context.Context) error

WaitVerifyCall provides a mock function with given fields: ctx

type TransactionProvider

type TransactionProvider struct {
	mock.Mock
}

TransactionProvider is an autogenerated mock type for the TransactionProvider type

func NewTransactionProvider

func NewTransactionProvider(t mockConstructorTestingTNewTransactionProvider) *TransactionProvider

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

func (*TransactionProvider) NewTransactionEntity

func (_m *TransactionProvider) NewTransactionEntity(txnFee uint64) (transaction.Transaction, error)

NewTransactionEntity provides a mock function with given fields: txnFee

Jump to

Keyboard shortcuts

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