Add ERC20 compatibility to ERC777. (#1735)
* 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)
Showing
This diff is collapsed.
Click to expand it.
test/token/ERC20/ERC20.behavior.js
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment