isProgramActive()
AutoCompoundingRewards.sol
function isProgramActive(Token pool) external view returns (bool)
This function is used to check if a specific rewards program is currently active.
Name | Type | Description |
---|---|---|
pool | address | The contract address of the token. |
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 modified 4mo ago