Package nxt.ms

Class CurrencyIssuanceAttachment

All Implemented Interfaces:
Appendix, Attachment

public final class CurrencyIssuanceAttachment extends Attachment.AbstractAttachment
  • Field Details

    • NAME_RW

      public static final StringRw NAME_RW
    • CODE_RW

      public static final StringRw CODE_RW
    • DESCRIPTION_RW

      public static final StringRw DESCRIPTION_RW
  • Constructor Details

    • CurrencyIssuanceAttachment

      public CurrencyIssuanceAttachment(ByteBuffer buffer) throws NxtException.NotValidException
      Throws:
      NxtException.NotValidException
    • CurrencyIssuanceAttachment

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

      public CurrencyIssuanceAttachment(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)
  • 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()
    • getName

      public String getName()
    • getCode

      public String getCode()
    • getDescription

      public String 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()