safe-global / safe-client-gateway

Serves as a bridge for the Safe{Wallet} clients (Android, iOS, Web)
https://docs.safe.global
MIT License
27 stars 64 forks source link

Handle `*_DELEGATE` Transaction Service events #2106

Open iamacook opened 1 week ago

iamacook commented 1 week ago

Summary

The Transaction Service now emits new *_DELEGATE events for creating, updating and deleting delegates:

This adds the relevant validation and handling of the aforementioned, clearing the delegates cache accordingly.

Changes

iamacook commented 1 week ago

~I'm marking this as a draft for now as there is no chain identifier for each event. I've discussed this with @falvaradorodriguez, and he will add them soon. A chainId property is preemptively added accordingly.~

This has now been resolved.