safe-smart-account icon indicating copy to clipboard operation
safe-smart-account copied to clipboard

Feature request: Transaction meta data

Open tschubotz opened this issue 2 years ago • 2 comments

Context / issue

Transaction meta data: I would like to be a to (optionally) provide meta data when calling execTransaction.

Why? Safe transactions are triggered via different interfaces. Also the officiel safe-react interface has Safe apps. The information on which txs was triggered via which Safe app is currently stored exclusively in our backend. This is not great for analytics since we can't easily match it with on-chain data from dune.

Proposed solution

Add an optional field to execTransaction where arbitrary data could be provided. This data should not be used at all for tx execution. It's sole purpose is for this info to be stored on chain via the call trace.

Alternatives

Additionally trigger an event with this info. I currently don't think this is necessary.

tschubotz avatar Aug 11 '21 13:08 tschubotz

Maybe this can be useful: https://github.com/0xsequence/sstore2

mmv08 avatar Nov 01 '21 10:11 mmv08

I am actually interested in this feature as well. Especially for DAO that use Gnosis-safe for distributing funds.

Slyracoon23 avatar Jan 10 '23 18:01 Slyracoon23