Concepts
PropAMM
One market maker per pool, with its own pricing, instead of a crowd of passive LPs on a curve.
In a standard Uniswap pool anyone can add liquidity, and the price comes from a constant curve. In a Propium pool the hook rejects outside LPs, so the vault is the only market maker. That lets the pool quote from a real reference market instead of the curve.
What the hook does
- Before each swap: reads HyperCore market data (book depth, expected slippage for the size, oracle and mark price, block height) and sets the price and fee.
- After each swap: updates inventory and checks the on-chain caps.
- When inventory crosses the threshold: emits one aggregated hedge intent through the ElysiumCoreWriter predeploy.
Isolated pairs
Each pair runs in its own pool with its own limits, so one market cannot drain another.