Versions in this module Expand all Collapse all v0 v0.0.1 Dec 19, 2024 Changes in this version + var L2GERManager = common.HexToAddress("0xa40d5f56745a118d0906a34e69aec8c0db1cb8fa") + type RollupMetadata struct + Address common.Address + ChainID uint64 + CreationBlock uint64 + CreationBlockHash common.Hash + CreationParentBlockHash common.Hash + CreationTimestamp uint64 + GasToken common.Address + GenesisRoot common.Hash + Name string + RollupID uint32 + VerifierType rollupmanager.VerifierType + func LoadMetadataFromFile(filePath string) (*RollupMetadata, error) + func LoadMetadataFromL1ByChainID(client *ethclient.Client, rm *rollupmanager.RollupManager, chainID uint64) (*RollupMetadata, error) + func NewRollupMetadata(rollupName string, chainID uint64, rollupAddr common.Address, ...) *RollupMetadata + type RollupPessimisticProofs struct + Contract *polygonpessimisticconsensus.Polygonpessimisticconsensus + func (r *RollupPessimisticProofs) GetBatchL2Data(client bind.ContractBackend) (string, error) + func (r *RollupPessimisticProofs) GetRollupGlobalExitRoot(rm *rollupmanager.RollupManager, client bind.ContractBackend) (common.Hash, error) + func (r *RollupPessimisticProofs) InitContract(ctx context.Context, client bind.ContractBackend) error + type RollupValidium struct + Contract *polygonvalidiumetrog.Polygonvalidiumetrog + func (r *RollupValidium) InitContract(ctx context.Context, client bind.ContractBackend) error