@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,591 +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 { Outbox, OutboxInterface } from "../../../src/bridge/Outbox";
|
7
|
-
|
8
|
-
const _abi = [
|
9
|
-
{
|
10
|
-
inputs: [],
|
11
|
-
name: "AlreadyInit",
|
12
|
-
type: "error",
|
13
|
-
},
|
14
|
-
{
|
15
|
-
inputs: [
|
16
|
-
{
|
17
|
-
internalType: "uint256",
|
18
|
-
name: "index",
|
19
|
-
type: "uint256",
|
20
|
-
},
|
21
|
-
],
|
22
|
-
name: "AlreadySpent",
|
23
|
-
type: "error",
|
24
|
-
},
|
25
|
-
{
|
26
|
-
inputs: [],
|
27
|
-
name: "BridgeCallFailed",
|
28
|
-
type: "error",
|
29
|
-
},
|
30
|
-
{
|
31
|
-
inputs: [],
|
32
|
-
name: "HadZeroInit",
|
33
|
-
type: "error",
|
34
|
-
},
|
35
|
-
{
|
36
|
-
inputs: [
|
37
|
-
{
|
38
|
-
internalType: "uint256",
|
39
|
-
name: "actualLength",
|
40
|
-
type: "uint256",
|
41
|
-
},
|
42
|
-
{
|
43
|
-
internalType: "uint256",
|
44
|
-
name: "maxProofLength",
|
45
|
-
type: "uint256",
|
46
|
-
},
|
47
|
-
],
|
48
|
-
name: "MerkleProofTooLong",
|
49
|
-
type: "error",
|
50
|
-
},
|
51
|
-
{
|
52
|
-
inputs: [
|
53
|
-
{
|
54
|
-
internalType: "address",
|
55
|
-
name: "sender",
|
56
|
-
type: "address",
|
57
|
-
},
|
58
|
-
{
|
59
|
-
internalType: "address",
|
60
|
-
name: "rollup",
|
61
|
-
type: "address",
|
62
|
-
},
|
63
|
-
],
|
64
|
-
name: "NotRollup",
|
65
|
-
type: "error",
|
66
|
-
},
|
67
|
-
{
|
68
|
-
inputs: [
|
69
|
-
{
|
70
|
-
internalType: "uint256",
|
71
|
-
name: "index",
|
72
|
-
type: "uint256",
|
73
|
-
},
|
74
|
-
{
|
75
|
-
internalType: "uint256",
|
76
|
-
name: "maxIndex",
|
77
|
-
type: "uint256",
|
78
|
-
},
|
79
|
-
],
|
80
|
-
name: "PathNotMinimal",
|
81
|
-
type: "error",
|
82
|
-
},
|
83
|
-
{
|
84
|
-
inputs: [
|
85
|
-
{
|
86
|
-
internalType: "uint256",
|
87
|
-
name: "proofLength",
|
88
|
-
type: "uint256",
|
89
|
-
},
|
90
|
-
],
|
91
|
-
name: "ProofTooLong",
|
92
|
-
type: "error",
|
93
|
-
},
|
94
|
-
{
|
95
|
-
inputs: [],
|
96
|
-
name: "SimulationOnlyEntrypoint",
|
97
|
-
type: "error",
|
98
|
-
},
|
99
|
-
{
|
100
|
-
inputs: [
|
101
|
-
{
|
102
|
-
internalType: "bytes32",
|
103
|
-
name: "root",
|
104
|
-
type: "bytes32",
|
105
|
-
},
|
106
|
-
],
|
107
|
-
name: "UnknownRoot",
|
108
|
-
type: "error",
|
109
|
-
},
|
110
|
-
{
|
111
|
-
anonymous: false,
|
112
|
-
inputs: [
|
113
|
-
{
|
114
|
-
indexed: true,
|
115
|
-
internalType: "address",
|
116
|
-
name: "to",
|
117
|
-
type: "address",
|
118
|
-
},
|
119
|
-
{
|
120
|
-
indexed: true,
|
121
|
-
internalType: "address",
|
122
|
-
name: "l2Sender",
|
123
|
-
type: "address",
|
124
|
-
},
|
125
|
-
{
|
126
|
-
indexed: true,
|
127
|
-
internalType: "uint256",
|
128
|
-
name: "zero",
|
129
|
-
type: "uint256",
|
130
|
-
},
|
131
|
-
{
|
132
|
-
indexed: false,
|
133
|
-
internalType: "uint256",
|
134
|
-
name: "transactionIndex",
|
135
|
-
type: "uint256",
|
136
|
-
},
|
137
|
-
],
|
138
|
-
name: "OutBoxTransactionExecuted",
|
139
|
-
type: "event",
|
140
|
-
},
|
141
|
-
{
|
142
|
-
anonymous: false,
|
143
|
-
inputs: [
|
144
|
-
{
|
145
|
-
indexed: true,
|
146
|
-
internalType: "bytes32",
|
147
|
-
name: "outputRoot",
|
148
|
-
type: "bytes32",
|
149
|
-
},
|
150
|
-
{
|
151
|
-
indexed: true,
|
152
|
-
internalType: "bytes32",
|
153
|
-
name: "l2BlockHash",
|
154
|
-
type: "bytes32",
|
155
|
-
},
|
156
|
-
],
|
157
|
-
name: "SendRootUpdated",
|
158
|
-
type: "event",
|
159
|
-
},
|
160
|
-
{
|
161
|
-
inputs: [],
|
162
|
-
name: "OUTBOX_VERSION",
|
163
|
-
outputs: [
|
164
|
-
{
|
165
|
-
internalType: "uint128",
|
166
|
-
name: "",
|
167
|
-
type: "uint128",
|
168
|
-
},
|
169
|
-
],
|
170
|
-
stateMutability: "view",
|
171
|
-
type: "function",
|
172
|
-
},
|
173
|
-
{
|
174
|
-
inputs: [],
|
175
|
-
name: "bridge",
|
176
|
-
outputs: [
|
177
|
-
{
|
178
|
-
internalType: "contract IBridge",
|
179
|
-
name: "",
|
180
|
-
type: "address",
|
181
|
-
},
|
182
|
-
],
|
183
|
-
stateMutability: "view",
|
184
|
-
type: "function",
|
185
|
-
},
|
186
|
-
{
|
187
|
-
inputs: [
|
188
|
-
{
|
189
|
-
internalType: "address",
|
190
|
-
name: "l2Sender",
|
191
|
-
type: "address",
|
192
|
-
},
|
193
|
-
{
|
194
|
-
internalType: "address",
|
195
|
-
name: "to",
|
196
|
-
type: "address",
|
197
|
-
},
|
198
|
-
{
|
199
|
-
internalType: "uint256",
|
200
|
-
name: "l2Block",
|
201
|
-
type: "uint256",
|
202
|
-
},
|
203
|
-
{
|
204
|
-
internalType: "uint256",
|
205
|
-
name: "l1Block",
|
206
|
-
type: "uint256",
|
207
|
-
},
|
208
|
-
{
|
209
|
-
internalType: "uint256",
|
210
|
-
name: "l2Timestamp",
|
211
|
-
type: "uint256",
|
212
|
-
},
|
213
|
-
{
|
214
|
-
internalType: "uint256",
|
215
|
-
name: "value",
|
216
|
-
type: "uint256",
|
217
|
-
},
|
218
|
-
{
|
219
|
-
internalType: "bytes",
|
220
|
-
name: "data",
|
221
|
-
type: "bytes",
|
222
|
-
},
|
223
|
-
],
|
224
|
-
name: "calculateItemHash",
|
225
|
-
outputs: [
|
226
|
-
{
|
227
|
-
internalType: "bytes32",
|
228
|
-
name: "",
|
229
|
-
type: "bytes32",
|
230
|
-
},
|
231
|
-
],
|
232
|
-
stateMutability: "pure",
|
233
|
-
type: "function",
|
234
|
-
},
|
235
|
-
{
|
236
|
-
inputs: [
|
237
|
-
{
|
238
|
-
internalType: "bytes32[]",
|
239
|
-
name: "proof",
|
240
|
-
type: "bytes32[]",
|
241
|
-
},
|
242
|
-
{
|
243
|
-
internalType: "uint256",
|
244
|
-
name: "path",
|
245
|
-
type: "uint256",
|
246
|
-
},
|
247
|
-
{
|
248
|
-
internalType: "bytes32",
|
249
|
-
name: "item",
|
250
|
-
type: "bytes32",
|
251
|
-
},
|
252
|
-
],
|
253
|
-
name: "calculateMerkleRoot",
|
254
|
-
outputs: [
|
255
|
-
{
|
256
|
-
internalType: "bytes32",
|
257
|
-
name: "",
|
258
|
-
type: "bytes32",
|
259
|
-
},
|
260
|
-
],
|
261
|
-
stateMutability: "pure",
|
262
|
-
type: "function",
|
263
|
-
},
|
264
|
-
{
|
265
|
-
inputs: [
|
266
|
-
{
|
267
|
-
internalType: "bytes32[]",
|
268
|
-
name: "proof",
|
269
|
-
type: "bytes32[]",
|
270
|
-
},
|
271
|
-
{
|
272
|
-
internalType: "uint256",
|
273
|
-
name: "index",
|
274
|
-
type: "uint256",
|
275
|
-
},
|
276
|
-
{
|
277
|
-
internalType: "address",
|
278
|
-
name: "l2Sender",
|
279
|
-
type: "address",
|
280
|
-
},
|
281
|
-
{
|
282
|
-
internalType: "address",
|
283
|
-
name: "to",
|
284
|
-
type: "address",
|
285
|
-
},
|
286
|
-
{
|
287
|
-
internalType: "uint256",
|
288
|
-
name: "l2Block",
|
289
|
-
type: "uint256",
|
290
|
-
},
|
291
|
-
{
|
292
|
-
internalType: "uint256",
|
293
|
-
name: "l1Block",
|
294
|
-
type: "uint256",
|
295
|
-
},
|
296
|
-
{
|
297
|
-
internalType: "uint256",
|
298
|
-
name: "l2Timestamp",
|
299
|
-
type: "uint256",
|
300
|
-
},
|
301
|
-
{
|
302
|
-
internalType: "uint256",
|
303
|
-
name: "value",
|
304
|
-
type: "uint256",
|
305
|
-
},
|
306
|
-
{
|
307
|
-
internalType: "bytes",
|
308
|
-
name: "data",
|
309
|
-
type: "bytes",
|
310
|
-
},
|
311
|
-
],
|
312
|
-
name: "executeTransaction",
|
313
|
-
outputs: [],
|
314
|
-
stateMutability: "nonpayable",
|
315
|
-
type: "function",
|
316
|
-
},
|
317
|
-
{
|
318
|
-
inputs: [
|
319
|
-
{
|
320
|
-
internalType: "uint256",
|
321
|
-
name: "index",
|
322
|
-
type: "uint256",
|
323
|
-
},
|
324
|
-
{
|
325
|
-
internalType: "address",
|
326
|
-
name: "l2Sender",
|
327
|
-
type: "address",
|
328
|
-
},
|
329
|
-
{
|
330
|
-
internalType: "address",
|
331
|
-
name: "to",
|
332
|
-
type: "address",
|
333
|
-
},
|
334
|
-
{
|
335
|
-
internalType: "uint256",
|
336
|
-
name: "l2Block",
|
337
|
-
type: "uint256",
|
338
|
-
},
|
339
|
-
{
|
340
|
-
internalType: "uint256",
|
341
|
-
name: "l1Block",
|
342
|
-
type: "uint256",
|
343
|
-
},
|
344
|
-
{
|
345
|
-
internalType: "uint256",
|
346
|
-
name: "l2Timestamp",
|
347
|
-
type: "uint256",
|
348
|
-
},
|
349
|
-
{
|
350
|
-
internalType: "uint256",
|
351
|
-
name: "value",
|
352
|
-
type: "uint256",
|
353
|
-
},
|
354
|
-
{
|
355
|
-
internalType: "bytes",
|
356
|
-
name: "data",
|
357
|
-
type: "bytes",
|
358
|
-
},
|
359
|
-
],
|
360
|
-
name: "executeTransactionSimulation",
|
361
|
-
outputs: [],
|
362
|
-
stateMutability: "nonpayable",
|
363
|
-
type: "function",
|
364
|
-
},
|
365
|
-
{
|
366
|
-
inputs: [
|
367
|
-
{
|
368
|
-
internalType: "contract IBridge",
|
369
|
-
name: "_bridge",
|
370
|
-
type: "address",
|
371
|
-
},
|
372
|
-
],
|
373
|
-
name: "initialize",
|
374
|
-
outputs: [],
|
375
|
-
stateMutability: "nonpayable",
|
376
|
-
type: "function",
|
377
|
-
},
|
378
|
-
{
|
379
|
-
inputs: [
|
380
|
-
{
|
381
|
-
internalType: "uint256",
|
382
|
-
name: "index",
|
383
|
-
type: "uint256",
|
384
|
-
},
|
385
|
-
],
|
386
|
-
name: "isSpent",
|
387
|
-
outputs: [
|
388
|
-
{
|
389
|
-
internalType: "bool",
|
390
|
-
name: "",
|
391
|
-
type: "bool",
|
392
|
-
},
|
393
|
-
],
|
394
|
-
stateMutability: "view",
|
395
|
-
type: "function",
|
396
|
-
},
|
397
|
-
{
|
398
|
-
inputs: [],
|
399
|
-
name: "l2ToL1BatchNum",
|
400
|
-
outputs: [
|
401
|
-
{
|
402
|
-
internalType: "uint256",
|
403
|
-
name: "",
|
404
|
-
type: "uint256",
|
405
|
-
},
|
406
|
-
],
|
407
|
-
stateMutability: "pure",
|
408
|
-
type: "function",
|
409
|
-
},
|
410
|
-
{
|
411
|
-
inputs: [],
|
412
|
-
name: "l2ToL1Block",
|
413
|
-
outputs: [
|
414
|
-
{
|
415
|
-
internalType: "uint256",
|
416
|
-
name: "",
|
417
|
-
type: "uint256",
|
418
|
-
},
|
419
|
-
],
|
420
|
-
stateMutability: "view",
|
421
|
-
type: "function",
|
422
|
-
},
|
423
|
-
{
|
424
|
-
inputs: [],
|
425
|
-
name: "l2ToL1EthBlock",
|
426
|
-
outputs: [
|
427
|
-
{
|
428
|
-
internalType: "uint256",
|
429
|
-
name: "",
|
430
|
-
type: "uint256",
|
431
|
-
},
|
432
|
-
],
|
433
|
-
stateMutability: "view",
|
434
|
-
type: "function",
|
435
|
-
},
|
436
|
-
{
|
437
|
-
inputs: [],
|
438
|
-
name: "l2ToL1OutputId",
|
439
|
-
outputs: [
|
440
|
-
{
|
441
|
-
internalType: "bytes32",
|
442
|
-
name: "",
|
443
|
-
type: "bytes32",
|
444
|
-
},
|
445
|
-
],
|
446
|
-
stateMutability: "view",
|
447
|
-
type: "function",
|
448
|
-
},
|
449
|
-
{
|
450
|
-
inputs: [],
|
451
|
-
name: "l2ToL1Sender",
|
452
|
-
outputs: [
|
453
|
-
{
|
454
|
-
internalType: "address",
|
455
|
-
name: "",
|
456
|
-
type: "address",
|
457
|
-
},
|
458
|
-
],
|
459
|
-
stateMutability: "view",
|
460
|
-
type: "function",
|
461
|
-
},
|
462
|
-
{
|
463
|
-
inputs: [],
|
464
|
-
name: "l2ToL1Timestamp",
|
465
|
-
outputs: [
|
466
|
-
{
|
467
|
-
internalType: "uint256",
|
468
|
-
name: "",
|
469
|
-
type: "uint256",
|
470
|
-
},
|
471
|
-
],
|
472
|
-
stateMutability: "view",
|
473
|
-
type: "function",
|
474
|
-
},
|
475
|
-
{
|
476
|
-
inputs: [],
|
477
|
-
name: "rollup",
|
478
|
-
outputs: [
|
479
|
-
{
|
480
|
-
internalType: "address",
|
481
|
-
name: "",
|
482
|
-
type: "address",
|
483
|
-
},
|
484
|
-
],
|
485
|
-
stateMutability: "view",
|
486
|
-
type: "function",
|
487
|
-
},
|
488
|
-
{
|
489
|
-
inputs: [
|
490
|
-
{
|
491
|
-
internalType: "bytes32",
|
492
|
-
name: "",
|
493
|
-
type: "bytes32",
|
494
|
-
},
|
495
|
-
],
|
496
|
-
name: "roots",
|
497
|
-
outputs: [
|
498
|
-
{
|
499
|
-
internalType: "bytes32",
|
500
|
-
name: "",
|
501
|
-
type: "bytes32",
|
502
|
-
},
|
503
|
-
],
|
504
|
-
stateMutability: "view",
|
505
|
-
type: "function",
|
506
|
-
},
|
507
|
-
{
|
508
|
-
inputs: [
|
509
|
-
{
|
510
|
-
internalType: "uint256",
|
511
|
-
name: "",
|
512
|
-
type: "uint256",
|
513
|
-
},
|
514
|
-
],
|
515
|
-
name: "spent",
|
516
|
-
outputs: [
|
517
|
-
{
|
518
|
-
internalType: "bytes32",
|
519
|
-
name: "",
|
520
|
-
type: "bytes32",
|
521
|
-
},
|
522
|
-
],
|
523
|
-
stateMutability: "view",
|
524
|
-
type: "function",
|
525
|
-
},
|
526
|
-
{
|
527
|
-
inputs: [
|
528
|
-
{
|
529
|
-
internalType: "bytes32",
|
530
|
-
name: "root",
|
531
|
-
type: "bytes32",
|
532
|
-
},
|
533
|
-
{
|
534
|
-
internalType: "bytes32",
|
535
|
-
name: "l2BlockHash",
|
536
|
-
type: "bytes32",
|
537
|
-
},
|
538
|
-
],
|
539
|
-
name: "updateSendRoot",
|
540
|
-
outputs: [],
|
541
|
-
stateMutability: "nonpayable",
|
542
|
-
type: "function",
|
543
|
-
},
|
544
|
-
];
|
545
|
-
|
546
|
-
const _bytecode =
|
547
|
-
"0x60a06040523060805234801561001457600080fd5b5060805161133f6100306000396000610518015261133f6000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80639f0c04bf116100925780639f0c04bf146101aa578063a04cee60146101bd578063ae6dead7146101d0578063b0f30537146101f0578063c4d66de8146101f8578063c75184df1461020b578063cb23bcb51461022b578063d5b5cc231461023e578063e78cea921461025e57600080fd5b80627436d3146100fa57806308635a95146101205780631198527114610135578063288e5b101461013c578063465477901461014f5780635a129efe1461015757806372f2a8c71461017a57806380648b02146101825780638515bc6a146101a2575b600080fd5b61010d610108366004610c7b565b610271565b6040519081526020015b60405180910390f35b61013361012e366004610d9b565b6102ae565b005b600061010d565b61013361014a366004610e8f565b610321565b61010d61035c565b61016a610165366004610f2a565b61038b565b6040519015158152602001610117565b61010d6103a8565b61018a6103c5565b6040516001600160a01b039091168152602001610117565b61010d6103e6565b61010d6101b8366004610f43565b61041c565b6101336101cb366004610fd1565b610461565b61010d6101de366004610f2a565b60036020526000908152604090205481565b61010d6104e5565b610133610206366004610ff3565b61050d565b610213600281565b6040516001600160801b039091168152602001610117565b60005461018a906001600160a01b031681565b61010d61024c366004610f2a565b60026020526000908152604090205481565b60015461018a906001600160a01b031681565b60006102a684848460405160200161028b91815260200190565b604051602081830303815290604052805190602001206106f1565b949350505050565b60006102c0898989898989898961041c565b90506103028c8c808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508e92508591506107949050565b6103138a8a8a8a8a8a8a8a8a61089d565b505050505050505050505050565b331561034057604051630e13b69d60e01b815260040160405180910390fd5b61035189898989898989898961089d565b505050505050505050565b6004546000906001600160801b039081169081141561037d57600091505090565b6001600160801b0316919050565b600080600061039984610b21565b92509250506102a68282610b5e565b6005546000906000198114156103c057506000919050565b919050565b6006546000906001600160a01b03908116908114156103c057600091505090565b6006546000906001600160601b03600160a01b90910481169081141561040e57600091505090565b6001600160601b0316919050565b6000888888888888888860405160200161043d989796959493929190611017565b60405160208183030381529060405280519060200120905098975050505050505050565b6000546001600160a01b031633146104a657600054604051630e4cf1bf60e21b81523360048201526001600160a01b0390911660248201526044015b60405180910390fd5b60008281526003602052604080822083905551829184917fb4df3847300f076a369cd76d2314b470a1194d9e8a6bb97f1860aee88a5f67489190a35050565b6004546000906001600160801b03600160801b90910481169081141561037d57600091505090565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561059b5760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b606482015260840161049d565b6001600160a01b0381166105c257604051631ad0f74360e01b815260040160405180910390fd5b6001546001600160a01b0316156105ec57604051633bcd329760e21b815260040160405180910390fd5b6040805160c0810182526001600160801b038082526020808301919091526000198284018190526001600160a01b03606084018190526001600160601b036080850152600060a090940184905260048281556005839055600692909255600793909355600180546001600160a01b0319169386169384179055835163cb23bcb560e01b81529351929363cb23bcb59381830193929091829003018186803b15801561069657600080fd5b505afa1580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce919061106b565b600080546001600160a01b0319166001600160a01b039290921691909117905550565b825160009061010081111561072457604051637ed6198f60e11b815260048101829052610100602482015260440161049d565b8260005b8281101561078a57600087828151811061074457610744611088565b60200260200101519050816001901b87166000141561077157826000528060205260406000209250610781565b8060005282602052604060002092505b50600101610728565b5095945050505050565b6101008351106107bc57825160405163ab6a068360e01b815260040161049d91815260200190565b82516107c9906002611198565b82106108005781835160026107de9190611198565b604051630b8a724b60e01b81526004810192909252602482015260440161049d565b600061080d848484610271565b60008181526003602052604090205490915061083f576040516310e61af960e31b81526004810182905260240161049d565b600080600061084d86610b21565b92509250925061085d8282610b5e565b1561087e57604051639715b8d360e01b81526004810187905260240161049d565b600092835260026020526040909220600190911b909117905550505050565b6000886001600160a01b0316886001600160a01b03167f20af7f3bbfe38132b8900ae295cd9c8d1914be7052d061a511f3f728dab189648c6040516108e491815260200190565b60405180910390a4600060046040518060c00160405290816000820160009054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016000820160109054906101000a90046001600160801b03166001600160801b03166001600160801b03168152602001600182015481526020016002820160009054906101000a90046001600160a01b03166001600160a01b03166001600160a01b031681526020016002820160149054906101000a90046001600160601b03166001600160601b03166001600160601b0316815260200160038201548152505090506040518060c00160405280886001600160801b03168152602001866001600160801b031681526020018b60001b81526020018a6001600160a01b03168152602001876001600160601b03168152602001610a25600090565b905280516020808301516001600160801b03908116600160801b02921691909117600455604080830151600555606083015160808401516001600160601b0316600160a01b026001600160a01b039091161760065560a0909201516007558151601f8501829004820281018201909252838252610ac1918a918791908790879081908401838280828437600092019190915250610b6d92505050565b805160208201516001600160801b03908116600160801b029116176004556040810151600555606081015160808201516001600160601b0316600160a01b026001600160a01b039091161760065560a00151600755505050505050505050565b6000808080610b3160ff866111ba565b90506000610b4060ff876111ce565b60008381526002602052604090205492979096509194509092505050565b80821c60011615155b92915050565b600154604051639e5d4c4960e01b815260009182916001600160a01b0390911690639e5d4c4990610ba690889088908890600401611212565b600060405180830381600087803b158015610bc057600080fd5b505af1158015610bd4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bfc919081019061125b565b9150915081610c2e57805115610c155780518082602001fd5b604051631bb7daad60e11b815260040160405180910390fd5b5050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610c7357610c73610c35565b604052919050565b600080600060608486031215610c9057600080fd5b83356001600160401b0380821115610ca757600080fd5b818601915086601f830112610cbb57600080fd5b8135602082821115610ccf57610ccf610c35565b8160051b9250610ce0818401610c4b565b828152928401810192818101908a851115610cfa57600080fd5b948201945b84861015610d1857853582529482019490820190610cff565b9a918901359950506040909701359695505050505050565b6001600160a01b0381168114610d4557600080fd5b50565b80356103c081610d30565b60008083601f840112610d6557600080fd5b5081356001600160401b03811115610d7c57600080fd5b602083019150836020828501011115610d9457600080fd5b9250929050565b60008060008060008060008060008060006101208c8e031215610dbd57600080fd5b8b356001600160401b0380821115610dd457600080fd5b818e0191508e601f830112610de857600080fd5b813581811115610df757600080fd5b8f60208260051b8501011115610e0c57600080fd5b60208381019e50909c508e01359a50610e2760408f01610d48565b9950610e3560608f01610d48565b985060808e0135975060a08e0135965060c08e0135955060e08e013594506101008e0135915080821115610e6857600080fd5b50610e758e828f01610d53565b915080935050809150509295989b509295989b9093969950565b60008060008060008060008060006101008a8c031215610eae57600080fd5b8935985060208a0135610ec081610d30565b975060408a0135610ed081610d30565b965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a01356001600160401b03811115610f0757600080fd5b610f138c828d01610d53565b915080935050809150509295985092959850929598565b600060208284031215610f3c57600080fd5b5035919050565b60008060008060008060008060e0898b031215610f5f57600080fd5b8835610f6a81610d30565b97506020890135610f7a81610d30565b965060408901359550606089013594506080890135935060a0890135925060c08901356001600160401b03811115610fb157600080fd5b610fbd8b828c01610d53565b999c989b5096995094979396929594505050565b60008060408385031215610fe457600080fd5b50508035926020909101359150565b60006020828403121561100557600080fd5b813561101081610d30565b9392505050565b60006001600160601b0319808b60601b168352808a60601b16601484015250876028830152866048830152856068830152846088830152828460a8840137506000910160a801908152979650505050505050565b60006020828403121561107d57600080fd5b815161101081610d30565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b808511156110ef5781600019048211156110d5576110d561109e565b808516156110e257918102915b93841c93908002906110b9565b509250929050565b60008261110657506001610b67565b8161111357506000610b67565b816001811461112957600281146111335761114f565b6001915050610b67565b60ff8411156111445761114461109e565b50506001821b610b67565b5060208310610133831016604e8410600b8410161715611172575081810a610b67565b61117c83836110b4565b80600019048211156111905761119061109e565b029392505050565b600061101083836110f7565b634e487b7160e01b600052601260045260246000fd5b6000826111c9576111c96111a4565b500490565b6000826111dd576111dd6111a4565b500690565b60005b838110156111fd5781810151838201526020016111e5565b8381111561120c576000848401525b50505050565b60018060a01b038416815282602082015260606040820152600082518060608401526112458160808501602087016111e2565b601f01601f191691909101608001949350505050565b6000806040838503121561126e57600080fd5b8251801515811461127e57600080fd5b60208401519092506001600160401b038082111561129b57600080fd5b818501915085601f8301126112af57600080fd5b8151818111156112c1576112c1610c35565b6112d4601f8201601f1916602001610c4b565b91508082528660208285010111156112eb57600080fd5b6112fc8160208401602086016111e2565b508092505050925092905056fea26469706673582212204a6c0bcb45b43df3b55d4ba59d6a73f9ebf67f2940f959cd1689c7317b89bf0164736f6c63430008090033";
|
548
|
-
|
549
|
-
type OutboxConstructorParams =
|
550
|
-
| [signer?: Signer]
|
551
|
-
| ConstructorParameters<typeof ContractFactory>;
|
552
|
-
|
553
|
-
const isSuperArgs = (
|
554
|
-
xs: OutboxConstructorParams
|
555
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
556
|
-
|
557
|
-
export class Outbox__factory extends ContractFactory {
|
558
|
-
constructor(...args: OutboxConstructorParams) {
|
559
|
-
if (isSuperArgs(args)) {
|
560
|
-
super(...args);
|
561
|
-
} else {
|
562
|
-
super(_abi, _bytecode, args[0]);
|
563
|
-
}
|
564
|
-
}
|
565
|
-
|
566
|
-
override deploy(
|
567
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
568
|
-
): Promise<Outbox> {
|
569
|
-
return super.deploy(overrides || {}) as Promise<Outbox>;
|
570
|
-
}
|
571
|
-
override getDeployTransaction(
|
572
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
573
|
-
): TransactionRequest {
|
574
|
-
return super.getDeployTransaction(overrides || {});
|
575
|
-
}
|
576
|
-
override attach(address: string): Outbox {
|
577
|
-
return super.attach(address) as Outbox;
|
578
|
-
}
|
579
|
-
override connect(signer: Signer): Outbox__factory {
|
580
|
-
return super.connect(signer) as Outbox__factory;
|
581
|
-
}
|
582
|
-
|
583
|
-
static readonly bytecode = _bytecode;
|
584
|
-
static readonly abi = _abi;
|
585
|
-
static createInterface(): OutboxInterface {
|
586
|
-
return new utils.Interface(_abi) as OutboxInterface;
|
587
|
-
}
|
588
|
-
static connect(address: string, signerOrProvider: Signer | Provider): Outbox {
|
589
|
-
return new Contract(address, _abi, signerOrProvider) as Outbox;
|
590
|
-
}
|
591
|
-
}
|