Updated on 2026-08-14
This commit is contained in:
parent
4423770ba8
commit
c425d8640d
2 changed files with 4 additions and 3 deletions
|
|
@ -169,7 +169,7 @@ class CreateAndSendGaslessTransactionUseCase(
|
|||
|
||||
val eip7702Auth = Eip7702Authorization(
|
||||
chainId = context.chainId,
|
||||
address = transactionData.sourceAddress,
|
||||
address = eip7702Data.executorAddress,
|
||||
nonce = eip7702Data.nonce,
|
||||
yParity = extendedEip7702Data.recId,
|
||||
r = extendedEip7702Data.r.toFormattedHex(),
|
||||
|
|
@ -310,10 +310,11 @@ class CreateAndSendGaslessTransactionUseCase(
|
|||
|
||||
private fun getDestinationAddress(txData: TransactionData.Uncompiled): String {
|
||||
val ethereumCallData = (txData.extras as? EthereumTransactionExtras)?.callData
|
||||
val contractAddress = txData.contractAddress
|
||||
return if (ethereumCallData is EthereumYieldSupplySendCallData) {
|
||||
ethereumCallData.destinationAddress
|
||||
} else {
|
||||
txData.destinationAddress
|
||||
contractAddress ?: error("supports only Token transaction with contract address")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/tangem/tangem-sdk-android/
|
||||
# https://github.com/tangem/vico
|
||||
|
||||
tangemBlockchainSdk = "develop-1355"
|
||||
tangemBlockchainSdk = "develop-1361"
|
||||
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
|
||||
tangemCardSdk = "develop-573"
|
||||
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue