Shadow Arena/Shadow Arena #018: Panoptic
DEX/AMMAdvanced

Shadow Arena #018: Panoptic

You built the Uniswap V3 concentrated-liquidity engine from scratch. Panoptic is not a fork of it — it is the layer that got shipped on top. Its SemiFungiblePositionManager mints and burns REAL Uniswap V3 liquidity as ERC-1155 option legs, turning your pool, position, and fee-growth machinery into a perpetual options market. That means the bugs live in the seam: code that drives the pool you wrote, reads the oracle you wrote, and deploys through the factory you wrote — but adds premium settlement, collateral shares, and CREATE2 pool cloning on top. This is the next layer up. 5 representative findings (2 H + 3 M).

Scope (4378 SLOC)

FileSLOC
contracts/SemiFungiblePositionManager.sol724
contracts/PanopticPool.sol1162
contracts/CollateralTracker.sol792
contracts/PanopticFactory.sol249
contracts/libraries/PanopticMath.sol573
contracts/libraries/Math.sol417
contracts/types/TokenId.sol305
contracts/types/LeftRight.sol156

Documentation

Part of the Uniswap V3 Path

This shadow audit connects to the Uniswap V3 Build module. Students who built the concentrated-liquidity pool have an advantage because they understand tick accounting, the swap loop, fee growth, the observation oracle, and callback-based payment.

View Build Module
Duration7 days
Total Findings5
Scope4378 SLOC
PriceFree