QuestBoard
Storage
GAUGE_CONTROLLER
address GAUGE_CONTROLLERnextID
uint256 nextIDquests
mapping(uint256 => struct IQuestBoard.Quest) questsperiodsByQuest
mapping(uint256 => mapping(uint256 => struct IQuestBoard.QuestPeriod)) periodsByQuestquestDistributors
mapping(uint256 => address) questDistributorsquestWithdrawableAmount
platformFeeRatio
customPlatformFeeRatio
objectiveMinimalThreshold
questChest
distributor
biasCalculator
approvedManagers
whitelistedTokens
minRewardPerVotePerToken
isKilled
killTs
Structs
QuestPeriod
Quest
QuestTypes
Events
Init
NewQuest
ExtendQuestDuration
UpdateQuestParameters
WithdrawUnusedRewards
PeriodClosed
PeriodBiasFixed
WhitelistToken
UpdateRewardToken
Killed
Unkilled
EmergencyWithdraw
ApprovedManager
RemovedManager
ChestUpdated
SetCustomFeeRatio
DistributorUpdated
PlatformFeeRatioUpdated
MinObjectiveUpdated
Modifiers
onlyAllowed
isAlive
isInitialized
Constructor
init
Name
Type
Description
View Methods
getCurrentPeriod
getQuestIdsForPeriod
Name
Type
Description
Name
Type
Description
getQuestIdsForPeriodForGauge
Name
Type
Description
Name
Type
Description
getAllPeriodsForQuestId
Name
Type
Description
Name
Type
Description
getAllQuestPeriodsForQuestId
Name
Type
Description
Name
Type
Description
_getRemainingDuration
Name
Type
Description
Name
Type
Description
getCurrentReducedBias
Name
Type
Description
Name
Type
Description
getQuestCreator
Name
Type
Description
Name
Type
Description
State-changing Methods
createFixedQuest
Name
Type
Description
Name
Type
Description
createRangedQuest
Name
Type
Description
Name
Type
Description
_createQuest
Name
Type
Description
Name
Type
Description
extendQuestDuration
Name
Type
Description
updateQuestParameters
Name
Type
Description
withdrawUnusedRewards
Name
Type
Description
emergencyWithdraw
Name
Type
Description
Internal Methods
_getFeeRatio
Name
Type
Description
Name
Type
Description
_getDistributionAmount
Name
Type
Description
Name
Type
Description
_handleUndistributedRewards
Name
Type
Description
_closeQuestPeriod
Name
Type
Description
Manager Methods
closeQuestPeriod
Name
Type
Description
closePartOfQuestPeriod
Name
Type
Description
_addMerkleRoot
Name
Type
Description
addMerkleRoot
Name
Type
Description
addMultipleMerkleRoot
Name
Type
Description
whitelistToken
Name
Type
Description
whitelistMultipleTokens
Name
Type
Description
updateRewardToken
Name
Type
Description
Admin Methods
fixQuestPeriodBias
Name
Type
Description
approveManager
Name
Type
Description
removeManager
Name
Type
Description
updateChest
Name
Type
Description
updateDistributor
Name
Type
Description
updatePlatformFee
Name
Type
Description
updateMinObjective
Name
Type
Description
setCustomFeeRatio
Name
Type
Description
recoverERC20
Name
Type
Description
Name
Type
Description
killBoard
unkillBoard
Maths
safe48
Last updated
Was this helpful?