Auto Compounding
Check if a pool has a rewards program
function isProgramActive()
AutoCompoundingStakingRewards.sol
By passing the pool address (which is identical to the token address), the function would indicate if there is an active Auto-Compounding rewards plan for it.
Function Arguments
Return Variables
The functionisProgramActive()
returns the variable named bool.
Solidity provides boolean data types. The bool data type is a binary variable that returns variables like, true or false.
Last updated