Expand description
Procedural macros for the starknet crate. This crate provides macros that help make defining
certain compile-time constants easier.
Macrosยง
- felt
- Defines a compile-time constant for a field element from its decimal or hexadecimal representation.
- felt_
dec - Defines a compile-time constant for a field element from its decimal representation.
- felt_
hex - Defines a compile-time constant for a field element from its hexadecimal representation.
- selector
- Defines a compile-time constant for a entrypoint selector of a Starknet contract.
- short_
string - Defines a compile-time constant for a Cairo short string encoding from a human-readable string.