Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-15 14:51:10 +03:00
parent 1cfaf5a283
commit 23f864b18d
25 changed files with 304 additions and 1 deletions

View file

@ -0,0 +1,21 @@
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
id("configuration")
}
android {
namespace = "com.tangem.features.polymarket.api"
}
dependencies {
/** Core */
implementation(projects.core.decompose)
implementation(projects.core.ui)
/** Domain */
implementation(projects.domain.models)
/** Compose */
implementation(deps.compose.runtime)
}

View file

@ -0,0 +1,14 @@
package com.tangem.features.polymarket.api
import com.tangem.core.decompose.factory.ComponentFactory
import com.tangem.core.ui.decompose.ComposableContentComponent
import com.tangem.domain.models.wallet.UserWalletId
interface PolymarketComponent : ComposableContentComponent {
data class Params(
val userWalletId: UserWalletId,
)
interface Factory : ComponentFactory<Params, PolymarketComponent>
}

View file

@ -0,0 +1,5 @@
package com.tangem.features.polymarket.api
interface PolymarketFeatureToggles {
val isPolymarketEnabled: Boolean
}