Uniswap SDK which handles the routes automatically for you, changes in trade quotes reactive subscriptions, exposure to formatted easy to understand information, bringing back the best trade quotes automatically, generating transactions for you and much more.
MIT License
188
stars
95
forks
source link
Error for token dForce that works on uniswap app #15
The following findBestRoute fails for token with address
0x431ad2ff6a9C365805eBaD47Ee021148d6f7DBe0
, but works on uniswap app. The error is likely related to symbol and name of the contract being abytes32
instead ofstring
. https://etherscan.io/address/0x431ad2ff6a9C365805eBaD47Ee021148d6f7DBe0#readContractError:
UniswapError: invalid from or to contract tokens
Example: