Commit Graph

429 Commits

Author SHA1 Message Date
bhavik-m
6ddb5ffa19 lido-stakeEth 2022-03-12 21:24:57 +05:30
bhavik-m
64b7455896 added connector on fantom 2022-03-12 21:04:42 +05:30
bhavik-m
1133f10fbc minor fix 2022-03-11 01:52:31 +05:30
bhavik-m
ca187d5fe5 updated aave v3 addr, added flashloan fee in events, changed solidity version 2022-03-11 01:40:00 +05:30
bhavik-m
c04011e8ba updated solidity version 2022-03-10 23:22:04 +05:30
bhavik-m
b7bffb41a8 added comments 2022-03-09 22:02:57 +05:30
bhavik-m
0a13c8e5cf added comments 2022-03-09 21:58:25 +05:30
bhavik-m
5083d84d51 removed migration func 2022-03-09 21:52:14 +05:30
Chinmay Chougaonkar
8e74f75862 refactored compound-import contracts 2022-03-07 20:10:17 +05:30
bhavik-m
37592c99cb added connector 2022-03-07 16:39:12 +05:30
bhavik-m
2d308f2e35 removed referral param 2022-03-07 01:00:45 +05:30
bhavik-m
cb89771f7e added referral parameter in deposit func 2022-03-07 00:39:38 +05:30
bhavik-m
0d7080b8b1 minor fix 2022-03-07 00:21:01 +05:30
bhavik-m
ba77087659 added connector 2022-03-07 00:16:22 +05:30
bhavik-m
9797733750 merge main into this branch 2022-03-06 18:33:52 +05:30
bhavik-m
2a20443390 added flashloan fee parameter in event 2022-03-06 18:31:15 +05:30
bhavik-m
6241384933 removed executeOperation func + refactored code 2022-03-04 17:44:36 +05:30
0xPradyuman
4800889442
fixed checks (#181)
* fixed checks

* updated sushi incentive comments

* fixed index.ts errors

* removed yarn.lock since it is not used anywhere, updated gh actions config and package-lock.json

Co-authored-by: Ishan Jain <contact@ishanjain.me>
Co-authored-by: Prayuman Verma <pradyumnverma27@gmail.com>
2022-03-03 23:52:41 +05:30
Chinmay Chougaonkar
df59342790 handled borrowing with flash loan fee 2022-02-28 14:34:52 +05:30
Chinmay Chougaonkar
7fd95fc81e added natspec comments, remove flashloan related function skeletons 2022-02-27 21:58:52 +05:30
Chinmay Chougaonkar
58c2d3cb6e added LogCompoundImport event 2022-02-27 09:40:25 +05:30
Chinmay Chougaonkar
5516b27d7a add logic for compound import except flashloan related functions 2022-02-27 09:32:51 +05:30
bhavik-m
6abaee5bf9 minor fix 2022-02-27 02:28:09 +05:30
bhavik-m
7bf7174c7a wip: import connector 2022-02-27 02:14:41 +05:30
bhavik-m
fb19080980 fixed typo 2022-02-21 21:50:51 +05:30
bhavik-m
713e618990 minor fix 2022-02-21 15:51:48 +05:30
bhavik-m
2842fed13a added e-mode func 2022-02-21 15:47:39 +05:30
bhavik-m
420ada2036 added paybackWithAToken func + minor fix 2022-02-19 19:17:39 +05:30
Dimitri
eb8ddce70a
Merge branch 'Instadapp:main' into mstable/save 2022-02-14 12:35:18 +01:00
bhavik-m
7e21f46841 initial commit 2022-02-14 11:57:50 +05:30
Tianjie Wei
7534ddd4ad Fixing comment 2022-02-04 09:11:10 -08:00
Tianjie Wei
8ac646a1a3 Addressing PR comments 2022-02-02 11:14:45 -08:00
Tianjie Wei
f5ac85692e Merge branch 'main' into notional-v2 2022-02-02 09:07:02 -08:00
Dimitri Golecko
a51ad6fd45 chore: add payable 2022-02-01 16:41:20 +01:00
Tianjie Wei
bdec4650b4 Moving comment block 2022-01-31 19:29:02 -08:00
weitianjie2000
4dd1d14f01
Fixing static analysis errors (#3) 2022-01-31 19:23:43 -08:00
Thrilok kumar
27b7efad96
Update main.sol 2022-01-31 20:33:09 +05:30
Thrilok kumar
7823f8299e
Merge pull request #138 from Instadapp/feat/quickswap-fix
updated sushi-incentive connector
2022-01-30 21:12:09 +05:30
bhavik-m
0dff6dc041 fix conflicts 2022-01-30 19:50:23 +05:30
Dimitri
571a69ea3c chore: add stores 2022-01-27 19:34:47 +07:00
Dimitri
9c83fd0924 chore: clean up 2022-01-24 22:55:44 +07:00
Dimitri
cc7f53860c fix: typo 2022-01-20 13:56:13 +07:00
Dimitri
faf608d825 fix: event returns 2022-01-20 12:43:06 +07:00
Dimitri
d1519c56fd fix: eventsParams 2022-01-20 12:31:42 +07:00
bhavik-m
20b02db9bf changed params on incentive function + updated address 2022-01-13 04:32:31 +05:30
0xBhavik
f712c84528
Merge branch 'main' into feat/sushiswap 2022-01-11 17:15:24 +05:30
pradyuman-verma
ce83a8bc6e
minor fixes 2022-01-11 12:40:22 +05:30
Thrilok kumar
bcc4862d70
Merge pull request #127 from Instadapp/feat/0x
Feat/0x
2022-01-10 17:16:49 +05:30
Thrilok kumar
550049e0c9
Merge branch 'main' into feat/paraswap 2022-01-08 15:56:23 +05:30
0xPradyuman
e35b3d41e3
Merge branch 'main' into feat/0x 2022-01-06 12:38:27 +05:30
Dimitri
b5a67e5b49 fix: interface declaration 2022-01-02 15:44:36 +07:00
Dimitri
531ac64ba5 chore: consolidate functions to deposit and swap 2022-01-02 15:28:40 +07:00
bhavik mehta
ac3ef0f071 changed contract name 2022-01-01 17:18:13 +05:30
bhavik
87cfb46cc7 updated mapping name 2021-12-31 16:44:54 +05:30
Dimitri
d6231fff0d feat: add mainnet connector 2021-12-30 17:42:44 +07:00
pradyuman-verma
60169ee5ee
updated setUint 2021-12-27 21:11:55 +05:30
bhavik
612980c52b updated-contract 2021-12-26 18:38:47 +05:30
bhavik
184ce0a110 updated paths and deployed on polygon 2021-12-24 18:18:06 +05:30
bhavik
e8124f434a updated @title and contract name 2021-12-23 20:11:53 +05:30
bhavik
db1daad2f2 changed contract name 2021-12-23 20:11:53 +05:30
bhavik
61686a585f added 1inch-v4 2021-12-23 20:11:52 +05:30
Jeff Wu
0a2b38bee8
removing repay borrow, depositAndLend will work 2021-12-17 08:00:55 -08:00
Jeff Wu
016c8d4370
allowing more deposit types in borrow spell 2021-12-17 07:57:05 -08:00
Jeff Wu
cfd1eec589
updating comments 2021-12-17 07:13:17 -08:00
Jeff Wu
3373ac90ff
updating function mutability 2021-12-17 07:12:18 -08:00
Jeff Wu
2bf33b524f
adding some additional documentation 2021-12-17 06:13:13 -08:00
0xPradyuman
8910559a21
Merge branch 'main' into feat/quickswap 2021-12-17 00:54:48 +05:30
pradyuman-verma
e56ca991e7
update 2021-12-16 11:42:11 +05:30
Tianjie Wei
6de0228439 Adding tested contracts 2021-12-15 17:49:32 -08:00
pradyuman-verma
fa6886e033
update 2021-12-15 23:21:11 +05:30
pradyuman-verma
f511685a15
updates events 2021-12-15 23:03:49 +05:30
pradyuman-verma
2a0a61f1e1 update 2021-12-15 00:54:54 +05:30
pradyuman-verma
3b4e272090 updated quickswap 2021-12-15 00:00:07 +05:30
Thrilok kumar
a3d1a1f6bf
Update contracts/mainnet/connectors/1inch/main.sol 2021-12-14 00:02:35 +05:30
croooook
51710a3cf7 updated the 1inch comments for docs 2021-12-13 23:52:20 +05:30
croooook
f524062c39 updated the 1inch comments for docs 2021-12-13 23:38:31 +05:30
croooook
b9564292bc added in the comments of 1inch docs 2021-12-13 22:44:49 +05:30
pradyuman-verma
95ed18984f added sushiswap tests 2021-12-13 21:17:28 +05:30
pradyuman-verma
aa98f91e02 Merge branch 'quickswap-fix' into feat/quickswap 2021-12-13 16:50:21 +05:30
bhavik
0fb4826c5b changed contract name 2021-12-13 16:19:07 +05:30
bhavik
dfe3a9e056 updated-comments 2021-12-13 16:18:57 +05:30
bhavik
bc3d9bc5ab added paraswap on mainnet 2021-12-13 16:18:45 +05:30
cryptoDev222
627e839c70 minor fixes 2021-12-13 15:50:32 +05:30
cryptoDev222
650009f45e feat/implement sushiswap double incentive 2021-12-13 15:50:32 +05:30
cryptoDev222
102be3a91c implement sushi connector 2021-12-13 15:50:32 +05:30
zapaz.eth
4a7f1cc1d1 Merge branch 'main' into ubiquity 2021-12-12 21:20:08 +01:00
bhavik
714a4d91b1 added @notice comment 2021-12-11 15:46:31 +05:30
bhavik
5afed9f288 added support on polygon 2021-12-11 15:46:31 +05:30
bhavik
8a23337efd added 0x on mainnet 2021-12-11 15:46:31 +05:30
pradyuman-verma
33239ed018 removed errors 2021-12-07 23:14:19 +05:30
pradyuman-verma
3b87e1717d removed errors 2021-12-07 23:11:58 +05:30
Samyak Jain
c5d46a7000
Merge pull request #118 from Instadapp/flashloan-aggregator
added instapool v4 (flashloan aggregator)
2021-12-06 18:22:13 +05:30
Tianjie Wei
0cf73a7258 Fixing build 2021-11-29 16:55:26 -08:00
Tianjie Wei
25eadd9920 Fixing contract address 2021-11-29 15:21:52 -08:00
Samyak Jain
929e2bd8f0 added the proxy address in flashloan connector 2021-11-30 04:11:00 +05:30
Samyak Jain
00e562abc7 removed eth specific conditions 2021-11-30 04:06:52 +05:30
Tianjie Wei
6bbfa348f0 Fixing build errors 2021-11-29 12:38:43 -08:00
UniverseFinance
f6959f9159
add getIds and setIds 2021-11-27 22:29:23 +08:00
UniverseFinance
416c632adc
Update main.sol
approve
2021-11-25 13:22:10 +08:00
UniverseFinance
fcec1b0dbe
Update interface.sol 2021-11-25 13:21:25 +08:00
UniverseFinance
5c0dd54f24
Update helpers.sol
add approve
2021-11-25 13:20:41 +08:00
Samyak Jain
dd01d150fa added instapool v4 (flashloan aggregator) 2021-11-24 03:46:27 +05:30
UniverseFinance
e0322afab7
Update main.sol 2021-11-23 19:52:05 +08:00
UniverseFinance
13e1ec20b4
Update interface.sol 2021-11-23 19:51:39 +08:00
UniverseFinance
f27adab10e
Update helpers.sol 2021-11-23 19:51:12 +08:00
faris
acbcd8050e test 2021-11-15 19:24:12 +08:00
Ibrahim
e197ebeb49 Universe Finance Connector 2021-11-15 18:29:08 +08:00
Jeff Wu
45a85c09aa
some updates 2021-11-11 10:12:34 -08:00
Jeff Wu
b097558460
initial commit 2021-11-10 14:52:16 -08:00
Alain Papazoglou
684bc6acb9
Merge branch 'main' into ubiquity 2021-11-02 09:29:42 +01:00
Thrilok Kumar
d4226d62db Updated Instapool address 2021-11-02 00:31:36 +05:30
Thrilok Kumar
d87f8ca048 fixed OZ package issue 2021-10-27 12:16:32 +05:30
Thrilok Kumar
361161b524 Minor changes 2021-10-22 18:10:14 +05:30
zapaz.eth
b4ce55ad6a PR remarks 2021-10-22 14:06:29 +02:00
Thrilok Kumar
3cd2968268 Minor changes 2021-10-18 17:59:53 +05:30
zapaz.eth
a7ef817d95 improvments 2021-10-16 11:40:18 +02:00
zapaz.eth
dffd14c2fe add withdraw functionnality 2021-10-16 11:21:41 +02:00
Samyak Jain
ade3e5c312 added Aave flashloan connector 2021-10-15 04:31:34 +05:30
Thrilok kumar
3334476544
Merge pull request #73 from eccheung4/pooltogether-connector
PoolTogether connector
2021-10-12 14:44:47 +05:30
Thrilok kumar
3229bddfcb
Fixed claim event 2021-10-12 14:42:44 +05:30
zapaz.eth
a12320f8fd ubiquity connector after rebase main 2021-10-11 18:47:51 +02:00
Thrilok kumar
fd5e2dcba8
Merge pull request #87 from Instadapp/feat/fix-testcases
feat/fix testcases
2021-10-09 01:08:21 +05:30
Twin Fish
a8c4e78ea0
Merge branch 'main' into feat/gelato-aave-protection 2021-10-07 11:45:23 +02:00
Shivva
e04778e43a Adding aave protection connector mainnet 2021-09-23 17:05:33 +02:00
Thrilok kumar
2ae4878cff
Merge pull request #80 from Instadapp/uniswap-v3-staker-update
Update Uniswap V3 Staker connector
2021-09-21 16:13:17 +05:30
eccheung4
e28def660c feat: add claim() for Pod TokenDrop 2021-09-19 10:24:24 -07:00
Thrilok Kumar
6bdd4063ba Minor change 2021-09-19 00:36:46 +05:30
Thrilok Kumar
10857810ec Added depositAndStake function 2021-09-18 11:17:21 +05:30
cryptoDev222
a55585136e Merge branch 'feat/deploy-from-cmd' of https://github.com/Instadapp/dsa-connectors into feat/deploy-from-cmd 2021-09-17 14:45:19 -05:00
cryptoDev222
84075c39b6 feat: deploy connectors from cmd and minor fix on uniswap v3 connector 2021-09-17 14:44:09 -05:00
Thrilok Kumar
8651aa3aef Updated GUNI staking 2021-09-12 00:26:55 +05:30
Thrilok kumar
f73472b920
Merge branch 'main' into feature/yearn-v2-connector 2021-09-11 18:51:16 +05:30
Thrilok kumar
28a0d67979
Merge pull request #72 from Instadapp/feat/ERC721-deposit/withdraw
Add ERC721 and ERC1155 connector
2021-09-11 13:42:42 +05:30
eccheung4
2705ab4ad9 Fix: Add convertEthToWeth logic for WETH PrizePools 2021-09-09 16:32:24 -07:00
Thrilok Kumar
e62e0cfea8 Minor changes 2021-09-08 00:00:48 +05:30
Thrilok Kumar
73969113c5 minor fixes 2021-09-07 23:50:58 +05:30
Thrilok Kumar
3c800b82ac restructured uniswap folders 2021-09-07 23:48:07 +05:30
Thrilok Kumar
331e016638 Merge branch 'main' into feat/uniswap-staker 2021-09-07 23:44:47 +05:30
Thomas Bouder
d738ec4627
✏️ Rename variable isEth to iswEth 2021-09-07 13:34:54 +02:00
Thomas Bouder
605bcc9dcf
🐛 Fixing issue with wethAddr 2021-09-07 13:34:01 +02:00
Thomas Bouder
bc80d780ec
👷 Update after review 2021-09-07 13:31:24 +02:00
Thrilok Kumar
b64791d984 Minor comment fixes 2021-09-07 16:44:59 +05:30
Thomas Bouder
90b0a62f47
👷 Review update 2021-09-07 10:04:51 +02:00
eccheung4
a8a7dd48d0 Fix: Use return values _podShare and _tokenAmount from depositTo and withdraw in setUint() 2021-09-02 23:05:34 -07:00
eccheung4
0518a123fe Fix: use token address instead of prizePool address in depositToPod() 2021-09-02 22:57:08 -07:00
eccheung4
ac504364d9 Fix: Add maximumExitFee examples to test 2021-09-02 22:35:39 -07:00
eccheung4
3a052b9800 Fix: Remove referrer as it's not used 2021-09-02 13:43:23 -07:00
eccheung4
09aa2913e7 Fix: Add condition for uint256(-1) case. 2021-09-02 13:29:55 -07:00
eccheung4
f9762d8dfc Fix: replace where relevant with address(this) 2021-09-02 10:35:02 -07:00
cryptoDev222
1252c0f427 refactor: minor fixes and implement ETH-INST pool test 2021-09-02 03:09:09 -05:00