Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EthBridgeClient ¶
func NewEthBridgeClient ¶
func (*EthBridgeClient) FilterTxBatchAppendedEvents ¶
func (c *EthBridgeClient) FilterTxBatchAppendedEvents( opts *bind.FilterOpts, ) (*bindings.ISequencerInboxTxBatchAppendedIterator, error)
type L1BridgeClient ¶
type L1BridgeClient interface { TransactionByHash(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error) HeaderByTag(ctx context.Context, tag eth.BlockTag) (*types.Header, error) BlockNumber(ctx context.Context) (uint64, error) FilterTxBatchAppendedEvents(opts *bind.FilterOpts) (*bindings.ISequencerInboxTxBatchAppendedIterator, error) }
TODO: delete this file
type L1Syncer ¶
type L1Syncer struct { Latest *types.Header Finalized *types.Header LatestHeaderBroker *utils.Broker[*types.Header] FinalizedHeaderBroker *utils.Broker[*types.Header] // contains filtered or unexported fields }
func NewL1Syncer ¶
func NewL1Syncer(ctx context.Context, l1Client L1BridgeClient) *L1Syncer
Click to show internal directories.
Click to hide internal directories.