Commit Graph

245 Commits

Author SHA1 Message Date
poma
2ded1f8adb refactor merkle tree naming 2019-11-02 16:04:41 +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
c92ac97ff2 make field_size constant, return extra addmod, refactor return 2019-11-02 14:30:00 +03:00
poma
91adb03131 add solidity version to IUSDT 2019-11-02 14:29:55 +03:00
poma
c47408ebd7 cache current_zero value to prevent excessive SLOADs 2019-11-02 14:29:43 +03:00
poma
6095106549 rename current root index 2019-11-02 13:11:15 +03:00
poma
6571f54768 make _roots public 2019-11-02 13:11:03 +03:00
poma
1364762b93 make _roots constant sized array 2019-11-02 13:10:57 +03:00
poma
2bb751bfd1 change ROOT_HISTORY_SIZE type 2019-11-02 13:10:48 +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
b578213b0c check that eth value in ERC20 deposit is zero 2019-11-02 11:39:07 +03:00
poma
bec65f217f allow fee equal to denomination 2019-11-02 11:24:16 +03:00
Roman Semenov
bc134bbfe8
Merge pull request #13 from Agonical/patch-1
Update README.md
2019-11-02 05:10:01 +03:00
poma
ec4508e81e rename pathIndex -> pathIndices 2019-11-02 05:05:25 +03:00
poma
07168f9816 refactor select() into a generic multiplexer 2019-11-02 04:55:25 +03:00
poma
7193655e49 make rounds number a constant 2019-11-02 04:33:19 +03:00
poma
9efab84e65 remove explicit constraints on inputs 2019-11-02 04:32:28 +03:00
Alexey
0484408e82 ERC20Mixer refund tests 2019-10-17 19:19:35 +03:00
Alexey
a13a7306e2 ETHMixer refund test 2019-10-17 18:54:21 +03:00
Roman Semenov
63771560c6
Remove unused var 2019-10-17 16:57:39 +03:00
Roman Semenov
4ce8d1c2ce
fix refund 2019-10-17 16:35:23 +03:00
Agonical
dcbf2ab693
Update README.md 2019-10-15 18:45:14 -07:00
poma
0cbc0ad79b refund asserts for ETH mixer 2019-10-07 07:15:06 +03:00
poma
c889a88b4d fix tests, reorder constructor parameters 2019-10-06 08:36:01 +03:00
poma
a77c04ea5a add refund mechanism for token withdrawal 2019-10-06 08:09:26 +03:00
poma
c7f0ca9dfa add erc20 to integration test 2019-10-04 19:27:19 +03:00
poma
7a184d67d2 some fixes 2019-10-04 19:17:28 +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
poma
3624cb7531 fix build command 2019-10-04 16:01:42 +03:00
poma
71b767ade1 rename mimc mentions to a generic hasher 2019-10-04 15:38:08 +03:00
poma
6b067f067f organize npm commands 2019-10-04 14:35:45 +03:00
poma
bb80cd9788 update circom and snarkjs 2019-09-27 17:20:50 +03:00
Roman Storm
5ef6e33c78
Merge pull request #9 from peppersec/erc20_support
Erc20 support
2019-09-16 10:43:17 -07:00
Alexey
9e7aa186dc readme bug 2019-09-16 14:14:49 +03:00
Alexey
9132aeb6d5 max leaves count fix 2019-09-16 13:07:14 +03:00
Roman Storm
a64f41a44e merge and add cli.js erc20 commands 2019-09-14 11:21:53 -07:00
Roman Storm
13e01755a6 WIP 2019-09-13 18:05:08 -07:00
Alexey
0689d76df1 leafs = 2**(levels - 1) 2019-09-11 11:25:32 +03:00