solady
solady copied to clipboard
Optimized Solidity snippets.
Using the latest `slither` release and latest `LibSort`, Slither is unable to generate an IR for LibSort. It gives the following error message: ~~~~console $ slither ERROR:ContractSolcParsing:Impossible to generate IR...
This might be needed for solc 0.9.0. Currently, we use modifiers to avoid indirection overhead for certain functions. Should be ok, cuz most of the people using the stuff are...
## Description For the sidebar, we want to have the following structure: ``` ACCOUNTS - ERC4337 - ERC4337Factory ... AUTH - Ownable - OwnableRoles TOKENS - ERC20 ... ``` Currently,...
With current default behavior different users will create unrelated contracts on different networks with the same contract address. This could create security issues by someone purposely "spoofing," but beyond this...
This gas limit is artificial and users shouldn't have to juggle it themselves. This is similar to automatically increasing the buffer when the user appends "too much" in DynamicBuffer. Many...
The problem with prefixing it with "unsafe" or "raw" makes stuff super verbose. And results in inconsistencies like `toWadUnsafe` vs `unsafeMulWad`; which I understand is because `unsafeToWad` just sounds werid....
I wanted to open this issue to discuss potential designs for how ERC20 may efficiently be extended to allow for users to set a lower total supply cap than $2^{256}-1$...
## Description Completed docs for ERC721 ## Checklist Ensure you completed **all of the steps** below before submitting your pull request: - [x] Ran `forge fmt`? - [x] Ran `forge...
I wrote a short intro to WETH's doc. I'm curious as to what the general style guide for solady's documentation is. Lmk if i can continue like this or there...
🪙 ERC223
After more than 6 years in EIP hell it looks like the madlad @Dexaran finally got [ERC-223: Token with transaction handling model](https://eips.ethereum.org/EIPS/eip-223) published as a token standard interface. Wdwt as...