๐Ÿ›ก
Desert Exchange VASP VARA-style regulated treasury ยท s0sta.com/vara
โ€”
Treasury status โ€”
Client liabilities (AED-S) โ€”
House equity (AED-S) โ€”
Capital reserve โ€”
Your role โ€”
๐Ÿ‘ค

Your Account

AED-S balanceโ€”
ETH balanceโ€”
KYC tierโ€”
Daily limitโ€”
Daily usedโ€”
โš–

Compliance Console

๐Ÿ›ก

Guardian & Operations

๐Ÿ“–

How to use this dApp

  1. Connect your wallet โ€” press Connect Wallet in the top-right. The dApp is configured for the Sepolia testnet (see the chain badge); approve the network switch in your wallet if prompted.
  2. Check your account โ€” the Your Account card shows your AED-S and ETH balances, KYC tier and daily withdrawal limits.
  3. Deposit funds โ€” enter an amount and press Deposit (AED-S) or Deposit ETH. For AED-S the dApp first asks you to approve the token spend, then credits your segregated client ledger.
  4. Withdraw โ€” fill Withdraw to (yourself or an approved counterparty) and the amount, then press Withdraw. KYC limits and the capital reserve are enforced on-chain.
  5. Operate as staff โ€” the Compliance Console sets KYC tiers, sanctions, freezes and counterparties; Guardian & Operations pauses the treasury, sets the reserve ratio and recovery address, and runs the emergency drain.
โ›“

The process โ€” what happens on-chain

  1. KYC & screening โ€” the ComplianceModule contract stores each account's KYC tier (None / Standard / Enhanced), sanction and freeze flags; the treasury calls isBlocked() before every deposit and withdrawal.
  2. Client deposit โ€” VASPTreasury.deposit() / depositEth() verify the asset is listed, take custody of AED-S (MockStable) or ETH into a segregated client ledger, and checkpoint client totals per block for audit.
  3. Withdrawal limits โ€” VASPTreasury reads the ComplianceModule KYC-tier limits and enforces per-transaction and rolling 24-hour ceilings before funds can leave.
  4. Capital reserve โ€” every outflow re-checks that house equity stays at least reserveBps ร— client liabilities per asset, otherwise the transaction reverts.
  5. Regulatory & emergency powers โ€” the guardian can pause() the treasury; while paused, emergencyDrain() sends every asset to the licensed recovery address. Compliance can forcedTransfer() frozen clients' funds to recovery.
๐Ÿ”„

Flow graph โ€” funds through the treasury

VARA Treasury on-chain flow 1 KYC & screening ComplianceModule 2 Client deposit VASPTreasury 3 Withdraw & limits ComplianceModule 4 Reserve check VASPTreasury 5 Pause & drain VASPTreasury guardian

Amber boxes are on-chain stages; blue arrows trace client funds from deposit to the guardian's emergency drain.