-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Make ERC20Votes independent from ERC20Permit #3816
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
Merged
frangio
merged 24 commits into
OpenZeppelin:next-v5.0
from
JulissaDantes:refactor/erc20-votes
Nov 29, 2022
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f28ede6
Add Nonces contract
JulissaDantes 1931d64
Remove permit from erc20votes
JulissaDantes cc25b3f
Update ERC20Permit contract
JulissaDantes 39bd173
Update Changelog
JulissaDantes 5df3792
Add Nonces dcumentation
JulissaDantes b9c425f
Update changelog with PR number
JulissaDantes 485a322
Use Votes for ERC20Votes
JulissaDantes f40bf1c
Remove duplicate tests
JulissaDantes 1c07a94
Fix Votes tests
JulissaDantes f4baabe
update changelog
JulissaDantes a7ec549
Update CHANGELOG.md
JulissaDantes 8fab231
Merge branch 'next-v5.0' into refactor/erc20-votes
JulissaDantes 5202e0d
Add test case
JulissaDantes 0a2a857
Update test
JulissaDantes c140d72
Merge branch 'refactor/erc20-votes' of https://github.com/JulissaDant…
JulissaDantes cffa45c
Update tests
JulissaDantes f881aad
Merge branch 'next-v5.0' into refactor/erc20-votes
JulissaDantes 390f04a
Add numCheckpoints
JulissaDantes b41574c
Add tests to ERC20VotesComp
JulissaDantes 4cda6a0
Update template
JulissaDantes c2a9537
Update contracts/token/ERC20/extensions/ERC20Votes.sol
JulissaDantes 6adfc96
Update contracts/token/ERC20/extensions/ERC20Votes.sol
JulissaDantes e31342b
Update contracts/utils/Checkpoints.sol
JulissaDantes 3f001ad
update template
JulissaDantes 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
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
import "../utils/Nonces.sol"; | ||
|
||
contract NoncesImpl is Nonces { | ||
function useNonce(address owner) public { | ||
super._useNonce(owner); | ||
} | ||
} |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.