@arbitrum/nitro-contracts 1.1.0-alpha.7 → 1.1.0-beta.1
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 +148 -98
- 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 +149 -71
- 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,865 +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
|
-
SequencerInbox,
|
8
|
-
SequencerInboxInterface,
|
9
|
-
} from "../../../src/bridge/SequencerInbox";
|
10
|
-
|
11
|
-
const _abi = [
|
12
|
-
{
|
13
|
-
inputs: [],
|
14
|
-
name: "AlreadyInit",
|
15
|
-
type: "error",
|
16
|
-
},
|
17
|
-
{
|
18
|
-
inputs: [
|
19
|
-
{
|
20
|
-
internalType: "bytes32",
|
21
|
-
name: "",
|
22
|
-
type: "bytes32",
|
23
|
-
},
|
24
|
-
],
|
25
|
-
name: "AlreadyValidDASKeyset",
|
26
|
-
type: "error",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
inputs: [
|
30
|
-
{
|
31
|
-
internalType: "uint256",
|
32
|
-
name: "stored",
|
33
|
-
type: "uint256",
|
34
|
-
},
|
35
|
-
{
|
36
|
-
internalType: "uint256",
|
37
|
-
name: "received",
|
38
|
-
type: "uint256",
|
39
|
-
},
|
40
|
-
],
|
41
|
-
name: "BadSequencerNumber",
|
42
|
-
type: "error",
|
43
|
-
},
|
44
|
-
{
|
45
|
-
inputs: [],
|
46
|
-
name: "DataNotAuthenticated",
|
47
|
-
type: "error",
|
48
|
-
},
|
49
|
-
{
|
50
|
-
inputs: [
|
51
|
-
{
|
52
|
-
internalType: "uint256",
|
53
|
-
name: "dataLength",
|
54
|
-
type: "uint256",
|
55
|
-
},
|
56
|
-
{
|
57
|
-
internalType: "uint256",
|
58
|
-
name: "maxDataLength",
|
59
|
-
type: "uint256",
|
60
|
-
},
|
61
|
-
],
|
62
|
-
name: "DataTooLarge",
|
63
|
-
type: "error",
|
64
|
-
},
|
65
|
-
{
|
66
|
-
inputs: [],
|
67
|
-
name: "DelayedBackwards",
|
68
|
-
type: "error",
|
69
|
-
},
|
70
|
-
{
|
71
|
-
inputs: [],
|
72
|
-
name: "DelayedTooFar",
|
73
|
-
type: "error",
|
74
|
-
},
|
75
|
-
{
|
76
|
-
inputs: [],
|
77
|
-
name: "ForceIncludeBlockTooSoon",
|
78
|
-
type: "error",
|
79
|
-
},
|
80
|
-
{
|
81
|
-
inputs: [],
|
82
|
-
name: "ForceIncludeTimeTooSoon",
|
83
|
-
type: "error",
|
84
|
-
},
|
85
|
-
{
|
86
|
-
inputs: [],
|
87
|
-
name: "HadZeroInit",
|
88
|
-
type: "error",
|
89
|
-
},
|
90
|
-
{
|
91
|
-
inputs: [],
|
92
|
-
name: "IncorrectMessagePreimage",
|
93
|
-
type: "error",
|
94
|
-
},
|
95
|
-
{
|
96
|
-
inputs: [
|
97
|
-
{
|
98
|
-
internalType: "bytes32",
|
99
|
-
name: "",
|
100
|
-
type: "bytes32",
|
101
|
-
},
|
102
|
-
],
|
103
|
-
name: "NoSuchKeyset",
|
104
|
-
type: "error",
|
105
|
-
},
|
106
|
-
{
|
107
|
-
inputs: [],
|
108
|
-
name: "NotBatchPoster",
|
109
|
-
type: "error",
|
110
|
-
},
|
111
|
-
{
|
112
|
-
inputs: [],
|
113
|
-
name: "NotForked",
|
114
|
-
type: "error",
|
115
|
-
},
|
116
|
-
{
|
117
|
-
inputs: [],
|
118
|
-
name: "NotOrigin",
|
119
|
-
type: "error",
|
120
|
-
},
|
121
|
-
{
|
122
|
-
inputs: [
|
123
|
-
{
|
124
|
-
internalType: "address",
|
125
|
-
name: "sender",
|
126
|
-
type: "address",
|
127
|
-
},
|
128
|
-
{
|
129
|
-
internalType: "address",
|
130
|
-
name: "owner",
|
131
|
-
type: "address",
|
132
|
-
},
|
133
|
-
],
|
134
|
-
name: "NotOwner",
|
135
|
-
type: "error",
|
136
|
-
},
|
137
|
-
{
|
138
|
-
anonymous: false,
|
139
|
-
inputs: [
|
140
|
-
{
|
141
|
-
indexed: true,
|
142
|
-
internalType: "uint256",
|
143
|
-
name: "messageNum",
|
144
|
-
type: "uint256",
|
145
|
-
},
|
146
|
-
{
|
147
|
-
indexed: false,
|
148
|
-
internalType: "bytes",
|
149
|
-
name: "data",
|
150
|
-
type: "bytes",
|
151
|
-
},
|
152
|
-
],
|
153
|
-
name: "InboxMessageDelivered",
|
154
|
-
type: "event",
|
155
|
-
},
|
156
|
-
{
|
157
|
-
anonymous: false,
|
158
|
-
inputs: [
|
159
|
-
{
|
160
|
-
indexed: true,
|
161
|
-
internalType: "uint256",
|
162
|
-
name: "messageNum",
|
163
|
-
type: "uint256",
|
164
|
-
},
|
165
|
-
],
|
166
|
-
name: "InboxMessageDeliveredFromOrigin",
|
167
|
-
type: "event",
|
168
|
-
},
|
169
|
-
{
|
170
|
-
anonymous: false,
|
171
|
-
inputs: [
|
172
|
-
{
|
173
|
-
indexed: true,
|
174
|
-
internalType: "bytes32",
|
175
|
-
name: "keysetHash",
|
176
|
-
type: "bytes32",
|
177
|
-
},
|
178
|
-
],
|
179
|
-
name: "InvalidateKeyset",
|
180
|
-
type: "event",
|
181
|
-
},
|
182
|
-
{
|
183
|
-
anonymous: false,
|
184
|
-
inputs: [
|
185
|
-
{
|
186
|
-
indexed: true,
|
187
|
-
internalType: "uint256",
|
188
|
-
name: "id",
|
189
|
-
type: "uint256",
|
190
|
-
},
|
191
|
-
],
|
192
|
-
name: "OwnerFunctionCalled",
|
193
|
-
type: "event",
|
194
|
-
},
|
195
|
-
{
|
196
|
-
anonymous: false,
|
197
|
-
inputs: [
|
198
|
-
{
|
199
|
-
indexed: true,
|
200
|
-
internalType: "uint256",
|
201
|
-
name: "batchSequenceNumber",
|
202
|
-
type: "uint256",
|
203
|
-
},
|
204
|
-
{
|
205
|
-
indexed: false,
|
206
|
-
internalType: "bytes",
|
207
|
-
name: "data",
|
208
|
-
type: "bytes",
|
209
|
-
},
|
210
|
-
],
|
211
|
-
name: "SequencerBatchData",
|
212
|
-
type: "event",
|
213
|
-
},
|
214
|
-
{
|
215
|
-
anonymous: false,
|
216
|
-
inputs: [
|
217
|
-
{
|
218
|
-
indexed: true,
|
219
|
-
internalType: "uint256",
|
220
|
-
name: "batchSequenceNumber",
|
221
|
-
type: "uint256",
|
222
|
-
},
|
223
|
-
{
|
224
|
-
indexed: true,
|
225
|
-
internalType: "bytes32",
|
226
|
-
name: "beforeAcc",
|
227
|
-
type: "bytes32",
|
228
|
-
},
|
229
|
-
{
|
230
|
-
indexed: true,
|
231
|
-
internalType: "bytes32",
|
232
|
-
name: "afterAcc",
|
233
|
-
type: "bytes32",
|
234
|
-
},
|
235
|
-
{
|
236
|
-
indexed: false,
|
237
|
-
internalType: "bytes32",
|
238
|
-
name: "delayedAcc",
|
239
|
-
type: "bytes32",
|
240
|
-
},
|
241
|
-
{
|
242
|
-
indexed: false,
|
243
|
-
internalType: "uint256",
|
244
|
-
name: "afterDelayedMessagesRead",
|
245
|
-
type: "uint256",
|
246
|
-
},
|
247
|
-
{
|
248
|
-
components: [
|
249
|
-
{
|
250
|
-
internalType: "uint64",
|
251
|
-
name: "minTimestamp",
|
252
|
-
type: "uint64",
|
253
|
-
},
|
254
|
-
{
|
255
|
-
internalType: "uint64",
|
256
|
-
name: "maxTimestamp",
|
257
|
-
type: "uint64",
|
258
|
-
},
|
259
|
-
{
|
260
|
-
internalType: "uint64",
|
261
|
-
name: "minBlockNumber",
|
262
|
-
type: "uint64",
|
263
|
-
},
|
264
|
-
{
|
265
|
-
internalType: "uint64",
|
266
|
-
name: "maxBlockNumber",
|
267
|
-
type: "uint64",
|
268
|
-
},
|
269
|
-
],
|
270
|
-
indexed: false,
|
271
|
-
internalType: "struct ISequencerInbox.TimeBounds",
|
272
|
-
name: "timeBounds",
|
273
|
-
type: "tuple",
|
274
|
-
},
|
275
|
-
{
|
276
|
-
indexed: false,
|
277
|
-
internalType: "enum ISequencerInbox.BatchDataLocation",
|
278
|
-
name: "dataLocation",
|
279
|
-
type: "uint8",
|
280
|
-
},
|
281
|
-
],
|
282
|
-
name: "SequencerBatchDelivered",
|
283
|
-
type: "event",
|
284
|
-
},
|
285
|
-
{
|
286
|
-
anonymous: false,
|
287
|
-
inputs: [
|
288
|
-
{
|
289
|
-
indexed: true,
|
290
|
-
internalType: "bytes32",
|
291
|
-
name: "keysetHash",
|
292
|
-
type: "bytes32",
|
293
|
-
},
|
294
|
-
{
|
295
|
-
indexed: false,
|
296
|
-
internalType: "bytes",
|
297
|
-
name: "keysetBytes",
|
298
|
-
type: "bytes",
|
299
|
-
},
|
300
|
-
],
|
301
|
-
name: "SetValidKeyset",
|
302
|
-
type: "event",
|
303
|
-
},
|
304
|
-
{
|
305
|
-
inputs: [],
|
306
|
-
name: "DATA_AUTHENTICATED_FLAG",
|
307
|
-
outputs: [
|
308
|
-
{
|
309
|
-
internalType: "bytes1",
|
310
|
-
name: "",
|
311
|
-
type: "bytes1",
|
312
|
-
},
|
313
|
-
],
|
314
|
-
stateMutability: "view",
|
315
|
-
type: "function",
|
316
|
-
},
|
317
|
-
{
|
318
|
-
inputs: [],
|
319
|
-
name: "HEADER_LENGTH",
|
320
|
-
outputs: [
|
321
|
-
{
|
322
|
-
internalType: "uint256",
|
323
|
-
name: "",
|
324
|
-
type: "uint256",
|
325
|
-
},
|
326
|
-
],
|
327
|
-
stateMutability: "view",
|
328
|
-
type: "function",
|
329
|
-
},
|
330
|
-
{
|
331
|
-
inputs: [
|
332
|
-
{
|
333
|
-
internalType: "uint256",
|
334
|
-
name: "sequenceNumber",
|
335
|
-
type: "uint256",
|
336
|
-
},
|
337
|
-
{
|
338
|
-
internalType: "bytes",
|
339
|
-
name: "data",
|
340
|
-
type: "bytes",
|
341
|
-
},
|
342
|
-
{
|
343
|
-
internalType: "uint256",
|
344
|
-
name: "afterDelayedMessagesRead",
|
345
|
-
type: "uint256",
|
346
|
-
},
|
347
|
-
{
|
348
|
-
internalType: "contract IGasRefunder",
|
349
|
-
name: "gasRefunder",
|
350
|
-
type: "address",
|
351
|
-
},
|
352
|
-
{
|
353
|
-
internalType: "uint256",
|
354
|
-
name: "prevMessageCount",
|
355
|
-
type: "uint256",
|
356
|
-
},
|
357
|
-
{
|
358
|
-
internalType: "uint256",
|
359
|
-
name: "newMessageCount",
|
360
|
-
type: "uint256",
|
361
|
-
},
|
362
|
-
],
|
363
|
-
name: "addSequencerL2Batch",
|
364
|
-
outputs: [],
|
365
|
-
stateMutability: "nonpayable",
|
366
|
-
type: "function",
|
367
|
-
},
|
368
|
-
{
|
369
|
-
inputs: [
|
370
|
-
{
|
371
|
-
internalType: "uint256",
|
372
|
-
name: "sequenceNumber",
|
373
|
-
type: "uint256",
|
374
|
-
},
|
375
|
-
{
|
376
|
-
internalType: "bytes",
|
377
|
-
name: "data",
|
378
|
-
type: "bytes",
|
379
|
-
},
|
380
|
-
{
|
381
|
-
internalType: "uint256",
|
382
|
-
name: "afterDelayedMessagesRead",
|
383
|
-
type: "uint256",
|
384
|
-
},
|
385
|
-
{
|
386
|
-
internalType: "contract IGasRefunder",
|
387
|
-
name: "gasRefunder",
|
388
|
-
type: "address",
|
389
|
-
},
|
390
|
-
],
|
391
|
-
name: "addSequencerL2BatchFromOrigin",
|
392
|
-
outputs: [],
|
393
|
-
stateMutability: "nonpayable",
|
394
|
-
type: "function",
|
395
|
-
},
|
396
|
-
{
|
397
|
-
inputs: [
|
398
|
-
{
|
399
|
-
internalType: "uint256",
|
400
|
-
name: "sequenceNumber",
|
401
|
-
type: "uint256",
|
402
|
-
},
|
403
|
-
{
|
404
|
-
internalType: "bytes",
|
405
|
-
name: "data",
|
406
|
-
type: "bytes",
|
407
|
-
},
|
408
|
-
{
|
409
|
-
internalType: "uint256",
|
410
|
-
name: "afterDelayedMessagesRead",
|
411
|
-
type: "uint256",
|
412
|
-
},
|
413
|
-
{
|
414
|
-
internalType: "contract IGasRefunder",
|
415
|
-
name: "gasRefunder",
|
416
|
-
type: "address",
|
417
|
-
},
|
418
|
-
{
|
419
|
-
internalType: "uint256",
|
420
|
-
name: "prevMessageCount",
|
421
|
-
type: "uint256",
|
422
|
-
},
|
423
|
-
{
|
424
|
-
internalType: "uint256",
|
425
|
-
name: "newMessageCount",
|
426
|
-
type: "uint256",
|
427
|
-
},
|
428
|
-
],
|
429
|
-
name: "addSequencerL2BatchFromOrigin",
|
430
|
-
outputs: [],
|
431
|
-
stateMutability: "nonpayable",
|
432
|
-
type: "function",
|
433
|
-
},
|
434
|
-
{
|
435
|
-
inputs: [],
|
436
|
-
name: "batchCount",
|
437
|
-
outputs: [
|
438
|
-
{
|
439
|
-
internalType: "uint256",
|
440
|
-
name: "",
|
441
|
-
type: "uint256",
|
442
|
-
},
|
443
|
-
],
|
444
|
-
stateMutability: "view",
|
445
|
-
type: "function",
|
446
|
-
},
|
447
|
-
{
|
448
|
-
inputs: [],
|
449
|
-
name: "bridge",
|
450
|
-
outputs: [
|
451
|
-
{
|
452
|
-
internalType: "contract IBridge",
|
453
|
-
name: "",
|
454
|
-
type: "address",
|
455
|
-
},
|
456
|
-
],
|
457
|
-
stateMutability: "view",
|
458
|
-
type: "function",
|
459
|
-
},
|
460
|
-
{
|
461
|
-
inputs: [
|
462
|
-
{
|
463
|
-
internalType: "bytes32",
|
464
|
-
name: "",
|
465
|
-
type: "bytes32",
|
466
|
-
},
|
467
|
-
],
|
468
|
-
name: "dasKeySetInfo",
|
469
|
-
outputs: [
|
470
|
-
{
|
471
|
-
internalType: "bool",
|
472
|
-
name: "isValidKeyset",
|
473
|
-
type: "bool",
|
474
|
-
},
|
475
|
-
{
|
476
|
-
internalType: "uint64",
|
477
|
-
name: "creationBlock",
|
478
|
-
type: "uint64",
|
479
|
-
},
|
480
|
-
],
|
481
|
-
stateMutability: "view",
|
482
|
-
type: "function",
|
483
|
-
},
|
484
|
-
{
|
485
|
-
inputs: [
|
486
|
-
{
|
487
|
-
internalType: "uint256",
|
488
|
-
name: "_totalDelayedMessagesRead",
|
489
|
-
type: "uint256",
|
490
|
-
},
|
491
|
-
{
|
492
|
-
internalType: "uint8",
|
493
|
-
name: "kind",
|
494
|
-
type: "uint8",
|
495
|
-
},
|
496
|
-
{
|
497
|
-
internalType: "uint64[2]",
|
498
|
-
name: "l1BlockAndTime",
|
499
|
-
type: "uint64[2]",
|
500
|
-
},
|
501
|
-
{
|
502
|
-
internalType: "uint256",
|
503
|
-
name: "baseFeeL1",
|
504
|
-
type: "uint256",
|
505
|
-
},
|
506
|
-
{
|
507
|
-
internalType: "address",
|
508
|
-
name: "sender",
|
509
|
-
type: "address",
|
510
|
-
},
|
511
|
-
{
|
512
|
-
internalType: "bytes32",
|
513
|
-
name: "messageDataHash",
|
514
|
-
type: "bytes32",
|
515
|
-
},
|
516
|
-
],
|
517
|
-
name: "forceInclusion",
|
518
|
-
outputs: [],
|
519
|
-
stateMutability: "nonpayable",
|
520
|
-
type: "function",
|
521
|
-
},
|
522
|
-
{
|
523
|
-
inputs: [
|
524
|
-
{
|
525
|
-
internalType: "bytes32",
|
526
|
-
name: "ksHash",
|
527
|
-
type: "bytes32",
|
528
|
-
},
|
529
|
-
],
|
530
|
-
name: "getKeysetCreationBlock",
|
531
|
-
outputs: [
|
532
|
-
{
|
533
|
-
internalType: "uint256",
|
534
|
-
name: "",
|
535
|
-
type: "uint256",
|
536
|
-
},
|
537
|
-
],
|
538
|
-
stateMutability: "view",
|
539
|
-
type: "function",
|
540
|
-
},
|
541
|
-
{
|
542
|
-
inputs: [
|
543
|
-
{
|
544
|
-
internalType: "uint256",
|
545
|
-
name: "index",
|
546
|
-
type: "uint256",
|
547
|
-
},
|
548
|
-
],
|
549
|
-
name: "inboxAccs",
|
550
|
-
outputs: [
|
551
|
-
{
|
552
|
-
internalType: "bytes32",
|
553
|
-
name: "",
|
554
|
-
type: "bytes32",
|
555
|
-
},
|
556
|
-
],
|
557
|
-
stateMutability: "view",
|
558
|
-
type: "function",
|
559
|
-
},
|
560
|
-
{
|
561
|
-
inputs: [
|
562
|
-
{
|
563
|
-
internalType: "contract IBridge",
|
564
|
-
name: "bridge_",
|
565
|
-
type: "address",
|
566
|
-
},
|
567
|
-
{
|
568
|
-
components: [
|
569
|
-
{
|
570
|
-
internalType: "uint256",
|
571
|
-
name: "delayBlocks",
|
572
|
-
type: "uint256",
|
573
|
-
},
|
574
|
-
{
|
575
|
-
internalType: "uint256",
|
576
|
-
name: "futureBlocks",
|
577
|
-
type: "uint256",
|
578
|
-
},
|
579
|
-
{
|
580
|
-
internalType: "uint256",
|
581
|
-
name: "delaySeconds",
|
582
|
-
type: "uint256",
|
583
|
-
},
|
584
|
-
{
|
585
|
-
internalType: "uint256",
|
586
|
-
name: "futureSeconds",
|
587
|
-
type: "uint256",
|
588
|
-
},
|
589
|
-
],
|
590
|
-
internalType: "struct ISequencerInbox.MaxTimeVariation",
|
591
|
-
name: "maxTimeVariation_",
|
592
|
-
type: "tuple",
|
593
|
-
},
|
594
|
-
],
|
595
|
-
name: "initialize",
|
596
|
-
outputs: [],
|
597
|
-
stateMutability: "nonpayable",
|
598
|
-
type: "function",
|
599
|
-
},
|
600
|
-
{
|
601
|
-
inputs: [
|
602
|
-
{
|
603
|
-
internalType: "bytes32",
|
604
|
-
name: "ksHash",
|
605
|
-
type: "bytes32",
|
606
|
-
},
|
607
|
-
],
|
608
|
-
name: "invalidateKeysetHash",
|
609
|
-
outputs: [],
|
610
|
-
stateMutability: "nonpayable",
|
611
|
-
type: "function",
|
612
|
-
},
|
613
|
-
{
|
614
|
-
inputs: [
|
615
|
-
{
|
616
|
-
internalType: "address",
|
617
|
-
name: "",
|
618
|
-
type: "address",
|
619
|
-
},
|
620
|
-
],
|
621
|
-
name: "isBatchPoster",
|
622
|
-
outputs: [
|
623
|
-
{
|
624
|
-
internalType: "bool",
|
625
|
-
name: "",
|
626
|
-
type: "bool",
|
627
|
-
},
|
628
|
-
],
|
629
|
-
stateMutability: "view",
|
630
|
-
type: "function",
|
631
|
-
},
|
632
|
-
{
|
633
|
-
inputs: [
|
634
|
-
{
|
635
|
-
internalType: "address",
|
636
|
-
name: "",
|
637
|
-
type: "address",
|
638
|
-
},
|
639
|
-
],
|
640
|
-
name: "isSequencer",
|
641
|
-
outputs: [
|
642
|
-
{
|
643
|
-
internalType: "bool",
|
644
|
-
name: "",
|
645
|
-
type: "bool",
|
646
|
-
},
|
647
|
-
],
|
648
|
-
stateMutability: "view",
|
649
|
-
type: "function",
|
650
|
-
},
|
651
|
-
{
|
652
|
-
inputs: [
|
653
|
-
{
|
654
|
-
internalType: "bytes32",
|
655
|
-
name: "ksHash",
|
656
|
-
type: "bytes32",
|
657
|
-
},
|
658
|
-
],
|
659
|
-
name: "isValidKeysetHash",
|
660
|
-
outputs: [
|
661
|
-
{
|
662
|
-
internalType: "bool",
|
663
|
-
name: "",
|
664
|
-
type: "bool",
|
665
|
-
},
|
666
|
-
],
|
667
|
-
stateMutability: "view",
|
668
|
-
type: "function",
|
669
|
-
},
|
670
|
-
{
|
671
|
-
inputs: [],
|
672
|
-
name: "maxTimeVariation",
|
673
|
-
outputs: [
|
674
|
-
{
|
675
|
-
internalType: "uint256",
|
676
|
-
name: "delayBlocks",
|
677
|
-
type: "uint256",
|
678
|
-
},
|
679
|
-
{
|
680
|
-
internalType: "uint256",
|
681
|
-
name: "futureBlocks",
|
682
|
-
type: "uint256",
|
683
|
-
},
|
684
|
-
{
|
685
|
-
internalType: "uint256",
|
686
|
-
name: "delaySeconds",
|
687
|
-
type: "uint256",
|
688
|
-
},
|
689
|
-
{
|
690
|
-
internalType: "uint256",
|
691
|
-
name: "futureSeconds",
|
692
|
-
type: "uint256",
|
693
|
-
},
|
694
|
-
],
|
695
|
-
stateMutability: "view",
|
696
|
-
type: "function",
|
697
|
-
},
|
698
|
-
{
|
699
|
-
inputs: [],
|
700
|
-
name: "removeDelayAfterFork",
|
701
|
-
outputs: [],
|
702
|
-
stateMutability: "nonpayable",
|
703
|
-
type: "function",
|
704
|
-
},
|
705
|
-
{
|
706
|
-
inputs: [],
|
707
|
-
name: "rollup",
|
708
|
-
outputs: [
|
709
|
-
{
|
710
|
-
internalType: "contract IOwnable",
|
711
|
-
name: "",
|
712
|
-
type: "address",
|
713
|
-
},
|
714
|
-
],
|
715
|
-
stateMutability: "view",
|
716
|
-
type: "function",
|
717
|
-
},
|
718
|
-
{
|
719
|
-
inputs: [
|
720
|
-
{
|
721
|
-
internalType: "address",
|
722
|
-
name: "addr",
|
723
|
-
type: "address",
|
724
|
-
},
|
725
|
-
{
|
726
|
-
internalType: "bool",
|
727
|
-
name: "isBatchPoster_",
|
728
|
-
type: "bool",
|
729
|
-
},
|
730
|
-
],
|
731
|
-
name: "setIsBatchPoster",
|
732
|
-
outputs: [],
|
733
|
-
stateMutability: "nonpayable",
|
734
|
-
type: "function",
|
735
|
-
},
|
736
|
-
{
|
737
|
-
inputs: [
|
738
|
-
{
|
739
|
-
internalType: "address",
|
740
|
-
name: "addr",
|
741
|
-
type: "address",
|
742
|
-
},
|
743
|
-
{
|
744
|
-
internalType: "bool",
|
745
|
-
name: "isSequencer_",
|
746
|
-
type: "bool",
|
747
|
-
},
|
748
|
-
],
|
749
|
-
name: "setIsSequencer",
|
750
|
-
outputs: [],
|
751
|
-
stateMutability: "nonpayable",
|
752
|
-
type: "function",
|
753
|
-
},
|
754
|
-
{
|
755
|
-
inputs: [
|
756
|
-
{
|
757
|
-
components: [
|
758
|
-
{
|
759
|
-
internalType: "uint256",
|
760
|
-
name: "delayBlocks",
|
761
|
-
type: "uint256",
|
762
|
-
},
|
763
|
-
{
|
764
|
-
internalType: "uint256",
|
765
|
-
name: "futureBlocks",
|
766
|
-
type: "uint256",
|
767
|
-
},
|
768
|
-
{
|
769
|
-
internalType: "uint256",
|
770
|
-
name: "delaySeconds",
|
771
|
-
type: "uint256",
|
772
|
-
},
|
773
|
-
{
|
774
|
-
internalType: "uint256",
|
775
|
-
name: "futureSeconds",
|
776
|
-
type: "uint256",
|
777
|
-
},
|
778
|
-
],
|
779
|
-
internalType: "struct ISequencerInbox.MaxTimeVariation",
|
780
|
-
name: "maxTimeVariation_",
|
781
|
-
type: "tuple",
|
782
|
-
},
|
783
|
-
],
|
784
|
-
name: "setMaxTimeVariation",
|
785
|
-
outputs: [],
|
786
|
-
stateMutability: "nonpayable",
|
787
|
-
type: "function",
|
788
|
-
},
|
789
|
-
{
|
790
|
-
inputs: [
|
791
|
-
{
|
792
|
-
internalType: "bytes",
|
793
|
-
name: "keysetBytes",
|
794
|
-
type: "bytes",
|
795
|
-
},
|
796
|
-
],
|
797
|
-
name: "setValidKeyset",
|
798
|
-
outputs: [],
|
799
|
-
stateMutability: "nonpayable",
|
800
|
-
type: "function",
|
801
|
-
},
|
802
|
-
{
|
803
|
-
inputs: [],
|
804
|
-
name: "totalDelayedMessagesRead",
|
805
|
-
outputs: [
|
806
|
-
{
|
807
|
-
internalType: "uint256",
|
808
|
-
name: "",
|
809
|
-
type: "uint256",
|
810
|
-
},
|
811
|
-
],
|
812
|
-
stateMutability: "view",
|
813
|
-
type: "function",
|
814
|
-
},
|
815
|
-
];
|
816
|
-
|
817
|
-
const _bytecode =
|
818
|
-
"0x60e0604052306080524660a052620000226200003b602090811b620017ee17901c565b151560c0523480156200003457600080fd5b5062000116565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b1790529051600091829182916064916200007b9190620000d8565b600060405180830381855afa9150503d8060008114620000b8576040519150601f19603f3d011682016040523d82523d6000602084013e620000bd565b606091505b5091509150818015620000d1575080516020145b9250505090565b6000825160005b81811015620000fb5760208186018101518583015201620000df565b818111156200010b576000828501525b509190910192915050565b60805160a05160c05161275c6200014d600039600081816110e30152611b7501526000610ddb01526000610465015261275c6000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806384420860116100c3578063d9dd67ab1161007c578063d9dd67ab14610334578063e0bc972914610347578063e5a358c81461035a578063e78cea921461037e578063ebea461d14610391578063f1981578146103c757600080fd5b806384420860146102b55780638f111f3c146102c857806396cc5c78146102db578063b31761f8146102e3578063cb23bcb5146102f6578063d1ce8da81461032157600080fd5b80636d46e987116101155780636d46e987146101ee5780636e7df3e7146102115780636f12b0c914610224578063715ea34b1461023757806371c3e6fe146102895780637fa3a40e146102ac57600080fd5b806306f130561461015d5780631637be48146101785780631f7a92b2146101ab5780631f956632146101c0578063258f0495146101d357806327957a49146101e6575b600080fd5b6101656103da565b6040519081526020015b60405180910390f35b61019b610186366004611f87565b60009081526008602052604090205460ff1690565b604051901515815260200161016f565b6101be6101b9366004611fb8565b61045a565b005b6101be6101ce366004612007565b610612565b6101656101e1366004611f87565b610718565b610165602881565b61019b6101fc366004612040565b60096020526000908152604090205460ff1681565b6101be61021f366004612007565b610781565b6101be6102323660046120ac565b610887565b61026a610245366004611f87565b60086020526000908152604090205460ff81169061010090046001600160401b031682565b6040805192151583526001600160401b0390911660208301520161016f565b61019b610297366004612040565b60036020526000908152604090205460ff1681565b61016560005481565b6101be6102c3366004611f87565b610a76565b6101be6102d6366004612116565b610bc9565b6101be610dd8565b6101be6102f1366004612192565b610e4f565b600254610309906001600160a01b031681565b6040516001600160a01b03909116815260200161016f565b6101be61032f366004612205565b610f4f565b610165610342366004611f87565b611233565b6101be610355366004612116565b6112b6565b610365600160fe1b81565b6040516001600160f81b0319909116815260200161016f565b600154610309906001600160a01b031681565b6004546005546006546007546103a79392919084565b60408051948552602085019390935291830152606082015260800161016f565b6101be6103d5366004612246565b61140b565b600154604080516221048360e21b815290516000926001600160a01b0316916284120c916004808301926020929190829003018186803b15801561041d57600080fd5b505afa158015610431573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045591906122b6565b905090565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156104ed5760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b60648201526084015b60405180910390fd5b6001546001600160a01b03161561051757604051633bcd329760e21b815260040160405180910390fd5b6001600160a01b03821661053e57604051631ad0f74360e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0384169081179091556040805163cb23bcb560e01b8152905163cb23bcb591600480820192602092909190829003018186803b15801561059257600080fd5b505afa1580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca91906122cf565b600280546001600160a01b0319166001600160a01b03929092169190911790558035600490815560208201356005556040820135600655606082013560075581905b50505050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561066057600080fd5b505afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069891906122cf565b6001600160a01b0316336001600160a01b0316146106da57600254604051631194af8760e11b81526104e49133916001600160a01b03909116906004016122ec565b6001600160a01b038216600090815260096020526040808220805460ff19168415151790555160049160008051602061270783398151915291a25050565b600081815260086020908152604080832081518083019092525460ff81161515825261010090046001600160401b03169181018290529061076e5760405162f20c5d60e01b8152600481018490526024016104e4565b602001516001600160401b031692915050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107cf57600080fd5b505afa1580156107e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080791906122cf565b6001600160a01b0316336001600160a01b03161461084957600254604051631194af8760e11b81526104e49133916001600160a01b03909116906004016122ec565b6001600160a01b038216600090815260036020526040808220805460ff19168415151790555160019160008051602061270783398151915291a25050565b8060005a90503332146108ad5760405163feb3d07160e01b815260040160405180910390fd5b3360009081526003602052604090205460ff166108dd57604051632dd9fc9760e01b815260040160405180910390fd5b6000806108eb888888611886565b90925090506000808080610902868b8d84806119f9565b93509350935093508c84146109345760405163ac7411c960e01b815260048101859052602481018e90526044016104e4565b80838e6000805160206126e7833981519152856000548a600060405161095d9493929190612306565b60405180910390a4505050506001600160a01b038416159150610a6d905057366000602061098c83601f612390565b61099691906123a8565b90506102006109a66002836124ae565b6109b091906123a8565b6109bb8260066124bd565b6109c59190612390565b6109cf9084612390565b92503332146109dd57600091505b836001600160a01b031663e3db8a49335a6109f890876124dc565b856040518463ffffffff1660e01b8152600401610a17939291906124f3565b602060405180830381600087803b158015610a3157600080fd5b505af1158015610a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a699190612514565b5050505b50505050505050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ac457600080fd5b505afa158015610ad8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afc91906122cf565b6001600160a01b0316336001600160a01b031614610b3e57600254604051631194af8760e11b81526104e49133916001600160a01b03909116906004016122ec565b60008181526008602052604090205460ff16610b6f5760405162f20c5d60e01b8152600481018290526024016104e4565b600081815260086020526040808220805460ff191690555182917f5cb4218b272fd214168ac43e90fb4d05d6c36f0b17ffb4c2dd07c234d744eb2a91a260405160039060008051602061270783398151915290600090a250565b8260005a9050333214610bef5760405163feb3d07160e01b815260040160405180910390fd5b3360009081526003602052604090205460ff16610c1f57604051632dd9fc9760e01b815260040160405180910390fd5b600080610c2d8a8a8a611886565b90925090508a81838b8b8a8a6000808080610c4b89888a89896119f9565b93509350935093508a8414158015610c6557506000198b14155b15610c8d5760405163ac7411c960e01b815260048101859052602481018c90526044016104e4565b8083856000805160206126e7833981519152856000548f6000604051610cb69493929190612306565b60405180910390a4505050506001600160a01b038b16159850610dcd975050505050505050573660006020610cec83601f612390565b610cf691906123a8565b9050610200610d066002836124ae565b610d1091906123a8565b610d1b8260066124bd565b610d259190612390565b610d2f9084612390565b9250333214610d3d57600091505b836001600160a01b031663e3db8a49335a610d5890876124dc565b856040518463ffffffff1660e01b8152600401610d77939291906124f3565b602060405180830381600087803b158015610d9157600080fd5b505af1158015610da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc99190612514565b5050505b505050505050505050565b467f00000000000000000000000000000000000000000000000000000000000000001415610e1957604051635180dd8360e11b815260040160405180910390fd5b60408051608081018252600180825260208201819052918101829052606001819052600481905560058190556006819055600755565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e9d57600080fd5b505afa158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed591906122cf565b6001600160a01b0316336001600160a01b031614610f1757600254604051631194af8760e11b81526104e49133916001600160a01b03909116906004016122ec565b80516004556020810151600555604080820151600655606082015160075551600090600080516020612707833981519152908290a250565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f9d57600080fd5b505afa158015610fb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd591906122cf565b6001600160a01b0316336001600160a01b03161461101757600254604051631194af8760e11b81526104e49133916001600160a01b03909116906004016122ec565b60008282604051611029929190612531565b604051908190038120607f60f91b6020830152602182015260410160408051601f1981840301815291905280516020909101209050600160ff1b81186201000083106110ad5760405162461bcd60e51b81526020600482015260136024820152726b657973657420697320746f6f206c6172676560681b60448201526064016104e4565b60008181526008602052604090205460ff16156110e057604051637d17eeed60e11b8152600481018290526024016104e4565b437f00000000000000000000000000000000000000000000000000000000000000001561117c5760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561114157600080fd5b505afa158015611155573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117991906122b6565b90505b604080518082018252600181526001600160401b0383811660208084019182526000878152600890915284902092518354915168ffffffffffffffffff1990921690151568ffffffffffffffff0019161761010091909216021790555182907fabca9b7986bc22ad0160eb0cb88ae75411eacfba4052af0b457a9335ef6557229061120a9088908890612541565b60405180910390a260405160029060008051602061270783398151915290600090a25050505050565b6001546040516316bf557960e01b8152600481018390526000916001600160a01b0316906316bf55799060240160206040518083038186803b15801561127857600080fd5b505afa15801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b091906122b6565b92915050565b8260005a3360009081526003602052604090205490915060ff161580156112e857506002546001600160a01b03163314155b1561130657604051632dd9fc9760e01b815260040160405180910390fd5b6000806113148a8a8a611886565b909250905060008b82848b8a8a86808061133187878388886119f9565b929c5090945092509050888a1480159061134d57506000198914155b156113755760405163ac7411c960e01b8152600481018b9052602481018a90526044016104e4565b80838b6000805160206126e7833981519152856000548d600160405161139e9493929190612306565b60405180910390a4505050505050505050807ffe325ca1efe4c5c1062c981c3ee74b781debe4ea9440306a96d2a55759c66c208c8c6040516113e1929190612541565b60405180910390a25050506001600160a01b03821615610dcd573660006020610cec83601f612390565b600054861161142d57604051633eb9f37d60e11b815260040160405180910390fd5b60006114dd86846114416020890189612586565b61145160408a0160208b01612586565b61145c60018d6124dc565b6040805160f89690961b6001600160f81b03191660208088019190915260609590951b6001600160601b031916602187015260c093841b6001600160c01b031990811660358801529290931b909116603d85015260458401526065830188905260858084018790528151808503909101815260a59093019052815191012090565b60045490915043906114f26020880188612586565b6001600160401b03166115059190612390565b106115235760405163ad3515d960e01b815260040160405180910390fd5b60065442906115386040880160208901612586565b6001600160401b031661154b9190612390565b106115695760405163c76d17e560e01b815260040160405180910390fd5b60006001881115611601576001546001600160a01b031663d5719dc261159060028b6124dc565b6040518263ffffffff1660e01b81526004016115ae91815260200190565b60206040518083038186803b1580156115c657600080fd5b505afa1580156115da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fe91906122b6565b90505b60408051602080820184905281830185905282518083038401815260609092019092528051910120600180546001600160a01b03169063d5719dc290611647908c6124dc565b6040518263ffffffff1660e01b815260040161166591815260200190565b60206040518083038186803b15801561167d57600080fd5b505afa158015611691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b591906122b6565b146116d3576040516313947fd760e01b815260040160405180910390fd5b6000806116df8a611df9565b9150915060008a90506000600160009054906101000a90046001600160a01b03166001600160a01b0316635fca4a166040518163ffffffff1660e01b815260040160206040518083038186803b15801561173857600080fd5b505afa15801561174c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177091906122b6565b9050600080548d836117829190612390565b61178c91906124dc565b90506000806000806117a28988600089896119f9565b93509350935093508083856000805160206126e7833981519152856000548d60026040516117d39493929190612306565b60405180910390a45050505050505050505050505050505050565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b17905290516000918291829160649161182c91906125db565b600060405180830381855afa9150503d8060008114611867576040519150601f19603f3d011682016040523d82523d6000602084013e61186c565b606091505b509150915081801561187f575080516020145b9250505090565b6000611890611f60565b8484600061189f826028612390565b90506201cccc8111156118d157604051634634691b60e01b8152600481018290526201cccc60248201526044016104e4565b81158015906119095750600160fe1b8084846000816118f2576118f2612570565b9050013560f81c60f81b166001600160f81b031916145b1561192757604051631f97007f60e01b815260040160405180910390fd5b6021821080159061195557508282600081811061194657611946612570565b90910135600160ff1b16151590505b156119a957600061196a6021600185876125f7565b61197391612621565b60008181526008602052604090205490915060ff166119a75760405162f20c5d60e01b8152600481018290526024016104e4565b505b6000806119b588611e25565b915091506000828b8b6040516020016119d09392919061263f565b60408051808303601f1901815291905280516020909101209b919a509098505050505050505050565b600080600080600054881015611a2257604051633eb9f37d60e11b815260040160405180910390fd5b600160009054906101000a90046001600160a01b03166001600160a01b031663eca067ad6040518163ffffffff1660e01b815260040160206040518083038186803b158015611a7057600080fd5b505afa158015611a84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa891906122b6565b881115611ac85760405163925f8bd360e01b815260040160405180910390fd5b60015460405163432cc52b60e11b8152600481018b9052602481018a905260448101889052606481018790526001600160a01b03909116906386598a5690608401608060405180830381600087803b158015611b2357600080fd5b505af1158015611b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5b9190612667565b60008c9055929650909450925090508615611ded573360607f000000000000000000000000000000000000000000000000000000000000000015611cc8576000606c6001600160a01b031663c6f7de0e6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bd557600080fd5b505afa158015611be9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0d91906122b6565b90506000611c1b48836123a8565b90506001600160401b03811115611c685760405162461bcd60e51b8152602060048201526011602482015270130c57d1d054d7d393d517d55253950d8d607a1b60448201526064016104e4565b60408051426020820152606086901b6001600160601b03191681830152605481018f9052607481018a905248609482015260c09290921b6001600160c01b03191660b48301528051609c81840301815260bc90920190529150611d119050565b604080514260208201526001600160601b0319606085901b1691810191909152605481018c90526074810187905248609482015260b40160405160208183030381529060405290505b60015481516020830120604051637a88b10760e01b81526000926001600160a01b031691637a88b10791611d5d9187916004016001600160a01b03929092168252602082015260400190565b602060405180830381600087803b158015611d7757600080fd5b505af1158015611d8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611daf91906122b6565b9050807fff64905f73a67fb594e0f940a8075a860db489ad991e032f48c81123eb52d60b83604051611de1919061269d565b60405180910390a25050505b95509550955095915050565b6000611e03611f60565b600080611e0f85611e25565b8151602090920191909120969095509350505050565b6060611e2f611f60565b6000611e39611ecc565b90506000816000015182602001518360400151846060015188604051602001611ea195949392919060c095861b6001600160c01b0319908116825294861b8516600882015292851b8416601084015290841b8316601883015290921b16602082015260280190565b60405160208183030381529060405290506028815114611ec357611ec36126d0565b94909350915050565b611ed4611f60565b611edc611f60565b600654421115611eff57600654611ef390426124dc565b6001600160401b031681525b600754611f0c9042612390565b6001600160401b03166020820152600454431115611f4057600454611f3190436124dc565b6001600160401b031660408201525b600554611f4d9043612390565b6001600160401b03166060820152919050565b60408051608081018252600080825260208201819052918101829052606081019190915290565b600060208284031215611f9957600080fd5b5035919050565b6001600160a01b0381168114611fb557600080fd5b50565b60008082840360a0811215611fcc57600080fd5b8335611fd781611fa0565b92506080601f1982011215611feb57600080fd5b506020830190509250929050565b8015158114611fb557600080fd5b6000806040838503121561201a57600080fd5b823561202581611fa0565b9150602083013561203581611ff9565b809150509250929050565b60006020828403121561205257600080fd5b813561205d81611fa0565b9392505050565b60008083601f84011261207657600080fd5b5081356001600160401b0381111561208d57600080fd5b6020830191508360208285010111156120a557600080fd5b9250929050565b6000806000806000608086880312156120c457600080fd5b8535945060208601356001600160401b038111156120e157600080fd5b6120ed88828901612064565b90955093505060408601359150606086013561210881611fa0565b809150509295509295909350565b600080600080600080600060c0888a03121561213157600080fd5b8735965060208801356001600160401b0381111561214e57600080fd5b61215a8a828b01612064565b90975095505060408801359350606088013561217581611fa0565b969995985093969295946080840135945060a09093013592915050565b6000608082840312156121a457600080fd5b604051608081018181106001600160401b03821117156121d457634e487b7160e01b600052604160045260246000fd5b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b6000806020838503121561221857600080fd5b82356001600160401b0381111561222e57600080fd5b61223a85828601612064565b90969095509350505050565b60008060008060008060e0878903121561225f57600080fd5b86359550602087013560ff8116811461227757600080fd5b9450608087018881111561228a57600080fd5b60408801945035925060a08701356122a181611fa0565b8092505060c087013590509295509295509295565b6000602082840312156122c857600080fd5b5051919050565b6000602082840312156122e157600080fd5b815161205d81611fa0565b6001600160a01b0392831681529116602082015260400190565b600060e0820190508582528460208301526001600160401b038085511660408401528060208601511660608401528060408601511660808401528060608601511660a0840152506003831061236b57634e487b7160e01b600052602160045260246000fd5b8260c083015295945050505050565b634e487b7160e01b600052601160045260246000fd5b600082198211156123a3576123a361237a565b500190565b6000826123c557634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156124055781600019048211156123eb576123eb61237a565b808516156123f857918102915b93841c93908002906123cf565b509250929050565b60008261241c575060016112b0565b81612429575060006112b0565b816001811461243f576002811461244957612465565b60019150506112b0565b60ff84111561245a5761245a61237a565b50506001821b6112b0565b5060208310610133831016604e8410600b8410161715612488575081810a6112b0565b61249283836123ca565b80600019048211156124a6576124a661237a565b029392505050565b600061205d60ff84168361240d565b60008160001904831182151516156124d7576124d761237a565b500290565b6000828210156124ee576124ee61237a565b500390565b6001600160a01b039390931683526020830191909152604082015260600190565b60006020828403121561252657600080fd5b815161205d81611ff9565b8183823760009101908152919050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561259857600080fd5b81356001600160401b038116811461205d57600080fd5b60005b838110156125ca5781810151838201526020016125b2565b8381111561060c5750506000910152565b600082516125ed8184602087016125af565b9190910192915050565b6000808585111561260757600080fd5b8386111561261457600080fd5b5050820193919092039150565b803560208310156112b057600019602084900360031b1b1692915050565b600084516126518184602089016125af565b8201838582376000930192835250909392505050565b6000806000806080858703121561267d57600080fd5b505082516020840151604085015160609095015191969095509092509050565b60208152600082518060208401526126bc8160408501602087016125af565b601f01601f19169190910160400192915050565b634e487b7160e01b600052600160045260246000fdfe7394f4a19a13c7b92b5bb71033245305946ef78452f7b4986ac1390b5df4ebd7ea8787f128d10b2cc0317b0c3960f9ad447f7f6c1ed189db1083ccffd20f456ea26469706673582212202abfe8b8c79c2a1f4e8f5a0d91b5482d48249edb59381f96c84a863fa171191264736f6c63430008090033";
|
819
|
-
|
820
|
-
type SequencerInboxConstructorParams =
|
821
|
-
| [signer?: Signer]
|
822
|
-
| ConstructorParameters<typeof ContractFactory>;
|
823
|
-
|
824
|
-
const isSuperArgs = (
|
825
|
-
xs: SequencerInboxConstructorParams
|
826
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
827
|
-
|
828
|
-
export class SequencerInbox__factory extends ContractFactory {
|
829
|
-
constructor(...args: SequencerInboxConstructorParams) {
|
830
|
-
if (isSuperArgs(args)) {
|
831
|
-
super(...args);
|
832
|
-
} else {
|
833
|
-
super(_abi, _bytecode, args[0]);
|
834
|
-
}
|
835
|
-
}
|
836
|
-
|
837
|
-
override deploy(
|
838
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
839
|
-
): Promise<SequencerInbox> {
|
840
|
-
return super.deploy(overrides || {}) as Promise<SequencerInbox>;
|
841
|
-
}
|
842
|
-
override getDeployTransaction(
|
843
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
844
|
-
): TransactionRequest {
|
845
|
-
return super.getDeployTransaction(overrides || {});
|
846
|
-
}
|
847
|
-
override attach(address: string): SequencerInbox {
|
848
|
-
return super.attach(address) as SequencerInbox;
|
849
|
-
}
|
850
|
-
override connect(signer: Signer): SequencerInbox__factory {
|
851
|
-
return super.connect(signer) as SequencerInbox__factory;
|
852
|
-
}
|
853
|
-
|
854
|
-
static readonly bytecode = _bytecode;
|
855
|
-
static readonly abi = _abi;
|
856
|
-
static createInterface(): SequencerInboxInterface {
|
857
|
-
return new utils.Interface(_abi) as SequencerInboxInterface;
|
858
|
-
}
|
859
|
-
static connect(
|
860
|
-
address: string,
|
861
|
-
signerOrProvider: Signer | Provider
|
862
|
-
): SequencerInbox {
|
863
|
-
return new Contract(address, _abi, signerOrProvider) as SequencerInbox;
|
864
|
-
}
|
865
|
-
}
|