@arbitrum/nitro-contracts 1.1.0-alpha.7 → 1.1.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.json +10 -0
- package/build/contracts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.json +215 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.json +183 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.json +30 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.json +30 -0
- package/build/contracts/src/bridge/AbsBridge.sol/AbsBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.json +26 -0
- package/build/contracts/src/bridge/AbsOutbox.sol/AbsOutbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/Bridge.sol/Bridge.json +2 -2
- package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.json +7 -2
- package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.json +39 -2
- package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.json +2 -2
- package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.dbg.json +4 -0
- package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.json +539 -0
- package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Bridge.sol/IERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.json +26 -0
- package/build/contracts/src/bridge/IEthBridge.sol/IEthBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IInbox.sol/IInbox.json +26 -0
- package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.dbg.json +1 -1
- package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.json +26 -0
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.json +13 -0
- package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +13 -0
- package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Inbox.sol/Inbox.json +39 -2
- package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +1 -1
- package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Outbox.sol/Outbox.json +2 -2
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +26 -2
- package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +1 -1
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +1 -1
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +2 -2
- package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +1 -1
- package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +1 -1
- package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +1 -1
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +1 -1
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +1 -1
- package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +1 -1
- package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +1 -1
- package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +1 -1
- package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +1 -1
- package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.dbg.json +1 -1
- package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +1 -1
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +1 -1
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +2 -2
- package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +2 -2
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +2 -2
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +1 -1
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +33 -2
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +1 -1
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +2 -2
- package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +1 -1
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +1 -1
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +20 -2
- package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +1 -1
- package/build/contracts/src/mocks/Simple.sol/Simple.json +2 -2
- package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +1 -1
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +1 -1
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +2 -2
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +1 -1
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +2 -2
- package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.dbg.json +4 -0
- package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.json +350 -0
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +1 -1
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.json +43 -0
- package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +1 -1
- package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +2 -2
- package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +2 -2
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +2 -2
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +2 -2
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +2 -2
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +2 -2
- package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.json +13 -0
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.json +39 -0
- package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +1 -1
- package/build/contracts/src/rollup/AbsRollupEventInbox.sol/AbsRollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +214 -83
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +4 -0
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +214 -0
- package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.json +2 -2
- package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +1 -1
- package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +2 -2
- package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +148 -98
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +2 -2
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +2 -2
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +2 -2
- package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +2 -2
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +2 -2
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +2 -2
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +2 -2
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +2 -2
- package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +1 -1
- package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +1 -1
- package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +1 -1
- package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +1 -1
- package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +1 -1
- package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +1 -1
- package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +1 -1
- package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +1 -1
- package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +1 -1
- package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +1 -1
- package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +1 -1
- package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +1 -1
- package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +1 -1
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +2 -2
- package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/EthVault.sol/EthVault.dbg.json +1 -1
- package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +2 -2
- package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +1 -1
- package/build/contracts/src/test-helpers/TestToken.sol/TestToken.dbg.json +4 -0
- package/build/contracts/src/test-helpers/TestToken.sol/TestToken.json +292 -0
- package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +1 -1
- package/package.json +9 -8
- package/src/bridge/AbsBridge.sol +1 -1
- package/src/bridge/AbsInbox.sol +27 -6
- package/src/bridge/AbsOutbox.sol +7 -0
- package/src/bridge/ERC20Bridge.sol +22 -5
- package/src/bridge/ERC20Inbox.sol +4 -1
- package/src/bridge/ERC20Outbox.sol +3 -0
- package/src/bridge/GasRefunder.sol +255 -0
- package/src/bridge/IERC20Bridge.sol +5 -3
- package/src/bridge/IInboxBase.sol +5 -0
- package/src/bridge/IOutbox.sol +2 -0
- package/src/bridge/ISequencerInbox.sol +2 -0
- package/src/bridge/Inbox.sol +2 -1
- package/src/bridge/Outbox.sol +4 -0
- package/src/bridge/SequencerInbox.sol +8 -4
- package/src/libraries/Constants.sol +0 -3
- package/src/libraries/Error.sol +3 -0
- package/src/mocks/InboxStub.sol +9 -0
- package/src/mocks/SequencerInboxStub.sol +3 -2
- package/src/mocks/Simple.sol +2 -1
- package/src/mocks/UpgradeExecutorMock.sol +82 -0
- package/src/node-interface/NodeInterface.sol +16 -0
- package/src/precompiles/ArbOwner.sol +6 -0
- package/src/precompiles/ArbOwnerPublic.sol +12 -0
- package/src/rollup/BridgeCreator.sol +90 -28
- package/src/rollup/DeployHelper.sol +149 -0
- package/src/rollup/RollupCreator.sol +149 -71
- package/src/test-helpers/TestToken.sol +16 -0
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.dbg.json +0 -4
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +0 -312
- package/build/contracts/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol/ERC20PresetFixedSupply.dbg.json +0 -4
- package/build/contracts/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol/ERC20PresetFixedSupply.json +0 -338
- package/build/contracts/src/rollup/AbsBridgeCreator.sol/AbsBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/AbsBridgeCreator.sol/AbsBridgeCreator.json +0 -167
- package/build/contracts/src/rollup/ERC20BridgeCreator.sol/ERC20BridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/ERC20BridgeCreator.sol/ERC20BridgeCreator.json +0 -248
- package/build/contracts/src/rollup/IBridgeCreator.sol/IBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IBridgeCreator.json +0 -109
- package/build/contracts/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.json +0 -185
- package/build/contracts/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.json +0 -180
- package/build/types/@openzeppelin/contracts/access/Ownable.ts +0 -175
- package/build/types/@openzeppelin/contracts/access/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/index.ts +0 -11
- package/build/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +0 -87
- package/build/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/interfaces/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +0 -108
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.ts +0 -108
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/Proxy.ts +0 -55
- package/build/types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +0 -87
- package/build/types/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.ts +0 -239
- package/build/types/@openzeppelin/contracts/proxy/beacon/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/index.ts +0 -12
- package/build/types/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.ts +0 -359
- package/build/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.ts +0 -278
- package/build/types/@openzeppelin/contracts/proxy/transparent/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.ts +0 -216
- package/build/types/@openzeppelin/contracts/proxy/utils/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/token/ERC20/ERC20.ts +0 -444
- package/build/types/@openzeppelin/contracts/token/ERC20/IERC20.ts +0 -322
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.ts +0 -507
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +0 -364
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/token/ERC20/index.ts +0 -9
- package/build/types/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.ts +0 -507
- package/build/types/@openzeppelin/contracts/token/ERC20/presets/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/token/index.ts +0 -5
- package/build/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +0 -175
- package/build/types/@openzeppelin/contracts-upgradeable/access/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/index.ts +0 -9
- package/build/types/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.ts +0 -111
- package/build/types/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +0 -322
- package/build/types/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/token/index.ts +0 -5
- package/build/types/@openzeppelin/index.ts +0 -7
- package/build/types/common.ts +0 -44
- package/build/types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +0 -78
- package/build/types/factories/@openzeppelin/contracts/access/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/index.ts +0 -7
- package/build/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +0 -39
- package/build/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/interfaces/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.ts +0 -71
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +0 -31
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +0 -39
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.ts +0 -169
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/index.ts +0 -8
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.ts +0 -211
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.ts +0 -228
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable__factory.ts +0 -115
- package/build/types/factories/@openzeppelin/contracts/proxy/utils/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +0 -349
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +0 -206
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory.ts +0 -327
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +0 -248
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/index.ts +0 -7
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply__factory.ts +0 -420
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/presets/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/token/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +0 -78
- package/build/types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/index.ts +0 -6
- package/build/types/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.ts +0 -65
- package/build/types/factories/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts +0 -209
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/index.ts +0 -4
- package/build/types/factories/@openzeppelin/index.ts +0 -5
- package/build/types/factories/index.ts +0 -5
- package/build/types/factories/src/bridge/AbsBridge__factory.ts +0 -612
- package/build/types/factories/src/bridge/AbsInbox__factory.ts +0 -455
- package/build/types/factories/src/bridge/AbsOutbox__factory.ts +0 -561
- package/build/types/factories/src/bridge/Bridge__factory.ts +0 -695
- package/build/types/factories/src/bridge/ERC20Bridge__factory.ts +0 -746
- package/build/types/factories/src/bridge/ERC20Inbox__factory.ts +0 -719
- package/build/types/factories/src/bridge/ERC20Outbox__factory.ts +0 -610
- package/build/types/factories/src/bridge/IBridge__factory.ts +0 -508
- package/build/types/factories/src/bridge/IDelayedMessageProvider__factory.ts +0 -62
- package/build/types/factories/src/bridge/IERC20Bridge__factory.ts +0 -576
- package/build/types/factories/src/bridge/IERC20Inbox__factory.ts +0 -461
- package/build/types/factories/src/bridge/IEthBridge__factory.ts +0 -553
- package/build/types/factories/src/bridge/IInboxBase__factory.ts +0 -324
- package/build/types/factories/src/bridge/IInbox__factory.ts +0 -647
- package/build/types/factories/src/bridge/IOutbox__factory.ts +0 -431
- package/build/types/factories/src/bridge/IOwnable__factory.ts +0 -36
- package/build/types/factories/src/bridge/ISequencerInbox__factory.ts +0 -666
- package/build/types/factories/src/bridge/Inbox__factory.ts +0 -999
- package/build/types/factories/src/bridge/Outbox__factory.ts +0 -591
- package/build/types/factories/src/bridge/SequencerInbox__factory.ts +0 -865
- package/build/types/factories/src/bridge/index.ts +0 -23
- package/build/types/factories/src/challenge/ChallengeManager__factory.ts +0 -720
- package/build/types/factories/src/challenge/IChallengeManager__factory.ts +0 -401
- package/build/types/factories/src/challenge/IChallengeResultReceiver__factory.ts +0 -53
- package/build/types/factories/src/challenge/index.ts +0 -6
- package/build/types/factories/src/index.ts +0 -12
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy__factory.ts +0 -128
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade__factory.ts +0 -88
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/index.ts +0 -5
- package/build/types/factories/src/libraries/DoubleLogicUUPSUpgradeable__factory.ts +0 -163
- package/build/types/factories/src/libraries/IGasRefunder__factory.ts +0 -55
- package/build/types/factories/src/libraries/UUPSNotUpgradeable__factory.ts +0 -97
- package/build/types/factories/src/libraries/index.ts +0 -7
- package/build/types/factories/src/mocks/BridgeStub__factory.ts +0 -612
- package/build/types/factories/src/mocks/BridgeUnproxied__factory.ts +0 -706
- package/build/types/factories/src/mocks/InboxStub__factory.ts +0 -702
- package/build/types/factories/src/mocks/MockResultReceiver__factory.ts +0 -244
- package/build/types/factories/src/mocks/ProxyAdminForBinding__factory.ts +0 -215
- package/build/types/factories/src/mocks/SequencerInboxStub__factory.ts +0 -938
- package/build/types/factories/src/mocks/SimpleProxy__factory.ts +0 -83
- package/build/types/factories/src/mocks/Simple__factory.ts +0 -287
- package/build/types/factories/src/mocks/SingleExecutionChallenge__factory.ts +0 -823
- package/build/types/factories/src/mocks/TimedOutChallengeManager__factory.ts +0 -724
- package/build/types/factories/src/mocks/index.ts +0 -13
- package/build/types/factories/src/node-interface/NodeInterfaceDebug__factory.ts +0 -82
- package/build/types/factories/src/node-interface/NodeInterface__factory.ts +0 -301
- package/build/types/factories/src/node-interface/index.ts +0 -5
- package/build/types/factories/src/osp/HashProofHelper__factory.ts +0 -216
- package/build/types/factories/src/osp/IOneStepProofEntry__factory.ts +0 -72
- package/build/types/factories/src/osp/IOneStepProver__factory.ts +0 -492
- package/build/types/factories/src/osp/OneStepProofEntry__factory.ts +0 -206
- package/build/types/factories/src/osp/OneStepProver0__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverHostIo__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverMath__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverMemory__factory.ts +0 -528
- package/build/types/factories/src/osp/index.ts +0 -11
- package/build/types/factories/src/precompiles/ArbAddressTable__factory.ts +0 -163
- package/build/types/factories/src/precompiles/ArbAggregator__factory.ts +0 -163
- package/build/types/factories/src/precompiles/ArbDebug__factory.ts +0 -208
- package/build/types/factories/src/precompiles/ArbFunctionTable__factory.ts +0 -92
- package/build/types/factories/src/precompiles/ArbGasInfo__factory.ts +0 -365
- package/build/types/factories/src/precompiles/ArbInfo__factory.ts +0 -64
- package/build/types/factories/src/precompiles/ArbOwnerPublic__factory.ts +0 -84
- package/build/types/factories/src/precompiles/ArbOwner__factory.ts +0 -393
- package/build/types/factories/src/precompiles/ArbRetryableTx__factory.ts +0 -321
- package/build/types/factories/src/precompiles/ArbStatistics__factory.ts +0 -64
- package/build/types/factories/src/precompiles/ArbSys__factory.ts +0 -389
- package/build/types/factories/src/precompiles/ArbosActs__factory.ts +0 -92
- package/build/types/factories/src/precompiles/ArbosTest__factory.ts +0 -39
- package/build/types/factories/src/precompiles/index.ts +0 -16
- package/build/types/factories/src/rollup/AbsBridgeCreator__factory.ts +0 -182
- package/build/types/factories/src/rollup/AbsRollupEventInbox__factory.ts +0 -125
- package/build/types/factories/src/rollup/BridgeCreator__factory.ts +0 -294
- package/build/types/factories/src/rollup/ERC20BridgeCreator__factory.ts +0 -299
- package/build/types/factories/src/rollup/ERC20RollupEventInbox__factory.ts +0 -170
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IBridgeCreator__factory.ts +0 -124
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator__factory.ts +0 -200
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IEthBridgeCreator__factory.ts +0 -195
- package/build/types/factories/src/rollup/IBridgeCreator.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/IRollupAdmin__factory.ts +0 -559
- package/build/types/factories/src/rollup/IRollupCore__factory.ts +0 -904
- package/build/types/factories/src/rollup/IRollupEventInbox__factory.ts +0 -83
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUserAbs__factory.ts +0 -1324
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUserERC20__factory.ts +0 -1458
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUser__factory.ts +0 -1443
- package/build/types/factories/src/rollup/IRollupLogic.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/RollupAdminLogic__factory.ts +0 -1859
- package/build/types/factories/src/rollup/RollupCore__factory.ts +0 -1066
- package/build/types/factories/src/rollup/RollupCreator__factory.ts +0 -463
- package/build/types/factories/src/rollup/RollupEventInbox__factory.ts +0 -166
- package/build/types/factories/src/rollup/RollupProxy__factory.ts +0 -277
- package/build/types/factories/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic__factory.ts +0 -1593
- package/build/types/factories/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic__factory.ts +0 -1767
- package/build/types/factories/src/rollup/RollupUserLogic.sol/RollupUserLogic__factory.ts +0 -1748
- package/build/types/factories/src/rollup/RollupUserLogic.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/ValidatorUtils__factory.ts +0 -430
- package/build/types/factories/src/rollup/ValidatorWalletCreator__factory.ts +0 -205
- package/build/types/factories/src/rollup/ValidatorWallet__factory.ts +0 -486
- package/build/types/factories/src/rollup/index.ts +0 -22
- package/build/types/factories/src/test-helpers/BridgeTester__factory.ts +0 -654
- package/build/types/factories/src/test-helpers/CryptographyPrimitivesTester__factory.ts +0 -111
- package/build/types/factories/src/test-helpers/EthVault__factory.ts +0 -95
- package/build/types/factories/src/test-helpers/MessageTester__factory.ts +0 -135
- package/build/types/factories/src/test-helpers/OutboxWithoutOptTester__factory.ts +0 -575
- package/build/types/factories/src/test-helpers/RollupMock__factory.ts +0 -100
- package/build/types/factories/src/test-helpers/ValueArrayTester__factory.ts +0 -69
- package/build/types/factories/src/test-helpers/index.ts +0 -10
- package/build/types/index.ts +0 -230
- package/build/types/src/bridge/AbsBridge.ts +0 -863
- package/build/types/src/bridge/AbsInbox.ts +0 -664
- package/build/types/src/bridge/AbsOutbox.ts +0 -700
- package/build/types/src/bridge/Bridge.ts +0 -934
- package/build/types/src/bridge/ERC20Bridge.ts +0 -970
- package/build/types/src/bridge/ERC20Inbox.ts +0 -869
- package/build/types/src/bridge/ERC20Outbox.ts +0 -722
- package/build/types/src/bridge/IBridge.ts +0 -799
- package/build/types/src/bridge/IDelayedMessageProvider.ts +0 -108
- package/build/types/src/bridge/IERC20Bridge.ts +0 -906
- package/build/types/src/bridge/IERC20Inbox.ts +0 -788
- package/build/types/src/bridge/IEthBridge.ts +0 -871
- package/build/types/src/bridge/IInbox.ts +0 -1081
- package/build/types/src/bridge/IInboxBase.ts +0 -583
- package/build/types/src/bridge/IOutbox.ts +0 -654
- package/build/types/src/bridge/IOwnable.ts +0 -81
- package/build/types/src/bridge/ISequencerInbox.ts +0 -1038
- package/build/types/src/bridge/Inbox.ts +0 -1279
- package/build/types/src/bridge/Outbox.ts +0 -700
- package/build/types/src/bridge/SequencerInbox.ts +0 -1138
- package/build/types/src/bridge/index.ts +0 -23
- package/build/types/src/challenge/ChallengeManager.ts +0 -889
- package/build/types/src/challenge/IChallengeManager.ts +0 -543
- package/build/types/src/challenge/IChallengeResultReceiver.ts +0 -115
- package/build/types/src/challenge/index.ts +0 -6
- package/build/types/src/index.ts +0 -21
- package/build/types/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.ts +0 -128
- package/build/types/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.ts +0 -128
- package/build/types/src/libraries/AdminFallbackProxy.sol/index.ts +0 -5
- package/build/types/src/libraries/DoubleLogicUUPSUpgradeable.ts +0 -314
- package/build/types/src/libraries/IGasRefunder.ts +0 -112
- package/build/types/src/libraries/UUPSNotUpgradeable.ts +0 -164
- package/build/types/src/libraries/index.ts +0 -8
- package/build/types/src/mocks/BridgeStub.ts +0 -887
- package/build/types/src/mocks/BridgeUnproxied.ts +0 -934
- package/build/types/src/mocks/InboxStub.ts +0 -1076
- package/build/types/src/mocks/MockResultReceiver.ts +0 -301
- package/build/types/src/mocks/ProxyAdminForBinding.ts +0 -359
- package/build/types/src/mocks/SequencerInboxStub.ts +0 -1173
- package/build/types/src/mocks/Simple.ts +0 -514
- package/build/types/src/mocks/SimpleProxy.ts +0 -55
- package/build/types/src/mocks/SingleExecutionChallenge.ts +0 -889
- package/build/types/src/mocks/TimedOutChallengeManager.ts +0 -883
- package/build/types/src/mocks/index.ts +0 -13
- package/build/types/src/node-interface/NodeInterface.ts +0 -502
- package/build/types/src/node-interface/NodeInterfaceDebug.ts +0 -137
- package/build/types/src/node-interface/index.ts +0 -5
- package/build/types/src/osp/HashProofHelper.ts +0 -308
- package/build/types/src/osp/IOneStepProofEntry.ts +0 -128
- package/build/types/src/osp/IOneStepProver.ts +0 -284
- package/build/types/src/osp/OneStepProofEntry.ts +0 -196
- package/build/types/src/osp/OneStepProver0.ts +0 -284
- package/build/types/src/osp/OneStepProverHostIo.ts +0 -284
- package/build/types/src/osp/OneStepProverMath.ts +0 -284
- package/build/types/src/osp/OneStepProverMemory.ts +0 -284
- package/build/types/src/osp/index.ts +0 -11
- package/build/types/src/precompiles/ArbAddressTable.ts +0 -248
- package/build/types/src/precompiles/ArbAggregator.ts +0 -335
- package/build/types/src/precompiles/ArbDebug.ts +0 -292
- package/build/types/src/precompiles/ArbFunctionTable.ts +0 -150
- package/build/types/src/precompiles/ArbGasInfo.ts +0 -536
- package/build/types/src/precompiles/ArbInfo.ts +0 -105
- package/build/types/src/precompiles/ArbOwner.ts +0 -928
- package/build/types/src/precompiles/ArbOwnerPublic.ts +0 -157
- package/build/types/src/precompiles/ArbRetryableTx.ts +0 -467
- package/build/types/src/precompiles/ArbStatistics.ts +0 -93
- package/build/types/src/precompiles/ArbSys.ts +0 -553
- package/build/types/src/precompiles/ArbosActs.ts +0 -173
- package/build/types/src/precompiles/ArbosTest.ts +0 -97
- package/build/types/src/precompiles/index.ts +0 -16
- package/build/types/src/rollup/AbsBridgeCreator.ts +0 -348
- package/build/types/src/rollup/AbsRollupEventInbox.ts +0 -218
- package/build/types/src/rollup/BridgeCreator.ts +0 -415
- package/build/types/src/rollup/ERC20BridgeCreator.ts +0 -420
- package/build/types/src/rollup/ERC20RollupEventInbox.ts +0 -218
- package/build/types/src/rollup/IBridgeCreator.sol/IBridgeCreator.ts +0 -231
- package/build/types/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.ts +0 -303
- package/build/types/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.ts +0 -298
- package/build/types/src/rollup/IBridgeCreator.sol/index.ts +0 -6
- package/build/types/src/rollup/IRollupAdmin.ts +0 -1003
- package/build/types/src/rollup/IRollupCore.ts +0 -1183
- package/build/types/src/rollup/IRollupEventInbox.ts +0 -167
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUser.ts +0 -2022
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUserAbs.ts +0 -1901
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUserERC20.ts +0 -2036
- package/build/types/src/rollup/IRollupLogic.sol/index.ts +0 -6
- package/build/types/src/rollup/RollupAdminLogic.ts +0 -2593
- package/build/types/src/rollup/RollupCore.ts +0 -1406
- package/build/types/src/rollup/RollupCreator.ts +0 -592
- package/build/types/src/rollup/RollupEventInbox.ts +0 -218
- package/build/types/src/rollup/RollupProxy.ts +0 -285
- package/build/types/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.ts +0 -2282
- package/build/types/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.ts +0 -2417
- package/build/types/src/rollup/RollupUserLogic.sol/RollupUserLogic.ts +0 -2403
- package/build/types/src/rollup/RollupUserLogic.sol/index.ts +0 -6
- package/build/types/src/rollup/ValidatorUtils.ts +0 -561
- package/build/types/src/rollup/ValidatorWallet.ts +0 -751
- package/build/types/src/rollup/ValidatorWalletCreator.ts +0 -294
- package/build/types/src/rollup/index.ts +0 -25
- package/build/types/src/test-helpers/BridgeTester.ts +0 -899
- package/build/types/src/test-helpers/CryptographyPrimitivesTester.ts +0 -141
- package/build/types/src/test-helpers/EthVault.ts +0 -141
- package/build/types/src/test-helpers/MessageTester.ts +0 -182
- package/build/types/src/test-helpers/OutboxWithoutOptTester.ts +0 -700
- package/build/types/src/test-helpers/RollupMock.ts +0 -164
- package/build/types/src/test-helpers/ValueArrayTester.ts +0 -81
- package/build/types/src/test-helpers/index.ts +0 -10
- package/src/rollup/AbsBridgeCreator.sol +0 -117
- package/src/rollup/ERC20BridgeCreator.sol +0 -48
- package/src/rollup/IBridgeCreator.sol +0 -64
@@ -1,401 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
|
5
|
-
import { Contract, Signer, utils } from "ethers";
|
6
|
-
import type { Provider } from "@ethersproject/providers";
|
7
|
-
import type {
|
8
|
-
IChallengeManager,
|
9
|
-
IChallengeManagerInterface,
|
10
|
-
} from "../../../src/challenge/IChallengeManager";
|
11
|
-
|
12
|
-
const _abi = [
|
13
|
-
{
|
14
|
-
anonymous: false,
|
15
|
-
inputs: [
|
16
|
-
{
|
17
|
-
indexed: true,
|
18
|
-
internalType: "uint64",
|
19
|
-
name: "challengeIndex",
|
20
|
-
type: "uint64",
|
21
|
-
},
|
22
|
-
{
|
23
|
-
indexed: true,
|
24
|
-
internalType: "bytes32",
|
25
|
-
name: "challengeRoot",
|
26
|
-
type: "bytes32",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
indexed: false,
|
30
|
-
internalType: "uint256",
|
31
|
-
name: "challengedSegmentStart",
|
32
|
-
type: "uint256",
|
33
|
-
},
|
34
|
-
{
|
35
|
-
indexed: false,
|
36
|
-
internalType: "uint256",
|
37
|
-
name: "challengedSegmentLength",
|
38
|
-
type: "uint256",
|
39
|
-
},
|
40
|
-
{
|
41
|
-
indexed: false,
|
42
|
-
internalType: "bytes32[]",
|
43
|
-
name: "chainHashes",
|
44
|
-
type: "bytes32[]",
|
45
|
-
},
|
46
|
-
],
|
47
|
-
name: "Bisected",
|
48
|
-
type: "event",
|
49
|
-
},
|
50
|
-
{
|
51
|
-
anonymous: false,
|
52
|
-
inputs: [
|
53
|
-
{
|
54
|
-
indexed: true,
|
55
|
-
internalType: "uint64",
|
56
|
-
name: "challengeIndex",
|
57
|
-
type: "uint64",
|
58
|
-
},
|
59
|
-
{
|
60
|
-
indexed: false,
|
61
|
-
internalType: "enum IChallengeManager.ChallengeTerminationType",
|
62
|
-
name: "kind",
|
63
|
-
type: "uint8",
|
64
|
-
},
|
65
|
-
],
|
66
|
-
name: "ChallengeEnded",
|
67
|
-
type: "event",
|
68
|
-
},
|
69
|
-
{
|
70
|
-
anonymous: false,
|
71
|
-
inputs: [
|
72
|
-
{
|
73
|
-
indexed: true,
|
74
|
-
internalType: "uint64",
|
75
|
-
name: "challengeIndex",
|
76
|
-
type: "uint64",
|
77
|
-
},
|
78
|
-
{
|
79
|
-
indexed: false,
|
80
|
-
internalType: "uint256",
|
81
|
-
name: "blockSteps",
|
82
|
-
type: "uint256",
|
83
|
-
},
|
84
|
-
],
|
85
|
-
name: "ExecutionChallengeBegun",
|
86
|
-
type: "event",
|
87
|
-
},
|
88
|
-
{
|
89
|
-
anonymous: false,
|
90
|
-
inputs: [
|
91
|
-
{
|
92
|
-
indexed: true,
|
93
|
-
internalType: "uint64",
|
94
|
-
name: "challengeIndex",
|
95
|
-
type: "uint64",
|
96
|
-
},
|
97
|
-
{
|
98
|
-
components: [
|
99
|
-
{
|
100
|
-
internalType: "bytes32[2]",
|
101
|
-
name: "bytes32Vals",
|
102
|
-
type: "bytes32[2]",
|
103
|
-
},
|
104
|
-
{
|
105
|
-
internalType: "uint64[2]",
|
106
|
-
name: "u64Vals",
|
107
|
-
type: "uint64[2]",
|
108
|
-
},
|
109
|
-
],
|
110
|
-
indexed: false,
|
111
|
-
internalType: "struct GlobalState",
|
112
|
-
name: "startState",
|
113
|
-
type: "tuple",
|
114
|
-
},
|
115
|
-
{
|
116
|
-
components: [
|
117
|
-
{
|
118
|
-
internalType: "bytes32[2]",
|
119
|
-
name: "bytes32Vals",
|
120
|
-
type: "bytes32[2]",
|
121
|
-
},
|
122
|
-
{
|
123
|
-
internalType: "uint64[2]",
|
124
|
-
name: "u64Vals",
|
125
|
-
type: "uint64[2]",
|
126
|
-
},
|
127
|
-
],
|
128
|
-
indexed: false,
|
129
|
-
internalType: "struct GlobalState",
|
130
|
-
name: "endState",
|
131
|
-
type: "tuple",
|
132
|
-
},
|
133
|
-
],
|
134
|
-
name: "InitiatedChallenge",
|
135
|
-
type: "event",
|
136
|
-
},
|
137
|
-
{
|
138
|
-
anonymous: false,
|
139
|
-
inputs: [
|
140
|
-
{
|
141
|
-
indexed: true,
|
142
|
-
internalType: "uint64",
|
143
|
-
name: "challengeIndex",
|
144
|
-
type: "uint64",
|
145
|
-
},
|
146
|
-
],
|
147
|
-
name: "OneStepProofCompleted",
|
148
|
-
type: "event",
|
149
|
-
},
|
150
|
-
{
|
151
|
-
inputs: [
|
152
|
-
{
|
153
|
-
internalType: "uint64",
|
154
|
-
name: "challengeIndex_",
|
155
|
-
type: "uint64",
|
156
|
-
},
|
157
|
-
],
|
158
|
-
name: "challengeInfo",
|
159
|
-
outputs: [
|
160
|
-
{
|
161
|
-
components: [
|
162
|
-
{
|
163
|
-
components: [
|
164
|
-
{
|
165
|
-
internalType: "address",
|
166
|
-
name: "addr",
|
167
|
-
type: "address",
|
168
|
-
},
|
169
|
-
{
|
170
|
-
internalType: "uint256",
|
171
|
-
name: "timeLeft",
|
172
|
-
type: "uint256",
|
173
|
-
},
|
174
|
-
],
|
175
|
-
internalType: "struct ChallengeLib.Participant",
|
176
|
-
name: "current",
|
177
|
-
type: "tuple",
|
178
|
-
},
|
179
|
-
{
|
180
|
-
components: [
|
181
|
-
{
|
182
|
-
internalType: "address",
|
183
|
-
name: "addr",
|
184
|
-
type: "address",
|
185
|
-
},
|
186
|
-
{
|
187
|
-
internalType: "uint256",
|
188
|
-
name: "timeLeft",
|
189
|
-
type: "uint256",
|
190
|
-
},
|
191
|
-
],
|
192
|
-
internalType: "struct ChallengeLib.Participant",
|
193
|
-
name: "next",
|
194
|
-
type: "tuple",
|
195
|
-
},
|
196
|
-
{
|
197
|
-
internalType: "uint256",
|
198
|
-
name: "lastMoveTimestamp",
|
199
|
-
type: "uint256",
|
200
|
-
},
|
201
|
-
{
|
202
|
-
internalType: "bytes32",
|
203
|
-
name: "wasmModuleRoot",
|
204
|
-
type: "bytes32",
|
205
|
-
},
|
206
|
-
{
|
207
|
-
internalType: "bytes32",
|
208
|
-
name: "challengeStateHash",
|
209
|
-
type: "bytes32",
|
210
|
-
},
|
211
|
-
{
|
212
|
-
internalType: "uint64",
|
213
|
-
name: "maxInboxMessages",
|
214
|
-
type: "uint64",
|
215
|
-
},
|
216
|
-
{
|
217
|
-
internalType: "enum ChallengeLib.ChallengeMode",
|
218
|
-
name: "mode",
|
219
|
-
type: "uint8",
|
220
|
-
},
|
221
|
-
],
|
222
|
-
internalType: "struct ChallengeLib.Challenge",
|
223
|
-
name: "",
|
224
|
-
type: "tuple",
|
225
|
-
},
|
226
|
-
],
|
227
|
-
stateMutability: "view",
|
228
|
-
type: "function",
|
229
|
-
},
|
230
|
-
{
|
231
|
-
inputs: [
|
232
|
-
{
|
233
|
-
internalType: "uint64",
|
234
|
-
name: "challengeIndex_",
|
235
|
-
type: "uint64",
|
236
|
-
},
|
237
|
-
],
|
238
|
-
name: "clearChallenge",
|
239
|
-
outputs: [],
|
240
|
-
stateMutability: "nonpayable",
|
241
|
-
type: "function",
|
242
|
-
},
|
243
|
-
{
|
244
|
-
inputs: [
|
245
|
-
{
|
246
|
-
internalType: "bytes32",
|
247
|
-
name: "wasmModuleRoot_",
|
248
|
-
type: "bytes32",
|
249
|
-
},
|
250
|
-
{
|
251
|
-
internalType: "enum MachineStatus[2]",
|
252
|
-
name: "startAndEndMachineStatuses_",
|
253
|
-
type: "uint8[2]",
|
254
|
-
},
|
255
|
-
{
|
256
|
-
components: [
|
257
|
-
{
|
258
|
-
internalType: "bytes32[2]",
|
259
|
-
name: "bytes32Vals",
|
260
|
-
type: "bytes32[2]",
|
261
|
-
},
|
262
|
-
{
|
263
|
-
internalType: "uint64[2]",
|
264
|
-
name: "u64Vals",
|
265
|
-
type: "uint64[2]",
|
266
|
-
},
|
267
|
-
],
|
268
|
-
internalType: "struct GlobalState[2]",
|
269
|
-
name: "startAndEndGlobalStates_",
|
270
|
-
type: "tuple[2]",
|
271
|
-
},
|
272
|
-
{
|
273
|
-
internalType: "uint64",
|
274
|
-
name: "numBlocks",
|
275
|
-
type: "uint64",
|
276
|
-
},
|
277
|
-
{
|
278
|
-
internalType: "address",
|
279
|
-
name: "asserter_",
|
280
|
-
type: "address",
|
281
|
-
},
|
282
|
-
{
|
283
|
-
internalType: "address",
|
284
|
-
name: "challenger_",
|
285
|
-
type: "address",
|
286
|
-
},
|
287
|
-
{
|
288
|
-
internalType: "uint256",
|
289
|
-
name: "asserterTimeLeft_",
|
290
|
-
type: "uint256",
|
291
|
-
},
|
292
|
-
{
|
293
|
-
internalType: "uint256",
|
294
|
-
name: "challengerTimeLeft_",
|
295
|
-
type: "uint256",
|
296
|
-
},
|
297
|
-
],
|
298
|
-
name: "createChallenge",
|
299
|
-
outputs: [
|
300
|
-
{
|
301
|
-
internalType: "uint64",
|
302
|
-
name: "",
|
303
|
-
type: "uint64",
|
304
|
-
},
|
305
|
-
],
|
306
|
-
stateMutability: "nonpayable",
|
307
|
-
type: "function",
|
308
|
-
},
|
309
|
-
{
|
310
|
-
inputs: [
|
311
|
-
{
|
312
|
-
internalType: "uint64",
|
313
|
-
name: "challengeIndex",
|
314
|
-
type: "uint64",
|
315
|
-
},
|
316
|
-
],
|
317
|
-
name: "currentResponder",
|
318
|
-
outputs: [
|
319
|
-
{
|
320
|
-
internalType: "address",
|
321
|
-
name: "",
|
322
|
-
type: "address",
|
323
|
-
},
|
324
|
-
],
|
325
|
-
stateMutability: "view",
|
326
|
-
type: "function",
|
327
|
-
},
|
328
|
-
{
|
329
|
-
inputs: [
|
330
|
-
{
|
331
|
-
internalType: "contract IChallengeResultReceiver",
|
332
|
-
name: "resultReceiver_",
|
333
|
-
type: "address",
|
334
|
-
},
|
335
|
-
{
|
336
|
-
internalType: "contract ISequencerInbox",
|
337
|
-
name: "sequencerInbox_",
|
338
|
-
type: "address",
|
339
|
-
},
|
340
|
-
{
|
341
|
-
internalType: "contract IBridge",
|
342
|
-
name: "bridge_",
|
343
|
-
type: "address",
|
344
|
-
},
|
345
|
-
{
|
346
|
-
internalType: "contract IOneStepProofEntry",
|
347
|
-
name: "osp_",
|
348
|
-
type: "address",
|
349
|
-
},
|
350
|
-
],
|
351
|
-
name: "initialize",
|
352
|
-
outputs: [],
|
353
|
-
stateMutability: "nonpayable",
|
354
|
-
type: "function",
|
355
|
-
},
|
356
|
-
{
|
357
|
-
inputs: [
|
358
|
-
{
|
359
|
-
internalType: "uint64",
|
360
|
-
name: "challengeIndex",
|
361
|
-
type: "uint64",
|
362
|
-
},
|
363
|
-
],
|
364
|
-
name: "isTimedOut",
|
365
|
-
outputs: [
|
366
|
-
{
|
367
|
-
internalType: "bool",
|
368
|
-
name: "",
|
369
|
-
type: "bool",
|
370
|
-
},
|
371
|
-
],
|
372
|
-
stateMutability: "view",
|
373
|
-
type: "function",
|
374
|
-
},
|
375
|
-
{
|
376
|
-
inputs: [
|
377
|
-
{
|
378
|
-
internalType: "uint64",
|
379
|
-
name: "challengeIndex_",
|
380
|
-
type: "uint64",
|
381
|
-
},
|
382
|
-
],
|
383
|
-
name: "timeout",
|
384
|
-
outputs: [],
|
385
|
-
stateMutability: "nonpayable",
|
386
|
-
type: "function",
|
387
|
-
},
|
388
|
-
];
|
389
|
-
|
390
|
-
export class IChallengeManager__factory {
|
391
|
-
static readonly abi = _abi;
|
392
|
-
static createInterface(): IChallengeManagerInterface {
|
393
|
-
return new utils.Interface(_abi) as IChallengeManagerInterface;
|
394
|
-
}
|
395
|
-
static connect(
|
396
|
-
address: string,
|
397
|
-
signerOrProvider: Signer | Provider
|
398
|
-
): IChallengeManager {
|
399
|
-
return new Contract(address, _abi, signerOrProvider) as IChallengeManager;
|
400
|
-
}
|
401
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
|
5
|
-
import { Contract, Signer, utils } from "ethers";
|
6
|
-
import type { Provider } from "@ethersproject/providers";
|
7
|
-
import type {
|
8
|
-
IChallengeResultReceiver,
|
9
|
-
IChallengeResultReceiverInterface,
|
10
|
-
} from "../../../src/challenge/IChallengeResultReceiver";
|
11
|
-
|
12
|
-
const _abi = [
|
13
|
-
{
|
14
|
-
inputs: [
|
15
|
-
{
|
16
|
-
internalType: "uint256",
|
17
|
-
name: "challengeIndex",
|
18
|
-
type: "uint256",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
internalType: "address",
|
22
|
-
name: "winner",
|
23
|
-
type: "address",
|
24
|
-
},
|
25
|
-
{
|
26
|
-
internalType: "address",
|
27
|
-
name: "loser",
|
28
|
-
type: "address",
|
29
|
-
},
|
30
|
-
],
|
31
|
-
name: "completeChallenge",
|
32
|
-
outputs: [],
|
33
|
-
stateMutability: "nonpayable",
|
34
|
-
type: "function",
|
35
|
-
},
|
36
|
-
];
|
37
|
-
|
38
|
-
export class IChallengeResultReceiver__factory {
|
39
|
-
static readonly abi = _abi;
|
40
|
-
static createInterface(): IChallengeResultReceiverInterface {
|
41
|
-
return new utils.Interface(_abi) as IChallengeResultReceiverInterface;
|
42
|
-
}
|
43
|
-
static connect(
|
44
|
-
address: string,
|
45
|
-
signerOrProvider: Signer | Provider
|
46
|
-
): IChallengeResultReceiver {
|
47
|
-
return new Contract(
|
48
|
-
address,
|
49
|
-
_abi,
|
50
|
-
signerOrProvider
|
51
|
-
) as IChallengeResultReceiver;
|
52
|
-
}
|
53
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
export { ChallengeManager__factory } from "./ChallengeManager__factory";
|
5
|
-
export { IChallengeManager__factory } from "./IChallengeManager__factory";
|
6
|
-
export { IChallengeResultReceiver__factory } from "./IChallengeResultReceiver__factory";
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
export * as bridge from "./bridge";
|
5
|
-
export * as challenge from "./challenge";
|
6
|
-
export * as libraries from "./libraries";
|
7
|
-
export * as mocks from "./mocks";
|
8
|
-
export * as nodeInterface from "./node-interface";
|
9
|
-
export * as osp from "./osp";
|
10
|
-
export * as precompiles from "./precompiles";
|
11
|
-
export * as rollup from "./rollup";
|
12
|
-
export * as testHelpers from "./test-helpers";
|
package/build/types/factories/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy__factory.ts
DELETED
@@ -1,128 +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
|
-
AdminFallbackProxy,
|
8
|
-
AdminFallbackProxyInterface,
|
9
|
-
} from "../../../../src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy";
|
10
|
-
|
11
|
-
const _abi = [
|
12
|
-
{
|
13
|
-
anonymous: false,
|
14
|
-
inputs: [
|
15
|
-
{
|
16
|
-
indexed: false,
|
17
|
-
internalType: "address",
|
18
|
-
name: "previousAdmin",
|
19
|
-
type: "address",
|
20
|
-
},
|
21
|
-
{
|
22
|
-
indexed: false,
|
23
|
-
internalType: "address",
|
24
|
-
name: "newAdmin",
|
25
|
-
type: "address",
|
26
|
-
},
|
27
|
-
],
|
28
|
-
name: "AdminChanged",
|
29
|
-
type: "event",
|
30
|
-
},
|
31
|
-
{
|
32
|
-
anonymous: false,
|
33
|
-
inputs: [
|
34
|
-
{
|
35
|
-
indexed: true,
|
36
|
-
internalType: "address",
|
37
|
-
name: "beacon",
|
38
|
-
type: "address",
|
39
|
-
},
|
40
|
-
],
|
41
|
-
name: "BeaconUpgraded",
|
42
|
-
type: "event",
|
43
|
-
},
|
44
|
-
{
|
45
|
-
anonymous: false,
|
46
|
-
inputs: [
|
47
|
-
{
|
48
|
-
indexed: true,
|
49
|
-
internalType: "address",
|
50
|
-
name: "implementation",
|
51
|
-
type: "address",
|
52
|
-
},
|
53
|
-
],
|
54
|
-
name: "Upgraded",
|
55
|
-
type: "event",
|
56
|
-
},
|
57
|
-
{
|
58
|
-
anonymous: false,
|
59
|
-
inputs: [
|
60
|
-
{
|
61
|
-
indexed: true,
|
62
|
-
internalType: "address",
|
63
|
-
name: "implementation",
|
64
|
-
type: "address",
|
65
|
-
},
|
66
|
-
],
|
67
|
-
name: "UpgradedSecondary",
|
68
|
-
type: "event",
|
69
|
-
},
|
70
|
-
{
|
71
|
-
stateMutability: "payable",
|
72
|
-
type: "fallback",
|
73
|
-
},
|
74
|
-
{
|
75
|
-
stateMutability: "payable",
|
76
|
-
type: "receive",
|
77
|
-
},
|
78
|
-
];
|
79
|
-
|
80
|
-
const _bytecode =
|
81
|
-
"0x608060405234801561001057600080fd5b506101cf806100206000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610029565b6100f2565b565b6000600436101561006f5760405162461bcd60e51b815260206004820152600b60248201526a4e4f5f46554e435f53494760a81b60448201526064015b60405180910390fd5b60003361007a610116565b6001600160a01b0316141561009657610091610149565b61009e565b61009e610171565b90506001600160a01b0381163b6100ed5760405162461bcd60e51b815260206004820152601360248201527215105491d15517d393d517d0d3d395149050d5606a1b6044820152606401610066565b919050565b3660008037600080366000845af43d6000803e808015610111573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61013a565b60007f2b1dbce74324248c222f0ec2d5ed7bd323cfc425b336f0253c5ccfda7265546d61013a56fea26469706673582212201903f8011eaea0afb60eecdae460623dc2140618a9a31302eb25eaa6bc8db0f964736f6c63430008090033";
|
82
|
-
|
83
|
-
type AdminFallbackProxyConstructorParams =
|
84
|
-
| [signer?: Signer]
|
85
|
-
| ConstructorParameters<typeof ContractFactory>;
|
86
|
-
|
87
|
-
const isSuperArgs = (
|
88
|
-
xs: AdminFallbackProxyConstructorParams
|
89
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
90
|
-
|
91
|
-
export class AdminFallbackProxy__factory extends ContractFactory {
|
92
|
-
constructor(...args: AdminFallbackProxyConstructorParams) {
|
93
|
-
if (isSuperArgs(args)) {
|
94
|
-
super(...args);
|
95
|
-
} else {
|
96
|
-
super(_abi, _bytecode, args[0]);
|
97
|
-
}
|
98
|
-
}
|
99
|
-
|
100
|
-
override deploy(
|
101
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
102
|
-
): Promise<AdminFallbackProxy> {
|
103
|
-
return super.deploy(overrides || {}) as Promise<AdminFallbackProxy>;
|
104
|
-
}
|
105
|
-
override getDeployTransaction(
|
106
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
107
|
-
): TransactionRequest {
|
108
|
-
return super.getDeployTransaction(overrides || {});
|
109
|
-
}
|
110
|
-
override attach(address: string): AdminFallbackProxy {
|
111
|
-
return super.attach(address) as AdminFallbackProxy;
|
112
|
-
}
|
113
|
-
override connect(signer: Signer): AdminFallbackProxy__factory {
|
114
|
-
return super.connect(signer) as AdminFallbackProxy__factory;
|
115
|
-
}
|
116
|
-
|
117
|
-
static readonly bytecode = _bytecode;
|
118
|
-
static readonly abi = _abi;
|
119
|
-
static createInterface(): AdminFallbackProxyInterface {
|
120
|
-
return new utils.Interface(_abi) as AdminFallbackProxyInterface;
|
121
|
-
}
|
122
|
-
static connect(
|
123
|
-
address: string,
|
124
|
-
signerOrProvider: Signer | Provider
|
125
|
-
): AdminFallbackProxy {
|
126
|
-
return new Contract(address, _abi, signerOrProvider) as AdminFallbackProxy;
|
127
|
-
}
|
128
|
-
}
|
@@ -1,88 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
|
5
|
-
import { Contract, Signer, utils } from "ethers";
|
6
|
-
import type { Provider } from "@ethersproject/providers";
|
7
|
-
import type {
|
8
|
-
DoubleLogicERC1967Upgrade,
|
9
|
-
DoubleLogicERC1967UpgradeInterface,
|
10
|
-
} from "../../../../src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade";
|
11
|
-
|
12
|
-
const _abi = [
|
13
|
-
{
|
14
|
-
anonymous: false,
|
15
|
-
inputs: [
|
16
|
-
{
|
17
|
-
indexed: false,
|
18
|
-
internalType: "address",
|
19
|
-
name: "previousAdmin",
|
20
|
-
type: "address",
|
21
|
-
},
|
22
|
-
{
|
23
|
-
indexed: false,
|
24
|
-
internalType: "address",
|
25
|
-
name: "newAdmin",
|
26
|
-
type: "address",
|
27
|
-
},
|
28
|
-
],
|
29
|
-
name: "AdminChanged",
|
30
|
-
type: "event",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
anonymous: false,
|
34
|
-
inputs: [
|
35
|
-
{
|
36
|
-
indexed: true,
|
37
|
-
internalType: "address",
|
38
|
-
name: "beacon",
|
39
|
-
type: "address",
|
40
|
-
},
|
41
|
-
],
|
42
|
-
name: "BeaconUpgraded",
|
43
|
-
type: "event",
|
44
|
-
},
|
45
|
-
{
|
46
|
-
anonymous: false,
|
47
|
-
inputs: [
|
48
|
-
{
|
49
|
-
indexed: true,
|
50
|
-
internalType: "address",
|
51
|
-
name: "implementation",
|
52
|
-
type: "address",
|
53
|
-
},
|
54
|
-
],
|
55
|
-
name: "Upgraded",
|
56
|
-
type: "event",
|
57
|
-
},
|
58
|
-
{
|
59
|
-
anonymous: false,
|
60
|
-
inputs: [
|
61
|
-
{
|
62
|
-
indexed: true,
|
63
|
-
internalType: "address",
|
64
|
-
name: "implementation",
|
65
|
-
type: "address",
|
66
|
-
},
|
67
|
-
],
|
68
|
-
name: "UpgradedSecondary",
|
69
|
-
type: "event",
|
70
|
-
},
|
71
|
-
];
|
72
|
-
|
73
|
-
export class DoubleLogicERC1967Upgrade__factory {
|
74
|
-
static readonly abi = _abi;
|
75
|
-
static createInterface(): DoubleLogicERC1967UpgradeInterface {
|
76
|
-
return new utils.Interface(_abi) as DoubleLogicERC1967UpgradeInterface;
|
77
|
-
}
|
78
|
-
static connect(
|
79
|
-
address: string,
|
80
|
-
signerOrProvider: Signer | Provider
|
81
|
-
): DoubleLogicERC1967Upgrade {
|
82
|
-
return new Contract(
|
83
|
-
address,
|
84
|
-
_abi,
|
85
|
-
signerOrProvider
|
86
|
-
) as DoubleLogicERC1967Upgrade;
|
87
|
-
}
|
88
|
-
}
|