Module macros

Module macros 

Source
Expand description

§Procedural macros for starknet-rust

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.