@curvefi/api 2.69.11 → 2.69.12
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.
|
@@ -11,6 +11,8 @@ export const COINS_ETHEREUM = lowerCaseValues({
|
|
|
11
11
|
susds: "0xa3931d71877c0e7a3148cb7eb4463524fec27fbd",
|
|
12
12
|
reusd: "0x5086bf358635B81D8C47C66d1C8b9E567Db70c72",
|
|
13
13
|
sreusd: "0x557AB1e003951A73c12D16F0fEA8490E39C33C35",
|
|
14
|
+
dola: "0x865377367054516e17014CcdED1e7d814EDC9ce4",
|
|
15
|
+
sdola: "0xb45ad160634c528Cc3D2926d9807104FA3157305",
|
|
14
16
|
ycdai: "0x99d1Fa417f94dcD62BfE781a1213c092a47041Bc", // pax/yDAI
|
|
15
17
|
ycusdc: "0x9777d7E2b60bB01759D0E2f8be2095df444cb07E", // pax/yUSDC
|
|
16
18
|
ycusdt: "0x1bE5d71F2dA660BFdee8012dDc58D024448A0A59", // pax/yUSDT
|
|
@@ -215,6 +215,37 @@ export function routeGraphWorker() {
|
|
|
215
215
|
tvl: Infinity,
|
|
216
216
|
}];
|
|
217
217
|
}
|
|
218
|
+
// sDOLA <-> DOLA (Ethereum only)
|
|
219
|
+
if (chainId === 1) {
|
|
220
|
+
routerGraph[constants.COINS.dola] = {};
|
|
221
|
+
routerGraph[constants.COINS.dola][constants.COINS.sdola] = [{
|
|
222
|
+
poolId: "sDOLA wrapper",
|
|
223
|
+
swapAddress: constants.COINS.sdola,
|
|
224
|
+
inputCoinAddress: constants.COINS.dola,
|
|
225
|
+
outputCoinAddress: constants.COINS.sdola,
|
|
226
|
+
swapParams: [0, 1, 9, 0, 0],
|
|
227
|
+
poolAddress: constants.ZERO_ADDRESS,
|
|
228
|
+
basePool: constants.ZERO_ADDRESS,
|
|
229
|
+
baseToken: constants.ZERO_ADDRESS,
|
|
230
|
+
secondBasePool: constants.ZERO_ADDRESS,
|
|
231
|
+
secondBaseToken: constants.ZERO_ADDRESS,
|
|
232
|
+
tvl: Infinity,
|
|
233
|
+
}];
|
|
234
|
+
routerGraph[constants.COINS.sdola] = {};
|
|
235
|
+
routerGraph[constants.COINS.sdola][constants.COINS.dola] = [{
|
|
236
|
+
poolId: "sDOLA wrapper",
|
|
237
|
+
swapAddress: constants.COINS.sdola,
|
|
238
|
+
inputCoinAddress: constants.COINS.sdola,
|
|
239
|
+
outputCoinAddress: constants.COINS.dola,
|
|
240
|
+
swapParams: [1, 0, 9, 0, 0],
|
|
241
|
+
poolAddress: constants.ZERO_ADDRESS,
|
|
242
|
+
basePool: constants.ZERO_ADDRESS,
|
|
243
|
+
baseToken: constants.ZERO_ADDRESS,
|
|
244
|
+
secondBasePool: constants.ZERO_ADDRESS,
|
|
245
|
+
secondBaseToken: constants.ZERO_ADDRESS,
|
|
246
|
+
tvl: Infinity,
|
|
247
|
+
}];
|
|
248
|
+
}
|
|
218
249
|
// USDe -> sUSDe (Ethereum only)
|
|
219
250
|
if (chainId === 1) {
|
|
220
251
|
routerGraph[constants.COINS.usde] = {};
|