Commit Graph

27 Commits

Author SHA1 Message Date
Michael Zhou
46460db8cb 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
2c6aaead01 update mint event 2020-08-06 17:33:31 +08:00
mingda
753a75e816 rename claim to claimAssets 2020-08-01 16:14:24 +08:00
mingda
50810bd491 add prevent retrance to donate 2020-07-30 13:58:20 +08:00
mingda
6b9151de3d emit transfer in burn 2020-07-30 01:24:00 +08:00
mingda
5b074c7b14 return capital change in deposit 2020-07-30 01:23:49 +08:00
mingda
a075f40db3 add comments 2020-07-26 13:22:25 +08:00
mingda
f5d1e1830a add version control to storage 2020-07-25 15:49:01 +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
50f3180c82 reduce gas cost 2020-07-24 01:48: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
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
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
7ead33bc37 [audit]#1.1 add symbol "DLP" to lptoken 2020-07-10 13:33:12 +08:00
mingda
9af81c1bd9 gas optimize 2020-07-09 17:59:25 +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
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
a1579ddb66 first commit 2020-06-26 00:31:25 +08:00