VIP: safe erc20 transfer builtin #2753
Labels
Easy Pickings
Used to denote issues that should be easy to implement
VIP: Discussion
Used to denote VIPs and more complex issues that are waiting discussion in a meeting
Simple Summary
add a builtin to handle non-compliant ERC20 tokens
Motivation
I see this in the wild all the time:
We could do it more efficiently as a builtin.
Specification
add a function, (name:
safeTransferFromERC20
?), which implements a safe ERC20 transfer as above.Dependencies
May be good to implement this as a library function once #2431 is implemented.
Copyright
Copyright and related rights waived via CC0
The text was updated successfully, but these errors were encountered: