providerProgramIds()

This function is in the StandardRewards.sol contract.

Function providerProgramIds()

StandardRewards.sol
function providerProgramIds(address provider) external view returns (uint256[] memory)

This function is used to get the list of rewards programs a specific address is participating in.

Function Arguments

NameTypeDescription

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 TypeReturns

uint256[]

The returned list is an array of the rewards program IDs for which the indicated address is a participant.

Last updated