Explanation of the Smart Contract Block

Lattice Network Smart Contract contains two parts: 1) Contract handle for Smart Contract addressing, and 2)Contract instance for saving ABI and contract signature.

The structure of block is illustrated as following:

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.

Last updated