Storage Types Three main categories
Primitives Basic types for single values
• StorageBool • StorageUint (U8, U16, U32, U64, U128, U256) • StorageSigned (I8, I16, I32, I64, I128, I256)
• StorageAddress • StorageBytes, StorageString • StorageFixedBytes (B1...B32)
Collections Container types for multiple values
• StorageMap<K, V> - Key-value mappings • StorageVec<T> - Dynamic arrays • StorageArray<T, N> - Fixed arrays
Custom Structs User-defined composite types
• sol_storage!() - Solidity-style • #[storage] struct - Rust-style