Add operator and logic for sol code dispatch of custom events.