Uniswap / v2-core

🦄 🦄 Core smart contracts of Uniswap V2
https://uniswap.org/docs
GNU General Public License v3.0
2.97k stars 3.18k forks source link

Add liquidity to empty pool, wrong change rate #98

Closed bota87 closed 4 years ago

bota87 commented 4 years ago

I'm trying to add liquidity to DAI-STORJ Pair. For 10 DAI it ask 2236 STORJ (0.0045 DAI per STORJ) but the actual price is more than 100x higher (0.50$)

This is a pool with only 2 transactions, add 10 DAI / 50 STORJ and remove the same amount after 3 days

Here the uniswap.info pair page

I think in this case the liquidity provider should be able to choose the "initial" price like when a new pair is created

moodysalem commented 4 years ago

This is an interface change.