Function clarity::abi::derive_signature
source · pub fn derive_signature(data: &str) -> Result<[u8; 32], Error>
Expand description
Raw derive for a Keccak256 digest from a string
This function should be used when trying to filter out interesting events from a contract. This is different than contract function calls because it uses whole 32 bytes of the hash digest.