public class ContractDeployParams
extends java.lang.Object
Constructor and Description |
---|
ContractDeployParams(java.lang.String bytecode)
Creates a ContractDeployParam instance.
|
ContractDeployParams(java.lang.String bytecode,
java.util.List<java.lang.Object> deployParams)
Creates a ContractDeployParam instance.
|
ContractDeployParams(java.lang.String bytecode,
java.lang.Object... deployParams)
Creates a ContractDeployParam instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBytecode()
Getter function for bytecode.
|
java.util.List<java.lang.Object> |
getDeployParams()
Getter function for deployParams.
|
void |
setBytecode(java.lang.String binaryData)
Setter function for bytecode.
|
void |
setDeployParams(java.util.List<java.lang.Object> deployParams)
Setter function for deployParams.
|
public ContractDeployParams(java.lang.String bytecode)
bytecode
- A smart contract binary data.public ContractDeployParams(java.lang.String bytecode, java.lang.Object... deployParams)
bytecode
- A smart contract binary data.deployParams
- The variable arguments parameter for smart contract constructor.public ContractDeployParams(java.lang.String bytecode, java.util.List<java.lang.Object> deployParams)
bytecode
- A smart contract binary data.deployParams
- A List of smart contract constructor parameter.public java.lang.String getBytecode()
public java.util.List<java.lang.Object> getDeployParams()
public void setBytecode(java.lang.String binaryData)
binaryData
- A smart contract binary data.public void setDeployParams(java.util.List<java.lang.Object> deployParams)
deployParams
- A List of smart contract constructor parameter.