Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-21 14:32:52 +04:00
parent b12b46479c
commit 17008240b9
16 changed files with 123 additions and 76 deletions

View file

@ -8,6 +8,7 @@ dependencies {
/* Domain */
implementation(projects.domain.wallets.models)
implementation(projects.domain.tokens.models)
implementation(projects.domain.blockaid.models)
/* Other */
implementation(deps.moshi)

View file

@ -1,9 +1,11 @@
package com.tangem.domain.walletconnect.model
import com.domain.blockaid.models.dapp.CheckDAppResult
import com.tangem.domain.walletconnect.model.sdkcopy.WcSdkSession
import com.tangem.domain.wallets.models.UserWallet
data class WcSession(
val wallet: UserWallet,
val sdkModel: WcSdkSession,
val securityStatus: CheckDAppResult,
)

View file

@ -1,5 +1,6 @@
package com.tangem.domain.walletconnect.model
import com.domain.blockaid.models.dapp.CheckDAppResult
import com.squareup.moshi.JsonClass
import com.tangem.domain.wallets.models.UserWalletId
@ -7,4 +8,5 @@ import com.tangem.domain.wallets.models.UserWalletId
data class WcSessionDTO(
val topic: String,
val walletId: UserWalletId,
val securityStatus: CheckDAppResult,
)

View file

@ -1,5 +1,6 @@
package com.tangem.domain.walletconnect.model
import com.domain.blockaid.models.dapp.CheckDAppResult
import com.tangem.domain.tokens.model.Network
import com.tangem.domain.walletconnect.model.sdkcopy.WcAppMetaData
import com.tangem.domain.wallets.models.UserWallet
@ -7,7 +8,7 @@ import com.tangem.domain.wallets.models.UserWallet
data class WcSessionProposal(
val dAppMetaData: WcAppMetaData,
val proposalNetwork: Map<UserWallet, ProposalNetwork>,
val securityStatus: Any,
val securityStatus: CheckDAppResult,
) {
data class ProposalNetwork(