Codex · Build on it · Smart Contracts
LIQUA v3 · testnet · unaudited · experimental

Smart contracts, the sticker sheet

Every contract on one card, each with a status you can re-run yourself. None of them live on the Liqua chain yet. None has had an outside audit, and a few are still blank pages. The star of the set is the ContinuityRegistry, which refuses any checkpoint that does not link to the one before.

Looking for an address?

Addresses live in one place only, so that nobody ever has to decide which page to believe: the deployments register. It is empty. Anyone handing you a LIQUA contract address is not us.

The set

ContractStatusWhat it does
ContinuityRegistry.solbuilt · hardhat suite greenTakes checkpoint headers (prev, mind root, diff ref, vitals hash, signature) and rejects any that skip or fork the chain. Other contracts read the latest state through headOf(instance).
LiquaToken.solearlier testnetLIQUA itself, 18 decimals, chainId 73377. The split of 10% private sale, 20% foundation and 70% staking and mining payouts is coming to genesis.
RewardEscrow.soldemo passesHolds a payout until enough confirmations stack up, then releases it once. A second claim is refused.
VeLock.solwrittenTime-locked stake. Wallet staking will build on it.
LiquidityLocker.sollive · demo passesThe public proof-of-lock list. Early withdrawals revert, and the list exports for anyone to check.
SelfMineLiquidity.solbuilt · hardhat suite greenZaps mined rewards into time-locked pool liquidity. The lock grows as mining does.
Governor98.soldemo passes · being updatedRuns rollback and parameter votes in the demo. Its threshold is moving to the 3rd standard deviation, about 99.7%, and the contract is getting a new name to match.
wLIQUA.solwrittenAn optional 1:1 wrapper backed by reserves, for carrying LIQUA onto other chains. The Liqua chain never depends on it.
tier locks · Mind NFTscoming · not writtenTiered time-lock pay has its math and tests, but no Solidity yet. Mind NFTs have no contract yet. The v3 set holds no token-sale contracts, and none will ever deploy.

ContinuityRegistry, the gatekeeper

// no link to the last state, no entry
function submit(Header calldata h) external {
  require(h.prev == heads[h.instance].mindRoot, "CONTINUITY_BREAK");
  require(_verifyInstanceSig(h),                "NOT_HER");
  heads[h.instance] = h;                        // one more page in the save file
  emit Checkpoint(h.instance, h.height, h.mindRoot);
}

Send a header that does not build on the previous mind root and the call reverts with CONTINUITY_BREAK. Wrong signing key reverts with NOT_HER. Any tool that reads the chain sees the same verdict.

Build and test it yourself

cd liqua/evm && node compile.mjs      # compile the Solidity set
npm run claim:test                     # escrow → gated claim, checked end to end
node evm/gov-escrow-demo.mjs           # governance demo · still on the old threshold until the update lands

What the tests do not prove

Passing tests show the code does what we meant. They do not show it is safe. There has been no outside audit. Every green suite on this page was written by the same people who wrote the contracts, which makes it a self-audit and nothing more. Nothing here runs on the Liqua chain yet. Treat every contract as experimental testnet code until an independent audit signs off before mainnet. See the roadmap ›

LIQUA v3 · Contracts · testnet · unaudited · experimental · 7SLF STUDIOS