@arbitrum/nitro-contracts 1.1.0-alpha.7 → 1.1.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.json +10 -0
- package/build/contracts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.json +215 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.json +183 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.json +30 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.json +30 -0
- package/build/contracts/src/bridge/AbsBridge.sol/AbsBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.json +26 -0
- package/build/contracts/src/bridge/AbsOutbox.sol/AbsOutbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/Bridge.sol/Bridge.json +2 -2
- package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.json +7 -2
- package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.json +39 -2
- package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.json +2 -2
- package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.dbg.json +4 -0
- package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.json +539 -0
- package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Bridge.sol/IERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.json +26 -0
- package/build/contracts/src/bridge/IEthBridge.sol/IEthBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IInbox.sol/IInbox.json +26 -0
- package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.dbg.json +1 -1
- package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.json +26 -0
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.json +13 -0
- package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +13 -0
- package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Inbox.sol/Inbox.json +39 -2
- package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +1 -1
- package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Outbox.sol/Outbox.json +2 -2
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +26 -2
- package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +1 -1
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +1 -1
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +2 -2
- package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +1 -1
- package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +1 -1
- package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +1 -1
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +1 -1
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +1 -1
- package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +1 -1
- package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +1 -1
- package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +1 -1
- package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +1 -1
- package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.dbg.json +1 -1
- package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +1 -1
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +1 -1
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +2 -2
- package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +2 -2
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +2 -2
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +1 -1
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +33 -2
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +1 -1
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +2 -2
- package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +1 -1
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +1 -1
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +20 -2
- package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +1 -1
- package/build/contracts/src/mocks/Simple.sol/Simple.json +2 -2
- package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +1 -1
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +1 -1
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +2 -2
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +1 -1
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +2 -2
- package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.dbg.json +4 -0
- package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.json +350 -0
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +1 -1
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.json +43 -0
- package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +1 -1
- package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +2 -2
- package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +2 -2
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +2 -2
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +2 -2
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +2 -2
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +2 -2
- package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.json +13 -0
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.json +39 -0
- package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +1 -1
- package/build/contracts/src/rollup/AbsRollupEventInbox.sol/AbsRollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +214 -83
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +4 -0
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +214 -0
- package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.json +2 -2
- package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +1 -1
- package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +2 -2
- package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +67 -24
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +2 -2
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +2 -2
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +2 -2
- package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +2 -2
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +2 -2
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +2 -2
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +2 -2
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +2 -2
- package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +1 -1
- package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +1 -1
- package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +1 -1
- package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +1 -1
- package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +1 -1
- package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +1 -1
- package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +1 -1
- package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +1 -1
- package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +1 -1
- package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +1 -1
- package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +1 -1
- package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +1 -1
- package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +1 -1
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +2 -2
- package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/EthVault.sol/EthVault.dbg.json +1 -1
- package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +2 -2
- package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +1 -1
- package/build/contracts/src/test-helpers/TestToken.sol/TestToken.dbg.json +4 -0
- package/build/contracts/src/test-helpers/TestToken.sol/TestToken.json +292 -0
- package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +1 -1
- package/package.json +9 -8
- package/src/bridge/AbsBridge.sol +1 -1
- package/src/bridge/AbsInbox.sol +27 -6
- package/src/bridge/AbsOutbox.sol +7 -0
- package/src/bridge/ERC20Bridge.sol +22 -5
- package/src/bridge/ERC20Inbox.sol +4 -1
- package/src/bridge/ERC20Outbox.sol +3 -0
- package/src/bridge/GasRefunder.sol +255 -0
- package/src/bridge/IERC20Bridge.sol +5 -3
- package/src/bridge/IInboxBase.sol +5 -0
- package/src/bridge/IOutbox.sol +2 -0
- package/src/bridge/ISequencerInbox.sol +2 -0
- package/src/bridge/Inbox.sol +2 -1
- package/src/bridge/Outbox.sol +4 -0
- package/src/bridge/SequencerInbox.sol +8 -4
- package/src/libraries/Constants.sol +0 -3
- package/src/libraries/Error.sol +3 -0
- package/src/mocks/InboxStub.sol +9 -0
- package/src/mocks/SequencerInboxStub.sol +3 -2
- package/src/mocks/Simple.sol +2 -1
- package/src/mocks/UpgradeExecutorMock.sol +82 -0
- package/src/node-interface/NodeInterface.sol +16 -0
- package/src/precompiles/ArbOwner.sol +6 -0
- package/src/precompiles/ArbOwnerPublic.sol +12 -0
- package/src/rollup/BridgeCreator.sol +90 -28
- package/src/rollup/DeployHelper.sol +149 -0
- package/src/rollup/RollupCreator.sol +124 -55
- package/src/test-helpers/TestToken.sol +16 -0
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.dbg.json +0 -4
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +0 -312
- package/build/contracts/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol/ERC20PresetFixedSupply.dbg.json +0 -4
- package/build/contracts/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol/ERC20PresetFixedSupply.json +0 -338
- package/build/contracts/src/rollup/AbsBridgeCreator.sol/AbsBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/AbsBridgeCreator.sol/AbsBridgeCreator.json +0 -167
- package/build/contracts/src/rollup/ERC20BridgeCreator.sol/ERC20BridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/ERC20BridgeCreator.sol/ERC20BridgeCreator.json +0 -248
- package/build/contracts/src/rollup/IBridgeCreator.sol/IBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IBridgeCreator.json +0 -109
- package/build/contracts/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.json +0 -185
- package/build/contracts/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.json +0 -180
- package/build/types/@openzeppelin/contracts/access/Ownable.ts +0 -175
- package/build/types/@openzeppelin/contracts/access/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/index.ts +0 -11
- package/build/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +0 -87
- package/build/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/interfaces/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +0 -108
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.ts +0 -108
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/Proxy.ts +0 -55
- package/build/types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +0 -87
- package/build/types/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.ts +0 -239
- package/build/types/@openzeppelin/contracts/proxy/beacon/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/index.ts +0 -12
- package/build/types/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.ts +0 -359
- package/build/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.ts +0 -278
- package/build/types/@openzeppelin/contracts/proxy/transparent/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.ts +0 -216
- package/build/types/@openzeppelin/contracts/proxy/utils/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/token/ERC20/ERC20.ts +0 -444
- package/build/types/@openzeppelin/contracts/token/ERC20/IERC20.ts +0 -322
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.ts +0 -507
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +0 -364
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/token/ERC20/index.ts +0 -9
- package/build/types/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.ts +0 -507
- package/build/types/@openzeppelin/contracts/token/ERC20/presets/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/token/index.ts +0 -5
- package/build/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +0 -175
- package/build/types/@openzeppelin/contracts-upgradeable/access/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/index.ts +0 -9
- package/build/types/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.ts +0 -111
- package/build/types/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +0 -322
- package/build/types/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/token/index.ts +0 -5
- package/build/types/@openzeppelin/index.ts +0 -7
- package/build/types/common.ts +0 -44
- package/build/types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +0 -78
- package/build/types/factories/@openzeppelin/contracts/access/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/index.ts +0 -7
- package/build/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +0 -39
- package/build/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/interfaces/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.ts +0 -71
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +0 -31
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +0 -39
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.ts +0 -169
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/index.ts +0 -8
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.ts +0 -211
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.ts +0 -228
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable__factory.ts +0 -115
- package/build/types/factories/@openzeppelin/contracts/proxy/utils/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +0 -349
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +0 -206
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory.ts +0 -327
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +0 -248
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/index.ts +0 -7
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply__factory.ts +0 -420
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/presets/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/token/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +0 -78
- package/build/types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/index.ts +0 -6
- package/build/types/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.ts +0 -65
- package/build/types/factories/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts +0 -209
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/index.ts +0 -4
- package/build/types/factories/@openzeppelin/index.ts +0 -5
- package/build/types/factories/index.ts +0 -5
- package/build/types/factories/src/bridge/AbsBridge__factory.ts +0 -612
- package/build/types/factories/src/bridge/AbsInbox__factory.ts +0 -455
- package/build/types/factories/src/bridge/AbsOutbox__factory.ts +0 -561
- package/build/types/factories/src/bridge/Bridge__factory.ts +0 -695
- package/build/types/factories/src/bridge/ERC20Bridge__factory.ts +0 -746
- package/build/types/factories/src/bridge/ERC20Inbox__factory.ts +0 -719
- package/build/types/factories/src/bridge/ERC20Outbox__factory.ts +0 -610
- package/build/types/factories/src/bridge/IBridge__factory.ts +0 -508
- package/build/types/factories/src/bridge/IDelayedMessageProvider__factory.ts +0 -62
- package/build/types/factories/src/bridge/IERC20Bridge__factory.ts +0 -576
- package/build/types/factories/src/bridge/IERC20Inbox__factory.ts +0 -461
- package/build/types/factories/src/bridge/IEthBridge__factory.ts +0 -553
- package/build/types/factories/src/bridge/IInboxBase__factory.ts +0 -324
- package/build/types/factories/src/bridge/IInbox__factory.ts +0 -647
- package/build/types/factories/src/bridge/IOutbox__factory.ts +0 -431
- package/build/types/factories/src/bridge/IOwnable__factory.ts +0 -36
- package/build/types/factories/src/bridge/ISequencerInbox__factory.ts +0 -666
- package/build/types/factories/src/bridge/Inbox__factory.ts +0 -999
- package/build/types/factories/src/bridge/Outbox__factory.ts +0 -591
- package/build/types/factories/src/bridge/SequencerInbox__factory.ts +0 -865
- package/build/types/factories/src/bridge/index.ts +0 -23
- package/build/types/factories/src/challenge/ChallengeManager__factory.ts +0 -720
- package/build/types/factories/src/challenge/IChallengeManager__factory.ts +0 -401
- package/build/types/factories/src/challenge/IChallengeResultReceiver__factory.ts +0 -53
- package/build/types/factories/src/challenge/index.ts +0 -6
- package/build/types/factories/src/index.ts +0 -12
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy__factory.ts +0 -128
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade__factory.ts +0 -88
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/index.ts +0 -5
- package/build/types/factories/src/libraries/DoubleLogicUUPSUpgradeable__factory.ts +0 -163
- package/build/types/factories/src/libraries/IGasRefunder__factory.ts +0 -55
- package/build/types/factories/src/libraries/UUPSNotUpgradeable__factory.ts +0 -97
- package/build/types/factories/src/libraries/index.ts +0 -7
- package/build/types/factories/src/mocks/BridgeStub__factory.ts +0 -612
- package/build/types/factories/src/mocks/BridgeUnproxied__factory.ts +0 -706
- package/build/types/factories/src/mocks/InboxStub__factory.ts +0 -702
- package/build/types/factories/src/mocks/MockResultReceiver__factory.ts +0 -244
- package/build/types/factories/src/mocks/ProxyAdminForBinding__factory.ts +0 -215
- package/build/types/factories/src/mocks/SequencerInboxStub__factory.ts +0 -938
- package/build/types/factories/src/mocks/SimpleProxy__factory.ts +0 -83
- package/build/types/factories/src/mocks/Simple__factory.ts +0 -287
- package/build/types/factories/src/mocks/SingleExecutionChallenge__factory.ts +0 -823
- package/build/types/factories/src/mocks/TimedOutChallengeManager__factory.ts +0 -724
- package/build/types/factories/src/mocks/index.ts +0 -13
- package/build/types/factories/src/node-interface/NodeInterfaceDebug__factory.ts +0 -82
- package/build/types/factories/src/node-interface/NodeInterface__factory.ts +0 -301
- package/build/types/factories/src/node-interface/index.ts +0 -5
- package/build/types/factories/src/osp/HashProofHelper__factory.ts +0 -216
- package/build/types/factories/src/osp/IOneStepProofEntry__factory.ts +0 -72
- package/build/types/factories/src/osp/IOneStepProver__factory.ts +0 -492
- package/build/types/factories/src/osp/OneStepProofEntry__factory.ts +0 -206
- package/build/types/factories/src/osp/OneStepProver0__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverHostIo__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverMath__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverMemory__factory.ts +0 -528
- package/build/types/factories/src/osp/index.ts +0 -11
- package/build/types/factories/src/precompiles/ArbAddressTable__factory.ts +0 -163
- package/build/types/factories/src/precompiles/ArbAggregator__factory.ts +0 -163
- package/build/types/factories/src/precompiles/ArbDebug__factory.ts +0 -208
- package/build/types/factories/src/precompiles/ArbFunctionTable__factory.ts +0 -92
- package/build/types/factories/src/precompiles/ArbGasInfo__factory.ts +0 -365
- package/build/types/factories/src/precompiles/ArbInfo__factory.ts +0 -64
- package/build/types/factories/src/precompiles/ArbOwnerPublic__factory.ts +0 -84
- package/build/types/factories/src/precompiles/ArbOwner__factory.ts +0 -393
- package/build/types/factories/src/precompiles/ArbRetryableTx__factory.ts +0 -321
- package/build/types/factories/src/precompiles/ArbStatistics__factory.ts +0 -64
- package/build/types/factories/src/precompiles/ArbSys__factory.ts +0 -389
- package/build/types/factories/src/precompiles/ArbosActs__factory.ts +0 -92
- package/build/types/factories/src/precompiles/ArbosTest__factory.ts +0 -39
- package/build/types/factories/src/precompiles/index.ts +0 -16
- package/build/types/factories/src/rollup/AbsBridgeCreator__factory.ts +0 -182
- package/build/types/factories/src/rollup/AbsRollupEventInbox__factory.ts +0 -125
- package/build/types/factories/src/rollup/BridgeCreator__factory.ts +0 -294
- package/build/types/factories/src/rollup/ERC20BridgeCreator__factory.ts +0 -299
- package/build/types/factories/src/rollup/ERC20RollupEventInbox__factory.ts +0 -170
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IBridgeCreator__factory.ts +0 -124
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator__factory.ts +0 -200
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IEthBridgeCreator__factory.ts +0 -195
- package/build/types/factories/src/rollup/IBridgeCreator.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/IRollupAdmin__factory.ts +0 -559
- package/build/types/factories/src/rollup/IRollupCore__factory.ts +0 -904
- package/build/types/factories/src/rollup/IRollupEventInbox__factory.ts +0 -83
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUserAbs__factory.ts +0 -1324
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUserERC20__factory.ts +0 -1458
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUser__factory.ts +0 -1443
- package/build/types/factories/src/rollup/IRollupLogic.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/RollupAdminLogic__factory.ts +0 -1859
- package/build/types/factories/src/rollup/RollupCore__factory.ts +0 -1066
- package/build/types/factories/src/rollup/RollupCreator__factory.ts +0 -463
- package/build/types/factories/src/rollup/RollupEventInbox__factory.ts +0 -166
- package/build/types/factories/src/rollup/RollupProxy__factory.ts +0 -277
- package/build/types/factories/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic__factory.ts +0 -1593
- package/build/types/factories/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic__factory.ts +0 -1767
- package/build/types/factories/src/rollup/RollupUserLogic.sol/RollupUserLogic__factory.ts +0 -1748
- package/build/types/factories/src/rollup/RollupUserLogic.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/ValidatorUtils__factory.ts +0 -430
- package/build/types/factories/src/rollup/ValidatorWalletCreator__factory.ts +0 -205
- package/build/types/factories/src/rollup/ValidatorWallet__factory.ts +0 -486
- package/build/types/factories/src/rollup/index.ts +0 -22
- package/build/types/factories/src/test-helpers/BridgeTester__factory.ts +0 -654
- package/build/types/factories/src/test-helpers/CryptographyPrimitivesTester__factory.ts +0 -111
- package/build/types/factories/src/test-helpers/EthVault__factory.ts +0 -95
- package/build/types/factories/src/test-helpers/MessageTester__factory.ts +0 -135
- package/build/types/factories/src/test-helpers/OutboxWithoutOptTester__factory.ts +0 -575
- package/build/types/factories/src/test-helpers/RollupMock__factory.ts +0 -100
- package/build/types/factories/src/test-helpers/ValueArrayTester__factory.ts +0 -69
- package/build/types/factories/src/test-helpers/index.ts +0 -10
- package/build/types/index.ts +0 -230
- package/build/types/src/bridge/AbsBridge.ts +0 -863
- package/build/types/src/bridge/AbsInbox.ts +0 -664
- package/build/types/src/bridge/AbsOutbox.ts +0 -700
- package/build/types/src/bridge/Bridge.ts +0 -934
- package/build/types/src/bridge/ERC20Bridge.ts +0 -970
- package/build/types/src/bridge/ERC20Inbox.ts +0 -869
- package/build/types/src/bridge/ERC20Outbox.ts +0 -722
- package/build/types/src/bridge/IBridge.ts +0 -799
- package/build/types/src/bridge/IDelayedMessageProvider.ts +0 -108
- package/build/types/src/bridge/IERC20Bridge.ts +0 -906
- package/build/types/src/bridge/IERC20Inbox.ts +0 -788
- package/build/types/src/bridge/IEthBridge.ts +0 -871
- package/build/types/src/bridge/IInbox.ts +0 -1081
- package/build/types/src/bridge/IInboxBase.ts +0 -583
- package/build/types/src/bridge/IOutbox.ts +0 -654
- package/build/types/src/bridge/IOwnable.ts +0 -81
- package/build/types/src/bridge/ISequencerInbox.ts +0 -1038
- package/build/types/src/bridge/Inbox.ts +0 -1279
- package/build/types/src/bridge/Outbox.ts +0 -700
- package/build/types/src/bridge/SequencerInbox.ts +0 -1138
- package/build/types/src/bridge/index.ts +0 -23
- package/build/types/src/challenge/ChallengeManager.ts +0 -889
- package/build/types/src/challenge/IChallengeManager.ts +0 -543
- package/build/types/src/challenge/IChallengeResultReceiver.ts +0 -115
- package/build/types/src/challenge/index.ts +0 -6
- package/build/types/src/index.ts +0 -21
- package/build/types/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.ts +0 -128
- package/build/types/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.ts +0 -128
- package/build/types/src/libraries/AdminFallbackProxy.sol/index.ts +0 -5
- package/build/types/src/libraries/DoubleLogicUUPSUpgradeable.ts +0 -314
- package/build/types/src/libraries/IGasRefunder.ts +0 -112
- package/build/types/src/libraries/UUPSNotUpgradeable.ts +0 -164
- package/build/types/src/libraries/index.ts +0 -8
- package/build/types/src/mocks/BridgeStub.ts +0 -887
- package/build/types/src/mocks/BridgeUnproxied.ts +0 -934
- package/build/types/src/mocks/InboxStub.ts +0 -1076
- package/build/types/src/mocks/MockResultReceiver.ts +0 -301
- package/build/types/src/mocks/ProxyAdminForBinding.ts +0 -359
- package/build/types/src/mocks/SequencerInboxStub.ts +0 -1173
- package/build/types/src/mocks/Simple.ts +0 -514
- package/build/types/src/mocks/SimpleProxy.ts +0 -55
- package/build/types/src/mocks/SingleExecutionChallenge.ts +0 -889
- package/build/types/src/mocks/TimedOutChallengeManager.ts +0 -883
- package/build/types/src/mocks/index.ts +0 -13
- package/build/types/src/node-interface/NodeInterface.ts +0 -502
- package/build/types/src/node-interface/NodeInterfaceDebug.ts +0 -137
- package/build/types/src/node-interface/index.ts +0 -5
- package/build/types/src/osp/HashProofHelper.ts +0 -308
- package/build/types/src/osp/IOneStepProofEntry.ts +0 -128
- package/build/types/src/osp/IOneStepProver.ts +0 -284
- package/build/types/src/osp/OneStepProofEntry.ts +0 -196
- package/build/types/src/osp/OneStepProver0.ts +0 -284
- package/build/types/src/osp/OneStepProverHostIo.ts +0 -284
- package/build/types/src/osp/OneStepProverMath.ts +0 -284
- package/build/types/src/osp/OneStepProverMemory.ts +0 -284
- package/build/types/src/osp/index.ts +0 -11
- package/build/types/src/precompiles/ArbAddressTable.ts +0 -248
- package/build/types/src/precompiles/ArbAggregator.ts +0 -335
- package/build/types/src/precompiles/ArbDebug.ts +0 -292
- package/build/types/src/precompiles/ArbFunctionTable.ts +0 -150
- package/build/types/src/precompiles/ArbGasInfo.ts +0 -536
- package/build/types/src/precompiles/ArbInfo.ts +0 -105
- package/build/types/src/precompiles/ArbOwner.ts +0 -928
- package/build/types/src/precompiles/ArbOwnerPublic.ts +0 -157
- package/build/types/src/precompiles/ArbRetryableTx.ts +0 -467
- package/build/types/src/precompiles/ArbStatistics.ts +0 -93
- package/build/types/src/precompiles/ArbSys.ts +0 -553
- package/build/types/src/precompiles/ArbosActs.ts +0 -173
- package/build/types/src/precompiles/ArbosTest.ts +0 -97
- package/build/types/src/precompiles/index.ts +0 -16
- package/build/types/src/rollup/AbsBridgeCreator.ts +0 -348
- package/build/types/src/rollup/AbsRollupEventInbox.ts +0 -218
- package/build/types/src/rollup/BridgeCreator.ts +0 -415
- package/build/types/src/rollup/ERC20BridgeCreator.ts +0 -420
- package/build/types/src/rollup/ERC20RollupEventInbox.ts +0 -218
- package/build/types/src/rollup/IBridgeCreator.sol/IBridgeCreator.ts +0 -231
- package/build/types/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.ts +0 -303
- package/build/types/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.ts +0 -298
- package/build/types/src/rollup/IBridgeCreator.sol/index.ts +0 -6
- package/build/types/src/rollup/IRollupAdmin.ts +0 -1003
- package/build/types/src/rollup/IRollupCore.ts +0 -1183
- package/build/types/src/rollup/IRollupEventInbox.ts +0 -167
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUser.ts +0 -2022
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUserAbs.ts +0 -1901
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUserERC20.ts +0 -2036
- package/build/types/src/rollup/IRollupLogic.sol/index.ts +0 -6
- package/build/types/src/rollup/RollupAdminLogic.ts +0 -2593
- package/build/types/src/rollup/RollupCore.ts +0 -1406
- package/build/types/src/rollup/RollupCreator.ts +0 -592
- package/build/types/src/rollup/RollupEventInbox.ts +0 -218
- package/build/types/src/rollup/RollupProxy.ts +0 -285
- package/build/types/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.ts +0 -2282
- package/build/types/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.ts +0 -2417
- package/build/types/src/rollup/RollupUserLogic.sol/RollupUserLogic.ts +0 -2403
- package/build/types/src/rollup/RollupUserLogic.sol/index.ts +0 -6
- package/build/types/src/rollup/ValidatorUtils.ts +0 -561
- package/build/types/src/rollup/ValidatorWallet.ts +0 -751
- package/build/types/src/rollup/ValidatorWalletCreator.ts +0 -294
- package/build/types/src/rollup/index.ts +0 -25
- package/build/types/src/test-helpers/BridgeTester.ts +0 -899
- package/build/types/src/test-helpers/CryptographyPrimitivesTester.ts +0 -141
- package/build/types/src/test-helpers/EthVault.ts +0 -141
- package/build/types/src/test-helpers/MessageTester.ts +0 -182
- package/build/types/src/test-helpers/OutboxWithoutOptTester.ts +0 -700
- package/build/types/src/test-helpers/RollupMock.ts +0 -164
- package/build/types/src/test-helpers/ValueArrayTester.ts +0 -81
- package/build/types/src/test-helpers/index.ts +0 -10
- package/src/rollup/AbsBridgeCreator.sol +0 -117
- package/src/rollup/ERC20BridgeCreator.sol +0 -48
- package/src/rollup/IBridgeCreator.sol +0 -64
@@ -1,938 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
5
|
-
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
6
|
-
import type {
|
7
|
-
SequencerInboxStub,
|
8
|
-
SequencerInboxStubInterface,
|
9
|
-
ISequencerInbox,
|
10
|
-
} from "../../../src/mocks/SequencerInboxStub";
|
11
|
-
|
12
|
-
const _abi = [
|
13
|
-
{
|
14
|
-
inputs: [
|
15
|
-
{
|
16
|
-
internalType: "contract IBridge",
|
17
|
-
name: "bridge_",
|
18
|
-
type: "address",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
internalType: "address",
|
22
|
-
name: "sequencer_",
|
23
|
-
type: "address",
|
24
|
-
},
|
25
|
-
{
|
26
|
-
components: [
|
27
|
-
{
|
28
|
-
internalType: "uint256",
|
29
|
-
name: "delayBlocks",
|
30
|
-
type: "uint256",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
internalType: "uint256",
|
34
|
-
name: "futureBlocks",
|
35
|
-
type: "uint256",
|
36
|
-
},
|
37
|
-
{
|
38
|
-
internalType: "uint256",
|
39
|
-
name: "delaySeconds",
|
40
|
-
type: "uint256",
|
41
|
-
},
|
42
|
-
{
|
43
|
-
internalType: "uint256",
|
44
|
-
name: "futureSeconds",
|
45
|
-
type: "uint256",
|
46
|
-
},
|
47
|
-
],
|
48
|
-
internalType: "struct ISequencerInbox.MaxTimeVariation",
|
49
|
-
name: "maxTimeVariation_",
|
50
|
-
type: "tuple",
|
51
|
-
},
|
52
|
-
],
|
53
|
-
stateMutability: "nonpayable",
|
54
|
-
type: "constructor",
|
55
|
-
},
|
56
|
-
{
|
57
|
-
inputs: [],
|
58
|
-
name: "AlreadyInit",
|
59
|
-
type: "error",
|
60
|
-
},
|
61
|
-
{
|
62
|
-
inputs: [
|
63
|
-
{
|
64
|
-
internalType: "bytes32",
|
65
|
-
name: "",
|
66
|
-
type: "bytes32",
|
67
|
-
},
|
68
|
-
],
|
69
|
-
name: "AlreadyValidDASKeyset",
|
70
|
-
type: "error",
|
71
|
-
},
|
72
|
-
{
|
73
|
-
inputs: [
|
74
|
-
{
|
75
|
-
internalType: "uint256",
|
76
|
-
name: "stored",
|
77
|
-
type: "uint256",
|
78
|
-
},
|
79
|
-
{
|
80
|
-
internalType: "uint256",
|
81
|
-
name: "received",
|
82
|
-
type: "uint256",
|
83
|
-
},
|
84
|
-
],
|
85
|
-
name: "BadSequencerNumber",
|
86
|
-
type: "error",
|
87
|
-
},
|
88
|
-
{
|
89
|
-
inputs: [],
|
90
|
-
name: "DataNotAuthenticated",
|
91
|
-
type: "error",
|
92
|
-
},
|
93
|
-
{
|
94
|
-
inputs: [
|
95
|
-
{
|
96
|
-
internalType: "uint256",
|
97
|
-
name: "dataLength",
|
98
|
-
type: "uint256",
|
99
|
-
},
|
100
|
-
{
|
101
|
-
internalType: "uint256",
|
102
|
-
name: "maxDataLength",
|
103
|
-
type: "uint256",
|
104
|
-
},
|
105
|
-
],
|
106
|
-
name: "DataTooLarge",
|
107
|
-
type: "error",
|
108
|
-
},
|
109
|
-
{
|
110
|
-
inputs: [],
|
111
|
-
name: "DelayedBackwards",
|
112
|
-
type: "error",
|
113
|
-
},
|
114
|
-
{
|
115
|
-
inputs: [],
|
116
|
-
name: "DelayedTooFar",
|
117
|
-
type: "error",
|
118
|
-
},
|
119
|
-
{
|
120
|
-
inputs: [],
|
121
|
-
name: "ForceIncludeBlockTooSoon",
|
122
|
-
type: "error",
|
123
|
-
},
|
124
|
-
{
|
125
|
-
inputs: [],
|
126
|
-
name: "ForceIncludeTimeTooSoon",
|
127
|
-
type: "error",
|
128
|
-
},
|
129
|
-
{
|
130
|
-
inputs: [],
|
131
|
-
name: "HadZeroInit",
|
132
|
-
type: "error",
|
133
|
-
},
|
134
|
-
{
|
135
|
-
inputs: [],
|
136
|
-
name: "IncorrectMessagePreimage",
|
137
|
-
type: "error",
|
138
|
-
},
|
139
|
-
{
|
140
|
-
inputs: [
|
141
|
-
{
|
142
|
-
internalType: "bytes32",
|
143
|
-
name: "",
|
144
|
-
type: "bytes32",
|
145
|
-
},
|
146
|
-
],
|
147
|
-
name: "NoSuchKeyset",
|
148
|
-
type: "error",
|
149
|
-
},
|
150
|
-
{
|
151
|
-
inputs: [],
|
152
|
-
name: "NotBatchPoster",
|
153
|
-
type: "error",
|
154
|
-
},
|
155
|
-
{
|
156
|
-
inputs: [],
|
157
|
-
name: "NotForked",
|
158
|
-
type: "error",
|
159
|
-
},
|
160
|
-
{
|
161
|
-
inputs: [],
|
162
|
-
name: "NotOrigin",
|
163
|
-
type: "error",
|
164
|
-
},
|
165
|
-
{
|
166
|
-
inputs: [
|
167
|
-
{
|
168
|
-
internalType: "address",
|
169
|
-
name: "sender",
|
170
|
-
type: "address",
|
171
|
-
},
|
172
|
-
{
|
173
|
-
internalType: "address",
|
174
|
-
name: "owner",
|
175
|
-
type: "address",
|
176
|
-
},
|
177
|
-
],
|
178
|
-
name: "NotOwner",
|
179
|
-
type: "error",
|
180
|
-
},
|
181
|
-
{
|
182
|
-
anonymous: false,
|
183
|
-
inputs: [
|
184
|
-
{
|
185
|
-
indexed: true,
|
186
|
-
internalType: "uint256",
|
187
|
-
name: "messageNum",
|
188
|
-
type: "uint256",
|
189
|
-
},
|
190
|
-
{
|
191
|
-
indexed: false,
|
192
|
-
internalType: "bytes",
|
193
|
-
name: "data",
|
194
|
-
type: "bytes",
|
195
|
-
},
|
196
|
-
],
|
197
|
-
name: "InboxMessageDelivered",
|
198
|
-
type: "event",
|
199
|
-
},
|
200
|
-
{
|
201
|
-
anonymous: false,
|
202
|
-
inputs: [
|
203
|
-
{
|
204
|
-
indexed: true,
|
205
|
-
internalType: "uint256",
|
206
|
-
name: "messageNum",
|
207
|
-
type: "uint256",
|
208
|
-
},
|
209
|
-
],
|
210
|
-
name: "InboxMessageDeliveredFromOrigin",
|
211
|
-
type: "event",
|
212
|
-
},
|
213
|
-
{
|
214
|
-
anonymous: false,
|
215
|
-
inputs: [
|
216
|
-
{
|
217
|
-
indexed: true,
|
218
|
-
internalType: "bytes32",
|
219
|
-
name: "keysetHash",
|
220
|
-
type: "bytes32",
|
221
|
-
},
|
222
|
-
],
|
223
|
-
name: "InvalidateKeyset",
|
224
|
-
type: "event",
|
225
|
-
},
|
226
|
-
{
|
227
|
-
anonymous: false,
|
228
|
-
inputs: [
|
229
|
-
{
|
230
|
-
indexed: true,
|
231
|
-
internalType: "uint256",
|
232
|
-
name: "id",
|
233
|
-
type: "uint256",
|
234
|
-
},
|
235
|
-
],
|
236
|
-
name: "OwnerFunctionCalled",
|
237
|
-
type: "event",
|
238
|
-
},
|
239
|
-
{
|
240
|
-
anonymous: false,
|
241
|
-
inputs: [
|
242
|
-
{
|
243
|
-
indexed: true,
|
244
|
-
internalType: "uint256",
|
245
|
-
name: "batchSequenceNumber",
|
246
|
-
type: "uint256",
|
247
|
-
},
|
248
|
-
{
|
249
|
-
indexed: false,
|
250
|
-
internalType: "bytes",
|
251
|
-
name: "data",
|
252
|
-
type: "bytes",
|
253
|
-
},
|
254
|
-
],
|
255
|
-
name: "SequencerBatchData",
|
256
|
-
type: "event",
|
257
|
-
},
|
258
|
-
{
|
259
|
-
anonymous: false,
|
260
|
-
inputs: [
|
261
|
-
{
|
262
|
-
indexed: true,
|
263
|
-
internalType: "uint256",
|
264
|
-
name: "batchSequenceNumber",
|
265
|
-
type: "uint256",
|
266
|
-
},
|
267
|
-
{
|
268
|
-
indexed: true,
|
269
|
-
internalType: "bytes32",
|
270
|
-
name: "beforeAcc",
|
271
|
-
type: "bytes32",
|
272
|
-
},
|
273
|
-
{
|
274
|
-
indexed: true,
|
275
|
-
internalType: "bytes32",
|
276
|
-
name: "afterAcc",
|
277
|
-
type: "bytes32",
|
278
|
-
},
|
279
|
-
{
|
280
|
-
indexed: false,
|
281
|
-
internalType: "bytes32",
|
282
|
-
name: "delayedAcc",
|
283
|
-
type: "bytes32",
|
284
|
-
},
|
285
|
-
{
|
286
|
-
indexed: false,
|
287
|
-
internalType: "uint256",
|
288
|
-
name: "afterDelayedMessagesRead",
|
289
|
-
type: "uint256",
|
290
|
-
},
|
291
|
-
{
|
292
|
-
components: [
|
293
|
-
{
|
294
|
-
internalType: "uint64",
|
295
|
-
name: "minTimestamp",
|
296
|
-
type: "uint64",
|
297
|
-
},
|
298
|
-
{
|
299
|
-
internalType: "uint64",
|
300
|
-
name: "maxTimestamp",
|
301
|
-
type: "uint64",
|
302
|
-
},
|
303
|
-
{
|
304
|
-
internalType: "uint64",
|
305
|
-
name: "minBlockNumber",
|
306
|
-
type: "uint64",
|
307
|
-
},
|
308
|
-
{
|
309
|
-
internalType: "uint64",
|
310
|
-
name: "maxBlockNumber",
|
311
|
-
type: "uint64",
|
312
|
-
},
|
313
|
-
],
|
314
|
-
indexed: false,
|
315
|
-
internalType: "struct ISequencerInbox.TimeBounds",
|
316
|
-
name: "timeBounds",
|
317
|
-
type: "tuple",
|
318
|
-
},
|
319
|
-
{
|
320
|
-
indexed: false,
|
321
|
-
internalType: "enum ISequencerInbox.BatchDataLocation",
|
322
|
-
name: "dataLocation",
|
323
|
-
type: "uint8",
|
324
|
-
},
|
325
|
-
],
|
326
|
-
name: "SequencerBatchDelivered",
|
327
|
-
type: "event",
|
328
|
-
},
|
329
|
-
{
|
330
|
-
anonymous: false,
|
331
|
-
inputs: [
|
332
|
-
{
|
333
|
-
indexed: true,
|
334
|
-
internalType: "bytes32",
|
335
|
-
name: "keysetHash",
|
336
|
-
type: "bytes32",
|
337
|
-
},
|
338
|
-
{
|
339
|
-
indexed: false,
|
340
|
-
internalType: "bytes",
|
341
|
-
name: "keysetBytes",
|
342
|
-
type: "bytes",
|
343
|
-
},
|
344
|
-
],
|
345
|
-
name: "SetValidKeyset",
|
346
|
-
type: "event",
|
347
|
-
},
|
348
|
-
{
|
349
|
-
inputs: [],
|
350
|
-
name: "DATA_AUTHENTICATED_FLAG",
|
351
|
-
outputs: [
|
352
|
-
{
|
353
|
-
internalType: "bytes1",
|
354
|
-
name: "",
|
355
|
-
type: "bytes1",
|
356
|
-
},
|
357
|
-
],
|
358
|
-
stateMutability: "view",
|
359
|
-
type: "function",
|
360
|
-
},
|
361
|
-
{
|
362
|
-
inputs: [],
|
363
|
-
name: "HEADER_LENGTH",
|
364
|
-
outputs: [
|
365
|
-
{
|
366
|
-
internalType: "uint256",
|
367
|
-
name: "",
|
368
|
-
type: "uint256",
|
369
|
-
},
|
370
|
-
],
|
371
|
-
stateMutability: "view",
|
372
|
-
type: "function",
|
373
|
-
},
|
374
|
-
{
|
375
|
-
inputs: [
|
376
|
-
{
|
377
|
-
internalType: "uint256",
|
378
|
-
name: "chainId",
|
379
|
-
type: "uint256",
|
380
|
-
},
|
381
|
-
],
|
382
|
-
name: "addInitMessage",
|
383
|
-
outputs: [],
|
384
|
-
stateMutability: "nonpayable",
|
385
|
-
type: "function",
|
386
|
-
},
|
387
|
-
{
|
388
|
-
inputs: [
|
389
|
-
{
|
390
|
-
internalType: "uint256",
|
391
|
-
name: "sequenceNumber",
|
392
|
-
type: "uint256",
|
393
|
-
},
|
394
|
-
{
|
395
|
-
internalType: "bytes",
|
396
|
-
name: "data",
|
397
|
-
type: "bytes",
|
398
|
-
},
|
399
|
-
{
|
400
|
-
internalType: "uint256",
|
401
|
-
name: "afterDelayedMessagesRead",
|
402
|
-
type: "uint256",
|
403
|
-
},
|
404
|
-
{
|
405
|
-
internalType: "contract IGasRefunder",
|
406
|
-
name: "gasRefunder",
|
407
|
-
type: "address",
|
408
|
-
},
|
409
|
-
{
|
410
|
-
internalType: "uint256",
|
411
|
-
name: "prevMessageCount",
|
412
|
-
type: "uint256",
|
413
|
-
},
|
414
|
-
{
|
415
|
-
internalType: "uint256",
|
416
|
-
name: "newMessageCount",
|
417
|
-
type: "uint256",
|
418
|
-
},
|
419
|
-
],
|
420
|
-
name: "addSequencerL2Batch",
|
421
|
-
outputs: [],
|
422
|
-
stateMutability: "nonpayable",
|
423
|
-
type: "function",
|
424
|
-
},
|
425
|
-
{
|
426
|
-
inputs: [
|
427
|
-
{
|
428
|
-
internalType: "uint256",
|
429
|
-
name: "sequenceNumber",
|
430
|
-
type: "uint256",
|
431
|
-
},
|
432
|
-
{
|
433
|
-
internalType: "bytes",
|
434
|
-
name: "data",
|
435
|
-
type: "bytes",
|
436
|
-
},
|
437
|
-
{
|
438
|
-
internalType: "uint256",
|
439
|
-
name: "afterDelayedMessagesRead",
|
440
|
-
type: "uint256",
|
441
|
-
},
|
442
|
-
{
|
443
|
-
internalType: "contract IGasRefunder",
|
444
|
-
name: "gasRefunder",
|
445
|
-
type: "address",
|
446
|
-
},
|
447
|
-
],
|
448
|
-
name: "addSequencerL2BatchFromOrigin",
|
449
|
-
outputs: [],
|
450
|
-
stateMutability: "nonpayable",
|
451
|
-
type: "function",
|
452
|
-
},
|
453
|
-
{
|
454
|
-
inputs: [
|
455
|
-
{
|
456
|
-
internalType: "uint256",
|
457
|
-
name: "sequenceNumber",
|
458
|
-
type: "uint256",
|
459
|
-
},
|
460
|
-
{
|
461
|
-
internalType: "bytes",
|
462
|
-
name: "data",
|
463
|
-
type: "bytes",
|
464
|
-
},
|
465
|
-
{
|
466
|
-
internalType: "uint256",
|
467
|
-
name: "afterDelayedMessagesRead",
|
468
|
-
type: "uint256",
|
469
|
-
},
|
470
|
-
{
|
471
|
-
internalType: "contract IGasRefunder",
|
472
|
-
name: "gasRefunder",
|
473
|
-
type: "address",
|
474
|
-
},
|
475
|
-
{
|
476
|
-
internalType: "uint256",
|
477
|
-
name: "prevMessageCount",
|
478
|
-
type: "uint256",
|
479
|
-
},
|
480
|
-
{
|
481
|
-
internalType: "uint256",
|
482
|
-
name: "newMessageCount",
|
483
|
-
type: "uint256",
|
484
|
-
},
|
485
|
-
],
|
486
|
-
name: "addSequencerL2BatchFromOrigin",
|
487
|
-
outputs: [],
|
488
|
-
stateMutability: "nonpayable",
|
489
|
-
type: "function",
|
490
|
-
},
|
491
|
-
{
|
492
|
-
inputs: [],
|
493
|
-
name: "batchCount",
|
494
|
-
outputs: [
|
495
|
-
{
|
496
|
-
internalType: "uint256",
|
497
|
-
name: "",
|
498
|
-
type: "uint256",
|
499
|
-
},
|
500
|
-
],
|
501
|
-
stateMutability: "view",
|
502
|
-
type: "function",
|
503
|
-
},
|
504
|
-
{
|
505
|
-
inputs: [],
|
506
|
-
name: "bridge",
|
507
|
-
outputs: [
|
508
|
-
{
|
509
|
-
internalType: "contract IBridge",
|
510
|
-
name: "",
|
511
|
-
type: "address",
|
512
|
-
},
|
513
|
-
],
|
514
|
-
stateMutability: "view",
|
515
|
-
type: "function",
|
516
|
-
},
|
517
|
-
{
|
518
|
-
inputs: [
|
519
|
-
{
|
520
|
-
internalType: "bytes32",
|
521
|
-
name: "",
|
522
|
-
type: "bytes32",
|
523
|
-
},
|
524
|
-
],
|
525
|
-
name: "dasKeySetInfo",
|
526
|
-
outputs: [
|
527
|
-
{
|
528
|
-
internalType: "bool",
|
529
|
-
name: "isValidKeyset",
|
530
|
-
type: "bool",
|
531
|
-
},
|
532
|
-
{
|
533
|
-
internalType: "uint64",
|
534
|
-
name: "creationBlock",
|
535
|
-
type: "uint64",
|
536
|
-
},
|
537
|
-
],
|
538
|
-
stateMutability: "view",
|
539
|
-
type: "function",
|
540
|
-
},
|
541
|
-
{
|
542
|
-
inputs: [
|
543
|
-
{
|
544
|
-
internalType: "uint256",
|
545
|
-
name: "_totalDelayedMessagesRead",
|
546
|
-
type: "uint256",
|
547
|
-
},
|
548
|
-
{
|
549
|
-
internalType: "uint8",
|
550
|
-
name: "kind",
|
551
|
-
type: "uint8",
|
552
|
-
},
|
553
|
-
{
|
554
|
-
internalType: "uint64[2]",
|
555
|
-
name: "l1BlockAndTime",
|
556
|
-
type: "uint64[2]",
|
557
|
-
},
|
558
|
-
{
|
559
|
-
internalType: "uint256",
|
560
|
-
name: "baseFeeL1",
|
561
|
-
type: "uint256",
|
562
|
-
},
|
563
|
-
{
|
564
|
-
internalType: "address",
|
565
|
-
name: "sender",
|
566
|
-
type: "address",
|
567
|
-
},
|
568
|
-
{
|
569
|
-
internalType: "bytes32",
|
570
|
-
name: "messageDataHash",
|
571
|
-
type: "bytes32",
|
572
|
-
},
|
573
|
-
],
|
574
|
-
name: "forceInclusion",
|
575
|
-
outputs: [],
|
576
|
-
stateMutability: "nonpayable",
|
577
|
-
type: "function",
|
578
|
-
},
|
579
|
-
{
|
580
|
-
inputs: [
|
581
|
-
{
|
582
|
-
internalType: "bytes32",
|
583
|
-
name: "ksHash",
|
584
|
-
type: "bytes32",
|
585
|
-
},
|
586
|
-
],
|
587
|
-
name: "getKeysetCreationBlock",
|
588
|
-
outputs: [
|
589
|
-
{
|
590
|
-
internalType: "uint256",
|
591
|
-
name: "",
|
592
|
-
type: "uint256",
|
593
|
-
},
|
594
|
-
],
|
595
|
-
stateMutability: "view",
|
596
|
-
type: "function",
|
597
|
-
},
|
598
|
-
{
|
599
|
-
inputs: [
|
600
|
-
{
|
601
|
-
internalType: "uint256",
|
602
|
-
name: "index",
|
603
|
-
type: "uint256",
|
604
|
-
},
|
605
|
-
],
|
606
|
-
name: "inboxAccs",
|
607
|
-
outputs: [
|
608
|
-
{
|
609
|
-
internalType: "bytes32",
|
610
|
-
name: "",
|
611
|
-
type: "bytes32",
|
612
|
-
},
|
613
|
-
],
|
614
|
-
stateMutability: "view",
|
615
|
-
type: "function",
|
616
|
-
},
|
617
|
-
{
|
618
|
-
inputs: [
|
619
|
-
{
|
620
|
-
internalType: "contract IBridge",
|
621
|
-
name: "bridge_",
|
622
|
-
type: "address",
|
623
|
-
},
|
624
|
-
{
|
625
|
-
components: [
|
626
|
-
{
|
627
|
-
internalType: "uint256",
|
628
|
-
name: "delayBlocks",
|
629
|
-
type: "uint256",
|
630
|
-
},
|
631
|
-
{
|
632
|
-
internalType: "uint256",
|
633
|
-
name: "futureBlocks",
|
634
|
-
type: "uint256",
|
635
|
-
},
|
636
|
-
{
|
637
|
-
internalType: "uint256",
|
638
|
-
name: "delaySeconds",
|
639
|
-
type: "uint256",
|
640
|
-
},
|
641
|
-
{
|
642
|
-
internalType: "uint256",
|
643
|
-
name: "futureSeconds",
|
644
|
-
type: "uint256",
|
645
|
-
},
|
646
|
-
],
|
647
|
-
internalType: "struct ISequencerInbox.MaxTimeVariation",
|
648
|
-
name: "maxTimeVariation_",
|
649
|
-
type: "tuple",
|
650
|
-
},
|
651
|
-
],
|
652
|
-
name: "initialize",
|
653
|
-
outputs: [],
|
654
|
-
stateMutability: "nonpayable",
|
655
|
-
type: "function",
|
656
|
-
},
|
657
|
-
{
|
658
|
-
inputs: [
|
659
|
-
{
|
660
|
-
internalType: "bytes32",
|
661
|
-
name: "ksHash",
|
662
|
-
type: "bytes32",
|
663
|
-
},
|
664
|
-
],
|
665
|
-
name: "invalidateKeysetHash",
|
666
|
-
outputs: [],
|
667
|
-
stateMutability: "nonpayable",
|
668
|
-
type: "function",
|
669
|
-
},
|
670
|
-
{
|
671
|
-
inputs: [
|
672
|
-
{
|
673
|
-
internalType: "address",
|
674
|
-
name: "",
|
675
|
-
type: "address",
|
676
|
-
},
|
677
|
-
],
|
678
|
-
name: "isBatchPoster",
|
679
|
-
outputs: [
|
680
|
-
{
|
681
|
-
internalType: "bool",
|
682
|
-
name: "",
|
683
|
-
type: "bool",
|
684
|
-
},
|
685
|
-
],
|
686
|
-
stateMutability: "view",
|
687
|
-
type: "function",
|
688
|
-
},
|
689
|
-
{
|
690
|
-
inputs: [
|
691
|
-
{
|
692
|
-
internalType: "address",
|
693
|
-
name: "",
|
694
|
-
type: "address",
|
695
|
-
},
|
696
|
-
],
|
697
|
-
name: "isSequencer",
|
698
|
-
outputs: [
|
699
|
-
{
|
700
|
-
internalType: "bool",
|
701
|
-
name: "",
|
702
|
-
type: "bool",
|
703
|
-
},
|
704
|
-
],
|
705
|
-
stateMutability: "view",
|
706
|
-
type: "function",
|
707
|
-
},
|
708
|
-
{
|
709
|
-
inputs: [
|
710
|
-
{
|
711
|
-
internalType: "bytes32",
|
712
|
-
name: "ksHash",
|
713
|
-
type: "bytes32",
|
714
|
-
},
|
715
|
-
],
|
716
|
-
name: "isValidKeysetHash",
|
717
|
-
outputs: [
|
718
|
-
{
|
719
|
-
internalType: "bool",
|
720
|
-
name: "",
|
721
|
-
type: "bool",
|
722
|
-
},
|
723
|
-
],
|
724
|
-
stateMutability: "view",
|
725
|
-
type: "function",
|
726
|
-
},
|
727
|
-
{
|
728
|
-
inputs: [],
|
729
|
-
name: "maxTimeVariation",
|
730
|
-
outputs: [
|
731
|
-
{
|
732
|
-
internalType: "uint256",
|
733
|
-
name: "delayBlocks",
|
734
|
-
type: "uint256",
|
735
|
-
},
|
736
|
-
{
|
737
|
-
internalType: "uint256",
|
738
|
-
name: "futureBlocks",
|
739
|
-
type: "uint256",
|
740
|
-
},
|
741
|
-
{
|
742
|
-
internalType: "uint256",
|
743
|
-
name: "delaySeconds",
|
744
|
-
type: "uint256",
|
745
|
-
},
|
746
|
-
{
|
747
|
-
internalType: "uint256",
|
748
|
-
name: "futureSeconds",
|
749
|
-
type: "uint256",
|
750
|
-
},
|
751
|
-
],
|
752
|
-
stateMutability: "view",
|
753
|
-
type: "function",
|
754
|
-
},
|
755
|
-
{
|
756
|
-
inputs: [],
|
757
|
-
name: "removeDelayAfterFork",
|
758
|
-
outputs: [],
|
759
|
-
stateMutability: "nonpayable",
|
760
|
-
type: "function",
|
761
|
-
},
|
762
|
-
{
|
763
|
-
inputs: [],
|
764
|
-
name: "rollup",
|
765
|
-
outputs: [
|
766
|
-
{
|
767
|
-
internalType: "contract IOwnable",
|
768
|
-
name: "",
|
769
|
-
type: "address",
|
770
|
-
},
|
771
|
-
],
|
772
|
-
stateMutability: "view",
|
773
|
-
type: "function",
|
774
|
-
},
|
775
|
-
{
|
776
|
-
inputs: [
|
777
|
-
{
|
778
|
-
internalType: "address",
|
779
|
-
name: "addr",
|
780
|
-
type: "address",
|
781
|
-
},
|
782
|
-
{
|
783
|
-
internalType: "bool",
|
784
|
-
name: "isBatchPoster_",
|
785
|
-
type: "bool",
|
786
|
-
},
|
787
|
-
],
|
788
|
-
name: "setIsBatchPoster",
|
789
|
-
outputs: [],
|
790
|
-
stateMutability: "nonpayable",
|
791
|
-
type: "function",
|
792
|
-
},
|
793
|
-
{
|
794
|
-
inputs: [
|
795
|
-
{
|
796
|
-
internalType: "address",
|
797
|
-
name: "addr",
|
798
|
-
type: "address",
|
799
|
-
},
|
800
|
-
{
|
801
|
-
internalType: "bool",
|
802
|
-
name: "isSequencer_",
|
803
|
-
type: "bool",
|
804
|
-
},
|
805
|
-
],
|
806
|
-
name: "setIsSequencer",
|
807
|
-
outputs: [],
|
808
|
-
stateMutability: "nonpayable",
|
809
|
-
type: "function",
|
810
|
-
},
|
811
|
-
{
|
812
|
-
inputs: [
|
813
|
-
{
|
814
|
-
components: [
|
815
|
-
{
|
816
|
-
internalType: "uint256",
|
817
|
-
name: "delayBlocks",
|
818
|
-
type: "uint256",
|
819
|
-
},
|
820
|
-
{
|
821
|
-
internalType: "uint256",
|
822
|
-
name: "futureBlocks",
|
823
|
-
type: "uint256",
|
824
|
-
},
|
825
|
-
{
|
826
|
-
internalType: "uint256",
|
827
|
-
name: "delaySeconds",
|
828
|
-
type: "uint256",
|
829
|
-
},
|
830
|
-
{
|
831
|
-
internalType: "uint256",
|
832
|
-
name: "futureSeconds",
|
833
|
-
type: "uint256",
|
834
|
-
},
|
835
|
-
],
|
836
|
-
internalType: "struct ISequencerInbox.MaxTimeVariation",
|
837
|
-
name: "maxTimeVariation_",
|
838
|
-
type: "tuple",
|
839
|
-
},
|
840
|
-
],
|
841
|
-
name: "setMaxTimeVariation",
|
842
|
-
outputs: [],
|
843
|
-
stateMutability: "nonpayable",
|
844
|
-
type: "function",
|
845
|
-
},
|
846
|
-
{
|
847
|
-
inputs: [
|
848
|
-
{
|
849
|
-
internalType: "bytes",
|
850
|
-
name: "keysetBytes",
|
851
|
-
type: "bytes",
|
852
|
-
},
|
853
|
-
],
|
854
|
-
name: "setValidKeyset",
|
855
|
-
outputs: [],
|
856
|
-
stateMutability: "nonpayable",
|
857
|
-
type: "function",
|
858
|
-
},
|
859
|
-
{
|
860
|
-
inputs: [],
|
861
|
-
name: "totalDelayedMessagesRead",
|
862
|
-
outputs: [
|
863
|
-
{
|
864
|
-
internalType: "uint256",
|
865
|
-
name: "",
|
866
|
-
type: "uint256",
|
867
|
-
},
|
868
|
-
],
|
869
|
-
stateMutability: "view",
|
870
|
-
type: "function",
|
871
|
-
},
|
872
|
-
];
|
873
|
-
|
874
|
-
const _bytecode =
|
875
|
-
"0x60e0604052306080524660a05262000022620000c1602090811b620019f717901c565b151560c0523480156200003457600080fd5b5060405162002b7b38038062002b7b833981016040819052620000579162000177565b600180546001600160a01b039485166001600160a01b03199182161782556002805490911633179055815160045560208083015160055560408084015160065560609093015160075592909316600090815260039092529020805460ff1916909117905562000268565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b1790529051600091829182916064916200010191906200022a565b600060405180830381855afa9150503d80600081146200013e576040519150601f19603f3d011682016040523d82523d6000602084013e62000143565b606091505b509150915081801562000157575080516020145b9250505090565b6001600160a01b03811681146200017457600080fd5b50565b600080600083850360c08112156200018e57600080fd5b84516200019b816200015e565b6020860151909450620001ae816200015e565b92506080603f1982011215620001c357600080fd5b50604051608081016001600160401b0381118282101715620001f557634e487b7160e01b600052604160045260246000fd5b806040525060408501518152606085015160208201526080850151604082015260a08501516060820152809150509250925092565b6000825160005b818110156200024d576020818601810151858301520162000231565b818111156200025d576000828501525b509190910192915050565b60805160a05160c0516128dc6200029f600039600081816112ec0152611c3701526000610fe40152600061048301526128dc6000f3fe608060405234801561001057600080fd5b50600436106101635760003560e01c80637fa3a40e116100ce578063d1ce8da811610087578063d1ce8da81461033f578063d9dd67ab14610352578063e0bc972914610365578063e5a358c814610378578063e78cea921461039c578063ebea461d146103af578063f1981578146103e557600080fd5b80637fa3a40e146102ca57806384420860146102d35780638f111f3c146102e657806396cc5c78146102f9578063b31761f814610301578063cb23bcb51461031457600080fd5b80636633ae85116101205780636633ae85146101f95780636d46e9871461020c5780636e7df3e71461022f5780636f12b0c914610242578063715ea34b1461025557806371c3e6fe146102a757600080fd5b806306f13056146101685780631637be48146101835780631f7a92b2146101b65780631f956632146101cb578063258f0495146101de57806327957a49146101f1575b600080fd5b6101706103f8565b6040519081526020015b60405180910390f35b6101a6610191366004612107565b60009081526008602052604090205460ff1690565b604051901515815260200161017a565b6101c96101c4366004612138565b610478565b005b6101c96101d9366004612187565b610630565b6101706101ec366004612107565b610736565b610170602881565b6101c9610207366004612107565b61079f565b6101a661021a3660046121c0565b60096020526000908152604090205460ff1681565b6101c961023d366004612187565b61098a565b6101c961025036600461222c565b610a90565b610288610263366004612107565b60086020526000908152604090205460ff81169061010090046001600160401b031682565b6040805192151583526001600160401b0390911660208301520161017a565b6101a66102b53660046121c0565b60036020526000908152604090205460ff1681565b61017060005481565b6101c96102e1366004612107565b610c7f565b6101c96102f4366004612296565b610dd2565b6101c9610fe1565b6101c961030f366004612312565b611058565b600254610327906001600160a01b031681565b6040516001600160a01b03909116815260200161017a565b6101c961034d366004612385565b611158565b610170610360366004612107565b61143c565b6101c9610373366004612296565b6114bf565b610383600160fe1b81565b6040516001600160f81b0319909116815260200161017a565b600154610327906001600160a01b031681565b6004546005546006546007546103c59392919084565b60408051948552602085019390935291830152606082015260800161017a565b6101c96103f33660046123c6565b611614565b600154604080516221048360e21b815290516000926001600160a01b0316916284120c916004808301926020929190829003018186803b15801561043b57600080fd5b505afa15801561044f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104739190612436565b905090565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561050b5760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b60648201526084015b60405180910390fd5b6001546001600160a01b03161561053557604051633bcd329760e21b815260040160405180910390fd5b6001600160a01b03821661055c57604051631ad0f74360e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0384169081179091556040805163cb23bcb560e01b8152905163cb23bcb591600480820192602092909190829003018186803b1580156105b057600080fd5b505afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e8919061244f565b600280546001600160a01b0319166001600160a01b03929092169190911790558035600490815560208201356005556040820135600655606082013560075581905b50505050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561067e57600080fd5b505afa158015610692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b6919061244f565b6001600160a01b0316336001600160a01b0316146106f857600254604051631194af8760e11b81526105029133916001600160a01b039091169060040161246c565b6001600160a01b038216600090815260096020526040808220805460ff19168415151790555160049160008051602061288783398151915291a25050565b600081815260086020908152604080832081518083019092525460ff81161515825261010090046001600160401b03169181018290529061078c5760405162f20c5d60e01b815260048101849052602401610502565b602001516001600160401b031692915050565b6000816040516020016107b491815260200190565b60408051808303601f190181529082905260015481516020830120638db5993b60e01b8452600b6004850152600060248501819052604485019190915291935090916001600160a01b0390911690638db5993b90606401602060405180830381600087803b15801561082557600080fd5b505af1158015610839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085d9190612436565b905080156108a45760405162461bcd60e51b81526020600482015260146024820152731053149150511657d111531056515117d253925560621b6044820152606401610502565b807fff64905f73a67fb594e0f940a8075a860db489ad991e032f48c81123eb52d60b836040516108d491906124b2565b60405180910390a26000806108e96001611a8f565b915091506000806000806109038660016000806001611abb565b93509350935093508360001461094e5760405162461bcd60e51b815260206004820152601060248201526f1053149150511657d4d15457d253925560821b6044820152606401610502565b808385600080516020612867833981519152856000548a600260405161097794939291906124e5565b60405180910390a4505050505050505050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109d857600080fd5b505afa1580156109ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a10919061244f565b6001600160a01b0316336001600160a01b031614610a5257600254604051631194af8760e11b81526105029133916001600160a01b039091169060040161246c565b6001600160a01b038216600090815260036020526040808220805460ff19168415151790555160019160008051602061288783398151915291a25050565b8060005a9050333214610ab65760405163feb3d07160e01b815260040160405180910390fd5b3360009081526003602052604090205460ff16610ae657604051632dd9fc9760e01b815260040160405180910390fd5b600080610af4888888611ebb565b90925090506000808080610b0b868b8d8480611abb565b93509350935093508c8414610b3d5760405163ac7411c960e01b815260048101859052602481018e9052604401610502565b80838e600080516020612867833981519152856000548a6000604051610b6694939291906124e5565b60405180910390a4505050506001600160a01b038416159150610c769050573660006020610b9583601f61256f565b610b9f9190612587565b9050610200610baf60028361268d565b610bb99190612587565b610bc482600661269c565b610bce919061256f565b610bd8908461256f565b9250333214610be657600091505b836001600160a01b031663e3db8a49335a610c0190876126bb565b856040518463ffffffff1660e01b8152600401610c20939291906126d2565b602060405180830381600087803b158015610c3a57600080fd5b505af1158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7291906126f3565b5050505b50505050505050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ccd57600080fd5b505afa158015610ce1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d05919061244f565b6001600160a01b0316336001600160a01b031614610d4757600254604051631194af8760e11b81526105029133916001600160a01b039091169060040161246c565b60008181526008602052604090205460ff16610d785760405162f20c5d60e01b815260048101829052602401610502565b600081815260086020526040808220805460ff191690555182917f5cb4218b272fd214168ac43e90fb4d05d6c36f0b17ffb4c2dd07c234d744eb2a91a260405160039060008051602061288783398151915290600090a250565b8260005a9050333214610df85760405163feb3d07160e01b815260040160405180910390fd5b3360009081526003602052604090205460ff16610e2857604051632dd9fc9760e01b815260040160405180910390fd5b600080610e368a8a8a611ebb565b90925090508a81838b8b8a8a6000808080610e5489888a8989611abb565b93509350935093508a8414158015610e6e57506000198b14155b15610e965760405163ac7411c960e01b815260048101859052602481018c9052604401610502565b808385600080516020612867833981519152856000548f6000604051610ebf94939291906124e5565b60405180910390a4505050506001600160a01b038b16159850610fd6975050505050505050573660006020610ef583601f61256f565b610eff9190612587565b9050610200610f0f60028361268d565b610f199190612587565b610f2482600661269c565b610f2e919061256f565b610f38908461256f565b9250333214610f4657600091505b836001600160a01b031663e3db8a49335a610f6190876126bb565b856040518463ffffffff1660e01b8152600401610f80939291906126d2565b602060405180830381600087803b158015610f9a57600080fd5b505af1158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd291906126f3565b5050505b505050505050505050565b467f0000000000000000000000000000000000000000000000000000000000000000141561102257604051635180dd8360e11b815260040160405180910390fd5b60408051608081018252600180825260208201819052918101829052606001819052600481905560058190556006819055600755565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110a657600080fd5b505afa1580156110ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110de919061244f565b6001600160a01b0316336001600160a01b03161461112057600254604051631194af8760e11b81526105029133916001600160a01b039091169060040161246c565b80516004556020810151600555604080820151600655606082015160075551600090600080516020612887833981519152908290a250565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156111a657600080fd5b505afa1580156111ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111de919061244f565b6001600160a01b0316336001600160a01b03161461122057600254604051631194af8760e11b81526105029133916001600160a01b039091169060040161246c565b60008282604051611232929190612710565b604051908190038120607f60f91b6020830152602182015260410160408051601f1981840301815291905280516020909101209050600160ff1b81186201000083106112b65760405162461bcd60e51b81526020600482015260136024820152726b657973657420697320746f6f206c6172676560681b6044820152606401610502565b60008181526008602052604090205460ff16156112e957604051637d17eeed60e11b815260048101829052602401610502565b437f0000000000000000000000000000000000000000000000000000000000000000156113855760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561134a57600080fd5b505afa15801561135e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113829190612436565b90505b604080518082018252600181526001600160401b0383811660208084019182526000878152600890915284902092518354915168ffffffffffffffffff1990921690151568ffffffffffffffff0019161761010091909216021790555182907fabca9b7986bc22ad0160eb0cb88ae75411eacfba4052af0b457a9335ef655722906114139088908890612720565b60405180910390a260405160029060008051602061288783398151915290600090a25050505050565b6001546040516316bf557960e01b8152600481018390526000916001600160a01b0316906316bf55799060240160206040518083038186803b15801561148157600080fd5b505afa158015611495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b99190612436565b92915050565b8260005a3360009081526003602052604090205490915060ff161580156114f157506002546001600160a01b03163314155b1561150f57604051632dd9fc9760e01b815260040160405180910390fd5b60008061151d8a8a8a611ebb565b909250905060008b82848b8a8a86808061153a8787838888611abb565b929c5090945092509050888a1480159061155657506000198914155b1561157e5760405163ac7411c960e01b8152600481018b9052602481018a9052604401610502565b80838b600080516020612867833981519152856000548d60016040516115a794939291906124e5565b60405180910390a4505050505050505050807ffe325ca1efe4c5c1062c981c3ee74b781debe4ea9440306a96d2a55759c66c208c8c6040516115ea929190612720565b60405180910390a25050506001600160a01b03821615610fd6573660006020610ef583601f61256f565b600054861161163657604051633eb9f37d60e11b815260040160405180910390fd5b60006116e6868461164a6020890189612765565b61165a60408a0160208b01612765565b61166560018d6126bb565b6040805160f89690961b6001600160f81b03191660208088019190915260609590951b6001600160601b031916602187015260c093841b6001600160c01b031990811660358801529290931b909116603d85015260458401526065830188905260858084018790528151808503909101815260a59093019052815191012090565b60045490915043906116fb6020880188612765565b6001600160401b031661170e919061256f565b1061172c5760405163ad3515d960e01b815260040160405180910390fd5b60065442906117416040880160208901612765565b6001600160401b0316611754919061256f565b106117725760405163c76d17e560e01b815260040160405180910390fd5b6000600188111561180a576001546001600160a01b031663d5719dc261179960028b6126bb565b6040518263ffffffff1660e01b81526004016117b791815260200190565b60206040518083038186803b1580156117cf57600080fd5b505afa1580156117e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118079190612436565b90505b60408051602080820184905281830185905282518083038401815260609092019092528051910120600180546001600160a01b03169063d5719dc290611850908c6126bb565b6040518263ffffffff1660e01b815260040161186e91815260200190565b60206040518083038186803b15801561188657600080fd5b505afa15801561189a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118be9190612436565b146118dc576040516313947fd760e01b815260040160405180910390fd5b6000806118e88a611a8f565b9150915060008a90506000600160009054906101000a90046001600160a01b03166001600160a01b0316635fca4a166040518163ffffffff1660e01b815260040160206040518083038186803b15801561194157600080fd5b505afa158015611955573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119799190612436565b9050600080548d8361198b919061256f565b61199591906126bb565b90506000806000806119ab898860008989611abb565b9350935093509350808385600080516020612867833981519152856000548d60026040516119dc94939291906124e5565b60405180910390a45050505050505050505050505050505050565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b179052905160009182918291606491611a35919061278e565b600060405180830381855afa9150503d8060008114611a70576040519150601f19603f3d011682016040523d82523d6000602084013e611a75565b606091505b5091509150818015611a88575080516020145b9250505090565b6000611a996120e0565b600080611aa58561202e565b8151602090920191909120969095509350505050565b600080600080600054881015611ae457604051633eb9f37d60e11b815260040160405180910390fd5b600160009054906101000a90046001600160a01b03166001600160a01b031663eca067ad6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3257600080fd5b505afa158015611b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6a9190612436565b881115611b8a5760405163925f8bd360e01b815260040160405180910390fd5b60015460405163432cc52b60e11b8152600481018b9052602481018a905260448101889052606481018790526001600160a01b03909116906386598a5690608401608060405180830381600087803b158015611be557600080fd5b505af1158015611bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1d91906127aa565b60008c9055929650909450925090508615611eaf573360607f000000000000000000000000000000000000000000000000000000000000000015611d8a576000606c6001600160a01b031663c6f7de0e6040518163ffffffff1660e01b815260040160206040518083038186803b158015611c9757600080fd5b505afa158015611cab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ccf9190612436565b90506000611cdd4883612587565b90506001600160401b03811115611d2a5760405162461bcd60e51b8152602060048201526011602482015270130c57d1d054d7d393d517d55253950d8d607a1b6044820152606401610502565b60408051426020820152606086901b6001600160601b03191681830152605481018f9052607481018a905248609482015260c09290921b6001600160c01b03191660b48301528051609c81840301815260bc90920190529150611dd39050565b604080514260208201526001600160601b0319606085901b1691810191909152605481018c90526074810187905248609482015260b40160405160208183030381529060405290505b60015481516020830120604051637a88b10760e01b81526000926001600160a01b031691637a88b10791611e1f9187916004016001600160a01b03929092168252602082015260400190565b602060405180830381600087803b158015611e3957600080fd5b505af1158015611e4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e719190612436565b9050807fff64905f73a67fb594e0f940a8075a860db489ad991e032f48c81123eb52d60b83604051611ea391906124b2565b60405180910390a25050505b95509550955095915050565b6000611ec56120e0565b84846000611ed482602861256f565b90506201cccc811115611f0657604051634634691b60e01b8152600481018290526201cccc6024820152604401610502565b8115801590611f3e5750600160fe1b808484600081611f2757611f2761274f565b9050013560f81c60f81b166001600160f81b031916145b15611f5c57604051631f97007f60e01b815260040160405180910390fd5b60218210801590611f8a575082826000818110611f7b57611f7b61274f565b90910135600160ff1b16151590505b15611fde576000611f9f6021600185876127e0565b611fa89161280a565b60008181526008602052604090205490915060ff16611fdc5760405162f20c5d60e01b815260048101829052602401610502565b505b600080611fea8861202e565b915091506000828b8b60405160200161200593929190612828565b60408051808303601f1901815291905280516020909101209b919a509098505050505050505050565b60606120386120e0565b60006120426120d5565b905060008160000151826020015183604001518460600151886040516020016120aa95949392919060c095861b6001600160c01b0319908116825294861b8516600882015292851b8416601084015290841b8316601883015290921b16602082015260280190565b604051602081830303815290604052905060288151146120cc576120cc612850565b94909350915050565b6120dd6120e0565b90565b60408051608081018252600080825260208201819052918101829052606081019190915290565b60006020828403121561211957600080fd5b5035919050565b6001600160a01b038116811461213557600080fd5b50565b60008082840360a081121561214c57600080fd5b833561215781612120565b92506080601f198201121561216b57600080fd5b506020830190509250929050565b801515811461213557600080fd5b6000806040838503121561219a57600080fd5b82356121a581612120565b915060208301356121b581612179565b809150509250929050565b6000602082840312156121d257600080fd5b81356121dd81612120565b9392505050565b60008083601f8401126121f657600080fd5b5081356001600160401b0381111561220d57600080fd5b60208301915083602082850101111561222557600080fd5b9250929050565b60008060008060006080868803121561224457600080fd5b8535945060208601356001600160401b0381111561226157600080fd5b61226d888289016121e4565b90955093505060408601359150606086013561228881612120565b809150509295509295909350565b600080600080600080600060c0888a0312156122b157600080fd5b8735965060208801356001600160401b038111156122ce57600080fd5b6122da8a828b016121e4565b9097509550506040880135935060608801356122f581612120565b969995985093969295946080840135945060a09093013592915050565b60006080828403121561232457600080fd5b604051608081018181106001600160401b038211171561235457634e487b7160e01b600052604160045260246000fd5b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b6000806020838503121561239857600080fd5b82356001600160401b038111156123ae57600080fd5b6123ba858286016121e4565b90969095509350505050565b60008060008060008060e087890312156123df57600080fd5b86359550602087013560ff811681146123f757600080fd5b9450608087018881111561240a57600080fd5b60408801945035925060a087013561242181612120565b8092505060c087013590509295509295509295565b60006020828403121561244857600080fd5b5051919050565b60006020828403121561246157600080fd5b81516121dd81612120565b6001600160a01b0392831681529116602082015260400190565b60005b838110156124a1578181015183820152602001612489565b8381111561062a5750506000910152565b60208152600082518060208401526124d1816040850160208701612486565b601f01601f19169190910160400192915050565b600060e0820190508582528460208301526001600160401b038085511660408401528060208601511660608401528060408601511660808401528060608601511660a0840152506003831061254a57634e487b7160e01b600052602160045260246000fd5b8260c083015295945050505050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561258257612582612559565b500190565b6000826125a457634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156125e45781600019048211156125ca576125ca612559565b808516156125d757918102915b93841c93908002906125ae565b509250929050565b6000826125fb575060016114b9565b81612608575060006114b9565b816001811461261e576002811461262857612644565b60019150506114b9565b60ff84111561263957612639612559565b50506001821b6114b9565b5060208310610133831016604e8410600b8410161715612667575081810a6114b9565b61267183836125a9565b806000190482111561268557612685612559565b029392505050565b60006121dd60ff8416836125ec565b60008160001904831182151516156126b6576126b6612559565b500290565b6000828210156126cd576126cd612559565b500390565b6001600160a01b039390931683526020830191909152604082015260600190565b60006020828403121561270557600080fd5b81516121dd81612179565b8183823760009101908152919050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561277757600080fd5b81356001600160401b03811681146121dd57600080fd5b600082516127a0818460208701612486565b9190910192915050565b600080600080608085870312156127c057600080fd5b505082516020840151604085015160609095015191969095509092509050565b600080858511156127f057600080fd5b838611156127fd57600080fd5b5050820193919092039150565b803560208310156114b957600019602084900360031b1b1692915050565b6000845161283a818460208901612486565b8201838582376000930192835250909392505050565b634e487b7160e01b600052600160045260246000fdfe7394f4a19a13c7b92b5bb71033245305946ef78452f7b4986ac1390b5df4ebd7ea8787f128d10b2cc0317b0c3960f9ad447f7f6c1ed189db1083ccffd20f456ea2646970667358221220164a2e8d91fdb540a181ea57e6868ef6c9534aaad829f1321cdd988186cc7f3c64736f6c63430008090033";
|
876
|
-
|
877
|
-
type SequencerInboxStubConstructorParams =
|
878
|
-
| [signer?: Signer]
|
879
|
-
| ConstructorParameters<typeof ContractFactory>;
|
880
|
-
|
881
|
-
const isSuperArgs = (
|
882
|
-
xs: SequencerInboxStubConstructorParams
|
883
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
884
|
-
|
885
|
-
export class SequencerInboxStub__factory extends ContractFactory {
|
886
|
-
constructor(...args: SequencerInboxStubConstructorParams) {
|
887
|
-
if (isSuperArgs(args)) {
|
888
|
-
super(...args);
|
889
|
-
} else {
|
890
|
-
super(_abi, _bytecode, args[0]);
|
891
|
-
}
|
892
|
-
}
|
893
|
-
|
894
|
-
override deploy(
|
895
|
-
bridge_: string,
|
896
|
-
sequencer_: string,
|
897
|
-
maxTimeVariation_: ISequencerInbox.MaxTimeVariationStruct,
|
898
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
899
|
-
): Promise<SequencerInboxStub> {
|
900
|
-
return super.deploy(
|
901
|
-
bridge_,
|
902
|
-
sequencer_,
|
903
|
-
maxTimeVariation_,
|
904
|
-
overrides || {}
|
905
|
-
) as Promise<SequencerInboxStub>;
|
906
|
-
}
|
907
|
-
override getDeployTransaction(
|
908
|
-
bridge_: string,
|
909
|
-
sequencer_: string,
|
910
|
-
maxTimeVariation_: ISequencerInbox.MaxTimeVariationStruct,
|
911
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
912
|
-
): TransactionRequest {
|
913
|
-
return super.getDeployTransaction(
|
914
|
-
bridge_,
|
915
|
-
sequencer_,
|
916
|
-
maxTimeVariation_,
|
917
|
-
overrides || {}
|
918
|
-
);
|
919
|
-
}
|
920
|
-
override attach(address: string): SequencerInboxStub {
|
921
|
-
return super.attach(address) as SequencerInboxStub;
|
922
|
-
}
|
923
|
-
override connect(signer: Signer): SequencerInboxStub__factory {
|
924
|
-
return super.connect(signer) as SequencerInboxStub__factory;
|
925
|
-
}
|
926
|
-
|
927
|
-
static readonly bytecode = _bytecode;
|
928
|
-
static readonly abi = _abi;
|
929
|
-
static createInterface(): SequencerInboxStubInterface {
|
930
|
-
return new utils.Interface(_abi) as SequencerInboxStubInterface;
|
931
|
-
}
|
932
|
-
static connect(
|
933
|
-
address: string,
|
934
|
-
signerOrProvider: Signer | Provider
|
935
|
-
): SequencerInboxStub {
|
936
|
-
return new Contract(address, _abi, signerOrProvider) as SequencerInboxStub;
|
937
|
-
}
|
938
|
-
}
|