Comment on page
QuestDataTypes
enum PeriodState {
ZERO,
ACTIVE,
CLOSED,
DISTRIBUTED
}
State of each Period for each Quest
All Periods are
ACTIVE
at creation since the voters from past periods are also accounted for the future period
enum QuestVoteType {
NORMAL,
BLACKLIST,
WHITELIST
}
Types of Vote logic for Quests
NORMAL
: basic vote logicBLACKLIST
: remove the blacklisted voters bias from the gauge biasesWHITELIST
: only sum up the whitelisted voters biases
enum QuestRewardsType {
FIXED,
RANGE
}
Types of Rewards logic for Quests
FIXED
: reward per vote is fixedRANGE
: reward per vote is a range between min and max, based on the Quest completion between min objective and max objective
enum QuestCloseType {
NORMAL,
ROLLOVER,
DISTRIBUTE
}
Types of logic for undistributed rewards when closing Quest periods
NORMAL
: undistributed rewards are available to be withdrawn by the creatorROLLOVER
: undistributed rewards are added to the next period, increasing the reward/vote parameterDISTRIBUTE
: undistributed rewards are sent to the gauge for direct distribution
Last modified 1mo ago