Updated on 2026-08-14
This commit is contained in:
parent
b316ef4d87
commit
370690a359
42 changed files with 486 additions and 35 deletions
|
|
@ -51,16 +51,29 @@ sealed class CommonSendAnalyticEvents(
|
|||
),
|
||||
)
|
||||
|
||||
@Suppress("NullableToStringCall")
|
||||
/** Confirmation screen opened */
|
||||
data class ConfirmationScreenOpened(
|
||||
val categoryName: String,
|
||||
val source: CommonSendSource,
|
||||
val fromDerivationIndex: Int?,
|
||||
val toDerivationIndex: Int?,
|
||||
val sendBlockchain: String,
|
||||
val sendToken: String,
|
||||
) : CommonSendAnalyticEvents(
|
||||
category = categoryName,
|
||||
event = "Confirm Screen Opened",
|
||||
params = mapOf(
|
||||
SOURCE to source.analyticsName,
|
||||
),
|
||||
params = buildMap {
|
||||
put(SOURCE, source.analyticsName)
|
||||
put("Token", sendToken)
|
||||
put("Blockchain", sendBlockchain)
|
||||
if (fromDerivationIndex != null || toDerivationIndex != null) {
|
||||
put(
|
||||
"Account Derivation From or To (optional)",
|
||||
"$fromDerivationIndex, $toDerivationIndex",
|
||||
)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
/** If transaction delays notification is present */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue