Deployments
Contract addresses on Elysium, and how the contracts are deployed.
Elysium (chain ID 99901)
| Contract | Address |
|---|---|
| LQNT token | — |
| QuantumVault (proxy) | — |
| QuantumRouter (proxy) | — |
| FeeHarvester (proxy) | — |
Liquid Quant's own contracts are not deployed yet: their addresses, and the pool ID, appear here at deployment.
What they are wired to
| Address | |
|---|---|
| ERC-4337 EntryPoint v0.8 | 0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108 |
| Uniswap v4 PoolManager | 0xE2e105d3F7209A9DA11f83cCf3E7398a753823F1 |
| Volta PositionManager (pool hook) | 0x3aB88DDc3CF2A012af88B60828edb4553697E5dC |
| Volta FeeEscrow | 0x3D36Beb546E451584736957F97E7EE9D2aCbD9a5 |
| Volta CreatorNFT | 0xac466Ee5CEdD012eB750DBDA0B935F8B997402c7 |
| CreateX | 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed |
| Pool ID | — |
Deterministic addresses
The vault, the router and the harvester are each an implementation behind an ERC-1967 proxy, and every one of them
goes through CreateX's CREATE3 with a salt guarded by the deployer and the chain. Their addresses depend only on the
deployer, the chain and DEPLOY_VERSION, so they are known before the token exists: the launch can name the planned
harvester as the creator of the token. The implementations hold the fixed addresses as immutables, and each proxy is
initialized as it is created.
How they are deployed
The token is launched on Volta outside the deploy script (contracts/script/Deploy.s.sol, whose header lists the
environment variables):
plan(deployer, chainId)prints the planned addresses, the harvester's included.- The token is launched on Volta, naming as creator the planned harvester or a
CREATORwallet. check()verifiesTOKENandPOOL_IDagainst Volta, read only.run()checks again, deploys the implementations and the proxies, buys the seed and shields it into an account nobody holds the key of (keccak256("liquid-quant/locked-seed")), and funds the vault's gas deposit.handOver(), from theCREATORwallet if the launch named one, sends the creator NFT to the harvester.
On Elysium the script requires UPGRADER, so the deployer never ends up holding the upgrade role by accident.
Parameters
| Parameter | Default |
|---|---|
maxOpCostWei (vault) | 0.003 HYPE |
targetDeposit (harvester) | 0.1 HYPE |
TEAM_SHARE_BPS (harvester) | 5000 (a constant) |
The deploy script writes the addresses to contracts/deployments/99901.json.