Skip to content

execution reverted by new coin (even after liquidity added) #350

Open

Description

@drone4

Hi,

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, 1
10**16, slippage=0.9, fee=current_gas_price*1.5)
Thanks

Activity

  1. liquid-8 commented on Oct 28, 2023

    @liquid-8
    Member

    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.

  2. drone4 commented on Oct 28, 2023

    @drone4
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions