Updated on 2026-08-14

This commit is contained in:
Tangem 2024-07-23 14:43:09 +03:00
parent 67016b4755
commit 57eb2359a7
19 changed files with 291 additions and 125 deletions

View file

@ -124,9 +124,9 @@ internal class DefaultStakingRepository(
}
}
override suspend fun getEntryInfo(integrationId: String): StakingEntryInfo {
override suspend fun getEntryInfo(cryptoCurrencyId: CryptoCurrency.ID, symbol: String): StakingEntryInfo {
return withContext(dispatchers.io) {
val yield = stakeKitApi.getSingleYield(integrationId).getOrThrow()
val yield = getYield(cryptoCurrencyId, symbol)
StakingEntryInfo(
interestRate = yield.apy,