Renan Souza
de4154710b
Use `Arrays.unsafeMemoryAccess` in ERC1155Supply ( #5068 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
8 months ago
cairo
337bfd5ea4
Add utility function for converting an address to checksummed string ( #5067 )
8 months ago
Vittorio Minacori
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>
8 months ago
Alexander González
06449fe7bc
Improve wording in _checkAuthorized's natspec ( #5066 )
8 months ago
Hadrien Croubois
c1d6ad5a30
Add GovernorCountingFractional ( #5045 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
8 months ago
Francisco
a241f09905
Use free memory pointer for returndatacopy ( #5057 )
9 months ago
Dimitrios Papathanasiou
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>
9 months ago
Ernesto García
52e0e3e783
Extend `onlyAuthorized` to support extra functions in AccessManager ( #5014 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
9 months ago
chibitanaka
fe68c12f9c
Fix spelling ( #5049 )
9 months ago
Dimitrios Papathanasiou
05d4bf57ff
Fix Typo in Math.sol ( #5033 )
9 months ago
Eric Lau
52c36d412e
Fix `UPGRADE_INTERFACE_VERSION` documentation in `ProxyAdmin` ( #5031 )
9 months ago
Hadrien Croubois
c80b675b8d
Add CircularBuffer data structure ( #4913 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Snoppy
60697cb09a
Fix typo in `Math.ternary` ( #5026 )
...
Signed-off-by: snoppy <michaleli@foxmail.com>
10 months ago
Lohann Paterno Coutinho Ferreira
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>
10 months ago
Ernesto García
427b8bb028
Make Votes.sol _makeDelegateVotes internal ( #5007 )
10 months ago
Eric Nordelo
df78791c96
Fix broken references in doc-site ( #5004 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Dimitrios Papathanasiou
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>
10 months ago
Hadrien Croubois
f8c2e1035e
Add Packing library ( #4992 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
bbc6ef90b7
Get ERC-1967 event from interface ( #4987 )
10 months ago
Hadrien Croubois
b6e07917eb
Transient version of ReentrancyGuard ( #4988 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
d6ad9db0a0
Add transient storage slot support in StorageSlot.sol ( #4980 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
10 months ago
Hadrien Croubois
cb2aaaa04a
Add slot derivation library ( #4975 )
11 months ago
Renan Souza
5e3ba29b08
Procedurally generate Arrays.sol ( #4859 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
Snoppy
0a5fba7a7e
Update ERC2771Forwarder assembly comment ( #4972 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
11 months ago
Vladislav Volosnikov
9558e546d9
Remove redundant memory usage in ERC2981 royaltyInfo ( #4538 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
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
Vladislav Volosnikov
ad27fb654a
Optimize nested mapping access in ERC721Enumerable ( #4545 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
Alexander González
e203e02523
Remove outdated comment in ERC-20 ( #4968 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
11 months ago
Ernesto García
0c18fac08a
Update Solidity files in docs ( #4956 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
Alexander González
6ae2c17bfe
Remove outdated comment in ERC-20 ( #4964 )
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
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
Renan Souza
8b2f29ceb0
Optimize Clone.sol yul ( #4927 )
11 months ago
Aman Kumar Sinha
7417c5946f
Remove redundant getVotes call in Governor ( #4940 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
11 months ago
devant
0a3f880753
Update documentation in IAccessControl ( #4924 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
11 months ago
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>
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
Ikko Ashimine
72c0da9ae0
Fix typo in AccessManaged.sol ( #4890 )
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