public final class CurrencyIssuanceAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachmentAppendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Modifier and Type | Field and Description |
|---|---|
static StringRw |
CODE_RW |
static StringRw |
DESCRIPTION_RW |
static StringRw |
NAME_RW |
| Constructor and Description |
|---|
CurrencyIssuanceAttachment(java.nio.ByteBuffer buffer) |
CurrencyIssuanceAttachment(org.json.simple.JSONObject attachmentData) |
CurrencyIssuanceAttachment(java.lang.String name,
java.lang.String code,
java.lang.String description,
byte type,
long initialSupplyQNT,
long reserveSupplyQNT,
long maxSupplyQNT,
int issuanceHeight,
long minReservePerUnitNQT,
int minDifficulty,
int maxDifficulty,
byte ruleset,
byte algorithm,
byte decimals) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getAlgorithm() |
java.lang.String |
getCode() |
byte |
getDecimals() |
java.lang.String |
getDescription() |
long |
getInitialSupplyQNT() |
int |
getIssuanceHeight() |
int |
getMaxDifficulty() |
long |
getMaxSupplyQNT() |
int |
getMinDifficulty() |
long |
getMinReservePerUnitNQT() |
protected int |
getMySize() |
java.lang.String |
getName() |
long |
getReserveSupplyQNT() |
byte |
getRuleset() |
TransactionType |
getTransactionType() |
byte |
getType() |
protected void |
putMyBytes(java.nio.ByteBuffer buffer) |
protected void |
putMyJSON(org.json.simple.JSONObject attachment) |
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateIdgetFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, verifyVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFee, getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytespublic static final StringRw NAME_RW
public static final StringRw CODE_RW
public static final StringRw DESCRIPTION_RW
public CurrencyIssuanceAttachment(java.nio.ByteBuffer buffer)
throws NxtException.NotValidException
NxtException.NotValidExceptionpublic CurrencyIssuanceAttachment(org.json.simple.JSONObject attachmentData)
public CurrencyIssuanceAttachment(java.lang.String name,
java.lang.String code,
java.lang.String description,
byte type,
long initialSupplyQNT,
long reserveSupplyQNT,
long maxSupplyQNT,
int issuanceHeight,
long minReservePerUnitNQT,
int minDifficulty,
int maxDifficulty,
byte ruleset,
byte algorithm,
byte decimals)
protected int getMySize()
getMySize in class Appendix.AbstractAppendixprotected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes in class Appendix.AbstractAppendixprotected void putMyJSON(org.json.simple.JSONObject attachment)
putMyJSON in class Appendix.AbstractAppendixpublic TransactionType getTransactionType()
public java.lang.String getName()
public java.lang.String getCode()
public java.lang.String getDescription()
public byte getType()
public long getInitialSupplyQNT()
public long getReserveSupplyQNT()
public long getMaxSupplyQNT()
public int getIssuanceHeight()
public long getMinReservePerUnitNQT()
public int getMinDifficulty()
public int getMaxDifficulty()
public byte getRuleset()
public byte getAlgorithm()
public byte getDecimals()