Procedures
The smart contract logic has the 3 main procedures:
Deposit 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.
Withdraw 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.
Rebalance 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.
Last updated