Updated on 2026-08-14
This commit is contained in:
parent
8bc33fe272
commit
90b795635a
5 changed files with 30 additions and 1 deletions
|
|
@ -181,5 +181,25 @@
|
|||
"info": "stakePOL",
|
||||
"source": "https://etherscan.io/tx/0x96ee64ad31a045982a4776336d852af3c25dc39b6d01bea987aefd460b816773",
|
||||
"name": "withdrawRewardsPOL"
|
||||
},
|
||||
"0x982ef0a7": {
|
||||
"info": "stakeBSC",
|
||||
"source": "https://bscscan.com/tx/0xd5ab62ee525f3dc2821de44c31e278f2b49a0202f4e0279e6d0fced05a034595",
|
||||
"name": "delegate"
|
||||
},
|
||||
"0x4d99dd16": {
|
||||
"info": "stakeBSC",
|
||||
"source": "https://bscscan.com/tx/0x866ba857e96051d7cea271723fccde4113c9909dccb534202a2a87ad4c56cb67",
|
||||
"name": "undelegate"
|
||||
},
|
||||
"0x59491871": {
|
||||
"info": "stakeBSC",
|
||||
"source": "https://bscscan.com/tx/0x69615650be1e8a6d94258483f4e880fc6b4d4d9ae53d967c82d847691d91dd71",
|
||||
"name": "redelegate"
|
||||
},
|
||||
"0xaad3ec96": {
|
||||
"info": "stakeBSC",
|
||||
"source": "https://bscscan.com/tx/0xfcbeac6e0a4ba5768d97d14b5115d08dda92defa8a8deee8bba34e2f0655c52b",
|
||||
"name": "claim"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,16 +45,20 @@ internal class SdkTransactionTypeConverter(
|
|||
"swap" -> TxHistoryItem.TransactionType.Swap
|
||||
"buyVoucher",
|
||||
"buyVoucherPOL",
|
||||
"delegate",
|
||||
-> TxHistoryItem.TransactionType.StakingTransactionType.Stake
|
||||
"sellVoucher_new",
|
||||
"sellVoucher_newPOL",
|
||||
"undelegate",
|
||||
-> TxHistoryItem.TransactionType.StakingTransactionType.Unstake
|
||||
"unstakeClaimTokens_new",
|
||||
"unstakeClaimTokens_newPOL",
|
||||
"claim",
|
||||
-> TxHistoryItem.TransactionType.StakingTransactionType.Withdraw
|
||||
"withdrawRewards",
|
||||
"withdrawRewardsPOL",
|
||||
-> TxHistoryItem.TransactionType.StakingTransactionType.ClaimRewards
|
||||
"redelegate" -> TxHistoryItem.TransactionType.StakingTransactionType.Restake
|
||||
null -> TxHistoryItem.TransactionType.UnknownOperation
|
||||
else -> TxHistoryItem.TransactionType.Operation(name = methodName.replaceFirstChar { it.titlecase() })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue