# 🛠️LP Farms

### 1. LP mining tutorial

### 2. Is there any risk in LP minings?

You will not lose the number of LP invested in the project, there is no risk of reducing the LP standard assets. Also, there is a risk of impermanent loss in your LP assets

## 3. What is impermanent loss? Why are there fewer LP miners?

When the market fluctuates and your LP asset is swapped for two types of assets, the corresponding USDT-standard asset is at risk.

## 4. What benefits will LP mining bring to you?

Manual reinvestment is replaced by automatic contract reinvestment;

Save gas fee for users;

Maximize users' mining revenue

## 5. How is the lock-up amount of LP mining calculated?

The lock-up amount is calculated based on the quantity and price of the two assets in the DEX.

Take MDX-USDT LP as an example:

Lock-up amount = Amount(MDX)*Price(MDX)+Amount(USDT)*Price(USDT)

## 6. How does LP estimate the volume of corresponding two assets?

LP estimates the volume of corresponding two assets by calculating the total number of LPs on the corresponding platform and the total number of two assets in the corresponding LP pool.

Take MDX-USDT LP as an example:

Go to the MDEX platform information query page and select the corresponding token pair.

MDX-USDT pair information query →

You can see the total number of MDX and USDT in the corresponding pool.

Click to check the on-chain information of the corresponding token pair.

Users can calculate the exchangeable amount of the two assets after removing

Based on the proportion of HMDX in total HMDX, Users can calculate the exchangeable amount of the two assets after removing the liquidity.

MDX unstaked = the number of HMDX held/the total number of HMDX*the total number of MDX in the LP pool;

USDT unstaked = the number of HMDX held / the total number of HMDX * the total number of USDT in the LP pool

Last updated