Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-24 10:42:55 +02:00
parent f24d7b3c8f
commit 5bfb8c3f60

View file

@ -19,7 +19,7 @@ class StakingApyFlowUseCase(private val stakingRepository: StakingRepository) {
return stakingRepository.getEnabledYields()
.map { yields ->
yields.associate { yield ->
val key = "${yield.token.network.name.lowercase()}_${yield.token.symbol}"
val key = "${yield.token.coinGeckoId}_${yield.token.symbol}"
val apy = calculateApy(yield)
key to apy
}