Skip to content

Docs

Contracts

Deployed testnet addresses, chain id and RPC.

Network

FieldValue
NetworkElysium Testnet
Chain id99801
RPChttps://testnet-rpc.elysium.kinetiq.xyz
Native currencyHYPE, 18 decimals

Wallets that do not know the network can add it from the site: connect, then use "Switch to Elysium Testnet".

Deployed addresses

ContractAddressRole
DealFactoryCreates Deal clones, indexes deals, holds no funds
DealImplementationLogic every Deal clone delegates to
TreasuryReceives the 1 % fee; no withdraw function
TermRegistryLists official and custom Terms
ArrhaLensStateless batched reads for the site
TermGraduatedTerm: launchpad graduation
TermMarketCapTerm: TWAP market cap held for a period
TermVolumeTerm: volume since creation
TermLiquidityTerm: liquidity held for a period
TermListedTerm: HyperCore spot listing
TermOathTerm: oath score
TermClockTerm: linear vesting with pause
MockLaunchpadTestnet mock, permissionless
MockListingOracleTestnet mock, permissionless
MockOathTestnet mock, permissionless

Addresses are read from packages/contracts/deployments/elysium-testnet.json, which the deploy script writes. The site never hard-codes them.

What each contract does

ContractRole
DealFactoryCreates Deal clones, moves the earnest into them, keeps the index of deals by payer, payee and subject token, and counts locked, released and refunded HYPE. Holds no funds.
Deal implementationThe logic every Deal clone delegates to. Locked; cannot be used directly.
TreasuryReceives the 1 % fee. No owner, no withdraw. buybackAndBurn() reverts with ArrhaNotLaunched().
TermRegistryLists the seven official Terms and any custom Term registered by anyone.
ArrhaLensRead-only helper that batches the views the site needs. Holds nothing, writes nothing.
TermGraduatedGraduated Term. Reads MockLaunchpad.
TermMarketCapMarket cap Term. 30 min TWAP, hold time, liquidity floor.
TermVolumeVolume since creation.
TermLiquidityLiquidity held for a period.
TermListedHyperCore spot listing. Reads MockListingOracle.
TermOathOath score. Reads MockOath.
TermClockLinear vesting with pause. Partial settlement.
MockLaunchpadTestnet launchpad. Anyone can graduate a token.
MockListingOracleTestnet listing oracle. Anyone can set a listing.
MockOathTestnet oath registry. Anyone can set a score.

Demo tokens BRINE, MOSS and KEEL and their MockTwapPool contracts are deployed by the seed script and appear in the deal wizard, the ledger and on Earnest.

Interfaces

interface ITerm {
    function check(address deal, bytes calldata data) external view returns (bool);
    function describe(bytes calldata data) external pure returns (string memory);
}

Optional extensions: ITermObserver.observe(deal, data) for Terms that measure over time, IPartialTerm.releasableBps(deal, data) for partial Terms, and ITermProgress.progress(deal, data) for the raw numbers behind the boolean.

Source

Contract source, tests and scripts live in packages/contracts. Built with Foundry, Solidity 0.8.24, EVM target Shanghai. Unaudited testnet build.