> For the complete documentation index, see [llms.txt](https://docs.henjin.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.henjin.xyz/henjinai-protocol/hooks-v4.md).

# Hooks (v4)

<figure><img src="/files/stIFYnPNsNcUuh9upmdM" alt=""><figcaption></figcaption></figure>

By introducing hooks, Henjin v4 aims to provide a more modular and adaptable framework for DeFi (Decentralized Finance) applications, empowering developers to innovate and tailor the DEX to meet diverse needs and use cases. This flexibility is expected to drive further adoption and evolution of the Henjin protocol within the crypto ecosystem.
