Token Approval Manager - Gnosis Safe app

I wasn’t sure where to post this, but I would like to promote / discuss a new safe app I worked on. So please drop some feedback / suggestions / questions :slight_smile:

Summary

The Token Approval Manager offers a convenient way to

  • Keep track of the safe’s ERC20 token approvals
  • Edit / revoke multiple approvals in a single transaction

Motivation

ERC20 Approvals are widely used in all kinds of dapps which interact with ERC20 tokens (i.e. DEXes like Cowswap).
While the concept is very convenient it comes with certain risks and problems:

  1. It gets really hard for users to keep track of how many approvals have been given to which dapps / contracts.
  2. A lot of dapps set the approval to unlimited to save gas on future interactions / out of convenience.
  3. Non malicious smart contracts can have vulnerabilities enabling malicious users to potential drain ERC20 tokens of others if allowances still exist
  4. Malicious contracts exists with the goal to bait people into giving ERC20 approvals for this contracts to transfer all assets as soon as enough approvals are accumulated.

There are also some solutions out there to manage / revoke approvals. But none of them leverage that gnosis safes can batch send approve-calls making this app potentially the best solution out there.

Existing apps

Possible extension

As a future feature I would also love to include a list of known malicious / compromised contracts so the app could warn about known dangerous approvals. But I didn’t find a good source for such a list yet and doubt that I could keep it up-to-date by myself.

Code

I started developing a new (unfinished) safe app here:

Screenrecording of current app

Prototype_Token_Approval_Manager

Next steps

I would love to finish it up.
Currently its mainly tests, the logo and some UI tweaks which are missing.

I could also imagine submitting this as a grant if it qualifies for one and the program still exists.

5 Likes

Amazing work @schmanu! This would be very useful to have as a Safe App and we were already thinking about putting this on our roadmap for the web interface for April/May. Let me get back to you with the best way atm to submit this in terms of grant programs.

2 Likes

Hey @schmanu - we don’t have a grants program mobilised yet, but we do have an ‘Ecosystem’ contributors drop proposed in GIP-29: Spin-off safeDAO and Launch SAFE Token - GIPs - Gnosis

If GnosisDAO votes ‘Yes’ and approves execution of the proposal. Your proposed app would fall under this category.

3 Likes

I read it ,very useful

1 Like