SmartContractDeploy
instead.@Deprecated public class TxTypeSmartContractDeploy extends AbstractTxType
TxType.Type
Constructor and Description |
---|
TxTypeSmartContractDeploy(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.math.BigInteger value,
java.lang.String from,
byte[] payload,
java.math.BigInteger codeFormat)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TxTypeSmartContractDeploy |
createTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.math.BigInteger value,
java.lang.String from,
byte[] payload,
java.math.BigInteger codeFormat)
Deprecated.
|
static TxTypeSmartContractDeploy |
decodeFromRawTransaction(byte[] rawTransaction)
Deprecated.
decode transaction hash from sender to reconstruct transaction with fee payer signature.
|
static TxTypeSmartContractDeploy |
decodeFromRawTransaction(java.lang.String rawTransaction)
Deprecated.
|
java.math.BigInteger |
getCodeFormat()
Deprecated.
|
byte[] |
getPayload()
Deprecated.
|
TxType.Type |
getType()
Deprecated.
This method is overridden as SMART_CONTRACT_DEPLOY 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 isHumanReadable.
|
addSenderSignatureData, addSenderSignatureData, addSenderSignatureData, addSignatureData, addSignatureData, getEcKeyPairsForSenderSign, getEncodedTransactionNoSig, getFrom, getGasLimit, getGasPrice, getNewSenderSignatureDataSet, getNonce, getSenderSignatureData, getSenderSignatureDataSet, getSignatureData, getTo, getValue, setSenderSignatureData, sign
public TxTypeSmartContractDeploy(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.math.BigInteger value, java.lang.String from, byte[] payload, java.math.BigInteger codeFormat)
public static TxTypeSmartContractDeploy createTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.math.BigInteger value, java.lang.String from, byte[] payload, java.math.BigInteger codeFormat)
public byte[] getPayload()
public java.math.BigInteger getCodeFormat()
public java.util.List<org.web3j.rlp.RlpType> rlpValues()
rlpValues
in interface TxType
rlpValues
in class AbstractTxType
public TxType.Type getType()
public static TxTypeSmartContractDeploy decodeFromRawTransaction(byte[] rawTransaction)
rawTransaction
- RLP-encoded signed transaction from senderpublic static TxTypeSmartContractDeploy decodeFromRawTransaction(java.lang.String rawTransaction)
rawTransaction
- RLP-encoded signed transaction from sender