92b695f2fb
Fix/whitelisted crowdsale ( #981 )
...
* fix: swithc WhitelistedCrowdsale to use Whitelist.sol
* feat: refactor whitelist.sol, rbac.sol and whitelistedcrowdsale.sol
* feat: add event arg assets and update whitelist
* fix: update modifier comment and also test isWhitelisted
* fix: remove onlyWhitelisted backwards compat attempt, fix explicit inheritance
* fix: remove underscore prefix from event args
* fix: user access/Whitelist
2018-06-15 14:11:50 -07:00
07020e9544
Remove redundant @dev tags ( #995 )
...
* Remove redundant @dev tags
* Remove redundant @notice tags
2018-06-14 15:19:59 -07:00
78e39aa2ad
Do not use implicit type conversion for address literals ( #1002 )
...
Uses the explicit address(0) for the zero address
2018-06-13 16:21:24 -07:00
5daaf60d11
Make contracts 4.24 compatible ( #951 )
...
* Make contracts 4.24 compatible
2018-06-13 11:34:32 -07:00
9f1d294ba4
Move Whitelist contract to access directory ( #994 )
2018-06-11 19:35:29 -03:00
72792a724d
ownable: add a notice on renounceOwnership ( #937 )
...
* ownable: add a notice on renounceOwnership
* Apply the suggestion by @shrugs
2018-06-10 16:39:54 -03:00
7fb84b42d5
Refactoring Superuser contract to allow Owners to transfer ownership … ( #978 )
...
* Refactoring Superuser contract to allow Owners to transfer ownership when they are not superusers #50
* Refactoring tests to create a contract instance for each of them #50
2018-06-05 17:28:42 -03:00
2637bd89be
fix: add comment about rbacwithadmin being rather powerful ( #936 )
...
* fix: add comment about rbacwithadmin being rather powerful
* fix: move RBACWithAdmin to examples
2018-06-04 12:32:57 -07:00
a0c03ee61c
Adding new Superuser contract with test ( #952 )
...
* Adding new Superuser contract + tests
2018-06-03 16:14:30 -07:00
5ab9024b6a
update balance syntax for solidity 0.4.23 ( #940 )
2018-05-30 16:10:08 -07:00
746673a94f
style: use the max-len solidity rule ( #944 )
2018-05-14 11:42:32 -06:00
ad12381549
update constructor syntax for solidity 0.4.23 in numerous contracts ( #921 )
...
* update solidity-coverage to ^0.5.0
* update truffle dependency to ^4.1.8
* update solium to ^1.1.7
* update all contracts to solidity ^0.4.23
2018-05-08 18:02:00 -07:00
4223c9d50e
feat: refactor whitelist.sol to use RBAC ( #893 )
...
* feat: refactor whitelist.sol to use RBAC
* fix: remove poor backwards compat attempt
2018-05-08 17:20:28 -07:00
85f079ee89
Removing more asserts in favor of require ( #834 )
...
* Removed asserts and replaced them in favor of require
* Adapted tests to work with requires
2018-05-03 14:04:02 -03:00
7e44204d9b
added function to renounce ownership ( #907 )
2018-05-03 13:25:18 -03:00
61dfdde6c4
Updated send to sent. Matching indentation of closing comment. ( #897 )
2018-04-18 14:48:16 -03:00
9e1c934ffd
Various fixes and formatting chores ( #885 )
...
* fix: clean up solium linting errors
* fix: make various contracts natspec compliant
* fix: this.balance deprecated; convert to address(this).balance
* fix: contract.call deprecated and switch to gasleft()
* fix: ignore empty block rule project-wide
* fix: add ignore cases for the rest of the linting warnings
2018-04-10 20:31:29 -03:00
a7e91856f3
Update to Truffle 4.1.5 and Ganache 6.1.0 ( #876 )
...
* Update to ganache-cli v6.1.0 and truffle v4.1.0
* Update to stable version of ganache-cli
* fix: update event emission warning
- Fix event emission warnings for solidity 4.21 after truffle has been
updated to use this version
* fix pr review comments
* update to truffle v4.1.5
* update package-lock
* add additional emit keywords
* update solidity-coverage to 0.4.15
* update to solium 1.1.6
* fix MerkleProof coverage analysis by testing through wrapper
* change version pragma to ^0.4.21
* fix solium linting errors
2018-04-09 20:48:32 -03:00
a6bef44790
fix: remove admin functionality from RBAC.sol fixes #802 ( #836 )
...
- splits the admin part of RBAC.sol into RBACWithAdmin.sol
2018-04-03 16:56:31 -03:00
d1146e8c8b
Add Whitelist contract ( #746 )
...
* Add Whitelist contract
2018-03-08 10:49:38 -08:00
7a0bfdfbb4
Enhancement/heritable encapsulation #692 ( #702 )
...
* Modified Gitignore for Sublime
* Added getter functions for public variables
* Added encapsulation to Heritable public variables.
* Added encapsulation to Heritable public variables.
* Added encapsulation to Heritable public variables.
* Updated tests to use getter methods instead of, now, private variables.
* Conformed variable names to current conventions.
* Requested changes
* revert package-lock.json changes
2018-01-26 18:20:35 -03:00
96e0d35f11
Merge branch 'master' into fix/reference-of-rbac-usage
2018-01-19 15:17:23 -03:00
a5ea0af65c
Merge branch 'master' into azavalla-feature/inheritable-contract
2018-01-18 17:20:07 -03:00
9d005b492d
Explicit uint size
2018-01-18 16:42:19 -03:00
22c1403e5b
Fix solidity style issue
2018-01-18 16:42:19 -03:00
5ea9bd44a1
[Heritable] added HeirOwnershipClaimed event
2018-01-18 16:42:19 -03:00
51c2c50437
[Heritable] ownerLives(): constant --> view
2018-01-18 16:42:19 -03:00
52b6181d78
renamed Inheritable --> Heritable
2018-01-18 16:42:19 -03:00
82c85121bb
changed Inherited event for OwnershipTransfered
2018-01-18 16:42:19 -03:00
e5960465a7
owner can't be set as heir
2018-01-18 16:42:19 -03:00
5716492ebd
setHeartbeatTimeout: public --> internal
2018-01-18 16:42:19 -03:00
c7807c5b58
changed view for constant
2018-01-18 16:42:19 -03:00
80ae074c57
marked ownerLives as view
2018-01-18 16:42:19 -03:00
d808e49b51
changed 'pronounce' for 'proclaim'
2018-01-18 16:42:19 -03:00
a8afb20c20
Use Inherited event instead of OwnershipTransfered
2018-01-18 16:42:19 -03:00
b709206f9f
fixes
2018-01-18 16:42:19 -03:00
2a560ad82f
name fix
2018-01-18 16:42:19 -03:00
4fe2157e36
Inheritable contract
2018-01-18 16:42:19 -03:00
dcf1f8d22d
Rename ERC23 occurrences to ERC223
2018-01-18 11:03:43 +02:00
b67856c69d
Separate ERC20 and ERC827 form tokens implementations in contracts and test folders
2018-01-17 16:24:29 -03:00
75439c1dd3
fix reference of RBAC usage.
2018-01-17 21:45:30 +09:00
3b48a671fd
fix: solium errors - whitespace related
2018-01-15 16:11:45 -05:00
bd2f1773cd
fix: solium errors - function-order only
2018-01-15 16:11:45 -05:00
e60aee61f2
fix: solium errors - blank-line only
2018-01-15 16:11:45 -05:00
b2e2d9ab1c
fix: solium errors - indentation only
2018-01-15 16:11:45 -05:00
4d263b7fc3
fix: the result of 'npm run lint:sol:fix'
2018-01-15 16:11:45 -05:00
677d05743c
feat: update event names for OZ standards and test them
2017-12-04 13:42:55 +02:00
5e55569db6
fix: make roles private
2017-12-01 18:15:44 +02:00
9bb2c958ec
feat: add adminAddRole, adminRemoveRole, and make hasRole/checkRole public
2017-12-01 18:15:44 +02:00
e931c1cbfc
feat: RBAC authentication contract and role library
2017-12-01 18:15:44 +02:00