Skip to main content

const_slot_map

Function const_slot_map 

Source
pub const fn const_slot_map(k: &U, p: &U) -> U
Expand description

Find the storage map slot using keccak_const. Don’t do this during your runtime code, unless you want to pay the codesize price.