-
Notifications
You must be signed in to change notification settings - Fork 75
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
How to add Cake to main token? #21
Comments
@Linch1 Help me, please :(( |
Hey @tanhsnkt1997 Can you filter with the field mainToken like below? {mainToken:"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82"} |
Ehi @tanhsnkt1997 :) so you want pancake to be one of the main tokens, like BUSD,USDT,... , or you are having issues when filtering the pairs that contains the pancake token 🤔 ? |
Thanks @Linch1 and @developer9 it has data, but when i see the CAKE data when in dependentToken is very little, while poocoin has a lot ? |
@Linch1 @developer9 when i add cake as maintoken like above data {mainToken: |
If i add cake LIKE [EnumChainId.BSC]: {
BTC: {
address: UtilsAddresses.toCheckSum("0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c"),
decimals: 18
},//
// DOT: {
// address: UtilsAddresses.toCheckSum("0x7083609fce4d1d8dc0c979aab8c869ea2c873402"),
// decimals: 18
// },//
}
EnumMainTokens[EnumChainId.BSC].STABLECOINS = [ "BUSD", "USDC", "USDT", "CAKE" ].map( e => EnumMainTokens[EnumChainId.BSC][e].address ) ===> dependantToken: "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82" scrap always don't have data
The text was updated successfully, but these errors were encountered: