programStake()

This function is in the StandardRewards.sol contract.

Function programStake()

StandardRewards.sol
function programStake(uint256 id) external view returns (uint256)

This function gets details about the amount currently staked in a specific program.

Function Arguments

NameTypeDescription

id

uint256

The ID of a rewards program.

Return Variables

This function gets the number of tokens staked in the specified rewards program.

Variable TypeReturns

uint256

The number of tokens currently staked in the specified rewards program.

Example response:

uint256 : 1204490848879513812011104

Last updated