Package com.klaytn.caver.tx.type
Class TxTypeFeeDelegatedSmartContractExecutionWithRatio
- java.lang.Object
-
- com.klaytn.caver.tx.type.AbstractTxType
-
- com.klaytn.caver.tx.type.TxTypeFeeDelegate
-
- com.klaytn.caver.tx.type.TxTypeFeeDelegatedSmartContractExecutionWithRatio
-
- All Implemented Interfaces:
TxType
@Deprecated public class TxTypeFeeDelegatedSmartContractExecutionWithRatio extends TxTypeFeeDelegate
Deprecated.Please useFeeDelegatedSmartContractExecutionWithRatio
instead.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.klaytn.caver.tx.type.TxType
TxType.Type
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TxTypeFeeDelegatedSmartContractExecutionWithRatio(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String from, byte[] payload, java.math.BigInteger feeRatio)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TxTypeFeeDelegatedSmartContractExecutionWithRatio
createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String from, byte[] payload, java.math.BigInteger feeRatio)
Deprecated.static TxTypeFeeDelegatedSmartContractExecutionWithRatio
decodeFromRawTransaction(byte[] rawTransaction)
Deprecated.decode transaction hash from sender to reconstruct transaction with fee payer signature.static TxTypeFeeDelegatedSmartContractExecutionWithRatio
decodeFromRawTransaction(java.lang.String rawTransaction)
Deprecated.java.math.BigInteger
getFeeRatio()
Deprecated.byte[]
getPayload()
Deprecated.TxType.Type
getType()
Deprecated.This method is overridden as FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO type.java.util.List<org.web3j.rlp.RlpType>
rlpValues()
Deprecated.create RlpType List which contains nonce, gas price, gas limit, to, value, from, payload and feeRatio.-
Methods inherited from class com.klaytn.caver.tx.type.TxTypeFeeDelegate
addFeePayerSignatureData, addFeePayerSignatureData, addFeePayerSignatureData, addSignatureData, addSignatureData, getFeePayer, getFeePayerSignatureData, setFeePayer, sign
-
Methods inherited from class com.klaytn.caver.tx.type.AbstractTxType
addSenderSignatureData, addSenderSignatureData, addSenderSignatureData, addSignatureData, getEcKeyPairsForSenderSign, getEncodedTransactionNoSig, getFrom, getGasLimit, getGasPrice, getNewSenderSignatureDataSet, getNonce, getSenderSignatureData, getSenderSignatureDataSet, getSignatureData, getTo, getValue, setSenderSignatureData
-
-
-
-
Constructor Detail
-
TxTypeFeeDelegatedSmartContractExecutionWithRatio
protected TxTypeFeeDelegatedSmartContractExecutionWithRatio(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String from, byte[] payload, java.math.BigInteger feeRatio)
Deprecated.
-
-
Method Detail
-
createTransaction
public static TxTypeFeeDelegatedSmartContractExecutionWithRatio createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String from, byte[] payload, java.math.BigInteger feeRatio)
Deprecated.
-
getPayload
public byte[] getPayload()
Deprecated.
-
getFeeRatio
public java.math.BigInteger getFeeRatio()
Deprecated.- Overrides:
getFeeRatio
in classTxTypeFeeDelegate
-
rlpValues
public java.util.List<org.web3j.rlp.RlpType> rlpValues()
Deprecated.create RlpType List which contains nonce, gas price, gas limit, to, value, from, payload and feeRatio. List elements can be different depending on transaction type.- Specified by:
rlpValues
in interfaceTxType
- Overrides:
rlpValues
in classAbstractTxType
- Returns:
- List RlpType List
-
getType
public TxType.Type getType()
Deprecated.This method is overridden as FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO type. The return value is used for rlp encoding.- Returns:
- Type transaction type
-
decodeFromRawTransaction
public static TxTypeFeeDelegatedSmartContractExecutionWithRatio decodeFromRawTransaction(byte[] rawTransaction)
Deprecated.decode transaction hash from sender to reconstruct transaction with fee payer signature.- Parameters:
rawTransaction
- RLP-encoded signed transaction from sender- Returns:
- TxTypeFeeDelegatedSmartContractExecutionWithRatio decoded transaction
-
decodeFromRawTransaction
public static TxTypeFeeDelegatedSmartContractExecutionWithRatio decodeFromRawTransaction(java.lang.String rawTransaction)
Deprecated.- Parameters:
rawTransaction
- RLP-encoded signed transaction from sender- Returns:
- TxTypeFeeDelegatedSmartContractExecutionWithRatio decoded transaction
-
-