Module ckb_gen_types::core

source ·
Expand description

The essential rust types for CKB contracts.

Enums§

  • Specifies how the script code_hash is used to match the script code and how to run the code. The hash type is split into the high 7 bits and the low 1 bit, when the low 1 bit is 1, it indicates the type, when the low 1 bit is 0, it indicates the data, and then it relies on the high 7 bits to indicate that the data actually corresponds to the version.