latestProgramId()
This function is in the StandardRewards.sol contract.
Last updated
This function is in the StandardRewards.sol contract.
function latestProgramId(Token pool) external view returns (uint256)This function is used to find the ID of the rewards program for a given token.
pool
Token
The token's address.
This function returns the ID of the latest rewards program for the given token.
uint256
The ID of the rewards program.
Example response:
uint256 : 1
Last updated
