Updated on 2026-08-14
This commit is contained in:
parent
c1900053f7
commit
72ddf5ae12
5 changed files with 47 additions and 28 deletions
|
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
alias(deps.plugins.kotlin.jvm)
|
||||
alias(deps.plugins.kotlin.serialization)
|
||||
id("configuration")
|
||||
}
|
||||
|
||||
|
|
@ -11,4 +12,8 @@ dependencies {
|
|||
// region Domain modules
|
||||
implementation(project(":domain:models"))
|
||||
// endregion
|
||||
|
||||
// region Other libraries
|
||||
implementation(deps.kotlin.serialization)
|
||||
// endregion
|
||||
}
|
||||
|
|
@ -2,9 +2,10 @@ package com.tangem.domain.wallets.models
|
|||
|
||||
import com.tangem.common.extensions.hexToBytes
|
||||
import com.tangem.common.extensions.toHexString
|
||||
import java.io.Serializable
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
data class UserWalletId(val stringValue: String) : Serializable {
|
||||
@Serializable
|
||||
data class UserWalletId(val stringValue: String) {
|
||||
|
||||
val value = stringValue.hexToBytes()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue