isProgramActive()

This function is in the StandardRewards.sol contract.

Function isProgramActive()

StandardRewards.sol
function isProgramActive(uint256 id) external view returns (bool)

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.

Last updated