Rewarder
State Variables
MAX_PERCENTAGE
uint256 public constant MAX_PERCENTAGE = 1e4;APR_PRECISION
uint256 public constant APR_PRECISION = 1e8;REWARD_PERIOD
uint256 public constant REWARD_PERIOD = 1 weeks;DENOMINATOR
uint256 public constant DENOMINATOR = 100;ONE_YEAR
REWARD_TOKEN
REWARD_TOKEN_DECIMALS
totalRewardRate
rewarderFactory
calibrationRestricted
farmRewardConfigs
_decimals
Functions
constructor
initialize
Name
Type
Description
calibrateReward
Name
Type
Description
Name
Type
Description
updateTokenManagerOfFarm
Name
Type
Description
recoverRewardFundsOfFarm
Name
Type
Description
updateAPR
Name
Type
Description
toggleCalibrationRestriction
Name
Type
Description
recoverERC20
Name
Type
Description
getTokenAmounts
Name
Type
Description
Name
Type
Description
getFarmRewardConfig
Name
Type
Description
Name
Type
Description
rewardsEndTime
Name
Type
Description
Name
Type
Description
updateRewardConfig
Name
Type
Description
_initialize
Name
Type
Description
_isConfigured
Name
Type
Description
_getTokenAmounts
Name
Type
Description
Name
Type
Description
_hasRewardToken
Name
Type
Description
Name
Type
Description
_validateNonZeroAddr
Name
Type
Description
_calibrateReward
_setRewardRate
Name
Type
Description
_adjustGlobalRewardRate
Name
Type
Description
_isValidFarm
Name
Type
Description
Name
Type
Description
_hasBaseTokens
Name
Type
Description
Name
Type
Description
_normalizeAmount
Name
Type
Description
Name
Type
Description
_getPrice
Name
Type
Description
Name
Type
Description
_validatePriceFeed
Name
Type
Description
_validateRewardPer
Name
Type
Description
Was this helpful?