|
@@ -288,62 +288,58 @@ pub(crate) fn set_invitation_count_proposal() -> ProposalParameters<BlockNumber,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// TODO: decide on paramaters
|
|
|
// Proposal parameters for the 'Create Blog Post' proposal
|
|
|
pub(crate) fn create_blog_post_proposal() -> ProposalParameters<BlockNumber, Balance> {
|
|
|
ProposalParameters {
|
|
|
voting_period: 72000,
|
|
|
- grace_period: 43200,
|
|
|
+ grace_period: 14400,
|
|
|
approval_quorum_percentage: 60,
|
|
|
- approval_threshold_percentage: 75,
|
|
|
+ approval_threshold_percentage: 80,
|
|
|
slashing_quorum_percentage: 60,
|
|
|
slashing_threshold_percentage: 80,
|
|
|
- required_stake: Some(50_000),
|
|
|
+ required_stake: Some(25000),
|
|
|
constitutionality: 1,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// TODO: decide on paramaters
|
|
|
// Proposal parameters for the 'Edit Blog Post' proposal
|
|
|
pub(crate) fn edit_blog_post_proposal() -> ProposalParameters<BlockNumber, Balance> {
|
|
|
ProposalParameters {
|
|
|
voting_period: 72000,
|
|
|
- grace_period: 43200,
|
|
|
+ grace_period: 14400,
|
|
|
approval_quorum_percentage: 60,
|
|
|
- approval_threshold_percentage: 75,
|
|
|
+ approval_threshold_percentage: 80,
|
|
|
slashing_quorum_percentage: 60,
|
|
|
slashing_threshold_percentage: 80,
|
|
|
- required_stake: Some(50_000),
|
|
|
+ required_stake: Some(25000),
|
|
|
constitutionality: 1,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// TODO: decide on paramaters
|
|
|
// Proposal parameters for the 'Lock Blog Post' proposal
|
|
|
pub(crate) fn lock_blog_post_proposal() -> ProposalParameters<BlockNumber, Balance> {
|
|
|
ProposalParameters {
|
|
|
voting_period: 72000,
|
|
|
- grace_period: 43200,
|
|
|
+ grace_period: 14400,
|
|
|
approval_quorum_percentage: 60,
|
|
|
- approval_threshold_percentage: 75,
|
|
|
+ approval_threshold_percentage: 80,
|
|
|
slashing_quorum_percentage: 60,
|
|
|
slashing_threshold_percentage: 80,
|
|
|
- required_stake: Some(50_000),
|
|
|
+ required_stake: Some(25000),
|
|
|
constitutionality: 1,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// TODO: decide on paramaters
|
|
|
// Proposal parameters for the 'Unlock Blog Post' proposal
|
|
|
pub(crate) fn unlock_blog_post_proposal() -> ProposalParameters<BlockNumber, Balance> {
|
|
|
ProposalParameters {
|
|
|
voting_period: 72000,
|
|
|
- grace_period: 43200,
|
|
|
+ grace_period: 14400,
|
|
|
approval_quorum_percentage: 60,
|
|
|
- approval_threshold_percentage: 75,
|
|
|
+ approval_threshold_percentage: 80,
|
|
|
slashing_quorum_percentage: 60,
|
|
|
slashing_threshold_percentage: 80,
|
|
|
- required_stake: Some(50_000),
|
|
|
+ required_stake: Some(25000),
|
|
|
constitutionality: 1,
|
|
|
}
|
|
|
}
|
|
@@ -358,6 +354,6 @@ pub(crate) fn veto_proposal_proposal() -> ProposalParameters<BlockNumber, Balanc
|
|
|
slashing_quorum_percentage: 60,
|
|
|
slashing_threshold_percentage: 66,
|
|
|
required_stake: Some(1_000_000),
|
|
|
- constitutionality: 0,
|
|
|
+ constitutionality: 1,
|
|
|
}
|
|
|
}
|