Current IDLs are synced from protocol-maintained repositories or packages. JSON key order and
formatting may differ; use a canonical JSON hash (`jq -S -c .`) when comparing copies.
Raydium AMM V4 is not an Anchor program and has no current protocol-maintained Anchor IDL. Its
instruction and `ray_log` layouts are validated against `raydium-io/raydium-amm` source. The
`raydium_amm_v4.json` and `raydium_pool_v4.json` files remain compatibility references.