Updated on 2026-08-14
This commit is contained in:
commit
808cd4a301
503 changed files with 12306 additions and 3036 deletions
|
|
@ -263,7 +263,7 @@ internal class StakingModel @Inject constructor(
|
|||
isInitialInfoStep && noBalanceState && !isAccountInitialized -> {
|
||||
analyticsEventHandler.send(StakingAnalyticsEvent.UnitializedAddress(
|
||||
token = cryptoCurrencyStatus.currency.symbol,
|
||||
),)
|
||||
))
|
||||
stakingEventFactory.createInitializeAccountAlert()
|
||||
return@launch
|
||||
}
|
||||
|
|
@ -654,7 +654,7 @@ internal class StakingModel @Inject constructor(
|
|||
contractAddress = tokenCryptoCurrency.contractAddress,
|
||||
spenderAddress = approval.spenderAddress,
|
||||
fee = fee,
|
||||
cryptoCurrency = tokenCryptoCurrency,
|
||||
cryptoCurrencyStatus = cryptoCurrencyStatus,
|
||||
userWalletId = userWalletId,
|
||||
).fold(
|
||||
ifLeft = { error ->
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ internal class StakingFeeTransactionLoader @AssistedInject constructor(
|
|||
val tokenCurrency = cryptoCurrencyStatus.currency as? CryptoCurrency.Token
|
||||
?: return onApprovalFeeError(GetFeeError.UnknownError)
|
||||
val approvalTransactionData = createApprovalTransactionUseCase(
|
||||
cryptoCurrency = tokenCurrency,
|
||||
cryptoCurrencyStatus = cryptoCurrencyStatus,
|
||||
userWalletId = userWallet.walletId,
|
||||
amount = amount,
|
||||
contractAddress = tokenCurrency.contractAddress,
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ internal class StakingTransactionSender @AssistedInject constructor(
|
|||
getConstructedStakingTransactionUseCase(
|
||||
networkId = cryptoCurrencyStatus.currency.network.rawId,
|
||||
fee = fee,
|
||||
amount = amount.convertToSdkAmount(cryptoCurrencyStatus.currency),
|
||||
amount = amount.convertToSdkAmount(cryptoCurrencyStatus),
|
||||
transactionId = transaction.id,
|
||||
).fold(
|
||||
ifRight = { (constructedTransaction, transactionData) ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue