d11ed2fb0a
fix: typos in documentation files ( #5305 )
2024-11-22 16:48:56 +01:00
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 >
2024-10-23 09:19:13 +02:00
2fa4d103fe
Add NoncesKeyed variant ( #5272 )
2024-10-23 09:16:10 +02:00
c343ee3768
Bump pragma to 0.8.22 for all contract that depend on ERC1967Utils ( #5273 )
2024-10-22 16:57:10 +02:00
f989fff931
Remove missed changeset from 5.1-rc.1 ( #5270 )
2024-10-18 15:07:34 +02:00
378914ceab
Delegate override vote ( #5192 )
...
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com >
2024-10-18 14:17:20 +02:00
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 >
2024-10-17 17:41:15 +02:00
3291252c86
Document risk of SafeERC20 and ERC-7674 ( #5262 )
2024-10-17 13:33:22 +02:00
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 >
2024-10-14 22:41:08 +02:00
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 >
2024-10-14 17:13:33 +02:00
cb7faaf4db
Add clone variant with per-instance immutable arguments ( #5109 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-09-04 09:41:40 +02:00
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 >
2024-08-02 13:06:42 -06:00
231fae33f0
Add Binary heap structure ( #5084 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: cairo <cairoeth@protonmail.com >
2024-07-23 11:31:26 -06:00
e30b390d84
Add ERC7674 (draft) ( #5071 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: cairo <cairoeth@protonmail.com >
2024-07-22 17:23:08 +02:00
b73bcb231f
Process and verify merkle proofs (and multiproof) with custom hash function ( #4887 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-07-15 18:08:58 +02:00
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 >
2024-07-03 09:17:46 +02:00
dc62599257
Extended packing and extracting library for value types ( #5056 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-06-11 12:07:00 -06:00
d8e799db98
Implement RSA verification ( #4952 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: cairo <cairoeth@protonmail.com >
2024-06-11 11:16:30 -06:00
337bfd5ea4
Add utility function for converting an address to checksummed string ( #5067 )
2024-06-04 21:43:14 +02:00
c1d6ad5a30
Add GovernorCountingFractional ( #5045 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
Co-authored-by: Francisco <fg@frang.io >
2024-05-30 13:49:36 -06:00
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 >
2024-05-27 12:45:32 +02:00
52e0e3e783
Extend onlyAuthorized to support extra functions in AccessManager ( #5014 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-05-27 11:09:42 +02:00
52c36d412e
Fix UPGRADE_INTERFACE_VERSION documentation in ProxyAdmin ( #5031 )
2024-05-03 15:27:03 +02:00
c80b675b8d
Add CircularBuffer data structure ( #4913 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-26 10:28:59 -06:00
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 >
2024-04-23 14:08:08 +02:00
11dc5e3809
Expose an initializer function for non-abstract contracts in their upgradeable versions ( #5008 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-04-09 12:03:02 +02:00
427b8bb028
Make Votes.sol _makeDelegateVotes internal ( #5007 )
2024-04-08 15:25:47 -06:00
f8c2e1035e
Add Packing library ( #4992 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-05 14:59:18 +02:00
b6e07917eb
Transient version of ReentrancyGuard ( #4988 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-04 14:33:30 -06:00
d6ad9db0a0
Add transient storage slot support in StorageSlot.sol ( #4980 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-04 01:15:30 +02:00
cb2aaaa04a
Add slot derivation library ( #4975 )
2024-03-27 21:17:46 +00:00
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 >
2024-03-25 14:33:45 +00:00
33ea1111b0
Avoid validating ECDSA signatures for addresses with code in SignatureChecker ( #4951 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-03-14 16:27:15 +00:00
92ff025622
Add a MerkleTree builder ( #3617 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-03-07 16:27:38 +01:00
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 >
2024-03-06 13:44:42 -06:00
5705e8208b
Merge release-v5.0 branch ( #4930 )
2024-02-29 13:48:02 -06:00
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 >
2024-02-29 10:03:32 -06:00
4e7e6e54da
Add bytes memory version of Math.modExp ( #4893 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-02-14 10:06:34 +01:00
ae1bafcb48
Add VestingWalletWithCliff ( #4870 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-02-13 10:01:45 +01:00
f8b1ddf591
Add variants of Array.sort for address[] and bytes32[] ( #4883 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-02-12 16:34:07 +00:00
8b12f83a70
Remove gas optimization changeset entries ( #4889 )
2024-02-09 22:36:14 +01:00
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 >
2024-02-07 10:20:25 +01:00
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 >
2024-02-06 20:49:12 +00:00
036c3cbef2
Replace custom errors with native panic codes in DoubleEndedQueue ( #4872 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-02-06 21:02:01 +01:00
192e873fcb
Add Math.modExp and a Panic library ( #3298 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-02-02 18:40:00 +01:00
7eba10dd1e
Move ERC721 and ERC1155 receiver checks to dedicate libraries ( #4845 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
2024-01-30 12:58:35 -06:00
61117c4db8
Bound lookup in arrays with duplicate ( #4842 )
...
Co-authored-by: RenanSouza2 <renan.rodrigues.souza1@gmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-01-29 20:44:33 +01:00
e86bb45477
Add a Math.inv function that inverse a number in Z/nZ ( #4839 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-01-24 09:57:24 +01:00
e5f02bc608
Add ERC1363 implementation ( #4631 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-01-24 08:38:25 +00:00
a5c4cd8182
Add new EnumerableMap types ( #4843 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-01-22 19:25:01 +00:00