For the complete documentation index, see llms.txt. This page is also available as Markdown.

Extensibility with Hooks

Hooks allow Hinkal to combine complex discreet DeFi strategies with shielded transactions. There are 2 types of hooks: pre-transaction hooks and post-transaction hooks.

Example hooks:

  1. Private Multi-Sender - Example: Send assets to all LPs within one transaction, confidentially.

  2. Custom checks after swap/staking - Example: If USDC price depegged by more than 2% after DAI swap - revert the transaction.

Last updated