@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,528 +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
|
-
OneStepProverHostIo,
|
8
|
-
OneStepProverHostIoInterface,
|
9
|
-
} from "../../../src/osp/OneStepProverHostIo";
|
10
|
-
|
11
|
-
const _abi = [
|
12
|
-
{
|
13
|
-
inputs: [
|
14
|
-
{
|
15
|
-
components: [
|
16
|
-
{
|
17
|
-
internalType: "uint256",
|
18
|
-
name: "maxInboxMessagesRead",
|
19
|
-
type: "uint256",
|
20
|
-
},
|
21
|
-
{
|
22
|
-
internalType: "contract IBridge",
|
23
|
-
name: "bridge",
|
24
|
-
type: "address",
|
25
|
-
},
|
26
|
-
],
|
27
|
-
internalType: "struct ExecutionContext",
|
28
|
-
name: "execCtx",
|
29
|
-
type: "tuple",
|
30
|
-
},
|
31
|
-
{
|
32
|
-
components: [
|
33
|
-
{
|
34
|
-
internalType: "enum MachineStatus",
|
35
|
-
name: "status",
|
36
|
-
type: "uint8",
|
37
|
-
},
|
38
|
-
{
|
39
|
-
components: [
|
40
|
-
{
|
41
|
-
components: [
|
42
|
-
{
|
43
|
-
components: [
|
44
|
-
{
|
45
|
-
internalType: "enum ValueType",
|
46
|
-
name: "valueType",
|
47
|
-
type: "uint8",
|
48
|
-
},
|
49
|
-
{
|
50
|
-
internalType: "uint256",
|
51
|
-
name: "contents",
|
52
|
-
type: "uint256",
|
53
|
-
},
|
54
|
-
],
|
55
|
-
internalType: "struct Value[]",
|
56
|
-
name: "inner",
|
57
|
-
type: "tuple[]",
|
58
|
-
},
|
59
|
-
],
|
60
|
-
internalType: "struct ValueArray",
|
61
|
-
name: "proved",
|
62
|
-
type: "tuple",
|
63
|
-
},
|
64
|
-
{
|
65
|
-
internalType: "bytes32",
|
66
|
-
name: "remainingHash",
|
67
|
-
type: "bytes32",
|
68
|
-
},
|
69
|
-
],
|
70
|
-
internalType: "struct ValueStack",
|
71
|
-
name: "valueStack",
|
72
|
-
type: "tuple",
|
73
|
-
},
|
74
|
-
{
|
75
|
-
components: [
|
76
|
-
{
|
77
|
-
components: [
|
78
|
-
{
|
79
|
-
components: [
|
80
|
-
{
|
81
|
-
internalType: "enum ValueType",
|
82
|
-
name: "valueType",
|
83
|
-
type: "uint8",
|
84
|
-
},
|
85
|
-
{
|
86
|
-
internalType: "uint256",
|
87
|
-
name: "contents",
|
88
|
-
type: "uint256",
|
89
|
-
},
|
90
|
-
],
|
91
|
-
internalType: "struct Value[]",
|
92
|
-
name: "inner",
|
93
|
-
type: "tuple[]",
|
94
|
-
},
|
95
|
-
],
|
96
|
-
internalType: "struct ValueArray",
|
97
|
-
name: "proved",
|
98
|
-
type: "tuple",
|
99
|
-
},
|
100
|
-
{
|
101
|
-
internalType: "bytes32",
|
102
|
-
name: "remainingHash",
|
103
|
-
type: "bytes32",
|
104
|
-
},
|
105
|
-
],
|
106
|
-
internalType: "struct ValueStack",
|
107
|
-
name: "internalStack",
|
108
|
-
type: "tuple",
|
109
|
-
},
|
110
|
-
{
|
111
|
-
components: [
|
112
|
-
{
|
113
|
-
components: [
|
114
|
-
{
|
115
|
-
components: [
|
116
|
-
{
|
117
|
-
internalType: "enum ValueType",
|
118
|
-
name: "valueType",
|
119
|
-
type: "uint8",
|
120
|
-
},
|
121
|
-
{
|
122
|
-
internalType: "uint256",
|
123
|
-
name: "contents",
|
124
|
-
type: "uint256",
|
125
|
-
},
|
126
|
-
],
|
127
|
-
internalType: "struct Value",
|
128
|
-
name: "returnPc",
|
129
|
-
type: "tuple",
|
130
|
-
},
|
131
|
-
{
|
132
|
-
internalType: "bytes32",
|
133
|
-
name: "localsMerkleRoot",
|
134
|
-
type: "bytes32",
|
135
|
-
},
|
136
|
-
{
|
137
|
-
internalType: "uint32",
|
138
|
-
name: "callerModule",
|
139
|
-
type: "uint32",
|
140
|
-
},
|
141
|
-
{
|
142
|
-
internalType: "uint32",
|
143
|
-
name: "callerModuleInternals",
|
144
|
-
type: "uint32",
|
145
|
-
},
|
146
|
-
],
|
147
|
-
internalType: "struct StackFrame[]",
|
148
|
-
name: "proved",
|
149
|
-
type: "tuple[]",
|
150
|
-
},
|
151
|
-
{
|
152
|
-
internalType: "bytes32",
|
153
|
-
name: "remainingHash",
|
154
|
-
type: "bytes32",
|
155
|
-
},
|
156
|
-
],
|
157
|
-
internalType: "struct StackFrameWindow",
|
158
|
-
name: "frameStack",
|
159
|
-
type: "tuple",
|
160
|
-
},
|
161
|
-
{
|
162
|
-
internalType: "bytes32",
|
163
|
-
name: "globalStateHash",
|
164
|
-
type: "bytes32",
|
165
|
-
},
|
166
|
-
{
|
167
|
-
internalType: "uint32",
|
168
|
-
name: "moduleIdx",
|
169
|
-
type: "uint32",
|
170
|
-
},
|
171
|
-
{
|
172
|
-
internalType: "uint32",
|
173
|
-
name: "functionIdx",
|
174
|
-
type: "uint32",
|
175
|
-
},
|
176
|
-
{
|
177
|
-
internalType: "uint32",
|
178
|
-
name: "functionPc",
|
179
|
-
type: "uint32",
|
180
|
-
},
|
181
|
-
{
|
182
|
-
internalType: "bytes32",
|
183
|
-
name: "modulesRoot",
|
184
|
-
type: "bytes32",
|
185
|
-
},
|
186
|
-
],
|
187
|
-
internalType: "struct Machine",
|
188
|
-
name: "startMach",
|
189
|
-
type: "tuple",
|
190
|
-
},
|
191
|
-
{
|
192
|
-
components: [
|
193
|
-
{
|
194
|
-
internalType: "bytes32",
|
195
|
-
name: "globalsMerkleRoot",
|
196
|
-
type: "bytes32",
|
197
|
-
},
|
198
|
-
{
|
199
|
-
components: [
|
200
|
-
{
|
201
|
-
internalType: "uint64",
|
202
|
-
name: "size",
|
203
|
-
type: "uint64",
|
204
|
-
},
|
205
|
-
{
|
206
|
-
internalType: "uint64",
|
207
|
-
name: "maxSize",
|
208
|
-
type: "uint64",
|
209
|
-
},
|
210
|
-
{
|
211
|
-
internalType: "bytes32",
|
212
|
-
name: "merkleRoot",
|
213
|
-
type: "bytes32",
|
214
|
-
},
|
215
|
-
],
|
216
|
-
internalType: "struct ModuleMemory",
|
217
|
-
name: "moduleMemory",
|
218
|
-
type: "tuple",
|
219
|
-
},
|
220
|
-
{
|
221
|
-
internalType: "bytes32",
|
222
|
-
name: "tablesMerkleRoot",
|
223
|
-
type: "bytes32",
|
224
|
-
},
|
225
|
-
{
|
226
|
-
internalType: "bytes32",
|
227
|
-
name: "functionsMerkleRoot",
|
228
|
-
type: "bytes32",
|
229
|
-
},
|
230
|
-
{
|
231
|
-
internalType: "uint32",
|
232
|
-
name: "internalsOffset",
|
233
|
-
type: "uint32",
|
234
|
-
},
|
235
|
-
],
|
236
|
-
internalType: "struct Module",
|
237
|
-
name: "startMod",
|
238
|
-
type: "tuple",
|
239
|
-
},
|
240
|
-
{
|
241
|
-
components: [
|
242
|
-
{
|
243
|
-
internalType: "uint16",
|
244
|
-
name: "opcode",
|
245
|
-
type: "uint16",
|
246
|
-
},
|
247
|
-
{
|
248
|
-
internalType: "uint256",
|
249
|
-
name: "argumentData",
|
250
|
-
type: "uint256",
|
251
|
-
},
|
252
|
-
],
|
253
|
-
internalType: "struct Instruction",
|
254
|
-
name: "inst",
|
255
|
-
type: "tuple",
|
256
|
-
},
|
257
|
-
{
|
258
|
-
internalType: "bytes",
|
259
|
-
name: "proof",
|
260
|
-
type: "bytes",
|
261
|
-
},
|
262
|
-
],
|
263
|
-
name: "executeOneStep",
|
264
|
-
outputs: [
|
265
|
-
{
|
266
|
-
components: [
|
267
|
-
{
|
268
|
-
internalType: "enum MachineStatus",
|
269
|
-
name: "status",
|
270
|
-
type: "uint8",
|
271
|
-
},
|
272
|
-
{
|
273
|
-
components: [
|
274
|
-
{
|
275
|
-
components: [
|
276
|
-
{
|
277
|
-
components: [
|
278
|
-
{
|
279
|
-
internalType: "enum ValueType",
|
280
|
-
name: "valueType",
|
281
|
-
type: "uint8",
|
282
|
-
},
|
283
|
-
{
|
284
|
-
internalType: "uint256",
|
285
|
-
name: "contents",
|
286
|
-
type: "uint256",
|
287
|
-
},
|
288
|
-
],
|
289
|
-
internalType: "struct Value[]",
|
290
|
-
name: "inner",
|
291
|
-
type: "tuple[]",
|
292
|
-
},
|
293
|
-
],
|
294
|
-
internalType: "struct ValueArray",
|
295
|
-
name: "proved",
|
296
|
-
type: "tuple",
|
297
|
-
},
|
298
|
-
{
|
299
|
-
internalType: "bytes32",
|
300
|
-
name: "remainingHash",
|
301
|
-
type: "bytes32",
|
302
|
-
},
|
303
|
-
],
|
304
|
-
internalType: "struct ValueStack",
|
305
|
-
name: "valueStack",
|
306
|
-
type: "tuple",
|
307
|
-
},
|
308
|
-
{
|
309
|
-
components: [
|
310
|
-
{
|
311
|
-
components: [
|
312
|
-
{
|
313
|
-
components: [
|
314
|
-
{
|
315
|
-
internalType: "enum ValueType",
|
316
|
-
name: "valueType",
|
317
|
-
type: "uint8",
|
318
|
-
},
|
319
|
-
{
|
320
|
-
internalType: "uint256",
|
321
|
-
name: "contents",
|
322
|
-
type: "uint256",
|
323
|
-
},
|
324
|
-
],
|
325
|
-
internalType: "struct Value[]",
|
326
|
-
name: "inner",
|
327
|
-
type: "tuple[]",
|
328
|
-
},
|
329
|
-
],
|
330
|
-
internalType: "struct ValueArray",
|
331
|
-
name: "proved",
|
332
|
-
type: "tuple",
|
333
|
-
},
|
334
|
-
{
|
335
|
-
internalType: "bytes32",
|
336
|
-
name: "remainingHash",
|
337
|
-
type: "bytes32",
|
338
|
-
},
|
339
|
-
],
|
340
|
-
internalType: "struct ValueStack",
|
341
|
-
name: "internalStack",
|
342
|
-
type: "tuple",
|
343
|
-
},
|
344
|
-
{
|
345
|
-
components: [
|
346
|
-
{
|
347
|
-
components: [
|
348
|
-
{
|
349
|
-
components: [
|
350
|
-
{
|
351
|
-
internalType: "enum ValueType",
|
352
|
-
name: "valueType",
|
353
|
-
type: "uint8",
|
354
|
-
},
|
355
|
-
{
|
356
|
-
internalType: "uint256",
|
357
|
-
name: "contents",
|
358
|
-
type: "uint256",
|
359
|
-
},
|
360
|
-
],
|
361
|
-
internalType: "struct Value",
|
362
|
-
name: "returnPc",
|
363
|
-
type: "tuple",
|
364
|
-
},
|
365
|
-
{
|
366
|
-
internalType: "bytes32",
|
367
|
-
name: "localsMerkleRoot",
|
368
|
-
type: "bytes32",
|
369
|
-
},
|
370
|
-
{
|
371
|
-
internalType: "uint32",
|
372
|
-
name: "callerModule",
|
373
|
-
type: "uint32",
|
374
|
-
},
|
375
|
-
{
|
376
|
-
internalType: "uint32",
|
377
|
-
name: "callerModuleInternals",
|
378
|
-
type: "uint32",
|
379
|
-
},
|
380
|
-
],
|
381
|
-
internalType: "struct StackFrame[]",
|
382
|
-
name: "proved",
|
383
|
-
type: "tuple[]",
|
384
|
-
},
|
385
|
-
{
|
386
|
-
internalType: "bytes32",
|
387
|
-
name: "remainingHash",
|
388
|
-
type: "bytes32",
|
389
|
-
},
|
390
|
-
],
|
391
|
-
internalType: "struct StackFrameWindow",
|
392
|
-
name: "frameStack",
|
393
|
-
type: "tuple",
|
394
|
-
},
|
395
|
-
{
|
396
|
-
internalType: "bytes32",
|
397
|
-
name: "globalStateHash",
|
398
|
-
type: "bytes32",
|
399
|
-
},
|
400
|
-
{
|
401
|
-
internalType: "uint32",
|
402
|
-
name: "moduleIdx",
|
403
|
-
type: "uint32",
|
404
|
-
},
|
405
|
-
{
|
406
|
-
internalType: "uint32",
|
407
|
-
name: "functionIdx",
|
408
|
-
type: "uint32",
|
409
|
-
},
|
410
|
-
{
|
411
|
-
internalType: "uint32",
|
412
|
-
name: "functionPc",
|
413
|
-
type: "uint32",
|
414
|
-
},
|
415
|
-
{
|
416
|
-
internalType: "bytes32",
|
417
|
-
name: "modulesRoot",
|
418
|
-
type: "bytes32",
|
419
|
-
},
|
420
|
-
],
|
421
|
-
internalType: "struct Machine",
|
422
|
-
name: "mach",
|
423
|
-
type: "tuple",
|
424
|
-
},
|
425
|
-
{
|
426
|
-
components: [
|
427
|
-
{
|
428
|
-
internalType: "bytes32",
|
429
|
-
name: "globalsMerkleRoot",
|
430
|
-
type: "bytes32",
|
431
|
-
},
|
432
|
-
{
|
433
|
-
components: [
|
434
|
-
{
|
435
|
-
internalType: "uint64",
|
436
|
-
name: "size",
|
437
|
-
type: "uint64",
|
438
|
-
},
|
439
|
-
{
|
440
|
-
internalType: "uint64",
|
441
|
-
name: "maxSize",
|
442
|
-
type: "uint64",
|
443
|
-
},
|
444
|
-
{
|
445
|
-
internalType: "bytes32",
|
446
|
-
name: "merkleRoot",
|
447
|
-
type: "bytes32",
|
448
|
-
},
|
449
|
-
],
|
450
|
-
internalType: "struct ModuleMemory",
|
451
|
-
name: "moduleMemory",
|
452
|
-
type: "tuple",
|
453
|
-
},
|
454
|
-
{
|
455
|
-
internalType: "bytes32",
|
456
|
-
name: "tablesMerkleRoot",
|
457
|
-
type: "bytes32",
|
458
|
-
},
|
459
|
-
{
|
460
|
-
internalType: "bytes32",
|
461
|
-
name: "functionsMerkleRoot",
|
462
|
-
type: "bytes32",
|
463
|
-
},
|
464
|
-
{
|
465
|
-
internalType: "uint32",
|
466
|
-
name: "internalsOffset",
|
467
|
-
type: "uint32",
|
468
|
-
},
|
469
|
-
],
|
470
|
-
internalType: "struct Module",
|
471
|
-
name: "mod",
|
472
|
-
type: "tuple",
|
473
|
-
},
|
474
|
-
],
|
475
|
-
stateMutability: "view",
|
476
|
-
type: "function",
|
477
|
-
},
|
478
|
-
];
|
479
|
-
|
480
|
-
const _bytecode =
|
481
|
-
"0x608060405234801561001057600080fd5b5061265e806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063da78e7d114610030575b600080fd5b61004361003e366004611b5a565b61005a565b604051610051929190611d6c565b60405180910390f35b610062611a4c565b6040805160a0810182526000808252825160608082018552828252602080830184905282860184905284019190915292820181905291810182905260808101919091526100ae87612214565b91506100bf36879003870187612317565b905060006100d060208701876123ae565b9050611af561801061ffff8316108015906100f1575061801361ffff831611155b156100ff57506101a8610189565b61ffff8216618020141561011657506102f0610189565b61ffff8216618021141561012d5750610590610189565b61ffff8216618022141561014457506108b5610189565b60405162461bcd60e51b8152602060048201526015602482015274494e56414c49445f4d454d4f52595f4f50434f444560581b60448201526064015b60405180910390fd5b61019b8a85858a8a8a8763ffffffff16565b5050965096945050505050565b60006101b760208501856123ae565b90506101c1611aff565b60006101ce8585836108c1565b60808a015191935091506101e18361099c565b146102215760405162461bcd60e51b815260206004820152601060248201526f4241445f474c4f42414c5f535441544560801b6044820152606401610180565b61ffff8316618010148061023a575061ffff8316618011145b1561025c57610257888884896102528987818d6123d2565b610a10565b6102d4565b61ffff83166180121415610274576102578883610bb8565b61ffff8316618013141561028c576102578883610c4f565b60405162461bcd60e51b815260206004820152601a60248201527f494e56414c49445f474c4f42414c53544154455f4f50434f44450000000000006044820152606401610180565b6102dd8261099c565b6080909801979097525050505050505050565b60006103076103028760200151610cc5565b610cea565b63ffffffff16905060006103216103028860200151610cc5565b63ffffffff1690508560200151600001516001600160401b03168160206103489190612412565b118061035d575061035a602082612440565b15155b15610384578660025b9081600381111561037957610379611c3d565b815250505050610588565b6000610391602083612454565b90506000806103ac6040518060200160405280606081525090565b60208a01516103be90858a8a87610d7b565b9094509092509050606060008989868181106103dc576103dc612468565b919091013560f81c91508590506103f28161247e565b95505060ff81166104cb5736600061040c8b88818f6123d2565b91509150858282604051610421929190612499565b6040518091039020146104655760405162461bcd60e51b815260206004820152600c60248201526b4241445f505245494d41474560a01b6044820152606401610180565b60006104728b6020612412565b90508181111561047f5750805b61048b818c84866123d2565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092975061050c95505050505050565b60405162461bcd60e51b81526020600482015260166024820152752aa725a727aba72fa82922a4a6a0a3a2afa82927a7a360511b6044820152606401610180565b60005b82518110156105505761053c858285848151811061052f5761052f612468565b016020015160f81c610e15565b9450806105488161247e565b91505061050f565b5061055c838786610e9b565b60208d015160400152815161057f9061057490610f1a565b60208f015190610f4d565b50505050505050505b505050505050565b60006105a26103028760200151610cc5565b63ffffffff16905060006105bc6103028860200151610cc5565b63ffffffff16905060006105db6105d68960200151610cc5565b610f5d565b6001600160401b0316905060208601351580156105f9575088358110155b15610621578760035b9081600381111561061557610615611c3d565b81525050505050610588565b602080880151516001600160401b03169061063d908490612412565b1180610652575061064f602083612440565b15155b1561065f57876002610602565b600061066c602084612454565b90506000806106876040518060200160405280606081525090565b60208b015161069990858b8b87610d7b565b90945090925090508888848181106106b3576106b3612468565b909101356001600160f81b0319161590506107065760405162461bcd60e51b81526020600482015260136024820152722aa725a727aba72fa4a72127ac2fa82927a7a360691b6044820152606401610180565b826107108161247e565b935050611af56000808c60200135141561072e57610fee915061076e565b60018c602001351415610745576112ed915061076e565b8d60025b9081600381111561075c5761075c611c3d565b81525050505050505050505050610588565b61078e8f888d8d89908092610785939291906123d2565b8663ffffffff16565b90508061079d578d6002610749565b5050828810156107e35760405162461bcd60e51b81526020600482015260116024820152702120a22fa6a2a9a9a0a3a2afa82927a7a360791b6044820152606401610180565b60006107ef848a6124a9565b905060005b60208163ffffffff1610801561081857508161081663ffffffff83168b612412565b105b156108715761085d8463ffffffff83168d8d826108358f8c612412565b61083f9190612412565b81811061084e5761084e612468565b919091013560f81c9050610e15565b935080610869816124c0565b9150506107f4565b61087c838786610e9b565b60208e0151604001526108a461089182610f1a565b8f60200151610f4d90919063ffffffff16565b505050505050505050505050505050565b50506001909252505050565b6108c9611aff565b816108d2611b24565b6108da611b24565b60005b600260ff82161015610925576108f488888661158f565b848360ff166002811061090957610909612468565b602002019190915293508061091d816124e4565b9150506108dd565b5060005b600260ff8216101561097f576109408888866115ab565b838360ff166002811061095557610955612468565b6001600160401b039093166020939093020191909152935080610977816124e4565b915050610929565b506040805180820190915291825260208201529590945092505050565b8051805160209182015192820151805190830151604080516c23b637b130b61039ba30ba329d60991b81870152602d810194909452604d8401959095526001600160c01b031960c092831b8116606d850152911b1660758201528251808203605d018152607d909101909252815191012090565b6000610a226103028860200151610cc5565b63ffffffff1690506000610a3c6103028960200151610cc5565b9050600263ffffffff821610610a5457876002610366565b602080880151516001600160401b031690610a70908490612412565b1180610a855750610a82602083612440565b15155b15610a9257876002610366565b6000610a9f602084612454565b9050600080610aba6040518060200160405280606081525090565b60208b0151610acc90858a8a87610d7b565b9094509092509050618010610ae460208b018b6123ae565b61ffff161415610b2957610b1b848b600001518763ffffffff1660028110610b0e57610b0e612468565b6020020151839190610e9b565b60208c015160400152610baa565b618011610b3960208b018b6123ae565b61ffff161415610b68578951829063ffffffff871660028110610b5e57610b5e612468565b6020020152610baa565b60405162461bcd60e51b81526020600482015260176024820152764241445f474c4f42414c5f53544154455f4f50434f444560481b6044820152606401610180565b505050505050505050505050565b6000610bca6103028460200151610cc5565b9050600263ffffffff821610610be257505060029052565b610c4a610c3f83602001518363ffffffff1660028110610c0457610c04612468565b602002015160408051808201909152600080825260208201525060408051808201909152600181526001600160401b03909116602082015290565b602085015190610f4d565b505050565b6000610c616105d68460200151610cc5565b90506000610c756103028560200151610cc5565b9050600263ffffffff821610610c8f575050600290915250565b8183602001518263ffffffff1660028110610cac57610cac612468565b6001600160401b03909216602092909202015250505050565b60408051808201909152600080825260208201528151610ce490611612565b92915050565b60208101516000908183516006811115610d0657610d06611c3d565b14610d3d5760405162461bcd60e51b81526020600482015260076024820152662727aa2fa4999960c91b6044820152606401610180565b6401000000008110610ce45760405162461bcd60e51b81526020600482015260076024820152662120a22fa4999960c91b6044820152606401610180565b600080610d946040518060200160405280606081525090565b839150610da286868461158f565b9093509150610db2868684611722565b925090506000610dc3828986610e9b565b905088604001518114610e095760405162461bcd60e51b815260206004820152600e60248201526d15d493d391d7d3515357d493d3d560921b6044820152606401610180565b50955095509592505050565b600060208310610e5f5760405162461bcd60e51b81526020600482015260156024820152740848288bea68aa8be988a828cbe84b2a88abe9288b605b1b6044820152606401610180565b600083610e6e600160206124a9565b610e7891906124a9565b610e83906008612504565b60ff848116821b911b198616179150505b9392505050565b6040516b26b2b6b7b93c903632b0b31d60a11b6020820152602c81018290526000908190604c01604051602081830303815290604052805190602001209050610f118585836040518060400160405280601381526020017226b2b6b7b93c9036b2b935b632903a3932b29d60691b8152506117fc565b95945050505050565b604080518082019091526000808252602082015250604080518082019091526000815263ffffffff909116602082015290565b8151610f5990826118ce565b5050565b6020810151600090600183516006811115610f7a57610f7a611c3d565b14610fb15760405162461bcd60e51b81526020600482015260076024820152661393d517d24d8d60ca1b6044820152606401610180565b600160401b8110610ce45760405162461bcd60e51b815260206004820152600760248201526610905117d24d8d60ca1b6044820152606401610180565b600060288210156110365760405162461bcd60e51b81526020600482015260126024820152712120a22fa9a2a8a4a72127ac2fa82927a7a360711b6044820152606401610180565b6000611044848460206115ab565b50809150506000848460405161105b929190612499565b60405190819003902090506000806001600160401b0388161561111b5761108860408a0160208b01612523565b6001600160a01b03166316bf55796110a160018b61254c565b6040516001600160e01b031960e084901b1681526001600160401b03909116600482015260240160206040518083038186803b1580156110e057600080fd5b505afa1580156110f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111189190612574565b91505b6001600160401b038416156111cd5761113a60408a0160208b01612523565b6001600160a01b031663d5719dc261115360018761254c565b6040516001600160e01b031960e084901b1681526001600160401b03909116600482015260240160206040518083038186803b15801561119257600080fd5b505afa1580156111a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ca9190612574565b90505b6040805160208101849052908101849052606081018290526000906080016040516020818303038152906040528051906020012090508960200160208101906112169190612523565b6040516316bf557960e01b81526001600160401b038b1660048201526001600160a01b0391909116906316bf55799060240160206040518083038186803b15801561126057600080fd5b505afa158015611274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112989190612574565b81146112dd5760405162461bcd60e51b81526020600482015260146024820152734241445f534551494e424f585f4d45535341474560601b6044820152606401610180565b5060019998505050505050505050565b600060718210156113345760405162461bcd60e51b81526020600482015260116024820152702120a22fa222a620aca2a22fa82927a7a360791b6044820152606401610180565b60006001600160401b038516156113e8576113556040870160208801612523565b6001600160a01b031663d5719dc261136e60018861254c565b6040516001600160e01b031960e084901b1681526001600160401b03909116600482015260240160206040518083038186803b1580156113ad57600080fd5b505afa1580156113c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e59190612574565b90505b60006113f784607181886123d2565b604051611405929190612499565b6040518091039020905060008585600081811061142457611424612468565b9050013560f81c60f81b9050600061143e878760016119c1565b50905060008282611453607160218b8d6123d2565b8760405160200161146895949392919061258d565b60408051601f198184030181528282528051602091820120838201899052838301819052825180850384018152606090940190925282519201919091209091506114b860408c0160208d01612523565b604051636ab8cee160e11b81526001600160401b038c1660048201526001600160a01b03919091169063d5719dc29060240160206040518083038186803b15801561150257600080fd5b505afa158015611516573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153a9190612574565b811461157e5760405162461bcd60e51b81526020600482015260136024820152724241445f44454c415945445f4d45535341474560681b6044820152606401610180565b5060019a9950505050505050505050565b6000818161159e8686846119c1565b9097909650945050505050565b600081815b6008811015611609576008836001600160401b0316901b92508585838181106115db576115db612468565b919091013560f81c939093179250816115f38161247e565b92505080806116019061247e565b9150506115b0565b50935093915050565b604080518082019091526000808252602082015281518051611636906001906124a9565b8151811061164657611646612468565b602002602001015190506000600183600001515161166491906124a9565b6001600160401b0381111561167b5761167b611e94565b6040519080825280602002602001820160405280156116c057816020015b60408051808201909152600080825260208201528152602001906001900390816116995790505b50905060005b815181101561171b5783518051829081106116e3576116e3612468565b60200260200101518282815181106116fd576116fd612468565b602002602001018190525080806117139061247e565b9150506116c6565b5090915290565b60408051602081019091526060815281600061173f868684611a16565b92509050600060ff82166001600160401b0381111561176057611760611e94565b604051908082528060200260200182016040528015611789578160200160208202803683370190505b50905060005b8260ff168160ff1610156117e0576117a888888661158f565b838360ff16815181106117bd576117bd612468565b6020026020010181965082815250505080806117d8906124e4565b91505061178f565b5060405180602001604052808281525093505050935093915050565b8160005b8551518110156118c557600185166118615782828760000151838151811061182a5761182a612468565b6020026020010151604051602001611844939291906125cc565b6040516020818303038152906040528051906020012091506118ac565b828660000151828151811061187857611878612468565b602002602001015183604051602001611893939291906125cc565b6040516020818303038152906040528051906020012091505b60019490941c93806118bd8161247e565b915050611800565b50949350505050565b8151516000906118df906001612412565b6001600160401b038111156118f6576118f6611e94565b60405190808252806020026020018201604052801561193b57816020015b60408051808201909152600080825260208201528152602001906001900390816119145790505b50905060005b83515181101561199757835180518290811061195f5761195f612468565b602002602001015182828151811061197957611979612468565b6020026020010181905250808061198f9061247e565b915050611941565b508181846000015151815181106119b0576119b0612468565b602090810291909101015290915250565b600081815b602081101561160957600883901b92508585838181106119e8576119e8612468565b919091013560f81c93909317925081611a008161247e565b9250508080611a0e9061247e565b9150506119c6565b600081848482818110611a2b57611a2b612468565b919091013560f81c9250819050611a418161247e565b915050935093915050565b6040805161012081019091528060008152602001611a8160408051606080820183529181019182529081526000602082015290565b8152602001611aa760408051606080820183529181019182529081526000602082015290565b8152602001611acc604051806040016040528060608152602001600080191681525090565b815260006020820181905260408201819052606082018190526080820181905260a09091015290565b611afd612612565b565b6040518060400160405280611b12611b24565b8152602001611b1f611b24565b905290565b60405180604001604052806002906020820280368337509192915050565b600060408284031215611b5457600080fd5b50919050565b6000806000806000808688036101a0811215611b7557600080fd5b611b7f8989611b42565b965060408801356001600160401b0380821115611b9b57600080fd5b90890190610120828c031215611bb057600080fd5b81975060e0605f1984011215611bc557600080fd5b60608a019650611bd98b6101408c01611b42565b95506101808a0135925080831115611bf057600080fd5b828a0192508a601f840112611c0457600080fd5b8235915080821115611c1557600080fd5b50896020828401011115611c2857600080fd5b60208201935080925050509295509295509295565b634e487b7160e01b600052602160045260246000fd5b60048110611c6357611c63611c3d565b9052565b805160078110611c7957611c79611c3d565b8252602090810151910152565b805160408084529051602084830181905281516060860181905260009392820191849160808801905b80841015611cd657611cc2828651611c67565b938201936001939093019290850190611caf565b509581015196019590955250919392505050565b8051604080845281518482018190526000926060916020918201918388019190865b82811015611d55578451611d21858251611c67565b80830151858901528781015163ffffffff90811688870152908701511660808501529381019360a090930192600101611d0c565b509687015197909601969096525093949350505050565b6000610100808352611d818184018651611c53565b602085015161012084810152611d9b610220850182611c86565b9050604086015160ff198086840301610140870152611dba8383611c86565b925060608801519150808684030161016087015250611dd98282611cea565b915050608086015161018085015260a0860151611dff6101a086018263ffffffff169052565b5060c086015163ffffffff81166101c08601525060e086015163ffffffff81166101e086015250908501516102008401529050610e9460208301848051825260208101516001600160401b0380825116602085015280602083015116604085015250604081015160608401525060408101516080830152606081015160a083015263ffffffff60808201511660c08301525050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611ecc57611ecc611e94565b60405290565b604051602081016001600160401b0381118282101715611ecc57611ecc611e94565b604051608081016001600160401b0381118282101715611ecc57611ecc611e94565b60405161012081016001600160401b0381118282101715611ecc57611ecc611e94565b60405160a081016001600160401b0381118282101715611ecc57611ecc611e94565b604051606081016001600160401b0381118282101715611ecc57611ecc611e94565b604051601f8201601f191681016001600160401b0381118282101715611fa557611fa5611e94565b604052919050565b803560048110611fbc57600080fd5b919050565b60006001600160401b03821115611fda57611fda611e94565b5060051b60200190565b600060408284031215611ff657600080fd5b611ffe611eaa565b905081356007811061200f57600080fd5b808252506020820135602082015292915050565b6000604080838503121561203657600080fd5b61203e611eaa565b915082356001600160401b038082111561205757600080fd5b8185019150602080838803121561206d57600080fd5b612075611ed2565b83358381111561208457600080fd5b80850194505087601f85011261209957600080fd5b833592506120ae6120a984611fc1565b611f7d565b83815260069390931b840182019282810190898511156120cd57600080fd5b948301945b848610156120f3576120e48a87611fe4565b825294860194908301906120d2565b8252508552948501359484019490945250909392505050565b803563ffffffff81168114611fbc57600080fd5b6000604080838503121561213357600080fd5b61213b611eaa565b915082356001600160401b0381111561215357600080fd5b8301601f8101851361216457600080fd5b803560206121746120a983611fc1565b82815260a0928302840182019282820191908985111561219357600080fd5b948301945b848610156121fc5780868b0312156121b05760008081fd5b6121b8611ef4565b6121c28b88611fe4565b8152878701358582015260606121d981890161210c565b898301526121e96080890161210c565b9082015283529485019491830191612198565b50808752505080860135818601525050505092915050565b6000610120823603121561222757600080fd5b61222f611f16565b61223883611fad565b815260208301356001600160401b038082111561225457600080fd5b61226036838701612023565b6020840152604085013591508082111561227957600080fd5b61228536838701612023565b6040840152606085013591508082111561229e57600080fd5b506122ab36828601612120565b606083015250608083013560808201526122c760a0840161210c565b60a08201526122d860c0840161210c565b60c08201526122e960e0840161210c565b60e082015261010092830135928101929092525090565b80356001600160401b0381168114611fbc57600080fd5b600081830360e081121561232a57600080fd5b612332611f39565b833581526060601f198301121561234857600080fd5b612350611f5b565b915061235e60208501612300565b825261236c60408501612300565b6020830152606084013560408301528160208201526080840135604082015260a084013560608201526123a160c0850161210c565b6080820152949350505050565b6000602082840312156123c057600080fd5b813561ffff81168114610e9457600080fd5b600080858511156123e257600080fd5b838611156123ef57600080fd5b5050820193919092039150565b634e487b7160e01b600052601160045260246000fd5b60008219821115612425576124256123fc565b500190565b634e487b7160e01b600052601260045260246000fd5b60008261244f5761244f61242a565b500690565b6000826124635761246361242a565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612492576124926123fc565b5060010190565b8183823760009101908152919050565b6000828210156124bb576124bb6123fc565b500390565b600063ffffffff808316818114156124da576124da6123fc565b6001019392505050565b600060ff821660ff8114156124fb576124fb6123fc565b60010192915050565b600081600019048311821515161561251e5761251e6123fc565b500290565b60006020828403121561253557600080fd5b81356001600160a01b0381168114610e9457600080fd5b60006001600160401b038381169083168181101561256c5761256c6123fc565b039392505050565b60006020828403121561258657600080fd5b5051919050565b6001600160f81b031986168152606085901b6bffffffffffffffffffffffff191660018201528284601583013760159201918201526035019392505050565b6000845160005b818110156125ed57602081880181015185830152016125d3565b818111156125fc576000828501525b5091909101928352506020820152604001919050565b634e487b7160e01b600052605160045260246000fdfea264697066735822122070a4a2311875ed12927d25131a763327dab8758a1e8e4083222eb8d0e923c5c764736f6c63430008090033";
|
482
|
-
|
483
|
-
type OneStepProverHostIoConstructorParams =
|
484
|
-
| [signer?: Signer]
|
485
|
-
| ConstructorParameters<typeof ContractFactory>;
|
486
|
-
|
487
|
-
const isSuperArgs = (
|
488
|
-
xs: OneStepProverHostIoConstructorParams
|
489
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
490
|
-
|
491
|
-
export class OneStepProverHostIo__factory extends ContractFactory {
|
492
|
-
constructor(...args: OneStepProverHostIoConstructorParams) {
|
493
|
-
if (isSuperArgs(args)) {
|
494
|
-
super(...args);
|
495
|
-
} else {
|
496
|
-
super(_abi, _bytecode, args[0]);
|
497
|
-
}
|
498
|
-
}
|
499
|
-
|
500
|
-
override deploy(
|
501
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
502
|
-
): Promise<OneStepProverHostIo> {
|
503
|
-
return super.deploy(overrides || {}) as Promise<OneStepProverHostIo>;
|
504
|
-
}
|
505
|
-
override getDeployTransaction(
|
506
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
507
|
-
): TransactionRequest {
|
508
|
-
return super.getDeployTransaction(overrides || {});
|
509
|
-
}
|
510
|
-
override attach(address: string): OneStepProverHostIo {
|
511
|
-
return super.attach(address) as OneStepProverHostIo;
|
512
|
-
}
|
513
|
-
override connect(signer: Signer): OneStepProverHostIo__factory {
|
514
|
-
return super.connect(signer) as OneStepProverHostIo__factory;
|
515
|
-
}
|
516
|
-
|
517
|
-
static readonly bytecode = _bytecode;
|
518
|
-
static readonly abi = _abi;
|
519
|
-
static createInterface(): OneStepProverHostIoInterface {
|
520
|
-
return new utils.Interface(_abi) as OneStepProverHostIoInterface;
|
521
|
-
}
|
522
|
-
static connect(
|
523
|
-
address: string,
|
524
|
-
signerOrProvider: Signer | Provider
|
525
|
-
): OneStepProverHostIo {
|
526
|
-
return new Contract(address, _abi, signerOrProvider) as OneStepProverHostIo;
|
527
|
-
}
|
528
|
-
}
|