Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rodrigoherrerai/huff-safe
- Owner: rodrigoherrerai
- Created: 2023-03-16T00:34:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T00:59:07.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T16:09:24.554Z (5 months ago)
- Topics: ethereum, evm, foundry, huff
- Language: Solidity
- Homepage:
- Size: 345 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-huff - huff-safe - sig rewritten in huff. (Huff projects you can learn from and contribute to)
README
HUFF-SAFE
# 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