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
Nicolás Venturo
35d8e860ad
Remove unused files ( #1698 )
...
* Remove unused dependencies.
* Remove unused mock contracts.
6 years ago
Nicolás Venturo
cf7375d6b8
Update openzeppelin-test-helpers dependency.
6 years ago
Nicolás Venturo
308a4c9907
Draft EIP 1820 ( #1677 )
...
* Add barebones EIP1820 support.
* Update openzeppelin-test-helpers dependency to have ERC1820 support.
* Add tests for ERC1820.
* Improve inline documentation.
* Add changelog entry.
* Update test-helpers, refactor tests to use new helpers.
* Rename ERC1820 to ERC1820Implementer.
* Improve implementer docstring.
* Remove _implementsInterfaceForAddress.
* update openzeppelin-test-helpers to 0.2.0
* Update contracts/drafts/ERC1820Implementer.sol
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Fix how solidity coverage is run to allow for free events.
* Fix coverage testing script.
6 years ago
Nicolás Venturo
9ed1b44865
Release v2.2.0
6 years ago
Nicolás Venturo
1e5295d304
Release candidate v2.2.0-rc.1
6 years ago
Nicolás Venturo
5a64eb2e14
Release v2.0.1
6 years ago
Nicolás Venturo
77d569d8fa
Release v2.1.3
6 years ago
Nicolás Venturo
a09cf147ea
Bring back coverage report. ( #1620 )
...
* Add back solidity-coverage (using fork).
* Pin fork version.
6 years ago
Nicolás Venturo
8617c4b4c8
Release v2.1.2
6 years ago
Nicolás Venturo
3e82db2f6f
Migration to truffle 5 (and web3 1.0 (and BN)) ( #1601 )
...
* Now compiling using truffle 5.
* Migrated some test files, missing BN scientific notation usage.
* Now using BN time values.
* Migrate ERC20 tests.
* Migrate all ERC20 tests.
* Migrate utils, payment and ownership tests.
* All tests save ERC721 migrated.
* Migrated ERC721 tests.
* Fix lint errors.
* Delete old test helpers.
* Fix remaining crowdsale tests.
* Fix signature bouncer tests.
* Update how constants is used.
* Compile script pre-removes the build dir.
* Fix SafeMath tests.
* Revert "Compile script pre-removes the build dir."
This reverts commit 247e745113
.
* Fix linter errors.
* Upgrade openzeppelin-test-helpers dependency.
* Update openzeppelin-test-helpers dependency.
* Define math constants globally.
* Remove unnecessary ether unit.
* Roll back reduced ether amounts in tests.
* Remove unnecessary toNumber conversions.
* Delete compile script.
* Fixed failing test.
6 years ago
Nicolás Venturo
ae02103e47
Release v2.1.1
6 years ago
Nicolás Venturo
4f5715bbd7
Release v2.1.0
6 years ago
Nicolás Venturo
76abd1a41e
Replaced Solium in favor of Solhint ( #1575 )
...
* Adding solhint, working on style fixes.
* Upgraded to solhint 1.5.0.
* Removed all references to Solium
* Updated mocks to make the pass the new linter rules.
* Reformatted the .solhint.json file a bit.
* Removed Solium configuration files.
* Remove Solium dependency.
* Add comment explaing disabled time rule in TokenVesting.
* Revert to the old (ugly?) style.
* Revert SignatureBouncerMock style.
* Fix ERC165InterfacesSupported interface.
6 years ago
Nicolás Venturo
40f08a8c0b
Release candidate v2.1.0-rc.2
6 years ago
Nicolás Venturo
02f9727dd8
Release candidate v2.1.0-rc.1
6 years ago
Nicolás Venturo
b7d56d5471
Added explicity pify dep, deprecating web3.eth. ( #1532 )
...
* Added explicity pify dep, deprecating web3.eth.
* Dropped promisify in favor of pify.
6 years ago
Remon Nashid
41c540fb1e
Update to ganache-cli@6.1.8 ( #1535 )
6 years ago
Francisco Giordano
e7d6e86395
Make Truffle provider creation lazy ( #1526 )
...
* make provider creation lazy
* change getter for function
* remove unused networks from truffle config
* remove unused dotenv package
* remove truffle-hdwallet-provider dependency
* install ethereumjs-util
* replace sha3 with keccak256 for ethereumjs-util v6
6 years ago
Nicolás Venturo
88e8c7c94b
Updated eslint-mocha-no-only. ( #1533 )
6 years ago
Nicolás Venturo
714ab21a6e
Added mocha-no-only ESlint plugin. ( #1529 )
6 years ago
Nicolás Venturo
c2de8ffd14
Now testing events in constructors! ( #1511 )
...
* Added inTransaction tests.
* Added expectEvent.inConstructor.
* Changed inTransaction, removed decodeLogs.
* Flipped comparison to improve the error message.
* Improved expectEvent tests.
* Migrated tests to use expectEvent.
* Added roles constructor tests.
* Fixed linter errors.
* Made lodash a dev dependency.
* Added more inLogs tests.
* Update expectEvent.test.js
* Removed lodash.
* Moved role constructor tests to public role behavior.
* Revert "Flipped comparison to improve the error message."
This reverts commit 438c57833d
.
* Replaced chai-as-promised with shouldFail.
6 years ago
Leo Arias
06e265b38d
Release v2.0.0
6 years ago
Leo Arias
7789814606
Release candidate v2.0.0-rc.4
6 years ago
Nicolás Venturo
2d30918149
Release candidate v2.0.0-rc.3
6 years ago
Nicolás Venturo
21198bf1c1
Roles now emit events in construction and when renouncing. ( #1329 )
...
* release candidate v2.0.0-rc.1
* fix linter error
(cherry picked from commit c12a1c6898
)
* Roles now emit events in construction and when renouncing.
6 years ago
Francisco Giordano
dac5bccf80
release candidate v2.0.0-rc.2
6 years ago
Francisco Giordano
735996e983
release candidate v2.0.0-rc.1
6 years ago
Matt Condon
1c57637fd5
fix: refactor sign.js and related tests ( #1243 )
...
* fix: refactor sign.js and related tests
* fix: remove unused dep
* fix: update package.json correctly
7 years ago
Francisco Giordano
0e65947efb
Release v1.12.0
7 years ago
Francisco Giordano
59cb2e2d0f
release candidate v1.12.0-rc.2
7 years ago
Nicolás Venturo
5ae8aa4e2e
Updated package-lock.json
7 years ago
Francisco Giordano
3806d6128e
release candidate v1.12.0-rc.1
7 years ago
Vittorio Minacori
ca9e317259
Update Truffle and Solium ( #1105 )
...
* fixed visibility warnings
* solved visibility and line length warning
* change a test assertion that fails due to chai dependence update
* linter, constructor style and solved visibility warnings
* Changed Windows line endings to Unix.
7 years ago
Justus Perlwitz
e6c15b34da
Remove chai-as-promised ( #1116 )
...
* Test: Remove chai-as-promised calls
* Test/Helpers: expectThrow accepts optional message
* NPM: Remove chai-as-promised
* Contracts/DestructibleMock: Fix lint
7 years ago
Nicolás Venturo
cea2a85a42
Remove Babel ( #1074 )
...
* Test helpers no longer rely on Babel.
* Behaviours are no longer imported.
* Removed Babel dependency.
* Fixed linter errors.
7 years ago
Francisco Giordano
cc9fa57777
v1.11.0
7 years ago
Francisco Giordano
eb4dfea6e9
v1.11.0-rc.1
7 years ago
Francisco Giordano
fd253d6b8d
Fix dependency warnings ( #1053 )
...
* update package-lock generated by npm
* run npm audit fix
7 years ago
artiebits
5daaf60d11
Make contracts 4.24 compatible ( #951 )
...
* Make contracts 4.24 compatible
7 years ago
Matt Condon
259b9da3e6
add 165 to 721 ( #972 )
...
* make _tokenId indexed in Transfer and Approval events
via: https://github.com/ethereum/EIPs/pull/1124/files
* fix: make name() and symbol() external instead of public
* feat: implement ERC721's ERC165
* feat: erc165 tests
* fix: don't use chai-as-promised in direct await
* fix: reorganize to /introspection
* feat: abstract all erc165 tests to a behavior
* feat: disallow registering 0xffffffff
7 years ago
Francisco Giordano
feb665136c
1.10.0
7 years ago
Francisco Giordano
10e84aecaf
Fix Node 10 compatibility ( #949 )
...
* update sha3 1.2.0 -> 1.2.2 for node 10 compatibility
* update nan 2.6.2 -> 2.10.0 for node 10 compatibility
* commit new package-lock.json format generated by npm 6
7 years ago
Leo Arias
ba4cf03da7
contracts mocks: replace deprecated constant with view ( #931 )
7 years ago
John Shutt
ad12381549
update constructor syntax for solidity 0.4.23 in numerous contracts ( #921 )
...
* update solidity-coverage to ^0.5.0
* update truffle dependency to ^4.1.8
* update solium to ^1.1.7
* update all contracts to solidity ^0.4.23
7 years ago
Francisco Giordano
4a10f727c4
1.9.0
7 years ago
Francisco Giordano
0e5799c93b
Clean up npm package ( #904 )
...
* ignore everything but official contracts for npm
* add tests to npm package
* remove truffle migrations stuff
* remove seemingly unused npm dependency
* clean up dependencies
7 years ago
Francisco Giordano
9c262571ae
rename to openzeppelin-solidity
7 years ago
Francisco Giordano
a7e91856f3
Update to Truffle 4.1.5 and Ganache 6.1.0 ( #876 )
...
* Update to ganache-cli v6.1.0 and truffle v4.1.0
* Update to stable version of ganache-cli
* fix: update event emission warning
- Fix event emission warnings for solidity 4.21 after truffle has been
updated to use this version
* fix pr review comments
* update to truffle v4.1.5
* update package-lock
* add additional emit keywords
* update solidity-coverage to 0.4.15
* update to solium 1.1.6
* fix MerkleProof coverage analysis by testing through wrapper
* change version pragma to ^0.4.21
* fix solium linting errors
7 years ago
Francisco Giordano
9bc43c8d0f
make ethjs-abi a devDependency ( #843 )
7 years ago