Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-22 18:30:36 +03:00
parent 5bc59f3789
commit d6bf0992d7
13 changed files with 209 additions and 85 deletions

View file

@ -52,6 +52,11 @@ interface StakingRepository {
fun getSingleYieldBalanceFlow(userWalletId: UserWalletId, cryptoCurrency: CryptoCurrency): Flow<YieldBalance>
suspend fun getSingleYieldBalanceSyncLegacy(
userWalletId: UserWalletId,
cryptoCurrency: CryptoCurrency,
): YieldBalance
suspend fun getSingleYieldBalanceSync(userWalletId: UserWalletId, cryptoCurrency: CryptoCurrency): YieldBalance
suspend fun fetchMultiYieldBalance(
@ -65,10 +70,10 @@ interface StakingRepository {
cryptoCurrencies: List<CryptoCurrency>,
): Flow<YieldBalanceList>
fun getMultiYieldBalanceUpdatesLegacy(
suspend fun getMultiYieldBalanceSyncLegacy(
userWalletId: UserWalletId,
cryptoCurrencies: List<CryptoCurrency>,
): Flow<YieldBalanceList>
): YieldBalanceList
suspend fun getMultiYieldBalanceSync(
userWalletId: UserWalletId,