diff --git a/seasons/defi_models.py b/seasons/defi_models.py index c36357e..6c4f778 100644 --- a/seasons/defi_models.py +++ b/seasons/defi_models.py @@ -70,7 +70,7 @@ def calculate(self, metrics: List[ProjectStat]): project.metrics[ProjectStat.DEFI_SQUAD] = next(filter(lambda s: s[0](tvl), self.squads))[1] if delta > 0 and total_tvl_delta > 0: - project.score = delta / total_tvl_delta + project.score = 100.0 * delta / total_tvl_delta else: project.score = 0 @@ -99,7 +99,7 @@ def calculate(self, metrics: List[ProjectStat]): volume = project.metrics[ProjectStat.DEFI_VOLUME_USD] project.metrics[ProjectStat.DEFI_SQUAD] = next(filter(lambda s: s[0](volume), self.squads))[1] if total_volme > 0: - project.score = volume / total_volme + project.score = 100. * volume / total_volme else: project.score = 0