---
description: Brief description of the Redeem technology.
---

# Redeem

The Redeem function in the TRP ecosystem enables users to convert their SMART tokens back into the underlying token. This process allows users to exit their positions and realize the value of their investments in a straightforward and transparent manner.

Process Overview

1. **Initiate Redemption:**
   * Users can initiate the redemption process by calling the `redeem` method on the SMART Token contracts. This method converts the SMART tokens (RiskOn and RiskOff) back into the underlying token.
2. Redemption Parameters:
   * **shares:** The number of SMART tokens the user wishes to redeem.
   * **recipient:** The address that will receive the underlying tokens
   * **owner**:  The address of the owner of the SMART tokens
3. Conversion and Transfer:
   * Upon initiating the redemption, the SMART tokens are converted back into the underlying token at the current rate defined by the platform's algorithms.
   * The equivalent amount of the underlying token is then transferred to the recipient’s address.

**Example Usage**

**Benefits**

* **Liquidity Access:** Provides users with the ability to liquidate their positions and access their underlying assets quickly.
* **Flexibility:** Users can choose to redeem part or all of their SMART token holdings based on their investment strategy and market conditions.
* **Transparency:** The redemption process is transparent, allowing users to track the conversion rates and resulting balances through the platform's interface.

**Process**:

1. Initiate Redemption:
   * Users call the `redeem` function on the SMART token contract, specifying the number of shares they wish to redeem and the recipient address along with the owner's address.
2. Conversion to Underlying Token
   * The platform’s algorithms calculate the current rate for converting SMART tokens back into the underlying token. The redemption process is executed based on these calculations. \
     Current Algorithm:\
     `1 RiskON + 1 RiskOFF = 1 Underlying`
3. Transfer of Underlying Token
   * The equivalent amount of the underlying token is transferred to the recipient’s address, completing the redemption process, and the corresponding RiskON/OFF are burned.

