Skip to main content

abi_to_topic0

Function abi_to_topic0 

Source
pub fn abi_to_topic0(abi_json: &str) -> Result<[u8; 32]>
Expand description

Returns topic0 based on a JSON ABI fragment for an event (e.g. the abi_json field from crate::abi_events).