🦔
Liqui
  • 💻Overview
  • 🦔Hedgehog Strategy
    • Math
    • Procedures
      • Deposit
      • Withdraw
      • Rebalance
    • Parameters
    • Contract addresses
  • Resources
    • FAQ
    • Links
    • Blog
    • Twitter
    • Discord
    • Github
Powered by GitBook
On this page
  1. Hedgehog Strategy

Procedures

PreviousMathNextDeposit

Last updated 2 years ago

The smart contract logic has the 3 main procedures:

  1. The function takes users' tokens (ETH, USDC, and oSQTH) in a certain proportion required by the algorithm and returns ownership claims for a certain fraction of the assets held in the strategy.

  2. The function that burns ownership claims and returns tokens to the user. The tokens are returned in a proportion that the strategy has during the function call.

  3. To keep desired linear ETH exposure, the strategy periodically executes so-called rebalance auctions, a procedure during which the strategy sells excess and buys missing tokens in order to achieve the necessary token proportion, which will provide target ETH price exposure.

🦔
Deposit
Withdraw
Rebalance