Repository navigation
feat(contracts): deploy on Elysium (99901), with live-fork suite and verification - #122
Merged
Merged
Conversation
Elysium is Kinetiq's Arbitrum Orbit L2 for Hyperliquid (mainnet 2026-11-09, settles to HyperEVM, gas is HYPE). Uniswap v4 is deployed there (Uniswap/contracts deployments/99901.md), so the deployed LaunchFactory, LaunchLocker and LaunchToken run unchanged: no new source file, nothing in contracts/deployed.lock changes. - DeployLaunchFactory knows chain 99901 (PoolManager 0xE2e1…23F1, PositionManager 0x1d1C…E518) and deploys the plain LaunchFactory. HYPE is an ordinary native asset with no ERC-20 face sharing its balance (WHYPE is a separate wrapper), so the Arc native-quote guard does not apply. - test/LaunchFactory.elysium.fork.t.sol (FORK_TESTS=true) against the live chain: the factory and locker land at 0x8155…de72 / 0xcd16…842a from the deployer's nonce 0, as on Base, Robinhood Chain and Arc; launch → buy → collect in native HYPE and in USDC, burn mode, rug attempts and no admin surface. Both Universal Routers there (v2.1.2 and v2.2) take the "v2" ExactInputSingleParams layout and refuse "v1". The layout is probed on a USDC pool: on a native-quoted pool both layouts go through, because the misread hookData offset lands on currency0 = address(0). Before the deploy the suite deploys from the real deployer on the fork; after it, the same suite runs against the live contracts. - .env.example: ELYSIUM_RPC_URL. Verified 2026-11-10: 11/11 fork tests green on the public RPC; a dry run of the deploy script on Elysium with a throwaway key estimates 5.6M gas (≈0.006 HYPE); unit tests and check-deployed-sources.sh pass. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The app checks its Uniswap v4 config against contracts/deployments/launchpad-<chain>.json for every chain key. This records Elysium's v4 addresses, quotes and the expected factory/locker addresses (deployer nonce 0) ahead of the deploy, marked NOT DEPLOYED; the deploy fills in the block, tx and verification and adds it to deployed.lock. Co-Authored-By: Claude Opus 5.5 <[email protected]>
LaunchFactory 0x8155…de72 and LaunchLocker 0xcd16…842a on Elysium (99901), from the deployer's nonce-0 transaction 0x9ba554e2…c881e: the same addresses as Base, Robinhood Chain and Arc. Unchanged src/LaunchFactory.sol. 4,308,648 gas at 0.50075 gwei ≈ 0.00216 HYPE. The deployer was funded through Relay from its own Base balance, so it signed nothing on Elysium before the deploy. - deployments/launchpad-elysium.json: LIVE, block, tx, verification. - Bytecode, checked on-chain: the executable code of the factory and locker equals Base's and Robinhood Chain's (Uniswap v4 immutables aside). The embedded solc metadata hash matches the Arc build, not the 2026-09-06 one, as it already did on Arc. - Verified on the Elysium explorer: script/verify.sh elysium (its Etherscan- compatible API answers scripts; the pages sit behind a bot checkpoint). Sourcify lists Elysium testnet only so far. - docs/LAUNCHPAD.md and the README deployments table name Elysium. The README says the site does not offer Elysium yet; the site copy comes with the switch-on. - the fork suite passed 11/11 right before the broadcast and again against the live deployment. Not in this commit: adding the record to contracts/deployed.lock. The PR guard blocks any change to the lock by design, so that is its own commit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Elysium (Kinetiq's Arbitrum Orbit L2 for Hyperliquid, chain 99901, gas paid in HYPE) as a deploy target. The deployed contracts run on it unchanged. Uniswap v4 is officially deployed there (Uniswap/contracts deployments/99901.md), so there is no new source file and nothing in
contracts/deployed.lockchanges.script/DeployLaunchFactory.s.sol: knows chain 99901 (PoolManager0xE2e1…23F1, PositionManager0x1d1C…E518) and deploys the plainLaunchFactory. HYPE is an ordinary native asset with no ERC-20 face sharing its balance (WHYPE is a separate wrapper), so the Arc native-quote guard does not apply.test/LaunchFactory.elysium.fork.t.sol(FORK_TESTS=true), against the live chain:0x8155…de72/0xcd16…842afrom the deployer's nonce 0, the same addresses as on Base, Robinhood Chain and ArcExactInputSingleParamslayout and refuse "v1". The layout is probed on a USDC pool on purpose: on a native-quoted pool both layouts go through, because the misread hookData offset lands oncurrency0 = address(0). A wrongswapLayoutwould pass every HYPE trade and break only ERC-20-quoted ones..env.example:ELYSIUM_RPC_URL.The app side (chain registry, HYPE price, indexer) follows in a separate PR, behind the "Coming soon" gate.
Deployed
Live on Elysium since 2026-11-10, block 3986599: tx
0x9ba554e22b4ed65f59435765c46d703b6be5085f74f2d917c4c80601e78c881e.0x815542E8b392389A1389E22E588E4B62A67Ade72and LaunchLocker0xcd1680D26922fcd9CabFbb8a56bA40C333fD842a, the same as on Base, Robinhood Chain and Arc (the deployer's nonce-0 transaction).script/verify.sh elysium, added here). Sourcify does not list Elysium mainnet yet.deployments/launchpad-elysium.jsonis LIVE;docs/LAUNCHPAD.mdand the README deployments table name Elysium.contracts/deployed.lockis a lock change, which the PR guard blocks by design. It goes in a separate commit.Test plan
FORK_TESTS=true forge test --match-contract LaunchFactoryElysiumFork -vv: 11/11 pass on the public RPC (2026-11-10)forge test --match-path test/LaunchFactory.t.sol: 33/33 passscript/check-deployed-sources.sh: ok, 13 files match the lockFORK_TESTSthe new suite skips (11 skipped)script/verify.sh elysium: both contracts verified on the Elysium explorer