Skip to main content

signature_to_topic0

Function signature_to_topic0 

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

Returns topic0 based on a human-readable Solidity event signature (e.g. "Transfer(address indexed,address indexed,uint256)").