%%{init: {"theme":"neutral","flowchart": {"curve":"basis"}}}%%
flowchart LR
A[User Calls Contract] --> B{Entry Point / Fallback}
B -->|Function Call| C[Read Storage]
B -->|Fallback Call| D[Read Storage]
C --> E{Checks / Auth}
D --> E
E -->|pass| F[State Update (SSTORE)]
E -->|fail| G[Revert / Return]
F --> H[External CALL]
H --> I[Emit Event / Return]
G --> I
1. Call Received
2. Entry Point Validated
3. Read Storage
4. Checks / Auth
5. State Update (SSTORE)
6. External CALL
7. Emit Event / Return
Use the stage buttons to animate workflow highlights.