Commit Graph

57 Commits

Author SHA1 Message Date
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
Alexey
a13a7306e2 ETHMixer refund test 2019-10-17 18:54:21 +03:00
Roman Semenov
4ce8d1c2ce
fix refund 2019-10-17 16:35:23 +03: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
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
71b767ade1 rename mimc mentions to a generic hasher 2019-10-04 15:38:08 +03:00
Alexey
9132aeb6d5 max leaves count fix 2019-09-16 13:07:14 +03:00
Alexey
0689d76df1 leafs = 2**(levels - 1) 2019-09-11 11:25:32 +03:00
Alexey
3404acef48 fix leaf count 2019-09-11 11:17:32 +03:00
Pertsev Alexey
e75740becb
Merge branch 'master' into erc20_support 2019-09-10 17:28:01 +03:00
Pertsev Alexey
7ed13aa8e0
Merge pull request #10 from DryginAlexander/master
fix Merkle tree capacity
2019-09-10 17:00:02 +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
poma
d39eb3ca4b
add comments, improve readability, improve readme, fix default values 2019-09-05 17:43:06 -04:00
Drygin
ec30e2d357 fix merkle tree capacity 2019-09-04 13:31:10 +03:00
Alexey
b8c0c1898f test with real DAI and USDT 2019-08-30 13:06:17 +03: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
c6e1b28a82 index leafs 2019-07-18 14:39:06 -07:00
Roman Storm
93dec7cf03 add indexed event commitment 2019-07-18 14:29:09 -07:00
Alexey
39777a46e1 max elements tree count test 2019-07-16 14:04:14 +03:00
poma
8657bc8b82 isSpent function 2019-07-15 19:19:34 +03:00
Alexey
eb75bab81b other way to lookup a root 2019-07-15 18:33:46 +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
Alexey
ea51af1512 batch merkle tree creation 2019-07-11 17:04:36 +03:00