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) GasEstimator() gas.EvmFeeEstimator
- func (_m *Chain) GetChainStatus(ctx context.Context) (types.ChainStatus, error)
- func (_m *Chain) HeadBroadcaster() commontypes.HeadBroadcaster[*evmtypes.Head, common.Hash]
- func (_m *Chain) HeadTracker() commontypes.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 LegacyChainContainer
- func (_m *LegacyChainContainer) ChainNodeConfigs() types.Configs
- 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
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) 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() commontypes.HeadBroadcaster[*evmtypes.Head, common.Hash]
HeadBroadcaster provides a mock function with given fields:
func (*Chain) HeadTracker ¶
func (_m *Chain) HeadTracker() commontypes.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 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) 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: