File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/catalyst-toolbox/catalyst-toolbox/scripts/python Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,11 @@ class Author(pydantic.BaseModel):
72
72
email : str
73
73
user_name : str = pydantic .Field (alias = "userName" )
74
74
75
+ # CatGateway models
76
+
77
+ class CatalystDocumentProposal (pydantic .BaseModel ):
78
+
79
+
75
80
# Ideascale models
76
81
77
82
class IdeascaleProposal (pydantic .BaseModel ):
@@ -700,7 +705,7 @@ def calculate_rewards(
700
705
output_file : str = typer .Option (...),
701
706
block0_path : str = typer .Option (...),
702
707
gamma : str = typer .Option (
703
- 1 ,
708
+ "1" ,
704
709
help = """
705
710
The gamma value applied for the calculation of the total stake threshold. It is applied to every single voting value before the sum is executed.
706
711
"""
@@ -713,7 +718,7 @@ def calculate_rewards(
713
718
"""
714
719
),
715
720
relative_threshold : float = typer .Option (
716
- 0 ,
721
+ - 1 ,
717
722
help = "This value indicates the relative threshold between Yes/No votes needed by projects to be eligible for funding."
718
723
),
719
724
output_format : OutputFormat = typer .Option ("csv" , help = "Output format" ),
You can’t perform that action at this time.
0 commit comments