Documentation ¶
Index ¶
- type Chain
- func (_m *Chain) Client() eth.Client
- func (_m *Chain) Close() error
- func (_m *Chain) Config() config.ChainScopedConfig
- func (_m *Chain) HeadBroadcaster() types.HeadBroadcaster
- func (_m *Chain) HeadTracker() types.Tracker
- func (_m *Chain) Healthy() error
- func (_m *Chain) ID() *big.Int
- func (_m *Chain) LogBroadcaster() log.Broadcaster
- func (_m *Chain) Logger() logger.Logger
- func (_m *Chain) Ready() error
- func (_m *Chain) Start() error
- func (_m *Chain) TxManager() bulletprooftxmanager.TxManager
- type ChainSet
- func (_m *ChainSet) Add(id *big.Int, config types.ChainCfg) (types.Chain, error)
- func (_m *ChainSet) ChainCount() int
- func (_m *ChainSet) Chains() []evm.Chain
- func (_m *ChainSet) Close() error
- func (_m *ChainSet) Configure(id *big.Int, enabled bool, config types.ChainCfg) (types.Chain, error)
- func (_m *ChainSet) Default() (evm.Chain, error)
- func (_m *ChainSet) Get(id *big.Int) (evm.Chain, error)
- func (_m *ChainSet) Healthy() error
- func (_m *ChainSet) ORM() types.ORM
- func (_m *ChainSet) Ready() error
- func (_m *ChainSet) Remove(id *big.Int) error
- func (_m *ChainSet) Start() error
- type ORM
- func (_m *ORM) Chain(id utils.Big) (types.Chain, error)
- func (_m *ORM) Chains(offset int, limit int) ([]types.Chain, int, error)
- func (_m *ORM) Clear(chainID *big.Int, key string) error
- func (_m *ORM) CreateChain(id utils.Big, config types.ChainCfg) (types.Chain, error)
- func (_m *ORM) CreateNode(data types.NewNode) (types.Node, error)
- func (_m *ORM) DeleteChain(id utils.Big) error
- func (_m *ORM) DeleteNode(id int64) error
- func (_m *ORM) EnabledChainsWithNodes() ([]types.Chain, error)
- func (_m *ORM) Nodes(offset int, limit int) ([]types.Node, int, error)
- func (_m *ORM) NodesForChain(chainID utils.Big, offset int, limit int) ([]types.Node, int, error)
- func (_m *ORM) StoreString(chainID *big.Int, key string, val string) error
- func (_m *ORM) UpdateChain(id utils.Big, enabled bool, config types.ChainCfg) (types.Chain, error)
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 (*Chain) Config ¶
func (_m *Chain) Config() config.ChainScopedConfig
Config provides a mock function with given fields:
func (*Chain) HeadBroadcaster ¶
func (_m *Chain) HeadBroadcaster() types.HeadBroadcaster
HeadBroadcaster provides a mock function with given fields:
func (*Chain) HeadTracker ¶
HeadTracker provides a mock function with given fields:
func (*Chain) LogBroadcaster ¶
func (_m *Chain) LogBroadcaster() log.Broadcaster
LogBroadcaster provides a mock function with given fields:
func (*Chain) TxManager ¶
func (_m *Chain) TxManager() bulletprooftxmanager.TxManager
TxManager provides a mock function with given fields:
type ChainSet ¶
ChainSet is an autogenerated mock type for the ChainSet type
func (*ChainSet) ChainCount ¶
ChainCount provides a mock function with given fields:
func (*ChainSet) Configure ¶
func (_m *ChainSet) Configure(id *big.Int, enabled bool, config types.ChainCfg) (types.Chain, error)
Configure provides a mock function with given fields: id, enabled, config
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func (*ORM) CreateChain ¶
CreateChain provides a mock function with given fields: id, config
func (*ORM) CreateNode ¶
CreateNode provides a mock function with given fields: data
func (*ORM) DeleteChain ¶
DeleteChain provides a mock function with given fields: id
func (*ORM) DeleteNode ¶
DeleteNode provides a mock function with given fields: id
func (*ORM) EnabledChainsWithNodes ¶
EnabledChainsWithNodes provides a mock function with given fields:
func (*ORM) NodesForChain ¶
NodesForChain provides a mock function with given fields: chainID, offset, limit
func (*ORM) StoreString ¶
StoreString provides a mock function with given fields: chainID, key, val