controller

package
v0.0.0-...-27df293 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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) ChainID

func (w *L1EventsWatcher) ChainID(ctx context.Context) (*big.Int, error)

func (*L1EventsWatcher) Close

func (w *L1EventsWatcher) Close()

func (*L1EventsWatcher) Run

func (w *L1EventsWatcher) Run(ctx context.Context) error

type L2EventsWatcher

type L2EventsWatcher struct {
	*tripod.Tripod
	// contains filtered or unexported fields
}

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

func (w *L2EventsWatcher) WatchUpwardMessage(ctx context.Context, block *yutypes.Block, Solidity *evm.Solidity) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL