find_event

Function find_event 

Source
pub fn find_event<'a>(
    res: &'a SubMsgResponse,
    event_type: &str,
) -> StdResult<&'a Event>
Expand description

Find event from SubMsg response

Returns a StdResult containing reference to the event if found otherwise StdError