Commit Graph

42 Commits

Author SHA1 Message Date
mingda
1e5a905f61 Public Arbitrageur between UniswapV2 and DODO 2020-07-25 01:19:26 +08:00
mingda
522c11230f Use Clone Factory 2020-07-25 01:18:50 +08:00
mingda
d431baffb1 add flash trade 2020-07-24 01:55:47 +08:00
mingda
bb366f71c4 remove constructor because using proxy mode clone 2020-07-24 01:55:09 +08:00
mingda
c750bbea8d clone dodo using minimal proxy 2020-07-24 01:53:58 +08:00
mingda
58f189b957 simplify reentrancyGuard 2020-07-24 01:50:48 +08:00
mingda
50f3180c82 reduce gas cost 2020-07-24 01:48:32 +08:00
mingda
5a74bb822b chainlink price oracle proxy 2020-07-13 16:55:55 +08:00
mingda
0c86c33ed3 link to audit and docs 2020-07-13 13:35:35 +08:00
mingda
0fcdb68cde audit report finished 2020-07-13 13:24:21 +08:00
mingda
6f5a3f9909 fix tests 2020-07-12 15:30:32 +08:00
mingda
2c8ba643a8 simplify code to reduce deploy gas cost 2020-07-11 16:21:54 +08:00
mingda
a955c7faca slimplify dodo lp token constructor 2020-07-11 15:34:12 +08:00
mingda
edec5e5711 simplify events 2020-07-11 13:57:07 +08:00
mingda
ad552cf969 fix test 2020-07-11 11:50:33 +08:00
mingda
4270042fa9 log lp token change 2020-07-11 01:28:21 +08:00
mingda
40fb80e9e7 add getMidPrice 2020-07-11 01:16:26 +08:00
mingda
31e325e9c6 add withdraw & withdrawAll func to DODO Eth proxy 2020-07-11 01:11:10 +08:00
mingda
6f3f1557d7 more events 2020-07-11 00:57:00 +08:00
mingda
be649f7750 [audit]#11 check balance when transfer in/out 2020-07-10 13:35:10 +08:00
mingda
f7bfead589 [audit]#8.1 handel sqrt coner case 2020-07-10 13:34:04 +08:00
mingda
7ead33bc37 [audit]#1.1 add symbol "DLP" to lptoken 2020-07-10 13:33:12 +08:00
mingda
51be40478a [audit]#9.1 improve math precision 2020-07-10 13:32:20 +08:00
mingda
9af81c1bd9 gas optimize 2020-07-09 17:59:25 +08:00
mingda
ded1375619 [audit]#10 remove dodo from zoo 2020-07-09 16:55:40 +08:00
mingda
37cfca3fba [audit]#9 improve math precision 2020-07-08 18:22:12 +08:00
mingda
bd26082705 [audit]#8 handle sqrt coner case 2020-07-08 17:59:57 +08:00
mingda
3f077bfb49 [audit]#7 check dodo exist in dodoETHProxy 2020-07-08 17:57:13 +08:00
mingda
2fd47f3d40 [audit]#6 add baseToken and quoteToken address to dodo birth event 2020-07-08 17:54:47 +08:00
mingda
9f974667a7 [audit]#5 add claim ownership to ownable contract 2020-07-08 17:53:01 +08:00
mingda
8babc61028 [audit]#4 add transfer event to dodo lptoken burn 2020-07-08 17:52:20 +08:00
mingda
5254dc1d6b [audit]#3 simplify getExpectedTarget 2020-07-08 17:17:10 +08:00
mingda
5d7cabcc16 [audit]#2 make getExpectedTarget public 2020-07-08 17:12:00 +08:00
mingda
11eb3d7103 [audit]#1 add decimals and name to lptoken 2020-07-08 17:04:48 +08:00
mingda
44d1f28606 contract interaction scripts 2020-06-27 18:01:18 +08:00
mingda
ee88b6c358 simplify migrate script 2020-06-26 17:05:22 +08:00
mingda
8de5d8f1ab fix coverage 2020-06-26 13:09:07 +08:00
mingda
ccce3f9cd8 docs for audit 2020-06-26 13:08:59 +08:00
mingda
acbbaeea93 fix deposit base permission control 2020-06-26 13:08:47 +08:00
mingda
a4307c2f74 refine requires & comments 2020-06-26 13:08:22 +08:00
mingda
bbe8d879fb update trader test 2020-06-26 00:56:40 +08:00
mingda
a1579ddb66 first commit 2020-06-26 00:31:25 +08:00