Nicolás Venturo
|
a71c3bce32
|
Update test-helpers to v0.4.0. (#1770)
|
6 years ago |
Nicolás Venturo
|
64d6fefc11
|
Move ERC1820 and ERC777 tests out of drafts.
|
6 years ago |
Nicolás Venturo
|
6c2b7c260d
|
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 aa4c9feabd )
|
6 years ago |
Nicolás Venturo
|
835c23d6f7
|
Hardcode ERC777 granularity to 1, remove tests. (#1739)
* Hardcode ERC777 granularity to 1, remove tests.
* Add clarifying title comment.
(cherry picked from commit 376820d55c )
|
6 years ago |
Nicolás Venturo
|
aa4c9feabd
|
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.
|
6 years ago |
Nicolás Venturo
|
376820d55c
|
Hardcode ERC777 granularity to 1, remove tests. (#1739)
* Hardcode ERC777 granularity to 1, remove tests.
* Add clarifying title comment.
|
6 years ago |
Bertrand Masius
|
5a2b349992
|
Feature/erc777 #1159 (#1684)
* IERC777 from specs, constants returned, up to defaultOperators. (#1159)
* IERC777 oprarator approvals (#1159)
* ERC777 oprarator approvals fixes and tests
* IERC777 send and receive with ERC820 (#1159)
* ERC777 Add burn functions and fix send functions (#1159)
* ERC777 Make expectEvent compatible with web3.js 1.0 (#1159)
* ERC777 Add ERC820 deploy script (#1159)
* ERC777 Complete implementation of ERC777 (#1159)
This implementation conforms to the current EIP
* ERC777 Update ERC820 Registry contract to final version (#1159)
* ERC777 Move contracts to 'drafts' folder (#1159)
* ERC777: Update to ERC1820 registry and linter error fix (#1159)
* ERC777: implement recent changes of EIP777 (#1159)
* ERC777 Fix formatting (#1159)
* ERC777 Update to solc 0.5.2 (#1159)
* ERC777 Fix travis CI errors (#1159)
* ERC777 Fix linter errors again... (#1159)
* ERC777 Fix unit test (#1159)
* ERC777 Fix unit test again (#1159)
* Remove extra newlines.
* Rename ERC777Base to ERC777.
* Remove 'Token' from contract names.
* Replace ops for operators.
* Move operator check out of _send.
* Remove ERC777Burnable.
* Remove ERC1820Client, now using the interface directly.
* Minor internal refactors in contracts.
* Delete extra test helpers.
* Simplified tests.
* Add basic 777 tests.
* Add granularity send test.
* Add first operator send tests.
* Add burn tests.
* Refactor send and burn tests.
* Improve send burn refactor.
* Greatly improve test module.
* Burn instead of send removed tokens.
* Add operator tests.
* Improve send tests under changing operators.
* Refactor and merge send and burn tests.
* Add missing and not-implemented tests.
* Make _burn private.
* Fix typo.
* Greatly improve tokensToSend tests.
* Refactor hook tests.
* Fix hook tests.
* Update openzeppelin-test-helpers and ERC1820 address.
* Fix natspec indentation.
* Make interface functions external.
* Remove redundant private revoke and authorize functions.
* Improved readability of if statement.
* Remove unnecessary asserts.
* Add non-one granularity test.
* Fix hook call order in _mint.
* Fix _mint not reverting on failure to implement tokensReceived.
* Remove special case in operatorFn when from is 0.
* Refactor ERC777SenderMock.
* Add tokensReceived tests.
* switch to updated ganache-cli-coverage fork
* Fix linter errors.
* Add mint tests.
* Fix linter errors.
* Fix tests.
* Update test/drafts/ERC777/ERC777.test.js
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Add changelog entry.
|
6 years ago |