@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,865 @@
|
|
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
|
+
SequencerInbox,
|
8
|
+
SequencerInboxInterface,
|
9
|
+
} from "../../../src/bridge/SequencerInbox";
|
10
|
+
|
11
|
+
const _abi = [
|
12
|
+
{
|
13
|
+
inputs: [],
|
14
|
+
name: "AlreadyInit",
|
15
|
+
type: "error",
|
16
|
+
},
|
17
|
+
{
|
18
|
+
inputs: [
|
19
|
+
{
|
20
|
+
internalType: "bytes32",
|
21
|
+
name: "",
|
22
|
+
type: "bytes32",
|
23
|
+
},
|
24
|
+
],
|
25
|
+
name: "AlreadyValidDASKeyset",
|
26
|
+
type: "error",
|
27
|
+
},
|
28
|
+
{
|
29
|
+
inputs: [
|
30
|
+
{
|
31
|
+
internalType: "uint256",
|
32
|
+
name: "stored",
|
33
|
+
type: "uint256",
|
34
|
+
},
|
35
|
+
{
|
36
|
+
internalType: "uint256",
|
37
|
+
name: "received",
|
38
|
+
type: "uint256",
|
39
|
+
},
|
40
|
+
],
|
41
|
+
name: "BadSequencerNumber",
|
42
|
+
type: "error",
|
43
|
+
},
|
44
|
+
{
|
45
|
+
inputs: [],
|
46
|
+
name: "DataNotAuthenticated",
|
47
|
+
type: "error",
|
48
|
+
},
|
49
|
+
{
|
50
|
+
inputs: [
|
51
|
+
{
|
52
|
+
internalType: "uint256",
|
53
|
+
name: "dataLength",
|
54
|
+
type: "uint256",
|
55
|
+
},
|
56
|
+
{
|
57
|
+
internalType: "uint256",
|
58
|
+
name: "maxDataLength",
|
59
|
+
type: "uint256",
|
60
|
+
},
|
61
|
+
],
|
62
|
+
name: "DataTooLarge",
|
63
|
+
type: "error",
|
64
|
+
},
|
65
|
+
{
|
66
|
+
inputs: [],
|
67
|
+
name: "DelayedBackwards",
|
68
|
+
type: "error",
|
69
|
+
},
|
70
|
+
{
|
71
|
+
inputs: [],
|
72
|
+
name: "DelayedTooFar",
|
73
|
+
type: "error",
|
74
|
+
},
|
75
|
+
{
|
76
|
+
inputs: [],
|
77
|
+
name: "ForceIncludeBlockTooSoon",
|
78
|
+
type: "error",
|
79
|
+
},
|
80
|
+
{
|
81
|
+
inputs: [],
|
82
|
+
name: "ForceIncludeTimeTooSoon",
|
83
|
+
type: "error",
|
84
|
+
},
|
85
|
+
{
|
86
|
+
inputs: [],
|
87
|
+
name: "HadZeroInit",
|
88
|
+
type: "error",
|
89
|
+
},
|
90
|
+
{
|
91
|
+
inputs: [],
|
92
|
+
name: "IncorrectMessagePreimage",
|
93
|
+
type: "error",
|
94
|
+
},
|
95
|
+
{
|
96
|
+
inputs: [
|
97
|
+
{
|
98
|
+
internalType: "bytes32",
|
99
|
+
name: "",
|
100
|
+
type: "bytes32",
|
101
|
+
},
|
102
|
+
],
|
103
|
+
name: "NoSuchKeyset",
|
104
|
+
type: "error",
|
105
|
+
},
|
106
|
+
{
|
107
|
+
inputs: [],
|
108
|
+
name: "NotBatchPoster",
|
109
|
+
type: "error",
|
110
|
+
},
|
111
|
+
{
|
112
|
+
inputs: [],
|
113
|
+
name: "NotForked",
|
114
|
+
type: "error",
|
115
|
+
},
|
116
|
+
{
|
117
|
+
inputs: [],
|
118
|
+
name: "NotOrigin",
|
119
|
+
type: "error",
|
120
|
+
},
|
121
|
+
{
|
122
|
+
inputs: [
|
123
|
+
{
|
124
|
+
internalType: "address",
|
125
|
+
name: "sender",
|
126
|
+
type: "address",
|
127
|
+
},
|
128
|
+
{
|
129
|
+
internalType: "address",
|
130
|
+
name: "owner",
|
131
|
+
type: "address",
|
132
|
+
},
|
133
|
+
],
|
134
|
+
name: "NotOwner",
|
135
|
+
type: "error",
|
136
|
+
},
|
137
|
+
{
|
138
|
+
anonymous: false,
|
139
|
+
inputs: [
|
140
|
+
{
|
141
|
+
indexed: true,
|
142
|
+
internalType: "uint256",
|
143
|
+
name: "messageNum",
|
144
|
+
type: "uint256",
|
145
|
+
},
|
146
|
+
{
|
147
|
+
indexed: false,
|
148
|
+
internalType: "bytes",
|
149
|
+
name: "data",
|
150
|
+
type: "bytes",
|
151
|
+
},
|
152
|
+
],
|
153
|
+
name: "InboxMessageDelivered",
|
154
|
+
type: "event",
|
155
|
+
},
|
156
|
+
{
|
157
|
+
anonymous: false,
|
158
|
+
inputs: [
|
159
|
+
{
|
160
|
+
indexed: true,
|
161
|
+
internalType: "uint256",
|
162
|
+
name: "messageNum",
|
163
|
+
type: "uint256",
|
164
|
+
},
|
165
|
+
],
|
166
|
+
name: "InboxMessageDeliveredFromOrigin",
|
167
|
+
type: "event",
|
168
|
+
},
|
169
|
+
{
|
170
|
+
anonymous: false,
|
171
|
+
inputs: [
|
172
|
+
{
|
173
|
+
indexed: true,
|
174
|
+
internalType: "bytes32",
|
175
|
+
name: "keysetHash",
|
176
|
+
type: "bytes32",
|
177
|
+
},
|
178
|
+
],
|
179
|
+
name: "InvalidateKeyset",
|
180
|
+
type: "event",
|
181
|
+
},
|
182
|
+
{
|
183
|
+
anonymous: false,
|
184
|
+
inputs: [
|
185
|
+
{
|
186
|
+
indexed: true,
|
187
|
+
internalType: "uint256",
|
188
|
+
name: "id",
|
189
|
+
type: "uint256",
|
190
|
+
},
|
191
|
+
],
|
192
|
+
name: "OwnerFunctionCalled",
|
193
|
+
type: "event",
|
194
|
+
},
|
195
|
+
{
|
196
|
+
anonymous: false,
|
197
|
+
inputs: [
|
198
|
+
{
|
199
|
+
indexed: true,
|
200
|
+
internalType: "uint256",
|
201
|
+
name: "batchSequenceNumber",
|
202
|
+
type: "uint256",
|
203
|
+
},
|
204
|
+
{
|
205
|
+
indexed: false,
|
206
|
+
internalType: "bytes",
|
207
|
+
name: "data",
|
208
|
+
type: "bytes",
|
209
|
+
},
|
210
|
+
],
|
211
|
+
name: "SequencerBatchData",
|
212
|
+
type: "event",
|
213
|
+
},
|
214
|
+
{
|
215
|
+
anonymous: false,
|
216
|
+
inputs: [
|
217
|
+
{
|
218
|
+
indexed: true,
|
219
|
+
internalType: "uint256",
|
220
|
+
name: "batchSequenceNumber",
|
221
|
+
type: "uint256",
|
222
|
+
},
|
223
|
+
{
|
224
|
+
indexed: true,
|
225
|
+
internalType: "bytes32",
|
226
|
+
name: "beforeAcc",
|
227
|
+
type: "bytes32",
|
228
|
+
},
|
229
|
+
{
|
230
|
+
indexed: true,
|
231
|
+
internalType: "bytes32",
|
232
|
+
name: "afterAcc",
|
233
|
+
type: "bytes32",
|
234
|
+
},
|
235
|
+
{
|
236
|
+
indexed: false,
|
237
|
+
internalType: "bytes32",
|
238
|
+
name: "delayedAcc",
|
239
|
+
type: "bytes32",
|
240
|
+
},
|
241
|
+
{
|
242
|
+
indexed: false,
|
243
|
+
internalType: "uint256",
|
244
|
+
name: "afterDelayedMessagesRead",
|
245
|
+
type: "uint256",
|
246
|
+
},
|
247
|
+
{
|
248
|
+
components: [
|
249
|
+
{
|
250
|
+
internalType: "uint64",
|
251
|
+
name: "minTimestamp",
|
252
|
+
type: "uint64",
|
253
|
+
},
|
254
|
+
{
|
255
|
+
internalType: "uint64",
|
256
|
+
name: "maxTimestamp",
|
257
|
+
type: "uint64",
|
258
|
+
},
|
259
|
+
{
|
260
|
+
internalType: "uint64",
|
261
|
+
name: "minBlockNumber",
|
262
|
+
type: "uint64",
|
263
|
+
},
|
264
|
+
{
|
265
|
+
internalType: "uint64",
|
266
|
+
name: "maxBlockNumber",
|
267
|
+
type: "uint64",
|
268
|
+
},
|
269
|
+
],
|
270
|
+
indexed: false,
|
271
|
+
internalType: "struct ISequencerInbox.TimeBounds",
|
272
|
+
name: "timeBounds",
|
273
|
+
type: "tuple",
|
274
|
+
},
|
275
|
+
{
|
276
|
+
indexed: false,
|
277
|
+
internalType: "enum ISequencerInbox.BatchDataLocation",
|
278
|
+
name: "dataLocation",
|
279
|
+
type: "uint8",
|
280
|
+
},
|
281
|
+
],
|
282
|
+
name: "SequencerBatchDelivered",
|
283
|
+
type: "event",
|
284
|
+
},
|
285
|
+
{
|
286
|
+
anonymous: false,
|
287
|
+
inputs: [
|
288
|
+
{
|
289
|
+
indexed: true,
|
290
|
+
internalType: "bytes32",
|
291
|
+
name: "keysetHash",
|
292
|
+
type: "bytes32",
|
293
|
+
},
|
294
|
+
{
|
295
|
+
indexed: false,
|
296
|
+
internalType: "bytes",
|
297
|
+
name: "keysetBytes",
|
298
|
+
type: "bytes",
|
299
|
+
},
|
300
|
+
],
|
301
|
+
name: "SetValidKeyset",
|
302
|
+
type: "event",
|
303
|
+
},
|
304
|
+
{
|
305
|
+
inputs: [],
|
306
|
+
name: "DATA_AUTHENTICATED_FLAG",
|
307
|
+
outputs: [
|
308
|
+
{
|
309
|
+
internalType: "bytes1",
|
310
|
+
name: "",
|
311
|
+
type: "bytes1",
|
312
|
+
},
|
313
|
+
],
|
314
|
+
stateMutability: "view",
|
315
|
+
type: "function",
|
316
|
+
},
|
317
|
+
{
|
318
|
+
inputs: [],
|
319
|
+
name: "HEADER_LENGTH",
|
320
|
+
outputs: [
|
321
|
+
{
|
322
|
+
internalType: "uint256",
|
323
|
+
name: "",
|
324
|
+
type: "uint256",
|
325
|
+
},
|
326
|
+
],
|
327
|
+
stateMutability: "view",
|
328
|
+
type: "function",
|
329
|
+
},
|
330
|
+
{
|
331
|
+
inputs: [
|
332
|
+
{
|
333
|
+
internalType: "uint256",
|
334
|
+
name: "sequenceNumber",
|
335
|
+
type: "uint256",
|
336
|
+
},
|
337
|
+
{
|
338
|
+
internalType: "bytes",
|
339
|
+
name: "data",
|
340
|
+
type: "bytes",
|
341
|
+
},
|
342
|
+
{
|
343
|
+
internalType: "uint256",
|
344
|
+
name: "afterDelayedMessagesRead",
|
345
|
+
type: "uint256",
|
346
|
+
},
|
347
|
+
{
|
348
|
+
internalType: "contract IGasRefunder",
|
349
|
+
name: "gasRefunder",
|
350
|
+
type: "address",
|
351
|
+
},
|
352
|
+
{
|
353
|
+
internalType: "uint256",
|
354
|
+
name: "prevMessageCount",
|
355
|
+
type: "uint256",
|
356
|
+
},
|
357
|
+
{
|
358
|
+
internalType: "uint256",
|
359
|
+
name: "newMessageCount",
|
360
|
+
type: "uint256",
|
361
|
+
},
|
362
|
+
],
|
363
|
+
name: "addSequencerL2Batch",
|
364
|
+
outputs: [],
|
365
|
+
stateMutability: "nonpayable",
|
366
|
+
type: "function",
|
367
|
+
},
|
368
|
+
{
|
369
|
+
inputs: [
|
370
|
+
{
|
371
|
+
internalType: "uint256",
|
372
|
+
name: "sequenceNumber",
|
373
|
+
type: "uint256",
|
374
|
+
},
|
375
|
+
{
|
376
|
+
internalType: "bytes",
|
377
|
+
name: "data",
|
378
|
+
type: "bytes",
|
379
|
+
},
|
380
|
+
{
|
381
|
+
internalType: "uint256",
|
382
|
+
name: "afterDelayedMessagesRead",
|
383
|
+
type: "uint256",
|
384
|
+
},
|
385
|
+
{
|
386
|
+
internalType: "contract IGasRefunder",
|
387
|
+
name: "gasRefunder",
|
388
|
+
type: "address",
|
389
|
+
},
|
390
|
+
],
|
391
|
+
name: "addSequencerL2BatchFromOrigin",
|
392
|
+
outputs: [],
|
393
|
+
stateMutability: "nonpayable",
|
394
|
+
type: "function",
|
395
|
+
},
|
396
|
+
{
|
397
|
+
inputs: [
|
398
|
+
{
|
399
|
+
internalType: "uint256",
|
400
|
+
name: "sequenceNumber",
|
401
|
+
type: "uint256",
|
402
|
+
},
|
403
|
+
{
|
404
|
+
internalType: "bytes",
|
405
|
+
name: "data",
|
406
|
+
type: "bytes",
|
407
|
+
},
|
408
|
+
{
|
409
|
+
internalType: "uint256",
|
410
|
+
name: "afterDelayedMessagesRead",
|
411
|
+
type: "uint256",
|
412
|
+
},
|
413
|
+
{
|
414
|
+
internalType: "contract IGasRefunder",
|
415
|
+
name: "gasRefunder",
|
416
|
+
type: "address",
|
417
|
+
},
|
418
|
+
{
|
419
|
+
internalType: "uint256",
|
420
|
+
name: "prevMessageCount",
|
421
|
+
type: "uint256",
|
422
|
+
},
|
423
|
+
{
|
424
|
+
internalType: "uint256",
|
425
|
+
name: "newMessageCount",
|
426
|
+
type: "uint256",
|
427
|
+
},
|
428
|
+
],
|
429
|
+
name: "addSequencerL2BatchFromOrigin",
|
430
|
+
outputs: [],
|
431
|
+
stateMutability: "nonpayable",
|
432
|
+
type: "function",
|
433
|
+
},
|
434
|
+
{
|
435
|
+
inputs: [],
|
436
|
+
name: "batchCount",
|
437
|
+
outputs: [
|
438
|
+
{
|
439
|
+
internalType: "uint256",
|
440
|
+
name: "",
|
441
|
+
type: "uint256",
|
442
|
+
},
|
443
|
+
],
|
444
|
+
stateMutability: "view",
|
445
|
+
type: "function",
|
446
|
+
},
|
447
|
+
{
|
448
|
+
inputs: [],
|
449
|
+
name: "bridge",
|
450
|
+
outputs: [
|
451
|
+
{
|
452
|
+
internalType: "contract IBridge",
|
453
|
+
name: "",
|
454
|
+
type: "address",
|
455
|
+
},
|
456
|
+
],
|
457
|
+
stateMutability: "view",
|
458
|
+
type: "function",
|
459
|
+
},
|
460
|
+
{
|
461
|
+
inputs: [
|
462
|
+
{
|
463
|
+
internalType: "bytes32",
|
464
|
+
name: "",
|
465
|
+
type: "bytes32",
|
466
|
+
},
|
467
|
+
],
|
468
|
+
name: "dasKeySetInfo",
|
469
|
+
outputs: [
|
470
|
+
{
|
471
|
+
internalType: "bool",
|
472
|
+
name: "isValidKeyset",
|
473
|
+
type: "bool",
|
474
|
+
},
|
475
|
+
{
|
476
|
+
internalType: "uint64",
|
477
|
+
name: "creationBlock",
|
478
|
+
type: "uint64",
|
479
|
+
},
|
480
|
+
],
|
481
|
+
stateMutability: "view",
|
482
|
+
type: "function",
|
483
|
+
},
|
484
|
+
{
|
485
|
+
inputs: [
|
486
|
+
{
|
487
|
+
internalType: "uint256",
|
488
|
+
name: "_totalDelayedMessagesRead",
|
489
|
+
type: "uint256",
|
490
|
+
},
|
491
|
+
{
|
492
|
+
internalType: "uint8",
|
493
|
+
name: "kind",
|
494
|
+
type: "uint8",
|
495
|
+
},
|
496
|
+
{
|
497
|
+
internalType: "uint64[2]",
|
498
|
+
name: "l1BlockAndTime",
|
499
|
+
type: "uint64[2]",
|
500
|
+
},
|
501
|
+
{
|
502
|
+
internalType: "uint256",
|
503
|
+
name: "baseFeeL1",
|
504
|
+
type: "uint256",
|
505
|
+
},
|
506
|
+
{
|
507
|
+
internalType: "address",
|
508
|
+
name: "sender",
|
509
|
+
type: "address",
|
510
|
+
},
|
511
|
+
{
|
512
|
+
internalType: "bytes32",
|
513
|
+
name: "messageDataHash",
|
514
|
+
type: "bytes32",
|
515
|
+
},
|
516
|
+
],
|
517
|
+
name: "forceInclusion",
|
518
|
+
outputs: [],
|
519
|
+
stateMutability: "nonpayable",
|
520
|
+
type: "function",
|
521
|
+
},
|
522
|
+
{
|
523
|
+
inputs: [
|
524
|
+
{
|
525
|
+
internalType: "bytes32",
|
526
|
+
name: "ksHash",
|
527
|
+
type: "bytes32",
|
528
|
+
},
|
529
|
+
],
|
530
|
+
name: "getKeysetCreationBlock",
|
531
|
+
outputs: [
|
532
|
+
{
|
533
|
+
internalType: "uint256",
|
534
|
+
name: "",
|
535
|
+
type: "uint256",
|
536
|
+
},
|
537
|
+
],
|
538
|
+
stateMutability: "view",
|
539
|
+
type: "function",
|
540
|
+
},
|
541
|
+
{
|
542
|
+
inputs: [
|
543
|
+
{
|
544
|
+
internalType: "uint256",
|
545
|
+
name: "index",
|
546
|
+
type: "uint256",
|
547
|
+
},
|
548
|
+
],
|
549
|
+
name: "inboxAccs",
|
550
|
+
outputs: [
|
551
|
+
{
|
552
|
+
internalType: "bytes32",
|
553
|
+
name: "",
|
554
|
+
type: "bytes32",
|
555
|
+
},
|
556
|
+
],
|
557
|
+
stateMutability: "view",
|
558
|
+
type: "function",
|
559
|
+
},
|
560
|
+
{
|
561
|
+
inputs: [
|
562
|
+
{
|
563
|
+
internalType: "contract IBridge",
|
564
|
+
name: "bridge_",
|
565
|
+
type: "address",
|
566
|
+
},
|
567
|
+
{
|
568
|
+
components: [
|
569
|
+
{
|
570
|
+
internalType: "uint256",
|
571
|
+
name: "delayBlocks",
|
572
|
+
type: "uint256",
|
573
|
+
},
|
574
|
+
{
|
575
|
+
internalType: "uint256",
|
576
|
+
name: "futureBlocks",
|
577
|
+
type: "uint256",
|
578
|
+
},
|
579
|
+
{
|
580
|
+
internalType: "uint256",
|
581
|
+
name: "delaySeconds",
|
582
|
+
type: "uint256",
|
583
|
+
},
|
584
|
+
{
|
585
|
+
internalType: "uint256",
|
586
|
+
name: "futureSeconds",
|
587
|
+
type: "uint256",
|
588
|
+
},
|
589
|
+
],
|
590
|
+
internalType: "struct ISequencerInbox.MaxTimeVariation",
|
591
|
+
name: "maxTimeVariation_",
|
592
|
+
type: "tuple",
|
593
|
+
},
|
594
|
+
],
|
595
|
+
name: "initialize",
|
596
|
+
outputs: [],
|
597
|
+
stateMutability: "nonpayable",
|
598
|
+
type: "function",
|
599
|
+
},
|
600
|
+
{
|
601
|
+
inputs: [
|
602
|
+
{
|
603
|
+
internalType: "bytes32",
|
604
|
+
name: "ksHash",
|
605
|
+
type: "bytes32",
|
606
|
+
},
|
607
|
+
],
|
608
|
+
name: "invalidateKeysetHash",
|
609
|
+
outputs: [],
|
610
|
+
stateMutability: "nonpayable",
|
611
|
+
type: "function",
|
612
|
+
},
|
613
|
+
{
|
614
|
+
inputs: [
|
615
|
+
{
|
616
|
+
internalType: "address",
|
617
|
+
name: "",
|
618
|
+
type: "address",
|
619
|
+
},
|
620
|
+
],
|
621
|
+
name: "isBatchPoster",
|
622
|
+
outputs: [
|
623
|
+
{
|
624
|
+
internalType: "bool",
|
625
|
+
name: "",
|
626
|
+
type: "bool",
|
627
|
+
},
|
628
|
+
],
|
629
|
+
stateMutability: "view",
|
630
|
+
type: "function",
|
631
|
+
},
|
632
|
+
{
|
633
|
+
inputs: [
|
634
|
+
{
|
635
|
+
internalType: "address",
|
636
|
+
name: "",
|
637
|
+
type: "address",
|
638
|
+
},
|
639
|
+
],
|
640
|
+
name: "isSequencer",
|
641
|
+
outputs: [
|
642
|
+
{
|
643
|
+
internalType: "bool",
|
644
|
+
name: "",
|
645
|
+
type: "bool",
|
646
|
+
},
|
647
|
+
],
|
648
|
+
stateMutability: "view",
|
649
|
+
type: "function",
|
650
|
+
},
|
651
|
+
{
|
652
|
+
inputs: [
|
653
|
+
{
|
654
|
+
internalType: "bytes32",
|
655
|
+
name: "ksHash",
|
656
|
+
type: "bytes32",
|
657
|
+
},
|
658
|
+
],
|
659
|
+
name: "isValidKeysetHash",
|
660
|
+
outputs: [
|
661
|
+
{
|
662
|
+
internalType: "bool",
|
663
|
+
name: "",
|
664
|
+
type: "bool",
|
665
|
+
},
|
666
|
+
],
|
667
|
+
stateMutability: "view",
|
668
|
+
type: "function",
|
669
|
+
},
|
670
|
+
{
|
671
|
+
inputs: [],
|
672
|
+
name: "maxTimeVariation",
|
673
|
+
outputs: [
|
674
|
+
{
|
675
|
+
internalType: "uint256",
|
676
|
+
name: "delayBlocks",
|
677
|
+
type: "uint256",
|
678
|
+
},
|
679
|
+
{
|
680
|
+
internalType: "uint256",
|
681
|
+
name: "futureBlocks",
|
682
|
+
type: "uint256",
|
683
|
+
},
|
684
|
+
{
|
685
|
+
internalType: "uint256",
|
686
|
+
name: "delaySeconds",
|
687
|
+
type: "uint256",
|
688
|
+
},
|
689
|
+
{
|
690
|
+
internalType: "uint256",
|
691
|
+
name: "futureSeconds",
|
692
|
+
type: "uint256",
|
693
|
+
},
|
694
|
+
],
|
695
|
+
stateMutability: "view",
|
696
|
+
type: "function",
|
697
|
+
},
|
698
|
+
{
|
699
|
+
inputs: [],
|
700
|
+
name: "removeDelayAfterFork",
|
701
|
+
outputs: [],
|
702
|
+
stateMutability: "nonpayable",
|
703
|
+
type: "function",
|
704
|
+
},
|
705
|
+
{
|
706
|
+
inputs: [],
|
707
|
+
name: "rollup",
|
708
|
+
outputs: [
|
709
|
+
{
|
710
|
+
internalType: "contract IOwnable",
|
711
|
+
name: "",
|
712
|
+
type: "address",
|
713
|
+
},
|
714
|
+
],
|
715
|
+
stateMutability: "view",
|
716
|
+
type: "function",
|
717
|
+
},
|
718
|
+
{
|
719
|
+
inputs: [
|
720
|
+
{
|
721
|
+
internalType: "address",
|
722
|
+
name: "addr",
|
723
|
+
type: "address",
|
724
|
+
},
|
725
|
+
{
|
726
|
+
internalType: "bool",
|
727
|
+
name: "isBatchPoster_",
|
728
|
+
type: "bool",
|
729
|
+
},
|
730
|
+
],
|
731
|
+
name: "setIsBatchPoster",
|
732
|
+
outputs: [],
|
733
|
+
stateMutability: "nonpayable",
|
734
|
+
type: "function",
|
735
|
+
},
|
736
|
+
{
|
737
|
+
inputs: [
|
738
|
+
{
|
739
|
+
internalType: "address",
|
740
|
+
name: "addr",
|
741
|
+
type: "address",
|
742
|
+
},
|
743
|
+
{
|
744
|
+
internalType: "bool",
|
745
|
+
name: "isSequencer_",
|
746
|
+
type: "bool",
|
747
|
+
},
|
748
|
+
],
|
749
|
+
name: "setIsSequencer",
|
750
|
+
outputs: [],
|
751
|
+
stateMutability: "nonpayable",
|
752
|
+
type: "function",
|
753
|
+
},
|
754
|
+
{
|
755
|
+
inputs: [
|
756
|
+
{
|
757
|
+
components: [
|
758
|
+
{
|
759
|
+
internalType: "uint256",
|
760
|
+
name: "delayBlocks",
|
761
|
+
type: "uint256",
|
762
|
+
},
|
763
|
+
{
|
764
|
+
internalType: "uint256",
|
765
|
+
name: "futureBlocks",
|
766
|
+
type: "uint256",
|
767
|
+
},
|
768
|
+
{
|
769
|
+
internalType: "uint256",
|
770
|
+
name: "delaySeconds",
|
771
|
+
type: "uint256",
|
772
|
+
},
|
773
|
+
{
|
774
|
+
internalType: "uint256",
|
775
|
+
name: "futureSeconds",
|
776
|
+
type: "uint256",
|
777
|
+
},
|
778
|
+
],
|
779
|
+
internalType: "struct ISequencerInbox.MaxTimeVariation",
|
780
|
+
name: "maxTimeVariation_",
|
781
|
+
type: "tuple",
|
782
|
+
},
|
783
|
+
],
|
784
|
+
name: "setMaxTimeVariation",
|
785
|
+
outputs: [],
|
786
|
+
stateMutability: "nonpayable",
|
787
|
+
type: "function",
|
788
|
+
},
|
789
|
+
{
|
790
|
+
inputs: [
|
791
|
+
{
|
792
|
+
internalType: "bytes",
|
793
|
+
name: "keysetBytes",
|
794
|
+
type: "bytes",
|
795
|
+
},
|
796
|
+
],
|
797
|
+
name: "setValidKeyset",
|
798
|
+
outputs: [],
|
799
|
+
stateMutability: "nonpayable",
|
800
|
+
type: "function",
|
801
|
+
},
|
802
|
+
{
|
803
|
+
inputs: [],
|
804
|
+
name: "totalDelayedMessagesRead",
|
805
|
+
outputs: [
|
806
|
+
{
|
807
|
+
internalType: "uint256",
|
808
|
+
name: "",
|
809
|
+
type: "uint256",
|
810
|
+
},
|
811
|
+
],
|
812
|
+
stateMutability: "view",
|
813
|
+
type: "function",
|
814
|
+
},
|
815
|
+
];
|
816
|
+
|
817
|
+
const _bytecode =
|
818
|
+
"0x60e0604052306080524660a052620000226200003b602090811b6200175217901c565b151560c0523480156200003457600080fd5b5062000116565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b1790529051600091829182916064916200007b9190620000d8565b600060405180830381855afa9150503d8060008114620000b8576040519150601f19603f3d011682016040523d82523d6000602084013e620000bd565b606091505b5091509150818015620000d1575080516020145b9250505090565b6000825160005b81811015620000fb5760208186018101518583015201620000df565b818111156200010b576000828501525b509190910192915050565b60805160a05160c0516126c0620001466000396000611ad901526000610ddb0152600061046501526126c06000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806384420860116100c3578063d9dd67ab1161007c578063d9dd67ab14610334578063e0bc972914610347578063e5a358c81461035a578063e78cea921461037e578063ebea461d14610391578063f1981578146103c757600080fd5b806384420860146102b55780638f111f3c146102c857806396cc5c78146102db578063b31761f8146102e3578063cb23bcb5146102f6578063d1ce8da81461032157600080fd5b80636d46e987116101155780636d46e987146101ee5780636e7df3e7146102115780636f12b0c914610224578063715ea34b1461023757806371c3e6fe146102895780637fa3a40e146102ac57600080fd5b806306f130561461015d5780631637be48146101785780631f7a92b2146101ab5780631f956632146101c0578063258f0495146101d357806327957a49146101e6575b600080fd5b6101656103da565b6040519081526020015b60405180910390f35b61019b610186366004611eeb565b60009081526008602052604090205460ff1690565b604051901515815260200161016f565b6101be6101b9366004611f1c565b61045a565b005b6101be6101ce366004611f6b565b610612565b6101656101e1366004611eeb565b610718565b610165602881565b61019b6101fc366004611fa4565b60096020526000908152604090205460ff1681565b6101be61021f366004611f6b565b610781565b6101be610232366004612010565b610887565b61026a610245366004611eeb565b60086020526000908152604090205460ff81169061010090046001600160401b031682565b6040805192151583526001600160401b0390911660208301520161016f565b61019b610297366004611fa4565b60036020526000908152604090205460ff1681565b61016560005481565b6101be6102c3366004611eeb565b610a76565b6101be6102d636600461207a565b610bc9565b6101be610dd8565b6101be6102f13660046120f6565b610e4f565b600254610309906001600160a01b031681565b6040516001600160a01b03909116815260200161016f565b6101be61032f366004612169565b610f4f565b610165610342366004611eeb565b611197565b6101be61035536600461207a565b61121a565b610365600160fe1b81565b6040516001600160f81b0319909116815260200161016f565b600154610309906001600160a01b031681565b6004546005546006546007546103a79392919084565b60408051948552602085019390935291830152606082015260800161016f565b6101be6103d53660046121aa565b61136f565b600154604080516221048360e21b815290516000926001600160a01b0316916284120c916004808301926020929190829003018186803b15801561041d57600080fd5b505afa158015610431573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610455919061221a565b905090565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156104ed5760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b60648201526084015b60405180910390fd5b6001546001600160a01b03161561051757604051633bcd329760e21b815260040160405180910390fd5b6001600160a01b03821661053e57604051631ad0f74360e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0384169081179091556040805163cb23bcb560e01b8152905163cb23bcb591600480820192602092909190829003018186803b15801561059257600080fd5b505afa1580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca9190612233565b600280546001600160a01b0319166001600160a01b03929092169190911790558035600490815560208201356005556040820135600655606082013560075581905b50505050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561066057600080fd5b505afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106989190612233565b6001600160a01b0316336001600160a01b0316146106da57600254604051631194af8760e11b81526104e49133916001600160a01b0390911690600401612250565b6001600160a01b038216600090815260096020526040808220805460ff19168415151790555160049160008051602061266b83398151915291a25050565b600081815260086020908152604080832081518083019092525460ff81161515825261010090046001600160401b03169181018290529061076e5760405162f20c5d60e01b8152600481018490526024016104e4565b602001516001600160401b031692915050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107cf57600080fd5b505afa1580156107e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108079190612233565b6001600160a01b0316336001600160a01b03161461084957600254604051631194af8760e11b81526104e49133916001600160a01b0390911690600401612250565b6001600160a01b038216600090815260036020526040808220805460ff19168415151790555160019160008051602061266b83398151915291a25050565b8060005a90503332146108ad5760405163feb3d07160e01b815260040160405180910390fd5b3360009081526003602052604090205460ff166108dd57604051632dd9fc9760e01b815260040160405180910390fd5b6000806108eb8888886117ea565b90925090506000808080610902868b8d848061195d565b93509350935093508c84146109345760405163ac7411c960e01b815260048101859052602481018e90526044016104e4565b80838e60008051602061264b833981519152856000548a600060405161095d949392919061226a565b60405180910390a4505050506001600160a01b038416159150610a6d905057366000602061098c83601f6122f4565b610996919061230c565b90506102006109a6600283612412565b6109b0919061230c565b6109bb826006612421565b6109c591906122f4565b6109cf90846122f4565b92503332146109dd57600091505b836001600160a01b031663e3db8a49335a6109f89087612440565b856040518463ffffffff1660e01b8152600401610a1793929190612457565b602060405180830381600087803b158015610a3157600080fd5b505af1158015610a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a699190612478565b5050505b50505050505050565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ac457600080fd5b505afa158015610ad8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afc9190612233565b6001600160a01b0316336001600160a01b031614610b3e57600254604051631194af8760e11b81526104e49133916001600160a01b0390911690600401612250565b60008181526008602052604090205460ff16610b6f5760405162f20c5d60e01b8152600481018290526024016104e4565b600081815260086020526040808220805460ff191690555182917f5cb4218b272fd214168ac43e90fb4d05d6c36f0b17ffb4c2dd07c234d744eb2a91a260405160039060008051602061266b83398151915290600090a250565b8260005a9050333214610bef5760405163feb3d07160e01b815260040160405180910390fd5b3360009081526003602052604090205460ff16610c1f57604051632dd9fc9760e01b815260040160405180910390fd5b600080610c2d8a8a8a6117ea565b90925090508a81838b8b8a8a6000808080610c4b89888a898961195d565b93509350935093508a8414158015610c6557506000198b14155b15610c8d5760405163ac7411c960e01b815260048101859052602481018c90526044016104e4565b80838560008051602061264b833981519152856000548f6000604051610cb6949392919061226a565b60405180910390a4505050506001600160a01b038b16159850610dcd975050505050505050573660006020610cec83601f6122f4565b610cf6919061230c565b9050610200610d06600283612412565b610d10919061230c565b610d1b826006612421565b610d2591906122f4565b610d2f90846122f4565b9250333214610d3d57600091505b836001600160a01b031663e3db8a49335a610d589087612440565b856040518463ffffffff1660e01b8152600401610d7793929190612457565b602060405180830381600087803b158015610d9157600080fd5b505af1158015610da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc99190612478565b5050505b505050505050505050565b467f00000000000000000000000000000000000000000000000000000000000000001415610e1957604051635180dd8360e11b815260040160405180910390fd5b60408051608081018252600180825260208201819052918101829052606001819052600481905560058190556006819055600755565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e9d57600080fd5b505afa158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190612233565b6001600160a01b0316336001600160a01b031614610f1757600254604051631194af8760e11b81526104e49133916001600160a01b0390911690600401612250565b8051600455602081015160055560408082015160065560608201516007555160009060008051602061266b833981519152908290a250565b600260009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f9d57600080fd5b505afa158015610fb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd59190612233565b6001600160a01b0316336001600160a01b03161461101757600254604051631194af8760e11b81526104e49133916001600160a01b0390911690600401612250565b60008282604051611029929190612495565b604051908190038120607f60f91b6020830152602182015260410160408051601f1981840301815291905280516020909101209050600160ff1b81186201000083106110ad5760405162461bcd60e51b81526020600482015260136024820152726b657973657420697320746f6f206c6172676560681b60448201526064016104e4565b60008181526008602052604090205460ff16156110e057604051637d17eeed60e11b8152600481018290526024016104e4565b60408051808201825260018152436001600160401b0390811660208084019182526000868152600890915284902092518354915168ffffffffffffffffff1990921690151568ffffffffffffffff0019161761010091909216021790555181907fabca9b7986bc22ad0160eb0cb88ae75411eacfba4052af0b457a9335ef6557229061116f90879087906124a5565b60405180910390a260405160029060008051602061266b83398151915290600090a250505050565b6001546040516316bf557960e01b8152600481018390526000916001600160a01b0316906316bf55799060240160206040518083038186803b1580156111dc57600080fd5b505afa1580156111f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611214919061221a565b92915050565b8260005a3360009081526003602052604090205490915060ff1615801561124c57506002546001600160a01b03163314155b1561126a57604051632dd9fc9760e01b815260040160405180910390fd5b6000806112788a8a8a6117ea565b909250905060008b82848b8a8a868080611295878783888861195d565b929c5090945092509050888a148015906112b157506000198914155b156112d95760405163ac7411c960e01b8152600481018b9052602481018a90526044016104e4565b80838b60008051602061264b833981519152856000548d6001604051611302949392919061226a565b60405180910390a4505050505050505050807ffe325ca1efe4c5c1062c981c3ee74b781debe4ea9440306a96d2a55759c66c208c8c6040516113459291906124a5565b60405180910390a25050506001600160a01b03821615610dcd573660006020610cec83601f6122f4565b600054861161139157604051633eb9f37d60e11b815260040160405180910390fd5b600061144186846113a560208901896124ea565b6113b560408a0160208b016124ea565b6113c060018d612440565b6040805160f89690961b6001600160f81b03191660208088019190915260609590951b6001600160601b031916602187015260c093841b6001600160c01b031990811660358801529290931b909116603d85015260458401526065830188905260858084018790528151808503909101815260a59093019052815191012090565b600454909150439061145660208801886124ea565b6001600160401b031661146991906122f4565b106114875760405163ad3515d960e01b815260040160405180910390fd5b600654429061149c60408801602089016124ea565b6001600160401b03166114af91906122f4565b106114cd5760405163c76d17e560e01b815260040160405180910390fd5b60006001881115611565576001546001600160a01b031663d5719dc26114f460028b612440565b6040518263ffffffff1660e01b815260040161151291815260200190565b60206040518083038186803b15801561152a57600080fd5b505afa15801561153e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611562919061221a565b90505b60408051602080820184905281830185905282518083038401815260609092019092528051910120600180546001600160a01b03169063d5719dc2906115ab908c612440565b6040518263ffffffff1660e01b81526004016115c991815260200190565b60206040518083038186803b1580156115e157600080fd5b505afa1580156115f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611619919061221a565b14611637576040516313947fd760e01b815260040160405180910390fd5b6000806116438a611d5d565b9150915060008a90506000600160009054906101000a90046001600160a01b03166001600160a01b0316635fca4a166040518163ffffffff1660e01b815260040160206040518083038186803b15801561169c57600080fd5b505afa1580156116b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d4919061221a565b9050600080548d836116e691906122f4565b6116f09190612440565b905060008060008061170689886000898961195d565b935093509350935080838560008051602061264b833981519152856000548d6002604051611737949392919061226a565b60405180910390a45050505050505050505050505050505050565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b179052905160009182918291606491611790919061253f565b600060405180830381855afa9150503d80600081146117cb576040519150601f19603f3d011682016040523d82523d6000602084013e6117d0565b606091505b50915091508180156117e3575080516020145b9250505090565b60006117f4611ec4565b848460006118038260286122f4565b90506201cccc81111561183557604051634634691b60e01b8152600481018290526201cccc60248201526044016104e4565b811580159061186d5750600160fe1b808484600081611856576118566124d4565b9050013560f81c60f81b166001600160f81b031916145b1561188b57604051631f97007f60e01b815260040160405180910390fd5b602182108015906118b95750828260008181106118aa576118aa6124d4565b90910135600160ff1b16151590505b1561190d5760006118ce60216001858761255b565b6118d791612585565b60008181526008602052604090205490915060ff1661190b5760405162f20c5d60e01b8152600481018290526024016104e4565b505b60008061191988611d89565b915091506000828b8b604051602001611934939291906125a3565b60408051808303601f1901815291905280516020909101209b919a509098505050505050505050565b60008060008060005488101561198657604051633eb9f37d60e11b815260040160405180910390fd5b600160009054906101000a90046001600160a01b03166001600160a01b031663eca067ad6040518163ffffffff1660e01b815260040160206040518083038186803b1580156119d457600080fd5b505afa1580156119e8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0c919061221a565b881115611a2c5760405163925f8bd360e01b815260040160405180910390fd5b60015460405163432cc52b60e11b8152600481018b9052602481018a905260448101889052606481018790526001600160a01b03909116906386598a5690608401608060405180830381600087803b158015611a8757600080fd5b505af1158015611a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abf91906125cb565b60008c9055929650909450925090508615611d51573360607f000000000000000000000000000000000000000000000000000000000000000015611c2c576000606c6001600160a01b031663c6f7de0e6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b3957600080fd5b505afa158015611b4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b71919061221a565b90506000611b7f488361230c565b90506001600160401b03811115611bcc5760405162461bcd60e51b8152602060048201526011602482015270130c57d1d054d7d393d517d55253950d8d607a1b60448201526064016104e4565b60408051426020820152606086901b6001600160601b03191681830152605481018f9052607481018a905248609482015260c09290921b6001600160c01b03191660b48301528051609c81840301815260bc90920190529150611c759050565b604080514260208201526001600160601b0319606085901b1691810191909152605481018c90526074810187905248609482015260b40160405160208183030381529060405290505b60015481516020830120604051637a88b10760e01b81526000926001600160a01b031691637a88b10791611cc19187916004016001600160a01b03929092168252602082015260400190565b602060405180830381600087803b158015611cdb57600080fd5b505af1158015611cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d13919061221a565b9050807fff64905f73a67fb594e0f940a8075a860db489ad991e032f48c81123eb52d60b83604051611d459190612601565b60405180910390a25050505b95509550955095915050565b6000611d67611ec4565b600080611d7385611d89565b8151602090920191909120969095509350505050565b6060611d93611ec4565b6000611d9d611e30565b90506000816000015182602001518360400151846060015188604051602001611e0595949392919060c095861b6001600160c01b0319908116825294861b8516600882015292851b8416601084015290841b8316601883015290921b16602082015260280190565b60405160208183030381529060405290506028815114611e2757611e27612634565b94909350915050565b611e38611ec4565b611e40611ec4565b600654421115611e6357600654611e579042612440565b6001600160401b031681525b600754611e7090426122f4565b6001600160401b03166020820152600454431115611ea457600454611e959043612440565b6001600160401b031660408201525b600554611eb190436122f4565b6001600160401b03166060820152919050565b60408051608081018252600080825260208201819052918101829052606081019190915290565b600060208284031215611efd57600080fd5b5035919050565b6001600160a01b0381168114611f1957600080fd5b50565b60008082840360a0811215611f3057600080fd5b8335611f3b81611f04565b92506080601f1982011215611f4f57600080fd5b506020830190509250929050565b8015158114611f1957600080fd5b60008060408385031215611f7e57600080fd5b8235611f8981611f04565b91506020830135611f9981611f5d565b809150509250929050565b600060208284031215611fb657600080fd5b8135611fc181611f04565b9392505050565b60008083601f840112611fda57600080fd5b5081356001600160401b03811115611ff157600080fd5b60208301915083602082850101111561200957600080fd5b9250929050565b60008060008060006080868803121561202857600080fd5b8535945060208601356001600160401b0381111561204557600080fd5b61205188828901611fc8565b90955093505060408601359150606086013561206c81611f04565b809150509295509295909350565b600080600080600080600060c0888a03121561209557600080fd5b8735965060208801356001600160401b038111156120b257600080fd5b6120be8a828b01611fc8565b9097509550506040880135935060608801356120d981611f04565b969995985093969295946080840135945060a09093013592915050565b60006080828403121561210857600080fd5b604051608081018181106001600160401b038211171561213857634e487b7160e01b600052604160045260246000fd5b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b6000806020838503121561217c57600080fd5b82356001600160401b0381111561219257600080fd5b61219e85828601611fc8565b90969095509350505050565b60008060008060008060e087890312156121c357600080fd5b86359550602087013560ff811681146121db57600080fd5b945060808701888111156121ee57600080fd5b60408801945035925060a087013561220581611f04565b8092505060c087013590509295509295509295565b60006020828403121561222c57600080fd5b5051919050565b60006020828403121561224557600080fd5b8151611fc181611f04565b6001600160a01b0392831681529116602082015260400190565b600060e0820190508582528460208301526001600160401b038085511660408401528060208601511660608401528060408601511660808401528060608601511660a084015250600383106122cf57634e487b7160e01b600052602160045260246000fd5b8260c083015295945050505050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612307576123076122de565b500190565b60008261232957634e487b7160e01b600052601260045260246000fd5b500490565b600181815b8085111561236957816000190482111561234f5761234f6122de565b8085161561235c57918102915b93841c9390800290612333565b509250929050565b60008261238057506001611214565b8161238d57506000611214565b81600181146123a357600281146123ad576123c9565b6001915050611214565b60ff8411156123be576123be6122de565b50506001821b611214565b5060208310610133831016604e8410600b84101617156123ec575081810a611214565b6123f6838361232e565b806000190482111561240a5761240a6122de565b029392505050565b6000611fc160ff841683612371565b600081600019048311821515161561243b5761243b6122de565b500290565b600082821015612452576124526122de565b500390565b6001600160a01b039390931683526020830191909152604082015260600190565b60006020828403121561248a57600080fd5b8151611fc181611f5d565b8183823760009101908152919050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156124fc57600080fd5b81356001600160401b0381168114611fc157600080fd5b60005b8381101561252e578181015183820152602001612516565b8381111561060c5750506000910152565b60008251612551818460208701612513565b9190910192915050565b6000808585111561256b57600080fd5b8386111561257857600080fd5b5050820193919092039150565b8035602083101561121457600019602084900360031b1b1692915050565b600084516125b5818460208901612513565b8201838582376000930192835250909392505050565b600080600080608085870312156125e157600080fd5b505082516020840151604085015160609095015191969095509092509050565b6020815260008251806020840152612620816040850160208701612513565b601f01601f19169190910160400192915050565b634e487b7160e01b600052600160045260246000fdfe7394f4a19a13c7b92b5bb71033245305946ef78452f7b4986ac1390b5df4ebd7ea8787f128d10b2cc0317b0c3960f9ad447f7f6c1ed189db1083ccffd20f456ea26469706673582212206171564de896541843ed2a93f0f135c93df7160d081cb9a485c66b6ed9f993a864736f6c63430008090033";
|
819
|
+
|
820
|
+
type SequencerInboxConstructorParams =
|
821
|
+
| [signer?: Signer]
|
822
|
+
| ConstructorParameters<typeof ContractFactory>;
|
823
|
+
|
824
|
+
const isSuperArgs = (
|
825
|
+
xs: SequencerInboxConstructorParams
|
826
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
827
|
+
|
828
|
+
export class SequencerInbox__factory extends ContractFactory {
|
829
|
+
constructor(...args: SequencerInboxConstructorParams) {
|
830
|
+
if (isSuperArgs(args)) {
|
831
|
+
super(...args);
|
832
|
+
} else {
|
833
|
+
super(_abi, _bytecode, args[0]);
|
834
|
+
}
|
835
|
+
}
|
836
|
+
|
837
|
+
override deploy(
|
838
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
839
|
+
): Promise<SequencerInbox> {
|
840
|
+
return super.deploy(overrides || {}) as Promise<SequencerInbox>;
|
841
|
+
}
|
842
|
+
override getDeployTransaction(
|
843
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
844
|
+
): TransactionRequest {
|
845
|
+
return super.getDeployTransaction(overrides || {});
|
846
|
+
}
|
847
|
+
override attach(address: string): SequencerInbox {
|
848
|
+
return super.attach(address) as SequencerInbox;
|
849
|
+
}
|
850
|
+
override connect(signer: Signer): SequencerInbox__factory {
|
851
|
+
return super.connect(signer) as SequencerInbox__factory;
|
852
|
+
}
|
853
|
+
|
854
|
+
static readonly bytecode = _bytecode;
|
855
|
+
static readonly abi = _abi;
|
856
|
+
static createInterface(): SequencerInboxInterface {
|
857
|
+
return new utils.Interface(_abi) as SequencerInboxInterface;
|
858
|
+
}
|
859
|
+
static connect(
|
860
|
+
address: string,
|
861
|
+
signerOrProvider: Signer | Provider
|
862
|
+
): SequencerInbox {
|
863
|
+
return new Contract(address, _abi, signerOrProvider) as SequencerInbox;
|
864
|
+
}
|
865
|
+
}
|