public final class ReserveIncreaseAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachment
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable
Constructor and Description |
---|
ReserveIncreaseAttachment(java.nio.ByteBuffer buffer) |
ReserveIncreaseAttachment(org.json.simple.JSONObject attachmentData) |
ReserveIncreaseAttachment(long currencyId,
long amountPerUnitNQT) |
Modifier and Type | Method and Description |
---|---|
long |
getAmountPerUnitNQT() |
long |
getCurrencyId() |
protected int |
getMySize() |
TransactionType |
getTransactionType() |
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 ReserveIncreaseAttachment(java.nio.ByteBuffer buffer)
public ReserveIncreaseAttachment(org.json.simple.JSONObject attachmentData)
public ReserveIncreaseAttachment(long currencyId, long amountPerUnitNQT)
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()
getTransactionType
in interface Attachment
public long getCurrencyId()
public long getAmountPerUnitNQT()