Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SeqBatch ¶
type SeqBatch struct {
Number rpc.ArgUint64 `json:"number"`
AccInputHash common.Hash `json:"accInputHash"`
BatchL2Data rpc.ArgBytes `json:"batchL2Data"`
}
SeqBatch structure
type SequencerTracker ¶
type SequencerTracker struct {
// contains filtered or unexported fields
}
SequencerTracker watches the contract for relevant changes to the sequencer
func NewSequencerTracker ¶
func NewSequencerTracker(cfg config.L1Config, ethClient *etherman.Etherman) (*SequencerTracker, error)
NewSequencerTracker creates a new SequencerTracker
func (*SequencerTracker) GetAddr ¶
func (st *SequencerTracker) GetAddr() common.Address
GetAddr returns the last known address of the Sequencer
func (*SequencerTracker) GetUrl ¶
func (st *SequencerTracker) GetUrl() string
GetUrl returns the last known URL of the Sequencer
func (*SequencerTracker) Start ¶
func (st *SequencerTracker) Start()
Start starts the SequencerTracker
Click to show internal directories.
Click to hide internal directories.