1. Architectural Intent

An on-chain constant product invariant ($x \cdot y = k$) decentralized exchange routing mechanism. The program enables permissionless pool creation, liquidity provisioning (LPing), and token asset swaps directly against liquidity state accounts. The architecture enforces mathematical balance checks natively within the Solana Sealevel runtime

2. Core Instructions & State Routing

3. Account State & Validation Layout

The program utilizes strict Anchor constraints and Program Derived Addresses (PDAs) to isolate state space and block unauthorized system interactions: