public final class CurrencyIssuanceAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachment
Appendix.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, validateId
getFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, verifyVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFee, getFullSize, getJSONObject, getSize, getVersion, hasAppendix, isPhased, putBytes
public 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.NotValidException
public 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.AbstractAppendix
protected void putMyBytes(java.nio.ByteBuffer buffer)
putMyBytes
in class Appendix.AbstractAppendix
protected void putMyJSON(org.json.simple.JSONObject attachment)
putMyJSON
in class Appendix.AbstractAppendix
public 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()