iotexproject/iotex-desktop-wallet

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

Opened this issue · 0 comments

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?