Skip to Content
Liquid Quantdocs

Deployments

Contract addresses on Elysium, and how the contracts are deployed.

Elysium (chain ID 99901)

ContractAddress
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

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):

  1. plan(deployer, chainId) prints the planned addresses, the harvester's included.
  2. The token is launched on Volta, naming as creator the planned harvester or a CREATOR wallet.
  3. check() verifies TOKEN and POOL_ID against Volta, read only.
  4. 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.
  5. handOver(), from the CREATOR wallet 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

ParameterDefault
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.

On this page