-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Provable Burn: ERC20 Extension #661
Comments
Mmm I see two things happening here:
In my opinion these can be discussed separately |
@alexvandesande Thanks for the comments. I opened a new EIP for the more abstract set of Please consider this EIP a discussion of the burn function proposed. |
I like this, but I'd like to recommend there be an optional metadata section here - we are working on a number of mechanisms which would like to attach some sort of data to a burn function. Happy to work up a proposed bit of code if desired. |
I like this and I wanted to contribute with a suggestion for an alternative way of assuring replay protection: |
There has been no activity on this issue for two months. It will be closed in a week if no further activity occurs. If you would like to move this EIP forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
This issue was closed due to inactivity. If you are still pursuing it, feel free to reopen it and respond to any feedback or request a review in a comment. |
Title
Specification
A
provableBurn
function is added to an ERC20 token such that the owner of this token may sign a message to burn a certain number of tokens. This is an extension of ERC20 using the proposedprovable_
standard from #662 .No tokens are moved during the burn. Rather, the number of atomic token units burned is simply subtracted both from the user's balance and from the total supply.
Rationale
Some token systems may desire to have users burn some number of tokens to unlock certain rewards. This uses the event emission proposed in #621, namely transfer to the zero address and requires the owner of the tokens to sign a message that proves the desire to burn them.
Per #662, calling of
provable_burn
may be outsourced with a signed message and played by any actor with the message. This includes a contract that might require this provable burn to happen before initiating an internal mechanism.The text was updated successfully, but these errors were encountered: