pub fn compute_keys_slot(account: Address, key_id: Address) -> U256Expand description
Compute the storage slot for keys[account][key_id]
This is useful for read-only contexts (like pool validation) that need to directly read the keychain state using StateProvider without going through the precompile abstraction.
The keys mapping is at slot 0 (first field in the contract).