-
Notifications
You must be signed in to change notification settings - Fork 346
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
Include list of non-standard ERC20 tokens #269
Conversation
Actually not sure if this should be moved to another section... any thoughts? |
Yes, I think this should be moved to a separate page. I think we can have separate section per type of issue, and we should list the tokens following an order (alphabetical maybe?) |
|
||
## Missing Revert | ||
|
||
These tokens do not revert when a transfer fails due to missing funds. Protocols that integrate these tokens must include a check for the transfer success status in the function's return value and handle the failure case appropriately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be worth highlighting specifically that these tokens return booleans that represent success/failure, which is why the return value has to be checked
|
||
## Transfer Hooks | ||
|
||
These tokens include [ERC777](https://eips.ethereum.org/EIPS/eip-777)-like transfer hooks. Protocols that interact with tokens that include transfer hooks must be extra careful to protect against reentrant calls when dealing with these tokens, because control is handed back to the caller upon transfer. This can also affect cross-protocol reentrant calls to `view` functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can also affect cross-protocol reentrant calls to
view
functions.
which can result in dirty reads?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by "dirty reads"?
Addresses #68