@uniswap/universal-router-sdk 4.6.2 → 4.7.0
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/universal-router-sdk.cjs.development.js +10 -1
- package/dist/universal-router-sdk.cjs.development.js.map +1 -1
- package/dist/universal-router-sdk.cjs.production.min.js +1 -1
- package/dist/universal-router-sdk.cjs.production.min.js.map +1 -1
- package/dist/universal-router-sdk.esm.js +10 -1
- package/dist/universal-router-sdk.esm.js.map +1 -1
- package/package.json +6 -6
|
@@ -397,7 +397,7 @@ function getPathCurrency(currency, pool) {
|
|
|
397
397
|
RouterActionType["UnwrapWETH"] = "UnwrapWETH";
|
|
398
398
|
})(exports.RouterActionType || (exports.RouterActionType = {}));
|
|
399
399
|
|
|
400
|
-
var _routerConfigs, _routerConfigs2, _routerConfigs3, _routerConfigs4, _routerConfigs5, _routerConfigs6, _routerConfigs7, _routerConfigs8, _routerConfigs9, _routerConfigs10, _routerConfigs11, _routerConfigs12, _routerConfigs13, _routerConfigs14, _routerConfigs15, _routerConfigs16, _routerConfigs17, _routerConfigs18, _routerConfigs19, _routerConfigs20, _CHAIN_CONFIGS;
|
|
400
|
+
var _routerConfigs, _routerConfigs2, _routerConfigs3, _routerConfigs4, _routerConfigs5, _routerConfigs6, _routerConfigs7, _routerConfigs8, _routerConfigs9, _routerConfigs10, _routerConfigs11, _routerConfigs12, _routerConfigs13, _routerConfigs14, _routerConfigs15, _routerConfigs16, _routerConfigs17, _routerConfigs18, _routerConfigs19, _routerConfigs20, _routerConfigs21, _CHAIN_CONFIGS;
|
|
401
401
|
(function (UniversalRouterVersion) {
|
|
402
402
|
UniversalRouterVersion["V1_2"] = "1.2";
|
|
403
403
|
UniversalRouterVersion["V2_0"] = "2.0";
|
|
@@ -584,6 +584,15 @@ var CHAIN_CONFIGS = (_CHAIN_CONFIGS = {}, _CHAIN_CONFIGS[1] = {
|
|
|
584
584
|
address: '0xcA7577Afb670147c7b211C798B97118bd36058F3',
|
|
585
585
|
creationBlock: 1490973
|
|
586
586
|
}, _routerConfigs20)
|
|
587
|
+
}, _CHAIN_CONFIGS[130] = {
|
|
588
|
+
weth: '0x4200000000000000000000000000000000000006',
|
|
589
|
+
routerConfigs: (_routerConfigs21 = {}, _routerConfigs21[exports.UniversalRouterVersion.V1_2] = {
|
|
590
|
+
address: '0x4D73A4411CA1c660035e4AECC8270E5DdDEC8C17',
|
|
591
|
+
creationBlock: 23678
|
|
592
|
+
}, _routerConfigs21[exports.UniversalRouterVersion.V2_0] = {
|
|
593
|
+
address: '0x4D73A4411CA1c660035e4AECC8270E5DdDEC8C17',
|
|
594
|
+
creationBlock: 23678
|
|
595
|
+
}, _routerConfigs21)
|
|
587
596
|
}, _CHAIN_CONFIGS);
|
|
588
597
|
var UNIVERSAL_ROUTER_ADDRESS = function UNIVERSAL_ROUTER_ADDRESS(version, chainId) {
|
|
589
598
|
if (!(chainId in CHAIN_CONFIGS)) throw new Error("Universal Router not deployed on chain " + chainId);
|