Update getFactoryInfo.js

This commit is contained in:
Daniel
2022-11-05 11:42:57 +01:00
parent 18782460de
commit 78a0816271

View File

@@ -15,4 +15,7 @@ export const getFactoryInfo = async (factoryAddress, web3) => {
factoryInfo.allPairs[i] = await factory.methods.allPairs(i).call();
}
factoryInfo.pairsInfo = await getPairsInfo(factoryInfo.allPairs, web3);
return factoryInfo;
}