Commit Graph

1223 Commits

Author SHA1 Message Date
q1q0
c9b2208ce0 add compound polygon reward test script 2023-04-20 17:52:24 -04:00
Shriya Tyagi
2d2f9d01b0 Remove delegateBySig 2023-04-20 17:00:35 -04:00
Shriya Tyagi
6bc432be52 Added NatSpec comments 2023-04-20 17:00:35 -04:00
Shriya Tyagi
a85da7c8c4 Add helpers contract + optimize 2023-04-20 17:00:35 -04:00
Shriya Tyagi
a51382d1da Added claimAndDelegateArbAirdrop + prettier 2023-04-20 17:00:34 -04:00
Shriya Tyagi
bade2b6642 Add ARB token claim connector 2023-04-20 17:00:34 -04:00
q1q0
d700a3d407 add compoundV3 connector on Polygon 2023-04-20 17:00:34 -04:00
Shriya Tyagi
b3956b5ddc Added makerdao import connector - production 2023-04-20 16:54:42 -04:00
Shriya Tyagi
ae774a8240 Added approve contracts - production 2023-04-20 16:54:42 -04:00
Shriya Tyagi
ad3ffd0de2 Remove delegateBySig 2023-04-20 16:55:57 +04:00
Shriya Tyagi
15082a643e Added NatSpec comments 2023-04-20 01:27:07 +04:00
Shriya Tyagi
cd2e0b42d8 Add helpers contract + optimize 2023-04-19 21:13:05 +04:00
Shriya Tyagi
abfab948cd Added claimAndDelegateArbAirdrop + prettier 2023-04-19 20:10:27 +04:00
Shriya Tyagi
c3c5ce2560 Add ARB token claim connector 2023-04-19 20:06:43 +04:00
just-a-node
ff174f4040 Add mainnet, arbitrum, polygon connectors 2023-04-17 19:49:40 -04:00
Shriya Tyagi
9523161e69 Added makerdao import connector - production 2023-04-17 13:17:49 +04:00
Shriya Tyagi
3e720803be Added approve contracts - production 2023-04-14 15:31:53 +04:00
wanglonghong
9cd3cec75c
Update contracts/optimism/connectors/connext/main.sol
Co-authored-by: Shriya Tyagi <47134275+shriyatyagii@users.noreply.github.com>
2023-04-03 10:41:02 +08:00
wanglonghong
91c24842d3
Update contracts/optimism/connectors/connext/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2023-03-27 16:35:09 +08:00
wanglonghong
07395bf419
Update contracts/optimism/connectors/connext/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2023-03-27 16:34:37 +08:00
wanglonghong
a22f47c6ae
feat: remove unnecessary and add a case 2023-03-22 14:04:39 +08:00
wanglonghong
66aa290f4e
refactor: fix incorrect comparison 2023-03-22 09:55:54 +08:00
sanchaymittal
0ee4b2af83
prettier 2023-03-13 16:02:29 +07:00
sanchaymittal
9c56f978ef
add: main 2023-03-13 16:01:00 +07:00
sanchaymittal
a53b419602
add: helper 2023-03-13 16:00:54 +07:00
sanchaymittal
0406bcbf81
add: events and interface 2023-03-13 16:00:37 +07:00
Shriya Tyagi
b32f2051b5 Set up compound v3 contracts on polygon 2023-03-09 22:16:20 +04:00
q1q0
b3d1b17adf upate repay functions 2023-03-02 03:00:21 -05:00
q1q0
eb88da9802 update withdraw functions 2023-03-01 10:51:05 -05:00
q1q0
a5840aa3fe update borrow functions 2023-03-01 10:13:15 -05:00
Carlos
541f22c214
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol
I think we can reduce a line like this so that gas fee will be more reduced.

Co-authored-by: Shriya Tyagi <47134275+shriyatyagii@users.noreply.github.com>
2023-03-01 10:01:50 -05:00
Shriya Tyagi
810de5d9d3
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol 2023-03-01 20:06:39 +05:30
Shriya Tyagi
f5b9ee1d60
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol 2023-03-01 20:05:01 +05:30
Shriya Tyagi
0f56614f3e
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol 2023-03-01 20:04:46 +05:30
Shriya Tyagi
b6f9e55149
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol 2023-03-01 20:04:13 +05:30
Shriya Tyagi
fadb8021cd
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol 2023-03-01 20:04:02 +05:30
Shriya Tyagi
2aca0febf1
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol 2023-03-01 20:03:53 +05:30
Shriya Tyagi
740adbc820
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol 2023-03-01 20:03:32 +05:30
Shriya Tyagi
df5f922343
Update contracts/mainnet/connectors/morpho-aave-v3/main.sol 2023-03-01 20:03:20 +05:30
q1q0
027e9c264b remove owner lib 2023-02-28 18:50:17 -05:00
q1q0
b713ac9d81 update interface 2023-02-28 18:46:35 -05:00
q1q0
a1452d5f46 update minor and fix bug 2023-02-23 23:18:52 -05:00
q1q0
0624c0a4ca update connector 2023-02-23 22:19:23 -05:00
q1q0
7482153adb add temp result 2023-02-23 20:21:01 -05:00
q1q0
2ca7b19ab5 add MorphoAave3 2023-02-23 11:34:03 -05:00
Shriya Tyagi
8fd872e87d Added aave v3 addresses 2023-01-26 05:25:32 +04:00
Shriya Tyagi
84f68be964 0x for Arbitrum 2022-12-27 04:34:23 +04:00
Shriya Tyagi
58ade5674f
Update contracts/arbitrum/connectors/1inch/1inch-v5/helpers.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-12-11 15:16:53 +04:00
Shriya Tyagi
a51f36fe6d 1Inch-v5 contracts 2022-12-10 15:07:13 +04:00
Richa-iitr
19587aa851 updated events 2022-11-01 14:02:30 +05:30
Thrilok kumar
d6066bec9e
added _createAndInitializePoolIfNecessary 2022-10-31 06:08:30 +05:30
Thrilok kumar
7156ef0210
Added createAndInitializePool function 2022-10-31 06:08:16 +05:30
Thrilok kumar
0f9e04b0c9
Merge pull request #272 from Instadapp/Morpho-rewards
Rewards contract set up
2022-10-28 17:25:00 +05:30
Shriya Tyagi
1effd77cc2 removed proof from event 2022-10-25 23:01:29 +05:30
Shriya Tyagi
fbb2c3a876 Added setId for claimMorpho 2022-10-22 04:33:20 +04:00
Shriya Tyagi
671bf7a714 minor update 2022-10-21 04:10:04 +04:00
Shriya Tyagi
23c966d2df Rewards contract set up 2022-10-20 01:04:55 +04:00
Thrilok kumar
97d746e210
Merge pull request #270 from Instadapp/Morpho-connector
[Mainnet] Morpho Compound v2 & Aave v2 connector
2022-10-18 23:58:10 +05:30
Shriya Tyagi
04ce903075 minor fix 2022-10-18 07:02:00 +04:00
Shriya Tyagi
e22b0bff0c Removed claim func + fix cETH 2022-10-18 03:38:20 +04:00
Shriya Tyagi
0289824465
Update contracts/mainnet/connectors/morpho-aave/helpers.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-10-15 21:24:03 +04:00
Shriya Tyagi
85da96b950
Update contracts/mainnet/connectors/morpho-compound/helpers.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-10-15 21:23:31 +04:00
Thrilok kumar
0ea3c5613c
refactor isETH condition 2022-10-15 22:30:42 +05:30
Thrilok kumar
48980f7509
refactor isETH condition 2022-10-15 22:29:46 +05:30
Thrilok kumar
8d8969960c
refactor isETH condition 2022-10-15 22:29:15 +05:30
Thrilok kumar
c27367aea3
refactor isETH condition 2022-10-15 22:29:00 +05:30
Thrilok kumar
a069f9569e
refactor isETH 2022-10-15 22:28:33 +05:30
Thrilok kumar
32754bea19
removed if condition for _isETH 2022-10-15 22:28:02 +05:30
Shriya Tyagi
f6db02d83a Morpho-Aave: changes added 2022-10-15 08:17:36 +04:00
Shriya Tyagi
bc9abcd4d6 Morpho-Compound: changes added 2022-10-15 08:09:53 +04:00
Shriya Tyagi
3eba9e8d71
Update contracts/mainnet/connectors/morpho-compound/main.sol
Co-authored-by: Romain Milon <rmilon@gmail.com>
2022-10-15 05:27:01 +04:00
Shriya Tyagi
ed16a59387
Update contracts/mainnet/connectors/morpho-compound/main.sol
Co-authored-by: Romain Milon <rmilon@gmail.com>
2022-10-15 05:26:44 +04:00
Shriya Tyagi
1d3e65efb9
Update contracts/mainnet/connectors/morpho-compound/main.sol
Co-authored-by: Romain Milon <rmilon@gmail.com>
2022-10-15 05:26:13 +04:00
Shriya Tyagi
eb8b73b608
Update contracts/mainnet/connectors/morpho-compound/main.sol
Co-authored-by: Romain Milon <rmilon@gmail.com>
2022-10-15 05:26:06 +04:00
Shriya Tyagi
fa00586039
Update contracts/mainnet/connectors/morpho-compound/main.sol
Co-authored-by: Romain Milon <rmilon@gmail.com>
2022-10-15 05:25:54 +04:00
Shriya Tyagi
ce8a9e3c21
Update contracts/mainnet/connectors/morpho-compound/main.sol
Co-authored-by: Romain Milon <rmilon@gmail.com>
2022-10-15 05:25:35 +04:00
Shriya Tyagi
230e67c106
Update contracts/mainnet/connectors/morpho-compound/main.sol
Co-authored-by: Romain Milon <rmilon@gmail.com>
2022-10-15 05:25:06 +04:00
Shriya Tyagi
02af016379
Update contracts/mainnet/connectors/morpho-compound/helpers.sol
Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com>
2022-10-15 05:22:14 +04:00
Shriya Tyagi
368f9f52e7
Update contracts/mainnet/connectors/morpho-aave/main.sol
Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com>
2022-10-15 05:18:20 +04:00
Shriya Tyagi
d89ef2dabc
Update contracts/mainnet/connectors/morpho-aave/main.sol
Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com>
2022-10-15 05:18:10 +04:00
Shriya Tyagi
cc8e7b71b0 new functions added for Avae and Compound 2022-10-13 07:25:31 +04:00
Shriya Tyagi
0af912252e Morpho-Compound contracts set up 2022-10-12 06:29:40 +04:00
Shriya Tyagi
1bfd45527e Morpho-Aave contracts set up 2022-10-12 06:27:45 +04:00
Shriya Tyagi
9976f844dd minor fixes 2022-10-08 05:23:01 +04:00
Shriya Tyagi
a45835948b Morpho contracts set up 2022-10-05 05:49:52 +04:00
Richa-iitr
2ec88215be updated approve to iEthDSA 2022-10-02 22:36:45 +05:30
Richa-iitr
b83981d2d3 minor change 2022-10-02 20:29:01 +05:30
Richa-iitr
61d3970273 updated setId 2022-10-02 20:25:58 +05:30
Richa-iitr
b479b164dd changes 2022-10-02 10:13:11 +05:30
Richa-iitr
2ee63f3058 updated ieth call 2022-10-02 03:50:17 +05:30
Richa-iitr
72f989c9da rename contract 2022-10-02 03:27:58 +05:30
Richa-iitr
1f862ac4bf added contracts 2022-10-02 02:41:44 +05:30
Richa-iitr
f63be5b9f8 varname change 2022-09-07 06:20:42 +05:30
Richa-iitr
468469e460 varname change 2022-09-07 06:15:07 +05:30
Richa-iitr
0952ebbcb4 changes 2022-09-06 20:53:54 +05:30
Thrilok kumar
d82cc069a0
Apply suggestions from code review 2022-09-04 21:31:22 +05:30
Thrilok kumar
b0724d4d71
Update contracts/mainnet/connectors/wsteth/main.sol 2022-09-04 21:28:48 +05:30
Thrilok kumar
73e5830e26
Update contracts/mainnet/connectors/wsteth/main.sol 2022-09-04 21:28:43 +05:30
Thrilok kumar
2af2967fea
Update contracts/mainnet/connectors/wsteth/main.sol 2022-09-04 21:27:49 +05:30
Thrilok kumar
0c89fcbbf0
Update contracts/mainnet/connectors/wsteth/main.sol 2022-09-04 21:27:40 +05:30
Thrilok kumar
04e5e5bd01
Update contracts/mainnet/connectors/wsteth/main.sol 2022-09-04 21:27:34 +05:30
Thrilok kumar
8832e70469
Update contracts/mainnet/connectors/wsteth/main.sol 2022-09-04 21:27:28 +05:30
Shriya Tyagi
c6e0adab7a added amounts 2022-09-04 21:25:10 +05:30
Shriya Tyagi
ffb65ada60
Update contracts/mainnet/connectors/wsteth/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-09-04 21:21:43 +05:30
Shriya Tyagi
a7bc617f13
Update contracts/mainnet/connectors/wsteth/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-09-04 21:21:37 +05:30
Shriya Tyagi
a3b64c1251 event name changed + added setUint 2022-09-04 21:04:32 +05:30
Shriya Tyagi
e49780e2b4 minor fix 2022-09-04 05:20:43 +05:30
Shriya Tyagi
b35e03d63a Added WSTETH connector 2022-09-04 05:19:51 +05:30
Richa-iitr
c6c3244c1f isEth fix 2022-09-03 03:00:13 +05:30
Richa-iitr
f8f57d6b18 fix 2022-09-03 02:30:38 +05:30
Richa-iitr
30e0562707 event name update 2022-09-03 02:20:31 +05:30
Thrilok kumar
9aca1e987f
Merge pull request #259 from Instadapp/compound-v3-2
Compound v3 | 3
2022-09-03 02:15:48 +05:30
Thrilok kumar
5e1cc0a7a5 fix 2022-09-03 02:09:51 +05:30
Richa-iitr
bd1dcf5ddc fixes 2022-09-03 02:06:46 +05:30
Thrilok kumar
6cff35529b convert _calculateFromAmount to view function 2022-09-03 02:01:29 +05:30
Thrilok kumar
bfe984d5ec removed convert eth condition 2022-09-03 02:00:57 +05:30
Thrilok kumar
3b8aa3f0a1 fix 2022-09-03 01:59:30 +05:30
Thrilok kumar
8bf26ed1cd fix 2022-09-03 01:58:42 +05:30
Thrilok kumar
c4c44a9b2b minor fix 2022-09-03 01:58:07 +05:30
Thrilok kumar
15b978a577 fixed buyCollateral function 2022-09-03 01:56:13 +05:30
Thrilok kumar
a4bf92bdbb minor fixes 2022-09-03 01:51:05 +05:30
Thrilok kumar
d8c17a81b5 minor fix 2022-09-03 01:41:16 +05:30
Thrilok kumar
d4f6b0c332
Merge branch 'compound-iii' into compound-v3-1 2022-09-03 01:37:23 +05:30
Richa-iitr
9b3e5b6c0b minor changes 2022-09-03 01:29:21 +05:30
Thrilok kumar
c40aa080e0 minor fix 2022-09-03 01:24:52 +05:30
Thrilok kumar
745f7c6a61 fixes 2022-09-03 01:22:14 +05:30
Thrilok kumar
611ff8a3e7 fixes 2022-09-03 01:20:02 +05:30
Thrilok kumar
791d04091a code refactor 2022-09-03 01:04:50 +05:30
Richa-iitr
69eb33d64a comments 2022-09-03 00:38:00 +05:30
Thrilok kumar
52c07d27e7
code refactor 2022-09-03 00:30:04 +05:30
Richa-iitr
8250831342 buyCollateral updated 2022-09-03 00:28:11 +05:30
Richa-iitr
75c092c266 refactor 2022-09-02 23:44:51 +05:30
Richa-iitr
b88d9d887a withdraw and borrow update 2022-09-02 23:13:39 +05:30
Richa-iitr
91bb5ea57c error 2022-09-02 22:56:08 +05:30
Richa-iitr
fa345da4fc modifications 2022-09-02 21:08:24 +05:30
Richa-iitr
e3946201a8 function name changes 2022-09-02 20:50:12 +05:30
Richa-iitr
cf3c71986d function names 2022-09-02 20:07:38 +05:30
Richa-iitr
5571cf187e require statements format 2022-09-02 19:51:56 +05:30
Richa-iitr
28ef1ae2bb setAmt 2022-09-02 19:43:42 +05:30
Richa-iitr
be922547a9 fixed tests 2022-09-02 18:52:45 +05:30
Richa-iitr
d48da206da test modified 2022-09-02 17:00:56 +05:30
Richa-iitr
5470f19b79 test modified 2022-09-02 16:44:31 +05:30
Richa-iitr
d6d3fc317b withdraw -> withdrawTo 2022-09-02 14:14:52 +05:30
Richa-iitr
56e3fcbdb1 minor changes 2022-09-02 14:10:25 +05:30
Richa-iitr
204c9f924e code refactor 2022-09-02 11:18:43 +05:30
Richa-iitr
eaf3a4cbce minor change 2022-09-02 03:17:27 +05:30
Richa-iitr
b5e05f353c test update 2022-09-02 03:08:14 +05:30
Richa-iitr
866e3456e7 errors fixes 2022-09-02 01:13:59 +05:30
Richa-iitr
c0ea8a5523 errors fix 2022-09-02 00:59:35 +05:30
Richa-iitr
6289a0ae81 test 2022-09-01 23:28:58 +05:30