PrimeDAO / prime-launch-dapp

https://launch.prime.xyz
6 stars 13 forks source link

LBP Dashboard: Conversion rate for WETH seems off #604

Open BartuCulha opened 2 years ago

BartuCulha commented 2 years ago

Steps to reproduce: Navigate here:https://primelaunchtest.primedao.io/lbp/0xcb46EF376a3fE75133EE10688C422307AA8dcEE9 Check the Weth conversion rate, currently 1 WETH = 0,006 Prime. However 1 USDC = 8.90 Prime. Conversion rate seems off for WETH

Liquid-Launch-Dashboard-Prime-Launch (9) Liquid-Launch-Dashboard-Prime-Launch (8)

BartuCulha commented 2 years ago

Conversion rate seems ok for this lbp here: https://primelaunchtest.primedao.io/lbp/0xa120f03b3Bb07286862D3b130baA52c2ce909d3B

dkent600 commented 2 years ago

Conversion rate depends on the current token balances in all of the pools involve in the exchange. A non-funding token will have to go through another pool to compete the exchange.

@BartuCulha Please test the computations by actually performing the swap and see what exchange rate results.