Enum StakingContractFunctionCall.StakingMethodCaller.ViewMethod
- java.lang.Object
-
- java.lang.Enum<StakingContractFunctionCall.StakingMethodCaller.ViewMethod>
-
- com.syntifi.near.api.rpc.service.contract.staking.StakingContractFunctionCall.StakingMethodCaller.ViewMethod
-
- All Implemented Interfaces:
ContractMethod
,java.io.Serializable
,java.lang.Comparable<StakingContractFunctionCall.StakingMethodCaller.ViewMethod>
- Enclosing class:
- StakingContractFunctionCall.StakingMethodCaller
public static enum StakingContractFunctionCall.StakingMethodCaller.ViewMethod extends java.lang.Enum<StakingContractFunctionCall.StakingMethodCaller.ViewMethod> implements ContractMethod
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StakingContractFunctionCall.StakingMethodCaller.ViewMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StakingContractFunctionCall.StakingMethodCaller.ViewMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface com.syntifi.near.api.rpc.service.contract.ContractMethod
getMethodName
-
-
-
-
Enum Constant Detail
-
GET_ACCOUNT_STAKED_BALANCE
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_ACCOUNT_STAKED_BALANCE
-
GET_ACCOUNT_UNSTAKED_BALANCE
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_ACCOUNT_UNSTAKED_BALANCE
-
GET_ACCOUNT_TOTAL_BALANCE
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_ACCOUNT_TOTAL_BALANCE
-
IS_ACCOUNT_UNSTAKED_BALANCE_AVAILABLE
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod IS_ACCOUNT_UNSTAKED_BALANCE_AVAILABLE
-
GET_TOTAL_STAKED_BALANCE
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_TOTAL_STAKED_BALANCE
-
GET_OWNER_ID
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_OWNER_ID
-
GET_REWARD_FEE_FRACTION
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_REWARD_FEE_FRACTION
-
GET_FARMS
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_FARMS
-
GET_FARM
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_FARM
-
GET_ACTIVE_FARMS
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_ACTIVE_FARMS
-
GET_UNCLAIMED_REWARD
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_UNCLAIMED_REWARD
-
GET_POOL_SUMMARY
public static final StakingContractFunctionCall.StakingMethodCaller.ViewMethod GET_POOL_SUMMARY
-
-
Method Detail
-
values
public static StakingContractFunctionCall.StakingMethodCaller.ViewMethod[] 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 (StakingContractFunctionCall.StakingMethodCaller.ViewMethod c : StakingContractFunctionCall.StakingMethodCaller.ViewMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StakingContractFunctionCall.StakingMethodCaller.ViewMethod 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
-
-