providerStake()

This function is in the StandardRewards.sol contract.

Function providerStake()

StandardRewards.sol
function providerStake(address provider, uint256 id) external view returns (uint256)

This function checks the amount staked by a specific address in a rewards program.

Function Arguments

NameTypeDescription

provider

address

The address to check.

id

uint256

The ID of the rewards program.

Return Variables

This function gets the number of tokens staked in a specific rewards program for the specified address.

Variable TypeReturns

uint256

The number of tokens staked by the address.

Example response:

uint256 : 90947879999930743403434

Last updated