-
Add ERC20 compatibility to ERC777. (#1735) · 6c2b7c26
* Add ERC20 compatibility. * Reusing ERC20 tests for ERC777. * Improve documentation. * Add changelog entry. * Improved ERC20 behavior tests. * Add revert reasons to ERC777. * ERC20 methods allow sending tokens to contracts with no interface. * Register ERC20 interface. * Add comment about avoidLockingTokens. * Improve revert reason string. * Make ERC777 implement IERC20. * Fix test revert string. * Remove unnecesary require. * Add private _transfer. * Update contracts/drafts/ERC777/ERC777.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com> * Update private helper names. (cherry picked from commit aa4c9fea)
Nicolás Venturo authored
To find the state of this project's repository at the time of any of these versions, check out
the tags.
×