Search…
providerProgramIds()
This function is in the StandardRewards.sol contract.

Function providerProgramIds()

StandardRewards.sol
1
function providerProgramIds(address provider) external view returns (uint256[] memory)
Copied!
This function is used to get the list of rewards programs a specific address is participating in.

Function Arguments

Name
Type
Description
provider
address
The address for which to check reward program participation.

Return Variables

This function gets a list of rewards programs that the specified address is a participant in.
Variable Type
Returns
uint256[]
The returned list is an array of the rewards program IDs for which the indicated address is a participant.