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