Expand description
This crate contains the definition of traits and types
that map to Cairo types that can then be (de)serializable from an array of Felt.
Some of the Cairo types are provided in the ABI event if they are very generic
like Option, Result, etc…
This crate provides the CairoSerde implementation for those types and all basic
types from Cairo (integers, felt etc…).
Re-exports§
pub use serde_hex::*;pub use types::array_legacy::*;pub use types::byte_array::*;pub use types::non_zero::*;pub use types::starknet::*;pub use types::u256::*;pub use types::*;
Modules§
Enums§
- Error
- A cairo type error.
Traits§
- Cairo
Serde - CairoSerde trait to implement in order to serialize/deserialize a Rust type to/from a CairoSerde.
Type Aliases§
- Result
- Cairo types result.