Skip to content

rodrigoherrerai/huff-safe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HUFF-SAFE

Image 1 Image 2

Safe multi-sig rewrite in Huff

Installation

forge install

Testing

forge test

There are 3 type of test suites:

  1. Unit test: testing each function
  2. Differential tests: tests safe.huff against safe.sol
  3. Fuzzing: Tries to break certain assumptions by providing various inputs

NOTE

This code is only for educational purposes

Todo

The code is around 85-90% complete, there are a few things missing:

  • Guard Manager
  • Emit events in missing functions
  • Accept contract signatures (EIP1271)
  • Accept eth_sign flow (v > 30)
  • Handle re-payment in execTransaction
  • Fallback manager && TokenCallbackHandler

About

Safe multi-sig rewritten in Huff

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages