Documentation ¶
Index ¶
- type FeeEstimatorAPI
- func (_m *FeeEstimatorAPI) EXPECT() *FeeEstimatorAPI_Expecter
- func (_m *FeeEstimatorAPI) GetFeeEstimate(ctx context.Context, protocol string, network string) ubiquity.ApiGetFeeEstimateRequest
- func (_m *FeeEstimatorAPI) GetFeeEstimateExecute(r ubiquity.ApiGetFeeEstimateRequest) (ubiquity.InlineResponse200, *http.Response, error)
- type FeeEstimatorAPI_Expecter
- type FeeEstimatorAPI_GetFeeEstimateExecute_Call
- func (_c *FeeEstimatorAPI_GetFeeEstimateExecute_Call) Return(_a0 ubiquity.InlineResponse200, _a1 *http.Response, _a2 error) *FeeEstimatorAPI_GetFeeEstimateExecute_Call
- func (_c *FeeEstimatorAPI_GetFeeEstimateExecute_Call) Run(run func(r ubiquity.ApiGetFeeEstimateRequest)) *FeeEstimatorAPI_GetFeeEstimateExecute_Call
- func (_c *FeeEstimatorAPI_GetFeeEstimateExecute_Call) RunAndReturn(...) *FeeEstimatorAPI_GetFeeEstimateExecute_Call
- type FeeEstimatorAPI_GetFeeEstimate_Call
- func (_c *FeeEstimatorAPI_GetFeeEstimate_Call) Return(_a0 ubiquity.ApiGetFeeEstimateRequest) *FeeEstimatorAPI_GetFeeEstimate_Call
- func (_c *FeeEstimatorAPI_GetFeeEstimate_Call) Run(run func(ctx context.Context, protocol string, network string)) *FeeEstimatorAPI_GetFeeEstimate_Call
- func (_c *FeeEstimatorAPI_GetFeeEstimate_Call) RunAndReturn(run func(context.Context, string, string) ubiquity.ApiGetFeeEstimateRequest) *FeeEstimatorAPI_GetFeeEstimate_Call
- type TransactionsAPI
- func (_m *TransactionsAPI) EXPECT() *TransactionsAPI_Expecter
- func (_m *TransactionsAPI) GetTxByHash(ctx context.Context, protocol string, network string, hash string) ubiquity.ApiGetTxByHashRequest
- func (_m *TransactionsAPI) GetTxByHashExecute(r ubiquity.ApiGetTxByHashRequest) (ubiquity.Tx, *http.Response, error)
- func (_m *TransactionsAPI) GetTxConfirmations(ctx context.Context, protocol string, network string, hash string) ubiquity.ApiGetTxConfirmationsRequest
- func (_m *TransactionsAPI) GetTxConfirmationsExecute(r ubiquity.ApiGetTxConfirmationsRequest) (ubiquity.TxConfirmation, *http.Response, error)
- func (_m *TransactionsAPI) GetTxOutputByHashAndIndex(ctx context.Context, protocol string, network string, hash string, index int32) ubiquity.ApiGetTxOutputByHashAndIndexRequest
- func (_m *TransactionsAPI) GetTxOutputByHashAndIndexExecute(r ubiquity.ApiGetTxOutputByHashAndIndexRequest) (ubiquity.TxOutput, *http.Response, error)
- func (_m *TransactionsAPI) GetTxs(ctx context.Context, protocol string, network string) ubiquity.ApiGetTxsRequest
- func (_m *TransactionsAPI) GetTxsByAddress(ctx context.Context, protocol string, network string, address string) ubiquity.ApiGetTxsByAddressRequest
- func (_m *TransactionsAPI) GetTxsByAddressExecute(r ubiquity.ApiGetTxsByAddressRequest) (ubiquity.TxPage, *http.Response, error)
- func (_m *TransactionsAPI) GetTxsExecute(r ubiquity.ApiGetTxsRequest) (ubiquity.TxPage, *http.Response, error)
- func (_m *TransactionsAPI) GetUTXOByAccount(ctx context.Context, protocol string, network string, address string) ubiquity.ApiGetUTXOByAccountRequest
- func (_m *TransactionsAPI) GetUTXOByAccountExecute(r ubiquity.ApiGetUTXOByAccountRequest) (ubiquity.TxOutputs, *http.Response, error)
- func (_m *TransactionsAPI) TxCreate(ctx context.Context, protocol string, network string) ubiquity.ApiTxCreateRequest
- func (_m *TransactionsAPI) TxCreateExecute(r ubiquity.ApiTxCreateRequest) (ubiquity.UnsignedTx, *http.Response, error)
- func (_m *TransactionsAPI) TxSend(ctx context.Context, protocol string, network string) ubiquity.ApiTxSendRequest
- func (_m *TransactionsAPI) TxSendExecute(r ubiquity.ApiTxSendRequest) (ubiquity.TxReceipt, *http.Response, error)
- type TransactionsAPI_Expecter
- func (_e *TransactionsAPI_Expecter) GetTxByHash(ctx interface{}, protocol interface{}, network interface{}, hash interface{}) *TransactionsAPI_GetTxByHash_Call
- func (_e *TransactionsAPI_Expecter) GetTxByHashExecute(r interface{}) *TransactionsAPI_GetTxByHashExecute_Call
- func (_e *TransactionsAPI_Expecter) GetTxConfirmations(ctx interface{}, protocol interface{}, network interface{}, hash interface{}) *TransactionsAPI_GetTxConfirmations_Call
- func (_e *TransactionsAPI_Expecter) GetTxConfirmationsExecute(r interface{}) *TransactionsAPI_GetTxConfirmationsExecute_Call
- func (_e *TransactionsAPI_Expecter) GetTxOutputByHashAndIndex(ctx interface{}, protocol interface{}, network interface{}, hash interface{}, ...) *TransactionsAPI_GetTxOutputByHashAndIndex_Call
- func (_e *TransactionsAPI_Expecter) GetTxOutputByHashAndIndexExecute(r interface{}) *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call
- func (_e *TransactionsAPI_Expecter) GetTxs(ctx interface{}, protocol interface{}, network interface{}) *TransactionsAPI_GetTxs_Call
- func (_e *TransactionsAPI_Expecter) GetTxsByAddress(ctx interface{}, protocol interface{}, network interface{}, ...) *TransactionsAPI_GetTxsByAddress_Call
- func (_e *TransactionsAPI_Expecter) GetTxsByAddressExecute(r interface{}) *TransactionsAPI_GetTxsByAddressExecute_Call
- func (_e *TransactionsAPI_Expecter) GetTxsExecute(r interface{}) *TransactionsAPI_GetTxsExecute_Call
- func (_e *TransactionsAPI_Expecter) GetUTXOByAccount(ctx interface{}, protocol interface{}, network interface{}, ...) *TransactionsAPI_GetUTXOByAccount_Call
- func (_e *TransactionsAPI_Expecter) GetUTXOByAccountExecute(r interface{}) *TransactionsAPI_GetUTXOByAccountExecute_Call
- func (_e *TransactionsAPI_Expecter) TxCreate(ctx interface{}, protocol interface{}, network interface{}) *TransactionsAPI_TxCreate_Call
- func (_e *TransactionsAPI_Expecter) TxCreateExecute(r interface{}) *TransactionsAPI_TxCreateExecute_Call
- func (_e *TransactionsAPI_Expecter) TxSend(ctx interface{}, protocol interface{}, network interface{}) *TransactionsAPI_TxSend_Call
- func (_e *TransactionsAPI_Expecter) TxSendExecute(r interface{}) *TransactionsAPI_TxSendExecute_Call
- type TransactionsAPI_GetTxByHashExecute_Call
- func (_c *TransactionsAPI_GetTxByHashExecute_Call) Return(_a0 ubiquity.Tx, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxByHashExecute_Call
- func (_c *TransactionsAPI_GetTxByHashExecute_Call) Run(run func(r ubiquity.ApiGetTxByHashRequest)) *TransactionsAPI_GetTxByHashExecute_Call
- func (_c *TransactionsAPI_GetTxByHashExecute_Call) RunAndReturn(run func(ubiquity.ApiGetTxByHashRequest) (ubiquity.Tx, *http.Response, error)) *TransactionsAPI_GetTxByHashExecute_Call
- type TransactionsAPI_GetTxByHash_Call
- func (_c *TransactionsAPI_GetTxByHash_Call) Return(_a0 ubiquity.ApiGetTxByHashRequest) *TransactionsAPI_GetTxByHash_Call
- func (_c *TransactionsAPI_GetTxByHash_Call) Run(run func(ctx context.Context, protocol string, network string, hash string)) *TransactionsAPI_GetTxByHash_Call
- func (_c *TransactionsAPI_GetTxByHash_Call) RunAndReturn(...) *TransactionsAPI_GetTxByHash_Call
- type TransactionsAPI_GetTxConfirmationsExecute_Call
- func (_c *TransactionsAPI_GetTxConfirmationsExecute_Call) Return(_a0 ubiquity.TxConfirmation, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxConfirmationsExecute_Call
- func (_c *TransactionsAPI_GetTxConfirmationsExecute_Call) Run(run func(r ubiquity.ApiGetTxConfirmationsRequest)) *TransactionsAPI_GetTxConfirmationsExecute_Call
- func (_c *TransactionsAPI_GetTxConfirmationsExecute_Call) RunAndReturn(...) *TransactionsAPI_GetTxConfirmationsExecute_Call
- type TransactionsAPI_GetTxConfirmations_Call
- func (_c *TransactionsAPI_GetTxConfirmations_Call) Return(_a0 ubiquity.ApiGetTxConfirmationsRequest) *TransactionsAPI_GetTxConfirmations_Call
- func (_c *TransactionsAPI_GetTxConfirmations_Call) Run(run func(ctx context.Context, protocol string, network string, hash string)) *TransactionsAPI_GetTxConfirmations_Call
- func (_c *TransactionsAPI_GetTxConfirmations_Call) RunAndReturn(...) *TransactionsAPI_GetTxConfirmations_Call
- type TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call
- func (_c *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call) Return(_a0 ubiquity.TxOutput, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call
- func (_c *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call) Run(run func(r ubiquity.ApiGetTxOutputByHashAndIndexRequest)) *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call
- func (_c *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call) RunAndReturn(...) *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call
- type TransactionsAPI_GetTxOutputByHashAndIndex_Call
- func (_c *TransactionsAPI_GetTxOutputByHashAndIndex_Call) Return(_a0 ubiquity.ApiGetTxOutputByHashAndIndexRequest) *TransactionsAPI_GetTxOutputByHashAndIndex_Call
- func (_c *TransactionsAPI_GetTxOutputByHashAndIndex_Call) Run(...) *TransactionsAPI_GetTxOutputByHashAndIndex_Call
- func (_c *TransactionsAPI_GetTxOutputByHashAndIndex_Call) RunAndReturn(...) *TransactionsAPI_GetTxOutputByHashAndIndex_Call
- type TransactionsAPI_GetTxsByAddressExecute_Call
- func (_c *TransactionsAPI_GetTxsByAddressExecute_Call) Return(_a0 ubiquity.TxPage, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxsByAddressExecute_Call
- func (_c *TransactionsAPI_GetTxsByAddressExecute_Call) Run(run func(r ubiquity.ApiGetTxsByAddressRequest)) *TransactionsAPI_GetTxsByAddressExecute_Call
- func (_c *TransactionsAPI_GetTxsByAddressExecute_Call) RunAndReturn(...) *TransactionsAPI_GetTxsByAddressExecute_Call
- type TransactionsAPI_GetTxsByAddress_Call
- func (_c *TransactionsAPI_GetTxsByAddress_Call) Return(_a0 ubiquity.ApiGetTxsByAddressRequest) *TransactionsAPI_GetTxsByAddress_Call
- func (_c *TransactionsAPI_GetTxsByAddress_Call) Run(run func(ctx context.Context, protocol string, network string, address string)) *TransactionsAPI_GetTxsByAddress_Call
- func (_c *TransactionsAPI_GetTxsByAddress_Call) RunAndReturn(...) *TransactionsAPI_GetTxsByAddress_Call
- type TransactionsAPI_GetTxsExecute_Call
- func (_c *TransactionsAPI_GetTxsExecute_Call) Return(_a0 ubiquity.TxPage, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxsExecute_Call
- func (_c *TransactionsAPI_GetTxsExecute_Call) Run(run func(r ubiquity.ApiGetTxsRequest)) *TransactionsAPI_GetTxsExecute_Call
- func (_c *TransactionsAPI_GetTxsExecute_Call) RunAndReturn(run func(ubiquity.ApiGetTxsRequest) (ubiquity.TxPage, *http.Response, error)) *TransactionsAPI_GetTxsExecute_Call
- type TransactionsAPI_GetTxs_Call
- func (_c *TransactionsAPI_GetTxs_Call) Return(_a0 ubiquity.ApiGetTxsRequest) *TransactionsAPI_GetTxs_Call
- func (_c *TransactionsAPI_GetTxs_Call) Run(run func(ctx context.Context, protocol string, network string)) *TransactionsAPI_GetTxs_Call
- func (_c *TransactionsAPI_GetTxs_Call) RunAndReturn(run func(context.Context, string, string) ubiquity.ApiGetTxsRequest) *TransactionsAPI_GetTxs_Call
- type TransactionsAPI_GetUTXOByAccountExecute_Call
- func (_c *TransactionsAPI_GetUTXOByAccountExecute_Call) Return(_a0 ubiquity.TxOutputs, _a1 *http.Response, _a2 error) *TransactionsAPI_GetUTXOByAccountExecute_Call
- func (_c *TransactionsAPI_GetUTXOByAccountExecute_Call) Run(run func(r ubiquity.ApiGetUTXOByAccountRequest)) *TransactionsAPI_GetUTXOByAccountExecute_Call
- func (_c *TransactionsAPI_GetUTXOByAccountExecute_Call) RunAndReturn(...) *TransactionsAPI_GetUTXOByAccountExecute_Call
- type TransactionsAPI_GetUTXOByAccount_Call
- func (_c *TransactionsAPI_GetUTXOByAccount_Call) Return(_a0 ubiquity.ApiGetUTXOByAccountRequest) *TransactionsAPI_GetUTXOByAccount_Call
- func (_c *TransactionsAPI_GetUTXOByAccount_Call) Run(run func(ctx context.Context, protocol string, network string, address string)) *TransactionsAPI_GetUTXOByAccount_Call
- func (_c *TransactionsAPI_GetUTXOByAccount_Call) RunAndReturn(...) *TransactionsAPI_GetUTXOByAccount_Call
- type TransactionsAPI_TxCreateExecute_Call
- func (_c *TransactionsAPI_TxCreateExecute_Call) Return(_a0 ubiquity.UnsignedTx, _a1 *http.Response, _a2 error) *TransactionsAPI_TxCreateExecute_Call
- func (_c *TransactionsAPI_TxCreateExecute_Call) Run(run func(r ubiquity.ApiTxCreateRequest)) *TransactionsAPI_TxCreateExecute_Call
- func (_c *TransactionsAPI_TxCreateExecute_Call) RunAndReturn(...) *TransactionsAPI_TxCreateExecute_Call
- type TransactionsAPI_TxCreate_Call
- func (_c *TransactionsAPI_TxCreate_Call) Return(_a0 ubiquity.ApiTxCreateRequest) *TransactionsAPI_TxCreate_Call
- func (_c *TransactionsAPI_TxCreate_Call) Run(run func(ctx context.Context, protocol string, network string)) *TransactionsAPI_TxCreate_Call
- func (_c *TransactionsAPI_TxCreate_Call) RunAndReturn(run func(context.Context, string, string) ubiquity.ApiTxCreateRequest) *TransactionsAPI_TxCreate_Call
- type TransactionsAPI_TxSendExecute_Call
- func (_c *TransactionsAPI_TxSendExecute_Call) Return(_a0 ubiquity.TxReceipt, _a1 *http.Response, _a2 error) *TransactionsAPI_TxSendExecute_Call
- func (_c *TransactionsAPI_TxSendExecute_Call) Run(run func(r ubiquity.ApiTxSendRequest)) *TransactionsAPI_TxSendExecute_Call
- func (_c *TransactionsAPI_TxSendExecute_Call) RunAndReturn(...) *TransactionsAPI_TxSendExecute_Call
- type TransactionsAPI_TxSend_Call
- func (_c *TransactionsAPI_TxSend_Call) Return(_a0 ubiquity.ApiTxSendRequest) *TransactionsAPI_TxSend_Call
- func (_c *TransactionsAPI_TxSend_Call) Run(run func(ctx context.Context, protocol string, network string)) *TransactionsAPI_TxSend_Call
- func (_c *TransactionsAPI_TxSend_Call) RunAndReturn(run func(context.Context, string, string) ubiquity.ApiTxSendRequest) *TransactionsAPI_TxSend_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeeEstimatorAPI ¶ added in v1.8.2
FeeEstimatorAPI is an autogenerated mock type for the FeeEstimatorAPI type
func NewFeeEstimatorAPI ¶ added in v1.8.2
func NewFeeEstimatorAPI(t interface { mock.TestingT Cleanup(func()) }) *FeeEstimatorAPI
NewFeeEstimatorAPI creates a new instance of FeeEstimatorAPI. 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 (*FeeEstimatorAPI) EXPECT ¶ added in v1.10.0
func (_m *FeeEstimatorAPI) EXPECT() *FeeEstimatorAPI_Expecter
func (*FeeEstimatorAPI) GetFeeEstimate ¶ added in v1.8.2
func (_m *FeeEstimatorAPI) GetFeeEstimate(ctx context.Context, protocol string, network string) ubiquity.ApiGetFeeEstimateRequest
GetFeeEstimate provides a mock function with given fields: ctx, protocol, network
func (*FeeEstimatorAPI) GetFeeEstimateExecute ¶ added in v1.8.2
func (_m *FeeEstimatorAPI) GetFeeEstimateExecute(r ubiquity.ApiGetFeeEstimateRequest) (ubiquity.InlineResponse200, *http.Response, error)
GetFeeEstimateExecute provides a mock function with given fields: r
type FeeEstimatorAPI_Expecter ¶ added in v1.10.0
type FeeEstimatorAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*FeeEstimatorAPI_Expecter) GetFeeEstimate ¶ added in v1.10.0
func (_e *FeeEstimatorAPI_Expecter) GetFeeEstimate(ctx interface{}, protocol interface{}, network interface{}) *FeeEstimatorAPI_GetFeeEstimate_Call
GetFeeEstimate is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
func (*FeeEstimatorAPI_Expecter) GetFeeEstimateExecute ¶ added in v1.10.0
func (_e *FeeEstimatorAPI_Expecter) GetFeeEstimateExecute(r interface{}) *FeeEstimatorAPI_GetFeeEstimateExecute_Call
GetFeeEstimateExecute is a helper method to define mock.On call
- r ubiquity.ApiGetFeeEstimateRequest
type FeeEstimatorAPI_GetFeeEstimateExecute_Call ¶ added in v1.10.0
FeeEstimatorAPI_GetFeeEstimateExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFeeEstimateExecute'
func (*FeeEstimatorAPI_GetFeeEstimateExecute_Call) Return ¶ added in v1.10.0
func (_c *FeeEstimatorAPI_GetFeeEstimateExecute_Call) Return(_a0 ubiquity.InlineResponse200, _a1 *http.Response, _a2 error) *FeeEstimatorAPI_GetFeeEstimateExecute_Call
func (*FeeEstimatorAPI_GetFeeEstimateExecute_Call) Run ¶ added in v1.10.0
func (_c *FeeEstimatorAPI_GetFeeEstimateExecute_Call) Run(run func(r ubiquity.ApiGetFeeEstimateRequest)) *FeeEstimatorAPI_GetFeeEstimateExecute_Call
func (*FeeEstimatorAPI_GetFeeEstimateExecute_Call) RunAndReturn ¶ added in v1.10.0
func (_c *FeeEstimatorAPI_GetFeeEstimateExecute_Call) RunAndReturn(run func(ubiquity.ApiGetFeeEstimateRequest) (ubiquity.InlineResponse200, *http.Response, error)) *FeeEstimatorAPI_GetFeeEstimateExecute_Call
type FeeEstimatorAPI_GetFeeEstimate_Call ¶ added in v1.10.0
FeeEstimatorAPI_GetFeeEstimate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFeeEstimate'
func (*FeeEstimatorAPI_GetFeeEstimate_Call) Return ¶ added in v1.10.0
func (_c *FeeEstimatorAPI_GetFeeEstimate_Call) Return(_a0 ubiquity.ApiGetFeeEstimateRequest) *FeeEstimatorAPI_GetFeeEstimate_Call
func (*FeeEstimatorAPI_GetFeeEstimate_Call) Run ¶ added in v1.10.0
func (_c *FeeEstimatorAPI_GetFeeEstimate_Call) Run(run func(ctx context.Context, protocol string, network string)) *FeeEstimatorAPI_GetFeeEstimate_Call
func (*FeeEstimatorAPI_GetFeeEstimate_Call) RunAndReturn ¶ added in v1.10.0
func (_c *FeeEstimatorAPI_GetFeeEstimate_Call) RunAndReturn(run func(context.Context, string, string) ubiquity.ApiGetFeeEstimateRequest) *FeeEstimatorAPI_GetFeeEstimate_Call
type TransactionsAPI ¶
TransactionsAPI is an autogenerated mock type for the TransactionsAPI type
func NewTransactionsAPI ¶ added in v1.1.0
func NewTransactionsAPI(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*TransactionsAPI) EXPECT ¶ added in v1.10.0
func (_m *TransactionsAPI) EXPECT() *TransactionsAPI_Expecter
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
func (_m *TransactionsAPI) GetTxByHashExecute(r ubiquity.ApiGetTxByHashRequest) (ubiquity.Tx, *http.Response, error)
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 ¶
func (_m *TransactionsAPI) GetTxConfirmationsExecute(r ubiquity.ApiGetTxConfirmationsRequest) (ubiquity.TxConfirmation, *http.Response, error)
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) GetTxsByAddress ¶ added in v1.11.0
func (_m *TransactionsAPI) GetTxsByAddress(ctx context.Context, protocol string, network string, address string) ubiquity.ApiGetTxsByAddressRequest
GetTxsByAddress provides a mock function with given fields: ctx, protocol, network, address
func (*TransactionsAPI) GetTxsByAddressExecute ¶ added in v1.11.0
func (_m *TransactionsAPI) GetTxsByAddressExecute(r ubiquity.ApiGetTxsByAddressRequest) (ubiquity.TxPage, *http.Response, error)
GetTxsByAddressExecute provides a mock function with given fields: r
func (*TransactionsAPI) GetTxsExecute ¶
func (_m *TransactionsAPI) GetTxsExecute(r ubiquity.ApiGetTxsRequest) (ubiquity.TxPage, *http.Response, error)
GetTxsExecute provides a mock function with given fields: r
func (*TransactionsAPI) GetUTXOByAccount ¶ added in v1.11.0
func (_m *TransactionsAPI) GetUTXOByAccount(ctx context.Context, protocol string, network string, address string) ubiquity.ApiGetUTXOByAccountRequest
GetUTXOByAccount provides a mock function with given fields: ctx, protocol, network, address
func (*TransactionsAPI) GetUTXOByAccountExecute ¶ added in v1.11.0
func (_m *TransactionsAPI) GetUTXOByAccountExecute(r ubiquity.ApiGetUTXOByAccountRequest) (ubiquity.TxOutputs, *http.Response, error)
GetUTXOByAccountExecute 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
func (_m *TransactionsAPI) TxCreateExecute(r ubiquity.ApiTxCreateRequest) (ubiquity.UnsignedTx, *http.Response, error)
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 ¶
func (_m *TransactionsAPI) TxSendExecute(r ubiquity.ApiTxSendRequest) (ubiquity.TxReceipt, *http.Response, error)
TxSendExecute provides a mock function with given fields: r
type TransactionsAPI_Expecter ¶ added in v1.10.0
type TransactionsAPI_Expecter struct {
// contains filtered or unexported fields
}
func (*TransactionsAPI_Expecter) GetTxByHash ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) GetTxByHash(ctx interface{}, protocol interface{}, network interface{}, hash interface{}) *TransactionsAPI_GetTxByHash_Call
GetTxByHash is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
- hash string
func (*TransactionsAPI_Expecter) GetTxByHashExecute ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) GetTxByHashExecute(r interface{}) *TransactionsAPI_GetTxByHashExecute_Call
GetTxByHashExecute is a helper method to define mock.On call
- r ubiquity.ApiGetTxByHashRequest
func (*TransactionsAPI_Expecter) GetTxConfirmations ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) GetTxConfirmations(ctx interface{}, protocol interface{}, network interface{}, hash interface{}) *TransactionsAPI_GetTxConfirmations_Call
GetTxConfirmations is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
- hash string
func (*TransactionsAPI_Expecter) GetTxConfirmationsExecute ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) GetTxConfirmationsExecute(r interface{}) *TransactionsAPI_GetTxConfirmationsExecute_Call
GetTxConfirmationsExecute is a helper method to define mock.On call
- r ubiquity.ApiGetTxConfirmationsRequest
func (*TransactionsAPI_Expecter) GetTxOutputByHashAndIndex ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) GetTxOutputByHashAndIndex(ctx interface{}, protocol interface{}, network interface{}, hash interface{}, index interface{}) *TransactionsAPI_GetTxOutputByHashAndIndex_Call
GetTxOutputByHashAndIndex is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
- hash string
- index int32
func (*TransactionsAPI_Expecter) GetTxOutputByHashAndIndexExecute ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) GetTxOutputByHashAndIndexExecute(r interface{}) *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call
GetTxOutputByHashAndIndexExecute is a helper method to define mock.On call
- r ubiquity.ApiGetTxOutputByHashAndIndexRequest
func (*TransactionsAPI_Expecter) GetTxs ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) GetTxs(ctx interface{}, protocol interface{}, network interface{}) *TransactionsAPI_GetTxs_Call
GetTxs is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
func (*TransactionsAPI_Expecter) GetTxsByAddress ¶ added in v1.11.0
func (_e *TransactionsAPI_Expecter) GetTxsByAddress(ctx interface{}, protocol interface{}, network interface{}, address interface{}) *TransactionsAPI_GetTxsByAddress_Call
GetTxsByAddress is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
- address string
func (*TransactionsAPI_Expecter) GetTxsByAddressExecute ¶ added in v1.11.0
func (_e *TransactionsAPI_Expecter) GetTxsByAddressExecute(r interface{}) *TransactionsAPI_GetTxsByAddressExecute_Call
GetTxsByAddressExecute is a helper method to define mock.On call
- r ubiquity.ApiGetTxsByAddressRequest
func (*TransactionsAPI_Expecter) GetTxsExecute ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) GetTxsExecute(r interface{}) *TransactionsAPI_GetTxsExecute_Call
GetTxsExecute is a helper method to define mock.On call
- r ubiquity.ApiGetTxsRequest
func (*TransactionsAPI_Expecter) GetUTXOByAccount ¶ added in v1.11.0
func (_e *TransactionsAPI_Expecter) GetUTXOByAccount(ctx interface{}, protocol interface{}, network interface{}, address interface{}) *TransactionsAPI_GetUTXOByAccount_Call
GetUTXOByAccount is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
- address string
func (*TransactionsAPI_Expecter) GetUTXOByAccountExecute ¶ added in v1.11.0
func (_e *TransactionsAPI_Expecter) GetUTXOByAccountExecute(r interface{}) *TransactionsAPI_GetUTXOByAccountExecute_Call
GetUTXOByAccountExecute is a helper method to define mock.On call
- r ubiquity.ApiGetUTXOByAccountRequest
func (*TransactionsAPI_Expecter) TxCreate ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) TxCreate(ctx interface{}, protocol interface{}, network interface{}) *TransactionsAPI_TxCreate_Call
TxCreate is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
func (*TransactionsAPI_Expecter) TxCreateExecute ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) TxCreateExecute(r interface{}) *TransactionsAPI_TxCreateExecute_Call
TxCreateExecute is a helper method to define mock.On call
- r ubiquity.ApiTxCreateRequest
func (*TransactionsAPI_Expecter) TxSend ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) TxSend(ctx interface{}, protocol interface{}, network interface{}) *TransactionsAPI_TxSend_Call
TxSend is a helper method to define mock.On call
- ctx context.Context
- protocol string
- network string
func (*TransactionsAPI_Expecter) TxSendExecute ¶ added in v1.10.0
func (_e *TransactionsAPI_Expecter) TxSendExecute(r interface{}) *TransactionsAPI_TxSendExecute_Call
TxSendExecute is a helper method to define mock.On call
- r ubiquity.ApiTxSendRequest
type TransactionsAPI_GetTxByHashExecute_Call ¶ added in v1.10.0
TransactionsAPI_GetTxByHashExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxByHashExecute'
func (*TransactionsAPI_GetTxByHashExecute_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxByHashExecute_Call) Return(_a0 ubiquity.Tx, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxByHashExecute_Call
func (*TransactionsAPI_GetTxByHashExecute_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxByHashExecute_Call) Run(run func(r ubiquity.ApiGetTxByHashRequest)) *TransactionsAPI_GetTxByHashExecute_Call
func (*TransactionsAPI_GetTxByHashExecute_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxByHashExecute_Call) RunAndReturn(run func(ubiquity.ApiGetTxByHashRequest) (ubiquity.Tx, *http.Response, error)) *TransactionsAPI_GetTxByHashExecute_Call
type TransactionsAPI_GetTxByHash_Call ¶ added in v1.10.0
TransactionsAPI_GetTxByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxByHash'
func (*TransactionsAPI_GetTxByHash_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxByHash_Call) Return(_a0 ubiquity.ApiGetTxByHashRequest) *TransactionsAPI_GetTxByHash_Call
func (*TransactionsAPI_GetTxByHash_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxByHash_Call) Run(run func(ctx context.Context, protocol string, network string, hash string)) *TransactionsAPI_GetTxByHash_Call
func (*TransactionsAPI_GetTxByHash_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxByHash_Call) RunAndReturn(run func(context.Context, string, string, string) ubiquity.ApiGetTxByHashRequest) *TransactionsAPI_GetTxByHash_Call
type TransactionsAPI_GetTxConfirmationsExecute_Call ¶ added in v1.10.0
TransactionsAPI_GetTxConfirmationsExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxConfirmationsExecute'
func (*TransactionsAPI_GetTxConfirmationsExecute_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxConfirmationsExecute_Call) Return(_a0 ubiquity.TxConfirmation, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxConfirmationsExecute_Call
func (*TransactionsAPI_GetTxConfirmationsExecute_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxConfirmationsExecute_Call) Run(run func(r ubiquity.ApiGetTxConfirmationsRequest)) *TransactionsAPI_GetTxConfirmationsExecute_Call
func (*TransactionsAPI_GetTxConfirmationsExecute_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxConfirmationsExecute_Call) RunAndReturn(run func(ubiquity.ApiGetTxConfirmationsRequest) (ubiquity.TxConfirmation, *http.Response, error)) *TransactionsAPI_GetTxConfirmationsExecute_Call
type TransactionsAPI_GetTxConfirmations_Call ¶ added in v1.10.0
TransactionsAPI_GetTxConfirmations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxConfirmations'
func (*TransactionsAPI_GetTxConfirmations_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxConfirmations_Call) Run(run func(ctx context.Context, protocol string, network string, hash string)) *TransactionsAPI_GetTxConfirmations_Call
func (*TransactionsAPI_GetTxConfirmations_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxConfirmations_Call) RunAndReturn(run func(context.Context, string, string, string) ubiquity.ApiGetTxConfirmationsRequest) *TransactionsAPI_GetTxConfirmations_Call
type TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call ¶ added in v1.10.0
TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxOutputByHashAndIndexExecute'
func (*TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call) Return(_a0 ubiquity.TxOutput, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call
func (*TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call) RunAndReturn(run func(ubiquity.ApiGetTxOutputByHashAndIndexRequest) (ubiquity.TxOutput, *http.Response, error)) *TransactionsAPI_GetTxOutputByHashAndIndexExecute_Call
type TransactionsAPI_GetTxOutputByHashAndIndex_Call ¶ added in v1.10.0
TransactionsAPI_GetTxOutputByHashAndIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxOutputByHashAndIndex'
func (*TransactionsAPI_GetTxOutputByHashAndIndex_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxOutputByHashAndIndex_Call) Run(run func(ctx context.Context, protocol string, network string, hash string, index int32)) *TransactionsAPI_GetTxOutputByHashAndIndex_Call
func (*TransactionsAPI_GetTxOutputByHashAndIndex_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxOutputByHashAndIndex_Call) RunAndReturn(run func(context.Context, string, string, string, int32) ubiquity.ApiGetTxOutputByHashAndIndexRequest) *TransactionsAPI_GetTxOutputByHashAndIndex_Call
type TransactionsAPI_GetTxsByAddressExecute_Call ¶ added in v1.11.0
TransactionsAPI_GetTxsByAddressExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxsByAddressExecute'
func (*TransactionsAPI_GetTxsByAddressExecute_Call) Return ¶ added in v1.11.0
func (_c *TransactionsAPI_GetTxsByAddressExecute_Call) Return(_a0 ubiquity.TxPage, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxsByAddressExecute_Call
func (*TransactionsAPI_GetTxsByAddressExecute_Call) Run ¶ added in v1.11.0
func (_c *TransactionsAPI_GetTxsByAddressExecute_Call) Run(run func(r ubiquity.ApiGetTxsByAddressRequest)) *TransactionsAPI_GetTxsByAddressExecute_Call
func (*TransactionsAPI_GetTxsByAddressExecute_Call) RunAndReturn ¶ added in v1.11.0
func (_c *TransactionsAPI_GetTxsByAddressExecute_Call) RunAndReturn(run func(ubiquity.ApiGetTxsByAddressRequest) (ubiquity.TxPage, *http.Response, error)) *TransactionsAPI_GetTxsByAddressExecute_Call
type TransactionsAPI_GetTxsByAddress_Call ¶ added in v1.11.0
TransactionsAPI_GetTxsByAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxsByAddress'
func (*TransactionsAPI_GetTxsByAddress_Call) Return ¶ added in v1.11.0
func (_c *TransactionsAPI_GetTxsByAddress_Call) Return(_a0 ubiquity.ApiGetTxsByAddressRequest) *TransactionsAPI_GetTxsByAddress_Call
func (*TransactionsAPI_GetTxsByAddress_Call) Run ¶ added in v1.11.0
func (_c *TransactionsAPI_GetTxsByAddress_Call) Run(run func(ctx context.Context, protocol string, network string, address string)) *TransactionsAPI_GetTxsByAddress_Call
func (*TransactionsAPI_GetTxsByAddress_Call) RunAndReturn ¶ added in v1.11.0
func (_c *TransactionsAPI_GetTxsByAddress_Call) RunAndReturn(run func(context.Context, string, string, string) ubiquity.ApiGetTxsByAddressRequest) *TransactionsAPI_GetTxsByAddress_Call
type TransactionsAPI_GetTxsExecute_Call ¶ added in v1.10.0
TransactionsAPI_GetTxsExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxsExecute'
func (*TransactionsAPI_GetTxsExecute_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxsExecute_Call) Return(_a0 ubiquity.TxPage, _a1 *http.Response, _a2 error) *TransactionsAPI_GetTxsExecute_Call
func (*TransactionsAPI_GetTxsExecute_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxsExecute_Call) Run(run func(r ubiquity.ApiGetTxsRequest)) *TransactionsAPI_GetTxsExecute_Call
func (*TransactionsAPI_GetTxsExecute_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxsExecute_Call) RunAndReturn(run func(ubiquity.ApiGetTxsRequest) (ubiquity.TxPage, *http.Response, error)) *TransactionsAPI_GetTxsExecute_Call
type TransactionsAPI_GetTxs_Call ¶ added in v1.10.0
TransactionsAPI_GetTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxs'
func (*TransactionsAPI_GetTxs_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxs_Call) Return(_a0 ubiquity.ApiGetTxsRequest) *TransactionsAPI_GetTxs_Call
func (*TransactionsAPI_GetTxs_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxs_Call) Run(run func(ctx context.Context, protocol string, network string)) *TransactionsAPI_GetTxs_Call
func (*TransactionsAPI_GetTxs_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_GetTxs_Call) RunAndReturn(run func(context.Context, string, string) ubiquity.ApiGetTxsRequest) *TransactionsAPI_GetTxs_Call
type TransactionsAPI_GetUTXOByAccountExecute_Call ¶ added in v1.11.0
TransactionsAPI_GetUTXOByAccountExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUTXOByAccountExecute'
func (*TransactionsAPI_GetUTXOByAccountExecute_Call) Return ¶ added in v1.11.0
func (_c *TransactionsAPI_GetUTXOByAccountExecute_Call) Return(_a0 ubiquity.TxOutputs, _a1 *http.Response, _a2 error) *TransactionsAPI_GetUTXOByAccountExecute_Call
func (*TransactionsAPI_GetUTXOByAccountExecute_Call) Run ¶ added in v1.11.0
func (_c *TransactionsAPI_GetUTXOByAccountExecute_Call) Run(run func(r ubiquity.ApiGetUTXOByAccountRequest)) *TransactionsAPI_GetUTXOByAccountExecute_Call
func (*TransactionsAPI_GetUTXOByAccountExecute_Call) RunAndReturn ¶ added in v1.11.0
func (_c *TransactionsAPI_GetUTXOByAccountExecute_Call) RunAndReturn(run func(ubiquity.ApiGetUTXOByAccountRequest) (ubiquity.TxOutputs, *http.Response, error)) *TransactionsAPI_GetUTXOByAccountExecute_Call
type TransactionsAPI_GetUTXOByAccount_Call ¶ added in v1.11.0
TransactionsAPI_GetUTXOByAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUTXOByAccount'
func (*TransactionsAPI_GetUTXOByAccount_Call) Return ¶ added in v1.11.0
func (_c *TransactionsAPI_GetUTXOByAccount_Call) Return(_a0 ubiquity.ApiGetUTXOByAccountRequest) *TransactionsAPI_GetUTXOByAccount_Call
func (*TransactionsAPI_GetUTXOByAccount_Call) Run ¶ added in v1.11.0
func (_c *TransactionsAPI_GetUTXOByAccount_Call) Run(run func(ctx context.Context, protocol string, network string, address string)) *TransactionsAPI_GetUTXOByAccount_Call
func (*TransactionsAPI_GetUTXOByAccount_Call) RunAndReturn ¶ added in v1.11.0
func (_c *TransactionsAPI_GetUTXOByAccount_Call) RunAndReturn(run func(context.Context, string, string, string) ubiquity.ApiGetUTXOByAccountRequest) *TransactionsAPI_GetUTXOByAccount_Call
type TransactionsAPI_TxCreateExecute_Call ¶ added in v1.10.0
TransactionsAPI_TxCreateExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxCreateExecute'
func (*TransactionsAPI_TxCreateExecute_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_TxCreateExecute_Call) Return(_a0 ubiquity.UnsignedTx, _a1 *http.Response, _a2 error) *TransactionsAPI_TxCreateExecute_Call
func (*TransactionsAPI_TxCreateExecute_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_TxCreateExecute_Call) Run(run func(r ubiquity.ApiTxCreateRequest)) *TransactionsAPI_TxCreateExecute_Call
func (*TransactionsAPI_TxCreateExecute_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_TxCreateExecute_Call) RunAndReturn(run func(ubiquity.ApiTxCreateRequest) (ubiquity.UnsignedTx, *http.Response, error)) *TransactionsAPI_TxCreateExecute_Call
type TransactionsAPI_TxCreate_Call ¶ added in v1.10.0
TransactionsAPI_TxCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxCreate'
func (*TransactionsAPI_TxCreate_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_TxCreate_Call) Return(_a0 ubiquity.ApiTxCreateRequest) *TransactionsAPI_TxCreate_Call
func (*TransactionsAPI_TxCreate_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_TxCreate_Call) Run(run func(ctx context.Context, protocol string, network string)) *TransactionsAPI_TxCreate_Call
func (*TransactionsAPI_TxCreate_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_TxCreate_Call) RunAndReturn(run func(context.Context, string, string) ubiquity.ApiTxCreateRequest) *TransactionsAPI_TxCreate_Call
type TransactionsAPI_TxSendExecute_Call ¶ added in v1.10.0
TransactionsAPI_TxSendExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxSendExecute'
func (*TransactionsAPI_TxSendExecute_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_TxSendExecute_Call) Return(_a0 ubiquity.TxReceipt, _a1 *http.Response, _a2 error) *TransactionsAPI_TxSendExecute_Call
func (*TransactionsAPI_TxSendExecute_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_TxSendExecute_Call) Run(run func(r ubiquity.ApiTxSendRequest)) *TransactionsAPI_TxSendExecute_Call
func (*TransactionsAPI_TxSendExecute_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_TxSendExecute_Call) RunAndReturn(run func(ubiquity.ApiTxSendRequest) (ubiquity.TxReceipt, *http.Response, error)) *TransactionsAPI_TxSendExecute_Call
type TransactionsAPI_TxSend_Call ¶ added in v1.10.0
TransactionsAPI_TxSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxSend'
func (*TransactionsAPI_TxSend_Call) Return ¶ added in v1.10.0
func (_c *TransactionsAPI_TxSend_Call) Return(_a0 ubiquity.ApiTxSendRequest) *TransactionsAPI_TxSend_Call
func (*TransactionsAPI_TxSend_Call) Run ¶ added in v1.10.0
func (_c *TransactionsAPI_TxSend_Call) Run(run func(ctx context.Context, protocol string, network string)) *TransactionsAPI_TxSend_Call
func (*TransactionsAPI_TxSend_Call) RunAndReturn ¶ added in v1.10.0
func (_c *TransactionsAPI_TxSend_Call) RunAndReturn(run func(context.Context, string, string) ubiquity.ApiTxSendRequest) *TransactionsAPI_TxSend_Call