Crate scrypto::prelude::radix_engine_common
source · Modules§
- RE bech32 address library.
- RE protocol constants
- RE crypto library
- RE scrypto data model.
- RE math library.
- RE network identifier model.
- Each module should have its own prelude, which:
- RE time library.
- RE types.
Macros§
- Creates a safe integer from literals. You must specify the type of the integer you want to create.
- A macro for implementing sbor traits (for statically sized types).
Traits§
- The
Categorize
trait marks a rust type as having a fixed value kind for SBOR encoding/decoding. - A data structure that can be decoded from a byte array using SBOR.
- A data structure that can be serialized into a byte array using SBOR.
Derive Macros§
- Derive code that returns the value kind.
- Derive code that decodes this data structure from a byte array.
- Derive code that encodes this data structure
- Derives code for categorizing a struct or enum with Manifest value model.
- Derives code for decoding a struct or enum with Manifest value model.
- Derives code for encoding a struct or enum with Manifest value model.
- Derives code for categorizing a struct or enum with Scrypto value model.
- Derives code for decoding a struct or enum with Scrypto value model.
- Derives code for encoding a struct or enum with Scrypto value model.
- Derive code for implementing the required logic to mark a type as being an event.