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
isProgramActive()
This function is in the StandardRewards.sol contract.
Function isProgramActive()
StandardRewards.sol
1
function
isProgramActive
(
uint256 id
)
external view
returns
(
bool
)
Copied!
This function is used to check if a specific rewards program is currently active.
Function Arguments
Name
Type
Description
id
uint256
The ID of the rewards program.
Return Variables
This function returns a boolean indicating if the rewards program is currently active.
Variable Type
Returns
bool
True:
Rewards program is active.
False:
Rewards program is inactive.
Previous
latestProgramId()
Next
isProgramEnabled()
Last modified
19d ago
Copy link
Contents
Function isProgramActive()
Function Arguments
Return Variables