Skip to content
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

ERC 20 contracts V2 #222

Closed
wants to merge 7 commits into from
Closed

ERC 20 contracts V2 #222

wants to merge 7 commits into from

Conversation

drinkcoffee
Copy link
Contributor

This PR creates a V2 version of the ERC 20 presets. These new presets provide a cleaner, more consistent API.
Original ERC 20 contracts (V1 contracts) are deprecated, but still available.

@drinkcoffee drinkcoffee requested a review from a team as a code owner May 16, 2024 06:41
Copy link

ERC 20 contracts V2

Generated at commit: 06502613affbe5f5070196319313a1af53f3dd2c

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
1
0
11
27
41
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

// solhint-disable no-unused-import
import {HubOwner, AccessControlEnumerable, AccessControl, IAccessControl} from "./HubOwner.sol";

abstract contract MintingHubOwner is HubOwner {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which application/feature will use MintingHubOwner role?

@drinkcoffee
Copy link
Contributor Author

This PR is going to be abandoned. Though the new ERC 20 contracts provide some improvements over the existing contracts, this improvement is not substantive enough to warrant an upgrade. The branch will be kept alive, and will be able to be used as the basis for further improvements to the ERC20 contract system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants