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
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: