Enum KeyContexts.TransactionType
- java.lang.Object
-
- java.lang.Enum<KeyContexts.TransactionType>
-
- com.h2tcoin.takamakachain.globalContext.KeyContexts.TransactionType
-
- All Implemented Interfaces:
Serializable
,Comparable<KeyContexts.TransactionType>
- Enclosing class:
- KeyContexts
public static enum KeyContexts.TransactionType extends Enum<KeyContexts.TransactionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGN_OVERFLOW
BLOB
generic data signing in the blockchain(ex.BLOCK
BLOCK_CLOSE
Deprecated.BLOCK_HASH
COINBASE
DECLARATION
transaction valid only in initializationDEREGISTER_MAIN
DEREGISTER_OVERFLOW
PAY
red or green token transaction transferPREVIOUS_BLOCK
REGISTER_MAIN
REGISTER_OVERFLOW
REQUEST_BLOCK
Deprecated.RETURN_BLOCK
Deprecated.S_CONTRACT_CALL
S_CONTRACT_DEPLOY
S_CONTRACT_INSTANCE
S_CREATE_ACCOUNT
require account creationSTAKE
STAKE_UNDO
STATE_POINTER_TRANSACTION
signed state pointer bean from, to, epoch, slot, inside the message is the base64 blockhashUNASSIGN_OVERFLOW
UNDEFINED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyContexts.TransactionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeyContexts.TransactionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAY
public static final KeyContexts.TransactionType PAY
red or green token transaction transfer
-
STAKE
public static final KeyContexts.TransactionType STAKE
-
STAKE_UNDO
public static final KeyContexts.TransactionType STAKE_UNDO
-
COINBASE
public static final KeyContexts.TransactionType COINBASE
-
PREVIOUS_BLOCK
public static final KeyContexts.TransactionType PREVIOUS_BLOCK
-
BLOCK_HASH
public static final KeyContexts.TransactionType BLOCK_HASH
-
DECLARATION
public static final KeyContexts.TransactionType DECLARATION
transaction valid only in initialization
-
BLOCK_CLOSE
public static final KeyContexts.TransactionType BLOCK_CLOSE
Deprecated.
-
BLOCK
public static final KeyContexts.TransactionType BLOCK
-
REGISTER_MAIN
public static final KeyContexts.TransactionType REGISTER_MAIN
-
REGISTER_OVERFLOW
public static final KeyContexts.TransactionType REGISTER_OVERFLOW
-
DEREGISTER_MAIN
public static final KeyContexts.TransactionType DEREGISTER_MAIN
-
DEREGISTER_OVERFLOW
public static final KeyContexts.TransactionType DEREGISTER_OVERFLOW
-
ASSIGN_OVERFLOW
public static final KeyContexts.TransactionType ASSIGN_OVERFLOW
-
UNASSIGN_OVERFLOW
public static final KeyContexts.TransactionType UNASSIGN_OVERFLOW
-
UNDEFINED
public static final KeyContexts.TransactionType UNDEFINED
-
REQUEST_BLOCK
public static final KeyContexts.TransactionType REQUEST_BLOCK
Deprecated.require the next valid block using the last valid block hash
-
RETURN_BLOCK
public static final KeyContexts.TransactionType RETURN_BLOCK
Deprecated.reply to a request block transaction containing the nearest valid block or the first one if requestor is in a chain split
-
BLOB
public static final KeyContexts.TransactionType BLOB
generic data signing in the blockchain(ex. file signature)
-
STATE_POINTER_TRANSACTION
public static final KeyContexts.TransactionType STATE_POINTER_TRANSACTION
signed state pointer bean from, to, epoch, slot, inside the message is the base64 blockhash
-
S_CONTRACT_DEPLOY
public static final KeyContexts.TransactionType S_CONTRACT_DEPLOY
-
S_CONTRACT_INSTANCE
public static final KeyContexts.TransactionType S_CONTRACT_INSTANCE
-
S_CONTRACT_CALL
public static final KeyContexts.TransactionType S_CONTRACT_CALL
-
S_CREATE_ACCOUNT
public static final KeyContexts.TransactionType S_CREATE_ACCOUNT
require account creation
-
-
Method Detail
-
values
public static KeyContexts.TransactionType[] 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 (KeyContexts.TransactionType c : KeyContexts.TransactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyContexts.TransactionType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-