leave()
This function is in the StandardRewards.sol contract.
Function leave()
StandardRewards.sol
This function is used to withdraw staked pool tokens from a rewards program.
Function Arguments
Name | Type | Description |
---|---|---|
id | uint256 | The ID of the rewards program. |
poolTokenAmount | uint256 | The number of pool tokens to withdraw. |
This function does not return anything.
Last updated