Commit Graph

61 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
06e4f00c9b oracles 2020-09-08 20:17:18 +08:00
mingda
2e637f0916 use safe erc20 & new logGas 2020-09-08 20:09:31 +08:00
Michael Zhou
4bebaa9057 Allow ETH as quote in DODOEthProxy 2020-09-08 11:39:43 +08:00
mingda
b83b940c49 helper oracles 2020-08-31 13:19:42 +08:00
mingda
61031b01f5 fix remove DODO 2020-08-29 18:31:23 +08:00
mingda
2e3bff89f6 update multi sig 2020-08-13 18:14:51 +08:00
mingda
020609b9b5 adjust multi sig wallet 2020-08-10 16:44:41 +08:00
mingda
782ea8d9ab restruct dodozoo remove dodo 2020-08-07 21:50:33 +08:00
mingda
2c6aaead01 update mint event 2020-08-06 17:33:31 +08:00
mingda
95089263e1 use msg.sender instead of tx.origin 2020-08-02 11:02:20 +08:00
mingda
753a75e816 rename claim to claimAssets 2020-08-01 16:14:24 +08:00
mingda
2a9ae441f8 move IDODOZoo to DODOEthProxy 2020-07-30 16:13:30 +08:00
mingda
8def1e68a1 uniswap arbitrageur constructor 2020-07-30 13:58:43 +08:00
mingda
50810bd491 add prevent retrance to donate 2020-07-30 13:58:20 +08:00
mingda
8450f84f33 get dodos 2020-07-30 13:57:38 +08:00
mingda
f2a6a10f1c multi sig wallet with time lock 2020-07-30 02:10:49 +08:00
mingda
23aef577b8 update IDODO 2020-07-30 02:10:37 +08:00
mingda
319af8967c add list of dodo in dodozoo 2020-07-30 01:32:22 +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
e5be1a065f update IDODO 2020-07-26 13:49:02 +08:00
mingda
a075f40db3 add comments 2020-07-26 13:22:25 +08:00
mingda
a908a078cc set dodo owner in init function 2020-07-25 17:58:06 +08:00
mingda
f5d1e1830a add version control to storage 2020-07-25 15:49:01 +08:00
mingda
d58cd90a1f Add Admin control to dodo zoo 2020-07-25 15:48:50 +08:00
mingda
71cb3852ca dodo eth proxy fit new dodo trade abi 2020-07-25 14:56:11 +08:00
mingda
fa80a2b0fd set default supervisor in dodozoo 2020-07-25 14:52:36 +08:00
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
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
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