Rebase Token Wrapper
Last updated
Was this helpful?
Last updated
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.
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.