Search…
About Bancor Network
Bancor V3
Bancor Basics
Resources for DAOs
Security & Audits
Contracts & Functions
Contracts
Write Functions
Read Functions
Rewards
Identify if a program exists
programIds()
programs()
providerProgramIds()
pendingRewards()
latestProgramId()
isProgramActive()
isProgramEnabled()
providerStake()
programStake()
providerRewards()
Liquidity Pool Details
Trades
Withdrawals
Pool Token Information
Vortex
Data & Events
Developer Guides
Bancor Vortex Burner
Bancor Etherscan Guide
REST API
Marketing
Brand Guide
Powered By
GitBook
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.
Previous
programs()
Next
pendingRewards()
Last modified
19d ago
Copy link
Contents
Function providerProgramIds()
Function Arguments
Return Variables