@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,64 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
6
|
+
import type { Provider } from "@ethersproject/providers";
|
7
|
+
import type {
|
8
|
+
ArbStatistics,
|
9
|
+
ArbStatisticsInterface,
|
10
|
+
} from "../../../src/precompiles/ArbStatistics";
|
11
|
+
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
inputs: [],
|
15
|
+
name: "getStats",
|
16
|
+
outputs: [
|
17
|
+
{
|
18
|
+
internalType: "uint256",
|
19
|
+
name: "",
|
20
|
+
type: "uint256",
|
21
|
+
},
|
22
|
+
{
|
23
|
+
internalType: "uint256",
|
24
|
+
name: "",
|
25
|
+
type: "uint256",
|
26
|
+
},
|
27
|
+
{
|
28
|
+
internalType: "uint256",
|
29
|
+
name: "",
|
30
|
+
type: "uint256",
|
31
|
+
},
|
32
|
+
{
|
33
|
+
internalType: "uint256",
|
34
|
+
name: "",
|
35
|
+
type: "uint256",
|
36
|
+
},
|
37
|
+
{
|
38
|
+
internalType: "uint256",
|
39
|
+
name: "",
|
40
|
+
type: "uint256",
|
41
|
+
},
|
42
|
+
{
|
43
|
+
internalType: "uint256",
|
44
|
+
name: "",
|
45
|
+
type: "uint256",
|
46
|
+
},
|
47
|
+
],
|
48
|
+
stateMutability: "view",
|
49
|
+
type: "function",
|
50
|
+
},
|
51
|
+
];
|
52
|
+
|
53
|
+
export class ArbStatistics__factory {
|
54
|
+
static readonly abi = _abi;
|
55
|
+
static createInterface(): ArbStatisticsInterface {
|
56
|
+
return new utils.Interface(_abi) as ArbStatisticsInterface;
|
57
|
+
}
|
58
|
+
static connect(
|
59
|
+
address: string,
|
60
|
+
signerOrProvider: Signer | Provider
|
61
|
+
): ArbStatistics {
|
62
|
+
return new Contract(address, _abi, signerOrProvider) as ArbStatistics;
|
63
|
+
}
|
64
|
+
}
|
@@ -0,0 +1,389 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
6
|
+
import type { Provider } from "@ethersproject/providers";
|
7
|
+
import type { ArbSys, ArbSysInterface } from "../../../src/precompiles/ArbSys";
|
8
|
+
|
9
|
+
const _abi = [
|
10
|
+
{
|
11
|
+
inputs: [
|
12
|
+
{
|
13
|
+
internalType: "uint256",
|
14
|
+
name: "requested",
|
15
|
+
type: "uint256",
|
16
|
+
},
|
17
|
+
{
|
18
|
+
internalType: "uint256",
|
19
|
+
name: "current",
|
20
|
+
type: "uint256",
|
21
|
+
},
|
22
|
+
],
|
23
|
+
name: "InvalidBlockNumber",
|
24
|
+
type: "error",
|
25
|
+
},
|
26
|
+
{
|
27
|
+
anonymous: false,
|
28
|
+
inputs: [
|
29
|
+
{
|
30
|
+
indexed: false,
|
31
|
+
internalType: "address",
|
32
|
+
name: "caller",
|
33
|
+
type: "address",
|
34
|
+
},
|
35
|
+
{
|
36
|
+
indexed: true,
|
37
|
+
internalType: "address",
|
38
|
+
name: "destination",
|
39
|
+
type: "address",
|
40
|
+
},
|
41
|
+
{
|
42
|
+
indexed: true,
|
43
|
+
internalType: "uint256",
|
44
|
+
name: "uniqueId",
|
45
|
+
type: "uint256",
|
46
|
+
},
|
47
|
+
{
|
48
|
+
indexed: true,
|
49
|
+
internalType: "uint256",
|
50
|
+
name: "batchNumber",
|
51
|
+
type: "uint256",
|
52
|
+
},
|
53
|
+
{
|
54
|
+
indexed: false,
|
55
|
+
internalType: "uint256",
|
56
|
+
name: "indexInBatch",
|
57
|
+
type: "uint256",
|
58
|
+
},
|
59
|
+
{
|
60
|
+
indexed: false,
|
61
|
+
internalType: "uint256",
|
62
|
+
name: "arbBlockNum",
|
63
|
+
type: "uint256",
|
64
|
+
},
|
65
|
+
{
|
66
|
+
indexed: false,
|
67
|
+
internalType: "uint256",
|
68
|
+
name: "ethBlockNum",
|
69
|
+
type: "uint256",
|
70
|
+
},
|
71
|
+
{
|
72
|
+
indexed: false,
|
73
|
+
internalType: "uint256",
|
74
|
+
name: "timestamp",
|
75
|
+
type: "uint256",
|
76
|
+
},
|
77
|
+
{
|
78
|
+
indexed: false,
|
79
|
+
internalType: "uint256",
|
80
|
+
name: "callvalue",
|
81
|
+
type: "uint256",
|
82
|
+
},
|
83
|
+
{
|
84
|
+
indexed: false,
|
85
|
+
internalType: "bytes",
|
86
|
+
name: "data",
|
87
|
+
type: "bytes",
|
88
|
+
},
|
89
|
+
],
|
90
|
+
name: "L2ToL1Transaction",
|
91
|
+
type: "event",
|
92
|
+
},
|
93
|
+
{
|
94
|
+
anonymous: false,
|
95
|
+
inputs: [
|
96
|
+
{
|
97
|
+
indexed: false,
|
98
|
+
internalType: "address",
|
99
|
+
name: "caller",
|
100
|
+
type: "address",
|
101
|
+
},
|
102
|
+
{
|
103
|
+
indexed: true,
|
104
|
+
internalType: "address",
|
105
|
+
name: "destination",
|
106
|
+
type: "address",
|
107
|
+
},
|
108
|
+
{
|
109
|
+
indexed: true,
|
110
|
+
internalType: "uint256",
|
111
|
+
name: "hash",
|
112
|
+
type: "uint256",
|
113
|
+
},
|
114
|
+
{
|
115
|
+
indexed: true,
|
116
|
+
internalType: "uint256",
|
117
|
+
name: "position",
|
118
|
+
type: "uint256",
|
119
|
+
},
|
120
|
+
{
|
121
|
+
indexed: false,
|
122
|
+
internalType: "uint256",
|
123
|
+
name: "arbBlockNum",
|
124
|
+
type: "uint256",
|
125
|
+
},
|
126
|
+
{
|
127
|
+
indexed: false,
|
128
|
+
internalType: "uint256",
|
129
|
+
name: "ethBlockNum",
|
130
|
+
type: "uint256",
|
131
|
+
},
|
132
|
+
{
|
133
|
+
indexed: false,
|
134
|
+
internalType: "uint256",
|
135
|
+
name: "timestamp",
|
136
|
+
type: "uint256",
|
137
|
+
},
|
138
|
+
{
|
139
|
+
indexed: false,
|
140
|
+
internalType: "uint256",
|
141
|
+
name: "callvalue",
|
142
|
+
type: "uint256",
|
143
|
+
},
|
144
|
+
{
|
145
|
+
indexed: false,
|
146
|
+
internalType: "bytes",
|
147
|
+
name: "data",
|
148
|
+
type: "bytes",
|
149
|
+
},
|
150
|
+
],
|
151
|
+
name: "L2ToL1Tx",
|
152
|
+
type: "event",
|
153
|
+
},
|
154
|
+
{
|
155
|
+
anonymous: false,
|
156
|
+
inputs: [
|
157
|
+
{
|
158
|
+
indexed: true,
|
159
|
+
internalType: "uint256",
|
160
|
+
name: "reserved",
|
161
|
+
type: "uint256",
|
162
|
+
},
|
163
|
+
{
|
164
|
+
indexed: true,
|
165
|
+
internalType: "bytes32",
|
166
|
+
name: "hash",
|
167
|
+
type: "bytes32",
|
168
|
+
},
|
169
|
+
{
|
170
|
+
indexed: true,
|
171
|
+
internalType: "uint256",
|
172
|
+
name: "position",
|
173
|
+
type: "uint256",
|
174
|
+
},
|
175
|
+
],
|
176
|
+
name: "SendMerkleUpdate",
|
177
|
+
type: "event",
|
178
|
+
},
|
179
|
+
{
|
180
|
+
inputs: [
|
181
|
+
{
|
182
|
+
internalType: "uint256",
|
183
|
+
name: "arbBlockNum",
|
184
|
+
type: "uint256",
|
185
|
+
},
|
186
|
+
],
|
187
|
+
name: "arbBlockHash",
|
188
|
+
outputs: [
|
189
|
+
{
|
190
|
+
internalType: "bytes32",
|
191
|
+
name: "",
|
192
|
+
type: "bytes32",
|
193
|
+
},
|
194
|
+
],
|
195
|
+
stateMutability: "view",
|
196
|
+
type: "function",
|
197
|
+
},
|
198
|
+
{
|
199
|
+
inputs: [],
|
200
|
+
name: "arbBlockNumber",
|
201
|
+
outputs: [
|
202
|
+
{
|
203
|
+
internalType: "uint256",
|
204
|
+
name: "",
|
205
|
+
type: "uint256",
|
206
|
+
},
|
207
|
+
],
|
208
|
+
stateMutability: "view",
|
209
|
+
type: "function",
|
210
|
+
},
|
211
|
+
{
|
212
|
+
inputs: [],
|
213
|
+
name: "arbChainID",
|
214
|
+
outputs: [
|
215
|
+
{
|
216
|
+
internalType: "uint256",
|
217
|
+
name: "",
|
218
|
+
type: "uint256",
|
219
|
+
},
|
220
|
+
],
|
221
|
+
stateMutability: "view",
|
222
|
+
type: "function",
|
223
|
+
},
|
224
|
+
{
|
225
|
+
inputs: [],
|
226
|
+
name: "arbOSVersion",
|
227
|
+
outputs: [
|
228
|
+
{
|
229
|
+
internalType: "uint256",
|
230
|
+
name: "",
|
231
|
+
type: "uint256",
|
232
|
+
},
|
233
|
+
],
|
234
|
+
stateMutability: "view",
|
235
|
+
type: "function",
|
236
|
+
},
|
237
|
+
{
|
238
|
+
inputs: [],
|
239
|
+
name: "getStorageGasAvailable",
|
240
|
+
outputs: [
|
241
|
+
{
|
242
|
+
internalType: "uint256",
|
243
|
+
name: "",
|
244
|
+
type: "uint256",
|
245
|
+
},
|
246
|
+
],
|
247
|
+
stateMutability: "view",
|
248
|
+
type: "function",
|
249
|
+
},
|
250
|
+
{
|
251
|
+
inputs: [],
|
252
|
+
name: "isTopLevelCall",
|
253
|
+
outputs: [
|
254
|
+
{
|
255
|
+
internalType: "bool",
|
256
|
+
name: "",
|
257
|
+
type: "bool",
|
258
|
+
},
|
259
|
+
],
|
260
|
+
stateMutability: "view",
|
261
|
+
type: "function",
|
262
|
+
},
|
263
|
+
{
|
264
|
+
inputs: [
|
265
|
+
{
|
266
|
+
internalType: "address",
|
267
|
+
name: "sender",
|
268
|
+
type: "address",
|
269
|
+
},
|
270
|
+
{
|
271
|
+
internalType: "address",
|
272
|
+
name: "unused",
|
273
|
+
type: "address",
|
274
|
+
},
|
275
|
+
],
|
276
|
+
name: "mapL1SenderContractAddressToL2Alias",
|
277
|
+
outputs: [
|
278
|
+
{
|
279
|
+
internalType: "address",
|
280
|
+
name: "",
|
281
|
+
type: "address",
|
282
|
+
},
|
283
|
+
],
|
284
|
+
stateMutability: "pure",
|
285
|
+
type: "function",
|
286
|
+
},
|
287
|
+
{
|
288
|
+
inputs: [],
|
289
|
+
name: "myCallersAddressWithoutAliasing",
|
290
|
+
outputs: [
|
291
|
+
{
|
292
|
+
internalType: "address",
|
293
|
+
name: "",
|
294
|
+
type: "address",
|
295
|
+
},
|
296
|
+
],
|
297
|
+
stateMutability: "view",
|
298
|
+
type: "function",
|
299
|
+
},
|
300
|
+
{
|
301
|
+
inputs: [],
|
302
|
+
name: "sendMerkleTreeState",
|
303
|
+
outputs: [
|
304
|
+
{
|
305
|
+
internalType: "uint256",
|
306
|
+
name: "size",
|
307
|
+
type: "uint256",
|
308
|
+
},
|
309
|
+
{
|
310
|
+
internalType: "bytes32",
|
311
|
+
name: "root",
|
312
|
+
type: "bytes32",
|
313
|
+
},
|
314
|
+
{
|
315
|
+
internalType: "bytes32[]",
|
316
|
+
name: "partials",
|
317
|
+
type: "bytes32[]",
|
318
|
+
},
|
319
|
+
],
|
320
|
+
stateMutability: "view",
|
321
|
+
type: "function",
|
322
|
+
},
|
323
|
+
{
|
324
|
+
inputs: [
|
325
|
+
{
|
326
|
+
internalType: "address",
|
327
|
+
name: "destination",
|
328
|
+
type: "address",
|
329
|
+
},
|
330
|
+
{
|
331
|
+
internalType: "bytes",
|
332
|
+
name: "data",
|
333
|
+
type: "bytes",
|
334
|
+
},
|
335
|
+
],
|
336
|
+
name: "sendTxToL1",
|
337
|
+
outputs: [
|
338
|
+
{
|
339
|
+
internalType: "uint256",
|
340
|
+
name: "",
|
341
|
+
type: "uint256",
|
342
|
+
},
|
343
|
+
],
|
344
|
+
stateMutability: "payable",
|
345
|
+
type: "function",
|
346
|
+
},
|
347
|
+
{
|
348
|
+
inputs: [],
|
349
|
+
name: "wasMyCallersAddressAliased",
|
350
|
+
outputs: [
|
351
|
+
{
|
352
|
+
internalType: "bool",
|
353
|
+
name: "",
|
354
|
+
type: "bool",
|
355
|
+
},
|
356
|
+
],
|
357
|
+
stateMutability: "view",
|
358
|
+
type: "function",
|
359
|
+
},
|
360
|
+
{
|
361
|
+
inputs: [
|
362
|
+
{
|
363
|
+
internalType: "address",
|
364
|
+
name: "destination",
|
365
|
+
type: "address",
|
366
|
+
},
|
367
|
+
],
|
368
|
+
name: "withdrawEth",
|
369
|
+
outputs: [
|
370
|
+
{
|
371
|
+
internalType: "uint256",
|
372
|
+
name: "",
|
373
|
+
type: "uint256",
|
374
|
+
},
|
375
|
+
],
|
376
|
+
stateMutability: "payable",
|
377
|
+
type: "function",
|
378
|
+
},
|
379
|
+
];
|
380
|
+
|
381
|
+
export class ArbSys__factory {
|
382
|
+
static readonly abi = _abi;
|
383
|
+
static createInterface(): ArbSysInterface {
|
384
|
+
return new utils.Interface(_abi) as ArbSysInterface;
|
385
|
+
}
|
386
|
+
static connect(address: string, signerOrProvider: Signer | Provider): ArbSys {
|
387
|
+
return new Contract(address, _abi, signerOrProvider) as ArbSys;
|
388
|
+
}
|
389
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
6
|
+
import type { Provider } from "@ethersproject/providers";
|
7
|
+
import type {
|
8
|
+
ArbosActs,
|
9
|
+
ArbosActsInterface,
|
10
|
+
} from "../../../src/precompiles/ArbosActs";
|
11
|
+
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
inputs: [],
|
15
|
+
name: "CallerNotArbOS",
|
16
|
+
type: "error",
|
17
|
+
},
|
18
|
+
{
|
19
|
+
inputs: [
|
20
|
+
{
|
21
|
+
internalType: "uint256",
|
22
|
+
name: "batchTimestamp",
|
23
|
+
type: "uint256",
|
24
|
+
},
|
25
|
+
{
|
26
|
+
internalType: "address",
|
27
|
+
name: "batchPosterAddress",
|
28
|
+
type: "address",
|
29
|
+
},
|
30
|
+
{
|
31
|
+
internalType: "uint64",
|
32
|
+
name: "batchNumber",
|
33
|
+
type: "uint64",
|
34
|
+
},
|
35
|
+
{
|
36
|
+
internalType: "uint64",
|
37
|
+
name: "batchDataGas",
|
38
|
+
type: "uint64",
|
39
|
+
},
|
40
|
+
{
|
41
|
+
internalType: "uint256",
|
42
|
+
name: "l1BaseFeeWei",
|
43
|
+
type: "uint256",
|
44
|
+
},
|
45
|
+
],
|
46
|
+
name: "batchPostingReport",
|
47
|
+
outputs: [],
|
48
|
+
stateMutability: "nonpayable",
|
49
|
+
type: "function",
|
50
|
+
},
|
51
|
+
{
|
52
|
+
inputs: [
|
53
|
+
{
|
54
|
+
internalType: "uint256",
|
55
|
+
name: "l1BaseFee",
|
56
|
+
type: "uint256",
|
57
|
+
},
|
58
|
+
{
|
59
|
+
internalType: "uint64",
|
60
|
+
name: "l1BlockNumber",
|
61
|
+
type: "uint64",
|
62
|
+
},
|
63
|
+
{
|
64
|
+
internalType: "uint64",
|
65
|
+
name: "l2BlockNumber",
|
66
|
+
type: "uint64",
|
67
|
+
},
|
68
|
+
{
|
69
|
+
internalType: "uint64",
|
70
|
+
name: "timePassed",
|
71
|
+
type: "uint64",
|
72
|
+
},
|
73
|
+
],
|
74
|
+
name: "startBlock",
|
75
|
+
outputs: [],
|
76
|
+
stateMutability: "nonpayable",
|
77
|
+
type: "function",
|
78
|
+
},
|
79
|
+
];
|
80
|
+
|
81
|
+
export class ArbosActs__factory {
|
82
|
+
static readonly abi = _abi;
|
83
|
+
static createInterface(): ArbosActsInterface {
|
84
|
+
return new utils.Interface(_abi) as ArbosActsInterface;
|
85
|
+
}
|
86
|
+
static connect(
|
87
|
+
address: string,
|
88
|
+
signerOrProvider: Signer | Provider
|
89
|
+
): ArbosActs {
|
90
|
+
return new Contract(address, _abi, signerOrProvider) as ArbosActs;
|
91
|
+
}
|
92
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
6
|
+
import type { Provider } from "@ethersproject/providers";
|
7
|
+
import type {
|
8
|
+
ArbosTest,
|
9
|
+
ArbosTestInterface,
|
10
|
+
} from "../../../src/precompiles/ArbosTest";
|
11
|
+
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
inputs: [
|
15
|
+
{
|
16
|
+
internalType: "uint256",
|
17
|
+
name: "gasAmount",
|
18
|
+
type: "uint256",
|
19
|
+
},
|
20
|
+
],
|
21
|
+
name: "burnArbGas",
|
22
|
+
outputs: [],
|
23
|
+
stateMutability: "pure",
|
24
|
+
type: "function",
|
25
|
+
},
|
26
|
+
];
|
27
|
+
|
28
|
+
export class ArbosTest__factory {
|
29
|
+
static readonly abi = _abi;
|
30
|
+
static createInterface(): ArbosTestInterface {
|
31
|
+
return new utils.Interface(_abi) as ArbosTestInterface;
|
32
|
+
}
|
33
|
+
static connect(
|
34
|
+
address: string,
|
35
|
+
signerOrProvider: Signer | Provider
|
36
|
+
): ArbosTest {
|
37
|
+
return new Contract(address, _abi, signerOrProvider) as ArbosTest;
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
export { ArbAddressTable__factory } from "./ArbAddressTable__factory";
|
5
|
+
export { ArbAggregator__factory } from "./ArbAggregator__factory";
|
6
|
+
export { ArbDebug__factory } from "./ArbDebug__factory";
|
7
|
+
export { ArbFunctionTable__factory } from "./ArbFunctionTable__factory";
|
8
|
+
export { ArbGasInfo__factory } from "./ArbGasInfo__factory";
|
9
|
+
export { ArbInfo__factory } from "./ArbInfo__factory";
|
10
|
+
export { ArbOwner__factory } from "./ArbOwner__factory";
|
11
|
+
export { ArbOwnerPublic__factory } from "./ArbOwnerPublic__factory";
|
12
|
+
export { ArbRetryableTx__factory } from "./ArbRetryableTx__factory";
|
13
|
+
export { ArbStatistics__factory } from "./ArbStatistics__factory";
|
14
|
+
export { ArbSys__factory } from "./ArbSys__factory";
|
15
|
+
export { ArbosActs__factory } from "./ArbosActs__factory";
|
16
|
+
export { ArbosTest__factory } from "./ArbosTest__factory";
|