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
Thrilok Kumar
7a2822f08b
Updated connector name
2021-05-02 20:13:43 +05:30
Thrilok Kumar
7c454e1f0d
Updated connectors list
2021-04-26 01:22:03 +05:30
Mubaris NK
6ba85eba35
Add AAVE rewwards connector
2021-04-25 10:38:35 +05:30
Mubaris NK
a05b865b6d
Staked AAVE connector
2021-04-25 10:23:58 +05:30
Thrilok Kumar
38b0b5bf24
Minor fix
2021-04-22 06:12:08 +05:30
Thrilok Kumar
06a7687647
Fixed typo
2021-04-22 06:00:26 +05:30
Thrilok kumar
7818127b97
Merge pull request #29 from Instadapp/comp-claiming-mapping-changes
...
Update COMP connector with new mapping
2021-04-22 02:05:22 +05:30
Mubaris NK
b8042a54c6
Update COMP connector with new mapping
2021-04-21 21:37:57 +05:30
Mubaris NK
ea79e84673
Add contract name
2021-04-21 18:06:49 +05:30
Mubaris NK
30a5999280
fix imports
2021-04-21 18:05:05 +05:30
Mubaris NK
fd918e0381
Add paraswap connector
2021-04-21 18:04:43 +05:30
Thrilok kumar
53e92dbac3
Merge pull request #14 from Instadapp/aave-v2-amm
...
Add Aave v2 AMM Market
2021-04-20 05:02:54 +05:30
Thrilok kumar
6f551d4846
Merge pull request #27 from CreamFi/cream-connector
...
Cream connector
2021-04-20 05:01:48 +05:30
Mubaris NK
1ad2361789
Update claim
2021-04-14 20:23:26 +05:30
Mubaris NK
51a324473a
Add comments
2021-04-14 18:11:47 +05:30
Mubaris NK
6fc86d219b
Update incentives address
2021-04-14 17:32:12 +05:30
Thrilok Kumar
da70f87bc2
Added connector name for Aave Incentives
2021-04-13 18:23:48 +05:30
Mubaris NK
11e623216e
Add Aave rewards claimed connector
2021-04-13 11:31:53 +05:30
Thrilok Kumar
ef7edc7607
Fix: minor compilation error
2021-04-13 03:27:20 +05:30
Thrilok Kumar
39756b1efe
Changed Polygon connector name
2021-04-13 03:20:10 +05:30
Samyak Jain
d6a51b836a
removed withdraw from Polygon as you need EOA
2021-04-13 01:49:35 +05:30
Mubaris NK
1d55aa7615
Add polygon -> mainnet withdraw contracts
2021-04-12 16:42:03 +05:30
Mubaris NK
e93efb9226
Add polygon deposit and exit manager
2021-04-12 16:18:42 +05:30
0xyolo
8708dce8f0
Rename Compound -> Cream and change addresses
2021-04-12 11:36:05 +08:00
0xyolo
ab66ac7403
Start with compound connector and mapping
2021-04-08 12:27:41 +08:00
Mubaris NK
e5ac72f3c8
[Reflexer] Minor changes
2021-03-31 22:31:57 +05:30
Thrilok kumar
674824e7c6
Merge pull request #19 from guifel/reflexer-connector
...
Reflexer connector
2021-03-31 21:52:09 +05:30
Guillaume
cc151ef773
Remove ex-DSR event
...
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-03-30 16:33:20 +02:00
Guillaume
5cc5d848e0
LogDeposit
...
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-03-30 16:33:01 +02:00
Guillaume
aa4af5ae11
LogWithdraw fix
...
Co-authored-by: Thrilok kumar <thrilok2000@gmail.com>
2021-03-30 16:32:41 +02:00
Guillaume Felley
da08f615b5
Adjust event names
2021-03-30 13:06:09 +02:00
Guillaume Felley
b368121409
Fix bugs after testing
2021-03-30 12:53:38 +02:00
Guillaume Felley
b67be72a13
Add Reflexer mapping
2021-03-30 12:52:29 +02:00
Mubaris NK
28da8598cc
Marge main and update comments
2021-03-29 22:20:07 +05:30
Thrilok kumar
ae483a9ed5
Merge pull request #18 from InstaDApp/comments
...
Comments
2021-03-29 22:08:39 +05:30
Mubaris NK
3757d743f7
Add raw liquidation
2021-03-29 21:23:21 +05:30
Mubaris NK
26fa1d348c
Update docs and minor fix
2021-03-29 21:10:40 +05:30
Guillaume Felley
770fd97f45
Internal function renaming
2021-03-29 17:20:34 +02:00
Mubaris NK
f9566ae6a7
Add swap borrow rate method
2021-03-29 17:04:05 +05:30
Guillaume Felley
14892e6e9c
Rename all exteranl interfaces
2021-03-29 12:34:18 +02:00
Guillaume Felley
18ceba4710
Start with Maker connector
2021-03-29 11:57:54 +02:00
Mubaris NK
815f731079
Add comments
2021-03-29 10:39:27 +05:30
Samyak Jain
12652a2ca1
updated compound with raw functions
2021-03-29 03:25:46 +05:30
Samyak Jain
88c8a689c2
raw function added
2021-03-29 03:12:57 +05:30
Mubaris NK
87a53ac95c
Add swap borrow rate method
2021-03-28 19:16:20 +05:30
Mubaris NK
2d9646dc6e
Update mapping address
2021-03-27 22:28:28 +05:30
Thrilok Kumar
bf20a03fc6
Updated compound mapping address
2021-03-27 07:39:33 +05:30
Mubaris NK
66b396d0f0
Update comments
2021-03-24 18:09:02 +05:30
Mubaris NK
5a8fa5fcc8
Update comments
2021-03-24 18:03:55 +05:30
Mubaris NK
dd22b68bf1
Update comments
2021-03-24 17:53:36 +05:30
Thrilok Kumar
495e074a16
Removed unnecessary files
2021-03-23 16:06:35 +05:30
Thrilok Kumar
35c3e259ac
Added comments for 1inch connector
2021-03-23 16:02:30 +05:30
Mubaris NK
6911d7060c
Add Aave v2 AMM Market
2021-03-22 21:47:36 +05:30
Thrilok kumar
f00cc3e4d9
Merge pull request #12 from InstaDApp/1inch-refactor
...
Add oneProto and refactor oneInch
2021-03-21 19:48:02 +05:30
Mubaris NK
e96fc601a0
Update 1proto address
2021-03-21 19:10:37 +05:30
Mubaris NK
cad7ae4217
Add calculateAmtMinusFee in fee connector
2021-03-21 18:15:29 +05:30
Mubaris NK
d1d7b31724
Add oneProto and refactor oneInch
2021-03-21 14:43:05 +05:30
Thrilok Kumar
a3cc3ca88a
Basic changes
2021-03-21 01:58:28 +05:30
Thrilok Kumar
aceb55ac94
Aave changes
2021-03-21 01:53:45 +05:30
Thrilok Kumar
0000d78bb7
COMP changes
2021-03-21 01:25:57 +05:30
Thrilok Kumar
35330c92a2
Compound changes
2021-03-21 01:21:23 +05:30
Thrilok Kumar
a615f19b2d
MakerDAO minor changes
2021-03-21 01:02:23 +05:30
Thrilok Kumar
742eaac571
Minor change uniswapV2
2021-03-21 00:58:12 +05:30
Thrilok Kumar
b017644357
Uniswap minor changes
2021-03-21 00:50:12 +05:30
Thrilok Kumar
dde0349883
Updated hardhat config
2021-03-20 02:07:23 +05:30
Thrilok Kumar
7340803cbd
Updated event
2021-03-19 22:29:20 +05:30
Mubaris NK
4d1a20f144
Update mapping
2021-03-18 10:36:35 +05:30
Mubaris NK
fb800e27cb
Update compound for new mapping
2021-03-17 12:42:17 +05:30
Mubaris NK
73d3bef659
Add token mapping as well to compound
2021-03-16 22:31:15 +05:30
Mubaris NK
6460f6c349
Add deployment script with current mapping
2021-03-16 22:10:04 +05:30
Mubaris NK
7651a6d098
Merge branch 'deployment' into mapping-updates
2021-03-16 21:58:48 +05:30
Mubaris NK
aee0690cfd
Add compound mapping and update
2021-03-16 21:55:39 +05:30
Mubaris NK
c2f4a1f119
Update events
2021-03-15 22:52:47 +05:30
Mubaris NK
7a9fc83a5f
Improvements
2021-03-15 18:26:34 +05:30
Mubaris NK
155a8d6e0e
Add deployment script
2021-03-15 17:56:22 +05:30
Mubaris NK
2d6ed497f1
Add more connectors
2021-02-13 18:19:31 +05:30
Mubaris NK
20f9af8fe4
Add more connectors
2021-02-13 18:19:22 +05:30
Mubaris NK
a953a56c38
Add more connectors
2021-02-13 17:37:32 +05:30
Mubaris NK
4ee46422cf
More connectors
2021-02-13 14:41:50 +05:30
Mubaris NK
b8f007c589
Add compound
2021-02-08 22:50:48 +05:30
Mubaris NK
fb0c7ff62f
Update COMP
2021-02-08 20:57:45 +05:30
Mubaris NK
7e69631620
Add basic & chi
2021-02-08 20:48:32 +05:30
Mubaris NK
8518657e83
Add authority
2021-02-08 20:28:48 +05:30
Mubaris NK
959ecbc2e3
Add Aave v1 & v2
2021-02-08 20:01:55 +05:30
Mubaris NK
ff35db4fd4
Add Aave
2021-02-08 19:28:28 +05:30
Samyak Jain
aa67b788a3
updated connector event return
2021-02-07 23:48:38 +05:30
Samyak Jain
7f7d03157e
replaced ethAddr
2021-02-07 23:03:48 +05:30
Samyak Jain
81e54d6841
changed functions into constant variables
2021-02-07 23:01:30 +05:30
Mubaris NK
ac505457cd
Refactor
2021-02-07 22:10:28 +05:30
Samyak Jain
e392dd6262
updated new event emitting in comp.sol
2021-02-07 21:01:36 +05:30
Mubaris NK
279452e845
Replace deprecated methods
2021-02-06 00:30:33 +05:30
Mubaris NK
5d8139c494
Restructure old contracts
2021-02-06 00:21:11 +05:30
Mubaris NK
db60f815ba
Restructure
2021-02-06 00:03:49 +05:30
Mubaris NK
1e69cb14b8
Breakdown COMP connector
2021-02-05 22:37:07 +05:30
Samyak Jain
9d2a61e40f
updated with new connectors & updates
2020-12-19 15:26:38 +11:00
Samyak Jain
994fb1dd31
added comments to main.sol
2020-11-30 01:26:28 +11:00
Samyak Jain
fb152c2611
added previous connectors & some restructuring
2020-11-21 01:49:48 +11:00
Samyak Jain
b54457d90c
basic setup
2020-11-20 23:41:19 +11:00