Package nxt.ms
Class CurrencyIssuanceAttachment
java.lang.Object
nxt.blockchain.Appendix.AbstractAppendix
nxt.blockchain.Attachment.AbstractAttachment
nxt.ms.CurrencyIssuanceAttachment
- All Implemented Interfaces:
Appendix,Attachment
-
Nested Class Summary
Nested classes/interfaces inherited from interface nxt.blockchain.Appendix
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.PrunableNested classes/interfaces inherited from interface nxt.blockchain.Attachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachment -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCurrencyIssuanceAttachment(String name, String code, String description, byte type, long initialSupplyQNT, long reserveSupplyQNT, long maxSupplyQNT, int issuanceHeight, long minReservePerUnitNQT, int minDifficulty, int maxDifficulty, byte ruleset, byte algorithm, byte decimals) CurrencyIssuanceAttachment(ByteBuffer buffer) CurrencyIssuanceAttachment(org.json.simple.JSONObject attachmentData) -
Method Summary
Modifier and TypeMethodDescriptionbytegetCode()bytelongintintlongintlongprotected intgetName()longbytebytegetType()protected voidputMyBytes(ByteBuffer buffer) protected voidputMyJSON(org.json.simple.JSONObject attachment) Methods inherited from class nxt.blockchain.Attachment.AbstractAttachment
apply, getAppendixName, getAppendixType, getBaselineFee, getBaselineFeeHeight, getFinishValidationHeight, getNextFee, getNextFeeHeight, isAllowed, isPhasable, validate, validateIdMethods inherited from class nxt.blockchain.Appendix.AbstractAppendix
getFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, verifyVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nxt.blockchain.Appendix
getFee, getFullSize, getJSONObject, getSize, getVersion, isPhased, putBytes
-
Field Details
-
NAME_RW
-
CODE_RW
-
DESCRIPTION_RW
-
-
Constructor Details
-
CurrencyIssuanceAttachment
- Throws:
NxtException.NotValidException
-
CurrencyIssuanceAttachment
public CurrencyIssuanceAttachment(org.json.simple.JSONObject attachmentData) -
CurrencyIssuanceAttachment
-
-
Method Details
-
getMySize
protected int getMySize()- Specified by:
getMySizein classAppendix.AbstractAppendix
-
putMyBytes
- Specified by:
putMyBytesin classAppendix.AbstractAppendix
-
putMyJSON
protected void putMyJSON(org.json.simple.JSONObject attachment) - Specified by:
putMyJSONin classAppendix.AbstractAppendix
-
getTransactionType
-
getName
-
getCode
-
getDescription
-
getType
public byte getType() -
getInitialSupplyQNT
public long getInitialSupplyQNT() -
getReserveSupplyQNT
public long getReserveSupplyQNT() -
getMaxSupplyQNT
public long getMaxSupplyQNT() -
getIssuanceHeight
public int getIssuanceHeight() -
getMinReservePerUnitNQT
public long getMinReservePerUnitNQT() -
getMinDifficulty
public int getMinDifficulty() -
getMaxDifficulty
public int getMaxDifficulty() -
getRuleset
public byte getRuleset() -
getAlgorithm
public byte getAlgorithm() -
getDecimals
public byte getDecimals()
-