类 TxType
- java.lang.Object
-
- io.nuls.core.constant.TxType
-
public class TxType extends Object
交易类型- 版本:
- 1.0
- 作者:
- captain
-
-
字段概要
字段 修饰符和类型 字段 说明 static intACCOUNT_ALIAS设置账户别名 Set the transaction type of account alias.static intADD_ASSET_TO_CHAIN为链新增一种资产static intCALL_CONTRACT调用智能合约static intCANCEL_DEPOSIT取消委托static intCOIN_BASEcoinBase出块奖励static intCONTRACT_CANCEL_DEPOSIT合约取消委托共识 contract withdraw txstatic intCONTRACT_CREATE_AGENT合约新建共识节点 contract create agent txstatic intCONTRACT_DEPOSIT合约委托参与共识 contract deposit txstatic intCONTRACT_RETURN_GAS合约执行手续费返还 contract return gas txstatic intCONTRACT_STOP_AGENT合约注销共识节点 contract stop agent txstatic intCONTRACT_TRANSFER合约内部转账 contract transfer txstatic intCREATE_CONTRACT创建智能合约static intCROSS_CHAIN跨链转账static intDELETE_CONTRACT删除智能合约static intDEPOSIT委托参与共识static intDESTROY_CHAIN_AND_ASSET注销链static intRED_PUNISH红牌static intREGISTER_AGENT新建共识节点static intREGISTER_CHAIN_AND_ASSET注册链static intREMOVE_ASSET_FROM_CHAIN删除链上资产static intSTOP_AGENT注销共识节点static intTRANSFER转账 the type of the transfer transactionstatic intVERIFIER_CHANGE验证人变更 Verifier Changestatic intVERIFIER_INIT验证人初始化 Verifier initstatic intYELLOW_PUNISH取消委托共识
-
构造器概要
构造器 构造器 说明 TxType()
-
-
-
字段详细资料
-
COIN_BASE
public static final int COIN_BASE
coinBase出块奖励- 另请参阅:
- 常量字段值
-
TRANSFER
public static final int TRANSFER
转账 the type of the transfer transaction- 另请参阅:
- 常量字段值
-
ACCOUNT_ALIAS
public static final int ACCOUNT_ALIAS
设置账户别名 Set the transaction type of account alias.- 另请参阅:
- 常量字段值
-
REGISTER_AGENT
public static final int REGISTER_AGENT
新建共识节点- 另请参阅:
- 常量字段值
-
DEPOSIT
public static final int DEPOSIT
委托参与共识- 另请参阅:
- 常量字段值
-
CANCEL_DEPOSIT
public static final int CANCEL_DEPOSIT
取消委托- 另请参阅:
- 常量字段值
-
YELLOW_PUNISH
public static final int YELLOW_PUNISH
取消委托共识- 另请参阅:
- 常量字段值
-
RED_PUNISH
public static final int RED_PUNISH
红牌- 另请参阅:
- 常量字段值
-
STOP_AGENT
public static final int STOP_AGENT
注销共识节点- 另请参阅:
- 常量字段值
-
CROSS_CHAIN
public static final int CROSS_CHAIN
跨链转账- 另请参阅:
- 常量字段值
-
REGISTER_CHAIN_AND_ASSET
public static final int REGISTER_CHAIN_AND_ASSET
注册链- 另请参阅:
- 常量字段值
-
DESTROY_CHAIN_AND_ASSET
public static final int DESTROY_CHAIN_AND_ASSET
注销链- 另请参阅:
- 常量字段值
-
ADD_ASSET_TO_CHAIN
public static final int ADD_ASSET_TO_CHAIN
为链新增一种资产- 另请参阅:
- 常量字段值
-
REMOVE_ASSET_FROM_CHAIN
public static final int REMOVE_ASSET_FROM_CHAIN
删除链上资产- 另请参阅:
- 常量字段值
-
CREATE_CONTRACT
public static final int CREATE_CONTRACT
创建智能合约- 另请参阅:
- 常量字段值
-
CALL_CONTRACT
public static final int CALL_CONTRACT
调用智能合约- 另请参阅:
- 常量字段值
-
DELETE_CONTRACT
public static final int DELETE_CONTRACT
删除智能合约- 另请参阅:
- 常量字段值
-
CONTRACT_TRANSFER
public static final int CONTRACT_TRANSFER
合约内部转账 contract transfer tx- 另请参阅:
- 常量字段值
-
CONTRACT_RETURN_GAS
public static final int CONTRACT_RETURN_GAS
合约执行手续费返还 contract return gas tx- 另请参阅:
- 常量字段值
-
CONTRACT_CREATE_AGENT
public static final int CONTRACT_CREATE_AGENT
合约新建共识节点 contract create agent tx- 另请参阅:
- 常量字段值
-
CONTRACT_DEPOSIT
public static final int CONTRACT_DEPOSIT
合约委托参与共识 contract deposit tx- 另请参阅:
- 常量字段值
-
CONTRACT_CANCEL_DEPOSIT
public static final int CONTRACT_CANCEL_DEPOSIT
合约取消委托共识 contract withdraw tx- 另请参阅:
- 常量字段值
-
CONTRACT_STOP_AGENT
public static final int CONTRACT_STOP_AGENT
合约注销共识节点 contract stop agent tx- 另请参阅:
- 常量字段值
-
VERIFIER_CHANGE
public static final int VERIFIER_CHANGE
验证人变更 Verifier Change- 另请参阅:
- 常量字段值
-
VERIFIER_INIT
public static final int VERIFIER_INIT
验证人初始化 Verifier init- 另请参阅:
- 常量字段值
-
-