-
Notifications
You must be signed in to change notification settings - Fork 355
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
Allow burn to have a callback just like Send #717
Comments
Is |
sorry what I meant is your cw20 implementation the send allows calling back a contract: however the Burn doesn't but contracts might want to be notified too that some users burnt some tokens (possibly a token managed by the contract that needs to be called) |
yes that would be very useful! |
Currently, you could Understood that is not the UX you want, but it will serve as a placeholder |
Also, |
thanks, I was aware of this workaround, just hoped there will be a direct
support
if you think it is an unnecessary feature, then please close this ticket,
thanks
…On Tue, May 17, 2022 at 2:53 AM Ethan Frey ***@***.***> wrote:
Also, Burn was designed as an analog to Transfer (which doesn't call a
contract).
We would need a new name for this method. And I'm still not sure it would
be that heavily used such that my workaround (above) wouldn't be sufficient
—
Reply to this email directly, view it on GitHub
<#717 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEXFZQERMNONELB7JRMXTU3VKKRSVANCNFSM5VIDVAAQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
it would be nice to have contracts (usually the owner) notified that certain tokens have been burned just like it is done with the Send message
The text was updated successfully, but these errors were encountered: