Commit Graph

139 Commits

Author SHA1 Message Date
Thrilok Kumar
168479f90b Fixed allowance issue while paying back flashloan 2021-04-15 22:03:16 +05:30
Mubaris NK
ad58a84dd7
minor change 2021-04-15 21:49:35 +05:30
Mubaris NK
f4c7610b1c
merge incoming change 2021-04-15 21:47:46 +05:30
Thrilok Kumar
1f645c37ce Fixed atoken transfer amount bug 2021-04-15 21:45:04 +05:30
Mubaris NK
7a5817469b
approval check 2021-04-15 21:44:25 +05:30
Thrilok Kumar
796580a3c0 Merge branch 'new-tests' of https://github.com/Instadapp/dsa-polygon-migration into new-tests 2021-04-15 21:06:32 +05:30
Thrilok Kumar
0bb1c1a9e0 Fixed array issue 2021-04-15 21:05:24 +05:30
Mubaris NK
58e42fd447
wip settle testcase 2021-04-15 21:05:02 +05:30
Mubaris NK
7ee03cfdc8
test failing @ callFunction 2021-04-15 20:49:00 +05:30
Thrilok Kumar
d4a432d774 Fixed invaild opcode issue 2021-04-15 19:27:55 +05:30
Mubaris NK
e01f60eaf4
Merge branch 'new-updates' into new-tests 2021-04-15 17:46:37 +05:30
Mubaris NK
62d3755b4f
test failing @ _PaybackCalculate: invalid opcode 2021-04-15 17:42:42 +05:30
Samyak Jain
a388330549 minor bug resolved 2021-04-15 17:37:32 +05:30
Mubaris NK
ab84d537ec
Fix stack too deep error 2021-04-15 16:09:23 +05:30
Mubaris NK
48fe904e09
Merge master 2021-04-15 15:25:54 +05:30
Samyak Jain
3e4b0bb033
Merge pull request #7 from Instadapp/flashloan-change
Flashloan change
2021-04-15 09:21:48 +10:00
Samyak Jain
16bf043a81 token repeatation 2021-04-15 04:51:02 +05:30
Thrilok Kumar
6befc08271 Updated flashloan encode args on aave-v2-migrator 2021-04-15 04:45:00 +05:30
Thrilok Kumar
5922e1815b Liquidity contract changes 2021-04-15 04:34:22 +05:30
Thrilok Kumar
d853b50d8a Added deployment script 2021-04-15 04:30:37 +05:30
Samyak Jain
f423cafd9a use .call to interact with migration contract 2021-04-15 04:21:55 +05:30
Samyak Jain
d9e2ac71f1 removed another checkRatio 2021-04-15 03:50:48 +05:30
Samyak Jain
8b97cddfb5 removed another checkRatio 2021-04-15 03:50:03 +05:30
Samyak Jain
11ac919025 minor bug fix 2021-04-15 03:48:00 +05:30
Samyak Jain
818fcfeb13 removed deposit & withdraw function 2021-04-15 03:42:24 +05:30
Thrilok Kumar
68a97787b0 Added proxy contracts 2021-04-15 02:38:42 +05:30
Samyak Jain
93786f4c8f minor comment 2021-04-15 01:55:51 +05:30
Samyak Jain
587f3de38c merged mubaris fixes 2021-04-15 01:44:33 +05:30
Samyak Jain
029ffd98ec bug fix on deposit spells 2021-04-14 05:01:59 +05:30
Samyak Jain
3053de6d99 minor bug fix 2021-04-14 05:00:02 +05:30
Samyak Jain
e51885b016 minor bug fix 2021-04-14 04:41:35 +05:30
Samyak Jain
6c6d83e181 target update 2021-04-14 04:40:01 +05:30
Samyak Jain
0a38ebbb19 bug fixes on migrate cast spells 2021-04-14 04:38:56 +05:30
Samyak Jain
03e2fd7c9d minor fixes 2021-04-14 04:31:20 +05:30
Samyak Jain
3732f562bd fixed some more TODOs 2021-04-14 04:22:56 +05:30
Samyak Jain
3f5bd4f3ac minor bug fix 2021-04-14 04:15:47 +05:30
Samyak Jain
20a9e4fc6d connector update & settle transfer 2021-04-14 04:13:51 +05:30
Samyak Jain
127ebebd8e ethAmt changes related to last commit 2021-04-14 04:01:28 +05:30
Samyak Jain
0d0770ecc7 Flash ethAmt update 2021-04-14 04:00:38 +05:30
Samyak Jain
e3ef78e689 added isDepositEnabled variable 2021-04-14 03:51:08 +05:30
Samyak Jain
96c222e4c7 minor fixes 2021-04-13 04:35:47 +05:30
Mubaris NK
d4e72a7c89
minor changes 2021-04-12 20:26:56 +05:30
Mubaris NK
10dde58404
TODOs in receiver 2021-04-12 11:32:42 +05:30
Mubaris NK
bd3ebe6ea1
Finish senders 2021-04-11 22:23:42 +05:30
Mubaris NK
6131165008
Remove unused contracts 2021-04-11 22:00:55 +05:30
Mubaris NK
584bd9a98f
[WIP] events 2021-04-11 21:51:23 +05:30
Mubaris NK
81f8ade041
Add checkRatio and minor changes 2021-04-11 19:41:11 +05:30
Mubaris NK
d82b74dd77
Minor changes 2021-04-11 16:35:26 +05:30
Mubaris NK
4fd8768f84
change to ierc20 2021-04-11 15:58:05 +05:30
Mubaris NK
6a05db360e
Add approve before depositting 2021-04-11 15:49:59 +05:30
Samyak Jain
0e13bfa0d1 added checkRatio 2021-04-11 02:47:34 +05:30
Samyak Jain
c209376152 L2 instaindex address update 2021-04-09 20:50:27 +05:30
Samyak Jain
07c5f58c83 contracts done 2021-04-09 07:13:31 +05:30
Samyak Jain
449f8aeefe added flashloan contract 2021-04-09 06:33:40 +05:30
Samyak Jain
4b21f93f02 event update 2021-04-09 05:23:55 +05:30
Samyak Jain
a97072fe4e minor edits 2021-04-09 05:23:21 +05:30
Samyak Jain
272868a9d6 L2 settle function update 2021-04-09 05:18:56 +05:30
Samyak Jain
4158bce7d4 free flashamt 2021-04-09 05:17:32 +05:30
Samyak Jain
e6bcc576e8 added receiver settle and fixes 2021-04-09 05:14:37 +05:30
Samyak Jain
148895b583 minor fixes in L1 settle 2021-04-09 05:02:55 +05:30
Samyak Jain
cc2ccaa5ef minor bug fix 2021-04-09 04:35:41 +05:30
Samyak Jain
1a85a15551 Added settle function in L1 2021-04-09 04:35:20 +05:30
Samyak Jain
47d669b666
Update contracts/receivers/aave-v2-receiver/main.sol
Resolve compiler bug issue

Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-04-09 05:00:24 +10:00
Samyak Jain
d25a048fbd updated reentracy attack chances 2021-04-09 00:27:47 +05:30
Samyak Jain
91b23303fc folder name update 2021-04-08 23:10:56 +05:30
Samyak Jain
3efd030cbe implementation contract basic done 2021-04-08 05:56:08 +05:30
Samyak Jain
260b919259 L1 migration connector update 2021-04-08 05:40:38 +05:30
Samyak Jain
ee2d8acbd8 flies refactoring 2021-04-08 05:33:11 +05:30
Samyak Jain
2213f12058 many updates at once 2021-04-08 05:15:00 +05:30
Samyak Jain
9779cd4241 updates, fixes & refactoring 2021-04-07 20:58:21 +05:30
Samyak Jain
ac0217de32 receiver logics update 2021-04-07 05:52:28 +05:30
Samyak Jain
bcf60701ee
Update contracts/receivers2/aave-v2-receiver/main.sol
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-04-06 22:12:36 +10:00
Samyak Jain
5812e992fc Logic structuring done 2021-04-06 05:03:34 +05:30
Samyak Jain
2a58cb9ff5 [WIP] Updates in receiver contract 2021-04-05 06:03:23 +05:30
Samyak Jain
6994796c29 major updates in L1 migration contracts 2021-04-05 05:30:16 +05:30
Mubaris NK
834d43eb38
Fix double migration issue 2021-04-04 18:59:26 +05:30
Mubaris NK
62cd2ea563
Anyone can migrate the position on L2 2021-04-04 18:57:38 +05:30
Mubaris NK
84598c2d87
Add partial migration and token mapping 2021-04-04 13:36:20 +05:30
Mubaris NK
dd01e5592f
Transfer debt to receiver upon migration 2021-04-04 11:06:01 +05:30
Mubaris NK
1d2725f36a
Add events 2021-04-04 10:12:41 +05:30
Mubaris NK
00ab0f7bff
Update deposit and withdraw in migrator and receiver 2021-04-04 09:44:05 +05:30
Mubaris NK
c46d2b4d86
Fix minor issues 2021-04-04 09:22:13 +05:30
Mubaris NK
839fa486fe
Connect reciever and implementation 2021-04-04 09:17:28 +05:30
Mubaris NK
86e8d1d148
Connect reciever and implementation 2021-04-04 09:17:23 +05:30
Mubaris NK
dad172e4b7
[WIP] Receiver and implementation barebones 2021-04-04 08:43:47 +05:30
Mubaris NK
5a49c207a3
[WIP] Connector and migrator 2021-04-02 20:58:00 +05:30
Mubaris NK
6b719fecd9
Change logic 2021-04-02 11:46:28 +05:30
Mubaris NK
33c5c8e0fd
Minor changes 2021-04-02 10:50:25 +05:30
Mubaris NK
d9fdd17e3d
[WIP] Aave v2 state sender + connector 2021-04-01 15:32:46 +05:30