Commit Graph

115 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt bf51e76c9c reduce warnings 2018-03-21 13:13:04 -03:00
Ricardo Guilherme Schmidt dc6239546b fix inconsistent modifier 2018-03-21 13:07:12 -03:00
Ricardo Guilherme Schmidt accd832bf3 function named wrongly fix: rename isKeyType -> isKeyPurpose 2018-03-21 12:50:03 -03:00
Ricardo Guilherme Schmidt 8d5046fcb8 reduce warnings 2018-03-21 12:47:12 -03:00
Ricardo Guilherme Schmidt 776022d583 remove abstracted InstanceStorage to prevent errors 2018-03-20 22:31:14 -03:00
Ricardo Guilherme Schmidt c09772e634 additional redundant security check 2018-03-20 22:29:37 -03:00
Ricardo Guilherme Schmidt 988ccd1085 reduce warnings 2018-03-19 23:15:22 -03:00
Ricardo Guilherme Schmidt e8edd3d53c fix compile errors 2018-03-17 13:50:33 -03:00
Ricardo Guilherme Schmidt 1386334b57 lint and interface abstraction 2018-03-17 12:55:25 -03:00
Ricardo Guilherme Schmidt c2d3928ebe reduce warnings 2018-03-17 11:41:08 -03:00
Richard Ramos 0b59eaf815 Merge of 27-ens-usernames with develop 2018-03-15 14:35:55 -04:00
Richard Ramos 807e692829 Merge 27-ens-usernames-idopt2 with 27-ens-usernames 2018-03-15 14:15:37 -04:00
Richard Ramos 81613cf06f Merge republic-status with develop 2018-03-15 14:02:12 -04:00
Richard Ramos 7235aa85d7 Updated friendsRecovery.js to work with embark 2018-03-15 10:41:05 -04:00
Richard Ramos c9711c2250 Updated test unit to reflect changes in recovery contract 2018-03-13 19:30:12 -04:00
Richard Ramos 5466aeed49 Changed name to function, and added view to Factory 2018-03-13 13:52:44 -04:00
Richard Ramos f6ec000091 Changed name to function, and added view to Factory 2018-03-13 13:52:44 -04:00
Richard Ramos 9c2cbe28f7 Adding Embark Support 2018-03-12 11:31:17 -04:00
Ricardo Guilherme Schmidt 1424baafa9 include SOB proposal for republic 2018-03-11 22:12:50 +07:00
Ricardo Guilherme Schmidt 266b1c3056 avoid overwrite of target function 2018-03-11 22:11:42 +07:00
Ricardo Guilherme Schmidt 5036cc4630 updates delayed in 30 days to prevent takeover 2018-03-04 03:31:07 -03:00
Ricardo Guilherme Schmidt 84bb005997 constructor logic encapsulated to prevent programming errors 2018-03-03 17:16:32 -03:00
Ricardo Guilherme Schmidt a6cf6f4d27 fix compile error in IdentityKernel 2018-03-03 17:05:50 -03:00
Ricardo Guilherme Schmidt 612fdb7f43 linting and reorder 2018-03-03 00:00:11 -03:00
Ricardo Guilherme Schmidt 80b1089bd3 reoder functions: {external,public,internal,private} 2018-03-02 23:54:36 -03:00
Ricardo Guilherme Schmidt 7de52b4626 standarize internal method signature 2018-03-02 23:48:15 -03:00
Richard Ramos 63845f67f1 Added extra verification when deleting management keys 2018-03-02 17:27:08 -04:00
Richard Ramos 9a07b52319 Updated approval process
- Managers can only execute actions on identity
- Actors can execute actions outside identity
- Validated minimum approvals to not exceed available keyTypes
- Updated identity test unit to reflect changes
2018-03-02 15:00:46 -04:00
Ricardo Guilherme Schmidt 9b17fbce88 replace key, recovery manager reset, remove unnecessary storage, lint 2018-03-02 11:32:00 -03:00
Ricardo Guilherme Schmidt ea59af8e1e add public visibility modifier 2018-03-02 02:25:46 -03:00
Richard Ramos 4471c165d3 Identity can receive ether
- Added payable fallback function
- Added unit test for sending/receiving ether
2018-03-01 16:07:32 -04:00
Richard Ramos 5ee487a48a - Fixing typo in Identity.sol
- Reorganizing javascript files used in tests
- Cleaned up unit tests
- Created identityUtils.js to encode function calls sent in execute();
2018-03-01 11:42:44 -04:00
Richard Ramos 213e76d3a5 Linting to reduce problems in IDE 2018-02-28 14:52:32 -04:00
Richard Ramos 3c4f2ab7d1 Linting to reduce problems in IDE 2018-02-28 14:52:32 -04:00
Richard Ramos e9b9963153 Removing unused function 2018-02-28 14:39:22 -04:00
Richard Ramos b096936f98 Added unit test to verify identity upgrades 2018-02-28 14:35:15 -04:00
Richard Ramos 47a0434118 Added Approved and Executed events to Identity contract 2018-02-28 14:22:06 -04:00
Richard Ramos d4b98d1186 - Added event to inform of an identity instance upgrade
- Added test units for Identity factory and its kernel upgrading
2018-02-28 11:47:59 -04:00
Richard Ramos e8cc00be53 - Added event to inform of an identity instance upgrade
- Added test units for Identity factory and its kernel upgrading
2018-02-28 11:47:59 -04:00
Richard Ramos 8ed73f82d7 - Merge of recovery branch 2018-02-28 10:33:56 -04:00
Ricardo Guilherme Schmidt b3025a5d80 add upgradable instance factory and needed architecture 2018-02-28 01:36:48 -03:00
Ricardo Guilherme Schmidt 5c9070f7dc add upgradable instance factory and needed architecture 2018-02-28 01:36:48 -03:00
Richard Ramos 5a22b71313 - Test case to illustrate how the recovery process works 2018-02-27 17:11:22 -04:00
Richard Ramos 6f413373b0 - Modified Identity to setup recovery contract address
- Added initial version of test unit for recovery contract
2018-02-27 13:23:00 -04:00
Ricardo Guilherme Schmidt ebbfbeb1a0 message signing verifications, use same storage, abstracted modifiers 2018-02-26 19:22:04 -03:00
Richard Ramos 0e2015bf3f Added execute and approve function for ECDSA keys. 2018-02-26 17:26:14 -04:00
Richard Ramos 0a253aa9b3 Initial version of possible recovery contract (hasn't been tested yet) 2018-02-23 15:01:35 -04:00
Ricardo Guilherme Schmidt 73850a463f manager should use execute method 2018-02-23 14:17:57 -03:00
Ricardo Guilherme Schmidt 0b9626a5f8 remove leftover code 2018-02-23 14:14:59 -03:00
Ricardo Guilherme Schmidt c3c2b8e464 other option of claim approval 2018-02-23 14:02:53 -03:00
Richard Ramos 5f7de6e981 - Added logic for handling approvals of claims 2018-02-22 14:58:25 -04:00
Ricardo Guilherme Schmidt a9f2a186d9 auto-approve 2018-02-22 05:19:38 -03:00
Ricardo Guilherme Schmidt bab9e88c1a manager should call only by execute 2018-02-22 05:16:06 -03:00
Ricardo Guilherme Schmidt 310f4b8f5a linting 2018-02-22 05:05:10 -03:00
Ricardo Guilherme Schmidt 5afddb6976 encapsulate reusable code 2018-02-21 19:45:25 -03:00
Ricardo Guilherme Schmidt 89bcc35163 remove self from modifier 2018-02-21 19:23:41 -03:00
Richard Ramos 3448401247 - Updated logic on Identity.sol to reflect changes on EIPs
- Added migration to deploy Identity contract
- Updated existing test cases to reflect changes on contract interface
2018-02-21 17:17:38 -04:00
Ricardo Guilherme Schmidt 8bae559ec9 update to new solc + lint 2018-01-24 02:25:40 +00:00
Ricardo Guilherme Schmidt f51ae08fa9 current maineth contracts 2018-01-24 02:09:50 +00:00
Ricardo Guilherme Schmidt 12d3a4d8a9 update folder structure 2018-01-08 19:00:07 -06:00
Ricardo Guilherme Schmidt de97724687 proposal manager executes to its controller 2017-12-19 23:06:19 -02:00
Ricardo Guilherme Schmidt 86cf02e5f9 recovery alpha + ens based recoverer 2017-12-01 04:45:26 -02:00
Ricardo Guilherme Schmidt 6766c5d7b1 missing file 2017-11-29 12:42:10 -02:00
Ricardo Guilherme Schmidt c273f7ec1d base structure of upgradable republic 2017-11-28 01:33:25 -02:00
Ricardo Guilherme Schmidt ff4c320869 base structure of upgradable republic 2017-11-28 01:33:25 -02:00