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
Thrilok Kumar
48d4067f89
Added WETH connector
2021-06-18 14:13:03 +05:30
Thrilok Kumar
38d4f23289
ETH withdraw issue fixed on maker
2021-06-18 13:58:08 +05:30
Thrilok Kumar
83c4327c37
Updated connector name
2021-06-17 23:39:58 +05:30
Thrilok Kumar
395a98a640
Added Vault Transfer function
2021-06-17 23:36:34 +05:30
Thrilok kumar
ecb007fcd8
Merge pull request #41 from Instadapp/uni-v3-erc20
...
Uniswap v3 erc20 pool
2021-06-17 23:25:00 +05:30
Thrilok Kumar
30f203f54a
Minor fix
2021-06-16 14:13:16 +05:30
Samyak Jain
38fa0bfe95
updated connector to fetch factory from resolvers
2021-06-16 14:04:18 +05:30
Thrilok Kumar
f9b3e6b8e4
Updated auth connector address
2021-06-15 21:44:04 +05:30
Thrilok Kumar
e9281116fd
Minor updates
2021-06-15 21:21:19 +05:30
Samyak Jain
d0bd1ee78b
auth connector update
2021-06-15 19:43:35 +05:30
Thrilok Kumar
229be643a0
minor fix
2021-06-13 17:02:34 +05:30
Samyak Jain
f37a543b81
minor refactoring
2021-06-13 17:00:49 +05:30
Thrilok Kumar
d72c1480f9
Added guni factory
2021-06-13 16:49:33 +05:30
Thrilok Kumar
9da4e18c2c
Fixed stack too deep error
2021-06-10 23:42:39 +05:30
Thrilok Kumar
f2d163c8ae
Minor changes
2021-06-10 23:27:27 +05:30
Samyak Jain
7e6b83e5fe
updated stake mapping
2021-06-10 21:55:57 +05:30
Samyak Jain
ef5c6e9edb
added comments on connector
2021-06-10 19:45:21 +05:30
Samyak Jain
1cc2e4ba1a
staking connector added
2021-06-10 17:26:39 +05:30
Samyak Jain
dbcf960bf9
updated connector with setId & getId
2021-06-10 16:56:05 +05:30
Samyak Jain
a483299e50
added slippage on deposit
2021-06-10 16:44:38 +05:30
Samyak Jain
2bd7492e56
Gelato connector updated with swap & mint
2021-06-10 03:00:34 +05:30
Edward Mulraney
4ea58ba50d
log the eth and lqty gains from stability pool operations. general tidy up
2021-06-09 21:02:06 +01:00
Edward Mulraney
7588733d98
add tests to ensure getId/setIds all work
2021-06-08 16:57:36 +01:00
Samyak Jain
1c6c7bc358
new updates
2021-06-08 02:04:38 +05:30
Thrilok Kumar
8067874d21
Fixes
2021-06-08 00:46:32 +05:30
Samyak Jain
22ebfac88d
minor fix
2021-06-08 00:22:34 +05:30
Samyak Jain
927e1e2f1c
Update contracts/mainnet/connectors/uniswap_v3_erc20/main.sol
...
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-06-08 00:21:41 +05:30
Samyak Jain
2476cc4390
Update contracts/mainnet/connectors/uniswap_v3_erc20/main.sol
...
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-06-08 00:21:31 +05:30
Samyak Jain
9b69841fec
added events
2021-06-08 00:20:44 +05:30
Samyak Jain
5656c94717
Uniswap v3 erc20 pool basic setup done
2021-06-07 23:32:13 +05:30
Edward Mulraney
5be5cb6866
include all gains from staking/stability-pool when performing operations on them
2021-06-04 15:55:04 +01:00
Edward Mulraney
97db94fe59
add test for instadapp event return values. address PR comments:
...
- add setUints to all applicable functions
- use uint256 rather than uint for event data
2021-06-04 12:18:16 +01:00
Thrilok Kumar
33af444193
Updated connector addresses list
2021-06-02 22:43:15 +05:30
Edward Mulraney
ec8fd393a1
add recommended solidity version
2021-06-02 11:19:05 +01:00
Thrilok Kumar
1fd9c651f5
polygon aave claim function update
2021-06-02 05:41:26 +05:30
Thrilok Kumar
9ba2885a0f
aave polygon claim function update
2021-06-02 05:41:02 +05:30
Edward Mulraney
a1203c66ae
add liquity connector
2021-06-01 15:50:52 +01:00
Thrilok Kumar
de1472e98f
Updated 1inch connector
2021-05-26 07:03:45 +05:30
Thrilok Kumar
ac3421fb61
Fix compound connector depositCToken setId
2021-05-15 01:00:44 +05:30
Thrilok Kumar
dc849877c4
Added basic compound testcases
2021-05-15 00:46:54 +05:30
Thrilok kumar
516e2612db
Merge pull request #36 from Instadapp/integrate_mapping_contract
...
🎸 feat: integrated MappingController for cream and reflexer
2021-05-11 23:04:06 +05:30
Thrilok Kumar
199c641f8d
Updated connector comments
2021-05-11 22:44:57 +05:30
Thrilok Kumar
196673877d
Added name and description for polygon connectors
2021-05-11 21:49:12 +05:30
Thrilok Kumar
40e2a47f7a
Added title and description for mainnet connectors
2021-05-11 21:46:23 +05:30
Thrilok Kumar
c4a649c623
Fixed typo
2021-05-11 21:28:15 +05:30
Thrilok Kumar
abc3dc2c5d
Added polygon connectors
2021-05-11 19:22:01 +05:30
Daksh Miglani
9035da5a36
🎸 feat: integrated MappingController for cream and reflexer
2021-05-11 02:04:31 +05:30
Thrilok kumar
92bb147509
Merge pull request #35 from Instadapp/mapping-contract
...
Mapping contract
2021-05-10 14:35:53 +05:30
Daksh Miglani
e3eddd093a
feat: 🎸 access controller -> mapping controller bytes32 -> addr
2021-05-10 14:19:45 +05:30
Daksh Miglani
fdb62fedd5
style: 💄 improve the comments a bit
2021-05-10 03:46:26 +05:30
Daksh Miglani
169b411142
feat: 🎸 separate out contracts and fit them for our usecase
2021-05-10 00:45:52 +05:30
Thrilok Kumar
e565ab7590
Fixed address => bytes32 encoding
2021-05-09 21:31:04 +05:30
Daksh Miglani
247d75f857
feat: 🎸 add new access control and use it in InstaMappings
2021-05-09 21:00:29 +05:30
Daksh Miglani
83820b2438
feat: 🎸 move cream to the mainnet directory
2021-05-09 20:59:16 +05:30
Thrilok Kumar
f8598a492b
Added instapool_v2
2021-05-09 16:58:58 +05:30
Daksh Miglani
07cbf798a1
Merge branch 'main' of https://github.com/Instadapp/dsa-connectors into mapping-contract
2021-05-09 02:15:19 +05:30
Ardhead
0ef4667258
Checker for solidity code ( #32 )
...
* raw logic
* rename and output update
* checks update
* name & comments checks update
* Updated comments for reflexer
* Updated comments
* colors and line numbers
* commit test
* commit test 2
* commit test 3
* commit test 4
* commit test 5
* commit test 6
* commit test 7
* reset branch
* commit test 1
* commit test 1
* test commit 1
* test commit
* test
* test
* test workflow
Co-authored-by: Thrilok Kumar <thrilok2000@gmail.com>
2021-05-07 22:06:52 +05:30
Thrilok Kumar
3f715e90cf
.value => {value: }
2021-05-06 14:15:32 +05:30
Thrilok Kumar
74b4dfa21e
Updated connectorId
2021-05-05 16:14:14 +05:30
Thrilok Kumar
5530f8f013
Updated ctokens mapping on refinance connector
2021-05-05 16:13:29 +05:30
Thrilok Kumar
e6cab3b1e2
Added refinance connector
2021-05-05 16:12:45 +05:30
Thrilok Kumar
0d60d29f80
Added InstaMappings
2021-05-04 17:17:04 +05:30
Thrilok Kumar
d6af759404
Fixed paraswp approve issue
2021-05-03 22:20:26 +05:30