c3f8b760ad
Fix docs links to ERC165 ( #5096 )
2024-06-21 16:02:42 -06:00
442886ed5f
Fix repeated words in ERC2771Forwarder comments ( #5088 )
2024-06-17 12:49:25 -06:00
83c7e45092
Fix dirty bits in upper bits in implementation address in Clones.sol ( #5069 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-06-14 10:29:05 -06:00
8a990e6d6a
Avoid storing hashing function pointers in storage make MerkleTree structure upgrade-safe ( #5080 )
...
Co-authored-by: cairo <cairoeth@protonmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-06-13 14:50:10 +02:00
53b5d84212
Add bytes6 to the Packing library. ( #5077 )
2024-06-12 16:23:35 -06: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
de4154710b
Use Arrays.unsafeMemoryAccess in ERC1155Supply ( #5068 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-06-07 14:41:40 -06:00
337bfd5ea4
Add utility function for converting an address to checksummed string ( #5067 )
2024-06-04 21:43:14 +02:00
8a890ffffa
Update ERC1363 error signatures ( #5010 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: cairo <101215230+cairoeth@users.noreply.github.com >
2024-06-04 12:42:20 +02:00
06449fe7bc
Improve wording in _checkAuthorized's natspec ( #5066 )
2024-06-03 13:07:21 -06: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
a241f09905
Use free memory pointer for returndatacopy ( #5057 )
2024-05-27 21:29:07 +02: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
fe68c12f9c
Fix spelling ( #5049 )
2024-05-23 15:06:42 +02:00
05d4bf57ff
Fix Typo in Math.sol ( #5033 )
2024-05-13 09:33:47 -06: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
60697cb09a
Fix typo in Math.ternary ( #5026 )
...
Signed-off-by: snoppy <michaleli@foxmail.com >
2024-04-25 12:04:34 -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
427b8bb028
Make Votes.sol _makeDelegateVotes internal ( #5007 )
2024-04-08 15:25:47 -06:00
df78791c96
Fix broken references in doc-site ( #5004 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-08 15:25:19 -06:00
5212e8eb18
Bump ERC1967Utils pragma to 0.8.21 and set Slither CI version to 0.10.1 ( #5005 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-08 11:45:24 -06:00
f8c2e1035e
Add Packing library ( #4992 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-04-05 14:59:18 +02:00
bbc6ef90b7
Get ERC-1967 event from interface ( #4987 )
2024-04-04 17:18:15 -06: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
5e3ba29b08
Procedurally generate Arrays.sol ( #4859 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-27 13:17:19 +00:00
0a5fba7a7e
Update ERC2771Forwarder assembly comment ( #4972 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-03-26 12:03:56 +00:00
9558e546d9
Remove redundant memory usage in ERC2981 royaltyInfo ( #4538 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-25 17:06:28 +01: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
ad27fb654a
Optimize nested mapping access in ERC721Enumerable ( #4545 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-25 12:14:16 +00:00
e203e02523
Remove outdated comment in ERC-20 ( #4968 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-03-21 16:42:56 +01:00
0c18fac08a
Update Solidity files in docs ( #4956 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-20 16:04:00 +00:00
6ae2c17bfe
Remove outdated comment in ERC-20 ( #4964 )
2024-03-18 22:21:34 +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
6b4ec6c6c6
Remove root from MerkleTree ( #4949 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-12 10:30:54 -06:00
8cc7f2dcbf
Remove repetitive words in the docs ( #4944 )
...
Signed-off-by: cuinix <915115094@qq.com >
2024-03-08 13:17:53 +01: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
8b2f29ceb0
Optimize Clone.sol yul ( #4927 )
2024-03-06 09:37:20 +01:00
7417c5946f
Remove redundant getVotes call in Governor ( #4940 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-03-04 18:34:05 +01:00
0a3f880753
Update documentation in IAccessControl ( #4924 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com >
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com >
2024-03-04 16:17:51 +00:00
c8369d483c
Fix typo in ERC721Utils.sol ( #4938 )
2024-03-01 15:49:25 +00: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
141c947921
Update chai matchers ( #4899 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com >
2024-02-19 19:27:39 +01:00
3def8f9d15
Rewrite comments using superscript for avoid confusion with xor operator ( #4903 )
2024-02-16 16:06:07 +00:00