Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 8 additions & 38 deletions sdks/router-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uniswap/router-sdk",
"name": "@maxosllc/router-sdk",
"description": "An sdk for routing swaps using Uniswap v2 and Uniswap v3.",
"repository": "https://github.com/Uniswap/sdks.git",
"version": "0.0.2",
"keywords": [
"uniswap",
"ethereum"
Expand All @@ -21,11 +21,11 @@
},
"dependencies": {
"@ethersproject/abi": "^5.5.0",
"@uniswap/sdk-core": "^7.8.0",
"@uniswap/swap-router-contracts": "^1.3.0",
"@uniswap/v2-sdk": "^4.16.0",
"@uniswap/v3-sdk": "^3.26.0",
"@uniswap/v4-sdk": "^1.22.0"
"@maxosllc/sdk-core": "0.0.2",
"@maxosllc/v2-sdk": "0.0.2",
"@maxosllc/v3-sdk": "0.0.3",
"@maxosllc/v4-sdk": "0.0.2",
"@uniswap/swap-router-contracts": "^1.3.0"
},
"devDependencies": {
"@types/jest": "^24.0.25",
Expand All @@ -40,36 +40,6 @@
"singleQuote": true
},
"publishConfig": {
"access": "public",
"provenance": true
},
"release": {
"extends": "semantic-release-monorepo",
"branches": [
{
"name": "main",
"prerelease": false
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": "../../publishing/release-rules.cjs"
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/exec",
{
"successCmd": "git restore yarn.lock && yarn",
"failCmd": "git restore yarn.lock && yarn",
"execCwd": "../.."
}
]
]
"access": "public"
}
}
4 changes: 2 additions & 2 deletions sdks/router-sdk/src/approveAndCall.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Interface } from '@ethersproject/abi'
import invariant from 'tiny-invariant'
import IApproveAndCall from '@uniswap/swap-router-contracts/artifacts/contracts/interfaces/IApproveAndCall.sol/IApproveAndCall.json'
import { Currency, Percent, Token } from '@uniswap/sdk-core'
import { Currency, Percent, Token } from '@maxosllc/sdk-core'
import {
MintSpecificOptions,
IncreaseSpecificOptions,
NonfungiblePositionManager,
Position,
toHex,
} from '@uniswap/v3-sdk'
} from '@maxosllc/v3-sdk'
import JSBI from 'jsbi'

// condensed version of v3-sdk AddLiquidityOptions containing only necessary swap + add attributes
Expand Down
2 changes: 1 addition & 1 deletion sdks/router-sdk/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Percent } from '@uniswap/sdk-core'
import { Percent } from '@maxosllc/sdk-core'
import JSBI from 'jsbi'

export const ADDRESS_ZERO = '0x0000000000000000000000000000000000000000'
Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/entities/mixedRoute/route.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Ether, Token, WETH9, CurrencyAmount, Currency } from '@uniswap/sdk-core'
import { Route as V3RouteSDK, Pool as V3Pool, FeeAmount, TickMath, encodeSqrtRatioX96 } from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Ether, Token, WETH9, CurrencyAmount, Currency } from '@maxosllc/sdk-core'
import { Route as V3RouteSDK, Pool as V3Pool, FeeAmount, TickMath, encodeSqrtRatioX96 } from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import { MixedRoute, RouteV3 } from '../route'
import { Protocol } from '../protocol'
import { Route as V2RouteSDK, Pair } from '@uniswap/v2-sdk'
import { Route as V2RouteSDK, Pair } from '@maxosllc/v2-sdk'
import { MixedRouteSDK } from './route'
import { partitionMixedRouteByProtocol } from '../../utils'
import { ADDRESS_ZERO } from '../../constants'
Expand Down
4 changes: 2 additions & 2 deletions sdks/router-sdk/src/entities/mixedRoute/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import invariant from 'tiny-invariant'
import { Currency, Price, Token } from '@uniswap/sdk-core'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Currency, Price, Token } from '@maxosllc/sdk-core'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import { getPathCurrency } from '../../utils/pathCurrency'
import { TPool } from '../../utils/TPool'

Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/entities/mixedRoute/trade.test.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Percent, Price, sqrt, Token, CurrencyAmount, TradeType, WETH9, Ether, Currency } from '@uniswap/sdk-core'
import { Pair } from '@uniswap/v2-sdk'
import { Percent, Price, sqrt, Token, CurrencyAmount, TradeType, WETH9, Ether, Currency } from '@maxosllc/sdk-core'
import { Pair } from '@maxosllc/v2-sdk'
import {
encodeSqrtRatioX96,
FeeAmount,
nearestUsableTick,
Pool as V3Pool,
TickMath,
TICK_SPACINGS,
} from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
} from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import JSBI from 'jsbi'
import { MixedRouteSDK } from './route'
import { MixedRouteTrade } from './trade'
Expand Down
10 changes: 5 additions & 5 deletions sdks/router-sdk/src/entities/mixedRoute/trade.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Currency, Fraction, Percent, Price, sortedInsert, CurrencyAmount, TradeType, Token } from '@uniswap/sdk-core'
import { Pair } from '@uniswap/v2-sdk'
import { BestTradeOptions, Pool as V3Pool } from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Currency, Fraction, Percent, Price, sortedInsert, CurrencyAmount, TradeType, Token } from '@maxosllc/sdk-core'
import { Pair } from '@maxosllc/v2-sdk'
import { BestTradeOptions, Pool as V3Pool } from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import invariant from 'tiny-invariant'
import { ONE, ZERO } from '../../constants'
import { MixedRouteSDK } from './route'
Expand Down Expand Up @@ -55,7 +55,7 @@ export function tradeComparator<TInput extends Currency, TOutput extends Currenc
*
* Does not account for slippage, i.e., changes in price environment that can occur between
* the time the trade is submitted and when it is executed.
* @notice This class is functionally the same as the `Trade` class in the `@uniswap/v3-sdk` package, aside from typing and some input validation.
* @notice This class is functionally the same as the `Trade` class in the `@maxosllc/v3-sdk` package, aside from typing and some input validation.
* @template TInput The input token, either Ether or an ERC-20
* @template TOutput The output token, either Ether or an ERC-20
* @template TTradeType The trade type, either exact input or exact output
Expand Down
6 changes: 3 additions & 3 deletions sdks/router-sdk/src/entities/route.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Ether, Token, WETH9, CurrencyAmount } from '@uniswap/sdk-core'
import { Route as V3RouteSDK, Pool as V3Pool, FeeAmount, TickMath, encodeSqrtRatioX96 } from '@uniswap/v3-sdk'
import { Ether, Token, WETH9, CurrencyAmount } from '@maxosllc/sdk-core'
import { Route as V3RouteSDK, Pool as V3Pool, FeeAmount, TickMath, encodeSqrtRatioX96 } from '@maxosllc/v3-sdk'
import { RouteV3 } from './route'
import { Protocol } from './protocol'
import { Route as V2RouteSDK, Pair } from '@uniswap/v2-sdk'
import { Route as V2RouteSDK, Pair } from '@maxosllc/v2-sdk'
import { RouteV2 } from './route'

describe('RouteV3', () => {
Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/entities/route.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// entities/route.ts

import { Route as V2RouteSDK, Pair } from '@uniswap/v2-sdk'
import { Route as V3RouteSDK, Pool as V3Pool } from '@uniswap/v3-sdk'
import { Route as V4RouteSDK, Pool as V4Pool } from '@uniswap/v4-sdk'
import { Route as V2RouteSDK, Pair } from '@maxosllc/v2-sdk'
import { Route as V3RouteSDK, Pool as V3Pool } from '@maxosllc/v3-sdk'
import { Route as V4RouteSDK, Pool as V4Pool } from '@maxosllc/v4-sdk'
import { Protocol } from './protocol'
import { Currency, Price, Token } from '@uniswap/sdk-core'
import { Currency, Price, Token } from '@maxosllc/sdk-core'
import { MixedRouteSDK } from './mixedRoute/route'

// Helper function to get the pathInput and pathOutput for a V2 / V3 route
Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/entities/trade.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { sqrt, Token, CurrencyAmount, TradeType, WETH9, Ether, Percent, Price } from '@uniswap/sdk-core'
import { sqrt, Token, CurrencyAmount, TradeType, WETH9, Ether, Percent, Price } from '@maxosllc/sdk-core'
import { BigNumber } from '@ethersproject/bignumber'
import JSBI from 'jsbi'
import { MixedRoute, RouteV2, RouteV3, RouteV4 } from './route'
Expand All @@ -11,10 +11,10 @@ import {
TickMath,
nearestUsableTick,
encodeSqrtRatioX96,
} from '@uniswap/v3-sdk'
import { Pair, Route as V2RouteSDK } from '@uniswap/v2-sdk'
} from '@maxosllc/v3-sdk'
import { Pair, Route as V2RouteSDK } from '@maxosllc/v2-sdk'
import { MixedRouteSDK } from './mixedRoute/route'
import { Route as V4RouteSDK, Pool as V4Pool } from '@uniswap/v4-sdk'
import { Route as V4RouteSDK, Pool as V4Pool } from '@maxosllc/v4-sdk'
import { ADDRESS_ZERO } from '../constants'

describe('Trade', () => {
Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/entities/trade.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Currency, CurrencyAmount, Fraction, Percent, Price, TradeType, Ether } from '@uniswap/sdk-core'
import { Pair, Route as V2RouteSDK, Trade as V2TradeSDK } from '@uniswap/v2-sdk'
import { Pool as V3Pool, Route as V3RouteSDK, Trade as V3TradeSDK } from '@uniswap/v3-sdk'
import { Pool as V4Pool, Route as V4RouteSDK, Trade as V4TradeSDK } from '@uniswap/v4-sdk'
import { Currency, CurrencyAmount, Fraction, Percent, Price, TradeType, Ether } from '@maxosllc/sdk-core'
import { Pair, Route as V2RouteSDK, Trade as V2TradeSDK } from '@maxosllc/v2-sdk'
import { Pool as V3Pool, Route as V3RouteSDK, Trade as V3TradeSDK } from '@maxosllc/v3-sdk'
import { Pool as V4Pool, Route as V4RouteSDK, Trade as V4TradeSDK } from '@maxosllc/v4-sdk'
import invariant from 'tiny-invariant'
import { ONE, ONE_HUNDRED_PERCENT, ZERO, ZERO_PERCENT } from '../constants'
import { MixedRouteSDK } from './mixedRoute/route'
Expand Down
4 changes: 2 additions & 2 deletions sdks/router-sdk/src/multicallExtended.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Interface } from '@ethersproject/abi'
import { BigintIsh } from '@uniswap/sdk-core'
import { BigintIsh } from '@maxosllc/sdk-core'
import IMulticallExtended from '@uniswap/swap-router-contracts/artifacts/contracts/interfaces/IMulticallExtended.sol/IMulticallExtended.json'
import { Multicall, toHex } from '@uniswap/v3-sdk'
import { Multicall, toHex } from '@maxosllc/v3-sdk'

// deadline or previousBlockhash
export type Validation = BigintIsh | string
Expand Down
2 changes: 1 addition & 1 deletion sdks/router-sdk/src/paymentsExtended.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Percent, Token } from '@uniswap/sdk-core'
import { Percent, Token } from '@maxosllc/sdk-core'
import JSBI from 'jsbi'
import { PaymentsExtended } from './paymentsExtended'

Expand Down
4 changes: 2 additions & 2 deletions sdks/router-sdk/src/paymentsExtended.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Interface } from '@ethersproject/abi'
import { Percent, Token, validateAndParseAddress } from '@uniswap/sdk-core'
import { Percent, Token, validateAndParseAddress } from '@maxosllc/sdk-core'
import IPeripheryPaymentsWithFeeExtended from '@uniswap/swap-router-contracts/artifacts/contracts/interfaces/IPeripheryPaymentsWithFeeExtended.sol/IPeripheryPaymentsWithFeeExtended.json'
import { FeeOptions, Payments, toHex } from '@uniswap/v3-sdk'
import { FeeOptions, Payments, toHex } from '@maxosllc/v3-sdk'
import JSBI from 'jsbi'

function encodeFeeBips(fee: Percent): string {
Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/swapRouter.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BigintIsh, CurrencyAmount, Ether, Percent, Token, TradeType, WETH9 } from '@uniswap/sdk-core'
import { Pair, Route as V2Route, Trade as V2Trade } from '@uniswap/v2-sdk'
import { BigintIsh, CurrencyAmount, Ether, Percent, Token, TradeType, WETH9 } from '@maxosllc/sdk-core'
import { Pair, Route as V2Route, Trade as V2Trade } from '@maxosllc/v2-sdk'
import {
encodeSqrtRatioX96,
FeeAmount,
Expand All @@ -10,8 +10,8 @@ import {
TickMath,
TICK_SPACINGS,
Trade as V3Trade,
} from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
} from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import JSBI from 'jsbi'
import { SwapRouter, Trade } from '.'
import { ApprovalTypes } from './approveAndCall'
Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/swapRouter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Interface } from '@ethersproject/abi'
import { Currency, CurrencyAmount, Percent, TradeType, validateAndParseAddress, WETH9 } from '@uniswap/sdk-core'
import { Currency, CurrencyAmount, Percent, TradeType, validateAndParseAddress, WETH9 } from '@maxosllc/sdk-core'
import ISwapRouter02 from '@uniswap/swap-router-contracts/artifacts/contracts/interfaces/ISwapRouter02.sol/ISwapRouter02.json'
import { Trade as V2Trade } from '@uniswap/v2-sdk'
import { Trade as V2Trade } from '@maxosllc/v2-sdk'
import {
encodeRouteToPath,
FeeOptions,
Expand All @@ -13,8 +13,8 @@ import {
SelfPermit,
toHex,
Trade as V3Trade,
} from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
} from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import invariant from 'tiny-invariant'
import JSBI from 'jsbi'
import { ADDRESS_THIS, MSG_SENDER } from './constants'
Expand Down
6 changes: 3 additions & 3 deletions sdks/router-sdk/src/utils/TPool.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Pair } from '@uniswap/v2-sdk'
import { Pool as V3Pool } from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import { Pair } from '@maxosllc/v2-sdk'
import { Pool as V3Pool } from '@maxosllc/v3-sdk'

export type TPool = Pair | V3Pool | V4Pool
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/utils/encodeMixedRouteToPath.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CurrencyAmount, Ether, Token, WETH9 } from '@uniswap/sdk-core'
import { Pair } from '@uniswap/v2-sdk'
import { encodeSqrtRatioX96, FeeAmount, Pool as V3Pool } from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { CurrencyAmount, Ether, Token, WETH9 } from '@maxosllc/sdk-core'
import { Pair } from '@maxosllc/v2-sdk'
import { encodeSqrtRatioX96, FeeAmount, Pool as V3Pool } from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import { MixedRouteSDK } from '../entities/mixedRoute/route'
import { encodeMixedRouteToPath } from './encodeMixedRouteToPath'
import { ADDRESS_ZERO } from '../constants'
Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/utils/encodeMixedRouteToPath.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { pack } from '@ethersproject/solidity'
import { Currency } from '@uniswap/sdk-core'
import { Pair } from '@uniswap/v2-sdk'
import { Pool as V3Pool } from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Currency } from '@maxosllc/sdk-core'
import { Pair } from '@maxosllc/v2-sdk'
import { Pool as V3Pool } from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import {
ADDRESS_ZERO,
MIXED_QUOTER_V2_V2_FEE_PATH_PLACEHOLDER,
Expand Down
8 changes: 4 additions & 4 deletions sdks/router-sdk/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Currency, Token } from '@uniswap/sdk-core'
import { Pair } from '@uniswap/v2-sdk'
import { Pool as V3Pool } from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Currency, Token } from '@maxosllc/sdk-core'
import { Pair } from '@maxosllc/v2-sdk'
import { Pool as V3Pool } from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import { MixedRouteSDK } from '../entities/mixedRoute/route'
import { TPool } from './TPool'

Expand Down
6 changes: 3 additions & 3 deletions sdks/router-sdk/src/utils/pathCurrency.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Ether, Token } from '@uniswap/sdk-core'
import { encodeSqrtRatioX96 } from '@uniswap/v3-sdk'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Ether, Token } from '@maxosllc/sdk-core'
import { encodeSqrtRatioX96 } from '@maxosllc/v3-sdk'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import { ADDRESS_ZERO } from '../constants'
import { getPathCurrency } from './pathCurrency'

Expand Down
4 changes: 2 additions & 2 deletions sdks/router-sdk/src/utils/pathCurrency.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Currency, CurrencyAmount, Token } from '@uniswap/sdk-core'
import { Pool as V4Pool } from '@uniswap/v4-sdk'
import { Currency, CurrencyAmount, Token } from '@maxosllc/sdk-core'
import { Pool as V4Pool } from '@maxosllc/v4-sdk'
import { TPool } from './TPool'

export function amountWithPathCurrency(amount: CurrencyAmount<Currency>, pool: TPool): CurrencyAmount<Currency> {
Expand Down
58 changes: 58 additions & 0 deletions sdks/sdk-core/dist/addresses.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
import { SupportedChainsType } from './chains';
declare type AddressMap = {
[chainId: number]: string;
};
declare type ChainAddresses = {
v3CoreFactoryAddress: string;
multicallAddress: string;
quoterAddress: string;
v3MigratorAddress?: string;
nonfungiblePositionManagerAddress?: string;
tickLensAddress?: string;
swapRouter02Address?: string;
mixedRouteQuoterV1Address?: string;
mixedRouteQuoterV2Address?: string;
v4PoolManagerAddress?: string;
v4PositionManagerAddress?: string;
v4StateView?: string;
v4QuoterAddress?: string;
};
export declare const UNI_ADDRESSES: AddressMap;
export declare const UNISWAP_NFT_AIRDROP_CLAIM_ADDRESS = "0x8B799381ac40b838BBA4131ffB26197C432AFe78";
/**
* @deprecated use V2_FACTORY_ADDRESSES instead
*/
export declare const V2_FACTORY_ADDRESS = "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f";
export declare const V2_FACTORY_ADDRESSES: AddressMap;
/**
* @deprecated use V2_ROUTER_ADDRESSES instead
*/
export declare const V2_ROUTER_ADDRESS = "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D";
export declare const V2_ROUTER_ADDRESSES: AddressMap;
export declare const CHAIN_TO_ADDRESSES_MAP: Record<SupportedChainsType, ChainAddresses>;
export declare const V3_CORE_FACTORY_ADDRESSES: AddressMap;
export declare const V3_MIGRATOR_ADDRESSES: AddressMap;
export declare const MULTICALL_ADDRESSES: AddressMap;
/**
* The oldest V0 governance address
*/
export declare const GOVERNANCE_ALPHA_V0_ADDRESSES: AddressMap;
/**
* The older V1 governance address
*/
export declare const GOVERNANCE_ALPHA_V1_ADDRESSES: AddressMap;
/**
* The latest governor bravo that is currently admin of timelock
*/
export declare const GOVERNANCE_BRAVO_ADDRESSES: AddressMap;
export declare const TIMELOCK_ADDRESSES: AddressMap;
export declare const MERKLE_DISTRIBUTOR_ADDRESS: AddressMap;
export declare const ARGENT_WALLET_DETECTOR_ADDRESS: AddressMap;
export declare const QUOTER_ADDRESSES: AddressMap;
export declare const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap;
export declare const ENS_REGISTRAR_ADDRESSES: AddressMap;
export declare const SOCKS_CONTROLLER_ADDRESSES: AddressMap;
export declare const TICK_LENS_ADDRESSES: AddressMap;
export declare const MIXED_ROUTE_QUOTER_V1_ADDRESSES: AddressMap;
export declare const SWAP_ROUTER_02_ADDRESSES: (chainId: number) => string;
export {};
Loading