@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,439 @@
|
|
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
|
+
ERC20RollupCreator,
|
8
|
+
ERC20RollupCreatorInterface,
|
9
|
+
} from "../../../src/rollup/ERC20RollupCreator";
|
10
|
+
|
11
|
+
const _abi = [
|
12
|
+
{
|
13
|
+
inputs: [],
|
14
|
+
stateMutability: "nonpayable",
|
15
|
+
type: "constructor",
|
16
|
+
},
|
17
|
+
{
|
18
|
+
anonymous: false,
|
19
|
+
inputs: [
|
20
|
+
{
|
21
|
+
indexed: true,
|
22
|
+
internalType: "address",
|
23
|
+
name: "previousOwner",
|
24
|
+
type: "address",
|
25
|
+
},
|
26
|
+
{
|
27
|
+
indexed: true,
|
28
|
+
internalType: "address",
|
29
|
+
name: "newOwner",
|
30
|
+
type: "address",
|
31
|
+
},
|
32
|
+
],
|
33
|
+
name: "OwnershipTransferred",
|
34
|
+
type: "event",
|
35
|
+
},
|
36
|
+
{
|
37
|
+
anonymous: false,
|
38
|
+
inputs: [
|
39
|
+
{
|
40
|
+
indexed: true,
|
41
|
+
internalType: "address",
|
42
|
+
name: "rollupAddress",
|
43
|
+
type: "address",
|
44
|
+
},
|
45
|
+
{
|
46
|
+
indexed: false,
|
47
|
+
internalType: "address",
|
48
|
+
name: "inboxAddress",
|
49
|
+
type: "address",
|
50
|
+
},
|
51
|
+
{
|
52
|
+
indexed: false,
|
53
|
+
internalType: "address",
|
54
|
+
name: "outbox",
|
55
|
+
type: "address",
|
56
|
+
},
|
57
|
+
{
|
58
|
+
indexed: false,
|
59
|
+
internalType: "address",
|
60
|
+
name: "rollupEventInbox",
|
61
|
+
type: "address",
|
62
|
+
},
|
63
|
+
{
|
64
|
+
indexed: false,
|
65
|
+
internalType: "address",
|
66
|
+
name: "challengeManager",
|
67
|
+
type: "address",
|
68
|
+
},
|
69
|
+
{
|
70
|
+
indexed: false,
|
71
|
+
internalType: "address",
|
72
|
+
name: "adminProxy",
|
73
|
+
type: "address",
|
74
|
+
},
|
75
|
+
{
|
76
|
+
indexed: false,
|
77
|
+
internalType: "address",
|
78
|
+
name: "sequencerInbox",
|
79
|
+
type: "address",
|
80
|
+
},
|
81
|
+
{
|
82
|
+
indexed: false,
|
83
|
+
internalType: "address",
|
84
|
+
name: "bridge",
|
85
|
+
type: "address",
|
86
|
+
},
|
87
|
+
{
|
88
|
+
indexed: false,
|
89
|
+
internalType: "address",
|
90
|
+
name: "validatorUtils",
|
91
|
+
type: "address",
|
92
|
+
},
|
93
|
+
{
|
94
|
+
indexed: false,
|
95
|
+
internalType: "address",
|
96
|
+
name: "validatorWalletCreator",
|
97
|
+
type: "address",
|
98
|
+
},
|
99
|
+
],
|
100
|
+
name: "RollupCreated",
|
101
|
+
type: "event",
|
102
|
+
},
|
103
|
+
{
|
104
|
+
anonymous: false,
|
105
|
+
inputs: [],
|
106
|
+
name: "TemplatesUpdated",
|
107
|
+
type: "event",
|
108
|
+
},
|
109
|
+
{
|
110
|
+
inputs: [],
|
111
|
+
name: "bridgeCreator",
|
112
|
+
outputs: [
|
113
|
+
{
|
114
|
+
internalType: "contract IBridgeCreator",
|
115
|
+
name: "",
|
116
|
+
type: "address",
|
117
|
+
},
|
118
|
+
],
|
119
|
+
stateMutability: "view",
|
120
|
+
type: "function",
|
121
|
+
},
|
122
|
+
{
|
123
|
+
inputs: [],
|
124
|
+
name: "challengeManagerTemplate",
|
125
|
+
outputs: [
|
126
|
+
{
|
127
|
+
internalType: "contract IChallengeManager",
|
128
|
+
name: "",
|
129
|
+
type: "address",
|
130
|
+
},
|
131
|
+
],
|
132
|
+
stateMutability: "view",
|
133
|
+
type: "function",
|
134
|
+
},
|
135
|
+
{
|
136
|
+
inputs: [
|
137
|
+
{
|
138
|
+
components: [
|
139
|
+
{
|
140
|
+
internalType: "uint64",
|
141
|
+
name: "confirmPeriodBlocks",
|
142
|
+
type: "uint64",
|
143
|
+
},
|
144
|
+
{
|
145
|
+
internalType: "uint64",
|
146
|
+
name: "extraChallengeTimeBlocks",
|
147
|
+
type: "uint64",
|
148
|
+
},
|
149
|
+
{
|
150
|
+
internalType: "address",
|
151
|
+
name: "stakeToken",
|
152
|
+
type: "address",
|
153
|
+
},
|
154
|
+
{
|
155
|
+
internalType: "uint256",
|
156
|
+
name: "baseStake",
|
157
|
+
type: "uint256",
|
158
|
+
},
|
159
|
+
{
|
160
|
+
internalType: "bytes32",
|
161
|
+
name: "wasmModuleRoot",
|
162
|
+
type: "bytes32",
|
163
|
+
},
|
164
|
+
{
|
165
|
+
internalType: "address",
|
166
|
+
name: "owner",
|
167
|
+
type: "address",
|
168
|
+
},
|
169
|
+
{
|
170
|
+
internalType: "address",
|
171
|
+
name: "loserStakeEscrow",
|
172
|
+
type: "address",
|
173
|
+
},
|
174
|
+
{
|
175
|
+
internalType: "uint256",
|
176
|
+
name: "chainId",
|
177
|
+
type: "uint256",
|
178
|
+
},
|
179
|
+
{
|
180
|
+
internalType: "string",
|
181
|
+
name: "chainConfig",
|
182
|
+
type: "string",
|
183
|
+
},
|
184
|
+
{
|
185
|
+
internalType: "uint64",
|
186
|
+
name: "genesisBlockNum",
|
187
|
+
type: "uint64",
|
188
|
+
},
|
189
|
+
{
|
190
|
+
components: [
|
191
|
+
{
|
192
|
+
internalType: "uint256",
|
193
|
+
name: "delayBlocks",
|
194
|
+
type: "uint256",
|
195
|
+
},
|
196
|
+
{
|
197
|
+
internalType: "uint256",
|
198
|
+
name: "futureBlocks",
|
199
|
+
type: "uint256",
|
200
|
+
},
|
201
|
+
{
|
202
|
+
internalType: "uint256",
|
203
|
+
name: "delaySeconds",
|
204
|
+
type: "uint256",
|
205
|
+
},
|
206
|
+
{
|
207
|
+
internalType: "uint256",
|
208
|
+
name: "futureSeconds",
|
209
|
+
type: "uint256",
|
210
|
+
},
|
211
|
+
],
|
212
|
+
internalType: "struct ISequencerInbox.MaxTimeVariation",
|
213
|
+
name: "sequencerInboxMaxTimeVariation",
|
214
|
+
type: "tuple",
|
215
|
+
},
|
216
|
+
],
|
217
|
+
internalType: "struct Config",
|
218
|
+
name: "config",
|
219
|
+
type: "tuple",
|
220
|
+
},
|
221
|
+
{
|
222
|
+
internalType: "address",
|
223
|
+
name: "_batchPoster",
|
224
|
+
type: "address",
|
225
|
+
},
|
226
|
+
{
|
227
|
+
internalType: "address[]",
|
228
|
+
name: "_validators",
|
229
|
+
type: "address[]",
|
230
|
+
},
|
231
|
+
{
|
232
|
+
internalType: "address",
|
233
|
+
name: "nativeToken",
|
234
|
+
type: "address",
|
235
|
+
},
|
236
|
+
],
|
237
|
+
name: "createRollup",
|
238
|
+
outputs: [
|
239
|
+
{
|
240
|
+
internalType: "address",
|
241
|
+
name: "",
|
242
|
+
type: "address",
|
243
|
+
},
|
244
|
+
],
|
245
|
+
stateMutability: "nonpayable",
|
246
|
+
type: "function",
|
247
|
+
},
|
248
|
+
{
|
249
|
+
inputs: [],
|
250
|
+
name: "osp",
|
251
|
+
outputs: [
|
252
|
+
{
|
253
|
+
internalType: "contract IOneStepProofEntry",
|
254
|
+
name: "",
|
255
|
+
type: "address",
|
256
|
+
},
|
257
|
+
],
|
258
|
+
stateMutability: "view",
|
259
|
+
type: "function",
|
260
|
+
},
|
261
|
+
{
|
262
|
+
inputs: [],
|
263
|
+
name: "owner",
|
264
|
+
outputs: [
|
265
|
+
{
|
266
|
+
internalType: "address",
|
267
|
+
name: "",
|
268
|
+
type: "address",
|
269
|
+
},
|
270
|
+
],
|
271
|
+
stateMutability: "view",
|
272
|
+
type: "function",
|
273
|
+
},
|
274
|
+
{
|
275
|
+
inputs: [],
|
276
|
+
name: "renounceOwnership",
|
277
|
+
outputs: [],
|
278
|
+
stateMutability: "nonpayable",
|
279
|
+
type: "function",
|
280
|
+
},
|
281
|
+
{
|
282
|
+
inputs: [],
|
283
|
+
name: "rollupAdminLogic",
|
284
|
+
outputs: [
|
285
|
+
{
|
286
|
+
internalType: "contract IRollupAdmin",
|
287
|
+
name: "",
|
288
|
+
type: "address",
|
289
|
+
},
|
290
|
+
],
|
291
|
+
stateMutability: "view",
|
292
|
+
type: "function",
|
293
|
+
},
|
294
|
+
{
|
295
|
+
inputs: [],
|
296
|
+
name: "rollupUserLogic",
|
297
|
+
outputs: [
|
298
|
+
{
|
299
|
+
internalType: "contract IRollupUser",
|
300
|
+
name: "",
|
301
|
+
type: "address",
|
302
|
+
},
|
303
|
+
],
|
304
|
+
stateMutability: "view",
|
305
|
+
type: "function",
|
306
|
+
},
|
307
|
+
{
|
308
|
+
inputs: [
|
309
|
+
{
|
310
|
+
internalType: "contract IBridgeCreator",
|
311
|
+
name: "_bridgeCreator",
|
312
|
+
type: "address",
|
313
|
+
},
|
314
|
+
{
|
315
|
+
internalType: "contract IOneStepProofEntry",
|
316
|
+
name: "_osp",
|
317
|
+
type: "address",
|
318
|
+
},
|
319
|
+
{
|
320
|
+
internalType: "contract IChallengeManager",
|
321
|
+
name: "_challengeManagerLogic",
|
322
|
+
type: "address",
|
323
|
+
},
|
324
|
+
{
|
325
|
+
internalType: "contract IRollupAdmin",
|
326
|
+
name: "_rollupAdminLogic",
|
327
|
+
type: "address",
|
328
|
+
},
|
329
|
+
{
|
330
|
+
internalType: "contract IRollupUser",
|
331
|
+
name: "_rollupUserLogic",
|
332
|
+
type: "address",
|
333
|
+
},
|
334
|
+
{
|
335
|
+
internalType: "address",
|
336
|
+
name: "_validatorUtils",
|
337
|
+
type: "address",
|
338
|
+
},
|
339
|
+
{
|
340
|
+
internalType: "address",
|
341
|
+
name: "_validatorWalletCreator",
|
342
|
+
type: "address",
|
343
|
+
},
|
344
|
+
],
|
345
|
+
name: "setTemplates",
|
346
|
+
outputs: [],
|
347
|
+
stateMutability: "nonpayable",
|
348
|
+
type: "function",
|
349
|
+
},
|
350
|
+
{
|
351
|
+
inputs: [
|
352
|
+
{
|
353
|
+
internalType: "address",
|
354
|
+
name: "newOwner",
|
355
|
+
type: "address",
|
356
|
+
},
|
357
|
+
],
|
358
|
+
name: "transferOwnership",
|
359
|
+
outputs: [],
|
360
|
+
stateMutability: "nonpayable",
|
361
|
+
type: "function",
|
362
|
+
},
|
363
|
+
{
|
364
|
+
inputs: [],
|
365
|
+
name: "validatorUtils",
|
366
|
+
outputs: [
|
367
|
+
{
|
368
|
+
internalType: "address",
|
369
|
+
name: "",
|
370
|
+
type: "address",
|
371
|
+
},
|
372
|
+
],
|
373
|
+
stateMutability: "view",
|
374
|
+
type: "function",
|
375
|
+
},
|
376
|
+
{
|
377
|
+
inputs: [],
|
378
|
+
name: "validatorWalletCreator",
|
379
|
+
outputs: [
|
380
|
+
{
|
381
|
+
internalType: "address",
|
382
|
+
name: "",
|
383
|
+
type: "address",
|
384
|
+
},
|
385
|
+
],
|
386
|
+
stateMutability: "view",
|
387
|
+
type: "function",
|
388
|
+
},
|
389
|
+
];
|
390
|
+
|
391
|
+
const _bytecode =
|
392
|
+
"0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61395c8061007e6000396000f3fe60806040523480156200001157600080fd5b5060043610620000c35760003560e01c80639dba3241116200007a5780639dba32411462000151578063bc45e0ae1462000165578063e8a1a09f1462000179578063f26a62c61462000190578063f2fde38b14620001a4578063f860cefa14620001bb57600080fd5b8063014cc92c14620000c8578063715018a614620000f45780638da5cb5b146200010057806394392f0014620001125780639c683d1014620001295780639d4798e3146200013d575b600080fd5b600654620000dc906001600160a01b031681565b604051620000eb919062000b2f565b60405180910390f35b620000fe620001cf565b005b6000546001600160a01b0316620000dc565b620000dc6200012336600462000d10565b62000213565b600354620000dc906001600160a01b031681565b600554620000dc906001600160a01b031681565b600454620000dc906001600160a01b031681565b600754620000dc906001600160a01b031681565b620000fe6200018a36600462000e81565b62000230565b600254620000dc906001600160a01b031681565b620000fe620001b536600462000f26565b620002fd565b600154620000dc906001600160a01b031681565b6000546001600160a01b03163314620002055760405162461bcd60e51b8152600401620001fc9062000f4d565b60405180910390fd5b6200021160006200039f565b565b6000620002248686868686620003ef565b90505b95945050505050565b6000546001600160a01b031633146200025d5760405162461bcd60e51b8152600401620001fc9062000f4d565b600180546001600160a01b03199081166001600160a01b038a811691909117909255600280548216898416179055600380548216888416179055600480548216878416179055600580548216868416179055600680548216858416179055600780549091169183169190911790556040517fc9d3947d22fa124aaec4c7e8c919f79016e2d7b48eee10568375d98b86460d1b90600090a150505050505050565b6000546001600160a01b031633146200032a5760405162461bcd60e51b8152600401620001fc9062000f4d565b6001600160a01b038116620003915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620001fc565b6200039c816200039f565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604051620004009062000af8565b604051809103906000f0801580156200041d573d6000803e3d6000fd5b509050600087604051602001620004359190620010d1565b60405160208183030381529060405280519060200120604051620004599062000b06565b8190604051809103906000f59050801580156200047a573d6000803e3d6000fd5b50905060006200049283838b610140015188620009f0565b6003546040519192506000916001600160a01b03909116908590620004b79062000b14565b6001600160a01b03928316815291166020820152606060408201819052600090820152608001604051809103906000f080158015620004fa573d6000803e3d6000fd5b5060208301518351600254604051637c643b2f60e11b81526001600160a01b038881166004830152938416602482015291831660448301528216606482015291925082169063f8c8765e90608401600060405180830381600087803b1580156200056357600080fd5b505af115801562000578573d6000803e3d6000fd5b50505060a08b015160405163f2fde38b60e01b81526001600160a01b038716925063f2fde38b91620005ad9160040162000b2f565b600060405180830381600087803b158015620005c857600080fd5b505af1158015620005dd573d6000803e3d6000fd5b5050505060008a60a001519050308b60a001906001600160a01b031690816001600160a01b031681525050836001600160a01b0316636e24369e8c60405180610140016040528087600001516001600160a01b0316815260200187602001516001600160a01b0316815260200187604001516001600160a01b0316815260200187608001516001600160a01b0316815260200187606001516001600160a01b03168152602001866001600160a01b03168152602001600460009054906101000a90046001600160a01b03166001600160a01b03168152602001600560009054906101000a90046001600160a01b03166001600160a01b03168152602001600660009054906101000a90046001600160a01b03166001600160a01b03168152602001600760009054906101000a90046001600160a01b03166001600160a01b03168152506040518363ffffffff1660e01b81526004016200073f929190620010e6565b600060405180830381600087803b1580156200075a57600080fd5b505af11580156200076f573d6000803e3d6000fd5b5050506020840151604051636e7df3e760e01b81526001600160a01b038d81166004830152600160248301529091169150636e7df3e790604401600060405180830381600087803b158015620007c457600080fd5b505af1158015620007d9573d6000803e3d6000fd5b50600092508a9150506001600160401b03811115620007fc57620007fc62000b43565b60405190808252806020026020018201604052801562000826578160200160208202803683370190505b50905060005b89811015620008715760018282815181106200084c576200084c620011d6565b91151560209283029190910190910152806200086881620011ec565b9150506200082c565b506040516351ffdbb960e11b81526001600160a01b0386169063a3ffb77290620008a4908d908d90869060040162001216565b600060405180830381600087803b158015620008bf57600080fd5b505af1158015620008d4573d6000803e3d6000fd5b50506040516313af403560e01b81526001600160a01b03881692506313af403591506200090690859060040162000b2f565b600060405180830381600087803b1580156200092157600080fd5b505af115801562000936573d6000803e3d6000fd5b505050506040848101516080808701516060808901516020808b01518b516006546007548a516001600160a01b039a8b168152978a1694880194909452938816868a01528b8816948601949094528d87169585019590955293851660a084015290841660c0830152831660e08201529082166101008201529151908716917f358bcb02c3cad88e3b076d27457f7b7a36cb9f0c56462217331d7b064b04da3791908190036101200190a250929a9950505050505050505050565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600154604051632d29730d60e21b815260009182918291829182916001600160a01b03169063b4a5cc349062000a5c908d908d908c908e90600401620012aa565b60a060405180830381600087803b15801562000a7757600080fd5b505af115801562000a8c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ab29190620012f9565b6040805160a0810182526001600160a01b0396871681529486166020860152928516928401929092528316606083015290911660808201529a9950505050505050505050565b6107be806200137a83390190565b610e8d8062001b3883390190565b610f6280620029c583390190565b6001600160a01b03169052565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b60405161016081016001600160401b038111828210171562000b7f5762000b7f62000b43565b60405290565b80356001600160401b038116811462000b9d57600080fd5b919050565b6001600160a01b03811681146200039c57600080fd5b803562000b9d8162000ba2565b600082601f83011262000bd757600080fd5b81356001600160401b038082111562000bf45762000bf462000b43565b604051601f8301601f19908116603f0116810190828211818310171562000c1f5762000c1f62000b43565b8160405283815286602085880101111562000c3957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006080828403121562000c6c57600080fd5b604051608081018181106001600160401b038211171562000c915762000c9162000b43565b8060405250809150823581526020830135602082015260408301356040820152606083013560608201525092915050565b60008083601f84011262000cd557600080fd5b5081356001600160401b0381111562000ced57600080fd5b6020830191508360208260051b850101111562000d0957600080fd5b9250929050565b60008060008060006080868803121562000d2957600080fd5b85356001600160401b038082111562000d4157600080fd5b908701906101c0828a03121562000d5757600080fd5b62000d6162000b59565b62000d6c8362000b85565b815262000d7c6020840162000b85565b602082015262000d8f6040840162000bb8565b6040820152606083013560608201526080830135608082015262000db660a0840162000bb8565b60a082015262000dc960c0840162000bb8565b60c082015260e083013560e0820152610100808401358381111562000ded57600080fd5b62000dfb8c82870162000bc5565b82840152505061012062000e1181850162000b85565b9082015261014062000e268b85830162000c59565b90820152965062000e3a6020890162000bb8565b9550604088013591508082111562000e5157600080fd5b5062000e608882890162000cc2565b909450925062000e7590506060870162000bb8565b90509295509295909350565b600080600080600080600060e0888a03121562000e9d57600080fd5b873562000eaa8162000ba2565b9650602088013562000ebc8162000ba2565b9550604088013562000ece8162000ba2565b9450606088013562000ee08162000ba2565b9350608088013562000ef28162000ba2565b925060a088013562000f048162000ba2565b915060c088013562000f168162000ba2565b8091505092959891949750929550565b60006020828403121562000f3957600080fd5b813562000f468162000ba2565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000815180845260005b8181101562000faa5760208185018101518683018201520162000f8c565b8181111562000fbd576000602083870101525b50601f01601f19169290920160200192915050565b80516001600160401b0316825260006101c0602083015162000fff60208601826001600160401b03169052565b50604083015162001014604086018262000b22565b50606083015160608501526080830151608085015260a08301516200103d60a086018262000b22565b5060c08301516200105260c086018262000b22565b5060e083015160e0850152610100808401518282870152620010778387018262000f82565b925050506101208084015162001097828701826001600160401b03169052565b5050610140838101518051868301526020810151610160870152604081015161018087015260608101516101a08701525090949350505050565b60208152600062000f46602083018462000fd2565b6000610160808352620010fc8184018662000fd2565b9150506200110f60208301845162000b22565b602083015162001123604084018262000b22565b50604083015162001138606084018262000b22565b5060608301516200114d608084018262000b22565b5060808301516200116260a084018262000b22565b5060a08301516200117760c084018262000b22565b5060c08301516200118c60e084018262000b22565b5060e0830151610100620011a38185018362000b22565b8401519050610120620011b98482018362000b22565b8401519050620011ce61014084018262000b22565b509392505050565b634e487b7160e01b600052603260045260246000fd5b60006000198214156200120f57634e487b7160e01b600052601160045260246000fd5b5060010190565b6040808252810183905260008460608301825b868110156200125d5782356200123f8162000ba2565b6001600160a01b031682526020928301929091019060010162001229565b5060209150838103828501528085518083528383019150838701925060005b818110156200129c5783511515835292840192918401916001016200127c565b509098975050505050505050565b6001600160a01b03858116825284811660208301528316604082015260e08101620002276060830184805182526020810151602083015260408101516040830152606081015160608301525050565b600080600080600060a086880312156200131257600080fd5b85516200131f8162000ba2565b6020870151909550620013328162000ba2565b6040870151909450620013458162000ba2565b6060870151909350620013588162000ba2565b60808701519092506200136b8162000ba2565b80915050929550929590935056fe608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6107408061007e6000396000f3fe60806040526004361061006b5760003560e01c8063204e1c7a14610070578063715018a6146100a65780637eff275e146100bd5780638da5cb5b146100dd5780639623609d146100f257806399a88ec414610105578063f2fde38b14610125578063f3b7dead14610145575b600080fd5b34801561007c57600080fd5b5061009061008b3660046104f6565b610165565b60405161009d919061051a565b60405180910390f35b3480156100b257600080fd5b506100bb6101f6565b005b3480156100c957600080fd5b506100bb6100d836600461052e565b61023a565b3480156100e957600080fd5b506100906102cb565b6100bb61010036600461057d565b6102da565b34801561011157600080fd5b506100bb61012036600461052e565b610370565b34801561013157600080fd5b506100bb6101403660046104f6565b6103cb565b34801561015157600080fd5b506100906101603660046104f6565b61046b565b6000806000836001600160a01b031660405161018b90635c60da1b60e01b815260040190565b600060405180830381855afa9150503d80600081146101c6576040519150601f19603f3d011682016040523d82523d6000602084013e6101cb565b606091505b5091509150816101da57600080fd5b808060200190518101906101ee9190610653565b949350505050565b336101ff6102cb565b6001600160a01b03161461022e5760405162461bcd60e51b815260040161022590610670565b60405180910390fd5b6102386000610491565b565b336102436102cb565b6001600160a01b0316146102695760405162461bcd60e51b815260040161022590610670565b6040516308f2839760e41b81526001600160a01b03831690638f2839709061029590849060040161051a565b600060405180830381600087803b1580156102af57600080fd5b505af11580156102c3573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031690565b336102e36102cb565b6001600160a01b0316146103095760405162461bcd60e51b815260040161022590610670565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061033990869086906004016106a5565b6000604051808303818588803b15801561035257600080fd5b505af1158015610366573d6000803e3d6000fd5b5050505050505050565b336103796102cb565b6001600160a01b03161461039f5760405162461bcd60e51b815260040161022590610670565b604051631b2ce7f360e11b81526001600160a01b03831690633659cfe69061029590849060040161051a565b336103d46102cb565b6001600160a01b0316146103fa5760405162461bcd60e51b815260040161022590610670565b6001600160a01b03811661045f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610225565b61046881610491565b50565b6000806000836001600160a01b031660405161018b906303e1469160e61b815260040190565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461046857600080fd5b60006020828403121561050857600080fd5b8135610513816104e1565b9392505050565b6001600160a01b0391909116815260200190565b6000806040838503121561054157600080fd5b823561054c816104e1565b9150602083013561055c816104e1565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561059257600080fd5b833561059d816104e1565b925060208401356105ad816104e1565b9150604084013567ffffffffffffffff808211156105ca57600080fd5b818601915086601f8301126105de57600080fd5b8135818111156105f0576105f0610567565b604051601f8201601f19908116603f0116810190838211818310171561061857610618610567565b8160405282815289602084870101111561063157600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b60006020828403121561066557600080fd5b8151610513816104e1565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60018060a01b038316815260006020604081840152835180604085015260005b818110156106e1578581018301518582016060015282016106c5565b818111156106f3576000606083870101525b50601f01601f19169290920160600194935050505056fea2646970667358221220a5dee8aa81b3b802119ebd31e1632959bc2fd941aebda6b9fbe1de3ddf25e5ba64736f6c63430008090033608060405234801561001057600080fd5b50610e6d806100206000396000f3fe6080604052600436106100225760003560e01c80636e24369e1461003957610031565b366100315761002f610059565b005b61002f610059565b34801561004557600080fd5b5061002f6100543660046109fa565b61006b565b610069610064610182565b61024b565b565b6000610075610274565b6001600160a01b031614801561009b57506000610090610295565b6001600160a01b0316145b80156100b7575060006100ac6102ab565b6001600160a01b0316145b1561017a576101768160c001516328ff127a60e01b84846040516024016100df929190610c37565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925260e08501518683015192516001600160a01b039093166024840152909163189acdbd60e31b9060440160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915260a08701516102c1565b5050565b610176610059565b600060043610156101c85760405162461bcd60e51b815260206004820152600b60248201526a4e4f5f46554e435f53494760a81b60448201526064015b60405180910390fd5b6000336101d3610274565b6001600160a01b031614156101ef576101ea610295565b6101f7565b6101f76102ab565b90506001600160a01b0381163b6102465760405162461bcd60e51b815260206004820152601360248201527215105491d15517d393d517d0d3d395149050d5606a1b60448201526064016101bf565b919050565b3660008037600080366000845af43d6000803e80801561026a573d6000f35b3d6000fd5b505050565b6000600080516020610db18339815191525b546001600160a01b0316919050565b6000600080516020610dd1833981519152610286565b6000600080516020610e18833981519152610286565b6102ec60017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6104610d46565b600080516020610db18339815191521461030857610308610d6b565b61033360017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610d46565b600080516020610dd18339815191521461034f5761034f610d6b565b61037a60017f2b1dbce74324248c222f0ec2d5ed7bd323cfc425b336f0253c5ccfda7265546e610d46565b600080516020610e188339815191521461039657610396610d6b565b61039f816103be565b6103ab85856000610415565b6103b783836000610440565b5050505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103e7610274565b604080516001600160a01b03928316815291841660208301520160405180910390a161041281610449565b50565b61041e836104e0565b60008251118061042b5750805b1561026f5761043a8383610520565b50505050565b61041e8361054c565b6001600160a01b0381166104ae5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084016101bf565b80600080516020610db18339815191525b80546001600160a01b0319166001600160a01b039290921691909117905550565b6104e98161058c565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606105458383604051806060016040528060278152602001610df16027913961060e565b9392505050565b610555816106eb565b6040516001600160a01b038216907ff7eed2a7fabbf1bec8d55ed5e785cc76622376dde5df4ff15470551e030b813490600090a250565b6001600160a01b0381163b6105f95760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016101bf565b80600080516020610dd18339815191526104bf565b60606001600160a01b0384163b6106765760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016101bf565b600080856001600160a01b0316856040516106919190610d81565b600060405180830381855af49150503d80600081146106cc576040519150601f19603f3d011682016040523d82523d6000602084013e6106d1565b606091505b50915091506106e1828286610777565b9695505050505050565b6001600160a01b0381163b6107625760405162461bcd60e51b815260206004820152603760248201527f455243313936373a206e6577207365636f6e6461727920696d706c656d656e74604482015276185d1a5bdb881a5cc81b9bdd08184818dbdb9d1c9858dd604a1b60648201526084016101bf565b80600080516020610e188339815191526104bf565b60608315610786575081610545565b8251156107965782518084602001fd5b8160405162461bcd60e51b81526004016101bf9190610d9d565b634e487b7160e01b600052604160045260246000fd5b60405161014081016001600160401b03811182821017156107e9576107e96107b0565b60405290565b60405161016081016001600160401b03811182821017156107e9576107e96107b0565b80356001600160401b038116811461024657600080fd5b80356001600160a01b038116811461024657600080fd5b600082601f83011261085157600080fd5b81356001600160401b038082111561086b5761086b6107b0565b604051601f8301601f19908116603f01168101908282118183101715610893576108936107b0565b816040528381528660208588010111156108ac57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000608082840312156108de57600080fd5b604051608081018181106001600160401b0382111715610900576109006107b0565b8060405250809150823581526020830135602082015260408301356040820152606083013560608201525092915050565b6000610140828403121561094457600080fd5b61094c6107c6565b905061095782610829565b815261096560208301610829565b602082015261097660408301610829565b604082015261098760608301610829565b606082015261099860808301610829565b60808201526109a960a08301610829565b60a08201526109ba60c08301610829565b60c08201526109cb60e08301610829565b60e08201526101006109de818401610829565b908201526101206109f0838201610829565b9082015292915050565b6000806101608385031215610a0e57600080fd5b82356001600160401b0380821115610a2557600080fd5b908401906101c08287031215610a3a57600080fd5b610a426107ef565b610a4b83610812565b8152610a5960208401610812565b6020820152610a6a60408401610829565b60408201526060830135606082015260808301356080820152610a8f60a08401610829565b60a0820152610aa060c08401610829565b60c082015260e083013560e08201526101008084013583811115610ac357600080fd5b610acf89828701610840565b8284015250506101209150610ae5828401610812565b828201526101409150610afa878385016108cc565b82820152809450505050610b118460208501610931565b90509250929050565b6001600160a01b03169052565b60005b83811015610b42578181015183820152602001610b2a565b8381111561043a5750506000910152565b60008151808452610b6b816020860160208601610b27565b601f01601f19169290920160200192915050565b610b8a828251610b1a565b6020810151610b9c6020840182610b1a565b506040810151610baf6040840182610b1a565b506060810151610bc26060840182610b1a565b506080810151610bd56080840182610b1a565b5060a0810151610be860a0840182610b1a565b5060c0810151610bfb60c0840182610b1a565b5060e0810151610c0e60e0840182610b1a565b5061010080820151610c2282850182610b1a565b50506101208082015161043a82850182610b1a565b6000610160808352610c5481840186516001600160401b03169052565b5060208401516001600160401b03166101808301526040840151610c7c6101a0840182610b1a565b5060608401516101c0818185015260808601516101e085015260a08601519150610caa610200850183610b1a565b60c08601519150610cbf610220850183610b1a565b60e086015161024085015261010086015191508061026085015250610ce8610320840182610b53565b9050610120850151610d066102808501826001600160401b03169052565b5061014085015180516102a085015260208101516102c085015260408101516102e085015260608101516103008501525090506105456020830184610b7f565b600082821015610d6657634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b60008251610d93818460208701610b27565b9190910192915050565b6020815260006105456020830184610b5356feb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65642b1dbce74324248c222f0ec2d5ed7bd323cfc425b336f0253c5ccfda7265546da2646970667358221220328a67435ec9942d16265aa3a3d001aa933bc47cd6b726297945372fdb1a97c264736f6c63430008090033608060405260405162000f6238038062000f62833981016040819052620000269162000519565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd620005f9565b60008051602062000f1b833981519152146200007557620000756200061f565b6200008382826000620000e7565b50620000b3905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6104620005f9565b60008051602062000efb83398151915214620000d357620000d36200061f565b620000de8262000124565b50505062000688565b620000f2836200017f565b600082511180620001005750805b156200011f576200011d8383620001c160201b620002601760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200014f620001f0565b604080516001600160a01b03928316815291841660208301520160405180910390a16200017c8162000229565b50565b6200018a81620002de565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001e9838360405180606001604052806027815260200162000f3b6027913962000381565b9392505050565b60006200021a60008051602062000efb83398151915260001b6200046760201b620002081760201c565b546001600160a01b0316919050565b6001600160a01b038116620002945760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b80620002bd60008051602062000efb83398151915260001b6200046760201b620002081760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b620002f4816200046a60201b6200028c1760201c565b620003585760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016200028b565b80620002bd60008051602062000f1b83398151915260001b6200046760201b620002081760201c565b60606001600160a01b0384163b620003eb5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200028b565b600080856001600160a01b03168560405162000408919062000635565b600060405180830381855af49150503d806000811462000445576040519150601f19603f3d011682016040523d82523d6000602084013e6200044a565b606091505b5090925090506200045d82828662000479565b9695505050505050565b90565b6001600160a01b03163b151590565b606083156200048a575081620001e9565b8251156200049b5782518084602001fd5b8160405162461bcd60e51b81526004016200028b919062000653565b80516001600160a01b0381168114620004cf57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000507578181015183820152602001620004ed565b838111156200011d5750506000910152565b6000806000606084860312156200052f57600080fd5b6200053a84620004b7565b92506200054a60208501620004b7565b60408501519092506001600160401b03808211156200056857600080fd5b818601915086601f8301126200057d57600080fd5b815181811115620005925762000592620004d4565b604051601f8201601f19908116603f01168101908382118183101715620005bd57620005bd620004d4565b81604052828152896020848701011115620005d757600080fd5b620005ea836020830160208801620004ea565b80955050505050509250925092565b6000828210156200061a57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b6000825162000649818460208701620004ea565b9190910192915050565b602081526000825180602084015262000674816040850160208701620004ea565b601f01601f19169190910160400192915050565b61086380620006986000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b6100803660046106ed565b610118565b61005b610093366004610708565b61015f565b3480156100a457600080fd5b506100ad6101d0565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e43660046106ed565b61020b565b3480156100f557600080fd5b506100ad610235565b61010661029b565b61011661011161033a565b610344565b565b610120610368565b6001600160a01b0316336001600160a01b03161415610157576101548160405180602001604052806000815250600061039b565b50565b6101546100fe565b610167610368565b6001600160a01b0316336001600160a01b031614156101c8576101c38383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506001925061039b915050565b505050565b6101c36100fe565b60006101da610368565b6001600160a01b0316336001600160a01b03161415610200576101fb61033a565b905090565b6102086100fe565b90565b610213610368565b6001600160a01b0316336001600160a01b0316141561015757610154816103c6565b600061023f610368565b6001600160a01b0316336001600160a01b03161415610200576101fb610368565b606061028583836040518060600160405280602781526020016108076027913961041a565b9392505050565b6001600160a01b03163b151590565b6102a3610368565b6001600160a01b0316336001600160a01b031614156101165760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b60006101fb6104f5565b3660008037600080366000845af43d6000803e808015610363573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b6103a48361051d565b6000825111806103b15750805b156101c3576103c08383610260565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103ef610368565b604080516001600160a01b03928316815291841660208301520160405180910390a16101548161055d565b60606104258461028c565b6104805760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610331565b600080856001600160a01b03168560405161049b91906107b7565b600060405180830381855af49150503d80600081146104d6576040519150601f19603f3d011682016040523d82523d6000602084013e6104db565b606091505b50915091506104eb828286610606565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61038c565b6105268161063f565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381166105c25760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401610331565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b60608315610615575081610285565b8251156106255782518084602001fd5b8160405162461bcd60e51b815260040161033191906107d3565b6106488161028c565b6106aa5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610331565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6105e5565b80356001600160a01b03811681146106e857600080fd5b919050565b6000602082840312156106ff57600080fd5b610285826106d1565b60008060006040848603121561071d57600080fd5b610726846106d1565b9250602084013567ffffffffffffffff8082111561074357600080fd5b818601915086601f83011261075757600080fd5b81358181111561076657600080fd5b87602082850101111561077857600080fd5b6020830194508093505050509250925092565b60005b838110156107a657818101518382015260200161078e565b838111156103c05750506000910152565b600082516107c981846020870161078b565b9190910192915050565b60208152600082518060208401526107f281604085016020870161078b565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220fb0d75414bd881ce16381528bf0b9b2c1bea4c3e27069fcb6981b67d1535643064736f6c63430008090033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122067ca747aa33ff7527e4995b2dfb11baebe25ed67cbe8b15ace83043d6cbaa2c364736f6c63430008090033";
|
393
|
+
|
394
|
+
type ERC20RollupCreatorConstructorParams =
|
395
|
+
| [signer?: Signer]
|
396
|
+
| ConstructorParameters<typeof ContractFactory>;
|
397
|
+
|
398
|
+
const isSuperArgs = (
|
399
|
+
xs: ERC20RollupCreatorConstructorParams
|
400
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
401
|
+
|
402
|
+
export class ERC20RollupCreator__factory extends ContractFactory {
|
403
|
+
constructor(...args: ERC20RollupCreatorConstructorParams) {
|
404
|
+
if (isSuperArgs(args)) {
|
405
|
+
super(...args);
|
406
|
+
} else {
|
407
|
+
super(_abi, _bytecode, args[0]);
|
408
|
+
}
|
409
|
+
}
|
410
|
+
|
411
|
+
override deploy(
|
412
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
413
|
+
): Promise<ERC20RollupCreator> {
|
414
|
+
return super.deploy(overrides || {}) as Promise<ERC20RollupCreator>;
|
415
|
+
}
|
416
|
+
override getDeployTransaction(
|
417
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
418
|
+
): TransactionRequest {
|
419
|
+
return super.getDeployTransaction(overrides || {});
|
420
|
+
}
|
421
|
+
override attach(address: string): ERC20RollupCreator {
|
422
|
+
return super.attach(address) as ERC20RollupCreator;
|
423
|
+
}
|
424
|
+
override connect(signer: Signer): ERC20RollupCreator__factory {
|
425
|
+
return super.connect(signer) as ERC20RollupCreator__factory;
|
426
|
+
}
|
427
|
+
|
428
|
+
static readonly bytecode = _bytecode;
|
429
|
+
static readonly abi = _abi;
|
430
|
+
static createInterface(): ERC20RollupCreatorInterface {
|
431
|
+
return new utils.Interface(_abi) as ERC20RollupCreatorInterface;
|
432
|
+
}
|
433
|
+
static connect(
|
434
|
+
address: string,
|
435
|
+
signerOrProvider: Signer | Provider
|
436
|
+
): ERC20RollupCreator {
|
437
|
+
return new Contract(address, _abi, signerOrProvider) as ERC20RollupCreator;
|
438
|
+
}
|
439
|
+
}
|
@@ -0,0 +1,170 @@
|
|
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
|
+
ERC20RollupEventInbox,
|
8
|
+
ERC20RollupEventInboxInterface,
|
9
|
+
} from "../../../src/rollup/ERC20RollupEventInbox";
|
10
|
+
|
11
|
+
const _abi = [
|
12
|
+
{
|
13
|
+
inputs: [],
|
14
|
+
stateMutability: "nonpayable",
|
15
|
+
type: "constructor",
|
16
|
+
},
|
17
|
+
{
|
18
|
+
inputs: [],
|
19
|
+
name: "AlreadyInit",
|
20
|
+
type: "error",
|
21
|
+
},
|
22
|
+
{
|
23
|
+
inputs: [],
|
24
|
+
name: "HadZeroInit",
|
25
|
+
type: "error",
|
26
|
+
},
|
27
|
+
{
|
28
|
+
anonymous: false,
|
29
|
+
inputs: [
|
30
|
+
{
|
31
|
+
indexed: true,
|
32
|
+
internalType: "uint256",
|
33
|
+
name: "messageNum",
|
34
|
+
type: "uint256",
|
35
|
+
},
|
36
|
+
{
|
37
|
+
indexed: false,
|
38
|
+
internalType: "bytes",
|
39
|
+
name: "data",
|
40
|
+
type: "bytes",
|
41
|
+
},
|
42
|
+
],
|
43
|
+
name: "InboxMessageDelivered",
|
44
|
+
type: "event",
|
45
|
+
},
|
46
|
+
{
|
47
|
+
anonymous: false,
|
48
|
+
inputs: [
|
49
|
+
{
|
50
|
+
indexed: true,
|
51
|
+
internalType: "uint256",
|
52
|
+
name: "messageNum",
|
53
|
+
type: "uint256",
|
54
|
+
},
|
55
|
+
],
|
56
|
+
name: "InboxMessageDeliveredFromOrigin",
|
57
|
+
type: "event",
|
58
|
+
},
|
59
|
+
{
|
60
|
+
inputs: [],
|
61
|
+
name: "bridge",
|
62
|
+
outputs: [
|
63
|
+
{
|
64
|
+
internalType: "contract IBridge",
|
65
|
+
name: "",
|
66
|
+
type: "address",
|
67
|
+
},
|
68
|
+
],
|
69
|
+
stateMutability: "view",
|
70
|
+
type: "function",
|
71
|
+
},
|
72
|
+
{
|
73
|
+
inputs: [
|
74
|
+
{
|
75
|
+
internalType: "contract IBridge",
|
76
|
+
name: "_bridge",
|
77
|
+
type: "address",
|
78
|
+
},
|
79
|
+
],
|
80
|
+
name: "initialize",
|
81
|
+
outputs: [],
|
82
|
+
stateMutability: "nonpayable",
|
83
|
+
type: "function",
|
84
|
+
},
|
85
|
+
{
|
86
|
+
inputs: [],
|
87
|
+
name: "rollup",
|
88
|
+
outputs: [
|
89
|
+
{
|
90
|
+
internalType: "address",
|
91
|
+
name: "",
|
92
|
+
type: "address",
|
93
|
+
},
|
94
|
+
],
|
95
|
+
stateMutability: "view",
|
96
|
+
type: "function",
|
97
|
+
},
|
98
|
+
{
|
99
|
+
inputs: [
|
100
|
+
{
|
101
|
+
internalType: "uint256",
|
102
|
+
name: "chainId",
|
103
|
+
type: "uint256",
|
104
|
+
},
|
105
|
+
{
|
106
|
+
internalType: "string",
|
107
|
+
name: "chainConfig",
|
108
|
+
type: "string",
|
109
|
+
},
|
110
|
+
],
|
111
|
+
name: "rollupInitialized",
|
112
|
+
outputs: [],
|
113
|
+
stateMutability: "nonpayable",
|
114
|
+
type: "function",
|
115
|
+
},
|
116
|
+
];
|
117
|
+
|
118
|
+
const _bytecode =
|
119
|
+
"0x60a06040523060805234801561001457600080fd5b5060805161070f61002f600039600060c6015261070f6000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063c4d66de814610051578063cb23bcb514610066578063cf8d56d614610095578063e78cea92146100a8575b600080fd5b61006461005f366004610534565b6100bb565b005b600154610079906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100646100a3366004610551565b61024e565b600054610079906001600160a01b031681565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561014e5760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b60648201526084015b60405180910390fd5b6000546001600160a01b03161561017857604051633bcd329760e21b815260040160405180910390fd5b6001600160a01b03811661019f57604051631ad0f74360e01b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081179091556040805163cb23bcb560e01b8152905163cb23bcb591600480820192602092909190829003018186803b1580156101f357600080fd5b505afa158015610207573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022b91906105cd565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b6001546001600160a01b031633146102965760405162461bcd60e51b815260206004820152600b60248201526a04f4e4c595f524f4c4c55560ac1b6044820152606401610145565b806102d85760405162461bcd60e51b8152602060048201526012602482015271454d5054595f434841494e5f434f4e46494760701b6044820152606401610145565b6001486102e36103e1565b1561036757606c6001600160a01b031663f5d6ded76040518163ffffffff1660e01b815260040160206040518083038186803b15801561032257600080fd5b505afa158015610336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035a91906105ea565b6103649082610603565b90505b60008583838787604051602001610382959493929190610629565b6040516020818303038152906040529050600061039e82610479565b9050807fff64905f73a67fb594e0f940a8075a860db489ad991e032f48c81123eb52d60b836040516103d0919061068a565b60405180910390a250505050505050565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b17905290516000918291829160649161041f91906106bd565b600060405180830381855afa9150503d806000811461045a576040519150601f19603f3d011682016040523d82523d6000602084013e61045f565b606091505b5091509150818015610472575080516020145b9250505090565b60008054825160208401206040516375d81e2560e01b8152600b60048201526024810184905260448101919091526064810183905282916001600160a01b0316906375d81e2590608401602060405180830381600087803b1580156104dd57600080fd5b505af11580156104f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051591906105ea565b9392505050565b6001600160a01b038116811461053157600080fd5b50565b60006020828403121561054657600080fd5b81356105158161051c565b60008060006040848603121561056657600080fd5b83359250602084013567ffffffffffffffff8082111561058557600080fd5b818601915086601f83011261059957600080fd5b8135818111156105a857600080fd5b8760208285010111156105ba57600080fd5b6020830194508093505050509250925092565b6000602082840312156105df57600080fd5b81516105158161051c565b6000602082840312156105fc57600080fd5b5051919050565b6000821982111561062457634e487b7160e01b600052601160045260246000fd5b500190565b85815260ff60f81b8560f81b1660208201528360218201528183604183013760009101604101908152949350505050565b60005b8381101561067557818101518382015260200161065d565b83811115610684576000848401525b50505050565b60208152600082518060208401526106a981604085016020870161065a565b601f01601f19169190910160400192915050565b600082516106cf81846020870161065a565b919091019291505056fea26469706673582212205c79ff3e40dc223e2e1c6db1f66912c8510eb232b98b2ebe0c6774cd36596b3b64736f6c63430008090033";
|
120
|
+
|
121
|
+
type ERC20RollupEventInboxConstructorParams =
|
122
|
+
| [signer?: Signer]
|
123
|
+
| ConstructorParameters<typeof ContractFactory>;
|
124
|
+
|
125
|
+
const isSuperArgs = (
|
126
|
+
xs: ERC20RollupEventInboxConstructorParams
|
127
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
128
|
+
|
129
|
+
export class ERC20RollupEventInbox__factory extends ContractFactory {
|
130
|
+
constructor(...args: ERC20RollupEventInboxConstructorParams) {
|
131
|
+
if (isSuperArgs(args)) {
|
132
|
+
super(...args);
|
133
|
+
} else {
|
134
|
+
super(_abi, _bytecode, args[0]);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
override deploy(
|
139
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
140
|
+
): Promise<ERC20RollupEventInbox> {
|
141
|
+
return super.deploy(overrides || {}) as Promise<ERC20RollupEventInbox>;
|
142
|
+
}
|
143
|
+
override getDeployTransaction(
|
144
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
145
|
+
): TransactionRequest {
|
146
|
+
return super.getDeployTransaction(overrides || {});
|
147
|
+
}
|
148
|
+
override attach(address: string): ERC20RollupEventInbox {
|
149
|
+
return super.attach(address) as ERC20RollupEventInbox;
|
150
|
+
}
|
151
|
+
override connect(signer: Signer): ERC20RollupEventInbox__factory {
|
152
|
+
return super.connect(signer) as ERC20RollupEventInbox__factory;
|
153
|
+
}
|
154
|
+
|
155
|
+
static readonly bytecode = _bytecode;
|
156
|
+
static readonly abi = _abi;
|
157
|
+
static createInterface(): ERC20RollupEventInboxInterface {
|
158
|
+
return new utils.Interface(_abi) as ERC20RollupEventInboxInterface;
|
159
|
+
}
|
160
|
+
static connect(
|
161
|
+
address: string,
|
162
|
+
signerOrProvider: Signer | Provider
|
163
|
+
): ERC20RollupEventInbox {
|
164
|
+
return new Contract(
|
165
|
+
address,
|
166
|
+
_abi,
|
167
|
+
signerOrProvider
|
168
|
+
) as ERC20RollupEventInbox;
|
169
|
+
}
|
170
|
+
}
|