@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,719 +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
|
-
ERC20Inbox,
|
8
|
-
ERC20InboxInterface,
|
9
|
-
} from "../../../src/bridge/ERC20Inbox";
|
10
|
-
|
11
|
-
const _abi = [
|
12
|
-
{
|
13
|
-
inputs: [
|
14
|
-
{
|
15
|
-
internalType: "uint256",
|
16
|
-
name: "dataLength",
|
17
|
-
type: "uint256",
|
18
|
-
},
|
19
|
-
{
|
20
|
-
internalType: "uint256",
|
21
|
-
name: "maxDataLength",
|
22
|
-
type: "uint256",
|
23
|
-
},
|
24
|
-
],
|
25
|
-
name: "DataTooLarge",
|
26
|
-
type: "error",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
inputs: [],
|
30
|
-
name: "GasLimitTooLarge",
|
31
|
-
type: "error",
|
32
|
-
},
|
33
|
-
{
|
34
|
-
inputs: [
|
35
|
-
{
|
36
|
-
internalType: "uint256",
|
37
|
-
name: "expected",
|
38
|
-
type: "uint256",
|
39
|
-
},
|
40
|
-
{
|
41
|
-
internalType: "uint256",
|
42
|
-
name: "actual",
|
43
|
-
type: "uint256",
|
44
|
-
},
|
45
|
-
],
|
46
|
-
name: "InsufficientSubmissionCost",
|
47
|
-
type: "error",
|
48
|
-
},
|
49
|
-
{
|
50
|
-
inputs: [
|
51
|
-
{
|
52
|
-
internalType: "uint256",
|
53
|
-
name: "expected",
|
54
|
-
type: "uint256",
|
55
|
-
},
|
56
|
-
{
|
57
|
-
internalType: "uint256",
|
58
|
-
name: "actual",
|
59
|
-
type: "uint256",
|
60
|
-
},
|
61
|
-
],
|
62
|
-
name: "InsufficientValue",
|
63
|
-
type: "error",
|
64
|
-
},
|
65
|
-
{
|
66
|
-
inputs: [],
|
67
|
-
name: "L1Forked",
|
68
|
-
type: "error",
|
69
|
-
},
|
70
|
-
{
|
71
|
-
inputs: [
|
72
|
-
{
|
73
|
-
internalType: "address",
|
74
|
-
name: "origin",
|
75
|
-
type: "address",
|
76
|
-
},
|
77
|
-
],
|
78
|
-
name: "NotAllowedOrigin",
|
79
|
-
type: "error",
|
80
|
-
},
|
81
|
-
{
|
82
|
-
inputs: [],
|
83
|
-
name: "NotOrigin",
|
84
|
-
type: "error",
|
85
|
-
},
|
86
|
-
{
|
87
|
-
inputs: [
|
88
|
-
{
|
89
|
-
internalType: "address",
|
90
|
-
name: "sender",
|
91
|
-
type: "address",
|
92
|
-
},
|
93
|
-
{
|
94
|
-
internalType: "address",
|
95
|
-
name: "rollup",
|
96
|
-
type: "address",
|
97
|
-
},
|
98
|
-
{
|
99
|
-
internalType: "address",
|
100
|
-
name: "owner",
|
101
|
-
type: "address",
|
102
|
-
},
|
103
|
-
],
|
104
|
-
name: "NotRollupOrOwner",
|
105
|
-
type: "error",
|
106
|
-
},
|
107
|
-
{
|
108
|
-
inputs: [
|
109
|
-
{
|
110
|
-
internalType: "address",
|
111
|
-
name: "from",
|
112
|
-
type: "address",
|
113
|
-
},
|
114
|
-
{
|
115
|
-
internalType: "address",
|
116
|
-
name: "to",
|
117
|
-
type: "address",
|
118
|
-
},
|
119
|
-
{
|
120
|
-
internalType: "uint256",
|
121
|
-
name: "l2CallValue",
|
122
|
-
type: "uint256",
|
123
|
-
},
|
124
|
-
{
|
125
|
-
internalType: "uint256",
|
126
|
-
name: "deposit",
|
127
|
-
type: "uint256",
|
128
|
-
},
|
129
|
-
{
|
130
|
-
internalType: "uint256",
|
131
|
-
name: "maxSubmissionCost",
|
132
|
-
type: "uint256",
|
133
|
-
},
|
134
|
-
{
|
135
|
-
internalType: "address",
|
136
|
-
name: "excessFeeRefundAddress",
|
137
|
-
type: "address",
|
138
|
-
},
|
139
|
-
{
|
140
|
-
internalType: "address",
|
141
|
-
name: "callValueRefundAddress",
|
142
|
-
type: "address",
|
143
|
-
},
|
144
|
-
{
|
145
|
-
internalType: "uint256",
|
146
|
-
name: "gasLimit",
|
147
|
-
type: "uint256",
|
148
|
-
},
|
149
|
-
{
|
150
|
-
internalType: "uint256",
|
151
|
-
name: "maxFeePerGas",
|
152
|
-
type: "uint256",
|
153
|
-
},
|
154
|
-
{
|
155
|
-
internalType: "bytes",
|
156
|
-
name: "data",
|
157
|
-
type: "bytes",
|
158
|
-
},
|
159
|
-
],
|
160
|
-
name: "RetryableData",
|
161
|
-
type: "error",
|
162
|
-
},
|
163
|
-
{
|
164
|
-
anonymous: false,
|
165
|
-
inputs: [
|
166
|
-
{
|
167
|
-
indexed: true,
|
168
|
-
internalType: "address",
|
169
|
-
name: "user",
|
170
|
-
type: "address",
|
171
|
-
},
|
172
|
-
{
|
173
|
-
indexed: false,
|
174
|
-
internalType: "bool",
|
175
|
-
name: "val",
|
176
|
-
type: "bool",
|
177
|
-
},
|
178
|
-
],
|
179
|
-
name: "AllowListAddressSet",
|
180
|
-
type: "event",
|
181
|
-
},
|
182
|
-
{
|
183
|
-
anonymous: false,
|
184
|
-
inputs: [
|
185
|
-
{
|
186
|
-
indexed: false,
|
187
|
-
internalType: "bool",
|
188
|
-
name: "isEnabled",
|
189
|
-
type: "bool",
|
190
|
-
},
|
191
|
-
],
|
192
|
-
name: "AllowListEnabledUpdated",
|
193
|
-
type: "event",
|
194
|
-
},
|
195
|
-
{
|
196
|
-
anonymous: false,
|
197
|
-
inputs: [
|
198
|
-
{
|
199
|
-
indexed: true,
|
200
|
-
internalType: "uint256",
|
201
|
-
name: "messageNum",
|
202
|
-
type: "uint256",
|
203
|
-
},
|
204
|
-
{
|
205
|
-
indexed: false,
|
206
|
-
internalType: "bytes",
|
207
|
-
name: "data",
|
208
|
-
type: "bytes",
|
209
|
-
},
|
210
|
-
],
|
211
|
-
name: "InboxMessageDelivered",
|
212
|
-
type: "event",
|
213
|
-
},
|
214
|
-
{
|
215
|
-
anonymous: false,
|
216
|
-
inputs: [
|
217
|
-
{
|
218
|
-
indexed: true,
|
219
|
-
internalType: "uint256",
|
220
|
-
name: "messageNum",
|
221
|
-
type: "uint256",
|
222
|
-
},
|
223
|
-
],
|
224
|
-
name: "InboxMessageDeliveredFromOrigin",
|
225
|
-
type: "event",
|
226
|
-
},
|
227
|
-
{
|
228
|
-
anonymous: false,
|
229
|
-
inputs: [
|
230
|
-
{
|
231
|
-
indexed: false,
|
232
|
-
internalType: "address",
|
233
|
-
name: "account",
|
234
|
-
type: "address",
|
235
|
-
},
|
236
|
-
],
|
237
|
-
name: "Paused",
|
238
|
-
type: "event",
|
239
|
-
},
|
240
|
-
{
|
241
|
-
anonymous: false,
|
242
|
-
inputs: [
|
243
|
-
{
|
244
|
-
indexed: false,
|
245
|
-
internalType: "address",
|
246
|
-
name: "account",
|
247
|
-
type: "address",
|
248
|
-
},
|
249
|
-
],
|
250
|
-
name: "Unpaused",
|
251
|
-
type: "event",
|
252
|
-
},
|
253
|
-
{
|
254
|
-
inputs: [],
|
255
|
-
name: "allowListEnabled",
|
256
|
-
outputs: [
|
257
|
-
{
|
258
|
-
internalType: "bool",
|
259
|
-
name: "",
|
260
|
-
type: "bool",
|
261
|
-
},
|
262
|
-
],
|
263
|
-
stateMutability: "view",
|
264
|
-
type: "function",
|
265
|
-
},
|
266
|
-
{
|
267
|
-
inputs: [],
|
268
|
-
name: "bridge",
|
269
|
-
outputs: [
|
270
|
-
{
|
271
|
-
internalType: "contract IBridge",
|
272
|
-
name: "",
|
273
|
-
type: "address",
|
274
|
-
},
|
275
|
-
],
|
276
|
-
stateMutability: "view",
|
277
|
-
type: "function",
|
278
|
-
},
|
279
|
-
{
|
280
|
-
inputs: [
|
281
|
-
{
|
282
|
-
internalType: "uint256",
|
283
|
-
name: "",
|
284
|
-
type: "uint256",
|
285
|
-
},
|
286
|
-
{
|
287
|
-
internalType: "uint256",
|
288
|
-
name: "",
|
289
|
-
type: "uint256",
|
290
|
-
},
|
291
|
-
],
|
292
|
-
name: "calculateRetryableSubmissionFee",
|
293
|
-
outputs: [
|
294
|
-
{
|
295
|
-
internalType: "uint256",
|
296
|
-
name: "",
|
297
|
-
type: "uint256",
|
298
|
-
},
|
299
|
-
],
|
300
|
-
stateMutability: "pure",
|
301
|
-
type: "function",
|
302
|
-
},
|
303
|
-
{
|
304
|
-
inputs: [
|
305
|
-
{
|
306
|
-
internalType: "address",
|
307
|
-
name: "to",
|
308
|
-
type: "address",
|
309
|
-
},
|
310
|
-
{
|
311
|
-
internalType: "uint256",
|
312
|
-
name: "l2CallValue",
|
313
|
-
type: "uint256",
|
314
|
-
},
|
315
|
-
{
|
316
|
-
internalType: "uint256",
|
317
|
-
name: "maxSubmissionCost",
|
318
|
-
type: "uint256",
|
319
|
-
},
|
320
|
-
{
|
321
|
-
internalType: "address",
|
322
|
-
name: "excessFeeRefundAddress",
|
323
|
-
type: "address",
|
324
|
-
},
|
325
|
-
{
|
326
|
-
internalType: "address",
|
327
|
-
name: "callValueRefundAddress",
|
328
|
-
type: "address",
|
329
|
-
},
|
330
|
-
{
|
331
|
-
internalType: "uint256",
|
332
|
-
name: "gasLimit",
|
333
|
-
type: "uint256",
|
334
|
-
},
|
335
|
-
{
|
336
|
-
internalType: "uint256",
|
337
|
-
name: "maxFeePerGas",
|
338
|
-
type: "uint256",
|
339
|
-
},
|
340
|
-
{
|
341
|
-
internalType: "uint256",
|
342
|
-
name: "tokenTotalFeeAmount",
|
343
|
-
type: "uint256",
|
344
|
-
},
|
345
|
-
{
|
346
|
-
internalType: "bytes",
|
347
|
-
name: "data",
|
348
|
-
type: "bytes",
|
349
|
-
},
|
350
|
-
],
|
351
|
-
name: "createRetryableTicket",
|
352
|
-
outputs: [
|
353
|
-
{
|
354
|
-
internalType: "uint256",
|
355
|
-
name: "",
|
356
|
-
type: "uint256",
|
357
|
-
},
|
358
|
-
],
|
359
|
-
stateMutability: "nonpayable",
|
360
|
-
type: "function",
|
361
|
-
},
|
362
|
-
{
|
363
|
-
inputs: [
|
364
|
-
{
|
365
|
-
internalType: "uint256",
|
366
|
-
name: "amount",
|
367
|
-
type: "uint256",
|
368
|
-
},
|
369
|
-
],
|
370
|
-
name: "depositERC20",
|
371
|
-
outputs: [
|
372
|
-
{
|
373
|
-
internalType: "uint256",
|
374
|
-
name: "",
|
375
|
-
type: "uint256",
|
376
|
-
},
|
377
|
-
],
|
378
|
-
stateMutability: "nonpayable",
|
379
|
-
type: "function",
|
380
|
-
},
|
381
|
-
{
|
382
|
-
inputs: [
|
383
|
-
{
|
384
|
-
internalType: "contract IBridge",
|
385
|
-
name: "_bridge",
|
386
|
-
type: "address",
|
387
|
-
},
|
388
|
-
{
|
389
|
-
internalType: "contract ISequencerInbox",
|
390
|
-
name: "_sequencerInbox",
|
391
|
-
type: "address",
|
392
|
-
},
|
393
|
-
],
|
394
|
-
name: "initialize",
|
395
|
-
outputs: [],
|
396
|
-
stateMutability: "nonpayable",
|
397
|
-
type: "function",
|
398
|
-
},
|
399
|
-
{
|
400
|
-
inputs: [
|
401
|
-
{
|
402
|
-
internalType: "address",
|
403
|
-
name: "",
|
404
|
-
type: "address",
|
405
|
-
},
|
406
|
-
],
|
407
|
-
name: "isAllowed",
|
408
|
-
outputs: [
|
409
|
-
{
|
410
|
-
internalType: "bool",
|
411
|
-
name: "",
|
412
|
-
type: "bool",
|
413
|
-
},
|
414
|
-
],
|
415
|
-
stateMutability: "view",
|
416
|
-
type: "function",
|
417
|
-
},
|
418
|
-
{
|
419
|
-
inputs: [],
|
420
|
-
name: "pause",
|
421
|
-
outputs: [],
|
422
|
-
stateMutability: "nonpayable",
|
423
|
-
type: "function",
|
424
|
-
},
|
425
|
-
{
|
426
|
-
inputs: [],
|
427
|
-
name: "paused",
|
428
|
-
outputs: [
|
429
|
-
{
|
430
|
-
internalType: "bool",
|
431
|
-
name: "",
|
432
|
-
type: "bool",
|
433
|
-
},
|
434
|
-
],
|
435
|
-
stateMutability: "view",
|
436
|
-
type: "function",
|
437
|
-
},
|
438
|
-
{
|
439
|
-
inputs: [
|
440
|
-
{
|
441
|
-
internalType: "uint256",
|
442
|
-
name: "gasLimit",
|
443
|
-
type: "uint256",
|
444
|
-
},
|
445
|
-
{
|
446
|
-
internalType: "uint256",
|
447
|
-
name: "maxFeePerGas",
|
448
|
-
type: "uint256",
|
449
|
-
},
|
450
|
-
{
|
451
|
-
internalType: "address",
|
452
|
-
name: "to",
|
453
|
-
type: "address",
|
454
|
-
},
|
455
|
-
{
|
456
|
-
internalType: "uint256",
|
457
|
-
name: "value",
|
458
|
-
type: "uint256",
|
459
|
-
},
|
460
|
-
{
|
461
|
-
internalType: "bytes",
|
462
|
-
name: "data",
|
463
|
-
type: "bytes",
|
464
|
-
},
|
465
|
-
],
|
466
|
-
name: "sendContractTransaction",
|
467
|
-
outputs: [
|
468
|
-
{
|
469
|
-
internalType: "uint256",
|
470
|
-
name: "",
|
471
|
-
type: "uint256",
|
472
|
-
},
|
473
|
-
],
|
474
|
-
stateMutability: "nonpayable",
|
475
|
-
type: "function",
|
476
|
-
},
|
477
|
-
{
|
478
|
-
inputs: [
|
479
|
-
{
|
480
|
-
internalType: "bytes",
|
481
|
-
name: "messageData",
|
482
|
-
type: "bytes",
|
483
|
-
},
|
484
|
-
],
|
485
|
-
name: "sendL2Message",
|
486
|
-
outputs: [
|
487
|
-
{
|
488
|
-
internalType: "uint256",
|
489
|
-
name: "",
|
490
|
-
type: "uint256",
|
491
|
-
},
|
492
|
-
],
|
493
|
-
stateMutability: "nonpayable",
|
494
|
-
type: "function",
|
495
|
-
},
|
496
|
-
{
|
497
|
-
inputs: [
|
498
|
-
{
|
499
|
-
internalType: "bytes",
|
500
|
-
name: "messageData",
|
501
|
-
type: "bytes",
|
502
|
-
},
|
503
|
-
],
|
504
|
-
name: "sendL2MessageFromOrigin",
|
505
|
-
outputs: [
|
506
|
-
{
|
507
|
-
internalType: "uint256",
|
508
|
-
name: "",
|
509
|
-
type: "uint256",
|
510
|
-
},
|
511
|
-
],
|
512
|
-
stateMutability: "nonpayable",
|
513
|
-
type: "function",
|
514
|
-
},
|
515
|
-
{
|
516
|
-
inputs: [
|
517
|
-
{
|
518
|
-
internalType: "uint256",
|
519
|
-
name: "gasLimit",
|
520
|
-
type: "uint256",
|
521
|
-
},
|
522
|
-
{
|
523
|
-
internalType: "uint256",
|
524
|
-
name: "maxFeePerGas",
|
525
|
-
type: "uint256",
|
526
|
-
},
|
527
|
-
{
|
528
|
-
internalType: "uint256",
|
529
|
-
name: "nonce",
|
530
|
-
type: "uint256",
|
531
|
-
},
|
532
|
-
{
|
533
|
-
internalType: "address",
|
534
|
-
name: "to",
|
535
|
-
type: "address",
|
536
|
-
},
|
537
|
-
{
|
538
|
-
internalType: "uint256",
|
539
|
-
name: "value",
|
540
|
-
type: "uint256",
|
541
|
-
},
|
542
|
-
{
|
543
|
-
internalType: "bytes",
|
544
|
-
name: "data",
|
545
|
-
type: "bytes",
|
546
|
-
},
|
547
|
-
],
|
548
|
-
name: "sendUnsignedTransaction",
|
549
|
-
outputs: [
|
550
|
-
{
|
551
|
-
internalType: "uint256",
|
552
|
-
name: "",
|
553
|
-
type: "uint256",
|
554
|
-
},
|
555
|
-
],
|
556
|
-
stateMutability: "nonpayable",
|
557
|
-
type: "function",
|
558
|
-
},
|
559
|
-
{
|
560
|
-
inputs: [],
|
561
|
-
name: "sequencerInbox",
|
562
|
-
outputs: [
|
563
|
-
{
|
564
|
-
internalType: "contract ISequencerInbox",
|
565
|
-
name: "",
|
566
|
-
type: "address",
|
567
|
-
},
|
568
|
-
],
|
569
|
-
stateMutability: "view",
|
570
|
-
type: "function",
|
571
|
-
},
|
572
|
-
{
|
573
|
-
inputs: [
|
574
|
-
{
|
575
|
-
internalType: "address[]",
|
576
|
-
name: "user",
|
577
|
-
type: "address[]",
|
578
|
-
},
|
579
|
-
{
|
580
|
-
internalType: "bool[]",
|
581
|
-
name: "val",
|
582
|
-
type: "bool[]",
|
583
|
-
},
|
584
|
-
],
|
585
|
-
name: "setAllowList",
|
586
|
-
outputs: [],
|
587
|
-
stateMutability: "nonpayable",
|
588
|
-
type: "function",
|
589
|
-
},
|
590
|
-
{
|
591
|
-
inputs: [
|
592
|
-
{
|
593
|
-
internalType: "bool",
|
594
|
-
name: "_allowListEnabled",
|
595
|
-
type: "bool",
|
596
|
-
},
|
597
|
-
],
|
598
|
-
name: "setAllowListEnabled",
|
599
|
-
outputs: [],
|
600
|
-
stateMutability: "nonpayable",
|
601
|
-
type: "function",
|
602
|
-
},
|
603
|
-
{
|
604
|
-
inputs: [],
|
605
|
-
name: "unpause",
|
606
|
-
outputs: [],
|
607
|
-
stateMutability: "nonpayable",
|
608
|
-
type: "function",
|
609
|
-
},
|
610
|
-
{
|
611
|
-
inputs: [
|
612
|
-
{
|
613
|
-
internalType: "address",
|
614
|
-
name: "to",
|
615
|
-
type: "address",
|
616
|
-
},
|
617
|
-
{
|
618
|
-
internalType: "uint256",
|
619
|
-
name: "l2CallValue",
|
620
|
-
type: "uint256",
|
621
|
-
},
|
622
|
-
{
|
623
|
-
internalType: "uint256",
|
624
|
-
name: "maxSubmissionCost",
|
625
|
-
type: "uint256",
|
626
|
-
},
|
627
|
-
{
|
628
|
-
internalType: "address",
|
629
|
-
name: "excessFeeRefundAddress",
|
630
|
-
type: "address",
|
631
|
-
},
|
632
|
-
{
|
633
|
-
internalType: "address",
|
634
|
-
name: "callValueRefundAddress",
|
635
|
-
type: "address",
|
636
|
-
},
|
637
|
-
{
|
638
|
-
internalType: "uint256",
|
639
|
-
name: "gasLimit",
|
640
|
-
type: "uint256",
|
641
|
-
},
|
642
|
-
{
|
643
|
-
internalType: "uint256",
|
644
|
-
name: "maxFeePerGas",
|
645
|
-
type: "uint256",
|
646
|
-
},
|
647
|
-
{
|
648
|
-
internalType: "uint256",
|
649
|
-
name: "tokenTotalFeeAmount",
|
650
|
-
type: "uint256",
|
651
|
-
},
|
652
|
-
{
|
653
|
-
internalType: "bytes",
|
654
|
-
name: "data",
|
655
|
-
type: "bytes",
|
656
|
-
},
|
657
|
-
],
|
658
|
-
name: "unsafeCreateRetryableTicket",
|
659
|
-
outputs: [
|
660
|
-
{
|
661
|
-
internalType: "uint256",
|
662
|
-
name: "",
|
663
|
-
type: "uint256",
|
664
|
-
},
|
665
|
-
],
|
666
|
-
stateMutability: "nonpayable",
|
667
|
-
type: "function",
|
668
|
-
},
|
669
|
-
];
|
670
|
-
|
671
|
-
const _bytecode =
|
672
|
-
"0x60c0604052306080524660a05234801561001857600080fd5b5060805160a0516122a8610045600039600081816102f90152610b8b015260006105d501526122a86000f3fe608060405234801561001057600080fd5b50600436106100f65760003560e01c8063a66b327d11610092578063a66b327d146101ae578063b75436bb146101c4578063b79092fd146101d7578063b9b9a688146101ea578063babcc539146101fd578063e3de72a514610220578063e78cea9214610233578063ee35f32714610253578063efeadb6d1461026657600080fd5b80631fe927cf146100fb57806322bd5c1c146101215780633f4ba83a14610145578063485cc9551461014f5780635075788b14610162578063549e8426146101755780635c975abb146101885780638456cb59146101935780638a631aa61461019b575b600080fd5b61010e610109366004611a92565b610279565b6040519081526020015b60405180910390f35b60665461013590600160a01b900460ff1681565b6040519015158152602001610118565b61014d6103e2565b005b61014d61015d366004611ae8565b610522565b61010e610170366004611b21565b610781565b61010e610183366004611b9d565b61086e565b60335460ff16610135565b61014d610903565b61010e6101a9366004611c4c565b610a40565b61010e6101bc366004611cbe565b600092915050565b61010e6101d2366004611a92565b610b14565b61010e6101e5366004611ce0565b610c11565b61010e6101f8366004611b9d565b610cf1565b61013561020b366004611cf9565b60676020526000908152604090205460ff1681565b61014d61022e366004611e01565b610d77565b606554610246906001600160a01b031681565b6040516101189190611ec2565b606654610246906001600160a01b031681565b61014d610274366004611ed6565b610ff7565b600061028760335460ff1690565b156102ad5760405162461bcd60e51b81526004016102a490611ef3565b60405180910390fd5b606654600160a01b900460ff1680156102d657503260009081526067602052604090205460ff16155b156102f65732604051630f51ed7160e41b81526004016102a49190611ec2565b467f0000000000000000000000000000000000000000000000000000000000000000146103365760405163c6ea680360e01b815260040160405180910390fd5b3332146103565760405163feb3d07160e01b815260040160405180910390fd5b6201cccc82111561038657604051634634691b60e01b8152600481018390526201cccc60248201526044016102a4565b60006103ad600333868660405161039e929190611f1d565b604051809103902060006111d6565b60405190915081907fab532385be8f1005a4b6ba8fa20a2245facb346134ac739fe9a5198dc1580b9c90600090a29392505050565b6065546040805163cb23bcb560e01b815290516000926001600160a01b03169163cb23bcb5916004808301926020929190829003018186803b15801561042757600080fd5b505afa15801561043b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045f9190611f2d565b9050336001600160a01b03821614610517576000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156104ac57600080fd5b505afa1580156104c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e49190611f2d565b9050336001600160a01b0382161461051557338282604051630739600760e01b81526004016102a493929190611f4a565b505b61051f6113bb565b50565b600054610100900460ff1661053d5760005460ff1615610545565b610545611448565b6105a85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102a4565b600054610100900460ff161580156105ca576000805461ffff19166101011790555b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106585760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b60648201526084016102a4565b6106628383611459565b60655460408051631c2eb17b60e31b815290516000926001600160a01b03169163e1758bd8916004808301926020929190829003018186803b1580156106a757600080fd5b505afa1580156106bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106df9190611f2d565b60655460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291925082169063095ea7b390604401602060405180830381600087803b15801561073057600080fd5b505af1158015610744573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107689190611f6d565b5050801561077c576000805461ff00191690555b505050565b600061078f60335460ff1690565b156107ac5760405162461bcd60e51b81526004016102a490611ef3565b606654600160a01b900460ff1680156107d557503260009081526067602052604090205460ff16155b156107f55732604051630f51ed7160e41b81526004016102a49190611ec2565b6001600160401b0388111561081d5760405163107c527b60e01b815260040160405180910390fd5b61086260033360008b8b8b8b6001600160a01b03168b8b8b60405160200161084c989796959493929190611f8a565b60405160208183030381529060405260006114c5565b98975050505050505050565b600061087c60335460ff1690565b156108995760405162461bcd60e51b81526004016102a490611ef3565b606654600160a01b900460ff1680156108c257503260009081526067602052604090205460ff16155b156108e25732604051630f51ed7160e41b81526004016102a49190611ec2565b6108f48b8b8b8b8b8b8b8b8b8b611553565b9b9a5050505050505050505050565b6065546040805163cb23bcb560e01b815290516000926001600160a01b03169163cb23bcb5916004808301926020929190829003018186803b15801561094857600080fd5b505afa15801561095c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109809190611f2d565b9050336001600160a01b03821614610a38576000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109cd57600080fd5b505afa1580156109e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a059190611f2d565b9050336001600160a01b03821614610a3657338282604051630739600760e01b81526004016102a493929190611f4a565b505b61051f611607565b6000610a4e60335460ff1690565b15610a6b5760405162461bcd60e51b81526004016102a490611ef3565b606654600160a01b900460ff168015610a9457503260009081526067602052604090205460ff16155b15610ab45732604051630f51ed7160e41b81526004016102a49190611ec2565b6001600160401b03871115610adc5760405163107c527b60e01b815260040160405180910390fd5b610b0960033360018a8a8a6001600160a01b03168a8a8a60405160200161084c9796959493929190611fd0565b979650505050505050565b6000610b2260335460ff1690565b15610b3f5760405162461bcd60e51b81526004016102a490611ef3565b606654600160a01b900460ff168015610b6857503260009081526067602052604090205460ff16155b15610b885732604051630f51ed7160e41b81526004016102a49190611ec2565b467f000000000000000000000000000000000000000000000000000000000000000014610bc85760405163c6ea680360e01b815260040160405180910390fd5b610c0a60033385858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525092506114c5915050565b9392505050565b6000610c1f60335460ff1690565b15610c3c5760405162461bcd60e51b81526004016102a490611ef3565b606654600160a01b900460ff168015610c6557503260009081526067602052604090205460ff16155b15610c855732604051630f51ed7160e41b81526004016102a49190611ec2565b33610c8f8161165f565b80610c9a5750323314155b15610cad57503361111161111160901b01015b6040516bffffffffffffffffffffffff19606083901b16602082015260348101849052610c0a90600c903390605401604051602081830303815290604052866114c5565b6000610cff60335460ff1690565b15610d1c5760405162461bcd60e51b81526004016102a490611ef3565b606654600160a01b900460ff168015610d4557503260009081526067602052604090205460ff16155b15610d655732604051630f51ed7160e41b81526004016102a49190611ec2565b6108f48b8b8b8b8b8b8b8b8b8b61166e565b6065546040805163cb23bcb560e01b815290516000926001600160a01b03169163cb23bcb5916004808301926020929190829003018186803b158015610dbc57600080fd5b505afa158015610dd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df49190611f2d565b9050336001600160a01b03821614610eac576000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4157600080fd5b505afa158015610e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e799190611f2d565b9050336001600160a01b03821614610eaa57338282604051630739600760e01b81526004016102a493929190611f4a565b505b8151835114610eed5760405162461bcd60e51b815260206004820152600d60248201526c1253959053125117d253941555609a1b60448201526064016102a4565b60005b8351811015610ff157828181518110610f0b57610f0b61200f565b602002602001015160676000868481518110610f2957610f2961200f565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550838181518110610f7a57610f7a61200f565b60200260200101516001600160a01b03167fd9739f45a01ce092c5cdb3d68f63d63d21676b1c6c0b4f9cbc6be4cf5449595a848381518110610fbe57610fbe61200f565b6020026020010151604051610fd7911515815260200190565b60405180910390a280610fe98161203b565b915050610ef0565b50505050565b6065546040805163cb23bcb560e01b815290516000926001600160a01b03169163cb23bcb5916004808301926020929190829003018186803b15801561103c57600080fd5b505afa158015611050573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110749190611f2d565b9050336001600160a01b0382161461112c576000816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110c157600080fd5b505afa1580156110d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f99190611f2d565b9050336001600160a01b0382161461112a57338282604051630739600760e01b81526004016102a493929190611f4a565b505b606660149054906101000a900460ff161515821515141561117d5760405162461bcd60e51b815260206004820152600b60248201526a1053149150511657d4d15560aa1b60448201526064016102a4565b60668054831515600160a01b0260ff60a01b199091161790556040517f16435b45f7482047f839a6a19d291442627200f52cad2803c595150d0d440eb3906111ca90841515815260200190565b60405180910390a15050565b600080606560009054906101000a90046001600160a01b03166001600160a01b031663e1758bd86040518163ffffffff1660e01b815260040160206040518083038186803b15801561122757600080fd5b505afa15801561123b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125f9190611f2d565b90506000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161128f9190611ec2565b60206040518083038186803b1580156112a757600080fd5b505afa1580156112bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112df9190612056565b90508381101561130e5760006112f5828661206f565b905061130c6001600160a01b03841633308461174b565b505b6065546001600160a01b03166375d81e258861111161111160901b0189016040516001600160e01b031960e085901b16815260ff90921660048301526001600160a01b031660248201526044810188905260648101879052608401602060405180830381600087803b15801561138357600080fd5b505af1158015611397573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b099190612056565b60335460ff166114045760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102a4565b6033805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161143e9190611ec2565b60405180910390a1565b60006114533061165f565b15905090565b600054610100900460ff166114805760405162461bcd60e51b81526004016102a490612086565b606580546001600160a01b038085166001600160a01b031990921691909117909155606680546001600160a81b0319169183169190911790556114c16117a5565b5050565b60006201cccc835111156114fb578251604051634634691b60e01b815260048101919091526201cccc60248201526044016102a4565b600061151086868680519060200120866111d6565b9050807fff64905f73a67fb594e0f940a8075a860db489ad991e032f48c81123eb52d60b856040516115429190612129565b60405180910390a295945050505050565b600061155f858761213c565b6115698b8b61215b565b611573919061215b565b8410156115bc57611584858761213c565b61158e8b8b61215b565b611598919061215b565b604051631c102d6360e21b81526004810191909152602481018590526044016102a4565b6115c58861165f565b156115d95761111161111160901b01880197505b6115e28761165f565b15610d655761111161111160901b01870196506108f48b8b8b8b8b8b8b8b8b8b61166e565b60335460ff161561162a5760405162461bcd60e51b81526004016102a490611ef3565b6033805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114313390565b6001600160a01b03163b151590565b6000856001148061167f5750846001145b156116b357338b8b868c8c8c8c8c8b8b6040516307c266e360e01b81526004016102a49b9a99989796959493929190612173565b6001600160401b038611156116db5760405163107c527b60e01b815260040160405180910390fd5b600061173b6009338e6001600160a01b03168e898f8f6001600160a01b03168f6001600160a01b03168f8f8e8e90508f8f6040516020016117269b9a999897969594939291906121fc565b604051602081830303815290604052886114c5565b9c9b505050505050505050505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610ff19085906117d6565b600054610100900460ff166117cc5760405162461bcd60e51b81526004016102a490612086565b6117d46118a8565b565b600061182b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166118db9092919063ffffffff16565b80519091501561077c57808060200190518101906118499190611f6d565b61077c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102a4565b600054610100900460ff166118cf5760405162461bcd60e51b81526004016102a490612086565b6033805460ff19169055565b60606118ea84846000856118f2565b949350505050565b6060824710156119535760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102a4565b61195c8561165f565b6119a85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102a4565b600080866001600160a01b031685876040516119c49190612256565b60006040518083038185875af1925050503d8060008114611a01576040519150601f19603f3d011682016040523d82523d6000602084013e611a06565b606091505b5091509150610b0982828660608315611a20575081610c0a565b825115611a305782518084602001fd5b8160405162461bcd60e51b81526004016102a49190612129565b60008083601f840112611a5c57600080fd5b5081356001600160401b03811115611a7357600080fd5b602083019150836020828501011115611a8b57600080fd5b9250929050565b60008060208385031215611aa557600080fd5b82356001600160401b03811115611abb57600080fd5b611ac785828601611a4a565b90969095509350505050565b6001600160a01b038116811461051f57600080fd5b60008060408385031215611afb57600080fd5b8235611b0681611ad3565b91506020830135611b1681611ad3565b809150509250929050565b600080600080600080600060c0888a031215611b3c57600080fd5b8735965060208801359550604088013594506060880135611b5c81611ad3565b93506080880135925060a08801356001600160401b03811115611b7e57600080fd5b611b8a8a828b01611a4a565b989b979a50959850939692959293505050565b6000806000806000806000806000806101208b8d031215611bbd57600080fd5b8a35611bc881611ad3565b995060208b0135985060408b0135975060608b0135611be681611ad3565b965060808b0135611bf681611ad3565b955060a08b0135945060c08b0135935060e08b013592506101008b01356001600160401b03811115611c2757600080fd5b611c338d828e01611a4a565b915080935050809150509295989b9194979a5092959850565b60008060008060008060a08789031215611c6557600080fd5b86359550602087013594506040870135611c7e81611ad3565b93506060870135925060808701356001600160401b03811115611ca057600080fd5b611cac89828a01611a4a565b979a9699509497509295939492505050565b60008060408385031215611cd157600080fd5b50508035926020909101359150565b600060208284031215611cf257600080fd5b5035919050565b600060208284031215611d0b57600080fd5b8135610c0a81611ad3565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611d5457611d54611d16565b604052919050565b60006001600160401b03821115611d7557611d75611d16565b5060051b60200190565b801515811461051f57600080fd5b600082601f830112611d9e57600080fd5b81356020611db3611dae83611d5c565b611d2c565b82815260059290921b84018101918181019086841115611dd257600080fd5b8286015b84811015611df6578035611de981611d7f565b8352918301918301611dd6565b509695505050505050565b60008060408385031215611e1457600080fd5b82356001600160401b0380821115611e2b57600080fd5b818501915085601f830112611e3f57600080fd5b81356020611e4f611dae83611d5c565b82815260059290921b84018101918181019089841115611e6e57600080fd5b948201945b83861015611e95578535611e8681611ad3565b82529482019490820190611e73565b96505086013592505080821115611eab57600080fd5b50611eb885828601611d8d565b9150509250929050565b6001600160a01b0391909116815260200190565b600060208284031215611ee857600080fd5b8135610c0a81611d7f565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b8183823760009101908152919050565b600060208284031215611f3f57600080fd5b8151610c0a81611ad3565b6001600160a01b0393841681529183166020830152909116604082015260600190565b600060208284031215611f7f57600080fd5b8151610c0a81611d7f565b60ff60f81b8960f81b168152876001820152866021820152856041820152846061820152836081820152818360a18301376000910160a101908152979650505050505050565b60ff60f81b8860f81b16815286600182015285602182015284604182015283606182015281836081830137600091016081019081529695505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561204f5761204f612025565b5060010190565b60006020828403121561206857600080fd5b5051919050565b60008282101561208157612081612025565b500390565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60005b838110156120ec5781810151838201526020016120d4565b83811115610ff15750506000910152565b600081518084526121158160208601602086016120d1565b601f01601f19169290920160200192915050565b602081526000610c0a60208301846120fd565b600081600019048311821515161561215657612156612025565b500290565b6000821982111561216e5761216e612025565b500190565b6001600160a01b038c811682528b81166020830152604082018b9052606082018a90526080820189905287811660a0830152861660c082015260e0810185905261010081018490526101406101208201819052810182905260006101608385828501376000838501820152601f909301601f19169091019091019b9a5050505050505050505050565b8b81528a60208201528960408201528860608201528760808201528660a08201528560c08201528460e08201528361010082015260006101208385828501376000929093019092019081529b9a5050505050505050505050565b600082516122688184602087016120d1565b919091019291505056fea26469706673582212206fe5c4cc4297a9090819a2f0fa2b1b04f5d499752a30bc6324620349bdb14fa564736f6c63430008090033";
|
673
|
-
|
674
|
-
type ERC20InboxConstructorParams =
|
675
|
-
| [signer?: Signer]
|
676
|
-
| ConstructorParameters<typeof ContractFactory>;
|
677
|
-
|
678
|
-
const isSuperArgs = (
|
679
|
-
xs: ERC20InboxConstructorParams
|
680
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
681
|
-
|
682
|
-
export class ERC20Inbox__factory extends ContractFactory {
|
683
|
-
constructor(...args: ERC20InboxConstructorParams) {
|
684
|
-
if (isSuperArgs(args)) {
|
685
|
-
super(...args);
|
686
|
-
} else {
|
687
|
-
super(_abi, _bytecode, args[0]);
|
688
|
-
}
|
689
|
-
}
|
690
|
-
|
691
|
-
override deploy(
|
692
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
693
|
-
): Promise<ERC20Inbox> {
|
694
|
-
return super.deploy(overrides || {}) as Promise<ERC20Inbox>;
|
695
|
-
}
|
696
|
-
override getDeployTransaction(
|
697
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
698
|
-
): TransactionRequest {
|
699
|
-
return super.getDeployTransaction(overrides || {});
|
700
|
-
}
|
701
|
-
override attach(address: string): ERC20Inbox {
|
702
|
-
return super.attach(address) as ERC20Inbox;
|
703
|
-
}
|
704
|
-
override connect(signer: Signer): ERC20Inbox__factory {
|
705
|
-
return super.connect(signer) as ERC20Inbox__factory;
|
706
|
-
}
|
707
|
-
|
708
|
-
static readonly bytecode = _bytecode;
|
709
|
-
static readonly abi = _abi;
|
710
|
-
static createInterface(): ERC20InboxInterface {
|
711
|
-
return new utils.Interface(_abi) as ERC20InboxInterface;
|
712
|
-
}
|
713
|
-
static connect(
|
714
|
-
address: string,
|
715
|
-
signerOrProvider: Signer | Provider
|
716
|
-
): ERC20Inbox {
|
717
|
-
return new Contract(address, _abi, signerOrProvider) as ERC20Inbox;
|
718
|
-
}
|
719
|
-
}
|