package com.samourai.wallet.whirlpool;

import android.content.Context;

public class WhirlpoolMeta {

    private final static int WHIRLPOOL_ACCOUNT = Integer.MAX_VALUE - 1;

    private static WhirlpoolMeta instance = null;

    private static int index = 0;

    private static Context context = null;

    private WhirlpoolMeta() { ; }

    public static WhirlpoolMeta getInstance(Context ctx) {

        context = ctx;

        if(instance == null) {
            instance = new WhirlpoolMeta();
        }

        return instance;
    }

    public int getWhirlpoolAccount() {
        return WHIRLPOOL_ACCOUNT;
    }

}

@@ -135,23 +135,174 @@
 IRLPOOL_
-ACCOUNT
+PREMIX_ACCOUNT = Integer.MAX_VALUE - 1;%0A%0A    private final static int WHIRLPOOL_POSTMIX = Integer.MAX_VALUE;%0A    private final static int WHIRLPOOL_POSTMIX_CP
  = Integ
@@ -714,16 +714,22 @@
 hirlpool
+Premix
 Account(
@@ -757,23 +757,195 @@
 IRLPOOL_
-ACCOUNT
+PREMIX_ACCOUNT;%0A    %7D%0A%0A    public int getWhirlpoolPostmix() %7B%0A        return WHIRLPOOL_POSTMIX;%0A    %7D%0A%0A    public int getWhirlpoolPostmixCP() %7B%0A        return WHIRLPOOL_POSTMIX_CP
 ;%0A    %7D%0A

refactor account index values