Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-18 19:14:56 +03:00
parent 6780c4a7f7
commit 4ad958be89
13 changed files with 111 additions and 54 deletions

View file

@ -59,6 +59,9 @@ internal class SdkTransactionTypeConverter(
"withdrawRewardsPOL",
-> TxInfo.TransactionType.Staking.ClaimRewards
"redelegate" -> TxInfo.TransactionType.Staking.Restake
"supplyEnter" -> TxInfo.TransactionType.YieldSupply.Enter
"supplyExit" -> TxInfo.TransactionType.YieldSupply.Exit
"supplyTopUp" -> TxInfo.TransactionType.YieldSupply.Topup
null -> TxInfo.TransactionType.UnknownOperation
else -> TxInfo.TransactionType.Operation(name = methodName.replaceFirstChar { it.titlecase() })
}