Updated on 2026-08-14

This commit is contained in:
Tangem 2024-12-03 13:45:26 +05:00
parent a3e92038c7
commit 46eee92cea
27 changed files with 218 additions and 7 deletions

View file

@ -15,6 +15,7 @@ dependencies {
implementation(projects.core.ui)
/* Project - Domain */
implementation(projects.domain.onramp.models)
implementation(projects.domain.tokens.models)
implementation(projects.domain.wallets.models)

View file

@ -2,12 +2,13 @@ package com.tangem.features.onramp.component
import com.tangem.core.decompose.factory.ComponentFactory
import com.tangem.core.ui.decompose.ComposableContentComponent
import com.tangem.domain.onramp.model.OnrampSource
import com.tangem.domain.tokens.model.CryptoCurrency
import com.tangem.domain.wallets.models.UserWalletId
interface OnrampComponent : ComposableContentComponent {
data class Params(val userWalletId: UserWalletId, val cryptoCurrency: CryptoCurrency)
data class Params(val userWalletId: UserWalletId, val cryptoCurrency: CryptoCurrency, val source: OnrampSource)
interface Factory : ComponentFactory<Params, OnrampComponent>
}