Commit Graph

29 Commits

Author SHA1 Message Date
mingda
4880b39e2a claim assets when single side deposit 2020-09-21 23:37:58 +08:00
mingda
4195a080bc integrate withdraw base and quote to final settlement claim 2020-09-17 23:50:56 +08:00
Michael Zhou
30040834f6 Add buying, selling and capital limit controls
These advanced controls are disabled by default.

Also disable depositing and trading when creating a new DODO.
2020-09-09 01:34:30 +08:00
mingda
3cc8067051 update mint event 2020-08-06 17:33:31 +08:00
mingda
2b58bb1ac8 rename claim to claimAssets 2020-08-01 16:14:24 +08:00
mingda
513e9f3352 add prevent retrance to donate 2020-07-30 13:58:20 +08:00
mingda
56a1a8fdc7 emit transfer in burn 2020-07-30 01:24:00 +08:00
mingda
73866b9d3a return capital change in deposit 2020-07-30 01:23:49 +08:00
mingda
dd33f183ae add comments 2020-07-26 13:22:25 +08:00
mingda
0445a471a1 add version control to storage 2020-07-25 15:49:01 +08:00
mingda
81c295c09c add flash trade 2020-07-24 01:55:47 +08:00
mingda
cd17f1c5ac remove constructor because using proxy mode clone 2020-07-24 01:55:09 +08:00
mingda
03a6d6ed85 reduce gas cost 2020-07-24 01:48:32 +08:00
mingda
739195b326 simplify code to reduce deploy gas cost 2020-07-11 16:21:54 +08:00
mingda
d042c265c2 slimplify dodo lp token constructor 2020-07-11 15:34:12 +08:00
mingda
8e64b5e370 simplify events 2020-07-11 13:57:07 +08:00
mingda
8a31f54be2 log lp token change 2020-07-11 01:28:21 +08:00
mingda
e9427eafb5 add getMidPrice 2020-07-11 01:16:26 +08:00
mingda
1458d8edaa more events 2020-07-11 00:57:00 +08:00
mingda
cae14bde20 [audit]#11 check balance when transfer in/out 2020-07-10 13:35:10 +08:00
mingda
ecb8ef56ad [audit]#1.1 add symbol "DLP" to lptoken 2020-07-10 13:33:12 +08:00
mingda
65015c0bdb gas optimize 2020-07-09 17:59:25 +08:00
mingda
9a1657d90d [audit]#4 add transfer event to dodo lptoken burn 2020-07-08 17:52:20 +08:00
mingda
b713d5c959 [audit]#3 simplify getExpectedTarget 2020-07-08 17:17:10 +08:00
mingda
85eee0d1c2 [audit]#2 make getExpectedTarget public 2020-07-08 17:12:00 +08:00
mingda
b42f4aeb3c [audit]#1 add decimals and name to lptoken 2020-07-08 17:04:48 +08:00
mingda
4a56cec94f fix deposit base permission control 2020-06-26 13:08:47 +08:00
mingda
5b17cb86d7 refine requires & comments 2020-06-26 13:08:22 +08:00
mingda
c72bcae8e9 first commit 2020-06-26 00:31:25 +08:00