solady
Gas optimized Solidity snippets.
I'm sooooooOooooooooOoooOoooooooooooooooo...
Contracts
utils
├─ MerkleProof — "Library for verification of Merkle proofs"
├─ ECDSA — "Library for verification of ECDSA signatures"
├─ Sort — "Optimized intro sort"
├─ Base64 — "Library for Base64 encoding"
├─ LibStrings — "Library for converting numbers into strings and other string operations"
├─ SafeTransferLib — "Safe ERC20/ETH transfer lib that handles missing return values"
Contributing
This repository serves as a laboratory for cutting edge snippets that may be merged into Solmate.
Feel free to make a pull request.
Safety
This is experimental software and is provided on an "as is" and "as available" basis.
We do not give any warranties and will not be liable for any loss incurred through any use of this codebase.
Installation
To install with Foundry:
forge install vectorized/solady
Acknowledgements
These contracts were inspired by or directly modified from many sources, primarily: