Commit Graph

45 Commits

Author SHA1 Message Date
Alexey
a6519fb280 move nonReentrant modifier 2019-11-14 20:49:34 +03:00
Roman Storm
dec0f4487c
Merge pull request #21 from peppersec/remove-toggleDeposits
remove toggleDeposits
2019-11-11 11:46:05 -08:00
Alexey
83c9ba7296 nonReentrant guards 2019-11-11 19:12:17 +03:00
poma
183847ad67 remove toggleDeposits 2019-11-09 02:48:35 +03:00
poma
c4dded8a20 receiver -> recipient 2019-11-08 02:58:24 +03:00
poma
4d6dca78b2 make withdraw function external 2019-11-08 02:58:22 +03:00
poma
ac8fc08cc2 use bytes32 for hashes 2019-11-08 02:57:39 +03:00
poma
74913e67b2 typed withdraw inputs 2019-11-08 02:55:08 +03:00
poma
e9c2055bb4 changed merkleTree vars to uint32 where appropriate 2019-11-08 02:53:37 +03:00
poma
27e3121bb0 comments 2019-11-04 22:45:56 +03:00
poma
e413ccdc29 make underscores consistent - in func args and in internal func names 2019-11-02 15:48:22 +03:00
poma
1fdabcc97c changed emptyElement to constant 2019-11-02 15:35:22 +03:00
poma
27a00bfd5f rename withdraw event 2019-11-02 14:50:37 +03:00
poma
48cc57fad7 change arg name 2019-11-02 13:09:10 +03:00
poma
35500ac5bb change arg name 2019-11-02 13:09:02 +03:00
poma
8e8243823a make inheritable functions abstract 2019-11-02 13:08:41 +03:00
poma
111c966c1e add assert on denomination 2019-11-02 13:07:07 +03:00
poma
02e76a1ce6 pass verifier address as IVerifier 2019-11-02 13:06:10 +03:00
poma
d019e48da3 inverted flags to reduce deploy cost, explicitly set state in toggleDeposits 2019-11-02 13:05:33 +03:00
poma
54e2c5f890 return inserted index from merkle tree 2019-11-02 11:40:46 +03:00
poma
b8d22464e3 process deposit after changing state to prevent reentrancy 2019-11-02 11:40:27 +03:00
poma
1d258715e0 make operator not payable 2019-11-02 11:40:19 +03:00
poma
bec65f217f allow fee equal to denomination 2019-11-02 11:24:16 +03:00
poma
a77c04ea5a add refund mechanism for token withdrawal 2019-10-06 08:09:26 +03:00
poma
55b3644fd7 single argument proof 2019-10-04 18:20:47 +03:00
poma
6035255a49 tests, more docs, minor refactoring 2019-10-04 17:27:47 +03:00
poma
5c3c78e097 allow verifier keys update, and an option to permanently disable it 2019-10-04 16:43:15 +03:00
Alexey
010837f92b fix tests 2019-09-10 16:31:34 +03:00
poma
9009b9c56d
custom relayer 2019-09-06 23:20:49 -04:00
Roman Storm
50872ac342 change fee structure 2019-09-06 17:22:30 -04:00
Alexey
9f33aadd9d additional eth for the recipient 2019-08-27 23:42:24 +03:00
Alexey
b8142d03bb erc20 mixer support WIP 2019-08-20 23:39:21 +03:00
Alexey
7997fe2582 fix bugs (public verifier) 2019-08-04 20:57:01 +03:00
Alexey
9b4d3bc34e operator role 2019-08-02 20:12:30 +03:00
Roman Storm
3b03a5ea4c add pause account setter 2019-08-01 09:58:34 -07:00
Roman Storm
d91435dd00 add pauseDeposits 2019-08-01 01:41:22 -07:00
Alexey
fc5eb51c3b nullifier hash refactoring 2019-07-25 16:58:21 +03:00
Roman Storm
93efd2548b add timestamp 2019-07-22 13:37:02 -07:00
Alexey
13b9a948dc remove redundant event 2019-07-19 20:08:47 +03:00
Roman Storm
93dec7cf03 add indexed event commitment 2019-07-18 14:29:09 -07:00
poma
8657bc8b82 isSpent function 2019-07-15 19:19:34 +03:00
Alexey
5c16e02c90 off-by-one fix and tests 2019-07-15 18:04:48 +03:00
Alexey
0db7be23b5 final test 2019-07-13 00:50:26 +03:00
Alexey
fb3f2425d2 mixer deploy WIP 2019-07-12 18:04:45 +03:00
poma
b5b3474165 Move contracts to repository root 2019-07-12 12:53:44 +03:00