Commit Graph

71 Commits

Author SHA1 Message Date
Richard Ramos 74262dd33e Merge from embark into develop 2018-04-09 10:18:44 -04:00
Ricardo Guilherme Schmidt 9de0367ba4 remove leftover info in readme, move docs 2018-04-06 22:33:17 -03:00
Ricardo Guilherme Schmidt e373ef3885 initialize first key as manager and action purpose 2018-04-02 16:26:25 -03:00
Ricardo Guilherme Schmidt e76dfe33ab updated to new solidity keywords and linting 2018-03-30 02:31:08 -03:00
Ricardo Guilherme Schmidt 33bb06bd76 fix wrong var name 2018-03-24 05:58:49 -03:00
Ricardo Guilherme Schmidt a271b00539 normalize 2018-03-24 05:58:04 -03:00
Ricardo Guilherme Schmidt cfb389398d fix reentrancy and reexecution 2018-03-24 05:53:35 -03:00
Ricardo Guilherme Schmidt 8a32a3ea47 reorder _removeKey logic 2018-03-24 05:30:07 -03:00
Ricardo Guilherme Schmidt 334f6754af move events and nonce increment 2018-03-24 05:16:54 -03:00
Ricardo Guilherme Schmidt 7b179ec04c more comments 2018-03-21 23:32:56 -03:00
Ricardo Guilherme Schmidt 905aff6485 (save gas) bypass "transaction sstore" if multisigned not required 2018-03-21 23:30:54 -03:00
Ricardo Guilherme Schmidt bcadf42cef enhance utility modifier 2018-03-21 13:23:46 -03:00
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 f184e2b1c8 merge emoji 2018-03-16 23:08:06 -03:00
Richard Ramos 90ab6de741 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 5e36b4b9e9 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 8c5b72490f Updating factory.js to web3 1.0 2018-03-14 22:06:38 -04:00
Richard Ramos 93fd39b34c Updating test units 2018-03-14 16:02:44 -04:00
Richard Ramos 6426c80298 Updating tests 2018-03-14 15:42:04 -04:00
Richard Ramos 5a1f8c93a9 Migrating additional test cases 2018-03-14 10:31:12 -04:00
Richard Ramos 6f83c96ab7 Added .embark to .gitignore file and updated identity.js test unit. 2018-03-13 19:35:30 -04:00
Richard Ramos c9711c2250 Updated test unit to reflect changes in recovery contract 2018-03-13 19:30:12 -04:00
Richard Ramos 7695b461fb Updated factory unit test and docs to include delay functionality 2018-03-13 14:37:15 -04:00
Richard Ramos f6ec000091 Changed name to function, and added view to Factory 2018-03-13 13:52:44 -04:00
Richard Ramos 3a0889237c Commenting tests while they're updated for Embark and Web3 1.0.0 2018-03-13 10:13:31 -04:00
Richard Ramos 9c2cbe28f7 Adding Embark Support 2018-03-12 11:31:17 -04: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 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