Commit Graph

892 Commits

Author SHA1 Message Date
Shriya Tyagi
963248d0d0 paybackOnBehalfOf added - Mainnet Aave V2 2022-04-30 19:03:19 +04:00
Shriya Tyagi
9ec3f8d2c5 minor updates 2022-04-29 02:35:53 +04:00
Shriya Tyagi
49f86dc29a
Update contracts/arbitrum/connectors/aave/v3/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-04-29 02:07:03 +04:00
Shriya Tyagi
bc622864ab
Update contracts/arbitrum/connectors/aave/v3/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-04-29 02:06:55 +04:00
Shriya Tyagi
a6a3d8438e
Update contracts/arbitrum/connectors/aave/v3/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-04-29 02:05:59 +04:00
Shriya Tyagi
c1351601f0 paybackOnBehalfOf added - Arbitrum 2022-04-29 01:47:55 +04:00
Shriya Tyagi
dc02452a22 paybackOnBehalfOf added - Avalanche 2022-04-29 01:43:56 +04:00
Shriya Tyagi
a3e48cc909 paybackOnBehalfOf added - Fantom 2022-04-29 01:39:06 +04:00
Shriya Tyagi
9255d1a77e paybackOnBehalfOf added - Mainnet 2022-04-29 01:35:31 +04:00
Shriya Tyagi
a65d9dd7a6 added paybackOnBehalfOf() - Optimism 2022-04-29 01:31:18 +04:00
Shriya Tyagi
07af126574 paybackOnBehalfOf added- Polygon 2022-04-28 22:24:56 +04:00
Shriya Tyagi
ba6f368b72 minor updates 2022-04-28 21:34:54 +04:00
Shriya Tyagi
390bacaa01 updated comments for all chains 2022-04-28 00:53:56 +04:00
Shriya Tyagi
3a6a864d8f
updated comments
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-04-28 00:47:37 +04:00
Shriya Tyagi
be1cf065c9
updated comments
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-04-28 00:47:25 +04:00
Shriya Tyagi
b566e34cd3 rateMode updated 2022-04-27 18:24:52 +04:00
Shriya Tyagi
d5b096c995 updated changes- Arbitrum 2022-04-27 18:18:18 +04:00
Shriya Tyagi
11ded62f6d updated changes- Fantom 2022-04-27 18:16:25 +04:00
Shriya Tyagi
484ff2ef33 updated changes- Mainnet 2022-04-27 18:15:32 +04:00
Shriya Tyagi
8bbae5a1e1 Updated changes- Optimism 2022-04-27 18:13:16 +04:00
Shriya Tyagi
062029d9b4 updated changes-polygon 2022-04-27 18:11:52 +04:00
Shriya Tyagi
99376e6381 changes updated- Avalanche 2022-04-27 18:01:09 +04:00
Shriya Tyagi
d7b7c4c2e8
LogDepositWithoutCollateral event created
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-04-27 17:37:39 +04:00
Shriya Tyagi
3a8a2ba6bc
LogBorrowOnBehalfOf event created
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-04-27 17:37:24 +04:00
Shriya Tyagi
fc24288d59
updated rateMode
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-04-27 17:35:17 +04:00
Shriya Tyagi
22efee297b Aave v3 updated on Mainnet 2022-04-27 03:02:47 +04:00
Shriya Tyagi
e31d39afb0 Aave v3 updates on Arbitrum 2022-04-27 02:54:23 +04:00
Shriya Tyagi
721a60f51d Aave v3 updates on Avalanche 2022-04-27 02:49:33 +04:00
Shriya Tyagi
a1169c871d Aave v3 updates on Fantom 2022-04-27 02:44:25 +04:00
Shriya Tyagi
8ae6b45e42 Aave v3 updates on Optimism 2022-04-27 02:37:51 +04:00
Shriya Tyagi
cdf9a737a1 modified depositWithoutCollateral() 2022-04-27 02:27:52 +04:00
Shriya Tyagi
46ae8e333a New functions added 2022-04-27 00:53:09 +04:00
Samyak Jain
450766b0da Aave's calculation is messing with token's amt 2022-04-26 22:39:51 +04:00
pradyuman-verma
85ea05e6b4
minor fix 2022-04-21 01:29:05 +05:30
pradyuman-verma
fa4df5860a
avax rewards: aave v3 2022-04-21 00:49:13 +05:30
pradyuman-verma
8f6c5092ac
updated parama 2022-04-16 22:54:24 +05:30
Tianjie Wei
c04d3978da Allow users to chain staking calls after claimNOTE 2022-04-13 21:01:59 -07:00
0xPradyuman
e1821276fa
Merge pull request #208 from Instadapp/aave-v3-disable-collateral
Aave v3 disable collateral
2022-04-13 00:45:54 +05:30
pradyuman-verma
382366e006
used params.chainId instead of bool to check 2022-04-12 21:53:55 +05:30
Thrilok kumar
51946a8922
Merge pull request #204 from Richa-iitr/aave-v3-import-permit
Aave-v3-import with permit | Avalanche, Polygon, Arbitrum
2022-04-12 17:14:58 +05:30
weitianjie2000
b7d60ca8ae
Adding staking to Notional DSA connector (#4)
* Adding staking

* Adding tests

* Formatting

* Reformat events

* Addressing PR comments
2022-04-11 11:37:10 -07:00
pradyuman-verma
595e4fb620
added l2AmmWrapper and l1Bridge addresses as a param 2022-04-11 17:45:54 +05:30
pradyuman-verma
5952962977
added hop arbitrum 2022-04-11 17:40:07 +05:30
pradyuman-verma
227004ab79
added hop optimism 2022-04-11 17:32:58 +05:30
pradyuman-verma
ca34079520
added hop mainnet 2022-04-11 17:24:54 +05:30
Richa-iitr
cd3f8f26e7 removed aave v3 permit connector for optimism, fantom 2022-04-11 01:30:25 +05:30
pradyuman-verma
366d7247ea
updated contract version 2022-04-10 19:19:23 +05:30
pradyuman-verma
e4ec3db116
added disable collateral optimism 2022-04-10 17:57:02 +05:30
pradyuman-verma
13ee814a4a
added disable collateral fantom 2022-04-10 17:56:51 +05:30
pradyuman-verma
0daf21915c
added disable collateral avax 2022-04-10 17:56:38 +05:30
pradyuman-verma
fd4b517952
added disable collateral arbi 2022-04-10 17:56:30 +05:30
pradyuman-verma
9e3b496ea4
added disable collateral polygon 2022-04-10 17:53:15 +05:30
Vaibhav Khanna
3cf25980c7 fixed name 2022-04-07 22:47:02 +05:30
Vaibhav Khanna
dafa5e771b minor fix 2022-04-07 11:05:05 +05:30
Samyak Jain
73a76c3467 minor text update 2022-04-06 06:32:56 +04:00
Samyak Jain
b191ac1710 added deleverage function in lite 2022-04-06 06:27:57 +04:00
Richa-iitr
35e83ea25a added connector for avalanche, fantom, arbitrum, optimism 2022-04-06 01:30:27 +05:30
Richa-iitr
7bb8a15186 minor correction 2022-04-04 23:15:58 +05:30
Richa
b394109630
minor change
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-04-04 21:49:53 +05:30
Richa
51111c07cd
updated event name
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-04-04 21:48:26 +05:30
Richa
a131fb0017
updated event name
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-04-04 21:48:01 +05:30
Richa
4477a0c535
minor change
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-04-04 20:43:54 +05:30
Richa
97018040e5
minor change
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-04-04 20:43:37 +05:30
Richa
6c868a6244
minor change
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-04-04 20:43:19 +05:30
Richa-iitr
b859ad49e6 linted code 2022-04-04 02:01:04 +05:30
Richa-iitr
bc12131ccf updated tests 2022-04-04 01:41:52 +05:30
pradyuman-verma
533fee6eba
changed function name 2022-04-04 00:42:50 +05:30
pradyuman-verma
ba6edcd1d4
refactored code 2022-04-04 00:41:30 +05:30
pradyuman-verma
9efdf4239c
added natspec comments 2022-04-04 00:26:27 +05:30
pradyuman-verma
b833ab1392
minor fix 2022-04-04 00:19:45 +05:30
pradyuman-verma
243326c7b2
Added HOP connector: polygon 2022-04-04 00:18:53 +05:30
Richa-iitr
775f062cf9 minor modifications 2022-04-03 18:26:58 +05:30
Richa-iitr
5f7449fd27 Modified tests, amount approved 2022-04-03 17:31:16 +05:30
Thrilok kumar
373dcf59af
Update contracts/mainnet/connectors/instaLite/main.sol 2022-04-03 03:50:49 +05:30
Thrilok kumar
eb96ae8686
Update contracts/mainnet/connectors/instaLite/main.sol 2022-04-03 03:50:41 +05:30
Thrilok kumar
2bca7d70b0
Update contracts/mainnet/connectors/instaLite/main.sol 2022-04-03 03:50:29 +05:30
Thrilok kumar
3f9ca9c890
Update contracts/mainnet/connectors/instaLite/main.sol 2022-04-03 03:50:21 +05:30
bhavik-m
34802d0dc7 removed to param 2022-04-03 03:31:38 +05:30
bhavik-m
bf55464ce0 formatted code 2022-04-03 00:02:38 +05:30
bhavik-m
1241e35690 removed dsmath import 2022-04-02 23:59:04 +05:30
bhavik-m
04930d4549 minor fix 2022-04-02 23:57:09 +05:30
bhavik-m
e7427af1ff fix conflicts 2022-04-02 23:55:42 +05:30
bhavik-m
00561c0d83 minor fix 2022-04-02 23:54:00 +05:30
bhavik-m
931cd41844 New message 2022-04-02 23:42:23 +05:30
bhavik-m
8c668e6e2b added instalite contract address on instalite 2022-04-02 23:38:26 +05:30
bhavik-m
dfb2c8132d passed vault addr in params 2022-04-02 22:41:33 +05:30
Richa-iitr
df450aa6f1 added tests 2022-04-02 15:23:19 +05:30
bhavik-m
10c1872885 restructured files 2022-04-01 23:20:07 +05:30
bhavik-m
7ac94a3db3 added connector 2022-04-01 22:33:30 +05:30
Richa-iitr
a2a635196c updated param 2022-04-01 10:37:50 +05:30
Richa-iitr
81c2e5edda added permit function for aave-v3 2022-04-01 10:13:17 +05:30
Tianjie Wei
74a7effdb4 Addressing PR comments 2022-03-31 08:27:31 -07:00
Thrilok kumar
6ba8501766
Merge pull request #197 from Instadapp/fla-connector
Added fla connector on optimism
2022-03-25 22:38:47 +05:30
pradyuman-verma
c704a26ef2
added comments 2022-03-24 01:28:11 +05:30
pradyuman-verma
ea78b1ccb4
Merge branch 'aave-v2-to-v3-import' of https://github.com/Instadapp/dsa-connectors into aave-v3-addresses-update 2022-03-24 01:21:10 +05:30
pradyuman-verma
5ff4637b91
removed bugs and fixed lint 2022-03-23 13:41:24 +05:30
Thrilok kumar
98d9c158fc
fixed compound enter market logic 2022-03-22 23:20:23 +05:30
Thrilok kumar
8932e8aa5e
Merge pull request #199 from Instadapp/spx-license
Added SPDX License
2022-03-22 23:16:20 +05:30
Thrilok kumar
c718151a87
Merge pull request #198 from Instadapp/paraswap-ftm
Added fantom paraswap
2022-03-22 22:24:54 +05:30
0xPradyuman
af8ff0a769
Merge pull request #153 from Instadapp/uniswapv3-router
[mainnet] uniswap v3 auto router
2022-03-22 22:23:51 +05:30
bhavik-m
89483463dd minor fix 2022-03-22 21:54:20 +05:30
bhavik-m
e4a8e6a5ba added on polygon 2022-03-22 21:47:41 +05:30
bhavik-m
7756b932de added on optimism 2022-03-22 20:57:59 +05:30
bhavik-m
8950a8a53f added on mainnet 2022-03-22 20:54:40 +05:30
bhavik-m
9bd990d095 added on fantom 2022-03-22 20:28:59 +05:30
bhavik-m
5216f49e66 added on avax 2022-03-22 20:25:14 +05:30
bhavik-m
b01a581ece added licence on arbitrum 2022-03-22 20:17:37 +05:30
Sowmay Jain
5d7ef4e272
Update main.sol 2022-03-22 03:22:37 +05:30
Chinmay Chougaonkar
95e390ddef changed logic for entering markets 2022-03-21 15:50:11 +05:30
Chinmay Chougaonkar
b14f886365 changed flashLoanFee to flashLoanFees[], removed migrateCompound function, removed checks for repeated tokens from getSupplyAmounts and getBorrowAmounts 2022-03-21 11:39:31 +05:30
pradyuman-verma
497e5a9f0b
added FTM paraswap 2022-03-19 20:33:38 +05:30
Vaibhav Khanna
5970e4b9f5 added fla connector on optimism 2022-03-19 20:21:27 +05:30
pradyuman-verma
ed3fdab7ac
lint fix 2022-03-19 12:55:39 +05:30
Thrilok Kumar
81060d5ed5 fixed Aave v2-to-v3 minor fix 2022-03-18 15:04:28 +04:00
pradyuman-verma
4d8bdf03a8
compilation errors fixed 2022-03-17 00:43:11 +05:30
Thrilok kumar
d90d18649b
Update contracts/polygon/connectors/aave/v2-to-v3-import/helpers.sol 2022-03-16 22:16:49 +04:00
Thrilok kumar
e1b5ae0223
Merge pull request #194 from Instadapp/polygon-migration-fix
Fixed bug on Aave V2 to v3 Migration connector
2022-03-16 22:12:01 +04:00
Thrilok Kumar
e718e7c044 Fix on polygon 2022-03-16 20:04:34 +04:00
Thrilok Kumar
d78c59e7eb fixed bug on V2 to v3 migration 2022-03-16 19:55:47 +04:00
Thrilok Kumar
ea9cae4fff Updated event 2022-03-16 17:25:17 +04:00
Thrilok Kumar
cc44116a03 Fixed Avalanche Aave v2 to v3 connector fix 2022-03-16 17:15:03 +04:00
Thrilok Kumar
8cf500a1fa Added payable function for setUserEMode 2022-03-16 17:05:07 +04:00
0xBhavik
c25462a973
Updated comments for better documentation 2022-03-15 15:30:44 +05:30
bhavik-m
3453a6038d fix conflicts 2022-03-14 21:57:19 +05:30
0xPradyuman
25db24f8bd
Merge pull request #185 from Instadapp/aave-v2-to-v3-import
Aave v2 to v3 import
2022-03-14 21:00:49 +05:30
pradyuman-verma
21c68c3290
fixed netspec comments 2022-03-14 20:58:58 +05:30
bhavik-m
9fbc3c12fd fix conflicts 2022-03-14 16:51:44 +05:30
bhavik-m
3db7b4104a fix conflicts 2022-03-14 16:50:17 +05:30
0xPradyuman
2a009cc8da
Merge pull request #186 from Instadapp/lido-stakeEth
Lido Eth Staking
2022-03-14 16:28:23 +05:30
0xPradyuman
d29b014f86
Merge branch 'main' into fantom-connectors-deployment 2022-03-14 15:42:56 +05:30
bhavik-m
00e6f1677f updated storage variable to constant 2022-03-12 23:37:56 +05:30
bhavik-m
68e007e26f added connector on fanto, 2022-03-12 22:24:50 +05:30
bhavik-m
6ddb5ffa19 lido-stakeEth 2022-03-12 21:24:57 +05:30
bhavik-m
64b7455896 added connector on fantom 2022-03-12 21:04:42 +05:30
bhavik-m
ad7c5f11c4 updated aave v3 addresses 2022-03-12 14:00:41 +05:30
bhavik-m
d41b3e65aa updated aave v3 addresses 2022-03-12 13:53:38 +05:30
bhavik-m
251923ad3e updated aave v3 addresses 2022-03-12 13:02:35 +05:30
bhavik-m
3ccca453a5 added import connector on opt 2022-03-11 15:38:49 +05:30
bhavik-m
1eafc29fa2 added import connector on arb 2022-03-11 15:38:38 +05:30
bhavik-m
1133f10fbc minor fix 2022-03-11 01:52:31 +05:30
bhavik-m
ca187d5fe5 updated aave v3 addr, added flashloan fee in events, changed solidity version 2022-03-11 01:40:00 +05:30
bhavik-m
c04011e8ba updated solidity version 2022-03-10 23:22:04 +05:30
pradyuman-verma
ea5d7f611d
minor fix 2022-03-10 16:32:34 +05:30
bhavik-m
8c2fab7bd5 minor fix 2022-03-09 22:08:55 +05:30
bhavik-m
4a3382d342 added comments 2022-03-09 22:06:42 +05:30
bhavik-m
b7bffb41a8 added comments 2022-03-09 22:02:57 +05:30
bhavik-m
0a13c8e5cf added comments 2022-03-09 21:58:25 +05:30
bhavik-m
5083d84d51 removed migration func 2022-03-09 21:52:14 +05:30
bhavik-m
766b95c787 did the same changes on avalanche's 2022-03-09 19:26:07 +05:30
bhavik-m
d32c628812 corrected doImport logic + added comments 2022-03-09 19:22:53 +05:30
pradyuman-verma
270a3f79b9
update v2->v3 import avax 2022-03-09 17:33:30 +05:30
Thrilok Kumar
31a497e21b Updated polygon addresses 2022-03-09 00:25:21 +04:00
Thrilok Kumar
d59cd4fc7c Polygon: Code refactoring 2022-03-09 00:24:59 +04:00
Thrilok Kumar
22728d776a fixed DSA v2 to v3 import logic 2022-03-09 00:12:39 +04:00
Thrilok kumar
3fa3e36ba9
Update contracts/optimism/connectors/aave/v3/helpers.sol 2022-03-08 19:31:10 +04:00
Thrilok kumar
91c8a72ef9
Update contracts/optimism/connectors/aave/v3/helpers.sol 2022-03-08 19:30:23 +04:00
pradyuman-verma
73172cc34c
optimisim: aave v3 2022-03-08 20:58:07 +05:30
pradyuman-verma
56c581ac78
added aave v3 arbitrum 2022-03-08 20:45:09 +05:30
pradyuman-verma
9e16f4526d
fixed contact name 2022-03-08 20:44:52 +05:30
Thrilok Kumar
d951777382 Updated Aave Avalanche address 2022-03-08 16:31:56 +04:00
Thrilok Kumar
b45be6bebc Updated polygon addresses 2022-03-08 16:30:03 +04:00
Chinmay Chougaonkar
8e74f75862 refactored compound-import contracts 2022-03-07 20:10:17 +05:30
bhavik-m
37592c99cb added connector 2022-03-07 16:39:12 +05:30
bhavik-m
3628a291b1 Merge branch 'main' into uniswapv3-router 2022-03-07 16:35:25 +05:30
bhavik-m
2d308f2e35 removed referral param 2022-03-07 01:00:45 +05:30
bhavik-m
cb89771f7e added referral parameter in deposit func 2022-03-07 00:39:38 +05:30
bhavik-m
0d7080b8b1 minor fix 2022-03-07 00:21:01 +05:30
bhavik-m
ba77087659 added connector 2022-03-07 00:16:22 +05:30
bhavik-m
0e81ea5441 added connector on avalanche 2022-03-06 18:51:50 +05:30
bhavik-m
bbeee1727e added connector on polygon 2022-03-06 18:51:41 +05:30
bhavik-m
9797733750 merge main into this branch 2022-03-06 18:33:52 +05:30
bhavik-m
a666b90ebe added connector on polygon 2022-03-06 18:31:49 +05:30
bhavik-m
45cf2a8f37 added connector on avalanche 2022-03-06 18:31:34 +05:30
bhavik-m
2a20443390 added flashloan fee parameter in event 2022-03-06 18:31:15 +05:30
bhavik-m
ae6598b2f6 added connector on avalanche 2022-03-06 18:19:55 +05:30
bhavik-m
c793ce0238 added connector on polygon 2022-03-06 18:19:42 +05:30
bhavik-m
6241384933 removed executeOperation func + refactored code 2022-03-04 17:44:36 +05:30
Aleksandr S
e8e2eb664d merge from main branch 2022-03-03 21:55:22 +03:00
0xPradyuman
4800889442
fixed checks (#181)
* fixed checks

* updated sushi incentive comments

* fixed index.ts errors

* removed yarn.lock since it is not used anywhere, updated gh actions config and package-lock.json

Co-authored-by: Ishan Jain <contact@ishanjain.me>
Co-authored-by: Prayuman Verma <pradyumnverma27@gmail.com>
2022-03-03 23:52:41 +05:30
bhavik-m
8f00678366 fix conflicts 2022-03-02 18:26:54 +05:30
Chinmay Chougaonkar
df59342790 handled borrowing with flash loan fee 2022-02-28 14:34:52 +05:30
Chinmay Chougaonkar
7fd95fc81e added natspec comments, remove flashloan related function skeletons 2022-02-27 21:58:52 +05:30
bhavik-m
84a39b1582 added connector on opt 2022-02-27 19:04:29 +05:30
bhavik-m
e90507f82f added connector on arb 2022-02-27 19:03:55 +05:30
Chinmay Chougaonkar
58c2d3cb6e added LogCompoundImport event 2022-02-27 09:40:25 +05:30
Chinmay Chougaonkar
5516b27d7a add logic for compound import except flashloan related functions 2022-02-27 09:32:51 +05:30
bhavik-m
6abaee5bf9 minor fix 2022-02-27 02:28:09 +05:30
bhavik-m
7bf7174c7a wip: import connector 2022-02-27 02:14:41 +05:30
bhavik-m
fb19080980 fixed typo 2022-02-21 21:50:51 +05:30
bhavik-m
713e618990 minor fix 2022-02-21 15:51:48 +05:30
bhavik-m
2842fed13a added e-mode func 2022-02-21 15:47:39 +05:30
bhavik-m
420ada2036 added paybackWithAToken func + minor fix 2022-02-19 19:17:39 +05:30
bhavik-m
0a6c140d94 minor fixes 2022-02-15 22:12:44 +05:30
Dimitri
eb8ddce70a
Merge branch 'Instadapp:main' into mstable/save 2022-02-14 12:35:18 +01:00
bhavik-m
7e21f46841 initial commit 2022-02-14 11:57:50 +05:30
bhavik-m
4e94eb113d fix conflicts 2022-02-14 08:22:40 +05:30
bhavik-m
d8605357a9 minor change 2022-02-11 00:18:57 +05:30
bhavik-m
5a0188544e Added BasicB and BasicC 2022-02-11 00:08:52 +05:30
Thrilok kumar
49ba822f62
Update contracts/polygon/connectors/uniswap/v3_auto_router/main.sol 2022-02-04 23:48:28 +05:30
Croooook
5ae2797964 added the hyperlink for calldata in the comments for uniswapv3-auto-router 2022-02-04 23:42:25 +05:30