Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-01 16:55:53 +05:00
parent 59a6a4cb69
commit 8d6992ad24
14 changed files with 251 additions and 82 deletions

View file

@ -8,11 +8,19 @@ import java.math.BigDecimal
data class YieldTokenStatusResponse(
@Json(name = "tokenAddress") val tokenAddress: String,
@Json(name = "tokenSymbol") val tokenSymbol: String,
@Json(name = "userBalance") val userBalance: String,
@Json(name = "earnedYield") val earnedYield: String,
@Json(name = "currentApy") val currentApy: BigDecimal,
@Json(name = "totalDeposited") val totalDeposited: String,
@Json(name = "moduleAddress") val moduleAddress: String,
@Json(name = "status") val status: String,
@Json(name = "lastUpdateAt") val lastUpdateAt: String,
@Json(name = "tokenName") val tokenName: String,
@Json(name = "apy") val apy: BigDecimal,
@Json(name = "totalSupplied") val totalSupplied: String,
@Json(name = "totalBorrowed") val totalBorrowed: String,
@Json(name = "liquidityRate") val liquidityRate: String,
@Json(name = "borrowRate") val borrowRate: String,
@Json(name = "utilizationRate") val utilizationRate: Double,
@Json(name = "isActive") val isActive: Boolean,
@Json(name = "ltv") val ltv: Int,
@Json(name = "liquidationThreshold") val liquidationThreshold: Int,
@Json(name = "decimals") val decimals: Int,
@Json(name = "chainId") val chainId: Int,
@Json(name = "priority") val priority: Int,
@Json(name = "isEnabled") val isEnabled: Boolean,
@Json(name = "lastUpdatedAt") val lastUpdatedAt: String,
)