Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@uniswap/sdk-core

Package Overview
Dependencies
Maintainers
0
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniswap/sdk-core - npm Package Compare versions

Comparing version 5.8.5 to 5.9.0

4

dist/sdk-core.cjs.development.js

@@ -134,3 +134,3 @@ 'use strict';

var V2_FACTORY_ADDRESS = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f';
var V2_FACTORY_ADDRESSES = (_V2_FACTORY_ADDRESSES = {}, _V2_FACTORY_ADDRESSES[exports.ChainId.MAINNET] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[exports.ChainId.GOERLI] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[exports.ChainId.SEPOLIA] = '0xB7f907f7A9eBC822a80BD25E224be42Ce0A698A0', _V2_FACTORY_ADDRESSES[exports.ChainId.OPTIMISM] = '0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf', _V2_FACTORY_ADDRESSES[exports.ChainId.ARBITRUM_ONE] = '0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9', _V2_FACTORY_ADDRESSES[exports.ChainId.AVALANCHE] = '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', _V2_FACTORY_ADDRESSES[exports.ChainId.BASE] = '0x8909dc15e40173ff4699343b6eb8132c65e18ec6', _V2_FACTORY_ADDRESSES[exports.ChainId.BNB] = '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6', _V2_FACTORY_ADDRESSES[exports.ChainId.POLYGON] = '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', _V2_FACTORY_ADDRESSES[exports.ChainId.CELO] = '0x79a530c8e2fA8748B7B40dd3629C0520c2cCf03f', _V2_FACTORY_ADDRESSES[exports.ChainId.BLAST] = '0x5C346464d33F90bABaf70dB6388507CC889C1070', _V2_FACTORY_ADDRESSES[exports.ChainId.WORLDCHAIN] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[exports.ChainId.ASTROCHAIN_SEPOLIA] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES);
var V2_FACTORY_ADDRESSES = (_V2_FACTORY_ADDRESSES = {}, _V2_FACTORY_ADDRESSES[exports.ChainId.MAINNET] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[exports.ChainId.GOERLI] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[exports.ChainId.SEPOLIA] = '0xF62c03E08ada871A0bEb309762E260a7a6a880E6', _V2_FACTORY_ADDRESSES[exports.ChainId.OPTIMISM] = '0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf', _V2_FACTORY_ADDRESSES[exports.ChainId.ARBITRUM_ONE] = '0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9', _V2_FACTORY_ADDRESSES[exports.ChainId.AVALANCHE] = '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', _V2_FACTORY_ADDRESSES[exports.ChainId.BASE] = '0x8909dc15e40173ff4699343b6eb8132c65e18ec6', _V2_FACTORY_ADDRESSES[exports.ChainId.BNB] = '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6', _V2_FACTORY_ADDRESSES[exports.ChainId.POLYGON] = '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', _V2_FACTORY_ADDRESSES[exports.ChainId.CELO] = '0x79a530c8e2fA8748B7B40dd3629C0520c2cCf03f', _V2_FACTORY_ADDRESSES[exports.ChainId.BLAST] = '0x5C346464d33F90bABaf70dB6388507CC889C1070', _V2_FACTORY_ADDRESSES[exports.ChainId.WORLDCHAIN] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[exports.ChainId.ASTROCHAIN_SEPOLIA] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES);
/**

@@ -140,3 +140,3 @@ * @deprecated use V2_ROUTER_ADDRESSES instead

var V2_ROUTER_ADDRESS = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D';
var V2_ROUTER_ADDRESSES = (_V2_ROUTER_ADDRESSES = {}, _V2_ROUTER_ADDRESSES[exports.ChainId.MAINNET] = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', _V2_ROUTER_ADDRESSES[exports.ChainId.GOERLI] = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', _V2_ROUTER_ADDRESSES[exports.ChainId.SEPOLIA] = '0x53544492C78D478294B5b1Fb8059a5D6C9aBBC67', _V2_ROUTER_ADDRESSES[exports.ChainId.ARBITRUM_ONE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[exports.ChainId.OPTIMISM] = '0x4a7b5da61326a6379179b40d00f57e5bbdc962c2', _V2_ROUTER_ADDRESSES[exports.ChainId.BASE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[exports.ChainId.AVALANCHE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[exports.ChainId.BNB] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[exports.ChainId.POLYGON] = '0xedf6066a2b290c185783862c7f4776a2c8077ad1', _V2_ROUTER_ADDRESSES[exports.ChainId.BLAST] = '0xBB66Eb1c5e875933D44DAe661dbD80e5D9B03035', _V2_ROUTER_ADDRESSES[exports.ChainId.WORLDCHAIN] = '0x541aB7c31A119441eF3575F6973277DE0eF460bd', _V2_ROUTER_ADDRESSES[exports.ChainId.ASTROCHAIN_SEPOLIA] = '0x920b806E40A00E02E7D2b94fFc89860fDaEd3640', _V2_ROUTER_ADDRESSES);
var V2_ROUTER_ADDRESSES = (_V2_ROUTER_ADDRESSES = {}, _V2_ROUTER_ADDRESSES[exports.ChainId.MAINNET] = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', _V2_ROUTER_ADDRESSES[exports.ChainId.GOERLI] = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', _V2_ROUTER_ADDRESSES[exports.ChainId.SEPOLIA] = '0xeE567Fe1712Faf6149d80dA1E6934E354124CfE3', _V2_ROUTER_ADDRESSES[exports.ChainId.ARBITRUM_ONE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[exports.ChainId.OPTIMISM] = '0x4a7b5da61326a6379179b40d00f57e5bbdc962c2', _V2_ROUTER_ADDRESSES[exports.ChainId.BASE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[exports.ChainId.AVALANCHE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[exports.ChainId.BNB] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[exports.ChainId.POLYGON] = '0xedf6066a2b290c185783862c7f4776a2c8077ad1', _V2_ROUTER_ADDRESSES[exports.ChainId.BLAST] = '0xBB66Eb1c5e875933D44DAe661dbD80e5D9B03035', _V2_ROUTER_ADDRESSES[exports.ChainId.WORLDCHAIN] = '0x541aB7c31A119441eF3575F6973277DE0eF460bd', _V2_ROUTER_ADDRESSES[exports.ChainId.ASTROCHAIN_SEPOLIA] = '0x920b806E40A00E02E7D2b94fFc89860fDaEd3640', _V2_ROUTER_ADDRESSES);
// Networks that share most of the same addresses i.e. Mainnet, Goerli, Optimism, Arbitrum, Polygon

@@ -143,0 +143,0 @@ var DEFAULT_ADDRESSES = {

@@ -1,2 +0,2 @@

"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var r,t=e(require("jsbi")),d=e(require("tiny-invariant")),n=e(require("decimal.js-light")),a=e(require("big.js")),o=e(require("toformat")),s=require("@ethersproject/bignumber"),i=require("@ethersproject/address"),c=require("@ethersproject/bytes"),A=require("@ethersproject/keccak256"),u=require("@ethersproject/strings");function f(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var d=t.call(e,"string");if("object"!=typeof d)return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof r?r:String(r)}function E(e,r){for(var t=0;t<r.length;t++){var d=r[t];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(e,f(d.key),d)}}function C(e,r,t){return r&&E(e.prototype,r),t&&E(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var d in t)Object.prototype.hasOwnProperty.call(t,d)&&(e[d]=t[d])}return e}).apply(this,arguments)}function p(e,r){var t,d;e.prototype=Object.create(r.prototype),e.prototype.constructor=e,t=e,d=r,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e})(t,d)}(r=exports.ChainId||(exports.ChainId={}))[r.MAINNET=1]="MAINNET",r[r.GOERLI=5]="GOERLI",r[r.SEPOLIA=11155111]="SEPOLIA",r[r.OPTIMISM=10]="OPTIMISM",r[r.OPTIMISM_GOERLI=420]="OPTIMISM_GOERLI",r[r.OPTIMISM_SEPOLIA=11155420]="OPTIMISM_SEPOLIA",r[r.ARBITRUM_ONE=42161]="ARBITRUM_ONE",r[r.ARBITRUM_GOERLI=421613]="ARBITRUM_GOERLI",r[r.ARBITRUM_SEPOLIA=421614]="ARBITRUM_SEPOLIA",r[r.POLYGON=137]="POLYGON",r[r.POLYGON_MUMBAI=80001]="POLYGON_MUMBAI",r[r.CELO=42220]="CELO",r[r.CELO_ALFAJORES=44787]="CELO_ALFAJORES",r[r.GNOSIS=100]="GNOSIS",r[r.MOONBEAM=1284]="MOONBEAM",r[r.BNB=56]="BNB",r[r.AVALANCHE=43114]="AVALANCHE",r[r.BASE_GOERLI=84531]="BASE_GOERLI",r[r.BASE=8453]="BASE",r[r.ZORA=7777777]="ZORA",r[r.ZORA_SEPOLIA=999999999]="ZORA_SEPOLIA",r[r.ROOTSTOCK=30]="ROOTSTOCK",r[r.BLAST=81457]="BLAST",r[r.ZKSYNC=324]="ZKSYNC",r[r.WORLDCHAIN=480]="WORLDCHAIN",r[r.ASTROCHAIN_SEPOLIA=1301]="ASTROCHAIN_SEPOLIA";var b,D,B,F,l,I,h,O,m,R=[exports.ChainId.MAINNET,exports.ChainId.OPTIMISM,exports.ChainId.OPTIMISM_GOERLI,exports.ChainId.OPTIMISM_SEPOLIA,exports.ChainId.ARBITRUM_ONE,exports.ChainId.ARBITRUM_GOERLI,exports.ChainId.ARBITRUM_SEPOLIA,exports.ChainId.POLYGON,exports.ChainId.POLYGON_MUMBAI,exports.ChainId.GOERLI,exports.ChainId.SEPOLIA,exports.ChainId.CELO_ALFAJORES,exports.ChainId.CELO,exports.ChainId.BNB,exports.ChainId.AVALANCHE,exports.ChainId.BASE,exports.ChainId.BASE_GOERLI,exports.ChainId.ZORA,exports.ChainId.ZORA_SEPOLIA,exports.ChainId.ROOTSTOCK,exports.ChainId.BLAST,exports.ChainId.ZKSYNC,exports.ChainId.WORLDCHAIN,exports.ChainId.ASTROCHAIN_SEPOLIA];(b=exports.NativeCurrencyName||(exports.NativeCurrencyName={})).ETHER="ETH",b.MATIC="MATIC",b.CELO="CELO",b.GNOSIS="XDAI",b.MOONBEAM="GLMR",b.BNB="BNB",b.AVAX="AVAX",b.ROOTSTOCK="RBTC";var S=[exports.ChainId.MAINNET,exports.ChainId.GOERLI,exports.ChainId.SEPOLIA];function v(e,r){return void 0===r&&(r=[]),S.concat(r).reduce((function(r,t){return r[t]=e,r}),{})}var y,g,N=v("0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",[exports.ChainId.OPTIMISM,exports.ChainId.ARBITRUM_ONE,exports.ChainId.POLYGON,exports.ChainId.POLYGON_MUMBAI,exports.ChainId.SEPOLIA]),T=((D={})[exports.ChainId.MAINNET]="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",D[exports.ChainId.GOERLI]="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",D[exports.ChainId.SEPOLIA]="0xB7f907f7A9eBC822a80BD25E224be42Ce0A698A0",D[exports.ChainId.OPTIMISM]="0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf",D[exports.ChainId.ARBITRUM_ONE]="0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9",D[exports.ChainId.AVALANCHE]="0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C",D[exports.ChainId.BASE]="0x8909dc15e40173ff4699343b6eb8132c65e18ec6",D[exports.ChainId.BNB]="0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6",D[exports.ChainId.POLYGON]="0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C",D[exports.ChainId.CELO]="0x79a530c8e2fA8748B7B40dd3629C0520c2cCf03f",D[exports.ChainId.BLAST]="0x5C346464d33F90bABaf70dB6388507CC889C1070",D[exports.ChainId.WORLDCHAIN]="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",D[exports.ChainId.ASTROCHAIN_SEPOLIA]="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",D),_=((B={})[exports.ChainId.MAINNET]="0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",B[exports.ChainId.GOERLI]="0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",B[exports.ChainId.SEPOLIA]="0x53544492C78D478294B5b1Fb8059a5D6C9aBBC67",B[exports.ChainId.ARBITRUM_ONE]="0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",B[exports.ChainId.OPTIMISM]="0x4a7b5da61326a6379179b40d00f57e5bbdc962c2",B[exports.ChainId.BASE]="0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",B[exports.ChainId.AVALANCHE]="0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",B[exports.ChainId.BNB]="0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",B[exports.ChainId.POLYGON]="0xedf6066a2b290c185783862c7f4776a2c8077ad1",B[exports.ChainId.BLAST]="0xBB66Eb1c5e875933D44DAe661dbD80e5D9B03035",B[exports.ChainId.WORLDCHAIN]="0x541aB7c31A119441eF3575F6973277DE0eF460bd",B[exports.ChainId.ASTROCHAIN_SEPOLIA]="0x920b806E40A00E02E7D2b94fFc89860fDaEd3640",B),L={v3CoreFactoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",multicallAddress:"0x1F98415757620B543A52E61c46B32eB19261F984",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",v3MigratorAddress:"0xA5644E29708357803b5A882D272c41cC0dF92B34",nonfungiblePositionManagerAddress:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88"},M=x({},L,{mixedRouteQuoterV1Address:"0x84E44095eeBfEC7793Cd7d5b57B7e401D7f1cA2E"}),P=x({},L,{mixedRouteQuoterV1Address:"0xBa60b6e6fF25488308789E6e0A65D838be34194e"}),w=L,U=x({},L,{multicallAddress:"0xadF885960B47eA2CD9B55E6DAc6B42b7Cb2806dB",tickLensAddress:"0xbfd8137f7d1516D3ea5cA83523914859ec47F573"}),W=L,q={v3CoreFactoryAddress:"0xAfE208a311B21f13EF87E33A90049fC17A7acDEc",multicallAddress:"0x633987602DE5C4F337e3DbF265303A1080324204",quoterAddress:"0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8",v3MigratorAddress:"0x3cFd4d48EDfDCC53D3f173F596f621064614C582",nonfungiblePositionManagerAddress:"0x3d79EdAaBC0EaB6F08ED885C05Fc0B014290D95A",tickLensAddress:"0x5f115D9113F88e0a0Db1b5033D90D4a9690AcD3D"},H=((F={})[exports.ChainId.MAINNET]=M,F[exports.ChainId.OPTIMISM]=w,F[exports.ChainId.ARBITRUM_ONE]=U,F[exports.ChainId.POLYGON]=W,F[exports.ChainId.POLYGON_MUMBAI]=W,F[exports.ChainId.GOERLI]=P,F[exports.ChainId.CELO]=q,F[exports.ChainId.CELO_ALFAJORES]=q,F[exports.ChainId.BNB]={v3CoreFactoryAddress:"0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7",multicallAddress:"0x963Df249eD09c358A4819E39d9Cd5736c3087184",quoterAddress:"0x78D78E420Da98ad378D7799bE8f4AF69033EB077",v3MigratorAddress:"0x32681814957e0C13117ddc0c2aba232b5c9e760f",nonfungiblePositionManagerAddress:"0x7b8A01B39D58278b5DE7e48c8449c9f4F5170613",tickLensAddress:"0xD9270014D396281579760619CCf4c3af0501A47C",swapRouter02Address:"0xB971eF87ede563556b2ED4b1C0b0019111Dd85d2"},F[exports.ChainId.OPTIMISM_GOERLI]={v3CoreFactoryAddress:"0xB656dA17129e7EB733A557f4EBc57B76CFbB5d10",multicallAddress:"0x07F2D8a2a02251B62af965f22fC4744A5f96BCCd",quoterAddress:"0x9569CbA925c8ca2248772A9A4976A516743A246F",v3MigratorAddress:"0xf6c55fBe84B1C8c3283533c53F51bC32F5C7Aba8",nonfungiblePositionManagerAddress:"0x39Ca85Af2F383190cBf7d7c41ED9202D27426EF6",tickLensAddress:"0xe6140Bd164b63E8BfCfc40D5dF952f83e171758e"},F[exports.ChainId.OPTIMISM_SEPOLIA]={v3CoreFactoryAddress:"0x8CE191193D15ea94e11d327b4c7ad8bbE520f6aF",multicallAddress:"0x80e4e06841bb76AA9735E0448cB8d003C0EF009a",quoterAddress:"0x0FBEa6cf957d95ee9313490050F6A0DA68039404",v3MigratorAddress:"0xE7EcbAAaA54D007A00dbb6c1d2f150066D69dA07",nonfungiblePositionManagerAddress:"0xdA75cEf1C93078e8b736FCA5D5a30adb97C8957d",tickLensAddress:"0xCb7f54747F58F8944973cea5b8f4ac2209BadDC5",swapRouter02Address:"0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4"},F[exports.ChainId.ARBITRUM_GOERLI]={v3CoreFactoryAddress:"0x4893376342d5D7b3e31d4184c08b265e5aB2A3f6",multicallAddress:"0x8260CB40247290317a4c062F3542622367F206Ee",quoterAddress:"0x1dd92b83591781D0C6d98d07391eea4b9a6008FA",v3MigratorAddress:"0xA815919D2584Ac3F76ea9CB62E6Fd40a43BCe0C3",nonfungiblePositionManagerAddress:"0x622e4726a167799826d1E1D150b076A7725f5D81",tickLensAddress:"0xb52429333da969a0C79a60930a4Bf0020E5D1DE8"},F[exports.ChainId.ARBITRUM_SEPOLIA]={v3CoreFactoryAddress:"0x248AB79Bbb9bC29bB72f7Cd42F17e054Fc40188e",multicallAddress:"0x2B718b475e385eD29F56775a66aAB1F5cC6B2A0A",quoterAddress:"0x2779a0CC1c3e0E44D2542EC3e79e3864Ae93Ef0B",v3MigratorAddress:"0x398f43ef2c67B941147157DA1c5a868E906E043D",nonfungiblePositionManagerAddress:"0x6b2937Bde17889EDCf8fbD8dE31C3C2a70Bc4d65",tickLensAddress:"0x0fd18587734e5C2dcE2dccDcC7DD1EC89ba557d9",swapRouter02Address:"0x101F443B4d1b059569D643917553c771E1b9663E"},F[exports.ChainId.SEPOLIA]={v3CoreFactoryAddress:"0x0227628f3F023bb0B980b67D528571c95c6DaC1c",multicallAddress:"0xD7F33bCdb21b359c8ee6F0251d30E94832baAd07",quoterAddress:"0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3",v3MigratorAddress:"0x729004182cF005CEC8Bd85df140094b6aCbe8b15",nonfungiblePositionManagerAddress:"0x1238536071E1c677A632429e3655c799b22cDA52",tickLensAddress:"0xd7f33bcdb21b359c8ee6f0251d30e94832baad07",swapRouter02Address:"0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",mixedRouteQuoterV2Address:"0x4745f77b56a0e2294426e3936dc4fab68d9543cd",v4PoolManagerAddress:"0x8C4BcBE6b9eF47855f97E675296FA3F6fafa5F1A",v4PositionManagerAddress:"0x1B1C77B606d13b09C84d1c7394B96b147bC03147",v4StateView:"0x823d45b1329bcF3b369F08F36ba2690Ff8e058C3",v4QuoterAddress:"0xCd8716395D55aD17496448a4b2C42557001e9743"},F[exports.ChainId.AVALANCHE]={v3CoreFactoryAddress:"0x740b1c1de25031C31FF4fC9A62f554A55cdC1baD",multicallAddress:"0x0139141Cd4Ee88dF3Cdb65881D411bAE271Ef0C2",quoterAddress:"0xbe0F5544EC67e9B3b2D979aaA43f18Fd87E6257F",v3MigratorAddress:"0x44f5f1f5E452ea8d29C890E8F6e893fC0f1f0f97",nonfungiblePositionManagerAddress:"0x655C406EBFa14EE2006250925e54ec43AD184f8B",tickLensAddress:"0xEB9fFC8bf81b4fFd11fb6A63a6B0f098c6e21950",swapRouter02Address:"0xbb00FF08d01D300023C629E8fFfFcb65A5a578cE"},F[exports.ChainId.BASE]={v3CoreFactoryAddress:"0x33128a8fC17869897dcE68Ed026d694621f6FDfD",multicallAddress:"0x091e99cb1C49331a94dD62755D168E941AbD0693",quoterAddress:"0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",v3MigratorAddress:"0x23cF10b1ee3AdfCA73B0eF17C07F7577e7ACd2d7",nonfungiblePositionManagerAddress:"0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",tickLensAddress:"0x0CdeE061c75D43c82520eD998C23ac2991c9ac6d",swapRouter02Address:"0x2626664c2603336E57B271c5C0b26F421741e481",mixedRouteQuoterV1Address:"0xe544efae946f0008ae9a8d64493efa7886b73776"},F[exports.ChainId.BASE_GOERLI]={v3CoreFactoryAddress:"0x9323c1d6D800ed51Bd7C6B216cfBec678B7d0BC2",multicallAddress:"0xB206027a9E0E13F05eBEFa5D2402Bab3eA716439",quoterAddress:"0xedf539058e28E5937dAef3f69cEd0b25fbE66Ae9",v3MigratorAddress:"0x3efe5d02a04b7351D671Db7008ec6eBA9AD9e3aE",nonfungiblePositionManagerAddress:"0x3c61369ef0D1D2AFa70d8feC2F31C5D6Ce134F30",tickLensAddress:"0x1acB873Ee909D0c98adB18e4474943249F931b92",swapRouter02Address:"0x8357227D4eDc78991Db6FDB9bD6ADE250536dE1d"},F[exports.ChainId.ZORA]={v3CoreFactoryAddress:"0x7145F8aeef1f6510E92164038E1B6F8cB2c42Cbb",multicallAddress:"0xA51c76bEE6746cB487a7e9312E43e2b8f4A37C15",quoterAddress:"0x11867e1b3348F3ce4FcC170BC5af3d23E07E64Df",v3MigratorAddress:"0x048352d8dCF13686982C799da63fA6426a9D0b60",nonfungiblePositionManagerAddress:"0xbC91e8DfA3fF18De43853372A3d7dfe585137D78",tickLensAddress:"0x209AAda09D74Ad3B8D0E92910Eaf85D2357e3044",swapRouter02Address:"0x7De04c96BE5159c3b5CeffC82aa176dc81281557"},F[exports.ChainId.ZORA_SEPOLIA]={v3CoreFactoryAddress:"0x4324A677D74764f46f33ED447964252441aA8Db6",multicallAddress:"0xA1E7e3A69671C4494EC59Dbd442de930a93F911A",quoterAddress:"0xC195976fEF0985886E37036E2DF62bF371E12Df0",v3MigratorAddress:"0x65ef259b31bf1d977c37e9434658694267674897",nonfungiblePositionManagerAddress:"0xB8458EaAe43292e3c1F7994EFd016bd653d23c20",tickLensAddress:"0x23C0F71877a1Fc4e20A78018f9831365c85f3064"},F[exports.ChainId.ROOTSTOCK]={v3CoreFactoryAddress:"0xaF37EC98A00FD63689CF3060BF3B6784E00caD82",multicallAddress:"0x996a9858cDfa45Ad68E47c9A30a7201E29c6a386",quoterAddress:"0xb51727c996C68E60F598A923a5006853cd2fEB31",v3MigratorAddress:"0x16678977CA4ec3DAD5efc7b15780295FE5f56162",nonfungiblePositionManagerAddress:"0x9d9386c042F194B460Ec424a1e57ACDE25f5C4b1",tickLensAddress:"0x55B9dF5bF68ADe972191a91980459f48ecA16afC",swapRouter02Address:"0x0B14ff67f0014046b4b99057Aec4509640b3947A"},F[exports.ChainId.BLAST]={v3CoreFactoryAddress:"0x792edAdE80af5fC680d96a2eD80A44247D2Cf6Fd",multicallAddress:"0xdC7f370de7631cE9e2c2e1DCDA6B3B5744Cf4705",quoterAddress:"0x6Cdcd65e03c1CEc3730AeeCd45bc140D57A25C77",v3MigratorAddress:"0x15CA7043CD84C5D21Ae76Ba0A1A967d42c40ecE0",nonfungiblePositionManagerAddress:"0xB218e4f7cF0533d4696fDfC419A0023D33345F28",tickLensAddress:"0x2E95185bCdD928a3e984B7e2D6560Ab1b17d7274",swapRouter02Address:"0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66"},F[exports.ChainId.ZKSYNC]={v3CoreFactoryAddress:"0x8FdA5a7a8dCA67BBcDd10F02Fa0649A937215422",multicallAddress:"0x0c68a7C72f074d1c45C16d41fa74eEbC6D16a65C",quoterAddress:"0x8Cb537fc92E26d8EBBb760E632c95484b6Ea3e28",v3MigratorAddress:"0x611841b24E43C4ACfd290B427a3D6cf1A59dac8E",nonfungiblePositionManagerAddress:"0x0616e5762c1E7Dc3723c50663dF10a162D690a86",tickLensAddress:"0xe10FF11b809f8EE07b056B452c3B2caa7FE24f89",swapRouter02Address:"0x99c56385daBCE3E81d8499d0b8d0257aBC07E8A3"},F[exports.ChainId.WORLDCHAIN]={v3CoreFactoryAddress:"0x7a5028BDa40e7B173C278C5342087826455ea25a",multicallAddress:"0x0a22c04215c97E3F532F4eF30e0aD9458792dAB9",quoterAddress:"0x10158D43e6cc414deE1Bd1eB0EfC6a5cBCfF244c",v3MigratorAddress:"0x9EBDdCBa71C9027E1eB45135672a30bcFEec9de3",nonfungiblePositionManagerAddress:"0xec12a9F9a09f50550686363766Cc153D03c27b5e",tickLensAddress:"0xE61df0CaC9d85876aCE5E3037005D80943570623",swapRouter02Address:"0x091AD9e2e6e5eD44c1c66dB50e49A601F9f36cF6"},F[exports.ChainId.ASTROCHAIN_SEPOLIA]={v3CoreFactoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",multicallAddress:"0x9D0F15f2cf58655fDDcD1EE6129C547fDaeD01b1",quoterAddress:"0x6Dd37329A1A225a6Fca658265D460423DCafBF89",v3MigratorAddress:"0xb5FA244C9d6D04B2FBac84418b3c4910ED1Ae5f2",nonfungiblePositionManagerAddress:"0xB7F724d6dDDFd008eFf5cc2834edDE5F9eF0d075",tickLensAddress:"0x5f739c790a48E97eec0efb81bab5D152c0A0ecA0",swapRouter02Address:"0xd1AAE39293221B77B0C71fBD6dCb7Ea29Bb5B166",v4PoolManagerAddress:"0x38EB8B22Df3Ae7fb21e92881151B365Df14ba967",v4PositionManagerAddress:"0x05deD3F8a8e84700d68A4D81cd6780c982dB13F9",v4StateView:"0xad328439DCa7ce857662afA4584A3d571bbDDC75",v4QuoterAddress:"0x2cfa87651D3AB05Bc59E325E5eaC8495CF34cE55"},F),G=x({},R.reduce((function(e,r){return e[r]=H[r].v3CoreFactoryAddress,e}),{})),k=x({},R.reduce((function(e,r){var t=H[r].v3MigratorAddress;return t&&(e[r]=t),e}),{})),V=x({},R.reduce((function(e,r){return e[r]=H[r].multicallAddress,e}),{})),j=v("0x5e4be8Bc9637f0EAA1A755019e06A68ce081D58F"),Y=((l={})[exports.ChainId.MAINNET]="0xC4e172459f1E7939D522503B81AFAaC1014CE6F6",l),Z=((I={})[exports.ChainId.MAINNET]="0x408ED6354d4973f66138C91495F2f2FCbd8724C3",I),K=v("0x1a9C8182C09F50C8318d769245beA52c32BE35BC"),X=((h={})[exports.ChainId.MAINNET]="0x090D4613473dEE047c3f2706764f49E0821D256e",h),Q=((O={})[exports.ChainId.MAINNET]="0xeca4B0bDBf7c55E9b7925919d03CbF8Dc82537E8",O),J=x({},R.reduce((function(e,r){return e[r]=H[r].quoterAddress,e}),{})),z=x({},R.reduce((function(e,r){var t=H[r].nonfungiblePositionManagerAddress;return t&&(e[r]=t),e}),{})),$=x({},v("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")),ee=((m={})[exports.ChainId.MAINNET]="0x65770b5283117639760beA3F867b69b3697a91dd",m),re=x({},R.reduce((function(e,r){var t=H[r].tickLensAddress;return t&&(e[r]=t),e}),{})),te=R.reduce((function(e,r){var t=H[r].mixedRouteQuoterV1Address;return t&&(e[r]=t),e}),{});(y=exports.TradeType||(exports.TradeType={}))[y.EXACT_INPUT=0]="EXACT_INPUT",y[y.EXACT_OUTPUT=1]="EXACT_OUTPUT",(g=exports.Rounding||(exports.Rounding={}))[g.ROUND_DOWN=0]="ROUND_DOWN",g[g.ROUND_HALF_UP=1]="ROUND_HALF_UP",g[g.ROUND_UP=2]="ROUND_UP";var de,ne,ae=t.BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),oe=o(n),se=o(a),ie=((de={})[exports.Rounding.ROUND_DOWN]=oe.ROUND_DOWN,de[exports.Rounding.ROUND_HALF_UP]=oe.ROUND_HALF_UP,de[exports.Rounding.ROUND_UP]=oe.ROUND_UP,de),ce=((ne={})[exports.Rounding.ROUND_DOWN]=0,ne[exports.Rounding.ROUND_HALF_UP]=1,ne[exports.Rounding.ROUND_UP]=3,ne),Ae=function(){function e(e,r){void 0===r&&(r=t.BigInt(1)),this.numerator=t.BigInt(e),this.denominator=t.BigInt(r)}e.tryParseFraction=function(r){if(r instanceof t||"number"==typeof r||"string"==typeof r)return new e(r);if("numerator"in r&&"denominator"in r)return r;throw new Error("Could not parse fraction")};var r=e.prototype;return r.invert=function(){return new e(this.denominator,this.numerator)},r.add=function(r){var d=e.tryParseFraction(r);return t.equal(this.denominator,d.denominator)?new e(t.add(this.numerator,d.numerator),this.denominator):new e(t.add(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator)),t.multiply(this.denominator,d.denominator))},r.subtract=function(r){var d=e.tryParseFraction(r);return t.equal(this.denominator,d.denominator)?new e(t.subtract(this.numerator,d.numerator),this.denominator):new e(t.subtract(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator)),t.multiply(this.denominator,d.denominator))},r.lessThan=function(r){var d=e.tryParseFraction(r);return t.lessThan(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator))},r.equalTo=function(r){var d=e.tryParseFraction(r);return t.equal(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator))},r.greaterThan=function(r){var d=e.tryParseFraction(r);return t.greaterThan(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator))},r.multiply=function(r){var d=e.tryParseFraction(r);return new e(t.multiply(this.numerator,d.numerator),t.multiply(this.denominator,d.denominator))},r.divide=function(r){var d=e.tryParseFraction(r);return new e(t.multiply(this.numerator,d.denominator),t.multiply(this.denominator,d.numerator))},r.toSignificant=function(e,r,t){void 0===r&&(r={groupSeparator:""}),void 0===t&&(t=exports.Rounding.ROUND_HALF_UP),Number.isInteger(e)||d(!1),e>0||d(!1),oe.set({precision:e+1,rounding:ie[t]});var n=new oe(this.numerator.toString()).div(this.denominator.toString()).toSignificantDigits(e);return n.toFormat(n.decimalPlaces(),r)},r.toFixed=function(e,r,t){return void 0===r&&(r={groupSeparator:""}),void 0===t&&(t=exports.Rounding.ROUND_HALF_UP),Number.isInteger(e)||d(!1),e>=0||d(!1),se.DP=e,se.RM=ce[t],new se(this.numerator.toString()).div(this.denominator.toString()).toFormat(e,r)},C(e,[{key:"quotient",get:function(){return t.divide(this.numerator,this.denominator)}},{key:"remainder",get:function(){return new e(t.remainder(this.numerator,this.denominator),this.denominator)}},{key:"asFraction",get:function(){return new e(this.numerator,this.denominator)}}]),e}(),ue=o(a),fe=function(e){function r(r,n,a){var o;return o=e.call(this,n,a)||this,t.lessThanOrEqual(o.quotient,ae)||d(!1),o.currency=r,o.decimalScale=t.exponentiate(t.BigInt(10),t.BigInt(r.decimals)),o}p(r,e),r.fromRawAmount=function(e,t){return new r(e,t)},r.fromFractionalAmount=function(e,t,d){return new r(e,t,d)};var n=r.prototype;return n.add=function(t){this.currency.equals(t.currency)||d(!1);var n=e.prototype.add.call(this,t);return r.fromFractionalAmount(this.currency,n.numerator,n.denominator)},n.subtract=function(t){this.currency.equals(t.currency)||d(!1);var n=e.prototype.subtract.call(this,t);return r.fromFractionalAmount(this.currency,n.numerator,n.denominator)},n.multiply=function(t){var d=e.prototype.multiply.call(this,t);return r.fromFractionalAmount(this.currency,d.numerator,d.denominator)},n.divide=function(t){var d=e.prototype.divide.call(this,t);return r.fromFractionalAmount(this.currency,d.numerator,d.denominator)},n.toSignificant=function(r,t,d){return void 0===r&&(r=6),void 0===d&&(d=exports.Rounding.ROUND_DOWN),e.prototype.divide.call(this,this.decimalScale).toSignificant(r,t,d)},n.toFixed=function(r,t,n){return void 0===r&&(r=this.currency.decimals),void 0===n&&(n=exports.Rounding.ROUND_DOWN),r<=this.currency.decimals||d(!1),e.prototype.divide.call(this,this.decimalScale).toFixed(r,t,n)},n.toExact=function(e){return void 0===e&&(e={groupSeparator:""}),ue.DP=this.currency.decimals,new ue(this.quotient.toString()).div(this.decimalScale.toString()).toFormat(e)},C(r,[{key:"wrapped",get:function(){return this.currency.isToken?this:r.fromFractionalAmount(this.currency.wrapped,this.numerator,this.denominator)}}]),r}(Ae),Ee=new Ae(t.BigInt(100));function Ce(e){return new xe(e.numerator,e.denominator)}var xe=function(e){function r(){var r;return(r=e.apply(this,arguments)||this).isPercent=!0,r}p(r,e);var t=r.prototype;return t.add=function(r){return Ce(e.prototype.add.call(this,r))},t.subtract=function(r){return Ce(e.prototype.subtract.call(this,r))},t.multiply=function(r){return Ce(e.prototype.multiply.call(this,r))},t.divide=function(r){return Ce(e.prototype.divide.call(this,r))},t.toSignificant=function(r,t,d){return void 0===r&&(r=5),e.prototype.multiply.call(this,Ee).toSignificant(r,t,d)},t.toFixed=function(r,t,d){return void 0===r&&(r=2),e.prototype.multiply.call(this,Ee).toFixed(r,t,d)},r}(Ae),pe=function(e){function r(){for(var r,d,n,a,o,s=arguments.length,i=new Array(s),c=0;c<s;c++)i[c]=arguments[c];if(4===i.length)d=i[0],n=i[1],a=i[2],o=i[3];else{var A=i[0].quoteAmount.divide(i[0].baseAmount),u=[i[0].baseAmount.currency,i[0].quoteAmount.currency,A.denominator,A.numerator];d=u[0],n=u[1],a=u[2],o=u[3]}return(r=e.call(this,o,a)||this).baseCurrency=d,r.quoteCurrency=n,r.scalar=new Ae(t.exponentiate(t.BigInt(10),t.BigInt(d.decimals)),t.exponentiate(t.BigInt(10),t.BigInt(n.decimals))),r}p(r,e);var n=r.prototype;return n.invert=function(){return new r(this.quoteCurrency,this.baseCurrency,this.numerator,this.denominator)},n.multiply=function(t){this.quoteCurrency.equals(t.baseCurrency)||d(!1);var n=e.prototype.multiply.call(this,t);return new r(this.baseCurrency,t.quoteCurrency,n.denominator,n.numerator)},n.quote=function(r){r.currency.equals(this.baseCurrency)||d(!1);var t=e.prototype.multiply.call(this,r);return fe.fromFractionalAmount(this.quoteCurrency,t.numerator,t.denominator)},n.toSignificant=function(e,r,t){return void 0===e&&(e=6),this.adjustedForDecimals.toSignificant(e,r,t)},n.toFixed=function(e,r,t){return void 0===e&&(e=4),this.adjustedForDecimals.toFixed(e,r,t)},C(r,[{key:"adjustedForDecimals",get:function(){return e.prototype.multiply.call(this,this.scalar)}}]),r}(Ae),be=function(e,r,t,n){Number.isSafeInteger(e)||d(!1),r>=0&&r<255&&Number.isInteger(r)||d(!1),this.chainId=e,this.decimals=r,this.symbol=t,this.name=n},De=function(e){function r(){var r;return(r=e.apply(this,arguments)||this).isNative=!0,r.isToken=!1,r}return p(r,e),r}(be);function Be(e){try{return i.getAddress(e)}catch(r){throw new Error(e+" is not a valid address.")}}var Fe=/^0x[0-9a-fA-F]{40}$/,le=function(e){function r(r,t,n,a,o,i,c,A){var u;return(u=e.call(this,r,n,a,o)||this).isNative=!1,u.isToken=!0,u.address=i?function(e){if(Fe.test(e))return e;throw new Error(e+" is not a valid address.")}(t):Be(t),c&&(c.gte(s.BigNumber.from(0))||d(!1)),A&&(A.gte(s.BigNumber.from(0))||d(!1)),u.buyFeeBps=c,u.sellFeeBps=A,u}p(r,e);var t=r.prototype;return t.equals=function(e){return e.isToken&&this.chainId===e.chainId&&this.address.toLowerCase()===e.address.toLowerCase()},t.sortsBefore=function(e){return this.chainId!==e.chainId&&d(!1),this.address.toLowerCase()===e.address.toLowerCase()&&d(!1),this.address.toLowerCase()<e.address.toLowerCase()},C(r,[{key:"wrapped",get:function(){return this}}]),r}(be),Ie={1:new le(1,"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",18,"WETH","Wrapped Ether"),11155111:new le(11155111,"0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",18,"WETH","Wrapped Ether"),3:new le(3,"0xc778417E063141139Fce010982780140Aa0cD5Ab",18,"WETH","Wrapped Ether"),4:new le(4,"0xc778417E063141139Fce010982780140Aa0cD5Ab",18,"WETH","Wrapped Ether"),5:new le(5,"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",18,"WETH","Wrapped Ether"),42:new le(42,"0xd0A1E359811322d97991E03f863a0C30C2cF029C",18,"WETH","Wrapped Ether"),10:new le(10,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),69:new le(69,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),11155420:new le(11155420,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),42161:new le(42161,"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",18,"WETH","Wrapped Ether"),421611:new le(421611,"0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681",18,"WETH","Wrapped Ether"),421614:new le(421614,"0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",18,"WETH","Wrapped Ether"),8453:new le(8453,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),56:new le(56,"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",18,"WBNB","Wrapped BNB"),137:new le(137,"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",18,"WMATIC","Wrapped MATIC"),43114:new le(43114,"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",18,"WAVAX","Wrapped AVAX"),7777777:new le(7777777,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),81457:new le(81457,"0x4300000000000000000000000000000000000004",18,"WETH","Wrapped Ether"),324:new le(324,"0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",18,"WETH","Wrapped Ether"),480:new le(480,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),1301:new le(1301,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether")},he=function(e){function r(r){return e.call(this,r,18,"ETH","Ether")||this}return p(r,e),r.onChain=function(e){var t;return null!=(t=this._etherCache[e])?t:this._etherCache[e]=new r(e)},r.prototype.equals=function(e){return e.isNative&&e.chainId===this.chainId},C(r,[{key:"wrapped",get:function(){var e=Ie[this.chainId];return e||d(!1),e}}]),r}(De);he._etherCache={};var Oe=t.BigInt(Number.MAX_SAFE_INTEGER),me=t.BigInt(0),Re=t.BigInt(1),Se=t.BigInt(2);exports.ARGENT_WALLET_DETECTOR_ADDRESS=Q,exports.CHAIN_TO_ADDRESSES_MAP=H,exports.CurrencyAmount=fe,exports.ENS_REGISTRAR_ADDRESSES=$,exports.Ether=he,exports.Fraction=Ae,exports.GOVERNANCE_ALPHA_V0_ADDRESSES=j,exports.GOVERNANCE_ALPHA_V1_ADDRESSES=Y,exports.GOVERNANCE_BRAVO_ADDRESSES=Z,exports.MERKLE_DISTRIBUTOR_ADDRESS=X,exports.MIXED_ROUTE_QUOTER_V1_ADDRESSES=te,exports.MULTICALL_ADDRESSES=V,exports.MaxUint256=ae,exports.NONFUNGIBLE_POSITION_MANAGER_ADDRESSES=z,exports.NativeCurrency=De,exports.Percent=xe,exports.Price=pe,exports.QUOTER_ADDRESSES=J,exports.SOCKS_CONTROLLER_ADDRESSES=ee,exports.SUPPORTED_CHAINS=R,exports.SWAP_ROUTER_02_ADDRESSES=function(e){var r;return R.includes(e)?null!=(r=H[e].swapRouter02Address)?r:"0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45":""},exports.TICK_LENS_ADDRESSES=re,exports.TIMELOCK_ADDRESSES=K,exports.Token=le,exports.UNISWAP_NFT_AIRDROP_CLAIM_ADDRESS="0x8B799381ac40b838BBA4131ffB26197C432AFe78",exports.UNI_ADDRESSES=N,exports.V2_FACTORY_ADDRESS="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",exports.V2_FACTORY_ADDRESSES=T,exports.V2_ROUTER_ADDRESS="0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",exports.V2_ROUTER_ADDRESSES=_,exports.V3_CORE_FACTORY_ADDRESSES=G,exports.V3_MIGRATOR_ADDRESSES=k,exports.WETH9=Ie,exports.computePriceImpact=function(e,r,t){var d=e.quote(r),n=d.subtract(t).divide(d);return new xe(n.numerator,n.denominator)},exports.computeZksyncCreate2Address=function(e,r,t,d){void 0===d&&(d="0x");var n=A.keccak256(u.toUtf8Bytes("zksyncCreate2")),a=A.keccak256(d),o=A.keccak256(c.concat([n,c.hexZeroPad(e,32),t,r,a])).slice(26);return i.getAddress(o)},exports.sortedInsert=function(e,r,t,n){if(t>0||d(!1),e.length<=t||d(!1),0===e.length)return e.push(r),null;var a=e.length===t;if(a&&n(e[e.length-1],r)<=0)return r;for(var o=0,s=e.length;o<s;){var i=o+s>>>1;n(e[i],r)<=0?o=i+1:s=i}return e.splice(o,0,r),a?e.pop():null},exports.sqrt=function(e){if(t.greaterThanOrEqual(e,me)||d(!1),t.lessThan(e,Oe))return t.BigInt(Math.floor(Math.sqrt(t.toNumber(e))));var r,n;for(r=e,n=t.add(t.divide(e,Se),Re);t.lessThan(n,r);)r=n,n=t.divide(t.add(t.divide(e,n),n),Se);return r},exports.validateAndParseAddress=Be;
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var r,t=e(require("jsbi")),d=e(require("tiny-invariant")),n=e(require("decimal.js-light")),a=e(require("big.js")),o=e(require("toformat")),s=require("@ethersproject/bignumber"),i=require("@ethersproject/address"),c=require("@ethersproject/bytes"),A=require("@ethersproject/keccak256"),u=require("@ethersproject/strings");function f(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var d=t.call(e,"string");if("object"!=typeof d)return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof r?r:String(r)}function E(e,r){for(var t=0;t<r.length;t++){var d=r[t];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(e,f(d.key),d)}}function C(e,r,t){return r&&E(e.prototype,r),t&&E(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var d in t)Object.prototype.hasOwnProperty.call(t,d)&&(e[d]=t[d])}return e}).apply(this,arguments)}function p(e,r){var t,d;e.prototype=Object.create(r.prototype),e.prototype.constructor=e,t=e,d=r,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e})(t,d)}(r=exports.ChainId||(exports.ChainId={}))[r.MAINNET=1]="MAINNET",r[r.GOERLI=5]="GOERLI",r[r.SEPOLIA=11155111]="SEPOLIA",r[r.OPTIMISM=10]="OPTIMISM",r[r.OPTIMISM_GOERLI=420]="OPTIMISM_GOERLI",r[r.OPTIMISM_SEPOLIA=11155420]="OPTIMISM_SEPOLIA",r[r.ARBITRUM_ONE=42161]="ARBITRUM_ONE",r[r.ARBITRUM_GOERLI=421613]="ARBITRUM_GOERLI",r[r.ARBITRUM_SEPOLIA=421614]="ARBITRUM_SEPOLIA",r[r.POLYGON=137]="POLYGON",r[r.POLYGON_MUMBAI=80001]="POLYGON_MUMBAI",r[r.CELO=42220]="CELO",r[r.CELO_ALFAJORES=44787]="CELO_ALFAJORES",r[r.GNOSIS=100]="GNOSIS",r[r.MOONBEAM=1284]="MOONBEAM",r[r.BNB=56]="BNB",r[r.AVALANCHE=43114]="AVALANCHE",r[r.BASE_GOERLI=84531]="BASE_GOERLI",r[r.BASE=8453]="BASE",r[r.ZORA=7777777]="ZORA",r[r.ZORA_SEPOLIA=999999999]="ZORA_SEPOLIA",r[r.ROOTSTOCK=30]="ROOTSTOCK",r[r.BLAST=81457]="BLAST",r[r.ZKSYNC=324]="ZKSYNC",r[r.WORLDCHAIN=480]="WORLDCHAIN",r[r.ASTROCHAIN_SEPOLIA=1301]="ASTROCHAIN_SEPOLIA";var b,D,B,F,l,I,h,O,m,R=[exports.ChainId.MAINNET,exports.ChainId.OPTIMISM,exports.ChainId.OPTIMISM_GOERLI,exports.ChainId.OPTIMISM_SEPOLIA,exports.ChainId.ARBITRUM_ONE,exports.ChainId.ARBITRUM_GOERLI,exports.ChainId.ARBITRUM_SEPOLIA,exports.ChainId.POLYGON,exports.ChainId.POLYGON_MUMBAI,exports.ChainId.GOERLI,exports.ChainId.SEPOLIA,exports.ChainId.CELO_ALFAJORES,exports.ChainId.CELO,exports.ChainId.BNB,exports.ChainId.AVALANCHE,exports.ChainId.BASE,exports.ChainId.BASE_GOERLI,exports.ChainId.ZORA,exports.ChainId.ZORA_SEPOLIA,exports.ChainId.ROOTSTOCK,exports.ChainId.BLAST,exports.ChainId.ZKSYNC,exports.ChainId.WORLDCHAIN,exports.ChainId.ASTROCHAIN_SEPOLIA];(b=exports.NativeCurrencyName||(exports.NativeCurrencyName={})).ETHER="ETH",b.MATIC="MATIC",b.CELO="CELO",b.GNOSIS="XDAI",b.MOONBEAM="GLMR",b.BNB="BNB",b.AVAX="AVAX",b.ROOTSTOCK="RBTC";var S=[exports.ChainId.MAINNET,exports.ChainId.GOERLI,exports.ChainId.SEPOLIA];function v(e,r){return void 0===r&&(r=[]),S.concat(r).reduce((function(r,t){return r[t]=e,r}),{})}var y,g,N=v("0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",[exports.ChainId.OPTIMISM,exports.ChainId.ARBITRUM_ONE,exports.ChainId.POLYGON,exports.ChainId.POLYGON_MUMBAI,exports.ChainId.SEPOLIA]),T=((D={})[exports.ChainId.MAINNET]="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",D[exports.ChainId.GOERLI]="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",D[exports.ChainId.SEPOLIA]="0xF62c03E08ada871A0bEb309762E260a7a6a880E6",D[exports.ChainId.OPTIMISM]="0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf",D[exports.ChainId.ARBITRUM_ONE]="0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9",D[exports.ChainId.AVALANCHE]="0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C",D[exports.ChainId.BASE]="0x8909dc15e40173ff4699343b6eb8132c65e18ec6",D[exports.ChainId.BNB]="0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6",D[exports.ChainId.POLYGON]="0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C",D[exports.ChainId.CELO]="0x79a530c8e2fA8748B7B40dd3629C0520c2cCf03f",D[exports.ChainId.BLAST]="0x5C346464d33F90bABaf70dB6388507CC889C1070",D[exports.ChainId.WORLDCHAIN]="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",D[exports.ChainId.ASTROCHAIN_SEPOLIA]="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",D),_=((B={})[exports.ChainId.MAINNET]="0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",B[exports.ChainId.GOERLI]="0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",B[exports.ChainId.SEPOLIA]="0xeE567Fe1712Faf6149d80dA1E6934E354124CfE3",B[exports.ChainId.ARBITRUM_ONE]="0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",B[exports.ChainId.OPTIMISM]="0x4a7b5da61326a6379179b40d00f57e5bbdc962c2",B[exports.ChainId.BASE]="0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",B[exports.ChainId.AVALANCHE]="0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",B[exports.ChainId.BNB]="0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",B[exports.ChainId.POLYGON]="0xedf6066a2b290c185783862c7f4776a2c8077ad1",B[exports.ChainId.BLAST]="0xBB66Eb1c5e875933D44DAe661dbD80e5D9B03035",B[exports.ChainId.WORLDCHAIN]="0x541aB7c31A119441eF3575F6973277DE0eF460bd",B[exports.ChainId.ASTROCHAIN_SEPOLIA]="0x920b806E40A00E02E7D2b94fFc89860fDaEd3640",B),L={v3CoreFactoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",multicallAddress:"0x1F98415757620B543A52E61c46B32eB19261F984",quoterAddress:"0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6",v3MigratorAddress:"0xA5644E29708357803b5A882D272c41cC0dF92B34",nonfungiblePositionManagerAddress:"0xC36442b4a4522E871399CD717aBDD847Ab11FE88"},M=x({},L,{mixedRouteQuoterV1Address:"0x84E44095eeBfEC7793Cd7d5b57B7e401D7f1cA2E"}),P=x({},L,{mixedRouteQuoterV1Address:"0xBa60b6e6fF25488308789E6e0A65D838be34194e"}),w=L,U=x({},L,{multicallAddress:"0xadF885960B47eA2CD9B55E6DAc6B42b7Cb2806dB",tickLensAddress:"0xbfd8137f7d1516D3ea5cA83523914859ec47F573"}),W=L,q={v3CoreFactoryAddress:"0xAfE208a311B21f13EF87E33A90049fC17A7acDEc",multicallAddress:"0x633987602DE5C4F337e3DbF265303A1080324204",quoterAddress:"0x82825d0554fA07f7FC52Ab63c961F330fdEFa8E8",v3MigratorAddress:"0x3cFd4d48EDfDCC53D3f173F596f621064614C582",nonfungiblePositionManagerAddress:"0x3d79EdAaBC0EaB6F08ED885C05Fc0B014290D95A",tickLensAddress:"0x5f115D9113F88e0a0Db1b5033D90D4a9690AcD3D"},H=((F={})[exports.ChainId.MAINNET]=M,F[exports.ChainId.OPTIMISM]=w,F[exports.ChainId.ARBITRUM_ONE]=U,F[exports.ChainId.POLYGON]=W,F[exports.ChainId.POLYGON_MUMBAI]=W,F[exports.ChainId.GOERLI]=P,F[exports.ChainId.CELO]=q,F[exports.ChainId.CELO_ALFAJORES]=q,F[exports.ChainId.BNB]={v3CoreFactoryAddress:"0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7",multicallAddress:"0x963Df249eD09c358A4819E39d9Cd5736c3087184",quoterAddress:"0x78D78E420Da98ad378D7799bE8f4AF69033EB077",v3MigratorAddress:"0x32681814957e0C13117ddc0c2aba232b5c9e760f",nonfungiblePositionManagerAddress:"0x7b8A01B39D58278b5DE7e48c8449c9f4F5170613",tickLensAddress:"0xD9270014D396281579760619CCf4c3af0501A47C",swapRouter02Address:"0xB971eF87ede563556b2ED4b1C0b0019111Dd85d2"},F[exports.ChainId.OPTIMISM_GOERLI]={v3CoreFactoryAddress:"0xB656dA17129e7EB733A557f4EBc57B76CFbB5d10",multicallAddress:"0x07F2D8a2a02251B62af965f22fC4744A5f96BCCd",quoterAddress:"0x9569CbA925c8ca2248772A9A4976A516743A246F",v3MigratorAddress:"0xf6c55fBe84B1C8c3283533c53F51bC32F5C7Aba8",nonfungiblePositionManagerAddress:"0x39Ca85Af2F383190cBf7d7c41ED9202D27426EF6",tickLensAddress:"0xe6140Bd164b63E8BfCfc40D5dF952f83e171758e"},F[exports.ChainId.OPTIMISM_SEPOLIA]={v3CoreFactoryAddress:"0x8CE191193D15ea94e11d327b4c7ad8bbE520f6aF",multicallAddress:"0x80e4e06841bb76AA9735E0448cB8d003C0EF009a",quoterAddress:"0x0FBEa6cf957d95ee9313490050F6A0DA68039404",v3MigratorAddress:"0xE7EcbAAaA54D007A00dbb6c1d2f150066D69dA07",nonfungiblePositionManagerAddress:"0xdA75cEf1C93078e8b736FCA5D5a30adb97C8957d",tickLensAddress:"0xCb7f54747F58F8944973cea5b8f4ac2209BadDC5",swapRouter02Address:"0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4"},F[exports.ChainId.ARBITRUM_GOERLI]={v3CoreFactoryAddress:"0x4893376342d5D7b3e31d4184c08b265e5aB2A3f6",multicallAddress:"0x8260CB40247290317a4c062F3542622367F206Ee",quoterAddress:"0x1dd92b83591781D0C6d98d07391eea4b9a6008FA",v3MigratorAddress:"0xA815919D2584Ac3F76ea9CB62E6Fd40a43BCe0C3",nonfungiblePositionManagerAddress:"0x622e4726a167799826d1E1D150b076A7725f5D81",tickLensAddress:"0xb52429333da969a0C79a60930a4Bf0020E5D1DE8"},F[exports.ChainId.ARBITRUM_SEPOLIA]={v3CoreFactoryAddress:"0x248AB79Bbb9bC29bB72f7Cd42F17e054Fc40188e",multicallAddress:"0x2B718b475e385eD29F56775a66aAB1F5cC6B2A0A",quoterAddress:"0x2779a0CC1c3e0E44D2542EC3e79e3864Ae93Ef0B",v3MigratorAddress:"0x398f43ef2c67B941147157DA1c5a868E906E043D",nonfungiblePositionManagerAddress:"0x6b2937Bde17889EDCf8fbD8dE31C3C2a70Bc4d65",tickLensAddress:"0x0fd18587734e5C2dcE2dccDcC7DD1EC89ba557d9",swapRouter02Address:"0x101F443B4d1b059569D643917553c771E1b9663E"},F[exports.ChainId.SEPOLIA]={v3CoreFactoryAddress:"0x0227628f3F023bb0B980b67D528571c95c6DaC1c",multicallAddress:"0xD7F33bCdb21b359c8ee6F0251d30E94832baAd07",quoterAddress:"0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3",v3MigratorAddress:"0x729004182cF005CEC8Bd85df140094b6aCbe8b15",nonfungiblePositionManagerAddress:"0x1238536071E1c677A632429e3655c799b22cDA52",tickLensAddress:"0xd7f33bcdb21b359c8ee6f0251d30e94832baad07",swapRouter02Address:"0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",mixedRouteQuoterV2Address:"0x4745f77b56a0e2294426e3936dc4fab68d9543cd",v4PoolManagerAddress:"0x8C4BcBE6b9eF47855f97E675296FA3F6fafa5F1A",v4PositionManagerAddress:"0x1B1C77B606d13b09C84d1c7394B96b147bC03147",v4StateView:"0x823d45b1329bcF3b369F08F36ba2690Ff8e058C3",v4QuoterAddress:"0xCd8716395D55aD17496448a4b2C42557001e9743"},F[exports.ChainId.AVALANCHE]={v3CoreFactoryAddress:"0x740b1c1de25031C31FF4fC9A62f554A55cdC1baD",multicallAddress:"0x0139141Cd4Ee88dF3Cdb65881D411bAE271Ef0C2",quoterAddress:"0xbe0F5544EC67e9B3b2D979aaA43f18Fd87E6257F",v3MigratorAddress:"0x44f5f1f5E452ea8d29C890E8F6e893fC0f1f0f97",nonfungiblePositionManagerAddress:"0x655C406EBFa14EE2006250925e54ec43AD184f8B",tickLensAddress:"0xEB9fFC8bf81b4fFd11fb6A63a6B0f098c6e21950",swapRouter02Address:"0xbb00FF08d01D300023C629E8fFfFcb65A5a578cE"},F[exports.ChainId.BASE]={v3CoreFactoryAddress:"0x33128a8fC17869897dcE68Ed026d694621f6FDfD",multicallAddress:"0x091e99cb1C49331a94dD62755D168E941AbD0693",quoterAddress:"0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",v3MigratorAddress:"0x23cF10b1ee3AdfCA73B0eF17C07F7577e7ACd2d7",nonfungiblePositionManagerAddress:"0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",tickLensAddress:"0x0CdeE061c75D43c82520eD998C23ac2991c9ac6d",swapRouter02Address:"0x2626664c2603336E57B271c5C0b26F421741e481",mixedRouteQuoterV1Address:"0xe544efae946f0008ae9a8d64493efa7886b73776"},F[exports.ChainId.BASE_GOERLI]={v3CoreFactoryAddress:"0x9323c1d6D800ed51Bd7C6B216cfBec678B7d0BC2",multicallAddress:"0xB206027a9E0E13F05eBEFa5D2402Bab3eA716439",quoterAddress:"0xedf539058e28E5937dAef3f69cEd0b25fbE66Ae9",v3MigratorAddress:"0x3efe5d02a04b7351D671Db7008ec6eBA9AD9e3aE",nonfungiblePositionManagerAddress:"0x3c61369ef0D1D2AFa70d8feC2F31C5D6Ce134F30",tickLensAddress:"0x1acB873Ee909D0c98adB18e4474943249F931b92",swapRouter02Address:"0x8357227D4eDc78991Db6FDB9bD6ADE250536dE1d"},F[exports.ChainId.ZORA]={v3CoreFactoryAddress:"0x7145F8aeef1f6510E92164038E1B6F8cB2c42Cbb",multicallAddress:"0xA51c76bEE6746cB487a7e9312E43e2b8f4A37C15",quoterAddress:"0x11867e1b3348F3ce4FcC170BC5af3d23E07E64Df",v3MigratorAddress:"0x048352d8dCF13686982C799da63fA6426a9D0b60",nonfungiblePositionManagerAddress:"0xbC91e8DfA3fF18De43853372A3d7dfe585137D78",tickLensAddress:"0x209AAda09D74Ad3B8D0E92910Eaf85D2357e3044",swapRouter02Address:"0x7De04c96BE5159c3b5CeffC82aa176dc81281557"},F[exports.ChainId.ZORA_SEPOLIA]={v3CoreFactoryAddress:"0x4324A677D74764f46f33ED447964252441aA8Db6",multicallAddress:"0xA1E7e3A69671C4494EC59Dbd442de930a93F911A",quoterAddress:"0xC195976fEF0985886E37036E2DF62bF371E12Df0",v3MigratorAddress:"0x65ef259b31bf1d977c37e9434658694267674897",nonfungiblePositionManagerAddress:"0xB8458EaAe43292e3c1F7994EFd016bd653d23c20",tickLensAddress:"0x23C0F71877a1Fc4e20A78018f9831365c85f3064"},F[exports.ChainId.ROOTSTOCK]={v3CoreFactoryAddress:"0xaF37EC98A00FD63689CF3060BF3B6784E00caD82",multicallAddress:"0x996a9858cDfa45Ad68E47c9A30a7201E29c6a386",quoterAddress:"0xb51727c996C68E60F598A923a5006853cd2fEB31",v3MigratorAddress:"0x16678977CA4ec3DAD5efc7b15780295FE5f56162",nonfungiblePositionManagerAddress:"0x9d9386c042F194B460Ec424a1e57ACDE25f5C4b1",tickLensAddress:"0x55B9dF5bF68ADe972191a91980459f48ecA16afC",swapRouter02Address:"0x0B14ff67f0014046b4b99057Aec4509640b3947A"},F[exports.ChainId.BLAST]={v3CoreFactoryAddress:"0x792edAdE80af5fC680d96a2eD80A44247D2Cf6Fd",multicallAddress:"0xdC7f370de7631cE9e2c2e1DCDA6B3B5744Cf4705",quoterAddress:"0x6Cdcd65e03c1CEc3730AeeCd45bc140D57A25C77",v3MigratorAddress:"0x15CA7043CD84C5D21Ae76Ba0A1A967d42c40ecE0",nonfungiblePositionManagerAddress:"0xB218e4f7cF0533d4696fDfC419A0023D33345F28",tickLensAddress:"0x2E95185bCdD928a3e984B7e2D6560Ab1b17d7274",swapRouter02Address:"0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66"},F[exports.ChainId.ZKSYNC]={v3CoreFactoryAddress:"0x8FdA5a7a8dCA67BBcDd10F02Fa0649A937215422",multicallAddress:"0x0c68a7C72f074d1c45C16d41fa74eEbC6D16a65C",quoterAddress:"0x8Cb537fc92E26d8EBBb760E632c95484b6Ea3e28",v3MigratorAddress:"0x611841b24E43C4ACfd290B427a3D6cf1A59dac8E",nonfungiblePositionManagerAddress:"0x0616e5762c1E7Dc3723c50663dF10a162D690a86",tickLensAddress:"0xe10FF11b809f8EE07b056B452c3B2caa7FE24f89",swapRouter02Address:"0x99c56385daBCE3E81d8499d0b8d0257aBC07E8A3"},F[exports.ChainId.WORLDCHAIN]={v3CoreFactoryAddress:"0x7a5028BDa40e7B173C278C5342087826455ea25a",multicallAddress:"0x0a22c04215c97E3F532F4eF30e0aD9458792dAB9",quoterAddress:"0x10158D43e6cc414deE1Bd1eB0EfC6a5cBCfF244c",v3MigratorAddress:"0x9EBDdCBa71C9027E1eB45135672a30bcFEec9de3",nonfungiblePositionManagerAddress:"0xec12a9F9a09f50550686363766Cc153D03c27b5e",tickLensAddress:"0xE61df0CaC9d85876aCE5E3037005D80943570623",swapRouter02Address:"0x091AD9e2e6e5eD44c1c66dB50e49A601F9f36cF6"},F[exports.ChainId.ASTROCHAIN_SEPOLIA]={v3CoreFactoryAddress:"0x1F98431c8aD98523631AE4a59f267346ea31F984",multicallAddress:"0x9D0F15f2cf58655fDDcD1EE6129C547fDaeD01b1",quoterAddress:"0x6Dd37329A1A225a6Fca658265D460423DCafBF89",v3MigratorAddress:"0xb5FA244C9d6D04B2FBac84418b3c4910ED1Ae5f2",nonfungiblePositionManagerAddress:"0xB7F724d6dDDFd008eFf5cc2834edDE5F9eF0d075",tickLensAddress:"0x5f739c790a48E97eec0efb81bab5D152c0A0ecA0",swapRouter02Address:"0xd1AAE39293221B77B0C71fBD6dCb7Ea29Bb5B166",v4PoolManagerAddress:"0x38EB8B22Df3Ae7fb21e92881151B365Df14ba967",v4PositionManagerAddress:"0x05deD3F8a8e84700d68A4D81cd6780c982dB13F9",v4StateView:"0xad328439DCa7ce857662afA4584A3d571bbDDC75",v4QuoterAddress:"0x2cfa87651D3AB05Bc59E325E5eaC8495CF34cE55"},F),G=x({},R.reduce((function(e,r){return e[r]=H[r].v3CoreFactoryAddress,e}),{})),k=x({},R.reduce((function(e,r){var t=H[r].v3MigratorAddress;return t&&(e[r]=t),e}),{})),V=x({},R.reduce((function(e,r){return e[r]=H[r].multicallAddress,e}),{})),j=v("0x5e4be8Bc9637f0EAA1A755019e06A68ce081D58F"),Y=((l={})[exports.ChainId.MAINNET]="0xC4e172459f1E7939D522503B81AFAaC1014CE6F6",l),Z=((I={})[exports.ChainId.MAINNET]="0x408ED6354d4973f66138C91495F2f2FCbd8724C3",I),K=v("0x1a9C8182C09F50C8318d769245beA52c32BE35BC"),X=((h={})[exports.ChainId.MAINNET]="0x090D4613473dEE047c3f2706764f49E0821D256e",h),Q=((O={})[exports.ChainId.MAINNET]="0xeca4B0bDBf7c55E9b7925919d03CbF8Dc82537E8",O),J=x({},R.reduce((function(e,r){return e[r]=H[r].quoterAddress,e}),{})),z=x({},R.reduce((function(e,r){var t=H[r].nonfungiblePositionManagerAddress;return t&&(e[r]=t),e}),{})),$=x({},v("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e")),ee=((m={})[exports.ChainId.MAINNET]="0x65770b5283117639760beA3F867b69b3697a91dd",m),re=x({},R.reduce((function(e,r){var t=H[r].tickLensAddress;return t&&(e[r]=t),e}),{})),te=R.reduce((function(e,r){var t=H[r].mixedRouteQuoterV1Address;return t&&(e[r]=t),e}),{});(y=exports.TradeType||(exports.TradeType={}))[y.EXACT_INPUT=0]="EXACT_INPUT",y[y.EXACT_OUTPUT=1]="EXACT_OUTPUT",(g=exports.Rounding||(exports.Rounding={}))[g.ROUND_DOWN=0]="ROUND_DOWN",g[g.ROUND_HALF_UP=1]="ROUND_HALF_UP",g[g.ROUND_UP=2]="ROUND_UP";var de,ne,ae=t.BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),oe=o(n),se=o(a),ie=((de={})[exports.Rounding.ROUND_DOWN]=oe.ROUND_DOWN,de[exports.Rounding.ROUND_HALF_UP]=oe.ROUND_HALF_UP,de[exports.Rounding.ROUND_UP]=oe.ROUND_UP,de),ce=((ne={})[exports.Rounding.ROUND_DOWN]=0,ne[exports.Rounding.ROUND_HALF_UP]=1,ne[exports.Rounding.ROUND_UP]=3,ne),Ae=function(){function e(e,r){void 0===r&&(r=t.BigInt(1)),this.numerator=t.BigInt(e),this.denominator=t.BigInt(r)}e.tryParseFraction=function(r){if(r instanceof t||"number"==typeof r||"string"==typeof r)return new e(r);if("numerator"in r&&"denominator"in r)return r;throw new Error("Could not parse fraction")};var r=e.prototype;return r.invert=function(){return new e(this.denominator,this.numerator)},r.add=function(r){var d=e.tryParseFraction(r);return t.equal(this.denominator,d.denominator)?new e(t.add(this.numerator,d.numerator),this.denominator):new e(t.add(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator)),t.multiply(this.denominator,d.denominator))},r.subtract=function(r){var d=e.tryParseFraction(r);return t.equal(this.denominator,d.denominator)?new e(t.subtract(this.numerator,d.numerator),this.denominator):new e(t.subtract(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator)),t.multiply(this.denominator,d.denominator))},r.lessThan=function(r){var d=e.tryParseFraction(r);return t.lessThan(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator))},r.equalTo=function(r){var d=e.tryParseFraction(r);return t.equal(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator))},r.greaterThan=function(r){var d=e.tryParseFraction(r);return t.greaterThan(t.multiply(this.numerator,d.denominator),t.multiply(d.numerator,this.denominator))},r.multiply=function(r){var d=e.tryParseFraction(r);return new e(t.multiply(this.numerator,d.numerator),t.multiply(this.denominator,d.denominator))},r.divide=function(r){var d=e.tryParseFraction(r);return new e(t.multiply(this.numerator,d.denominator),t.multiply(this.denominator,d.numerator))},r.toSignificant=function(e,r,t){void 0===r&&(r={groupSeparator:""}),void 0===t&&(t=exports.Rounding.ROUND_HALF_UP),Number.isInteger(e)||d(!1),e>0||d(!1),oe.set({precision:e+1,rounding:ie[t]});var n=new oe(this.numerator.toString()).div(this.denominator.toString()).toSignificantDigits(e);return n.toFormat(n.decimalPlaces(),r)},r.toFixed=function(e,r,t){return void 0===r&&(r={groupSeparator:""}),void 0===t&&(t=exports.Rounding.ROUND_HALF_UP),Number.isInteger(e)||d(!1),e>=0||d(!1),se.DP=e,se.RM=ce[t],new se(this.numerator.toString()).div(this.denominator.toString()).toFormat(e,r)},C(e,[{key:"quotient",get:function(){return t.divide(this.numerator,this.denominator)}},{key:"remainder",get:function(){return new e(t.remainder(this.numerator,this.denominator),this.denominator)}},{key:"asFraction",get:function(){return new e(this.numerator,this.denominator)}}]),e}(),ue=o(a),fe=function(e){function r(r,n,a){var o;return o=e.call(this,n,a)||this,t.lessThanOrEqual(o.quotient,ae)||d(!1),o.currency=r,o.decimalScale=t.exponentiate(t.BigInt(10),t.BigInt(r.decimals)),o}p(r,e),r.fromRawAmount=function(e,t){return new r(e,t)},r.fromFractionalAmount=function(e,t,d){return new r(e,t,d)};var n=r.prototype;return n.add=function(t){this.currency.equals(t.currency)||d(!1);var n=e.prototype.add.call(this,t);return r.fromFractionalAmount(this.currency,n.numerator,n.denominator)},n.subtract=function(t){this.currency.equals(t.currency)||d(!1);var n=e.prototype.subtract.call(this,t);return r.fromFractionalAmount(this.currency,n.numerator,n.denominator)},n.multiply=function(t){var d=e.prototype.multiply.call(this,t);return r.fromFractionalAmount(this.currency,d.numerator,d.denominator)},n.divide=function(t){var d=e.prototype.divide.call(this,t);return r.fromFractionalAmount(this.currency,d.numerator,d.denominator)},n.toSignificant=function(r,t,d){return void 0===r&&(r=6),void 0===d&&(d=exports.Rounding.ROUND_DOWN),e.prototype.divide.call(this,this.decimalScale).toSignificant(r,t,d)},n.toFixed=function(r,t,n){return void 0===r&&(r=this.currency.decimals),void 0===n&&(n=exports.Rounding.ROUND_DOWN),r<=this.currency.decimals||d(!1),e.prototype.divide.call(this,this.decimalScale).toFixed(r,t,n)},n.toExact=function(e){return void 0===e&&(e={groupSeparator:""}),ue.DP=this.currency.decimals,new ue(this.quotient.toString()).div(this.decimalScale.toString()).toFormat(e)},C(r,[{key:"wrapped",get:function(){return this.currency.isToken?this:r.fromFractionalAmount(this.currency.wrapped,this.numerator,this.denominator)}}]),r}(Ae),Ee=new Ae(t.BigInt(100));function Ce(e){return new xe(e.numerator,e.denominator)}var xe=function(e){function r(){var r;return(r=e.apply(this,arguments)||this).isPercent=!0,r}p(r,e);var t=r.prototype;return t.add=function(r){return Ce(e.prototype.add.call(this,r))},t.subtract=function(r){return Ce(e.prototype.subtract.call(this,r))},t.multiply=function(r){return Ce(e.prototype.multiply.call(this,r))},t.divide=function(r){return Ce(e.prototype.divide.call(this,r))},t.toSignificant=function(r,t,d){return void 0===r&&(r=5),e.prototype.multiply.call(this,Ee).toSignificant(r,t,d)},t.toFixed=function(r,t,d){return void 0===r&&(r=2),e.prototype.multiply.call(this,Ee).toFixed(r,t,d)},r}(Ae),pe=function(e){function r(){for(var r,d,n,a,o,s=arguments.length,i=new Array(s),c=0;c<s;c++)i[c]=arguments[c];if(4===i.length)d=i[0],n=i[1],a=i[2],o=i[3];else{var A=i[0].quoteAmount.divide(i[0].baseAmount),u=[i[0].baseAmount.currency,i[0].quoteAmount.currency,A.denominator,A.numerator];d=u[0],n=u[1],a=u[2],o=u[3]}return(r=e.call(this,o,a)||this).baseCurrency=d,r.quoteCurrency=n,r.scalar=new Ae(t.exponentiate(t.BigInt(10),t.BigInt(d.decimals)),t.exponentiate(t.BigInt(10),t.BigInt(n.decimals))),r}p(r,e);var n=r.prototype;return n.invert=function(){return new r(this.quoteCurrency,this.baseCurrency,this.numerator,this.denominator)},n.multiply=function(t){this.quoteCurrency.equals(t.baseCurrency)||d(!1);var n=e.prototype.multiply.call(this,t);return new r(this.baseCurrency,t.quoteCurrency,n.denominator,n.numerator)},n.quote=function(r){r.currency.equals(this.baseCurrency)||d(!1);var t=e.prototype.multiply.call(this,r);return fe.fromFractionalAmount(this.quoteCurrency,t.numerator,t.denominator)},n.toSignificant=function(e,r,t){return void 0===e&&(e=6),this.adjustedForDecimals.toSignificant(e,r,t)},n.toFixed=function(e,r,t){return void 0===e&&(e=4),this.adjustedForDecimals.toFixed(e,r,t)},C(r,[{key:"adjustedForDecimals",get:function(){return e.prototype.multiply.call(this,this.scalar)}}]),r}(Ae),be=function(e,r,t,n){Number.isSafeInteger(e)||d(!1),r>=0&&r<255&&Number.isInteger(r)||d(!1),this.chainId=e,this.decimals=r,this.symbol=t,this.name=n},De=function(e){function r(){var r;return(r=e.apply(this,arguments)||this).isNative=!0,r.isToken=!1,r}return p(r,e),r}(be);function Be(e){try{return i.getAddress(e)}catch(r){throw new Error(e+" is not a valid address.")}}var Fe=/^0x[0-9a-fA-F]{40}$/,le=function(e){function r(r,t,n,a,o,i,c,A){var u;return(u=e.call(this,r,n,a,o)||this).isNative=!1,u.isToken=!0,u.address=i?function(e){if(Fe.test(e))return e;throw new Error(e+" is not a valid address.")}(t):Be(t),c&&(c.gte(s.BigNumber.from(0))||d(!1)),A&&(A.gte(s.BigNumber.from(0))||d(!1)),u.buyFeeBps=c,u.sellFeeBps=A,u}p(r,e);var t=r.prototype;return t.equals=function(e){return e.isToken&&this.chainId===e.chainId&&this.address.toLowerCase()===e.address.toLowerCase()},t.sortsBefore=function(e){return this.chainId!==e.chainId&&d(!1),this.address.toLowerCase()===e.address.toLowerCase()&&d(!1),this.address.toLowerCase()<e.address.toLowerCase()},C(r,[{key:"wrapped",get:function(){return this}}]),r}(be),Ie={1:new le(1,"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",18,"WETH","Wrapped Ether"),11155111:new le(11155111,"0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",18,"WETH","Wrapped Ether"),3:new le(3,"0xc778417E063141139Fce010982780140Aa0cD5Ab",18,"WETH","Wrapped Ether"),4:new le(4,"0xc778417E063141139Fce010982780140Aa0cD5Ab",18,"WETH","Wrapped Ether"),5:new le(5,"0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",18,"WETH","Wrapped Ether"),42:new le(42,"0xd0A1E359811322d97991E03f863a0C30C2cF029C",18,"WETH","Wrapped Ether"),10:new le(10,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),69:new le(69,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),11155420:new le(11155420,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),42161:new le(42161,"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",18,"WETH","Wrapped Ether"),421611:new le(421611,"0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681",18,"WETH","Wrapped Ether"),421614:new le(421614,"0x980B62Da83eFf3D4576C647993b0c1D7faf17c73",18,"WETH","Wrapped Ether"),8453:new le(8453,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),56:new le(56,"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",18,"WBNB","Wrapped BNB"),137:new le(137,"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",18,"WMATIC","Wrapped MATIC"),43114:new le(43114,"0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",18,"WAVAX","Wrapped AVAX"),7777777:new le(7777777,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),81457:new le(81457,"0x4300000000000000000000000000000000000004",18,"WETH","Wrapped Ether"),324:new le(324,"0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91",18,"WETH","Wrapped Ether"),480:new le(480,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether"),1301:new le(1301,"0x4200000000000000000000000000000000000006",18,"WETH","Wrapped Ether")},he=function(e){function r(r){return e.call(this,r,18,"ETH","Ether")||this}return p(r,e),r.onChain=function(e){var t;return null!=(t=this._etherCache[e])?t:this._etherCache[e]=new r(e)},r.prototype.equals=function(e){return e.isNative&&e.chainId===this.chainId},C(r,[{key:"wrapped",get:function(){var e=Ie[this.chainId];return e||d(!1),e}}]),r}(De);he._etherCache={};var Oe=t.BigInt(Number.MAX_SAFE_INTEGER),me=t.BigInt(0),Re=t.BigInt(1),Se=t.BigInt(2);exports.ARGENT_WALLET_DETECTOR_ADDRESS=Q,exports.CHAIN_TO_ADDRESSES_MAP=H,exports.CurrencyAmount=fe,exports.ENS_REGISTRAR_ADDRESSES=$,exports.Ether=he,exports.Fraction=Ae,exports.GOVERNANCE_ALPHA_V0_ADDRESSES=j,exports.GOVERNANCE_ALPHA_V1_ADDRESSES=Y,exports.GOVERNANCE_BRAVO_ADDRESSES=Z,exports.MERKLE_DISTRIBUTOR_ADDRESS=X,exports.MIXED_ROUTE_QUOTER_V1_ADDRESSES=te,exports.MULTICALL_ADDRESSES=V,exports.MaxUint256=ae,exports.NONFUNGIBLE_POSITION_MANAGER_ADDRESSES=z,exports.NativeCurrency=De,exports.Percent=xe,exports.Price=pe,exports.QUOTER_ADDRESSES=J,exports.SOCKS_CONTROLLER_ADDRESSES=ee,exports.SUPPORTED_CHAINS=R,exports.SWAP_ROUTER_02_ADDRESSES=function(e){var r;return R.includes(e)?null!=(r=H[e].swapRouter02Address)?r:"0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45":""},exports.TICK_LENS_ADDRESSES=re,exports.TIMELOCK_ADDRESSES=K,exports.Token=le,exports.UNISWAP_NFT_AIRDROP_CLAIM_ADDRESS="0x8B799381ac40b838BBA4131ffB26197C432AFe78",exports.UNI_ADDRESSES=N,exports.V2_FACTORY_ADDRESS="0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",exports.V2_FACTORY_ADDRESSES=T,exports.V2_ROUTER_ADDRESS="0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",exports.V2_ROUTER_ADDRESSES=_,exports.V3_CORE_FACTORY_ADDRESSES=G,exports.V3_MIGRATOR_ADDRESSES=k,exports.WETH9=Ie,exports.computePriceImpact=function(e,r,t){var d=e.quote(r),n=d.subtract(t).divide(d);return new xe(n.numerator,n.denominator)},exports.computeZksyncCreate2Address=function(e,r,t,d){void 0===d&&(d="0x");var n=A.keccak256(u.toUtf8Bytes("zksyncCreate2")),a=A.keccak256(d),o=A.keccak256(c.concat([n,c.hexZeroPad(e,32),t,r,a])).slice(26);return i.getAddress(o)},exports.sortedInsert=function(e,r,t,n){if(t>0||d(!1),e.length<=t||d(!1),0===e.length)return e.push(r),null;var a=e.length===t;if(a&&n(e[e.length-1],r)<=0)return r;for(var o=0,s=e.length;o<s;){var i=o+s>>>1;n(e[i],r)<=0?o=i+1:s=i}return e.splice(o,0,r),a?e.pop():null},exports.sqrt=function(e){if(t.greaterThanOrEqual(e,me)||d(!1),t.lessThan(e,Oe))return t.BigInt(Math.floor(Math.sqrt(t.toNumber(e))));var r,n;for(r=e,n=t.add(t.divide(e,Se),Re);t.lessThan(n,r);)r=n,n=t.divide(t.add(t.divide(e,n),n),Se);return r},exports.validateAndParseAddress=Be;
//# sourceMappingURL=sdk-core.cjs.production.min.js.map

@@ -130,3 +130,3 @@ import JSBI from 'jsbi';

var V2_FACTORY_ADDRESS = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f';
var V2_FACTORY_ADDRESSES = (_V2_FACTORY_ADDRESSES = {}, _V2_FACTORY_ADDRESSES[ChainId.MAINNET] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[ChainId.GOERLI] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[ChainId.SEPOLIA] = '0xB7f907f7A9eBC822a80BD25E224be42Ce0A698A0', _V2_FACTORY_ADDRESSES[ChainId.OPTIMISM] = '0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf', _V2_FACTORY_ADDRESSES[ChainId.ARBITRUM_ONE] = '0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9', _V2_FACTORY_ADDRESSES[ChainId.AVALANCHE] = '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', _V2_FACTORY_ADDRESSES[ChainId.BASE] = '0x8909dc15e40173ff4699343b6eb8132c65e18ec6', _V2_FACTORY_ADDRESSES[ChainId.BNB] = '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6', _V2_FACTORY_ADDRESSES[ChainId.POLYGON] = '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', _V2_FACTORY_ADDRESSES[ChainId.CELO] = '0x79a530c8e2fA8748B7B40dd3629C0520c2cCf03f', _V2_FACTORY_ADDRESSES[ChainId.BLAST] = '0x5C346464d33F90bABaf70dB6388507CC889C1070', _V2_FACTORY_ADDRESSES[ChainId.WORLDCHAIN] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[ChainId.ASTROCHAIN_SEPOLIA] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES);
var V2_FACTORY_ADDRESSES = (_V2_FACTORY_ADDRESSES = {}, _V2_FACTORY_ADDRESSES[ChainId.MAINNET] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[ChainId.GOERLI] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[ChainId.SEPOLIA] = '0xF62c03E08ada871A0bEb309762E260a7a6a880E6', _V2_FACTORY_ADDRESSES[ChainId.OPTIMISM] = '0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf', _V2_FACTORY_ADDRESSES[ChainId.ARBITRUM_ONE] = '0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9', _V2_FACTORY_ADDRESSES[ChainId.AVALANCHE] = '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', _V2_FACTORY_ADDRESSES[ChainId.BASE] = '0x8909dc15e40173ff4699343b6eb8132c65e18ec6', _V2_FACTORY_ADDRESSES[ChainId.BNB] = '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6', _V2_FACTORY_ADDRESSES[ChainId.POLYGON] = '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', _V2_FACTORY_ADDRESSES[ChainId.CELO] = '0x79a530c8e2fA8748B7B40dd3629C0520c2cCf03f', _V2_FACTORY_ADDRESSES[ChainId.BLAST] = '0x5C346464d33F90bABaf70dB6388507CC889C1070', _V2_FACTORY_ADDRESSES[ChainId.WORLDCHAIN] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES[ChainId.ASTROCHAIN_SEPOLIA] = '0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f', _V2_FACTORY_ADDRESSES);
/**

@@ -136,3 +136,3 @@ * @deprecated use V2_ROUTER_ADDRESSES instead

var V2_ROUTER_ADDRESS = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D';
var V2_ROUTER_ADDRESSES = (_V2_ROUTER_ADDRESSES = {}, _V2_ROUTER_ADDRESSES[ChainId.MAINNET] = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', _V2_ROUTER_ADDRESSES[ChainId.GOERLI] = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', _V2_ROUTER_ADDRESSES[ChainId.SEPOLIA] = '0x53544492C78D478294B5b1Fb8059a5D6C9aBBC67', _V2_ROUTER_ADDRESSES[ChainId.ARBITRUM_ONE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[ChainId.OPTIMISM] = '0x4a7b5da61326a6379179b40d00f57e5bbdc962c2', _V2_ROUTER_ADDRESSES[ChainId.BASE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[ChainId.AVALANCHE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[ChainId.BNB] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[ChainId.POLYGON] = '0xedf6066a2b290c185783862c7f4776a2c8077ad1', _V2_ROUTER_ADDRESSES[ChainId.BLAST] = '0xBB66Eb1c5e875933D44DAe661dbD80e5D9B03035', _V2_ROUTER_ADDRESSES[ChainId.WORLDCHAIN] = '0x541aB7c31A119441eF3575F6973277DE0eF460bd', _V2_ROUTER_ADDRESSES[ChainId.ASTROCHAIN_SEPOLIA] = '0x920b806E40A00E02E7D2b94fFc89860fDaEd3640', _V2_ROUTER_ADDRESSES);
var V2_ROUTER_ADDRESSES = (_V2_ROUTER_ADDRESSES = {}, _V2_ROUTER_ADDRESSES[ChainId.MAINNET] = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', _V2_ROUTER_ADDRESSES[ChainId.GOERLI] = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', _V2_ROUTER_ADDRESSES[ChainId.SEPOLIA] = '0xeE567Fe1712Faf6149d80dA1E6934E354124CfE3', _V2_ROUTER_ADDRESSES[ChainId.ARBITRUM_ONE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[ChainId.OPTIMISM] = '0x4a7b5da61326a6379179b40d00f57e5bbdc962c2', _V2_ROUTER_ADDRESSES[ChainId.BASE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[ChainId.AVALANCHE] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[ChainId.BNB] = '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', _V2_ROUTER_ADDRESSES[ChainId.POLYGON] = '0xedf6066a2b290c185783862c7f4776a2c8077ad1', _V2_ROUTER_ADDRESSES[ChainId.BLAST] = '0xBB66Eb1c5e875933D44DAe661dbD80e5D9B03035', _V2_ROUTER_ADDRESSES[ChainId.WORLDCHAIN] = '0x541aB7c31A119441eF3575F6973277DE0eF460bd', _V2_ROUTER_ADDRESSES[ChainId.ASTROCHAIN_SEPOLIA] = '0x920b806E40A00E02E7D2b94fFc89860fDaEd3640', _V2_ROUTER_ADDRESSES);
// Networks that share most of the same addresses i.e. Mainnet, Goerli, Optimism, Arbitrum, Polygon

@@ -139,0 +139,0 @@ var DEFAULT_ADDRESSES = {

@@ -80,3 +80,3 @@ {

},
"version": "5.8.5"
"version": "5.9.0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc