6bc2ae3731
Add documentation for proxies ( #2344 )
2020-09-02 20:19:54 -03:00
885b76f66f
Fix AsciiDoc missing attribute references
2020-09-01 18:48:43 -03:00
ded2b0a55c
Fix minor typos and grammar in docs ( #2338 )
...
* Fix typos and formatting
* Add Solidity release dates: releases-stability
2020-09-01 15:19:17 -03:00
0f08b1d099
Update dependency mocha to v8.1.3 ( #2340 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2020-09-01 15:10:54 -03:00
aaa5ef81cf
Fix typos ( #2343 )
2020-09-01 14:57:40 -03:00
cb791a1b21
Add Proxies from OpenZeppelin SDK ( #2335 )
2020-08-27 21:02:42 -03:00
0b489f4d79
Improve test descriptions #1157 ( #2334 )
...
Co-authored-by: Paolo Dibitonto <p.dibitonto@almaviva.it >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-08-25 14:58:45 -03:00
c187517395
fix solhint func-visibility for 0.7.0
2020-08-24 18:20:50 -03:00
89e2b7424b
Merge branch 'master' into solc-0.7
2020-08-24 18:14:25 -03:00
1f06fd7e66
Update all non-major dependencies ( #2317 )
...
* Update all non-major dependencies
* disable solhint reason-string rule
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-08-24 18:00:34 -03:00
e5da0986bb
Fix code style parameters in Event ( #2324 )
...
* chore: fix code style parameters in Event
* chore: update code style for events
2020-08-19 11:23:36 -03:00
0fc9578fe6
Merge CODE_STYLE.md into GUIDELINES.md ( #2330 )
2020-08-18 20:57:49 -03:00
b1ea59e814
Improve testing for ERC20Snapshot ( #2331 )
2020-08-18 20:40:51 -03:00
7d48d79b53
Fixed sidebar reference in README.md ( #2329 )
2020-08-18 12:50:35 -03:00
6d5a73815d
Fix ERC20Snapshot#_beforeTokenTransfer ( #2328 )
2020-08-14 11:59:20 -03:00
d1f336d8fd
use svg logo for better scaling
2020-08-12 20:51:33 -03:00
48072e439d
Fix function state mutability warning ( #2327 )
...
Changes state mutability of granularity function from view to pure.
2020-08-12 16:06:21 -03:00
9700e6b4bd
Use beforeTokenTransfer hook in ERC20Snapshot ( #2312 )
2020-08-11 16:51:58 -03:00
722879b32d
increase mocha timeout
2020-08-11 16:45:44 -03:00
943a663a31
Updated ERC1155 tests ( #2107 )
...
Co-authored-by: Alan Lu <alanlu1023@gmail.com >
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-08-11 16:42:51 -03:00
2acb1abb1f
3.1.0-solc-0.7
v3.1.0-solc-0.7
2020-07-30 17:04:48 -03:00
4eb8d2bb10
Revert "feat: use extcodesize for isContract to reduce gas ( #2311 )"
...
This reverts commit c801c8d2bb .
2020-07-30 16:53:44 -03:00
04fc35707d
Migrate contracts to Solidity 0.7 ( #2319 )
...
* Update contract pragmas to solidity 0.7
* Remove internal declaration on constructors
* Reference SafeMath explicitely
* Remove public constructor declaration from abstract contracts
* Remove public constructor declaration from non-abstract contracts
2020-07-29 18:11:32 -03:00
09014f90f9
Remove acronym from Readme
2020-07-24 12:52:40 -03:00
0c667ca32a
docs: add note explaining opinionated presets ( #2313 )
...
* docs: add notes explaining presets
* fix links for mint function
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-07-21 19:04:21 -03:00
7c4a2a0a29
Fix comment reference for function hash ( #2307 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-07-21 17:06:36 -03:00
c801c8d2bb
feat: use extcodesize for isContract to reduce gas ( #2311 )
...
* feat: use extcodesize for isContract to reduce gas
* feat: add changelog entry
2020-07-14 17:08:41 -03:00
98e862e162
Update all non-major dependencies ( #2309 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2020-07-13 14:39:19 -03:00
b9d72d2991
Clean up build directory when publishing
2020-07-07 21:15:26 -03:00
c6612871fb
Fix remaining preset links
2020-07-01 17:37:25 -03:00
b991fca341
Fix presets link
2020-07-01 12:25:05 -03:00
ef3bbbcf40
Add readme notices with link to docs site ( #2300 )
...
* add readme notices
* remove period after url
2020-06-29 17:23:53 -03:00
32f0fe5d08
Add to ERC1155 doc and minor fixes ( #2282 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-06-25 14:28:50 -03:00
6d987f1418
Merge branch 'release-v3.1.0'
2020-06-23 16:10:59 -03:00
de99bccbfd
3.1.0
v3.1.0
2020-06-23 16:09:01 -03:00
0cc882ef9d
typo fix: forwared -> forwarded ( #2290 )
2020-06-23 14:25:30 -03:00
3f4420527b
Separate mapping keyword by whitespace ( #2287 )
...
Co-authored-by: pm_468 <oleg.kuzmenko@lindenvalley.de >
2020-06-19 11:00:05 -03:00
21d06999f6
delete dependabot config
2020-06-16 19:40:06 -03:00
f3803d3a5d
Bump mocha from 7.2.0 to 8.0.1 ( #2280 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 7.2.0 to 8.0.1.
- [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.2.0...v8.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-06-16 15:48:42 -03:00
c6da044dc5
Update ERC20 Supply guide ( #2276 )
...
* update for ERC20PresetMinterPauser
* fix erc20 supply guide to use hooks
2020-06-12 20:20:33 -03:00
02a6b05bde
Update functionCall docs
...
(cherry picked from commit 242400e9ea )
2020-06-12 13:23:07 -03:00
242400e9ea
Update functionCall docs
2020-06-12 13:22:52 -03:00
8c1daaab57
3.1.0-rc.0
v3.1.0-rc.0
2020-06-11 16:53:19 -03:00
7f62c8e145
Fix docs links to overloaded functions ( #2275 )
...
* fix links to overloaded functions
* fix Address xrefs
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
2020-06-11 16:50:00 -03:00
e2876b947d
Fix docs link
2020-06-11 16:49:14 -03:00
ed3a513f86
Fix broken links
2020-06-11 16:48:00 -03:00
b72088a90a
Add 'available since' notices
2020-06-11 16:46:33 -03:00
8b58fc7191
feat: add wrapper function for low level calls ( #2264 )
...
* feat: add wrapper function for low level calls
* add error message parameter
* adding unit tests and required mocks
* implement error message on SafeERC20
* fixed variable name in tests
* Add missing tests
* Improve docs.
* Add functionCallWithValue
* Add functionCallWithValue
* Skip balance check on non-value functionCall variants
* Increase out of gas test timeout
* Fix compile errors
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Add missing tests
* Add changelog entry
Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com >
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-06-11 16:25:46 -03:00
d9fa59f30a
Address ERC1155 changes ( #2267 )
...
* Make holder fns public
* Add context, remove msg.sender from check
* Fix location of Holder arguments
* Add beforeTransfer hook
* Minor test improvements
* Add ERC1155Burnable and tests
* Add ERC1155Pausable
* Add ERC1155PresetMinterPauser.sol
* Add uri constructors
* Improved revert reasons
* Initial docs improvements
* Add missing docs
* Improve acceptance checks revert reasons
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Remove note about 1155 preset uri in mint
* Add rquirements to balanceOfBatch
* Add note about URI and uri
* Fix list in docs
* Fix lint errors
* Use natural sorting for API titles
* Fix doc references
* Escape {id} references to remove docgen warnings
* Added intro docs, fixed links
* Apply suggestions from code review
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
* Add changelog entry
Co-authored-by: Francisco Giordano <frangio.1@gmail.com >
2020-06-09 14:47:51 -03:00
13e2132b69
docs: minor - spelling, grammar ( #2273 )
2020-06-09 13:18:38 -03:00