Francisco Giordano
6bd6b76d11
4.4.1
3 years ago
Francisco Giordano
4961a51cc7
4.4.0
3 years ago
Francisco Giordano
65ef662a2b
4.4.0-rc.1
3 years ago
Francisco Giordano
0a87a4e75b
4.4.0-rc.0
3 years ago
Francisco Giordano
c9bdb1f0ae
Add a comment documenting the package version being used ( #2918 )
3 years ago
Hadrien Croubois
b0cf6fbb7a
Add Prettier for linting and fix Solhint config ( #2697 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Hadrien Croubois
24a0bc23cf
Reorganize the repo structure ( #2503 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Andre Korol
974c534210
Update contracts to support Solidity 0.8.x ( #2442 )
...
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
4 years ago
Francisco Giordano
90ed1af972
Support compiling with solc 0.7 ( #2408 )
4 years ago
Elena Gesheva
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
5 years ago
Nicolás Venturo
fac773ac99
Add SPX license identifier ( #2235 )
...
(cherry picked from commit 56de324afe
)
5 years ago
Nicolás Venturo
56de324afe
Add SPX license identifier ( #2235 )
5 years ago
Nicolás Venturo
5dfe7215a9
Migrate Contracts to Solidity v0.6 ( #2080 )
...
* Initial migration to Solidity 0.6.x - v3.0 first steps (#2063 )
* Initial migration, missing GSN, 721, 777 and Crowdsales.
* Add _beforeTokenOperation and _afterTokenOperation.
* Add documentation for hooks.
* Add hooks doc
* Add missing drafts
* Add back ERC721 with hooks
* Bring back ERC777
* Notes on hooks
* Bring back GSN
* Make functions virtual
* Make GSN overrides explicit
* Fix ERC20Pausable tests
* Remove virtual from some view functions
* Update linter
* Delete examples
* Remove unnecessary virtual
* Remove roles from Pausable
* Remove roles
* Remove users of roles
* Adapt ERC20 tests
* Fix ERC721 tests
* Add all ERC721 hooks
* Add ERC777 hooks
* Fix remaining tests
* Bump compiler version
* Move 721BurnableMock into mocks directory
* Remove _before hooks
* Fix tests
* Upgrade linter
* Put modifiers last
* Remove _beforeTokenApproval and _beforeOperatorApproval hooks
5 years ago
Andrew B Coathup
bd1f2ededd
Update Arrays.sol ( #1863 )
...
Fix typo
6 years ago
Francisco Giordano
e41daba7b4
merge api docs changes
...
Squashed commit of the following:
commit 06243c3e8e86074ff8e9e3f22b7829a2c315d707
Merge: 991882ec 99373558
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 18:15:37 2019 -0300
Merge branch 'api-docs' into api-docs-merge
commit 991882eca5bb8a3391995154bfb9d53d8a69cb4f
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 18:08:02 2019 -0300
manually apply docs changes and renamings
commit fa1f6e97dd67a76c3cd828d0a5e19b4ac6c37acb
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 17:36:03 2019 -0300
move functions to new order
commit 99373558e3af4905d29bc6f3f542ba93d28a24ab
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 16:23:40 2019 -0300
add missing docs links
commit d180d6c36a6f5460e85473ee5a18992d1449a6ff
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 16:14:12 2019 -0300
update solidity-docgen dependency
fixes uri encoded links
commit faab0e50da91cd2f0a409e3ad32e2db127ad319a
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 16:05:03 2019 -0300
update openzeppelin-docsite and solidity-docgen dependencies
add visibility specifiers
commit ef305268bb2735e488e35d16819a4b432b3a35e3
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 23 15:36:45 2019 -0300
Fix guide links.
commit 339b20dbfa2d5f6ea02e63c2f3fdcba0fe879c3c
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 23 13:37:51 2019 -0300
Fix typos.
commit 6c7b97460578b9eea90b53c280454e361f8f0052
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 15:26:29 2019 -0300
fix utilities guide links
commit 0e7692a8fd8516a11becc4121d77d792439600b1
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 15:23:19 2019 -0300
update solidity-docgen dependency
commit ebb8a8651516ece21736c6c3b2577eb1b3487651
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 15:15:01 2019 -0300
fix utilities guide links
commit 5ec47d62785e1d6e5f8e91edca58f2dc7f87d7a3
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 15:14:49 2019 -0300
fix escrow docs ordering
commit cdcdc909b16f219a9a3272036b6a8f21e34b48ef
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 13:35:07 2019 -0300
add wip notice
commit 987e2951ae93211c8c70c8288e30573555c57830
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 13:09:35 2019 -0300
update openzeppelin-docsite dependency
fixes links to old versions
commit b00d22c0affac2e2108df8b773dfa1706afcb44e
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 13:09:28 2019 -0300
fix guide links
commit f112a9400c5e5ad495c8e0fdb972e26987b34244
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 20:42:37 2019 -0300
update docsite
commit 68aacdd56a29e35a84f6732f9293612bbcaf7520
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 20:00:39 2019 -0300
ERC20Capped
commit 4edce78bab2c6d140f3ea3f33db71e92ca4d8aaf
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 19:52:30 2019 -0300
Unnecessary polish on token docs.
commit 2a4c91cf49c2736dc09c1c03cf383911def1a1b2
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 19:20:05 2019 -0300
rename guides
commit 61dd818ea76d4c170c4ab175c6be0d6067d21a29
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 17:04:09 2019 -0300
ERC1820 docs.
commit 77b5f0353123b76358dc6d86bdc646c86c9b0bea
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 16:17:34 2019 -0300
Introspection and ERC165.
commit 76641a253b3b70279802c5134dd107532eea4b2c
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 17:59:53 2019 -0300
update docgen
commit 7be98bc3fbd3566231f943f01b9acb58567d755b
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 17:23:50 2019 -0300
update solidity-docgen
commit f7268e6e010f8ef9ac83df241a803f91efc08c0c
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 16:58:31 2019 -0300
update docgen
commit 2a8c7a378e8962a5baeb334b2492815f05075f98
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 14:36:35 2019 -0300
Util docs.
commit 327ae8ff45a1a523c7591bf4996c4a9b52d7ec7a
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 13:08:50 2019 -0300
add missing drafts
commit 5e7f71335ac8423c0e363ae8c7ad9b2977f202f8
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 12:47:41 2019 -0300
tweak ierc20 docs
commit cd0e86a0b712f74ffd406e072d4b1fbf4dd2c176
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 12:46:45 2019 -0300
add some erc721 docs
commit e081184159417f71da14bc0fc110b7b11e29d75d
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 12:41:46 2019 -0300
update docsite
commit 0beb75784022419d47123c2a9fe7a5f1eb87f9b2
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 12:22:27 2019 -0300
correct drafts structure
commit 2e94b287c7cead7a6c0603205670566461c31abb
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 11:56:25 2019 -0300
fix docsite-start script
commit 0fa4160484309d0851584fe57c0d81a3600977db
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 11:47:44 2019 -0300
improve docsite start script (automatically watch docgen)
commit 9d571897cc03bee92035964cf7a2cfeda1e2f690
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 11:30:37 2019 -0300
update solidity-docgen
commit 82980f5aefbdfb8a9815a3b7b0e88e970b65dd5d
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 19:15:13 2019 -0300
edit docs for Secondary
commit 00d7a005b0530bee730b77a1b69a95f1b4ffe315
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 19:15:13 2019 -0300
edit docs for ownable
commit b0c4c2bdf83eca5d4a71792daac603236733d46e
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 18:27:13 2019 -0300
change title of Math section
commit deb788583f191780e55b7f673520eaf13a5c7e23
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 18:26:59 2019 -0300
capitalization
commit f2bcf85d343ea4a0739fe22a77b1e22c2296ddea
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 18:26:06 2019 -0300
edit docs for Pausable
commit 73ba0cf43dbb44c39c1bf2ee63ef9fe558faa919
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Sat May 18 19:08:06 2019 -0300
Crypto docs.
commit 9d6fc6223f51cf2321b2e3217c512579654c3917
Merge: 7e21f8f7 9f1cec12
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Fri May 17 17:23:15 2019 -0300
Merge branch 'api-docs-777' into api-docs
commit 9f1cec12e3351fb1b5fc0b59f5ded39928064a56
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Fri May 17 17:22:54 2019 -0300
ERC777 done.
commit 7e21f8f7b6982d2f92df302cdf6ec62522d8ffff
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Fri May 17 16:39:47 2019 -0300
add math docs
commit f18d1f17023b6e5b42ae04fc38aa1170e6863864
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 20:01:46 2019 -0300
First draft of ERC777 docs.
commit 985c5d3053
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 19:14:32 2019 -0300
Final draft for IERC777.
commit bf53f133d987b67f938a329e6d659ba3483aab0b
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 16 19:13:37 2019 -0300
more work on ERC20 api docs
commit b7c250b7cb
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 17:08:47 2019 -0300
Fix typo.
commit 197bbfbfc6
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 17:05:14 2019 -0300
Initial draft of IERC777.
commit 7dc3b55161c860437a8f13a2ce5808b1c3dd70a2
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 16 11:58:32 2019 -0300
add payment docs structure
commit da16fc4480
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 16:05:33 2019 -0300
Initial ERC777 docstrings.
commit 9f6a7e35bd
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 15 22:13:17 2019 -0300
partial pass through ERC20 docs
(cherry picked from commit 2f9ae975c8
)
6 years ago
Francisco Giordano
2f9ae975c8
merge api docs changes
...
Squashed commit of the following:
commit 06243c3e8e86074ff8e9e3f22b7829a2c315d707
Merge: 991882ec 99373558
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 18:15:37 2019 -0300
Merge branch 'api-docs' into api-docs-merge
commit 991882eca5bb8a3391995154bfb9d53d8a69cb4f
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 18:08:02 2019 -0300
manually apply docs changes and renamings
commit fa1f6e97dd67a76c3cd828d0a5e19b4ac6c37acb
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 17:36:03 2019 -0300
move functions to new order
commit 99373558e3af4905d29bc6f3f542ba93d28a24ab
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 16:23:40 2019 -0300
add missing docs links
commit d180d6c36a6f5460e85473ee5a18992d1449a6ff
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 16:14:12 2019 -0300
update solidity-docgen dependency
fixes uri encoded links
commit faab0e50da91cd2f0a409e3ad32e2db127ad319a
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 16:05:03 2019 -0300
update openzeppelin-docsite and solidity-docgen dependencies
add visibility specifiers
commit ef305268bb2735e488e35d16819a4b432b3a35e3
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 23 15:36:45 2019 -0300
Fix guide links.
commit 339b20dbfa2d5f6ea02e63c2f3fdcba0fe879c3c
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 23 13:37:51 2019 -0300
Fix typos.
commit 6c7b97460578b9eea90b53c280454e361f8f0052
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 15:26:29 2019 -0300
fix utilities guide links
commit 0e7692a8fd8516a11becc4121d77d792439600b1
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 15:23:19 2019 -0300
update solidity-docgen dependency
commit ebb8a8651516ece21736c6c3b2577eb1b3487651
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 15:15:01 2019 -0300
fix utilities guide links
commit 5ec47d62785e1d6e5f8e91edca58f2dc7f87d7a3
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 15:14:49 2019 -0300
fix escrow docs ordering
commit cdcdc909b16f219a9a3272036b6a8f21e34b48ef
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 13:35:07 2019 -0300
add wip notice
commit 987e2951ae93211c8c70c8288e30573555c57830
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 13:09:35 2019 -0300
update openzeppelin-docsite dependency
fixes links to old versions
commit b00d22c0affac2e2108df8b773dfa1706afcb44e
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 23 13:09:28 2019 -0300
fix guide links
commit f112a9400c5e5ad495c8e0fdb972e26987b34244
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 20:42:37 2019 -0300
update docsite
commit 68aacdd56a29e35a84f6732f9293612bbcaf7520
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 20:00:39 2019 -0300
ERC20Capped
commit 4edce78bab2c6d140f3ea3f33db71e92ca4d8aaf
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 19:52:30 2019 -0300
Unnecessary polish on token docs.
commit 2a4c91cf49c2736dc09c1c03cf383911def1a1b2
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 19:20:05 2019 -0300
rename guides
commit 61dd818ea76d4c170c4ab175c6be0d6067d21a29
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 17:04:09 2019 -0300
ERC1820 docs.
commit 77b5f0353123b76358dc6d86bdc646c86c9b0bea
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 16:17:34 2019 -0300
Introspection and ERC165.
commit 76641a253b3b70279802c5134dd107532eea4b2c
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 17:59:53 2019 -0300
update docgen
commit 7be98bc3fbd3566231f943f01b9acb58567d755b
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 17:23:50 2019 -0300
update solidity-docgen
commit f7268e6e010f8ef9ac83df241a803f91efc08c0c
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 16:58:31 2019 -0300
update docgen
commit 2a8c7a378e8962a5baeb334b2492815f05075f98
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Wed May 22 14:36:35 2019 -0300
Util docs.
commit 327ae8ff45a1a523c7591bf4996c4a9b52d7ec7a
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 13:08:50 2019 -0300
add missing drafts
commit 5e7f71335ac8423c0e363ae8c7ad9b2977f202f8
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 12:47:41 2019 -0300
tweak ierc20 docs
commit cd0e86a0b712f74ffd406e072d4b1fbf4dd2c176
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 12:46:45 2019 -0300
add some erc721 docs
commit e081184159417f71da14bc0fc110b7b11e29d75d
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 12:41:46 2019 -0300
update docsite
commit 0beb75784022419d47123c2a9fe7a5f1eb87f9b2
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 12:22:27 2019 -0300
correct drafts structure
commit 2e94b287c7cead7a6c0603205670566461c31abb
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 11:56:25 2019 -0300
fix docsite-start script
commit 0fa4160484309d0851584fe57c0d81a3600977db
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 11:47:44 2019 -0300
improve docsite start script (automatically watch docgen)
commit 9d571897cc03bee92035964cf7a2cfeda1e2f690
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 22 11:30:37 2019 -0300
update solidity-docgen
commit 82980f5aefbdfb8a9815a3b7b0e88e970b65dd5d
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 19:15:13 2019 -0300
edit docs for Secondary
commit 00d7a005b0530bee730b77a1b69a95f1b4ffe315
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 19:15:13 2019 -0300
edit docs for ownable
commit b0c4c2bdf83eca5d4a71792daac603236733d46e
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 18:27:13 2019 -0300
change title of Math section
commit deb788583f191780e55b7f673520eaf13a5c7e23
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 18:26:59 2019 -0300
capitalization
commit f2bcf85d343ea4a0739fe22a77b1e22c2296ddea
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Tue May 21 18:26:06 2019 -0300
edit docs for Pausable
commit 73ba0cf43dbb44c39c1bf2ee63ef9fe558faa919
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Sat May 18 19:08:06 2019 -0300
Crypto docs.
commit 9d6fc6223f51cf2321b2e3217c512579654c3917
Merge: 7e21f8f7 9f1cec12
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Fri May 17 17:23:15 2019 -0300
Merge branch 'api-docs-777' into api-docs
commit 9f1cec12e3351fb1b5fc0b59f5ded39928064a56
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Fri May 17 17:22:54 2019 -0300
ERC777 done.
commit 7e21f8f7b6982d2f92df302cdf6ec62522d8ffff
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Fri May 17 16:39:47 2019 -0300
add math docs
commit f18d1f17023b6e5b42ae04fc38aa1170e6863864
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 20:01:46 2019 -0300
First draft of ERC777 docs.
commit 985c5d3053
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 19:14:32 2019 -0300
Final draft for IERC777.
commit bf53f133d987b67f938a329e6d659ba3483aab0b
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 16 19:13:37 2019 -0300
more work on ERC20 api docs
commit b7c250b7cb
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 17:08:47 2019 -0300
Fix typo.
commit 197bbfbfc6
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 17:05:14 2019 -0300
Initial draft of IERC777.
commit 7dc3b55161c860437a8f13a2ce5808b1c3dd70a2
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Thu May 16 11:58:32 2019 -0300
add payment docs structure
commit da16fc4480
Author: Nicolás Venturo <nicolas.venturo@gmail.com>
Date: Thu May 16 16:05:33 2019 -0300
Initial ERC777 docstrings.
commit 9f6a7e35bd
Author: Francisco Giordano <frangio.1@gmail.com>
Date: Wed May 15 22:13:17 2019 -0300
partial pass through ERC20 docs
6 years ago
Nicolás Venturo
ae919629cd
Revert Solidity version bump. ( #1729 )
...
(cherry picked from commit 67bca857ee
)
6 years ago
Nicolás Venturo
67bca857ee
Revert Solidity version bump. ( #1729 )
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
nikeshnazareth
0dded493a0
Nonfunctional typos #1643 ( #1652 )
...
* Add IntelliJ IDE config to .gitignore
* Fix variable name in ERC20 function comments
* Fix typos in Arrays function comment
* Fix typos in ownership test names
* Fix typo in Pausable test name
* Fix grammar in Ownable function comment
* Fix grammar in Crowdsale contract comment
* Fix typo in Counters contract comment
* Fix typo in ERC721Enumerable comment
* Fix typo in ERC721PausedToken test name
* Fix typo in Crowdsale function comment
* Fix typo in IncreasingPriceCrowdsale function comment
* Fix grammar in IncreasingPriceCrowdsale test name
* Fix typo in AllowanceCrowdsale test name
* Fix typo in RefundEscrow function comment
* Fix typo in ERC20Migrator contract comment
* Fix typos in SignatureBouncer comments
* Fix typo in SignedSafeMath test name
* Fix typo in TokenVesting contract comment
* Move Ownable comment from @notice section to @dev
The Ownable contract has a comment explaining that renouncing
ownership will prevent execution of functions with the onlyOwner
modifier.
This commit moves that comment to the @dev section and replaces it
with a description suitable for a generic user.
* Clarify purpose of ERC20 transfer function
* Clarify registration of ERC721Enumerable interface
* Clarify purpose of AllowanceCrowdsale test
* Increase specificity of inheritance comments
FinalizableCrowdsale and RefundableCrowsale both have comments
indicating that they are extensions of the Crowdsale contract.
This commit refines those comments to the most immediate ancestor
( TimedCrowdsale and RefundableCrowdsale respectively )
* Remove unused parameter in PaymentSplitter test
* Rename parameter in SignatureBouncer functions
The SignatureBouncer contract has modifiers to validate the
message sender is authorised to perform an action. They pass
msg.sender to internal functions as the variable `account`, but
the function comments refer to the variable as `sender`
This commit changes the variable name to `sender`
* Clarify comments in SignatureBouncer functions
The SignatureBouncer has comments that use the description
`sender` to refer to the variable `account`.
This commit updates the comments for consistency.
Maintainer Note: this reverts changes in the previous commit,
which renamed the variable `account` instead.
6 years ago
Leo Arias
9cf68279c1
Fix typo: to be find ( #1642 )
6 years ago
Leo Arias
039e5b9602
Fix typo: grater
6 years ago
Nicolás Venturo
b7d60f2f9a
Fix warnings ( #1606 )
...
* Bump required compiler version to 0.5.2.
* Fix shadowed variable warning in ERC20Migrator.
* Rename Counter to Counters.
* Add dummy state variable to SafeERC20Helper.
* Update changelog entry.
* Fix CountersImpl name.
* Improve changelog entry.
6 years ago
Nicolás Venturo
be5ed7364b
Release v2.1.0 solc 0.5.x ( #1568 )
...
* Now compiling in a separate directory using truffle 5.
* Ported to 0.5.1, now compiling using 0.5.1.
* test now also compiles using the truffle 5 hack.
* Downgraded to 0.5.0.
* Sorted scripts.
* Cleaned up the compile script a bit.
6 years ago
Nicolás Venturo
2da19eebd3
Update Arrays.sol to require solc 0.4.24. ( #1553 )
6 years ago
Nicolás Venturo
5471fc808a
Updated code style to 4 space indentation and 120 characters per line. ( #1508 )
...
* Updated code style to 4 spaces and 120 max characters per line.
* Update contracts/token/ERC721/ERC721Pausable.sol
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
* Update contracts/token/ERC721/IERC721.sol
Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
6 years ago
Jakub Bogacz
8d6250cd5a
Add Arrays library with unit tests ( #1209 ) ( #1375 )
...
* Add Arrays library with unit tests (#1209 )
* prepared due to snapshot token requirements
* add library with method to find upper bound
* add unit test for basic and edge cases
* Imporove documentation for Arrays library
Simplify Arrays.test.js to use short arrays as test date
* Added comment for uint256 mid variable.
* Explaned why uint256 mid variable calculated as Math.average is safe to use as index of array.
(cherry picked from commit f7e53d90fa
)
6 years ago
Jakub Bogacz
f7e53d90fa
Add Arrays library with unit tests ( #1209 ) ( #1375 )
...
* Add Arrays library with unit tests (#1209 )
* prepared due to snapshot token requirements
* add library with method to find upper bound
* add unit test for basic and edge cases
* Imporove documentation for Arrays library
Simplify Arrays.test.js to use short arrays as test date
* Added comment for uint256 mid variable.
* Explaned why uint256 mid variable calculated as Math.average is safe to use as index of array.
6 years ago