The amount of claimable UP is calculated in the following way -
Rewards = Trading Fees * LP Reward Percentage * Share of Liquidity Pool
UP Claim Amount = Rewards / UP Redeem Rate
The UP Redeem Rate that is used is the current redeemable value when the UP is claimed.
A) Let's say Gene provides 100% of the total value of a liquidity pool on uTrade V2 BSC. Since adding liquidity to the pool, the liquidity pool's volume has totaled 2,000 BNB. Gene is ready to claim his rewards. At a trading fee of 0.3%, 6 BNB will have been spent on trading fees. Of that 6 BNB, approximately 5.1 BNB will spent to mint UP for LP providers, 0.6 BNB will be spent to mint UP for Super Pairs, and 0.3 BNB will be used to increase the UP redeem peg. Assuming a 10 BNB per 1 UP mint rate, Gene's claim will be for 0.51 UPbnb.
5.1 BNB = 6 BNB * 0.85 * 100%
0.51 UP = 5.1 BNB / 10 BNB
B) Let's say Genette provides 100% of the total value of a liquidity pool on uTrade V2 ETH. Genette plays it safe, and prefers stablecoin pairings due to the reduced risk of divergence loss, so they have added liquidity to a USDC / USDT pair. Stablecoins have a lower trading fee. Since adding liquidity to the pool, the liquidity pool's volume has totaled 1000 ETH. Genette says it is time to cash out! At a trading fee of 0.1%, 1 ETH will have been spent on trading fees. With an effective mint rate of 85%, 0.85 ETH will be used to mint UP for liquidity providers, 0.1 ETH will be used to mint UP for Super Pairs, and 0.05 ETH will be used to increase the redeem value of UP. Assuming an UP redeem rate of 4 ETH, Genette's claim will be for 0.2125 UPeth.
0.85 ETH = 1 ETH * 0.85 * 100%
0.2125 UP = 0.85 ETH / 4 ETH
C) Let's say Genezilla provides 50% of the total value of a liquidity pool on uTrade V2 TRX. Since adding liquidity to the pool, the liquidity pool's volume has totaled 100,000 TRX. Genezilla wants those sweet rewards. At a trading fee of 0.3%, 300 TRX will have been spent on trading fees. At a rate of 85%, 255 TRX will be used to mint UP for liquidity providers, 30 TRX will be used to mint UP for Super Pairs, and 15 TRX will be used to increase the redeem value of UP. As Genezilla provides 50% of the total value of a liquidity pool, Genezilla's share of those fees is 127.5 TRX. Assuming an UP redeem rate of 15 TRX, Genezilla's claim will be for 8.5 UPtrx.
127.5 TRX = 300 TRX * 0.85 * 50%
8.5 UP = 127.5 TRX / 15 TRX
For more information on liquidity rewards check out our developer docs here