Updated on 2026-08-14
This commit is contained in:
commit
c0b13031c7
6 changed files with 172 additions and 64 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue