LogoLogo
  • Introduction
    • Whitepaper (Preface)
    • Investors
  • Community Pre-Sale
    • Overview
  • How to create a wallet
  • How to buy $HINK
  • HINKAL WALLET
    • Features
    • Hinkal Points
    • Points Eligibility
    • Compliance
  • Developers
    • Hinkal SDK
    • SDK Integration
    • Smart Contract Addresses
  • ECOSYSTEM
    • Supported Chains
    • Media Kit
  • TECHNICAL DESCRIPTION
    • Overview
    • Setup
      • Keys and Shielded Addresses
      • Nullifiers & Commitments
    • Smart Contracts
      • Unexpected Relay Costs Accounting - Stealth Addresses
      • Extensibility with Hooks
    • Compliance & Security
      • Access Tokens and User Authentication
    • Transactions
      • Deposits & Withdrawals
      • Swaps
      • Transfers
    • Risks
  • Anonymity Staking
  • FAQ
Powered by GitBook
On this page
  1. TECHNICAL DESCRIPTION
  2. Smart Contracts

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:

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

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

PreviousUnexpected Relay Costs Accounting - Stealth AddressesNextCompliance & Security

Last updated 11 months ago