Commit Graph

655 Commits

Author SHA1 Message Date
Edward Mulraney
24a038aced
Allow non payable functions to be composable with payable functions
Make all functions payable so they can be composed in a larger spell which might use msg.value (normally non-payable is rejected)

Co-authored-by: Samyak Jain <34437877+KaymasJain@users.noreply.github.com>
2021-07-26 08:42:20 -04:00
Edward Mulraney
67e07913ed
Allow non-payable functions to be composable with payable functions
Make all functions payable so they can be composed in a larger spell which might use msg.value (normally non-payable is rejected)

Co-authored-by: Samyak Jain <34437877+KaymasJain@users.noreply.github.com>
2021-07-26 08:41:32 -04:00
Thrilok kumar
11c08ea744
Fixed instapool interface 2021-07-14 19:17:55 +05:30
Edward Mulraney
5574467be5 Merge remote-tracking branch 'upstream/main' 2021-07-13 21:59:35 +01:00
Edward Mulraney
e999422c59 Merge branch 'main' of github.com:liquity/dsa-connectors 2021-07-12 10:25:52 +01:00
yaron velner
07705981d6 basic b.makerdao tests 2021-07-06 00:08:32 +03:00
yaron velner
f448d4eaa4 makerdao before tests 2021-07-05 22:34:11 +03:00
yaron velner
e892d52c51 b.compound 2021-07-05 21:58:51 +03:00
eccheung4
8702de7dd1 WIP: Withdrawal Working 2021-07-05 06:52:20 -07:00
eccheung4
aa6e61a6d7 WIP: Deposit test seems to be working 2021-07-03 23:55:45 -07:00
eccheung4
475612f506 WIP 2021-07-02 19:49:43 -07:00
Edward Mulraney
7ef923929c fix broken tests from instadapp PR 2021-06-30 17:16:05 +01:00
Samyak Jain
d45f08b743 updated the event with data from struct 2021-06-29 04:23:30 +05:30
Samyak Jain
027095603c added struct on adjust setIds 2021-06-29 04:22:04 +05:30
Samyak Jain
7b17bc9d40 liquity updates done 2021-06-28 23:55:24 +05:30
eccheung4
e28c253d7d WIP 2021-06-28 09:22:20 -07:00
Samyak Jain
6211c526d8 updated all the functions other adjust 2021-06-26 18:30:03 +05:30
Samyak Jain
0a2735cad2 restructuring & updated function till repay 2021-06-26 01:40:45 +05:30
Thrilok Kumar
a14f4c6e02 Updated flashloan code 2021-06-26 01:25:34 +05:30
Thrilok kumar
112cdb91e1
Merge branch 'main' into fix/approve-fix 2021-06-25 23:48:38 +05:30
Thrilok Kumar
1756903356 Updated connector version 2021-06-25 22:49:14 +05:30
Thrilok kumar
6c5d8ae361
Merge pull request #50 from Instadapp/1inch-update
Updated 1inch connector
2021-06-25 22:44:49 +05:30
Thrilok Kumar
c3b327f1a6 Updated 1inch connector 2021-06-25 20:57:53 +05:30
Thrilok Kumar
8c9866d4e5 Minor change 2021-06-25 20:48:51 +05:30
Edward Mulraney
003ef06887 Merge branch 'main' of github.com:Instadapp/dsa-connectors 2021-06-25 09:41:09 +01:00
Thrilok Kumar
2d4341a801 Minor fix 2021-06-25 01:31:04 +05:30
Thrilok Kumar
217b3d402c Reverted change in old connector 2021-06-25 01:29:19 +05:30
Thrilok Kumar
1a9ab0ac70 Fixed approve(token.approve => approve()) 2021-06-25 01:25:04 +05:30
Thrilok kumar
17fc4f6acb
Update main.sol 2021-06-25 00:24:05 +05:30
Thrilok kumar
674e1ec4df
Merge branch 'main' into feat/refinance-connector 2021-06-24 17:05:54 +05:30
Thrilok Kumar
df571ef426 Fixed stack too deep error 2021-06-24 07:35:53 +05:30
Thrilok Kumar
e64b517e2a Updated contract addresses 2021-06-23 15:23:35 +05:30
Thrilok Kumar
9fa32fb888 Minor fix 2021-06-23 02:33:32 +05:30
Thrilok Kumar
2126be64e2 Added refinanace connector 2021-06-23 02:18:01 +05:30
Thrilok Kumar
e31abde1f8 Added instadapp governance connector 2021-06-23 00:56:44 +05:30
Samyak Jain
4560aea2d2 folder name update 2021-06-20 17:29:48 +05:30
Thrilok Kumar
307a8ac0b8 Updated connector address 2021-06-18 14:34:09 +05:30
Thrilok Kumar
c0875a4b0f Making wethContract as constant 2021-06-18 14:27:19 +05:30
Thrilok Kumar
667241cf0b Hardcoded wethContract 2021-06-18 14:25:16 +05:30
Thrilok Kumar
32666224cf Updated connector name 2021-06-18 14:18:20 +05:30
Thrilok Kumar
d84e3342a8 Minor fix 2021-06-18 14:17:11 +05:30
Thrilok Kumar
48d4067f89 Added WETH connector 2021-06-18 14:13:03 +05:30
Thrilok Kumar
38d4f23289 ETH withdraw issue fixed on maker 2021-06-18 13:58:08 +05:30
Thrilok Kumar
83c4327c37 Updated connector name 2021-06-17 23:39:58 +05:30
Thrilok Kumar
395a98a640 Added Vault Transfer function 2021-06-17 23:36:34 +05:30
Thrilok kumar
ecb007fcd8
Merge pull request #41 from Instadapp/uni-v3-erc20
Uniswap v3 erc20 pool
2021-06-17 23:25:00 +05:30
Thrilok Kumar
30f203f54a Minor fix 2021-06-16 14:13:16 +05:30
Samyak Jain
38fa0bfe95 updated connector to fetch factory from resolvers 2021-06-16 14:04:18 +05:30
Thrilok Kumar
f9b3e6b8e4 Updated auth connector address 2021-06-15 21:44:04 +05:30
Thrilok Kumar
e9281116fd Minor updates 2021-06-15 21:21:19 +05:30
Samyak Jain
d0bd1ee78b auth connector update 2021-06-15 19:43:35 +05:30
Thrilok Kumar
229be643a0 minor fix 2021-06-13 17:02:34 +05:30
Samyak Jain
f37a543b81 minor refactoring 2021-06-13 17:00:49 +05:30
Thrilok Kumar
d72c1480f9 Added guni factory 2021-06-13 16:49:33 +05:30
Thrilok Kumar
9da4e18c2c Fixed stack too deep error 2021-06-10 23:42:39 +05:30
Thrilok Kumar
f2d163c8ae Minor changes 2021-06-10 23:27:27 +05:30
Samyak Jain
7e6b83e5fe updated stake mapping 2021-06-10 21:55:57 +05:30
Samyak Jain
ef5c6e9edb added comments on connector 2021-06-10 19:45:21 +05:30
Samyak Jain
1cc2e4ba1a staking connector added 2021-06-10 17:26:39 +05:30
Samyak Jain
dbcf960bf9 updated connector with setId & getId 2021-06-10 16:56:05 +05:30
Samyak Jain
a483299e50 added slippage on deposit 2021-06-10 16:44:38 +05:30
Samyak Jain
2bd7492e56 Gelato connector updated with swap & mint 2021-06-10 03:00:34 +05:30
Edward Mulraney
4ea58ba50d log the eth and lqty gains from stability pool operations. general tidy up 2021-06-09 21:02:06 +01:00
Edward Mulraney
7588733d98 add tests to ensure getId/setIds all work 2021-06-08 16:57:36 +01:00
Samyak Jain
1c6c7bc358 new updates 2021-06-08 02:04:38 +05:30
Thrilok Kumar
8067874d21 Fixes 2021-06-08 00:46:32 +05:30
Samyak Jain
22ebfac88d minor fix 2021-06-08 00:22:34 +05:30
Samyak Jain
927e1e2f1c
Update contracts/mainnet/connectors/uniswap_v3_erc20/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-06-08 00:21:41 +05:30
Samyak Jain
2476cc4390
Update contracts/mainnet/connectors/uniswap_v3_erc20/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-06-08 00:21:31 +05:30
Samyak Jain
9b69841fec added events 2021-06-08 00:20:44 +05:30
Samyak Jain
5656c94717 Uniswap v3 erc20 pool basic setup done 2021-06-07 23:32:13 +05:30
Edward Mulraney
5be5cb6866 include all gains from staking/stability-pool when performing operations on them 2021-06-04 15:55:04 +01:00
Edward Mulraney
97db94fe59 add test for instadapp event return values. address PR comments:
- add setUints to all applicable functions
    - use uint256 rather than uint for event data
2021-06-04 12:18:16 +01:00
Thrilok Kumar
33af444193 Updated connector addresses list 2021-06-02 22:43:15 +05:30
Edward Mulraney
ec8fd393a1 add recommended solidity version 2021-06-02 11:19:05 +01:00
Thrilok Kumar
9ba2885a0f aave polygon claim function update 2021-06-02 05:41:02 +05:30
Edward Mulraney
a1203c66ae add liquity connector 2021-06-01 15:50:52 +01:00
Thrilok Kumar
de1472e98f Updated 1inch connector 2021-05-26 07:03:45 +05:30
Thrilok Kumar
ac3421fb61 Fix compound connector depositCToken setId 2021-05-15 01:00:44 +05:30
Thrilok Kumar
dc849877c4 Added basic compound testcases 2021-05-15 00:46:54 +05:30
Thrilok kumar
516e2612db
Merge pull request #36 from Instadapp/integrate_mapping_contract
🎸 feat: integrated MappingController for cream and reflexer
2021-05-11 23:04:06 +05:30
Thrilok Kumar
199c641f8d Updated connector comments 2021-05-11 22:44:57 +05:30
Thrilok Kumar
40e2a47f7a Added title and description for mainnet connectors 2021-05-11 21:46:23 +05:30
Daksh Miglani
9035da5a36 🎸 feat: integrated MappingController for cream and reflexer 2021-05-11 02:04:31 +05:30
Thrilok kumar
92bb147509
Merge pull request #35 from Instadapp/mapping-contract
Mapping contract
2021-05-10 14:35:53 +05:30
Daksh Miglani
83820b2438 feat: 🎸 move cream to the mainnet directory 2021-05-09 20:59:16 +05:30
Thrilok Kumar
f8598a492b Added instapool_v2 2021-05-09 16:58:58 +05:30
Ardhead
0ef4667258
Checker for solidity code (#32)
* raw logic

* rename and output update

* checks update

* name & comments checks update

* Updated comments for reflexer

* Updated comments

* colors and line numbers

* commit test

* commit test 2

* commit test 3

* commit test 4

* commit test 5

* commit test 6

* commit test 7

* reset branch

* commit test 1

* commit test 1

* test commit 1

* test commit

* test

* test

* test workflow

Co-authored-by: Thrilok Kumar <thrilok2000@gmail.com>
2021-05-07 22:06:52 +05:30
Thrilok Kumar
3f715e90cf .value => {value: } 2021-05-06 14:15:32 +05:30
Thrilok Kumar
74b4dfa21e Updated connectorId 2021-05-05 16:14:14 +05:30
Thrilok Kumar
5530f8f013 Updated ctokens mapping on refinance connector 2021-05-05 16:13:29 +05:30
Thrilok Kumar
e6cab3b1e2 Added refinance connector 2021-05-05 16:12:45 +05:30
Thrilok Kumar
7c454e1f0d Updated connectors list 2021-04-26 01:22:03 +05:30
Mubaris NK
6ba85eba35
Add AAVE rewwards connector 2021-04-25 10:38:35 +05:30
Mubaris NK
a05b865b6d
Staked AAVE connector 2021-04-25 10:23:58 +05:30
Thrilok Kumar
38b0b5bf24 Minor fix 2021-04-22 06:12:08 +05:30
Thrilok Kumar
06a7687647 Fixed typo 2021-04-22 06:00:26 +05:30
Thrilok kumar
7818127b97
Merge pull request #29 from Instadapp/comp-claiming-mapping-changes
Update COMP connector with new mapping
2021-04-22 02:05:22 +05:30
Mubaris NK
b8042a54c6
Update COMP connector with new mapping 2021-04-21 21:37:57 +05:30
Mubaris NK
30a5999280
fix imports 2021-04-21 18:05:05 +05:30
Thrilok Kumar
ef7edc7607 Fix: minor compilation error 2021-04-13 03:27:20 +05:30
Thrilok Kumar
39756b1efe Changed Polygon connector name 2021-04-13 03:20:10 +05:30
Samyak Jain
d6a51b836a removed withdraw from Polygon as you need EOA 2021-04-13 01:49:35 +05:30
Mubaris NK
1d55aa7615
Add polygon -> mainnet withdraw contracts 2021-04-12 16:42:03 +05:30
Mubaris NK
e93efb9226
Add polygon deposit and exit manager 2021-04-12 16:18:42 +05:30