Explanation of the Smart Contract Block
Last updated
Last updated
Lattice Network Smart Contract contains two parts: 1) Contract handle for Smart Contract addressing, and 2)Contract instance for saving ABI and contract signature.
Smart Contract Handle: “SC_INFO_HASH” is null for an ordinary transaction block. In the transaction concerning the Smart Contract, this field must not be null. The combination of “link” and “SC_INFO_HASH” can accurately classify the Smart Contract related transaction from ordinary transactions.
Smart Contract Instance: SC_INFO_HASH is the hash value from the Smart Contract Block illustrated in Fig. 5, which records the original data of Smart Contract ABI.