dao-governance-framework/forum-network/public/classes/params.js

27 lines
684 B
JavaScript
Raw Normal View History

2022-11-12 16:20:42 -06:00
const params = {
2022-11-30 09:13:52 -06:00
/* Validation Pool parameters */
2022-11-12 16:20:42 -06:00
mintingRatio: 1, // c1
stakeForWin: 0.5, // c2
2022-11-17 08:30:06 -06:00
// stakeForAuthor: 0.5, // c3 - For now we keep the default that stakeForAuthor = stakeForWin
2022-11-12 16:20:42 -06:00
winningRatio: 0.5, // c4
2022-11-17 09:07:11 -06:00
quorum: 0.5, // c5
2022-11-12 16:20:42 -06:00
activeVoterThreshold: null, // c6
2022-11-30 09:13:52 -06:00
voteDuration: {
// c7
2022-11-12 16:20:42 -06:00
min: 0,
max: null,
},
// NOTE: c8 is the token loss ratio, which is specified as a runtime argument
contentiousDebate: {
period: 5000, // c9
stages: 3, // c10
},
lockingTimeExponent: 0, // c11
2022-11-30 09:13:52 -06:00
/* Forum parameters */
initialPostValueFunction: ({ tokensMinted }) => tokensMinted, // q1
citationFraction: 0.3, // q2
2022-11-12 16:20:42 -06:00
};
export default params;