Vectorized
Vectorized
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,...
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....
As of #594 . For efficiency and to be similar to OZ. This notice will be kept up for a while.
See: #523 This notice will be kept up for a while.
Feel free to pick it up as and when you like. ```solidity // Should we even? This is pretty hard. function parseWad(string memory s) internal pure returns (uint256) ```
Target EVM will still be Paris. For maximum backwards compatibility. At least until Solidty offers an irresistible feature that allows library authors to write performant, concise code (e.g. macros). Basically...
## Description For #244. Using this can save about 700 gas over OpenZeppelin's implementation. Tests are ported over from OpenZeppelin. https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/test/utils/cryptography/ECDSA.test.js Although I recommend that `toEthSignedMessageHash(bytes32 hash)` be used for...
## Description This is for #245. Added some to hex functions. Added some minor optimizations. Added some tests. ## Checklist Ensure you completed **all of the steps** below before submitting...
✨ Base64
## Description Might lower deployment gas, make SVGs generate a little faster in tests, and stay under the gas limits of RPC calls. ## Checklist Ensure you completed **all of...