Updated on 2026-08-14

This commit is contained in:
Tangem 2024-08-21 15:06:14 +03:00
parent e356f020f3
commit 71dfa1c99f
31 changed files with 146 additions and 81 deletions

View file

@ -148,8 +148,8 @@ internal class DefaultStakingRepository(
val yield = getYield(cryptoCurrencyId, symbol)
StakingEntryInfo(
interestRate = requireNotNull(yield.validators.maxByOrNull { it.apr.orZero() }?.apr),
periodInDays = yield.metadata.cooldownPeriod.days,
apr = requireNotNull(yield.validators.maxByOrNull { it.apr.orZero() }?.apr),
rewardSchedule = yield.metadata.rewardSchedule,
tokenSymbol = yield.token.symbol,
)
}