Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-29 17:22:09 +03:00
parent 3503cadb5e
commit b91ed6359c
12 changed files with 305 additions and 97 deletions

View file

@ -53,6 +53,7 @@ internal class ExpressOnrampConverter : Converter<ExpressOnrampConverter.Input,
createdAtMillis = parseIsoMillis(entity.createdAt),
provider = value.provider,
payoutHash = entity.payoutHash,
payoutAddress = entity.payoutAddress,
fromFiat = Amount(
currencySymbol = entity.fromCurrencyCode,
value = entity.fromAmount.toScaledBigDecimal(entity.fromPrecision),
@ -89,6 +90,8 @@ private fun convertExchangeTransaction(value: ExpressSwapConverter.Input): Excha
provider = value.provider,
payinHash = entity.payinHash,
payoutHash = entity.payoutHash,
fromAddress = entity.fromAddress,
payoutAddress = entity.payoutAddress,
fromAsset = ExpressTransactionAsset(
id = ExpressAssetId(networkId = entity.from.network, contractAddress = entity.from.contractAddress),
amount = entity.from.amount.toScaledBigDecimal(entity.from.decimals),