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>
1 year 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
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
7eba10dd1e
Move ERC721 and ERC1155 receiver checks to dedicate libraries ( #4845 )
...
Co-authored-by: Ernesto García <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
Vittorio Minacori
e5f02bc608
Add ERC1363 implementation ( #4631 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@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
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
Vladimir Khramov
ef68ac3ed8
Add getRoleMembers method to return all accounts that have role ( #4546 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Ernesto García
e70a0118ef
Remove changesets already included in CHANGELOG ( #4805 )
1 year ago
ernestognw
3af62716dd
Make Multicall context-aware
1 year ago
carter-ya
e5fb718d40
Optimized gas costs in `ceilDiv` ( #4553 )
1 year ago
Ernesto García
aed22fbc22
Add `view` modifier to `proxyAdmin` in TransparentUpgradeableProxy ( #4688 )
...
Co-authored-by: Eric Lau <ericglau@outlook.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
Francisco
b849906ce4
Make AccessManager.execute/schedule more conservative when delay is 0 ( #4644 )
1 year ago
Francisco
58463a9823
Enable partial transpilation for upgradeable package ( #4628 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Francisco
970a7184ad
Add changesets for #4624 ( #4635 )
1 year ago
Hadrien Croubois
60e3ffe6a3
Remove non-standard increaseAllowance and decreaseAllowance from ERC20 ( #4585 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Francisco
b6111faac8
Use namespaced storage for upgradeable contracts ( #4534 )
1 year ago
Hadrien Croubois
095c8e120c
Remove SafeERC20.safePermit ( #4582 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Hadrien Croubois
5abbd04933
Improve Initializable readability using intermediate variables ( #4576 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
NishantKoyalwar
e7ba2f7784
Move beneficiary zero address check to Ownable ( #4531 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Francisco
9612083826
Refactor ERC721 `_requireMinted` and `ownerOf` ( #4566 )
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
424149a682
Stop cleaning up token specific data on ERC-721 burn ( #4561 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
1 year ago
Hadrien Croubois
00c5da2034
Allow setting tokenURI for non-existent token ( #4559 )
...
Co-authored-by: Francisco <fg@frang.io>
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
Francisco
adbb8c9d27
Add Governor module connecting with AccessManager ( #4523 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 years ago
Hadrien Croubois
9e3f4d60c5
Use the _update mechanism in ERC721 ( #4377 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 years ago
Ernesto García
70578bbb44
Allow Initializable versions greater than 256 ( #4460 )
...
Co-authored-by: Francisco <fg@frang.io>
2 years ago
Ernesto García
b81bec4552
Use `Ownable` in `VestingWallet` instead of an immutable beneficiary ( #4508 )
...
Co-authored-by: Francisco Giordano <fg@frang.io>
2 years ago
Ernesto García
f715365ec4
Implement recommendations from 5.0 audit Phase 1B ( #4502 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
2 years ago
Hadrien Croubois
21716722ad
Remove GovernorCompatibilyBravo and add simpler GovernorStorage ( #4360 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
2 years ago
Francisco
d39df78f6c
Use bytes.concat in MessageHashUtils ( #4504 )
2 years ago
Hadrien Croubois
5ae630684a
Add a bool return to _grantRole and _revokeRole ( #4241 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 years ago
Vladislav
48cc8a92f5
Optimize muldiv ( #4494 )
...
Co-authored-by: Francisco <fg@frang.io>
2 years ago