Awesome
<h1 style="text-align:center;">HUFF-SAFE</h1> <table align="center"> <tr> <td> <img src="./assets/huff.png" alt="Image 1" style="width:300px; height:300px; object-fit:contain;"> </td> <td> <img src="./assets/safe.png" alt="Image 2" style="width:300px; height:300px; object-fit:contain;"> </td> </tr> </table>Safe multi-sig rewrite in Huff
Installation
forge install
Testing
forge test
There are 3 type of test suites:
- Unit test: testing each function
- Differential tests: tests safe.huff against safe.sol
- 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