Richard Ramos
c39d765af5
Merge branch '150-gas-abstraction' of https://github.com/status-im/contracts into 000-gas-relayer-node
2018-05-02 17:03:00 -04:00
Richard Ramos
5655b601b3
IdentityGasRelay is a Kernel
2018-05-02 16:57:25 -04:00
Richard Ramos
7a3d745e16
Merge '150-gas-abstraction' into 000-gas-relayer-node
2018-05-02 16:54:42 -04:00
Richard Ramos
5fe6df8d15
Changed signature split to 65 bytes.
2018-05-02 11:57:56 -04:00
Ricardo Guilherme Schmidt
52d9983ae6
use MessageSigned contract to encapsulate message signing logic
2018-04-26 02:09:03 -03:00
Richard Ramos
dd262752c2
Using Embark default ERC20Token, and changed way to determine if contract instance is valid
2018-04-25 14:49:13 -04:00
Ricardo Guilherme Schmidt
04cf36cdd5
use hash of ec-recovered key
2018-04-23 08:14:21 -03:00
Ricardo Guilherme Schmidt
7cdb169fea
Merge branch '145-identity' of https://github.com/status-im/contracts into 150-gas-abstraction
2018-04-23 08:11:28 -03:00
Ricardo Guilherme Schmidt
8bf51bc488
use hashed keys + dont require issuer to be claim signer
2018-04-23 08:04:03 -03:00
Ricardo Guilherme Schmidt
bbb9b26b7c
inclde dependency 145
2018-04-23 02:12:55 -03:00
Ricardo Guilherme Schmidt
f9870224be
add return factoried contract address + add emit keyword
2018-04-19 05:33:04 -03:00
Ricardo Guilherme Schmidt
be024406d2
small fixes
2018-04-17 22:24:45 -03:00
Ricardo Guilherme Schmidt
922fea958f
change from gasMinimal to gasLimit
2018-04-17 11:18:23 -03:00
Richard Ramos
79da42e2ba
Fixing naming errors required for compilation
2018-04-09 16:05:19 -04: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
4c5cb43da0
added approve and call gas relayed for ERC20
2018-03-24 01:26:06 -03:00
Ricardo Guilherme Schmidt
fe4a10dfcd
makes "call" more explicit
2018-03-22 23:31:20 -03:00
Ricardo Guilherme Schmidt
17b6b7357c
simplify contract for easier readibility
2018-03-22 23:12:12 -03:00
Ricardo Guilherme Schmidt
3bdba827c9
move nonce check as first step (gas relayer pays this gas)
2018-03-22 13:09:02 -03:00
Ricardo Guilherme Schmidt
789252ba97
executed event always fire with executin result bool
2018-03-21 23:36:31 -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
39fcf1a055
fix natspec
2018-03-21 22:13:51 -03:00
Ricardo Guilherme Schmidt
3037d43109
standarize to _gasMinimal var name, and _gasMinimal >= startGas
2018-03-21 22:10:41 -03:00
Ricardo Guilherme Schmidt
770a638324
natspec
2018-03-21 19:58:19 -03:00
Ricardo Guilherme Schmidt
e13ac0315d
update names
2018-03-21 18:43:26 -03:00
Ricardo Guilherme Schmidt
1f9ad9b135
add economic abstraction property to Identities
2018-03-21 18:02:05 -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
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
Richard Ramos
807e692829
Merge 27-ens-usernames-idopt2 with 27-ens-usernames
2018-03-15 14:15:37 -04:00
Richard Ramos
f6ec000091
Changed name to function, and added view to Factory
2018-03-13 13:52:44 -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