You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
execution reverted by new coin (even after liquidity added) #350
By relatively new coins execution always reverted, if no yet liquidity, then no transaction, if liquidity exists it transact, deduct fee but fail.
Even with 0.9 slippage and 1.5current fee, why? https://etherscan.io/tx/0x1ba2897733c8aacecad59593dd66ed333156645cb1c5d604a45524c9de34f91b
version = 2
provider = "https://mainnet.infura.io/v3/myinfura"
eth = "0x0000000000000000000000000000000000000000"
uniswap = Uniswap(address=address, private_key=private_key, version=version, provider=provider)
uniswap.make_trade(eth, coin, 110**16, slippage=0.9, fee=current_gas_price*1.5)
Thanks
The fee param doesn't (and shouldn't) work for V2. By the way, you misinterpret its meaning. However, this error doesn't occur for other tokens. This particular token was likely drained ~two weeks ago, so I can't reproduce it at the moment.
Activity
liquid-8 commentedon Oct 28, 2023
The
feeparam doesn't (and shouldn't) work for V2. By the way, you misinterpret its meaning. However, this error doesn't occur for other tokens. This particular token was likely drained ~two weeks ago, so I can't reproduce it at the moment.drone4 commentedon Oct 28, 2023