Commit Graph

899 Commits

Author SHA1 Message Date
Vaibhav Khanna
f776a2fc16
minor bug fix 2022-06-11 02:47:53 +05:30
pradyuman-verma
da4f5a1c44
comment fix 2022-06-11 02:32:12 +05:30
pradyuman-verma
de1a1a106e
bug fixes 2022-06-11 02:22:11 +05:30
Thrilok Kumar
37e56f0955 added deleverageAndWithdraw func 2022-06-10 18:16:45 +05:30
Richa-iitr
32429d2b05 code refactor 2022-06-08 19:20:24 +05:30
pradyuman-verma
7477438395
bug fixes + refactoring 2022-06-08 19:07:56 +05:30
Richa-iitr
8a3fdde853 modified name 2022-06-07 05:42:03 +05:30
Richa-iitr
9bc29252c3 linted code 2022-06-05 09:57:17 +05:30
Richa-iitr
8e89d66521 swap-mainnet,avalanche 2022-06-05 00:34:58 +05:30
Richa-iitr
59334b7b72 updated code 2022-06-04 17:54:25 +05:30
Richa-iitr
6316cbe46e minor change 2022-06-04 10:09:03 +05:30
Richa-iitr
2e21b0df0e minor change 2022-06-04 09:20:36 +05:30
Richa-iitr
a43317b69b swap-connector-polygon 2022-06-04 09:13:19 +05:30
Thrilok kumar
ae51a19713
Merge pull request #140 from notional-finance/notional-v2
Feature: Add Notional V2 Connector
2022-06-01 03:47:38 +05:30
0xPradyuman
0c91fc9e15
Merge pull request #224 from Instadapp/hop-mainnet-updates
Hop mainnet fixes
2022-05-28 23:40:50 +05:30
Richa
fc975ef5de
Merge branch 'Instadapp:main' into uniswapV3-swap02 2022-05-28 13:57:25 +05:30
pradyuman-verma
e9ccd751bc
fixed native token transfer bug: mainnet 2022-05-27 23:48:07 +05:30
Thrilok kumar
15040444a0
Merge pull request #219 from Instadapp/hop-connector-updates
Hop contract updates
2022-05-16 19:12:19 +05:30
Richa-iitr
c0f3f93489 added connector for uniswapV3 swap 2022-05-14 22:43:14 +05:30
pradyuman-verma
fc0c7f7910
minor fixing 2022-05-12 01:03:33 +05:30
pradyuman-verma
7b3b5035e3
fixed optimism connector 2022-05-12 01:03:14 +05:30
pradyuman-verma
aa1d2b1a75
fixed arbitrum connector 2022-05-12 01:02:55 +05:30
0xPradyuman
79394b916d
Merge pull request #221 from Richa-iitr/aaveV2-updates
Aave v2 and basic connector updates
2022-05-11 15:09:33 +05:30
0xPradyuman
04ce418d04
Merge pull request #220 from Richa-iitr/aaveV3-import-permit-fix
AaveV3 import permit with collateral
2022-05-11 15:07:44 +05:30
Richa-iitr
5bd8c03f38 minor change 2022-05-10 20:07:26 +05:30
Richa-iitr
c3a2e26f61 linted code 2022-05-10 18:49:10 +05:30
pradyuman-verma
44e9968dac
refactored code 2022-05-10 18:23:57 +05:30
Richa-iitr
ce457e8c86 updated basic connector-all chains 2022-05-10 14:47:57 +05:30
Richa-iitr
94554c2523 updated aave-v2 connector|polygon,avalanche 2022-05-10 14:21:49 +05:30
Richa-iitr
c1316acfec aaveV3-import-permit fixed contracts 2022-05-07 22:07:58 +05:30
pradyuman-verma
7b4d1a4842
hop polygon update 2022-05-07 20:33:57 +05:30
Richa-iitr
3a7568ad5a remove warnings 2022-05-07 11:00:48 +05:30
0xPradyuman
4aeed758fb
Merge pull request #217 from Richa-iitr/aave-v3-import-fix
Aave v3 import fix
2022-05-07 03:51:10 +05:30
Richa-iitr
856bf2eb8d importWithCollateral-avalanche,fantom,mainnet,optimism 2022-05-05 23:57:38 +05:30
Richa-iitr
878f82c63d importWithCollateral-arbitrum 2022-05-05 23:36:51 +05:30
Richa-iitr
8be787aa88 updated logic, name string 2022-05-05 23:30:21 +05:30
Richa-iitr
dc3f042eb6 updated event 2022-05-05 23:16:19 +05:30
Richa-iitr
94490ef939 added function for imprtWithCollateral-polygon 2022-05-05 22:49:52 +05:30
Richa-iitr
7d117a52c3 added function for imprtWithCollateral 2022-05-05 22:34:38 +05:30
Thrilok kumar
a19ed504e5
Merge pull request #206 from Instadapp/hop-connector
Hop connector
2022-05-05 21:18:55 +05:30
Thrilok kumar
5cbbc71f82
Merge pull request #214 from Instadapp/AaveV3-Updates
[Mainnet] Aave v2 and Basic connector update
2022-05-05 14:42:09 +05:30
Shriya Tyagi
f055d8b918 Updated basic version 2022-05-04 02:05:12 +04:00
Shriya Tyagi
a25b28b6d9 Updated connector version 2022-05-04 02:03:32 +04:00
Thrilok kumar
1d887e3d35
Update contracts/mainnet/connectors/basic/main.sol 2022-05-04 03:26:00 +05:30
Shriya Tyagi
83bd25883c
Update contracts/mainnet/connectors/basic/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-05-04 01:55:16 +04:00
Thrilok kumar
8c64f28ae6
Update contracts/mainnet/connectors/basic/main.sol 2022-05-04 03:22:22 +05:30
Thrilok kumar
dfb89f33f5
Update contracts/mainnet/connectors/basic/main.sol 2022-05-04 03:22:14 +05:30
Shriya Tyagi
19a01722ee minor updates 2022-05-04 01:44:32 +04:00
Shriya Tyagi
98c6989b22 Revert "Revert "Added depositFrom in Basic""
This reverts commit d232ed5c72.
2022-05-04 01:41:13 +04:00
Shriya Tyagi
d232ed5c72 Revert "Added depositFrom in Basic"
This reverts commit 341004b6f4.
2022-05-04 01:38:15 +04:00
Shriya Tyagi
341004b6f4 Added depositFrom in Basic 2022-05-03 21:46:02 +04:00
Shriya Tyagi
d8ce48fbe9
Update contracts/mainnet/connectors/aave/v2/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-05-02 20:59:29 +04:00
Thrilok kumar
503c541d66
Update contracts/mainnet/connectors/aave/v2/main.sol 2022-05-02 21:54:25 +05:30
Shriya Tyagi
fb9abb2042 minor update 2022-05-02 19:22:20 +04:00
Shriya Tyagi
8bc347abb5 payback & paybackOnBehalfOf updated 2022-05-02 04:08:28 +04:00
Thrilok kumar
799e5581a8
Merge pull request #212 from Instadapp/AaveV3-Updates
Aave v3 updates
2022-05-02 03:50:47 +05:30
Shriya Tyagi
8ebbeaae42 Revert "paybackOnBehalfOf added - Mainnet Aave V2"
This reverts commit 963248d0d0.
2022-05-01 15:13:25 +04:00
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