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>
10 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
Ernesto García
6b4ec6c6c6
Remove root from MerkleTree ( #4949 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
cuinix
8cc7f2dcbf
Remove repetitive words in the docs ( #4944 )
...
Signed-off-by: cuinix <915115094@qq.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
Renan Souza
141c947921
Update chai matchers ( #4899 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
12 months ago
Hadrien Croubois
3def8f9d15
Rewrite comments using superscript for avoid confusion with xor operator ( #4903 )
12 months ago
Chris Gorman
140d66fad8
Improved integer square root ( #4403 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
12 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
f8b1ddf591
Add variants of Array.sort for address[] and bytes32[] ( #4883 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
12 months 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
Hadrien Croubois
036c3cbef2
Replace custom errors with native panic codes in DoubleEndedQueue ( #4872 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Mihir Wadekar
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>
1 year ago
Hadrien Croubois
61117c4db8
Bound lookup in arrays with duplicate ( #4842 )
...
Co-authored-by: RenanSouza2 <renan.rodrigues.souza1@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Hadrien Croubois
e86bb45477
Add a Math.inv function that inverse a number in Z/nZ ( #4839 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Ernesto García
a51f1e1354
List every contract in each API doc section ( #4848 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Hadrien Croubois
a5c4cd8182
Add new EnumerableMap types ( #4843 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Vladislav Volosnikov
dfae50fa5b
Refactor abs without logical branching ( #4497 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
Vladislav Volosnikov
d2ba1f6251
Remove redundant memory usage in Checkpoints ( #4540 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Hadrien Croubois
692dbc560f
Add Base64Url encoding ( #4822 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
github-actions[bot]
6ba452dea4
Merge release-v5.0 branch ( #4787 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.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: Ernesto García <ernestognw@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Eric Lau <ericglau@outlook.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Zack Reneau-Wedeen <z.reneau.wedeen@gmail.com>
1 year ago
ernestognw
3af62716dd
Make Multicall context-aware
1 year ago
Ernesto García
ef699fa6a2
Update Math `try*` operations return reference ( #4775 )
1 year ago
carter-ya
e5fb718d40
Optimized gas costs in `ceilDiv` ( #4553 )
1 year ago
Renan Souza
7bd2b2aaf6
Use ERC-XXX syntax ( #4730 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
1 year ago
github-actions[bot]
3e6c86392c
Merge release-v5.0 branch ( #4665 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.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: Ernesto García <ernestognw@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Eric Lau <ericglau@outlook.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Ernesto García
baf0e91279
Improve AccessManager tests ( #4613 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Francisco
abba0d047a
Update remappings.txt for upgradeable contracts and set up submodule ( #4639 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Francisco
58463a9823
Enable partial transpilation for upgradeable package ( #4628 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Ownerless Inc
68204769a1
Fix function documentation in Nonces ( #4597 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Hadrien Croubois
2215d9fd5e
Remove Time.Delay *At functions ( #4606 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Francisco
af06fdcfd4
Fix various documentation errors ( #4601 )
1 year ago
Francisco
a714fe6dbd
Wrap docstrings to 120 chars ( #4600 )
1 year ago
Hadrien Croubois
63851f8de5
Fix typographical errors & comments ( #4595 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Hadrien Croubois
bba33516b1
Remove unused return value and reuse helper function ( #4588 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Hadrien Croubois
6f80048ce9
Improve natspec documentation and comments ( #4581 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Hadrien Croubois
25c416d01c
Rename internal variables in EnumerableSet for improved readability ( #4577 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Hadrien Croubois
e2a9353dea
Remove unused named return variables ( #4573 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Hadrien Croubois
87f7a2cd42
Refactor Time library to use valueBefore/valueAfter ( #4555 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Hadrien Croubois
f154bc31d4
Fix some spelling issues in AccessManager.sol & Time.sol ( #4571 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Francisco
a503ba1a0a
Avoid overflow on empty multiproof ( #4564 )
1 year ago
Francisco
98b83dfbaa
Move security directory contents to utils ( #4551 )
1 year ago
Hadrien Croubois
cd67894914
Use Trace208 in Votes to support ERC6372 clocks ( #4539 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Vladislav Volosnikov
812404cee8
Use leading underscore solhint rule for private constants ( #4542 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Ernesto García
cb0ffefe2f
Use named arguments in mapping types ( #4433 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Francisco
b5a3e693e7
Improve AccessManager ( #4520 )
2 years ago