@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,724 +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
|
-
TimedOutChallengeManager,
|
8
|
-
TimedOutChallengeManagerInterface,
|
9
|
-
} from "../../../src/mocks/TimedOutChallengeManager";
|
10
|
-
|
11
|
-
const _abi = [
|
12
|
-
{
|
13
|
-
anonymous: false,
|
14
|
-
inputs: [
|
15
|
-
{
|
16
|
-
indexed: true,
|
17
|
-
internalType: "uint64",
|
18
|
-
name: "challengeIndex",
|
19
|
-
type: "uint64",
|
20
|
-
},
|
21
|
-
{
|
22
|
-
indexed: true,
|
23
|
-
internalType: "bytes32",
|
24
|
-
name: "challengeRoot",
|
25
|
-
type: "bytes32",
|
26
|
-
},
|
27
|
-
{
|
28
|
-
indexed: false,
|
29
|
-
internalType: "uint256",
|
30
|
-
name: "challengedSegmentStart",
|
31
|
-
type: "uint256",
|
32
|
-
},
|
33
|
-
{
|
34
|
-
indexed: false,
|
35
|
-
internalType: "uint256",
|
36
|
-
name: "challengedSegmentLength",
|
37
|
-
type: "uint256",
|
38
|
-
},
|
39
|
-
{
|
40
|
-
indexed: false,
|
41
|
-
internalType: "bytes32[]",
|
42
|
-
name: "chainHashes",
|
43
|
-
type: "bytes32[]",
|
44
|
-
},
|
45
|
-
],
|
46
|
-
name: "Bisected",
|
47
|
-
type: "event",
|
48
|
-
},
|
49
|
-
{
|
50
|
-
anonymous: false,
|
51
|
-
inputs: [
|
52
|
-
{
|
53
|
-
indexed: true,
|
54
|
-
internalType: "uint64",
|
55
|
-
name: "challengeIndex",
|
56
|
-
type: "uint64",
|
57
|
-
},
|
58
|
-
{
|
59
|
-
indexed: false,
|
60
|
-
internalType: "enum IChallengeManager.ChallengeTerminationType",
|
61
|
-
name: "kind",
|
62
|
-
type: "uint8",
|
63
|
-
},
|
64
|
-
],
|
65
|
-
name: "ChallengeEnded",
|
66
|
-
type: "event",
|
67
|
-
},
|
68
|
-
{
|
69
|
-
anonymous: false,
|
70
|
-
inputs: [
|
71
|
-
{
|
72
|
-
indexed: true,
|
73
|
-
internalType: "uint64",
|
74
|
-
name: "challengeIndex",
|
75
|
-
type: "uint64",
|
76
|
-
},
|
77
|
-
{
|
78
|
-
indexed: false,
|
79
|
-
internalType: "uint256",
|
80
|
-
name: "blockSteps",
|
81
|
-
type: "uint256",
|
82
|
-
},
|
83
|
-
],
|
84
|
-
name: "ExecutionChallengeBegun",
|
85
|
-
type: "event",
|
86
|
-
},
|
87
|
-
{
|
88
|
-
anonymous: false,
|
89
|
-
inputs: [
|
90
|
-
{
|
91
|
-
indexed: true,
|
92
|
-
internalType: "uint64",
|
93
|
-
name: "challengeIndex",
|
94
|
-
type: "uint64",
|
95
|
-
},
|
96
|
-
{
|
97
|
-
components: [
|
98
|
-
{
|
99
|
-
internalType: "bytes32[2]",
|
100
|
-
name: "bytes32Vals",
|
101
|
-
type: "bytes32[2]",
|
102
|
-
},
|
103
|
-
{
|
104
|
-
internalType: "uint64[2]",
|
105
|
-
name: "u64Vals",
|
106
|
-
type: "uint64[2]",
|
107
|
-
},
|
108
|
-
],
|
109
|
-
indexed: false,
|
110
|
-
internalType: "struct GlobalState",
|
111
|
-
name: "startState",
|
112
|
-
type: "tuple",
|
113
|
-
},
|
114
|
-
{
|
115
|
-
components: [
|
116
|
-
{
|
117
|
-
internalType: "bytes32[2]",
|
118
|
-
name: "bytes32Vals",
|
119
|
-
type: "bytes32[2]",
|
120
|
-
},
|
121
|
-
{
|
122
|
-
internalType: "uint64[2]",
|
123
|
-
name: "u64Vals",
|
124
|
-
type: "uint64[2]",
|
125
|
-
},
|
126
|
-
],
|
127
|
-
indexed: false,
|
128
|
-
internalType: "struct GlobalState",
|
129
|
-
name: "endState",
|
130
|
-
type: "tuple",
|
131
|
-
},
|
132
|
-
],
|
133
|
-
name: "InitiatedChallenge",
|
134
|
-
type: "event",
|
135
|
-
},
|
136
|
-
{
|
137
|
-
anonymous: false,
|
138
|
-
inputs: [
|
139
|
-
{
|
140
|
-
indexed: true,
|
141
|
-
internalType: "uint64",
|
142
|
-
name: "challengeIndex",
|
143
|
-
type: "uint64",
|
144
|
-
},
|
145
|
-
],
|
146
|
-
name: "OneStepProofCompleted",
|
147
|
-
type: "event",
|
148
|
-
},
|
149
|
-
{
|
150
|
-
inputs: [
|
151
|
-
{
|
152
|
-
internalType: "uint64",
|
153
|
-
name: "challengeIndex",
|
154
|
-
type: "uint64",
|
155
|
-
},
|
156
|
-
{
|
157
|
-
components: [
|
158
|
-
{
|
159
|
-
internalType: "uint256",
|
160
|
-
name: "oldSegmentsStart",
|
161
|
-
type: "uint256",
|
162
|
-
},
|
163
|
-
{
|
164
|
-
internalType: "uint256",
|
165
|
-
name: "oldSegmentsLength",
|
166
|
-
type: "uint256",
|
167
|
-
},
|
168
|
-
{
|
169
|
-
internalType: "bytes32[]",
|
170
|
-
name: "oldSegments",
|
171
|
-
type: "bytes32[]",
|
172
|
-
},
|
173
|
-
{
|
174
|
-
internalType: "uint256",
|
175
|
-
name: "challengePosition",
|
176
|
-
type: "uint256",
|
177
|
-
},
|
178
|
-
],
|
179
|
-
internalType: "struct ChallengeLib.SegmentSelection",
|
180
|
-
name: "selection",
|
181
|
-
type: "tuple",
|
182
|
-
},
|
183
|
-
{
|
184
|
-
internalType: "bytes32[]",
|
185
|
-
name: "newSegments",
|
186
|
-
type: "bytes32[]",
|
187
|
-
},
|
188
|
-
],
|
189
|
-
name: "bisectExecution",
|
190
|
-
outputs: [],
|
191
|
-
stateMutability: "nonpayable",
|
192
|
-
type: "function",
|
193
|
-
},
|
194
|
-
{
|
195
|
-
inputs: [],
|
196
|
-
name: "bridge",
|
197
|
-
outputs: [
|
198
|
-
{
|
199
|
-
internalType: "contract IBridge",
|
200
|
-
name: "",
|
201
|
-
type: "address",
|
202
|
-
},
|
203
|
-
],
|
204
|
-
stateMutability: "view",
|
205
|
-
type: "function",
|
206
|
-
},
|
207
|
-
{
|
208
|
-
inputs: [
|
209
|
-
{
|
210
|
-
internalType: "uint64",
|
211
|
-
name: "challengeIndex",
|
212
|
-
type: "uint64",
|
213
|
-
},
|
214
|
-
{
|
215
|
-
components: [
|
216
|
-
{
|
217
|
-
internalType: "uint256",
|
218
|
-
name: "oldSegmentsStart",
|
219
|
-
type: "uint256",
|
220
|
-
},
|
221
|
-
{
|
222
|
-
internalType: "uint256",
|
223
|
-
name: "oldSegmentsLength",
|
224
|
-
type: "uint256",
|
225
|
-
},
|
226
|
-
{
|
227
|
-
internalType: "bytes32[]",
|
228
|
-
name: "oldSegments",
|
229
|
-
type: "bytes32[]",
|
230
|
-
},
|
231
|
-
{
|
232
|
-
internalType: "uint256",
|
233
|
-
name: "challengePosition",
|
234
|
-
type: "uint256",
|
235
|
-
},
|
236
|
-
],
|
237
|
-
internalType: "struct ChallengeLib.SegmentSelection",
|
238
|
-
name: "selection",
|
239
|
-
type: "tuple",
|
240
|
-
},
|
241
|
-
{
|
242
|
-
internalType: "enum MachineStatus[2]",
|
243
|
-
name: "machineStatuses",
|
244
|
-
type: "uint8[2]",
|
245
|
-
},
|
246
|
-
{
|
247
|
-
internalType: "bytes32[2]",
|
248
|
-
name: "globalStateHashes",
|
249
|
-
type: "bytes32[2]",
|
250
|
-
},
|
251
|
-
{
|
252
|
-
internalType: "uint256",
|
253
|
-
name: "numSteps",
|
254
|
-
type: "uint256",
|
255
|
-
},
|
256
|
-
],
|
257
|
-
name: "challengeExecution",
|
258
|
-
outputs: [],
|
259
|
-
stateMutability: "nonpayable",
|
260
|
-
type: "function",
|
261
|
-
},
|
262
|
-
{
|
263
|
-
inputs: [
|
264
|
-
{
|
265
|
-
internalType: "uint64",
|
266
|
-
name: "challengeIndex",
|
267
|
-
type: "uint64",
|
268
|
-
},
|
269
|
-
],
|
270
|
-
name: "challengeInfo",
|
271
|
-
outputs: [
|
272
|
-
{
|
273
|
-
components: [
|
274
|
-
{
|
275
|
-
components: [
|
276
|
-
{
|
277
|
-
internalType: "address",
|
278
|
-
name: "addr",
|
279
|
-
type: "address",
|
280
|
-
},
|
281
|
-
{
|
282
|
-
internalType: "uint256",
|
283
|
-
name: "timeLeft",
|
284
|
-
type: "uint256",
|
285
|
-
},
|
286
|
-
],
|
287
|
-
internalType: "struct ChallengeLib.Participant",
|
288
|
-
name: "current",
|
289
|
-
type: "tuple",
|
290
|
-
},
|
291
|
-
{
|
292
|
-
components: [
|
293
|
-
{
|
294
|
-
internalType: "address",
|
295
|
-
name: "addr",
|
296
|
-
type: "address",
|
297
|
-
},
|
298
|
-
{
|
299
|
-
internalType: "uint256",
|
300
|
-
name: "timeLeft",
|
301
|
-
type: "uint256",
|
302
|
-
},
|
303
|
-
],
|
304
|
-
internalType: "struct ChallengeLib.Participant",
|
305
|
-
name: "next",
|
306
|
-
type: "tuple",
|
307
|
-
},
|
308
|
-
{
|
309
|
-
internalType: "uint256",
|
310
|
-
name: "lastMoveTimestamp",
|
311
|
-
type: "uint256",
|
312
|
-
},
|
313
|
-
{
|
314
|
-
internalType: "bytes32",
|
315
|
-
name: "wasmModuleRoot",
|
316
|
-
type: "bytes32",
|
317
|
-
},
|
318
|
-
{
|
319
|
-
internalType: "bytes32",
|
320
|
-
name: "challengeStateHash",
|
321
|
-
type: "bytes32",
|
322
|
-
},
|
323
|
-
{
|
324
|
-
internalType: "uint64",
|
325
|
-
name: "maxInboxMessages",
|
326
|
-
type: "uint64",
|
327
|
-
},
|
328
|
-
{
|
329
|
-
internalType: "enum ChallengeLib.ChallengeMode",
|
330
|
-
name: "mode",
|
331
|
-
type: "uint8",
|
332
|
-
},
|
333
|
-
],
|
334
|
-
internalType: "struct ChallengeLib.Challenge",
|
335
|
-
name: "",
|
336
|
-
type: "tuple",
|
337
|
-
},
|
338
|
-
],
|
339
|
-
stateMutability: "view",
|
340
|
-
type: "function",
|
341
|
-
},
|
342
|
-
{
|
343
|
-
inputs: [
|
344
|
-
{
|
345
|
-
internalType: "uint256",
|
346
|
-
name: "",
|
347
|
-
type: "uint256",
|
348
|
-
},
|
349
|
-
],
|
350
|
-
name: "challenges",
|
351
|
-
outputs: [
|
352
|
-
{
|
353
|
-
components: [
|
354
|
-
{
|
355
|
-
internalType: "address",
|
356
|
-
name: "addr",
|
357
|
-
type: "address",
|
358
|
-
},
|
359
|
-
{
|
360
|
-
internalType: "uint256",
|
361
|
-
name: "timeLeft",
|
362
|
-
type: "uint256",
|
363
|
-
},
|
364
|
-
],
|
365
|
-
internalType: "struct ChallengeLib.Participant",
|
366
|
-
name: "current",
|
367
|
-
type: "tuple",
|
368
|
-
},
|
369
|
-
{
|
370
|
-
components: [
|
371
|
-
{
|
372
|
-
internalType: "address",
|
373
|
-
name: "addr",
|
374
|
-
type: "address",
|
375
|
-
},
|
376
|
-
{
|
377
|
-
internalType: "uint256",
|
378
|
-
name: "timeLeft",
|
379
|
-
type: "uint256",
|
380
|
-
},
|
381
|
-
],
|
382
|
-
internalType: "struct ChallengeLib.Participant",
|
383
|
-
name: "next",
|
384
|
-
type: "tuple",
|
385
|
-
},
|
386
|
-
{
|
387
|
-
internalType: "uint256",
|
388
|
-
name: "lastMoveTimestamp",
|
389
|
-
type: "uint256",
|
390
|
-
},
|
391
|
-
{
|
392
|
-
internalType: "bytes32",
|
393
|
-
name: "wasmModuleRoot",
|
394
|
-
type: "bytes32",
|
395
|
-
},
|
396
|
-
{
|
397
|
-
internalType: "bytes32",
|
398
|
-
name: "challengeStateHash",
|
399
|
-
type: "bytes32",
|
400
|
-
},
|
401
|
-
{
|
402
|
-
internalType: "uint64",
|
403
|
-
name: "maxInboxMessages",
|
404
|
-
type: "uint64",
|
405
|
-
},
|
406
|
-
{
|
407
|
-
internalType: "enum ChallengeLib.ChallengeMode",
|
408
|
-
name: "mode",
|
409
|
-
type: "uint8",
|
410
|
-
},
|
411
|
-
],
|
412
|
-
stateMutability: "view",
|
413
|
-
type: "function",
|
414
|
-
},
|
415
|
-
{
|
416
|
-
inputs: [
|
417
|
-
{
|
418
|
-
internalType: "uint64",
|
419
|
-
name: "challengeIndex",
|
420
|
-
type: "uint64",
|
421
|
-
},
|
422
|
-
],
|
423
|
-
name: "clearChallenge",
|
424
|
-
outputs: [],
|
425
|
-
stateMutability: "nonpayable",
|
426
|
-
type: "function",
|
427
|
-
},
|
428
|
-
{
|
429
|
-
inputs: [
|
430
|
-
{
|
431
|
-
internalType: "bytes32",
|
432
|
-
name: "wasmModuleRoot_",
|
433
|
-
type: "bytes32",
|
434
|
-
},
|
435
|
-
{
|
436
|
-
internalType: "enum MachineStatus[2]",
|
437
|
-
name: "startAndEndMachineStatuses_",
|
438
|
-
type: "uint8[2]",
|
439
|
-
},
|
440
|
-
{
|
441
|
-
components: [
|
442
|
-
{
|
443
|
-
internalType: "bytes32[2]",
|
444
|
-
name: "bytes32Vals",
|
445
|
-
type: "bytes32[2]",
|
446
|
-
},
|
447
|
-
{
|
448
|
-
internalType: "uint64[2]",
|
449
|
-
name: "u64Vals",
|
450
|
-
type: "uint64[2]",
|
451
|
-
},
|
452
|
-
],
|
453
|
-
internalType: "struct GlobalState[2]",
|
454
|
-
name: "startAndEndGlobalStates_",
|
455
|
-
type: "tuple[2]",
|
456
|
-
},
|
457
|
-
{
|
458
|
-
internalType: "uint64",
|
459
|
-
name: "numBlocks",
|
460
|
-
type: "uint64",
|
461
|
-
},
|
462
|
-
{
|
463
|
-
internalType: "address",
|
464
|
-
name: "asserter_",
|
465
|
-
type: "address",
|
466
|
-
},
|
467
|
-
{
|
468
|
-
internalType: "address",
|
469
|
-
name: "challenger_",
|
470
|
-
type: "address",
|
471
|
-
},
|
472
|
-
{
|
473
|
-
internalType: "uint256",
|
474
|
-
name: "asserterTimeLeft_",
|
475
|
-
type: "uint256",
|
476
|
-
},
|
477
|
-
{
|
478
|
-
internalType: "uint256",
|
479
|
-
name: "challengerTimeLeft_",
|
480
|
-
type: "uint256",
|
481
|
-
},
|
482
|
-
],
|
483
|
-
name: "createChallenge",
|
484
|
-
outputs: [
|
485
|
-
{
|
486
|
-
internalType: "uint64",
|
487
|
-
name: "",
|
488
|
-
type: "uint64",
|
489
|
-
},
|
490
|
-
],
|
491
|
-
stateMutability: "nonpayable",
|
492
|
-
type: "function",
|
493
|
-
},
|
494
|
-
{
|
495
|
-
inputs: [
|
496
|
-
{
|
497
|
-
internalType: "uint64",
|
498
|
-
name: "challengeIndex",
|
499
|
-
type: "uint64",
|
500
|
-
},
|
501
|
-
],
|
502
|
-
name: "currentResponder",
|
503
|
-
outputs: [
|
504
|
-
{
|
505
|
-
internalType: "address",
|
506
|
-
name: "",
|
507
|
-
type: "address",
|
508
|
-
},
|
509
|
-
],
|
510
|
-
stateMutability: "view",
|
511
|
-
type: "function",
|
512
|
-
},
|
513
|
-
{
|
514
|
-
inputs: [
|
515
|
-
{
|
516
|
-
internalType: "contract IChallengeResultReceiver",
|
517
|
-
name: "resultReceiver_",
|
518
|
-
type: "address",
|
519
|
-
},
|
520
|
-
{
|
521
|
-
internalType: "contract ISequencerInbox",
|
522
|
-
name: "sequencerInbox_",
|
523
|
-
type: "address",
|
524
|
-
},
|
525
|
-
{
|
526
|
-
internalType: "contract IBridge",
|
527
|
-
name: "bridge_",
|
528
|
-
type: "address",
|
529
|
-
},
|
530
|
-
{
|
531
|
-
internalType: "contract IOneStepProofEntry",
|
532
|
-
name: "osp_",
|
533
|
-
type: "address",
|
534
|
-
},
|
535
|
-
],
|
536
|
-
name: "initialize",
|
537
|
-
outputs: [],
|
538
|
-
stateMutability: "nonpayable",
|
539
|
-
type: "function",
|
540
|
-
},
|
541
|
-
{
|
542
|
-
inputs: [
|
543
|
-
{
|
544
|
-
internalType: "uint64",
|
545
|
-
name: "",
|
546
|
-
type: "uint64",
|
547
|
-
},
|
548
|
-
],
|
549
|
-
name: "isTimedOut",
|
550
|
-
outputs: [
|
551
|
-
{
|
552
|
-
internalType: "bool",
|
553
|
-
name: "",
|
554
|
-
type: "bool",
|
555
|
-
},
|
556
|
-
],
|
557
|
-
stateMutability: "pure",
|
558
|
-
type: "function",
|
559
|
-
},
|
560
|
-
{
|
561
|
-
inputs: [
|
562
|
-
{
|
563
|
-
internalType: "uint64",
|
564
|
-
name: "challengeIndex",
|
565
|
-
type: "uint64",
|
566
|
-
},
|
567
|
-
{
|
568
|
-
components: [
|
569
|
-
{
|
570
|
-
internalType: "uint256",
|
571
|
-
name: "oldSegmentsStart",
|
572
|
-
type: "uint256",
|
573
|
-
},
|
574
|
-
{
|
575
|
-
internalType: "uint256",
|
576
|
-
name: "oldSegmentsLength",
|
577
|
-
type: "uint256",
|
578
|
-
},
|
579
|
-
{
|
580
|
-
internalType: "bytes32[]",
|
581
|
-
name: "oldSegments",
|
582
|
-
type: "bytes32[]",
|
583
|
-
},
|
584
|
-
{
|
585
|
-
internalType: "uint256",
|
586
|
-
name: "challengePosition",
|
587
|
-
type: "uint256",
|
588
|
-
},
|
589
|
-
],
|
590
|
-
internalType: "struct ChallengeLib.SegmentSelection",
|
591
|
-
name: "selection",
|
592
|
-
type: "tuple",
|
593
|
-
},
|
594
|
-
{
|
595
|
-
internalType: "bytes",
|
596
|
-
name: "proof",
|
597
|
-
type: "bytes",
|
598
|
-
},
|
599
|
-
],
|
600
|
-
name: "oneStepProveExecution",
|
601
|
-
outputs: [],
|
602
|
-
stateMutability: "nonpayable",
|
603
|
-
type: "function",
|
604
|
-
},
|
605
|
-
{
|
606
|
-
inputs: [],
|
607
|
-
name: "osp",
|
608
|
-
outputs: [
|
609
|
-
{
|
610
|
-
internalType: "contract IOneStepProofEntry",
|
611
|
-
name: "",
|
612
|
-
type: "address",
|
613
|
-
},
|
614
|
-
],
|
615
|
-
stateMutability: "view",
|
616
|
-
type: "function",
|
617
|
-
},
|
618
|
-
{
|
619
|
-
inputs: [],
|
620
|
-
name: "resultReceiver",
|
621
|
-
outputs: [
|
622
|
-
{
|
623
|
-
internalType: "contract IChallengeResultReceiver",
|
624
|
-
name: "",
|
625
|
-
type: "address",
|
626
|
-
},
|
627
|
-
],
|
628
|
-
stateMutability: "view",
|
629
|
-
type: "function",
|
630
|
-
},
|
631
|
-
{
|
632
|
-
inputs: [],
|
633
|
-
name: "sequencerInbox",
|
634
|
-
outputs: [
|
635
|
-
{
|
636
|
-
internalType: "contract ISequencerInbox",
|
637
|
-
name: "",
|
638
|
-
type: "address",
|
639
|
-
},
|
640
|
-
],
|
641
|
-
stateMutability: "view",
|
642
|
-
type: "function",
|
643
|
-
},
|
644
|
-
{
|
645
|
-
inputs: [
|
646
|
-
{
|
647
|
-
internalType: "uint64",
|
648
|
-
name: "challengeIndex",
|
649
|
-
type: "uint64",
|
650
|
-
},
|
651
|
-
],
|
652
|
-
name: "timeout",
|
653
|
-
outputs: [],
|
654
|
-
stateMutability: "nonpayable",
|
655
|
-
type: "function",
|
656
|
-
},
|
657
|
-
{
|
658
|
-
inputs: [],
|
659
|
-
name: "totalChallengesCreated",
|
660
|
-
outputs: [
|
661
|
-
{
|
662
|
-
internalType: "uint64",
|
663
|
-
name: "",
|
664
|
-
type: "uint64",
|
665
|
-
},
|
666
|
-
],
|
667
|
-
stateMutability: "view",
|
668
|
-
type: "function",
|
669
|
-
},
|
670
|
-
];
|
671
|
-
|
672
|
-
const _bytecode =
|
673
|
-
"0x60a06040523060805234801561001457600080fd5b50608051611cd761003060003960006109d30152611cd76000f3fe608060405234801561001057600080fd5b50600436106100e05760003560e01c80639ede42b9116100875780639ede42b914610251578063a521b03214610275578063d248d12414610288578063e78cea921461029b578063ee35f327146102ae578063f26a62c6146102c1578063f8c8765e146102d4578063fb7be0a1146102e757600080fd5b806314eab5e7146100e55780631b45c86a1461011557806323a9ef231461012a5780633504f1d71461015557806356e9df97146101685780635ef489e61461017b5780637fd07a9c1461018e5780638f1d3776146101ae575b600080fd5b6100f86100f336600461152d565b6102fa565b6040516001600160401b0390911681526020015b60405180910390f35b6101286101233660046115c0565b610602565b005b61013d6101383660046115c0565b61068a565b6040516001600160a01b03909116815260200161010c565b60025461013d906001600160a01b031681565b6101286101763660046115c0565b6106ae565b6000546100f8906001600160401b031681565b6101a161019c3660046115c0565b61081c565b60405161010c919061161d565b61023e6101bc36600461168f565b6001602081815260009283526040928390208351808501855281546001600160a01b0390811682529382015481840152845180860190955260028201549093168452600381015491840191909152600481015460058201546006830154600790930154939493919290916001600160401b03811690600160401b900460ff1687565b60405161010c97969594939291906116a8565b61026561025f3660046115c0565b50600190565b604051901515815260200161010c565b610128610283366004611705565b6108f5565b6101286102963660046117a9565b6109a0565b60045461013d906001600160a01b031681565b60035461013d906001600160a01b031681565b60055461013d906001600160a01b031681565b6101286102e236600461183b565b6109c8565b6101286102f5366004611897565b610b39565b6002546000906001600160a01b0316331461034f5760405162461bcd60e51b815260206004820152601060248201526f13d3931657d493d313155417d0d2105360821b60448201526064015b60405180910390fd5b6040805160028082526060820183526000926020830190803683370190505090506103a561038060208b018b61193b565b6103a08a60005b6080020180360381019061039b91906119fa565b610b61565b610be2565b816000815181106103b8576103b8611925565b60209081029190910101526103e78960016020020160208101906103dc919061193b565b6103a08a6001610387565b816001815181106103fa576103fa611925565b6020908102919091010152600080548190819061041f906001600160401b0316611aa8565b91906101000a8154816001600160401b0302191690836001600160401b031602179055905060006001600160401b0316816001600160401b0316141561046757610467611acf565b6001600160401b0381166000908152600160205260408120600581018d9055906104a161049c368d90038d0160808e016119fa565b610d0c565b905060026104b560408e0160208f0161193b565b60038111156104c6576104c66115f3565b14806104f4575060006104e96104e4368e90038e0160808f016119fa565b610d21565b6001600160401b0316115b15610507578061050381611aa8565b9150505b6007820180546040805180820182526001600160a01b038d811680835260209283018d90526002880180546001600160a01b03199081169092179055600388018d905583518085018552918e16808352919092018b90528654909116178555600185018990554260048601556001600160401b0384811668ffffffffffffffffff1990931692909217600160401b179092559051908416907f76604fe17af46c9b5f53ffe99ff23e0f655dab91886b07ac1fc0254319f7145a906105d1908e906080820190611b2f565b60405180910390a26105ef8360008c6001600160401b031687610d30565b5090925050505b98975050505050505050565b60006001600160401b038216600090815260016020526040902060070154600160401b900460ff16600281111561063b5761063b6115f3565b1415604051806040016040528060078152602001661393d7d0d2105360ca1b8152509061067b5760405162461bcd60e51b81526004016103469190611b4b565b50610687816000610dc6565b50565b6001600160401b03166000908152600160205260409020546001600160a01b031690565b6002546001600160a01b031633146106fb5760405162461bcd60e51b815260206004820152601060248201526f2727aa2fa922a9afa922a1a2a4ab22a960811b6044820152606401610346565b60006001600160401b038216600090815260016020526040902060070154600160401b900460ff166002811115610734576107346115f3565b1415604051806040016040528060078152602001661393d7d0d2105360ca1b815250906107745760405162461bcd60e51b81526004016103469190611b4b565b506001600160401b038116600081815260016020819052604080832080546001600160a01b031990811682559281018490556002810180549093169092556003808301849055600483018490556005830184905560068301939093556007909101805468ffffffffffffffffff19169055517ffdaece6c274a4b56af16761f83fd6b1062823192630ea08e019fdf9b2d747f409161081191611ba0565b60405180910390a250565b610824611488565b6001600160401b0382811660009081526001602081815260409283902083516101208101855281546001600160a01b0390811660e0830190815294830154610100830152938152845180860186526002808401549095168152600383015481850152928101929092526004810154938201939093526005830154606082015260068301546080820152600783015493841660a08201529260c0840191600160401b90910460ff16908111156108db576108db6115f3565b60028111156108ec576108ec6115f3565b90525092915050565b6001600160401b03841660009081526001602052604081208591859161091a8461068a565b6001600160a01b0316336001600160a01b0316146109685760405162461bcd60e51b815260206004820152600b60248201526a21a420a62fa9a2a72222a960a91b6044820152606401610346565b60405162461bcd60e51b815260206004820152600d60248201526c4348414c5f444541444c494e4560981b6044820152606401610346565b6001600160401b03841660009081526001602052604090208490849060029061091a8461068a565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610a565760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b6064820152608401610346565b6002546001600160a01b031615610a9e5760405162461bcd60e51b815260206004820152600c60248201526b1053149150511657d253925560a21b6044820152606401610346565b6001600160a01b038416610ae95760405162461bcd60e51b81526020600482015260126024820152712727afa922a9aaa62a2fa922a1a2a4ab22a960711b6044820152606401610346565b600280546001600160a01b039586166001600160a01b0319918216179091556003805494861694821694909417909355600480549285169284169290921790915560058054919093169116179055565b6001600160401b03851660009081526001602081905260409091208691869161091a8461068a565b80518051602091820151828401518051908401516040516c23b637b130b61039ba30ba329d60991b95810195909552602d850193909352604d8401919091526001600160c01b031960c091821b8116606d85015291901b166075820152600090607d015b604051602081830303815290604052805190602001209050919050565b60006001836003811115610bf857610bf86115f3565b1415610c3e576040516b213637b1b59039ba30ba329d60a11b6020820152602c8101839052604c015b604051602081830303815290604052805190602001209050610d06565b6002836003811115610c5257610c526115f3565b1415610c885760405174213637b1b59039ba30ba32961032b93937b932b21d60591b602082015260358101839052605501610c21565b6003836003811115610c9c57610c9c6115f3565b1415610ccb5760405174213637b1b59039ba30ba3296103a37b7903330b91d60591b6020820152603501610c21565b60405162461bcd60e51b815260206004820152601060248201526f4241445f424c4f434b5f53544154555360801b6044820152606401610346565b92915050565b6020810151600090815b602002015192915050565b60208101516000906001610d16565b6001821015610d4157610d41611acf565b600281511015610d5357610d53611acf565b6000610d60848484610ef4565b6001600160401b038616600081815260016020526040908190206006018390555191925082917f86b34e9455464834eca718f62d4481437603bb929d8a78ccde5d1bc79fa06d6890610db790889088908890611bba565b60405180910390a35050505050565b6001600160401b03821660008181526001602081905260408083206002808201805483546001600160a01b0319808216865596850188905595811690915560038301869055600480840187905560058401879055600684019690965560078301805468ffffffffffffffffff1916905590549251630357aa4960e01b8152948501959095526001600160a01b03948516602485018190529285166044850181905290949293909290911690630357aa4990606401600060405180830381600087803b158015610e9457600080fd5b505af1158015610ea8573d6000803e3d6000fd5b50505050846001600160401b03167ffdaece6c274a4b56af16761f83fd6b1062823192630ea08e019fdf9b2d747f4085604051610ee59190611ba0565b60405180910390a25050505050565b6000838383604051602001610f0b93929190611c0f565b6040516020818303038152906040528051906020012090505b9392505050565b6040805180820190915260008082526020820152815260200190600190039081610f2b575050604080518082018252600080825260209182018190528251808401909352600483529082015290915081600081518110610f8d57610f8d611925565b6020026020010181905250610fa2600061109c565b81600181518110610fb557610fb5611925565b6020026020010181905250610fca600061109c565b81600281518110610fdd57610fdd611925565b602090810291909101810191909152604080518083018252838152815180830190925280825260009282019290925261102d60408051606080820183529181019182529081526000602082015290565b604080518082018252606080825260006020808401829052845161012081018652828152908101879052938401859052908301829052608083018a905260a0830181905260c0830181905260e083015261010082018890529061108f816110cf565b9998505050505050505050565b604080518082019091526000808252602082015250604080518082019091526000815263ffffffff909116602082015290565b600080825160038111156110e5576110e56115f3565b141561119b576110f882602001516112a5565b61110583604001516112a5565b611112846060015161132a565b608085015160a086015160c087015160e0808901516101008a01516040516f26b0b1b434b73290393ab73734b7339d60811b602082015260308101999099526050890197909752607088019590955260908701939093526001600160e01b031991831b821660b0870152821b811660b486015291901b1660b883015260bc82015260dc01610bc5565b6001825160038111156111b0576111b06115f3565b14156111e85760808201516040517026b0b1b434b732903334b734b9b432b21d60791b60208201526031810191909152605101610bc5565b6002825160038111156111fd576111fd6115f3565b1415611227576040516f26b0b1b434b7329032b93937b932b21d60811b6020820152603001610bc5565b60038251600381111561123c5761123c6115f3565b1415611266576040516f26b0b1b434b732903a37b7903330b91d60811b6020820152603001610bc5565b60405162461bcd60e51b815260206004820152600f60248201526e4241445f4d4143485f53544154555360881b6044820152606401610346565b919050565b60208101518151515160005b818110156113235783516112ce906112c990836113c3565b6113fb565b6040516b2b30b63ab29039ba30b1b59d60a11b6020820152602c810191909152604c8101849052606c01604051602081830303815290604052805190602001209250808061131b90611c51565b9150506112b1565b5050919050565b602081015160005b8251518110156113bd576113628360000151828151811061135557611355611925565b6020026020010151611418565b6040517129ba30b1b590333930b6b29039ba30b1b59d60711b602082015260328101919091526052810183905260720160405160208183030381529060405280519060200120915080806113b590611c51565b915050611332565b50919050565b604080518082019091526000808252602082015282518051839081106113eb576113eb611925565b6020026020010151905092915050565b600081600001518260200151604051602001610bc5929190611c6c565b600061142782600001516113fb565b602080840151604080860151606087015191516b29ba30b1b590333930b6b29d60a11b94810194909452602c840194909452604c8301919091526001600160e01b031960e093841b8116606c840152921b9091166070820152607401610bc5565b604080516101208101909152600060e08201818152610100830191909152819081526020016114c7604080518082019091526000808252602082015290565b815260006020820181905260408201819052606082018190526080820181905260a09091015290565b8060408101831015610d0657600080fd5b80356001600160401b03811681146112a057600080fd5b6001600160a01b038116811461068757600080fd5b600080600080600080600080610200898b03121561154a57600080fd5b8835975061155b8a60208b016114f0565b965061016089018a81111561156f57600080fd5b60608a01965061157e81611501565b95505061018089013561159081611518565b93506101a08901356115a181611518565b979a96995094979396929592945050506101c0820135916101e0013590565b6000602082840312156115d257600080fd5b610f2482611501565b80516001600160a01b03168252602090810151910152565b634e487b7160e01b600052602160045260246000fd5b60038110611619576116196115f3565b9052565b6000610120820190506116318284516115db565b602083015161164360408401826115db565b5060408301516080830152606083015160a0830152608083015160c08301526001600160401b0360a08401511660e083015260c0830151611688610100840182611609565b5092915050565b6000602082840312156116a157600080fd5b5035919050565b61012081016116b7828a6115db565b6116c460408301896115db565b8660808301528560a08301528460c08301526001600160401b03841660e08301526105f6610100830184611609565b6000608082840312156113bd57600080fd5b6000806000806060858703121561171b57600080fd5b61172485611501565b935060208501356001600160401b038082111561174057600080fd5b61174c888389016116f3565b9450604087013591508082111561176257600080fd5b818701915087601f83011261177657600080fd5b81358181111561178557600080fd5b8860208260051b850101111561179a57600080fd5b95989497505060200194505050565b600080600080606085870312156117bf57600080fd5b6117c885611501565b935060208501356001600160401b03808211156117e457600080fd5b6117f0888389016116f3565b9450604087013591508082111561180657600080fd5b818701915087601f83011261181a57600080fd5b81358181111561182957600080fd5b88602082850101111561179a57600080fd5b6000806000806080858703121561185157600080fd5b843561185c81611518565b9350602085013561186c81611518565b9250604085013561187c81611518565b9150606085013561188c81611518565b939692955090935050565b600080600080600060e086880312156118af57600080fd5b6118b886611501565b945060208601356001600160401b038111156118d357600080fd5b6118df888289016116f3565b9450506118ef87604088016114f0565b92506118fe87608088016114f0565b9497939650919460c0013592915050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561194d57600080fd5b813560048110610f2457600080fd5b604080519081016001600160401b038111828210171561197e5761197e61190f565b60405290565b600082601f83011261199557600080fd5b604051604081018181106001600160401b03821117156119b7576119b761190f565b80604052508060408401858111156119ce57600080fd5b845b818110156119ef576119e181611501565b8352602092830192016119d0565b509195945050505050565b600060808284031215611a0c57600080fd5b604051604081018181106001600160401b0382111715611a2e57611a2e61190f565b604052601f83018413611a4057600080fd5b611a4861195c565b806040850186811115611a5a57600080fd5b855b81811015611a74578035845260209384019301611a5c565b50818452611a828782611984565b6020850152509195945050505050565b634e487b7160e01b600052601160045260246000fd5b60006001600160401b0380831681811415611ac557611ac5611a92565b6001019392505050565b634e487b7160e01b600052600160045260246000fd5b604081833760006040838101828152908301915b6002811015611b28576001600160401b03611b1384611501565b16825260209283019290910190600101611af9565b5050505050565b6101008101611b3e8285611ae5565b610f246080830184611ae5565b600060208083528351808285015260005b81811015611b7857858101830151858201604001528201611b5c565b81811115611b8a576000604083870101525b50601f01601f1916929092016040019392505050565b6020810160048310611bb457611bb46115f3565b91905290565b6000606082018583526020858185015260606040850152818551808452608086019150828701935060005b81811015611c0157845183529383019391830191600101611be5565b509098975050505050505050565b83815260006020848184015260408301845182860160005b82811015611c4357815184529284019290840190600101611c27565b509198975050505050505050565b6000600019821415611c6557611c65611a92565b5060010190565b652b30b63ab29d60d11b8152600060078410611c8a57611c8a6115f3565b5060f89290921b600683015260078201526027019056fea264697066735822122023cccb7fc63d05fb24d3f7124731bbb8de50f761bafbfe4c613f9fc44bde6fe564736f6c63430008090033";
|
674
|
-
|
675
|
-
type TimedOutChallengeManagerConstructorParams =
|
676
|
-
| [signer?: Signer]
|
677
|
-
| ConstructorParameters<typeof ContractFactory>;
|
678
|
-
|
679
|
-
const isSuperArgs = (
|
680
|
-
xs: TimedOutChallengeManagerConstructorParams
|
681
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
682
|
-
|
683
|
-
export class TimedOutChallengeManager__factory extends ContractFactory {
|
684
|
-
constructor(...args: TimedOutChallengeManagerConstructorParams) {
|
685
|
-
if (isSuperArgs(args)) {
|
686
|
-
super(...args);
|
687
|
-
} else {
|
688
|
-
super(_abi, _bytecode, args[0]);
|
689
|
-
}
|
690
|
-
}
|
691
|
-
|
692
|
-
override deploy(
|
693
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
694
|
-
): Promise<TimedOutChallengeManager> {
|
695
|
-
return super.deploy(overrides || {}) as Promise<TimedOutChallengeManager>;
|
696
|
-
}
|
697
|
-
override getDeployTransaction(
|
698
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
699
|
-
): TransactionRequest {
|
700
|
-
return super.getDeployTransaction(overrides || {});
|
701
|
-
}
|
702
|
-
override attach(address: string): TimedOutChallengeManager {
|
703
|
-
return super.attach(address) as TimedOutChallengeManager;
|
704
|
-
}
|
705
|
-
override connect(signer: Signer): TimedOutChallengeManager__factory {
|
706
|
-
return super.connect(signer) as TimedOutChallengeManager__factory;
|
707
|
-
}
|
708
|
-
|
709
|
-
static readonly bytecode = _bytecode;
|
710
|
-
static readonly abi = _abi;
|
711
|
-
static createInterface(): TimedOutChallengeManagerInterface {
|
712
|
-
return new utils.Interface(_abi) as TimedOutChallengeManagerInterface;
|
713
|
-
}
|
714
|
-
static connect(
|
715
|
-
address: string,
|
716
|
-
signerOrProvider: Signer | Provider
|
717
|
-
): TimedOutChallengeManager {
|
718
|
-
return new Contract(
|
719
|
-
address,
|
720
|
-
_abi,
|
721
|
-
signerOrProvider
|
722
|
-
) as TimedOutChallengeManager;
|
723
|
-
}
|
724
|
-
}
|