public final class PublishExchangeOfferAttachment extends Attachment.AbstractAttachment
Attachment.AbstractAttachment, Attachment.EmptyAttachment, Attachment.PropertyDeleteAttachmentAppendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable| Constructor and Description |
|---|
PublishExchangeOfferAttachment(java.nio.ByteBuffer buffer) |
PublishExchangeOfferAttachment(org.json.simple.JSONObject attachmentData) |
PublishExchangeOfferAttachment(long currencyId,
long buyRateNQT,
long sellRateNQT,
long totalBuyLimitQNT,
long totalSellLimitQNT,
long initialBuySupplyQNT,
long initialSellSupplyQNT,
int expirationHeight) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBuyRateNQT() |
long |
getCurrencyId() |
int |
getExpirationHeight() |
long |
getInitialBuySupplyQNT() |
long |
getInitialSellSupplyQNT() |
protected int |
getMySize() |
long |
getSellRateNQT() |
long |
getTotalBuyLimitQNT() |
long |
getTotalSellLimitQNT() |
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, 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 PublishExchangeOfferAttachment(java.nio.ByteBuffer buffer)
public PublishExchangeOfferAttachment(org.json.simple.JSONObject attachmentData)
public PublishExchangeOfferAttachment(long currencyId,
long buyRateNQT,
long sellRateNQT,
long totalBuyLimitQNT,
long totalSellLimitQNT,
long initialBuySupplyQNT,
long initialSellSupplyQNT,
int expirationHeight)
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 getCurrencyId()
public long getBuyRateNQT()
public long getSellRateNQT()
public long getTotalBuyLimitQNT()
public long getTotalSellLimitQNT()
public long getInitialBuySupplyQNT()
public long getInitialSellSupplyQNT()
public int getExpirationHeight()