Updated on 2026-08-14
This commit is contained in:
parent
20452728f8
commit
9868dd2bc2
14 changed files with 184 additions and 0 deletions
1
features/staking/api/.gitignore
vendored
Normal file
1
features/staking/api/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/build
|
||||
16
features/staking/api/build.gradle.kts
Normal file
16
features/staking/api/build.gradle.kts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
plugins {
|
||||
alias(deps.plugins.android.library)
|
||||
alias(deps.plugins.kotlin.android)
|
||||
id("kotlin-parcelize")
|
||||
id("configuration")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.tangem.features.staking.api"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
/** AndroidX */
|
||||
implementation(deps.androidx.fragment.ktx)
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package com.tangem.features.staking.api.featuretoggles
|
||||
|
||||
/**
|
||||
* Staking feature toggles
|
||||
*/
|
||||
interface StakingFeatureToggles {
|
||||
|
||||
/** Availability of staking */
|
||||
val isStakingEnabled: Boolean
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
package com.tangem.features.staking.api.navigation
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
|
||||
interface StakingRouter {
|
||||
|
||||
fun getEntryFragment(): Fragment
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue