Cypher Pepe
063fbb3a1f
Fix typo in ERC721 API reference docs ( #5329 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 months ago
Simka
a3a6db86d5
Fix typo in ERC4337Utils.paymasterData comments ( #5333 )
2 months ago
Ernesto García
78be1b39aa
Implement feedback for M-01, L-08, L-09 ( #5324 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 months ago
Hadrien Croubois
653963beb2
Various changes to code clarity (Fix N-07) ( #5317 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
2 months ago
cairo
fdf7012d3b
Optimize `log256`'s binary search ( #5284 )
2 months ago
Ernesto García
4afd599329
Document canonicalization in CAIP2 and CAIP10 libraries ( #5319 )
2 months ago
Arr00
0df841d2d7
Complete docstrings L-10 ( #5315 )
2 months ago
Hadrien Croubois
c3cb7a0295
Deduplicate logic in Votes.sol ( #5314 )
...
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
2 months ago
Hadrien Croubois
2562c11f25
Document VotesExtended assumptions ( #5306 )
...
Co-authored-by: ernestognw <ernestognw@gmail.com>
2 months ago
Hadrien Croubois
e1d44e0342
Add `factory()`, `factoryData()` and `paymasterData()` helpers to ERC4337Utils ( #5313 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2 months ago
Ernesto García
0513853ca5
Rephrase `VoteReduced` event docs ( #5318 )
2 months ago
Ernesto García
ed98138a78
Add missing docstrings ( #5311 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 months ago
Ernesto García
b3ce884628
Refactor `parseUint`, `parseInt` and `parseHexUint` to check bounds ( #5304 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 months ago
Ernesto García
23f4452b21
Document voting counting until casted in GovernorCountingOverridable ( #5309 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 months ago
Ernesto García
ccb39d2765
Improve general documentation for 5.2 ( #5310 )
2 months ago
Hadrien Croubois
7105693e3c
Change NoncesKeyed._useNonce to return a keyed value ( #5312 )
2 months ago
Hadrien Croubois
ccb5f2d8ca
Fix 5.2 audit L-05, N-03, N-04, N-05 and N-06 issues ( #5308 )
2 months ago
Ernesto García
ffca412299
Note native ERC20 behavior in VestingWallet ( #5299 )
...
Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
2 months ago
Ernesto García
dac63c4612
Fix docs in the extending-contracts section ( #5300 )
2 months ago
Lohann Paterno Coutinho Ferreira
448efeea66
Optimize `log2` with a lookup table ( #5236 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
3 months ago
Sam Bugs
bcdfa848a6
Remove unused import in `SafeERC20` ( #5278 )
3 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
Maxim Tiron
a4dc928a93
ERC20: optimized gas costs in `_spendAllowance` ( #5271 )
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
github-actions[bot]
0034c30224
Merge release-v5.1 branch ( #5266 )
...
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: sudo rm -rf --no-preserve-root / <pcaversaccio@users.noreply.github.com>
Co-authored-by: danilo neves cruz <cruzdanilo@gmail.com>
Co-authored-by: omahs <73983677+omahs@users.noreply.github.com>
Co-authored-by: skyge <1506186404li@gmail.com>
Co-authored-by: PurrProof <149718167+PurrProof@users.noreply.github.com>
Co-authored-by: Eric Lau <ericglau@outlook.com>
Co-authored-by: plooten <sunxingzhecrypto@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Md Zartaj Afser <91191500+Zartaj0@users.noreply.github.com>
4 months ago
cairo
3291252c86
Document risk of `SafeERC20` and `ERC-7674` ( #5262 )
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
Hadrien Croubois
bd588959ad
Add toUint, toInt and hexToUint to Strings ( #5166 )
...
Co-authored-by: cairo <cairoeth@protonmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.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
Hadrien Croubois
49cd64565a
Add warning about low public key exponent ( #5234 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
cairo
e3cfe1c5dd
Fix P256 corner cases ( #5218 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
cairo
cceac54953
Add introduction tag for v5.1 contracts ( #5228 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
Hadrien Croubois
ae753b7eac
Improve VestingWallet's constructor and RSA.pkcs1Sha256 documentation ( #5229 )
4 months ago
Ernesto García
414cb9e6fd
Consistently name multiple returned values ( #5177 )
4 months ago
Ernesto García
4c481d6584
Implement 5.1 Full Audit Naming Suggestions ( #5215 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: cairo <cairoeth@protonmail.com>
4 months ago
Eric Lau
f6db28630c
Add P256 and RSA documentation sections ( #5227 )
4 months ago
PurrProof
cc67e0eb83
Add comment and tests for zero address behavior in Ownable2Step.transferOwnership() ( #5226 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 months ago
cairo
2f0bc58946
Update and clarify documentation comments ( #5206 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
Ernesto García
530179a71f
Disallow empty CircularBuffer setup ( #5214 )
4 months ago
Ernesto García
b1f6bbe69f
Add note about memory manipulation in MerkleTree ( #5213 )
4 months ago
Hadrien Croubois
8a309ab5ec
Update documentation of helper interface ( #5179 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
cairo
f3825ab335
Clarify mapping named parameters ( #5204 )
4 months ago
cairo
204ffee531
Clarify reference commits and licenses ( #5205 )
4 months ago
Hadrien Croubois
3cfebcb5c4
Refactor Heap.sol to remove `index` and `lookup` ( #5190 )
...
Co-authored-by: Ernesto García <ernestognw@gmail.com>
4 months ago
cairo
3f901696f7
Clean dirty addresses and booleans ( #5195 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 months ago
cairo
809ded806f
Remove redundant modulo operation in P256 ( #5200 )
5 months ago