Commit Graph

61 Commits

Author SHA1 Message Date
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
d4320ae360 oracles 2020-09-08 20:17:18 +08:00
mingda
d1ebe23958 use safe erc20 & new logGas 2020-09-08 20:09:31 +08:00
Michael Zhou
4a528172c9 Allow ETH as quote in DODOEthProxy 2020-09-08 11:39:43 +08:00
mingda
146a2a2d67 helper oracles 2020-08-31 13:19:42 +08:00
mingda
2191493ef6 fix remove DODO 2020-08-29 18:31:23 +08:00
mingda
fa6f3a1fe4 update multi sig 2020-08-13 18:14:51 +08:00
mingda
0ad168147a adjust multi sig wallet 2020-08-10 16:44:41 +08:00
mingda
ce6a15792d restruct dodozoo remove dodo 2020-08-07 21:50:33 +08:00
mingda
3cc8067051 update mint event 2020-08-06 17:33:31 +08:00
mingda
ae15e9c936 use msg.sender instead of tx.origin 2020-08-02 11:02:20 +08:00
mingda
2b58bb1ac8 rename claim to claimAssets 2020-08-01 16:14:24 +08:00
mingda
9eeded8f61 move IDODOZoo to DODOEthProxy 2020-07-30 16:13:30 +08:00
mingda
23f57f9576 uniswap arbitrageur constructor 2020-07-30 13:58:43 +08:00
mingda
513e9f3352 add prevent retrance to donate 2020-07-30 13:58:20 +08:00
mingda
b133a98d5f get dodos 2020-07-30 13:57:38 +08:00
mingda
0c582c4ee5 multi sig wallet with time lock 2020-07-30 02:10:49 +08:00
mingda
e0b06ede0a update IDODO 2020-07-30 02:10:37 +08:00
mingda
9daf132e92 add list of dodo in dodozoo 2020-07-30 01:32:22 +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
5a5558608c update IDODO 2020-07-26 13:49:02 +08:00
mingda
dd33f183ae add comments 2020-07-26 13:22:25 +08:00
mingda
3bc7e2359e set dodo owner in init function 2020-07-25 17:58:06 +08:00
mingda
0445a471a1 add version control to storage 2020-07-25 15:49:01 +08:00
mingda
c662bbfe77 Add Admin control to dodo zoo 2020-07-25 15:48:50 +08:00
mingda
c2c80d2109 dodo eth proxy fit new dodo trade abi 2020-07-25 14:56:11 +08:00
mingda
9a79b0fe68 set default supervisor in dodozoo 2020-07-25 14:52:36 +08:00
mingda
faf0826a29 Public Arbitrageur between UniswapV2 and DODO 2020-07-25 01:19:26 +08:00
mingda
a6c7fffb23 Use Clone Factory 2020-07-25 01:18:50 +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
a358afc91c clone dodo using minimal proxy 2020-07-24 01:53:58 +08:00
mingda
8b9614c7b4 simplify reentrancyGuard 2020-07-24 01:50:48 +08:00
mingda
03a6d6ed85 reduce gas cost 2020-07-24 01:48:32 +08:00
mingda
affe471c33 chainlink price oracle proxy 2020-07-13 16:55:55 +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
aacc3ca91e add withdraw & withdrawAll func to DODO Eth proxy 2020-07-11 01:11:10 +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
7adec98a1d [audit]#8.1 handel sqrt coner case 2020-07-10 13:34:04 +08:00
mingda
ecb8ef56ad [audit]#1.1 add symbol "DLP" to lptoken 2020-07-10 13:33:12 +08:00
mingda
19b0d688a3 [audit]#9.1 improve math precision 2020-07-10 13:32:20 +08:00
mingda
65015c0bdb gas optimize 2020-07-09 17:59:25 +08:00
mingda
3c0b1e99e1 [audit]#10 remove dodo from zoo 2020-07-09 16:55:40 +08:00
mingda
34b4ba4338 [audit]#9 improve math precision 2020-07-08 18:22:12 +08:00