Brian Li
4d028922e6
Address audit comments
...
- operator -> owner
- Add VerifierChanged events
2021-04-25 09:58:43 -07:00
Brian Li
abdca319ed
Update unit test on contracts for encryptedNote
2021-04-18 11:24:18 -07:00
Brian Li
2abf02f818
Add encryptedNote arg
2021-04-18 09:56:13 -07:00
Brian Li
0450c4aa1b
Address audit comments
...
- Emit event when Tornado ownership changes
- Disallow setting feeToSetter to 0 address
- Disallow setting feeTo to 0 address
- Use more SafeMath
- Set MIN_PROTOCOL_FEE_DIVISOR to constant
- Add additional unit tests
2021-04-17 21:09:03 -07:00
Brian Li
b19b1fe600
Update feeToSetter
...
- Don't modify the interface to processWithdraw
- Add SafeMath and use it
- Add tests for all the FeeManager methods
- Update existing unit test for feeToSetter
2021-04-11 18:33:10 -07:00
Brian Li
603dcdc426
Add feeToSetter
2021-04-02 15:50:15 -07:00
poma
4114f7b52c
rename variables
2019-12-13 20:49:19 +07:00
Pertsev Alexey
beceeaae6e
Merge pull request #28 from peppersec/fix-test
...
fix address formatting in tests
2019-12-02 11:45:24 +03:00
poma
e83f528f6f
remove unused import
2019-11-28 15:04:09 +07:00
poma
2962f30ed5
fix address formatting in tests
2019-11-28 11:52:17 +07:00
Roman Storm
a6cda4a501
add isSpendArray view function
2019-11-27 19:45:52 -08:00
Roman Storm
d0e312eb80
Merge pull request #24 from peppersec/audit-6
...
Audit 6
2019-11-18 12:03:44 -08:00
poma
24a21ac88f
fix test
2019-11-15 22:42:59 +03:00
Alexey
ce550eea58
return refund to a relayer in case of failure
2019-11-15 10:59:06 +03:00
Alexey
0393ee9c05
fix test
2019-11-14 20:41:31 +03:00
poma
183847ad67
remove toggleDeposits
2019-11-09 02:48:35 +03:00
poma
313713a061
fix tests
2019-11-08 07:39:22 +03:00
poma
c4dded8a20
receiver -> recipient
2019-11-08 02:58:24 +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
f783b45559
refactor isKnownRoot, add test
2019-11-08 02:52:54 +03:00
Roman Semenov
b000e66899
Merge pull request #15 from peppersec/audit-circuit
...
Circuit audit fixes
2019-11-06 12:31:23 +03:00
poma
2ded1f8adb
refactor merkle tree naming
2019-11-02 16:04:41 +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
d019e48da3
inverted flags to reduce deploy cost, explicitly set state in toggleDeposits
2019-11-02 13:05:33 +03:00
poma
b578213b0c
check that eth value in ERC20 deposit is zero
2019-11-02 11:39:07 +03:00
poma
ec4508e81e
rename pathIndex -> pathIndices
2019-11-02 05:05:25 +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
poma
c889a88b4d
fix tests, reorder constructor parameters
2019-10-06 08:36:01 +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
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
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
Drygin
374dd420f5
fix test of capacity of Merkle tree
2019-09-04 16:08:11 +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
0f5a5df522
withdraw test
2019-08-24 13:18:52 +03:00
Alexey
b8142d03bb
erc20 mixer support WIP
2019-08-20 23:39:21 +03:00
Alexey
9b4d3bc34e
operator role
2019-08-02 20:12:30 +03:00
Roman Storm
a657860418
Merge pull request #6 from peppersec/reduce-nullifier-bits
...
reduce nullifier bits to 31
2019-08-01 10:00:25 -07:00
poma
c7953ae2c6
reduce nullifier bits to 31
2019-08-01 17:49:34 +03:00