public class FeeDelegatedSmartContractDeployWithRatio extends AbstractFeeDelegatedWithRatioTransaction
Modifier and Type | Class and Description |
---|---|
static class |
FeeDelegatedSmartContractDeployWithRatio.Builder
FeeDelegatedSmartContractDeployWithRatio Builder class
|
Constructor and Description |
---|
FeeDelegatedSmartContractDeployWithRatio(FeeDelegatedSmartContractDeployWithRatio.Builder builder)
Creates a FeeDelegatedSmartContractDeployWithRatio instance.
|
FeeDelegatedSmartContractDeployWithRatio(Klay klaytnCall,
java.lang.String from,
java.lang.String nonce,
java.lang.String gas,
java.lang.String gasPrice,
java.lang.String chainId,
java.util.List<SignatureData> signatures,
java.lang.String feePayer,
java.util.List<SignatureData> feePayerSignatures,
java.lang.String feeRatio,
java.lang.String to,
java.lang.String value,
java.lang.String input,
boolean humanReadable,
java.lang.String codeFormat)
Creates a FeeDelegatedSmartContractDeployWithRatio instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compareTxField(AbstractFeeDelegatedWithRatioTransaction txObj,
boolean checkSig)
Check equals txObj passed parameter and Current instance.
|
static FeeDelegatedSmartContractDeployWithRatio |
decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractDeployWithRatio byte array.
|
static FeeDelegatedSmartContractDeployWithRatio |
decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractDeployWithRatio string.
|
java.lang.String |
getCodeFormat()
Getter function for code format
|
java.lang.String |
getCommonRLPEncodingForSignature()
Returns the RLP-encoded string to make the signature of this transaction.
|
boolean |
getHumanReadable()
Getter function for humanReadable
|
java.lang.String |
getInput()
Getter function for input.
|
java.lang.String |
getRLPEncoding()
Returns the RLP-encoded string of this transaction (i.e., rawTransaction).
|
java.lang.String |
getSenderTxHash()
Returns a senderTxHash of transaction
|
java.lang.String |
getTo()
Getter function for to.
|
java.lang.String |
getValue()
Getter function for value.
|
void |
setCodeFormat(java.lang.String codeFormat)
Setter function for codeFormat
|
void |
setHumanReadable(boolean humanReadable)
Setter function for humanReadable
|
void |
setInput(java.lang.String input)
Setter function for input
|
void |
setTo(java.lang.String to)
Setter function for to
|
void |
setValue(java.math.BigInteger value)
Setter function for value
|
void |
setValue(java.lang.String value)
Setter function for value
|
getFeeRatio, getFeeRatioInteger, setFeeRatio, setFeeRatio
appendFeePayerSignatures, appendFeePayerSignatures, combineSignedRawTransactions, compareTxField, getFeePayer, getFeePayerSignatures, getRLPEncodingForFeePayerSignature, setFeePayer, setFeePayerSignatures, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer, signAsFeePayer
appendSignatures, appendSignatures, compareTxField, fillTransaction, getChainId, getFrom, getGas, getGasPrice, getKeyType, getKlaytnCall, getNonce, getRawTransaction, getRLPEncodingForSignature, getSignatures, getTransactionHash, getType, refineSignature, setChainId, setChainId, setFrom, setGas, setGas, setGasPrice, setGasPrice, setKlaytnCall, setNonce, setNonce, setSignatures, setType, sign, sign, sign, sign, sign, sign, validateOptionalValues
public FeeDelegatedSmartContractDeployWithRatio(FeeDelegatedSmartContractDeployWithRatio.Builder builder)
builder
- FeeDelegatedSmartContractDeployWithRatio.Builder instance.public FeeDelegatedSmartContractDeployWithRatio(Klay klaytnCall, java.lang.String from, java.lang.String nonce, java.lang.String gas, java.lang.String gasPrice, java.lang.String chainId, java.util.List<SignatureData> signatures, java.lang.String feePayer, java.util.List<SignatureData> feePayerSignatures, java.lang.String feeRatio, java.lang.String to, java.lang.String value, java.lang.String input, boolean humanReadable, java.lang.String codeFormat)
klaytnCall
- Klay RPC instancefrom
- The address of the sender.nonce
- A value used to uniquely identify a sender’s transaction.gas
- The maximum amount of gas the transaction is allowed to use.gasPrice
- A unit price of gas in peb the sender will pay for a transaction fee.chainId
- Network IDsignatures
- A Signature listfeePayer
- A fee payer address.feePayerSignatures
- A fee payer signature list.feeRatio
- A fee ratio of the fee payer.to
- The account address that will receive the transferred value.value
- The amount of KLAY in peb to be transferred.input
- The data attached to the transaction, used for transaction execution.humanReadable
- Is human-readable address.codeFormat
- The code format of smart contract codepublic static FeeDelegatedSmartContractDeployWithRatio decode(java.lang.String rlpEncoded)
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractDeployWithRatio string.public static FeeDelegatedSmartContractDeployWithRatio decode(byte[] rlpEncoded)
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractDeployWithRatio byte array.public java.lang.String getRLPEncoding()
getRLPEncoding
in class AbstractTransaction
public java.lang.String getCommonRLPEncodingForSignature()
getCommonRLPEncodingForSignature
in class AbstractTransaction
public java.lang.String getSenderTxHash()
getSenderTxHash
in class AbstractTransaction
public boolean compareTxField(AbstractFeeDelegatedWithRatioTransaction txObj, boolean checkSig)
compareTxField
in class AbstractFeeDelegatedWithRatioTransaction
txObj
- The AbstractFeeDelegatedTransaction Object to comparecheckSig
- Check whether signatures field is equal.public java.lang.String getTo()
public java.lang.String getValue()
public java.lang.String getInput()
public boolean getHumanReadable()
public java.lang.String getCodeFormat()
public void setTo(java.lang.String to)
to
- The account address that will receive the transferred value.public void setValue(java.lang.String value)
value
- The amount of KLAY in peb to be transferred.public void setValue(java.math.BigInteger value)
value
- The amount of KLAY in peb to be transferred.public void setInput(java.lang.String input)
input
- Data attached to the transaction, used for transaction execution.public void setHumanReadable(boolean humanReadable)
humanReadable
- booleanpublic void setCodeFormat(java.lang.String codeFormat)
codeFormat
- The code format of smart contract code.