Commit Graph

603 Commits

Author SHA1 Message Date
Shriya Tyagi
ecb57503ee minor edits + lint 2022-08-26 15:36:30 +05:30
Shriya Tyagi
bd03d6e709
Update contracts/mainnet/connectors/euler/euler-import/helpers.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-08-26 15:12:50 +05:30
Shriya Tyagi
44fc1e812f
Update contracts/mainnet/connectors/euler/euler-import/helpers.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-08-26 15:12:08 +05:30
Shriya Tyagi
3c257867e3
Update contracts/mainnet/connectors/euler/euler-import/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-08-26 15:10:49 +05:30
Shriya Tyagi
fed7297b60
Update contracts/mainnet/connectors/euler/euler-import/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-08-26 15:09:54 +05:30
Shriya Tyagi
14bbd57567
Update contracts/mainnet/connectors/euler/euler-import/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-08-26 15:08:07 +05:30
Shriya Tyagi
cc526d5899 minor updates + lint 2022-08-25 17:40:58 +05:30
Shriya Tyagi
da5716c0f3 minor fix 2022-08-25 05:37:37 +05:30
Shriya Tyagi
e0882cb830 new fixes in import 2022-08-25 05:26:44 +05:30
Shriya Tyagi
2b0c84c74d withdarw address -> address(this) 2022-08-14 21:12:17 +08:00
Shriya Tyagi
a599b46dee Added max check in burn + minor edits 2022-08-14 18:34:45 +08:00
pradyuman-verma
3c4fe100f0
address address
Signed-off-by: pradyuman-verma <pradyumnverma27@gmail.com>
2022-08-14 03:16:06 +05:30
pradyuman-verma
ae0d9f1ff6
aave v2 automation connnector
Signed-off-by: pradyuman-verma <pradyumnverma27@gmail.com>
2022-08-13 21:58:48 +05:30
Shriya Tyagi
34a4ad41bd new fixes 2022-08-13 02:56:20 +08:00
Shriya Tyagi
79d88be34e approve renamed 2022-08-11 05:39:53 +08:00
Shriya Tyagi
d2700b42e3 added dsa check 2022-08-11 05:14:39 +08:00
Shriya Tyagi
ef50cf7188 new updates 2022-08-11 04:37:03 +08:00
Shriya Tyagi
2db101a792 sub-acc transfers updated 2022-08-07 03:40:43 +08:00
Shriya Tyagi
5682362f34 added onDeferredLiquidityCheck 2022-08-05 00:20:17 +08:00
Shriya Tyagi
21cc81553c minor update 2022-08-04 09:41:43 +08:00
Shriya Tyagi
6b18e337c7 Added natspec comments 2022-08-03 23:02:08 +05:30
Shriya Tyagi
0870b9b83a added defer liquidity and events 2022-08-03 22:28:01 +05:30
Shriya Tyagi
bebd120d21 basic contract setup 2022-08-03 21:51:00 +05:30
pradyuman-verma
1a8c6aea4f
fixes + rest amount conversion
Signed-off-by: pradyuman-verma <pradyumnverma27@gmail.com>
2022-08-03 00:25:36 +05:30
pradyuman-verma
3b280ee38e
fixes
Signed-off-by: pradyuman-verma <pradyumnverma27@gmail.com>
2022-08-02 23:46:52 +05:30
pradyuman-verma
128fff7488
fixed isEth logic
Signed-off-by: pradyuman-verma <pradyumnverma27@gmail.com>
2022-08-02 23:25:37 +05:30
Thrilok kumar
c6a6193c2a
Merge pull request #247 from Instadapp/Euler-Rewards-Connector
Euler rewards connector
2022-08-01 22:30:03 +05:30
Shriya Tyagi
8d0e64b826 spelling fix 2022-08-01 20:04:19 +04:00
Thrilok kumar
984f06531e
Update contracts/mainnet/connectors/euler/euler-rewards/main.sol 2022-08-01 12:51:31 +05:30
Shriya Tyagi
472ddf20ab getId removed 2022-08-01 00:58:41 +04:00
Shriya Tyagi
04168fa574 Merge branch 'Euler-Rewards-Connector' of https://github.com/Instadapp/dsa-connectors into Euler-Rewards-Connector 2022-07-31 22:30:20 +04:00
Shriya Tyagi
2bc364f632 Removed proof from events 2022-07-31 22:30:15 +04:00
Shriya Tyagi
be3d76d71e
Update contracts/mainnet/connectors/euler/euler-rewards/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2022-07-31 22:27:12 +04:00
Shriya Tyagi
b6e873f006
Merge pull request #238 from Instadapp/Euler-connector
Euler connector
2022-07-31 09:06:48 +04:00
Shriya Tyagi
6c88c0e063 Euler reward claim contracts added 2022-07-31 09:02:53 +04:00
Thrilok kumar
d3186bf6e3
Merge pull request #236 from Instadapp/insta-simulation-dex
Insta Simulation Dex Connector
2022-07-12 00:01:35 +05:30
pradyuman-verma
9112e025a5
mainnet connector
Signed-off-by: pradyuman-verma <pradyumnverma27@gmail.com>
2022-07-10 23:41:48 +05:30
Shriya Tyagi
c13e78294c minor edits 2022-07-09 18:38:16 +04:00
Shriya Tyagi
43a088ecb4
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-09 17:37:11 +04:00
Shriya Tyagi
761ec4e3dc minor updates 2022-07-07 23:05:48 +04:00
Shriya Tyagi
b561e6d014 refactoring + updates 2022-07-07 22:51:06 +04:00
Shriya Tyagi
d028fcb41c
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:18:07 +04:00
Shriya Tyagi
3df9257ea0
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:07:28 +04:00
Shriya Tyagi
ce50ce0024
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:03:54 +04:00
Shriya Tyagi
f5fa8a429d
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:03:23 +04:00
Shriya Tyagi
78705e47c2
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:02:50 +04:00
Shriya Tyagi
6ee2d020d9
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:02:38 +04:00
Shriya Tyagi
549b53f20f
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:02:23 +04:00
Shriya Tyagi
06010d3989
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:02:02 +04:00
Shriya Tyagi
daa6332fde
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:01:40 +04:00
Shriya Tyagi
94f01bf7a2
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:01:22 +04:00
Shriya Tyagi
d0b8d804cd
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:00:54 +04:00
Shriya Tyagi
371710022d
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:00:32 +04:00
Shriya Tyagi
0dd2fb946d
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 17:00:04 +04:00
Shriya Tyagi
4c8bece9fc
Update contracts/mainnet/connectors/euler/main.sol
Co-authored-by: 0xPradyuman <63545809+pradyuman-verma@users.noreply.github.com>
2022-07-07 16:59:48 +04:00
Shriya Tyagi
aa296ee62e Added Natspec comments 2022-07-06 17:52:01 +04:00
Shriya Tyagi
a110574642 lint added 2022-07-06 17:40:38 +04:00
Shriya Tyagi
ba0f866bba code restructured + minor edits 2022-07-06 17:01:59 +04:00
Shriya Tyagi
28e7a0d0f1 new functions added 2022-07-06 05:07:56 +04:00
Shriya Tyagi
ade1d151c1 testcases + minor updates 2022-07-05 17:03:47 +04:00
Shriya Tyagi
c3123fc3b6 Euler contracts setup 2022-07-01 05:13:20 +05:30
0xPradyuman
1e78276bb2
Merge pull request #235 from Instadapp/spell-connector
DSA-Spell connector
2022-06-21 22:26:15 +05:30
Richa-iitr
27f3cc1b68 minor change 2022-06-20 22:26:33 +05:30
Richa-iitr
2dd6321f5a updated castAny(), comments 2022-06-20 18:48:38 +05:30
Richa-iitr
655bd59878 renamed directory 2022-06-20 12:41:50 +05:30
Richa-iitr
47475742a2 minor changes 2022-06-20 11:15:10 +05:30
Richa-iitr
cf0e7ed240 renamed functions 2022-06-20 05:29:53 +05:30
Richa-iitr
4bdd9535af added function for spells 2022-06-19 20:56:15 +05:30
Richa-iitr
8aec31057d spell-connector 2022-06-19 19:24:10 +05:30
Richa-iitr
f66cfc6533 minor changes 2022-06-18 23:45:35 +05:30
pradyuman-verma
09bcc1b8f7
lint fix 2022-06-18 19:26:50 +05:30
pradyuman-verma
3b6d0be4c4
fixed mainnet aave v3 bugs 2022-06-18 19:10:45 +05:30
pradyuman-verma
231b8fe34a
fixed native token bug aave v2 2022-06-18 19:04:48 +05:30
pradyuman-verma
4daba04266
fixed aave swapMode bug 2022-06-18 19:00:36 +05:30
0xPradyuman
e99ee70ead
Merge pull request #226 from Richa-iitr/swap-connector
Swap Aggregator Integration
2022-06-16 15:19:33 +05:30
Richa-iitr
f3aaea677b code refactor 2022-06-15 14:44:49 +05:30
Richa-iitr
f8e65363c9 minor changes 2022-06-15 14:07:35 +05:30
Richa-iitr
fb79ade8fe minor change 2022-06-15 03:40:23 +05:30
Richa-iitr
e90fcd590a updated events 2022-06-15 03:38:28 +05:30
Richa-iitr
78e6a3a136 minor change 2022-06-14 13:25:48 +05:30
Richa-iitr
f6fbe8614d calldata as param 2022-06-14 13:12:10 +05:30
Richa-iitr
c650bc0392 updated events 2022-06-14 09:29:01 +05:30
Richa-iitr
77caa8df66 updated code 2022-06-14 08:42:15 +05:30
Richa-iitr
8e98da39fd minor changes 2022-06-13 14:15:21 +05:30
Vaibhav Khanna
27d3d9e47a fixed compilation errors 2022-06-11 03:33:36 +05:30
Vaibhav Khanna
7a61470919 minor fix 2022-06-11 03:25:02 +05:30
Vaibhav Khanna
523d593eb4 address checksum bug 2022-06-11 03:24:09 +05:30
Vaibhav Khanna
aafe8e28c4 bug fixes 2022-06-11 03:23:08 +05:30
Vaibhav Khanna
64569a7185 bug fixes 2022-06-11 03:14:59 +05:30
Vaibhav Khanna
f4314f5589
minor bug fix 2022-06-11 02:48:04 +05:30
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
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
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
pradyuman-verma
e9ccd751bc
fixed native token transfer bug: mainnet 2022-05-27 23:48:07 +05:30
Richa-iitr
c0f3f93489 added connector for uniswapV3 swap 2022-05-14 22:43:14 +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
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
9255d1a77e paybackOnBehalfOf added - Mainnet 2022-04-29 01:35:31 +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
b566e34cd3 rateMode updated 2022-04-27 18:24:52 +04:00
Shriya Tyagi
484ff2ef33 updated changes- Mainnet 2022-04-27 18:15:32 +04:00
Shriya Tyagi
22efee297b Aave v3 updated on Mainnet 2022-04-27 03:02:47 +04:00
Samyak Jain
450766b0da Aave's calculation is messing with token's amt 2022-04-26 22:39:51 +04:00
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
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
ca34079520
added hop mainnet 2022-04-11 17:24:54 +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
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