Documentation ¶
Index ¶
- type L1EventsWatcher
- type L2EventsWatcher
- func (w *L2EventsWatcher) EndBlock(block *yutypes.Block)
- func (w *L2EventsWatcher) FinalizeBlock(block *yutypes.Block)
- func (w *L2EventsWatcher) InitChain(block *yutypes.Block)
- func (w *L2EventsWatcher) StartBlock(block *yutypes.Block)
- func (w *L2EventsWatcher) WatchUpwardMessage(ctx context.Context, block *yutypes.Block, Solidity *evm.Solidity) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type L1EventsWatcher ¶
type L1EventsWatcher struct {
// contains filtered or unexported fields
}
func NewL1EventsWatcher ¶
func NewL1EventsWatcher(ctx context.Context, cfg *evm.GethConfig, ethClient *ethclient.Client, l1toL2Relayer relayer.L1ToL2RelayerInterface) (*L1EventsWatcher, error)
func (*L1EventsWatcher) Close ¶
func (w *L1EventsWatcher) Close()
type L2EventsWatcher ¶
func NewL2EventsWatcher ¶
func NewL2EventsWatcher(cfg *evm.GethConfig, db *gorm.DB, ) *L2EventsWatcher
func (*L2EventsWatcher) EndBlock ¶
func (w *L2EventsWatcher) EndBlock(block *yutypes.Block)
func (*L2EventsWatcher) FinalizeBlock ¶
func (w *L2EventsWatcher) FinalizeBlock(block *yutypes.Block)
func (*L2EventsWatcher) InitChain ¶
func (w *L2EventsWatcher) InitChain(block *yutypes.Block)
func (*L2EventsWatcher) StartBlock ¶
func (w *L2EventsWatcher) StartBlock(block *yutypes.Block)
func (*L2EventsWatcher) WatchUpwardMessage ¶
Click to show internal directories.
Click to hide internal directories.