Package nxt.ms

Class PublishExchangeOfferAttachment

All Implemented Interfaces:
Appendix, Attachment

public final class PublishExchangeOfferAttachment extends Attachment.AbstractAttachment
  • Constructor Details

    • PublishExchangeOfferAttachment

      public PublishExchangeOfferAttachment(ByteBuffer buffer)
    • PublishExchangeOfferAttachment

      public PublishExchangeOfferAttachment(org.json.simple.JSONObject attachmentData)
    • PublishExchangeOfferAttachment

      public PublishExchangeOfferAttachment(long currencyId, long buyRateNQT, long sellRateNQT, long totalBuyLimitQNT, long totalSellLimitQNT, long initialBuySupplyQNT, long initialSellSupplyQNT, int expirationHeight)
  • Method Details

    • getMySize

      protected int getMySize()
      Specified by:
      getMySize in class Appendix.AbstractAppendix
    • putMyBytes

      protected void putMyBytes(ByteBuffer buffer)
      Specified by:
      putMyBytes in class Appendix.AbstractAppendix
    • putMyJSON

      protected void putMyJSON(org.json.simple.JSONObject attachment)
      Specified by:
      putMyJSON in class Appendix.AbstractAppendix
    • getTransactionType

      public TransactionType getTransactionType()
      Specified by:
      getTransactionType in interface Attachment
    • getCurrencyId

      public long getCurrencyId()
    • getBuyRateNQT

      public long getBuyRateNQT()
    • getSellRateNQT

      public long getSellRateNQT()
    • getTotalBuyLimitQNT

      public long getTotalBuyLimitQNT()
    • getTotalSellLimitQNT

      public long getTotalSellLimitQNT()
    • getInitialBuySupplyQNT

      public long getInitialBuySupplyQNT()
    • getInitialSellSupplyQNT

      public long getInitialSellSupplyQNT()
    • getExpirationHeight

      public int getExpirationHeight()