Nicolás Venturo
3112c1b95e
Remove broken linter rule.
6 years ago
Nicolás Venturo
c794c96617
Move ERC1820 and ERC777 out of drafts ( #1742 )
...
* Moved ERC1820 related contracts out of drafts and into introspection.
* Moved ERC777 related contracts out of drafts and into token.
6 years ago
Nicolás Venturo
c92b75305e
Fix linter.
6 years ago
Francisco Giordano
e60c7904d4
Inline keccak256 result ( #1741 )
...
* inline keccak256 result
* Update ERC777.sol
* switch hex constant style
* Update ERC777.sol
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
Francisco Giordano
86f214b7a3
update openzeppelin-docsite to fix windows issues (part 2)
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
Francisco Giordano
b84c145c12
update openzeppelin-docsite to fix windows issues
6 years ago
Francisco Giordano
b85dfb9824
make nightly job conditional ( #1737 )
6 years ago
Nicolás Venturo
e287ea6fe5
Update vulnerable dependencies.
6 years ago
Francisco Giordano
9646cc951f
Fix solc-nightly job ( #1732 )
...
* update truffle to 5.0.14
* fix setup to test with solc-nightly
* switch to npx in script/test.sh
* please the linter
* rename build to prepack
* move download of nightly build to a compile script
* make compile script executable
6 years ago
Francisco Giordano
af55a843e3
fix pr number in changelog
6 years ago
Nicolás Venturo
67bca857ee
Revert Solidity version bump. ( #1729 )
6 years ago
Francisco Giordano
2769d0d2c7
update links in documentation setup description
6 years ago
Nicolás Venturo
9d868ee846
Add revert reasons changelog entry.
6 years ago
Nicolás Venturo
2f8e844514
Fix remaining revert reasons.
6 years ago
Balaji Pachai
3682c6575c
Added message string for require() ( #1704 )
...
* Error handling in ERC20 and ERC721
* Added message string for require.
* Fixed solhint errors.
* Updated PR as per issue #1709
* changes as per #1709 and openzeppelin forum.
* Changes in require statement
* Changes in require statement
* build pipeline fix
* Changes as per @nventuro's comment.
* Update revert reason strings.
* Fianal update of revert reason strings.
* WIP: Updating reason strings in test cases
* WIP: Added changes to ERC20 and ERC721
* Fixes linting errors in *.tes.js files
* Achieved 100% code coverage
* Updated the test cases with shouldFail.reverting.withMessage()
* Fix package-lock.
* address review comments
* fix linter issues
* fix remaining revert reasons
6 years ago
Francisco Giordano
4a0a67b04c
make some updates on the get started guide ( #1725 )
6 years ago
Nicolás Venturo
97a9ca5681
Add a vault to PostDeliveryCrowdsale. ( #1721 )
...
* Add a vault to PostDeliveryCrowdsale.
* Add changelog entry.
* Apply suggestions from code review
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Rename TokenVault.
* add solhint ignore directive
6 years ago
Nicolás Venturo
19c7414052
Bump minimum Solidity version to 0.5.7 ( #1724 )
...
* Bump Solidity version to 0.5.7
* Add changelog entry.
6 years ago
Nicolás Venturo
5e46cf6de4
Fix linter error.
6 years ago
Francisco Giordano
ed5652b0aa
New documentation setup ( #1708 )
...
* initial docsite setup
* switch from pushd to cd
* install and set up solidity-docgen
* use the docsite branch next for now
* make it clear that env var is a repository
* add a clarifying comment about a relative path
* change relative to absolute path in docsite script
* add docgen script
* add first few READMEs for contract documentation
* update solidity-docgen
* add docsite as dependency and adjust script
* update openzeppelin-docsite
* update solidity-docgen
* remove dummy text
* update docgen and docsite
* update openzeppelin-docsite
* add netlify.toml
* udpate tokens guide for 2.2
* add DOCUMENTATION.md
* Update docs/learn-about-utilities.md
Co-Authored-By: frangio <frangio.1@gmail.com>
* fix PaymentSplitter docs wording
* update solidity-docgen
* add missing ERC20 contracts
* update solidity-docgen
* trigger deploy with cleared cache
* update solidity-docgen
* update openzeppelin-docsite
* remove travis docs setup
* update openzeppelin-docsite
* switch to published solidity-docgen
6 years ago
Nicolás Venturo
412cdfd0be
Release automation ( #1720 )
...
* Create autoamtic release script.
* Add changelog update date script.
* Improve release scripts.
* Apply suggestions from code review
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Apply suggestions from code review
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Remove moment dependency.
6 years ago
Francisco Giordano
59f03f00c5
Fix stalebot exempt labels
6 years ago
Nicolás Venturo
ea59f86cdf
Update stalebot wording and timing. ( #1722 )
6 years ago
Balaji Pachai
0df0e1b250
Fixes/Improves constants inline documentation. ( #1707 )
...
* Fixes/Improves constants inline documentation.
* Fixed solhint error.
* Moved the comment before the variable
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
Prince Sinha
963f1eb35b
removed unnecessary require and renaming of null to zero ( #1717 )
...
* removed unnecessary require
* build pipeline fix
* kept as it is
* Added require
6 years ago
ckshei
bbe0eefd9f
removing unused variables ( #1719 )
...
* removing unused variables
* undeleting the _
6 years ago
ckshei
19c705d928
Fix/rename anyone account #1357 ( #1718 )
...
* replacing all instances of from: anyone with from: other
* replacing all instances of from: anyone with from: other
* replacing all instances of from: anyone with from: other
* changing anyone to other
* changing anyone to other
6 years ago
Francisco Giordano
d45f0c89db
Update copyright notice
6 years ago
Nicolás Venturo
1ebeef7ffd
Remove unnecessary SLOAD. ( #1715 )
6 years ago
Francisco Giordano
b353f7e18c
Add more extensive documentation to PaymentSplitter ( #1713 )
...
* Update PaymentSplitter.sol
* add back private function docs
* add non-zero address requirement
* add comprehensive contract-level docs
* use capital E for Ether
6 years ago
Nicolás Venturo
92e68e3aaa
Revert "Add WIP bot."
...
This reverts commit 07fc8c731a
.
6 years ago
Nicolás Venturo
07fc8c731a
Add WIP bot.
6 years ago
Vittorio Minacori
81e36d2e74
Fix from account in remove public role behaviors ( #1710 )
6 years ago
Nicolás Venturo
35d8e860ad
Remove unused files ( #1698 )
...
* Remove unused dependencies.
* Remove unused mock contracts.
6 years ago
Francisco Giordano
8b44efd035
add note about Counters rename in changelog ( #1703 )
6 years ago
J Quinn
3cb4a00fce
Added basic punctuation to @dev docs ( #1697 ) ( #1700 )
...
* Added basic punctuation to @dev docs (#1697 )
* add missing uppercase
6 years ago
Nicolás Venturo
c008f1f0c6
Exclude on-hold PRs and issues on stalebot. ( #1696 )
6 years ago
Franco Zeoli
dc5ca8edc4
Edit Ethereum dev framework links in README. ( #1695 )
...
Added Buidler.
6 years ago
Nicolás Venturo
7ccd224567
Update SafeERC20.sol ( #1693 )
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
269e096c5a
Remove unused return variables. ( #1686 )
6 years ago
Nicolás Venturo
edfce5a3dd
Add probot/stale to the repo. ( #1681 )
6 years ago
Jochen Brüggemann
ab14debb08
Make waiting for ganache to launch more robust. ( #1683 )
6 years ago
Nicolás Venturo
40d2eb3007
Merge branch 'release-v2.2.0'
6 years ago
Nicolás Venturo
9ed1b44865
Release v2.2.0
6 years ago
Nicolás Venturo
7aaf15be59
Add v2.2.0 release date.
6 years ago