Vitalik Marincenko
Vitalik Marincenko
`factoryAddress` and `pairAddress` of PancakeSwap: ``` pairAddress: '0xca143ce32fe78f1f7019d7d551a6402fc5350c73', factoryAddress: '0xca143ce32fe78f1f7019d7d551a6402fc5350c73' ``` try to use this multicall address: `0x41263cba59eb80dc200f3e2544eda4ed6a90e76c`
@mburger81 Yes, factoryAddress usually includes pair code implementation, so they can stay the same, you might be missing the router address and you may need to specify the wethAddress of...
here is my configuration dynamic setup ``` const details = chainDetails( provider, chainId ); const WETH_ADDRESS = details.wethAddress; const DAI_ADDRESS = details.daiAddress; const fromToken = findTokenStrict(details.tokensIn, fromCurrency, WETH_ADDRESS); const toToken...
I'm not dealing with BSC testnet
those are simple array lookup functions with `.find` ``` const chainDetails = (provider, chainId = 1) => { return ( provider.supportedChains.find((chain) => chain.chainId === chainId) ); }; ``` ``` const...