nxt

## Class CurrencyMint

- java.lang.Object
- - nxt.CurrencyMint

-     public final class CurrencyMint
      extends java.lang.Object

  Manages currency proof of work minting

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CurrencyMint.Event`
    `static class` | `CurrencyMint.Mint`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `addListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType)`
    `long` | `getAccountId()`
    `long` | `getCounter()`
    `static long` | `getCounter(long currencyId, long accountId)`
    `long` | `getCurrencyId()`
    `static boolean` | `removeListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### addListener

          public static boolean addListener(Listener<CurrencyMint.Mint> listener,
                                            CurrencyMint.Event eventType)

    - #### removeListener

          public static boolean removeListener(Listener<CurrencyMint.Mint> listener,
                                               CurrencyMint.Event eventType)

    - #### getCurrencyId

          public long getCurrencyId()

    - #### getAccountId

          public long getAccountId()

    - #### getCounter

          public long getCounter()

    - #### getCounter

          public static long getCounter(long currencyId,
                                        long accountId)