Documentation ¶
Index ¶
- type Chain
- func (_m *Chain) BalanceMonitor() monitor.BalanceMonitor
- func (_m *Chain) Client() client.Client
- func (_m *Chain) Close() error
- func (_m *Chain) Config() config.ChainScopedConfig
- func (_m *Chain) EXPECT() *Chain_Expecter
- func (_m *Chain) GasEstimator() gas.EvmFeeEstimator
- func (_m *Chain) GetChainStatus(ctx context.Context) (types.ChainStatus, error)
- func (_m *Chain) HeadBroadcaster() headtracker.HeadBroadcaster[*evmtypes.Head, common.Hash]
- func (_m *Chain) HeadTracker() headtracker.HeadTracker[*evmtypes.Head, common.Hash]
- func (_m *Chain) HealthReport() map[string]error
- func (_m *Chain) ID() *big.Int
- func (_m *Chain) ListNodeStatuses(ctx context.Context, pageSize int32, pageToken string) ([]types.NodeStatus, string, int, error)
- func (_m *Chain) LogBroadcaster() log.Broadcaster
- func (_m *Chain) LogPoller() logpoller.LogPoller
- func (_m *Chain) Logger() logger.Logger
- func (_m *Chain) Name() string
- func (_m *Chain) Ready() error
- func (_m *Chain) Start(_a0 context.Context) error
- func (_m *Chain) Transact(ctx context.Context, from string, to string, amount *big.Int, ...) error
- func (_m *Chain) TxManager() ...
- type Chain_BalanceMonitor_Call
- type Chain_Client_Call
- type Chain_Close_Call
- type Chain_Config_Call
- type Chain_Expecter
- func (_e *Chain_Expecter) BalanceMonitor() *Chain_BalanceMonitor_Call
- func (_e *Chain_Expecter) Client() *Chain_Client_Call
- func (_e *Chain_Expecter) Close() *Chain_Close_Call
- func (_e *Chain_Expecter) Config() *Chain_Config_Call
- func (_e *Chain_Expecter) GasEstimator() *Chain_GasEstimator_Call
- func (_e *Chain_Expecter) GetChainStatus(ctx interface{}) *Chain_GetChainStatus_Call
- func (_e *Chain_Expecter) HeadBroadcaster() *Chain_HeadBroadcaster_Call
- func (_e *Chain_Expecter) HeadTracker() *Chain_HeadTracker_Call
- func (_e *Chain_Expecter) HealthReport() *Chain_HealthReport_Call
- func (_e *Chain_Expecter) ID() *Chain_ID_Call
- func (_e *Chain_Expecter) ListNodeStatuses(ctx interface{}, pageSize interface{}, pageToken interface{}) *Chain_ListNodeStatuses_Call
- func (_e *Chain_Expecter) LogBroadcaster() *Chain_LogBroadcaster_Call
- func (_e *Chain_Expecter) LogPoller() *Chain_LogPoller_Call
- func (_e *Chain_Expecter) Logger() *Chain_Logger_Call
- func (_e *Chain_Expecter) Name() *Chain_Name_Call
- func (_e *Chain_Expecter) Ready() *Chain_Ready_Call
- func (_e *Chain_Expecter) Start(_a0 interface{}) *Chain_Start_Call
- func (_e *Chain_Expecter) Transact(ctx interface{}, from interface{}, to interface{}, amount interface{}, ...) *Chain_Transact_Call
- func (_e *Chain_Expecter) TxManager() *Chain_TxManager_Call
- type Chain_GasEstimator_Call
- type Chain_GetChainStatus_Call
- func (_c *Chain_GetChainStatus_Call) Return(_a0 types.ChainStatus, _a1 error) *Chain_GetChainStatus_Call
- func (_c *Chain_GetChainStatus_Call) Run(run func(ctx context.Context)) *Chain_GetChainStatus_Call
- func (_c *Chain_GetChainStatus_Call) RunAndReturn(run func(context.Context) (types.ChainStatus, error)) *Chain_GetChainStatus_Call
- type Chain_HeadBroadcaster_Call
- func (_c *Chain_HeadBroadcaster_Call) Return(_a0 headtracker.HeadBroadcaster[*evmtypes.Head, common.Hash]) *Chain_HeadBroadcaster_Call
- func (_c *Chain_HeadBroadcaster_Call) Run(run func()) *Chain_HeadBroadcaster_Call
- func (_c *Chain_HeadBroadcaster_Call) RunAndReturn(run func() headtracker.HeadBroadcaster[*evmtypes.Head, common.Hash]) *Chain_HeadBroadcaster_Call
- type Chain_HeadTracker_Call
- func (_c *Chain_HeadTracker_Call) Return(_a0 headtracker.HeadTracker[*evmtypes.Head, common.Hash]) *Chain_HeadTracker_Call
- func (_c *Chain_HeadTracker_Call) Run(run func()) *Chain_HeadTracker_Call
- func (_c *Chain_HeadTracker_Call) RunAndReturn(run func() headtracker.HeadTracker[*evmtypes.Head, common.Hash]) *Chain_HeadTracker_Call
- type Chain_HealthReport_Call
- type Chain_ID_Call
- type Chain_ListNodeStatuses_Call
- func (_c *Chain_ListNodeStatuses_Call) Return(stats []types.NodeStatus, nextPageToken string, total int, err error) *Chain_ListNodeStatuses_Call
- func (_c *Chain_ListNodeStatuses_Call) Run(run func(ctx context.Context, pageSize int32, pageToken string)) *Chain_ListNodeStatuses_Call
- func (_c *Chain_ListNodeStatuses_Call) RunAndReturn(...) *Chain_ListNodeStatuses_Call
- type Chain_LogBroadcaster_Call
- type Chain_LogPoller_Call
- type Chain_Logger_Call
- type Chain_Name_Call
- type Chain_Ready_Call
- type Chain_Start_Call
- type Chain_Transact_Call
- func (_c *Chain_Transact_Call) Return(_a0 error) *Chain_Transact_Call
- func (_c *Chain_Transact_Call) Run(run func(ctx context.Context, from string, to string, amount *big.Int, ...)) *Chain_Transact_Call
- func (_c *Chain_Transact_Call) RunAndReturn(run func(context.Context, string, string, *big.Int, bool) error) *Chain_Transact_Call
- type Chain_TxManager_Call
- type LegacyChainContainer
- func (_m *LegacyChainContainer) ChainNodeConfigs() types.Configs
- func (_m *LegacyChainContainer) EXPECT() *LegacyChainContainer_Expecter
- func (_m *LegacyChainContainer) Get(id string) (legacyevm.Chain, error)
- func (_m *LegacyChainContainer) Len() int
- func (_m *LegacyChainContainer) List(ids ...string) ([]legacyevm.Chain, error)
- func (_m *LegacyChainContainer) Slice() []legacyevm.Chain
- type LegacyChainContainer_ChainNodeConfigs_Call
- func (_c *LegacyChainContainer_ChainNodeConfigs_Call) Return(_a0 types.Configs) *LegacyChainContainer_ChainNodeConfigs_Call
- func (_c *LegacyChainContainer_ChainNodeConfigs_Call) Run(run func()) *LegacyChainContainer_ChainNodeConfigs_Call
- func (_c *LegacyChainContainer_ChainNodeConfigs_Call) RunAndReturn(run func() types.Configs) *LegacyChainContainer_ChainNodeConfigs_Call
- type LegacyChainContainer_Expecter
- func (_e *LegacyChainContainer_Expecter) ChainNodeConfigs() *LegacyChainContainer_ChainNodeConfigs_Call
- func (_e *LegacyChainContainer_Expecter) Get(id interface{}) *LegacyChainContainer_Get_Call
- func (_e *LegacyChainContainer_Expecter) Len() *LegacyChainContainer_Len_Call
- func (_e *LegacyChainContainer_Expecter) List(ids ...interface{}) *LegacyChainContainer_List_Call
- func (_e *LegacyChainContainer_Expecter) Slice() *LegacyChainContainer_Slice_Call
- type LegacyChainContainer_Get_Call
- func (_c *LegacyChainContainer_Get_Call) Return(_a0 legacyevm.Chain, _a1 error) *LegacyChainContainer_Get_Call
- func (_c *LegacyChainContainer_Get_Call) Run(run func(id string)) *LegacyChainContainer_Get_Call
- func (_c *LegacyChainContainer_Get_Call) RunAndReturn(run func(string) (legacyevm.Chain, error)) *LegacyChainContainer_Get_Call
- type LegacyChainContainer_Len_Call
- type LegacyChainContainer_List_Call
- func (_c *LegacyChainContainer_List_Call) Return(_a0 []legacyevm.Chain, _a1 error) *LegacyChainContainer_List_Call
- func (_c *LegacyChainContainer_List_Call) Run(run func(ids ...string)) *LegacyChainContainer_List_Call
- func (_c *LegacyChainContainer_List_Call) RunAndReturn(run func(...string) ([]legacyevm.Chain, error)) *LegacyChainContainer_List_Call
- type LegacyChainContainer_Slice_Call
- func (_c *LegacyChainContainer_Slice_Call) Return(_a0 []legacyevm.Chain) *LegacyChainContainer_Slice_Call
- func (_c *LegacyChainContainer_Slice_Call) Run(run func()) *LegacyChainContainer_Slice_Call
- func (_c *LegacyChainContainer_Slice_Call) RunAndReturn(run func() []legacyevm.Chain) *LegacyChainContainer_Slice_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
Chain is an autogenerated mock type for the Chain type
func NewChain ¶
NewChain creates a new instance of Chain. 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 (*Chain) BalanceMonitor ¶
func (_m *Chain) BalanceMonitor() monitor.BalanceMonitor
BalanceMonitor provides a mock function with given fields:
func (*Chain) Config ¶
func (_m *Chain) Config() config.ChainScopedConfig
Config provides a mock function with given fields:
func (*Chain) EXPECT ¶ added in v2.15.0
func (_m *Chain) EXPECT() *Chain_Expecter
func (*Chain) GasEstimator ¶
func (_m *Chain) GasEstimator() gas.EvmFeeEstimator
GasEstimator provides a mock function with given fields:
func (*Chain) GetChainStatus ¶
GetChainStatus provides a mock function with given fields: ctx
func (*Chain) HeadBroadcaster ¶
func (_m *Chain) HeadBroadcaster() headtracker.HeadBroadcaster[*evmtypes.Head, common.Hash]
HeadBroadcaster provides a mock function with given fields:
func (*Chain) HeadTracker ¶
func (_m *Chain) HeadTracker() headtracker.HeadTracker[*evmtypes.Head, common.Hash]
HeadTracker provides a mock function with given fields:
func (*Chain) HealthReport ¶
HealthReport provides a mock function with given fields:
func (*Chain) ListNodeStatuses ¶
func (_m *Chain) 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 (*Chain) LogBroadcaster ¶
func (_m *Chain) LogBroadcaster() log.Broadcaster
LogBroadcaster provides a mock function with given fields:
type Chain_BalanceMonitor_Call ¶ added in v2.15.0
Chain_BalanceMonitor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BalanceMonitor'
func (*Chain_BalanceMonitor_Call) Return ¶ added in v2.15.0
func (_c *Chain_BalanceMonitor_Call) Return(_a0 monitor.BalanceMonitor) *Chain_BalanceMonitor_Call
func (*Chain_BalanceMonitor_Call) Run ¶ added in v2.15.0
func (_c *Chain_BalanceMonitor_Call) Run(run func()) *Chain_BalanceMonitor_Call
func (*Chain_BalanceMonitor_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_BalanceMonitor_Call) RunAndReturn(run func() monitor.BalanceMonitor) *Chain_BalanceMonitor_Call
type Chain_Client_Call ¶ added in v2.15.0
Chain_Client_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Client'
func (*Chain_Client_Call) Return ¶ added in v2.15.0
func (_c *Chain_Client_Call) Return(_a0 client.Client) *Chain_Client_Call
func (*Chain_Client_Call) Run ¶ added in v2.15.0
func (_c *Chain_Client_Call) Run(run func()) *Chain_Client_Call
func (*Chain_Client_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_Client_Call) RunAndReturn(run func() client.Client) *Chain_Client_Call
type Chain_Close_Call ¶ added in v2.15.0
Chain_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Chain_Close_Call) Return ¶ added in v2.15.0
func (_c *Chain_Close_Call) Return(_a0 error) *Chain_Close_Call
func (*Chain_Close_Call) Run ¶ added in v2.15.0
func (_c *Chain_Close_Call) Run(run func()) *Chain_Close_Call
func (*Chain_Close_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_Close_Call) RunAndReturn(run func() error) *Chain_Close_Call
type Chain_Config_Call ¶ added in v2.15.0
Chain_Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Config'
func (*Chain_Config_Call) Return ¶ added in v2.15.0
func (_c *Chain_Config_Call) Return(_a0 config.ChainScopedConfig) *Chain_Config_Call
func (*Chain_Config_Call) Run ¶ added in v2.15.0
func (_c *Chain_Config_Call) Run(run func()) *Chain_Config_Call
func (*Chain_Config_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_Config_Call) RunAndReturn(run func() config.ChainScopedConfig) *Chain_Config_Call
type Chain_Expecter ¶ added in v2.15.0
type Chain_Expecter struct {
// contains filtered or unexported fields
}
func (*Chain_Expecter) BalanceMonitor ¶ added in v2.15.0
func (_e *Chain_Expecter) BalanceMonitor() *Chain_BalanceMonitor_Call
BalanceMonitor is a helper method to define mock.On call
func (*Chain_Expecter) Client ¶ added in v2.15.0
func (_e *Chain_Expecter) Client() *Chain_Client_Call
Client is a helper method to define mock.On call
func (*Chain_Expecter) Close ¶ added in v2.15.0
func (_e *Chain_Expecter) Close() *Chain_Close_Call
Close is a helper method to define mock.On call
func (*Chain_Expecter) Config ¶ added in v2.15.0
func (_e *Chain_Expecter) Config() *Chain_Config_Call
Config is a helper method to define mock.On call
func (*Chain_Expecter) GasEstimator ¶ added in v2.15.0
func (_e *Chain_Expecter) GasEstimator() *Chain_GasEstimator_Call
GasEstimator is a helper method to define mock.On call
func (*Chain_Expecter) GetChainStatus ¶ added in v2.15.0
func (_e *Chain_Expecter) GetChainStatus(ctx interface{}) *Chain_GetChainStatus_Call
GetChainStatus is a helper method to define mock.On call
- ctx context.Context
func (*Chain_Expecter) HeadBroadcaster ¶ added in v2.15.0
func (_e *Chain_Expecter) HeadBroadcaster() *Chain_HeadBroadcaster_Call
HeadBroadcaster is a helper method to define mock.On call
func (*Chain_Expecter) HeadTracker ¶ added in v2.15.0
func (_e *Chain_Expecter) HeadTracker() *Chain_HeadTracker_Call
HeadTracker is a helper method to define mock.On call
func (*Chain_Expecter) HealthReport ¶ added in v2.15.0
func (_e *Chain_Expecter) HealthReport() *Chain_HealthReport_Call
HealthReport is a helper method to define mock.On call
func (*Chain_Expecter) ID ¶ added in v2.15.0
func (_e *Chain_Expecter) ID() *Chain_ID_Call
ID is a helper method to define mock.On call
func (*Chain_Expecter) ListNodeStatuses ¶ added in v2.15.0
func (_e *Chain_Expecter) ListNodeStatuses(ctx interface{}, pageSize interface{}, pageToken interface{}) *Chain_ListNodeStatuses_Call
ListNodeStatuses is a helper method to define mock.On call
- ctx context.Context
- pageSize int32
- pageToken string
func (*Chain_Expecter) LogBroadcaster ¶ added in v2.15.0
func (_e *Chain_Expecter) LogBroadcaster() *Chain_LogBroadcaster_Call
LogBroadcaster is a helper method to define mock.On call
func (*Chain_Expecter) LogPoller ¶ added in v2.15.0
func (_e *Chain_Expecter) LogPoller() *Chain_LogPoller_Call
LogPoller is a helper method to define mock.On call
func (*Chain_Expecter) Logger ¶ added in v2.15.0
func (_e *Chain_Expecter) Logger() *Chain_Logger_Call
Logger is a helper method to define mock.On call
func (*Chain_Expecter) Name ¶ added in v2.15.0
func (_e *Chain_Expecter) Name() *Chain_Name_Call
Name is a helper method to define mock.On call
func (*Chain_Expecter) Ready ¶ added in v2.15.0
func (_e *Chain_Expecter) Ready() *Chain_Ready_Call
Ready is a helper method to define mock.On call
func (*Chain_Expecter) Start ¶ added in v2.15.0
func (_e *Chain_Expecter) Start(_a0 interface{}) *Chain_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
func (*Chain_Expecter) Transact ¶ added in v2.15.0
func (_e *Chain_Expecter) Transact(ctx interface{}, from interface{}, to interface{}, amount interface{}, balanceCheck interface{}) *Chain_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 (*Chain_Expecter) TxManager ¶ added in v2.15.0
func (_e *Chain_Expecter) TxManager() *Chain_TxManager_Call
TxManager is a helper method to define mock.On call
type Chain_GasEstimator_Call ¶ added in v2.15.0
Chain_GasEstimator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GasEstimator'
func (*Chain_GasEstimator_Call) Return ¶ added in v2.15.0
func (_c *Chain_GasEstimator_Call) Return(_a0 gas.EvmFeeEstimator) *Chain_GasEstimator_Call
func (*Chain_GasEstimator_Call) Run ¶ added in v2.15.0
func (_c *Chain_GasEstimator_Call) Run(run func()) *Chain_GasEstimator_Call
func (*Chain_GasEstimator_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_GasEstimator_Call) RunAndReturn(run func() gas.EvmFeeEstimator) *Chain_GasEstimator_Call
type Chain_GetChainStatus_Call ¶ added in v2.15.0
Chain_GetChainStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChainStatus'
func (*Chain_GetChainStatus_Call) Return ¶ added in v2.15.0
func (_c *Chain_GetChainStatus_Call) Return(_a0 types.ChainStatus, _a1 error) *Chain_GetChainStatus_Call
func (*Chain_GetChainStatus_Call) Run ¶ added in v2.15.0
func (_c *Chain_GetChainStatus_Call) Run(run func(ctx context.Context)) *Chain_GetChainStatus_Call
func (*Chain_GetChainStatus_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_GetChainStatus_Call) RunAndReturn(run func(context.Context) (types.ChainStatus, error)) *Chain_GetChainStatus_Call
type Chain_HeadBroadcaster_Call ¶ added in v2.15.0
Chain_HeadBroadcaster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadBroadcaster'
func (*Chain_HeadBroadcaster_Call) Return ¶ added in v2.15.0
func (_c *Chain_HeadBroadcaster_Call) Return(_a0 headtracker.HeadBroadcaster[*evmtypes.Head, common.Hash]) *Chain_HeadBroadcaster_Call
func (*Chain_HeadBroadcaster_Call) Run ¶ added in v2.15.0
func (_c *Chain_HeadBroadcaster_Call) Run(run func()) *Chain_HeadBroadcaster_Call
func (*Chain_HeadBroadcaster_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_HeadBroadcaster_Call) RunAndReturn(run func() headtracker.HeadBroadcaster[*evmtypes.Head, common.Hash]) *Chain_HeadBroadcaster_Call
type Chain_HeadTracker_Call ¶ added in v2.15.0
Chain_HeadTracker_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadTracker'
func (*Chain_HeadTracker_Call) Return ¶ added in v2.15.0
func (_c *Chain_HeadTracker_Call) Return(_a0 headtracker.HeadTracker[*evmtypes.Head, common.Hash]) *Chain_HeadTracker_Call
func (*Chain_HeadTracker_Call) Run ¶ added in v2.15.0
func (_c *Chain_HeadTracker_Call) Run(run func()) *Chain_HeadTracker_Call
func (*Chain_HeadTracker_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_HeadTracker_Call) RunAndReturn(run func() headtracker.HeadTracker[*evmtypes.Head, common.Hash]) *Chain_HeadTracker_Call
type Chain_HealthReport_Call ¶ added in v2.15.0
Chain_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'
func (*Chain_HealthReport_Call) Return ¶ added in v2.15.0
func (_c *Chain_HealthReport_Call) Return(_a0 map[string]error) *Chain_HealthReport_Call
func (*Chain_HealthReport_Call) Run ¶ added in v2.15.0
func (_c *Chain_HealthReport_Call) Run(run func()) *Chain_HealthReport_Call
func (*Chain_HealthReport_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_HealthReport_Call) RunAndReturn(run func() map[string]error) *Chain_HealthReport_Call
type Chain_ID_Call ¶ added in v2.15.0
Chain_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'
func (*Chain_ID_Call) Return ¶ added in v2.15.0
func (_c *Chain_ID_Call) Return(_a0 *big.Int) *Chain_ID_Call
func (*Chain_ID_Call) Run ¶ added in v2.15.0
func (_c *Chain_ID_Call) Run(run func()) *Chain_ID_Call
func (*Chain_ID_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_ID_Call) RunAndReturn(run func() *big.Int) *Chain_ID_Call
type Chain_ListNodeStatuses_Call ¶ added in v2.15.0
Chain_ListNodeStatuses_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodeStatuses'
func (*Chain_ListNodeStatuses_Call) Return ¶ added in v2.15.0
func (_c *Chain_ListNodeStatuses_Call) Return(stats []types.NodeStatus, nextPageToken string, total int, err error) *Chain_ListNodeStatuses_Call
func (*Chain_ListNodeStatuses_Call) Run ¶ added in v2.15.0
func (_c *Chain_ListNodeStatuses_Call) Run(run func(ctx context.Context, pageSize int32, pageToken string)) *Chain_ListNodeStatuses_Call
func (*Chain_ListNodeStatuses_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_ListNodeStatuses_Call) RunAndReturn(run func(context.Context, int32, string) ([]types.NodeStatus, string, int, error)) *Chain_ListNodeStatuses_Call
type Chain_LogBroadcaster_Call ¶ added in v2.15.0
Chain_LogBroadcaster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogBroadcaster'
func (*Chain_LogBroadcaster_Call) Return ¶ added in v2.15.0
func (_c *Chain_LogBroadcaster_Call) Return(_a0 log.Broadcaster) *Chain_LogBroadcaster_Call
func (*Chain_LogBroadcaster_Call) Run ¶ added in v2.15.0
func (_c *Chain_LogBroadcaster_Call) Run(run func()) *Chain_LogBroadcaster_Call
func (*Chain_LogBroadcaster_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_LogBroadcaster_Call) RunAndReturn(run func() log.Broadcaster) *Chain_LogBroadcaster_Call
type Chain_LogPoller_Call ¶ added in v2.15.0
Chain_LogPoller_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogPoller'
func (*Chain_LogPoller_Call) Return ¶ added in v2.15.0
func (_c *Chain_LogPoller_Call) Return(_a0 logpoller.LogPoller) *Chain_LogPoller_Call
func (*Chain_LogPoller_Call) Run ¶ added in v2.15.0
func (_c *Chain_LogPoller_Call) Run(run func()) *Chain_LogPoller_Call
func (*Chain_LogPoller_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_LogPoller_Call) RunAndReturn(run func() logpoller.LogPoller) *Chain_LogPoller_Call
type Chain_Logger_Call ¶ added in v2.15.0
Chain_Logger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logger'
func (*Chain_Logger_Call) Return ¶ added in v2.15.0
func (_c *Chain_Logger_Call) Return(_a0 logger.Logger) *Chain_Logger_Call
func (*Chain_Logger_Call) Run ¶ added in v2.15.0
func (_c *Chain_Logger_Call) Run(run func()) *Chain_Logger_Call
func (*Chain_Logger_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_Logger_Call) RunAndReturn(run func() logger.Logger) *Chain_Logger_Call
type Chain_Name_Call ¶ added in v2.15.0
Chain_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*Chain_Name_Call) Return ¶ added in v2.15.0
func (_c *Chain_Name_Call) Return(_a0 string) *Chain_Name_Call
func (*Chain_Name_Call) Run ¶ added in v2.15.0
func (_c *Chain_Name_Call) Run(run func()) *Chain_Name_Call
func (*Chain_Name_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_Name_Call) RunAndReturn(run func() string) *Chain_Name_Call
type Chain_Ready_Call ¶ added in v2.15.0
Chain_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*Chain_Ready_Call) Return ¶ added in v2.15.0
func (_c *Chain_Ready_Call) Return(_a0 error) *Chain_Ready_Call
func (*Chain_Ready_Call) Run ¶ added in v2.15.0
func (_c *Chain_Ready_Call) Run(run func()) *Chain_Ready_Call
func (*Chain_Ready_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_Ready_Call) RunAndReturn(run func() error) *Chain_Ready_Call
type Chain_Start_Call ¶ added in v2.15.0
Chain_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Chain_Start_Call) Return ¶ added in v2.15.0
func (_c *Chain_Start_Call) Return(_a0 error) *Chain_Start_Call
func (*Chain_Start_Call) Run ¶ added in v2.15.0
func (_c *Chain_Start_Call) Run(run func(_a0 context.Context)) *Chain_Start_Call
func (*Chain_Start_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_Start_Call) RunAndReturn(run func(context.Context) error) *Chain_Start_Call
type Chain_Transact_Call ¶ added in v2.15.0
Chain_Transact_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transact'
func (*Chain_Transact_Call) Return ¶ added in v2.15.0
func (_c *Chain_Transact_Call) Return(_a0 error) *Chain_Transact_Call
func (*Chain_Transact_Call) Run ¶ added in v2.15.0
func (_c *Chain_Transact_Call) Run(run func(ctx context.Context, from string, to string, amount *big.Int, balanceCheck bool)) *Chain_Transact_Call
func (*Chain_Transact_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Chain_Transact_Call) RunAndReturn(run func(context.Context, string, string, *big.Int, bool) error) *Chain_Transact_Call
type Chain_TxManager_Call ¶ added in v2.15.0
Chain_TxManager_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxManager'
func (*Chain_TxManager_Call) Run ¶ added in v2.15.0
func (_c *Chain_TxManager_Call) Run(run func()) *Chain_TxManager_Call
type LegacyChainContainer ¶
LegacyChainContainer is an autogenerated mock type for the LegacyChainContainer type
func NewLegacyChainContainer ¶
func NewLegacyChainContainer(t interface { mock.TestingT Cleanup(func()) }) *LegacyChainContainer
NewLegacyChainContainer creates a new instance of LegacyChainContainer. 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 (*LegacyChainContainer) ChainNodeConfigs ¶
func (_m *LegacyChainContainer) ChainNodeConfigs() types.Configs
ChainNodeConfigs provides a mock function with given fields:
func (*LegacyChainContainer) EXPECT ¶ added in v2.15.0
func (_m *LegacyChainContainer) EXPECT() *LegacyChainContainer_Expecter
func (*LegacyChainContainer) Get ¶
func (_m *LegacyChainContainer) Get(id string) (legacyevm.Chain, error)
Get provides a mock function with given fields: id
func (*LegacyChainContainer) Len ¶
func (_m *LegacyChainContainer) Len() int
Len provides a mock function with given fields:
func (*LegacyChainContainer) List ¶
func (_m *LegacyChainContainer) List(ids ...string) ([]legacyevm.Chain, error)
List provides a mock function with given fields: ids
func (*LegacyChainContainer) Slice ¶
func (_m *LegacyChainContainer) Slice() []legacyevm.Chain
Slice provides a mock function with given fields:
type LegacyChainContainer_ChainNodeConfigs_Call ¶ added in v2.15.0
LegacyChainContainer_ChainNodeConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChainNodeConfigs'
func (*LegacyChainContainer_ChainNodeConfigs_Call) Return ¶ added in v2.15.0
func (_c *LegacyChainContainer_ChainNodeConfigs_Call) Return(_a0 types.Configs) *LegacyChainContainer_ChainNodeConfigs_Call
func (*LegacyChainContainer_ChainNodeConfigs_Call) Run ¶ added in v2.15.0
func (_c *LegacyChainContainer_ChainNodeConfigs_Call) Run(run func()) *LegacyChainContainer_ChainNodeConfigs_Call
func (*LegacyChainContainer_ChainNodeConfigs_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LegacyChainContainer_ChainNodeConfigs_Call) RunAndReturn(run func() types.Configs) *LegacyChainContainer_ChainNodeConfigs_Call
type LegacyChainContainer_Expecter ¶ added in v2.15.0
type LegacyChainContainer_Expecter struct {
// contains filtered or unexported fields
}
func (*LegacyChainContainer_Expecter) ChainNodeConfigs ¶ added in v2.15.0
func (_e *LegacyChainContainer_Expecter) ChainNodeConfigs() *LegacyChainContainer_ChainNodeConfigs_Call
ChainNodeConfigs is a helper method to define mock.On call
func (*LegacyChainContainer_Expecter) Get ¶ added in v2.15.0
func (_e *LegacyChainContainer_Expecter) Get(id interface{}) *LegacyChainContainer_Get_Call
Get is a helper method to define mock.On call
- id string
func (*LegacyChainContainer_Expecter) Len ¶ added in v2.15.0
func (_e *LegacyChainContainer_Expecter) Len() *LegacyChainContainer_Len_Call
Len is a helper method to define mock.On call
func (*LegacyChainContainer_Expecter) List ¶ added in v2.15.0
func (_e *LegacyChainContainer_Expecter) List(ids ...interface{}) *LegacyChainContainer_List_Call
List is a helper method to define mock.On call
- ids ...string
func (*LegacyChainContainer_Expecter) Slice ¶ added in v2.15.0
func (_e *LegacyChainContainer_Expecter) Slice() *LegacyChainContainer_Slice_Call
Slice is a helper method to define mock.On call
type LegacyChainContainer_Get_Call ¶ added in v2.15.0
LegacyChainContainer_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*LegacyChainContainer_Get_Call) Return ¶ added in v2.15.0
func (_c *LegacyChainContainer_Get_Call) Return(_a0 legacyevm.Chain, _a1 error) *LegacyChainContainer_Get_Call
func (*LegacyChainContainer_Get_Call) Run ¶ added in v2.15.0
func (_c *LegacyChainContainer_Get_Call) Run(run func(id string)) *LegacyChainContainer_Get_Call
func (*LegacyChainContainer_Get_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LegacyChainContainer_Get_Call) RunAndReturn(run func(string) (legacyevm.Chain, error)) *LegacyChainContainer_Get_Call
type LegacyChainContainer_Len_Call ¶ added in v2.15.0
LegacyChainContainer_Len_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Len'
func (*LegacyChainContainer_Len_Call) Return ¶ added in v2.15.0
func (_c *LegacyChainContainer_Len_Call) Return(_a0 int) *LegacyChainContainer_Len_Call
func (*LegacyChainContainer_Len_Call) Run ¶ added in v2.15.0
func (_c *LegacyChainContainer_Len_Call) Run(run func()) *LegacyChainContainer_Len_Call
func (*LegacyChainContainer_Len_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LegacyChainContainer_Len_Call) RunAndReturn(run func() int) *LegacyChainContainer_Len_Call
type LegacyChainContainer_List_Call ¶ added in v2.15.0
LegacyChainContainer_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*LegacyChainContainer_List_Call) Return ¶ added in v2.15.0
func (_c *LegacyChainContainer_List_Call) Return(_a0 []legacyevm.Chain, _a1 error) *LegacyChainContainer_List_Call
func (*LegacyChainContainer_List_Call) Run ¶ added in v2.15.0
func (_c *LegacyChainContainer_List_Call) Run(run func(ids ...string)) *LegacyChainContainer_List_Call
func (*LegacyChainContainer_List_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LegacyChainContainer_List_Call) RunAndReturn(run func(...string) ([]legacyevm.Chain, error)) *LegacyChainContainer_List_Call
type LegacyChainContainer_Slice_Call ¶ added in v2.15.0
LegacyChainContainer_Slice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Slice'
func (*LegacyChainContainer_Slice_Call) Return ¶ added in v2.15.0
func (_c *LegacyChainContainer_Slice_Call) Return(_a0 []legacyevm.Chain) *LegacyChainContainer_Slice_Call
func (*LegacyChainContainer_Slice_Call) Run ¶ added in v2.15.0
func (_c *LegacyChainContainer_Slice_Call) Run(run func()) *LegacyChainContainer_Slice_Call
func (*LegacyChainContainer_Slice_Call) RunAndReturn ¶ added in v2.15.0
func (_c *LegacyChainContainer_Slice_Call) RunAndReturn(run func() []legacyevm.Chain) *LegacyChainContainer_Slice_Call