Updated on 2026-08-14
This commit is contained in:
parent
67016b4755
commit
57eb2359a7
19 changed files with 291 additions and 125 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue