pub fn compute_state_slot(name: &str) -> [u8; 32]
Compute the canonical storage slot hash for a state variable name.
The returned value is the 32-byte SHA-256 digest of the UTF-8 name.