public static enum Chain.Transaction.Result.contractResult extends java.lang.Enum<Chain.Transaction.Result.contractResult> implements com.google.protobuf.ProtocolMessageEnum
protocol.Transaction.Result.contractResult| Enum Constant and Description |
|---|
BAD_JUMP_DESTINATION
BAD_JUMP_DESTINATION = 3; |
DEFAULT
DEFAULT = 0; |
ILLEGAL_OPERATION
ILLEGAL_OPERATION = 8; |
INVALID_CODE
INVALID_CODE = 15; |
JVM_STACK_OVER_FLOW
JVM_STACK_OVER_FLOW = 12; |
OUT_OF_ENERGY
OUT_OF_ENERGY = 10; |
OUT_OF_MEMORY
OUT_OF_MEMORY = 4; |
OUT_OF_TIME
OUT_OF_TIME = 11; |
PRECOMPILED_CONTRACT
PRECOMPILED_CONTRACT = 5; |
REVERT
REVERT = 2; |
STACK_OVERFLOW
STACK_OVERFLOW = 9; |
STACK_TOO_LARGE
STACK_TOO_LARGE = 7; |
STACK_TOO_SMALL
STACK_TOO_SMALL = 6; |
SUCCESS
SUCCESS = 1; |
TRANSFER_FAILED
TRANSFER_FAILED = 14; |
UNKNOWN
UNKNOWN = 13; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BAD_JUMP_DESTINATION_VALUE
BAD_JUMP_DESTINATION = 3; |
static int |
DEFAULT_VALUE
DEFAULT = 0; |
static int |
ILLEGAL_OPERATION_VALUE
ILLEGAL_OPERATION = 8; |
static int |
INVALID_CODE_VALUE
INVALID_CODE = 15; |
static int |
JVM_STACK_OVER_FLOW_VALUE
JVM_STACK_OVER_FLOW = 12; |
static int |
OUT_OF_ENERGY_VALUE
OUT_OF_ENERGY = 10; |
static int |
OUT_OF_MEMORY_VALUE
OUT_OF_MEMORY = 4; |
static int |
OUT_OF_TIME_VALUE
OUT_OF_TIME = 11; |
static int |
PRECOMPILED_CONTRACT_VALUE
PRECOMPILED_CONTRACT = 5; |
static int |
REVERT_VALUE
REVERT = 2; |
static int |
STACK_OVERFLOW_VALUE
STACK_OVERFLOW = 9; |
static int |
STACK_TOO_LARGE_VALUE
STACK_TOO_LARGE = 7; |
static int |
STACK_TOO_SMALL_VALUE
STACK_TOO_SMALL = 6; |
static int |
SUCCESS_VALUE
SUCCESS = 1; |
static int |
TRANSFER_FAILED_VALUE
TRANSFER_FAILED = 14; |
static int |
UNKNOWN_VALUE
UNKNOWN = 13; |
| Modifier and Type | Method and Description |
|---|---|
static Chain.Transaction.Result.contractResult |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Chain.Transaction.Result.contractResult> |
internalGetValueMap() |
static Chain.Transaction.Result.contractResult |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Chain.Transaction.Result.contractResult |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Chain.Transaction.Result.contractResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Chain.Transaction.Result.contractResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Chain.Transaction.Result.contractResult DEFAULT
DEFAULT = 0;public static final Chain.Transaction.Result.contractResult SUCCESS
SUCCESS = 1;public static final Chain.Transaction.Result.contractResult REVERT
REVERT = 2;public static final Chain.Transaction.Result.contractResult BAD_JUMP_DESTINATION
BAD_JUMP_DESTINATION = 3;public static final Chain.Transaction.Result.contractResult OUT_OF_MEMORY
OUT_OF_MEMORY = 4;public static final Chain.Transaction.Result.contractResult PRECOMPILED_CONTRACT
PRECOMPILED_CONTRACT = 5;public static final Chain.Transaction.Result.contractResult STACK_TOO_SMALL
STACK_TOO_SMALL = 6;public static final Chain.Transaction.Result.contractResult STACK_TOO_LARGE
STACK_TOO_LARGE = 7;public static final Chain.Transaction.Result.contractResult ILLEGAL_OPERATION
ILLEGAL_OPERATION = 8;public static final Chain.Transaction.Result.contractResult STACK_OVERFLOW
STACK_OVERFLOW = 9;public static final Chain.Transaction.Result.contractResult OUT_OF_ENERGY
OUT_OF_ENERGY = 10;public static final Chain.Transaction.Result.contractResult OUT_OF_TIME
OUT_OF_TIME = 11;public static final Chain.Transaction.Result.contractResult JVM_STACK_OVER_FLOW
JVM_STACK_OVER_FLOW = 12;public static final Chain.Transaction.Result.contractResult UNKNOWN
UNKNOWN = 13;public static final Chain.Transaction.Result.contractResult TRANSFER_FAILED
TRANSFER_FAILED = 14;public static final Chain.Transaction.Result.contractResult INVALID_CODE
INVALID_CODE = 15;public static final Chain.Transaction.Result.contractResult UNRECOGNIZED
public static final int DEFAULT_VALUE
DEFAULT = 0;public static final int SUCCESS_VALUE
SUCCESS = 1;public static final int REVERT_VALUE
REVERT = 2;public static final int BAD_JUMP_DESTINATION_VALUE
BAD_JUMP_DESTINATION = 3;public static final int OUT_OF_MEMORY_VALUE
OUT_OF_MEMORY = 4;public static final int PRECOMPILED_CONTRACT_VALUE
PRECOMPILED_CONTRACT = 5;public static final int STACK_TOO_SMALL_VALUE
STACK_TOO_SMALL = 6;public static final int STACK_TOO_LARGE_VALUE
STACK_TOO_LARGE = 7;public static final int ILLEGAL_OPERATION_VALUE
ILLEGAL_OPERATION = 8;public static final int STACK_OVERFLOW_VALUE
STACK_OVERFLOW = 9;public static final int OUT_OF_ENERGY_VALUE
OUT_OF_ENERGY = 10;public static final int OUT_OF_TIME_VALUE
OUT_OF_TIME = 11;public static final int JVM_STACK_OVER_FLOW_VALUE
JVM_STACK_OVER_FLOW = 12;public static final int UNKNOWN_VALUE
UNKNOWN = 13;public static final int TRANSFER_FAILED_VALUE
TRANSFER_FAILED = 14;public static final int INVALID_CODE_VALUE
INVALID_CODE = 15;public static Chain.Transaction.Result.contractResult[] values()
for (Chain.Transaction.Result.contractResult c : Chain.Transaction.Result.contractResult.values()) System.out.println(c);
public static Chain.Transaction.Result.contractResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Chain.Transaction.Result.contractResult valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Chain.Transaction.Result.contractResult forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Chain.Transaction.Result.contractResult> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Chain.Transaction.Result.contractResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)