Hadrien Croubois
352ab13687
Add a Calldata library with `emptyBytes` and `emptyString` functions ( #5422 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 weeks ago
github-actions[bot]
7b74442c5e
Merge release-v5.2 branch ( #5424 )
...
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Sam Bugs <101145325+0xsambugs@users.noreply.github.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
Co-authored-by: wizard <112275929+famouswizard@users.noreply.github.com>
Co-authored-by: leopardracer <136604165+leopardracer@users.noreply.github.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Simka <0xsimka@gmail.com>
Co-authored-by: Voronor <129545215+voronor@users.noreply.github.com>
4 weeks ago
Arr00
7526c8fe3b
Add interface for ERC6909 ( #5343 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 months ago
Arr00
03e06bf08c
Add GovernorSequentialProposalId extension for sequential numbers on proposals ( #5290 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 months ago
Ernesto García
3b240d7e6a
Use the `asset` getter in `totalAssets`, `_deposit` and `_withdraw` in ERC4626 ( #5322 )
2 months ago
Arr00
73b46e3bd1
Bubble up revert data on failed `Address.sendValue` ( #5379 )
2 months ago
Ernesto García
535b54da59
Rename `arrayLengthPointer` to `arrayLengthOffset` and add changeset ( #5371 )
2 months ago
leopardracer
d11ed2fb0a
fix: typos in documentation files ( #5305 )
3 months ago
Hadrien Croubois
28aed34dc5
Merge account abstraction work into master ( #5274 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
4 months ago
Hadrien Croubois
2fa4d103fe
Add NoncesKeyed variant ( #5272 )
4 months ago
Hadrien Croubois
c343ee3768
Bump pragma to 0.8.22 for all contract that depend on ERC1967Utils ( #5273 )
4 months ago
Hadrien Croubois
f989fff931
Remove missed changeset from 5.1-rc.1 ( #5270 )
4 months ago
Hadrien Croubois
378914ceab
Delegate override vote ( #5192 )
...
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
4 months ago
github-actions[bot]
0034c30224
Merge release-v5.1 branch ( #5266 )
...
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: sudo rm -rf --no-preserve-root / <pcaversaccio@users.noreply.github.com>
Co-authored-by: danilo neves cruz <cruzdanilo@gmail.com>
Co-authored-by: omahs <73983677+omahs@users.noreply.github.com>
Co-authored-by: skyge <1506186404li@gmail.com>
Co-authored-by: PurrProof <149718167+PurrProof@users.noreply.github.com>
Co-authored-by: Eric Lau <ericglau@outlook.com>
Co-authored-by: plooten <sunxingzhecrypto@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Md Zartaj Afser <91191500+Zartaj0@users.noreply.github.com>
4 months ago
cairo
3291252c86
Document risk of `SafeERC20` and `ERC-7674` ( #5262 )
4 months ago
Hadrien Croubois
fe6249ec2c
Bytes library and CAIP2/CAIP10 helpers ( #5252 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
4 months ago
Hadrien Croubois
bd588959ad
Add toUint, toInt and hexToUint to Strings ( #5166 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
Hadrien Croubois
cb7faaf4db
Add clone variant with per-instance immutable arguments ( #5109 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
5 months ago
Hadrien Croubois
aec36ddd6a
Create a ERC1363Utils helper similar to existing ERC721Utils and ERC1155Utils ( #5133 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
6 months ago
Hadrien Croubois
231fae33f0
Add Binary heap structure ( #5084 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
7 months ago
Hadrien Croubois
e30b390d84
Add `ERC7674` (draft) ( #5071 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
7 months ago
Hadrien Croubois
b73bcb231f
Process and verify merkle proofs (and multiproof) with custom hash function ( #4887 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
7 months ago
Hadrien Croubois
05f218fb66
Implement P256 verification via RIP-7212 precompile with Solidity fallback ( #4881 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: sudo rm -rf --no-preserve-root / <pcaversaccio@users.noreply.github.com>
7 months ago
Hadrien Croubois
dc62599257
Extended packing and extracting library for value types ( #5056 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
8 months ago
Hadrien Croubois
d8e799db98
Implement RSA verification ( #4952 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
8 months ago
cairo
337bfd5ea4
Add utility function for converting an address to checksummed string ( #5067 )
8 months ago
Hadrien Croubois
c1d6ad5a30
Add GovernorCountingFractional ( #5045 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
8 months ago
Dimitrios Papathanasiou
984233dcad
Bubble up `returndata` from reverted Create2 deployments ( #5052 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
9 months ago
Ernesto García
52e0e3e783
Extend `onlyAuthorized` to support extra functions in AccessManager ( #5014 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
9 months ago
Eric Lau
52c36d412e
Fix `UPGRADE_INTERFACE_VERSION` documentation in `ProxyAdmin` ( #5031 )
9 months ago
Hadrien Croubois
c80b675b8d
Add CircularBuffer data structure ( #4913 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Lohann Paterno Coutinho Ferreira
4032b42694
Branchless ternary, min and max methods ( #4976 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
10 months ago
Ernesto García
11dc5e3809
Expose an initializer function for non-abstract contracts in their upgradeable versions ( #5008 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
10 months ago
Ernesto García
427b8bb028
Make Votes.sol _makeDelegateVotes internal ( #5007 )
10 months ago
Hadrien Croubois
f8c2e1035e
Add Packing library ( #4992 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
b6e07917eb
Transient version of ReentrancyGuard ( #4988 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
d6ad9db0a0
Add transient storage slot support in StorageSlot.sol ( #4980 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
cb2aaaa04a
Add slot derivation library ( #4975 )
11 months ago
Xenia
d398d68944
Mask computed address in `Create2` and `Clones` libraries ( #4941 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
Hadrien Croubois
33ea1111b0
Avoid validating ECDSA signatures for addresses with code in SignatureChecker ( #4951 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
11 months ago
Hadrien Croubois
92ff025622
Add a MerkleTree builder ( #3617 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
11 months ago
Anton Bukov
e83142944f
Add ability to create clones with initial `value` in Clones.sol ( #4936 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
11 months ago
github-actions[bot]
5705e8208b
Merge release-v5.0 branch ( #4930 )
11 months ago
Hadrien Croubois
92224533b1
Merge pull request from GHSA-9vx6-7xxf-x967
...
* add tests for the encode reads dirty data issue
* Fix the encode reads dirty data issue
* add changeset
* trigger the issue without assembly
* rename mock
* gas optimization
* Apply suggestions from code review
Co-authored-by: Ernesto García <ernestognw@gmail.com>
* alternative fix: cheaper
* update comment
* fix lint
---------
Co-authored-by: Ernesto García <ernestognw@gmail.com>
11 months ago
Ernesto García
4e7e6e54da
Add `bytes memory` version of `Math.modExp` ( #4893 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
12 months ago
Hadrien Croubois
ae1bafcb48
Add VestingWalletWithCliff ( #4870 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Hadrien Croubois
f8b1ddf591
Add variants of Array.sort for address[] and bytes32[] ( #4883 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Ernesto García
8b12f83a70
Remove gas optimization changeset entries ( #4889 )
1 year ago
Igor Żuk
17a8955cd8
Optimize Math operations using branchless bool to uint translation. ( #4878 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Hadrien Croubois
0a757ec463
Add `sort` in memory to Arrays library ( #4846 )
...
Co-authored-by: RenanSouza2 <renan.rodrigues.souza1@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago