/safe-factories

Collection of secure factory contracts for the Safe

Primary LanguageJavaScript

Gnosis Safe Factories

This repo contains the Soldity code for the factories to create Safe instances of specific versions.

Safe 1.1.1 Factory

Enables user to create a 1.1.1 Safe with the msg.sender as the only owner and threshold 1. No further configuration will be done during creation (no modules or fallback manager). All funds send to the factory for the creation call will be forwarded to the newly created Safe.

Proxy creation can be triggered by sending a transaction without data (normal transfer) to the factory address. Any ETH value set in the transaction will be forwarded to the new Safe instance.

Audit

An audit has been performed by the G0 Group.

Run tests

  • yarn
  • yarn test

Deployment

  • Create .env based on .env.sample
  • yarn deploy <network>
    • To deploy a specific migration use yarn deploy <network> -f 1 --to 1
  • Use yarn version or run yarn restore before you pusblish the package