Doug Crescenzi
90b3050ad7
minor RBAC.sol documentation fix ( #1060 )
7 years ago
Matt Condon
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
7 years ago
Arun Kumar
07020e9544
Remove redundant @dev tags ( #995 )
...
* Remove redundant @dev tags
* Remove redundant @notice tags
7 years ago
Alex Beregszaszi
78e39aa2ad
Do not use implicit type conversion for address literals ( #1002 )
...
Uses the explicit address(0) for the zero address
7 years ago
artiebits
5daaf60d11
Make contracts 4.24 compatible ( #951 )
...
* Make contracts 4.24 compatible
7 years ago
Arun Kumar
9f1d294ba4
Move Whitelist contract to access directory ( #994 )
7 years ago
Leo Arias
72792a724d
ownable: add a notice on renounceOwnership ( #937 )
...
* ownable: add a notice on renounceOwnership
* Apply the suggestion by @shrugs
7 years ago
Patricio Mosse
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
7 years ago
Matt Condon
2637bd89be
fix: add comment about rbacwithadmin being rather powerful ( #936 )
...
* fix: add comment about rbacwithadmin being rather powerful
* fix: move RBACWithAdmin to examples
7 years ago
Patricio Mosse
a0c03ee61c
Adding new Superuser contract with test ( #952 )
...
* Adding new Superuser contract + tests
7 years ago
Yong
5ab9024b6a
update balance syntax for solidity 0.4.23 ( #940 )
7 years ago
Leo Arias
746673a94f
style: use the max-len solidity rule ( #944 )
7 years ago
John Shutt
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
7 years ago
Matt Condon
4223c9d50e
feat: refactor whitelist.sol to use RBAC ( #893 )
...
* feat: refactor whitelist.sol to use RBAC
* fix: remove poor backwards compat attempt
7 years ago
Schneider Jakob
85f079ee89
Removing more asserts in favor of require ( #834 )
...
* Removed asserts and replaced them in favor of require
* Adapted tests to work with requires
7 years ago
Paweł Winnicki
7e44204d9b
added function to renounce ownership ( #907 )
7 years ago
juztin
61dfdde6c4
Updated `send` to `sent`. Matching indentation of closing comment. ( #897 )
7 years ago
Matt Condon
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
7 years ago
Francisco Giordano
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
7 years ago
Matt Condon
a6bef44790
fix: remove admin functionality from RBAC.sol fixes #802 ( #836 )
...
- splits the admin part of RBAC.sol into RBACWithAdmin.sol
7 years ago
medvedev1088
d1146e8c8b
Add Whitelist contract ( #746 )
...
* Add Whitelist contract
7 years ago
trejas
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
7 years ago
Alejandro Santander
9d005b492d
Explicit uint size
7 years ago
Alejandro Santander
22c1403e5b
Fix solidity style issue
7 years ago
zava
5ea9bd44a1
[Heritable] added HeirOwnershipClaimed event
7 years ago
zava
51c2c50437
[Heritable] ownerLives(): constant --> view
7 years ago
zava
52b6181d78
renamed Inheritable --> Heritable
7 years ago
zava
82c85121bb
changed Inherited event for OwnershipTransfered
7 years ago
zava
e5960465a7
owner can't be set as heir
7 years ago
zava
5716492ebd
setHeartbeatTimeout: public --> internal
7 years ago
zava
c7807c5b58
changed view for constant
7 years ago
zava
80ae074c57
marked ownerLives as view
7 years ago
zava
d808e49b51
changed 'pronounce' for 'proclaim'
7 years ago
zava
a8afb20c20
Use Inherited event instead of OwnershipTransfered
7 years ago
zava
b709206f9f
fixes
7 years ago
zava
2a560ad82f
name fix
7 years ago
zava
4fe2157e36
Inheritable contract
7 years ago
Ernestas Prisakaru
dcf1f8d22d
Rename ERC23 occurrences to ERC223
7 years ago
AugustoL
b67856c69d
Separate ERC20 and ERC827 form tokens implementations in contracts and test folders
7 years ago
sot528
75439c1dd3
fix reference of RBAC usage.
7 years ago
Matt Condon
3b48a671fd
fix: solium errors - whitespace related
7 years ago
Matt Condon
bd2f1773cd
fix: solium errors - function-order only
7 years ago
Matt Condon
e60aee61f2
fix: solium errors - blank-line only
7 years ago
Matt Condon
b2e2d9ab1c
fix: solium errors - indentation only
7 years ago
Matt Condon
4d263b7fc3
fix: the result of 'npm run lint:sol:fix'
7 years ago
Matt Condon
677d05743c
feat: update event names for OZ standards and test them
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
Alejandro Santander
b50391862c
Changes to remove warnings
7 years ago