Secreteumsecrdocs

Architecture

Four contracts of ours sit next to Pons and Uniswap v4.


Overview

  Wallet / app ──buy·sell──▶ BilinearPairings ──shield──▶ QuadraticArithmeticProgram ◀──donate── ArithmeticCircuit
        │                         │                     ▲                     ▲
        │ registerKeys            │ trade               │ Announcement        │ claim
        ▼                         ▼                     │                     │
  CryptographicCommitment      Pons curve → Uniswap v4 pool ┘             Pons FeeEscrow

Components

ContractRole
SECR tokenPons ERC-20, 2% creator fee to the Arithmetic Circuit
QuadraticArithmeticProgramHolds SECR, share balances, stealth transfers, signed unshields, price average, network fee
BilinearPairingsETH → SECR straight into the Quadratic Arithmetic Program; program shares → ETH
CryptographicCommitmentStores stealth meta-addresses (ERC-6538 style)
ArithmeticCircuitClaims Pons fees, buys SECR, donates to the Quadratic Arithmetic Program