Updated on 2026-08-14
This commit is contained in:
parent
7fa19e7bb2
commit
ba0b69b263
2 changed files with 7 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ package com.tangem.wallet.matic;
|
|||
import android.net.Uri;
|
||||
import android.util.Log;
|
||||
|
||||
import com.tangem.card_common.tasks.SignTask;
|
||||
import com.tangem.data.Blockchain;
|
||||
import com.tangem.data.network.ServerApiMatic;
|
||||
import com.tangem.data.network.model.InfuraResponse;
|
||||
|
|
@ -89,6 +90,11 @@ public class MaticTokenEngine extends TokenEngine {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SignTask.TransactionToSign constructTransaction(Amount amountValue, Amount feeValue, boolean IncFee, String targetAddress) throws Exception {
|
||||
return constructTransactionToken(feeValue, amountValue, IncFee, targetAddress);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void requestBalanceAndUnspentTransactions(BlockchainRequestsCallbacks blockchainRequestsCallbacks) {
|
||||
final ServerApiMatic serverApiMatic = new ServerApiMatic();
|
||||
|
|
|
|||
|
|
@ -527,7 +527,7 @@ public class TokenEngine extends CoinEngine {
|
|||
};
|
||||
}
|
||||
|
||||
private SignTask.TransactionToSign constructTransactionToken(Amount feeValue, Amount amountValue, boolean IncFee, String targetAddress) throws Exception {
|
||||
protected SignTask.TransactionToSign constructTransactionToken(Amount feeValue, Amount amountValue, boolean IncFee, String targetAddress) throws Exception {
|
||||
Log.e(TAG, "Construct TOKEN transaction " + amountValue.toString() + " with fee " + feeValue.toString() + (IncFee ? " including" : " excluding"));
|
||||
|
||||
BigInteger nonceValue = coinData.getConfirmedTXCount();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue