Updated on 2026-08-14
This commit is contained in:
parent
8c5711166f
commit
5a4b35a90e
8 changed files with 74 additions and 10 deletions
|
|
@ -77,12 +77,26 @@ sealed class YieldSupplyAnalytics(
|
|||
),
|
||||
)
|
||||
|
||||
data object ButtonFeePolicy : YieldSupplyAnalytics(
|
||||
data class ButtonFeePolicy(
|
||||
val token: String,
|
||||
val blockchain: String,
|
||||
) : YieldSupplyAnalytics(
|
||||
event = "Button - Fee Policy",
|
||||
params = mapOf(
|
||||
TOKEN_PARAM to token,
|
||||
BLOCKCHAIN to blockchain,
|
||||
),
|
||||
)
|
||||
|
||||
data object EarnInProgressScreen : YieldSupplyAnalytics(
|
||||
data class EarnInProgressScreen(
|
||||
val token: String,
|
||||
val blockchain: String,
|
||||
) : YieldSupplyAnalytics(
|
||||
event = "Earn In Progress Screen",
|
||||
params = mapOf(
|
||||
TOKEN_PARAM to token,
|
||||
BLOCKCHAIN to blockchain,
|
||||
),
|
||||
)
|
||||
|
||||
data object FundsEarned : YieldSupplyAnalytics(
|
||||
|
|
@ -162,10 +176,10 @@ sealed class YieldSupplyAnalytics(
|
|||
val errorDescription: String?,
|
||||
) : YieldSupplyAnalytics(
|
||||
event = "Earn Errors",
|
||||
params = buildMap {
|
||||
ACTION to action
|
||||
ERROR_DESCRIPTION to errorDescription.orEmpty()
|
||||
},
|
||||
params = mapOf(
|
||||
ACTION to action.value,
|
||||
ERROR_DESCRIPTION to errorDescription.orEmpty(),
|
||||
),
|
||||
)
|
||||
|
||||
data object ApyChartViewed : YieldSupplyAnalytics(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue