Commit Graph

1591 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
8a70ccddff hardhat contracts instead of web3 contracts in test 2021-07-06 11:42:25 +03:00
yaron velner
2fac6a94ff close test 2021-07-06 11:26:32 +03:00
yaron velner
6fa171df23 deposit and borrow test 2021-07-06 09:17:12 +03: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
1de8b7d5b3 Add some comments 2021-07-05 09:30:43 -07: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
6ce7fca82f
Merge pull request #3 from liquity/liquity-updates
Fix tests after Instadapp team changes
2021-06-30 17:30:30 +01: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
3209b8691a
Merge pull request #51 from Instadapp/fix/approve-fix
Merging "1INCH-A" polygon into main
2021-06-26 00:32:24 +05:30
Thrilok kumar
3c4d3ec858
Merge pull request #49 from Instadapp/feat/polygon-1inch
Add polygon 1inch connector
2021-06-26 00:30:52 +05:30
Thrilok Kumar
88604da176 Updated connector list 2021-06-26 00:30:19 +05:30
Thrilok kumar
1666a3823e
Merge pull request #48 from Instadapp/fix/approve-fix
Fix approve issue for token like USDT
2021-06-26 00:29:39 +05:30
Thrilok Kumar
a22103533b Minor fix 2021-06-26 00:06:08 +05:30
Thrilok Kumar
acafed23d0 Updated connector list 2021-06-26 00:05:28 +05:30
Thrilok Kumar
9b9fb2d7fb Minor change 2021-06-25 23:57:39 +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
5341aeb1b4 Updated package.json 2021-06-25 22:45:54 +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
53a725a716 Added polygon 1inch connector 2021-06-25 21:00:34 +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
d26e38e7cd
Update instapool.test.js 2021-06-24 17:08:42 +05:30
Thrilok kumar
4848a8170e
Merge pull request #45 from Instadapp/feat/refinance-connector
Add Refinance connector
2021-06-24 17:06:01 +05:30
Thrilok kumar
674e1ec4df
Merge branch 'main' into feat/refinance-connector 2021-06-24 17:05:54 +05:30
Thrilok kumar
b84bf52f0d
Merge pull request #47 from Instadapp/flashloan-test
Add sample Instapool connector tests
2021-06-24 17:00:51 +05:30
Thrilok Kumar
1cce1fffea Added flashloan testcases 2021-06-24 16:58:01 +05:30
Thrilok Kumar
4d55758394 Updated connector list 2021-06-24 07:44:59 +05:30
Thrilok Kumar
df571ef426 Fixed stack too deep error 2021-06-24 07:35:53 +05:30