CooketCurveV3. The invariant uses virtual reserves:
2,415 USDC + active reserve; the virtual token coordinate is the initial virtual token reserve minus sold supply.
Buy accounting
For gross native-USDC inputG:
Sell accounting
The curve computes a gross reserve output from the reduced sold supply. That amount is removed from the active reserve. The 1% fee is calculated on the gross curve output, and the seller receives gross output minus the fee. Token input and native-USDC output round conservatively; dust trades revert. Buys and sells include minimum-output and deadline checks. After graduation, both quote functions and curve trading revert withTradingClosed.
Forced native value is reported as unaccounted native USDC and is excluded from reserve coordinates, quotes, and spot-price calculations.