5afe / safe-core-protocol-specs

Safe{Core} Protocol is an open, modular framework to make smart accounts secure, portable, and composable.
GNU General Public License v3.0
66 stars 13 forks source link

Define use of `executionMeta` field in Guard/Hooks interface #10

Closed akshay-ap closed 1 year ago

akshay-ap commented 1 year ago

With current protocol spec, it is not clear what information is passed in executionMeta field of Gaurd/hooks interface. How should a guard/hook process this information? https://github.com/5afe/safe-protocol-specs/tree/main/components#guards-hooks

rmeissner commented 1 year ago

The execution meta should contain information about the execution flow. I.e. if it is triggered via the multisig flow of Safe it should contain information for this flow. Or if it is a module flow, it should contain information about it (like the module address).