# GroFi Dex Intro

GroFi Dex is a one-stop-shop for Defi in U2U ecosystem that aims to optimize capital efficiency and provide more control and flexibility to liquidity providers and traders through the utilization of our core technology.

Our platform integrates Automated Market Maker (AMM), Liquidity Provider, Yield Farming, Staking, more to come soon🔥... This enables users to seamlessly provide liquidity, trade diverse assets, engage in activities and earn U2U rewards effortlessly. GroFi Dex is designed to eliminate the flaws of existing approaches, enabling proper money markets to function while providing a safe, positive-yield approach to liquidity provision.

{% hint style="warning" %}
At the moment, this documentation applies to the Testnet environment.
{% endhint %}

<figure><img src="/files/3wWCtXkpy9164IS4wE8H" alt=""><figcaption></figcaption></figure>

> GroFi Dex maximizes your crypto potential through 3 key avenues:
>
> Trade, Earn, and Win.

## Buy/Sell

> Easily exchange crypto tokens instantly, no registration or account required.&#x20;

### Why choose?

> GroFi Dex is the leading decentralized exchange on U2U Chain, boasting the highest trading volumes in the market.

### Low fees

GroFi Dex operates on U2U Chain, a blockchain with significantly lower transaction costs compared to BNB Smart Chain, Ethereum, or Bitcoin.&#x20;

Our trading fees are also lower than those of other top decentralized exchanges, offering you a double benefit!

### Decentralized

Trade directly from [U2U Super App](https://u2u.xyz/ecosystem/super-app) and other wallet apps.

Unlike centralized exchanges such as Binance or Coinbase, GroFi Dex doesn’t hold your funds during trades—ensuring you retain 100% ownership of your crypto assets.

## Earn

> Earn U2U and other tokens for free with exceptionally high interest rates.

### Earn tokens with Stake pools

Stake U2U, earn tokens effortlessly. It's that simple. U2U holders are currently receiving additional U2U and potential rewards. With new projects frequently joining, you can accumulate more rewards over an extended period.

### Earn U2U with Yield farms

Stake LP tokens, earn U2U. While this involves slightly more exposure to market fluctuations, you can potentially earn a higher APR to offset the risk.

### Earn Trading fees <a href="#earn-trading-fees" id="earn-trading-fees"></a>

No farm? No worries. Even if your trading pair isn’t listed on the Farms page, you can still earn trading fees by staking your tokens in Liquidity Pools (LPs).

## Win <a href="#win" id="win"></a>

> GroFi Dex turns earning into a rewarding experience.&#x20;
>
> Achieve higher yields on your U2U deposit by combining U2U lock-staking.

## Is GroFi Dex safe?

### Transparent

We're built on open-source software: our website and all Smart Contracts are publicly visible, ensuring complete transparency.

Our contracts will undergo verification on U2U Chain upon GroFi Dex's mainnet launch.

### Best security practices

* The developers utilize multisig for all contracts, ensuring enhanced protection.
* Our contracts' time-locks provide peace of mind.


# How to connect wallet?

To connect your wallet to GroFi Dex on Desktop/Web Browser wallets and U2U Super App, follow these steps:

## U2U Super App

**Step 1:** Visit [U2U Super App](https://u2u.xyz/ecosystem/super-app) to download from [App Store](https://apps.apple.com/vn/app/u2u-super-app/id6471394866) or [Google Play](https://play.google.com/store/apps/details?id=com.u2umobilewallet\&pli=1) and follow all steps outlined [here](https://docs.u2u.xyz/services/wallets/u2u-super-app) to create a new wallet.

<figure><img src="/files/bI1wq5Xa0drMtJxE46RI" alt="" width="375"><figcaption></figcaption></figure>

**Step 2:** On the main screen, navigate to the Ecosystem section.

<figure><img src="/files/OCi6nbNNAhmGRD2cX7NT" alt="" width="375"><figcaption></figcaption></figure>

**Step 3:** Open the [GroFi Dex](https://testnet.grofidex.io/) website.&#x20;

<figure><img src="/files/eBuoAQsGQ9psrMUEvJf5" alt="" width="375"><figcaption></figcaption></figure>

**Step 4:** Click on the "Injected/Metamask" icon to connect and use it.

<div><figure><img src="/files/1Lur1jGf1Wz13S35vhoB" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/vskKe92HEDaN7kF5wXas" alt="" width="375"><figcaption></figcaption></figure></div>

## Desktop/Web Browser wallets

**Step 1:** Setup Desktop/web browser wallets that supporting EVM network such as [Metamask](https://metamask.io/download/), [Coinbase Wallet](https://www.coinbase.com/wallet/downloads),...and import your U2U Super App's wallet address into them.

**Step 2:** Access the [GroFi Dex](https://testnet.grofidex.io/) website.

**Step 3:** Click on the "Connect" button at the top of the page. A pop-up window will appear.

<div align="center"><figure><img src="/files/MrWIhsJCt3w6eVegSuNF" alt=""><figcaption></figcaption></figure></div>

**Step 4:** Click on the "Injected/Metamask" icon. The "Check your network" screen will appear.

<div align="center"><figure><img src="/files/j5Y8vkbKQUeAHUpCXALe" alt=""><figcaption></figcaption></figure></div>

**Step 5:** Check your network

**5.1.** Add Network in the top-right corner to manually add U2U Network – it doesn’t come packaged with MetaMask.

<figure><img src="/files/UjFMwqjswXskPgTHnmwJ" alt=""><figcaption></figcaption></figure>

#### TESTNET <a href="#testnet" id="testnet"></a>

**Network Name:** U2U Nebulas&#x20;

**New RPC URL:** [https://rpc-nebulas-testnet.uniultra.xyz](https://rpc-nebulas-testnet.uniultra.xyz/)

**ChainID:** 2484

**Symbol:** U2U

**Block Explorer URL:** [https://testnet.u2uscan.xyz](https://testnet.u2uscan.xyz/)

**5.2.** Or click on the "Switch network in wallet" button to confirm the connected network automatically.

<div align="center"><figure><img src="/files/ILrz9zWsxiKd1njl85UV" alt=""><figcaption></figcaption></figure></div>


# How to get U2U for gas

You can faucet U2U tesnet easily at <https://faucet.uniultra.xyz/>. You can request 10 U2U every 1h without any authentication.

U2U faucet is a developer tool to get U2U testnet in order to test and troubleshoot your decentralized application or protocol before going live on U2U Chain mainnet, where one must use real U2U.


# Staking

<figure><img src="/files/haFD40zcjD8T6c6ecEvK" alt=""><figcaption></figcaption></figure>

### What is GroFi Dex Staking?

GroFi Dex staking system is a system that allows users to stake their U2U into the system to receive rewards.

You can be anyone with a large or small amount of U2U. When you stake U2U into the GroFi Dex system, the reward you receive will depend on the number of U2U you stake and the APR during the time you stake.

### stNFT

Every time a U2U staking user is added to the system, they will receive 1 stNFT corresponding to the amount U2U staked in the transaction.

<div align="left"><figure><img src="/files/1J5zSLkaMVmNJPNSqkr5" alt=""><figcaption></figcaption></figure></div>

This stNFT is a guarantee of shares that the user has staked into the system. When you are the owner of any stNFT, the system will understand that you are staking a corresponding amount of U2U.

This stNFT guarantees the user's stake in the GroFi Dex system, valid throughout the GroFi Dex system. There, users can use stNFT to participate in Lending, Launchpad,...

### Operating mechanism

Building activities based on staking mechanism for validators in the U2U Chain Network system

Every time a user staking U2U into the GroFi Dex system, GroFi Dex smart contracts will stake that amount of u2u to the validator nodes of the U2U Chain Network, which is a Delegator.

Rewards received from the validator node will be redistributed to users 95% of total rewards and the remaining 5% will be transferred to the Treasury Vault.

### APR staking

APR value (Annual Percentage Rate) - a value that changes regularly, automatically calculated by the system based on the number of U2U tokens staking in the system and the reward that the validator receives when participating in the block validation process in the U2U chain network.

### Claim reward anytime

When you have a reward, you can claim it whenever you want. GroFi Dex smart contracts will automatically update your reward to the total reward for each of your stake packages, normally the system will update the reward every 7 minutes.

### Unstake & Withdrawn

Whenever you have no need to stake, you can completely unstake the staking package you are participating in and withdraw to receive back the amount of U2U you put in to stake in the system.


# How to join Staking?

<figure><img src="/files/v1ZBhR9S9Yw6jEy8h9wj" alt=""><figcaption></figcaption></figure>

To stake, you first need to make sure you have U2U in your assets.

{% hint style="success" %}
In the documentation, we use Metamask Wallet for connection and transaction verification examples. You can still use other wallets to work with GroFi Dex Staking.
{% endhint %}

#### 1- Connect wallet

First, you need to connect your wallet to GroFi Dex Staking. [How to connect wallet?](/getting-started/how-to-connect-wallet)

On the navigation bar, find the "Connect wallet" button.

<figure><img src="/files/Ss6rAg6YocqrFWuMadYo" alt=""><figcaption></figcaption></figure>

In case you are choosing a network other than U2U Network, please click "Switch network in wallet" to use U2U Network

<div align="left"><figure><img src="/files/MM0EkirMvEjLv3COjDn7" alt=""><figcaption></figcaption></figure></div>

#### 2- Enter amount stake

Next, when you have successfully connected. Enter the amount you want to stake. The system allows you to quickly select milestones of 25%, 50%, 75%, 100% of your U2U assets and click stake.

When participating in staking, users need to stake an amount greater than the minimum value. Currently, the minimum value is 1 U2U.

<div align="left"><figure><img src="/files/8WmWSN9gZlby0ag9EAvK" alt=""><figcaption></figcaption></figure></div>

#### 3- Confirm transaction

Next, make transaction confirmation on your wallet to complete staking.

<div align="left"><figure><img src="/files/ixwSlDGE1GSbTfhXsWFQ" alt=""><figcaption></figcaption></figure></div>

#### 4- Completed

Finally, when the transaction is successful, check your stake package on the interface.

<figure><img src="/files/ZSoc0oljObEhMMWVbTL4" alt=""><figcaption></figcaption></figure>

Your staking has been completed, the rewards you receive will be updated continuously (refreshing every 7 minutes). The more you stake, the more rewards you will receive.


# How to Claim Reward?

<figure><img src="/files/DzAvUmYdniQITxkarz2c" alt=""><figcaption></figcaption></figure>

After a period of staking, your reward is big enough and you want to claim it in your wallet.

#### 1- Click claim reward

To receive staking rewards, you need to select a staking package, click the "Claim" button.

<figure><img src="/files/fpC8XZexEv08tGNZfcL8" alt=""><figcaption></figcaption></figure>

#### 2- Confirm transaction

You need to verify the transaction on your wallet to complete the rerawd claim

<div align="left"><figure><img src="/files/t4P55MyBrJnZRgQ6fTP8" alt=""><figcaption></figcaption></figure></div>

The system displays a successful transaction message.

<div align="left"><figure><img src="/files/OIp63vyPfmvIdUzlUf0u" alt=""><figcaption></figcaption></figure></div>

Finally, you can see that the U2U reward value on the interface has returned to 0, you have successfully claimed, the U2U reward has been claimed to your wallet.

<figure><img src="/files/v5VqwyArbASct8AblTX6" alt=""><figcaption></figcaption></figure>


# How to Unstake & Withdrawn?

<figure><img src="/files/RdSXPjxK4Gd9OEQFnBNE" alt=""><figcaption></figcaption></figure>

To withdraw your U2U stake, you need to unstake and then withdraw your U2U. To do this, please follow the instructions below, which will help you complete the U2U withdrawal to your wallet.

#### 1- Unstake your package

First, select the stake package you want to withdraw U2U. Next, click the "Unstake" button.

<figure><img src="/files/yeJk01NNAWz2EIA7NG23" alt=""><figcaption></figcaption></figure>

You do not need to claim the reward before unstaking, because the system will check your reward and claim it for you when you make the unstake transaction.

#### 2- Confirm the unstake transaction

Next, click "Confirm" button to confirm the unstake transaction.

<div align="left"><figure><img src="/files/qZbWm0rTlTsXPpV70YqH" alt=""><figcaption></figcaption></figure></div>

You need to verify the transaction on your wallet to complete the rerawd claim, please click "Confirm" button.

<div align="left"><figure><img src="/files/1ip4CRTX8MKT4pnLMa5i" alt=""><figcaption></figcaption></figure></div>

Successful transaction notification screen.

<div align="left"><figure><img src="/files/dxg6TjsW5mKgcOFFO0JS" alt=""><figcaption></figcaption></figure></div>

#### 3- Prepare withdrawn

After unstaking, you need to wait 30 minutes for the system to process the unstake from the Validator Node and prepare the U2U token for you to withdraw.

<figure><img src="/files/7SA2urJ4BrEIkqMpoOns" alt=""><figcaption></figcaption></figure>

#### 4 - Withdrawn U2U token

Finally, after the countdown ends, please click the "Withdrawn" button to complete the withdrawal of U2U to your wallet.&#x20;

<figure><img src="/files/31mNYJ8fzXeN8bmn8Lv2" alt=""><figcaption></figcaption></figure>

Click "Confirm" to finish the withdrawal process.

<div align="left"><figure><img src="/files/9W1GqapJxwLKipZNF5Z3" alt=""><figcaption></figcaption></figure></div>


# Exchange

<figure><img src="/files/su4cpeoYBSfZdGheaqdW" alt=""><figcaption></figcaption></figure>

GroFi Dex serves as the core Automated Market Maker (AMM) on U2U Chain, positioning itself as the leading decentralized exchange (DEX) on U2U Chain.

GroFi Dex offers various features to facilitate decentralized trading:

## Buy/Sell

[GroFi Dex ](https://testnet.grofidex.io/swap)enables users to trade directly, bypassing the need for a Centralized Exchange. Transactions on GroFi Dex are routed through users' own wallets, eliminating the necessity to rely on third parties with their coins.

## Liquidity Pools <a href="#liquidity-pools" id="liquidity-pools"></a>

You can only swap tokens on [GroFi Dex](https://testnet.grofidex.io/pair) upon the availability of enough liquidity. If there's insufficient liquidity for the desired tokens, swapping may become challenging, costly, or even unfeasible.&#x20;

By providing liquidity, users receive LP Tokens, entitling them to rewards in the form of trading fees, thereby ensuring consistent liquidity provision for the exchange.

## Yield Farming

Yield farming on [GroFi Dex](https://testnet.grofidex.io/farms) allows liquidity providers to earn U2U rewards by locking their LP tokens into a smart contract. This incentivizes users to manage the risk of [impermanent loss](https://academy.binance.com/en/articles/impermanent-loss-explained) associated with locking liquidity.


# Token Swaps

<figure><img src="/files/Cxa1wd6DFSOFl3UMT2Re" alt=""><figcaption></figcaption></figure>

Token swaps on GroFi Dex provide a straightforward method for trading one token for another through automated liquidity pools on U2U Chain.

<div align="center"><figure><img src="/files/0eyLmnWndATCVEIWr86T" alt=""><figcaption></figcaption></figure></div>

When making a token swap (Buy/Sell) on GroFi Dex, you'll pay trading fees based on the liquidity pool your trade is routed through. You can review route details by clicking the magnifying glass icon in the “Route” section.

For exchange liquidity pools, there are currently 4 different fee tiers: 0.01%, 0.05%, 0.25%, and 1%.


# How to Trade?

<figure><img src="/files/PhYCi4V6CKaAq06v33Mn" alt=""><figcaption></figcaption></figure>

Trading on GroFi Dex is exceptionally user-friendly compared to many exchanges. You won't feel overwhelmed by complex charts or technical terminology. GroFi Dex Smart Router takes care of trading routes and calculations on your behalf, ensuring a seamless experience.

Before you can trade, you will need a U2U wallet or an EVM-compatible wallet. Find out how to get one [here](/getting-started/how-to-connect-wallet).

## Buy/Sell on the GroFi Dex exchange

**Step 1:** Go to [GroFi Dex](https://testnet.grofidex.io/) website.&#x20;

**Step 2:** To unlock your wallet, simply click on **Connect Wallet** (also accessible in the top right-hand corner).

<div align="center"><figure><img src="/files/Qd9begB3LP9ZIywJcGUb" alt="" width="319"><figcaption></figcaption></figure></div>

**Step 3:** Select the token you wish to pair (tokens to buy/sell) from the drop-down menu in the upper section. Ensure you have an adequate balance of the chosen token in your wallet for trading. Your current balance is displayed above the token drop-down menu.

<div align="center"><figure><img src="/files/UUgDOxEa0VvMwfXUSICk" alt="" width="563"><figcaption></figcaption></figure></div>

**Step 4:** Enter the amount of tokens you want to purchase in the Amount (Token) section to input the amount of tokens you want to Buy (receiving amount). Or, enter an amount of tokens in the Total (Token) section to input the amount of tokens you want to spend to Buy (spending amount).

Regardless of which section you input your amount, the corresponding amount in the other section will be automatically estimated.

**Step 5:** Check all the details and click the **Buy** button.

If you're trading a token for the first time, you may need to click "Enable XXX (your token)" to authorize it.

<div align="center"><figure><img src="/files/49dxxP08KodGopLroOJb" alt="" width="323"><figcaption></figcaption></figure></div>

**Step 6:** A window displaying more details will appear. Please review the information to ensure its accuracy. When you're ready, click the **Confirm Buy** button. Your wallet will prompt you to confirm the action.

<div align="center"><figure><img src="/files/xyDfMvfe3EzFu8u5gHzr" alt="" width="319"><figcaption></figcaption></figure></div>

**Step 7:** Transaction completed! You can verify your transaction on the blockchain explorer by clicking the provided link above.

<div align="center"><figure><img src="/files/CodVqR47FLYhWsrkF98y" alt="" width="318"><figcaption></figcaption></figure></div>

Smart Router is now the default route for GroFi Dex, enabling trades across multiple pools to secure the best prices for traders. Nonetheless, users retain the flexibility to customize it based on their preferences and needs.

To learn more about how to customize your trade routes, [click here](/features/exchange/fees-and-routes).


# Fees and Routes

<figure><img src="/files/UAE2pr4VOMxYpaltD7CR" alt=""><figcaption></figcaption></figure>

On default, GroFi Dex Router will utilize to execute trades and find the best price for traders.

However, users retain the option to customize their trades by selecting the liquidity sources for the router, and enabling or disabling multihops and split routing.

## **Check** the currently applied fee rate and fee amount <a href="#check-the-fee-rate-and-fee-amount-that-is-currently-applied" id="check-the-fee-rate-and-fee-amount-that-is-currently-applied"></a>

To review the trading charges for your current swap, refer to the “Fee” section in the swap details.

<div align="center"><figure><img src="/files/PScCimiToam8sxSQ9vUq" alt=""><figcaption></figcaption></figure></div>

To review the type of pool and the fee tier through which your trade is currently routed, refer to the “Route” section.

<div align="center"><figure><img src="/files/S9B7HPRhsmNbhU0tRwI7" alt=""><figcaption></figcaption></figure></div>

For more detailed information, click the magnifying glass icon to display the full trading route.

<figure><img src="/files/yhpbTRa4WaG97uyl06fC" alt="" width="422"><figcaption></figcaption></figure>

## **Customize routing preferences** <a href="#customize-routing-preferences" id="customize-routing-preferences"></a>

At the bottom of the **Customize Routing** interface, you have the option to adjust your routing preferences by enabling or disabling multihops and split routing.

<div align="center"><figure><img src="/files/40W6AP3SqHo6EpT4rrTB" alt=""><figcaption></figcaption></figure></div>

* Multihops enable tokens to swap through multiple hops across several liquidity pools to secure the best deal. Disabling it will limit trades to direct swaps, potentially resulting in higher slippage or even loss of funds.
* Split routing enables token swaps to be divided into multiple routes to secure the best deal. Disabling it will confine trades to a single route, potentially leading to lower efficiency or higher slippage.

{% hint style="info" %}
If your trade can not be executed due to customized trading configurations, a warning will appear. You can click “Check your settings” to promptly access the “Customize Routing” interface, or choose “Reset to default” to swiftly revert your configurations back to default.
{% endhint %}


# Liquidity Pools

<figure><img src="/files/wMj3DIGCtN0vAXXYuCVC" alt=""><figcaption></figcaption></figure>

In GroFi Dex, liquidity is managed through non-fungible positions. By providing liquidity, you'll earn a share of the fees.&#x20;

Upon adding your token to a Liquidity Pool, you'll receive Liquidity Provider NFT tokens and a portion of the fees.

## **Non-fungible liquidity positions** <a href="#non-fungible-liquidity-positions" id="non-fungible-liquidity-positions"></a>

<figure><img src="/files/R9lJ78PhTHY7ZSRJGQ19" alt=""><figcaption></figcaption></figure>

Liquidity providers now have enhanced control over **the price range** in which they deploy their liquidity. When adding your token to a Liquidity Pool, you'll create a new non-fungible liquidity position with unique settings. Consequently, liquidity positions are represented as NFTs, which are transferable and signify ownership of the underlying assets as well as the accrued trading fees.&#x20;

Trading fees are no longer automatically compounded within the position; instead, you can manually claim them on each position's detail page.&#x20;

You have the flexibility to redeem your funds at any time by removing your liquidity.

## **Active liquidity and price ranges** <a href="#active-liquidity-and-price-ranges" id="active-liquidity-and-price-ranges"></a>

Liquidity providers have the option to configure their positions to supply liquidity only when the price falls within a specified range. If the trading price moves beyond this range, the position will become inactive and consist of only one type of token in the pair.&#x20;

Inactive liquidity positions do not participate in trading or earn any trading fees.

## Concentrated Liquidity Market Maker (CLMM)

GroFi Dex implements the innovative concept of concentrated liquidity, allowing liquidity providers to concentrate their funds within customizable price ranges, optimizing capital efficiency, reducing impermanent loss and earning more trading fees with the same amount of capital.

Here's an example:

> David and Andrew both provided liquidity in U2U/USDT pool with $1,000 USD worth of token assets. The current price of U2U is 5 USDT.
>
> David deposited his liquidity across the entire price range, so investing all of his capital, which amounts to 500 USDT and 100 U2U.
>
> Andrew utilize the new concentrated liquidity feature and created a position with a price range of 2 to 12.5 USDT per U2U (+/- 125%). She deposited 185 USDT and 37 U2U, worth a total of $370. As a result, she now has $630 available to spend elsewhere.
>
> As long as U2U stays within the price range of 2 to 12.5, both David and Andrew will receive the same amount of trading fee rewards, despite Andrew depositing significantly less capital into the liquidity pool.

## **Earning trading fees**

By providing liquidity, you earn rewards in the form of trading fees whenever users utilize your liquidity pool for swaps.

When a transaction occurs on GroFi Dex, a fee is charged for each swap (hop) within each liquidity pool, with the fee ranging 0.01%, 0.05%, 0.25% and 1% depending on the liquidity pool's fee tier.

## **Earning U2U**

To enhance the benefits of being a liquidity provider, you can also utilize your liquidity positions to generate additional yield through [Farms](https://testnet.grofidex.io/farms), all while continuing to earn trading fee rewards.


# How to Add/Remove Liquidity

<figure><img src="/files/Cf5krN2oJPSKoIJxYW9N" alt=""><figcaption></figcaption></figure>

Liquidity is at the core of GroFi Dex's functionality. You can contribute liquidity for any token pair by staking both tokens through the Liquidity page.

In return for adding liquidity, you'll earn trading fees for that pair and receive either an NFT or LP Tokens, which you can then stake in [Farms](https://testnet.grofidex.io/farms) to earn U2U rewards!

## **Add Liquidity**

To provide liquidity, you'll need to commit an amount of any token pair you prefer. The lower value (in USD) of the two tokens will determine the limit of liquidity you can provide.

If you require any tokens, you can easily trade for them. Feel free to refer to our [How to Trade on GroFi Dex](/features/exchange/how-to-trade) guide if needed.

In this example, we will demonstrate adding liquidity using U2U and USDT.

**Step 1:**  Visit the [Liquidity ](https://testnet.grofidex.io/pair)page.

<figure><img src="/files/yf7tBEJqgUUyRe7Oan7E" alt=""><figcaption></figcaption></figure>

**Step 2:** Click the “Add Liquidity” button.

**Step 3**: Select 2 tokens to determine the trading pair for adding liquidity. For instance, in this demonstration, we'll choose U2U and USDT.

<div align="center"><figure><img src="/files/ot4auQQBU4UExy7t17E3" alt=""><figcaption></figcaption></figure></div>

**Step 4:** The interface will automatically select the most popular trading fee tier and set the price range for you.&#x20;

**Step 5**: You can confirm the version and fee tier of the liquidity pool you are providing by checking the "LP - x% fee tier" displays.

<div align="center"><figure><img src="/files/wynJG1pbuW3ilEJLtsBa" alt=""><figcaption></figcaption></figure></div>

* If you wish to customize the fee tier, simply click on "More" and select your desired option.
* Please note that it's typically recommended to provide liquidity to the most popular fee tier.

**Step 6**: You can review and confirm the displayed price range on the right-hand side.

<div align="center"><figure><img src="/files/sFPrqqUln6gWFOaPwBPa" alt=""><figcaption></figcaption></figure></div>

* The chart displays liquidity levels across various price ranges. You can use the magnifier buttons to zoom in and out, and navigate the chart by dragging the bottom x-axis.
* If you wish to customize the price range, you can simply drag the handles, use the + and - buttons on the two prices, or manually enter the desired price numbers.
* Although not recommended, you can provide liquidity across the entire price range by clicking the “Full Range” button.

**Step 7:** Enter an amount for one of the tokens in the “Deposit Amount” field. The corresponding amount for the other token will be calculated and filled automatically. If one of the tokens doesn't have a sufficient balance, an error will be displayed, and the button will be **greyed out**.&#x20;

Please enter a lower amount to proceed or use the “MAX” button to fill in the maximum available value.

<div align="center"><figure><img src="/files/m8eqmcMHuc6683hKT3Ub" alt=""><figcaption></figcaption></figure></div>

**Step 8:** Click the “Enable USDT” button. If you are adding liquidity against tokens other than U2U, you might need to click enable twice for each token in your pair. Your wallet will prompt you to confirm the action.

<div align="center"><figure><img src="/files/W6Z9wKe1AzXimyHxvbbz" alt=""><figcaption></figcaption></figure></div>

**Step 9:** Afterward, the “Add” button will become active. Click it to proceed.

<div align="center"><figure><img src="/files/H3GArJVmmY6NmcPBFNkP" alt=""><figcaption></figcaption></figure></div>

**Step 10:** A new pop-up window will appear, allowing you to preview your liquidity position. If everything appears correct, click “Add” again to proceed.

<div align="center"><figure><img src="/files/1pgLbOqkCRCg5gohZv3A" alt=""><figcaption></figcaption></figure></div>

**Step 11:** Your wallet will prompt you to confirm the transaction. Proceed by confirming the transaction from your wallet.

**Step 12:** After that, you'll find your new liquidity position on the “My Liquidity” page. You can view its details by clicking on the position.

<figure><img src="/files/WmkrsolzpkQakMsKhUCH" alt=""><figcaption></figcaption></figure>

## **Remove liquidity**

**Step 1:**  Visit the [Liquidity](https://testnet.grofidex.io/pair) page.

<figure><img src="/files/7HZHzVXiaaDfA7X6cMMk" alt=""><figcaption></figcaption></figure>

**Step 2**: Select the liquidity position you wish to remove from “Your Liquidity". You can utilize the filter to conveniently locate all liquidity positions.

<div align="center"><figure><img src="/files/FUDCWjFyrwmbRKnGY4UV" alt=""><figcaption></figcaption></figure></div>

**Step 3:** Click “Remove”. A new window will appear.

<div align="center"><figure><img src="/files/Itqv4OVF3nVzji3CE1x9" alt=""><figcaption></figcaption></figure></div>

**Step 4:** Use the buttons or slider to select the amount of liquidity you wish to remove. Choose “MAX” to remove all liquidity from this pair.

**Step 5:** Click “Remove” to proceed.

**Step 6:** A window will appear displaying the number of tokens you will receive. Click “Remove” once more. Your wallet will then prompt you to confirm the action.

**Step 7:** After the transaction is confirmed, you will receive two tokens from your pair. If you haven't removed all of your liquidity, your remaining liquidity value will be updated on the liquidity page.

{% hint style="info" %}
Multiple Fee Tiers: Giving liquidity providers the option to choose the fee tier that best suits their risk tolerance and liquidity preferences.
{% endhint %}


# Yield Farming

<figure><img src="/files/frywf28TX4lYasz1oKfi" alt=""><figcaption></figcaption></figure>

Yield Farming enables users to earn U2U tokens while supporting GroFi Dex by staking LP Tokens.

Explore our [How to Use Farms](/features/yield-farming/how-to-use-farms) guide to begin your journey into farming.

## Reward calculations <a href="#reward-calculations" id="reward-calculations"></a>

Yield Farm APR calculations include both:

* **LP rewards APR** is earned by providing liquidity.
* **Farm base rewards APR** is earned by staking LP Tokens in the Farm.

Farm total APR = Farm base APR + LP rewads APR

Why? Because when you stake your LP tokens in a farm to earn U2U, you're essentially providing liquidity to the liquidity pool, thus earning LP rewards alongside!

## Calculating Farm Base Reward APR <a href="#calculating-farm-base-reward-apr" id="calculating-farm-base-reward-apr"></a>

**The Farm Base APR** is determined by the farm multiplier and the total liquidity in the farm, which represents the amount of U2U distributed to the farm.

## Calculating LP Reward APR <a href="#calculating-lp-reward-apr" id="calculating-lp-reward-apr"></a>

In addition, farmers receive **LP rewards** for providing liquidity. Here's an example of how **LP rewards** are calculated:

<figure><img src="/files/LddoMuttrQUavvYoo6mb" alt=""><figcaption></figcaption></figure>

In WBTC/USDT pair above, we see these values:

**Liquidity:** $3.43M&#x20;

**Volume 24H:** $11.38K&#x20;

**Volume 7D:** $53.85K

* Calculate yearly fees
  * Use the 24-hour volume to calculate the **fee share** of liquidity providers in the pool, based on the 0.05% trading fee structure: $11,380 \* 0.05 / 100 = $5.69
  * Next, use that **fee share** to estimate the projected **yearly fees** earned by the pool based on the current 24-hour volume: $5.69 \* 365 = $2076.85
* We can now use the yearly fees to calculate the **LP rewards APR**: That's **yearly fees** divided by **liquidity,** multiplied by 100: ($2076.85 / $3,430,000) \* 100 = 0.06% LP reward APR.


# How to Use Farms

Yield Farming on GroFi Dex is easy!

<figure><img src="/files/3wh8LORghTdyG5Bt9Q34" alt=""><figcaption></figcaption></figure>

Farming is an excellent method for earning U2U rewards on GroFi Dex.

Farms necessitate staking 2 tokens to provide liquidity and receiving either a liquidity position NFT or LP Tokens. Subsequently, you stake these tokens in the Farm to earn rewards, allowing you to earn U2U while maintaining a position in your other tokens.

Yield farming offers potentially higher rewards, but it also carries the risk of **Impermanent Loss**. Understanding this concept is crucial before diving in, but it's not as intimidating as it may seem.

## **Get prepared** <a href="#get-prepared" id="get-prepared"></a>

<div align="center"><figure><img src="/files/CC2c0YTvGB1lJz3lyHzd" alt=""><figcaption></figcaption></figure></div>

To participate in Farm, you'll need a [liquidity position](/features/exchange/how-to-add-remove-liquidity). Farms only accept liquidity positions from their specific trading pair with the chosen fee tier. For instance, the U2U-USDT 0.05% Farm exclusively accepts U2U-USDT liquidity positions with the 0.05% fee tier selected. It will not accept:

* Other pairs, like U2U-USDT.
* Same pair but with other fee tiers: like U2U-USDT with a 1% fee rate.

To obtain the precise LP position, you must provide liquidity for that trading pair with the correct fee rate selected. For example, to acquire U2U-USDT 0.05% LP positions, you must first provide liquidity for U2U-USDT pair with the 0.05% fee tier selected.

While it might seem daunting, it's not overly complex. Let's break it down step by step.

## **Locate your Farm** <a href="#locate-your-farm" id="locate-your-farm"></a>

<div align="center"><figure><img src="/files/Q0kucyXEk4azj4INf754" alt=""><figcaption></figcaption></figure></div>

Before moving forward, take a moment to select a Farm that suits your needs. Visit [Farms page](https://testnet.grofidex.io/farms) to view the available options.

You can choose a different sorting option, such as by APR, to prioritize Farms with the highest current reward rates. It's important to note that APRs are calculated globally for individual positions and may vary based on their price range settings.

When you find a Farm you'd like to use, make a note of the trading pair and its fee rate, such as U2U-USDT and 0.05%, for future reference.

## **Provide liquidity to create a position**

Now that you've identified a Farm to stake in, the next step is to provide liquidity:

**Step 1:** If you don’t have any position available, you'll encounter an "Add Liquidity" button. Simply click it to open the "Add Liquidity" window without navigating away from the Farm page.

<div align="center"><figure><img src="/files/nfyZEsbtcoSNURFKRi0P" alt=""><figcaption></figcaption></figure></div>

**Step 2:** Another option is to click on the row of the chosen Farm from the list, which expands to provide more details. In card view, click “Details” to expand for additional information. Within this detailed section, click the “Add XXX-YYY LP” link to add liquidity.

<div align="center"><figure><img src="/files/X6t5SQ4gPsCAhgb9AYPz" alt=""><figcaption></figcaption></figure></div>

## **Stake your positions into a farm** <a href="#stake-your-positions-into-a-farm" id="stake-your-positions-into-a-farm"></a>

<div align="center"><figure><img src="/files/k0VrTYxMBLDBHLnUOy9x" alt=""><figcaption></figcaption></figure></div>

After completing the liquidity addition process, your position should be listed under the farm you've selected to use.

If you have multiple positions, you can click “View All” to see them displayed in a new pop-up window.

<div align="center"><figure><img src="/files/woUYDiD1JShSuokTyTFh" alt=""><figcaption></figcaption></figure></div>

<div align="center"><figure><img src="/files/JmJlyRvSk0P8AnviTQiB" alt=""><figcaption></figcaption></figure></div>

Select “Stake” next to the listed position, and your wallet will prompt you to confirm the action.

<div align="center"><figure><img src="/files/vixsu80ORYWwyPL5P9X7" alt=""><figcaption></figcaption></figure></div>

After that, the window will close, and you'll find your staked position detailed in the interface.

You can follow the same steps above to efficiently stake multiple positions with varying price range configurations. Each position will earn U2U rewards and must be harvested individually.

## **Harvest farming rewards** <a href="#harvest-farming-rewards" id="harvest-farming-rewards"></a>

In the Farm, you can stake multiple positions simultaneously. Each staked position will earn U2U rewards and must be harvested individually.

<div align="center"><figure><img src="/files/jKkFkKlPVkHIaVMPKdMa" alt=""><figcaption></figcaption></figure></div>

Select “Harvest” on the position, and your wallet will prompt you to confirm. After a brief wait, the U2U rewards will be transferred to your wallet.

## **Add or remove liquidity while staking in a farm** <a href="#add-or-remove-liquidity-while-staking-in-a-farm" id="add-or-remove-liquidity-while-staking-in-a-farm"></a>

While participating in Farm, you retain the ability to add or remove liquidity without the need to unstake from the farm.

<div align="center"><figure><img src="/files/jLKm1KiQIYx8OVZ8lZ9t" alt=""><figcaption></figcaption></figure></div>

Click on the position title containing the token pair, fee rate, and position ID, followed by the “>” arrow. This will navigate you to the position detail page.

<figure><img src="/files/1PevRznO6ijdP10sTExP" alt=""><figcaption></figcaption></figure>

Adjust the liquidity in the staked position by using the “Add” or “Remove” button.

Keep in mind that any unclaimed U2U rewards will be harvested and sent to your wallet when adjusting your position.

## **Unstake your positions from Farm**

You have the option to unstake a position at any time. To unstake, navigate back to the Farm page and find the farm and position you wish to unstake. You can utilize the “Staked Only” toggle to efficiently filter the farms where you currently have stakes.

If you have multiple staked positions, you can click “View All” to see them displayed in a new pop-up window.

<figure><img src="/files/jcnSEN1pkbkO4qOPE7iD" alt="" width="328"><figcaption></figcaption></figure>

Select “Unstake” for the position, and your wallet will prompt you to confirm. After a brief wait, your position NFT will be returned to your wallet, along with any pending U2U rewards.

## Should I harvest my rewards?

The frequency of harvesting your rewards is at your discretion, though it's important to note that there is a small fee associated with each harvest.

You can view this fee in your wallet when confirming the harvest after clicking 'Harvest'.

<div align="center"><figure><img src="/files/Ow2K3znlg5eCRDRUdabo" alt=""><figcaption></figcaption></figure></div>

This displays the harvesting fee as it appears in the MetaMask wallet. Note that various wallets may present this information differently. It's advisable to allow your rewards to accumulate for a period to minimize the frequency of fee payments.


# APR/ROI/IL Calculator

Liquidity and Farms now feature non-fungible liquidity and customizable price range capabilities. Each LP position will have its own unique LP fee and U2U farming APR.

To streamline liquidity provisioning and make it less daunting, we've introduced automatic APR displays alongside a new ROI calculator, which are accessible whenever you're providing liquidity or farming.

## Automatic APR calculation and display <a href="#id-12d7c8c1-d0d7-4d5e-99ea-5f5b7f5378e5" id="id-12d7c8c1-d0d7-4d5e-99ea-5f5b7f5378e5"></a>

<figure><img src="/files/qSOeIPyHllSrgUsaHrQB" alt=""><figcaption></figcaption></figure>

When providing liquidity, the automatic APR display adjusts according to your configuration changes and calculates the APR based on your settings.<br>

For instance, in most cases, tightening your price range settings tends to increase the APR.

Please note regarding LP fee APRs:

* The estimated amount of LP fee rewards varies based on the selected fee tier. These rewards require manual claiming and compounding.
* APR figures are calculated based on historical trading volume, which relies on Subgraph and may be subject to indexing delays.

For farming APRs:

* The estimated amount of U2U rewards is determined by the live U2U emissions from the farms. These figures are subject to change depending on future emission adjustments.

{% hint style="info" %}
Figures are calculated based on current rates and pool conditions, and are subject to change due to various external factors. They are estimations provided for your convenience only and do not guarantee returns.
{% endhint %}

You can locate this APR display under:

* “Add Liquidity” page - showing LP fee APR
* Detail page of each of the existing liquidity position - showing LP fee APR

<div align="center"><figure><img src="/files/gkCcmIi0c8FY8XoNGW7q" alt=""><figcaption></figcaption></figure></div>

On the Farm page, within each position under the respective farm, you'll find the combined APR, including LP fee and U2U rewards.

<figure><img src="/files/HWg3b6OYCgXROl2FNePt" alt=""><figcaption></figcaption></figure>

## Improved ROI calculator <a href="#id-6f06dc46-ff61-4022-a29d-3ebe67a50607" id="id-6f06dc46-ff61-4022-a29d-3ebe67a50607"></a>

<div align="center"><figure><img src="/files/Zt2b7PVw8yACU7c3Liex" alt=""><figcaption></figcaption></figure></div>

Whenever you encounter the automatic APR displays, you can click to access the new ROI calculator. The redesigned calculator includes several added features to cater to the requirements of concentrated liquidity provision and farming.

Let’s go through each of the sections together:

### Deposit Amount, “Staked For” and “Compounding Every”

1. How many assets are supplied to the liquidity position, in USD?
2. How long will those assets be staked in the position?
3. How often will you be compounding rewards back into the position?

These 3 things are the fundamental inputs, which were also presented in the previous ROI calculator. They are used to define:

### ⓵ **Deposit Amount**

<div align="center"><figure><img src="/files/62AThR34fGb6pjiCd4Ou" alt=""><figcaption></figcaption></figure></div>

You have the option to input the amount manually in USD or use the quick action buttons to fill in $100, $1000, or the maximum amount allowed based on the token balance in your wallet.

### ⓶ **Stake Duration**

<div align="center"><figure><img src="/files/wfuBkZTGCvHsp8JCjnmj" alt=""><figcaption></figcaption></figure></div>

You can specify the duration for which the assets are staked in the liquidity position by selecting from the following options: 1 day, 7 days, 30 days, 1 year, and 5 years. The returns will be calculated based on your chosen staking duration.

### ⓷ **Compounding**

<div align="center"><figure><img src="/files/0JGgqdjeFLhOWEgNo0W7" alt=""><figcaption></figcaption></figure></div>

You can choose how frequently you'll harvest the rewards generated by the position and compound them back into the position. Options include: 12 hours, 1 day, 7 days, and 30 days.

The returns and APY will be calculated based on your chosen compounding frequency. If you do not plan to compound your position, uncheck the checkbox on the left.

{% hint style="info" %}
LP fees and earned U2U has to be manually harvested and compounded.
{% endhint %}

### ⓸ History Price

This section serves solely for viewing purposes, offering a reference to the historical price movement of the selected pair.

You can review the historical price movements across various timeframes to gauge typical price fluctuations. This information can help you determine suitable price range settings that balance higher APR with lower risk of impermanent loss.

* MIN - minimum price
* MAX - maximum price
* AVG - average price
* CURRENT - current price

{% hint style="info" %}
The price chart exclusively utilizes data from the actual pair. Consequently, price data before deployment is unavailable. The four price metrics represent the currently selected timeframe and will adjust accordingly based on the selection.
{% endhint %}

### ⓹ Price Range

<div align="center"><figure><img src="/files/QTsKZilCvma5JASN5DMZ" alt=""><figcaption></figcaption></figure></div>

Through this section, you can review the amount of liquidity deposited across various price ranges. This information can assist you in determining and setting the price range for providing liquidity.

Beneath the title, you'll find the distribution chart. The height of each bar corresponds to the amount of liquidity, with taller bars indicating larger amounts.

You can change your price range settings by:

* Adjusting the two handles on the chart to set the minimum and maximum price limits.
* Utilizing the space between the handles to shift the selected range.
* Clicking the + and - buttons on the min and max price fields.
* Manually entering the numbers in the price fields by clicking on them.

If you wish to navigate the distribution chart:

1. Utilize the plus and minus magnifier buttons to zoom in and out.&#x20;
2. Drag the X-axis (bottom) to shift left and right.

If you want to provide liquidity to the entire price range, click “Full Range”

### ⓺ Flip the price direction to view prices with different base

<div align="center"><figure><img src="/files/sHWDIcFjIXWCoBTV84IB" alt=""><figcaption></figcaption></figure></div>

For certain token pairs, it may be more intuitive to view prices with specific base tokens. For instance, in the U2U/USDT pair, many users may prefer to view prices in terms of 'how many USDT per U2U' rather than the reverse.

You can quickly switch between the base tokens in the pair by clicking the button next to '**View prices in'**

### ⓻ Import and export (apply) your settings <a href="#d18cf936-315e-4432-a3a5-f65976651073" id="d18cf936-315e-4432-a3a5-f65976651073"></a>

When you access the ROI calculator within the 'Add Liquidity' window or when viewing an existing position, the following settings will be automatically imported, eliminating the need for you to set them again:

1. The amount of assets you are depositing
2. The price range
3. The selected fee tier

After configuring the ROI calculator, simply click “Apply Settings” to promptly apply the settings from the calculator back to the “Add Liquidity” window, eliminating the need to match them manually.

### ⓼ Calculate farming rewards and APR <a href="#id-584c385b-5f76-42e5-8751-8344d6bd4749" id="id-584c385b-5f76-42e5-8751-8344d6bd4749"></a>

If you open the ROI calculator on the “Farm” page, farming rewards will be considered in the calculations. You can expand the detail sections to see the breakdown of rewards.

<figure><img src="/files/IWUVCEaNVUN9JksM3weZ" alt=""><figcaption></figcaption></figure>


# Loans

### Why do we need Loans System?

The GroFi Dex Loans product is a product within the GroFi Dex Ecosystems that provides users with the ability to perform U2U loan actions based on collateral.

An effective solution for individuals who need U2U but instead of selling assets to get U2U, they use GroFi Dex Loans to mortgage assets and receive U2U.


# How to borrow?

### Collateral

To be able to get a U2U loan, you need to have collateral. In the GroFi Dex Loans system, to be able to borrow you need stNFT (Staking NFT) as collateral.

What is stNFT? stNFT is a derivative product after you stake your U2U in GroFi Dex, you will receive a stNFT that proves your staking in the system. With this NFT, you can mortgage it in GroFi Dex Loans to receive U2U, which can serve your other needs.

### How to mortgage?

**1- Choose collateralized NFTs**

First, the system displays a list of all GroFi Dex stNFTs you own corresponding to the staking packages you have participated in.

<div align="left"><figure><img src="/files/v8272VvoXW5LESZfI5wq" alt=""><figcaption></figcaption></figure></div>

Information for each NFT will include the following information:

* Value of NFT: **Staked Amount**
* Maximum you can borrow from collateral: **LTV - loan to value**
* Information about loan interest rates: **Annual Interest Rate**

**2 - Choose loan period**&#x20;

You can choose the most suitable loan period for your loan from the list of periods provided by the system. (**Interest Period** field in the picture above)

**3- Enter the borrow amount**

In field **Borrow Amount,** please enter the amount you want to borrow. Make sure that amount is less than the maximum value you can borrow.

**4- Calculation and estimation system**

Based on the amount of U2U you want to borrow and the loan period, the system will estimate the interest cost and total you have to pay after borrowing to receive the pledged NFT back.

Information will be displayed at:

* **Total Interest**: The amount of interest you pay on the loan, measured in U2U
* **Repayment Amount:** Includes loan value and interest payment, measured in U2U

**5- Submit request**

Click the **Borrow Now** button to make your loan, remember to confirm the transaction on your wallet to complete the transaction.


# How to calculate loan interest?

The system will calculate interest based on the loan amount and loan term, it will not depend on when you repay the loan early.

> **For example**
>
> Suppose you borrow 100 U2U with a loan term of 10 days with an interest rate of 10% of the loan, then to repay the loan you need to pay 110 U2U within 10 days from the date of the loan.
>
> There is NO difference when you repay on the first day and the 10th day, you still need to pay 110U2U to complete your loan obligation
>
> Normally, users will choose to maximize the benefits of the loan by paying on the last day. Remember to set a schedule for yourself to avoid exceeding the repayment deadline, the loan will be recalled and the loan asset liquidated - the collateral NFT.


# When will assets be liquidated?

When you do not have enough capacity to repay the debt when it is due, your collateral will be recovered by the system and calculated to return the remaining assets after deducting loan costs and loan interest rates.

The system will claim reward and unstake the stake package corresponding to your collateral stNFT. The stake package corresponding to the collateral will no longer be available and you may need to wait 30 minutes after the liquidation time to receive the remaining assets after liquidation. You will need to perform a "Claim" operation to receive your remaining assets.

**Remind you**: Remember to regularly monitor your loan, remember the repayment times to avoid liquidation of assets.

<figure><img src="/files/qYergJAvERc8Xia2qfys" alt=""><figcaption></figcaption></figure>


# Where can I manage my loans?

You can easily manage your asset list in GroFiDex Loans, asset management is divided into 3 categories including: Assets available for U2U loans (**Available** Tab), assets being mortgaged for U2U loans (**Borrowing** Tab) and assets that have been liquidated (**Liquidation** Tab). Now we will go into detail about each type of asset:

#### 1- Assets available for U2U loans (**Available** Tab)

As introduced in the previous sections, this is a list of Staking NFTs that can be used as collateral for U2U loans. Depending on your loan purpose, choose suitable collateral.

After making a loan, that asset will be transferred to the collateral management section - Borrowing Tab.

<figure><img src="/files/foXrYziUBopL3GKtaxxE" alt=""><figcaption></figcaption></figure>

#### 2- Collateral assets (Borrowing Tab)

List of NFTs you are pledging for U2U loans. You can track the loan package including information such as the number of U2U loans, repayment time, and interest payable.

When you make principal and interest payments on time, this asset will return to the available assets list - Available tab, meaning you can use it as collateral in another loan. On the contrary, in case the repayment period exceeds and you do not fulfill your debt repayment obligations, this asset will be recovered and liquidated. You can check it in Liquidation Tab.

<figure><img src="/files/JQ376fWyzwTvSwAR5xiy" alt=""><figcaption></figcaption></figure>

#### 3- Liquidated assets (Liquidation Tab)

List of NFT assets that were once yours and were liquidated due to default on your loan. Therefore, in order not to lose ownership of NFTs, you need to pay attention to your ability to repay and repayment time for each loan.

<figure><img src="/files/lNj8IHdJ0UDhDCF7Jfj0" alt=""><figcaption></figcaption></figure>


# Dashboard

In the Dashboard, store the user's total assets, as well as the user's total trading profit/loss to date.

Click [here ](https://testnet.grofidex.io/)and [connect ](/getting-started/how-to-connect-wallet)to view yours.

<figure><img src="/files/uJv4g88jdsdzZtOglWDa" alt="" width="563"><figcaption></figcaption></figure>

## Where can I view my assets?

After connecting the wallet, you can view your assets through "**Estimated Total Value**" in the "**Assets Analysis**" section.

<figure><img src="/files/43F9NP50rLpFbdJr74Ve" alt=""><figcaption></figcaption></figure>

Or you can view specific asset types through "**Asset Allocation**".

<figure><img src="/files/ofOFqQaZMmkcwG7XXrRS" alt="" width="429"><figcaption></figcaption></figure>

You can view the increase/decrease in the balance of each of your assets through "**Asset Growth**"

<figure><img src="/files/OmshsDr1R0BUAUTH736D" alt="" width="563"><figcaption></figcaption></figure>

## Where can I view my Profit?

You can view your profit in the "**Asset Analysis**" section. The default data shows "**Today's  Profit**" and "**Total profit of past 7 days**" after connecting your wallet. You can also "**Custom time**" on the screen to view the profit for the time period you want.

<figure><img src="/files/GE2WA8wEJWuHF3N2zpaO" alt="" width="563"><figcaption></figcaption></figure>

You can also view the detailed increase/decrease of your total assets through "**Daily Profit"** and '**Total Asset**".

<figure><img src="/files/Trj9cdz0by0gMPvPAySl" alt="" width="530"><figcaption></figcaption></figure>

Hover over the corresponding chart to display the details of the "**Total assets/Total Profit**" as well as the "**Total PnL**" for that day.

<figure><img src="/files/gkSvnTw59XLYfau3yYwt" alt="" width="528"><figcaption></figcaption></figure>


# Launchpad

## Upcoming

View project profile to make decision

* Project overview: Provide a brief introduction and overview of the project, including its goals, mission, and the problem the project aims to solve.
* Tokenomics: Explains the token distribution model, including details such as total supply, allocation ratios (e.g. to team, advisors, community, etc.), and token utility within the ecosystem.

## IDO Start

Users can begin staking to participate in the project. The amount of U2U staked determines their corresponding Level, depending on the project's rounds and the Tiers allocated.

For example:&#x20;

* Level Tier 1: Minimum stake of 300 U2U&#x20;
* Level Tier 2: Minimum stake of 150 U2U&#x20;
* Level Tier 3: Minimum stake of 80 U2U&#x20;
* Starter: No stake or stake less than 80 U2U.

## Apply Whitelist

Perform "Apply now" at "Apply Whitelist", when "IDO Whitelist" round take place, users can "Commit U2U" buy IDO tokens.

There are projects that require you to apply to the whitelist to ensure that you are serious about the project, you will be guaranteed priority when purchasing compared to those who do not apply to the whitelist.

## IDO Tier X

IDO Tier "X" is the round corresponding to the number of U2U that users staked. There are limits on the amount of U2U users can commit, depending on their Tier.&#x20;

Multiple rounds occur, with each Tier having a designated time to participate in the IDO and a dedicated IDO pool for that round.

During the IDO period for each Tier: GrofiDex Members will commit U2U, up to the maximum U2U configured for their Tier. At the end of each Tier's sale round, the system will calculate the exact allocation for each member, known as U2U purchase. This value will be less than or equal to the amount of U2U that the member committed.

Users can perform Commit U2U to purchase IDO tokens during the sale period of the round.

There will be a duration allowing GroFiDex Members to cancel their purchase and retrieve the previously committed U2U.. Of course, this will incur a fee, for example, an estimated **5%** fee - configured per project, calculated based on the U2U purchase amount (**NOT** based on the committed U2U amount).

{% hint style="info" %}
Once cancelled, users cannot commit U2U again.
{% endhint %}

## IDO Whitelist

The pool allocation is the total of the initial expected Whitelist pool plus the amount.

Allocation follows the FCFS (First Come First Serve) model, meaning users will commit U2U to purchase (up to the maximum amount configured in the contract for the Whitelist participants). At the end of the period, the system will announce the winners of the round based on the FCFS model. Non-winners can claim their committed U2U.

Winning members will be automatically allowed to purchase the full amount of U2U they committed and will have a duration to cancel their purchase and retrieve their committed U2U. The fee will be calculated based on the amount of U2U they committed.

{% hint style="info" %}
Note that when the last user to purchase the IDO fills the pool, the U2U purchase amount may be smaller than the U2U amount the user committed. Therefore, it is necessary to calculate and return the U2U repay amount to the user. If this user cancels, the fee will be calculated based on the U2U purchase amount. Estimated **5%** fee
{% endhint %}

## Community

Allocates project tokens to users in a pool, following model a FCFS (First Come, First Served).

Community is a phase during the IDO of a project, where community members can participate in purchasing IDO tokens without needing to apply for whitelist or participate in specific tiers. In this phase, the main goal is to provide an opportunity for the entire community to easily and inclusively join in purchasing IDO tokens

## Finished

At the end of the sale period, the system compares the total U2U raised against the Softcap.

If the raised amount meets or exceeds the Softcap, the IDO is launched. Tokens are distributed to all members, allowing them to claim 100% of the IDO tokens and any unused U2U.

If the raised amount is below the Softcap, the IDO fails. The project refunds users. Users can claim back their committed U2U and any unused U2U.

## Status Project

**Upcoming**: This state occurs before the IDO start time.

**Ongoing**: This state occurs between the IDO start time and end time.

**Finished**: This state occurs after the IDO end time:

* Displays "**Ended**" if the IDO was successfully launched.&#x20;
* Displays "**Cancelled**" if the IDO failed (User can claim U2U committed).

**Claimable**: This state occurs after the End Time:

* Displays when users have U2U give back to claim( if any) and IDO token.


# How to join Launchpad?

There are multiple ways to join a Launchpad project.  Each method provides different levels of access and benefits based on the project's structure and objectives.

## Staking (Tier member)

The will IDO Tier occur first

Users can begin staking to participate in the project at "IDO Start" round.

* Depending on the project, the contract will configure the minimum stake amount to determine the user's Tier.
* These users will be prioritized for IDO purchases, and the maximum buy amount will depend on their Tier.

## Whitelist&#x20;

Occurs after the IDO Tier have been allocated.

Users can "Apply now"  to participate in the project at "Apply whitelist" round:

* In many cases, projects may want to prioritize IDO sales to Whitelist users. The system requires users to apply for the whitelist to be eligible to purchase IDO tokens.&#x20;
* Users who are Tier member of GroFi Dex can still apply for the whitelist to purchase during the Whitelist sale round.

## Community

Final Sale: This round occurs after all other rounds (IDO Tier, IDO Whitelist...) are completed.

* Members of the community may participate without needing to apply for whitelist status or stake tokens, depending on project-specific rules.
* Users who are Tier member of GroFiDex and Whitelist Members can continue to purchase IDO during this round if they still wish to do so.


# IDO Start

Users can begin [**staking** ](/features/staking/how-to-join-staking)to participate in the project.

After stake, System auto update level Tier for user

<div align="left"><figure><img src="/files/6yVV5VzFrj7vISKqndIk" alt=""><figcaption></figcaption></figure></div>


# Apply Whitelist

**Step-1**: Perform "Apply now" at "Apply Whitelist"

<div align="left"><figure><img src="/files/S4fcda4obn7ypXPfm1Ry" alt=""><figcaption></figcaption></figure></div>

**Step-2**: A window displaying more details will appear. Please review the information to ensure its accuracy. When you're ready, click the **Confirm**

<div align="left"><figure><img src="/files/niWBQ7QTvb1MyJxOVKL3" alt=""><figcaption></figcaption></figure></div>

Apply Whitelist completed!


# IDO Tier

## **Commit U2U**

**Step-1**: Perform enter amount U2U commit Buy IDO token

<figure><img src="/files/7XXl07L0vw6ow5yi9gHa" alt=""><figcaption></figcaption></figure>

**Step-2**: A window displaying more details will appear. Please review the information to ensure its accuracy. When you're ready, click the **Confirm** button. Your wallet will prompt you to confirm the action.

Commit U2U completed!

## Cancel commit

Users can cancel their commitment after the IDO tier sale period expires.

**Step-1:** Click "**Cancel buy IDO**" text link. Display "Your committed detail" popup on screen.&#x20;

<div align="left"><figure><img src="/files/NI5O4aJHKhRP3byEoMSU" alt=""><figcaption></figcaption></figure></div>

**Step-2:** Click "Cancel" button at record of round IDO Whitelist.

<figure><img src="/files/X2BLbWpZIKkNPORlN99W" alt=""><figcaption></figcaption></figure>

**Step-3.** A window displaying more details will appear. Please review the information to ensure its accuracy. Click the Confirm button when you're ready

{% hint style="info" %}
Once cancelled, users cannot commit U2U again.
{% endhint %}


# IDO Whitelist

In the Whitelist round, commit and cancel actions take place at the same time. Users can commit to U2U and cancel an unlimited number of times during the Whitelist round.

## **Commit U2U**

**Step-1**: Perform enter amount U2U commit Buy IDO token  (up to the maximum amount configured in the contract for the Whitelist participants)

<figure><img src="/files/Un6nXv7jSGekZ1ejSnPz" alt=""><figcaption></figcaption></figure>

**Step-2**: A window displaying more details will appear. Please review the information to ensure its accuracy. When you're ready, click the **Confirm** button. Your wallet will prompt you to confirm the action.

## Cancel commit&#x20;

**Step-1:** Click "**Cancel buy IDO**" text link. Display "Your committed detail" popup on screen.

<div align="left"><figure><img src="/files/iiGNiUorZEJDc6T8IIOJ" alt=""><figcaption></figcaption></figure></div>

**Step-2:** Click "Cancel" button at record of round IDO Whitelist.

<figure><img src="/files/PqyshnSnlMgg6hLbiFtE" alt=""><figcaption></figcaption></figure>

**Step-3.** A window displaying more details will appear. Please review the information to ensure its accuracy. Click the Confirm button when you're ready


# IDO Community

In the Community round, commit and cancel actions take place at the same time. Users can commit to U2U and cancel an unlimited number of times during the Community round.

## **Commit U2U**

**Step-1**: Perform enter amount U2U commit Buy IDO token

<figure><img src="/files/7VwdKBdq3YcWH26f7I2D" alt=""><figcaption></figcaption></figure>

**Step-2**: A window displaying more details will appear. Please review the information to ensure its accuracy. When you're ready, click the **Confirm** button. Your wallet will prompt you to confirm the action.

## Cancel commit

**Step-1:** Click "**Cancel buy IDO**" text link. Display "Your committed detail" popup on screen.&#x20;

<div align="left"><figure><img src="/files/a4IHUsyV8nxfVuyaTN4y" alt=""><figcaption></figcaption></figure></div>

**Step-2:** Click "Cancel" button at record of round IDO Community.

<figure><img src="/files/4HYtw6dIMds1oLIhZLwq" alt=""><figcaption></figcaption></figure>

**Step-3.** A window displaying more details will appear. Please review the information to ensure its accuracy. Click the Confirm button when you're ready.


# Soft Cap/Hard Cap intro

**Softcap**: The minimum value that the launchpad can operate with. If the IDO sale does not reach this minimum value, the project will be canceled, and investors will be refunded.

**Hardcap**: The maximum value that the launchpad fund aims to raise. Once this maximum value is reached, the fund will stop raising capital. The project can be canceled if it does not meet the hardcap.


# Smart Contracts

Below is the list of smart contracts used in the system:

* MasterChefV3:[ ](https://u2uscan.xyz/address/0x42bb2081A008C1dfc1f4fA6f7F7703a9021af506)[0xa12b914ca7580be0d81a45704aa5fee833772651](https://u2uscan.xyz/address/0xA12b914cA7580Be0d81a45704aA5FEe833772651)
* SmartRouter: [0x0e8cb61d7941306ae8a4a0b488447bbdd1c80b14](https://u2uscan.xyz/address/0x0e8cb61d7941306ae8a4a0b488447bbdd1c80b14)
* SmartRouterHelper: [0x678bddf8ebd878c9f717944fc89dee8a1a92a08a](https://u2uscan.xyz/address/0x678bddf8ebd878c9f717944fc89dee8a1a92a08a)
* MixedRouteQuoterV1: [0x0a470bc3416eeb42135f62fa5adddcda82ed06f9](https://u2uscan.xyz/address/0x0a470bc3416eeb42135f62fa5adddcda82ed06f9)
* QuoterV2: [0x961a7c7ac97942848a7be1f21326b819eb9b771a](https://u2uscan.xyz/address/0x961a7c7ac97942848a7be1f21326b819eb9b771a)
* TokenValidator: [0x4b1a01fdeeec7baa055f0eac00646cdc273f0aad](https://u2uscan.xyz/address/0x4b1a01fdeeec7baa055f0eac00646cdc273f0aad)
* PancakeV3Factory: [0xb13b63b880f8c9b39cb68ed3fdfe10f067cf76cb](https://u2uscan.xyz/address/0xb13b63b880f8c9b39cb68ed3fdfe10f067cf76cb)
* PancakeV3PoolDeployer: [0xbfae4b9d4e442a5ac17b7dfbda3429c565cf8ecc](https://u2uscan.xyz/address/0xbfae4b9d4e442a5ac17b7dfbda3429c565cf8ecc)
* SwapRouter: [0x03aad35e7850d1721755cb83394184f77e9f08ea](https://u2uscan.xyz/address/0x03aad35e7850d1721755cb83394184f77e9f08ea)
* V3Migrator: [0xca8f4ca3fb1e1d03506378135c065076396719aa](https://u2uscan.xyz/address/0xca8f4ca3fb1e1d03506378135c065076396719aa)
* TickLens: [0xc29ead0d71c7370994b43ad983ec2f86b90f7fd3](https://u2uscan.xyz/address/0xc29ead0d71c7370994b43ad983ec2f86b90f7fd3)
* NFTDescriptorEx: [0x69f063dc9686b00fb1b62413bd2bdb28291a0936](https://u2uscan.xyz/address/0x69f063dc9686b00fb1b62413bd2bdb28291a0936)
* NonfungibleTokenPositionDescriptor: [0x0566a61de654aac986c43d20549335c87556cfa6](https://u2uscan.xyz/address/0x0566a61de654aac986c43d20549335c87556cfa6)
* NonfungiblePositionManager: [0xd303a176836a7179d018344396ea05cb94b05769](https://u2uscan.xyz/address/0xd303a176836a7179d018344396ea05cb94b05769)
* PancakeInterfaceMulticall: [0x99d34a97e45cf76e90415225bc058374c3ff5c95](https://u2uscan.xyz/address/0x99d34a97e45cf76e90415225bc058374c3ff5c95)
* PancakeV3LmPoolDeployer: [0x5d9fe67267ffdbb9f6e1229f2c615d7aa9fdbcc0](https://u2uscan.xyz/address/0x5d9fe67267ffdbb9f6e1229f2c615d7aa9fdbcc0)


