public interface ContractRunnerConfig
Modifier and Type | Interface and Description |
---|---|
static class |
ContractRunnerConfig.RunnerMode |
byte[] getPublicKey()
java.lang.String getPublicKeyHexString()
long getAccountId()
java.lang.String getAccount()
java.lang.String getAccountRs()
boolean isAutoFeeRate()
FeeRateCalculator.TransactionPriority getAutoFeeRatePriority()
long getMinBundlerBalanceFXT()
long getMinBundlerFeeLimitFQT()
long getFeeRateNQTPerFXT(int chainId)
long getCurrentFeeRateNQTPerFXT(int chainId)
short getDefaultDeadline()
JO getParams()
ContractRunnerConfig.RunnerMode getRunnerMode()
boolean isValidator()
boolean isTriggerTransactionAlwaysIncluded()
int getCatchUpInterval()
int getMaxSubmittedTransactionsPerInvocation()
byte[] getRunnerSeed()
byte[] getManagedAccountPrivateKey(int index)
Use this method only if you require specific access to the managed
account private key. Prefer
AbstractContractContext.createTransaction(APICall.Builder, boolean, int)
for general creation of transactions.
index
- Index of the managed accountbyte[] getManagedAccountPublicKey(int index)
long getManagedAccountId(int index)
byte[] getManagedAccountsMasterPublicKey()
boolean isManagedAccountsEnabled()
ContractProvider getContractProvider()
EncryptedData encryptTo(byte[] publicKey, byte[] data, boolean compress)
byte[] decryptFrom(byte[] publicKey, EncryptedData encryptedData, boolean uncompress)
byte[] getPrivateKey()
byte[] getValidatorPrivateKey()
java.lang.String getStatus()
void init(JO config)