Updated on 2026-08-14
This commit is contained in:
parent
507b608807
commit
768422ea7c
34 changed files with 661 additions and 80 deletions
|
|
@ -4,6 +4,7 @@ import com.tangem.core.decompose.factory.ComponentFactory
|
|||
import com.tangem.core.ui.decompose.ComposableContentComponent
|
||||
import com.tangem.domain.models.currency.CryptoCurrency
|
||||
import com.tangem.domain.models.wallet.UserWalletId
|
||||
import java.math.BigDecimal
|
||||
|
||||
interface SwapComponent : ComposableContentComponent {
|
||||
|
||||
|
|
@ -13,7 +14,14 @@ interface SwapComponent : ComposableContentComponent {
|
|||
val userWalletId: UserWalletId,
|
||||
val isInitialReverseOrder: Boolean = false,
|
||||
val screenSource: String,
|
||||
)
|
||||
val tangemPayInput: TangemPayInput? = null,
|
||||
) {
|
||||
data class TangemPayInput(
|
||||
val cryptoAmount: BigDecimal,
|
||||
val fiatAmount: BigDecimal,
|
||||
val depositAddress: String,
|
||||
)
|
||||
}
|
||||
|
||||
interface Factory : ComponentFactory<Params, SwapComponent>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue