public static enum Protocol.Transaction.Result.contractResult extends Enum<Protocol.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; |
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; |
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 |
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 |
UNKNOWN_VALUE
UNKNOWN = 13; |
Modifier and Type | Method and Description |
---|---|
static Protocol.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<Protocol.Transaction.Result.contractResult> |
internalGetValueMap() |
static Protocol.Transaction.Result.contractResult |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protocol.Transaction.Result.contractResult |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protocol.Transaction.Result.contractResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocol.Transaction.Result.contractResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protocol.Transaction.Result.contractResult DEFAULT
DEFAULT = 0;
public static final Protocol.Transaction.Result.contractResult SUCCESS
SUCCESS = 1;
public static final Protocol.Transaction.Result.contractResult REVERT
REVERT = 2;
public static final Protocol.Transaction.Result.contractResult BAD_JUMP_DESTINATION
BAD_JUMP_DESTINATION = 3;
public static final Protocol.Transaction.Result.contractResult OUT_OF_MEMORY
OUT_OF_MEMORY = 4;
public static final Protocol.Transaction.Result.contractResult PRECOMPILED_CONTRACT
PRECOMPILED_CONTRACT = 5;
public static final Protocol.Transaction.Result.contractResult STACK_TOO_SMALL
STACK_TOO_SMALL = 6;
public static final Protocol.Transaction.Result.contractResult STACK_TOO_LARGE
STACK_TOO_LARGE = 7;
public static final Protocol.Transaction.Result.contractResult ILLEGAL_OPERATION
ILLEGAL_OPERATION = 8;
public static final Protocol.Transaction.Result.contractResult STACK_OVERFLOW
STACK_OVERFLOW = 9;
public static final Protocol.Transaction.Result.contractResult OUT_OF_ENERGY
OUT_OF_ENERGY = 10;
public static final Protocol.Transaction.Result.contractResult OUT_OF_TIME
OUT_OF_TIME = 11;
public static final Protocol.Transaction.Result.contractResult JVM_STACK_OVER_FLOW
JVM_STACK_OVER_FLOW = 12;
public static final Protocol.Transaction.Result.contractResult UNKNOWN
UNKNOWN = 13;
public static final Protocol.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 Protocol.Transaction.Result.contractResult[] values()
for (Protocol.Transaction.Result.contractResult c : Protocol.Transaction.Result.contractResult.values()) System.out.println(c);
public static Protocol.Transaction.Result.contractResult valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Protocol.Transaction.Result.contractResult valueOf(int value)
forNumber(int)
instead.public static Protocol.Transaction.Result.contractResult forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protocol.Transaction.Result.contractResult> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protocol.Transaction.Result.contractResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.