Alexander González
c8369d483c
Fix typo in ERC721Utils.sol ( #4938 )
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
ae1bafcb48
Add VestingWalletWithCliff ( #4870 )
...
Co-authored-by: Ernesto García <ernestognw@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
Ikko Ashimine
72c0da9ae0
Fix typo in AccessManaged.sol ( #4890 )
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
Hadrien Croubois
e73913c3c1
Update hardhat-exposed to remove `mock/_import.sol` ( #4879 )
1 year ago
Hadrien Croubois
9d3b9be04f
Fix natspec comments in ERC-1155 ( #4876 )
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
Sabnock
7439664490
Remove note about event access in `ERC1967Utils.sol` ( #4861 )
1 year ago
Hadrien Croubois
b5a7f977d8
Improve ERC-1363 documentation ( #4854 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Vittorio Minacori <vittoriominacori@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
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
Andrew Fleming
e5c63635e3
Remove documented requirement in IERC1155's `balanceOf` ( #4847 )
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
Dariusz Glowinski
06eb785fcf
Remove obsolete ERC4626 `mint` NatSpec ( #4837 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@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
Benjamin
920225a1c7
Add missing return value names in IAccessManager ( #4829 )
...
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
b4ceb054de
Fix documentation inaccuracies in Governor ( #4815 )
1 year ago
Hadrien Croubois
a72c9561b9
Finalize test migration: remove legacy dependencies and test helpers ( #4797 )
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
Ernesto García
552cffde56
Add Governor note for state changes between proposal creation and execution ( #4766 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Ernesto García
769071d473
Add note in ERC20Wrapper about rebasing tokens ( #4755 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Renan Souza
78d5708340
Migrate utils to ethersjs v6 ( #4736 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
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
Renan Souza
7294d34c17
Rename VotesTimestamp to ERC20VotesTimestampMock ( #4731 )
1 year ago
Ernesto García
cf6ff90b6d
Migrate `AccessManager` tests to ethers ( #4710 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Ernesto García
cb1ef861e5
Add `AccessManager` guide ( #4691 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Eric Lau <ericglau@outlook.com>
Co-authored-by: Zack Reneau-Wedeen <z.reneau.wedeen@gmail.com>
1 year ago
Ernesto García
248be2fab0
Improve ERC4626 virtual offset notes ( #4722 )
1 year ago
Ernesto García
74016c376a
Update docs for Ownable2Step ( #4721 )
...
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
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
ernestognw
9c22fb5f33
Clarify is fine relying on the storage slot
1 year ago
Francisco
793d92a333
Document ERC1155 event differences ( #4666 )
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