fix: onchain/AGENTS.md:71 missing conditional guard on feeDestination/stakingPool exclusion (#891)

This commit is contained in:
openhands 2026-03-17 11:37:12 +00:00
parent 1ff2269d16
commit ad7a45a40e

View file

@ -68,4 +68,4 @@ The staking system traces a triangle in (staking%, avgTax) space:
- Respect access controls (`onlyLiquidityManager`, owner).
- `token0isWeth` flips amount semantics — confirm ordering before interpreting liquidity.
- Floor uses `vwapX96` directly (not sqrt) in fixed-point math.
- Outstanding supply excludes LM position balances and KRK held by `feeDestination`/`stakingPool`.
- Outstanding supply excludes LM position balances and KRK held by `feeDestination` (only when `feeDestination != address(0) && feeDestination != address(this)`) and `stakingPool` (only when `stakingPoolAddr != address(0)`).