Standard Rewards
List reward programs for token pools
function activeProgramId()
StandardStakingRewards.sol
Function Arguments
Name
Type
Description
pool
Token
pool
uint256
Return Variables
The read function activeProgramId()
provides return variables with the return statement.
The return will be a list of the active program ids and their respective pool addresses.
Variable Name
Returns
activeProgramIDbyPool[pool]
the id of active program with their pool address
unit256
indicates the returns with be 256 bits in size
Last updated