gnosisguild / zodiac-guard-mod

A guard that prevents the contract its guarding from disabling protected modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning

This contract is under development and is unsafe to use in its current form. Check back soon

ModGuard

Build Status Coverage Status Contributor Covenant

A transaction guard that allows the owner to guard against transactions that would disable protected mods.

Features

  • Set protected mods
  • Any guarded transaction that disables a protected mod will revert.

Flow

  • Deploy ModGuard
  • Enable the ModGuard in the Safe or on another module

Solidity Compiler

The contracts have been developed with Solidity 0.8.6 in mind. This version of Solidity made all arithmetic checked by default, therefore eliminating the need for explicit overflow or underflow (or other arithmetic) checks.

Security and Liability

All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

License

Created under the LGPL-3.0+ license.

About

A guard that prevents the contract its guarding from disabling protected modules.

License:GNU Lesser General Public License v3.0


Languages

Language:TypeScript 74.2%Language:Solidity 21.4%Language:JavaScript 4.4%