Versions in this module Expand all Collapse all v1 v1.1.2 Jul 25, 2023 Changes in this version + const DefaultConnectionTimeout + func BridgesByChainID(chainID *big.Int, client bind.ContractBackend, addrs services.AddressManager) (map[string]Bridge, error) + func FilterStateBatchAppendedWithRetry(ctx context.Context, filterer *legacy_bindings.StateCommitmentChainFilterer, ...) (*legacy_bindings.StateCommitmentChainStateBatchAppendedIterator, error) + func StateCommitmentChainScanner(client bind.ContractFilterer, addrs services.AddressManager) (*legacy_bindings.StateCommitmentChainFilterer, error) + type Bridge interface + Address func() common.Address + GetDepositsByBlockRange func(context.Context, uint64, uint64) (DepositsMap, error) + String func() string + type DepositsMap map[common.Hash][]db.Deposit + type EthBridge struct + func (e *EthBridge) Address() common.Address + func (e *EthBridge) GetDepositsByBlockRange(ctx context.Context, start, end uint64) (DepositsMap, error) + func (e *EthBridge) String() string + type FinalizedWithdrawalsMap map[common.Hash][]db.FinalizedWithdrawal + type InitiatedWithdrawalMap map[common.Hash][]db.Withdrawal + type Portal struct + func NewPortal(addrs services.AddressManager) *Portal + func (p *Portal) Address() common.Address + func (p *Portal) GetFinalizedWithdrawalsByBlockRange(ctx context.Context, start, end uint64) (FinalizedWithdrawalsMap, error) + func (p *Portal) GetProvenWithdrawalsByBlockRange(ctx context.Context, start, end uint64) (ProvenWithdrawalsMap, error) + type ProvenWithdrawalsMap map[common.Hash][]db.ProvenWithdrawal + type StandardBridge struct + func (s *StandardBridge) Address() common.Address + func (s *StandardBridge) GetDepositsByBlockRange(ctx context.Context, start, end uint64) (DepositsMap, error) + func (s *StandardBridge) String() string Other modules containing this package github.com/ethereum-optimism/optimism/indexer