@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,486 +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
|
-
ValidatorWallet,
|
8
|
-
ValidatorWalletInterface,
|
9
|
-
} from "../../../src/rollup/ValidatorWallet";
|
10
|
-
|
11
|
-
const _abi = [
|
12
|
-
{
|
13
|
-
inputs: [
|
14
|
-
{
|
15
|
-
internalType: "uint256",
|
16
|
-
name: "expected",
|
17
|
-
type: "uint256",
|
18
|
-
},
|
19
|
-
{
|
20
|
-
internalType: "uint256",
|
21
|
-
name: "actual",
|
22
|
-
type: "uint256",
|
23
|
-
},
|
24
|
-
],
|
25
|
-
name: "BadArrayLength",
|
26
|
-
type: "error",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
inputs: [
|
30
|
-
{
|
31
|
-
internalType: "address",
|
32
|
-
name: "actual",
|
33
|
-
type: "address",
|
34
|
-
},
|
35
|
-
],
|
36
|
-
name: "NotExecutorOrOwner",
|
37
|
-
type: "error",
|
38
|
-
},
|
39
|
-
{
|
40
|
-
inputs: [
|
41
|
-
{
|
42
|
-
internalType: "address",
|
43
|
-
name: "expected",
|
44
|
-
type: "address",
|
45
|
-
},
|
46
|
-
{
|
47
|
-
internalType: "address",
|
48
|
-
name: "actual",
|
49
|
-
type: "address",
|
50
|
-
},
|
51
|
-
{
|
52
|
-
internalType: "address",
|
53
|
-
name: "destination",
|
54
|
-
type: "address",
|
55
|
-
},
|
56
|
-
],
|
57
|
-
name: "OnlyOwnerDestination",
|
58
|
-
type: "error",
|
59
|
-
},
|
60
|
-
{
|
61
|
-
inputs: [
|
62
|
-
{
|
63
|
-
internalType: "address",
|
64
|
-
name: "destination",
|
65
|
-
type: "address",
|
66
|
-
},
|
67
|
-
],
|
68
|
-
name: "WithdrawEthFail",
|
69
|
-
type: "error",
|
70
|
-
},
|
71
|
-
{
|
72
|
-
anonymous: false,
|
73
|
-
inputs: [
|
74
|
-
{
|
75
|
-
indexed: true,
|
76
|
-
internalType: "address",
|
77
|
-
name: "destination",
|
78
|
-
type: "address",
|
79
|
-
},
|
80
|
-
{
|
81
|
-
indexed: false,
|
82
|
-
internalType: "bool",
|
83
|
-
name: "isSet",
|
84
|
-
type: "bool",
|
85
|
-
},
|
86
|
-
],
|
87
|
-
name: "AllowedExecutorDestinationsUpdated",
|
88
|
-
type: "event",
|
89
|
-
},
|
90
|
-
{
|
91
|
-
anonymous: false,
|
92
|
-
inputs: [
|
93
|
-
{
|
94
|
-
indexed: true,
|
95
|
-
internalType: "address",
|
96
|
-
name: "executor",
|
97
|
-
type: "address",
|
98
|
-
},
|
99
|
-
{
|
100
|
-
indexed: false,
|
101
|
-
internalType: "bool",
|
102
|
-
name: "isExecutor",
|
103
|
-
type: "bool",
|
104
|
-
},
|
105
|
-
],
|
106
|
-
name: "ExecutorUpdated",
|
107
|
-
type: "event",
|
108
|
-
},
|
109
|
-
{
|
110
|
-
anonymous: false,
|
111
|
-
inputs: [
|
112
|
-
{
|
113
|
-
indexed: true,
|
114
|
-
internalType: "address",
|
115
|
-
name: "previousOwner",
|
116
|
-
type: "address",
|
117
|
-
},
|
118
|
-
{
|
119
|
-
indexed: true,
|
120
|
-
internalType: "address",
|
121
|
-
name: "newOwner",
|
122
|
-
type: "address",
|
123
|
-
},
|
124
|
-
],
|
125
|
-
name: "OwnershipTransferred",
|
126
|
-
type: "event",
|
127
|
-
},
|
128
|
-
{
|
129
|
-
inputs: [
|
130
|
-
{
|
131
|
-
internalType: "address",
|
132
|
-
name: "",
|
133
|
-
type: "address",
|
134
|
-
},
|
135
|
-
],
|
136
|
-
name: "allowedExecutorDestinations",
|
137
|
-
outputs: [
|
138
|
-
{
|
139
|
-
internalType: "bool",
|
140
|
-
name: "",
|
141
|
-
type: "bool",
|
142
|
-
},
|
143
|
-
],
|
144
|
-
stateMutability: "view",
|
145
|
-
type: "function",
|
146
|
-
},
|
147
|
-
{
|
148
|
-
inputs: [
|
149
|
-
{
|
150
|
-
internalType: "bytes",
|
151
|
-
name: "data",
|
152
|
-
type: "bytes",
|
153
|
-
},
|
154
|
-
{
|
155
|
-
internalType: "address",
|
156
|
-
name: "destination",
|
157
|
-
type: "address",
|
158
|
-
},
|
159
|
-
{
|
160
|
-
internalType: "uint256",
|
161
|
-
name: "amount",
|
162
|
-
type: "uint256",
|
163
|
-
},
|
164
|
-
],
|
165
|
-
name: "executeTransaction",
|
166
|
-
outputs: [],
|
167
|
-
stateMutability: "payable",
|
168
|
-
type: "function",
|
169
|
-
},
|
170
|
-
{
|
171
|
-
inputs: [
|
172
|
-
{
|
173
|
-
internalType: "contract IGasRefunder",
|
174
|
-
name: "gasRefunder",
|
175
|
-
type: "address",
|
176
|
-
},
|
177
|
-
{
|
178
|
-
internalType: "bytes",
|
179
|
-
name: "data",
|
180
|
-
type: "bytes",
|
181
|
-
},
|
182
|
-
{
|
183
|
-
internalType: "address",
|
184
|
-
name: "destination",
|
185
|
-
type: "address",
|
186
|
-
},
|
187
|
-
{
|
188
|
-
internalType: "uint256",
|
189
|
-
name: "amount",
|
190
|
-
type: "uint256",
|
191
|
-
},
|
192
|
-
],
|
193
|
-
name: "executeTransactionWithGasRefunder",
|
194
|
-
outputs: [],
|
195
|
-
stateMutability: "payable",
|
196
|
-
type: "function",
|
197
|
-
},
|
198
|
-
{
|
199
|
-
inputs: [
|
200
|
-
{
|
201
|
-
internalType: "bytes[]",
|
202
|
-
name: "data",
|
203
|
-
type: "bytes[]",
|
204
|
-
},
|
205
|
-
{
|
206
|
-
internalType: "address[]",
|
207
|
-
name: "destination",
|
208
|
-
type: "address[]",
|
209
|
-
},
|
210
|
-
{
|
211
|
-
internalType: "uint256[]",
|
212
|
-
name: "amount",
|
213
|
-
type: "uint256[]",
|
214
|
-
},
|
215
|
-
],
|
216
|
-
name: "executeTransactions",
|
217
|
-
outputs: [],
|
218
|
-
stateMutability: "payable",
|
219
|
-
type: "function",
|
220
|
-
},
|
221
|
-
{
|
222
|
-
inputs: [
|
223
|
-
{
|
224
|
-
internalType: "contract IGasRefunder",
|
225
|
-
name: "gasRefunder",
|
226
|
-
type: "address",
|
227
|
-
},
|
228
|
-
{
|
229
|
-
internalType: "bytes[]",
|
230
|
-
name: "data",
|
231
|
-
type: "bytes[]",
|
232
|
-
},
|
233
|
-
{
|
234
|
-
internalType: "address[]",
|
235
|
-
name: "destination",
|
236
|
-
type: "address[]",
|
237
|
-
},
|
238
|
-
{
|
239
|
-
internalType: "uint256[]",
|
240
|
-
name: "amount",
|
241
|
-
type: "uint256[]",
|
242
|
-
},
|
243
|
-
],
|
244
|
-
name: "executeTransactionsWithGasRefunder",
|
245
|
-
outputs: [],
|
246
|
-
stateMutability: "payable",
|
247
|
-
type: "function",
|
248
|
-
},
|
249
|
-
{
|
250
|
-
inputs: [
|
251
|
-
{
|
252
|
-
internalType: "address",
|
253
|
-
name: "",
|
254
|
-
type: "address",
|
255
|
-
},
|
256
|
-
],
|
257
|
-
name: "executors",
|
258
|
-
outputs: [
|
259
|
-
{
|
260
|
-
internalType: "bool",
|
261
|
-
name: "",
|
262
|
-
type: "bool",
|
263
|
-
},
|
264
|
-
],
|
265
|
-
stateMutability: "view",
|
266
|
-
type: "function",
|
267
|
-
},
|
268
|
-
{
|
269
|
-
inputs: [
|
270
|
-
{
|
271
|
-
internalType: "address",
|
272
|
-
name: "_executor",
|
273
|
-
type: "address",
|
274
|
-
},
|
275
|
-
{
|
276
|
-
internalType: "address",
|
277
|
-
name: "_owner",
|
278
|
-
type: "address",
|
279
|
-
},
|
280
|
-
{
|
281
|
-
internalType: "address[]",
|
282
|
-
name: "initialExecutorAllowedDests",
|
283
|
-
type: "address[]",
|
284
|
-
},
|
285
|
-
],
|
286
|
-
name: "initialize",
|
287
|
-
outputs: [],
|
288
|
-
stateMutability: "nonpayable",
|
289
|
-
type: "function",
|
290
|
-
},
|
291
|
-
{
|
292
|
-
inputs: [],
|
293
|
-
name: "owner",
|
294
|
-
outputs: [
|
295
|
-
{
|
296
|
-
internalType: "address",
|
297
|
-
name: "",
|
298
|
-
type: "address",
|
299
|
-
},
|
300
|
-
],
|
301
|
-
stateMutability: "view",
|
302
|
-
type: "function",
|
303
|
-
},
|
304
|
-
{
|
305
|
-
inputs: [],
|
306
|
-
name: "renounceOwnership",
|
307
|
-
outputs: [],
|
308
|
-
stateMutability: "nonpayable",
|
309
|
-
type: "function",
|
310
|
-
},
|
311
|
-
{
|
312
|
-
inputs: [
|
313
|
-
{
|
314
|
-
internalType: "address[]",
|
315
|
-
name: "destinations",
|
316
|
-
type: "address[]",
|
317
|
-
},
|
318
|
-
{
|
319
|
-
internalType: "bool[]",
|
320
|
-
name: "isSet",
|
321
|
-
type: "bool[]",
|
322
|
-
},
|
323
|
-
],
|
324
|
-
name: "setAllowedExecutorDestinations",
|
325
|
-
outputs: [],
|
326
|
-
stateMutability: "nonpayable",
|
327
|
-
type: "function",
|
328
|
-
},
|
329
|
-
{
|
330
|
-
inputs: [
|
331
|
-
{
|
332
|
-
internalType: "address[]",
|
333
|
-
name: "newExecutors",
|
334
|
-
type: "address[]",
|
335
|
-
},
|
336
|
-
{
|
337
|
-
internalType: "bool[]",
|
338
|
-
name: "isExecutor",
|
339
|
-
type: "bool[]",
|
340
|
-
},
|
341
|
-
],
|
342
|
-
name: "setExecutor",
|
343
|
-
outputs: [],
|
344
|
-
stateMutability: "nonpayable",
|
345
|
-
type: "function",
|
346
|
-
},
|
347
|
-
{
|
348
|
-
inputs: [
|
349
|
-
{
|
350
|
-
internalType: "contract IChallengeManager",
|
351
|
-
name: "manager",
|
352
|
-
type: "address",
|
353
|
-
},
|
354
|
-
{
|
355
|
-
internalType: "uint64[]",
|
356
|
-
name: "challenges",
|
357
|
-
type: "uint64[]",
|
358
|
-
},
|
359
|
-
],
|
360
|
-
name: "timeoutChallenges",
|
361
|
-
outputs: [],
|
362
|
-
stateMutability: "nonpayable",
|
363
|
-
type: "function",
|
364
|
-
},
|
365
|
-
{
|
366
|
-
inputs: [
|
367
|
-
{
|
368
|
-
internalType: "contract IGasRefunder",
|
369
|
-
name: "gasRefunder",
|
370
|
-
type: "address",
|
371
|
-
},
|
372
|
-
{
|
373
|
-
internalType: "contract IChallengeManager",
|
374
|
-
name: "manager",
|
375
|
-
type: "address",
|
376
|
-
},
|
377
|
-
{
|
378
|
-
internalType: "uint64[]",
|
379
|
-
name: "challenges",
|
380
|
-
type: "uint64[]",
|
381
|
-
},
|
382
|
-
],
|
383
|
-
name: "timeoutChallengesWithGasRefunder",
|
384
|
-
outputs: [],
|
385
|
-
stateMutability: "nonpayable",
|
386
|
-
type: "function",
|
387
|
-
},
|
388
|
-
{
|
389
|
-
inputs: [
|
390
|
-
{
|
391
|
-
internalType: "address",
|
392
|
-
name: "newOwner",
|
393
|
-
type: "address",
|
394
|
-
},
|
395
|
-
],
|
396
|
-
name: "transferOwnership",
|
397
|
-
outputs: [],
|
398
|
-
stateMutability: "nonpayable",
|
399
|
-
type: "function",
|
400
|
-
},
|
401
|
-
{
|
402
|
-
inputs: [
|
403
|
-
{
|
404
|
-
internalType: "address",
|
405
|
-
name: "destination",
|
406
|
-
type: "address",
|
407
|
-
},
|
408
|
-
],
|
409
|
-
name: "validateExecuteTransaction",
|
410
|
-
outputs: [],
|
411
|
-
stateMutability: "view",
|
412
|
-
type: "function",
|
413
|
-
},
|
414
|
-
{
|
415
|
-
inputs: [
|
416
|
-
{
|
417
|
-
internalType: "uint256",
|
418
|
-
name: "amount",
|
419
|
-
type: "uint256",
|
420
|
-
},
|
421
|
-
{
|
422
|
-
internalType: "address",
|
423
|
-
name: "destination",
|
424
|
-
type: "address",
|
425
|
-
},
|
426
|
-
],
|
427
|
-
name: "withdrawEth",
|
428
|
-
outputs: [],
|
429
|
-
stateMutability: "nonpayable",
|
430
|
-
type: "function",
|
431
|
-
},
|
432
|
-
{
|
433
|
-
stateMutability: "payable",
|
434
|
-
type: "receive",
|
435
|
-
},
|
436
|
-
];
|
437
|
-
|
438
|
-
const _bytecode =
|
439
|
-
"0x60a06040523060805234801561001457600080fd5b50608051611ad0610030600039600061090a0152611ad06000f3fe6080604052600436106100d75760003560e01c80639ac2a0111161007a5780639ac2a011146101e75780639be7bbd214610217578063a158657c14610237578063af1b9a0714610257578063c179f1d914610277578063ce1d571f1461028a578063d327821a1461029d578063f2fde38b146102bd57600080fd5b8063097da1f8146100e35780630a2435f8146100f8578063193c8edd146101185780633a7c721a1461015d578063715018a61461017d57806372f458661461019257806377a24f36146101a55780638da5cb5b146101c557600080fd5b366100de57005b600080fd5b6100f66100f136600461138a565b6102dd565b005b34801561010457600080fd5b506100f661011336600461143d565b6104f2565b34801561012457600080fd5b506101486101333660046114a8565b60666020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561016957600080fd5b506100f661017836600461143d565b610697565b34801561018957600080fd5b506100f6610808565b6100f66101a03660046114cc565b610843565b3480156101b157600080fd5b506100f66101c0366004611565565b61085b565b3480156101d157600080fd5b506101da610b00565b60405161015491906115bd565b3480156101f357600080fd5b506101486102023660046114a8565b60656020526000908152604090205460ff1681565b34801561022357600080fd5b506100f66102323660046114a8565b610b0f565b34801561024357600080fd5b506100f66102523660046115d1565b610b8b565b34801561026357600080fd5b506100f6610272366004611601565b610c35565b6100f6610285366004611655565b610c42565b6100f6610298366004611701565b610f85565b3480156102a957600080fd5b506100f66102b8366004611565565b610f99565b3480156102c957600080fd5b506100f66102d83660046114a8565b6111e8565b3360009081526065602052604090205460ff1615801561030d575033610301610b00565b6001600160a01b031614155b1561033757335b60405163f26aea8b60e01b815260040161032e91906115bd565b60405180910390fd5b8460005a9050841561036a576001600160a01b0384163b61036a5760405162461bcd60e51b815260040161032e9061175d565b61037384610b0f565b6000846001600160a01b0316848888604051610390929190611786565b60006040518083038185875af1925050503d80600081146103cd576040519150601f19603f3d011682016040523d82523d6000602084013e6103d2565b606091505b50509050806103e8576040513d806000833e8082fd5b506001600160a01b038216156104e957366000602061040883601f6117ac565b61041291906117c4565b90506102006104226002836118cc565b61042c91906117c4565b6104378260066118db565b61044191906117ac565b61044b90846117ac565b925033321461045957600091505b836001600160a01b031663e3db8a49335a61047490876118fa565b856040518463ffffffff1660e01b815260040161049393929190611911565b602060405180830381600087803b1580156104ad57600080fd5b505af11580156104c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e59190611940565b5050505b50505050505050565b336104fb610b00565b6001600160a01b0316146105215760405162461bcd60e51b815260040161032e9061195d565b82811461054b5760405163088253c360e11b8152600481018490526024810182905260440161032e565b60005b6001600160401b038116841115610690578282826001600160401b031681811061057a5761057a611992565b905060200201602081019061058f91906119a8565b606560008787856001600160401b03168181106105ae576105ae611992565b90506020020160208101906105c391906114a8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905584846001600160401b03831681811061060657610606611992565b905060200201602081019061061b91906114a8565b6001600160a01b03167f9fdbc2d48b8a0db2f62663bf9312ad02f5b1f6414ad600b55a247d09aeec3ea28484846001600160401b031681811061066057610660611992565b905060200201602081019061067591906119a8565b604051901515815260200160405180910390a260010161054e565b5050505050565b336106a0610b00565b6001600160a01b0316146106c65760405162461bcd60e51b815260040161032e9061195d565b8281146106f05760405163088253c360e11b8152600481018490526024810182905260440161032e565b60005b838110156106905782828281811061070d5761070d611992565b905060200201602081019061072291906119a8565b6066600087878581811061073857610738611992565b905060200201602081019061074d91906114a8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905584848281811061078757610787611992565b905060200201602081019061079c91906114a8565b6001600160a01b03167fab063fe575c4df359aaf3733bcf10706bacfdd24557e670a2c1cba126ae4d8a48484848181106107d8576107d8611992565b90506020020160208101906107ed91906119a8565b604051901515815260200160405180910390a26001016106f3565b33610811610b00565b6001600160a01b0316146108375760405162461bcd60e51b815260040161032e9061195d565b6108416000611281565b565b6108536000878787878787610c42565b505050505050565b600054610100900460ff166108765760005460ff161561087a565b303b155b6108dd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161032e565b600054610100900460ff161580156108ff576000805461ffff19166101011790555b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561098d5760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b606482015260840161032e565b6109956112d3565b61099e846111e8565b6001600160a01b038516600081815260656020908152604091829020805460ff1916600190811790915591519182527f9fdbc2d48b8a0db2f62663bf9312ad02f5b1f6414ad600b55a247d09aeec3ea2910160405180910390a260005b6001600160401b038116831115610ae7576001606660008686856001600160401b0316818110610a2d57610a2d611992565b9050602002016020810190610a4291906114a8565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905583836001600160401b038316818110610a8557610a85611992565b9050602002016020810190610a9a91906114a8565b6001600160a01b03167fab063fe575c4df359aaf3733bcf10706bacfdd24557e670a2c1cba126ae4d8a46001604051610ad7911515815260200190565b60405180910390a26001016109fb565b508015610690576000805461ff00191690555050505050565b6033546001600160a01b031690565b6001600160a01b03811660009081526066602052604090205460ff16158015610b48575033610b3c610b00565b6001600160a01b031614155b15610b8857610b55610b00565b6040516320fe37c560e11b81526001600160a01b039182166004820152336024820152908216604482015260640161032e565b50565b33610b94610b00565b6001600160a01b031614610bba5760405162461bcd60e51b815260040161032e9061195d565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114610c07576040519150601f19603f3d011682016040523d82523d6000602084013e610c0c565b606091505b5050905080610c305781604051630fdb769360e31b815260040161032e91906115bd565b505050565b610c306000848484610f99565b3360009081526065602052604090205460ff16158015610c72575033610c66610b00565b6001600160a01b031614155b15610c7d5733610314565b8660005a905086858114610cae5760405163088253c360e11b8152600481018290526024810187905260440161032e565b808414610cd85760405163088253c360e11b8152600481018290526024810185905260440161032e565b60005b81811015610e785760008a8a83818110610cf757610cf7611992565b9050602002810190610d0991906119c5565b90501115610d6657610d4a888883818110610d2657610d26611992565b9050602002016020810190610d3b91906114a8565b6001600160a01b03163b151590565b610d665760405162461bcd60e51b815260040161032e9061175d565b610d90888883818110610d7b57610d7b611992565b905060200201602081019061023291906114a8565b6000888883818110610da457610da4611992565b9050602002016020810190610db991906114a8565b6001600160a01b0316878784818110610dd457610dd4611992565b905060200201358c8c85818110610ded57610ded611992565b9050602002810190610dff91906119c5565b604051610e0d929190611786565b60006040518083038185875af1925050503d8060008114610e4a576040519150601f19603f3d011682016040523d82523d6000602084013e610e4f565b606091505b5050905080610e65576040513d806000833e8082fd5b5080610e7081611a0b565b915050610cdb565b50506001600160a01b03821615610f7a573660006020610e9983601f6117ac565b610ea391906117c4565b9050610200610eb36002836118cc565b610ebd91906117c4565b610ec88260066118db565b610ed291906117ac565b610edc90846117ac565b9250333214610eea57600091505b836001600160a01b031663e3db8a49335a610f0590876118fa565b856040518463ffffffff1660e01b8152600401610f2493929190611911565b602060405180830381600087803b158015610f3e57600080fd5b505af1158015610f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f769190611940565b5050505b505050505050505050565b610f936000858585856102dd565b50505050565b3360009081526065602052604090205460ff16158015610fc9575033610fbd610b00565b6001600160a01b031614155b15610fd45733610314565b8360005a90508260005b818110156110ea57866001600160a01b0316631b45c86a87878481811061100757611007611992565b905060200201602081019061101c9190611a26565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401600060405180830381600087803b15801561105d57600080fd5b505af192505050801561106e575060015b6110d8573d80801561109c576040519150601f19603f3d011682016040523d82523d6000602084013e6110a1565b606091505b5080516110d65760405162461bcd60e51b815260206004820152600360248201526247415360e81b604482015260640161032e565b505b806110e281611a0b565b915050610fde565b50506001600160a01b0382161561085357366000602061110b83601f6117ac565b61111591906117c4565b90506102006111256002836118cc565b61112f91906117c4565b61113a8260066118db565b61114491906117ac565b61114e90846117ac565b925033321461115c57600091505b836001600160a01b031663e3db8a49335a61117790876118fa565b856040518463ffffffff1660e01b815260040161119693929190611911565b602060405180830381600087803b1580156111b057600080fd5b505af11580156111c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7a9190611940565b336111f1610b00565b6001600160a01b0316146112175760405162461bcd60e51b815260040161032e9061195d565b6001600160a01b03811661127c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161032e565b610b88815b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166112fa5760405162461bcd60e51b815260040161032e90611a4f565b610841600054610100900460ff166113245760405162461bcd60e51b815260040161032e90611a4f565b61084133611281565b6001600160a01b0381168114610b8857600080fd5b60008083601f84011261135457600080fd5b5081356001600160401b0381111561136b57600080fd5b60208301915083602082850101111561138357600080fd5b9250929050565b6000806000806000608086880312156113a257600080fd5b85356113ad8161132d565b945060208601356001600160401b038111156113c857600080fd5b6113d488828901611342565b90955093505060408601356113e88161132d565b949793965091946060013592915050565b60008083601f84011261140b57600080fd5b5081356001600160401b0381111561142257600080fd5b6020830191508360208260051b850101111561138357600080fd5b6000806000806040858703121561145357600080fd5b84356001600160401b038082111561146a57600080fd5b611476888389016113f9565b9096509450602087013591508082111561148f57600080fd5b5061149c878288016113f9565b95989497509550505050565b6000602082840312156114ba57600080fd5b81356114c58161132d565b9392505050565b600080600080600080606087890312156114e557600080fd5b86356001600160401b03808211156114fc57600080fd5b6115088a838b016113f9565b9098509650602089013591508082111561152157600080fd5b61152d8a838b016113f9565b9096509450604089013591508082111561154657600080fd5b5061155389828a016113f9565b979a9699509497509295939492505050565b6000806000806060858703121561157b57600080fd5b84356115868161132d565b935060208501356115968161132d565b925060408501356001600160401b038111156115b157600080fd5b61149c878288016113f9565b6001600160a01b0391909116815260200190565b600080604083850312156115e457600080fd5b8235915060208301356115f68161132d565b809150509250929050565b60008060006040848603121561161657600080fd5b83356116218161132d565b925060208401356001600160401b0381111561163c57600080fd5b611648868287016113f9565b9497909650939450505050565b60008060008060008060006080888a03121561167057600080fd5b873561167b8161132d565b965060208801356001600160401b038082111561169757600080fd5b6116a38b838c016113f9565b909850965060408a01359150808211156116bc57600080fd5b6116c88b838c016113f9565b909650945060608a01359150808211156116e157600080fd5b506116ee8a828b016113f9565b989b979a50959850939692959293505050565b6000806000806060858703121561171757600080fd5b84356001600160401b0381111561172d57600080fd5b61173987828801611342565b909550935050602085013561174d8161132d565b9396929550929360400135925050565b6020808252600f908201526e2727afa1a7a222afa0aa2fa0a2222960891b604082015260600190565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156117bf576117bf611796565b500190565b6000826117e157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561182157816000190482111561180757611807611796565b8085161561181457918102915b93841c93908002906117eb565b509250929050565b600082611838575060016118c6565b81611845575060006118c6565b816001811461185b576002811461186557611881565b60019150506118c6565b60ff84111561187657611876611796565b50506001821b6118c6565b5060208310610133831016604e8410600b84101617156118a4575081810a6118c6565b6118ae83836117e6565b80600019048211156118c2576118c2611796565b0290505b92915050565b60006114c560ff841683611829565b60008160001904831182151516156118f5576118f5611796565b500290565b60008282101561190c5761190c611796565b500390565b6001600160a01b039390931683526020830191909152604082015260600190565b8015158114610b8857600080fd5b60006020828403121561195257600080fd5b81516114c581611932565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156119ba57600080fd5b81356114c581611932565b6000808335601e198436030181126119dc57600080fd5b8301803591506001600160401b038211156119f657600080fd5b60200191503681900382131561138357600080fd5b6000600019821415611a1f57611a1f611796565b5060010190565b600060208284031215611a3857600080fd5b81356001600160401b03811681146114c557600080fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea2646970667358221220359742b54ef3af4ec0b08da2d2fc2c0662edc95a1059fd5b210bee98078f389964736f6c63430008090033";
|
440
|
-
|
441
|
-
type ValidatorWalletConstructorParams =
|
442
|
-
| [signer?: Signer]
|
443
|
-
| ConstructorParameters<typeof ContractFactory>;
|
444
|
-
|
445
|
-
const isSuperArgs = (
|
446
|
-
xs: ValidatorWalletConstructorParams
|
447
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
448
|
-
|
449
|
-
export class ValidatorWallet__factory extends ContractFactory {
|
450
|
-
constructor(...args: ValidatorWalletConstructorParams) {
|
451
|
-
if (isSuperArgs(args)) {
|
452
|
-
super(...args);
|
453
|
-
} else {
|
454
|
-
super(_abi, _bytecode, args[0]);
|
455
|
-
}
|
456
|
-
}
|
457
|
-
|
458
|
-
override deploy(
|
459
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
460
|
-
): Promise<ValidatorWallet> {
|
461
|
-
return super.deploy(overrides || {}) as Promise<ValidatorWallet>;
|
462
|
-
}
|
463
|
-
override getDeployTransaction(
|
464
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
465
|
-
): TransactionRequest {
|
466
|
-
return super.getDeployTransaction(overrides || {});
|
467
|
-
}
|
468
|
-
override attach(address: string): ValidatorWallet {
|
469
|
-
return super.attach(address) as ValidatorWallet;
|
470
|
-
}
|
471
|
-
override connect(signer: Signer): ValidatorWallet__factory {
|
472
|
-
return super.connect(signer) as ValidatorWallet__factory;
|
473
|
-
}
|
474
|
-
|
475
|
-
static readonly bytecode = _bytecode;
|
476
|
-
static readonly abi = _abi;
|
477
|
-
static createInterface(): ValidatorWalletInterface {
|
478
|
-
return new utils.Interface(_abi) as ValidatorWalletInterface;
|
479
|
-
}
|
480
|
-
static connect(
|
481
|
-
address: string,
|
482
|
-
signerOrProvider: Signer | Provider
|
483
|
-
): ValidatorWallet {
|
484
|
-
return new Contract(address, _abi, signerOrProvider) as ValidatorWallet;
|
485
|
-
}
|
486
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
2
|
-
/* tslint:disable */
|
3
|
-
/* eslint-disable */
|
4
|
-
export * as iBridgeCreatorSol from "./IBridgeCreator.sol";
|
5
|
-
export * as iRollupLogicSol from "./IRollupLogic.sol";
|
6
|
-
export * as rollupUserLogicSol from "./RollupUserLogic.sol";
|
7
|
-
export { AbsBridgeCreator__factory } from "./AbsBridgeCreator__factory";
|
8
|
-
export { AbsRollupEventInbox__factory } from "./AbsRollupEventInbox__factory";
|
9
|
-
export { BridgeCreator__factory } from "./BridgeCreator__factory";
|
10
|
-
export { ERC20BridgeCreator__factory } from "./ERC20BridgeCreator__factory";
|
11
|
-
export { ERC20RollupEventInbox__factory } from "./ERC20RollupEventInbox__factory";
|
12
|
-
export { IRollupAdmin__factory } from "./IRollupAdmin__factory";
|
13
|
-
export { IRollupCore__factory } from "./IRollupCore__factory";
|
14
|
-
export { IRollupEventInbox__factory } from "./IRollupEventInbox__factory";
|
15
|
-
export { RollupAdminLogic__factory } from "./RollupAdminLogic__factory";
|
16
|
-
export { RollupCore__factory } from "./RollupCore__factory";
|
17
|
-
export { RollupCreator__factory } from "./RollupCreator__factory";
|
18
|
-
export { RollupEventInbox__factory } from "./RollupEventInbox__factory";
|
19
|
-
export { RollupProxy__factory } from "./RollupProxy__factory";
|
20
|
-
export { ValidatorUtils__factory } from "./ValidatorUtils__factory";
|
21
|
-
export { ValidatorWallet__factory } from "./ValidatorWallet__factory";
|
22
|
-
export { ValidatorWalletCreator__factory } from "./ValidatorWalletCreator__factory";
|