Commit Graph

511 Commits

Author SHA1 Message Date
pradyuman-verma
ea3072e802
fix: minor 2021-11-19 13:59:07 +05:30
pradyuman-verma
a1c6607cdc
fix 2021-11-19 02:08:57 +05:30
pradyuman-verma
4736e8dadc
feat: sample uniswap connector on arbitrum 2021-11-19 02:04:28 +05:30
Vaibhav20201
842ef065f0 minor fixes 2021-11-16 04:47:55 +05:30
faris
acbcd8050e test 2021-11-15 19:24:12 +08:00
Ibrahim
e197ebeb49 Universe Finance Connector 2021-11-15 18:29:08 +08:00
Vaibhav20201
4317afa986 Added functions to claim avax rewards + updated code structure + minor fixes 2021-11-14 20:11:05 +05:30
Samyak Jain
07f8fd07ad
Update main.sol 2021-11-12 20:35:04 +05:30
Thrilok kumar
3e5393cc23
Update main.sol 2021-11-12 20:31:59 +05:30
Thrilok kumar
5389b7e1a2
Merge pull request #88 from Benqi-fi/feature/avalanche-benqi
Add Avalanche, Benqi connectors
2021-11-08 01:26:58 +05:30
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
85c64d2425 Added Aave avax flashloan connector 2021-10-30 15:20:40 +05:30
babkendev01
016903b081 Updated mapping contract address with correct wrapped token name 2021-10-27 20:50:22 +04:00
babkendev01
a47eade8f7 Update BenqiMappingInterface contract address 2021-10-27 16:24:20 +04:00
Thrilok Kumar
d87f8ca048 fixed OZ package issue 2021-10-27 12:16:32 +05:30
Thrilok kumar
40ce4e066e
Merge pull request #98 from Instadapp/aave-flashloan
Added Aave flashloan connector
2021-10-25 22:20:46 +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
babkendev01
eadcd73ed1 Updated contract name 2021-10-21 12:54:16 +04:00
Thrilok kumar
2d186feb6f
Merge pull request #93 from eccheung4/pooltogether-connector-polygon
Pooltogether Polygon connector
2021-10-21 00:02:57 +05:30
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
babkendev01
9fa4499b69 Fix feedback from instadapp, update interfaces, addresses 2021-10-08 11:21:31 +04:00
Twin Fish
a8c4e78ea0
Merge branch 'main' into feat/gelato-aave-protection 2021-10-07 11:45:23 +02:00
Edwin Cheung
cb21849366
fix: Update to ConnectV2PoolTogetherPolygon
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-10-06 13:08:31 -07:00
Thrilok Kumar
9bb1e1587f Added Paraswap avalanche connector 2021-10-06 03:06:11 +05:30
Edwin Cheung
b401bfa534
Merge branch 'Instadapp:main' into pooltogether-connector-polygon 2021-10-04 13:39:40 -07:00
eccheung4
3cce1ec319 fix: update AAVE to polygon addresses 2021-10-04 13:38:05 -07:00
Thrilok Kumar
68e6a58e01 Added AaveV2 and AaveV2Reward connector 2021-10-05 01:11:53 +05:30
Thrilok Kumar
f9d4a422b0 Added avax basic connectors 2021-10-04 23:00:09 +05:30
Thrilok Kumar
83a34cd632 Added Fantom connectors 2021-10-02 21:37:42 +05:30
babkendev01
5ff2546efe Update addresses, Fixed Qi reward claim 2021-09-30 11:17:17 +04:00
eccheung4
b8aab9db5a fix: convert isEth and Weth to isMatic and Wmatic 2021-09-29 08:22:42 -07:00
eccheung4
220e826e01 fix: remove code for PODs 2021-09-29 07:38:03 -07:00
eccheung4
bbc690e13d initial: copy of files from mainnet connector 2021-09-29 07:35:12 -07:00
babkendev01
a057263b3f Add Benqi connectors on Avalanche 2021-09-29 18:16:30 +04:00
Thrilok Kumar
2788906002 Added WETH Arbitrum connector 2021-09-24 01:44:28 +05:30
Shivva
e04778e43a Adding aave protection connector mainnet 2021-09-23 17:05:33 +02:00
Thrilok Kumar
f17c35a2ef Added 1Inch arbitrum connector 2021-09-23 00:13:16 +05:30
Thrilok kumar
8e48aef248
Merge pull request #82 from Instadapp/uniswap-v3-arbitrum-deployment
UniswapV3 Arbitrum deployment
2021-09-21 17:03:49 +05:30
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
Thrilok Kumar
9b272ee6b8 Added UniswapV3 Arbitrum connector 2021-09-21 14:45:40 +05:30
Thrilok Kumar
333208f254 Deployed connectors 2021-09-20 11:44:41 +05:30
Thrilok Kumar
b3ad283bfc Added Authority and Basics connectors 2021-09-20 09:23:16 +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
Thomas Bouder
1a911e508f
Merge branch 'feature/yearn-v2-connector' of github.com:TBouder/dsa-connectors into feature/yearn-v2-connector 2021-09-02 10:01:12 +02:00
Thomas Bouder
04f6bebefd
👥 Update for review 2021-09-02 10:00:55 +02:00
eccheung4
a8ad815814 Clean up code a bit 2021-08-31 17:19:15 -07:00
cryptoDev222
d39dc1d509 feat: implement ERC721/1155 testcase 2021-08-31 11:17:03 -05:00
cryptoDev222
7ad2a53364 refactor: fix minor issue 2021-08-30 10:34:52 -05:00
cryptoDev222
7905b01a85 feat: support ERC1155 deposit/withdraw 2021-08-30 10:33:08 -05:00
cryptoDev222
6f7f14c235 refactor: fix version string 2021-08-30 03:25:28 -05:00
cryptoDev222
73ed99993b reactor: fix minor issue 2021-08-30 03:23:54 -05:00
Edwin Cheung
e7788adac9
Merge branch 'main' into pooltogether-connector 2021-08-29 22:07:30 -07:00
Thomas Bouder
f323508f7f
Merge branch 'main' into feature/yearn-v2-connector 2021-08-29 19:01:03 +02:00
Thrilok kumar
4c2fb6efca
Merge pull request #68 from Instadapp/feat/uniswap-v3-connector
Uniswap v3 connector
2021-08-29 22:19:26 +05:30
Thrilok kumar
81a3ab22c1
Merge pull request #57 from yaronvel/main
Add B.Protocol
2021-08-29 22:18:29 +05:30
eccheung4
c797730f96 Add claimed amount for setId in claim function and event 2021-08-28 16:01:15 -07:00
cryptoDev222
cff2edda79 refactor: fix minor issue 2021-08-28 14:35:36 -05:00
Edwin Cheung
e3ddf057cf
Merge branch 'Instadapp:main' into pooltogether-connector 2021-08-27 10:19:54 -07:00
Thrilok kumar
2da9eb4901
Update main.sol 2021-08-27 17:12:17 +05:30
Thrilok kumar
fa0a22e49c
Minor change 2021-08-26 03:00:48 +05:30
Thrilok kumar
a9897fe372
Minor change 2021-08-26 03:00:41 +05:30
Thrilok kumar
b0744e2797
Updated Compound Mapping address 2021-08-26 03:00:30 +05:30
Thrilok kumar
cd337224b5
Update main.sol 2021-08-26 01:25:29 +05:30
Thrilok kumar
4d1af0fe3e
Update main.sol 2021-08-26 01:23:12 +05:30
Thrilok kumar
bbb01cd6bd
Update main.sol 2021-08-26 01:10:10 +05:30
Thrilok kumar
563aada811
Updated deposit comment 2021-08-26 01:06:59 +05:30
cryptoDev222
59870142d1 refactor: fix small issues 2021-08-25 12:54:44 -05:00
cryptoDev222
7f8e13af0c refactor: fix small issue 2021-08-25 12:48:08 -05:00
cryptoDev222
cc6da0c758 refactor/implement getId/setId 2021-08-25 11:18:31 -05:00
cryptoDev222
f4b4cbfc5e feat/implement ERC721 deposit/withdraw 2021-08-25 10:09:52 -05:00
cryptoDev222
509d2cf3bd refactor: fix deposit/withdraw function 2021-08-24 14:56:55 -05:00
cryptoDev222
30eb39378f implement uniswap v3 staker 2021-08-24 14:04:17 -05:00
Thomas Bouder
e50bb11bd4
Fixing doc issues & payable 2021-08-23 23:35:31 +02:00
Thomas Bouder
81a50e969d
Add new Yearn vault connector 2021-08-23 23:35:06 +02:00
yaron velner
ed791eba47 b.liquity 2021-08-23 13:06:49 +03:00
yaronvel
7ced8a1279
Merge branch 'Instadapp:main' into main 2021-08-23 10:57:44 +03:00
Shivva
059412ebcb add LogCancelAndRevoke event 2021-08-21 13:11:21 +02:00
Shivva
cd46f4fae8 chore: internals inside helpers, add events. 2021-08-21 11:34:40 +02:00
cryptoDev222
829dd0daca refactor: add params description 2021-08-20 15:19:15 -05:00
Thrilok Kumar
9d0727b6fa Converted struct into params 2021-08-21 01:40:38 +05:30
cryptoDev222
ee738fda70 feat: fix stack too deep error when optimize disabled 2021-08-20 14:00:15 -05:00
Thrilok Kumar
bacfc9d07c Reverted commit 2021-08-20 03:53:48 +05:30
Thrilok Kumar
f0e9e1d529 Converted struct to normal variables 2021-08-20 03:51:25 +05:30
eccheung4
7ea00d7d03 Add depositToPod and withdrawFromPod functions 2021-08-18 21:58:00 -07:00
cryptoDev222
099fb6d468 feat: refactor check-haskey 2021-08-18 15:11:29 -05:00
Thrilok kumar
da4c7ff509
Removed _exactInputSingle 2021-08-19 01:11:12 +05:30
Thrilok kumar
f2a6808861
Added lower and upper tick to event 2021-08-19 01:09:57 +05:30
Shivva
fc2c597497 Aave protection connector 2021-08-18 21:30:56 +02:00
Thrilok kumar
3da50c3b82
Merge pull request #65 from liquity/main
Handle repayments in adjust() and update tests
2021-08-19 00:50:08 +05:30
eccheung4
6ab5a1ef3e Merge branch 'main' into pooltogether-connector 2021-08-13 14:38:55 -07:00
cryptoDev222
04a26554b7 fix issues 2021-08-12 17:12:11 -05:00
cryptoDev222
77bcdb8049 testcase script file and case tokenID 0 2021-08-12 10:44:34 -05:00
eccheung4
bf80497bb2 Add claimAll function 2021-08-11 15:36:57 -07:00
cryptoDev222
944b3fb130 fix small issues 2021-08-10 11:42:18 -05:00
cryptoDev222
3fb91b6136 implement burn function 2021-08-10 10:18:33 -05:00
cryptoDev222
c7f446bc54 enable check eth addLiquidity 2021-08-10 09:54:21 -05:00
cryptoDev222
764faca85e remove require statement 2021-08-10 05:51:46 -05:00
Edward Mulraney
56b101f2f9 handle repayments in adjust() and upate tests 2021-08-10 11:18:32 +01:00
cryptoDev222
3b2248a50c fix small issues 2021-08-09 23:53:49 -05:00
cryptoDev222
8b82f4534b fix small issues 2021-08-09 16:09:14 -05:00
cryptoDev222
cf543bd26f fix mint function 2021-08-09 15:08:48 -05:00
cryptoDev222
1ae2a5c9e5 fix mint function 2021-08-09 13:30:38 -05:00
Thrilok Kumar
8239368ea4 Updated connector addresses doc 2021-08-09 23:29:18 +05:30
Thrilok Kumar
5b6e1af5fd Merge branch 'dep/compound-mapping-update' of https://github.com/InstaDApp/dsa-connectors-new into dep/compound-mapping-update 2021-08-09 23:07:23 +05:30
Thrilok Kumar
c0e1b4a1fb Updated compound mapping address 2021-08-09 23:07:09 +05:30
cryptoDev222
ab29b12a4e fix small issues 2021-08-09 09:58:28 -05:00
cryptoDev222
08d24f1ef5 uniswapv3 connector 2021-08-08 11:29:35 +02:00
Thrilok kumar
cd98a39774
Merge branch 'main' into dep/compound-mapping-update 2021-08-06 00:57:35 +05:30
Thrilok kumar
9ed8cf568b
Merge pull request #61 from Instadapp/dep/reflexer
Whitelist Reflexer connector
2021-08-06 00:41:33 +05:30
Thrilok kumar
cc1e975537
Merge pull request #44 from liquity/main
Add Liquity protocol
2021-08-06 00:32:28 +05:30
eccheung4
8d9600b3b2 Add TokenFaucet and claim function 2021-08-05 10:56:02 -07:00
Thrilok Kumar
9f576e3111 Updated compound mapping address 2021-08-05 13:00:04 +05:30
Thrilok Kumar
cf9232288c Deployed reflexer connector 2021-08-05 12:57:09 +05:30
yaron velner
6f356a3a46 b.protocol: deposit to cdp manager and not to vat directly 2021-08-04 00:44:18 +03:00
Thrilok Kumar
9d60daa894 Deployed reflexer mapping contract 2021-08-03 21:45:03 +05:30
Thrilok Kumar
cf8cc26090 Deployed InstaMappingController contract 2021-08-03 21:32:27 +05:30
Thrilok Kumar
dedd38239a Updated solidity version of reflexer mapping contract 2021-08-03 20:58:30 +05:30
Thrilok Kumar
b62d3ec04c Cleared TODO 2021-08-03 20:57:53 +05:30
Edward Mulraney
5e749a73d2 Merge remote-tracking branch 'upstream/main' 2021-07-30 10:32:01 +01:00
Edward Mulraney
f81af1743e make all functions payable so they can be composed with payable functions 2021-07-30 10:31:46 +01:00
Edward Mulraney
f37b863815
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:43:12 -04:00
Edward Mulraney
a126642e30
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:43:00 -04:00
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
3c4d3ec858
Merge pull request #49 from Instadapp/feat/polygon-1inch
Add polygon 1inch connector
2021-06-26 00:30:52 +05:30
Thrilok Kumar
a22103533b Minor fix 2021-06-26 00:06:08 +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
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
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