isProgramActive()

Function 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.

Function Arguments

NameTypeDescription

pool

address

The contract address of the token.

Return Variables

This function returns a boolean indicating if the rewards program is currently active.

Variable TypeReturns

bool

True: Rewards program is active. False: Rewards program is inactive.

Last updated