Francisco Giordano
74db6c2b3b
add missing test for error when doing transferFrom to 0x0
8 years ago
Pavel Rubin
d095ba84bf
Add tests to check transfers to 0x0 fail
8 years ago
Francisco Giordano
c37c233d22
add SafeERC20 tests for succeeding operations
8 years ago
Francisco Giordano
c7636bdc4c
add safe ERC20 helpers
8 years ago
SylTi
51906bae6c
refactor
8 years ago
SylTi
406004a99a
refactor HasNoTokens.sol
8 years ago
Rudy Godoy
289fd87ef8
Tests increase and decrease allowance for spender
...
- Spender starts with 0 tokens allowed to spend
- Spender is granted 50, then decreased it's allowance by 10
Refs PR #224
8 years ago
Jakub Wojciechowski
0d6846a882
Remove moment.js dependencies - updates after review
8 years ago
Francisco Giordano
36452136f1
add test for finishMinting
8 years ago
Jakub Wojciechowski
e86ac90853
Refactor and remove moment.js usages
8 years ago
Jakub Wojciechowski
99e0f5b5cb
Refactor time manipulation in TokenTimelock tests
8 years ago
Francisco Giordano
4fc6bb7977
remove token.finishMinting() from default finalization
8 years ago
Jakub Wojciechowski
46c5759b88
Introduce increaseTimeTo helper method.
8 years ago
Jakub Wojciechowski
7c883b6368
Duration helper and eliminated hardcoded periods
8 years ago
Jakub Wojciechowski
2261039d52
Simplify advanceBlock in tests
8 years ago
Yondon Fu
24323d3ce3
MerkleTree util class hashes elements
8 years ago
Jakub Wojciechowski
c6e055689b
Change crowdsales to use timestamps instead of block numbers #350 update example
8 years ago
Jakub Wojciechowski
2b5192b9ce
Change crowdsales to use timestamps instead of block numbers #350 update derived crowdsales
8 years ago
Jakub Wojciechowski
77dfcb6e23
Change crowdsales to use timestamps instead of block numbers #350
8 years ago
SylTi
4fe837704b
Add Transfer event when token is minted to be fully ERC20 compliant &
...
tests
8 years ago
lsaether
cf58330936
added tests for BurnableToken
8 years ago
Jakub Wojciechowski
a9e1fcd623
Add complex crowdsale example #331 requested changes
8 years ago
Jakub Wojciechowski
04e0b2e5c2
Add complex crowdsale example #331 tests
8 years ago
Yondon Fu
863ad48a81
Check proof length multiple of 32. Use keccak256 instead of sha3
8 years ago
Santiago Palladino
6fccd202fe
Fix invalid number of args for solidity function errors in tests
8 years ago
Francisco Giordano
58e2e4d742
remove MultisigWallet in favor of ConsenSys/MultiSigWallet
8 years ago
Jakub Wojciechowski
b3f60b9320
refactor testing error throwing
8 years ago
Jakub Wojciechowski
5e7847537a
fix testing error throwing
8 years ago
pooleja
64787b1ac5
Add semicolon to match coding standards
8 years ago
pooleja
58fdb956b5
Add assert to prevent regression
8 years ago
Rudy Godoy
6735a3ccd6
Renamed tAMOUNT to much friendly amount
8 years ago
pooleja
6d565ef841
Fix auto-formatting
8 years ago
pooleja
b2e36314cb
Add requirement for address to not be 0 and throw error
8 years ago
Brian Guo
93b953fb48
changed instances of uint to uint256; fixes issue #226
8 years ago
AugustoL
4f44427966
Added function helper, few changes on ECRecover lib
8 years ago
Augusto
f8c0fab5d8
Fixed tests and few changes on contract comments
8 years ago
Augusto
478d1b1a93
Removed safeRecover, using ecrecover method instead, recovering signature from entire hash
8 years ago
AugustoL
68c2bcb9dd
Removed .only on ECRecovery tests
8 years ago
Augusto
635c04378d
Removed ECRecovery mock contract, ECRecovery funcions are public constants
8 years ago
Augusto
4201d50dcf
ECRecovery library added with test and docs
8 years ago
Jakub Wojciechowski
950b6a5e56
sanity check for RefundableCrowdsale: goal > 0
8 years ago
Jakub Wojciechowski
db40fd314a
sanity check for CappedCrowdsale: cap > 0
8 years ago
Francisco Giordano
5e423bc353
add release function, deprecate claim
8 years ago
Jakub Wojciechowski
6eac859781
Test if unpause prevents events allowed in paused state
8 years ago
Francisco Giordano
759f8de81f
fix import directories
8 years ago
Jakub Wojciechowski
d2dd6e40b6
added new test for a day passed scenario to the DayLimit contract
8 years ago
Francisco Giordano
b3ca0c73b3
add a TokenTimelock contract
8 years ago
Francisco Giordano
fadb2cf47e
add tests for crowdsale contracts
8 years ago
Francisco Giordano
4d55d8fa8e
give more balance to testrpc accounts
...
includes fix to MultisigWallet test because bigger balances result in
floating point errors (see #204 )
8 years ago
Rudy Godoy
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.
8 years ago