-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove hooks from ERC20 #3838
Merged
frangio
merged 47 commits into
OpenZeppelin:next-v5.0
from
JulissaDantes:refactor/erc20/mint-burn-transfer
Dec 14, 2022
Merged
Remove hooks from ERC20 #3838
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
50db94a
remove beforeTokenTranser and afterTokenTransfer hooks
JulissaDantes 2e68978
Update contracts using the hooks
JulissaDantes bdd94d1
ERC20Snapshot changes
JulissaDantes e03c773
Update ERC20Snapshot mock
JulissaDantes 616c148
Update changelog
JulissaDantes c2d0313
update changelog
JulissaDantes a81f1a5
update documentation
JulissaDantes caf4374
Merge branch 'next-v5.0' into refactor/erc20/mint-burn-transfer
JulissaDantes 4f3adcb
update documentation
JulissaDantes bbecd36
Merge branch 'refactor/erc20/mint-burn-transfer' of https://github.co…
JulissaDantes 054777e
Post merge fix
JulissaDantes b3da557
Update ERC20Votes
JulissaDantes 27c7090
add overflow test
JulissaDantes b4ab7c7
Update contracts/token/ERC20/ERC20.sol
JulissaDantes dcbc275
Update contracts/token/ERC20/ERC20.sol
JulissaDantes c3350bd
Update ERC20
JulissaDantes 8565f15
Merge branch 'refactor/erc20/mint-burn-transfer' of https://github.co…
JulissaDantes a56afc4
update ERC20Capped
JulissaDantes 3ec8abf
Add format
JulissaDantes 4213df3
update revert reason
JulissaDantes 0fc5d3a
run lint
JulissaDantes 975ed99
add checks for external transfer calls
JulissaDantes 00ed155
update ERC20Test
JulissaDantes 0d74d66
Update changelog
JulissaDantes 7110896
Update CHANGELOG
JulissaDantes 4e09ef8
Update CHANGELOG.md
JulissaDantes ed853fa
Update CHANGELOG.md
JulissaDantes a2bc30c
Update CHANGELOG.md
JulissaDantes ed66c58
update test
JulissaDantes 5e67170
update ERC20
JulissaDantes fe5abf4
Handle zero address parameters
JulissaDantes 1083de9
Update CHANGELOG.md
JulissaDantes a7a9ff1
Update CHANGELOG.md
JulissaDantes d6fdf53
Update CHANGELOG.md
JulissaDantes 5e0688b
Update contracts/token/ERC20/ERC20.sol
JulissaDantes b66eb88
Update contracts/token/ERC20/ERC20.sol
JulissaDantes d55e714
Update contracts/token/ERC20/ERC20.sol
JulissaDantes 8abfed7
Update unchecked reason
JulissaDantes 278c6d0
Update contracts/token/ERC20/ERC20.sol
JulissaDantes 56e648a
Update ERC20.sol
JulissaDantes 2fc018e
run lint
JulissaDantes fa58b35
Add unchecked comment
JulissaDantes 58a28b9
Update CHANGELOG.md
frangio a6ce9e1
Update CHANGELOG.md
frangio ee4b86a
update mock
JulissaDantes fc25740
Merge branch 'refactor/erc20/mint-burn-transfer' of https://github.co…
JulissaDantes 30876ac
update docs
frangio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add format
- Loading branch information
commit 3ec8abfc8862c96c8b99ba38036c097b06084139
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the rational for using
ERC20.totalSupply()
instead oftotalSupply()
?