Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Need to Add Polygon's ETH_ADDRESS #256

Copy link
Copy link
Open
@YasirAzeem

Description

@YasirAzeem
Issue body actions

In the constants.py file there is a variable called ETH_ADDRESS which has the value 0x0000000000000000000000000000000000000000.

This works fine for Uniswap and even Pancakeswap but doesn't work for polygon network because the ETH_ADDRESS for Polygon Network is 0x0000000000000000000000000000000000001010.

This affects make_trade methods if you want to buy/sell with MATIC as one of the token. Otherwise it works well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.