This function is in the StandardRewards.sol contract.
function leave(uint256 id, uint256 poolTokenAmount) external greaterThanZero(poolTokenAmount) nonReentrant
This function is used to withdraw staked pool tokens from a rewards program.
The ID of the rewards program.
The number of pool tokens to withdraw.
This function does not return anything.