pub fn erc_address_storage(address: Address) -> U256
Expand description
Calculates the storage slot for an ERC20 balance mapping. This implements the standard Solidity mapping storage layout where slot = keccak256(abi.encode(address, slot_number))
pub fn erc_address_storage(address: Address) -> U256
Calculates the storage slot for an ERC20 balance mapping. This implements the standard Solidity mapping storage layout where slot = keccak256(abi.encode(address, slot_number))