@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
@@ -0,0 +1,539 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "GasRefunder",
|
4
|
+
"sourceName": "src/bridge/GasRefunder.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"stateMutability": "nonpayable",
|
9
|
+
"type": "constructor"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"anonymous": false,
|
13
|
+
"inputs": [
|
14
|
+
{
|
15
|
+
"indexed": true,
|
16
|
+
"internalType": "enum GasRefunder.CommonParameterKey",
|
17
|
+
"name": "parameter",
|
18
|
+
"type": "uint8"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"indexed": false,
|
22
|
+
"internalType": "uint256",
|
23
|
+
"name": "value",
|
24
|
+
"type": "uint256"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"name": "CommonParameterSet",
|
28
|
+
"type": "event"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"anonymous": false,
|
32
|
+
"inputs": [
|
33
|
+
{
|
34
|
+
"indexed": true,
|
35
|
+
"internalType": "address",
|
36
|
+
"name": "addr",
|
37
|
+
"type": "address"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"indexed": true,
|
41
|
+
"internalType": "bool",
|
42
|
+
"name": "allowed",
|
43
|
+
"type": "bool"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"name": "ContractAllowedSet",
|
47
|
+
"type": "event"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"anonymous": false,
|
51
|
+
"inputs": [
|
52
|
+
{
|
53
|
+
"indexed": false,
|
54
|
+
"internalType": "address",
|
55
|
+
"name": "sender",
|
56
|
+
"type": "address"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"indexed": false,
|
60
|
+
"internalType": "uint256",
|
61
|
+
"name": "amount",
|
62
|
+
"type": "uint256"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"name": "Deposited",
|
66
|
+
"type": "event"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"anonymous": false,
|
70
|
+
"inputs": [
|
71
|
+
{
|
72
|
+
"indexed": true,
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "addr",
|
75
|
+
"type": "address"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "DisallowerSet",
|
79
|
+
"type": "event"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"anonymous": false,
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"indexed": true,
|
86
|
+
"internalType": "address",
|
87
|
+
"name": "previousOwner",
|
88
|
+
"type": "address"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"indexed": true,
|
92
|
+
"internalType": "address",
|
93
|
+
"name": "newOwner",
|
94
|
+
"type": "address"
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"name": "OwnershipTransferred",
|
98
|
+
"type": "event"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"anonymous": false,
|
102
|
+
"inputs": [
|
103
|
+
{
|
104
|
+
"indexed": true,
|
105
|
+
"internalType": "address",
|
106
|
+
"name": "refundee",
|
107
|
+
"type": "address"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"indexed": true,
|
111
|
+
"internalType": "address",
|
112
|
+
"name": "contractAddress",
|
113
|
+
"type": "address"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"indexed": true,
|
117
|
+
"internalType": "enum GasRefunder.RefundDenyReason",
|
118
|
+
"name": "reason",
|
119
|
+
"type": "uint8"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"indexed": false,
|
123
|
+
"internalType": "uint256",
|
124
|
+
"name": "gas",
|
125
|
+
"type": "uint256"
|
126
|
+
}
|
127
|
+
],
|
128
|
+
"name": "RefundGasCostsDenied",
|
129
|
+
"type": "event"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"anonymous": false,
|
133
|
+
"inputs": [
|
134
|
+
{
|
135
|
+
"indexed": true,
|
136
|
+
"internalType": "address",
|
137
|
+
"name": "refundee",
|
138
|
+
"type": "address"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"indexed": true,
|
142
|
+
"internalType": "address",
|
143
|
+
"name": "contractAddress",
|
144
|
+
"type": "address"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"indexed": true,
|
148
|
+
"internalType": "bool",
|
149
|
+
"name": "success",
|
150
|
+
"type": "bool"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"indexed": false,
|
154
|
+
"internalType": "uint256",
|
155
|
+
"name": "gas",
|
156
|
+
"type": "uint256"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"indexed": false,
|
160
|
+
"internalType": "uint256",
|
161
|
+
"name": "gasPrice",
|
162
|
+
"type": "uint256"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"indexed": false,
|
166
|
+
"internalType": "uint256",
|
167
|
+
"name": "amountPaid",
|
168
|
+
"type": "uint256"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"name": "RefundedGasCosts",
|
172
|
+
"type": "event"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"anonymous": false,
|
176
|
+
"inputs": [
|
177
|
+
{
|
178
|
+
"indexed": true,
|
179
|
+
"internalType": "address",
|
180
|
+
"name": "addr",
|
181
|
+
"type": "address"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"indexed": true,
|
185
|
+
"internalType": "bool",
|
186
|
+
"name": "allowed",
|
187
|
+
"type": "bool"
|
188
|
+
}
|
189
|
+
],
|
190
|
+
"name": "RefundeeAllowedSet",
|
191
|
+
"type": "event"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"anonymous": false,
|
195
|
+
"inputs": [
|
196
|
+
{
|
197
|
+
"indexed": false,
|
198
|
+
"internalType": "address",
|
199
|
+
"name": "initiator",
|
200
|
+
"type": "address"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"indexed": false,
|
204
|
+
"internalType": "address",
|
205
|
+
"name": "destination",
|
206
|
+
"type": "address"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"indexed": false,
|
210
|
+
"internalType": "uint256",
|
211
|
+
"name": "amount",
|
212
|
+
"type": "uint256"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"name": "Withdrawn",
|
216
|
+
"type": "event"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"inputs": [
|
220
|
+
{
|
221
|
+
"internalType": "address[]",
|
222
|
+
"name": "addresses",
|
223
|
+
"type": "address[]"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"name": "allowContracts",
|
227
|
+
"outputs": [],
|
228
|
+
"stateMutability": "nonpayable",
|
229
|
+
"type": "function"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"inputs": [
|
233
|
+
{
|
234
|
+
"internalType": "address[]",
|
235
|
+
"name": "addresses",
|
236
|
+
"type": "address[]"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"name": "allowRefundees",
|
240
|
+
"outputs": [],
|
241
|
+
"stateMutability": "nonpayable",
|
242
|
+
"type": "function"
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"inputs": [
|
246
|
+
{
|
247
|
+
"internalType": "address",
|
248
|
+
"name": "",
|
249
|
+
"type": "address"
|
250
|
+
}
|
251
|
+
],
|
252
|
+
"name": "allowedContracts",
|
253
|
+
"outputs": [
|
254
|
+
{
|
255
|
+
"internalType": "bool",
|
256
|
+
"name": "",
|
257
|
+
"type": "bool"
|
258
|
+
}
|
259
|
+
],
|
260
|
+
"stateMutability": "view",
|
261
|
+
"type": "function"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"inputs": [
|
265
|
+
{
|
266
|
+
"internalType": "address",
|
267
|
+
"name": "",
|
268
|
+
"type": "address"
|
269
|
+
}
|
270
|
+
],
|
271
|
+
"name": "allowedRefundees",
|
272
|
+
"outputs": [
|
273
|
+
{
|
274
|
+
"internalType": "bool",
|
275
|
+
"name": "",
|
276
|
+
"type": "bool"
|
277
|
+
}
|
278
|
+
],
|
279
|
+
"stateMutability": "view",
|
280
|
+
"type": "function"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"inputs": [],
|
284
|
+
"name": "commonParams",
|
285
|
+
"outputs": [
|
286
|
+
{
|
287
|
+
"internalType": "uint128",
|
288
|
+
"name": "maxRefundeeBalance",
|
289
|
+
"type": "uint128"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"internalType": "uint32",
|
293
|
+
"name": "extraGasMargin",
|
294
|
+
"type": "uint32"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"internalType": "uint8",
|
298
|
+
"name": "calldataCost",
|
299
|
+
"type": "uint8"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"internalType": "uint64",
|
303
|
+
"name": "maxGasTip",
|
304
|
+
"type": "uint64"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"internalType": "uint64",
|
308
|
+
"name": "maxGasCost",
|
309
|
+
"type": "uint64"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"internalType": "uint32",
|
313
|
+
"name": "maxSingleGasUsage",
|
314
|
+
"type": "uint32"
|
315
|
+
}
|
316
|
+
],
|
317
|
+
"stateMutability": "view",
|
318
|
+
"type": "function"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"inputs": [
|
322
|
+
{
|
323
|
+
"internalType": "address[]",
|
324
|
+
"name": "addresses",
|
325
|
+
"type": "address[]"
|
326
|
+
}
|
327
|
+
],
|
328
|
+
"name": "disallowContracts",
|
329
|
+
"outputs": [],
|
330
|
+
"stateMutability": "nonpayable",
|
331
|
+
"type": "function"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"inputs": [
|
335
|
+
{
|
336
|
+
"internalType": "address[]",
|
337
|
+
"name": "addresses",
|
338
|
+
"type": "address[]"
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"name": "disallowRefundees",
|
342
|
+
"outputs": [],
|
343
|
+
"stateMutability": "nonpayable",
|
344
|
+
"type": "function"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"inputs": [],
|
348
|
+
"name": "disallower",
|
349
|
+
"outputs": [
|
350
|
+
{
|
351
|
+
"internalType": "address",
|
352
|
+
"name": "",
|
353
|
+
"type": "address"
|
354
|
+
}
|
355
|
+
],
|
356
|
+
"stateMutability": "view",
|
357
|
+
"type": "function"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"inputs": [
|
361
|
+
{
|
362
|
+
"internalType": "address payable",
|
363
|
+
"name": "refundee",
|
364
|
+
"type": "address"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"internalType": "uint256",
|
368
|
+
"name": "gasUsed",
|
369
|
+
"type": "uint256"
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"internalType": "uint256",
|
373
|
+
"name": "calldataSize",
|
374
|
+
"type": "uint256"
|
375
|
+
}
|
376
|
+
],
|
377
|
+
"name": "onGasSpent",
|
378
|
+
"outputs": [
|
379
|
+
{
|
380
|
+
"internalType": "bool",
|
381
|
+
"name": "success",
|
382
|
+
"type": "bool"
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"stateMutability": "nonpayable",
|
386
|
+
"type": "function"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"inputs": [],
|
390
|
+
"name": "owner",
|
391
|
+
"outputs": [
|
392
|
+
{
|
393
|
+
"internalType": "address",
|
394
|
+
"name": "",
|
395
|
+
"type": "address"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"stateMutability": "view",
|
399
|
+
"type": "function"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"inputs": [],
|
403
|
+
"name": "renounceOwnership",
|
404
|
+
"outputs": [],
|
405
|
+
"stateMutability": "nonpayable",
|
406
|
+
"type": "function"
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"inputs": [
|
410
|
+
{
|
411
|
+
"internalType": "uint8",
|
412
|
+
"name": "newValue",
|
413
|
+
"type": "uint8"
|
414
|
+
}
|
415
|
+
],
|
416
|
+
"name": "setCalldataCost",
|
417
|
+
"outputs": [],
|
418
|
+
"stateMutability": "nonpayable",
|
419
|
+
"type": "function"
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"inputs": [
|
423
|
+
{
|
424
|
+
"internalType": "address",
|
425
|
+
"name": "addr",
|
426
|
+
"type": "address"
|
427
|
+
}
|
428
|
+
],
|
429
|
+
"name": "setDisallower",
|
430
|
+
"outputs": [],
|
431
|
+
"stateMutability": "nonpayable",
|
432
|
+
"type": "function"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"inputs": [
|
436
|
+
{
|
437
|
+
"internalType": "uint32",
|
438
|
+
"name": "newValue",
|
439
|
+
"type": "uint32"
|
440
|
+
}
|
441
|
+
],
|
442
|
+
"name": "setExtraGasMargin",
|
443
|
+
"outputs": [],
|
444
|
+
"stateMutability": "nonpayable",
|
445
|
+
"type": "function"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"inputs": [
|
449
|
+
{
|
450
|
+
"internalType": "uint64",
|
451
|
+
"name": "newValue",
|
452
|
+
"type": "uint64"
|
453
|
+
}
|
454
|
+
],
|
455
|
+
"name": "setMaxGasCost",
|
456
|
+
"outputs": [],
|
457
|
+
"stateMutability": "nonpayable",
|
458
|
+
"type": "function"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"inputs": [
|
462
|
+
{
|
463
|
+
"internalType": "uint64",
|
464
|
+
"name": "newValue",
|
465
|
+
"type": "uint64"
|
466
|
+
}
|
467
|
+
],
|
468
|
+
"name": "setMaxGasTip",
|
469
|
+
"outputs": [],
|
470
|
+
"stateMutability": "nonpayable",
|
471
|
+
"type": "function"
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"inputs": [
|
475
|
+
{
|
476
|
+
"internalType": "uint128",
|
477
|
+
"name": "newValue",
|
478
|
+
"type": "uint128"
|
479
|
+
}
|
480
|
+
],
|
481
|
+
"name": "setMaxRefundeeBalance",
|
482
|
+
"outputs": [],
|
483
|
+
"stateMutability": "nonpayable",
|
484
|
+
"type": "function"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"inputs": [
|
488
|
+
{
|
489
|
+
"internalType": "uint32",
|
490
|
+
"name": "newValue",
|
491
|
+
"type": "uint32"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"name": "setMaxSingleGasUsage",
|
495
|
+
"outputs": [],
|
496
|
+
"stateMutability": "nonpayable",
|
497
|
+
"type": "function"
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"inputs": [
|
501
|
+
{
|
502
|
+
"internalType": "address",
|
503
|
+
"name": "newOwner",
|
504
|
+
"type": "address"
|
505
|
+
}
|
506
|
+
],
|
507
|
+
"name": "transferOwnership",
|
508
|
+
"outputs": [],
|
509
|
+
"stateMutability": "nonpayable",
|
510
|
+
"type": "function"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"inputs": [
|
514
|
+
{
|
515
|
+
"internalType": "address payable",
|
516
|
+
"name": "destination",
|
517
|
+
"type": "address"
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"internalType": "uint256",
|
521
|
+
"name": "amount",
|
522
|
+
"type": "uint256"
|
523
|
+
}
|
524
|
+
],
|
525
|
+
"name": "withdraw",
|
526
|
+
"outputs": [],
|
527
|
+
"stateMutability": "nonpayable",
|
528
|
+
"type": "function"
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"stateMutability": "payable",
|
532
|
+
"type": "receive"
|
533
|
+
}
|
534
|
+
],
|
535
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061001a336100a5565b6040805160c08101825260008152610fa06020820152600c9181019190915263773594006060820152641bf08eb0006080820152621e848060a090910152600480546001600160e81b03191678773594000c00000fa000000000000000000000000000000000179055600580546001600160601b0319166a1e84800000001bf08eb0001790556100f5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6111e7806101046000396000f3fe6080604052600436106101235760003560e01c8063ca101295116100a0578063efe12b0111610064578063efe12b011461040d578063f1e845ca1461042d578063f2fde38b1461044d578063f3fef3a31461046d578063f52128eb1461048d57600080fd5b8063ca101295146102e0578063cd499da314610300578063d513894814610320578063e3db8a49146103cd578063e5207453146103ed57600080fd5b80637edddf45116100e75780637edddf451461022357806386b98895146102435780638da5cb5b14610263578063a89d217314610290578063bffe1780146102c057600080fd5b806325416bc9146101675780632ccb03f214610189578063500de431146101a957806351e0e26b146101c9578063715018a61461020e57600080fd5b3661016257604080513381523460208201527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4910160405180910390a1005b600080fd5b34801561017357600080fd5b50610187610182366004610efd565b6104ad565b005b34801561019557600080fd5b506101876101a4366004610f71565b6104f5565b3480156101b557600080fd5b506101876101c4366004610f9a565b610571565b3480156101d557600080fd5b506101f96101e4366004610fd5565b60016020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561021a57600080fd5b506101876105e3565b34801561022f57600080fd5b5061018761023e366004610f9a565b61061e565b34801561024f57600080fd5b5061018761025e366004610f71565b610672565b34801561026f57600080fd5b506102786106cd565b6040516001600160a01b039091168152602001610205565b34801561029c57600080fd5b506101f96102ab366004610fd5565b60026020526000908152604090205460ff1681565b3480156102cc57600080fd5b506101876102db366004610ff2565b6106dc565b3480156102ec57600080fd5b506101876102fb366004610efd565b610746565b34801561030c57600080fd5b5061018761031b366004610efd565b610781565b34801561032c57600080fd5b5060045460055461037f916001600160801b0381169163ffffffff600160801b830481169260ff600160a01b820416926001600160401b03600160a81b90920482169291811691600160401b9091041686565b604080516001600160801b03909716875263ffffffff958616602088015260ff909416938601939093526001600160401b0391821660608601521660808401521660a082015260c001610205565b3480156103d957600080fd5b506101f96103e8366004611015565b6107da565b3480156103f957600080fd5b50610187610408366004610efd565b610a7e565b34801561041957600080fd5b50600354610278906001600160a01b031681565b34801561043957600080fd5b50610187610448366004610fd5565b610ad7565b34801561045957600080fd5b50610187610468366004610fd5565b610b50565b34801561047957600080fd5b5061018761048836600461104a565b610bf0565b34801561049957600080fd5b506101876104a8366004611076565b610d02565b336104b66106cd565b6001600160a01b0316146104e55760405162461bcd60e51b81526004016104dc9061109f565b60405180910390fd5b6104f182826001610d75565b5050565b336104fe6106cd565b6001600160a01b0316146105245760405162461bcd60e51b81526004016104dc9061109f565b6005805467ffffffffffffffff19166001600160401b03831617905560045b6040516001600160401b0383168152600080516020611192833981519152906020015b60405180910390a250565b3361057a6106cd565b6001600160a01b0316146105a05760405162461bcd60e51b81526004016104dc9061109f565b6005805463ffffffff60401b1916600160401b63ffffffff8416021781555b60405163ffffffff8316815260008051602061119283398151915290602001610566565b336105ec6106cd565b6001600160a01b0316146106125760405162461bcd60e51b81526004016104dc9061109f565b61061c6000610e14565b565b336106276106cd565b6001600160a01b03161461064d5760405162461bcd60e51b81526004016104dc9061109f565b6004805463ffffffff60801b1916600160801b63ffffffff84160217905560016105bf565b3361067b6106cd565b6001600160a01b0316146106a15760405162461bcd60e51b81526004016104dc9061109f565b6004805467ffffffffffffffff60a81b1916600160a81b6001600160401b038416021790556003610543565b6000546001600160a01b031690565b336106e56106cd565b6001600160a01b03161461070b5760405162461bcd60e51b81526004016104dc9061109f565b6004805460ff60a01b1916600160a01b60ff841602179055600260405160ff8316815260008051602061119283398151915290602001610566565b3361074f6106cd565b6001600160a01b0316146107755760405162461bcd60e51b81526004016104dc9061109f565b6104f182826001610e64565b6107896106cd565b6001600160a01b0316336001600160a01b031614806107b257506003546001600160a01b031633145b6107ce5760405162461bcd60e51b81526004016104dc906110d4565b6104f182826000610d75565b6000805a905047806108345760035b60405186815233906001600160a01b038916907f2b8ae00e22d9eaf5a92820a22b947c007aee773fa36502ad7a1c9a464ab4932b9060200160405180910390a4600092505050610a77565b3360009081526001602052604090205460ff166108525760006107e9565b6001600160a01b03861660009081526002602052604090205460ff166108795760016107e9565b60045460009061089990600160a81b90046001600160401b031648611112565b9050803a10156108a657503a5b6005546001600160401b0316158015906108ca57506005546001600160401b031681115b156108dd57506005546001600160401b03165b6004546005546001600160a01b03891631916001600160801b03811691600160401b900463ffffffff169061091c90600160a01b900460ff168961112a565b60045461093690600160801b900463ffffffff1688611112565b6109409190611112565b61094a908a611112565b98505a610957908a611149565b9850801580159061096757508089115b15610970578098505b600061097c8a8661112a565b905082158015906109955750826109938286611112565b115b156109bf57828411156109b2576000975050505050505050610a77565b6109bc8484611149565b90505b858111156109ca5750845b6040516001600160a01b038c16908290600081818185875af1925050503d8060008114610a13576040519150601f19603f3d011682016040523d82523d6000602084013e610a18565b606091505b5050604080518c8152602081018890529081018390529098508815159033906001600160a01b038e16907fd0224505f828ccfcbc56ca0590d97442e239a7aa770f712948fd6388356b20de9060600160405180910390a4505050505050505b9392505050565b610a866106cd565b6001600160a01b0316336001600160a01b03161480610aaf57506003546001600160a01b031633145b610acb5760405162461bcd60e51b81526004016104dc906110d4565b6104f182826000610e64565b33610ae06106cd565b6001600160a01b031614610b065760405162461bcd60e51b81526004016104dc9061109f565b600380546001600160a01b0319166001600160a01b0383169081179091556040517fc388cec0895ad7ee4635898ec92207ca48d42256d4355f7042efef62c368a97990600090a250565b33610b596106cd565b6001600160a01b031614610b7f5760405162461bcd60e51b81526004016104dc9061109f565b6001600160a01b038116610be45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104dc565b610bed81610e14565b50565b33610bf96106cd565b6001600160a01b031614610c1f5760405162461bcd60e51b81526004016104dc9061109f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610c6c576040519150601f19603f3d011682016040523d82523d6000602084013e610c71565b606091505b5050905080610cb45760405162461bcd60e51b815260206004820152600f60248201526e15d2551211149055d7d19052531151608a1b60448201526064016104dc565b604080513381526001600160a01b03851660208201529081018390527fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb9060600160405180910390a1505050565b33610d0b6106cd565b6001600160a01b031614610d315760405162461bcd60e51b81526004016104dc9061109f565b600480546001600160801b0319166001600160801b03831617905560006040516001600160801b038316815260008051602061119283398151915290602001610566565b60005b82811015610e0e576000848483818110610d9457610d94611160565b9050602002016020810190610da99190610fd5565b6001600160a01b038116600081815260016020526040808220805460ff19168815159081179091559051939450927fb0918cd965657b8d231f8adba328fa810b6d61d800de9c795d40eb3623498c019190a35080610e0681611176565b915050610d78565b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b82811015610e0e576000848483818110610e8357610e83611160565b9050602002016020810190610e989190610fd5565b6001600160a01b038116600081815260026020526040808220805460ff19168815159081179091559051939450927ff544cca9d5484bfd447775bd759d12d53f1aa7c5f770be82c55070798ff9c63e9190a35080610ef581611176565b915050610e67565b60008060208385031215610f1057600080fd5b82356001600160401b0380821115610f2757600080fd5b818501915085601f830112610f3b57600080fd5b813581811115610f4a57600080fd5b8660208260051b8501011115610f5f57600080fd5b60209290920196919550909350505050565b600060208284031215610f8357600080fd5b81356001600160401b0381168114610a7757600080fd5b600060208284031215610fac57600080fd5b813563ffffffff81168114610a7757600080fd5b6001600160a01b0381168114610bed57600080fd5b600060208284031215610fe757600080fd5b8135610a7781610fc0565b60006020828403121561100457600080fd5b813560ff81168114610a7757600080fd5b60008060006060848603121561102a57600080fd5b833561103581610fc0565b95602085013595506040909401359392505050565b6000806040838503121561105d57600080fd5b823561106881610fc0565b946020939093013593505050565b60006020828403121561108857600080fd5b81356001600160801b0381168114610a7757600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600e908201526d1393d517d055551213d49256915160921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611125576111256110fc565b500190565b6000816000190483118215151615611144576111446110fc565b500290565b60008282101561115b5761115b6110fc565b500390565b634e487b7160e01b600052603260045260246000fd5b600060001982141561118a5761118a6110fc565b506001019056feda79b6b81f905f788560507c685a42d5a8ab209ee26538cbcf3ce3caed601f9ba26469706673582212206cc70f6b15f390ef56b4221aac8f3b9da9a0ea1e146ec0b9af3bf9885952126864736f6c63430008090033",
|
536
|
+
"deployedBytecode": "0x6080604052600436106101235760003560e01c8063ca101295116100a0578063efe12b0111610064578063efe12b011461040d578063f1e845ca1461042d578063f2fde38b1461044d578063f3fef3a31461046d578063f52128eb1461048d57600080fd5b8063ca101295146102e0578063cd499da314610300578063d513894814610320578063e3db8a49146103cd578063e5207453146103ed57600080fd5b80637edddf45116100e75780637edddf451461022357806386b98895146102435780638da5cb5b14610263578063a89d217314610290578063bffe1780146102c057600080fd5b806325416bc9146101675780632ccb03f214610189578063500de431146101a957806351e0e26b146101c9578063715018a61461020e57600080fd5b3661016257604080513381523460208201527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4910160405180910390a1005b600080fd5b34801561017357600080fd5b50610187610182366004610efd565b6104ad565b005b34801561019557600080fd5b506101876101a4366004610f71565b6104f5565b3480156101b557600080fd5b506101876101c4366004610f9a565b610571565b3480156101d557600080fd5b506101f96101e4366004610fd5565b60016020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561021a57600080fd5b506101876105e3565b34801561022f57600080fd5b5061018761023e366004610f9a565b61061e565b34801561024f57600080fd5b5061018761025e366004610f71565b610672565b34801561026f57600080fd5b506102786106cd565b6040516001600160a01b039091168152602001610205565b34801561029c57600080fd5b506101f96102ab366004610fd5565b60026020526000908152604090205460ff1681565b3480156102cc57600080fd5b506101876102db366004610ff2565b6106dc565b3480156102ec57600080fd5b506101876102fb366004610efd565b610746565b34801561030c57600080fd5b5061018761031b366004610efd565b610781565b34801561032c57600080fd5b5060045460055461037f916001600160801b0381169163ffffffff600160801b830481169260ff600160a01b820416926001600160401b03600160a81b90920482169291811691600160401b9091041686565b604080516001600160801b03909716875263ffffffff958616602088015260ff909416938601939093526001600160401b0391821660608601521660808401521660a082015260c001610205565b3480156103d957600080fd5b506101f96103e8366004611015565b6107da565b3480156103f957600080fd5b50610187610408366004610efd565b610a7e565b34801561041957600080fd5b50600354610278906001600160a01b031681565b34801561043957600080fd5b50610187610448366004610fd5565b610ad7565b34801561045957600080fd5b50610187610468366004610fd5565b610b50565b34801561047957600080fd5b5061018761048836600461104a565b610bf0565b34801561049957600080fd5b506101876104a8366004611076565b610d02565b336104b66106cd565b6001600160a01b0316146104e55760405162461bcd60e51b81526004016104dc9061109f565b60405180910390fd5b6104f182826001610d75565b5050565b336104fe6106cd565b6001600160a01b0316146105245760405162461bcd60e51b81526004016104dc9061109f565b6005805467ffffffffffffffff19166001600160401b03831617905560045b6040516001600160401b0383168152600080516020611192833981519152906020015b60405180910390a250565b3361057a6106cd565b6001600160a01b0316146105a05760405162461bcd60e51b81526004016104dc9061109f565b6005805463ffffffff60401b1916600160401b63ffffffff8416021781555b60405163ffffffff8316815260008051602061119283398151915290602001610566565b336105ec6106cd565b6001600160a01b0316146106125760405162461bcd60e51b81526004016104dc9061109f565b61061c6000610e14565b565b336106276106cd565b6001600160a01b03161461064d5760405162461bcd60e51b81526004016104dc9061109f565b6004805463ffffffff60801b1916600160801b63ffffffff84160217905560016105bf565b3361067b6106cd565b6001600160a01b0316146106a15760405162461bcd60e51b81526004016104dc9061109f565b6004805467ffffffffffffffff60a81b1916600160a81b6001600160401b038416021790556003610543565b6000546001600160a01b031690565b336106e56106cd565b6001600160a01b03161461070b5760405162461bcd60e51b81526004016104dc9061109f565b6004805460ff60a01b1916600160a01b60ff841602179055600260405160ff8316815260008051602061119283398151915290602001610566565b3361074f6106cd565b6001600160a01b0316146107755760405162461bcd60e51b81526004016104dc9061109f565b6104f182826001610e64565b6107896106cd565b6001600160a01b0316336001600160a01b031614806107b257506003546001600160a01b031633145b6107ce5760405162461bcd60e51b81526004016104dc906110d4565b6104f182826000610d75565b6000805a905047806108345760035b60405186815233906001600160a01b038916907f2b8ae00e22d9eaf5a92820a22b947c007aee773fa36502ad7a1c9a464ab4932b9060200160405180910390a4600092505050610a77565b3360009081526001602052604090205460ff166108525760006107e9565b6001600160a01b03861660009081526002602052604090205460ff166108795760016107e9565b60045460009061089990600160a81b90046001600160401b031648611112565b9050803a10156108a657503a5b6005546001600160401b0316158015906108ca57506005546001600160401b031681115b156108dd57506005546001600160401b03165b6004546005546001600160a01b03891631916001600160801b03811691600160401b900463ffffffff169061091c90600160a01b900460ff168961112a565b60045461093690600160801b900463ffffffff1688611112565b6109409190611112565b61094a908a611112565b98505a610957908a611149565b9850801580159061096757508089115b15610970578098505b600061097c8a8661112a565b905082158015906109955750826109938286611112565b115b156109bf57828411156109b2576000975050505050505050610a77565b6109bc8484611149565b90505b858111156109ca5750845b6040516001600160a01b038c16908290600081818185875af1925050503d8060008114610a13576040519150601f19603f3d011682016040523d82523d6000602084013e610a18565b606091505b5050604080518c8152602081018890529081018390529098508815159033906001600160a01b038e16907fd0224505f828ccfcbc56ca0590d97442e239a7aa770f712948fd6388356b20de9060600160405180910390a4505050505050505b9392505050565b610a866106cd565b6001600160a01b0316336001600160a01b03161480610aaf57506003546001600160a01b031633145b610acb5760405162461bcd60e51b81526004016104dc906110d4565b6104f182826000610e64565b33610ae06106cd565b6001600160a01b031614610b065760405162461bcd60e51b81526004016104dc9061109f565b600380546001600160a01b0319166001600160a01b0383169081179091556040517fc388cec0895ad7ee4635898ec92207ca48d42256d4355f7042efef62c368a97990600090a250565b33610b596106cd565b6001600160a01b031614610b7f5760405162461bcd60e51b81526004016104dc9061109f565b6001600160a01b038116610be45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104dc565b610bed81610e14565b50565b33610bf96106cd565b6001600160a01b031614610c1f5760405162461bcd60e51b81526004016104dc9061109f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610c6c576040519150601f19603f3d011682016040523d82523d6000602084013e610c71565b606091505b5050905080610cb45760405162461bcd60e51b815260206004820152600f60248201526e15d2551211149055d7d19052531151608a1b60448201526064016104dc565b604080513381526001600160a01b03851660208201529081018390527fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb9060600160405180910390a1505050565b33610d0b6106cd565b6001600160a01b031614610d315760405162461bcd60e51b81526004016104dc9061109f565b600480546001600160801b0319166001600160801b03831617905560006040516001600160801b038316815260008051602061119283398151915290602001610566565b60005b82811015610e0e576000848483818110610d9457610d94611160565b9050602002016020810190610da99190610fd5565b6001600160a01b038116600081815260016020526040808220805460ff19168815159081179091559051939450927fb0918cd965657b8d231f8adba328fa810b6d61d800de9c795d40eb3623498c019190a35080610e0681611176565b915050610d78565b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b82811015610e0e576000848483818110610e8357610e83611160565b9050602002016020810190610e989190610fd5565b6001600160a01b038116600081815260026020526040808220805460ff19168815159081179091559051939450927ff544cca9d5484bfd447775bd759d12d53f1aa7c5f770be82c55070798ff9c63e9190a35080610ef581611176565b915050610e67565b60008060208385031215610f1057600080fd5b82356001600160401b0380821115610f2757600080fd5b818501915085601f830112610f3b57600080fd5b813581811115610f4a57600080fd5b8660208260051b8501011115610f5f57600080fd5b60209290920196919550909350505050565b600060208284031215610f8357600080fd5b81356001600160401b0381168114610a7757600080fd5b600060208284031215610fac57600080fd5b813563ffffffff81168114610a7757600080fd5b6001600160a01b0381168114610bed57600080fd5b600060208284031215610fe757600080fd5b8135610a7781610fc0565b60006020828403121561100457600080fd5b813560ff81168114610a7757600080fd5b60008060006060848603121561102a57600080fd5b833561103581610fc0565b95602085013595506040909401359392505050565b6000806040838503121561105d57600080fd5b823561106881610fc0565b946020939093013593505050565b60006020828403121561108857600080fd5b81356001600160801b0381168114610a7757600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600e908201526d1393d517d055551213d49256915160921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611125576111256110fc565b500190565b6000816000190483118215151615611144576111446110fc565b500290565b60008282101561115b5761115b6110fc565b500390565b634e487b7160e01b600052603260045260246000fd5b600060001982141561118a5761118a6110fc565b506001019056feda79b6b81f905f788560507c685a42d5a8ab209ee26538cbcf3ce3caed601f9ba26469706673582212206cc70f6b15f390ef56b4221aac8f3b9da9a0ea1e146ec0b9af3bf9885952126864736f6c63430008090033",
|
537
|
+
"linkReferences": {},
|
538
|
+
"deployedLinkReferences": {}
|
539
|
+
}
|
@@ -163,6 +163,19 @@
|
|
163
163
|
"stateMutability": "nonpayable",
|
164
164
|
"type": "function"
|
165
165
|
},
|
166
|
+
{
|
167
|
+
"inputs": [],
|
168
|
+
"name": "getProxyAdmin",
|
169
|
+
"outputs": [
|
170
|
+
{
|
171
|
+
"internalType": "address",
|
172
|
+
"name": "",
|
173
|
+
"type": "address"
|
174
|
+
}
|
175
|
+
],
|
176
|
+
"stateMutability": "view",
|
177
|
+
"type": "function"
|
178
|
+
},
|
166
179
|
{
|
167
180
|
"inputs": [
|
168
181
|
{
|
@@ -200,6 +213,19 @@
|
|
200
213
|
"stateMutability": "view",
|
201
214
|
"type": "function"
|
202
215
|
},
|
216
|
+
{
|
217
|
+
"inputs": [],
|
218
|
+
"name": "maxDataSize",
|
219
|
+
"outputs": [
|
220
|
+
{
|
221
|
+
"internalType": "uint256",
|
222
|
+
"name": "",
|
223
|
+
"type": "uint256"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"stateMutability": "view",
|
227
|
+
"type": "function"
|
228
|
+
},
|
203
229
|
{
|
204
230
|
"inputs": [],
|
205
231
|
"name": "pause",
|