File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -735,17 +735,19 @@ pub mod pallet {
735
735
#[ pallet:: type_value]
736
736
/// Default moving alpha for the moving price.
737
737
pub fn DefaultMovingAlpha < T : Config > ( ) -> I96F32 {
738
- I96F32 :: saturating_from_num ( 0.00001 )
738
+ // Moving average take 30 days to reach 50% of the price
739
+ // and 3.5 months to reach 90%.
740
+ I96F32 :: saturating_from_num ( 0.000003 )
739
741
}
740
742
#[ pallet:: type_value]
741
743
/// Default subnet moving price.
742
744
pub fn DefaultMovingPrice < T : Config > ( ) -> I96F32 {
743
- I96F32 :: saturating_from_num ( 0.0 )
745
+ I96F32 :: saturating_from_num ( 0.0 )
744
746
}
745
747
#[ pallet:: type_value]
746
748
/// Default value for Share Pool variables
747
749
pub fn DefaultSharePoolZero < T : Config > ( ) -> U64F64 {
748
- U64F64 :: saturating_from_num ( 0 )
750
+ U64F64 :: saturating_from_num ( 0 )
749
751
}
750
752
751
753
#[ pallet:: type_value]
You can’t perform that action at this time.
0 commit comments