This function is in the StandardRewards.sol contract.
function stakeRewards(uint256 calldata ids) external uniqueArray(ids) nonReentrant returns (StakeAmounts memory)
This function is used to claim & stake pending rewards from one or more standard rewards programs.
The function accepts a list of reward program IDs as arguments and returns the number of reward tokens claimed & staked, and the number of pool tokens received.
This is an array of reward program IDs.
The amount of rewards claimed.
The amount of pool tokens received.