Skip to content
Snippets Groups Projects
Commit e05b739f authored by Éloïs's avatar Éloïs
Browse files

gdev: use real money growth rate

parent fe744c51
No related branches found
No related tags found
1 merge request!43Params
...@@ -81,7 +81,8 @@ frame_support::parameter_types! { ...@@ -81,7 +81,8 @@ frame_support::parameter_types! {
// Universal dividend // Universal dividend
parameter_types! { parameter_types! {
pub const SquareMoneyGrowthRate: Permill = Permill::one(); // 0.002_381_440 = 0.0488^2
pub const SquareMoneyGrowthRate: Permill = Permill::from_parts(2_381_440);
} }
// Multisig // Multisig
......
...@@ -88,7 +88,7 @@ parameter_types! { ...@@ -88,7 +88,7 @@ parameter_types! {
pub const UdCreationPeriod: BlockNumber = DAYS; pub const UdCreationPeriod: BlockNumber = DAYS;
pub const UdFirstReeval: BlockNumber = 2 * DAYS; pub const UdFirstReeval: BlockNumber = 2 * DAYS;
pub const UdReevalPeriod: Balance = 7; pub const UdReevalPeriod: Balance = 7;
pub const UdReevalPeriodInBlocks: BlockNumber = 100800; // 86400 *7 / 6 pub const UdReevalPeriodInBlocks: BlockNumber = 100800; // 86400 * 7 / 6
} }
/*******/ /*******/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment