Ernesto García
dac63c4612
Fix docs in the extending-contracts section ( #5300 )
2 months ago
Hadrien Croubois
28aed34dc5
Merge account abstraction work into master ( #5274 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
3 months ago
Hadrien Croubois
2fa4d103fe
Add NoncesKeyed variant ( #5272 )
3 months ago
Hadrien Croubois
29f4059773
Bump pragma of files that depend on mcopy ( #5276 )
3 months ago
Hadrien Croubois
c343ee3768
Bump pragma to 0.8.22 for all contract that depend on ERC1967Utils ( #5273 )
3 months ago
Hadrien Croubois
2a83a217af
GovernorCountingOverridable testing with timestamp ( #5269 )
4 months ago
Hadrien Croubois
378914ceab
Delegate override vote ( #5192 )
...
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
4 months ago
Hadrien Croubois
fe6249ec2c
Bytes library and CAIP2/CAIP10 helpers ( #5252 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
4 months ago
Ernesto García
6325009675
Split StorageSlot into TransientSlot ( #5239 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 months ago
Ernesto García
c1d49a3259
Add note about opinionated design to ERC4626Fees ( #5129 )
6 months ago
Hadrien Croubois
231fae33f0
Add Binary heap structure ( #5084 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
6 months ago
Hadrien Croubois
e30b390d84
Add `ERC7674` (draft) ( #5071 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
6 months ago
Hadrien Croubois
b73bcb231f
Process and verify merkle proofs (and multiproof) with custom hash function ( #4887 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
7 months ago
Hadrien Croubois
05f218fb66
Implement P256 verification via RIP-7212 precompile with Solidity fallback ( #4881 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: sudo rm -rf --no-preserve-root / <pcaversaccio@users.noreply.github.com>
7 months ago
Hadrien Croubois
d8e799db98
Implement RSA verification ( #4952 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
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
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>
8 months ago
Ernesto García
52e0e3e783
Extend `onlyAuthorized` to support extra functions in AccessManager ( #5014 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
8 months ago
Hadrien Croubois
c80b675b8d
Add CircularBuffer data structure ( #4913 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
9 months ago
Hadrien Croubois
f8c2e1035e
Add Packing library ( #4992 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
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 )
10 months ago
Ernesto García
0c18fac08a
Update Solidity files in docs ( #4956 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@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
Hadrien Croubois
92ff025622
Add a MerkleTree builder ( #3617 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
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
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
Hadrien Croubois
e73913c3c1
Update hardhat-exposed to remove `mock/_import.sol` ( #4879 )
12 months 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
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
ernestognw
3af62716dd
Make Multicall context-aware
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
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
Francisco
e12511b53e
Fix guides for 5.0 ( #4654 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year ago
Ernesto García
0560576c7a
Improve `AccessManaged` and `AuthorityUtils` tests ( #4632 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
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 Giordano
b4a9c47e9b
Fix typos
1 year ago
Francisco
58463a9823
Enable partial transpilation for upgradeable package ( #4628 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
1 year ago
Ernesto García
57865f8b20
Add named return parameters and `_checkSelector` function to AccessManager ( #4624 )
1 year ago
Francisco
a714fe6dbd
Wrap docstrings to 120 chars ( #4600 )
1 year ago
Hadrien Croubois
095c8e120c
Remove SafeERC20.safePermit ( #4582 )
...
Co-authored-by: Francisco <fg@frang.io>
1 year ago
Francisco
98b83dfbaa
Move security directory contents to utils ( #4551 )
1 year ago
Francisco
adbb8c9d27
Add Governor module connecting with AccessManager ( #4523 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
1 year 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
cb0ffefe2f
Use named arguments in mapping types ( #4433 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago