@gearbox-protocol/sdk 0.0.17 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,9 @@ export declare const CURVE_FRAX_ADDRESS = "0xd632f22692FaC7611d2AA1C0D552930D43C
8
8
  export declare const CURVE_LUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
9
9
  export declare const CURVE_SUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
10
10
  export declare const CURVE_GUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
11
+ export declare const CURVE_3POOL_KOVAN_MOCK = "0x769C784D1e958672bDef04cf12Fd5399b3db0f27";
12
+ export declare const CURVE_STE_CRV_KOVAN_MOCK = "0xF695d3aa358D5087A0C157DBb9449d4f0d8E534a";
13
+ export declare const CURVE_SUSD_KOVAN_MOCK = "0x032f1cE00865F3499C0052ceBA5F2348842416DB";
11
14
  export declare const YEARN_DAI_ADDRESS = "0xdA816459F1AB5631232FE5e97a05BBBb94970c95";
12
15
  export declare const YEARN_USDC_ADDRESS = "0xa354F35829Ae975e850e23e9615b11Da1B3dC4DE";
13
16
  export declare const YEARN_WETH_ADDRESS = "0xa258C4606Ca8206D8aA700cE2143D7db854D168c";
@@ -6,7 +6,7 @@
6
6
  */
7
7
  var _a;
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.knownContracts = exports.AdapterInterface = exports.LIDO_STETH_ADDRESS = exports.CONVEX_CLAIM_ZAP_ADDRESS = exports.CONVEX_FRAX3CRV_REWARD_POOL_ADDRESS = exports.CONVEX_3POOL_REWARD_POOL_ADDRESS = exports.CONVEX_BOOSTER_ADDRESS = exports.SUSHISWAP_KOVAN = exports.SUSHISWAP_MAINNET = exports.YEARN_USDC_KOVAN_MOCK = exports.YEARN_DAI_KOVAN_MOCK = exports.YEARN_CURVE_STETH_ADDRESS = exports.YEARN_CURVE_FRAX_ADDRESS = exports.YEARN_WBTC_ADDRESS = exports.YEARN_WETH_ADDRESS = exports.YEARN_USDC_ADDRESS = exports.YEARN_DAI_ADDRESS = exports.CURVE_GUSD_ADDRESS = exports.CURVE_SUSD_ADDRESS = exports.CURVE_LUSD_ADDRESS = exports.CURVE_FRAX_ADDRESS = exports.CURVE_STETH_GATEWAY_ADDRESS = exports.CURVE_STETH_ADDRESS = exports.CURVE_3POOL_ADDRESS = exports.UNISWAP_V3_QUOTER = exports.UNISWAP_V3_ROUTER = exports.UNISWAP_V2_ROUTER = void 0;
9
+ exports.knownContracts = exports.AdapterInterface = exports.LIDO_STETH_ADDRESS = exports.CONVEX_CLAIM_ZAP_ADDRESS = exports.CONVEX_FRAX3CRV_REWARD_POOL_ADDRESS = exports.CONVEX_3POOL_REWARD_POOL_ADDRESS = exports.CONVEX_BOOSTER_ADDRESS = exports.SUSHISWAP_KOVAN = exports.SUSHISWAP_MAINNET = exports.YEARN_USDC_KOVAN_MOCK = exports.YEARN_DAI_KOVAN_MOCK = exports.YEARN_CURVE_STETH_ADDRESS = exports.YEARN_CURVE_FRAX_ADDRESS = exports.YEARN_WBTC_ADDRESS = exports.YEARN_WETH_ADDRESS = exports.YEARN_USDC_ADDRESS = exports.YEARN_DAI_ADDRESS = exports.CURVE_SUSD_KOVAN_MOCK = exports.CURVE_STE_CRV_KOVAN_MOCK = exports.CURVE_3POOL_KOVAN_MOCK = exports.CURVE_GUSD_ADDRESS = exports.CURVE_SUSD_ADDRESS = exports.CURVE_LUSD_ADDRESS = exports.CURVE_FRAX_ADDRESS = exports.CURVE_STETH_GATEWAY_ADDRESS = exports.CURVE_STETH_ADDRESS = exports.CURVE_3POOL_ADDRESS = exports.UNISWAP_V3_QUOTER = exports.UNISWAP_V3_ROUTER = exports.UNISWAP_V2_ROUTER = void 0;
10
10
  exports.UNISWAP_V2_ROUTER = "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D";
11
11
  exports.UNISWAP_V3_ROUTER = "0xE592427A0AEce92De3Edee1F18E0157C05861564";
12
12
  exports.UNISWAP_V3_QUOTER = "0xb27308f9f90d607463bb33ea1bebb41c27ce5ab6";
@@ -17,6 +17,9 @@ exports.CURVE_FRAX_ADDRESS = "0xd632f22692FaC7611d2AA1C0D552930D43CAEd3B";
17
17
  exports.CURVE_LUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
18
18
  exports.CURVE_SUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
19
19
  exports.CURVE_GUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
20
+ exports.CURVE_3POOL_KOVAN_MOCK = "0x769C784D1e958672bDef04cf12Fd5399b3db0f27";
21
+ exports.CURVE_STE_CRV_KOVAN_MOCK = "0xF695d3aa358D5087A0C157DBb9449d4f0d8E534a";
22
+ exports.CURVE_SUSD_KOVAN_MOCK = "0x032f1cE00865F3499C0052ceBA5F2348842416DB";
20
23
  exports.YEARN_DAI_ADDRESS = "0xdA816459F1AB5631232FE5e97a05BBBb94970c95";
21
24
  exports.YEARN_USDC_ADDRESS = "0xa354F35829Ae975e850e23e9615b11Da1B3dC4DE";
22
25
  exports.YEARN_WETH_ADDRESS = "0xa258C4606Ca8206D8aA700cE2143D7db854D168c";
@@ -8,27 +8,32 @@ exports.priceFeedsByNetwork = {
8
8
  "1INCH": {
9
9
  priceFeedETH: {
10
10
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
11
- address: "0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8"
11
+ address: "0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8",
12
+ kovan: "0x5b65757C2d37c4FDc3c029ECb8F2C7AD3FD361C9"
12
13
  },
13
14
  priceFeedUSD: {
14
15
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
15
- address: "0xc929ad75B72593967DE83E7F7Cda0493458261D9"
16
+ address: "0xc929ad75B72593967DE83E7F7Cda0493458261D9",
17
+ kovan: "0xb32946c38C4F2e3e44Ce2aB059BfFec163816A4E"
16
18
  }
17
19
  },
18
20
  AAVE: {
19
21
  priceFeedETH: {
20
22
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
21
- address: "0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012"
23
+ address: "0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012",
24
+ kovan: "0x3e12e9aE09F4ce9D5809E4b863bF4eef16f9949C"
22
25
  },
23
26
  priceFeedUSD: {
24
27
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
25
- address: "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9"
28
+ address: "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9",
29
+ kovan: "0xF1594a023a3e061765c11af09EC6B7c63e2e9Ab5"
26
30
  }
27
31
  },
28
32
  COMP: {
29
33
  priceFeedETH: {
30
34
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
31
- address: "0x1B39Ee86Ec5979ba5C322b826B3ECb8C79991699"
35
+ address: "0x1B39Ee86Ec5979ba5C322b826B3ECb8C79991699",
36
+ kovan: "0x2d2fAc1CBf67b24d3643ce084f3758115b1dCFe0"
32
37
  },
33
38
  priceFeedUSD: {
34
39
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
@@ -39,11 +44,13 @@ exports.priceFeedsByNetwork = {
39
44
  CRV: {
40
45
  priceFeedETH: {
41
46
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
42
- address: "0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e"
47
+ address: "0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e",
48
+ kovan: "0x57F80b54722B294F0C1942AA70468Bb46437AD19"
43
49
  },
44
50
  priceFeedUSD: {
45
51
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
46
- address: "0xcd627aa160a6fa45eb793d19ef54f5062f20f33f"
52
+ address: "0xcd627aa160a6fa45eb793d19ef54f5062f20f33f",
53
+ kovan: "0x55fe324Ece17b6902c2b3776c1baB1095Eb5deB0"
47
54
  }
48
55
  },
49
56
  DAI: {
@@ -61,27 +68,32 @@ exports.priceFeedsByNetwork = {
61
68
  DPI: {
62
69
  priceFeedETH: {
63
70
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
64
- address: "0x029849bbc0b1d93b85a8b6190e979fd38F5760E2"
71
+ address: "0x029849bbc0b1d93b85a8b6190e979fd38F5760E2",
72
+ kovan: "0x4c1b676445935dA58a48b6dA8B2564684d80fAEE"
65
73
  },
66
74
  priceFeedUSD: {
67
75
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
68
- address: "0xD2A593BF7594aCE1faD597adb697b5645d5edDB2"
76
+ address: "0xD2A593BF7594aCE1faD597adb697b5645d5edDB2",
77
+ kovan: "0x39EcBDd1069C795e65Aa3355cC42F3acD29797d8"
69
78
  }
70
79
  },
71
80
  FEI: {
72
81
  priceFeedETH: {
73
82
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
74
- address: "0x7f0d2c2838c6ac24443d13e23d99490017bde370"
83
+ address: "0x7f0d2c2838c6ac24443d13e23d99490017bde370",
84
+ kovan: "0x1E13BFc6e358410f4F94EAC84C1008A138FB115B"
75
85
  },
76
86
  priceFeedUSD: {
77
87
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
78
- address: "0x31e0a88fecb6ec0a411dbe0e9e76391498296ee9"
88
+ address: "0x31e0a88fecb6ec0a411dbe0e9e76391498296ee9",
89
+ kovan: "0x9FE550626246234EF48a1176e8e2452A14CbbA24"
79
90
  }
80
91
  },
81
92
  GUSD: {
82
93
  priceFeedUSD: {
83
94
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
84
- address: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc"
95
+ address: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc",
96
+ kovan: "0x36AD5755A58c5faB253D5e40e7F0f86293d6A5f9"
85
97
  }
86
98
  },
87
99
  LINK: {
@@ -111,17 +123,20 @@ exports.priceFeedsByNetwork = {
111
123
  SUSHI: {
112
124
  priceFeedETH: {
113
125
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
114
- address: "0xe572CeF69f43c2E488b33924AF04BDacE19079cf"
126
+ address: "0xe572CeF69f43c2E488b33924AF04BDacE19079cf",
127
+ kovan: "0x6A8b2Aae8bf973EdA172C1f0e450c9D4e3C2E360"
115
128
  },
116
129
  priceFeedUSD: {
117
130
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
118
- address: "0xcc70f09a6cc17553b2e31954cd36e4a2d89501f7"
131
+ address: "0xcc70f09a6cc17553b2e31954cd36e4a2d89501f7",
132
+ kovan: "0x40D447115370C4B65A0d8C63275033C54A3ed61F"
119
133
  }
120
134
  },
121
135
  UNI: {
122
136
  priceFeedETH: {
123
137
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
124
- address: "0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e"
138
+ address: "0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e",
139
+ kovan: "0x006A9A6c0A6b5230d89f05eb1e4603AA6B1508BE"
125
140
  },
126
141
  priceFeedUSD: {
127
142
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
@@ -156,7 +171,8 @@ exports.priceFeedsByNetwork = {
156
171
  WBTC: {
157
172
  priceFeedETH: {
158
173
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
159
- address: "0xdeb288F737066589598e9214E782fa5A8eD689e8"
174
+ address: "0xdeb288F737066589598e9214E782fa5A8eD689e8",
175
+ kovan: "0xB4F231198CAA3446fd4623e59f2EF27e7A58A54b"
160
176
  },
161
177
  priceFeedUSD: {
162
178
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
@@ -174,65 +190,76 @@ exports.priceFeedsByNetwork = {
174
190
  YFI: {
175
191
  priceFeedETH: {
176
192
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
177
- address: "0x7c5d4F8345e66f68099581Db340cd65B078C41f4"
193
+ address: "0x7c5d4F8345e66f68099581Db340cd65B078C41f4",
194
+ kovan: "0x29d651D233ffFdec4Df5244a9cE842FB253fAA09"
178
195
  },
179
196
  priceFeedUSD: {
180
197
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
181
- address: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1"
198
+ address: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1",
199
+ kovan: "0x7f6a535B75E2c815f8865CF39Ad847971AcCC3bE"
182
200
  }
183
201
  },
184
202
  /// UPDATE
185
203
  STETH: {
186
204
  priceFeedETH: {
187
205
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
188
- address: "0xcfe54b5cd566ab89272946f602d76ea879cab4a8"
206
+ address: "0xcfe54b5cd566ab89272946f602d76ea879cab4a8",
207
+ kovan: "0x087154969f935218e10f621D81e523C8f46C6dF9"
189
208
  },
190
209
  priceFeedUSD: {
191
210
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
192
- address: "0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8"
211
+ address: "0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8",
212
+ kovan: "0x94dd77F85E0B1e6942B044E604EBA4869369453c"
193
213
  }
194
214
  },
195
215
  FTM: {
196
216
  priceFeedETH: {
197
217
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
198
- address: "0x2de7e4a9488488e0058b95854cc2f7955b35dc9b"
218
+ address: "0x2de7e4a9488488e0058b95854cc2f7955b35dc9b",
219
+ kovan: "0xdCd1eB60388F340d7bF6584aa4295D95b355686c"
199
220
  }
200
221
  },
201
222
  CVX: {
202
223
  priceFeedUSD: {
203
224
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
204
- address: "0xd962fc30a72a84ce50161031391756bf2876af5d"
225
+ address: "0xd962fc30a72a84ce50161031391756bf2876af5d",
226
+ kovan: "0xa6CeAbA9326C3a7Ed6A03A1cb0809A397ed286ae"
205
227
  }
206
228
  },
207
229
  FRAX: {
208
230
  priceFeedUSD: {
209
231
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
210
- address: "0xb9e1e3a9feff48998e45fa90847ed4d467e8bcfd"
232
+ address: "0xb9e1e3a9feff48998e45fa90847ed4d467e8bcfd",
233
+ kovan: "0xD696fF0750F753A605236Ab499E5432e0FdeCd72"
211
234
  }
212
235
  },
213
236
  LUSD: {
214
237
  priceFeedUSD: {
215
238
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
216
- address: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0"
239
+ address: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0",
240
+ kovan: "0xc17F8AE0c6C060F76303Be13f5f059144b38e75e"
217
241
  }
218
242
  },
219
243
  sUSD: {
220
244
  priceFeedUSD: {
221
245
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
222
- address: "0xad35bd71b9afe6e4bdc266b345c198eadef9ad94"
246
+ address: "0xad35bd71b9afe6e4bdc266b345c198eadef9ad94",
247
+ kovan: "0xe45b2D1e60d94209ef36e2E66a232daefc418de2"
223
248
  }
224
249
  },
225
250
  FXS: {
226
251
  priceFeedUSD: {
227
252
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
228
- address: "0x6ebc52c8c1089be9eb3945c4350b68b8e4c2233f"
253
+ address: "0x6ebc52c8c1089be9eb3945c4350b68b8e4c2233f",
254
+ kovan: "0xC6f5343637279AF7e2a4e12066Fb5ae567275E5F"
229
255
  }
230
256
  },
231
257
  LDO: {
232
258
  priceFeedETH: {
233
259
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
234
- address: "0x4e844125952d32acdf339be976c98e22f6f318db"
235
- },
260
+ address: "0x4e844125952d32acdf339be976c98e22f6f318db",
261
+ kovan: "0x6204148EF888786A2988E7b09c8e0A67e32cb387"
262
+ }
236
263
  // ADD ETH-> DAI Oracle!
237
264
  },
238
265
  LQTY: {
@@ -243,14 +270,16 @@ exports.priceFeedsByNetwork = {
243
270
  SPELL: {
244
271
  priceFeedUSD: {
245
272
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
246
- address: "0x8c110b94c5f1d347facf5e1e938ab2db60e3c9a8"
273
+ address: "0x8c110b94c5f1d347facf5e1e938ab2db60e3c9a8",
274
+ kovan: "0x68da666AcD151A3edB62c1ad1b748cCcFca026d7"
247
275
  }
248
276
  },
249
277
  LUNA: {
250
278
  priceFeedETH: {
251
279
  type: oracles_1.OracleType.CHAINLINK_ORACLE,
252
- address: "0x91e9331556ed76c9393055719986409e11b56f73"
253
- },
280
+ address: "0x91e9331556ed76c9393055719986409e11b56f73",
281
+ kovan: "0xEfAe1275132C3D2EE009148748e3e3e384095E5f"
282
+ }
254
283
  },
255
284
  yvDAI: {
256
285
  priceFeedETH: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "0.0.17",
3
+ "version": "0.0.20",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -16,6 +16,13 @@ export const CURVE_LUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
16
16
  export const CURVE_SUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
17
17
  export const CURVE_GUSD_ADDRESS = "0x5a6a4d54456819380173272a5e8e9b9904bdf41b";
18
18
 
19
+ export const CURVE_3POOL_KOVAN_MOCK =
20
+ "0x769C784D1e958672bDef04cf12Fd5399b3db0f27";
21
+ export const CURVE_STE_CRV_KOVAN_MOCK =
22
+ "0xF695d3aa358D5087A0C157DBb9449d4f0d8E534a";
23
+ export const CURVE_SUSD_KOVAN_MOCK =
24
+ "0x032f1cE00865F3499C0052ceBA5F2348842416DB";
25
+
19
26
  export const YEARN_DAI_ADDRESS = "0xdA816459F1AB5631232FE5e97a05BBBb94970c95";
20
27
  export const YEARN_USDC_ADDRESS = "0xa354F35829Ae975e850e23e9615b11Da1B3dC4DE";
21
28
  export const YEARN_WETH_ADDRESS = "0xa258C4606Ca8206D8aA700cE2143D7db854D168c";
@@ -8,29 +8,34 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
8
8
  "1INCH": {
9
9
  priceFeedETH: {
10
10
  type: OracleType.CHAINLINK_ORACLE,
11
- address: "0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8"
11
+ address: "0x72AFAECF99C9d9C8215fF44C77B94B99C28741e8",
12
+ kovan: "0x5b65757C2d37c4FDc3c029ECb8F2C7AD3FD361C9"
12
13
  },
13
14
  priceFeedUSD: {
14
15
  type: OracleType.CHAINLINK_ORACLE,
15
- address: "0xc929ad75B72593967DE83E7F7Cda0493458261D9"
16
+ address: "0xc929ad75B72593967DE83E7F7Cda0493458261D9",
17
+ kovan: "0xb32946c38C4F2e3e44Ce2aB059BfFec163816A4E"
16
18
  }
17
19
  },
18
20
 
19
21
  AAVE: {
20
22
  priceFeedETH: {
21
23
  type: OracleType.CHAINLINK_ORACLE,
22
- address: "0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012"
24
+ address: "0x6Df09E975c830ECae5bd4eD9d90f3A95a4f88012",
25
+ kovan: "0x3e12e9aE09F4ce9D5809E4b863bF4eef16f9949C"
23
26
  },
24
27
  priceFeedUSD: {
25
28
  type: OracleType.CHAINLINK_ORACLE,
26
- address: "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9"
29
+ address: "0x547a514d5e3769680Ce22B2361c10Ea13619e8a9",
30
+ kovan: "0xF1594a023a3e061765c11af09EC6B7c63e2e9Ab5"
27
31
  }
28
32
  },
29
33
 
30
34
  COMP: {
31
35
  priceFeedETH: {
32
36
  type: OracleType.CHAINLINK_ORACLE,
33
- address: "0x1B39Ee86Ec5979ba5C322b826B3ECb8C79991699"
37
+ address: "0x1B39Ee86Ec5979ba5C322b826B3ECb8C79991699",
38
+ kovan: "0x2d2fAc1CBf67b24d3643ce084f3758115b1dCFe0"
34
39
  },
35
40
  priceFeedUSD: {
36
41
  type: OracleType.CHAINLINK_ORACLE,
@@ -42,11 +47,13 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
42
47
  CRV: {
43
48
  priceFeedETH: {
44
49
  type: OracleType.CHAINLINK_ORACLE,
45
- address: "0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e"
50
+ address: "0x8a12Be339B0cD1829b91Adc01977caa5E9ac121e",
51
+ kovan: "0x57F80b54722B294F0C1942AA70468Bb46437AD19"
46
52
  },
47
53
  priceFeedUSD: {
48
54
  type: OracleType.CHAINLINK_ORACLE,
49
- address: "0xcd627aa160a6fa45eb793d19ef54f5062f20f33f"
55
+ address: "0xcd627aa160a6fa45eb793d19ef54f5062f20f33f",
56
+ kovan: "0x55fe324Ece17b6902c2b3776c1baB1095Eb5deB0"
50
57
  }
51
58
  },
52
59
 
@@ -66,29 +73,34 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
66
73
  DPI: {
67
74
  priceFeedETH: {
68
75
  type: OracleType.CHAINLINK_ORACLE,
69
- address: "0x029849bbc0b1d93b85a8b6190e979fd38F5760E2"
76
+ address: "0x029849bbc0b1d93b85a8b6190e979fd38F5760E2",
77
+ kovan: "0x4c1b676445935dA58a48b6dA8B2564684d80fAEE"
70
78
  },
71
79
  priceFeedUSD: {
72
80
  type: OracleType.CHAINLINK_ORACLE,
73
- address: "0xD2A593BF7594aCE1faD597adb697b5645d5edDB2"
81
+ address: "0xD2A593BF7594aCE1faD597adb697b5645d5edDB2",
82
+ kovan: "0x39EcBDd1069C795e65Aa3355cC42F3acD29797d8"
74
83
  }
75
84
  },
76
85
 
77
86
  FEI: {
78
87
  priceFeedETH: {
79
88
  type: OracleType.CHAINLINK_ORACLE,
80
- address: "0x7f0d2c2838c6ac24443d13e23d99490017bde370"
89
+ address: "0x7f0d2c2838c6ac24443d13e23d99490017bde370",
90
+ kovan: "0x1E13BFc6e358410f4F94EAC84C1008A138FB115B"
81
91
  },
82
92
  priceFeedUSD: {
83
93
  type: OracleType.CHAINLINK_ORACLE,
84
- address: "0x31e0a88fecb6ec0a411dbe0e9e76391498296ee9"
94
+ address: "0x31e0a88fecb6ec0a411dbe0e9e76391498296ee9",
95
+ kovan: "0x9FE550626246234EF48a1176e8e2452A14CbbA24"
85
96
  }
86
97
  },
87
98
 
88
99
  GUSD: {
89
100
  priceFeedUSD: {
90
101
  type: OracleType.CHAINLINK_ORACLE,
91
- address: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc"
102
+ address: "0xa89f5d2365ce98B3cD68012b6f503ab1416245Fc",
103
+ kovan: "0x36AD5755A58c5faB253D5e40e7F0f86293d6A5f9"
92
104
  }
93
105
  },
94
106
 
@@ -121,18 +133,21 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
121
133
  SUSHI: {
122
134
  priceFeedETH: {
123
135
  type: OracleType.CHAINLINK_ORACLE,
124
- address: "0xe572CeF69f43c2E488b33924AF04BDacE19079cf"
136
+ address: "0xe572CeF69f43c2E488b33924AF04BDacE19079cf",
137
+ kovan: "0x6A8b2Aae8bf973EdA172C1f0e450c9D4e3C2E360"
125
138
  },
126
139
  priceFeedUSD: {
127
140
  type: OracleType.CHAINLINK_ORACLE,
128
- address: "0xcc70f09a6cc17553b2e31954cd36e4a2d89501f7"
141
+ address: "0xcc70f09a6cc17553b2e31954cd36e4a2d89501f7",
142
+ kovan: "0x40D447115370C4B65A0d8C63275033C54A3ed61F"
129
143
  }
130
144
  },
131
145
 
132
146
  UNI: {
133
147
  priceFeedETH: {
134
148
  type: OracleType.CHAINLINK_ORACLE,
135
- address: "0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e"
149
+ address: "0xD6aA3D25116d8dA79Ea0246c4826EB951872e02e",
150
+ kovan: "0x006A9A6c0A6b5230d89f05eb1e4603AA6B1508BE"
136
151
  },
137
152
  priceFeedUSD: {
138
153
  type: OracleType.CHAINLINK_ORACLE,
@@ -170,7 +185,8 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
170
185
  WBTC: {
171
186
  priceFeedETH: {
172
187
  type: OracleType.CHAINLINK_ORACLE,
173
- address: "0xdeb288F737066589598e9214E782fa5A8eD689e8"
188
+ address: "0xdeb288F737066589598e9214E782fa5A8eD689e8",
189
+ kovan: "0xB4F231198CAA3446fd4623e59f2EF27e7A58A54b"
174
190
  },
175
191
  priceFeedUSD: {
176
192
  type: OracleType.CHAINLINK_ORACLE,
@@ -190,11 +206,13 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
190
206
  YFI: {
191
207
  priceFeedETH: {
192
208
  type: OracleType.CHAINLINK_ORACLE,
193
- address: "0x7c5d4F8345e66f68099581Db340cd65B078C41f4"
209
+ address: "0x7c5d4F8345e66f68099581Db340cd65B078C41f4",
210
+ kovan: "0x29d651D233ffFdec4Df5244a9cE842FB253fAA09"
194
211
  },
195
212
  priceFeedUSD: {
196
213
  type: OracleType.CHAINLINK_ORACLE,
197
- address: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1"
214
+ address: "0xA027702dbb89fbd58938e4324ac03B58d812b0E1",
215
+ kovan: "0x7f6a535B75E2c815f8865CF39Ad847971AcCC3bE"
198
216
  }
199
217
  },
200
218
 
@@ -202,58 +220,67 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
202
220
  STETH: {
203
221
  priceFeedETH: {
204
222
  type: OracleType.CHAINLINK_ORACLE,
205
- address: "0xcfe54b5cd566ab89272946f602d76ea879cab4a8"
223
+ address: "0xcfe54b5cd566ab89272946f602d76ea879cab4a8",
224
+ kovan: "0x087154969f935218e10f621D81e523C8f46C6dF9"
206
225
  },
207
226
  priceFeedUSD: {
208
227
  type: OracleType.CHAINLINK_ORACLE,
209
- address: "0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8"
228
+ address: "0xCfE54B5cD566aB89272946F602D76Ea879CAb4a8",
229
+ kovan: "0x94dd77F85E0B1e6942B044E604EBA4869369453c"
210
230
  }
211
231
  },
212
232
 
213
233
  FTM: {
214
234
  priceFeedETH: {
215
235
  type: OracleType.CHAINLINK_ORACLE,
216
- address: "0x2de7e4a9488488e0058b95854cc2f7955b35dc9b"
236
+ address: "0x2de7e4a9488488e0058b95854cc2f7955b35dc9b",
237
+ kovan: "0xdCd1eB60388F340d7bF6584aa4295D95b355686c"
217
238
  }
218
239
  },
219
240
 
220
241
  CVX: {
221
242
  priceFeedUSD: {
222
243
  type: OracleType.CHAINLINK_ORACLE,
223
- address: "0xd962fc30a72a84ce50161031391756bf2876af5d"
244
+ address: "0xd962fc30a72a84ce50161031391756bf2876af5d",
245
+ kovan: "0xa6CeAbA9326C3a7Ed6A03A1cb0809A397ed286ae"
224
246
  }
225
247
  },
226
248
 
227
249
  FRAX: {
228
250
  priceFeedUSD: {
229
251
  type: OracleType.CHAINLINK_ORACLE,
230
- address: "0xb9e1e3a9feff48998e45fa90847ed4d467e8bcfd"
252
+ address: "0xb9e1e3a9feff48998e45fa90847ed4d467e8bcfd",
253
+ kovan: "0xD696fF0750F753A605236Ab499E5432e0FdeCd72"
231
254
  }
232
255
  },
233
256
  LUSD: {
234
257
  priceFeedUSD: {
235
258
  type: OracleType.CHAINLINK_ORACLE,
236
- address: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0"
259
+ address: "0x3D7aE7E594f2f2091Ad8798313450130d0Aba3a0",
260
+ kovan: "0xc17F8AE0c6C060F76303Be13f5f059144b38e75e"
237
261
  }
238
262
  },
239
263
  sUSD: {
240
264
  priceFeedUSD: {
241
265
  type: OracleType.CHAINLINK_ORACLE,
242
- address: "0xad35bd71b9afe6e4bdc266b345c198eadef9ad94"
266
+ address: "0xad35bd71b9afe6e4bdc266b345c198eadef9ad94",
267
+ kovan: "0xe45b2D1e60d94209ef36e2E66a232daefc418de2"
243
268
  }
244
269
  },
245
270
 
246
271
  FXS: {
247
272
  priceFeedUSD: {
248
273
  type: OracleType.CHAINLINK_ORACLE,
249
- address: "0x6ebc52c8c1089be9eb3945c4350b68b8e4c2233f"
274
+ address: "0x6ebc52c8c1089be9eb3945c4350b68b8e4c2233f",
275
+ kovan: "0xC6f5343637279AF7e2a4e12066Fb5ae567275E5F"
250
276
  }
251
277
  },
252
278
  LDO: {
253
279
  priceFeedETH: {
254
280
  type: OracleType.CHAINLINK_ORACLE,
255
- address: "0x4e844125952d32acdf339be976c98e22f6f318db"
256
- },
281
+ address: "0x4e844125952d32acdf339be976c98e22f6f318db",
282
+ kovan: "0x6204148EF888786A2988E7b09c8e0A67e32cb387"
283
+ }
257
284
 
258
285
  // ADD ETH-> DAI Oracle!
259
286
  },
@@ -265,14 +292,16 @@ export const priceFeedsByNetwork: Record<SupportedTokens, TokenPriceFeedData> =
265
292
  SPELL: {
266
293
  priceFeedUSD: {
267
294
  type: OracleType.CHAINLINK_ORACLE,
268
- address: "0x8c110b94c5f1d347facf5e1e938ab2db60e3c9a8"
295
+ address: "0x8c110b94c5f1d347facf5e1e938ab2db60e3c9a8",
296
+ kovan: "0x68da666AcD151A3edB62c1ad1b748cCcFca026d7"
269
297
  }
270
298
  },
271
299
  LUNA: {
272
300
  priceFeedETH: {
273
301
  type: OracleType.CHAINLINK_ORACLE,
274
- address: "0x91e9331556ed76c9393055719986409e11b56f73"
275
- },
302
+ address: "0x91e9331556ed76c9393055719986409e11b56f73",
303
+ kovan: "0xEfAe1275132C3D2EE009148748e3e3e384095E5f"
304
+ }
276
305
  },
277
306
 
278
307
  yvDAI: {