Skip to content

gnosisguild/zodiac-module-bridge

Repository files navigation

Zodiac Bridge Module

Build Status Coverage Status Contributor Covenant

The Bridge Module belongs to the Zodiac collection of tools, which can be accessed through the Zodiac App available on Gnosis Safe, as well as in this repository.

If you have any questions about Zodiac, join the Gnosis Guild Discord. Follow @GnosisGuild on Twitter for updates.

About the Bridge Module

This module allows an address on one chain to control an avatar on another chain using an Arbitrary Message Bridge (AMB). This enables a DAO on one chain to control assets and interact with systems like a Gnosis Safe on a different chain.

This module is intended to be used with the Gnosis Safe.

Features

  • Execute transactions initiated by an approved address on an approved chainId using an approved AMB

Flow

  • On chain (A), deploy a Gnosis Safe and then enable the Bridge Module on the Gnosis Safe.
  • On chain (B), call requireToPassMessage() on the Bridge contract.
  • On chain (a), call executeSignatures() on the Bridge contract.

Solidity Compiler

The contracts have been developed with Solidity 0.8.0 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.

Setup Guide

Follow our Bridge Module Setup Guide.

Audits

An audit has been performed by the G0 group. No issues have been discovered. The audit results are available as a pdf in this repo or on the g0-group repo.

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.