117 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt
d97be16c56 constructor logic encapsulated to prevent programming errors 2018-03-03 17:16:32 -03:00
Ricardo Guilherme Schmidt
78c1b97a1e fix compile error in IdentityKernel 2018-03-03 17:05:50 -03:00
Ricardo Guilherme Schmidt
76ccdb32b3 add findemojirangepos and changed constants to views 2018-03-03 03:18:25 -03:00
Ricardo Guilherme Schmidt
341c0ae442 fix front running vulnerability 2018-03-03 00:55:40 -03:00
Ricardo Guilherme Schmidt
93150ce174 linting and reorder 2018-03-03 00:00:11 -03:00
Ricardo Guilherme Schmidt
f12dead0b8 reoder functions: {external,public,internal,private} 2018-03-02 23:54:36 -03:00
Ricardo Guilherme Schmidt
65936f8347 standarize internal method signature 2018-03-02 23:48:15 -03:00
Richard Ramos
b5f21fe5f8 Added extra functions for emoji verification and unit tests 2018-03-02 21:21:24 -04:00
Ricardo Guilherme Schmidt
dad9e89958 added emoji check util and install script 2018-03-02 20:34:36 -03:00
Richard Ramos
42bebae3c8 Added extra verification when deleting management keys 2018-03-02 17:27:08 -04:00
Richard Ramos
a011e905b8 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
b6c64d97c4 replace key, recovery manager reset, remove unnecessary storage, lint 2018-03-02 11:32:00 -03:00
Ricardo Guilherme Schmidt
181a926ddc allow withdraw funds sent by other contract selfdestruct 2018-03-02 10:34:20 -03:00
Ricardo Guilherme Schmidt
b56119bde3 setup delay, signature security, execution, events and linting. 2018-03-02 10:21:52 -03:00
Ricardo Guilherme Schmidt
106e98c52d more clear code and functions, simplier process 2018-03-02 07:14:45 -03:00
Ricardo Guilherme Schmidt
aea0106e3c add public visibility modifier 2018-03-02 02:25:46 -03:00
Richard Ramos
9233c6bd7a 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
9f61696ad8 - 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
be10d3ba95 Linting to reduce problems in IDE 2018-02-28 14:52:32 -04:00
Richard Ramos
7560ac8328 Removing unused function 2018-02-28 14:39:22 -04:00
Richard Ramos
e92c6b7867 Added unit test to verify identity upgrades 2018-02-28 14:35:15 -04:00
Richard Ramos
ab16457075 Added Approved and Executed events to Identity contract 2018-02-28 14:22:06 -04:00
Richard Ramos
2824b8039a - 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
a9d1a6e04b - Merge of recovery branch 2018-02-28 10:33:56 -04:00
Richard Ramos
dd2fc2daec Placeholder for IdentityFactory test 2018-02-28 10:18:00 -04:00
Ricardo Guilherme Schmidt
5cee99ad85 add upgradable instance factory and needed architecture 2018-02-28 01:36:48 -03:00
Richard Ramos
3724b3addc - Test case to illustrate how the recovery process works 2018-02-27 17:11:22 -04:00
Richard Ramos
d17265ed63 - 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
64c595e7c8 message signing verifications, use same storage, abstracted modifiers 2018-02-26 19:22:04 -03:00
Richard Ramos
8e611aaae4 Added execute and approve function for ECDSA keys. 2018-02-26 17:26:14 -04:00
Ricardo Guilherme Schmidt
260c20561a unique signing secret for new owner (hash tied) & fix too long stack 2018-02-25 19:11:31 -03:00
Ricardo Guilherme Schmidt
1cf6aef92d FriendsRecovery new version 2018-02-25 02:18:40 -03:00
Richard Ramos
00fb3394c1 Initial version of possible recovery contract (hasn't been tested yet) 2018-02-23 15:01:35 -04:00
Ricardo Guilherme Schmidt
2a4fbf85ac manager should use execute method 2018-02-23 14:17:57 -03:00
Ricardo Guilherme Schmidt
a3577d01d0 remove leftover code 2018-02-23 14:14:59 -03:00
Ricardo Guilherme Schmidt
648e160067 other option of claim approval 2018-02-23 14:02:53 -03:00
Richard Ramos
4136965d53 - Added logic for handling approvals of claims 2018-02-22 14:58:25 -04:00
Ricardo Guilherme Schmidt
1a4b64539c auto-approve 2018-02-22 05:19:38 -03:00
Ricardo Guilherme Schmidt
0bb74e589d manager should call only by execute 2018-02-22 05:16:06 -03:00
Ricardo Guilherme Schmidt
f7ecc879c7 linting 2018-02-22 05:05:10 -03:00
Ricardo Guilherme Schmidt
b2264b060e encapsulate reusable code 2018-02-21 19:45:25 -03:00
Ricardo Guilherme Schmidt
fe50ca0540 remove self from modifier 2018-02-21 19:23:41 -03:00
Richard Ramos
06628093bc - 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
14832d927f update to new solc + lint 2018-01-24 02:25:40 +00:00
Ricardo Guilherme Schmidt
2cabc58ed7 current maineth contracts 2018-01-24 02:09:50 +00:00
Ricardo Guilherme Schmidt
6fe0adf3d0 reorder, natspec, require transfer complete 2018-01-22 22:39:02 +00:00
Ricardo Guilherme Schmidt
7fef42a9d9 changed txHash with precalculed method signatures 2018-01-22 22:23:30 +00:00
Ricardo Guilherme Schmidt
272f90ce61 approveAndCall + changed fee to gasPrice 2018-01-22 21:21:38 +00:00
Ricardo Guilherme Schmidt
4f0ced1f06 minimetoken presigned transferrable 2018-01-22 16:45:48 +00:00
Ricardo Guilherme Schmidt
90bce10c2b compile fix 2018-01-22 16:45:14 +00:00