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
providerStake()
This function is in the StandardRewards.sol contract.
Function providerStake()
StandardRewards.sol
1
function
providerStake
(
address provider
,
uint256 id
)
external view
returns
(
uint256
)
Copied!
This function checks the amount staked by a specific address in a rewards program.
Function Arguments
Name
Type
Description
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 Type
Returns
uint256
The number of tokens staked by the address.
Example response:
uint256 : 90947879999930743403434
Previous
isProgramEnabled()
Next
programStake()
Last modified
19d ago
Copy link
Contents
Function providerStake()
Function Arguments
Return Variables