@curvefi/api 2.66.7 → 2.66.8
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.
|
@@ -7,6 +7,8 @@ export const COINS_ETHEREUM = lowerCaseValues({
|
|
|
7
7
|
scrvusd: "0x0655977FEb2f289A4aB78af67BAB0d17aAb84367",
|
|
8
8
|
usde: "0x4c9EDD5852cd905f086C759E8383e09bff1E68B3",
|
|
9
9
|
susde: "0x9D39A5DE30e57443BfF2A8307A4256c8797A3497",
|
|
10
|
+
usds: "0xdc035d45d973e3ec169d2276ddab16f1e407384f",
|
|
11
|
+
susds: "0xa3931d71877c0e7a3148cb7eb4463524fec27fbd",
|
|
10
12
|
ycdai: "0x99d1Fa417f94dcD62BfE781a1213c092a47041Bc", // pax/yDAI
|
|
11
13
|
ycusdc: "0x9777d7E2b60bB01759D0E2f8be2095df444cb07E", // pax/yUSDC
|
|
12
14
|
ycusdt: "0x1bE5d71F2dA660BFdee8012dDc58D024448A0A59", // pax/yUSDT
|
|
@@ -156,6 +156,37 @@ export function routeGraphWorker() {
|
|
|
156
156
|
tvl: Infinity,
|
|
157
157
|
}];
|
|
158
158
|
}
|
|
159
|
+
// sUSDS <-> USDS (Ethereum only)
|
|
160
|
+
if (chainId === 1) {
|
|
161
|
+
routerGraph[constants.COINS.usds] = {};
|
|
162
|
+
routerGraph[constants.COINS.usds][constants.COINS.susds] = [{
|
|
163
|
+
poolId: "sUSDS wrapper",
|
|
164
|
+
swapAddress: constants.COINS.susds,
|
|
165
|
+
inputCoinAddress: constants.COINS.usds,
|
|
166
|
+
outputCoinAddress: constants.COINS.susds,
|
|
167
|
+
swapParams: [0, 1, 9, 0, 0],
|
|
168
|
+
poolAddress: constants.ZERO_ADDRESS,
|
|
169
|
+
basePool: constants.ZERO_ADDRESS,
|
|
170
|
+
baseToken: constants.ZERO_ADDRESS,
|
|
171
|
+
secondBasePool: constants.ZERO_ADDRESS,
|
|
172
|
+
secondBaseToken: constants.ZERO_ADDRESS,
|
|
173
|
+
tvl: Infinity,
|
|
174
|
+
}];
|
|
175
|
+
routerGraph[constants.COINS.susds] = {};
|
|
176
|
+
routerGraph[constants.COINS.susds][constants.COINS.usds] = [{
|
|
177
|
+
poolId: "sUSDS wrapper",
|
|
178
|
+
swapAddress: constants.COINS.susds,
|
|
179
|
+
inputCoinAddress: constants.COINS.susds,
|
|
180
|
+
outputCoinAddress: constants.COINS.usds,
|
|
181
|
+
swapParams: [1, 0, 9, 0, 0],
|
|
182
|
+
poolAddress: constants.ZERO_ADDRESS,
|
|
183
|
+
basePool: constants.ZERO_ADDRESS,
|
|
184
|
+
baseToken: constants.ZERO_ADDRESS,
|
|
185
|
+
secondBasePool: constants.ZERO_ADDRESS,
|
|
186
|
+
secondBaseToken: constants.ZERO_ADDRESS,
|
|
187
|
+
tvl: Infinity,
|
|
188
|
+
}];
|
|
189
|
+
}
|
|
159
190
|
// USDe -> sUSDe (Ethereum only)
|
|
160
191
|
if (chainId === 1) {
|
|
161
192
|
routerGraph[constants.COINS.usde] = {};
|