175e2c7254
convert Crowdsale to initializers
2018-09-27 18:43:58 -03:00
536262f2ec
Feature/use expect event in test logs assertions #1232 ( #1343 )
...
* Add BigNumber support to expectEvent/inLogs (#1026 )
* switched direct logs array check to expectEvent method in AllowanceCrowdsale.test.js
* Refactor expectEvent.inLogs function to use simple value number check
* Introduced should.be.bignumber method to compare BigNumber values
* Use expectEvent to test logs (#1232 )
* Removed trailing space
2018-09-27 11:33:28 -03:00
a0a3187b30
make roles initializers idempotent
2018-09-26 19:21:25 -03:00
f3b5f9e8f0
convert SignatureBouncer to initializers
2018-09-26 19:01:36 -03:00
e6d5379e39
convert TokenVesting to initializers
2018-09-26 18:59:07 -03:00
8bf7356f38
convert ERC20Migrator to initializers
2018-09-26 18:49:47 -03:00
d7b7644e68
convert ERC1046 to initializers
2018-09-26 18:30:45 -03:00
8dd0739072
convert BreakInvariantBounty to initializers
2018-09-26 18:26:45 -03:00
838509c0a4
Merge branch 'release-v2.0.0' of github.com:OpenZeppelin/openzeppelin-solidity into release-v2.0.0
2018-09-26 18:19:41 -03:00
e6252d511c
convert SimpleToken to initializers
2018-09-26 18:08:29 -03:00
e2e05294b0
convert RefundEscrow to initializers
2018-09-26 18:01:02 -03:00
3130a3f3de
convert ConditionalEscrow to initializers
2018-09-26 17:55:08 -03:00
884d5e0132
convert SplitPayment to initializers
2018-09-26 17:51:33 -03:00
8d28bd445a
covnert TokenTimelock into initializers
2018-09-26 17:46:54 -03:00
75c0a59bb4
Add missing tests to ECSDA ( #1248 )
...
* fix: refactor sign.js and related tests
* fix: remove unused dep
* fix: update package.json correctly
* Add missing tests to ECRecovery
* fix lint
* Reorganize the tests
* Reuse signature
* fix static errors
* Apply suggestions by @frangion and @nventuro
* Remove only
* More suggestions
* Remove unnecessary max-len
* remove only
2018-09-26 17:36:45 -03:00
d643caf8fe
convert CapperRole and SignerRole to initializers
2018-09-26 17:18:45 -03:00
a010d88def
convert ERC721Pausable to initializers
2018-09-26 17:12:16 -03:00
d3116fcea8
add Initializable to simple ERC721 contracts
2018-09-26 17:12:16 -03:00
947de54cee
Add BigNumber support to expectEvent/inLogs ( #1026 ) ( #1338 )
...
* Add BigNumber support to expectEvent/inLogs (#1026 )
* switched direct logs array check to expectEvent method in AllowanceCrowdsale.test.js
* Refactor expectEvent.inLogs function to use simple value number check
* Introduced should.be.bignumber method to compare BigNumber values
* Destructure transaction object to extract logs field
2018-09-26 17:04:41 -03:00
cda2866e7c
convert ERC721Burnable to initializers
2018-09-26 16:45:37 -03:00
fa5ecd03cb
Improved bounty tests. ( #1350 )
...
* Improved bounty tests.
* Fixed linter errors.
* Addressed review comments.
(cherry picked from commit ae109f69cc )
2018-09-26 16:37:31 -03:00
ae109f69cc
Improved bounty tests. ( #1350 )
...
* Improved bounty tests.
* Fixed linter errors.
* Addressed review comments.
2018-09-26 16:32:50 -03:00
1b0c6b94b9
Removed mintingFinished. ( #1351 )
...
* Removed mintingFinished from ERC20Mintable.
* Removed MintingFinished from ERC721Mintable.
* Removed MintingFinished event.
(cherry picked from commit 5fdeaa81d5 )
2018-09-26 16:06:27 -03:00
5fdeaa81d5
Removed mintingFinished. ( #1351 )
...
* Removed mintingFinished from ERC20Mintable.
* Removed MintingFinished from ERC721Mintable.
* Removed MintingFinished event.
2018-09-26 16:05:43 -03:00
652243b7c3
Removed assertions from Escrow and SplitPayment. ( #1349 )
...
(cherry picked from commit db2e1d2c74 )
2018-09-26 12:57:15 -03:00
db2e1d2c74
Removed assertions from Escrow and SplitPayment. ( #1349 )
2018-09-26 12:57:02 -03:00
c9e8a66e85
Add the missing test for ERC721Holder ( #1249 )
...
* Add the missing test for ERC721Holder
* fix lint
* Move the holder test to a separate file
(cherry picked from commit 396680b856 )
2018-09-26 12:15:08 -03:00
e7c99dd7dd
Roles now emit events in construction and when renouncing. ( #1329 )
...
* release candidate v2.0.0-rc.1
* fix linter error
(cherry picked from commit c12a1c6898 )
* Roles now emit events in construction and when renouncing.
(cherry picked from commit 21198bf1c1 )
2018-09-26 12:14:34 -03:00
396680b856
Add the missing test for ERC721Holder ( #1249 )
...
* Add the missing test for ERC721Holder
* fix lint
* Move the holder test to a separate file
2018-09-26 12:00:08 -03:00
21198bf1c1
Roles now emit events in construction and when renouncing. ( #1329 )
...
* release candidate v2.0.0-rc.1
* fix linter error
(cherry picked from commit c12a1c6898 )
* Roles now emit events in construction and when renouncing.
2018-09-26 11:36:41 -03:00
aa6a44bb20
convert PullPayment to initializers
2018-09-25 19:38:15 -03:00
10642d14ea
convert Escrow to initializers
2018-09-25 19:33:58 -03:00
6ac45333fe
convert Secondary to initializers
2018-09-25 19:31:59 -03:00
0962b9e5e6
convert ERC20Pausable to initializers
2018-09-25 18:53:24 -03:00
c630cb4016
convert Pausable to initializers
2018-09-25 18:51:19 -03:00
21e016378c
convert PauserRole to initializers
2018-09-25 18:48:18 -03:00
7cee6df3f7
convert ERC20Capped to initializers
2018-09-25 18:41:19 -03:00
57325f51ff
convert ERC20Burnable to initializers
2018-09-25 18:23:20 -03:00
20a2aa4274
adjust name in package.json
2018-09-25 17:59:28 -03:00
5c1c43d2e1
convert ERC721Mintable to initializers
2018-09-25 17:56:44 -03:00
f3a0a6a463
convert ERC721Full, ERC721Enumerable, ERC721Metadata to initializers
2018-09-25 17:51:28 -03:00
416c4ced2c
convert ERC721 to initializers
2018-09-25 17:46:16 -03:00
3f51d342d1
convert ERC20Mintable
2018-09-25 17:42:50 -03:00
1f54c72d1d
add Initializable to MinterRoleMock
2018-09-25 17:42:50 -03:00
f90fd5330e
convert ERC20Detailed
2018-09-25 17:34:19 -03:00
653b154b0e
convert ERC20
2018-09-25 17:32:54 -03:00
6e0ace1914
make initializer modifier check if running in constructor
2018-09-24 20:39:14 -03:00
5b8d5eb5e9
convert ERC165 to initializers
2018-09-24 20:36:32 -03:00
3a3d2b154f
transform MinterRole to initializers
2018-09-24 10:34:13 -03:00
f3606e3e21
transform Ownable to initializers
2018-09-24 10:30:07 -03:00