public class SmtCreateOperation extends Operation
| Constructor and Description |
|---|
SmtCreateOperation(AccountName controlAccount,
AccountName creator,
AssetInfo symbol,
Asset smtCreationFee,
org.joou.UInteger precision,
List<FutureExtensions> extensions,
long maxSupply) |
| Modifier and Type | Method and Description |
|---|---|
AccountName |
getControlAccount() |
AccountName |
getCreator() |
List<FutureExtensions> |
getExtensions() |
long |
getMaxSupply() |
org.joou.UInteger |
getPrecision() |
Map<SignatureObject,PrivateKeyType> |
getRequiredAuthorities(Map<SignatureObject,PrivateKeyType> requiredAuthoritiesBase)
Add the authorities which are required to sign this operation to an
existing map.
|
Asset |
getSmtCreationFee() |
AssetInfo |
getSymbol() |
void |
setControlAccount(AccountName controlAccount) |
void |
setCreator(AccountName creator) |
void |
setExtensions(List<FutureExtensions> extensions) |
void |
setMaxSupply(long maxSupply) |
void |
setPrecision(org.joou.UInteger precision) |
void |
setSmtCreationFee(Asset smtCreationFee) |
void |
setSymbol(AssetInfo symbol) |
byte[] |
toByteArray()
Covert the operation into a byte array.
|
void |
validate(ValidationType validationType)
Use this method to verify that this object is valid.
|
isVirtual, mergeRequiredAuthorities, mergeRequiredAuthorities, toStringpublic SmtCreateOperation(AccountName controlAccount, AccountName creator, AssetInfo symbol, Asset smtCreationFee, org.joou.UInteger precision, List<FutureExtensions> extensions, long maxSupply)
public AccountName getControlAccount()
public void setControlAccount(AccountName controlAccount)
public AssetInfo getSymbol()
public void setSymbol(AssetInfo symbol)
public Asset getSmtCreationFee()
public void setSmtCreationFee(Asset smtCreationFee)
public org.joou.UInteger getPrecision()
public void setPrecision(org.joou.UInteger precision)
public AccountName getCreator()
public void setCreator(AccountName creator)
public long getMaxSupply()
public void setMaxSupply(long maxSupply)
public List<FutureExtensions> getExtensions()
public void setExtensions(List<FutureExtensions> extensions)
public Map<SignatureObject,PrivateKeyType> getRequiredAuthorities(Map<SignatureObject,PrivateKeyType> requiredAuthoritiesBase)
OperationgetRequiredAuthorities in class OperationrequiredAuthoritiesBase - A map to which the required authorities of this operation
should be added to.public byte[] toByteArray()
throws BeowulfInvalidTransactionException
ByteTransformableBeowulfInvalidTransactionException - If there was a problem while transforming the transaction
into a byte array.public void validate(ValidationType validationType)
ValidatablevalidationType - An indicator telling the method what should be validated.Copyright © 2019. All rights reserved.