Commit Graph

373 Commits

Author SHA1 Message Date
Samyak Jain
2b06bcc8dd small bug 2019-06-24 03:26:01 +05:30
Samyak Jain
c11b590562 small bug 2019-06-24 03:15:37 +05:30
Samyak Jain
12ffa7dfcb small code refactor 2019-06-24 02:57:30 +05:30
Samyak Jain
39cbd004e8 cut implemented 2019-06-24 02:52:16 +05:30
Samyak Jain
3969d4af74 loopSwap completed 2019-06-24 02:38:02 +05:30
Samyak Jain
ade2fc6725 save swap done 2019-06-24 02:23:32 +05:30
Samyak Jain
db05eaaabb getBest rate read done 2019-06-24 02:10:38 +05:30
Samyak Jain
80d2f31c61 eth2dai basic setup 2019-06-24 01:37:00 +05:30
Samyak Jain
13ccec6f65 bridge address 2019-06-23 18:16:24 +05:30
Samyak Jain
af17f045a7 unmapped tokens & CDP 2019-06-23 00:19:53 +05:30
Samyak Jain
502aafc04c added bridge address 2019-06-21 17:21:13 +05:30
Samyak Jain
962cc181e0 added events 2019-06-21 17:12:05 +05:30
Samyak Jain
7f1f85e105 added bridge address 2019-06-21 03:19:20 +05:30
Samyak Jain
34ba587b8b fees implemented 2019-06-21 02:59:22 +05:30
Samyak Jain
e016eefce0 bugs fixing 2019-06-21 02:29:09 +05:30
Samyak Jain
411f9c54ac added bridge address 2019-06-21 00:32:59 +05:30
Samyak Jain
3c338e88a3 address wrong bug 2019-06-20 23:51:13 +05:30
Samyak Jain
0d1d08ff95 added max to compound to maker 2019-06-20 23:44:17 +05:30
Samyak Jain
195eaa8456 maker to compound max 2019-06-20 22:45:02 +05:30
Samyak Jain
83e41c6909 added CEth address 2019-06-20 22:44:38 +05:30
Sowmayjain
6dd447c992 fixed few more issues. 2019-06-20 19:19:34 +05:30
Sowmayjain
89d7f9fd98 resequenced one function. 2019-06-20 19:13:30 +05:30
Sowmayjain
15b2009965 Beautified bridge contarcts code. 2019-06-20 19:11:02 +05:30
Samyak Jain
b1f0a79ddd github conflict resolved 2019-06-20 18:21:21 +05:30
Samyak Jain
9ba308b783 small changes 2019-06-20 18:19:20 +05:30
Sowmayjain
df0071bb08 Minor changes. 2019-06-20 02:00:22 +05:30
Samyak Jain
13d668e5c4 bridge completed 2019-06-20 00:12:39 +05:30
Samyak Jain
17d0894bcc bridge almost done 2019-06-19 20:33:25 +05:30
Samyak Jain
6886c863df bridge in process 2019-06-19 20:22:24 +05:30
Samyak Jain
fb62a95d9b bridge makerToCompound almost complete 2019-06-19 18:39:25 +05:30
Samyak Jain
43dc517637 Naming new files 2019-06-19 17:54:13 +05:30
Sowmayjain
81e13f5de9 change variable name. 2019-06-19 01:01:54 +05:30
Sowmayjain
aa7d18978d removed unused interface functions. 2019-06-18 23:50:02 +05:30
Sowmayjain
855785cc4c Refactored file structure. 2019-06-18 23:46:33 +05:30
Samyak Jain
99f58db034 stack too deep error 2019-06-17 22:47:50 +05:30
Samyak Jain
ccd4b7745c stack too deep error resolved 2019-06-17 22:43:33 +05:30
Samyak Jain
75c7f6043a bug fix 2019-06-17 18:22:17 +05:30
Samyak Jain
3feb331090 minor fix 2019-06-17 18:15:01 +05:30
Samyak Jain
e60fbc3033 comment and code clean up 2019-06-17 17:55:00 +05:30
Samyak Jain
c9acfc00c5 transfer DAI user wallet bug 2019-06-17 17:26:42 +05:30
Samyak Jain
1971321441 bugs fixing 2019-06-17 16:43:58 +05:30
Samyak Jain
af6332ba1a bridge completed 2019-06-17 00:48:12 +05:30
Samyak Jain
91afcc4464 Comp > Maker done vice versa in process 2019-06-17 00:25:29 +05:30
Samyak Jain
89aa178b51 ratio in process 2019-06-16 19:35:30 +05:30
Samyak Jain
d4b16eb0e2 compound ratio done 2019-06-16 18:18:07 +05:30
Samyak Jain
1147cff4b1 small change 2019-06-15 03:00:18 +05:30
Samyak Jain
b557eadd91 instaBridge severe changes 2019-06-13 19:16:08 +05:30
Samyak Jain
9f0d48ea45 transferFrom bug fix 2019-06-12 16:32:35 +05:30
Samyak Jain
55ee422e7b withdraw DAI require statement 2019-06-12 14:44:21 +05:30
Samyak Jain
de36b39a89 set Admin 2019-06-12 14:33:00 +05:30
Samyak Jain
b6430ee85a contract payable 2019-06-12 13:49:25 +05:30
Samyak Jain
b9979795cb compound to maker bridge completed 2019-06-10 01:24:36 +05:30
Samyak Jain
7593884f49 Maker to compound import complete 2019-06-09 16:25:57 +05:30
Samyak Jain
df2b7f043d maker implementation completed 2019-06-09 01:40:49 +05:30
Samyak Jain
ccd5d036a8 bridge contract almost completed 2019-06-08 19:53:34 +05:30
Samyak Jain
db59e27560 deposit DAI function 2019-06-08 16:36:49 +05:30
Samyak Jain
98b9a64423 enter market bug fix 2019-06-04 01:29:11 +05:30
Samyak Jain
aa06ba9743 bug fix 2019-06-03 18:29:24 +05:30
Samyak Jain
a392dfcfd1 contract bug fixing 2019-06-03 17:42:16 +05:30
Samyak Jain
28060abb2d bug fixing 2019-06-03 17:25:51 +05:30
Samyak Jain
fdcd5e0151 small event edit 2019-06-02 19:04:04 +05:30
Samyak Jain
f605ee1682 enter market when borrow 2019-06-02 17:20:51 +05:30
Sowmayjain
cd3fb604e1 Minor change in parameters. 2019-06-01 22:26:16 +05:30
Sowmayjain
b396a4c4da Removed Manager & Guardian from InstaAccess. 2019-06-01 22:20:53 +05:30
Sowmayjain
23fa2c6390 Added light version of user walllet. 2019-06-01 21:20:25 +05:30
Sowmayjain
fd849d1db3 Merge branch 'master' of https://github.com/Sowmayjain/InstaProxyContract 2019-06-01 20:59:43 +05:30
Sowmayjain
302f2eb174 Added Access Control Contract. 2019-06-01 20:59:40 +05:30
Samyak Jain
18958f2ad2 in access repay set max 2019-06-01 16:13:16 +05:30
Samyak Jain
c91dddaa6b functions description 2019-06-01 15:48:39 +05:30
Samyak Jain
0577aee221 removed white space 2019-06-01 10:37:45 +05:30
Samyak Jain
1552411409 removed unnecessary things 2019-05-31 19:17:56 +05:30
Samyak Jain
0e514897ff compound events integration 2019-05-31 19:13:52 +05:30
Samyak Jain
af8a388c84 function optimization 2019-05-31 16:31:28 +05:30
Samyak Jain
c5d5176923 removed read functions 2019-05-29 19:36:23 +05:30
Samyak Jain
821eee499b functions almost completed 2019-05-28 22:24:09 +05:30
Samyak Jain
12b0142615 interface & basic read functions 2019-05-28 04:36:05 +05:30
Samyak Jain
02c21a9b28 basic contract interface 2019-05-26 02:05:56 +05:30
Samyak Jain
fa2fb6ee1a compound interface for write functions 2019-05-26 01:27:44 +05:30
Samyak Jain
f8d71bd403 require 0x0 in draw & send 2019-05-12 18:12:18 -04:00
Samyak Jain
a01b9c0370 borrow and send implemented 2019-05-12 17:56:46 -04:00
Samyak Jain
f9a33dc7f6 added sub and add 2019-05-06 21:09:38 +05:30
Samyak Jain
0d383ee4d3 removed maxEth 2019-05-06 21:05:55 +05:30
Samyak Jain
af1e0760fa maxETH fixed 2019-05-06 19:25:00 +05:30
Samyak Jain
460d8bd74d fees removed 2019-05-06 15:06:46 +05:30
Sowmayjain
f4e0ae0d36 Code refactoring and adding events. 2019-05-04 00:49:13 +05:30
Samyak Jain
91063d81bd get leverage error fixed 2019-05-04 00:01:24 +05:30
Samyak Jain
016ecd3020 save error solved 2019-05-02 23:30:32 +05:30
Samyak Jain
b796e5bd78 removed unnesessary code 2019-05-02 00:46:17 +05:30
Samyak Jain
899c045238 getMax public function 2019-05-02 00:42:33 +05:30
Samyak Jain
d160b758c9 code structure & some small error 2019-05-02 00:22:41 +05:30
Samyak Jain
08c0f86432 contract InstaSave 2019-05-01 15:40:30 +05:30
Samyak Jain
869c12c110 Allowance in leverage & small edits 2019-05-01 15:37:18 +05:30
Samyak Jain
e5a50109bd Save & Lev done testing remain 2019-05-01 02:23:44 +05:30
Samyak Jain
ef15ee58ce small edits 2019-04-30 02:22:09 +05:30
Samyak Jain
8cff3ddc2c leverage function completed 2019-04-28 23:54:15 +05:30
Samyak Jain
49f3d64a93 save function in process 2019-04-28 17:36:21 +05:30
Samyak Jain
11905ba94f check loop lasting number 2019-04-28 02:50:21 +05:30
Samyak Jain
9b518f1297 getFinalPosition completed trying new things 2019-04-28 02:46:06 +05:30
Samyak Jain
1d690337cd getFinalPosition function in process 2019-04-25 17:36:55 +05:30
Samyak Jain
16fee374ed contract skeleton created 2019-04-25 02:52:59 +05:30
Sowmayjain
98ec40aef7 Code optimize. 2019-04-20 22:39:33 +05:30
Samyak Jain
8ad933a0b5 address rinkeby Commented 2019-04-20 20:42:25 +05:30
Samyak Jain
8bb38b98d4 shut pool completed 2019-04-20 17:01:51 +05:30
Sowmayjain
651ffbd4e5 Merge branch 'master' of https://github.com/Sowmayjain/InstaProxyContract 2019-04-19 02:46:14 +05:30
Sowmayjain
f3e23fbe84 Minor changes. 2019-04-19 02:46:11 +05:30
Samyak Jain
bfa50aaea7 events uniswap 2019-04-19 01:09:44 +05:30
Samyak Jain
5002098a1d changed totalSupply to function 2019-04-14 15:09:24 +05:30
Sowmayjain
ac52c84424 . 2019-04-12 19:52:04 +05:30
Sowmayjain
eb374fb87f Exit >>> InstaExit. 2019-04-12 19:50:00 +05:30
Sowmayjain
e28ca6a6ee Added events in InstaMaker 2019-04-12 19:29:48 +05:30
Sowmayjain
2c4d1d25d7 Code refactoring. 2019-04-12 18:51:18 +05:30
Sowmayjain
4f168a035a Added: non-owners can't wipe / lock other's CDP. 2019-04-12 17:29:47 +05:30
Sowmayjain
75a0b3b312 Removed dest argument from transferETH() 2019-04-12 16:13:41 +05:30
Sowmayjain
f7a94c43a1 Contract name change. 2019-04-12 15:50:06 +05:30
Sowmayjain
58e1c88b48 Added default exit contract. 2019-04-12 15:44:54 +05:30
Sowmayjain
fa5ec877bf Fixed problem in shut() when no debt. 2019-04-11 01:07:40 +05:30
Samyak Jain
5692a86d51 unused function 2019-04-10 15:10:52 +05:30
Samyak Jain
d18b92760e small comment edit 2019-04-08 16:10:33 +05:30
Sowmayjain
4863c0c415 Change in names. 2019-04-08 01:51:54 +05:30
Sowmayjain
7b554cf461 Small code refactoring. 2019-04-07 20:11:57 +05:30
Sowmayjain
e6b993bf54 Optimized if-else statements. 2019-04-07 18:34:51 +05:30
Samyak Jain
3ce7974f67 Uniswap pool integration complete 2019-04-07 04:21:57 +05:30
Samyak Jain
222f6ec10e uint(0) -> uint(1) and some minor changes 2019-04-07 02:44:28 +05:30
Samyak Jain
3ff43069e1 setApproval gas efficiency 2019-04-07 01:47:41 +05:30
Samyak Jain
fc3c03d852 uniswapExchange instance for gas optimization 2019-04-06 21:06:56 +05:30
Sowmayjain
99786654ef Proxy Logics => refactoring & removed unused code. 2019-04-06 18:53:33 +05:30
Sowmayjain
992aedcc60 Fixed few error and removed unused code. 2019-04-06 18:35:47 +05:30
Sowmay Jain
6a12915ce0
Merge pull request #4 from InstaDApp/test-suite
Test Suite Setup
2019-04-06 18:32:42 +05:30
Ravindra Kumar
b0cca9472b Test Suite Setup 2019-04-06 18:19:08 +05:30
Samyak Jain
375ce3c92f pool details function complete 2019-04-06 17:21:02 +05:30
Samyak Jain
5f52694075 comment added 2019-04-06 16:51:51 +05:30
Samyak Jain
f298a6da91 remove liquidity complete 2019-04-06 16:39:34 +05:30
Samyak Jain
1fe5eb1250 add liquidity complete 2019-04-06 16:14:15 +05:30
Sowmayjain
b73037d079 Code cleanup and refactoring. 2019-04-06 14:39:53 +05:30
Samyak Jain
672952a858 addLiquidity in process 2019-04-06 03:14:18 +05:30
Samyak Jain
fc6111de62 Uniswap pooling 2019-04-05 16:58:08 +05:30
Sowmayjain
e023b658c1 Fixed WalletRegistry error. 2019-04-04 00:29:32 +05:30
Sowmayjain
690547bbef Fixed error related to InstaRegistry.sol 2019-04-03 17:21:18 +05:30
Samyak Jain
c69c8970f1 to check github username from my mac 2019-04-03 17:08:12 +05:30
Samyak Jain
1dc4371360 InstaWallet -> UserWallet 2019-04-03 15:16:56 +05:30
Sowmayjain
c45d3b3c79 Added comments in Auth module. 2019-04-03 04:59:41 +05:30
Sowmayjain
20ec845185 Updated initial wallet & removed beta contracts. 2019-04-03 04:54:36 +05:30
Sowmayjain
db027c7f93 Removed Guardian & Manager Auth Modul. 2019-04-03 04:45:32 +05:30
Sowmayjain
6f6debbf30 [last try] Fixing WIPE error. 2019-04-01 18:17:35 +05:30
Sowmayjain
b4a6113f00 Renewed InstaMaker. 2019-04-01 17:48:50 +05:30
Sowmayjain
5e92995f13 Everything working (except WIPE) 2019-04-01 05:35:14 +05:30
Sowmayjain
c60688b37d Renewed InstaMaker & Cleaned FreeProxy. 2019-04-01 03:20:11 +05:30
Sowmayjain
cd9849ade6 Code cleanup. 2019-04-01 02:43:09 +05:30
Sowmayjain
d3c16d367f Interface - public >> external 2019-04-01 02:41:57 +05:30
Sowmayjain
bdd5661067 Added WipeProxy & new wipe() logic. 2019-04-01 02:38:38 +05:30
Sowmayjain
c494a74891 Removed getAddressAdmin() 2019-04-01 01:16:28 +05:30
Sowmayjain
f397cfb95f Removed getDAIAddress() 2019-04-01 01:16:14 +05:30
Sowmayjain
09eb9a409d Removed getPriceFeedAddress address. 2019-04-01 01:15:58 +05:30
Sowmayjain
8eea933b9e Removed IERC20 Interface. 2019-04-01 01:11:10 +05:30
Sowmayjain
b8e93dbe6e Removed MKR allowance code. 2019-04-01 00:56:24 +05:30
Sowmayjain
d4609eedd6 Uniswap integration completed. 2019-04-01 00:05:14 +05:30
Sowmayjain
61db7a49d4 Fixed standard error. 2019-03-31 03:02:12 +05:30
Sowmayjain
c8ea5f8c98 removed MKR-ETH swap for now. 2019-03-31 02:47:25 +05:30
Sowmayjain
3e7672e4f3 Code cleanup. 2019-03-31 02:47:11 +05:30
Sowmayjain
a0596b0f16 Replaced kovan kyber proxy with mainnet. 2019-03-30 22:38:00 +05:30
Sowmayjain
1df30cf566 Removed undocumented params. 2019-03-30 19:38:27 +05:30
Sowmayjain
d7ae8becc7 No deadline. 2019-03-30 04:02:59 +05:30
Sowmayjain
31d6b27eae Fixed address error. 2019-03-30 03:48:19 +05:30
Samyak Jain
df2e268e3b uniswap integration completed 2019-03-30 03:37:26 +05:30
Samyak Jain
629834bcb7 uniswap interface 2019-03-30 02:14:44 +05:30
Sowmayjain
cc7021301c Added function => get CDP owner & bytes by CDP ID 2019-03-29 23:48:32 +05:30
Sowmayjain
0b9b560cb4 Added kovan address and code refactoring. 2019-03-29 17:13:21 +05:30
Sowmayjain
c5853ff7da Little code refactoring. 2019-03-29 16:03:15 +05:30
Sowmayjain
2f5217c263 Added Samyak todo. 2019-03-29 04:12:09 +05:30
Sowmayjain
e5ab0596de InstaMaker code cleanup. 2019-03-29 04:11:43 +05:30
Sowmayjain
d457d3ae8f Completed InstaMaker (untested) 2019-03-29 03:56:52 +05:30
Sowmayjain
65a97fa1d0 Added previous InstaMaker contract. 2019-03-28 04:26:19 +05:30
Sowmayjain
bc895045e0 Incorporated slippage rate. 2019-03-28 02:08:13 +05:30
Samyak
5d844f4c0f few changes for better code structure 2019-03-26 12:19:20 +05:30
Sowmayjain
2f431aca29 Factored maxDest properly [not tested] 2019-03-26 04:26:01 +05:30
Sowmayjain
5da6918091 Started InstaMaker 2019-03-26 02:15:35 +05:30
Sowmayjain
896ce00731 File cleanup. 2019-03-26 02:14:49 +05:30
Sowmayjain
e9dbfe0a17 Revamp isExecutable & upto 5 guardians & managers. 2019-03-26 00:36:24 +05:30
Samyak
baadafaf71 isExecutable function to modifier 2019-03-26 00:17:45 +05:30
Sowmayjain
fa844cc2cd Fixed manage allowance bug. 2019-03-25 18:48:52 +05:30
Sowmayjain
60f66390f5 Fixed bug in isExecutable() & build() on deploy 2019-03-25 03:19:14 +05:30
Sowmayjain
87cfe8f4a7 renamed contract. 2019-03-24 05:46:50 +05:30
Sowmayjain
d28c507085 Completed basic version of beta contracts. 2019-03-23 04:25:00 +05:30
Sowmayjain
ff2657a11a File refactoring + created Bin 2019-03-23 04:07:27 +05:30
Sowmayjain
d930d404b0 fixed few errors and warnings. 2019-03-23 04:03:45 +05:30
Sowmayjain
19379111d7 Completed Kyber Swap Proxy Contract. 2019-03-23 03:55:46 +05:30
Samyak
8a099ff357 comment kyber trade dest added 2019-03-23 00:50:34 +05:30
Samyak
05a5349b64 kyber.sol completed 2019-03-23 00:47:59 +05:30
Samyak
a3938aec80 dex completed, checking remaining 2019-03-22 03:40:26 +05:30
Samyak
7142e1f9ee dexes integration almost done 2019-03-22 01:38:56 +05:30
Samyak
5b2ae84dab user -> msg.sender 2019-03-21 23:26:40 +05:30
Samyak
bedba4fce1 Merge branch 'master' of https://github.com/Sowmayjain/InstaProxyContract 2019-03-21 15:29:51 +05:30
Samyak
96bea5a323 uniswap trade with dest Amount completed 2019-03-21 15:29:45 +05:30
Sowmayjain
e6479f6b18 added beta version. 2019-03-21 03:34:02 +05:30
Sowmayjain
49dffd2115 Merge branch 'master' of https://github.com/Sowmayjain/InstaProxyContract 2019-03-21 02:22:19 +05:30
Sowmayjain
318eecd829 fixed error associated with function viewability 2019-03-21 02:22:15 +05:30
Samyak
02dee406c7 Merge branch 'master' of https://github.com/Sowmayjain/InstaProxyContract 2019-03-21 00:30:27 +05:30
Samyak
4c7b4ff34c uniswap trade with source completed 2019-03-21 00:29:57 +05:30
Sowmayjain
d53e107228 fixed error 2019-03-20 02:51:08 +05:30
Sowmayjain
b0b6650ba0 Changed the name to InstaRegistry. 2019-03-20 02:50:49 +05:30