JulissaDantes
b42b05311b
Add ERC721Votes for NFT-based governance ( #2944 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien@openzeppelin.com>
3 years ago
Francisco Giordano
04109f8bee
Address: explain dangers of isContract ( #2994 )
...
Co-authored-by: Ivo Georgiev <ivo@strem.io>
3 years ago
Francisco Giordano
4961a51cc7
4.4.0
3 years ago
barakman
f6db5c1f30
A function which returns the absolute value of a signed value ( #2984 )
...
* Add a function which returns the absolute (and obviously unsigned) value of a signed value.
* add changelog entry and fix lint
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Francisco Giordano
65ef662a2b
4.4.0-rc.1
3 years ago
Francisco Giordano
0a87a4e75b
4.4.0-rc.0
3 years ago
Francisco Giordano
c9bdb1f0ae
Add a comment documenting the package version being used ( #2918 )
3 years ago
Hadrien Croubois
d244b81972
Add a MerkleProof.processProof utility function ( #2841 )
...
* Add a MerkleProof.processProof utility function
* Add changelog entry
* fix lint
* return index when processingProof
* fix lint
* fix test
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
* improve documentation
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
* remove index - see discussion in the PR
* update changelog
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
td-bn
5b28259dac
#890 : Add ECDSA.toEthSignedMessageHash(bytes) for abritrary length message hashing ( #2865 )
...
* #890 : Add ECDSA#toEthSignedMessage for bytes type
* refactor
* add test, refactor
* select overloaded function explicitly
* use short test message string
* add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Anton Bukov
29eeb2828e
Fix EIP712 for delegatecalls ( #2852 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
6f23efa970
Review wording of SafeMath need in Solidity 0.8 ( #2898 )
3 years ago
Nicolas Mahe
1b27c13096
Fix typo in doc of SignatureChecker ( #2881 )
3 years ago
Anton Bukov
541e82144f
Optimize EOA signature verification ( #2661 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Anton Bukov
3dadd40034
Avoid safe math in BitMap ( #2797 )
4 years ago
Mikhail Melnik
d3c5bdf4de
Fix yellowpaper reference ( #2775 )
4 years ago
Hadrien Croubois
6c1a634053
Add Governor contracts ( #2672 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
f88e555234
Add values() functions to EnumerableSets ( #2768 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
3935b907d4
Fix NatSpec comment syntax
4 years ago
Anton Bukov
4e2641a915
Simplify selector access ( #2766 )
4 years ago
rotcivegaf
6d97f09195
Gas optimization on average function of Math.sol ( #2757 )
...
* change implementation to save gas
* add average test with two max uni256 number
4 years ago
Hadrien Croubois
f710bafae8
Fix typos ( #2723 )
4 years ago
Hadrien Croubois
788d338c9b
Improve naming of internal variables ( #2721 )
4 years ago
Hadrien Croubois
fd111df16d
Remove unecessary code from Context ( #2718 )
4 years ago
Hadrien Croubois
0a05f6fa45
Add a recover(bytes32,bytes32,bytes32) that follows EIP2098 ( #2713 )
4 years ago
Hadrien Croubois
f7da53cebd
Add a BitMap struct ( #2710 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
b0cf6fbb7a
Add Prettier for linting and fix Solhint config ( #2697 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
e3661abe84
Split ERC20Votes and ERC20VotesComp ( #2706 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
1488d4f678
Improve ECDSA tests and docs ( #2619 )
4 years ago
Nicholas Rodrigues Lordello
7c754d0665
Add ceiling division operation to the `Math.sol` library ( #2681 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
8ea06b75aa
Add a Counter.reset function ( #2678 )
4 years ago
Hadrien Croubois
100ca0b8a2
ERC20 extension for governance tokens (vote delegation and snapshots) ( #2632 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Manik Jain
1dc4a319ab
Use shorter syntax for Escrow addition ( #2646 )
4 years ago
busypeter
f1e92dd184
Fix code comments ( #2658 )
4 years ago
Francisco Giordano
cfd6e7eab9
Fix documentation typos
...
(cherry picked from commit a98814b930
)
4 years ago
Francisco Giordano
a98814b930
Fix documentation typos
4 years ago
Francisco Giordano
10c763da6f
Fix whitespace in doc comments
...
(cherry picked from commit a020a55f9d
)
4 years ago
Francisco Giordano
a020a55f9d
Fix whitespace in doc comments
4 years ago
William Morriss
165e6f1948
EnumerableSet: Remove Boundary Check in _at ( #2606 )
...
* remove boundary check
* fix tests for EnumerableSet "index out of bound"
* Changelog
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
4 years ago
William Morriss
750a17653d
Optimize removal in EnumerableSet ( #2605 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
df7996b671
add Available since 4.1 comments
...
(cherry picked from commit 9a698e6b7b
)
4 years ago
Hadrien Croubois
9a698e6b7b
add Available since 4.1 comments
4 years ago
Hadrien Croubois
1c676ac0ec
Implement UUPS proxy (ERC1822) ( #2542 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
555be63c90
Add support for EIP2098 "short signatures" in the ECDSA library ( #2582 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Martín Triay
7f6a1666fa
Add Multicall module ( #2608 )
4 years ago
Hadrien Croubois
0c621246d3
Add tooling to verify signatures with support for ERC1271 ( #2532 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Reason
d5194725b7
Add optimization for EnumerableSet ( #2588 )
...
Co-authored-by: Reason <Reason@Lee.com>
4 years ago
Hadrien Croubois
82e3ec3afe
Fix MerkleProof generation in tests and add some documentation ( #2585 )
4 years ago
Hadrien Croubois
0b3e0d74b0
Further reorganisation of the repo ( #2575 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
(cherry picked from commit f076ff5dbd
)
4 years ago
Hadrien Croubois
f076ff5dbd
Further reorganisation of the repo ( #2575 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
24a0bc23cf
Reorganize the repo structure ( #2503 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago