Shatabarto "Rik" Bhattacharya
26cf47a2be
Add internal functions `_getInitializedVersion` and `_isInitializing` ( #3598 )
2 years ago
t11s
324eda228c
Remove redundant ECDSA constraint ( #3591 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
2 years ago
Francisco
d693d89d99
Fix ECDSA signature malleability ( #3610 )
3 years ago
Hadrien Croubois
dc4869eb23
Avoid returnbomb in ERC165Checker ( #3587 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
8ea1fc87c9
Keep track of historical quorum values ( #3561 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Aleksei Magusev
fbf235661e
Improve grammar in transfer error messages ( #3542 )
3 years ago
Nirban Chakraborty
d1b1e17d23
Add internal overrideable _flashFee in ERC20FlashMint ( #3551 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
3 years ago
t11s
e0149921b8
Update solmate repo link ( #3563 )
3 years ago
Hadrien Croubois
628a6e2866
Fix issues caused by abi.decode reverting ( #3552 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
EthanOK
96163c87e3
Implicitly clear ERC721 approval on burn ( #3538 )
3 years ago
Andrew Parker
e02c378745
Implicitly clear ERC721 approval on transfers ( #3481 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
ashhanai
e734b42fc2
Enable using ERC165 check for one supported interface directly ( #3339 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
3 years ago
Mikhail Melnik
6f88199db9
Optimize Address.functionCall removing redundant isContract check ( #3469 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
2894059775
Support memory arrays in MerkleTree multiproof ( #3493 )
3 years ago
Hadrien Croubois
a55b7d1372
Rename ERC20TokenizedVault to ERC4626 ( #3467 )
3 years ago
Andrew Fleming
4135bf9707
Fix typos in timelock test ( #3461 )
...
fix typos
3 years ago
Hadrien Croubois
7c75b8aa89
Add a SafeERC20:safePermit function ( #3280 )
3 years ago
jjz
3ac4add548
Add sqrt for math ( #3242 )
3 years ago
Hadrien Croubois
051cc9e446
Revert unwanted breaking change in the Clones library ( #3456 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
d506e3b1a5
Simplify Initializable ( #3450 )
3 years ago
Francisco Giordano
113443470c
Reorder arguments for multiProof functions ( #3447 )
3 years ago
Hadrien Croubois
35090c1bf1
Add tests for improved coverage ( #3448 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
5e00787199
ERC4626 ( #3171 )
3 years ago
Francisco Giordano
62f2c0531b
Simplify ERC721 revert reasons ( #3438 )
3 years ago
Troy Salem
4fc9fd3efe
Support more efficient merkle proofs through calldata ( #3200 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
2b0b0bb186
Fix merkle multiProof for single leaf tree ( #3446 )
3 years ago
alonbg
6766b2de3b
Add getters for number of unclaimed tokens in PaymentSplitter ( #3350 )
3 years ago
rotcivegaf
82a63f6389
Remove redundant require in ERC721 ( #3434 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Kata
488dd562fb
Improve error messages for ERC721 and 1155 ( #3254 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
61294a62af
Restore previous behavior of initializer during construction ( #3344 )
3 years ago
Colin Hicks
f8157ac854
Add multiProofVerify ( #3276 )
3 years ago
Artur
de74c8c62c
Add bytes32 to uint enumerable map ( #3416 )
3 years ago
Hadrien Croubois
b61faf8368
Procedural SafeCast.sol generation ( #3245 )
3 years ago
ashhanai
c4f76cfa15
Add uint to uint enumerable map ( #3338 )
3 years ago
Pascal Marco Caversaccio
5772512058
Add `address` to `string` conversion ( #3403 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
onlineSoftwareDevOK
cd2da98d4d
Refactor magic constant in TimelocController test ( #3397 )
3 years ago
Mazen Khalil
3b9381dfb1
Add customizable fee receiver to ERC20FlashMint ( #3327 )
...
Co-authored-by: Mazen Khalil <mazen@immunityledger.org>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Niccolò Petti
d4e6236b2b
Fix deprecated expectEvent.inLogs #3332 ( #3333 )
3 years ago
Amin Bashiri
742e85be7c
Change zero address revert message in the balanceOf function of ERC721 and ERC1155 ( #3314 )
3 years ago
Francisco Giordano
69c3781043
Remove unused constructor argument
3 years ago
Hadrien Croubois
668a648bc6
Add utilities for CrossChain messaging ( #3183 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
S E R A Y A
02fcc75bb7
Add ERC1155URIStorage ( #3210 )
...
* Add ERC721URIStorage-like extension for ERC1155
* Add tests for ERC1155URIStorage extension
* add changelog entry for ERC721URIStorage
* Fix linting errors
* Emit URI event in ERC1155URIStorage
* Remove exists check and ERC1155Supply dependency
* Fix lint error
* Overwrite ERC1155 uri method
* Update ERC1155URIStorage specs
* Fix ERC1155URIStorageMock
* Rename _setTokenURI => _setURI in ERC1155URIStorage
* Add baseURI to ERC1155URIStorage
* Move super.uri call in ERC1155URIStorage
* Clearify ERC1155URIStorage description in change log
* reorder changelog & add documentation
* improve documentation
* fix typo
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Hadrien Croubois
e029096ca4
Add Initialized event ( #3294 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Mihir Wadekar
76eee35971
Improve revert message in Governor ( #3275 )
...
* Fixed typo
* fix testing and adding changelog
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Ashwin Yardi
76fca3aec8
Add ERC721 and ERC1155 receiver support in Governor, Timelock ( #3230 )
...
* add ERC721 and ERC1155 receiver support in Governor, Timelock and MinimalForwarder (#3174 )
* revert the nft receiver hooks from MinimalForwarder and linting updates
* add ERC165 support & simplify test
* add changelog entry
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Pandapip1
faf5820f03
Fix many spelling errors ( #3274 )
3 years ago
Hadrien Croubois
0eba5112c8
Allow the re-initialization of contracts ( #3232 )
...
* allow re-initialization of contracts
* fix lint
* use a private function to avoid code duplication
* use oz-retyped-from syntax
* add documentation
* rephrase
* documentation
* Update contracts/proxy/utils/Initializable.sol
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
* reinitialize test
* lint
* typos and style
* add note about relation between initializer and reinitializer
* lint
* set _initializing in the modifier
* remove unnecessary variable set
* rename _preventInitialize -> _disableInitializers
* rename preventInitialize -> disableInitializers
* test nested reinitializers in reverse order
* docs typos and style
* edit docs for consistency between initializer and reinitializer
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Wias Liaw
b13bdb0249
Add bytes32 to bytes32 enumerable map ( #3192 )
...
* feat(enumerablemap): add bytes32 to bytes32 map
* chore(changelog): edit CHANGELOG
* feat(enumerable map): edit struct visibility
3 years ago
Hadrien Croubois
98716177ae
Inherit ERC20Wrapper decimals from the underlying ( #3259 )
3 years ago
Hadrien Croubois
6a5bbfc4cb
Refactor governor testing ( #3194 )
...
* starting a governor test refactor
* improve governor tests
* refactor compatibility tests using the governor helper
* improve governor helper
* improve governor helper
* refactor governor tests
* refactor testing
* fix testing (still TODO)
* fix tests
* fix tests
* fix spelling
* use different instances of GovernorHelper
* add vote with params support
* coverage
* simplify ERC165 helper
* remove unused proposal argument
* refactor setProposal
* lint
* refactor setProposal return values
* add a data default value
* improve proposal reconstruction and storage in helper
* proposal object refactoring
* lint
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago