From fa2a4c4866ade8d84e3cbdd5a9687f230df35161 Mon Sep 17 00:00:00 2001 From: Tangem Date: Thu, 17 Aug 2023 17:37:26 +0500 Subject: [PATCH] Updated on 2026-08-14 --- .../java/com/tangem/domain/tokens/models/CryptoCurrency.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/domain/tokens/models/src/main/java/com/tangem/domain/tokens/models/CryptoCurrency.kt b/domain/tokens/models/src/main/java/com/tangem/domain/tokens/models/CryptoCurrency.kt index 83d1d65eb0..6c46276300 100644 --- a/domain/tokens/models/src/main/java/com/tangem/domain/tokens/models/CryptoCurrency.kt +++ b/domain/tokens/models/src/main/java/com/tangem/domain/tokens/models/CryptoCurrency.kt @@ -14,6 +14,7 @@ import java.io.Serializable * @property derivationPath Optional path used for key derivation. `null` if the wallet does not support the * [HD Wallet](https://coinsutra.com/hd-wallets-deterministic-wallet/) feature. */ +// TODO: [REDACTED_JIRA] delete serializable sealed class CryptoCurrency : Serializable { abstract val id: ID @@ -82,7 +83,7 @@ sealed class CryptoCurrency : Serializable { private val prefix: Prefix, private val networkId: Network.ID, private val suffix: Suffix, - ) { + ) : Serializable { val value: String = buildString { append(prefix.value) @@ -113,7 +114,7 @@ sealed class CryptoCurrency : Serializable { * * The suffix can either be a raw ID or a contract address. */ - sealed class Suffix { + sealed class Suffix : Serializable { /** The value of the suffix, which could be either a raw ID or a contract address. */ abstract val value: String