@uniswap/universal-router-sdk 4.30.0 → 4.32.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 +17 -5
- 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 +17 -5
- package/dist/universal-router-sdk.esm.js.map +1 -1
- package/package.json +5 -5
|
@@ -446,7 +446,7 @@ var RouterActionType;
|
|
|
446
446
|
RouterActionType["UnwrapWETH"] = "UnwrapWETH";
|
|
447
447
|
})(RouterActionType || (RouterActionType = {}));
|
|
448
448
|
|
|
449
|
-
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
|
+
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, _routerConfigs25, _CHAIN_CONFIGS;
|
|
450
450
|
var UniversalRouterVersion;
|
|
451
451
|
(function (UniversalRouterVersion) {
|
|
452
452
|
UniversalRouterVersion["V1_2"] = "1.2";
|
|
@@ -755,18 +755,30 @@ var CHAIN_CONFIGS = (_CHAIN_CONFIGS = {}, _CHAIN_CONFIGS[1] = {
|
|
|
755
755
|
address: '0xBC2A036E5027b9AE57BbA847eF88E1b14823F7B1',
|
|
756
756
|
creationBlock: 36720825
|
|
757
757
|
}, _routerConfigs23)
|
|
758
|
-
}, _CHAIN_CONFIGS[
|
|
759
|
-
weth: '
|
|
758
|
+
}, _CHAIN_CONFIGS[59144] = {
|
|
759
|
+
weth: '0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f',
|
|
760
760
|
routerConfigs: (_routerConfigs24 = {}, _routerConfigs24[UniversalRouterVersion.V1_2] = {
|
|
761
761
|
address: '0x0000000000000000000000000000000000000000',
|
|
762
762
|
creationBlock: 1
|
|
763
763
|
}, _routerConfigs24[UniversalRouterVersion.V2_0] = {
|
|
764
|
+
address: '0x661e93cca42afacb172121ef892830ca3b70f08d',
|
|
765
|
+
creationBlock: 1
|
|
766
|
+
}, _routerConfigs24[UniversalRouterVersion.V2_1] = {
|
|
767
|
+
address: '0xba548ce7a95f87bc66a0c7c6eab1e428735f8b57',
|
|
768
|
+
creationBlock: 1
|
|
769
|
+
}, _routerConfigs24)
|
|
770
|
+
}, _CHAIN_CONFIGS[196] = {
|
|
771
|
+
weth: '0xe538905cf8410324e03A5A23C1c177a474D59b2b',
|
|
772
|
+
routerConfigs: (_routerConfigs25 = {}, _routerConfigs25[UniversalRouterVersion.V1_2] = {
|
|
773
|
+
address: '0x0000000000000000000000000000000000000000',
|
|
774
|
+
creationBlock: 1
|
|
775
|
+
}, _routerConfigs25[UniversalRouterVersion.V2_0] = {
|
|
764
776
|
address: '0x5507749f2c558bb3e162c6e90c314c092e7372ff',
|
|
765
777
|
creationBlock: 47680350
|
|
766
|
-
},
|
|
778
|
+
}, _routerConfigs25[UniversalRouterVersion.V2_1] = {
|
|
767
779
|
address: '0x0000000000000000000000000000000000000000',
|
|
768
780
|
creationBlock: 1
|
|
769
|
-
},
|
|
781
|
+
}, _routerConfigs25)
|
|
770
782
|
}, _CHAIN_CONFIGS);
|
|
771
783
|
var UNIVERSAL_ROUTER_ADDRESS = function UNIVERSAL_ROUTER_ADDRESS(version, chainId) {
|
|
772
784
|
if (!(chainId in CHAIN_CONFIGS)) throw new Error("Universal Router not deployed on chain " + chainId);
|