Richard Ramos
5e1c37048c
Commenting tests while they're updated for Embark and Web3 1.0.0
2018-03-13 10:13:31 -04:00
Richard Ramos
38e1d712e3
Updating to embark 2.7.0
2018-03-13 09:22:50 -04:00
Richard Ramos
fba9b7549d
Removed truffle config file
2018-03-12 11:32:58 -04:00
Richard Ramos
4db12728d3
Adding Embark Support
2018-03-12 11:31:17 -04:00
Ricardo Guilherme Schmidt
b715a0245e
updates delayed in 30 days to prevent takeover
2018-03-04 03:31:07 -03:00
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
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
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
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
28f635f0ba
update folder structure
2018-01-08 19:00:07 -06:00
James Childs-Maidment
12341008b8
adds solidity-coverage
2017-12-21 12:30:41 +11:00
Ricardo Guilherme Schmidt
a0728da632
Unit tests ( #2 )
...
* identity first draft
* truffle + identity tests
2017-11-15 05:24:10 -02:00
Ricardo Guilherme Schmidt
9e88b6d425
identity first draft ( #1 )
2017-10-23 09:05:19 -02:00
Jacques Wagener
c06968407a
Adds addClaim and getClaim methods to erc725 example.
2017-10-20 17:35:38 +02:00
Jacques Wagener
46b95636d6
Split contracts into 2 for the time being.
2017-10-19 19:55:04 +02:00