Updated on 2026-08-14

This commit is contained in:
Tangem 2023-11-30 18:11:28 +03:00
parent b904eecf7a
commit 59dff6b9bd
5 changed files with 21 additions and 3 deletions

View file

@ -168,6 +168,7 @@ internal class SwapRepositoryImpl @Inject constructor(
toNetwork: String,
fromAmount: String,
fromDecimals: Int,
toDecimals: Int,
providerId: String,
rateType: RateType,
): AggregatedSwapDataModel<QuoteModel> {
@ -180,6 +181,7 @@ internal class SwapRepositoryImpl @Inject constructor(
toNetwork = toNetwork,
fromAmount = fromAmount,
fromDecimals = fromDecimals,
toDecimals = toDecimals,
providerId = providerId,
rateType = rateType.name.lowercase(),
).getOrThrow()
@ -208,6 +210,7 @@ internal class SwapRepositoryImpl @Inject constructor(
toNetwork: String,
fromAmount: String,
fromDecimals: Int,
toDecimals: Int,
providerId: String,
rateType: RateType,
toAddress: String,
@ -221,6 +224,7 @@ internal class SwapRepositoryImpl @Inject constructor(
toNetwork = toNetwork,
fromAmount = fromAmount,
fromDecimals = fromDecimals,
toDecimals = toDecimals,
providerId = providerId,
rateType = rateType.name.lowercase(),
toAddress = toAddress,