@morpho-org/blue-sdk 3.0.7 → 3.0.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.
- package/lib/addresses.js +36 -12
- package/package.json +1 -1
package/lib/addresses.js
CHANGED
|
@@ -343,20 +343,44 @@ exports.unwrappedTokensMapping = {
|
|
|
343
343
|
[exports.addressesRegistry[chain_js_1.ChainId.BaseMainnet].verUsdc]: exports.addressesRegistry[chain_js_1.ChainId.BaseMainnet].usdc,
|
|
344
344
|
[exports.addressesRegistry[chain_js_1.ChainId.BaseMainnet].testUsdc]: exports.addressesRegistry[chain_js_1.ChainId.BaseMainnet].usdc,
|
|
345
345
|
},
|
|
346
|
-
[chain_js_1.ChainId.PolygonMainnet]: {
|
|
346
|
+
[chain_js_1.ChainId.PolygonMainnet]: {
|
|
347
|
+
[exports.addressesRegistry[chain_js_1.ChainId.PolygonMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
348
|
+
},
|
|
347
349
|
[chain_js_1.ChainId.ArbitrumMainnet]: {},
|
|
348
|
-
[chain_js_1.ChainId.OptimismMainnet]: {
|
|
349
|
-
|
|
350
|
+
[chain_js_1.ChainId.OptimismMainnet]: {
|
|
351
|
+
[exports.addressesRegistry[chain_js_1.ChainId.OptimismMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
352
|
+
},
|
|
353
|
+
[chain_js_1.ChainId.WorldChainMainnet]: {
|
|
354
|
+
[exports.addressesRegistry[chain_js_1.ChainId.WorldChainMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
355
|
+
},
|
|
350
356
|
[chain_js_1.ChainId.FraxtalMainnet]: {},
|
|
351
|
-
[chain_js_1.ChainId.ScrollMainnet]: {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
[chain_js_1.ChainId.
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
[chain_js_1.ChainId.
|
|
358
|
-
|
|
359
|
-
|
|
357
|
+
[chain_js_1.ChainId.ScrollMainnet]: {
|
|
358
|
+
[exports.addressesRegistry[chain_js_1.ChainId.ScrollMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
359
|
+
},
|
|
360
|
+
[chain_js_1.ChainId.InkMainnet]: {
|
|
361
|
+
[exports.addressesRegistry[chain_js_1.ChainId.InkMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
362
|
+
},
|
|
363
|
+
[chain_js_1.ChainId.Unichain]: {
|
|
364
|
+
[exports.addressesRegistry[chain_js_1.ChainId.Unichain].wNative]: exports.NATIVE_ADDRESS,
|
|
365
|
+
},
|
|
366
|
+
[chain_js_1.ChainId.SonicMainnet]: {
|
|
367
|
+
[exports.addressesRegistry[chain_js_1.ChainId.SonicMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
368
|
+
},
|
|
369
|
+
[chain_js_1.ChainId.HemiMainnet]: {
|
|
370
|
+
[exports.addressesRegistry[chain_js_1.ChainId.HemiMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
371
|
+
},
|
|
372
|
+
[chain_js_1.ChainId.ModeMainnet]: {
|
|
373
|
+
[exports.addressesRegistry[chain_js_1.ChainId.ModeMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
374
|
+
},
|
|
375
|
+
[chain_js_1.ChainId.CornMainnet]: {
|
|
376
|
+
[exports.addressesRegistry[chain_js_1.ChainId.CornMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
377
|
+
},
|
|
378
|
+
[chain_js_1.ChainId.PlumeMainnet]: {
|
|
379
|
+
[exports.addressesRegistry[chain_js_1.ChainId.PlumeMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
380
|
+
},
|
|
381
|
+
[chain_js_1.ChainId.CampMainnet]: {
|
|
382
|
+
[exports.addressesRegistry[chain_js_1.ChainId.CampMainnet].wNative]: exports.NATIVE_ADDRESS,
|
|
383
|
+
},
|
|
360
384
|
};
|
|
361
385
|
function getUnwrappedToken(wrappedToken, chainId) {
|
|
362
386
|
return exports.unwrappedTokensMapping[chainId][wrappedToken];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morpho-org/blue-sdk",
|
|
3
3
|
"description": "Framework-agnostic package that defines Morpho-related entity classes (such as `Market`, `Token`, `Vault`).",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.8",
|
|
5
5
|
"author": "Morpho Association <contact@morpho.org>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Rubilmax <rmilon@gmail.com>"
|