a811a0be28
Improves Ownable events ( #1397 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4 .
* updates
* fixes #1392
* event tests added
* constructor event added
(cherry picked from commit af42c39e6c )
2018-10-18 19:03:56 -03:00
9c76d28245
Added a constructor to BreakInvariantBounty. ( #1395 )
...
(cherry picked from commit 3acc2b4216 )
2018-10-18 19:02:57 -03:00
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 )
2018-10-18 19:02:50 -03:00
66bad4ff2a
Removed selfdestruct from BreakInvariantBounty ( #1385 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4 .
* updates
* fixes #1384
* introduced claimable and cancelBounty
* cancelBounty tests
* Update BreakInvariantBounty.test.js
(cherry picked from commit 41f84f8b40 )
2018-10-18 19:02:42 -03:00
41e74dd8d8
Removed old, unused mocks. ( #1382 )
...
(cherry picked from commit b17de011dc )
2018-10-18 18:53:09 -03:00
bbe804a14b
Deleted unnecessary import. ( #1437 )
...
* Deleted unnecessary import.
* Added back SafeMath.
* Removed another unnecessary import.
2018-10-18 18:43:44 -03:00
28cf567e41
Made SampleCrowdsale a bit clearer. ( #1448 )
2018-10-18 18:43:12 -03:00
5bb865218f
Now setting the finalized flag before doing finalization to prevent possbile reentrancy issues. ( #1447 )
2018-10-18 18:42:57 -03:00
94692acb14
Crowdsale docs improvements. ( #1446 )
...
* Added a small Crowdsale fallback gas warning.
* Fixed a couple typos.
2018-10-18 16:57:16 -03:00
384dff9abe
Renamed internal ERC721 check function. ( #1445 )
2018-10-18 16:56:58 -03:00
5bf3907862
Made tokenURI external, as per the spec. ( #1444 )
2018-10-18 16:49:46 -03:00
c8220aeea8
ERC20Capped now capps _all_ minting, even internal calls. ( #1443 )
2018-10-18 16:49:31 -03:00
9155bfe27f
IncPriceCrowdsale consistently returns 0 outside of the crowdsale window. ( #1442 )
2018-10-18 16:36:27 -03:00
1c5f16ae26
Closing time must be strictly after opening time. ( #1440 )
2018-10-18 16:36:11 -03:00
d9fdffe88e
Internal crowdsales ( #1439 )
...
* Made some internal crowdsale methods internal.
* Made all Crowdsale constructors internal.
2018-10-18 16:35:57 -03:00
0c05ce0eb1
Bump to v2.0.1
2018-10-18 20:40:38 +02:00
f28a4427a2
Add missing zos.json files
2018-10-18 20:34:50 +02:00
e5ba8666de
Update readme
2018-10-18 20:12:09 +02:00
2fa3176399
Update to zOS 2.0.0 and version bump to 2.0.0
2018-10-18 20:05:48 +02:00
d1f2b19e6e
Frozen all releases
2018-10-18 19:47:57 +02:00
a8a3e0be05
Deployed openzeppelin-eth to all networks
2018-10-18 19:28:56 +02:00
f38ff1bdbd
Add publish flag to zos.json
2018-10-18 18:34:59 +02:00
34fdb0fe23
Fix split payment contract variable initialization ( #37 )
...
* Remove variables initialization on declaration for SplitPayment contracts
2018-10-18 18:20:05 +02:00
793de306cf
Initialize zos project
2018-10-18 18:17:16 +02:00
0720923115
Add zos CLI as dev dependency and bump zos lib version
2018-10-18 18:17:16 +02:00
95666637b6
Add prepare script ( #36 )
2018-10-18 17:53:56 +02:00
315f426f5c
Improved SafeERC20 allowance handling ( #1407 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4 .
* updates
* fixes #1404
* approve failing test
* suggested changes done
* ISafeERC20 removed
* allowance methods in library
* Improved SafeERC20 tests.
* Fixed test coverage.
2018-10-18 12:25:03 -03:00
67dac7ae99
TokenVesting improvements ( #1431 )
...
* Improved TokenVesting events.
* Added extra checks to TokenVesting.
* Renamed the events.
* Fixed linter error.
* Fixed a test that failed to cover a require.
* Renamed TokensRevoked to TokenVestingRevoked.
2018-10-18 11:27:46 -03:00
a07499796a
SplitPayment improvements ( #1417 )
...
* Renamed file, added events and set _addPayee to private
* unwanted file
* adjusted test
* adjusted test
* PaymentReceived event added
* Added event testing.
* Fix static tests
2018-10-18 11:26:54 -03:00
fcab9c89f2
Added address of pauser/unpauser in events ( #1410 )
...
* Added address of pauser/unpauser in events
* Added the account to the Pausable tests.
2018-10-18 11:26:39 -03:00
cbe414864f
Events added to Secondary ( #1425 )
...
* Update contracts/ownership/Secondary.sol
* Update Secondary.sol
* Update Secondary.test.js
* Update Secondary.test.js
* Update Secondary.sol
2018-10-18 11:00:33 -03:00
0231fac514
Added leading underscore to internal functions, renamed supportsInterfaces. ( #1435 )
2018-10-18 10:49:01 -03:00
ff0c048ad9
Added replay attack notice to SignatureBouncer. ( #1434 )
2018-10-18 10:47:55 -03:00
96d6103e0b
Made some inherit-only contracts internal. ( #1433 )
...
* Made some inherit-only contracts internal.
* Added OwnableMock.
2018-10-18 10:47:35 -03:00
0ae92d78eb
Fix linter issues
2018-10-18 15:22:40 +02:00
5e69036bbc
EVM Package examples ( #32 )
...
* Added StandardToken (on-chain lib)
* Added OnChainERC20 example.
* Added OnChainERC721
* Update OnChainERC721.test.js
* Renamed the contracts to Standalone*.
* Fix path to Initializable in StandardToken example
2018-10-18 15:03:34 +02:00
6395ddac2c
Merge pull request #34 from nventuro/oz-eth
...
Updated package.json
2018-10-18 14:45:26 +02:00
df3c113711
Made some TokenVesting public functions private. ( #1427 )
...
* Made some TokenVesting public functions private.
* Fixed linter error.
2018-10-17 18:18:41 -03:00
f3df2dab3d
Moved Escrows into an escrow subdirectory, improved docs. ( #1430 )
...
* Moved Escrows into an escrow subdirectory, improved docs.
* Fixed escrow mock.
* Fixed some more imports.
2018-10-17 17:22:25 -03:00
cfef58361f
Removed default value assignments. ( #1432 )
2018-10-17 17:00:12 -03:00
d8ab8a00f2
Moved some test files around to better reflect the directory layout. ( #1428 )
2018-10-17 16:58:49 -03:00
2733cb4a41
Now using hex for asm memory addresses. ( #1429 )
2018-10-17 16:58:36 -03:00
a2a28b02e8
Updated package.json
2018-10-17 15:15:11 -03:00
03765e08b9
Make state variables private ( #1426 )
...
* added function to renounce ownership
* Make state variables private (#1411 )
2018-10-17 11:35:31 -03:00
9be0f100c4
Removed BreakInvariantBounty. ( #1424 )
2018-10-16 17:21:24 -03:00
a3e312d133
Added Math.sol docstrings. ( #1423 )
2018-10-16 17:21:08 -03:00
3341dd8899
Fixed a typo in a comment. ( #1422 )
2018-10-16 17:20:55 -03:00
3bd30f7382
Roles.add and remove now require pre-conditions on the account. ( #1421 )
2018-10-16 17:20:33 -03:00
844a96d0b9
RefundEscrow's events renamed ( #1418 )
...
* fixes #1414
2018-10-16 10:37:04 -03:00
84a37e1460
Merge pull request #33 from nventuro/erc721-init
...
ERC721 contracts no longer initialize their parents.
2018-10-15 14:32:28 -03:00