Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-08 14:49:51 +05:00
parent 972a287b1d
commit ef6918ce4a
20 changed files with 374 additions and 115 deletions

View file

@ -205,32 +205,32 @@
"0xcbeda14c": {
"info": "yieldModule",
"source": "https://github.com/tangem/tangem-yield-module-contracts/",
"name": "supply"
"name": "deployYieldModule"
},
"0x79be55f7": {
"info": "yieldModule",
"source": "https://github.com/tangem/tangem-yield-module-contracts/",
"name": "supplyEnter"
"name": "enterProtocolByOwner"
},
"0xc65e6dcf": {
"info": "yieldModule",
"source": "https://github.com/tangem/tangem-yield-module-contracts/",
"name": "supplyExit"
"name": "withdrawAndDeactivate"
},
"0xebd4b81c": {
"info": "yieldModule",
"source": "https://github.com/tangem/tangem-yield-module-contracts/",
"name": "supply"
"name": "initYieldToken"
},
"0xc478e956": {
"info": "yieldModule",
"source": "https://github.com/tangem/tangem-yield-module-contracts/",
"name": "supply"
"name": "reactivateToken"
},
"0x0779afe6": {
"info": "yieldModule",
"source": "https://github.com/tangem/tangem-yield-module-contracts/",
"name": "transfer"
"name": "yieldSend"
},
"0xb9de6a93": {
"info": "yieldModule",

View file

@ -110,14 +110,32 @@ data class TxInfo(
@Serializable
sealed interface YieldSupply : TransactionType {
@Serializable
data object Enter : YieldSupply
val address: String?
@Serializable
data object Exit : YieldSupply
data class Enter(override val address: String) : YieldSupply
@Serializable
data object Topup : YieldSupply
data class Exit(override val address: String) : YieldSupply
@Serializable
data object Topup : YieldSupply {
override val address: String? = null
}
@Serializable
data object Send : YieldSupply {
override val address: String? = null
}
@Serializable
data class DeployContract(override val address: String) : YieldSupply
@Serializable
data class ReactivateToken(override val address: String) : YieldSupply
@Serializable
data class InitializeToken(override val address: String) : YieldSupply
}
@Serializable