Commit Graph

110 Commits

Author SHA1 Message Date
poma
3ad634594e
optimize sloads 2021-03-11 22:51:09 +03:00
Alexey
127a61e21f fix lint 2021-03-10 22:33:30 +04:00
Alexey
78bd4175fa update cPool 2021-03-10 20:28:44 +04:00
Alexey
4069b61421 cPool init 2021-03-10 13:27:15 +04:00
poma
f5d8f6d971
revert verifier code to deployed one 2021-02-14 09:32:05 +03:00
poma
8580c5e427
deploy script 2021-02-11 10:29:50 +03:00
poma
a359e86f85
fix tests, ci 2021-02-11 10:00:53 +03:00
poma
346ffcee3c
lint 2021-02-11 09:23:18 +03:00
poma
c6b442713a
contracts fixed 2021-02-11 09:03:43 +03:00
Roman Storm
3c4def1e64
wip 2021-02-10 21:37:18 -08:00
Alexey
b0bca7fc36 fix solidity version 2020-04-13 22:02:21 +03:00
poma
0fc3cda775
remove migration script (moving to a separate branch) 2019-12-14 15:23:59 +07:00
Roman Storm
9757978d27 new circomlib update 2019-12-13 13:18:16 -08:00
Alexey
68a861ed35 Merge branch 'master' into migrationScript 2019-12-13 23:21:25 +03:00
poma
4114f7b52c
rename variables 2019-12-13 20:49:19 +07:00
poma
ae44615198
make finishMigration payable 2019-12-11 19:29:03 +07:00
Roman Storm
5140e1b38f finish migration 2019-12-10 07:48:11 -08:00
Roman Storm
656673b690 add migration script 2019-12-09 23:40:10 -08: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
e6a4208b52
change zero value constant 2019-11-15 11:44:07 +03:00
Alexey
ce550eea58 return refund to a relayer in case of failure 2019-11-15 10:59:06 +03:00
Alexey
a6519fb280 move nonReentrant modifier 2019-11-14 20:49:34 +03:00
Alexey
5b60e44a7e debug message fix 2019-11-14 14:01:11 +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
Alexey
e6cce0c7ce ether sending 2019-11-08 14:41:39 +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
61864ceda1 reorder vars 2019-11-08 02:58:12 +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
f783b45559 refactor isKnownRoot, add test 2019-11-08 02:52:54 +03:00
poma
e710b243d7 change error text 2019-11-08 02:46:33 +03:00
Alexey
d5b16547f7 tidy 2019-11-05 12:22:25 +03:00
poma
1fd0c7fdea change zero to local variable 2019-11-04 22:46:19 +03:00
poma
27e3121bb0 comments 2019-11-04 22:45:56 +03:00
poma
ae889b5ad2 use abi.decode in token transfer 2019-11-04 22:44:19 +03:00
poma
c00e553299 check return data length for tokens 2019-11-03 11:25:58 +03:00
poma
8a179b9217 added comment on checks 2019-11-02 16:26:13 +03:00
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