curvance 5.1.4 → 5.1.6
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.
- package/dist/abis/OptimizerReader.json +1 -268
- package/dist/abis/SimpleZapper.json +11 -0
- package/dist/contracts/index.d.ts +16 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/monad-mainnet.json +19 -3
- package/dist/helpers.d.ts +16 -0
- package/dist/helpers.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,94 +1,4 @@
|
|
|
1
1
|
[
|
|
2
|
-
{
|
|
3
|
-
"type": "constructor",
|
|
4
|
-
"inputs": [
|
|
5
|
-
{
|
|
6
|
-
"name": "_centralRegistry",
|
|
7
|
-
"type": "address",
|
|
8
|
-
"internalType": "contract ICentralRegistry"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"name": "configs",
|
|
12
|
-
"type": "tuple[]",
|
|
13
|
-
"internalType": "struct OptimizerReader.CollateralGuardConfig[]",
|
|
14
|
-
"components": [
|
|
15
|
-
{
|
|
16
|
-
"name": "cToken",
|
|
17
|
-
"type": "address",
|
|
18
|
-
"internalType": "address"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "guardType",
|
|
22
|
-
"type": "uint256",
|
|
23
|
-
"internalType": "uint256"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "_stalenessMultiplier",
|
|
29
|
-
"type": "uint256",
|
|
30
|
-
"internalType": "uint256"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"stateMutability": "nonpayable"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"type": "function",
|
|
37
|
-
"name": "ORACLE_MANAGER",
|
|
38
|
-
"inputs": [],
|
|
39
|
-
"outputs": [
|
|
40
|
-
{
|
|
41
|
-
"name": "",
|
|
42
|
-
"type": "address",
|
|
43
|
-
"internalType": "contract IOracleManager"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"stateMutability": "view"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"type": "function",
|
|
50
|
-
"name": "USD_THRESHOLD",
|
|
51
|
-
"inputs": [],
|
|
52
|
-
"outputs": [
|
|
53
|
-
{
|
|
54
|
-
"name": "",
|
|
55
|
-
"type": "uint256",
|
|
56
|
-
"internalType": "uint256"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"stateMutability": "view"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"type": "function",
|
|
63
|
-
"name": "addGuardConfig",
|
|
64
|
-
"inputs": [
|
|
65
|
-
{
|
|
66
|
-
"name": "cToken",
|
|
67
|
-
"type": "address",
|
|
68
|
-
"internalType": "address"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "guardType",
|
|
72
|
-
"type": "uint256",
|
|
73
|
-
"internalType": "uint256"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"outputs": [],
|
|
77
|
-
"stateMutability": "nonpayable"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"type": "function",
|
|
81
|
-
"name": "centralRegistry",
|
|
82
|
-
"inputs": [],
|
|
83
|
-
"outputs": [
|
|
84
|
-
{
|
|
85
|
-
"name": "",
|
|
86
|
-
"type": "address",
|
|
87
|
-
"internalType": "contract ICentralRegistry"
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"stateMutability": "view"
|
|
91
|
-
},
|
|
92
2
|
{
|
|
93
3
|
"type": "function",
|
|
94
4
|
"name": "getOptimizerAPY",
|
|
@@ -175,16 +85,11 @@
|
|
|
175
85
|
"name": "performanceFee",
|
|
176
86
|
"type": "uint256",
|
|
177
87
|
"internalType": "uint256"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"name": "apy",
|
|
181
|
-
"type": "uint256",
|
|
182
|
-
"internalType": "uint256"
|
|
183
88
|
}
|
|
184
89
|
]
|
|
185
90
|
}
|
|
186
91
|
],
|
|
187
|
-
"stateMutability": "
|
|
92
|
+
"stateMutability": "nonpayable"
|
|
188
93
|
},
|
|
189
94
|
{
|
|
190
95
|
"type": "function",
|
|
@@ -227,68 +132,6 @@
|
|
|
227
132
|
],
|
|
228
133
|
"stateMutability": "view"
|
|
229
134
|
},
|
|
230
|
-
{
|
|
231
|
-
"type": "function",
|
|
232
|
-
"name": "guardConfigs",
|
|
233
|
-
"inputs": [
|
|
234
|
-
{
|
|
235
|
-
"name": "",
|
|
236
|
-
"type": "uint256",
|
|
237
|
-
"internalType": "uint256"
|
|
238
|
-
}
|
|
239
|
-
],
|
|
240
|
-
"outputs": [
|
|
241
|
-
{
|
|
242
|
-
"name": "cToken",
|
|
243
|
-
"type": "address",
|
|
244
|
-
"internalType": "address"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"name": "guardType",
|
|
248
|
-
"type": "uint256",
|
|
249
|
-
"internalType": "uint256"
|
|
250
|
-
}
|
|
251
|
-
],
|
|
252
|
-
"stateMutability": "view"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"type": "function",
|
|
256
|
-
"name": "isBad",
|
|
257
|
-
"inputs": [
|
|
258
|
-
{
|
|
259
|
-
"name": "optimizer",
|
|
260
|
-
"type": "address",
|
|
261
|
-
"internalType": "address"
|
|
262
|
-
}
|
|
263
|
-
],
|
|
264
|
-
"outputs": [
|
|
265
|
-
{
|
|
266
|
-
"name": "bad",
|
|
267
|
-
"type": "address[]",
|
|
268
|
-
"internalType": "address[]"
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
"stateMutability": "view"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"type": "function",
|
|
275
|
-
"name": "multiIsBadCheck",
|
|
276
|
-
"inputs": [
|
|
277
|
-
{
|
|
278
|
-
"name": "optimizers",
|
|
279
|
-
"type": "address[]",
|
|
280
|
-
"internalType": "address[]"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"outputs": [
|
|
284
|
-
{
|
|
285
|
-
"name": "badOptimizers",
|
|
286
|
-
"type": "address[][]",
|
|
287
|
-
"internalType": "address[][]"
|
|
288
|
-
}
|
|
289
|
-
],
|
|
290
|
-
"stateMutability": "view"
|
|
291
|
-
},
|
|
292
135
|
{
|
|
293
136
|
"type": "function",
|
|
294
137
|
"name": "optimalRebalance",
|
|
@@ -346,115 +189,5 @@
|
|
|
346
189
|
}
|
|
347
190
|
],
|
|
348
191
|
"stateMutability": "view"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"type": "function",
|
|
352
|
-
"name": "removeGuardConfig",
|
|
353
|
-
"inputs": [
|
|
354
|
-
{
|
|
355
|
-
"name": "cToken",
|
|
356
|
-
"type": "address",
|
|
357
|
-
"internalType": "address"
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
"outputs": [],
|
|
361
|
-
"stateMutability": "nonpayable"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"type": "function",
|
|
365
|
-
"name": "setStalenessMultiplier",
|
|
366
|
-
"inputs": [
|
|
367
|
-
{
|
|
368
|
-
"name": "newMultiplierBps",
|
|
369
|
-
"type": "uint256",
|
|
370
|
-
"internalType": "uint256"
|
|
371
|
-
}
|
|
372
|
-
],
|
|
373
|
-
"outputs": [],
|
|
374
|
-
"stateMutability": "nonpayable"
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
"type": "function",
|
|
378
|
-
"name": "stalenessMultiplierBps",
|
|
379
|
-
"inputs": [],
|
|
380
|
-
"outputs": [
|
|
381
|
-
{
|
|
382
|
-
"name": "",
|
|
383
|
-
"type": "uint256",
|
|
384
|
-
"internalType": "uint256"
|
|
385
|
-
}
|
|
386
|
-
],
|
|
387
|
-
"stateMutability": "view"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"type": "event",
|
|
391
|
-
"name": "GuardConfigAdded",
|
|
392
|
-
"inputs": [
|
|
393
|
-
{
|
|
394
|
-
"name": "cToken",
|
|
395
|
-
"type": "address",
|
|
396
|
-
"indexed": true,
|
|
397
|
-
"internalType": "address"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"name": "guardType",
|
|
401
|
-
"type": "uint256",
|
|
402
|
-
"indexed": false,
|
|
403
|
-
"internalType": "uint256"
|
|
404
|
-
}
|
|
405
|
-
],
|
|
406
|
-
"anonymous": false
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"type": "event",
|
|
410
|
-
"name": "GuardConfigRemoved",
|
|
411
|
-
"inputs": [
|
|
412
|
-
{
|
|
413
|
-
"name": "cToken",
|
|
414
|
-
"type": "address",
|
|
415
|
-
"indexed": true,
|
|
416
|
-
"internalType": "address"
|
|
417
|
-
}
|
|
418
|
-
],
|
|
419
|
-
"anonymous": false
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"type": "event",
|
|
423
|
-
"name": "StalenessMultiplierUpdated",
|
|
424
|
-
"inputs": [
|
|
425
|
-
{
|
|
426
|
-
"name": "oldMultiplier",
|
|
427
|
-
"type": "uint256",
|
|
428
|
-
"indexed": false,
|
|
429
|
-
"internalType": "uint256"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"name": "newMultiplier",
|
|
433
|
-
"type": "uint256",
|
|
434
|
-
"indexed": false,
|
|
435
|
-
"internalType": "uint256"
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"anonymous": false
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"type": "error",
|
|
442
|
-
"name": "OptimizerReader__GuardConfigAlreadyExists",
|
|
443
|
-
"inputs": []
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
"type": "error",
|
|
447
|
-
"name": "OptimizerReader__GuardConfigDoesNotExist",
|
|
448
|
-
"inputs": []
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"type": "error",
|
|
452
|
-
"name": "OptimizerReader__InvalidMultiplier",
|
|
453
|
-
"inputs": []
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
"type": "error",
|
|
457
|
-
"name": "OptimizerReader__Unauthorized",
|
|
458
|
-
"inputs": []
|
|
459
192
|
}
|
|
460
193
|
]
|
|
@@ -470,6 +470,17 @@
|
|
|
470
470
|
}
|
|
471
471
|
]
|
|
472
472
|
},
|
|
473
|
+
{
|
|
474
|
+
"type": "error",
|
|
475
|
+
"name": "SwapperLib__TokenPrice",
|
|
476
|
+
"inputs": [
|
|
477
|
+
{
|
|
478
|
+
"name": "inputToken",
|
|
479
|
+
"type": "address",
|
|
480
|
+
"internalType": "address"
|
|
481
|
+
}
|
|
482
|
+
]
|
|
483
|
+
},
|
|
473
484
|
{
|
|
474
485
|
"type": "error",
|
|
475
486
|
"name": "SwapperLib__UnknownCalldata",
|
|
@@ -2,6 +2,7 @@ export declare const chains: {
|
|
|
2
2
|
"monad-mainnet": {
|
|
3
3
|
CentralRegistry: string;
|
|
4
4
|
OracleManager: string;
|
|
5
|
+
ProtocolManagerDeployment: string;
|
|
5
6
|
adaptors: {
|
|
6
7
|
ChainlinkAdaptor: string;
|
|
7
8
|
RedstoneClassicAdaptor: string;
|
|
@@ -238,10 +239,25 @@ export declare const chains: {
|
|
|
238
239
|
};
|
|
239
240
|
"WBTC-DynamicIRM": string;
|
|
240
241
|
};
|
|
242
|
+
"savUSD | USDC": {
|
|
243
|
+
address: string;
|
|
244
|
+
plugins: {
|
|
245
|
+
simplePositionManager: string;
|
|
246
|
+
};
|
|
247
|
+
irms: {
|
|
248
|
+
savUSD: string;
|
|
249
|
+
USDC: string;
|
|
250
|
+
};
|
|
251
|
+
tokens: {
|
|
252
|
+
savUSD: string;
|
|
253
|
+
USDC: string;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
241
256
|
};
|
|
242
257
|
ProtocolReader: string;
|
|
243
258
|
"CombinedAggregator-ezETH": string;
|
|
244
259
|
"CombinedAggregator-earnAUSD": string;
|
|
260
|
+
"CombinedAggregator-savUSD": string;
|
|
245
261
|
DAOTimelock: string;
|
|
246
262
|
"VaultAggregator-USDC-YZM": string;
|
|
247
263
|
"VaultAggregator-AUSD-vUSD": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"CentralRegistry": "0x1310f352f1389969Ece6741671c4B919523912fF",
|
|
3
3
|
"OracleManager": "0x32faD39e79FAc67f80d1C86CbD1598043e52CDb6",
|
|
4
|
+
"ProtocolManagerDeployment": "0x1482192DeB828a870f7E9B99d75D1DaFda973e4c",
|
|
4
5
|
"adaptors": {
|
|
5
6
|
"ChainlinkAdaptor": "0xACfE3fCcae79445836E03c5359BB96bd352b9C00",
|
|
6
7
|
"RedstoneClassicAdaptor": "0x0fA602b3e748438A3F1599206Ed6DC497ab3331E",
|
|
@@ -11,9 +12,9 @@
|
|
|
11
12
|
"KyberSwapChecker": "0xc63ac1e79c540DE6516679C97Bb00462fa6e15F7"
|
|
12
13
|
},
|
|
13
14
|
"zappers": {
|
|
14
|
-
"nativeVaultZapper": "
|
|
15
|
-
"vaultZapper": "
|
|
16
|
-
"simpleZapper": "
|
|
15
|
+
"nativeVaultZapper": "0xF562745Ac9bf3466d5eD829819a27Ef0324EF407",
|
|
16
|
+
"vaultZapper": "0x8DA05a1Ad927fFB0A6B0E045b11b94e8d2256366",
|
|
17
|
+
"simpleZapper": "0x7b01E1D9c403aAAF7d960202Fee913F48C43E53c"
|
|
17
18
|
},
|
|
18
19
|
"VaultAggregator-AUSD-sAUSD": "0x73Af3E1848636D4DE6A61050D5487d6f09A7A1Be",
|
|
19
20
|
"StaticPriceAggregator-loAZND": "0x6eCb16faf9b0c0F7098204e0FE685D2960b4C0Ba",
|
|
@@ -236,11 +237,26 @@
|
|
|
236
237
|
"WBTC": "0xdB3e888c3b50771821226d30Ab6eC14eB5ba85bA"
|
|
237
238
|
},
|
|
238
239
|
"WBTC-DynamicIRM": "0x95B961B9aD06dB25831FcdA3c7A79b1EB7c3AFA8"
|
|
240
|
+
},
|
|
241
|
+
"savUSD | USDC": {
|
|
242
|
+
"address": "0x38104e87Eb96ce5ef1C23a06878dB0D657B4a699",
|
|
243
|
+
"plugins": {
|
|
244
|
+
"simplePositionManager": "0x7B918FF5EDc44B29ced4d3dc52Fb8b859025325c"
|
|
245
|
+
},
|
|
246
|
+
"irms": {
|
|
247
|
+
"savUSD": "0xa6424210c18C34035204fbd7F44Dcafb04053082",
|
|
248
|
+
"USDC": "0x11EE1eDee565c216f595D329A59863E360DCeB42"
|
|
249
|
+
},
|
|
250
|
+
"tokens": {
|
|
251
|
+
"savUSD": "0x3afB9A1cC0d2b0D62502B84B070601fF0DC84363",
|
|
252
|
+
"USDC": "0x9891178A1178E4C740Fa61Fd6e30A9D92D897590"
|
|
253
|
+
}
|
|
239
254
|
}
|
|
240
255
|
},
|
|
241
256
|
"ProtocolReader": "0x55C7c1fe1DACB014aD3b21951728B5E580662268",
|
|
242
257
|
"CombinedAggregator-ezETH": "0xd5F84C4497621768f3F08b65ad7019BdF183b1fd",
|
|
243
258
|
"CombinedAggregator-earnAUSD": "0xf80CC9965d260d7cD96E41b9734F031279dCDf2f",
|
|
259
|
+
"CombinedAggregator-savUSD": "0x7e65E8CF0A49587dd9eCeca8e0585E26c0F1F09c",
|
|
244
260
|
"DAOTimelock": "0x2677738657F27e1A3591E00AD7E5a78807688C08",
|
|
245
261
|
"VaultAggregator-USDC-YZM": "0x7cB60D0Ca3B3dd08bA2aE5DF6686beAd289b1cF4",
|
|
246
262
|
"VaultAggregator-AUSD-vUSD": "0x084BC7bE1326Ee1FD5387a4A48fD6999A79BFa8b"
|
package/dist/helpers.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export declare function contractSetup<I>(provider: curvance_provider, contractAd
|
|
|
120
120
|
export declare function getContractAddresses(chain: ChainRpcPrefix): {
|
|
121
121
|
CentralRegistry: string;
|
|
122
122
|
OracleManager: string;
|
|
123
|
+
ProtocolManagerDeployment: string;
|
|
123
124
|
adaptors: {
|
|
124
125
|
ChainlinkAdaptor: string;
|
|
125
126
|
RedstoneClassicAdaptor: string;
|
|
@@ -356,10 +357,25 @@ export declare function getContractAddresses(chain: ChainRpcPrefix): {
|
|
|
356
357
|
};
|
|
357
358
|
"WBTC-DynamicIRM": string;
|
|
358
359
|
};
|
|
360
|
+
"savUSD | USDC": {
|
|
361
|
+
address: string;
|
|
362
|
+
plugins: {
|
|
363
|
+
simplePositionManager: string;
|
|
364
|
+
};
|
|
365
|
+
irms: {
|
|
366
|
+
savUSD: string;
|
|
367
|
+
USDC: string;
|
|
368
|
+
};
|
|
369
|
+
tokens: {
|
|
370
|
+
savUSD: string;
|
|
371
|
+
USDC: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
359
374
|
};
|
|
360
375
|
ProtocolReader: string;
|
|
361
376
|
"CombinedAggregator-ezETH": string;
|
|
362
377
|
"CombinedAggregator-earnAUSD": string;
|
|
378
|
+
"CombinedAggregator-savUSD": string;
|
|
363
379
|
DAOTimelock: string;
|
|
364
380
|
"VaultAggregator-USDC-YZM": string;
|
|
365
381
|
"VaultAggregator-AUSD-vUSD": string;
|
package/dist/helpers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACjH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAMrC,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;AAC3D,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,MAAM,CAAC;AAEjD,eAAO,MAAM,GAAG,SAAU,CAAC;AAC3B,eAAO,MAAM,WAAW,QAAY,CAAC;AACrC,eAAO,MAAM,GAAG,QAAa,CAAC;AAC9B,eAAO,MAAM,OAAO,QAAY,CAAC;AACjC,eAAO,MAAM,GAAG,QAAa,CAAC;AAC9B,eAAO,MAAM,WAAW,QAAY,CAAC;AACrC,eAAO,MAAM,oBAAoB,QAAwB,CAAC;AAC1D,eAAO,MAAM,WAAW,SAAmB,CAAC;AAE5C,eAAO,MAAM,gBAAgB,YAAc,CAAC;AAC5C,eAAO,MAAM,iBAAiB,WAAa,CAAC;AAC5C,eAAO,MAAM,gBAAgB,UAAW,CAAC;AACzC,eAAO,MAAM,eAAe,SAAU,CAAA;AAEtC,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAGzC,eAAO,MAAM,WAAW,kFAAkF,CAAC;AAC3G,eAAO,MAAM,mBAAmB,SAAuB,CAAC;AACxD,eAAO,MAAM,aAAa,EAAmD,OAAO,CAAC;AACrF,eAAO,MAAM,cA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