ART-708 · OpenChainGraph · Compliance Control
v1.0.0

V4 Hook Permission Reconciler

Decodes a Uniswap v4 hook address’s 14 permission bits (the low 14 bits of the address, per v4-core at the pinned commit a7cf038cd568801a79a9b4cf92cd5b52c95c8585 (src/libraries/Hooks.sol)) against a caller-declared callback set: each flag is reported MATCH, DECLARED_NOT_SET (the callback will never fire) or SET_NOT_DECLARED (the PoolManager calls an undisclosed function). Replicates v4-core’s isValidHookAddress validity rule: every return-delta flag requires its base flag, the zero address must not carry a dynamic fee, and a non-zero hook needs at least one flag set or a dynamic pool fee (0x800000). Accepts the declaration flat (all 14 booleans required; a missing key is a refusal, never a default) or in the Uniswap hooklist entry shape, reconciling a declared dynamicFee with the caller’s pool_fee. Zero network: it never reads a chain and decodes only what you supply.

Policy Mandate Export Compliance Control compliance_control Proof deferred
🔒 All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data: use synthetic or anonymised inputs only.
Result