Commit Graph

57 Commits

Author SHA1 Message Date
mingda
7fc0ede7ea clean 2020-11-27 15:37:48 +08:00
owen05
74ad990880 update v1.5 proxy 2020-11-27 15:35:36 +08:00
mingda
61479dbf04 DPP trade test 2020-11-26 13:22:22 +08:00
mingda
31d3b0fd9b Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into feature/V2 2020-11-25 17:16:59 +08:00
owen05
8da583d5a8 fix admin control && update proxy test framework 2020-11-25 17:08:28 +08:00
mingda
cff1bbe53e fix dvm trader test 2020-11-24 00:20:23 +08:00
owen05
71e1d8717c dodov2proxy 2020-11-23 22:33:23 +08:00
mingda
a0ee4ac9c9 Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into feature/V2 2020-11-23 21:27:30 +08:00
mingda
bfc6e07a0f fix dodo math 2020-11-23 11:25:18 +08:00
owen05
8458022a3c remove some todo 2020-11-23 10:43:23 +08:00
mingda
9a4480208c Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into feature/V2 2020-11-23 00:47:34 +08:00
owen05
f2656d6b2a DPP factory and init 2020-11-22 18:25:41 +08:00
owen05
fcd938b93f update universalERC20 code 2020-11-22 18:20:30 +08:00
mingda
3fe7dbb815 refactor DODOMath 2020-11-22 13:18:44 +08:00
mingda
75190a52f6 DODO Math support k=1 2020-11-21 01:08:55 +08:00
mingda
8ba1a24e1a fix DVM test 2020-11-20 19:55:32 +08:00
mingda
047d7f1d94 fix dvm test context 2020-11-20 18:58:35 +08:00
mingda
b9c458a6f0 Merge branch 'feature/V2' of github.com:DODOEX/contractV2 into feature/V2 2020-11-18 17:58:36 +08:00
mingda
d78de94b44 refactor DPP & DVM 2020-11-18 17:51:50 +08:00
mingda
6a7b648753 PMMPricing library 2020-11-18 00:51:45 +08:00
owen05
bd21a14b53 update approve logic 2020-11-16 10:54:05 +08:00
mingda
39e21342a6 set gas price to external contract 2020-11-11 16:42:00 +08:00
mingda
5fd411c50c set gas price to external contract 2020-11-11 16:42:00 +08:00
owen05
521b0e4b16 add route test framework 2020-11-10 18:38:34 +08:00
owen05
d965ce1409 add route test framework 2020-11-10 18:38:34 +08:00
mingda
52a40fec8f set external call interface 2020-11-06 16:03:18 +08:00
mingda
ad7ed919d0 set external call interface 2020-11-06 16:03:18 +08:00
mingda
bdc8e7f6b1 query buy 2020-11-06 01:20:07 +08:00
mingda
14b024c370 query buy 2020-11-06 01:20:07 +08:00
mingda
81dc1c15a0 flash loan 2020-11-06 00:31:30 +08:00
mingda
cdb5a3ba62 flash loan 2020-11-06 00:31:30 +08:00
mingda
47a14008f4 snapshot 2020-11-05 00:26:45 +08:00
mingda
4a7c5a546d snapshot 2020-11-05 00:26:45 +08:00
mingda
a798c553ba restruct contract repo 2020-10-23 01:16:52 +08:00
mingda
e8182dd1a1 restruct contract repo 2020-10-23 01:16:52 +08:00
mingda
a469c8dd13 [trail of bits audit] #1 Loss of precision may allow an attacker to get funds for free 2020-09-25 10:51:03 +08:00
mingda
f0cffd840d [trail of bits audit] #1 Loss of precision may allow an attacker to get funds for free 2020-09-25 10:51:03 +08:00
mingda
d1ebe23958 use safe erc20 & new logGas 2020-09-08 20:09:31 +08:00
mingda
2e637f0916 use safe erc20 & new logGas 2020-09-08 20:09:31 +08:00
mingda
cd17f1c5ac remove constructor because using proxy mode clone 2020-07-24 01:55:09 +08:00
mingda
bb366f71c4 remove constructor because using proxy mode clone 2020-07-24 01:55:09 +08:00
mingda
8b9614c7b4 simplify reentrancyGuard 2020-07-24 01:50:48 +08:00
mingda
58f189b957 simplify reentrancyGuard 2020-07-24 01:50:48 +08:00
mingda
739195b326 simplify code to reduce deploy gas cost 2020-07-11 16:21:54 +08:00
mingda
2c8ba643a8 simplify code to reduce deploy gas cost 2020-07-11 16:21:54 +08:00
mingda
7adec98a1d [audit]#8.1 handel sqrt coner case 2020-07-10 13:34:04 +08:00
mingda
f7bfead589 [audit]#8.1 handel sqrt coner case 2020-07-10 13:34:04 +08:00
mingda
19b0d688a3 [audit]#9.1 improve math precision 2020-07-10 13:32:20 +08:00
mingda
51be40478a [audit]#9.1 improve math precision 2020-07-10 13:32:20 +08:00
mingda
34b4ba4338 [audit]#9 improve math precision 2020-07-08 18:22:12 +08:00