Standard Rewards

List reward programs for token pools

function activeProgramId()

StandardStakingRewards.sol
function activeProgramId(Token pool) external view returns (uint256)

Function Arguments

NameTypeDescription

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 NameReturns

activeProgramIDbyPool[pool]

the id of active program with their pool address

unit256

indicates the returns with be 256 bits in size

Last updated