public final class CurrencyMintingAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachmentAppendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Constructor and Description |
|---|
CurrencyMintingAttachment(java.nio.ByteBuffer buffer) |
CurrencyMintingAttachment(org.json.simple.JSONObject attachmentData) |
CurrencyMintingAttachment(long nonce,
long currencyId,
long unitsQNT,
long counter) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCounter() |
long |
getCurrencyId() |
protected int |
getMySize() |
long |
getNonce() |
TransactionType |
getTransactionType() |
long |
getUnitsQNT() |
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 CurrencyMintingAttachment(java.nio.ByteBuffer buffer)
public CurrencyMintingAttachment(org.json.simple.JSONObject attachmentData)
public CurrencyMintingAttachment(long nonce,
long currencyId,
long unitsQNT,
long counter)
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()
getTransactionType in interface Attachmentpublic long getNonce()
public long getCurrencyId()
public long getUnitsQNT()
public long getCounter()