QALS Wiki · the qalarc networkgenerated 2026-09-06 · qalcode autonomous research

Parity rail, FloorBot, receivables vault, safety · 05_defi_trading/QALX_DEFI_PLATFORM.md

Qalx — The qalarc DeFi Platform & Safety/Verification Systems

Parent: 03_qals_architecture/QALS_ARCHITECTURE.mdCompanions: QALS_BACKING_DESIGN.md, 05_defi_trading/DEFI_PLAN.md (research base) • Date: 2026-09-06


1. What Qalx is

Qalx is the financial layer of the Qals system: the place where B-QALS (AU$1-backed credit), G-QALS (growth token), qAUD (future stablecoin) and compute receivables meet markets — an internal DeFi platform first, a registered exchange surface later (per 06_bank_exchange/ Phase 2 VASP registration).

Two-sided design: - Inside the wall (Phase 1): internal credit ledger + sponsored exchange — apps settle, treasury manages liquidity, agents pay each other. No public speculation. - Outside the wall (Phase 2+): registered spot venue for QALS/qAUD pairs, KYC-tiered, with the same safety stack.

2. Market stack (three layers)

2.1 Parity rail — B-QALS ⇄ qAUD

2.2 Utility discovery — G-QALS/qAUD (and G-QALS/B-QALS)

2.3 Receivables finance — compute & credit markets (the differentiated DeFi)

2.4 Order book (Phase B — "Qalbook")

3. Safety & verification systems (the spine)

3.1 Who watches the money

System Design
Oracle Committee 3-of-5 multisig (superlocal, minirig, bb-mini, cloud signer, one external key). Publishes signed Reserve/FloorVault statements on-chain; any 2 can trigger investigate mode.
Treasury Council 2-of-3 multisig for parameter changes (fees, floor ratchet, LTVs) + 48h timelock; all proposals and executions are on-chain objects with event streams.
Emergency pause Council multisig can pause mint/redeem/pools; pause auto-expires in 72h unless renewed with a published reason; every pause triggers a wiki post-mortem page.

3.2 Invariant enforcement (on-chain, not policy)

// Reserve entry points enforce, structurally:
assert!(reserve.aud_cents >= b_qals_supply * 100);   // mint gate
entry fun mint_against_deposit(...) cap AUD_DAILY_LIMIT; // rate limit
entry fun redeem(...) enforce TIMELOCK_10K;          // large-redemption fraud window
// FloorVault ratchet: floor_new >= floor_old — enforced by typestate (Ratchet struct)

3.3 Verification systems (productised)

  1. Proof-of-Reserves dashboard (wiki page + API): live B-QALS supply, attested AUD balance, coverage ratio, history chart. Anyone can verify the invariant.
  2. Job attestation registry: every compute settlement publishes provider-signed telemetry + output anchors; sampling verifier re-runs high-value jobs (see 07_compute_marketplace/ §4).
  3. Identity tiers: Qal ID DID + KYC VC tiers gate sizes (tier 0: AU$500; tier 1: AU$10k; tier 2: AU$100k+ per partner-KYC — Tokenized-KYC pattern from 09_identity_ai/).
  4. Agent spend proofs: every agent payment co-signed per epoch cap; chain-enforced (no off-chain trust).
  5. Audit trail product (IOTA Audit-Trails pattern): every admin action, pause, parameter change lands in an append-only trail anchored to public IOTA monthly.

3.4 Audit & disclosure ladder

4. Revenue model (Qalx as a business line)

Stream Rate (start) Notes
Parity rail fee 1–5 bps on credit throughput; immune to price volatility
AMM fee share 5 bps of volume LPs get 20 bps
Redemption fee 0.5% flows to FloorVault (backs G-QALS)
Receivables vault 1.5–3% flat on advances factoring margin
Qalbook maker/taker 0–2.5 bps (epoch-voted) Phase B
Listing/verification fixed for external compute providers, Phase 3

5. Build order

  1. v0 (with core contracts): parity redemption desk + Reserve mirror + Proof-of-Reserves page. Everything else can wait; trust comes first.
  2. v1: qalx::pool AMM (G-QALS/B-QALS) + FloorBot + dApp-kit trade UI.
  3. v2: receivables vault (compute receipts), identity-gated tiers.
  4. v3: Qalbook CLOB, external venue (post-VASP), perps/insurance fund (last, optional).