Documentation
¶
Index ¶
- type MockChain
- func (_m *MockChain) Close() error
- func (_m *MockChain) Config() *config.TOMLConfig
- func (_m *MockChain) EXPECT() *MockChain_Expecter
- func (_m *MockChain) FinalizedHead(ctx context.Context) (types.Head, error)
- func (_m *MockChain) GetChainInfo(ctx context.Context) (types.ChainInfo, error)
- func (_m *MockChain) GetChainStatus(ctx context.Context) (types.ChainStatus, error)
- func (_m *MockChain) GetClient() (chain.RPCClient, error)
- func (_m *MockChain) HealthReport() map[string]error
- func (_m *MockChain) ID() string
- func (_m *MockChain) KeyStore() loop.Keystore
- func (_m *MockChain) LatestHead(ctx context.Context) (types.Head, error)
- func (_m *MockChain) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) ([]types.NodeStatus, string, int, error)
- func (_m *MockChain) Name() string
- func (_m *MockChain) Ready() error
- func (_m *MockChain) Replay(ctx context.Context, fromBlock string, args map[string]any) error
- func (_m *MockChain) Start(_a0 context.Context) error
- func (_m *MockChain) Transact(ctx context.Context, from string, to string, amount *big.Int, ...) error
- func (_m *MockChain) TxManager() *txm.StellarTxm
- type MockChain_Close_Call
- type MockChain_Config_Call
- type MockChain_Expecter
- func (_e *MockChain_Expecter) Close() *MockChain_Close_Call
- func (_e *MockChain_Expecter) Config() *MockChain_Config_Call
- func (_e *MockChain_Expecter) FinalizedHead(ctx interface{}) *MockChain_FinalizedHead_Call
- func (_e *MockChain_Expecter) GetChainInfo(ctx interface{}) *MockChain_GetChainInfo_Call
- func (_e *MockChain_Expecter) GetChainStatus(ctx interface{}) *MockChain_GetChainStatus_Call
- func (_e *MockChain_Expecter) GetClient() *MockChain_GetClient_Call
- func (_e *MockChain_Expecter) HealthReport() *MockChain_HealthReport_Call
- func (_e *MockChain_Expecter) ID() *MockChain_ID_Call
- func (_e *MockChain_Expecter) KeyStore() *MockChain_KeyStore_Call
- func (_e *MockChain_Expecter) LatestHead(ctx interface{}) *MockChain_LatestHead_Call
- func (_e *MockChain_Expecter) ListNodeStatuses(ctx interface{}, pageSize interface{}, pageToken interface{}) *MockChain_ListNodeStatuses_Call
- func (_e *MockChain_Expecter) Name() *MockChain_Name_Call
- func (_e *MockChain_Expecter) Ready() *MockChain_Ready_Call
- func (_e *MockChain_Expecter) Replay(ctx interface{}, fromBlock interface{}, args interface{}) *MockChain_Replay_Call
- func (_e *MockChain_Expecter) Start(_a0 interface{}) *MockChain_Start_Call
- func (_e *MockChain_Expecter) Transact(ctx interface{}, from interface{}, to interface{}, amount interface{}, ...) *MockChain_Transact_Call
- func (_e *MockChain_Expecter) TxManager() *MockChain_TxManager_Call
- type MockChain_FinalizedHead_Call
- func (_c *MockChain_FinalizedHead_Call) Return(_a0 types.Head, _a1 error) *MockChain_FinalizedHead_Call
- func (_c *MockChain_FinalizedHead_Call) Run(run func(ctx context.Context)) *MockChain_FinalizedHead_Call
- func (_c *MockChain_FinalizedHead_Call) RunAndReturn(run func(context.Context) (types.Head, error)) *MockChain_FinalizedHead_Call
- type MockChain_GetChainInfo_Call
- func (_c *MockChain_GetChainInfo_Call) Return(_a0 types.ChainInfo, _a1 error) *MockChain_GetChainInfo_Call
- func (_c *MockChain_GetChainInfo_Call) Run(run func(ctx context.Context)) *MockChain_GetChainInfo_Call
- func (_c *MockChain_GetChainInfo_Call) RunAndReturn(run func(context.Context) (types.ChainInfo, error)) *MockChain_GetChainInfo_Call
- type MockChain_GetChainStatus_Call
- func (_c *MockChain_GetChainStatus_Call) Return(_a0 types.ChainStatus, _a1 error) *MockChain_GetChainStatus_Call
- func (_c *MockChain_GetChainStatus_Call) Run(run func(ctx context.Context)) *MockChain_GetChainStatus_Call
- func (_c *MockChain_GetChainStatus_Call) RunAndReturn(run func(context.Context) (types.ChainStatus, error)) *MockChain_GetChainStatus_Call
- type MockChain_GetClient_Call
- type MockChain_HealthReport_Call
- type MockChain_ID_Call
- type MockChain_KeyStore_Call
- type MockChain_LatestHead_Call
- func (_c *MockChain_LatestHead_Call) Return(_a0 types.Head, _a1 error) *MockChain_LatestHead_Call
- func (_c *MockChain_LatestHead_Call) Run(run func(ctx context.Context)) *MockChain_LatestHead_Call
- func (_c *MockChain_LatestHead_Call) RunAndReturn(run func(context.Context) (types.Head, error)) *MockChain_LatestHead_Call
- type MockChain_ListNodeStatuses_Call
- func (_c *MockChain_ListNodeStatuses_Call) Return(stats []types.NodeStatus, nextPageToken string, total int, err error) *MockChain_ListNodeStatuses_Call
- func (_c *MockChain_ListNodeStatuses_Call) Run(run func(ctx context.Context, pageSize int32, pageToken string)) *MockChain_ListNodeStatuses_Call
- func (_c *MockChain_ListNodeStatuses_Call) RunAndReturn(...) *MockChain_ListNodeStatuses_Call
- type MockChain_Name_Call
- type MockChain_Ready_Call
- type MockChain_Replay_Call
- func (_c *MockChain_Replay_Call) Return(_a0 error) *MockChain_Replay_Call
- func (_c *MockChain_Replay_Call) Run(run func(ctx context.Context, fromBlock string, args map[string]any)) *MockChain_Replay_Call
- func (_c *MockChain_Replay_Call) RunAndReturn(run func(context.Context, string, map[string]any) error) *MockChain_Replay_Call
- type MockChain_Start_Call
- type MockChain_Transact_Call
- func (_c *MockChain_Transact_Call) Return(_a0 error) *MockChain_Transact_Call
- func (_c *MockChain_Transact_Call) Run(run func(ctx context.Context, from string, to string, amount *big.Int, ...)) *MockChain_Transact_Call
- func (_c *MockChain_Transact_Call) RunAndReturn(run func(context.Context, string, string, *big.Int, bool) error) *MockChain_Transact_Call
- type MockChain_TxManager_Call
- type MockInvoker
- func (_m *MockInvoker) EXPECT() *MockInvoker_Expecter
- func (_m *MockInvoker) GetEvents(ctx context.Context, contractID string, startLedger uint32, topics []string) ([]protocol.EventInfo, error)
- func (_m *MockInvoker) InvokeContract(ctx context.Context, contractID string, functionName string, args []xdr.ScVal) (*xdr.ScVal, error)
- func (_m *MockInvoker) SimulateContract(ctx context.Context, contractID string, functionName string, args []xdr.ScVal) (*xdr.ScVal, error)
- type MockInvoker_Expecter
- func (_e *MockInvoker_Expecter) GetEvents(ctx interface{}, contractID interface{}, startLedger interface{}, ...) *MockInvoker_GetEvents_Call
- func (_e *MockInvoker_Expecter) InvokeContract(ctx interface{}, contractID interface{}, functionName interface{}, ...) *MockInvoker_InvokeContract_Call
- func (_e *MockInvoker_Expecter) SimulateContract(ctx interface{}, contractID interface{}, functionName interface{}, ...) *MockInvoker_SimulateContract_Call
- type MockInvoker_GetEvents_Call
- type MockInvoker_InvokeContract_Call
- func (_c *MockInvoker_InvokeContract_Call) Return(_a0 *xdr.ScVal, _a1 error) *MockInvoker_InvokeContract_Call
- func (_c *MockInvoker_InvokeContract_Call) Run(...) *MockInvoker_InvokeContract_Call
- func (_c *MockInvoker_InvokeContract_Call) RunAndReturn(run func(context.Context, string, string, []xdr.ScVal) (*xdr.ScVal, error)) *MockInvoker_InvokeContract_Call
- type MockInvoker_SimulateContract_Call
- func (_c *MockInvoker_SimulateContract_Call) Return(_a0 *xdr.ScVal, _a1 error) *MockInvoker_SimulateContract_Call
- func (_c *MockInvoker_SimulateContract_Call) Run(...) *MockInvoker_SimulateContract_Call
- func (_c *MockInvoker_SimulateContract_Call) RunAndReturn(run func(context.Context, string, string, []xdr.ScVal) (*xdr.ScVal, error)) *MockInvoker_SimulateContract_Call
- type MockRPCClient
- func (_m *MockRPCClient) Close() error
- func (_m *MockRPCClient) EXPECT() *MockRPCClient_Expecter
- func (_m *MockRPCClient) GetEvents(ctx context.Context, req protocol.GetEventsRequest) (protocol.GetEventsResponse, error)
- func (_m *MockRPCClient) GetFeeStats(ctx context.Context) (protocol.GetFeeStatsResponse, error)
- func (_m *MockRPCClient) GetLatestLedger(ctx context.Context) (protocol.GetLatestLedgerResponse, error)
- func (_m *MockRPCClient) GetLedgerEntries(ctx context.Context, req protocol.GetLedgerEntriesRequest) (protocol.GetLedgerEntriesResponse, error)
- func (_m *MockRPCClient) GetLedgers(ctx context.Context, req protocol.GetLedgersRequest) (protocol.GetLedgersResponse, error)
- func (_m *MockRPCClient) GetTransaction(ctx context.Context, req protocol.GetTransactionRequest) (protocol.GetTransactionResponse, error)
- func (_m *MockRPCClient) SendTransaction(ctx context.Context, req protocol.SendTransactionRequest) (protocol.SendTransactionResponse, error)
- func (_m *MockRPCClient) SimulateTransaction(ctx context.Context, req protocol.SimulateTransactionRequest) (protocol.SimulateTransactionResponse, error)
- type MockRPCClient_Close_Call
- type MockRPCClient_Expecter
- func (_e *MockRPCClient_Expecter) Close() *MockRPCClient_Close_Call
- func (_e *MockRPCClient_Expecter) GetEvents(ctx interface{}, req interface{}) *MockRPCClient_GetEvents_Call
- func (_e *MockRPCClient_Expecter) GetFeeStats(ctx interface{}) *MockRPCClient_GetFeeStats_Call
- func (_e *MockRPCClient_Expecter) GetLatestLedger(ctx interface{}) *MockRPCClient_GetLatestLedger_Call
- func (_e *MockRPCClient_Expecter) GetLedgerEntries(ctx interface{}, req interface{}) *MockRPCClient_GetLedgerEntries_Call
- func (_e *MockRPCClient_Expecter) GetLedgers(ctx interface{}, req interface{}) *MockRPCClient_GetLedgers_Call
- func (_e *MockRPCClient_Expecter) GetTransaction(ctx interface{}, req interface{}) *MockRPCClient_GetTransaction_Call
- func (_e *MockRPCClient_Expecter) SendTransaction(ctx interface{}, req interface{}) *MockRPCClient_SendTransaction_Call
- func (_e *MockRPCClient_Expecter) SimulateTransaction(ctx interface{}, req interface{}) *MockRPCClient_SimulateTransaction_Call
- type MockRPCClient_GetEvents_Call
- func (_c *MockRPCClient_GetEvents_Call) Return(_a0 protocol.GetEventsResponse, _a1 error) *MockRPCClient_GetEvents_Call
- func (_c *MockRPCClient_GetEvents_Call) Run(run func(ctx context.Context, req protocol.GetEventsRequest)) *MockRPCClient_GetEvents_Call
- func (_c *MockRPCClient_GetEvents_Call) RunAndReturn(...) *MockRPCClient_GetEvents_Call
- type MockRPCClient_GetFeeStats_Call
- func (_c *MockRPCClient_GetFeeStats_Call) Return(_a0 protocol.GetFeeStatsResponse, _a1 error) *MockRPCClient_GetFeeStats_Call
- func (_c *MockRPCClient_GetFeeStats_Call) Run(run func(ctx context.Context)) *MockRPCClient_GetFeeStats_Call
- func (_c *MockRPCClient_GetFeeStats_Call) RunAndReturn(run func(context.Context) (protocol.GetFeeStatsResponse, error)) *MockRPCClient_GetFeeStats_Call
- type MockRPCClient_GetLatestLedger_Call
- func (_c *MockRPCClient_GetLatestLedger_Call) Return(_a0 protocol.GetLatestLedgerResponse, _a1 error) *MockRPCClient_GetLatestLedger_Call
- func (_c *MockRPCClient_GetLatestLedger_Call) Run(run func(ctx context.Context)) *MockRPCClient_GetLatestLedger_Call
- func (_c *MockRPCClient_GetLatestLedger_Call) RunAndReturn(run func(context.Context) (protocol.GetLatestLedgerResponse, error)) *MockRPCClient_GetLatestLedger_Call
- type MockRPCClient_GetLedgerEntries_Call
- func (_c *MockRPCClient_GetLedgerEntries_Call) Return(_a0 protocol.GetLedgerEntriesResponse, _a1 error) *MockRPCClient_GetLedgerEntries_Call
- func (_c *MockRPCClient_GetLedgerEntries_Call) Run(run func(ctx context.Context, req protocol.GetLedgerEntriesRequest)) *MockRPCClient_GetLedgerEntries_Call
- func (_c *MockRPCClient_GetLedgerEntries_Call) RunAndReturn(...) *MockRPCClient_GetLedgerEntries_Call
- type MockRPCClient_GetLedgers_Call
- func (_c *MockRPCClient_GetLedgers_Call) Return(_a0 protocol.GetLedgersResponse, _a1 error) *MockRPCClient_GetLedgers_Call
- func (_c *MockRPCClient_GetLedgers_Call) Run(run func(ctx context.Context, req protocol.GetLedgersRequest)) *MockRPCClient_GetLedgers_Call
- func (_c *MockRPCClient_GetLedgers_Call) RunAndReturn(...) *MockRPCClient_GetLedgers_Call
- type MockRPCClient_GetTransaction_Call
- func (_c *MockRPCClient_GetTransaction_Call) Return(_a0 protocol.GetTransactionResponse, _a1 error) *MockRPCClient_GetTransaction_Call
- func (_c *MockRPCClient_GetTransaction_Call) Run(run func(ctx context.Context, req protocol.GetTransactionRequest)) *MockRPCClient_GetTransaction_Call
- func (_c *MockRPCClient_GetTransaction_Call) RunAndReturn(...) *MockRPCClient_GetTransaction_Call
- type MockRPCClient_SendTransaction_Call
- func (_c *MockRPCClient_SendTransaction_Call) Return(_a0 protocol.SendTransactionResponse, _a1 error) *MockRPCClient_SendTransaction_Call
- func (_c *MockRPCClient_SendTransaction_Call) Run(run func(ctx context.Context, req protocol.SendTransactionRequest)) *MockRPCClient_SendTransaction_Call
- func (_c *MockRPCClient_SendTransaction_Call) RunAndReturn(...) *MockRPCClient_SendTransaction_Call
- type MockRPCClient_SimulateTransaction_Call
- func (_c *MockRPCClient_SimulateTransaction_Call) Return(_a0 protocol.SimulateTransactionResponse, _a1 error) *MockRPCClient_SimulateTransaction_Call
- func (_c *MockRPCClient_SimulateTransaction_Call) Run(run func(ctx context.Context, req protocol.SimulateTransactionRequest)) *MockRPCClient_SimulateTransaction_Call
- func (_c *MockRPCClient_SimulateTransaction_Call) RunAndReturn(...) *MockRPCClient_SimulateTransaction_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChain ¶
MockChain is an autogenerated mock type for the Chain type
func NewMockChain ¶
NewMockChain creates a new instance of MockChain. 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 (*MockChain) Config ¶
func (_m *MockChain) Config() *config.TOMLConfig
Config provides a mock function with no fields
func (*MockChain) EXPECT ¶
func (_m *MockChain) EXPECT() *MockChain_Expecter
func (*MockChain) FinalizedHead ¶
FinalizedHead provides a mock function with given fields: ctx
func (*MockChain) GetChainInfo ¶
GetChainInfo provides a mock function with given fields: ctx
func (*MockChain) GetChainStatus ¶
GetChainStatus provides a mock function with given fields: ctx
func (*MockChain) HealthReport ¶
HealthReport provides a mock function with no fields
func (*MockChain) LatestHead ¶
LatestHead provides a mock function with given fields: ctx
func (*MockChain) ListNodeStatuses ¶
func (_m *MockChain) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) ([]types.NodeStatus, string, int, error)
ListNodeStatuses provides a mock function with given fields: ctx, pageSize, pageToken
func (*MockChain) Transact ¶
func (_m *MockChain) Transact(ctx context.Context, from string, to string, amount *big.Int, balanceCheck bool) error
Transact provides a mock function with given fields: ctx, from, to, amount, balanceCheck
func (*MockChain) TxManager ¶
func (_m *MockChain) TxManager() *txm.StellarTxm
TxManager provides a mock function with no fields
type MockChain_Close_Call ¶
MockChain_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockChain_Close_Call) Return ¶
func (_c *MockChain_Close_Call) Return(_a0 error) *MockChain_Close_Call
func (*MockChain_Close_Call) Run ¶
func (_c *MockChain_Close_Call) Run(run func()) *MockChain_Close_Call
func (*MockChain_Close_Call) RunAndReturn ¶
func (_c *MockChain_Close_Call) RunAndReturn(run func() error) *MockChain_Close_Call
type MockChain_Config_Call ¶
MockChain_Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Config'
func (*MockChain_Config_Call) Return ¶
func (_c *MockChain_Config_Call) Return(_a0 *config.TOMLConfig) *MockChain_Config_Call
func (*MockChain_Config_Call) Run ¶
func (_c *MockChain_Config_Call) Run(run func()) *MockChain_Config_Call
func (*MockChain_Config_Call) RunAndReturn ¶
func (_c *MockChain_Config_Call) RunAndReturn(run func() *config.TOMLConfig) *MockChain_Config_Call
type MockChain_Expecter ¶
type MockChain_Expecter struct {
// contains filtered or unexported fields
}
func (*MockChain_Expecter) Close ¶
func (_e *MockChain_Expecter) Close() *MockChain_Close_Call
Close is a helper method to define mock.On call
func (*MockChain_Expecter) Config ¶
func (_e *MockChain_Expecter) Config() *MockChain_Config_Call
Config is a helper method to define mock.On call
func (*MockChain_Expecter) FinalizedHead ¶
func (_e *MockChain_Expecter) FinalizedHead(ctx interface{}) *MockChain_FinalizedHead_Call
FinalizedHead is a helper method to define mock.On call
- ctx context.Context
func (*MockChain_Expecter) GetChainInfo ¶
func (_e *MockChain_Expecter) GetChainInfo(ctx interface{}) *MockChain_GetChainInfo_Call
GetChainInfo is a helper method to define mock.On call
- ctx context.Context
func (*MockChain_Expecter) GetChainStatus ¶
func (_e *MockChain_Expecter) GetChainStatus(ctx interface{}) *MockChain_GetChainStatus_Call
GetChainStatus is a helper method to define mock.On call
- ctx context.Context
func (*MockChain_Expecter) GetClient ¶
func (_e *MockChain_Expecter) GetClient() *MockChain_GetClient_Call
GetClient is a helper method to define mock.On call
func (*MockChain_Expecter) HealthReport ¶
func (_e *MockChain_Expecter) HealthReport() *MockChain_HealthReport_Call
HealthReport is a helper method to define mock.On call
func (*MockChain_Expecter) ID ¶
func (_e *MockChain_Expecter) ID() *MockChain_ID_Call
ID is a helper method to define mock.On call
func (*MockChain_Expecter) KeyStore ¶
func (_e *MockChain_Expecter) KeyStore() *MockChain_KeyStore_Call
KeyStore is a helper method to define mock.On call
func (*MockChain_Expecter) LatestHead ¶
func (_e *MockChain_Expecter) LatestHead(ctx interface{}) *MockChain_LatestHead_Call
LatestHead is a helper method to define mock.On call
- ctx context.Context
func (*MockChain_Expecter) ListNodeStatuses ¶
func (_e *MockChain_Expecter) ListNodeStatuses(ctx interface{}, pageSize interface{}, pageToken interface{}) *MockChain_ListNodeStatuses_Call
ListNodeStatuses is a helper method to define mock.On call
- ctx context.Context
- pageSize int32
- pageToken string
func (*MockChain_Expecter) Name ¶
func (_e *MockChain_Expecter) Name() *MockChain_Name_Call
Name is a helper method to define mock.On call
func (*MockChain_Expecter) Ready ¶
func (_e *MockChain_Expecter) Ready() *MockChain_Ready_Call
Ready is a helper method to define mock.On call
func (*MockChain_Expecter) Replay ¶
func (_e *MockChain_Expecter) Replay(ctx interface{}, fromBlock interface{}, args interface{}) *MockChain_Replay_Call
Replay is a helper method to define mock.On call
- ctx context.Context
- fromBlock string
- args map[string]any
func (*MockChain_Expecter) Start ¶
func (_e *MockChain_Expecter) Start(_a0 interface{}) *MockChain_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
func (*MockChain_Expecter) Transact ¶
func (_e *MockChain_Expecter) Transact(ctx interface{}, from interface{}, to interface{}, amount interface{}, balanceCheck interface{}) *MockChain_Transact_Call
Transact is a helper method to define mock.On call
- ctx context.Context
- from string
- to string
- amount *big.Int
- balanceCheck bool
func (*MockChain_Expecter) TxManager ¶
func (_e *MockChain_Expecter) TxManager() *MockChain_TxManager_Call
TxManager is a helper method to define mock.On call
type MockChain_FinalizedHead_Call ¶
MockChain_FinalizedHead_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalizedHead'
func (*MockChain_FinalizedHead_Call) Return ¶
func (_c *MockChain_FinalizedHead_Call) Return(_a0 types.Head, _a1 error) *MockChain_FinalizedHead_Call
func (*MockChain_FinalizedHead_Call) Run ¶
func (_c *MockChain_FinalizedHead_Call) Run(run func(ctx context.Context)) *MockChain_FinalizedHead_Call
func (*MockChain_FinalizedHead_Call) RunAndReturn ¶
func (_c *MockChain_FinalizedHead_Call) RunAndReturn(run func(context.Context) (types.Head, error)) *MockChain_FinalizedHead_Call
type MockChain_GetChainInfo_Call ¶
MockChain_GetChainInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChainInfo'
func (*MockChain_GetChainInfo_Call) Return ¶
func (_c *MockChain_GetChainInfo_Call) Return(_a0 types.ChainInfo, _a1 error) *MockChain_GetChainInfo_Call
func (*MockChain_GetChainInfo_Call) Run ¶
func (_c *MockChain_GetChainInfo_Call) Run(run func(ctx context.Context)) *MockChain_GetChainInfo_Call
func (*MockChain_GetChainInfo_Call) RunAndReturn ¶
func (_c *MockChain_GetChainInfo_Call) RunAndReturn(run func(context.Context) (types.ChainInfo, error)) *MockChain_GetChainInfo_Call
type MockChain_GetChainStatus_Call ¶
MockChain_GetChainStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChainStatus'
func (*MockChain_GetChainStatus_Call) Return ¶
func (_c *MockChain_GetChainStatus_Call) Return(_a0 types.ChainStatus, _a1 error) *MockChain_GetChainStatus_Call
func (*MockChain_GetChainStatus_Call) Run ¶
func (_c *MockChain_GetChainStatus_Call) Run(run func(ctx context.Context)) *MockChain_GetChainStatus_Call
func (*MockChain_GetChainStatus_Call) RunAndReturn ¶
func (_c *MockChain_GetChainStatus_Call) RunAndReturn(run func(context.Context) (types.ChainStatus, error)) *MockChain_GetChainStatus_Call
type MockChain_GetClient_Call ¶
MockChain_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'
func (*MockChain_GetClient_Call) Return ¶
func (_c *MockChain_GetClient_Call) Return(_a0 chain.RPCClient, _a1 error) *MockChain_GetClient_Call
func (*MockChain_GetClient_Call) Run ¶
func (_c *MockChain_GetClient_Call) Run(run func()) *MockChain_GetClient_Call
func (*MockChain_GetClient_Call) RunAndReturn ¶
func (_c *MockChain_GetClient_Call) RunAndReturn(run func() (chain.RPCClient, error)) *MockChain_GetClient_Call
type MockChain_HealthReport_Call ¶
MockChain_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'
func (*MockChain_HealthReport_Call) Return ¶
func (_c *MockChain_HealthReport_Call) Return(_a0 map[string]error) *MockChain_HealthReport_Call
func (*MockChain_HealthReport_Call) Run ¶
func (_c *MockChain_HealthReport_Call) Run(run func()) *MockChain_HealthReport_Call
func (*MockChain_HealthReport_Call) RunAndReturn ¶
func (_c *MockChain_HealthReport_Call) RunAndReturn(run func() map[string]error) *MockChain_HealthReport_Call
type MockChain_ID_Call ¶
MockChain_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
func (*MockChain_ID_Call) Return ¶
func (_c *MockChain_ID_Call) Return(_a0 string) *MockChain_ID_Call
func (*MockChain_ID_Call) Run ¶
func (_c *MockChain_ID_Call) Run(run func()) *MockChain_ID_Call
func (*MockChain_ID_Call) RunAndReturn ¶
func (_c *MockChain_ID_Call) RunAndReturn(run func() string) *MockChain_ID_Call
type MockChain_KeyStore_Call ¶
MockChain_KeyStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'KeyStore'
func (*MockChain_KeyStore_Call) Return ¶
func (_c *MockChain_KeyStore_Call) Return(_a0 loop.Keystore) *MockChain_KeyStore_Call
func (*MockChain_KeyStore_Call) Run ¶
func (_c *MockChain_KeyStore_Call) Run(run func()) *MockChain_KeyStore_Call
func (*MockChain_KeyStore_Call) RunAndReturn ¶
func (_c *MockChain_KeyStore_Call) RunAndReturn(run func() loop.Keystore) *MockChain_KeyStore_Call
type MockChain_LatestHead_Call ¶
MockChain_LatestHead_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestHead'
func (*MockChain_LatestHead_Call) Return ¶
func (_c *MockChain_LatestHead_Call) Return(_a0 types.Head, _a1 error) *MockChain_LatestHead_Call
func (*MockChain_LatestHead_Call) Run ¶
func (_c *MockChain_LatestHead_Call) Run(run func(ctx context.Context)) *MockChain_LatestHead_Call
func (*MockChain_LatestHead_Call) RunAndReturn ¶
func (_c *MockChain_LatestHead_Call) RunAndReturn(run func(context.Context) (types.Head, error)) *MockChain_LatestHead_Call
type MockChain_ListNodeStatuses_Call ¶
MockChain_ListNodeStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodeStatuses'
func (*MockChain_ListNodeStatuses_Call) Return ¶
func (_c *MockChain_ListNodeStatuses_Call) Return(stats []types.NodeStatus, nextPageToken string, total int, err error) *MockChain_ListNodeStatuses_Call
func (*MockChain_ListNodeStatuses_Call) Run ¶
func (_c *MockChain_ListNodeStatuses_Call) Run(run func(ctx context.Context, pageSize int32, pageToken string)) *MockChain_ListNodeStatuses_Call
func (*MockChain_ListNodeStatuses_Call) RunAndReturn ¶
func (_c *MockChain_ListNodeStatuses_Call) RunAndReturn(run func(context.Context, int32, string) ([]types.NodeStatus, string, int, error)) *MockChain_ListNodeStatuses_Call
type MockChain_Name_Call ¶
MockChain_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*MockChain_Name_Call) Return ¶
func (_c *MockChain_Name_Call) Return(_a0 string) *MockChain_Name_Call
func (*MockChain_Name_Call) Run ¶
func (_c *MockChain_Name_Call) Run(run func()) *MockChain_Name_Call
func (*MockChain_Name_Call) RunAndReturn ¶
func (_c *MockChain_Name_Call) RunAndReturn(run func() string) *MockChain_Name_Call
type MockChain_Ready_Call ¶
MockChain_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*MockChain_Ready_Call) Return ¶
func (_c *MockChain_Ready_Call) Return(_a0 error) *MockChain_Ready_Call
func (*MockChain_Ready_Call) Run ¶
func (_c *MockChain_Ready_Call) Run(run func()) *MockChain_Ready_Call
func (*MockChain_Ready_Call) RunAndReturn ¶
func (_c *MockChain_Ready_Call) RunAndReturn(run func() error) *MockChain_Ready_Call
type MockChain_Replay_Call ¶
MockChain_Replay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Replay'
func (*MockChain_Replay_Call) Return ¶
func (_c *MockChain_Replay_Call) Return(_a0 error) *MockChain_Replay_Call
func (*MockChain_Replay_Call) Run ¶
func (_c *MockChain_Replay_Call) Run(run func(ctx context.Context, fromBlock string, args map[string]any)) *MockChain_Replay_Call
func (*MockChain_Replay_Call) RunAndReturn ¶
func (_c *MockChain_Replay_Call) RunAndReturn(run func(context.Context, string, map[string]any) error) *MockChain_Replay_Call
type MockChain_Start_Call ¶
MockChain_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockChain_Start_Call) Return ¶
func (_c *MockChain_Start_Call) Return(_a0 error) *MockChain_Start_Call
func (*MockChain_Start_Call) Run ¶
func (_c *MockChain_Start_Call) Run(run func(_a0 context.Context)) *MockChain_Start_Call
func (*MockChain_Start_Call) RunAndReturn ¶
func (_c *MockChain_Start_Call) RunAndReturn(run func(context.Context) error) *MockChain_Start_Call
type MockChain_Transact_Call ¶
MockChain_Transact_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transact'
func (*MockChain_Transact_Call) Return ¶
func (_c *MockChain_Transact_Call) Return(_a0 error) *MockChain_Transact_Call
func (*MockChain_Transact_Call) Run ¶
func (_c *MockChain_Transact_Call) Run(run func(ctx context.Context, from string, to string, amount *big.Int, balanceCheck bool)) *MockChain_Transact_Call
func (*MockChain_Transact_Call) RunAndReturn ¶
func (_c *MockChain_Transact_Call) RunAndReturn(run func(context.Context, string, string, *big.Int, bool) error) *MockChain_Transact_Call
type MockChain_TxManager_Call ¶
MockChain_TxManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxManager'
func (*MockChain_TxManager_Call) Return ¶
func (_c *MockChain_TxManager_Call) Return(_a0 *txm.StellarTxm) *MockChain_TxManager_Call
func (*MockChain_TxManager_Call) Run ¶
func (_c *MockChain_TxManager_Call) Run(run func()) *MockChain_TxManager_Call
func (*MockChain_TxManager_Call) RunAndReturn ¶
func (_c *MockChain_TxManager_Call) RunAndReturn(run func() *txm.StellarTxm) *MockChain_TxManager_Call
type MockInvoker ¶
MockInvoker is an autogenerated mock type for the Invoker type
func NewMockInvoker ¶
func NewMockInvoker(t interface {
mock.TestingT
Cleanup(func())
}) *MockInvoker
NewMockInvoker creates a new instance of MockInvoker. 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 (*MockInvoker) EXPECT ¶
func (_m *MockInvoker) EXPECT() *MockInvoker_Expecter
func (*MockInvoker) GetEvents ¶
func (_m *MockInvoker) GetEvents(ctx context.Context, contractID string, startLedger uint32, topics []string) ([]protocol.EventInfo, error)
GetEvents provides a mock function with given fields: ctx, contractID, startLedger, topics
type MockInvoker_Expecter ¶
type MockInvoker_Expecter struct {
// contains filtered or unexported fields
}
func (*MockInvoker_Expecter) GetEvents ¶
func (_e *MockInvoker_Expecter) GetEvents(ctx interface{}, contractID interface{}, startLedger interface{}, topics interface{}) *MockInvoker_GetEvents_Call
GetEvents is a helper method to define mock.On call
- ctx context.Context
- contractID string
- startLedger uint32
- topics []string
func (*MockInvoker_Expecter) InvokeContract ¶
func (_e *MockInvoker_Expecter) InvokeContract(ctx interface{}, contractID interface{}, functionName interface{}, args interface{}) *MockInvoker_InvokeContract_Call
InvokeContract is a helper method to define mock.On call
- ctx context.Context
- contractID string
- functionName string
- args []xdr.ScVal
func (*MockInvoker_Expecter) SimulateContract ¶
func (_e *MockInvoker_Expecter) SimulateContract(ctx interface{}, contractID interface{}, functionName interface{}, args interface{}) *MockInvoker_SimulateContract_Call
SimulateContract is a helper method to define mock.On call
- ctx context.Context
- contractID string
- functionName string
- args []xdr.ScVal
type MockInvoker_GetEvents_Call ¶
MockInvoker_GetEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEvents'
func (*MockInvoker_GetEvents_Call) Return ¶
func (_c *MockInvoker_GetEvents_Call) Return(_a0 []protocol.EventInfo, _a1 error) *MockInvoker_GetEvents_Call
func (*MockInvoker_GetEvents_Call) Run ¶
func (_c *MockInvoker_GetEvents_Call) Run(run func(ctx context.Context, contractID string, startLedger uint32, topics []string)) *MockInvoker_GetEvents_Call
func (*MockInvoker_GetEvents_Call) RunAndReturn ¶
func (_c *MockInvoker_GetEvents_Call) RunAndReturn(run func(context.Context, string, uint32, []string) ([]protocol.EventInfo, error)) *MockInvoker_GetEvents_Call
type MockInvoker_InvokeContract_Call ¶
MockInvoker_InvokeContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InvokeContract'
func (*MockInvoker_InvokeContract_Call) Return ¶
func (_c *MockInvoker_InvokeContract_Call) Return(_a0 *xdr.ScVal, _a1 error) *MockInvoker_InvokeContract_Call
func (*MockInvoker_InvokeContract_Call) Run ¶
func (_c *MockInvoker_InvokeContract_Call) Run(run func(ctx context.Context, contractID string, functionName string, args []xdr.ScVal)) *MockInvoker_InvokeContract_Call
func (*MockInvoker_InvokeContract_Call) RunAndReturn ¶
type MockInvoker_SimulateContract_Call ¶
MockInvoker_SimulateContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulateContract'
func (*MockInvoker_SimulateContract_Call) Return ¶
func (_c *MockInvoker_SimulateContract_Call) Return(_a0 *xdr.ScVal, _a1 error) *MockInvoker_SimulateContract_Call
func (*MockInvoker_SimulateContract_Call) Run ¶
func (_c *MockInvoker_SimulateContract_Call) Run(run func(ctx context.Context, contractID string, functionName string, args []xdr.ScVal)) *MockInvoker_SimulateContract_Call
func (*MockInvoker_SimulateContract_Call) RunAndReturn ¶
type MockRPCClient ¶
MockRPCClient is an autogenerated mock type for the RPCClient type
func NewMockRPCClient ¶
func NewMockRPCClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockRPCClient
NewMockRPCClient creates a new instance of MockRPCClient. 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 (*MockRPCClient) Close ¶
func (_m *MockRPCClient) Close() error
Close provides a mock function with no fields
func (*MockRPCClient) EXPECT ¶
func (_m *MockRPCClient) EXPECT() *MockRPCClient_Expecter
func (*MockRPCClient) GetEvents ¶
func (_m *MockRPCClient) GetEvents(ctx context.Context, req protocol.GetEventsRequest) (protocol.GetEventsResponse, error)
GetEvents provides a mock function with given fields: ctx, req
func (*MockRPCClient) GetFeeStats ¶
func (_m *MockRPCClient) GetFeeStats(ctx context.Context) (protocol.GetFeeStatsResponse, error)
GetFeeStats provides a mock function with given fields: ctx
func (*MockRPCClient) GetLatestLedger ¶
func (_m *MockRPCClient) GetLatestLedger(ctx context.Context) (protocol.GetLatestLedgerResponse, error)
GetLatestLedger provides a mock function with given fields: ctx
func (*MockRPCClient) GetLedgerEntries ¶
func (_m *MockRPCClient) GetLedgerEntries(ctx context.Context, req protocol.GetLedgerEntriesRequest) (protocol.GetLedgerEntriesResponse, error)
GetLedgerEntries provides a mock function with given fields: ctx, req
func (*MockRPCClient) GetLedgers ¶
func (_m *MockRPCClient) GetLedgers(ctx context.Context, req protocol.GetLedgersRequest) (protocol.GetLedgersResponse, error)
GetLedgers provides a mock function with given fields: ctx, req
func (*MockRPCClient) GetTransaction ¶
func (_m *MockRPCClient) GetTransaction(ctx context.Context, req protocol.GetTransactionRequest) (protocol.GetTransactionResponse, error)
GetTransaction provides a mock function with given fields: ctx, req
func (*MockRPCClient) SendTransaction ¶
func (_m *MockRPCClient) SendTransaction(ctx context.Context, req protocol.SendTransactionRequest) (protocol.SendTransactionResponse, error)
SendTransaction provides a mock function with given fields: ctx, req
func (*MockRPCClient) SimulateTransaction ¶
func (_m *MockRPCClient) SimulateTransaction(ctx context.Context, req protocol.SimulateTransactionRequest) (protocol.SimulateTransactionResponse, error)
SimulateTransaction provides a mock function with given fields: ctx, req
type MockRPCClient_Close_Call ¶
MockRPCClient_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockRPCClient_Close_Call) Return ¶
func (_c *MockRPCClient_Close_Call) Return(_a0 error) *MockRPCClient_Close_Call
func (*MockRPCClient_Close_Call) Run ¶
func (_c *MockRPCClient_Close_Call) Run(run func()) *MockRPCClient_Close_Call
func (*MockRPCClient_Close_Call) RunAndReturn ¶
func (_c *MockRPCClient_Close_Call) RunAndReturn(run func() error) *MockRPCClient_Close_Call
type MockRPCClient_Expecter ¶
type MockRPCClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockRPCClient_Expecter) Close ¶
func (_e *MockRPCClient_Expecter) Close() *MockRPCClient_Close_Call
Close is a helper method to define mock.On call
func (*MockRPCClient_Expecter) GetEvents ¶
func (_e *MockRPCClient_Expecter) GetEvents(ctx interface{}, req interface{}) *MockRPCClient_GetEvents_Call
GetEvents is a helper method to define mock.On call
- ctx context.Context
- req protocol.GetEventsRequest
func (*MockRPCClient_Expecter) GetFeeStats ¶
func (_e *MockRPCClient_Expecter) GetFeeStats(ctx interface{}) *MockRPCClient_GetFeeStats_Call
GetFeeStats is a helper method to define mock.On call
- ctx context.Context
func (*MockRPCClient_Expecter) GetLatestLedger ¶
func (_e *MockRPCClient_Expecter) GetLatestLedger(ctx interface{}) *MockRPCClient_GetLatestLedger_Call
GetLatestLedger is a helper method to define mock.On call
- ctx context.Context
func (*MockRPCClient_Expecter) GetLedgerEntries ¶
func (_e *MockRPCClient_Expecter) GetLedgerEntries(ctx interface{}, req interface{}) *MockRPCClient_GetLedgerEntries_Call
GetLedgerEntries is a helper method to define mock.On call
- ctx context.Context
- req protocol.GetLedgerEntriesRequest
func (*MockRPCClient_Expecter) GetLedgers ¶
func (_e *MockRPCClient_Expecter) GetLedgers(ctx interface{}, req interface{}) *MockRPCClient_GetLedgers_Call
GetLedgers is a helper method to define mock.On call
- ctx context.Context
- req protocol.GetLedgersRequest
func (*MockRPCClient_Expecter) GetTransaction ¶
func (_e *MockRPCClient_Expecter) GetTransaction(ctx interface{}, req interface{}) *MockRPCClient_GetTransaction_Call
GetTransaction is a helper method to define mock.On call
- ctx context.Context
- req protocol.GetTransactionRequest
func (*MockRPCClient_Expecter) SendTransaction ¶
func (_e *MockRPCClient_Expecter) SendTransaction(ctx interface{}, req interface{}) *MockRPCClient_SendTransaction_Call
SendTransaction is a helper method to define mock.On call
- ctx context.Context
- req protocol.SendTransactionRequest
func (*MockRPCClient_Expecter) SimulateTransaction ¶
func (_e *MockRPCClient_Expecter) SimulateTransaction(ctx interface{}, req interface{}) *MockRPCClient_SimulateTransaction_Call
SimulateTransaction is a helper method to define mock.On call
- ctx context.Context
- req protocol.SimulateTransactionRequest
type MockRPCClient_GetEvents_Call ¶
MockRPCClient_GetEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEvents'
func (*MockRPCClient_GetEvents_Call) Return ¶
func (_c *MockRPCClient_GetEvents_Call) Return(_a0 protocol.GetEventsResponse, _a1 error) *MockRPCClient_GetEvents_Call
func (*MockRPCClient_GetEvents_Call) Run ¶
func (_c *MockRPCClient_GetEvents_Call) Run(run func(ctx context.Context, req protocol.GetEventsRequest)) *MockRPCClient_GetEvents_Call
func (*MockRPCClient_GetEvents_Call) RunAndReturn ¶
func (_c *MockRPCClient_GetEvents_Call) RunAndReturn(run func(context.Context, protocol.GetEventsRequest) (protocol.GetEventsResponse, error)) *MockRPCClient_GetEvents_Call
type MockRPCClient_GetFeeStats_Call ¶
MockRPCClient_GetFeeStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFeeStats'
func (*MockRPCClient_GetFeeStats_Call) Return ¶
func (_c *MockRPCClient_GetFeeStats_Call) Return(_a0 protocol.GetFeeStatsResponse, _a1 error) *MockRPCClient_GetFeeStats_Call
func (*MockRPCClient_GetFeeStats_Call) Run ¶
func (_c *MockRPCClient_GetFeeStats_Call) Run(run func(ctx context.Context)) *MockRPCClient_GetFeeStats_Call
func (*MockRPCClient_GetFeeStats_Call) RunAndReturn ¶
func (_c *MockRPCClient_GetFeeStats_Call) RunAndReturn(run func(context.Context) (protocol.GetFeeStatsResponse, error)) *MockRPCClient_GetFeeStats_Call
type MockRPCClient_GetLatestLedger_Call ¶
MockRPCClient_GetLatestLedger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestLedger'
func (*MockRPCClient_GetLatestLedger_Call) Return ¶
func (_c *MockRPCClient_GetLatestLedger_Call) Return(_a0 protocol.GetLatestLedgerResponse, _a1 error) *MockRPCClient_GetLatestLedger_Call
func (*MockRPCClient_GetLatestLedger_Call) Run ¶
func (_c *MockRPCClient_GetLatestLedger_Call) Run(run func(ctx context.Context)) *MockRPCClient_GetLatestLedger_Call
func (*MockRPCClient_GetLatestLedger_Call) RunAndReturn ¶
func (_c *MockRPCClient_GetLatestLedger_Call) RunAndReturn(run func(context.Context) (protocol.GetLatestLedgerResponse, error)) *MockRPCClient_GetLatestLedger_Call
type MockRPCClient_GetLedgerEntries_Call ¶
MockRPCClient_GetLedgerEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLedgerEntries'
func (*MockRPCClient_GetLedgerEntries_Call) Return ¶
func (_c *MockRPCClient_GetLedgerEntries_Call) Return(_a0 protocol.GetLedgerEntriesResponse, _a1 error) *MockRPCClient_GetLedgerEntries_Call
func (*MockRPCClient_GetLedgerEntries_Call) Run ¶
func (_c *MockRPCClient_GetLedgerEntries_Call) Run(run func(ctx context.Context, req protocol.GetLedgerEntriesRequest)) *MockRPCClient_GetLedgerEntries_Call
func (*MockRPCClient_GetLedgerEntries_Call) RunAndReturn ¶
func (_c *MockRPCClient_GetLedgerEntries_Call) RunAndReturn(run func(context.Context, protocol.GetLedgerEntriesRequest) (protocol.GetLedgerEntriesResponse, error)) *MockRPCClient_GetLedgerEntries_Call
type MockRPCClient_GetLedgers_Call ¶
MockRPCClient_GetLedgers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLedgers'
func (*MockRPCClient_GetLedgers_Call) Return ¶
func (_c *MockRPCClient_GetLedgers_Call) Return(_a0 protocol.GetLedgersResponse, _a1 error) *MockRPCClient_GetLedgers_Call
func (*MockRPCClient_GetLedgers_Call) Run ¶
func (_c *MockRPCClient_GetLedgers_Call) Run(run func(ctx context.Context, req protocol.GetLedgersRequest)) *MockRPCClient_GetLedgers_Call
func (*MockRPCClient_GetLedgers_Call) RunAndReturn ¶
func (_c *MockRPCClient_GetLedgers_Call) RunAndReturn(run func(context.Context, protocol.GetLedgersRequest) (protocol.GetLedgersResponse, error)) *MockRPCClient_GetLedgers_Call
type MockRPCClient_GetTransaction_Call ¶
MockRPCClient_GetTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransaction'
func (*MockRPCClient_GetTransaction_Call) Return ¶
func (_c *MockRPCClient_GetTransaction_Call) Return(_a0 protocol.GetTransactionResponse, _a1 error) *MockRPCClient_GetTransaction_Call
func (*MockRPCClient_GetTransaction_Call) Run ¶
func (_c *MockRPCClient_GetTransaction_Call) Run(run func(ctx context.Context, req protocol.GetTransactionRequest)) *MockRPCClient_GetTransaction_Call
func (*MockRPCClient_GetTransaction_Call) RunAndReturn ¶
func (_c *MockRPCClient_GetTransaction_Call) RunAndReturn(run func(context.Context, protocol.GetTransactionRequest) (protocol.GetTransactionResponse, error)) *MockRPCClient_GetTransaction_Call
type MockRPCClient_SendTransaction_Call ¶
MockRPCClient_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'
func (*MockRPCClient_SendTransaction_Call) Return ¶
func (_c *MockRPCClient_SendTransaction_Call) Return(_a0 protocol.SendTransactionResponse, _a1 error) *MockRPCClient_SendTransaction_Call
func (*MockRPCClient_SendTransaction_Call) Run ¶
func (_c *MockRPCClient_SendTransaction_Call) Run(run func(ctx context.Context, req protocol.SendTransactionRequest)) *MockRPCClient_SendTransaction_Call
func (*MockRPCClient_SendTransaction_Call) RunAndReturn ¶
func (_c *MockRPCClient_SendTransaction_Call) RunAndReturn(run func(context.Context, protocol.SendTransactionRequest) (protocol.SendTransactionResponse, error)) *MockRPCClient_SendTransaction_Call
type MockRPCClient_SimulateTransaction_Call ¶
MockRPCClient_SimulateTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulateTransaction'
func (*MockRPCClient_SimulateTransaction_Call) Return ¶
func (_c *MockRPCClient_SimulateTransaction_Call) Return(_a0 protocol.SimulateTransactionResponse, _a1 error) *MockRPCClient_SimulateTransaction_Call
func (*MockRPCClient_SimulateTransaction_Call) Run ¶
func (_c *MockRPCClient_SimulateTransaction_Call) Run(run func(ctx context.Context, req protocol.SimulateTransactionRequest)) *MockRPCClient_SimulateTransaction_Call
func (*MockRPCClient_SimulateTransaction_Call) RunAndReturn ¶
func (_c *MockRPCClient_SimulateTransaction_Call) RunAndReturn(run func(context.Context, protocol.SimulateTransactionRequest) (protocol.SimulateTransactionResponse, error)) *MockRPCClient_SimulateTransaction_Call