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

Approval events on transferFrom and burnFrom #1524

Merged
merged 3 commits into from
Nov 29, 2018

Conversation

nventuro
Copy link
Contributor

@nventuro nventuro commented Nov 28, 2018

With this extension, an application should be able to just listen for Approval events and still keep track of the allowances for all accounts.

Should we add a comment in the code emphasizing the fact that the standard doesn't require the event to be emitted, and other compliant tokens may not do it?

Closes #707.

@nventuro nventuro added feature New contracts, functions, or helpers. contracts Smart contract code. labels Nov 28, 2018
@nventuro nventuro added this to the v2.1 milestone Nov 28, 2018
@nventuro nventuro requested a review from frangio November 28, 2018 12:03
@frangio
Copy link
Contributor

frangio commented Nov 28, 2018

Yes I would add a comment in the code or in the inline docs or both.

Copy link
Contributor

@frangio frangio left a comment

Choose a reason for hiding this comment

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

LGTM!

@nventuro nventuro merged commit 7ef2730 into OpenZeppelin:master Nov 29, 2018
@nventuro nventuro deleted the transferfrom-approval branch November 29, 2018 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contracts Smart contract code. feature New contracts, functions, or helpers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants