vang1ong7ang / uniswap-safe-input-amount

uniswap safe input amount

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uniswap safe input amount

uniswap safe input amount is showed here to anti sandwitch attack.

essentially the safe input amount is 0.30135474% of amount of input token in the pool because of the transaction fee is 0.3%.

thus, the 0.3% transaction fee in uniswap provide benefits not only for the liquidity providers but also for the traders.

according to the expression show here the safe input amout is about transaction feeamount of input token in the pool when transaction fee is small enough (less than 1%).

About

uniswap safe input amount


Languages

Language:Jupyter Notebook 100.0%