@uniswap/universal-router-sdk 4.24.0 → 4.25.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 +13 -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 +13 -1
- package/dist/universal-router-sdk.esm.js.map +1 -1
- package/package.json +6 -6
|
@@ -445,7 +445,7 @@ var RouterActionType;
|
|
|
445
445
|
RouterActionType["UnwrapWETH"] = "UnwrapWETH";
|
|
446
446
|
})(RouterActionType || (RouterActionType = {}));
|
|
447
447
|
|
|
448
|
-
var _routerConfigs, _routerConfigs2, _routerConfigs3, _routerConfigs4, _routerConfigs5, _routerConfigs6, _routerConfigs7, _routerConfigs8, _routerConfigs9, _routerConfigs0, _routerConfigs1, _routerConfigs10, _routerConfigs11, _routerConfigs12, _routerConfigs13, _routerConfigs14, _routerConfigs15, _routerConfigs16, _routerConfigs17, _routerConfigs18, _routerConfigs19, _routerConfigs20, _routerConfigs21, _routerConfigs22, _routerConfigs23, _CHAIN_CONFIGS;
|
|
448
|
+
var _routerConfigs, _routerConfigs2, _routerConfigs3, _routerConfigs4, _routerConfigs5, _routerConfigs6, _routerConfigs7, _routerConfigs8, _routerConfigs9, _routerConfigs0, _routerConfigs1, _routerConfigs10, _routerConfigs11, _routerConfigs12, _routerConfigs13, _routerConfigs14, _routerConfigs15, _routerConfigs16, _routerConfigs17, _routerConfigs18, _routerConfigs19, _routerConfigs20, _routerConfigs21, _routerConfigs22, _routerConfigs23, _routerConfigs24, _CHAIN_CONFIGS;
|
|
449
449
|
var UniversalRouterVersion;
|
|
450
450
|
(function (UniversalRouterVersion) {
|
|
451
451
|
UniversalRouterVersion["V1_2"] = "1.2";
|
|
@@ -754,6 +754,18 @@ var CHAIN_CONFIGS = (_CHAIN_CONFIGS = {}, _CHAIN_CONFIGS[1] = {
|
|
|
754
754
|
address: '0xBC2A036E5027b9AE57BbA847eF88E1b14823F7B1',
|
|
755
755
|
creationBlock: 36720825
|
|
756
756
|
}, _routerConfigs23)
|
|
757
|
+
}, _CHAIN_CONFIGS[196] = {
|
|
758
|
+
weth: '0xe538905cf8410324e03A5A23C1c177a474D59b2b',
|
|
759
|
+
routerConfigs: (_routerConfigs24 = {}, _routerConfigs24[UniversalRouterVersion.V1_2] = {
|
|
760
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
761
|
+
creationBlock: 1
|
|
762
|
+
}, _routerConfigs24[UniversalRouterVersion.V2_0] = {
|
|
763
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
764
|
+
creationBlock: 1
|
|
765
|
+
}, _routerConfigs24[UniversalRouterVersion.V2_1] = {
|
|
766
|
+
address: '0xc498381f53525a30a2c22d4cbe8758e79bcff2a5',
|
|
767
|
+
creationBlock: 46106421
|
|
768
|
+
}, _routerConfigs24)
|
|
757
769
|
}, _CHAIN_CONFIGS);
|
|
758
770
|
var UNIVERSAL_ROUTER_ADDRESS = function UNIVERSAL_ROUTER_ADDRESS(version, chainId) {
|
|
759
771
|
if (!(chainId in CHAIN_CONFIGS)) throw new Error("Universal Router not deployed on chain " + chainId);
|