George Spasov
ebdba08218
Added overridable getTokenAmount function
7 years ago
Federico Bond
090e2fca16
Remove duplicated constructor call in FinalizableCrowdsaleImpl
7 years ago
AugustoL
f446f5c5cd
Use uint256 in TokenTimeLock contract
7 years ago
Santiago Palladino
1455a5a942
Re-enable solidity coverage
...
- Upgrade version
- Re-enable in travis.yml
- Move mocks to contracts folder for instrumentation
7 years ago
Tal Ater
687dc19a4a
Documented increaseApproval() and decreaseApproval()
7 years ago
Nemil Dalal
161f25fc12
Made spelling for 'reentrant' consistent in comment
7 years ago
Nemil Dalal
d91f4d4bc1
Consistent spellings of reentrant
...
Changed `rentrancy_lock` variable to `reentrancy_lock`
7 years ago
astudnev
8375b6085f
Burnable Token should be inherited from Basic Token issue#596
7 years ago
Matt Condon
677d05743c
feat: update event names for OZ standards and test them
7 years ago
Jesse Busman
aef0f63aee
There's no need to throw when burning 0 tokens
...
Throwing when trying to burn 0 tokens is an unnecessary special case.
If another contract wants to burn() a variable amount, it should not be forced to deal with this special case of burning 0.
7 years ago
Matt Condon
5e55569db6
fix: make roles private
7 years ago
Matt Condon
9bb2c958ec
feat: add adminAddRole, adminRemoveRole, and make hasRole/checkRole public
7 years ago
Matt Condon
e931c1cbfc
feat: RBAC authentication contract and role library
7 years ago
Matt Condon
47585b1117
fix: make SplitPayment payable by default
7 years ago
Alejandro Santander
bb1736e376
Change visibility of fallbacks to external
7 years ago
Dave Hoover
11349835e9
Minor formatting change
7 years ago
Alejandro Santander
b50391862c
Changes to remove warnings
7 years ago
Alejandro Santander
815d9e1f45
Replace constant with view/pure
7 years ago
Alejandro Santander
e6213767fa
Update all solidity versions to 0.4.18
7 years ago
Georgios Konstantopoulos
3c5a268da4
fixes #572
7 years ago
Vladimir Khramov
03ad0efd29
Small code style change
...
http://solidity.readthedocs.io/en/develop/style-guide.html#other-recommendations
The visibility modifiers for a function should come before any custom modifiers.
7 years ago
Chris Whinfrey
8765e2a53f
Use instead of directly calling on
7 years ago
Facundo Spagnuolo
365c875ced
Create detailed ERC20 interface
7 years ago
Andy Chen
be692e59eb
Update RefundVault.sol
7 years ago
thesved
e74652415f
Math.sol is not used, not needed
...
Small thing, but the Math.sol is not really needed, since it is not used.
7 years ago
Chen Yi-Cyuan
5ad07e1892
improve mum performance and reduce gas cost
7 years ago
Chris Whinfrey
7a26a0ecf1
Add capped token contract
7 years ago
Dora E. Mondrian
ac4a19dd7d
Use address type
7 years ago
Dora E. Mondrian
09b1926c41
Use address type
7 years ago
Dora E. Mondrian
d7b67eca52
Use address type
7 years ago
Dora E. Mondrian
e4427befbb
Use address type
7 years ago
Dora E. Mondrian
ca1babe1f7
Use address type
7 years ago
Mikhail Melnik
2d83c557b1
Finish minting should me called only once
...
Multiple calls to `finishMinting` will emit multiple `MintFinished` events which may be surprising if one rely on `MintFinished` event.
7 years ago
Martín Triay
b60e434e0b
[TokenVesting] Add missing safemath ops
7 years ago
Martín Triay
eb9f88bafc
[TokenVesting] Remove unused variable
7 years ago
Martín Triay
aa431dfb20
[TokenVesting] Increase released amount before transfer
7 years ago
Martín Triay
fff8e040b7
[TokenVesting] vestedAmount returns the historical vested amount
7 years ago
Martín Triay
74636b7333
[TokenVesting] Use SafeMath
7 years ago
Francisco Giordano
d5e0714faf
use safeTransfer
7 years ago
Francisco Giordano
a184013d1e
explicitly mark functions public
7 years ago
Francisco Giordano
7d08c4da7f
make TokenVesting variables public
7 years ago
Francisco Giordano
01b92d1d56
fix a problem when revoke is called twice
7 years ago
Dmitry Dudin
790833e5d4
Update SimpleToken.sol
7 years ago
Martín Triay
22b9263674
[TokenVesting] Remove VestedToken and LimitedTranferToken
7 years ago
Martín Triay
9e0e80e820
[TokenVesting] Allow instantiation of already started vesting contracts. Improve comments' wording.
7 years ago
Martín Triay
562fb6945f
[TokenVesting] Rename events according to convention
7 years ago
Martín Triay
822de45bfc
[TokenVesting] Add a start parameter to constructor to defer vesting
7 years ago
Martín Triay
bd56163900
[TokenVesting] Fix vestedAmount calculation. Linearity test watches beneficiary balance over vestedAmount
7 years ago
Martín Triay
c11265e694
[TokenVesting] Add events
7 years ago
Francisco Giordano
3da7c31484
add revocable flag
7 years ago