Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-19 11:22:53 +05:00
commit c0b13031c7
6 changed files with 172 additions and 64 deletions

View file

@ -106,6 +106,7 @@ internal class YieldSupplyStartEarningModel @Inject constructor(
val transactionListData = yieldSupplyStartEarningUseCase(
userWalletId = userWallet.walletId,
cryptoCurrencyStatus = cryptoCurrencyStatus,
maxNetworkFee = MAX_NETWORK_FEE,
).getOrNull() ?: return
val updatedTransactionList = yieldSupplyEstimateEnterFeeUseCase.invoke(
@ -221,4 +222,8 @@ internal class YieldSupplyStartEarningModel @Inject constructor(
onLoadFee()
}
}
private companion object {
val MAX_NETWORK_FEE: BigDecimal = BigDecimal.TEN // TODO replace with value from api
}
}