-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
ERC20Burnable: Description needs correction #5138
Comments
Hello @SKYBITDev3 I don't see what is wrong with the current description. I look correct to me. |
I think it's currently clear as it states that it "allows token holders to destroy both: a) their own tokens and b) those they have allowance for". The new one is perhaps more explicit but isn't changing the meaning imo. |
Having It makes much more sense to state that the token holder can allow others to burn his tokens, instead of stating that the token holder can burn others' tokens. |
This is not what the docs state. It states that anyone can burn tokens they have an allowance for. Your proposal feels something like "allow other's to have allowance". |
Yes it does. The statement "allows token holders to destroy both their own tokens and those that they have an allowance for" is the same as the combination of these two statements: It's the frames of reference that is the issue here, i.e. who's the holder and who's the burner. So you should make it clear that |
This is the case even without Again, I think the documentation is very clear that this it is possible to burn tokens you have allowance for.
|
Yes, I know that, The currently published statement "allows token holders to destroy both their own tokens and those that they have an allowance for" is the same as saying the following 2 statements:
Even though the statements aren't wrong, they fail to include this very important statement: My point is that Having Similarly and more generally, having |
The description states that the
ERC20Burnable
extension makes it possible for token holders to destroy others' tokens, which is incorrect:Here's a corrected description:
Extension of ERC20 that allows token holders to destroy their own tokens or allow other particular accounts or contracts to destroy tokens that the holder had granted an allowance for, in a way that can be recognized off-chain (via event analysis).
The text was updated successfully, but these errors were encountered: