Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-23 18:02:14 +05:00
parent 4032360f13
commit 4dc6dffd67
16 changed files with 381 additions and 50 deletions

View file

@ -4,17 +4,19 @@ import com.tangem.core.decompose.context.AppComponentContext
import com.tangem.core.decompose.factory.ComponentFactory
import com.tangem.core.ui.decompose.ComposableBottomSheetComponent
import com.tangem.domain.models.currency.CryptoCurrency
import com.tangem.domain.tokens.model.details.TokenAction
interface YieldSupplyDepositedWarningComponent : ComposableBottomSheetComponent {
data class Params(
val cryptoCurrency: CryptoCurrency,
val tokenAction: TokenAction,
val modelCallback: ModelCallback,
val onDismiss: () -> Unit,
)
interface ModelCallback {
fun onYieldSupplyWarningAcknowledged()
fun onYieldSupplyWarningAcknowledged(tokenAction: TokenAction)
}
interface Factory : ComponentFactory<Params, YieldSupplyDepositedWarningComponent> {