Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property '4690' is missing in type '{ [x: number]: Token[]; 4689: Token[]; }' but required in type 'ChainTokenList'. #1936

Open
sodanafinance opened this issue Nov 22, 2021 · 0 comments

Comments

@sodanafinance
Copy link

So, I am trying to clone the iotex dex repo, but the iotext dex is not there in github or open source so to say. So, I just used pancakeswap dex but used the iotex sdk. I had succeeded in compiling the built sdk to my pancakeswap dex clone. but, I am getting an error:
Property '4690' is missing in type '{ [x: number]: Token[]; 4689: Token[]; }' but required in type 'ChainTokenList'.
export const BASES_TO_CHECK_TRADES_AGAINST: ChainTokenList = {
| ^
13 | [ChainId.MAINNET]: [
14 | mainnetTokens.wbnb,
15 | mainnetTokens.cake, What am I doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant