Francisco
b709eae01d
Update Prettier Solidity ( #3898 )
2 years ago
Francisco
8f8fd84f1e
Improve some NatSpec and revert reasons ( #3809 )
...
Co-authored-by: JulissaDantes <julissadcj@gmail.com>
2 years ago
Francisco Giordano
49c0e4370d
4.8.0
2 years ago
Hadrien Croubois
0b6becd49f
Remove the draft prefix to ERC20Permit ( #3793 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
2 years ago
Hadrien Croubois
d5ca39e9a2
Rename `_isVaultCollateralized` to `_isVaultHealthy` for clarity ( #3796 )
2 years ago
Hadrien Croubois
1f18fea1de
4.8.0-rc.2
2 years ago
z0r0z
02722fcc03
Use unchecked in ERC20Votes and fix typo ( #3748 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Francisco
50501a751e
Update docs pipeline to solidity-docgen@0.6 ( #3707 )
...
(cherry picked from commit c52625018b
)
2 years ago
Francisco
f0de978a9e
Improve handling and docs for ERC4626.decimals ( #3733 )
...
(cherry picked from commit 14f98dbb58
)
2 years ago
Francisco
c52625018b
Update docs pipeline to solidity-docgen@0.6 ( #3707 )
2 years ago
Francisco
14f98dbb58
Improve handling and docs for ERC4626.decimals ( #3733 )
2 years ago
Hadrien Croubois
16791134c1
4.8.0-rc.1
2 years ago
tincho
d89a62e0a6
Improve `ERC20FlashMint` documentation ( #3719 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
(cherry picked from commit aa4b901788
)
2 years ago
tincho
aa4b901788
Improve `ERC20FlashMint` documentation ( #3719 )
...
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
2 years ago
Francisco Giordano
5e6fd491f3
4.8.0-rc.0
2 years ago
Francisco
3c552e6e03
Fix relevant warnings ( #3685 )
2 years ago
Francisco
e09ccd1449
Optimize votes lookups for recent checkpoints ( #3673 )
2 years ago
Hadrien Croubois
141130db27
Inherit asset decimals in ERC4626 ( #3639 )
2 years ago
Hadrien Croubois
24fc709533
Set up codespell ( #3643 )
2 years ago
Hadrien Croubois
397c946141
Remove the draft prefix for EIP712 as it is now final ( #3621 )
...
Co-authored-by: Francisco <frangio.1@gmail.com>
2 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
micahriggan
4a194b3a1c
Fix typo in ERC4626 comments ( #3518 )
3 years ago
Hadrien Croubois
3dac7bbed7
Merge v4.7 back into master ( #3516 )
3 years ago
Pascal Marco Caversaccio
b159b3fee2
Minor wording fixes `ERC4626` contract ( #3510 )
3 years ago
Hadrien Croubois
74738721dc
Make ERC4626 _deposit and _withdraw internal virtual ( #3504 )
3 years ago
Francisco
450c569d78
Add a caution note to ERC4626 about EOA access ( #3503 )
3 years ago
Hadrien Croubois
a55b7d1372
Rename ERC20TokenizedVault to ERC4626 ( #3467 )
3 years ago
Hadrien Croubois
5e00787199
ERC4626 ( #3171 )
3 years ago
silencio
c019e7c5bb
Fix typo causing broken URL in ERC20Snapshot comment ( #3428 )
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
Hadrien Croubois
a035b235b4
Release v4.6 ( #3358 )
...
* 4.6.0-rc.0
* Fix release script to only release @openzeppelin/contracts
(cherry picked from commit 2bd75a44bb
)
* make ERC2981:royaltyInfo public (#3305 )
(cherry picked from commit d2832ca7a9
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* add transpilation guards to the crosschain mocks (#3306 )
(cherry picked from commit 9af5af8fff
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* Fix tests on upgradeable contracts after transpilation
(cherry picked from commit 0762479dd5
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* Remove unused constructor argument
(cherry picked from commit 69c3781043
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* Bump minimum Solidity version for Initializable.sol to 0.8.2 (#3328 )
(cherry picked from commit cb14ea3c5c
)
* Fix update-comment script to ignore invalid tags
(cherry picked from commit 848fef5b6c
)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
* 4.6.0
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
98716177ae
Inherit ERC20Wrapper decimals from the underlying ( #3259 )
3 years ago
Pascal Marco Caversaccio
cc1c18098c
Replace immutable with constant for _PERMIT_TYPEHASH ( #3196 )
...
* replace `immutable` with `constant` for _PERMIT_TYPEHASH
This commit is related to the following issue discussion: https://github.com/OpenZeppelin/contracts-wizard/issues/89#issuecomment-1042391318
Since Solidity version `0.6.12` the `keccak256` of string literals is treated specially and the hash is evaluated at compile time. Since the OpenZeppelin Wizard also uses `constant` for OpenZeppelin's AccessControl's roles declarations, it's good practice to make this consistent.
* Update CHANGELOG
* fix: ensure transpiler compatibility
* fix: fixing var-name-mixedcase
* prettier & lint check
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
3 years ago
Hadrien Croubois
f8bfa560e9
Use _spendAllowance in ERC20FlashMint ( #3226 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
JulissaDantes
abdb20a6bd
Change dependency source to work around Truffle limitation ( #3218 )
3 years ago
GitHubPang
458697be32
Fix typos ( #3207 )
...
Fix misspelling in ERC20 contract comments.
3 years ago
Francisco Giordano
afb20119b3
Release v4.5
3 years ago
Hadrien Croubois
c5a6cae898
Add a _spendAllowance function to ERC20 & ERC777 ( #3170 )
3 years ago
JulissaDantes
b3b83b558e
Add Slither reentrancy check in CI ( #3047 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Hadrien Croubois
ecae978cb5
Make more functions virtual ( #3078 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
3 years ago
Francisco Giordano
a0a8bbb57f
Remove note about enabling self-delegation
3 years ago
Francisco Giordano
6bd6b76d11
4.4.1
3 years ago
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
4961a51cc7
4.4.0
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
e2fa301bfb
Improve parameters naming and remove unecessary returns ( #2891 )
3 years ago
Hadrien Croubois
6c1a634053
Add Governor contracts ( #2672 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
9eba3ef29a
fix two minor typos ( #2755 )
4 years ago