Skip to content

Commit

Permalink
sync constants visibility fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe7s committed Nov 28, 2024
1 parent 45e0228 commit f418a52
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public final class GlamConstants {

private static final String SEED = """
public static final String SEED = """
anchor""";

private GlamConstants() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

public final class GovernConstants {

private static final int MAX_OPTION = 10;
public static final int MAX_OPTION = 10;

private static final long ABSTAIN_VOTE_INDEX = 0;
public static final long ABSTAIN_VOTE_INDEX = 0;

private static final long AGAINST_VOTE_INDEX = 1;
public static final long AGAINST_VOTE_INDEX = 1;

private static final long FOR_VOTE_INDEX = 2;
public static final long FOR_VOTE_INDEX = 2;

private GovernConstants() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@

public final class LbClmmConstants {

private static final int BASIS_POINT_MAX = 10000;
public static final int BASIS_POINT_MAX = 10000;

private static final long MAX_BIN_PER_ARRAY = 70;
public static final long MAX_BIN_PER_ARRAY = 70;

private static final long MAX_BIN_PER_POSITION = 70;
public static final long MAX_BIN_PER_POSITION = 70;

private static final int MIN_BIN_ID = -443636;
public static final int MIN_BIN_ID = -443636;

private static final int MAX_BIN_ID = 443636;
public static final int MAX_BIN_ID = 443636;

private static final long MAX_FEE_RATE = 100000000;
public static final long MAX_FEE_RATE = 100000000;

private static final long FEE_PRECISION = 1000000000;
public static final long FEE_PRECISION = 1000000000;

private static final int MAX_PROTOCOL_SHARE = 2500;
public static final int MAX_PROTOCOL_SHARE = 2500;

private static final int HOST_FEE_BPS = 2000;
public static final int HOST_FEE_BPS = 2000;

private static final long NUM_REWARDS = 2;
public static final long NUM_REWARDS = 2;

private static final long MIN_REWARD_DURATION = 1;
public static final long MIN_REWARD_DURATION = 1;

private static final long MAX_REWARD_DURATION = 31536000;
public static final long MAX_REWARD_DURATION = 31536000;

private static final long EXTENSION_BINARRAY_BITMAP_SIZE = 12;
public static final long EXTENSION_BINARRAY_BITMAP_SIZE = 12;

private static final int BIN_ARRAY_BITMAP_SIZE = 512;
public static final int BIN_ARRAY_BITMAP_SIZE = 512;

private static final long MAX_REWARD_BIN_SPLIT = 15;
public static final long MAX_REWARD_BIN_SPLIT = 15;

private static final byte[] BIN_ARRAY = new byte[]{98, 105, 110, 95, 97, 114, 114, 97, 121};
public static final byte[] BIN_ARRAY = new byte[]{98, 105, 110, 95, 97, 114, 114, 97, 121};

private static final byte[] ORACLE = new byte[]{111, 114, 97, 99, 108, 101};
public static final byte[] ORACLE = new byte[]{111, 114, 97, 99, 108, 101};

private static final byte[] BIN_ARRAY_BITMAP_SEED = new byte[]{98, 105, 116, 109, 97, 112};
public static final byte[] BIN_ARRAY_BITMAP_SEED = new byte[]{98, 105, 116, 109, 97, 112};

private static final byte[] PRESET_PARAMETER = new byte[]{112, 114, 101, 115, 101, 116, 95, 112, 97, 114, 97, 109, 101, 116, 101, 114};
public static final byte[] PRESET_PARAMETER = new byte[]{112, 114, 101, 115, 101, 116, 95, 112, 97, 114, 97, 109, 101, 116, 101, 114};

private static final byte[] POSITION = new byte[]{112, 111, 115, 105, 116, 105, 111, 110};
public static final byte[] POSITION = new byte[]{112, 111, 115, 105, 116, 105, 111, 110};

private LbClmmConstants() {
}
Expand Down

0 comments on commit f418a52

Please sign in to comment.