# Rebase Token Wrapper

<figure><img src="/files/8hV3AeEtwJYqtAe9Ywc8" alt=""><figcaption></figcaption></figure>

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tren.finance/protocol/hooks/rebase-token-wrapper.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
