Created
May 28, 2021 14:39
-
-
Save itoonx/df746a4d1755821eda11c3c1be94d852 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pools = await Utils.multiCall([...Array(parseInt(poolLength)).keys()].map(id => { | |
return { | |
pid: id.toString(), | |
poolInfo: new Web3EthContract(abi, masterChef).methods[poolInfoFunctionName](id), | |
}; | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment