To enable the execution of events within our system, we need to integrate them into our router. Here we will update the company's router to handle the first three types of events: shares release, capitalization, and shares split.
We begin by verifying the existence of the company before processing any events.
Verify Shares Property:
Define Event Properties:
Verify Capitalization Property:
Define Event Properties:
Verify Split Factor:
Define Event Properties:
We need to ensure that all events are correctly closed, especially when auto-generated code might omit necessary closures.
By following these steps, we can effectively manage shares release, capitalization, and shares split events within our router. Each event is thoroughly verified for correctness in structure and required properties.
Note: Always test to ensure these configurations are functioning as expected before deploying them to a production environment.