📯 Legacy Zodiac Roles v1 sources at: gnosis/zodiac-modifier-roles-v1
The Roles Modifier belongs to the Zodiac collection of tools, which can be accessed through the Zodiac App available on Safe.
If you have any questions about Zodiac, join the Gnosis Guild Discord. Follow @GnosisGuild on Twitter for updates.
This modifier allows avatars to enforce granular, role-based, permissions for attached modules.
Modules that have been granted a role are able to unilaterally make calls to any approved addresses, approved functions, and using approved parameters.
The interface mirrors the relevant parts of the Safe's interface, so this contract can be placed between Safe modules and the Safe itself to enforce role-based permissions.
The contracts have been developed with Solidity 0.8.21 targeting evm version shanghai.
assignRoles()
execTransactionWithRole()
Address: 0x9646fDAD06d3e24444381f44362a3B0eB343D337
Address: 0x93B7fCbc63ED8a3a24B59e1C3e6649D50B7427c0
Address: 0x91B1bd7BCC5E623d5CE76b0152253499a9C819d1
.env.sample
file is present, copy the content of the file into a .env
file at the same location and populate it with your keys, etc.yarn
yarn prepare
After that, you can start working on the different packages.
This monorepo uses yarn workspaces and is comprised of:
Audits have been performed by the G0 group and Omniscia.
All identified issues have been resolved as of commit a19c0ebda97f7d645335f2c386818546641f832b
All audit reports are available at packages/evm/docs.
All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Created under the LGPL-3.0+ license.