Module lwk::types

source ·
Expand description

In this module there are wrapper of existing foreign simple types that:

  • can be exposed via the bindings
  • restrict the possible values of the builtin type, for example hex::Hex restrict the possible values of the builtin String type to only numbers and letter from ‘a’ to ‘e’. Note the restriction is done at usage time, not at instantiation time.

Structs§

  • A valid asset identifier.
  • A valid hex string.