gwalen / pre_liquid_home_task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-liquid home assignment - coding part

Objective

Extend Gnosis Safe to restrict ERC20 tokens and ETH to be sent to a whitelisted set of addresses.

Solution

To add extra functionality on top of Gnosis Safe the suggested solution is to add a Guard contract according to the official documentation: Safe Guards.

The solution is presented in file: TransferWhitelistGuard.sol

About


Languages

Language:Solidity 99.7%Language:TypeScript 0.3%