Update getFactoryInfo.js
This commit is contained in:
@@ -15,4 +15,7 @@ export const getFactoryInfo = async (factoryAddress, web3) => {
|
|||||||
factoryInfo.allPairs[i] = await factory.methods.allPairs(i).call();
|
factoryInfo.allPairs[i] = await factory.methods.allPairs(i).call();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
factoryInfo.pairsInfo = await getPairsInfo(factoryInfo.allPairs, web3);
|
||||||
|
|
||||||
|
return factoryInfo;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user