diff --git a/webapp/models/Staking.php b/webapp/models/Staking.php index d044b106..1dd64459 100644 --- a/webapp/models/Staking.php +++ b/webapp/models/Staking.php @@ -215,6 +215,13 @@ class Staking extends BaseModel { $dto['stacked_days'] = max(0, $passedDays); $dto['remain_days'] = max(0, $saveDays - $dto['stacked_days']); $dailyInterest = self::getDailyInterest($row['stake_time'], $dto['remain_days']); + if ($saveDays >= 30 * 12 * 2) { + if ($dto['remain_days'] < 30 * 12) { + $dailyInterest *= 0.6; + } else { + $dailyInterest *= 0.4; + } + } $dto['daily_rewards'] = $dto['cec_value'] * $dailyInterest; /* error_log(json_encode(array(