PrimeDAO / prime-launch-dapp

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

Seed: Claimable Token Calculation for USDC / DAI pair seems wrong #721

Open BartuCulha opened 2 years ago

BartuCulha commented 2 years ago

Steps to reproduce: You cannot do a swap on this seed because max has been reached but you can try to check if the calculations are true or wrong.

  1. Navigate here: https://arbitrum.launch.prime.xyz/seed/0xdc41d781E8D9Fe11Dd6087014d4229da0F18D485
  2. Check Max USDC = 3
  3. Check USDC / DAI conversion rate = 1 DAI = 0.8 USDC
  4. Do the calculation: if 0.8 USDC = 1 DAI then 3 USDC = 3.75 DAI

Result: Claimable DAI is 0.00000000000375 SEED Dashboard _ Prime Launch (2)

Expected: Claimable DAI should have been: 3.75

BartuCulha commented 2 years ago

SEED Dashboard _ Prime Launch (4)

DAI Pending Amount should say 3.74, not -3,74

dkent600 commented 2 years ago

On hold because Seed launches are not high priority