pub fn extract_address_from_bytes(bytes: &[u8]) -> Result<Address>Expand description
Extract address from 32-byte topic (address in last 20 bytes).
In Ethereum event logs, indexed address parameters are stored as 32-byte values with the 20-byte address right-aligned (padded with zeros on the left).
ยงErrors
Returns an error if the byte slice is shorter than 32 bytes.