LogoLogo
Home Page
  • Get Started
    • What is Tren Finance?
      • LP Tokens
      • Money Market Deposits
      • Concentrated Liquidity Positions
      • PT Tokens
    • FAQ
  • TrenOS
    • What is TrenOS?
    • AI Agent Network
    • Learning & Data Processing
    • Agent Specialization
      • Interest Rate + Borrowing Fee Optimizer
      • XY
      • Asset Risk
      • Gauge
      • User Interaction
      • Market Sentiment
      • Yield Optimization
      • Proof of Liquidity
      • Collateral Manager
      • Liquidation Prediction
      • Ecosystem
    • Vector Databases & AI Knowledge Storage
    • TrenOS Architecture
    • Community-Driven AI Expansion
  • Protocol
    • Protocol Design & Risk Management
    • Isolated Modules
    • Liquidations
    • Asset Risk
      • Liquidity Risk
      • Oracle Risk
      • Security Risk
      • Centralisation Risk
    • Proof-of-Liquidity
    • Hooks
      • Looping Leverage
      • Rebase Token Wrapper
      • Auto-Rollover
      • Auto-Compounder
      • Router
    • FlashMint
    • Fees
    • Single Sided Liquidity (SSL)
    • Gauges
  • Tokens
    • XY
    • TREN & veTREN
  • Resources
    • Official Links
    • Security Audits
    • Contract Addresses
      • Withdrawing via Smart Contracts
    • Media Kit
Powered by GitBook
LogoLogo
On this page

Was this helpful?

  1. Protocol
  2. Hooks

Looping Leverage

PreviousHooksNextRebase Token Wrapper

Last updated 3 months ago

Was this helpful?

Through Hooks Tren Finance is able offer looping leverage for assets through its recursive lending engine. Users can gain high leverage on assets in one-click. With this functionality, users are able to employ a number of different strategies to optimize their yield. Read more about these . In the example above, a user wants to gain a 5x levered position on PT-USDe. Tren Finance calculates the XY needed for the user’s desired position, and XY is FlashBorrowed based on the amount required to attain the user’s desired PT-USDe postion. After the FlashBorrowed XY is used to acquire PT-USDe, the PT-USDe is then used to borrow XY in order to repay the FlashBorrow loan.

Benefits

Efficiency: Executing the entire leveraging process within a single transaction reduces gas fees and operational complexity.

Maximized Yield: By increasing exposure to yield-generating assets, users can potentially enhance their returns. In the example used above, the user would gain roughly 5x the typical yield on PT-USDe.

Automation: The hook automates repetitive steps, streamlining the user experience and minimizing manual intervention.

use cases and strategies
Page cover image