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 }}
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
And i'm getting errors on the properties tokenA and tokenB from that method. It's complaning that the new Token instance i'm creating and using as param is missing properties isNative, isToken, and wrapped.
You need to use @uniswap/v2-sdk and @uniswap/sdk-core instead of @uniswap/sdk. The package you are using is an old version of the v2-sdk that was deprecated when Uniswap v3 was released.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have this method in a class:
And i'm getting errors on the properties
tokenA
andtokenB
from that method. It's complaning that the newToken
instance i'm creating and using as param is missing propertiesisNative
,isToken
, andwrapped
.How to reproduce:
Use these versions in a node project:
Run a class like this:
The text was updated successfully, but these errors were encountered: