Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rodrigoherrerai/huff-safe

Safe multi-sig rewritten in Huff
https://github.com/rodrigoherrerai/huff-safe

ethereum evm foundry huff

Last synced: about 2 months ago
JSON representation

Safe multi-sig rewritten in Huff

Awesome Lists containing this project

README

        

HUFF-SAFE



Image 1


Image 2

# Safe multi-sig rewrite in Huff

## Installation

```console
forge install
```

### Testing
```console
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