Commit Graph

353 Commits

Author SHA1 Message Date
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