uniswap
v4-core
fees
calculate-swap-fee
lp-fee-bounds
protocol-fee
override-flag
hook-charge
revenue-splits
compliance-evidence
mcp:check_v4_hook_fee_conformance
V4 Hook Fee Conformance
Recomputes a Uniswap v4 pool’s per-swap fee from v4-core’s own rules at pinned a7cf038cd568801a79a9b4cf92cd5b52c95c8585 (calculateSwapFee composition), validates the packed protocol fee and LP-fee bounds, decodes the 0x400000 override, and checks each emitted fee: CONFORMS, OUT_OF_BOUNDS, FEE_MISMATCH, or INDETERMINATE. Accrues the declared hook charge in integer arithmetic with remainders reported; LP revenue reported separately, never netted. Evidence only; zero network.
Tool URL: https://ainumbers.co/chaingraph/art-709-v4-hook-fee-conformance.html AP2/Policy Mandate export: yes
post/v1/tools/check_v4_hook_fee_conformance
Request
- Base URL: https://ainumbers.co
- URL: https://ainumbers.co/v1/tools/check_v4_hook_fee_conformance
- Auth: none declared
Request body
Response
Successful tool execution result
Changes
No recorded changes to this operation across all 1 revision of this API.