func UnmarshalEvent(b json.RawMessage) (string, events.EventData, error) {
	event := new(ctypes.ResultEvent)
	if err := cdc.UnmarshalJSON(b, event); err != nil {
		return "", nil, err
	}
	return event.Query, event.Data, nil
}
// UnmarshalEvent unmarshals a json event
UnmarshalEvent unmarshals a json event
// UnmarshalEvent unmarshals a json event
func UnmarshalEvent(b json.RawMessage) (string, events.EventData, error) {
	event := new(ctypes.ResultEvent)
	if err := cdc.UnmarshalJSON(b, event); err != nil {
		return "", nil, err
	}
	return event.Query, event.Data, nil
}
func UnmarshalEvent ( b json . RawMessage ) ( string , events . EventData , error ) { event := new ( ctypes . ResultEvent ) if err := cdc . UnmarshalJSON ( b , event ) ; err != nil { return " " , nil , err } return event . Query , event . Data , nil }
UnmarshalEvent unmarshals a json event
UnmarshalEvent unmarshals a json event