Updated on 2026-08-14
This commit is contained in:
parent
6b874dda67
commit
6d77f2552d
3 changed files with 15 additions and 1 deletions
|
|
@ -66,6 +66,11 @@ internal class SdkTransactionHistoryItemConverter(
|
|||
is SdkTransactionHistoryItem.TransactionType.ContractMethodName,
|
||||
-> mapToInteractionAddressType(destinationType = destinationType)
|
||||
|
||||
is SdkTransactionHistoryItem.TransactionType.SolanaStakingTransactionType.Stake -> {
|
||||
transactionType.validatorAddress?.let {
|
||||
TxInfo.InteractionAddressType.Validator(address = it)
|
||||
}
|
||||
}
|
||||
is SdkTransactionHistoryItem.TransactionType.TronStakingTransactionType.VoteWitnessContract -> {
|
||||
TxInfo.InteractionAddressType.Validator(address = transactionType.validatorAddress)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,15 @@ internal class SdkTransactionTypeConverter(
|
|||
is TransactionType.Transfer -> {
|
||||
TxInfo.TransactionType.Transfer
|
||||
}
|
||||
is TransactionType.SolanaStakingTransactionType.Stake -> {
|
||||
TxInfo.TransactionType.Staking.Stake
|
||||
}
|
||||
is TransactionType.SolanaStakingTransactionType.Unstake -> {
|
||||
TxInfo.TransactionType.Staking.Unstake
|
||||
}
|
||||
is TransactionType.SolanaStakingTransactionType.Withdraw -> {
|
||||
TxInfo.TransactionType.Staking.Withdraw
|
||||
}
|
||||
is TransactionType.TronStakingTransactionType.FreezeBalanceV2Contract -> {
|
||||
TxInfo.TransactionType.Staking.Stake
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/tangem/tangem-sdk-android/
|
||||
# https://github.com/tangem/vico
|
||||
|
||||
tangemBlockchainSdk = "releases-5.34-1430"
|
||||
tangemBlockchainSdk = "develop-1447"
|
||||
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
|
||||
tangemCardSdk = "develop-582"
|
||||
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue