public class DeployParams
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TTL
The default ttl value is 1800000, which is 30 minutes in milliseconds
|
| Constructor and Description |
|---|
DeployParams(java.security.Key accountKey,
java.lang.String chainName,
java.lang.Number gasPrice,
java.lang.Long timestamp,
java.lang.Long ttl,
java.util.List<Digest> dependencies)
Container for `Deploy` construction options.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends java.security.Key> |
getAccountKey() |
java.lang.String |
getChainName() |
java.util.List<Digest> |
getDependencies() |
int |
getGasPrice() |
java.lang.String |
getTimestamp() |
long |
getTtl() |
public static final long DEFAULT_TTL
public DeployParams(java.security.Key accountKey,
java.lang.String chainName,
java.lang.Number gasPrice,
java.lang.Long timestamp,
java.lang.Long ttl,
java.util.List<Digest> dependencies)
accountKey - the account public keychainName - the name of the chaingasPrice - the gas pricetimestamp - the time stampttl - the time to livedependencies - the dependenciespublic <T extends java.security.Key> T getAccountKey()
public java.lang.String getChainName()
public int getGasPrice()
public long getTtl()
public java.lang.String getTimestamp()
public java.util.List<Digest> getDependencies()