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