Help us shape the future of Go! Take the 2026 Go Developer Survey

polygonrollupmanager

package
v0.1.121 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PolygonrollupmanagerABI = PolygonrollupmanagerMetaData.ABI

PolygonrollupmanagerABI is the input ABI used to generate the binding from. Deprecated: Use PolygonrollupmanagerMetaData.ABI instead.

View Source
var PolygonrollupmanagerBin = PolygonrollupmanagerMetaData.Bin

PolygonrollupmanagerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PolygonrollupmanagerMetaData.Bin instead.

View Source
var PolygonrollupmanagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIPolygonZkEVMGlobalExitRootV2\",\"name\":\"_globalExitRootManager\",\"type\":\"address\"},{\"internalType\":\"contractIERC20Upgradeable\",\"name\":\"_pol\",\"type\":\"address\"},{\"internalType\":\"contractIPolygonZkEVMBridge\",\"name\":\"_bridgeAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlOnlyCanRenounceRolesForSelf\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AddressDoNotHaveRequiredRole\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AllBatchesMustBeVerified\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AllSequencedMustBeVerified\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AllzkEVMSequencedBatchesMustBeVerified\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BatchFeeOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotUpdateWithUnconsolidatedPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainIDAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainIDOutOfRange\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyVerifySequencesData\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExceedMaxVerifyBatches\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumBatchBelowLastVerifiedBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumBatchDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumSequenceBelowLastVerifiedSequence\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalNumSequenceDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FinalPendingStateNumInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"GlobalExitRootNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HaltTimeoutNotExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitBatchMustMatchCurrentForkID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitNumBatchAboveLastVerifiedBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitNumBatchDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitSequenceMustMatchCurrentForkID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InitSequenceNumDoesNotMatchPendingState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidPessimisticProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeBatchTimeTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeMultiplierBatchFee\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeMultiplierZkGasPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRangeSequenceTimeTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRollup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRollupType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidVerifierType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustSequenceSomeBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MustSequenceSomeBlob\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewAccInputHashDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewPendingStateTimeoutMustBeLower\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewStateRootNotInsidePrime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewTrustedAggregatorTimeoutMustBeLower\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAllowedAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OldAccInputHashDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OldStateRootDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyChainsWithPessimisticProofs\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyNotEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyRollupAdmin\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyStateTransitionChains\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateNotConsolidable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PendingStateNumExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollbackBatchIsNotEndOfSequence\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollbackBatchIsNotValid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupAddressAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupIDNotAscendingOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupMustExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupTypeDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RollupTypeObsolete\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SenderMustBeRollup\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StoredRootMustBeDifferentThanNewRoot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustedAggregatorTimeoutNotExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateNotCompatible\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateToOldRollupTypeID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UpdateToSameRollupTypeID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"zkGasPriceOfRange\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rollupAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"lastVerifiedBatchBeforeUpgrade\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"programVKey\",\"type\":\"bytes32\"}],\"name\":\"AddExistingRollup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupTypeID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"consensusImplementation\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"verifier\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"genesis\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"programVKey\",\"type\":\"bytes32\"}],\"name\":\"AddNewRollupType\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"rollupTypeID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rollupAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"gasTokenAddress\",\"type\":\"address\"}],\"name\":\"CreateNewRollup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EmergencyStateActivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EmergencyStateDeactivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupTypeID\",\"type\":\"uint32\"}],\"name\":\"ObsoleteRollupType\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"lastBatchSequenced\",\"type\":\"uint64\"}],\"name\":\"OnSequenceBatches\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"targetBatch\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"accInputHashToRollback\",\"type\":\"bytes32\"}],\"name\":\"RollbackBatches\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBatchFee\",\"type\":\"uint256\"}],\"name\":\"SetBatchFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTrustedAggregator\",\"type\":\"address\"}],\"name\":\"SetTrustedAggregator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newRollupTypeID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"lastVerifiedBatchBeforeUpgrade\",\"type\":\"uint64\"}],\"name\":\"UpdateRollup\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"numBatch\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"exitRoot\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"aggregator\",\"type\":\"address\"}],\"name\":\"VerifyBatchesTrustedAggregator\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activateEmergencyState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPolygonRollupBase\",\"name\":\"rollupAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"initRoot\",\"type\":\"bytes32\"},{\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"programVKey\",\"type\":\"bytes32\"}],\"name\":\"addExistingRollup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"consensusImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"genesis\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"programVKey\",\"type\":\"bytes32\"}],\"name\":\"addNewRollupType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bridgeAddress\",\"outputs\":[{\"internalType\":\"contractIPolygonZkEVMBridge\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calculateRewardPerBatch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"}],\"name\":\"chainIDToRollupID\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupTypeID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sequencer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"gasTokenAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"sequencerURL\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"networkName\",\"type\":\"string\"}],\"name\":\"createNewRollup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deactivateEmergencyState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBatchFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getForcedBatchFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"selectedGlobalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newPessimisticRoot\",\"type\":\"bytes32\"}],\"name\":\"getInputPessimisticBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"initNumBatch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"finalNewBatch\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"oldStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"}],\"name\":\"getInputSnarkBytes\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"}],\"name\":\"getLastVerifiedBatch\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"batchNum\",\"type\":\"uint64\"}],\"name\":\"getRollupBatchNumToStateRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRollupExitRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"batchNum\",\"type\":\"uint64\"}],\"name\":\"getRollupSequencedBatches\",\"outputs\":[{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"accInputHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"sequencedTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"previousLastBatchSequenced\",\"type\":\"uint64\"}],\"internalType\":\"structLegacyZKEVMStateVariables.SequencedBatchData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"globalExitRootManager\",\"outputs\":[{\"internalType\":\"contractIPolygonZkEVMGlobalExitRootV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isEmergencyState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastAggregationTimestamp\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastDeactivatedEmergencyStateTimestamp\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupTypeID\",\"type\":\"uint32\"}],\"name\":\"obsoleteRollupType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newSequencedBatches\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newAccInputHash\",\"type\":\"bytes32\"}],\"name\":\"onSequenceBatches\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pol\",\"outputs\":[{\"internalType\":\"contractIERC20Upgradeable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIPolygonRollupBase\",\"name\":\"rollupContract\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"targetBatch\",\"type\":\"uint64\"}],\"name\":\"rollbackBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"rollupAddress\",\"type\":\"address\"}],\"name\":\"rollupAddressToID\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rollupCount\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"}],\"name\":\"rollupIDToRollupData\",\"outputs\":[{\"components\":[{\"internalType\":\"contractIPolygonRollupBase\",\"name\":\"rollupContract\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"lastLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"lastBatchSequenced\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastVerifiedBatch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_legacyLastPendingState\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_legacyLastPendingStateConsolidated\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastVerifiedBatchBeforeUpgrade\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rollupTypeID\",\"type\":\"uint64\"},{\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"}],\"internalType\":\"structPolygonRollupManager.RollupDataReturn\",\"name\":\"rollupData\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"}],\"name\":\"rollupIDToRollupDataV2\",\"outputs\":[{\"components\":[{\"internalType\":\"contractIPolygonRollupBase\",\"name\":\"rollupContract\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"chainID\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"lastLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"lastBatchSequenced\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastVerifiedBatch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"lastVerifiedBatchBeforeUpgrade\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"rollupTypeID\",\"type\":\"uint64\"},{\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"lastPessimisticRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"programVKey\",\"type\":\"bytes32\"}],\"internalType\":\"structPolygonRollupManager.RollupDataReturnV2\",\"name\":\"rollupData\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rollupTypeCount\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupTypeID\",\"type\":\"uint32\"}],\"name\":\"rollupTypeMap\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"consensusImplementation\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"verifier\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"forkID\",\"type\":\"uint64\"},{\"internalType\":\"enumIPolygonRollupManager.VerifierType\",\"name\":\"rollupVerifierType\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"obsolete\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"genesis\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"programVKey\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newBatchFee\",\"type\":\"uint256\"}],\"name\":\"setBatchFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSequencedBatches\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalVerifiedBatches\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractITransparentUpgradeableProxy\",\"name\":\"rollupContract\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newRollupTypeID\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"upgradeData\",\"type\":\"bytes\"}],\"name\":\"updateRollup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractITransparentUpgradeableProxy\",\"name\":\"rollupContract\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newRollupTypeID\",\"type\":\"uint32\"}],\"name\":\"updateRollupByRollupAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"pendingStateNum\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"initNumBatch\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"finalNewBatch\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"bytes32[24]\",\"name\":\"proof\",\"type\":\"bytes32[24]\"}],\"name\":\"verifyBatchesTrustedAggregator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"rollupID\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"selectedGlobalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newLocalExitRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"newPessimisticRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"proof\",\"type\":\"bytes\"}],\"name\":\"verifyPessimisticTrustedAggregator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60e060405234801562000010575f80fd5b506040516200504638038062005046833981016040819052620000339162000136565b6001600160a01b0380841660805282811660c052811660a052620000566200005f565b50505062000187565b5f54610100900460ff1615620000cb5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b5f5460ff90811610156200011c575f805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6001600160a01b038116811462000133575f80fd5b50565b5f805f6060848603121562000149575f80fd5b835162000156816200011e565b602085015190935062000169816200011e565b60408501519092506200017c816200011e565b809150509250925092565b60805160a05160c051614e63620001e35f395f8181610818015281816119c40152612c7101525f81816106d4015281816124190152612d3d01525f8181610786015281816109c10152818161267601526127be0152614e635ff3fe608060405234801562000010575f80fd5b5060043610620002c4575f3560e01c806391d148541162000187578063ceee281d11620000df578063dde0ff77116200009f578063e4a4b6a21162000077578063e4a4b6a2146200083a578063f4e926751462000851578063f9c4c2ae1462000862575f80fd5b8063dde0ff7714620007e0578063dfdb8c5e14620007fb578063e46761c41462000812575f80fd5b8063ceee281d1462000758578063d02103ca1462000780578063d5073f6f14620007a8578063d547741f14620007bf578063dbc1697614620007d6575f80fd5b8063a217fddf1162000147578063abcb5198116200011f578063abcb5198146200070f578063c1acbc341462000726578063c4c928c21462000741575f80fd5b8063a217fddf14620006bc578063a2967d9914620006c4578063a3c573eb14620006ce575f80fd5b806391d14854146200063257806397bf07e8146200066d57806399f5634e14620006845780639a908e73146200068e5780639e36c56514620006a5575f80fd5b806336568abe116200023b5780637222020f11620001fb5780637975fcfe11620001d35780637975fcfe14620005cd5780637fb6e76a14620005f35780638fd88cc2146200061b575f80fd5b80637222020f1462000579578063727885e9146200059057806374d9c24414620005a7575f80fd5b806336568abe146200048c578063477fa27014620004a357806355a71ee014620004ac5780636046916914620004ef57806365c0504d14620004f9575f80fd5b80632072f6c511620002875780632072f6c5146200036f578063248a9ca314620003795780632528016914620003ad5780632f2ff15d146200046157806330c27dde1462000478575f80fd5b8063066ec01214620002c857806311f6b28714620002f95780631489ed10146200031057806315064c9614620003295780631796a1ae1462000348575b5f80fd5b608454620002dc906001600160401b031681565b6040516001600160401b0390911681526020015b60405180910390f35b620002dc6200030a366004620037e4565b62000888565b620003276200032136600462003833565b620008b7565b005b606f54620003379060ff1681565b6040519015158152602001620002f0565b607e54620003599063ffffffff1681565b60405163ffffffff9091168152602001620002f0565b6200032762000aa6565b6200039e6200038a366004620038cd565b5f9081526034602052604090206001015490565b604051908152602001620002f0565b6200042d620003be366004620038e5565b60408051606080820183525f808352602080840182905292840181905263ffffffff959095168552608182528285206001600160401b03948516865260030182529382902082519485018352805485526001015480841691850191909152600160401b90049091169082015290565b60408051825181526020808401516001600160401b03908116918301919091529282015190921690820152606001620002f0565b62000327620004723660046200391b565b62000b82565b608754620002dc906001600160401b031681565b620003276200049d3660046200391b565b62000baf565b6086546200039e565b6200039e620004bd366004620038e5565b63ffffffff82165f9081526081602090815260408083206001600160401b038516845260020190915290205492915050565b6200039e62000be9565b620005646200050a366004620037e4565b607f6020525f908152604090208054600182015460028301546003909301546001600160a01b0392831693928216926001600160401b03600160a01b8404169260ff600160e01b8204811693600160e81b90920416919087565b604051620002f0979695949392919062003981565b620003276200058a366004620037e4565b62000c00565b62000327620005a136600462003a83565b62000cfa565b620005be620005b8366004620037e4565b6200118c565b604051620002f0919062003b49565b620005e4620005de36600462003c55565b620012be565b604051620002f0919062003d08565b620003596200060436600462003d1c565b60836020525f908152604090205463ffffffff1681565b620003276200062c36600462003d38565b620012f0565b62000337620006433660046200391b565b5f9182526034602090815260408084206001600160a01b0393909316845291905290205460ff1690565b620003276200067e36600462003d66565b6200168b565b6200039e620019a3565b620002dc6200069f36600462003de8565b62001a84565b620005e4620006b636600462003e13565b62001c41565b6200039e5f81565b6200039e62001c73565b620006f67f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001620002f0565b620003276200072036600462003e4c565b6200203b565b608454620002dc90600160801b90046001600160401b031681565b620003276200075236600462003ee8565b620022b6565b620003596200076936600462003f5f565b60826020525f908152604090205463ffffffff1681565b620006f67f000000000000000000000000000000000000000000000000000000000000000081565b62000327620007b9366004620038cd565b620022f5565b62000327620007d03660046200391b565b62002397565b62000327620023bf565b608454620002dc90600160401b90046001600160401b031681565b620003276200080c36600462003f7d565b6200248b565b620006f67f000000000000000000000000000000000000000000000000000000000000000081565b620003276200084b36600462003fac565b620025dc565b608054620003599063ffffffff1681565b6200087962000873366004620037e4565b62002898565b604051620002f0919062004049565b63ffffffff81165f90815260816020526040812060060154600160401b90046001600160401b03165b92915050565b7f084e94f375e9d647f87f5b2ceffba1e062c70f6009fdbcf80291e803b5c9edd4620008e381620029f8565b6001600160401b038816156200090c5760405163306dfc5760e11b815260040160405180910390fd5b63ffffffff89165f908152608160205260408120906007820154600160801b900460ff1660018111156200094457620009446200394c565b1462000963576040516390db0d0760e01b815260040160405180910390fd5b620009748189898989898962002a04565b6006810180546fffffffffffffffff00000000000000001916600160401b6001600160401b038a16908102919091179091555f9081526002820160205260409020859055600581018690557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166333d6247d620009f862001c73565b6040518263ffffffff1660e01b815260040162000a1791815260200190565b5f604051808303815f87803b15801562000a2f575f80fd5b505af115801562000a42573d5f803e3d5ffd5b5050604080516001600160401b038b1681526020810189905290810189905233925063ffffffff8d1691507fd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d39060600160405180910390a350505050505050505050565b335f9081527f8875b94af5657a2903def9906d67a3f42d8a836d24b5602c00f00fc855339fcd602052604090205460ff1662000b7657608454600160801b90046001600160401b0316158062000b275750608454429062000b1c9062093a8090600160801b90046001600160401b031662004172565b6001600160401b0316115b8062000b575750608754429062000b4c9062093a80906001600160401b031662004172565b6001600160401b0316115b1562000b765760405163692baaad60e11b815260040160405180910390fd5b62000b8062002d3b565b565b5f8281526034602052604090206001015462000b9e81620029f8565b62000baa838362002db5565b505050565b6001600160a01b038116331462000bd957604051630b4ad1cd60e31b815260040160405180910390fd5b62000be5828262002e39565b5050565b5f608654606462000bfb91906200419c565b905090565b7fab66e11c4f712cd06ab11bf9339b48bef39e12d4a22eeef71d2860a0c90482bd62000c2c81620029f8565b63ffffffff8216158062000c4b5750607e5463ffffffff908116908316115b1562000c6a57604051637512e5cb60e01b815260040160405180910390fd5b63ffffffff82165f908152607f60205260409020600180820154600160e81b900460ff161515900362000cb057604051633b8d3d9960e01b815260040160405180910390fd5b60018101805460ff60e81b1916600160e81b17905560405163ffffffff8416907f4710d2ee567ef1ed6eb2f651dde4589524bcf7cebc62147a99b281cc836e7e44905f90a2505050565b7fa0fab074aba36a6fa69f1a83ee86e5abfb8433966eb57efb13dc2fc2f24ddd0862000d2681620029f8565b63ffffffff8816158062000d455750607e5463ffffffff908116908916115b1562000d6457604051637512e5cb60e01b815260040160405180910390fd5b63ffffffff88165f908152607f60205260409020600180820154600160e81b900460ff161515900362000daa57604051633b8d3d9960e01b815260040160405180910390fd5b63ffffffff6001600160401b038916111562000dd957604051634c753f5760e01b815260040160405180910390fd5b6001600160401b0388165f9081526083602052604090205463ffffffff161562000e16576040516337c8fe0960e11b815260040160405180910390fd5b608080545f9190829062000e309063ffffffff16620041b6565b825463ffffffff8281166101009490940a93840293021916919091179091558254604080515f80825260208201928390529394506001600160a01b0390921691309162000e7d90620037c2565b62000e8b93929190620041db565b604051809103905ff08015801562000ea5573d5f803e3d5ffd5b5090508160835f8c6001600160401b03166001600160401b031681526020019081526020015f205f6101000a81548163ffffffff021916908363ffffffff1602179055508160825f836001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a81548163ffffffff021916908363ffffffff1602179055505f60815f8463ffffffff1663ffffffff1681526020019081526020015f20905081815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508360010160149054906101000a90046001600160401b03168160010160146101000a8154816001600160401b0302191690836001600160401b03160217905550836001015f9054906101000a90046001600160a01b0316816001015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a815f0160146101000a8154816001600160401b0302191690836001600160401b031602179055508360020154816002015f806001600160401b031681526020019081526020015f20819055508b63ffffffff168160070160086101000a8154816001600160401b0302191690836001600160401b0316021790555083600101601c9054906101000a900460ff168160070160106101000a81548160ff02191690836001811115620010a557620010a56200394c565b0217905550600384015460098201556040805163ffffffff8e811682526001600160a01b0385811660208401526001600160401b038f16838501528b1660608301529151918516917f194c983456df6701c6a50830b90fe80e72b823411d0d524970c9590dc277a6419181900360800190a2604051633892b81160e11b81526001600160a01b038316906371257022906200114f908d908d9088908e908e908e9060040162004208565b5f604051808303815f87803b15801562001167575f80fd5b505af11580156200117a573d5f803e3d5ffd5b50505050505050505050505050505050565b60408051610180810182525f8082526020808301828152838501838152606085018481526080860185815260a0870186815260c0880187815260e089018881526101008a018981526101208b018a81526101408c018b90526101608c018b905263ffffffff8e168b5260819099529a90982080546001600160a01b038082168c52600160a01b918290046001600160401b0390811690995260018084015491821690985204871690945260058401549092526006830154808616909152600160401b9081900485169091526007820154808516909652850490921690955292939091600160801b900460ff16908111156200128b576200128b6200394c565b90816001811115620012a157620012a16200394c565b905250600881015461014083015260090154610160820152919050565b63ffffffff86165f908152608160205260409020606090620012e590878787878762002ebb565b979650505050505050565b335f9081527ff14f5a8ad59d90593602e905b358229bff5ceea677d5bf0f5a1701793550a9a6602052604090205460ff16158015620013a45750336001600160a01b0316826001600160a01b031663f851a4406040518163ffffffff1660e01b81526004016020604051808303815f875af115801562001372573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200139891906200426a565b6001600160a01b031614155b15620013c357604051630d03687f60e11b815260040160405180910390fd5b6001600160a01b0382165f9081526082602052604081205463ffffffff169081900362001403576040516374a086a360e01b815260040160405180910390fd5b63ffffffff81165f908152608160205260408120906007820154600160801b900460ff1660018111156200143b576200143b6200394c565b146200145a576040516390db0d0760e01b815260040160405180910390fd5b60068101546001600160401b039081169084168111158062001493575060068201546001600160401b03600160401b9091048116908516105b15620014b25760405163cb23ebdf60e01b815260040160405180910390fd5b805b846001600160401b0316816001600160401b03161462001556576001600160401b038082165f908152600385016020526040902060010154600160401b900481169086168110156200151957604051639753965f60e01b815260040160405180910390fd5b6001600160401b039091165f908152600384016020526040812090815560010180546fffffffffffffffffffffffffffffffff19169055620014b4565b60068301805467ffffffffffffffff19166001600160401b03871617905562001580858362004288565b608480545f906200159c9084906001600160401b031662004288565b82546101009290920a6001600160401b0381810219909316918316021790915586165f8181526003860160205260409081902054905163334d6f6760e11b8152600481019290925260248201526001600160a01b038816915063669adece906044015f604051808303815f87803b15801562001616575f80fd5b505af115801562001629573d5f803e3d5ffd5b505050506001600160401b0385165f81815260038501602090815260409182902054915191825263ffffffff8716917f80a6d395a55aed8126079cb8247f0a6848b1440ca2cdca3b4386f250c3529402910160405180910390a3505050505050565b7f3dfe277d2a2c04b75fb2eb3743fa00005ae3678a20c299e65fdf4df76517f68e620016b781620029f8565b6001600160401b0385165f9081526083602052604090205463ffffffff1615620016f4576040516337c8fe0960e11b815260040160405180910390fd5b63ffffffff6001600160401b03861611156200172357604051634c753f5760e01b815260040160405180910390fd5b6001600160a01b0388165f9081526082602052604090205463ffffffff16156200176057604051630d409b9360e41b815260040160405180910390fd5b608080545f919082906200177a9063ffffffff16620041b6565b91906101000a81548163ffffffff021916908363ffffffff160217905590508060835f886001600160401b03166001600160401b031681526020019081526020015f205f6101000a81548163ffffffff021916908363ffffffff1602179055508060825f8b6001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a81548163ffffffff021916908363ffffffff1602179055505f60815f8363ffffffff1663ffffffff1681526020019081526020015f20905089815f015f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550878160010160146101000a8154816001600160401b0302191690836001600160401b0316021790555088816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555086815f0160146101000a8154816001600160401b0302191690836001600160401b03160217905550848160070160106101000a81548160ff021916908360018111156200190457620019046200394c565b021790555060018560018111156200192057620019206200394c565b036200193a5760098101849055600581018690556200194d565b5f80805260028201602052604090208690555b8163ffffffff167fd490df184152edba8455dac3228134939c71f8cb4c8f310c3145dec9037147ac898c8a895f8a6040516200198f96959493929190620042ab565b60405180910390a250505050505050505050565b6040516370a0823160e01b81523060048201525f9081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa15801562001a0a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062001a309190620042f8565b6084549091505f9062001a56906001600160401b03600160401b82048116911662004288565b6001600160401b03169050805f0362001a71575f9250505090565b62001a7d818362004324565b9250505090565b606f545f9060ff161562001aab57604051630bc011ff60e21b815260040160405180910390fd5b335f9081526082602052604081205463ffffffff169081900362001ae2576040516371653c1560e01b815260040160405180910390fd5b836001600160401b03165f0362001b0c57604051632590ccf960e01b815260040160405180910390fd5b63ffffffff81165f908152608160205260408120608480549192879262001b3e9084906001600160401b031662004172565b82546101009290920a6001600160401b0381810219909316918316021790915560068301541690505f62001b73878362004172565b6006840180546001600160401b0383811667ffffffffffffffff199092168217909255604080516060810182528a815242841660208083019182528886168385019081525f86815260038c018352859020935184559151600193909301805492518716600160401b026fffffffffffffffffffffffffffffffff199093169390961692909217179093555190815291925063ffffffff8616917f1d9f30260051d51d70339da239ea7b080021adcaabfa71c9b0ea339a20cf9a25910160405180910390a29695505050505050565b63ffffffff84165f90815260816020526040902060609062001c6890869086868662003012565b90505b949350505050565b6080545f9063ffffffff1680820362001c8d57505f919050565b5f816001600160401b0381111562001ca95762001ca9620039d5565b60405190808252806020026020018201604052801562001cd3578160200160208202803683370190505b5090505f5b8281101562001d435760815f62001cf18360016200433a565b63ffffffff1663ffffffff1681526020019081526020015f206005015482828151811062001d235762001d2362004350565b60209081029190910101528062001d3a8162004364565b91505062001cd8565b505f60205b8360011462001f9b575f62001d5f6002866200437f565b62001d6c60028762004324565b62001d7891906200433a565b90505f816001600160401b0381111562001d965762001d96620039d5565b60405190808252806020026020018201604052801562001dc0578160200160208202803683370190505b5090505f5b8281101562001f475762001ddb60018462004395565b8114801562001df6575062001df26002886200437f565b6001145b1562001e7e578562001e0a8260026200419c565b8151811062001e1d5762001e1d62004350565b60200260200101518560405160200162001e41929190918252602082015260400190565b6040516020818303038152906040528051906020012082828151811062001e6c5762001e6c62004350565b60200260200101818152505062001f32565b8562001e8c8260026200419c565b8151811062001e9f5762001e9f62004350565b60200260200101518682600262001eb791906200419c565b62001ec49060016200433a565b8151811062001ed75762001ed762004350565b602002602001015160405160200162001efa929190918252602082015260400190565b6040516020818303038152906040528051906020012082828151811062001f255762001f2562004350565b6020026020010181815250505b8062001f3e8162004364565b91505062001dc5565b50809450819550838460405160200162001f6b929190918252602082015260400190565b604051602081830303815290604052805190602001209350828062001f9090620043ab565b935050505062001d48565b5f835f8151811062001fb15762001fb162004350565b602002602001015190505f5b828110156200203157604080516020810184905290810185905260600160408051601f19818403018152828252805160209182012090830187905290820186905292506060016040516020818303038152906040528051906020012093508080620020289062004364565b91505062001fbd565b5095945050505050565b7fac75d24dbb35ea80e25fab167da4dea46c1915260426570db84f184891f5f5906200206781620029f8565b607e80545f91908290620020819063ffffffff16620041b6565b91906101000a81548163ffffffff021916908363ffffffff16021790559050600180811115620020b557620020b56200394c565b866001811115620020ca57620020ca6200394c565b03620020f6578415620020f0576040516363d722e760e01b815260040160405180910390fd5b62002116565b821562002116576040516363d722e760e01b815260040160405180910390fd5b6040518060e001604052808a6001600160a01b03168152602001896001600160a01b03168152602001886001600160401b031681526020018760018111156200216357620021636200394c565b81525f602080830182905260408084018a9052606093840188905263ffffffff86168352607f825291829020845181546001600160a01b0391821673ffffffffffffffffffffffffffffffffffffffff199091161782559185015160018281018054958801516001600160401b0316600160a01b026001600160e01b0319909616929094169190911793909317808355938501519093909260ff60e01b1990911690600160e01b9084908111156200221f576200221f6200394c565b02179055506080820151600182018054911515600160e81b0260ff60e81b1990921691909117905560a0820151600282015560c09091015160039091015560405163ffffffff8216907f9eaf2ecbddb14889c9e141a63175c55ac25e0cd7cdea312cdfbd0397976b383a90620022a3908c908c908c908c908c908c908c90620043c3565b60405180910390a2505050505050505050565b7f66156603fe29d13f97c6f3e3dff4ef71919f9aa61c555be0182d954e94221aac620022e281620029f8565b620022ef848484620030f7565b50505050565b7f8cf807f6970720f8e2c208c7c5037595982c7bd9ed93c380d09df743d0dcc3fb6200232181620029f8565b683635c9adc5dea000008211806200233c5750633b9aca0082105b156200235b57604051638586952560e01b815260040160405180910390fd5b60868290556040518281527ffb383653f53ee079978d0c9aff7aeff04a10166ce244cca9c9f9d8d96bed45b29060200160405180910390a15050565b5f82815260346020526040902060010154620023b381620029f8565b62000baa838362002e39565b7f62ba6ba2ffed8cfe316b583325ea41ac6e7ba9e5864d2bc6fabba7ac26d2f0f4620023eb81620029f8565b6087805467ffffffffffffffff1916426001600160401b031617905560408051636de0b4bb60e11b815290517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169163dbc16976916004808301925f92919082900301818387803b15801562002467575f80fd5b505af11580156200247a573d5f803e3d5ffd5b5050505062002488620033e1565b50565b336001600160a01b0316826001600160a01b031663f851a4406040518163ffffffff1660e01b81526004016020604051808303815f875af1158015620024d3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620024f991906200426a565b6001600160a01b031614620025215760405163696072e960e01b815260040160405180910390fd5b6001600160a01b0382165f9081526082602090815260408083205463ffffffff1683526081909152902060068101546001600160401b03808216600160401b9092041614620025835760405163664316a560e11b815260040160405180910390fd5b600781015463ffffffff8316600160401b9091046001600160401b031610620025bf57604051633e37e23360e01b815260040160405180910390fd5b604080515f81526020810190915262000baa9084908490620030f7565b7f084e94f375e9d647f87f5b2ceffba1e062c70f6009fdbcf80291e803b5c9edd46200260881620029f8565b63ffffffff87165f90815260816020526040902060016007820154600160801b900460ff1660018111156200264157620026416200394c565b146200266057604051633a64d97360e01b815260040160405180910390fd5b6040516312bd9b1960e11b8152600481018890527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063257b3632906024016020604051808303815f875af1158015620026c5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620026eb9190620042f8565b5f036200270b576040516373bd668d60e01b815260040160405180910390fd5b5f6200271b89838a8a8a62003012565b6001830154600984015460405163020a49e360e51b81529293506001600160a01b03909116916341493c60916200275b9185908a908a9060040162004426565b5f6040518083038186803b15801562002772575f80fd5b505afa15801562002785573d5f803e3d5ffd5b50506084805467ffffffffffffffff60801b1916600160801b426001600160401b031602179055505060058201879055600882018690557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166333d6247d620027f562001c73565b6040518263ffffffff1660e01b81526004016200281491815260200190565b5f604051808303815f87803b1580156200282c575f80fd5b505af11580156200283f573d5f803e3d5ffd5b5050604080515f80825260208201529081018a905233925063ffffffff8c1691507fd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d39060600160405180910390a3505050505050505050565b620028fd60408051610180810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052610120810182905261014081018290529061016082015290565b63ffffffff82165f9081526081602090815260409182902080546001600160a01b038082168652600160a01b918290046001600160401b039081169487019490945260018084015491821695870195909552048216606085015260058101546080850152600681015480831660a0860152600160401b808204841660c0870152600160801b808304851660e0880152600160c01b9092048416610100870152600783015480851661012088015290810490931661014086015290926101608501929190910460ff1690811115620029d857620029d86200394c565b90816001811115620029ee57620029ee6200394c565b8152505050919050565b62002488813362003439565b5f8062002a2389600601546001600160401b03600160401b9091041690565b60078a01549091506001600160401b03908116908916101562002a595760405163ead1340b60e01b815260040160405180910390fd5b6001600160401b0388165f90815260028a01602052604090205491508162002a94576040516324cbdcc360e11b815260040160405180910390fd5b806001600160401b0316886001600160401b0316111562002ac857604051630f2b74f160e11b815260040160405180910390fd5b806001600160401b0316876001600160401b03161162002afb5760405163b9b18f5760e01b815260040160405180910390fd5b5f62002b0c8a8a8a8a878b62002ebb565b90505f7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000160028360405162002b42919062004473565b602060405180830381855afa15801562002b5e573d5f803e3d5ffd5b5050506040513d601f19601f8201168201806040525081019062002b839190620042f8565b62002b8f91906200437f565b60018c0154604080516020810182528381529051634890ed4560e11b81529293506001600160a01b0390911691639121da8a9162002bd39189919060040162004490565b602060405180830381865afa15801562002bef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062002c159190620044cc565b62002c33576040516309bde33960e01b815260040160405180910390fd5b5f62002c40848b62004288565b905062002c9987826001600160401b031662002c5b620019a3565b62002c6791906200419c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691906200347c565b80608460088282829054906101000a90046001600160401b031662002cbf919062004172565b82546101009290920a6001600160401b038181021990931691831602179091556084805467ffffffffffffffff60801b1916600160801b428416021790558d546040516332c2d15360e01b8152918d166004830152602482018b90523360448301526001600160a01b031691506332c2d153906064016200114f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632072f6c56040518163ffffffff1660e01b81526004015f604051808303815f87803b15801562002d94575f80fd5b505af115801562002da7573d5f803e3d5ffd5b5050505062000b80620034e5565b5f8281526034602090815260408083206001600160a01b038516845290915290205460ff1662000be5575f8281526034602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b5f8281526034602090815260408083206001600160a01b038516845290915290205460ff161562000be5575f8281526034602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160401b038086165f818152600389016020526040808220549388168252902054606092911580159062002ef0575081155b1562002f0f5760405163340c614f60e11b815260040160405180910390fd5b8062002f2e576040516366385b5160e01b815260040160405180910390fd5b62002f398462003541565b62002f57576040516305dae44f60e21b815260040160405180910390fd5b885460018a01546040516bffffffffffffffffffffffff193360601b16602082015260348101889052605481018590527fffffffffffffffff00000000000000000000000000000000000000000000000060c08c811b82166074840152600160a01b94859004811b8216607c84015293909204831b82166084820152608c810187905260ac810184905260cc81018990529189901b1660ec82015260f401604051602081830303815290604052925050509695505050505050565b60605f855f015f9054906101000a90046001600160a01b03166001600160a01b031663ad1edf346040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003067573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200308d9190620042f8565b60058701546008880154604080516020810193909352820152606081018790526001600160e01b031960e08a901b1660808201526084810182905260a4810186905260c4810185905290915060e40160405160208183030381529060405291505095945050505050565b63ffffffff82161580620031165750607e5463ffffffff908116908316115b156200313557604051637512e5cb60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526082602052604081205463ffffffff169081900362003175576040516374a086a360e01b815260040160405180910390fd5b63ffffffff8181165f908152608160205260409020600781015490918516600160401b9091046001600160401b031603620031c357604051634f61d51960e01b815260040160405180910390fd5b63ffffffff84165f908152607f60205260409020600180820154600160e81b900460ff16151590036200320957604051633b8d3d9960e01b815260040160405180910390fd5b600181810154600160e01b900460ff16908111156200322c576200322c6200394c565b6007830154600160801b900460ff1660018111156200324f576200324f6200394c565b146200326e57604051635aa0d5f160e11b815260040160405180910390fd5b60018082018054918401805473ffffffffffffffffffffffffffffffffffffffff1981166001600160a01b03909416938417825591546001600160401b03600160a01b9182900416026001600160e01b031990921690921717905560038101546009830155600782018054600160401b63ffffffff8816026fffffffffffffffff0000000000000000199091161790555f6200330a8462000888565b60078401805467ffffffffffffffff19166001600160401b038316179055825460405163278f794360e11b81529192506001600160a01b0389811692634f1ef286926200335e9216908990600401620044ed565b5f604051808303815f87803b15801562003376575f80fd5b505af115801562003389573d5f803e3d5ffd5b50506040805163ffffffff8a811682526001600160401b0386166020830152881693507ff585e04c05d396901170247783d3e5f0ee9c1df23072985b50af089f5e48b19d92500160405180910390a250505050505050565b606f5460ff166200340557604051635386698160e01b815260040160405180910390fd5b606f805460ff191690556040517f1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3905f90a1565b5f8281526034602090815260408083206001600160a01b038516845290915290205460ff1662000be557604051637615be1f60e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b17905262000baa908490620035ca565b606f5460ff16156200350a57604051630bc011ff60e21b815260040160405180910390fd5b606f805460ff191660011790556040517f2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497905f90a1565b5f67ffffffff000000016001600160401b03831610801562003577575067ffffffff00000001604083901c6001600160401b0316105b801562003598575067ffffffff00000001608083901c6001600160401b0316105b8015620035b0575067ffffffff0000000160c083901c105b15620035be57506001919050565b505f919050565b919050565b5f62003620826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620036a69092919063ffffffff16565b80519091501562000baa5780806020019051810190620036419190620044cc565b62000baa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b606062001c6b84845f85855f80866001600160a01b03168587604051620036ce919062004473565b5f6040518083038185875af1925050503d805f81146200370a576040519150601f19603f3d011682016040523d82523d5f602084013e6200370f565b606091505b5091509150620012e587838387606083156200378f5782515f0362003787576001600160a01b0385163b620037875760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016200369d565b508162001c6b565b62001c6b8383815115620037a65781518083602001fd5b8060405162461bcd60e51b81526004016200369d919062003d08565b61091d806200451183390190565b803563ffffffff81168114620035c5575f80fd5b5f60208284031215620037f5575f80fd5b6200380082620037d0565b9392505050565b80356001600160401b0381168114620035c5575f80fd5b6001600160a01b038116811462002488575f80fd5b5f805f805f805f806103e0808a8c0312156200384d575f80fd5b620038588a620037d0565b98506200386860208b0162003807565b97506200387860408b0162003807565b96506200388860608b0162003807565b955060808a0135945060a08a0135935060c08a0135620038a8816200381e565b92508981018b1015620038b9575f80fd5b5060e0890190509295985092959890939650565b5f60208284031215620038de575f80fd5b5035919050565b5f8060408385031215620038f7575f80fd5b6200390283620037d0565b9150620039126020840162003807565b90509250929050565b5f80604083850312156200392d575f80fd5b82359150602083013562003941816200381e565b809150509250929050565b634e487b7160e01b5f52602160045260245ffd5b600281106200397d57634e487b7160e01b5f52602160045260245ffd5b9052565b6001600160a01b038881168252871660208201526001600160401b038616604082015260e08101620039b7606083018762003960565b931515608082015260a081019290925260c090910152949350505050565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b038084111562003a055762003a05620039d5565b604051601f8501601f19908116603f0116810190828211818310171562003a305762003a30620039d5565b8160405280935085815286868601111562003a49575f80fd5b858560208301375f602087830101525050509392505050565b5f82601f83011262003a72575f80fd5b6200380083833560208501620039e9565b5f805f805f805f60e0888a03121562003a9a575f80fd5b62003aa588620037d0565b965062003ab56020890162003807565b9550604088013562003ac7816200381e565b9450606088013562003ad9816200381e565b9350608088013562003aeb816200381e565b925060a08801356001600160401b038082111562003b07575f80fd5b62003b158b838c0162003a62565b935060c08a013591508082111562003b2b575f80fd5b5062003b3a8a828b0162003a62565b91505092959891949750929550565b81516001600160a01b031681526101808101602083015162003b7660208401826001600160401b03169052565b50604083015162003b9260408401826001600160a01b03169052565b50606083015162003bae60608401826001600160401b03169052565b506080830151608083015260a083015162003bd460a08401826001600160401b03169052565b5060c083015162003bf060c08401826001600160401b03169052565b5060e083015162003c0c60e08401826001600160401b03169052565b50610100838101516001600160401b0316908301526101208084015162003c368285018262003960565b5050610140838101519083015261016092830151929091019190915290565b5f805f805f8060c0878903121562003c6b575f80fd5b62003c7687620037d0565b955062003c866020880162003807565b945062003c966040880162003807565b9350606087013592506080870135915060a087013590509295509295509295565b5f5b8381101562003cd357818101518382015260200162003cb9565b50505f910152565b5f815180845262003cf481602086016020860162003cb7565b601f01601f19169290920160200192915050565b602081525f62003800602083018462003cdb565b5f6020828403121562003d2d575f80fd5b620038008262003807565b5f806040838503121562003d4a575f80fd5b823562003902816200381e565b803560028110620035c5575f80fd5b5f805f805f805f60e0888a03121562003d7d575f80fd5b873562003d8a816200381e565b9650602088013562003d9c816200381e565b955062003dac6040890162003807565b945062003dbc6060890162003807565b93506080880135925062003dd360a0890162003d57565b915060c0880135905092959891949750929550565b5f806040838503121562003dfa575f80fd5b62003e058362003807565b946020939093013593505050565b5f805f806080858703121562003e27575f80fd5b62003e3285620037d0565b966020860135965060408601359560600135945092505050565b5f805f805f805f60e0888a03121562003e63575f80fd5b873562003e70816200381e565b9650602088013562003e82816200381e565b955062003e926040890162003807565b945062003ea26060890162003d57565b93506080880135925060a08801356001600160401b0381111562003ec4575f80fd5b62003ed28a828b0162003a62565b92505060c0880135905092959891949750929550565b5f805f6060848603121562003efb575f80fd5b833562003f08816200381e565b925062003f1860208501620037d0565b915060408401356001600160401b0381111562003f33575f80fd5b8401601f8101861362003f44575f80fd5b62003f5586823560208401620039e9565b9150509250925092565b5f6020828403121562003f70575f80fd5b813562003800816200381e565b5f806040838503121562003f8f575f80fd5b823562003f9c816200381e565b91506200391260208401620037d0565b5f805f805f8060a0878903121562003fc2575f80fd5b62003fcd87620037d0565b955060208701359450604087013593506060870135925060808701356001600160401b038082111562003ffe575f80fd5b818901915089601f83011262004012575f80fd5b81358181111562004021575f80fd5b8a602082850101111562004033575f80fd5b6020830194508093505050509295509295509295565b81516001600160a01b03168152610180810160208301516200407660208401826001600160401b03169052565b5060408301516200409260408401826001600160a01b03169052565b506060830151620040ae60608401826001600160401b03169052565b506080830151608083015260a0830151620040d460a08401826001600160401b03169052565b5060c0830151620040f060c08401826001600160401b03169052565b5060e08301516200410c60e08401826001600160401b03169052565b50610100838101516001600160401b039081169184019190915261012080850151821690840152610140808501519091169083015261016080840151620041568285018262003960565b505092915050565b634e487b7160e01b5f52601160045260245ffd5b6001600160401b038181168382160190808211156200419557620041956200415e565b5092915050565b8082028115828204841417620008b157620008b16200415e565b5f63ffffffff808316818103620041d157620041d16200415e565b6001019392505050565b5f6001600160a01b0380861683528085166020840152506060604083015262001c68606083018462003cdb565b5f6001600160a01b038089168352808816602084015263ffffffff8716604084015280861660608401525060c060808301526200424960c083018562003cdb565b82810360a08401526200425d818562003cdb565b9998505050505050505050565b5f602082840312156200427b575f80fd5b815162003800816200381e565b6001600160401b038281168282160390808211156200419557620041956200415e565b6001600160401b0387811682526001600160a01b0387166020830152858116604083015260c0820190620042e3606084018762003960565b93909316608082015260a00152949350505050565b5f6020828403121562004309575f80fd5b5051919050565b634e487b7160e01b5f52601260045260245ffd5b5f8262004335576200433562004310565b500490565b80820180821115620008b157620008b16200415e565b634e487b7160e01b5f52603260045260245ffd5b5f600182016200437857620043786200415e565b5060010190565b5f8262004390576200439062004310565b500690565b81810381811115620008b157620008b16200415e565b5f81620043bc57620043bc6200415e565b505f190190565b6001600160a01b038881168252871660208201526001600160401b03861660408201525f620043f6606083018762003960565b84608083015260e060a08301526200441260e083018562003cdb565b90508260c083015298975050505050505050565b848152606060208201525f62004440606083018662003cdb565b8281036040840152838152838560208301375f602085830101526020601f19601f86011682010191505095945050505050565b5f82516200448681846020870162003cb7565b9190910192915050565b6103208101610300808584378201835f5b6001811015620044c2578151835260209283019290910190600101620044a1565b5050509392505050565b5f60208284031215620044dd575f80fd5b8151801515811462003800575f80fd5b6001600160a01b0383168152604060208201525f62001c6b604083018462003cdb56fe60a06040526040516200091d3803806200091d833981016040819052620000269162000375565b828162000034828262000060565b50506001600160a01b038216608052620000576200005160805190565b620000c5565b5050506200046c565b6200006b8262000136565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115620000b757620000b28282620001b5565b505050565b620000c16200022e565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620001065f80516020620008fd833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a1620001338162000250565b50565b806001600160a01b03163b5f036200017157604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b60605f80846001600160a01b031684604051620001d391906200044f565b5f60405180830381855af49150503d805f81146200020d576040519150601f19603f3d011682016040523d82523d5f602084013e62000212565b606091505b5090925090506200022585838362000291565b95945050505050565b34156200024e5760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b0381166200027b57604051633173bdd160e11b81525f600482015260240162000168565b805f80516020620008fd83398151915262000194565b606082620002aa57620002a482620002f7565b620002f0565b8151158015620002c257506001600160a01b0384163b155b15620002ed57604051639996b31560e01b81526001600160a01b038516600482015260240162000168565b50805b9392505050565b805115620003085780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80516001600160a01b038116811462000338575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f5b838110156200036d57818101518382015260200162000353565b50505f910152565b5f805f6060848603121562000388575f80fd5b620003938462000321565b9250620003a36020850162000321565b60408501519092506001600160401b0380821115620003c0575f80fd5b818601915086601f830112620003d4575f80fd5b815181811115620003e957620003e96200033d565b604051601f8201601f19908116603f011681019083821181831017156200041457620004146200033d565b816040528281528960208487010111156200042d575f80fd5b6200044083602083016020880162000351565b80955050505050509250925092565b5f82516200046281846020870162000351565b9190910192915050565b608051610479620004845f395f601001526104795ff3fe608060405261000c61000e565b005b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163303610081575f357fffffffff000000000000000000000000000000000000000000000000000000001663278f794360e11b1461007957610077610085565b565b610077610095565b6100775b6100776100906100c3565b6100fa565b5f806100a43660048184610313565b8101906100b1919061034e565b915091506100bf8282610118565b5050565b5f6100f57f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b365f80375f80365f845af43d5f803e808015610114573d5ff35b3d5ffd5b61012182610172565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a280511561016a5761016582826101fa565b505050565b6100bf61026c565b806001600160a01b03163b5f036101ac57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60605f80846001600160a01b0316846040516102169190610417565b5f60405180830381855af49150503d805f811461024e576040519150601f19603f3d011682016040523d82523d5f602084013e610253565b606091505b509150915061026385838361028b565b95945050505050565b34156100775760405163b398979f60e01b815260040160405180910390fd5b6060826102a05761029b826102ea565b6102e3565b81511580156102b757506001600160a01b0384163b155b156102e057604051639996b31560e01b81526001600160a01b03851660048201526024016101a3565b50805b9392505050565b8051156102fa5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f8085851115610321575f80fd5b8386111561032d575f80fd5b5050820193919092039150565b634e487b7160e01b5f52604160045260245ffd5b5f806040838503121561035f575f80fd5b82356001600160a01b0381168114610375575f80fd5b9150602083013567ffffffffffffffff80821115610391575f80fd5b818501915085601f8301126103a4575f80fd5b8135818111156103b6576103b661033a565b604051601f8201601f19908116603f011681019083821181831017156103de576103de61033a565b816040528281528860208487010111156103f6575f80fd5b826020860160208301375f6020848301015280955050505050509250929050565b5f82515f5b81811015610436576020818601810151858301520161041c565b505f92019182525091905056fea264697066735822122021e23b4641727aa4aa8fd2d3ef7960a43cab420d4c8632503bedc3eb2d30690764736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103a26469706673582212200a59d3bdd68a8e6c832b62ac3116991c9a6c28665ce1315cc73a12b0e417e67564736f6c63430008140033",
}

PolygonrollupmanagerMetaData contains all meta data concerning the Polygonrollupmanager contract.

Functions

This section is empty.

Types

type LegacyZKEVMStateVariablesSequencedBatchData

type LegacyZKEVMStateVariablesSequencedBatchData struct {
	AccInputHash               [32]byte
	SequencedTimestamp         uint64
	PreviousLastBatchSequenced uint64
}

LegacyZKEVMStateVariablesSequencedBatchData is an auto generated low-level Go binding around an user-defined struct.

type PolygonRollupManagerRollupDataReturn

type PolygonRollupManagerRollupDataReturn struct {
	RollupContract                     common.Address
	ChainID                            uint64
	Verifier                           common.Address
	ForkID                             uint64
	LastLocalExitRoot                  [32]byte
	LastBatchSequenced                 uint64
	LastVerifiedBatch                  uint64
	LegacyLastPendingState             uint64
	LegacyLastPendingStateConsolidated uint64
	LastVerifiedBatchBeforeUpgrade     uint64
	RollupTypeID                       uint64
	RollupVerifierType                 uint8
}

PolygonRollupManagerRollupDataReturn is an auto generated low-level Go binding around an user-defined struct.

type PolygonRollupManagerRollupDataReturnV2

type PolygonRollupManagerRollupDataReturnV2 struct {
	RollupContract                 common.Address
	ChainID                        uint64
	Verifier                       common.Address
	ForkID                         uint64
	LastLocalExitRoot              [32]byte
	LastBatchSequenced             uint64
	LastVerifiedBatch              uint64
	LastVerifiedBatchBeforeUpgrade uint64
	RollupTypeID                   uint64
	RollupVerifierType             uint8
	LastPessimisticRoot            [32]byte
	ProgramVKey                    [32]byte
}

PolygonRollupManagerRollupDataReturnV2 is an auto generated low-level Go binding around an user-defined struct.

type Polygonrollupmanager

type Polygonrollupmanager struct {
	PolygonrollupmanagerCaller     // Read-only binding to the contract
	PolygonrollupmanagerTransactor // Write-only binding to the contract
	PolygonrollupmanagerFilterer   // Log filterer for contract events
}

Polygonrollupmanager is an auto generated Go binding around an Ethereum contract.

func DeployPolygonrollupmanager

func DeployPolygonrollupmanager(auth *bind.TransactOpts, backend bind.ContractBackend, _globalExitRootManager common.Address, _pol common.Address, _bridgeAddress common.Address) (common.Address, *types.Transaction, *Polygonrollupmanager, error)

DeployPolygonrollupmanager deploys a new Ethereum contract, binding an instance of Polygonrollupmanager to it.

func NewPolygonrollupmanager

func NewPolygonrollupmanager(address common.Address, backend bind.ContractBackend) (*Polygonrollupmanager, error)

NewPolygonrollupmanager creates a new instance of Polygonrollupmanager, bound to a specific deployed contract.

type PolygonrollupmanagerAddExistingRollup

type PolygonrollupmanagerAddExistingRollup struct {
	RollupID                       uint32
	ForkID                         uint64
	RollupAddress                  common.Address
	ChainID                        uint64
	RollupVerifierType             uint8
	LastVerifiedBatchBeforeUpgrade uint64
	ProgramVKey                    [32]byte
	Raw                            types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerAddExistingRollup represents a AddExistingRollup event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerAddExistingRollupIterator

type PolygonrollupmanagerAddExistingRollupIterator struct {
	Event *PolygonrollupmanagerAddExistingRollup // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerAddExistingRollupIterator is returned from FilterAddExistingRollup and is used to iterate over the raw logs and unpacked data for AddExistingRollup events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerAddExistingRollupIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerAddExistingRollupIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerAddExistingRollupIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerAddNewRollupType

type PolygonrollupmanagerAddNewRollupType struct {
	RollupTypeID            uint32
	ConsensusImplementation common.Address
	Verifier                common.Address
	ForkID                  uint64
	RollupVerifierType      uint8
	Genesis                 [32]byte
	Description             string
	ProgramVKey             [32]byte
	Raw                     types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerAddNewRollupType represents a AddNewRollupType event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerAddNewRollupTypeIterator

type PolygonrollupmanagerAddNewRollupTypeIterator struct {
	Event *PolygonrollupmanagerAddNewRollupType // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerAddNewRollupTypeIterator is returned from FilterAddNewRollupType and is used to iterate over the raw logs and unpacked data for AddNewRollupType events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerAddNewRollupTypeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerAddNewRollupTypeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerAddNewRollupTypeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerCaller

type PolygonrollupmanagerCaller struct {
	// contains filtered or unexported fields
}

PolygonrollupmanagerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPolygonrollupmanagerCaller

func NewPolygonrollupmanagerCaller(address common.Address, caller bind.ContractCaller) (*PolygonrollupmanagerCaller, error)

NewPolygonrollupmanagerCaller creates a new read-only instance of Polygonrollupmanager, bound to a specific deployed contract.

func (*PolygonrollupmanagerCaller) BridgeAddress

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)

BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.

Solidity: function bridgeAddress() view returns(address)

func (*PolygonrollupmanagerCaller) CalculateRewardPerBatch

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) CalculateRewardPerBatch(opts *bind.CallOpts) (*big.Int, error)

CalculateRewardPerBatch is a free data retrieval call binding the contract method 0x99f5634e.

Solidity: function calculateRewardPerBatch() view returns(uint256)

func (*PolygonrollupmanagerCaller) ChainIDToRollupID

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) ChainIDToRollupID(opts *bind.CallOpts, chainID uint64) (uint32, error)

ChainIDToRollupID is a free data retrieval call binding the contract method 0x7fb6e76a.

Solidity: function chainIDToRollupID(uint64 chainID) view returns(uint32 rollupID)

func (*PolygonrollupmanagerCaller) DEFAULTADMINROLE

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PolygonrollupmanagerCaller) GetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetBatchFee(opts *bind.CallOpts) (*big.Int, error)

GetBatchFee is a free data retrieval call binding the contract method 0x477fa270.

Solidity: function getBatchFee() view returns(uint256)

func (*PolygonrollupmanagerCaller) GetForcedBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetForcedBatchFee(opts *bind.CallOpts) (*big.Int, error)

GetForcedBatchFee is a free data retrieval call binding the contract method 0x60469169.

Solidity: function getForcedBatchFee() view returns(uint256)

func (*PolygonrollupmanagerCaller) GetInputPessimisticBytes

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetInputPessimisticBytes(opts *bind.CallOpts, rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte) ([]byte, error)

GetInputPessimisticBytes is a free data retrieval call binding the contract method 0x9e36c565.

Solidity: function getInputPessimisticBytes(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot) view returns(bytes)

func (*PolygonrollupmanagerCaller) GetInputSnarkBytes

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetInputSnarkBytes(opts *bind.CallOpts, rollupID uint32, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, oldStateRoot [32]byte, newStateRoot [32]byte) ([]byte, error)

GetInputSnarkBytes is a free data retrieval call binding the contract method 0x7975fcfe.

Solidity: function getInputSnarkBytes(uint32 rollupID, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 oldStateRoot, bytes32 newStateRoot) view returns(bytes)

func (*PolygonrollupmanagerCaller) GetLastVerifiedBatch

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetLastVerifiedBatch(opts *bind.CallOpts, rollupID uint32) (uint64, error)

GetLastVerifiedBatch is a free data retrieval call binding the contract method 0x11f6b287.

Solidity: function getLastVerifiedBatch(uint32 rollupID) view returns(uint64)

func (*PolygonrollupmanagerCaller) GetRoleAdmin

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PolygonrollupmanagerCaller) GetRollupBatchNumToStateRoot

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetRollupBatchNumToStateRoot(opts *bind.CallOpts, rollupID uint32, batchNum uint64) ([32]byte, error)

GetRollupBatchNumToStateRoot is a free data retrieval call binding the contract method 0x55a71ee0.

Solidity: function getRollupBatchNumToStateRoot(uint32 rollupID, uint64 batchNum) view returns(bytes32)

func (*PolygonrollupmanagerCaller) GetRollupExitRoot

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetRollupExitRoot(opts *bind.CallOpts) ([32]byte, error)

GetRollupExitRoot is a free data retrieval call binding the contract method 0xa2967d99.

Solidity: function getRollupExitRoot() view returns(bytes32)

func (*PolygonrollupmanagerCaller) GetRollupSequencedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GetRollupSequencedBatches(opts *bind.CallOpts, rollupID uint32, batchNum uint64) (LegacyZKEVMStateVariablesSequencedBatchData, error)

GetRollupSequencedBatches is a free data retrieval call binding the contract method 0x25280169.

Solidity: function getRollupSequencedBatches(uint32 rollupID, uint64 batchNum) view returns((bytes32,uint64,uint64))

func (*PolygonrollupmanagerCaller) GlobalExitRootManager

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) GlobalExitRootManager(opts *bind.CallOpts) (common.Address, error)

GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.

Solidity: function globalExitRootManager() view returns(address)

func (*PolygonrollupmanagerCaller) HasRole

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PolygonrollupmanagerCaller) IsEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) IsEmergencyState(opts *bind.CallOpts) (bool, error)

IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.

Solidity: function isEmergencyState() view returns(bool)

func (*PolygonrollupmanagerCaller) LastAggregationTimestamp

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) LastAggregationTimestamp(opts *bind.CallOpts) (uint64, error)

LastAggregationTimestamp is a free data retrieval call binding the contract method 0xc1acbc34.

Solidity: function lastAggregationTimestamp() view returns(uint64)

func (*PolygonrollupmanagerCaller) LastDeactivatedEmergencyStateTimestamp

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) LastDeactivatedEmergencyStateTimestamp(opts *bind.CallOpts) (uint64, error)

LastDeactivatedEmergencyStateTimestamp is a free data retrieval call binding the contract method 0x30c27dde.

Solidity: function lastDeactivatedEmergencyStateTimestamp() view returns(uint64)

func (*PolygonrollupmanagerCaller) Pol

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) Pol(opts *bind.CallOpts) (common.Address, error)

Pol is a free data retrieval call binding the contract method 0xe46761c4.

Solidity: function pol() view returns(address)

func (*PolygonrollupmanagerCaller) RollupAddressToID

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) RollupAddressToID(opts *bind.CallOpts, rollupAddress common.Address) (uint32, error)

RollupAddressToID is a free data retrieval call binding the contract method 0xceee281d.

Solidity: function rollupAddressToID(address rollupAddress) view returns(uint32 rollupID)

func (*PolygonrollupmanagerCaller) RollupCount

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) RollupCount(opts *bind.CallOpts) (uint32, error)

RollupCount is a free data retrieval call binding the contract method 0xf4e92675.

Solidity: function rollupCount() view returns(uint32)

func (*PolygonrollupmanagerCaller) RollupIDToRollupData

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) RollupIDToRollupData(opts *bind.CallOpts, rollupID uint32) (PolygonRollupManagerRollupDataReturn, error)

RollupIDToRollupData is a free data retrieval call binding the contract method 0xf9c4c2ae.

Solidity: function rollupIDToRollupData(uint32 rollupID) view returns((address,uint64,address,uint64,bytes32,uint64,uint64,uint64,uint64,uint64,uint64,uint8) rollupData)

func (*PolygonrollupmanagerCaller) RollupIDToRollupDataV2

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) RollupIDToRollupDataV2(opts *bind.CallOpts, rollupID uint32) (PolygonRollupManagerRollupDataReturnV2, error)

RollupIDToRollupDataV2 is a free data retrieval call binding the contract method 0x74d9c244.

Solidity: function rollupIDToRollupDataV2(uint32 rollupID) view returns((address,uint64,address,uint64,bytes32,uint64,uint64,uint64,uint64,uint8,bytes32,bytes32) rollupData)

func (*PolygonrollupmanagerCaller) RollupTypeCount

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) RollupTypeCount(opts *bind.CallOpts) (uint32, error)

RollupTypeCount is a free data retrieval call binding the contract method 0x1796a1ae.

Solidity: function rollupTypeCount() view returns(uint32)

func (*PolygonrollupmanagerCaller) RollupTypeMap

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) RollupTypeMap(opts *bind.CallOpts, rollupTypeID uint32) (struct {
	ConsensusImplementation common.Address
	Verifier                common.Address
	ForkID                  uint64
	RollupVerifierType      uint8
	Obsolete                bool
	Genesis                 [32]byte
	ProgramVKey             [32]byte
}, error)

RollupTypeMap is a free data retrieval call binding the contract method 0x65c0504d.

Solidity: function rollupTypeMap(uint32 rollupTypeID) view returns(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bool obsolete, bytes32 genesis, bytes32 programVKey)

func (*PolygonrollupmanagerCaller) TotalSequencedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) TotalSequencedBatches(opts *bind.CallOpts) (uint64, error)

TotalSequencedBatches is a free data retrieval call binding the contract method 0x066ec012.

Solidity: function totalSequencedBatches() view returns(uint64)

func (*PolygonrollupmanagerCaller) TotalVerifiedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerCaller) TotalVerifiedBatches(opts *bind.CallOpts) (uint64, error)

TotalVerifiedBatches is a free data retrieval call binding the contract method 0xdde0ff77.

Solidity: function totalVerifiedBatches() view returns(uint64)

type PolygonrollupmanagerCallerRaw

type PolygonrollupmanagerCallerRaw struct {
	Contract *PolygonrollupmanagerCaller // Generic read-only contract binding to access the raw methods on
}

PolygonrollupmanagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PolygonrollupmanagerCallerRaw) Call

func (_Polygonrollupmanager *PolygonrollupmanagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type PolygonrollupmanagerCallerSession

type PolygonrollupmanagerCallerSession struct {
	Contract *PolygonrollupmanagerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts               // Call options to use throughout this session
}

PolygonrollupmanagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PolygonrollupmanagerCallerSession) BridgeAddress

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) BridgeAddress() (common.Address, error)

BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.

Solidity: function bridgeAddress() view returns(address)

func (*PolygonrollupmanagerCallerSession) CalculateRewardPerBatch

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) CalculateRewardPerBatch() (*big.Int, error)

CalculateRewardPerBatch is a free data retrieval call binding the contract method 0x99f5634e.

Solidity: function calculateRewardPerBatch() view returns(uint256)

func (*PolygonrollupmanagerCallerSession) ChainIDToRollupID

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) ChainIDToRollupID(chainID uint64) (uint32, error)

ChainIDToRollupID is a free data retrieval call binding the contract method 0x7fb6e76a.

Solidity: function chainIDToRollupID(uint64 chainID) view returns(uint32 rollupID)

func (*PolygonrollupmanagerCallerSession) DEFAULTADMINROLE

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PolygonrollupmanagerCallerSession) GetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetBatchFee() (*big.Int, error)

GetBatchFee is a free data retrieval call binding the contract method 0x477fa270.

Solidity: function getBatchFee() view returns(uint256)

func (*PolygonrollupmanagerCallerSession) GetForcedBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetForcedBatchFee() (*big.Int, error)

GetForcedBatchFee is a free data retrieval call binding the contract method 0x60469169.

Solidity: function getForcedBatchFee() view returns(uint256)

func (*PolygonrollupmanagerCallerSession) GetInputPessimisticBytes

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetInputPessimisticBytes(rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte) ([]byte, error)

GetInputPessimisticBytes is a free data retrieval call binding the contract method 0x9e36c565.

Solidity: function getInputPessimisticBytes(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot) view returns(bytes)

func (*PolygonrollupmanagerCallerSession) GetInputSnarkBytes

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetInputSnarkBytes(rollupID uint32, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, oldStateRoot [32]byte, newStateRoot [32]byte) ([]byte, error)

GetInputSnarkBytes is a free data retrieval call binding the contract method 0x7975fcfe.

Solidity: function getInputSnarkBytes(uint32 rollupID, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 oldStateRoot, bytes32 newStateRoot) view returns(bytes)

func (*PolygonrollupmanagerCallerSession) GetLastVerifiedBatch

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetLastVerifiedBatch(rollupID uint32) (uint64, error)

GetLastVerifiedBatch is a free data retrieval call binding the contract method 0x11f6b287.

Solidity: function getLastVerifiedBatch(uint32 rollupID) view returns(uint64)

func (*PolygonrollupmanagerCallerSession) GetRoleAdmin

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PolygonrollupmanagerCallerSession) GetRollupBatchNumToStateRoot

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetRollupBatchNumToStateRoot(rollupID uint32, batchNum uint64) ([32]byte, error)

GetRollupBatchNumToStateRoot is a free data retrieval call binding the contract method 0x55a71ee0.

Solidity: function getRollupBatchNumToStateRoot(uint32 rollupID, uint64 batchNum) view returns(bytes32)

func (*PolygonrollupmanagerCallerSession) GetRollupExitRoot

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetRollupExitRoot() ([32]byte, error)

GetRollupExitRoot is a free data retrieval call binding the contract method 0xa2967d99.

Solidity: function getRollupExitRoot() view returns(bytes32)

func (*PolygonrollupmanagerCallerSession) GetRollupSequencedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GetRollupSequencedBatches(rollupID uint32, batchNum uint64) (LegacyZKEVMStateVariablesSequencedBatchData, error)

GetRollupSequencedBatches is a free data retrieval call binding the contract method 0x25280169.

Solidity: function getRollupSequencedBatches(uint32 rollupID, uint64 batchNum) view returns((bytes32,uint64,uint64))

func (*PolygonrollupmanagerCallerSession) GlobalExitRootManager

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) GlobalExitRootManager() (common.Address, error)

GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.

Solidity: function globalExitRootManager() view returns(address)

func (*PolygonrollupmanagerCallerSession) HasRole

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PolygonrollupmanagerCallerSession) IsEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) IsEmergencyState() (bool, error)

IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.

Solidity: function isEmergencyState() view returns(bool)

func (*PolygonrollupmanagerCallerSession) LastAggregationTimestamp

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) LastAggregationTimestamp() (uint64, error)

LastAggregationTimestamp is a free data retrieval call binding the contract method 0xc1acbc34.

Solidity: function lastAggregationTimestamp() view returns(uint64)

func (*PolygonrollupmanagerCallerSession) LastDeactivatedEmergencyStateTimestamp

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) LastDeactivatedEmergencyStateTimestamp() (uint64, error)

LastDeactivatedEmergencyStateTimestamp is a free data retrieval call binding the contract method 0x30c27dde.

Solidity: function lastDeactivatedEmergencyStateTimestamp() view returns(uint64)

func (*PolygonrollupmanagerCallerSession) Pol

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) Pol() (common.Address, error)

Pol is a free data retrieval call binding the contract method 0xe46761c4.

Solidity: function pol() view returns(address)

func (*PolygonrollupmanagerCallerSession) RollupAddressToID

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) RollupAddressToID(rollupAddress common.Address) (uint32, error)

RollupAddressToID is a free data retrieval call binding the contract method 0xceee281d.

Solidity: function rollupAddressToID(address rollupAddress) view returns(uint32 rollupID)

func (*PolygonrollupmanagerCallerSession) RollupCount

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) RollupCount() (uint32, error)

RollupCount is a free data retrieval call binding the contract method 0xf4e92675.

Solidity: function rollupCount() view returns(uint32)

func (*PolygonrollupmanagerCallerSession) RollupIDToRollupData

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) RollupIDToRollupData(rollupID uint32) (PolygonRollupManagerRollupDataReturn, error)

RollupIDToRollupData is a free data retrieval call binding the contract method 0xf9c4c2ae.

Solidity: function rollupIDToRollupData(uint32 rollupID) view returns((address,uint64,address,uint64,bytes32,uint64,uint64,uint64,uint64,uint64,uint64,uint8) rollupData)

func (*PolygonrollupmanagerCallerSession) RollupIDToRollupDataV2

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) RollupIDToRollupDataV2(rollupID uint32) (PolygonRollupManagerRollupDataReturnV2, error)

RollupIDToRollupDataV2 is a free data retrieval call binding the contract method 0x74d9c244.

Solidity: function rollupIDToRollupDataV2(uint32 rollupID) view returns((address,uint64,address,uint64,bytes32,uint64,uint64,uint64,uint64,uint8,bytes32,bytes32) rollupData)

func (*PolygonrollupmanagerCallerSession) RollupTypeCount

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) RollupTypeCount() (uint32, error)

RollupTypeCount is a free data retrieval call binding the contract method 0x1796a1ae.

Solidity: function rollupTypeCount() view returns(uint32)

func (*PolygonrollupmanagerCallerSession) RollupTypeMap

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) RollupTypeMap(rollupTypeID uint32) (struct {
	ConsensusImplementation common.Address
	Verifier                common.Address
	ForkID                  uint64
	RollupVerifierType      uint8
	Obsolete                bool
	Genesis                 [32]byte
	ProgramVKey             [32]byte
}, error)

RollupTypeMap is a free data retrieval call binding the contract method 0x65c0504d.

Solidity: function rollupTypeMap(uint32 rollupTypeID) view returns(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bool obsolete, bytes32 genesis, bytes32 programVKey)

func (*PolygonrollupmanagerCallerSession) TotalSequencedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) TotalSequencedBatches() (uint64, error)

TotalSequencedBatches is a free data retrieval call binding the contract method 0x066ec012.

Solidity: function totalSequencedBatches() view returns(uint64)

func (*PolygonrollupmanagerCallerSession) TotalVerifiedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerCallerSession) TotalVerifiedBatches() (uint64, error)

TotalVerifiedBatches is a free data retrieval call binding the contract method 0xdde0ff77.

Solidity: function totalVerifiedBatches() view returns(uint64)

type PolygonrollupmanagerCreateNewRollup

type PolygonrollupmanagerCreateNewRollup struct {
	RollupID        uint32
	RollupTypeID    uint32
	RollupAddress   common.Address
	ChainID         uint64
	GasTokenAddress common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerCreateNewRollup represents a CreateNewRollup event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerCreateNewRollupIterator

type PolygonrollupmanagerCreateNewRollupIterator struct {
	Event *PolygonrollupmanagerCreateNewRollup // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerCreateNewRollupIterator is returned from FilterCreateNewRollup and is used to iterate over the raw logs and unpacked data for CreateNewRollup events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerCreateNewRollupIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerCreateNewRollupIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerCreateNewRollupIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerEmergencyStateActivated

type PolygonrollupmanagerEmergencyStateActivated struct {
	Raw types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerEmergencyStateActivated represents a EmergencyStateActivated event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerEmergencyStateActivatedIterator

type PolygonrollupmanagerEmergencyStateActivatedIterator struct {
	Event *PolygonrollupmanagerEmergencyStateActivated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerEmergencyStateActivatedIterator is returned from FilterEmergencyStateActivated and is used to iterate over the raw logs and unpacked data for EmergencyStateActivated events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerEmergencyStateActivatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerEmergencyStateActivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerEmergencyStateActivatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerEmergencyStateDeactivated

type PolygonrollupmanagerEmergencyStateDeactivated struct {
	Raw types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerEmergencyStateDeactivated represents a EmergencyStateDeactivated event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerEmergencyStateDeactivatedIterator

type PolygonrollupmanagerEmergencyStateDeactivatedIterator struct {
	Event *PolygonrollupmanagerEmergencyStateDeactivated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerEmergencyStateDeactivatedIterator is returned from FilterEmergencyStateDeactivated and is used to iterate over the raw logs and unpacked data for EmergencyStateDeactivated events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerEmergencyStateDeactivatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerEmergencyStateDeactivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerEmergencyStateDeactivatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerFilterer

type PolygonrollupmanagerFilterer struct {
	// contains filtered or unexported fields
}

PolygonrollupmanagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPolygonrollupmanagerFilterer

func NewPolygonrollupmanagerFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonrollupmanagerFilterer, error)

NewPolygonrollupmanagerFilterer creates a new log filterer instance of Polygonrollupmanager, bound to a specific deployed contract.

func (*PolygonrollupmanagerFilterer) FilterAddExistingRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterAddExistingRollup(opts *bind.FilterOpts, rollupID []uint32) (*PolygonrollupmanagerAddExistingRollupIterator, error)

FilterAddExistingRollup is a free log retrieval operation binding the contract event 0xd490df184152edba8455dac3228134939c71f8cb4c8f310c3145dec9037147ac.

Solidity: event AddExistingRollup(uint32 indexed rollupID, uint64 forkID, address rollupAddress, uint64 chainID, uint8 rollupVerifierType, uint64 lastVerifiedBatchBeforeUpgrade, bytes32 programVKey)

func (*PolygonrollupmanagerFilterer) FilterAddNewRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterAddNewRollupType(opts *bind.FilterOpts, rollupTypeID []uint32) (*PolygonrollupmanagerAddNewRollupTypeIterator, error)

FilterAddNewRollupType is a free log retrieval operation binding the contract event 0x9eaf2ecbddb14889c9e141a63175c55ac25e0cd7cdea312cdfbd0397976b383a.

Solidity: event AddNewRollupType(uint32 indexed rollupTypeID, address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 genesis, string description, bytes32 programVKey)

func (*PolygonrollupmanagerFilterer) FilterCreateNewRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterCreateNewRollup(opts *bind.FilterOpts, rollupID []uint32) (*PolygonrollupmanagerCreateNewRollupIterator, error)

FilterCreateNewRollup is a free log retrieval operation binding the contract event 0x194c983456df6701c6a50830b90fe80e72b823411d0d524970c9590dc277a641.

Solidity: event CreateNewRollup(uint32 indexed rollupID, uint32 rollupTypeID, address rollupAddress, uint64 chainID, address gasTokenAddress)

func (*PolygonrollupmanagerFilterer) FilterEmergencyStateActivated

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterEmergencyStateActivated(opts *bind.FilterOpts) (*PolygonrollupmanagerEmergencyStateActivatedIterator, error)

FilterEmergencyStateActivated is a free log retrieval operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.

Solidity: event EmergencyStateActivated()

func (*PolygonrollupmanagerFilterer) FilterEmergencyStateDeactivated

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterEmergencyStateDeactivated(opts *bind.FilterOpts) (*PolygonrollupmanagerEmergencyStateDeactivatedIterator, error)

FilterEmergencyStateDeactivated is a free log retrieval operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.

Solidity: event EmergencyStateDeactivated()

func (*PolygonrollupmanagerFilterer) FilterInitialized

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterInitialized(opts *bind.FilterOpts) (*PolygonrollupmanagerInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonrollupmanagerFilterer) FilterObsoleteRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterObsoleteRollupType(opts *bind.FilterOpts, rollupTypeID []uint32) (*PolygonrollupmanagerObsoleteRollupTypeIterator, error)

FilterObsoleteRollupType is a free log retrieval operation binding the contract event 0x4710d2ee567ef1ed6eb2f651dde4589524bcf7cebc62147a99b281cc836e7e44.

Solidity: event ObsoleteRollupType(uint32 indexed rollupTypeID)

func (*PolygonrollupmanagerFilterer) FilterOnSequenceBatches

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterOnSequenceBatches(opts *bind.FilterOpts, rollupID []uint32) (*PolygonrollupmanagerOnSequenceBatchesIterator, error)

FilterOnSequenceBatches is a free log retrieval operation binding the contract event 0x1d9f30260051d51d70339da239ea7b080021adcaabfa71c9b0ea339a20cf9a25.

Solidity: event OnSequenceBatches(uint32 indexed rollupID, uint64 lastBatchSequenced)

func (*PolygonrollupmanagerFilterer) FilterRoleAdminChanged

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*PolygonrollupmanagerRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PolygonrollupmanagerFilterer) FilterRoleGranted

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PolygonrollupmanagerRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PolygonrollupmanagerFilterer) FilterRoleRevoked

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PolygonrollupmanagerRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PolygonrollupmanagerFilterer) FilterRollbackBatches

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterRollbackBatches(opts *bind.FilterOpts, rollupID []uint32, targetBatch []uint64) (*PolygonrollupmanagerRollbackBatchesIterator, error)

FilterRollbackBatches is a free log retrieval operation binding the contract event 0x80a6d395a55aed8126079cb8247f0a6848b1440ca2cdca3b4386f250c3529402.

Solidity: event RollbackBatches(uint32 indexed rollupID, uint64 indexed targetBatch, bytes32 accInputHashToRollback)

func (*PolygonrollupmanagerFilterer) FilterSetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterSetBatchFee(opts *bind.FilterOpts) (*PolygonrollupmanagerSetBatchFeeIterator, error)

FilterSetBatchFee is a free log retrieval operation binding the contract event 0xfb383653f53ee079978d0c9aff7aeff04a10166ce244cca9c9f9d8d96bed45b2.

Solidity: event SetBatchFee(uint256 newBatchFee)

func (*PolygonrollupmanagerFilterer) FilterSetTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterSetTrustedAggregator(opts *bind.FilterOpts) (*PolygonrollupmanagerSetTrustedAggregatorIterator, error)

FilterSetTrustedAggregator is a free log retrieval operation binding the contract event 0x61f8fec29495a3078e9271456f05fb0707fd4e41f7661865f80fc437d06681ca.

Solidity: event SetTrustedAggregator(address newTrustedAggregator)

func (*PolygonrollupmanagerFilterer) FilterUpdateRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterUpdateRollup(opts *bind.FilterOpts, rollupID []uint32) (*PolygonrollupmanagerUpdateRollupIterator, error)

FilterUpdateRollup is a free log retrieval operation binding the contract event 0xf585e04c05d396901170247783d3e5f0ee9c1df23072985b50af089f5e48b19d.

Solidity: event UpdateRollup(uint32 indexed rollupID, uint32 newRollupTypeID, uint64 lastVerifiedBatchBeforeUpgrade)

func (*PolygonrollupmanagerFilterer) FilterVerifyBatchesTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) FilterVerifyBatchesTrustedAggregator(opts *bind.FilterOpts, rollupID []uint32, aggregator []common.Address) (*PolygonrollupmanagerVerifyBatchesTrustedAggregatorIterator, error)

FilterVerifyBatchesTrustedAggregator is a free log retrieval operation binding the contract event 0xd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d3.

Solidity: event VerifyBatchesTrustedAggregator(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address indexed aggregator)

func (*PolygonrollupmanagerFilterer) ParseAddExistingRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseAddExistingRollup(log types.Log) (*PolygonrollupmanagerAddExistingRollup, error)

ParseAddExistingRollup is a log parse operation binding the contract event 0xd490df184152edba8455dac3228134939c71f8cb4c8f310c3145dec9037147ac.

Solidity: event AddExistingRollup(uint32 indexed rollupID, uint64 forkID, address rollupAddress, uint64 chainID, uint8 rollupVerifierType, uint64 lastVerifiedBatchBeforeUpgrade, bytes32 programVKey)

func (*PolygonrollupmanagerFilterer) ParseAddNewRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseAddNewRollupType(log types.Log) (*PolygonrollupmanagerAddNewRollupType, error)

ParseAddNewRollupType is a log parse operation binding the contract event 0x9eaf2ecbddb14889c9e141a63175c55ac25e0cd7cdea312cdfbd0397976b383a.

Solidity: event AddNewRollupType(uint32 indexed rollupTypeID, address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 genesis, string description, bytes32 programVKey)

func (*PolygonrollupmanagerFilterer) ParseCreateNewRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseCreateNewRollup(log types.Log) (*PolygonrollupmanagerCreateNewRollup, error)

ParseCreateNewRollup is a log parse operation binding the contract event 0x194c983456df6701c6a50830b90fe80e72b823411d0d524970c9590dc277a641.

Solidity: event CreateNewRollup(uint32 indexed rollupID, uint32 rollupTypeID, address rollupAddress, uint64 chainID, address gasTokenAddress)

func (*PolygonrollupmanagerFilterer) ParseEmergencyStateActivated

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseEmergencyStateActivated(log types.Log) (*PolygonrollupmanagerEmergencyStateActivated, error)

ParseEmergencyStateActivated is a log parse operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.

Solidity: event EmergencyStateActivated()

func (*PolygonrollupmanagerFilterer) ParseEmergencyStateDeactivated

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseEmergencyStateDeactivated(log types.Log) (*PolygonrollupmanagerEmergencyStateDeactivated, error)

ParseEmergencyStateDeactivated is a log parse operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.

Solidity: event EmergencyStateDeactivated()

func (*PolygonrollupmanagerFilterer) ParseInitialized

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseInitialized(log types.Log) (*PolygonrollupmanagerInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonrollupmanagerFilterer) ParseObsoleteRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseObsoleteRollupType(log types.Log) (*PolygonrollupmanagerObsoleteRollupType, error)

ParseObsoleteRollupType is a log parse operation binding the contract event 0x4710d2ee567ef1ed6eb2f651dde4589524bcf7cebc62147a99b281cc836e7e44.

Solidity: event ObsoleteRollupType(uint32 indexed rollupTypeID)

func (*PolygonrollupmanagerFilterer) ParseOnSequenceBatches

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseOnSequenceBatches(log types.Log) (*PolygonrollupmanagerOnSequenceBatches, error)

ParseOnSequenceBatches is a log parse operation binding the contract event 0x1d9f30260051d51d70339da239ea7b080021adcaabfa71c9b0ea339a20cf9a25.

Solidity: event OnSequenceBatches(uint32 indexed rollupID, uint64 lastBatchSequenced)

func (*PolygonrollupmanagerFilterer) ParseRoleAdminChanged

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseRoleAdminChanged(log types.Log) (*PolygonrollupmanagerRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PolygonrollupmanagerFilterer) ParseRoleGranted

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseRoleGranted(log types.Log) (*PolygonrollupmanagerRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PolygonrollupmanagerFilterer) ParseRoleRevoked

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseRoleRevoked(log types.Log) (*PolygonrollupmanagerRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PolygonrollupmanagerFilterer) ParseRollbackBatches

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseRollbackBatches(log types.Log) (*PolygonrollupmanagerRollbackBatches, error)

ParseRollbackBatches is a log parse operation binding the contract event 0x80a6d395a55aed8126079cb8247f0a6848b1440ca2cdca3b4386f250c3529402.

Solidity: event RollbackBatches(uint32 indexed rollupID, uint64 indexed targetBatch, bytes32 accInputHashToRollback)

func (*PolygonrollupmanagerFilterer) ParseSetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseSetBatchFee(log types.Log) (*PolygonrollupmanagerSetBatchFee, error)

ParseSetBatchFee is a log parse operation binding the contract event 0xfb383653f53ee079978d0c9aff7aeff04a10166ce244cca9c9f9d8d96bed45b2.

Solidity: event SetBatchFee(uint256 newBatchFee)

func (*PolygonrollupmanagerFilterer) ParseSetTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseSetTrustedAggregator(log types.Log) (*PolygonrollupmanagerSetTrustedAggregator, error)

ParseSetTrustedAggregator is a log parse operation binding the contract event 0x61f8fec29495a3078e9271456f05fb0707fd4e41f7661865f80fc437d06681ca.

Solidity: event SetTrustedAggregator(address newTrustedAggregator)

func (*PolygonrollupmanagerFilterer) ParseUpdateRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseUpdateRollup(log types.Log) (*PolygonrollupmanagerUpdateRollup, error)

ParseUpdateRollup is a log parse operation binding the contract event 0xf585e04c05d396901170247783d3e5f0ee9c1df23072985b50af089f5e48b19d.

Solidity: event UpdateRollup(uint32 indexed rollupID, uint32 newRollupTypeID, uint64 lastVerifiedBatchBeforeUpgrade)

func (*PolygonrollupmanagerFilterer) ParseVerifyBatchesTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) ParseVerifyBatchesTrustedAggregator(log types.Log) (*PolygonrollupmanagerVerifyBatchesTrustedAggregator, error)

ParseVerifyBatchesTrustedAggregator is a log parse operation binding the contract event 0xd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d3.

Solidity: event VerifyBatchesTrustedAggregator(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address indexed aggregator)

func (*PolygonrollupmanagerFilterer) WatchAddExistingRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchAddExistingRollup(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerAddExistingRollup, rollupID []uint32) (event.Subscription, error)

WatchAddExistingRollup is a free log subscription operation binding the contract event 0xd490df184152edba8455dac3228134939c71f8cb4c8f310c3145dec9037147ac.

Solidity: event AddExistingRollup(uint32 indexed rollupID, uint64 forkID, address rollupAddress, uint64 chainID, uint8 rollupVerifierType, uint64 lastVerifiedBatchBeforeUpgrade, bytes32 programVKey)

func (*PolygonrollupmanagerFilterer) WatchAddNewRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchAddNewRollupType(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerAddNewRollupType, rollupTypeID []uint32) (event.Subscription, error)

WatchAddNewRollupType is a free log subscription operation binding the contract event 0x9eaf2ecbddb14889c9e141a63175c55ac25e0cd7cdea312cdfbd0397976b383a.

Solidity: event AddNewRollupType(uint32 indexed rollupTypeID, address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 genesis, string description, bytes32 programVKey)

func (*PolygonrollupmanagerFilterer) WatchCreateNewRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchCreateNewRollup(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerCreateNewRollup, rollupID []uint32) (event.Subscription, error)

WatchCreateNewRollup is a free log subscription operation binding the contract event 0x194c983456df6701c6a50830b90fe80e72b823411d0d524970c9590dc277a641.

Solidity: event CreateNewRollup(uint32 indexed rollupID, uint32 rollupTypeID, address rollupAddress, uint64 chainID, address gasTokenAddress)

func (*PolygonrollupmanagerFilterer) WatchEmergencyStateActivated

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchEmergencyStateActivated(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerEmergencyStateActivated) (event.Subscription, error)

WatchEmergencyStateActivated is a free log subscription operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.

Solidity: event EmergencyStateActivated()

func (*PolygonrollupmanagerFilterer) WatchEmergencyStateDeactivated

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchEmergencyStateDeactivated(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerEmergencyStateDeactivated) (event.Subscription, error)

WatchEmergencyStateDeactivated is a free log subscription operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.

Solidity: event EmergencyStateDeactivated()

func (*PolygonrollupmanagerFilterer) WatchInitialized

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PolygonrollupmanagerFilterer) WatchObsoleteRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchObsoleteRollupType(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerObsoleteRollupType, rollupTypeID []uint32) (event.Subscription, error)

WatchObsoleteRollupType is a free log subscription operation binding the contract event 0x4710d2ee567ef1ed6eb2f651dde4589524bcf7cebc62147a99b281cc836e7e44.

Solidity: event ObsoleteRollupType(uint32 indexed rollupTypeID)

func (*PolygonrollupmanagerFilterer) WatchOnSequenceBatches

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchOnSequenceBatches(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerOnSequenceBatches, rollupID []uint32) (event.Subscription, error)

WatchOnSequenceBatches is a free log subscription operation binding the contract event 0x1d9f30260051d51d70339da239ea7b080021adcaabfa71c9b0ea339a20cf9a25.

Solidity: event OnSequenceBatches(uint32 indexed rollupID, uint64 lastBatchSequenced)

func (*PolygonrollupmanagerFilterer) WatchRoleAdminChanged

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PolygonrollupmanagerFilterer) WatchRoleGranted

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PolygonrollupmanagerFilterer) WatchRoleRevoked

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PolygonrollupmanagerFilterer) WatchRollbackBatches

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchRollbackBatches(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerRollbackBatches, rollupID []uint32, targetBatch []uint64) (event.Subscription, error)

WatchRollbackBatches is a free log subscription operation binding the contract event 0x80a6d395a55aed8126079cb8247f0a6848b1440ca2cdca3b4386f250c3529402.

Solidity: event RollbackBatches(uint32 indexed rollupID, uint64 indexed targetBatch, bytes32 accInputHashToRollback)

func (*PolygonrollupmanagerFilterer) WatchSetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchSetBatchFee(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerSetBatchFee) (event.Subscription, error)

WatchSetBatchFee is a free log subscription operation binding the contract event 0xfb383653f53ee079978d0c9aff7aeff04a10166ce244cca9c9f9d8d96bed45b2.

Solidity: event SetBatchFee(uint256 newBatchFee)

func (*PolygonrollupmanagerFilterer) WatchSetTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchSetTrustedAggregator(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerSetTrustedAggregator) (event.Subscription, error)

WatchSetTrustedAggregator is a free log subscription operation binding the contract event 0x61f8fec29495a3078e9271456f05fb0707fd4e41f7661865f80fc437d06681ca.

Solidity: event SetTrustedAggregator(address newTrustedAggregator)

func (*PolygonrollupmanagerFilterer) WatchUpdateRollup

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchUpdateRollup(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerUpdateRollup, rollupID []uint32) (event.Subscription, error)

WatchUpdateRollup is a free log subscription operation binding the contract event 0xf585e04c05d396901170247783d3e5f0ee9c1df23072985b50af089f5e48b19d.

Solidity: event UpdateRollup(uint32 indexed rollupID, uint32 newRollupTypeID, uint64 lastVerifiedBatchBeforeUpgrade)

func (*PolygonrollupmanagerFilterer) WatchVerifyBatchesTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerFilterer) WatchVerifyBatchesTrustedAggregator(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanagerVerifyBatchesTrustedAggregator, rollupID []uint32, aggregator []common.Address) (event.Subscription, error)

WatchVerifyBatchesTrustedAggregator is a free log subscription operation binding the contract event 0xd1ec3a1216f08b6eff72e169ceb548b782db18a6614852618d86bb19f3f9b0d3.

Solidity: event VerifyBatchesTrustedAggregator(uint32 indexed rollupID, uint64 numBatch, bytes32 stateRoot, bytes32 exitRoot, address indexed aggregator)

type PolygonrollupmanagerInitialized

type PolygonrollupmanagerInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerInitialized represents a Initialized event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerInitializedIterator

type PolygonrollupmanagerInitializedIterator struct {
	Event *PolygonrollupmanagerInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerObsoleteRollupType

type PolygonrollupmanagerObsoleteRollupType struct {
	RollupTypeID uint32
	Raw          types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerObsoleteRollupType represents a ObsoleteRollupType event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerObsoleteRollupTypeIterator

type PolygonrollupmanagerObsoleteRollupTypeIterator struct {
	Event *PolygonrollupmanagerObsoleteRollupType // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerObsoleteRollupTypeIterator is returned from FilterObsoleteRollupType and is used to iterate over the raw logs and unpacked data for ObsoleteRollupType events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerObsoleteRollupTypeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerObsoleteRollupTypeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerObsoleteRollupTypeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerOnSequenceBatches

type PolygonrollupmanagerOnSequenceBatches struct {
	RollupID           uint32
	LastBatchSequenced uint64
	Raw                types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerOnSequenceBatches represents a OnSequenceBatches event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerOnSequenceBatchesIterator

type PolygonrollupmanagerOnSequenceBatchesIterator struct {
	Event *PolygonrollupmanagerOnSequenceBatches // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerOnSequenceBatchesIterator is returned from FilterOnSequenceBatches and is used to iterate over the raw logs and unpacked data for OnSequenceBatches events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerOnSequenceBatchesIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerOnSequenceBatchesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerOnSequenceBatchesIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerRaw

type PolygonrollupmanagerRaw struct {
	Contract *Polygonrollupmanager // Generic contract binding to access the raw methods on
}

PolygonrollupmanagerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PolygonrollupmanagerRaw) Call

func (_Polygonrollupmanager *PolygonrollupmanagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*PolygonrollupmanagerRaw) Transact

func (_Polygonrollupmanager *PolygonrollupmanagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PolygonrollupmanagerRaw) Transfer

func (_Polygonrollupmanager *PolygonrollupmanagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type PolygonrollupmanagerRoleAdminChanged

type PolygonrollupmanagerRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerRoleAdminChanged represents a RoleAdminChanged event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerRoleAdminChangedIterator

type PolygonrollupmanagerRoleAdminChangedIterator struct {
	Event *PolygonrollupmanagerRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerRoleAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerRoleAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerRoleGranted

type PolygonrollupmanagerRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerRoleGranted represents a RoleGranted event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerRoleGrantedIterator

type PolygonrollupmanagerRoleGrantedIterator struct {
	Event *PolygonrollupmanagerRoleGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerRoleGrantedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerRoleGrantedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerRoleRevoked

type PolygonrollupmanagerRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerRoleRevoked represents a RoleRevoked event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerRoleRevokedIterator

type PolygonrollupmanagerRoleRevokedIterator struct {
	Event *PolygonrollupmanagerRoleRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerRoleRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerRoleRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerRollbackBatches

type PolygonrollupmanagerRollbackBatches struct {
	RollupID               uint32
	TargetBatch            uint64
	AccInputHashToRollback [32]byte
	Raw                    types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerRollbackBatches represents a RollbackBatches event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerRollbackBatchesIterator

type PolygonrollupmanagerRollbackBatchesIterator struct {
	Event *PolygonrollupmanagerRollbackBatches // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerRollbackBatchesIterator is returned from FilterRollbackBatches and is used to iterate over the raw logs and unpacked data for RollbackBatches events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerRollbackBatchesIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerRollbackBatchesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerRollbackBatchesIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerSession

type PolygonrollupmanagerSession struct {
	Contract     *Polygonrollupmanager // Generic contract binding to set the session for
	CallOpts     bind.CallOpts         // Call options to use throughout this session
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

PolygonrollupmanagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PolygonrollupmanagerSession) ActivateEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerSession) ActivateEmergencyState() (*types.Transaction, error)

ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.

Solidity: function activateEmergencyState() returns()

func (*PolygonrollupmanagerSession) AddExistingRollup

func (_Polygonrollupmanager *PolygonrollupmanagerSession) AddExistingRollup(rollupAddress common.Address, verifier common.Address, forkID uint64, chainID uint64, initRoot [32]byte, rollupVerifierType uint8, programVKey [32]byte) (*types.Transaction, error)

AddExistingRollup is a paid mutator transaction binding the contract method 0x97bf07e8.

Solidity: function addExistingRollup(address rollupAddress, address verifier, uint64 forkID, uint64 chainID, bytes32 initRoot, uint8 rollupVerifierType, bytes32 programVKey) returns()

func (*PolygonrollupmanagerSession) AddNewRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerSession) AddNewRollupType(consensusImplementation common.Address, verifier common.Address, forkID uint64, rollupVerifierType uint8, genesis [32]byte, description string, programVKey [32]byte) (*types.Transaction, error)

AddNewRollupType is a paid mutator transaction binding the contract method 0xabcb5198.

Solidity: function addNewRollupType(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 genesis, string description, bytes32 programVKey) returns()

func (*PolygonrollupmanagerSession) BridgeAddress

func (_Polygonrollupmanager *PolygonrollupmanagerSession) BridgeAddress() (common.Address, error)

BridgeAddress is a free data retrieval call binding the contract method 0xa3c573eb.

Solidity: function bridgeAddress() view returns(address)

func (*PolygonrollupmanagerSession) CalculateRewardPerBatch

func (_Polygonrollupmanager *PolygonrollupmanagerSession) CalculateRewardPerBatch() (*big.Int, error)

CalculateRewardPerBatch is a free data retrieval call binding the contract method 0x99f5634e.

Solidity: function calculateRewardPerBatch() view returns(uint256)

func (*PolygonrollupmanagerSession) ChainIDToRollupID

func (_Polygonrollupmanager *PolygonrollupmanagerSession) ChainIDToRollupID(chainID uint64) (uint32, error)

ChainIDToRollupID is a free data retrieval call binding the contract method 0x7fb6e76a.

Solidity: function chainIDToRollupID(uint64 chainID) view returns(uint32 rollupID)

func (*PolygonrollupmanagerSession) CreateNewRollup

func (_Polygonrollupmanager *PolygonrollupmanagerSession) CreateNewRollup(rollupTypeID uint32, chainID uint64, admin common.Address, sequencer common.Address, gasTokenAddress common.Address, sequencerURL string, networkName string) (*types.Transaction, error)

CreateNewRollup is a paid mutator transaction binding the contract method 0x727885e9.

Solidity: function createNewRollup(uint32 rollupTypeID, uint64 chainID, address admin, address sequencer, address gasTokenAddress, string sequencerURL, string networkName) returns()

func (*PolygonrollupmanagerSession) DEFAULTADMINROLE

func (_Polygonrollupmanager *PolygonrollupmanagerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PolygonrollupmanagerSession) DeactivateEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerSession) DeactivateEmergencyState() (*types.Transaction, error)

DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.

Solidity: function deactivateEmergencyState() returns()

func (*PolygonrollupmanagerSession) GetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetBatchFee() (*big.Int, error)

GetBatchFee is a free data retrieval call binding the contract method 0x477fa270.

Solidity: function getBatchFee() view returns(uint256)

func (*PolygonrollupmanagerSession) GetForcedBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetForcedBatchFee() (*big.Int, error)

GetForcedBatchFee is a free data retrieval call binding the contract method 0x60469169.

Solidity: function getForcedBatchFee() view returns(uint256)

func (*PolygonrollupmanagerSession) GetInputPessimisticBytes

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetInputPessimisticBytes(rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte) ([]byte, error)

GetInputPessimisticBytes is a free data retrieval call binding the contract method 0x9e36c565.

Solidity: function getInputPessimisticBytes(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot) view returns(bytes)

func (*PolygonrollupmanagerSession) GetInputSnarkBytes

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetInputSnarkBytes(rollupID uint32, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, oldStateRoot [32]byte, newStateRoot [32]byte) ([]byte, error)

GetInputSnarkBytes is a free data retrieval call binding the contract method 0x7975fcfe.

Solidity: function getInputSnarkBytes(uint32 rollupID, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 oldStateRoot, bytes32 newStateRoot) view returns(bytes)

func (*PolygonrollupmanagerSession) GetLastVerifiedBatch

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetLastVerifiedBatch(rollupID uint32) (uint64, error)

GetLastVerifiedBatch is a free data retrieval call binding the contract method 0x11f6b287.

Solidity: function getLastVerifiedBatch(uint32 rollupID) view returns(uint64)

func (*PolygonrollupmanagerSession) GetRoleAdmin

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PolygonrollupmanagerSession) GetRollupBatchNumToStateRoot

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetRollupBatchNumToStateRoot(rollupID uint32, batchNum uint64) ([32]byte, error)

GetRollupBatchNumToStateRoot is a free data retrieval call binding the contract method 0x55a71ee0.

Solidity: function getRollupBatchNumToStateRoot(uint32 rollupID, uint64 batchNum) view returns(bytes32)

func (*PolygonrollupmanagerSession) GetRollupExitRoot

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetRollupExitRoot() ([32]byte, error)

GetRollupExitRoot is a free data retrieval call binding the contract method 0xa2967d99.

Solidity: function getRollupExitRoot() view returns(bytes32)

func (*PolygonrollupmanagerSession) GetRollupSequencedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GetRollupSequencedBatches(rollupID uint32, batchNum uint64) (LegacyZKEVMStateVariablesSequencedBatchData, error)

GetRollupSequencedBatches is a free data retrieval call binding the contract method 0x25280169.

Solidity: function getRollupSequencedBatches(uint32 rollupID, uint64 batchNum) view returns((bytes32,uint64,uint64))

func (*PolygonrollupmanagerSession) GlobalExitRootManager

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GlobalExitRootManager() (common.Address, error)

GlobalExitRootManager is a free data retrieval call binding the contract method 0xd02103ca.

Solidity: function globalExitRootManager() view returns(address)

func (*PolygonrollupmanagerSession) GrantRole

func (_Polygonrollupmanager *PolygonrollupmanagerSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerSession) HasRole

func (_Polygonrollupmanager *PolygonrollupmanagerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PolygonrollupmanagerSession) IsEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerSession) IsEmergencyState() (bool, error)

IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.

Solidity: function isEmergencyState() view returns(bool)

func (*PolygonrollupmanagerSession) LastAggregationTimestamp

func (_Polygonrollupmanager *PolygonrollupmanagerSession) LastAggregationTimestamp() (uint64, error)

LastAggregationTimestamp is a free data retrieval call binding the contract method 0xc1acbc34.

Solidity: function lastAggregationTimestamp() view returns(uint64)

func (*PolygonrollupmanagerSession) LastDeactivatedEmergencyStateTimestamp

func (_Polygonrollupmanager *PolygonrollupmanagerSession) LastDeactivatedEmergencyStateTimestamp() (uint64, error)

LastDeactivatedEmergencyStateTimestamp is a free data retrieval call binding the contract method 0x30c27dde.

Solidity: function lastDeactivatedEmergencyStateTimestamp() view returns(uint64)

func (*PolygonrollupmanagerSession) ObsoleteRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerSession) ObsoleteRollupType(rollupTypeID uint32) (*types.Transaction, error)

ObsoleteRollupType is a paid mutator transaction binding the contract method 0x7222020f.

Solidity: function obsoleteRollupType(uint32 rollupTypeID) returns()

func (*PolygonrollupmanagerSession) OnSequenceBatches

func (_Polygonrollupmanager *PolygonrollupmanagerSession) OnSequenceBatches(newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)

OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.

Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)

func (*PolygonrollupmanagerSession) Pol

func (_Polygonrollupmanager *PolygonrollupmanagerSession) Pol() (common.Address, error)

Pol is a free data retrieval call binding the contract method 0xe46761c4.

Solidity: function pol() view returns(address)

func (*PolygonrollupmanagerSession) RenounceRole

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerSession) RevokeRole

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerSession) RollbackBatches

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RollbackBatches(rollupContract common.Address, targetBatch uint64) (*types.Transaction, error)

RollbackBatches is a paid mutator transaction binding the contract method 0x8fd88cc2.

Solidity: function rollbackBatches(address rollupContract, uint64 targetBatch) returns()

func (*PolygonrollupmanagerSession) RollupAddressToID

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RollupAddressToID(rollupAddress common.Address) (uint32, error)

RollupAddressToID is a free data retrieval call binding the contract method 0xceee281d.

Solidity: function rollupAddressToID(address rollupAddress) view returns(uint32 rollupID)

func (*PolygonrollupmanagerSession) RollupCount

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RollupCount() (uint32, error)

RollupCount is a free data retrieval call binding the contract method 0xf4e92675.

Solidity: function rollupCount() view returns(uint32)

func (*PolygonrollupmanagerSession) RollupIDToRollupData

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RollupIDToRollupData(rollupID uint32) (PolygonRollupManagerRollupDataReturn, error)

RollupIDToRollupData is a free data retrieval call binding the contract method 0xf9c4c2ae.

Solidity: function rollupIDToRollupData(uint32 rollupID) view returns((address,uint64,address,uint64,bytes32,uint64,uint64,uint64,uint64,uint64,uint64,uint8) rollupData)

func (*PolygonrollupmanagerSession) RollupIDToRollupDataV2

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RollupIDToRollupDataV2(rollupID uint32) (PolygonRollupManagerRollupDataReturnV2, error)

RollupIDToRollupDataV2 is a free data retrieval call binding the contract method 0x74d9c244.

Solidity: function rollupIDToRollupDataV2(uint32 rollupID) view returns((address,uint64,address,uint64,bytes32,uint64,uint64,uint64,uint64,uint8,bytes32,bytes32) rollupData)

func (*PolygonrollupmanagerSession) RollupTypeCount

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RollupTypeCount() (uint32, error)

RollupTypeCount is a free data retrieval call binding the contract method 0x1796a1ae.

Solidity: function rollupTypeCount() view returns(uint32)

func (*PolygonrollupmanagerSession) RollupTypeMap

func (_Polygonrollupmanager *PolygonrollupmanagerSession) RollupTypeMap(rollupTypeID uint32) (struct {
	ConsensusImplementation common.Address
	Verifier                common.Address
	ForkID                  uint64
	RollupVerifierType      uint8
	Obsolete                bool
	Genesis                 [32]byte
	ProgramVKey             [32]byte
}, error)

RollupTypeMap is a free data retrieval call binding the contract method 0x65c0504d.

Solidity: function rollupTypeMap(uint32 rollupTypeID) view returns(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bool obsolete, bytes32 genesis, bytes32 programVKey)

func (*PolygonrollupmanagerSession) SetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerSession) SetBatchFee(newBatchFee *big.Int) (*types.Transaction, error)

SetBatchFee is a paid mutator transaction binding the contract method 0xd5073f6f.

Solidity: function setBatchFee(uint256 newBatchFee) returns()

func (*PolygonrollupmanagerSession) TotalSequencedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerSession) TotalSequencedBatches() (uint64, error)

TotalSequencedBatches is a free data retrieval call binding the contract method 0x066ec012.

Solidity: function totalSequencedBatches() view returns(uint64)

func (*PolygonrollupmanagerSession) TotalVerifiedBatches

func (_Polygonrollupmanager *PolygonrollupmanagerSession) TotalVerifiedBatches() (uint64, error)

TotalVerifiedBatches is a free data retrieval call binding the contract method 0xdde0ff77.

Solidity: function totalVerifiedBatches() view returns(uint64)

func (*PolygonrollupmanagerSession) UpdateRollup

func (_Polygonrollupmanager *PolygonrollupmanagerSession) UpdateRollup(rollupContract common.Address, newRollupTypeID uint32, upgradeData []byte) (*types.Transaction, error)

UpdateRollup is a paid mutator transaction binding the contract method 0xc4c928c2.

Solidity: function updateRollup(address rollupContract, uint32 newRollupTypeID, bytes upgradeData) returns()

func (*PolygonrollupmanagerSession) UpdateRollupByRollupAdmin

func (_Polygonrollupmanager *PolygonrollupmanagerSession) UpdateRollupByRollupAdmin(rollupContract common.Address, newRollupTypeID uint32) (*types.Transaction, error)

UpdateRollupByRollupAdmin is a paid mutator transaction binding the contract method 0xdfdb8c5e.

Solidity: function updateRollupByRollupAdmin(address rollupContract, uint32 newRollupTypeID) returns()

func (*PolygonrollupmanagerSession) VerifyBatchesTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerSession) VerifyBatchesTrustedAggregator(rollupID uint32, pendingStateNum uint64, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, beneficiary common.Address, proof [24][32]byte) (*types.Transaction, error)

VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x1489ed10.

Solidity: function verifyBatchesTrustedAggregator(uint32 rollupID, uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, address beneficiary, bytes32[24] proof) returns()

func (*PolygonrollupmanagerSession) VerifyPessimisticTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerSession) VerifyPessimisticTrustedAggregator(rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte, proof []byte) (*types.Transaction, error)

VerifyPessimisticTrustedAggregator is a paid mutator transaction binding the contract method 0xe4a4b6a2.

Solidity: function verifyPessimisticTrustedAggregator(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot, bytes proof) returns()

type PolygonrollupmanagerSetBatchFee

type PolygonrollupmanagerSetBatchFee struct {
	NewBatchFee *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerSetBatchFee represents a SetBatchFee event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerSetBatchFeeIterator

type PolygonrollupmanagerSetBatchFeeIterator struct {
	Event *PolygonrollupmanagerSetBatchFee // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerSetBatchFeeIterator is returned from FilterSetBatchFee and is used to iterate over the raw logs and unpacked data for SetBatchFee events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerSetBatchFeeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerSetBatchFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerSetBatchFeeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerSetTrustedAggregator

type PolygonrollupmanagerSetTrustedAggregator struct {
	NewTrustedAggregator common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerSetTrustedAggregator represents a SetTrustedAggregator event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerSetTrustedAggregatorIterator

type PolygonrollupmanagerSetTrustedAggregatorIterator struct {
	Event *PolygonrollupmanagerSetTrustedAggregator // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerSetTrustedAggregatorIterator is returned from FilterSetTrustedAggregator and is used to iterate over the raw logs and unpacked data for SetTrustedAggregator events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerSetTrustedAggregatorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerSetTrustedAggregatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerSetTrustedAggregatorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerTransactor

type PolygonrollupmanagerTransactor struct {
	// contains filtered or unexported fields
}

PolygonrollupmanagerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPolygonrollupmanagerTransactor

func NewPolygonrollupmanagerTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonrollupmanagerTransactor, error)

NewPolygonrollupmanagerTransactor creates a new write-only instance of Polygonrollupmanager, bound to a specific deployed contract.

func (*PolygonrollupmanagerTransactor) ActivateEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) ActivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)

ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.

Solidity: function activateEmergencyState() returns()

func (*PolygonrollupmanagerTransactor) AddExistingRollup

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) AddExistingRollup(opts *bind.TransactOpts, rollupAddress common.Address, verifier common.Address, forkID uint64, chainID uint64, initRoot [32]byte, rollupVerifierType uint8, programVKey [32]byte) (*types.Transaction, error)

AddExistingRollup is a paid mutator transaction binding the contract method 0x97bf07e8.

Solidity: function addExistingRollup(address rollupAddress, address verifier, uint64 forkID, uint64 chainID, bytes32 initRoot, uint8 rollupVerifierType, bytes32 programVKey) returns()

func (*PolygonrollupmanagerTransactor) AddNewRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) AddNewRollupType(opts *bind.TransactOpts, consensusImplementation common.Address, verifier common.Address, forkID uint64, rollupVerifierType uint8, genesis [32]byte, description string, programVKey [32]byte) (*types.Transaction, error)

AddNewRollupType is a paid mutator transaction binding the contract method 0xabcb5198.

Solidity: function addNewRollupType(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 genesis, string description, bytes32 programVKey) returns()

func (*PolygonrollupmanagerTransactor) CreateNewRollup

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) CreateNewRollup(opts *bind.TransactOpts, rollupTypeID uint32, chainID uint64, admin common.Address, sequencer common.Address, gasTokenAddress common.Address, sequencerURL string, networkName string) (*types.Transaction, error)

CreateNewRollup is a paid mutator transaction binding the contract method 0x727885e9.

Solidity: function createNewRollup(uint32 rollupTypeID, uint64 chainID, address admin, address sequencer, address gasTokenAddress, string sequencerURL, string networkName) returns()

func (*PolygonrollupmanagerTransactor) DeactivateEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) DeactivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)

DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.

Solidity: function deactivateEmergencyState() returns()

func (*PolygonrollupmanagerTransactor) GrantRole

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerTransactor) ObsoleteRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) ObsoleteRollupType(opts *bind.TransactOpts, rollupTypeID uint32) (*types.Transaction, error)

ObsoleteRollupType is a paid mutator transaction binding the contract method 0x7222020f.

Solidity: function obsoleteRollupType(uint32 rollupTypeID) returns()

func (*PolygonrollupmanagerTransactor) OnSequenceBatches

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) OnSequenceBatches(opts *bind.TransactOpts, newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)

OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.

Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)

func (*PolygonrollupmanagerTransactor) RenounceRole

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerTransactor) RevokeRole

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerTransactor) RollbackBatches

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) RollbackBatches(opts *bind.TransactOpts, rollupContract common.Address, targetBatch uint64) (*types.Transaction, error)

RollbackBatches is a paid mutator transaction binding the contract method 0x8fd88cc2.

Solidity: function rollbackBatches(address rollupContract, uint64 targetBatch) returns()

func (*PolygonrollupmanagerTransactor) SetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) SetBatchFee(opts *bind.TransactOpts, newBatchFee *big.Int) (*types.Transaction, error)

SetBatchFee is a paid mutator transaction binding the contract method 0xd5073f6f.

Solidity: function setBatchFee(uint256 newBatchFee) returns()

func (*PolygonrollupmanagerTransactor) UpdateRollup

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) UpdateRollup(opts *bind.TransactOpts, rollupContract common.Address, newRollupTypeID uint32, upgradeData []byte) (*types.Transaction, error)

UpdateRollup is a paid mutator transaction binding the contract method 0xc4c928c2.

Solidity: function updateRollup(address rollupContract, uint32 newRollupTypeID, bytes upgradeData) returns()

func (*PolygonrollupmanagerTransactor) UpdateRollupByRollupAdmin

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) UpdateRollupByRollupAdmin(opts *bind.TransactOpts, rollupContract common.Address, newRollupTypeID uint32) (*types.Transaction, error)

UpdateRollupByRollupAdmin is a paid mutator transaction binding the contract method 0xdfdb8c5e.

Solidity: function updateRollupByRollupAdmin(address rollupContract, uint32 newRollupTypeID) returns()

func (*PolygonrollupmanagerTransactor) VerifyBatchesTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) VerifyBatchesTrustedAggregator(opts *bind.TransactOpts, rollupID uint32, pendingStateNum uint64, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, beneficiary common.Address, proof [24][32]byte) (*types.Transaction, error)

VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x1489ed10.

Solidity: function verifyBatchesTrustedAggregator(uint32 rollupID, uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, address beneficiary, bytes32[24] proof) returns()

func (*PolygonrollupmanagerTransactor) VerifyPessimisticTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerTransactor) VerifyPessimisticTrustedAggregator(opts *bind.TransactOpts, rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte, proof []byte) (*types.Transaction, error)

VerifyPessimisticTrustedAggregator is a paid mutator transaction binding the contract method 0xe4a4b6a2.

Solidity: function verifyPessimisticTrustedAggregator(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot, bytes proof) returns()

type PolygonrollupmanagerTransactorRaw

type PolygonrollupmanagerTransactorRaw struct {
	Contract *PolygonrollupmanagerTransactor // Generic write-only contract binding to access the raw methods on
}

PolygonrollupmanagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PolygonrollupmanagerTransactorRaw) Transact

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PolygonrollupmanagerTransactorRaw) Transfer

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type PolygonrollupmanagerTransactorSession

type PolygonrollupmanagerTransactorSession struct {
	Contract     *PolygonrollupmanagerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts               // Transaction auth options to use throughout this session
}

PolygonrollupmanagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PolygonrollupmanagerTransactorSession) ActivateEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) ActivateEmergencyState() (*types.Transaction, error)

ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.

Solidity: function activateEmergencyState() returns()

func (*PolygonrollupmanagerTransactorSession) AddExistingRollup

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) AddExistingRollup(rollupAddress common.Address, verifier common.Address, forkID uint64, chainID uint64, initRoot [32]byte, rollupVerifierType uint8, programVKey [32]byte) (*types.Transaction, error)

AddExistingRollup is a paid mutator transaction binding the contract method 0x97bf07e8.

Solidity: function addExistingRollup(address rollupAddress, address verifier, uint64 forkID, uint64 chainID, bytes32 initRoot, uint8 rollupVerifierType, bytes32 programVKey) returns()

func (*PolygonrollupmanagerTransactorSession) AddNewRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) AddNewRollupType(consensusImplementation common.Address, verifier common.Address, forkID uint64, rollupVerifierType uint8, genesis [32]byte, description string, programVKey [32]byte) (*types.Transaction, error)

AddNewRollupType is a paid mutator transaction binding the contract method 0xabcb5198.

Solidity: function addNewRollupType(address consensusImplementation, address verifier, uint64 forkID, uint8 rollupVerifierType, bytes32 genesis, string description, bytes32 programVKey) returns()

func (*PolygonrollupmanagerTransactorSession) CreateNewRollup

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) CreateNewRollup(rollupTypeID uint32, chainID uint64, admin common.Address, sequencer common.Address, gasTokenAddress common.Address, sequencerURL string, networkName string) (*types.Transaction, error)

CreateNewRollup is a paid mutator transaction binding the contract method 0x727885e9.

Solidity: function createNewRollup(uint32 rollupTypeID, uint64 chainID, address admin, address sequencer, address gasTokenAddress, string sequencerURL, string networkName) returns()

func (*PolygonrollupmanagerTransactorSession) DeactivateEmergencyState

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) DeactivateEmergencyState() (*types.Transaction, error)

DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.

Solidity: function deactivateEmergencyState() returns()

func (*PolygonrollupmanagerTransactorSession) GrantRole

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerTransactorSession) ObsoleteRollupType

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) ObsoleteRollupType(rollupTypeID uint32) (*types.Transaction, error)

ObsoleteRollupType is a paid mutator transaction binding the contract method 0x7222020f.

Solidity: function obsoleteRollupType(uint32 rollupTypeID) returns()

func (*PolygonrollupmanagerTransactorSession) OnSequenceBatches

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) OnSequenceBatches(newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)

OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.

Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)

func (*PolygonrollupmanagerTransactorSession) RenounceRole

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerTransactorSession) RevokeRole

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PolygonrollupmanagerTransactorSession) RollbackBatches

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) RollbackBatches(rollupContract common.Address, targetBatch uint64) (*types.Transaction, error)

RollbackBatches is a paid mutator transaction binding the contract method 0x8fd88cc2.

Solidity: function rollbackBatches(address rollupContract, uint64 targetBatch) returns()

func (*PolygonrollupmanagerTransactorSession) SetBatchFee

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) SetBatchFee(newBatchFee *big.Int) (*types.Transaction, error)

SetBatchFee is a paid mutator transaction binding the contract method 0xd5073f6f.

Solidity: function setBatchFee(uint256 newBatchFee) returns()

func (*PolygonrollupmanagerTransactorSession) UpdateRollup

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) UpdateRollup(rollupContract common.Address, newRollupTypeID uint32, upgradeData []byte) (*types.Transaction, error)

UpdateRollup is a paid mutator transaction binding the contract method 0xc4c928c2.

Solidity: function updateRollup(address rollupContract, uint32 newRollupTypeID, bytes upgradeData) returns()

func (*PolygonrollupmanagerTransactorSession) UpdateRollupByRollupAdmin

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) UpdateRollupByRollupAdmin(rollupContract common.Address, newRollupTypeID uint32) (*types.Transaction, error)

UpdateRollupByRollupAdmin is a paid mutator transaction binding the contract method 0xdfdb8c5e.

Solidity: function updateRollupByRollupAdmin(address rollupContract, uint32 newRollupTypeID) returns()

func (*PolygonrollupmanagerTransactorSession) VerifyBatchesTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) VerifyBatchesTrustedAggregator(rollupID uint32, pendingStateNum uint64, initNumBatch uint64, finalNewBatch uint64, newLocalExitRoot [32]byte, newStateRoot [32]byte, beneficiary common.Address, proof [24][32]byte) (*types.Transaction, error)

VerifyBatchesTrustedAggregator is a paid mutator transaction binding the contract method 0x1489ed10.

Solidity: function verifyBatchesTrustedAggregator(uint32 rollupID, uint64 pendingStateNum, uint64 initNumBatch, uint64 finalNewBatch, bytes32 newLocalExitRoot, bytes32 newStateRoot, address beneficiary, bytes32[24] proof) returns()

func (*PolygonrollupmanagerTransactorSession) VerifyPessimisticTrustedAggregator

func (_Polygonrollupmanager *PolygonrollupmanagerTransactorSession) VerifyPessimisticTrustedAggregator(rollupID uint32, selectedGlobalExitRoot [32]byte, newLocalExitRoot [32]byte, newPessimisticRoot [32]byte, proof []byte) (*types.Transaction, error)

VerifyPessimisticTrustedAggregator is a paid mutator transaction binding the contract method 0xe4a4b6a2.

Solidity: function verifyPessimisticTrustedAggregator(uint32 rollupID, bytes32 selectedGlobalExitRoot, bytes32 newLocalExitRoot, bytes32 newPessimisticRoot, bytes proof) returns()

type PolygonrollupmanagerUpdateRollup

type PolygonrollupmanagerUpdateRollup struct {
	RollupID                       uint32
	NewRollupTypeID                uint32
	LastVerifiedBatchBeforeUpgrade uint64
	Raw                            types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerUpdateRollup represents a UpdateRollup event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerUpdateRollupIterator

type PolygonrollupmanagerUpdateRollupIterator struct {
	Event *PolygonrollupmanagerUpdateRollup // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerUpdateRollupIterator is returned from FilterUpdateRollup and is used to iterate over the raw logs and unpacked data for UpdateRollup events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerUpdateRollupIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerUpdateRollupIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerUpdateRollupIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PolygonrollupmanagerVerifyBatchesTrustedAggregator

type PolygonrollupmanagerVerifyBatchesTrustedAggregator struct {
	RollupID   uint32
	NumBatch   uint64
	StateRoot  [32]byte
	ExitRoot   [32]byte
	Aggregator common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

PolygonrollupmanagerVerifyBatchesTrustedAggregator represents a VerifyBatchesTrustedAggregator event raised by the Polygonrollupmanager contract.

type PolygonrollupmanagerVerifyBatchesTrustedAggregatorIterator

type PolygonrollupmanagerVerifyBatchesTrustedAggregatorIterator struct {
	Event *PolygonrollupmanagerVerifyBatchesTrustedAggregator // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonrollupmanagerVerifyBatchesTrustedAggregatorIterator is returned from FilterVerifyBatchesTrustedAggregator and is used to iterate over the raw logs and unpacked data for VerifyBatchesTrustedAggregator events raised by the Polygonrollupmanager contract.

func (*PolygonrollupmanagerVerifyBatchesTrustedAggregatorIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonrollupmanagerVerifyBatchesTrustedAggregatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonrollupmanagerVerifyBatchesTrustedAggregatorIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL