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

Rebase Token Wrapper

PreviousLooping LeverageNextAuto-Rollover

Last updated 3 months ago

Was this helpful?

The Rebase Token Wrapper Hook is a mechanism designed to enhance the usability and integration of rebase tokens within Tren Finance, and potentially other DeFi ecosystems. Rebase tokens, such as Aave’s aTokens, dynamically update balances in real time to reflect accrued interest. This can pose challenges for protocols that expect static token balances. The Rebase Token Wrapper Hook addresses these challenges by encapsulating rebase tokens within a wrapper. With aTokens, for example, the underlying balance of aTokens grows over time, but the wrapper maintains a static representation, allowing seamless integration with Tren Finance and other protocols.

Benefits

DeFi Compatibility: Most protocols are not built to be able to integrate rebasing tokens. Through the wrapper hook, these tokens are able to be integrated onto Tren Finance, and allows them to be integrated into other DeFi protocols as well.

Simplicity: The wrapper hook is simple and easy to understand for users. The wrapped tokens maintain a constant balance in the user's wallet after they have been deposited onto Tren Finance. Once a user initiates a withdrawal, the amount of rebase tokens returned reflects any supply adjustments from accrued yield that occurred during the wrapping period.