Documentation
¶
Index ¶
Constants ¶
const ConsolidationContractAddr = "0x00431F263cE400f4455c2dCf564e53007Ca4bbBb"
const WithdrawalContractAddr = "0x0c15F14308530b7CDB8460094BbB9cC28b9AaaAA"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsolidationIndexer ¶ added in v1.12.1
type ConsolidationIndexer struct {
// contains filtered or unexported fields
}
ConsolidationIndexer is the indexer for the eip-7251 consolidation system contract
func NewConsolidationIndexer ¶ added in v1.12.1
func NewConsolidationIndexer(indexer *IndexerCtx) *ConsolidationIndexer
NewConsolidationIndexer creates a new consolidation system contract indexer
func (*ConsolidationIndexer) GetMatcherHeight ¶ added in v1.12.1
func (ci *ConsolidationIndexer) GetMatcherHeight() uint64
GetMatcherHeight returns the last processed el block number from the transaction matcher
type DepositIndexer ¶
type DepositIndexer struct {
// contains filtered or unexported fields
}
DepositIndexer is the indexer for the deposit contract
func NewDepositIndexer ¶
func NewDepositIndexer(indexer *IndexerCtx) *DepositIndexer
NewDepositIndexer creates a new deposit contract indexer
type IndexerCtx ¶
type IndexerCtx struct {
// contains filtered or unexported fields
}
IndexerCtx is the context for the execution indexer
func NewIndexerCtx ¶
func NewIndexerCtx(logger logrus.FieldLogger, executionPool *execution.Pool, consensusPool *consensus.Pool, beaconIndexer *beacon.Indexer) *IndexerCtx
NewIndexerCtx creates a new IndexerCtx
func (*IndexerCtx) AddClientInfo ¶
func (ictx *IndexerCtx) AddClientInfo(client *execution.Client, priority int, archive bool)
AddClientInfo adds client info to the indexer context
type WithdrawalIndexer ¶ added in v1.12.1
type WithdrawalIndexer struct {
// contains filtered or unexported fields
}
WithdrawalIndexer is the indexer for the eip-7002 consolidation system contract
func NewWithdrawalIndexer ¶ added in v1.12.1
func NewWithdrawalIndexer(indexer *IndexerCtx) *WithdrawalIndexer
NewWithdrawalIndexer creates a new withdrawal contract indexer
func (*WithdrawalIndexer) GetMatcherHeight ¶ added in v1.12.1
func (wi *WithdrawalIndexer) GetMatcherHeight() uint64
GetMatcherHeight returns the last processed el block number from the transaction matcher