Skip to content

Approval events on transferFrom and burnFrom#1524

Merged
nventuro merged 3 commits intoOpenZeppelin:masterfrom
nventuro:transferfrom-approval
Nov 29, 2018
Merged

Approval events on transferFrom and burnFrom#1524
nventuro merged 3 commits intoOpenZeppelin:masterfrom
nventuro:transferfrom-approval

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