💳Transaction Types

No

Transaction Type

Type Code

交易介绍Transaction introduction:

0

CoinBase

0x00

区块里的第一笔交易,为创币交易,用于发放矿工奖励及DPOS收益等The first transaction in the block is a Coinbase transaction, which is used to distribute miners’ rewards and DPOS profits, etc.

1

RegisterAsset

0x01

注册资产类别交易,主链只支持ELA资产类别RegisterAsset transaction. The main chain only supports ELA asset.

2

TransferAsset

0x02

转账交易 ,output类别会区是否是投票交易TransferAsset transaction. Whether the output category area is a voting transaction

3

Record

0x03

没用到Useless

4

Deploy

0x04

没用到Useless

5

SideChainPow

0x05

侧链挖矿交易,用于传递主链共识给POW侧链出块SideChainPow transaction, which is used to transfer the consensus of main chain to POW side chain of block generation.

6

RechargeToSideChain

0x06

主链无此交易,为与旧DID链交易类型保持一致定义在主链(旧did链上的跨链充值交易tx2)There is no such transaction in the main chain, which is defined in the main chain (cross-chain recharge transaction tx2 on the old DID chain) for keeping the same transaction type with the old DID chain.

7

WithdrawFromSideChain

0x07

跨链提币交易(tx4)Cross-chain withdrawal transaction (tx4)

8

TransferCrossChainAsset

0x08

跨链充值交易(tx1)TransferCrossChainAsset transaction (tx1)

9

RegisterProducer

0x09

注册DPOS候选节点交易RegisterProducer transaction

10

CancelProducer

0x0a

取消DPOS候选节点交易Transaction of canceling DPOS candidate node

11

UpdateProducer

0x0b

更新DPOS候选节点信息交易Transaction of updating DPOS candidate node information

12

ReturnDepositCoin

0x0c

取回DPOS质押金的交易Transaction of retrieving DPOS deposit

13

ActivateProducer

0x0d

激活inactive或者illegal的DPOS接单交易Order-taking transaction of activating inactive or illegal’s DPOS

14

IllegalProposalEvidence

0x0e

区块确认共识中发起提案作恶的证据Confirm the evidence that the proposal is illegal in the block consensus

15

IllegalVoteEvidence

0x0f

区块确认共识中对提案投票的作恶证据Confirm the evidence of illegality voting on the proposal in the block consensus

16

IllegalBlockEvidence

0x10

区块区块共识出分叉块作恶证据Block consensus shows evidence that forked blocks are illegal.

17

IllegalSidechainEvidence

0x11

没用到Useless

18

InactiveArbitrators

0x12

DPOS节点批量inactive交易Batch inactive transactions of DPOS nodes

19

UpdateVersion

0x13

没用到(看代码是用于设置支持producer inactive区块区间的交易)Not used (code is used to set the transaction that supports producer inactive block interval)

20

NextTurnDPOSInfo

0x14

SPV动态感知交易,记录下一轮DPOS当值人员信息SPV NextTurnDPOSInfo transaction, which is used to record the information of the personnel on duty in the next round of DPOS.

21

RecordProposalResult

0x15

记录预留短名字相关提案评议期及公投期最终结果是否通过(之后版本会做扩展)Record whether the result of the proposal review period and referendum period for reserving short names is passed (the version will be expanded later)

22

RegisterCR

0x21

注册CR委员交易Transaction of registering CR member

23

UnregisterCR

0x22

注销CR委员交易Transaction of registering CR member

24

UpdateCR

0x23

更新CR委员信息交易Transaction of updating CR member information

25

ReturnCRDepositCoin

0x24

取回CR委员质押金交易Transaction of retrieving deposit of CR members

26

CRCProposal

0x25

提案发布交易,发布之后有一个星期的评审期以及一个星期的公投期Proposal issuance transaction. There will be a one-week review period and a one-week referendum period after the issuance.

27

CRCProposalReview

0x26

提案评审交易,用于评议期对提案发表评审意见及评审结果Proposal review transaction, which is used to express review opinions and results on proposals during the review period.

28

CRCProposalTracking

0x27

提案追踪交易,用于对执行中的提案进行进度追踪ProposalTracking transaction, which is used to track the progress of the proposal in execution.

29

CRCAppropriation

0x28

CR委员换届拨款交易CR member ProposalAppropriation Transaction

30

CRCProposalWithdraw

0x29

提案申请取款交易,提案所有者可通过此交易取走提案阶段款项Proposal application withdrawal transaction, through which the proposal owner can withdraw the money in the proposal stage.

31

CRCProposalRealWithdraw

0x2a

提案取款放款交易,链上根据申请提案取款的交易真正放款的交易Proposal withdrawal and loan transaction. The transaction of withdrawing money according to the application proposal and the real loan transaction on the chain.

32

CRAssetsRectify

0x2b

资产整理交易,用于对CR资产地址进行零钱换整,避免零散utxo过多Asset arrangement transaction, which is used to reduce loose change for CR asset address to avoid excessive scattered utxo.

33

CRCouncilMemberClaimNode

0x31

CR委员认领运营DPOS节点交易CR member claims operating DPOS node transaction.

34

RevertToPOW

0x41

退化为POW共识交易Degenerate to POW consensus transaction

35

RevertToDPOS

0x42

恢复为DPOS共识交易Recover DPOS consensus transaction

36

ReturnSideChainDepositCoin

0x51

跨链充值冲正交易,在跨链充值失败时可将冻结地址的钱返回给用户ReturnSideChainDepositCoin transaction. When cross-chain recharge fails, the money of frozen address can be returned to the user.

Last updated