394987f365
Fix ERC777 hook docs, fixes #2256
2020-06-01 13:17:15 -03:00
df4b317fb3
Update start docs command line ( #2255 )
2020-06-01 11:53:04 -03:00
142f6c3f05
configure renovate to run weekly
2020-05-30 23:15:48 -03:00
414adb94f0
Update dependency ethereumjs-util to v7.0.2 ( #2250 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2020-05-29 17:01:43 -03:00
7ee98cf525
Configure Renovate ( #2248 )
...
* Add renovate.json
* configure renovatebot
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-05-29 16:43:57 -03:00
d418da6b91
Decrease CREATE2 address computation gas usage from 623 to 539 ( #2244 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-05-28 20:47:45 -03:00
2a0f2a8ba8
Update LICENSE ( #2247 )
...
bump to 2020 reference for (c)
2020-05-28 19:15:43 -03:00
5513dfd3cf
Adding SafeCast variants for signed integers ( #2243 )
...
* feat: Adding SafeCast variants for signed integers
* Add newline at EOF
* Update CHANGELOG.md
* Update contracts/utils/SafeCast.sol
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
2020-05-26 19:17:34 -03:00
c18ffd7c81
Bump mocha from 7.1.2 to 7.2.0 ( #2245 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 7.1.2 to 7.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v7.1.2...v7.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-26 18:09:17 -03:00
424ab2a024
Update SafeERC20.sol ( #2246 )
...
tweak intro dev comment to reflect more typical use case, wrapping an `IERC20` reference for a deposit contract using others' ERC-20 tokens. I might be mistaken ~ but typically SafeERC20 won't be used in conjunction with ERC20 for OZ token deployments?
2020-05-26 13:39:54 -03:00
e2b97d6712
Update readme to reflect docsite, fixes #2168
2020-05-19 13:54:11 -03:00
217a616fde
Bump ethereumjs-util from 7.0.0 to 7.0.1 ( #2238 )
...
Bumps [ethereumjs-util](https://github.com/ethereumjs/ethereumjs-util ) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/ethereumjs/ethereumjs-util/releases )
- [Changelog](https://github.com/ethereumjs/ethereumjs-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ethereumjs/ethereumjs-util/compare/v7.0.0...v7.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-18 15:53:38 -03:00
56de324afe
Add SPX license identifier ( #2235 )
2020-05-14 21:58:11 -03:00
fa36244bec
separate prepare and prepack scripts to fix CI
2020-05-13 17:28:13 -03:00
4fe31f8d4d
Fixed typo in ERC20PresetMinterPauser ( #2233 )
...
* Fixed typo in ERC20PresetMinterPauser
* Update ERC721PresetMinterPauserAutoId.sol
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
2020-05-13 13:26:16 -03:00
cfa9ad9943
Fix ReentrancyGuard for Proxy Pattern ( #2171 )
...
* Fix ReentrancyGuard for Proxy Pattern
* Update ReentrancyGuard.sol
* Change constant values
* Add changelog entry
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
2020-05-12 20:23:28 -03:00
fd981ad315
fix removal of mocks from published package
2020-05-12 17:36:16 -03:00
5f9a86a8f2
Remove leftovers of TokenVesting contract
2020-05-08 17:04:22 -03:00
956d6632d9
ERC1155 feature pending tasks ( #2014 )
...
* Initial ERC1155 implementation with some tests (#1803 )
* Initial ERC1155 implementation with some tests
* Remove mocked isERC1155TokenReceiver
* Revert reason edit nit
* Remove parameters associated with isERC1155TokenReceiver call
* Add tests for approvals and single transfers
* Add tests for transferring to contracts
* Add tests for batch transfers
* Make expectEvent.inTransaction tests async
* Renamed "owner" to "account" and "holder"
* Document unspecified balanceOfBatch reversion on zero behavior
* Ensure accounts can't set their own operator status
* Specify descriptive messages for underflow errors
* Bring SafeMath.add calls in line with OZ style
* Explicitly prevent _burn on the zero account
* Implement batch minting/burning
* Refactored operator approval check into isApprovedForAll calls
* Renamed ERC1155TokenReceiver to ERC1155Receiver
* Added ERC1155Holder
* Fix lint issues
* Migrate tests to @openzeppelin/test-environment
* Port ERC 1155 branch to Solidity 0.6 (and current master) (#2130 )
* port ERC1155 to Solidity 0.6
* make ERC1155 constructor more similar to ERC721 one
* also migrate mock contracts to Solidity 0.6
* mark all non-view functions as virtual
Co-authored-by: Alan Lu <alanlu1023@gmail.com >
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
Co-authored-by: Robert Kaiser <kairo@kairo.at >
2020-05-08 13:38:43 -03:00
0c7b2ec09e
Make Context abstract ( #2229 )
2020-05-08 13:02:07 -03:00
4cbcaf35e4
Fix linter errors
2020-05-08 12:57:43 -03:00
73baf0b635
Feature/Adding RoleAdminChanged event in AccessControl ( #2214 )
...
* Emit new event RoleAdminChanged
* Adding new RoleAdminChanged event in Tests
* Update suggested comments on new Event
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
* Adding PreviousAdminRole to event
* Update AccessControl.test.js
* Update CHANGELOG.md
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
2020-05-06 17:21:39 -03:00
78dc37739f
Making IERC721Receiver an interface ( #2225 )
...
* Making IERC721Receiver an interface
* Update IERC721Receiver.sol
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
2020-05-06 16:47:53 -03:00
ac0a4327a9
Bump solidity-docgen from 0.4.1 to 0.5.3 ( #2221 )
...
* Bump solidity-docgen from 0.4.1 to 0.5.3
Bumps solidity-docgen from 0.4.1 to 0.5.3.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Update prepare-docs.sh
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-05-04 17:14:12 -03:00
c20e620a06
Improve Pausable docs
2020-05-04 16:37:05 -03:00
4bc45e35c2
[Security] Bump acorn from 6.4.0 to 6.4.1 ( #2224 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.4.0 to 6.4.1. **This update includes security fixes.**
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-04 15:04:48 -03:00
b362e886ec
Bump ethereumjs-util from 6.2.0 to 7.0.0 ( #2222 )
...
* Bump ethereumjs-util from 6.2.0 to 7.0.0
Bumps [ethereumjs-util](https://github.com/ethereumjs/ethereumjs-util ) from 6.2.0 to 7.0.0.
- [Release notes](https://github.com/ethereumjs/ethereumjs-util/releases )
- [Changelog](https://github.com/ethereumjs/ethereumjs-util/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ethereumjs/ethereumjs-util/compare/v6.2.0...v7.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* update use of ethereumjs-util
* fix use of keccak hash function
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-05-04 14:55:16 -03:00
ca38899ede
Upgrade solhint to 3.0 ( #2223 )
2020-05-04 14:49:41 -03:00
61973af29f
Remove misleading SafeMath comment
2020-04-28 12:46:32 -03:00
087d314daf
3.0.1
v3.0.1
2020-04-27 15:30:27 -03:00
6e3de4d48a
Merge pull request #2213 from nventuro/merge-v2.5.1
...
Merge v2.5.1 into v3.0.0
2020-04-27 15:25:11 -03:00
dc3f92210b
Bump mocha from 7.1.1 to 7.1.2 ( #2216 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v7.1.1...v7.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-27 12:00:45 -03:00
1ff8a97d11
add docs badge
2020-04-24 19:46:24 -03:00
dd226e1987
Add latest audit notice
2020-04-24 16:35:24 -03:00
d0f67f99a7
Add changelog entry
2020-04-24 16:08:00 -03:00
e156b617b9
Merge branch 'release-v2.5.0'
2020-04-24 16:04:40 -03:00
837828967a
2.5.1
v2.5.1
2020-04-24 15:57:33 -03:00
3843c9beb7
Add changelog entry
2020-04-24 15:34:38 -03:00
c75b016919
Add missing requirements to ERC777 ( #2212 )
...
* Restore _approve check for zero sender
* Add non-zero operator check to _send
2020-04-24 15:33:22 -03:00
ad290e7181
Use msg.sender in docs
2020-04-23 12:15:06 -03:00
364da52a49
Add note about default admin role security ( #2211 )
...
* Add note about default admin security
* Update contracts/access/AccessControl.sol
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-04-22 17:17:33 -03:00
e50e496f5b
Remove unnecessary linter ignore
2020-04-21 15:04:04 -03:00
c4be4d16e8
ERC721 documentation ( #2164 )
...
* Add documentation to the IERC721 contract
* Add documentation to the IERC721Metadata contract
* Add documentation to the IERC721Enumerable contract
* Improves IERC721 documentation
* Improves IERC721Metadata documentation
* Improves IERC721Enumerable documentation
* Fixes documentations issues in IERC721
* Improves ERC721 interfaces documentation
2020-04-21 15:00:48 -03:00
6f40ed3fbf
Fix crossreference
2020-04-20 21:27:48 -03:00
57551c8516
Fix asciidoc typos
2020-04-20 21:06:36 -03:00
b7452960be
3.0.0
v3.0.0
2020-04-20 20:37:38 -03:00
32f55009af
Remove outdated notes to v2.x docs
2020-04-20 20:37:20 -03:00
a4320108d5
Remove prerelease tag from docs
2020-04-20 20:24:24 -03:00
05085aa605
Merge branch 'master' into release-v3.0.0
2020-04-20 20:21:14 -03:00
528c23d679
Remove ethpm.json and update releasing docs ( #2205 )
...
* remove ethpm.json
* update releasing document
* fix release documentation to be more realistic
2020-04-20 20:10:30 -03:00