Package com.casper.sdk.helper
Enum CasperConstants
- java.lang.Object
-
- java.lang.Enum<CasperConstants>
-
- com.casper.sdk.helper.CasperConstants
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CasperConstants>
public enum CasperConstants extends java.lang.Enum<CasperConstants>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description longvalue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CasperConstantsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CasperConstants[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_DEPLOY_TTL
public static final CasperConstants DEFAULT_DEPLOY_TTL
-
DEFAULT_GAS_PRICE
public static final CasperConstants DEFAULT_GAS_PRICE
-
DEPLOY_TTL_MS_MAX
public static final CasperConstants DEPLOY_TTL_MS_MAX
-
MAX_TRANSFER_ID
public static final CasperConstants MAX_TRANSFER_ID
-
MIN_TRANSFER_AMOUNT_MOTES
public static final CasperConstants MIN_TRANSFER_AMOUNT_MOTES
-
STANDARD_PAYMENT_FOR_NATIVE_TRANSFERS
public static final CasperConstants STANDARD_PAYMENT_FOR_NATIVE_TRANSFERS
-
STANDARD_PAYMENT_FOR_DELEGATION
public static final CasperConstants STANDARD_PAYMENT_FOR_DELEGATION
-
STANDARD_PAYMENT_FOR_DELEGATION_WITHDRAWAL
public static final CasperConstants STANDARD_PAYMENT_FOR_DELEGATION_WITHDRAWAL
-
STANDARD_PAYMENT_FOR_AUCTION_BID
public static final CasperConstants STANDARD_PAYMENT_FOR_AUCTION_BID
-
STANDARD_PAYMENT_FOR_AUCTION_BID_WITHDRAWAL
public static final CasperConstants STANDARD_PAYMENT_FOR_AUCTION_BID_WITHDRAWAL
-
-
Method Detail
-
values
public static CasperConstants[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CasperConstants c : CasperConstants.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CasperConstants valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-