QuestBoard
GAUGE_CONTROLLER
Address of the Curve Gauge Controller
nextID
ID for the next Quest to be created
quests
List of Quest (indexed by ID)
periodStateByQuest
Mapping of all state for each period of each Quest
periodAmountDistributedByQuest
Mapping of distributed reward amounts for each period of each Quest
originalRewardPerPeriod
Original Reward per period for Rollover Quests
questDistributors
Mapping of Distributors used by each Quest to send rewards
questWithdrawableAmount
Amount not distributed, for Quest creators to redeem
platformFeeRatio
Platform fees ratio (in BPS)
customPlatformFeeRatio
Mapping of specific fee ratio for some Quest creators
objectiveMinimalThreshold
Minimum Objective required
questChest
Address of the Chest to receive platform fees
distributor
Address of the reward Distributor contract
whitelistedTokens
Whitelisted tokens that can be used as reward tokens
minRewardPerVotePerToken
Min rewardPerVote per token (to avoid spam creation of useless Quest)
isKilled
Boolean, true if the cotnract was killed, stopping main user functions
killTs
Timestamp when the contract was killed
Parameters
getCurrentPeriod
Returns the current Period for the contract
getQuestIdsForPeriodForGauge
Returns the list of all Quest IDs active on a given period
Parameters
Return Values
getQuestIdsForPeriod
Returns the list of all Quest IDs active on a given period
Parameters
Return Values
getAllPeriodsForQuestId
Returns all periods for a Quest
Parameters
Return Values
_getRemainingDuration
Returns the number of periods to come for a given Quest
Parameters
Return Values
getQuestCreator
Returns the address of the Quest creator
Parameters
Return Values
getQuestVoterList
Returns the voter list for a given Quest
Parameters
Return Values
getCurrentReducedBias
Returns the current reduced bias for a given gauge (based on a Quest's voter list)
Parameters
Return Values
getReducedBias
Returns the reduced bias for a given gauge for a given period (based on a Quest's voter list)
Parameters
Return Values
createFixedQuest
Creates a fixed rewards Quest based on the given parameters
Parameters
Return Values
createRangedQuest
Creates a ranged rewards Quest based on the given parameters
Parameters
Return Values
extendQuestDuration
Increases the duration of a Quest
Parameters
updateQuestParameters
Updates the parametes of the Quest
Parameters
addToVoterList
Adds a given list of addresses to a Quest's voter list
Parameters
removeFromVoterList
Removes a given address from a Quest's voter list
Parameters
withdrawUnusedRewards
Withdraw all undistributed rewards from Closed Quest Periods
Parameters
multipleWithdrawUnusedRewards
emergencyWithdraw
Emergency withdraws all undistributed rewards from Closed Quest Periods & all rewards for Active Periods
Parameters
closeQuestPeriod
Closes the Period, and all QuestPeriods for this period
Parameters
closePartOfQuestPeriod
Closes the given QuestPeriods for the Period
Parameters
addMultipleMerkleRoot
Sets a list of QuestPeriods as disitrbuted, and adds the MerkleRoot to the Distributor contract for each
Parameters
Last updated