4201d50dcf
ECRecovery library added with test and docs
2017-07-18 11:31:30 -03:00
950b6a5e56
sanity check for RefundableCrowdsale: goal > 0
2017-07-17 21:36:09 -03:00
db40fd314a
sanity check for CappedCrowdsale: cap > 0
2017-07-17 21:36:09 -03:00
5e423bc353
add release function, deprecate claim
2017-07-05 11:24:59 -03:00
6eac859781
Test if unpause prevents events allowed in paused state
2017-07-03 17:06:47 +01:00
d5a75362ec
Merge pull request #288 from frangio/refactor/math
...
Move SafeMath and create Math library for assorted operations
2017-07-02 18:13:47 -03:00
e748c3ea36
Merge pull request #283 from OpenZeppelin/crowdsale
...
Add Crowdsale contracts
2017-07-02 17:59:19 -03:00
759f8de81f
fix import directories
2017-07-02 17:52:44 -03:00
d2dd6e40b6
added new test for a day passed scenario to the DayLimit contract
2017-07-02 21:06:58 +01:00
b3ca0c73b3
add a TokenTimelock contract
2017-06-30 21:25:59 -03:00
fadb2cf47e
add tests for crowdsale contracts
2017-06-30 15:50:47 -03:00
4d55d8fa8e
give more balance to testrpc accounts
...
includes fix to MultisigWallet test because bigger balances result in
floating point errors (see #204 )
2017-06-30 15:50:47 -03:00
3c9638b62e
Refactoring to not DRY.
...
The latest test case is not affected since the aproval is for
accounts[1], which does the transaction, and it is independent of
the amount of tokens that accounts[0] might have.
2017-06-29 13:18:54 -05:00
60ef284a9a
Typo in variable, using global tAMOUNT for the latest test case.
2017-06-29 13:13:53 -05:00
b40a01e97b
Small refactoring to not DRY
2017-06-29 13:12:58 -05:00
de99e7bf34
Prevent DRY
2017-06-29 12:31:32 -05:00
549590d105
Refactored to prevent DRY with beforeEach().
...
Refs# 259
2017-06-26 17:32:34 -05:00
30e202313d
Fix indentation in MerkleProof.sol and remove mock contract
2017-06-15 11:10:37 -04:00
2e0bd06da2
Add tests, docs and MerkleTree helper
2017-06-15 11:07:22 -04:00
3c4d0d0a77
MerkleProof library and initial stubbed out tests
2017-06-14 16:34:46 -04:00
6ede3d9001
Upgrade to Truffle version 3.2.2 and Solidity version 0.4.11
2017-06-06 21:41:54 -06:00
a6a2ee2bf1
Merge with master
2017-05-21 16:08:47 -04:00
929367f0ab
Reorg code
2017-05-21 12:10:04 +02:00
713b472253
Add tests for non-revokable and revokable/burnable cases
2017-05-21 11:17:24 +02:00
a1d2b673c6
Fix tests for revokable/non burn vesting calendar
2017-05-21 10:44:03 +02:00
12aadbed51
Move check to transferFrom and add tests
2017-03-06 11:09:01 +01:00
b134645637
Merge pull request #150 from maraoz/solidty-version
...
solidity version 0.4.8
2017-02-23 09:12:54 -03:00
26335e669e
Added a contactable contract and some tests for it
2017-02-22 16:28:01 -03:00
52b66c744f
solidity version 0.4.8
2017-02-21 19:29:03 -03:00
3d6988cf90
Update modifiers so that they fail "loudly" by throwing errors rather then silently no-oping. Updated tests to remain compatible with these changes
2017-02-21 00:05:59 +01:00
9bd51db2b2
refactor tests for truffle 3
2017-02-17 18:03:52 -03:00
7e7193ae61
truffle 2=>3
2017-02-15 12:14:50 -03:00
0a5af4b8ac
Change operations order for rounding. Make tests use blocktime as reference time rather than date.
2017-02-13 11:35:32 +01:00
ee56abcc8a
remove console.logs from timer
2017-02-10 18:35:05 -03:00
b67f60929c
make VestedToken test deterministic
2017-02-10 18:32:58 -03:00
0b71dcded2
Rename GrantableToken to VestedToken
2017-02-10 16:20:23 +01:00
f305382ef4
Remove grantTokens without vesting function
2017-02-10 16:18:36 +01:00
93e7984c61
Transferrable is now transferrable
2017-02-10 14:59:19 +01:00
8d9e12eda3
Add GrantableToken tests
2017-02-09 13:23:12 +01:00
fb0a96332c
GrantableTokenMock
2017-02-08 15:27:39 +01:00
ae73f1a564
Renamed files and replaced occurencies of 'Stoppable' to 'Pausable'
2017-01-30 23:30:43 -02:00
2f0471fff2
Make test cases that use assertJump fail if they dont fail
2017-01-23 19:18:41 +01:00
0dfb27ff5f
fix tests
2017-01-16 17:42:26 -03:00
d974924045
Added claimAfterBlock variable and tests changes to support changes
2016-12-29 16:12:32 -03:00
e310e6728b
Merge remote-tracking branch 'OpenZeppelin/master'
2016-12-29 15:54:19 -03:00
74adaeedf2
Merge pull request #119 from adklempner/refactorDayLimit
...
Decouple Shareable from DayLimit
2016-12-27 13:12:51 -03:00
8aa06bda38
Create tests for MultisigWallet
2016-12-22 18:34:05 -08:00
36fa2a72cf
Decouple Shareable from DayLimit
2016-12-21 16:43:39 -08:00
bb22cd62ac
Merge pull request #100 from adklempner/shareable-test
...
Create tests for Shareable
2016-12-20 18:22:23 -03:00
e5eaa919b1
Make isOwner() const. Add necessary toString() calls in tests.
2016-12-20 13:02:24 -08:00