Crate ckb_dao_utils

Source
Expand description

This crate provides several util functions to operate the dao field and NervosDAO related errors.

Enums§

DaoError
Errors due to the fact that the NervosDAO rules are not respected.

Functions§

extract_dao_data
Extract ar, c, s, and u from Byte32.
pack_dao_data
Pack ar, c, s, and u into Byte32 in little endian.