@arbitrum/nitro-contracts 1.1.0-alpha.7 → 1.1.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.json +10 -0
- package/build/contracts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.json +215 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.json +183 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.json +30 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.json +30 -0
- package/build/contracts/src/bridge/AbsBridge.sol/AbsBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.json +26 -0
- package/build/contracts/src/bridge/AbsOutbox.sol/AbsOutbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/Bridge.sol/Bridge.json +2 -2
- package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.json +7 -2
- package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.json +39 -2
- package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.json +2 -2
- package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.dbg.json +4 -0
- package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.json +539 -0
- package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Bridge.sol/IERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.json +26 -0
- package/build/contracts/src/bridge/IEthBridge.sol/IEthBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IInbox.sol/IInbox.json +26 -0
- package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.dbg.json +1 -1
- package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.json +26 -0
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.json +13 -0
- package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +13 -0
- package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Inbox.sol/Inbox.json +39 -2
- package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +1 -1
- package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Outbox.sol/Outbox.json +2 -2
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +26 -2
- package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +1 -1
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +1 -1
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +2 -2
- package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +1 -1
- package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +1 -1
- package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +1 -1
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +1 -1
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +1 -1
- package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +1 -1
- package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +1 -1
- package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +1 -1
- package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +1 -1
- package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.dbg.json +1 -1
- package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +1 -1
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +1 -1
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +2 -2
- package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +2 -2
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +2 -2
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +1 -1
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +33 -2
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +1 -1
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +2 -2
- package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +1 -1
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +1 -1
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +20 -2
- package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +1 -1
- package/build/contracts/src/mocks/Simple.sol/Simple.json +2 -2
- package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +1 -1
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +1 -1
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +2 -2
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +1 -1
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +2 -2
- package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.dbg.json +4 -0
- package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.json +350 -0
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +1 -1
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.json +43 -0
- package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +1 -1
- package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +2 -2
- package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +2 -2
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +2 -2
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +2 -2
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +2 -2
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +2 -2
- package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.json +13 -0
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.json +39 -0
- package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +1 -1
- package/build/contracts/src/rollup/AbsRollupEventInbox.sol/AbsRollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +214 -83
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +4 -0
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +214 -0
- package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.json +2 -2
- package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +1 -1
- package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +2 -2
- package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +67 -24
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +2 -2
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +2 -2
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +2 -2
- package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +2 -2
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +2 -2
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +2 -2
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +2 -2
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +2 -2
- package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +1 -1
- package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +1 -1
- package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +1 -1
- package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +1 -1
- package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +1 -1
- package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +1 -1
- package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +1 -1
- package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +1 -1
- package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +1 -1
- package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +1 -1
- package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +1 -1
- package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +1 -1
- package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +1 -1
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +2 -2
- package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/EthVault.sol/EthVault.dbg.json +1 -1
- package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +2 -2
- package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +1 -1
- package/build/contracts/src/test-helpers/TestToken.sol/TestToken.dbg.json +4 -0
- package/build/contracts/src/test-helpers/TestToken.sol/TestToken.json +292 -0
- package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +1 -1
- package/package.json +9 -8
- package/src/bridge/AbsBridge.sol +1 -1
- package/src/bridge/AbsInbox.sol +27 -6
- package/src/bridge/AbsOutbox.sol +7 -0
- package/src/bridge/ERC20Bridge.sol +22 -5
- package/src/bridge/ERC20Inbox.sol +4 -1
- package/src/bridge/ERC20Outbox.sol +3 -0
- package/src/bridge/GasRefunder.sol +255 -0
- package/src/bridge/IERC20Bridge.sol +5 -3
- package/src/bridge/IInboxBase.sol +5 -0
- package/src/bridge/IOutbox.sol +2 -0
- package/src/bridge/ISequencerInbox.sol +2 -0
- package/src/bridge/Inbox.sol +2 -1
- package/src/bridge/Outbox.sol +4 -0
- package/src/bridge/SequencerInbox.sol +8 -4
- package/src/libraries/Constants.sol +0 -3
- package/src/libraries/Error.sol +3 -0
- package/src/mocks/InboxStub.sol +9 -0
- package/src/mocks/SequencerInboxStub.sol +3 -2
- package/src/mocks/Simple.sol +2 -1
- package/src/mocks/UpgradeExecutorMock.sol +82 -0
- package/src/node-interface/NodeInterface.sol +16 -0
- package/src/precompiles/ArbOwner.sol +6 -0
- package/src/precompiles/ArbOwnerPublic.sol +12 -0
- package/src/rollup/BridgeCreator.sol +90 -28
- package/src/rollup/DeployHelper.sol +149 -0
- package/src/rollup/RollupCreator.sol +124 -55
- package/src/test-helpers/TestToken.sol +16 -0
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.dbg.json +0 -4
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +0 -312
- package/build/contracts/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol/ERC20PresetFixedSupply.dbg.json +0 -4
- package/build/contracts/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol/ERC20PresetFixedSupply.json +0 -338
- package/build/contracts/src/rollup/AbsBridgeCreator.sol/AbsBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/AbsBridgeCreator.sol/AbsBridgeCreator.json +0 -167
- package/build/contracts/src/rollup/ERC20BridgeCreator.sol/ERC20BridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/ERC20BridgeCreator.sol/ERC20BridgeCreator.json +0 -248
- package/build/contracts/src/rollup/IBridgeCreator.sol/IBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IBridgeCreator.json +0 -109
- package/build/contracts/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.json +0 -185
- package/build/contracts/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.dbg.json +0 -4
- package/build/contracts/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.json +0 -180
- package/build/types/@openzeppelin/contracts/access/Ownable.ts +0 -175
- package/build/types/@openzeppelin/contracts/access/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/index.ts +0 -11
- package/build/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +0 -87
- package/build/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/interfaces/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +0 -108
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.ts +0 -108
- package/build/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/Proxy.ts +0 -55
- package/build/types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +0 -87
- package/build/types/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.ts +0 -239
- package/build/types/@openzeppelin/contracts/proxy/beacon/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/index.ts +0 -12
- package/build/types/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.ts +0 -359
- package/build/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.ts +0 -278
- package/build/types/@openzeppelin/contracts/proxy/transparent/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.ts +0 -216
- package/build/types/@openzeppelin/contracts/proxy/utils/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/token/ERC20/ERC20.ts +0 -444
- package/build/types/@openzeppelin/contracts/token/ERC20/IERC20.ts +0 -322
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.ts +0 -507
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +0 -364
- package/build/types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -5
- package/build/types/@openzeppelin/contracts/token/ERC20/index.ts +0 -9
- package/build/types/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.ts +0 -507
- package/build/types/@openzeppelin/contracts/token/ERC20/presets/index.ts +0 -4
- package/build/types/@openzeppelin/contracts/token/index.ts +0 -5
- package/build/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +0 -175
- package/build/types/@openzeppelin/contracts-upgradeable/access/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/index.ts +0 -9
- package/build/types/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.ts +0 -111
- package/build/types/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +0 -322
- package/build/types/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -4
- package/build/types/@openzeppelin/contracts-upgradeable/token/index.ts +0 -5
- package/build/types/@openzeppelin/index.ts +0 -7
- package/build/types/common.ts +0 -44
- package/build/types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +0 -78
- package/build/types/factories/@openzeppelin/contracts/access/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/index.ts +0 -7
- package/build/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +0 -39
- package/build/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/interfaces/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.ts +0 -71
- package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +0 -31
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +0 -39
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.ts +0 -169
- package/build/types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/index.ts +0 -8
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.ts +0 -211
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.ts +0 -228
- package/build/types/factories/@openzeppelin/contracts/proxy/transparent/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable__factory.ts +0 -115
- package/build/types/factories/@openzeppelin/contracts/proxy/utils/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +0 -349
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +0 -206
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory.ts +0 -327
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +0 -248
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -5
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/index.ts +0 -7
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply__factory.ts +0 -420
- package/build/types/factories/@openzeppelin/contracts/token/ERC20/presets/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts/token/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +0 -78
- package/build/types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/index.ts +0 -6
- package/build/types/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.ts +0 -65
- package/build/types/factories/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts +0 -209
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -4
- package/build/types/factories/@openzeppelin/contracts-upgradeable/token/index.ts +0 -4
- package/build/types/factories/@openzeppelin/index.ts +0 -5
- package/build/types/factories/index.ts +0 -5
- package/build/types/factories/src/bridge/AbsBridge__factory.ts +0 -612
- package/build/types/factories/src/bridge/AbsInbox__factory.ts +0 -455
- package/build/types/factories/src/bridge/AbsOutbox__factory.ts +0 -561
- package/build/types/factories/src/bridge/Bridge__factory.ts +0 -695
- package/build/types/factories/src/bridge/ERC20Bridge__factory.ts +0 -746
- package/build/types/factories/src/bridge/ERC20Inbox__factory.ts +0 -719
- package/build/types/factories/src/bridge/ERC20Outbox__factory.ts +0 -610
- package/build/types/factories/src/bridge/IBridge__factory.ts +0 -508
- package/build/types/factories/src/bridge/IDelayedMessageProvider__factory.ts +0 -62
- package/build/types/factories/src/bridge/IERC20Bridge__factory.ts +0 -576
- package/build/types/factories/src/bridge/IERC20Inbox__factory.ts +0 -461
- package/build/types/factories/src/bridge/IEthBridge__factory.ts +0 -553
- package/build/types/factories/src/bridge/IInboxBase__factory.ts +0 -324
- package/build/types/factories/src/bridge/IInbox__factory.ts +0 -647
- package/build/types/factories/src/bridge/IOutbox__factory.ts +0 -431
- package/build/types/factories/src/bridge/IOwnable__factory.ts +0 -36
- package/build/types/factories/src/bridge/ISequencerInbox__factory.ts +0 -666
- package/build/types/factories/src/bridge/Inbox__factory.ts +0 -999
- package/build/types/factories/src/bridge/Outbox__factory.ts +0 -591
- package/build/types/factories/src/bridge/SequencerInbox__factory.ts +0 -865
- package/build/types/factories/src/bridge/index.ts +0 -23
- package/build/types/factories/src/challenge/ChallengeManager__factory.ts +0 -720
- package/build/types/factories/src/challenge/IChallengeManager__factory.ts +0 -401
- package/build/types/factories/src/challenge/IChallengeResultReceiver__factory.ts +0 -53
- package/build/types/factories/src/challenge/index.ts +0 -6
- package/build/types/factories/src/index.ts +0 -12
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy__factory.ts +0 -128
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade__factory.ts +0 -88
- package/build/types/factories/src/libraries/AdminFallbackProxy.sol/index.ts +0 -5
- package/build/types/factories/src/libraries/DoubleLogicUUPSUpgradeable__factory.ts +0 -163
- package/build/types/factories/src/libraries/IGasRefunder__factory.ts +0 -55
- package/build/types/factories/src/libraries/UUPSNotUpgradeable__factory.ts +0 -97
- package/build/types/factories/src/libraries/index.ts +0 -7
- package/build/types/factories/src/mocks/BridgeStub__factory.ts +0 -612
- package/build/types/factories/src/mocks/BridgeUnproxied__factory.ts +0 -706
- package/build/types/factories/src/mocks/InboxStub__factory.ts +0 -702
- package/build/types/factories/src/mocks/MockResultReceiver__factory.ts +0 -244
- package/build/types/factories/src/mocks/ProxyAdminForBinding__factory.ts +0 -215
- package/build/types/factories/src/mocks/SequencerInboxStub__factory.ts +0 -938
- package/build/types/factories/src/mocks/SimpleProxy__factory.ts +0 -83
- package/build/types/factories/src/mocks/Simple__factory.ts +0 -287
- package/build/types/factories/src/mocks/SingleExecutionChallenge__factory.ts +0 -823
- package/build/types/factories/src/mocks/TimedOutChallengeManager__factory.ts +0 -724
- package/build/types/factories/src/mocks/index.ts +0 -13
- package/build/types/factories/src/node-interface/NodeInterfaceDebug__factory.ts +0 -82
- package/build/types/factories/src/node-interface/NodeInterface__factory.ts +0 -301
- package/build/types/factories/src/node-interface/index.ts +0 -5
- package/build/types/factories/src/osp/HashProofHelper__factory.ts +0 -216
- package/build/types/factories/src/osp/IOneStepProofEntry__factory.ts +0 -72
- package/build/types/factories/src/osp/IOneStepProver__factory.ts +0 -492
- package/build/types/factories/src/osp/OneStepProofEntry__factory.ts +0 -206
- package/build/types/factories/src/osp/OneStepProver0__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverHostIo__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverMath__factory.ts +0 -528
- package/build/types/factories/src/osp/OneStepProverMemory__factory.ts +0 -528
- package/build/types/factories/src/osp/index.ts +0 -11
- package/build/types/factories/src/precompiles/ArbAddressTable__factory.ts +0 -163
- package/build/types/factories/src/precompiles/ArbAggregator__factory.ts +0 -163
- package/build/types/factories/src/precompiles/ArbDebug__factory.ts +0 -208
- package/build/types/factories/src/precompiles/ArbFunctionTable__factory.ts +0 -92
- package/build/types/factories/src/precompiles/ArbGasInfo__factory.ts +0 -365
- package/build/types/factories/src/precompiles/ArbInfo__factory.ts +0 -64
- package/build/types/factories/src/precompiles/ArbOwnerPublic__factory.ts +0 -84
- package/build/types/factories/src/precompiles/ArbOwner__factory.ts +0 -393
- package/build/types/factories/src/precompiles/ArbRetryableTx__factory.ts +0 -321
- package/build/types/factories/src/precompiles/ArbStatistics__factory.ts +0 -64
- package/build/types/factories/src/precompiles/ArbSys__factory.ts +0 -389
- package/build/types/factories/src/precompiles/ArbosActs__factory.ts +0 -92
- package/build/types/factories/src/precompiles/ArbosTest__factory.ts +0 -39
- package/build/types/factories/src/precompiles/index.ts +0 -16
- package/build/types/factories/src/rollup/AbsBridgeCreator__factory.ts +0 -182
- package/build/types/factories/src/rollup/AbsRollupEventInbox__factory.ts +0 -125
- package/build/types/factories/src/rollup/BridgeCreator__factory.ts +0 -294
- package/build/types/factories/src/rollup/ERC20BridgeCreator__factory.ts +0 -299
- package/build/types/factories/src/rollup/ERC20RollupEventInbox__factory.ts +0 -170
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IBridgeCreator__factory.ts +0 -124
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator__factory.ts +0 -200
- package/build/types/factories/src/rollup/IBridgeCreator.sol/IEthBridgeCreator__factory.ts +0 -195
- package/build/types/factories/src/rollup/IBridgeCreator.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/IRollupAdmin__factory.ts +0 -559
- package/build/types/factories/src/rollup/IRollupCore__factory.ts +0 -904
- package/build/types/factories/src/rollup/IRollupEventInbox__factory.ts +0 -83
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUserAbs__factory.ts +0 -1324
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUserERC20__factory.ts +0 -1458
- package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUser__factory.ts +0 -1443
- package/build/types/factories/src/rollup/IRollupLogic.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/RollupAdminLogic__factory.ts +0 -1859
- package/build/types/factories/src/rollup/RollupCore__factory.ts +0 -1066
- package/build/types/factories/src/rollup/RollupCreator__factory.ts +0 -463
- package/build/types/factories/src/rollup/RollupEventInbox__factory.ts +0 -166
- package/build/types/factories/src/rollup/RollupProxy__factory.ts +0 -277
- package/build/types/factories/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic__factory.ts +0 -1593
- package/build/types/factories/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic__factory.ts +0 -1767
- package/build/types/factories/src/rollup/RollupUserLogic.sol/RollupUserLogic__factory.ts +0 -1748
- package/build/types/factories/src/rollup/RollupUserLogic.sol/index.ts +0 -6
- package/build/types/factories/src/rollup/ValidatorUtils__factory.ts +0 -430
- package/build/types/factories/src/rollup/ValidatorWalletCreator__factory.ts +0 -205
- package/build/types/factories/src/rollup/ValidatorWallet__factory.ts +0 -486
- package/build/types/factories/src/rollup/index.ts +0 -22
- package/build/types/factories/src/test-helpers/BridgeTester__factory.ts +0 -654
- package/build/types/factories/src/test-helpers/CryptographyPrimitivesTester__factory.ts +0 -111
- package/build/types/factories/src/test-helpers/EthVault__factory.ts +0 -95
- package/build/types/factories/src/test-helpers/MessageTester__factory.ts +0 -135
- package/build/types/factories/src/test-helpers/OutboxWithoutOptTester__factory.ts +0 -575
- package/build/types/factories/src/test-helpers/RollupMock__factory.ts +0 -100
- package/build/types/factories/src/test-helpers/ValueArrayTester__factory.ts +0 -69
- package/build/types/factories/src/test-helpers/index.ts +0 -10
- package/build/types/index.ts +0 -230
- package/build/types/src/bridge/AbsBridge.ts +0 -863
- package/build/types/src/bridge/AbsInbox.ts +0 -664
- package/build/types/src/bridge/AbsOutbox.ts +0 -700
- package/build/types/src/bridge/Bridge.ts +0 -934
- package/build/types/src/bridge/ERC20Bridge.ts +0 -970
- package/build/types/src/bridge/ERC20Inbox.ts +0 -869
- package/build/types/src/bridge/ERC20Outbox.ts +0 -722
- package/build/types/src/bridge/IBridge.ts +0 -799
- package/build/types/src/bridge/IDelayedMessageProvider.ts +0 -108
- package/build/types/src/bridge/IERC20Bridge.ts +0 -906
- package/build/types/src/bridge/IERC20Inbox.ts +0 -788
- package/build/types/src/bridge/IEthBridge.ts +0 -871
- package/build/types/src/bridge/IInbox.ts +0 -1081
- package/build/types/src/bridge/IInboxBase.ts +0 -583
- package/build/types/src/bridge/IOutbox.ts +0 -654
- package/build/types/src/bridge/IOwnable.ts +0 -81
- package/build/types/src/bridge/ISequencerInbox.ts +0 -1038
- package/build/types/src/bridge/Inbox.ts +0 -1279
- package/build/types/src/bridge/Outbox.ts +0 -700
- package/build/types/src/bridge/SequencerInbox.ts +0 -1138
- package/build/types/src/bridge/index.ts +0 -23
- package/build/types/src/challenge/ChallengeManager.ts +0 -889
- package/build/types/src/challenge/IChallengeManager.ts +0 -543
- package/build/types/src/challenge/IChallengeResultReceiver.ts +0 -115
- package/build/types/src/challenge/index.ts +0 -6
- package/build/types/src/index.ts +0 -21
- package/build/types/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.ts +0 -128
- package/build/types/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.ts +0 -128
- package/build/types/src/libraries/AdminFallbackProxy.sol/index.ts +0 -5
- package/build/types/src/libraries/DoubleLogicUUPSUpgradeable.ts +0 -314
- package/build/types/src/libraries/IGasRefunder.ts +0 -112
- package/build/types/src/libraries/UUPSNotUpgradeable.ts +0 -164
- package/build/types/src/libraries/index.ts +0 -8
- package/build/types/src/mocks/BridgeStub.ts +0 -887
- package/build/types/src/mocks/BridgeUnproxied.ts +0 -934
- package/build/types/src/mocks/InboxStub.ts +0 -1076
- package/build/types/src/mocks/MockResultReceiver.ts +0 -301
- package/build/types/src/mocks/ProxyAdminForBinding.ts +0 -359
- package/build/types/src/mocks/SequencerInboxStub.ts +0 -1173
- package/build/types/src/mocks/Simple.ts +0 -514
- package/build/types/src/mocks/SimpleProxy.ts +0 -55
- package/build/types/src/mocks/SingleExecutionChallenge.ts +0 -889
- package/build/types/src/mocks/TimedOutChallengeManager.ts +0 -883
- package/build/types/src/mocks/index.ts +0 -13
- package/build/types/src/node-interface/NodeInterface.ts +0 -502
- package/build/types/src/node-interface/NodeInterfaceDebug.ts +0 -137
- package/build/types/src/node-interface/index.ts +0 -5
- package/build/types/src/osp/HashProofHelper.ts +0 -308
- package/build/types/src/osp/IOneStepProofEntry.ts +0 -128
- package/build/types/src/osp/IOneStepProver.ts +0 -284
- package/build/types/src/osp/OneStepProofEntry.ts +0 -196
- package/build/types/src/osp/OneStepProver0.ts +0 -284
- package/build/types/src/osp/OneStepProverHostIo.ts +0 -284
- package/build/types/src/osp/OneStepProverMath.ts +0 -284
- package/build/types/src/osp/OneStepProverMemory.ts +0 -284
- package/build/types/src/osp/index.ts +0 -11
- package/build/types/src/precompiles/ArbAddressTable.ts +0 -248
- package/build/types/src/precompiles/ArbAggregator.ts +0 -335
- package/build/types/src/precompiles/ArbDebug.ts +0 -292
- package/build/types/src/precompiles/ArbFunctionTable.ts +0 -150
- package/build/types/src/precompiles/ArbGasInfo.ts +0 -536
- package/build/types/src/precompiles/ArbInfo.ts +0 -105
- package/build/types/src/precompiles/ArbOwner.ts +0 -928
- package/build/types/src/precompiles/ArbOwnerPublic.ts +0 -157
- package/build/types/src/precompiles/ArbRetryableTx.ts +0 -467
- package/build/types/src/precompiles/ArbStatistics.ts +0 -93
- package/build/types/src/precompiles/ArbSys.ts +0 -553
- package/build/types/src/precompiles/ArbosActs.ts +0 -173
- package/build/types/src/precompiles/ArbosTest.ts +0 -97
- package/build/types/src/precompiles/index.ts +0 -16
- package/build/types/src/rollup/AbsBridgeCreator.ts +0 -348
- package/build/types/src/rollup/AbsRollupEventInbox.ts +0 -218
- package/build/types/src/rollup/BridgeCreator.ts +0 -415
- package/build/types/src/rollup/ERC20BridgeCreator.ts +0 -420
- package/build/types/src/rollup/ERC20RollupEventInbox.ts +0 -218
- package/build/types/src/rollup/IBridgeCreator.sol/IBridgeCreator.ts +0 -231
- package/build/types/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.ts +0 -303
- package/build/types/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.ts +0 -298
- package/build/types/src/rollup/IBridgeCreator.sol/index.ts +0 -6
- package/build/types/src/rollup/IRollupAdmin.ts +0 -1003
- package/build/types/src/rollup/IRollupCore.ts +0 -1183
- package/build/types/src/rollup/IRollupEventInbox.ts +0 -167
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUser.ts +0 -2022
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUserAbs.ts +0 -1901
- package/build/types/src/rollup/IRollupLogic.sol/IRollupUserERC20.ts +0 -2036
- package/build/types/src/rollup/IRollupLogic.sol/index.ts +0 -6
- package/build/types/src/rollup/RollupAdminLogic.ts +0 -2593
- package/build/types/src/rollup/RollupCore.ts +0 -1406
- package/build/types/src/rollup/RollupCreator.ts +0 -592
- package/build/types/src/rollup/RollupEventInbox.ts +0 -218
- package/build/types/src/rollup/RollupProxy.ts +0 -285
- package/build/types/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.ts +0 -2282
- package/build/types/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.ts +0 -2417
- package/build/types/src/rollup/RollupUserLogic.sol/RollupUserLogic.ts +0 -2403
- package/build/types/src/rollup/RollupUserLogic.sol/index.ts +0 -6
- package/build/types/src/rollup/ValidatorUtils.ts +0 -561
- package/build/types/src/rollup/ValidatorWallet.ts +0 -751
- package/build/types/src/rollup/ValidatorWalletCreator.ts +0 -294
- package/build/types/src/rollup/index.ts +0 -25
- package/build/types/src/test-helpers/BridgeTester.ts +0 -899
- package/build/types/src/test-helpers/CryptographyPrimitivesTester.ts +0 -141
- package/build/types/src/test-helpers/EthVault.ts +0 -141
- package/build/types/src/test-helpers/MessageTester.ts +0 -182
- package/build/types/src/test-helpers/OutboxWithoutOptTester.ts +0 -700
- package/build/types/src/test-helpers/RollupMock.ts +0 -164
- package/build/types/src/test-helpers/ValueArrayTester.ts +0 -81
- package/build/types/src/test-helpers/index.ts +0 -10
- package/src/rollup/AbsBridgeCreator.sol +0 -117
- package/src/rollup/ERC20BridgeCreator.sol +0 -48
- package/src/rollup/IBridgeCreator.sol +0 -64
@@ -1,654 +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
|
-
BridgeTester,
|
8
|
-
BridgeTesterInterface,
|
9
|
-
} from "../../../src/test-helpers/BridgeTester";
|
10
|
-
|
11
|
-
const _abi = [
|
12
|
-
{
|
13
|
-
inputs: [
|
14
|
-
{
|
15
|
-
internalType: "address",
|
16
|
-
name: "addr",
|
17
|
-
type: "address",
|
18
|
-
},
|
19
|
-
],
|
20
|
-
name: "NotContract",
|
21
|
-
type: "error",
|
22
|
-
},
|
23
|
-
{
|
24
|
-
inputs: [
|
25
|
-
{
|
26
|
-
internalType: "address",
|
27
|
-
name: "sender",
|
28
|
-
type: "address",
|
29
|
-
},
|
30
|
-
],
|
31
|
-
name: "NotDelayedInbox",
|
32
|
-
type: "error",
|
33
|
-
},
|
34
|
-
{
|
35
|
-
inputs: [
|
36
|
-
{
|
37
|
-
internalType: "address",
|
38
|
-
name: "sender",
|
39
|
-
type: "address",
|
40
|
-
},
|
41
|
-
],
|
42
|
-
name: "NotOutbox",
|
43
|
-
type: "error",
|
44
|
-
},
|
45
|
-
{
|
46
|
-
inputs: [
|
47
|
-
{
|
48
|
-
internalType: "address",
|
49
|
-
name: "sender",
|
50
|
-
type: "address",
|
51
|
-
},
|
52
|
-
{
|
53
|
-
internalType: "address",
|
54
|
-
name: "rollup",
|
55
|
-
type: "address",
|
56
|
-
},
|
57
|
-
{
|
58
|
-
internalType: "address",
|
59
|
-
name: "owner",
|
60
|
-
type: "address",
|
61
|
-
},
|
62
|
-
],
|
63
|
-
name: "NotRollupOrOwner",
|
64
|
-
type: "error",
|
65
|
-
},
|
66
|
-
{
|
67
|
-
anonymous: false,
|
68
|
-
inputs: [
|
69
|
-
{
|
70
|
-
indexed: true,
|
71
|
-
internalType: "address",
|
72
|
-
name: "outbox",
|
73
|
-
type: "address",
|
74
|
-
},
|
75
|
-
{
|
76
|
-
indexed: true,
|
77
|
-
internalType: "address",
|
78
|
-
name: "to",
|
79
|
-
type: "address",
|
80
|
-
},
|
81
|
-
{
|
82
|
-
indexed: false,
|
83
|
-
internalType: "uint256",
|
84
|
-
name: "value",
|
85
|
-
type: "uint256",
|
86
|
-
},
|
87
|
-
{
|
88
|
-
indexed: false,
|
89
|
-
internalType: "bytes",
|
90
|
-
name: "data",
|
91
|
-
type: "bytes",
|
92
|
-
},
|
93
|
-
],
|
94
|
-
name: "BridgeCallTriggered",
|
95
|
-
type: "event",
|
96
|
-
},
|
97
|
-
{
|
98
|
-
anonymous: false,
|
99
|
-
inputs: [
|
100
|
-
{
|
101
|
-
indexed: true,
|
102
|
-
internalType: "address",
|
103
|
-
name: "inbox",
|
104
|
-
type: "address",
|
105
|
-
},
|
106
|
-
{
|
107
|
-
indexed: false,
|
108
|
-
internalType: "bool",
|
109
|
-
name: "enabled",
|
110
|
-
type: "bool",
|
111
|
-
},
|
112
|
-
],
|
113
|
-
name: "InboxToggle",
|
114
|
-
type: "event",
|
115
|
-
},
|
116
|
-
{
|
117
|
-
anonymous: false,
|
118
|
-
inputs: [
|
119
|
-
{
|
120
|
-
indexed: true,
|
121
|
-
internalType: "uint256",
|
122
|
-
name: "messageIndex",
|
123
|
-
type: "uint256",
|
124
|
-
},
|
125
|
-
{
|
126
|
-
indexed: true,
|
127
|
-
internalType: "bytes32",
|
128
|
-
name: "beforeInboxAcc",
|
129
|
-
type: "bytes32",
|
130
|
-
},
|
131
|
-
{
|
132
|
-
indexed: false,
|
133
|
-
internalType: "address",
|
134
|
-
name: "inbox",
|
135
|
-
type: "address",
|
136
|
-
},
|
137
|
-
{
|
138
|
-
indexed: false,
|
139
|
-
internalType: "uint8",
|
140
|
-
name: "kind",
|
141
|
-
type: "uint8",
|
142
|
-
},
|
143
|
-
{
|
144
|
-
indexed: false,
|
145
|
-
internalType: "address",
|
146
|
-
name: "sender",
|
147
|
-
type: "address",
|
148
|
-
},
|
149
|
-
{
|
150
|
-
indexed: false,
|
151
|
-
internalType: "bytes32",
|
152
|
-
name: "messageDataHash",
|
153
|
-
type: "bytes32",
|
154
|
-
},
|
155
|
-
{
|
156
|
-
indexed: false,
|
157
|
-
internalType: "uint256",
|
158
|
-
name: "baseFeeL1",
|
159
|
-
type: "uint256",
|
160
|
-
},
|
161
|
-
{
|
162
|
-
indexed: false,
|
163
|
-
internalType: "uint64",
|
164
|
-
name: "timestamp",
|
165
|
-
type: "uint64",
|
166
|
-
},
|
167
|
-
],
|
168
|
-
name: "MessageDelivered",
|
169
|
-
type: "event",
|
170
|
-
},
|
171
|
-
{
|
172
|
-
anonymous: false,
|
173
|
-
inputs: [
|
174
|
-
{
|
175
|
-
indexed: true,
|
176
|
-
internalType: "address",
|
177
|
-
name: "outbox",
|
178
|
-
type: "address",
|
179
|
-
},
|
180
|
-
{
|
181
|
-
indexed: false,
|
182
|
-
internalType: "bool",
|
183
|
-
name: "enabled",
|
184
|
-
type: "bool",
|
185
|
-
},
|
186
|
-
],
|
187
|
-
name: "OutboxToggle",
|
188
|
-
type: "event",
|
189
|
-
},
|
190
|
-
{
|
191
|
-
anonymous: false,
|
192
|
-
inputs: [
|
193
|
-
{
|
194
|
-
indexed: false,
|
195
|
-
internalType: "address",
|
196
|
-
name: "newSequencerInbox",
|
197
|
-
type: "address",
|
198
|
-
},
|
199
|
-
],
|
200
|
-
name: "SequencerInboxUpdated",
|
201
|
-
type: "event",
|
202
|
-
},
|
203
|
-
{
|
204
|
-
inputs: [],
|
205
|
-
name: "acceptFundsFromOldBridge",
|
206
|
-
outputs: [],
|
207
|
-
stateMutability: "payable",
|
208
|
-
type: "function",
|
209
|
-
},
|
210
|
-
{
|
211
|
-
inputs: [],
|
212
|
-
name: "activeOutbox",
|
213
|
-
outputs: [
|
214
|
-
{
|
215
|
-
internalType: "address",
|
216
|
-
name: "",
|
217
|
-
type: "address",
|
218
|
-
},
|
219
|
-
],
|
220
|
-
stateMutability: "view",
|
221
|
-
type: "function",
|
222
|
-
},
|
223
|
-
{
|
224
|
-
inputs: [
|
225
|
-
{
|
226
|
-
internalType: "uint256",
|
227
|
-
name: "",
|
228
|
-
type: "uint256",
|
229
|
-
},
|
230
|
-
],
|
231
|
-
name: "allowedDelayedInboxList",
|
232
|
-
outputs: [
|
233
|
-
{
|
234
|
-
internalType: "address",
|
235
|
-
name: "",
|
236
|
-
type: "address",
|
237
|
-
},
|
238
|
-
],
|
239
|
-
stateMutability: "view",
|
240
|
-
type: "function",
|
241
|
-
},
|
242
|
-
{
|
243
|
-
inputs: [
|
244
|
-
{
|
245
|
-
internalType: "address",
|
246
|
-
name: "inbox",
|
247
|
-
type: "address",
|
248
|
-
},
|
249
|
-
],
|
250
|
-
name: "allowedDelayedInboxes",
|
251
|
-
outputs: [
|
252
|
-
{
|
253
|
-
internalType: "bool",
|
254
|
-
name: "",
|
255
|
-
type: "bool",
|
256
|
-
},
|
257
|
-
],
|
258
|
-
stateMutability: "view",
|
259
|
-
type: "function",
|
260
|
-
},
|
261
|
-
{
|
262
|
-
inputs: [
|
263
|
-
{
|
264
|
-
internalType: "uint256",
|
265
|
-
name: "",
|
266
|
-
type: "uint256",
|
267
|
-
},
|
268
|
-
],
|
269
|
-
name: "allowedOutboxList",
|
270
|
-
outputs: [
|
271
|
-
{
|
272
|
-
internalType: "address",
|
273
|
-
name: "",
|
274
|
-
type: "address",
|
275
|
-
},
|
276
|
-
],
|
277
|
-
stateMutability: "view",
|
278
|
-
type: "function",
|
279
|
-
},
|
280
|
-
{
|
281
|
-
inputs: [
|
282
|
-
{
|
283
|
-
internalType: "address",
|
284
|
-
name: "outbox",
|
285
|
-
type: "address",
|
286
|
-
},
|
287
|
-
],
|
288
|
-
name: "allowedOutboxes",
|
289
|
-
outputs: [
|
290
|
-
{
|
291
|
-
internalType: "bool",
|
292
|
-
name: "",
|
293
|
-
type: "bool",
|
294
|
-
},
|
295
|
-
],
|
296
|
-
stateMutability: "view",
|
297
|
-
type: "function",
|
298
|
-
},
|
299
|
-
{
|
300
|
-
inputs: [
|
301
|
-
{
|
302
|
-
internalType: "uint256",
|
303
|
-
name: "",
|
304
|
-
type: "uint256",
|
305
|
-
},
|
306
|
-
],
|
307
|
-
name: "delayedInboxAccs",
|
308
|
-
outputs: [
|
309
|
-
{
|
310
|
-
internalType: "bytes32",
|
311
|
-
name: "",
|
312
|
-
type: "bytes32",
|
313
|
-
},
|
314
|
-
],
|
315
|
-
stateMutability: "view",
|
316
|
-
type: "function",
|
317
|
-
},
|
318
|
-
{
|
319
|
-
inputs: [],
|
320
|
-
name: "delayedMessageCount",
|
321
|
-
outputs: [
|
322
|
-
{
|
323
|
-
internalType: "uint256",
|
324
|
-
name: "",
|
325
|
-
type: "uint256",
|
326
|
-
},
|
327
|
-
],
|
328
|
-
stateMutability: "view",
|
329
|
-
type: "function",
|
330
|
-
},
|
331
|
-
{
|
332
|
-
inputs: [
|
333
|
-
{
|
334
|
-
internalType: "uint8",
|
335
|
-
name: "kind",
|
336
|
-
type: "uint8",
|
337
|
-
},
|
338
|
-
{
|
339
|
-
internalType: "address",
|
340
|
-
name: "sender",
|
341
|
-
type: "address",
|
342
|
-
},
|
343
|
-
{
|
344
|
-
internalType: "bytes32",
|
345
|
-
name: "messageDataHash",
|
346
|
-
type: "bytes32",
|
347
|
-
},
|
348
|
-
],
|
349
|
-
name: "enqueueDelayedMessage",
|
350
|
-
outputs: [
|
351
|
-
{
|
352
|
-
internalType: "uint256",
|
353
|
-
name: "",
|
354
|
-
type: "uint256",
|
355
|
-
},
|
356
|
-
],
|
357
|
-
stateMutability: "payable",
|
358
|
-
type: "function",
|
359
|
-
},
|
360
|
-
{
|
361
|
-
inputs: [
|
362
|
-
{
|
363
|
-
internalType: "bytes32",
|
364
|
-
name: "dataHash",
|
365
|
-
type: "bytes32",
|
366
|
-
},
|
367
|
-
{
|
368
|
-
internalType: "uint256",
|
369
|
-
name: "afterDelayedMessagesRead",
|
370
|
-
type: "uint256",
|
371
|
-
},
|
372
|
-
{
|
373
|
-
internalType: "uint256",
|
374
|
-
name: "prevMessageCount",
|
375
|
-
type: "uint256",
|
376
|
-
},
|
377
|
-
{
|
378
|
-
internalType: "uint256",
|
379
|
-
name: "newMessageCount",
|
380
|
-
type: "uint256",
|
381
|
-
},
|
382
|
-
],
|
383
|
-
name: "enqueueSequencerMessage",
|
384
|
-
outputs: [
|
385
|
-
{
|
386
|
-
internalType: "uint256",
|
387
|
-
name: "seqMessageIndex",
|
388
|
-
type: "uint256",
|
389
|
-
},
|
390
|
-
{
|
391
|
-
internalType: "bytes32",
|
392
|
-
name: "beforeAcc",
|
393
|
-
type: "bytes32",
|
394
|
-
},
|
395
|
-
{
|
396
|
-
internalType: "bytes32",
|
397
|
-
name: "delayedAcc",
|
398
|
-
type: "bytes32",
|
399
|
-
},
|
400
|
-
{
|
401
|
-
internalType: "bytes32",
|
402
|
-
name: "acc",
|
403
|
-
type: "bytes32",
|
404
|
-
},
|
405
|
-
],
|
406
|
-
stateMutability: "nonpayable",
|
407
|
-
type: "function",
|
408
|
-
},
|
409
|
-
{
|
410
|
-
inputs: [
|
411
|
-
{
|
412
|
-
internalType: "address",
|
413
|
-
name: "to",
|
414
|
-
type: "address",
|
415
|
-
},
|
416
|
-
{
|
417
|
-
internalType: "uint256",
|
418
|
-
name: "value",
|
419
|
-
type: "uint256",
|
420
|
-
},
|
421
|
-
{
|
422
|
-
internalType: "bytes",
|
423
|
-
name: "data",
|
424
|
-
type: "bytes",
|
425
|
-
},
|
426
|
-
],
|
427
|
-
name: "executeCall",
|
428
|
-
outputs: [
|
429
|
-
{
|
430
|
-
internalType: "bool",
|
431
|
-
name: "success",
|
432
|
-
type: "bool",
|
433
|
-
},
|
434
|
-
{
|
435
|
-
internalType: "bytes",
|
436
|
-
name: "returnData",
|
437
|
-
type: "bytes",
|
438
|
-
},
|
439
|
-
],
|
440
|
-
stateMutability: "nonpayable",
|
441
|
-
type: "function",
|
442
|
-
},
|
443
|
-
{
|
444
|
-
inputs: [
|
445
|
-
{
|
446
|
-
internalType: "contract IOwnable",
|
447
|
-
name: "rollup_",
|
448
|
-
type: "address",
|
449
|
-
},
|
450
|
-
],
|
451
|
-
name: "initialize",
|
452
|
-
outputs: [],
|
453
|
-
stateMutability: "nonpayable",
|
454
|
-
type: "function",
|
455
|
-
},
|
456
|
-
{
|
457
|
-
inputs: [],
|
458
|
-
name: "rollup",
|
459
|
-
outputs: [
|
460
|
-
{
|
461
|
-
internalType: "contract IOwnable",
|
462
|
-
name: "",
|
463
|
-
type: "address",
|
464
|
-
},
|
465
|
-
],
|
466
|
-
stateMutability: "view",
|
467
|
-
type: "function",
|
468
|
-
},
|
469
|
-
{
|
470
|
-
inputs: [],
|
471
|
-
name: "sequencerInbox",
|
472
|
-
outputs: [
|
473
|
-
{
|
474
|
-
internalType: "address",
|
475
|
-
name: "",
|
476
|
-
type: "address",
|
477
|
-
},
|
478
|
-
],
|
479
|
-
stateMutability: "view",
|
480
|
-
type: "function",
|
481
|
-
},
|
482
|
-
{
|
483
|
-
inputs: [
|
484
|
-
{
|
485
|
-
internalType: "uint256",
|
486
|
-
name: "",
|
487
|
-
type: "uint256",
|
488
|
-
},
|
489
|
-
],
|
490
|
-
name: "sequencerInboxAccs",
|
491
|
-
outputs: [
|
492
|
-
{
|
493
|
-
internalType: "bytes32",
|
494
|
-
name: "",
|
495
|
-
type: "bytes32",
|
496
|
-
},
|
497
|
-
],
|
498
|
-
stateMutability: "view",
|
499
|
-
type: "function",
|
500
|
-
},
|
501
|
-
{
|
502
|
-
inputs: [],
|
503
|
-
name: "sequencerMessageCount",
|
504
|
-
outputs: [
|
505
|
-
{
|
506
|
-
internalType: "uint256",
|
507
|
-
name: "",
|
508
|
-
type: "uint256",
|
509
|
-
},
|
510
|
-
],
|
511
|
-
stateMutability: "view",
|
512
|
-
type: "function",
|
513
|
-
},
|
514
|
-
{
|
515
|
-
inputs: [],
|
516
|
-
name: "sequencerReportedSubMessageCount",
|
517
|
-
outputs: [
|
518
|
-
{
|
519
|
-
internalType: "uint256",
|
520
|
-
name: "",
|
521
|
-
type: "uint256",
|
522
|
-
},
|
523
|
-
],
|
524
|
-
stateMutability: "view",
|
525
|
-
type: "function",
|
526
|
-
},
|
527
|
-
{
|
528
|
-
inputs: [
|
529
|
-
{
|
530
|
-
internalType: "address",
|
531
|
-
name: "inbox",
|
532
|
-
type: "address",
|
533
|
-
},
|
534
|
-
{
|
535
|
-
internalType: "bool",
|
536
|
-
name: "enabled",
|
537
|
-
type: "bool",
|
538
|
-
},
|
539
|
-
],
|
540
|
-
name: "setDelayedInbox",
|
541
|
-
outputs: [],
|
542
|
-
stateMutability: "nonpayable",
|
543
|
-
type: "function",
|
544
|
-
},
|
545
|
-
{
|
546
|
-
inputs: [
|
547
|
-
{
|
548
|
-
internalType: "address",
|
549
|
-
name: "outbox",
|
550
|
-
type: "address",
|
551
|
-
},
|
552
|
-
{
|
553
|
-
internalType: "bool",
|
554
|
-
name: "enabled",
|
555
|
-
type: "bool",
|
556
|
-
},
|
557
|
-
],
|
558
|
-
name: "setOutbox",
|
559
|
-
outputs: [],
|
560
|
-
stateMutability: "nonpayable",
|
561
|
-
type: "function",
|
562
|
-
},
|
563
|
-
{
|
564
|
-
inputs: [
|
565
|
-
{
|
566
|
-
internalType: "address",
|
567
|
-
name: "_sequencerInbox",
|
568
|
-
type: "address",
|
569
|
-
},
|
570
|
-
],
|
571
|
-
name: "setSequencerInbox",
|
572
|
-
outputs: [],
|
573
|
-
stateMutability: "nonpayable",
|
574
|
-
type: "function",
|
575
|
-
},
|
576
|
-
{
|
577
|
-
inputs: [
|
578
|
-
{
|
579
|
-
internalType: "address",
|
580
|
-
name: "batchPoster",
|
581
|
-
type: "address",
|
582
|
-
},
|
583
|
-
{
|
584
|
-
internalType: "bytes32",
|
585
|
-
name: "dataHash",
|
586
|
-
type: "bytes32",
|
587
|
-
},
|
588
|
-
],
|
589
|
-
name: "submitBatchSpendingReport",
|
590
|
-
outputs: [
|
591
|
-
{
|
592
|
-
internalType: "uint256",
|
593
|
-
name: "",
|
594
|
-
type: "uint256",
|
595
|
-
},
|
596
|
-
],
|
597
|
-
stateMutability: "nonpayable",
|
598
|
-
type: "function",
|
599
|
-
},
|
600
|
-
{
|
601
|
-
stateMutability: "payable",
|
602
|
-
type: "receive",
|
603
|
-
},
|
604
|
-
];
|
605
|
-
|
606
|
-
const _bytecode =
|
607
|
-
"0x60a06040523060805234801561001457600080fd5b5060805161134661002d600039600050506113466000f3fe60806040526004361061012d5760003560e01c80639e5d4c49116100ab578063cee3d7281161006f578063cee3d7281461038e578063d5719dc2146103ae578063e76f5c8d146103ce578063e77145f4146101e9578063eca067ad146103ee578063ee35f3271461040357600080fd5b80639e5d4c49146102ce578063ab5d8943146102fc578063ae60bd1314610311578063c4d66de81461034e578063cb23bcb51461036e57600080fd5b80635fca4a16116100f25780635fca4a161461020b5780637a88b1071461022157806386598a56146102445780638db5993b1461028e578063945e1147146102a157600080fd5b806284120c1461013957806316bf55791461015d578063413b35bd1461017d57806347fb24c5146101c95780634f61f850146101eb57600080fd5b3661013457005b600080fd5b34801561014557600080fd5b506009545b6040519081526020015b60405180910390f35b34801561016957600080fd5b5061014a610178366004611005565b610423565b34801561018957600080fd5b506101b9610198366004611036565b6001600160a01b031660009081526002602052604090206001015460ff1690565b6040519015158152602001610154565b3480156101d557600080fd5b506101e96101e436600461105a565b610444565b005b3480156101f757600080fd5b506101e9610206366004611036565b61074f565b34801561021757600080fd5b5061014a600a5481565b34801561022d57600080fd5b5061014a61023c366004611098565b600092915050565b34801561025057600080fd5b5061026e61025f3660046110c4565b50600093849350839250829150565b604080519485526020850193909352918301526060820152608001610154565b61014a61029c3660046110f6565b610874565b3480156102ad57600080fd5b506102c16102bc366004611005565b6108bf565b604051610154919061113d565b3480156102da57600080fd5b506102ee6102e9366004611151565b6108e9565b6040516101549291906111da565b34801561030857600080fd5b506102c1610a41565b34801561031d57600080fd5b506101b961032c366004611036565b6001600160a01b03166000908152600160208190526040909120015460ff1690565b34801561035a57600080fd5b506101e9610369366004611036565b610a6e565b34801561037a57600080fd5b506006546102c1906001600160a01b031681565b34801561039a57600080fd5b506101e96103a936600461105a565b610b54565b3480156103ba57600080fd5b5061014a6103c9366004611005565b610e56565b3480156103da57600080fd5b506102c16103e9366004611005565b610e66565b3480156103fa57600080fd5b5060085461014a565b34801561040f57600080fd5b506007546102c1906001600160a01b031681565b6009818154811061043357600080fd5b600091825260209091200154905081565b6006546001600160a01b0316331461051c5760065460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b916004808301926020929190829003018186803b15801561049b57600080fd5b505afa1580156104af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d39190611239565b9050336001600160a01b0382161461051a57600654604051630739600760e01b81526105119133916001600160a01b03909116908490600401611256565b60405180910390fd5b505b6001600160a01b0382166000818152600160208181526040928390209182015492518515158152919360ff90931692917f6675ce8882cb71637de5903a193d218cc0544be9c0650cb83e0955f6aa2bf521910160405180910390a28080156105815750825b80610593575080158015610593575082155b1561059e5750505050565b821561062c57604080518082018252600380548252600160208084018281526001600160a01b038a166000818152928490529582209451855551938201805460ff1916941515949094179093558154908101825591527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319169091179055610748565b6003805461063c90600190611279565b8154811061064c5761064c61129e565b6000918252602090912001548254600380546001600160a01b0390931692909190811061067b5761067b61129e565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081600001546001600060038560000154815481106106c9576106c961129e565b60009182526020808320909101546001600160a01b0316835282019290925260400190205560038054806106ff576106ff6112b4565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03861682526001908190526040822091825501805460ff191690555b50505b5050565b6006546001600160a01b0316331461081e5760065460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b916004808301926020929190829003018186803b1580156107a657600080fd5b505afa1580156107ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107de9190611239565b9050336001600160a01b0382161461081c57600654604051630739600760e01b81526105119133916001600160a01b03909116908490600401611256565b505b600780546001600160a01b0319166001600160a01b0383161790556040517f8c1e6003ed33ca6748d4ad3dd4ecc949065c89dceb31fdf546a5289202763c6a9061086990839061113d565b60405180910390a150565b3360009081526001602081905260408220015460ff166108a9573360405163b6c60ea360e01b8152600401610511919061113d565b6108b7848443424887610e76565b949350505050565b600481815481106108cf57600080fd5b6000918252602090912001546001600160a01b0316905081565b3360009081526002602052604081206001015460609060ff1661092157336040516332ea82ab60e01b8152600401610511919061113d565b821580159061093857506001600160a01b0386163b155b15610958578560405163b5cf5b8f60e01b8152600401610511919061113d565b600580546001600160a01b0319811633179091556040516001600160a01b0391821691881690879061098d90889088906112ca565b60006040518083038185875af1925050503d80600081146109ca576040519150601f19603f3d011682016040523d82523d6000602084013e6109cf565b606091505b50600580546001600160a01b0319166001600160a01b038581169190911790915560405192955090935088169033907f2d9d115ef3e4a606d698913b1eae831a3cdfe20d9a83d48007b0526749c3d46690610a2f908a908a908a906112da565b60405180910390a35094509492505050565b6005546000906001600160a01b039081161415610a5e5750600090565b506005546001600160a01b031690565b600054610100900460ff16610a895760005460ff1615610a8d565b303b155b610af05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610511565b600054610100900460ff16158015610b12576000805461ffff19166101011790555b600580546001600160a01b036001600160a01b0319918216811790925560068054909116918416919091179055801561074b576000805461ff00191690555050565b6006546001600160a01b03163314610c235760065460408051638da5cb5b60e01b815290516000926001600160a01b031691638da5cb5b916004808301926020929190829003018186803b158015610bab57600080fd5b505afa158015610bbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be39190611239565b9050336001600160a01b03821614610c2157600654604051630739600760e01b81526105119133916001600160a01b03909116908490600401611256565b505b6001600160a01b038216600081815260026020908152604091829020600181015492518515158152909360ff90931692917f49477e7356dbcb654ab85d7534b50126772d938130d1350e23e2540370c8dffa910160405180910390a2808015610c895750825b80610c9b575080158015610c9b575082155b15610ca65750505050565b8215610d3557604080518082018252600480548252600160208084018281526001600160a01b038a16600081815260029093529582209451855551938201805460ff1916941515949094179093558154908101825591527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319169091179055610748565b60048054610d4590600190611279565b81548110610d5557610d5561129e565b6000918252602090912001548254600480546001600160a01b03909316929091908110610d8457610d8461129e565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055508160000154600260006004856000015481548110610dd257610dd261129e565b60009182526020808320909101546001600160a01b031683528201929092526040019020556004805480610e0857610e086112b4565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03861682526002905260408120908155600101805460ff1916905550505050565b6008818154811061043357600080fd5b600381815481106108cf57600080fd5b600854604080516001600160f81b031960f88a901b166020808301919091526bffffffffffffffffffffffff1960608a901b1660218301526001600160c01b031960c089811b8216603585015288901b16603d830152604582018490526065820186905260858083018690528351808403909101815260a590920190925280519101206000919060008215610f30576008610f12600185611279565b81548110610f2257610f2261129e565b906000526020600020015490505b6040805160208082018490528183018590528251808303840181526060830180855281519190920120600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3015533905260ff8c1660808201526001600160a01b038b1660a082015260c0810187905260e0810188905267ffffffffffffffff89166101008201529051829185917f5e3c1311ea442664e8b1611bfabef659120ea7a0a2cfc0667700bebc69cbffe1918190036101200190a3509098975050505050505050565b60006020828403121561101757600080fd5b5035919050565b6001600160a01b038116811461103357600080fd5b50565b60006020828403121561104857600080fd5b81356110538161101e565b9392505050565b6000806040838503121561106d57600080fd5b82356110788161101e565b91506020830135801515811461108d57600080fd5b809150509250929050565b600080604083850312156110ab57600080fd5b82356110b68161101e565b946020939093013593505050565b600080600080608085870312156110da57600080fd5b5050823594602084013594506040840135936060013592509050565b60008060006060848603121561110b57600080fd5b833560ff8116811461111c57600080fd5b9250602084013561112c8161101e565b929592945050506040919091013590565b6001600160a01b0391909116815260200190565b6000806000806060858703121561116757600080fd5b84356111728161101e565b935060208501359250604085013567ffffffffffffffff8082111561119657600080fd5b818701915087601f8301126111aa57600080fd5b8135818111156111b957600080fd5b8860208285010111156111cb57600080fd5b95989497505060200194505050565b821515815260006020604081840152835180604085015260005b81811015611210578581018301518582016060015282016111f4565b81811115611222576000606083870101525b50601f01601f191692909201606001949350505050565b60006020828403121561124b57600080fd5b81516110538161101e565b6001600160a01b0393841681529183166020830152909116604082015260600190565b60008282101561129957634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b8183823760009101908152919050565b83815260406020820152816040820152818360608301376000818301606090810191909152601f909201601f191601019291505056fea2646970667358221220d0c0adab20c029de6cd4cbf7b5e548b2b9b190edbfdf1388a36d3fc1abb7ed0b64736f6c63430008090033";
|
608
|
-
|
609
|
-
type BridgeTesterConstructorParams =
|
610
|
-
| [signer?: Signer]
|
611
|
-
| ConstructorParameters<typeof ContractFactory>;
|
612
|
-
|
613
|
-
const isSuperArgs = (
|
614
|
-
xs: BridgeTesterConstructorParams
|
615
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
616
|
-
|
617
|
-
export class BridgeTester__factory extends ContractFactory {
|
618
|
-
constructor(...args: BridgeTesterConstructorParams) {
|
619
|
-
if (isSuperArgs(args)) {
|
620
|
-
super(...args);
|
621
|
-
} else {
|
622
|
-
super(_abi, _bytecode, args[0]);
|
623
|
-
}
|
624
|
-
}
|
625
|
-
|
626
|
-
override deploy(
|
627
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
628
|
-
): Promise<BridgeTester> {
|
629
|
-
return super.deploy(overrides || {}) as Promise<BridgeTester>;
|
630
|
-
}
|
631
|
-
override getDeployTransaction(
|
632
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
633
|
-
): TransactionRequest {
|
634
|
-
return super.getDeployTransaction(overrides || {});
|
635
|
-
}
|
636
|
-
override attach(address: string): BridgeTester {
|
637
|
-
return super.attach(address) as BridgeTester;
|
638
|
-
}
|
639
|
-
override connect(signer: Signer): BridgeTester__factory {
|
640
|
-
return super.connect(signer) as BridgeTester__factory;
|
641
|
-
}
|
642
|
-
|
643
|
-
static readonly bytecode = _bytecode;
|
644
|
-
static readonly abi = _abi;
|
645
|
-
static createInterface(): BridgeTesterInterface {
|
646
|
-
return new utils.Interface(_abi) as BridgeTesterInterface;
|
647
|
-
}
|
648
|
-
static connect(
|
649
|
-
address: string,
|
650
|
-
signerOrProvider: Signer | Provider
|
651
|
-
): BridgeTester {
|
652
|
-
return new Contract(address, _abi, signerOrProvider) as BridgeTester;
|
653
|
-
}
|
654
|
-
}
|