Skip to content

Commit

Permalink
chore: support monad testnet (#11228)
Browse files Browse the repository at this point in the history
<!--
Before opening a pull request, please read the [contributing
guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md)
first
-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces support for `Monad Testnet` across various components
in the codebase, including constants, configurations, and token
definitions. It ensures that the new chain is integrated into the
existing ecosystem.

### Detailed summary
- Added `ChainId.MONAD_TESTNET` in multiple files.
- Updated block times, token addresses, and configurations to include
`Monad Testnet`.
- Integrated `Monad Testnet` into network switchers and token
definitions.
- Modified constants and API endpoints for compatibility with `Monad
Testnet`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
Chef-Yogi authored Feb 21, 2025
1 parent bf21cf0 commit fddc420
Show file tree
Hide file tree
Showing 41 changed files with 144 additions and 19 deletions.
2 changes: 1 addition & 1 deletion apis/routing/src/provider.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ChainId, getV3Subgraphs } from '@pancakeswap/chains'
import { OnChainProvider, SubgraphProvider } from '@pancakeswap/smart-router'
import { GraphQLClient } from 'graphql-request'
import { createPublicClient, http } from 'viem'
import { bsc, bscTestnet, goerli, mainnet } from 'viem/chains'
import { GraphQLClient } from 'graphql-request'

import { SupportedChainId } from './constants'

Expand Down
1 change: 1 addition & 0 deletions apps/aptos/components/NetworkSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const evmChains = [
{ id: 59144, name: 'Linea', chainName: 'linea' },
{ id: 8453, name: 'Base', chainName: 'base' },
{ id: 204, name: 'opBNB Mainnet', chainName: 'opBNB' },
{ id: 10143, name: 'Monad Testnet', chainName: 'monad' },
]

const NetworkSelect = () => {
Expand Down
1 change: 1 addition & 0 deletions apps/gamification/components/NetworkSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export const SHORT_SYMBOL = {
[ChainId.SEPOLIA]: 'sepolia',
[ChainId.BASE_SEPOLIA]: 'Base Sepolia',
[ChainId.ARBITRUM_SEPOLIA]: 'Arb Sepolia',
[ChainId.MONAD_TESTNET]: 'tMonad',
} as const satisfies Record<ChainId, string>

export const NetworkSwitcher = () => {
Expand Down
9 changes: 9 additions & 0 deletions apps/gamification/config/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
baseGoerli,
baseSepolia,
linea,
monadTestnet,
opBNB,
opBNBTestnet,
polygonZkEvm,
Expand Down Expand Up @@ -84,6 +85,10 @@ export const SERVER_NODES = {
[ChainId.SEPOLIA]: sepolia.rpcUrls.default.http,
[ChainId.ARBITRUM_SEPOLIA]: arbitrumSepolia.rpcUrls.default.http,
[ChainId.BASE_SEPOLIA]: baseSepolia.rpcUrls.default.http,
[ChainId.MONAD_TESTNET]: [
'https://testnet-rpc2.monad.xyz/52227f026fa8fac9e2014c58fbf5643369b3bfc6',
...monadTestnet.rpcUrls.default.http,
],
} satisfies Record<ChainId, readonly string[]>

export const PUBLIC_NODES = {
Expand Down Expand Up @@ -156,4 +161,8 @@ export const PUBLIC_NODES = {
[ChainId.SEPOLIA]: sepolia.rpcUrls.default.http,
[ChainId.ARBITRUM_SEPOLIA]: arbitrumSepolia.rpcUrls.default.http,
[ChainId.BASE_SEPOLIA]: baseSepolia.rpcUrls.default.http,
[ChainId.MONAD_TESTNET]: [
'https://testnet-rpc2.monad.xyz/52227f026fa8fac9e2014c58fbf5643369b3bfc6',
...monadTestnet.rpcUrls.default.http,
],
} satisfies Record<ChainId, readonly string[]>
3 changes: 2 additions & 1 deletion apps/web/src/components/NetworkSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const NetworkSelect = ({ switchNetwork, chainId, isWrongNetwork }) => {
{chains
.filter((chain) => {
if (chain.id === chainId) return true
if ('testnet' in chain && chain.testnet) {
if ('testnet' in chain && chain.testnet && chain.id !== ChainId.MONAD_TESTNET) {
return showTestnet
}
return true
Expand Down Expand Up @@ -163,6 +163,7 @@ const SHORT_SYMBOL = {
[ChainId.SEPOLIA]: 'sepolia',
[ChainId.BASE_SEPOLIA]: 'Base Sepolia',
[ChainId.ARBITRUM_SEPOLIA]: 'Arb Sepolia',
[ChainId.MONAD_TESTNET]: 'tMonad',
} as const satisfies Record<ChainId, string>

export const NetworkSwitcher = () => {
Expand Down
2 changes: 2 additions & 0 deletions apps/web/src/config/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
linea,
lineaTestnet,
mainnet,
monadTestnet,
opBNB,
opBNBTestnet,
polygonZkEvm,
Expand Down Expand Up @@ -93,4 +94,5 @@ export const CHAINS: [Chain, ...Chain[]] = [
opBNB,
opBNBTestnet,
scrollSepolia,
monadTestnet,
]
2 changes: 2 additions & 0 deletions apps/web/src/config/constants/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export default {
[ChainId.OPBNB_TESTNET]: '0xcA11bde05977b3631167028862bE2a173976CA11',
[ChainId.BASE_TESTNET]: '0xcA11bde05977b3631167028862bE2a173976CA11',
[ChainId.SCROLL_SEPOLIA]: '0xcA11bde05977b3631167028862bE2a173976CA11',
[ChainId.MONAD_TESTNET]: '0xcA11bde05977b3631167028862bE2a173976CA11',
},
pancakeProfile: {
[ChainId.BSC]: '0xDf4dBf6536201370F95e06A0F8a7a70fE40E388a',
Expand Down Expand Up @@ -195,6 +196,7 @@ export default {
[ChainId.BASE_TESTNET]: '0x8Ae8592a24CD13b7E09D2763E7d6A39E3c0D6bad',
[ChainId.SCROLL_SEPOLIA]: '0x8Ae8592a24CD13b7E09D2763E7d6A39E3c0D6bad',
[ChainId.SEPOLIA]: '0xbC203d7f83677c7ed3F7acEc959963E7F4ECC5C2',
[ChainId.MONAD_TESTNET]: '0x295BA23629F0F18A28DA20F3Fb392558828b14A3',
},
quoter: V3_QUOTER_ADDRESSES,
v3Airdrop: {
Expand Down
4 changes: 4 additions & 0 deletions apps/web/src/config/constants/exchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
bscTokens,
lineaTestnetTokens,
lineaTokens,
monadTestnetTokens,
opBnbTestnetTokens,
opBnbTokens,
polygonZkEvmTestnetTokens,
Expand Down Expand Up @@ -54,6 +55,7 @@ export const CHAIN_REFRESH_TIME = {
[ChainId.SEPOLIA]: 12_000,
[ChainId.BASE_SEPOLIA]: 6_000,
[ChainId.ARBITRUM_SEPOLIA]: 6_000,
[ChainId.MONAD_TESTNET]: 6_000,
} as const satisfies Record<ChainId, number>

// used for display in the default list when adding liquidity
Expand Down Expand Up @@ -83,6 +85,7 @@ export const SUGGESTED_BASES: ChainTokenList = {
[ChainId.SEPOLIA]: [scrollSepoliaTokens.usdc, scrollSepoliaTokens.weth],
[ChainId.ARBITRUM_SEPOLIA]: [arbSepoliaTokens.usdc, arbSepoliaTokens.weth],
[ChainId.BASE_SEPOLIA]: [baseSepoliaTokens.usdc, baseSepoliaTokens.weth],
[ChainId.MONAD_TESTNET]: [monadTestnetTokens.usdc, monadTestnetTokens.busd],
}

// used to construct the list of all pairs we consider by default in the frontend
Expand All @@ -107,6 +110,7 @@ export const BASES_TO_TRACK_LIQUIDITY_FOR: ChainTokenList = {
[ChainId.SEPOLIA]: [sepoliaTokens.usdc, sepoliaTokens.weth],
[ChainId.ARBITRUM_SEPOLIA]: [arbSepoliaTokens.usdc, arbSepoliaTokens.weth],
[ChainId.BASE_SEPOLIA]: [baseSepoliaTokens.usdc, baseSepoliaTokens.weth],
[ChainId.MONAD_TESTNET]: [monadTestnetTokens.usdc, monadTestnetTokens.busd],
}

export const PINNED_PAIRS: { readonly [chainId in ChainId]?: [Token, Token][] } = {
Expand Down
5 changes: 5 additions & 0 deletions apps/web/src/config/constants/lists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const PANCAKE_OPBNB_DEFAULT = 'https://tokens.pancakeswap.finance/pancake
export const PANCAKE_ETH_MM = 'https://tokens.pancakeswap.finance/pancakeswap-eth-mm.json'
export const PANCAKE_BSC_MM = 'https://tokens.pancakeswap.finance/pancakeswap-bnb-mm.json'
export const PANCAKE_ARB_MM = 'https://tokens.pancakeswap.finance/pancakeswap-arb-mm.json'
export const PANCAKE_MONAD_TESTNET_DEFAULT = 'https://tokens.pancakeswap.finance/pancakeswap-monad-testnet-default.json'

const COINGECKO_ETH = 'https://tokens.coingecko.com/uniswap/all.json'
// export const CMC = 'https://tokens.pancakeswap.finance/cmc.json' // not updated for a while
Expand All @@ -38,6 +39,7 @@ const OP_SUPER_CHAIN_URL =
'https://raw.githubusercontent.com/ethereum-optimism/ethereum-optimism.github.io/master/optimism.tokenlist.json'
const BASE_URLS = [PANCAKE_BASE_DEFAULT, OP_SUPER_CHAIN_URL, 'https://tokens.coingecko.com/base/all.json']
const OPBNB_URLS = [PANCAKE_OPBNB_DEFAULT]
const MONAD_TESTNET_URLS = [PANCAKE_MONAD_TESTNET_DEFAULT]

// List of official tokens list
export const OFFICIAL_LISTS = [PANCAKE_EXTENDED, PANCAKE_ETH_DEFAULT]
Expand All @@ -58,6 +60,7 @@ export const DEFAULT_LIST_OF_LISTS: string[] = [
...UNSUPPORTED_LIST_URLS, // need to load unsupported tokens as well
...WARNING_LIST_URLS,
...OPBNB_URLS,
...MONAD_TESTNET_URLS,
]

// default lists to be 'active' aka searched across
Expand All @@ -77,6 +80,7 @@ export const DEFAULT_ACTIVE_LIST_URLS: string[] = [
OP_SUPER_CHAIN_URL,
COINGECKO,
COINGECKO_ETH,
PANCAKE_MONAD_TESTNET_DEFAULT,
]

export const MULTI_CHAIN_LIST_URLS: { [chainId: number]: string[] } = {
Expand All @@ -88,4 +92,5 @@ export const MULTI_CHAIN_LIST_URLS: { [chainId: number]: string[] } = {
[ChainId.LINEA]: LINEA_URLS,
[ChainId.BASE]: BASE_URLS,
[ChainId.OPBNB]: OPBNB_URLS,
[ChainId.MONAD_TESTNET]: MONAD_TESTNET_URLS,
}
1 change: 1 addition & 0 deletions apps/web/src/config/constants/supportChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const LIQUID_STAKING_SUPPORTED_CHAINS = [
ChainId.ETHEREUM,
ChainId.BSC_TESTNET,
ChainId.ARBITRUM_GOERLI,
ChainId.MONAD_TESTNET,
]
export const FIXED_STAKING_SUPPORTED_CHAINS = [ChainId.BSC]

Expand Down
9 changes: 9 additions & 0 deletions apps/web/src/config/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
baseGoerli,
baseSepolia,
linea,
monadTestnet,
opBNB,
opBNBTestnet,
polygonZkEvm,
Expand Down Expand Up @@ -84,6 +85,10 @@ export const SERVER_NODES = {
[ChainId.SEPOLIA]: sepolia.rpcUrls.default.http,
[ChainId.ARBITRUM_SEPOLIA]: arbitrumSepolia.rpcUrls.default.http,
[ChainId.BASE_SEPOLIA]: baseSepolia.rpcUrls.default.http,
[ChainId.MONAD_TESTNET]: [
'https://testnet-rpc2.monad.xyz/52227f026fa8fac9e2014c58fbf5643369b3bfc6',
...monadTestnet.rpcUrls.default.http,
],
} satisfies Record<ChainId, readonly string[]>

export const PUBLIC_NODES: Record<ChainId, string[] | readonly string[]> = {
Expand Down Expand Up @@ -160,4 +165,8 @@ export const PUBLIC_NODES: Record<ChainId, string[] | readonly string[]> = {
[ChainId.SEPOLIA]: sepolia.rpcUrls.default.http,
[ChainId.ARBITRUM_SEPOLIA]: arbitrumSepolia.rpcUrls.default.http,
[ChainId.BASE_SEPOLIA]: baseSepolia.rpcUrls.default.http,
[ChainId.MONAD_TESTNET]: [
'https://testnet-rpc2.monad.xyz/52227f026fa8fac9e2014c58fbf5643369b3bfc6',
...monadTestnet.rpcUrls.default.http,
],
} satisfies Record<ChainId, readonly string[]>
3 changes: 3 additions & 0 deletions apps/web/src/config/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const POOLS_FAST_REVALIDATE = {
[ChainId.SEPOLIA]: 20_000,
[ChainId.ARBITRUM_SEPOLIA]: 10_000,
[ChainId.BASE_SEPOLIA]: 10_000,
[ChainId.MONAD_TESTNET]: 10_000,
} as const satisfies Record<ChainId, number>

// Revalidate interval in milliseconds
Expand All @@ -46,6 +47,7 @@ export const POOLS_NORMAL_REVALIDATE = {
[ChainId.SEPOLIA]: 20_000,
[ChainId.ARBITRUM_SEPOLIA]: 15_000,
[ChainId.BASE_SEPOLIA]: 15_000,
[ChainId.MONAD_TESTNET]: 15_000,
} as const satisfies Record<ChainId, number>

export const POOLS_SLOW_REVALIDATE = {
Expand All @@ -69,4 +71,5 @@ export const POOLS_SLOW_REVALIDATE = {
[ChainId.SEPOLIA]: 40_000,
[ChainId.ARBITRUM_SEPOLIA]: 20_000,
[ChainId.BASE_SEPOLIA]: 20_000,
[ChainId.MONAD_TESTNET]: 20_000,
} as const satisfies Record<ChainId, number>
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ import useV3DerivedInfo from 'hooks/v3/useV3DerivedInfo'
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'

import { ApprovalState, useApproveCallback } from 'hooks/useApproveCallback'
import { CurrencyField as Field } from 'utils/types'
import { basisPointsToPercent } from 'utils/exchange'
import { maxAmountSpend } from 'utils/maxAmountSpend'
import { CurrencyField as Field } from 'utils/types'

import { useTranslation } from '@pancakeswap/localization'
import TransactionConfirmationModal from 'components/TransactionConfirmationModal'
Expand All @@ -60,10 +60,10 @@ import { V3SubmitButton } from 'views/AddLiquidityV3/components/V3SubmitButton'
import { QUICK_ACTION_CONFIGS } from 'views/AddLiquidityV3/types'
import { useSendTransaction, useWalletClient } from 'wagmi'

import { transactionErrorToUserReadableMessage } from 'utils/transactionErrorToUserReadableMessage'
import { useDensityChartData } from 'views/AddLiquidityV3/hooks/useDensityChartData'
import { ZapLiquidityWidget } from 'components/ZapLiquidityWidget'
import { ZAP_V3_POOL_ADDRESSES } from 'config/constants/zapV3'
import { transactionErrorToUserReadableMessage } from 'utils/transactionErrorToUserReadableMessage'
import { useDensityChartData } from 'views/AddLiquidityV3/hooks/useDensityChartData'
import LockedDeposit from './components/LockedDeposit'
import { PositionPreview } from './components/PositionPreview'
import RangeSelector from './components/RangeSelector'
Expand Down Expand Up @@ -274,7 +274,6 @@ export default function V3FormView({

const onAdd = useCallback(async () => {
logGTMClickAddLiquidityConfirmEvent()

if (
!chainId ||
!signer ||
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/views/TradingReward/config/pairs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ export const tradingRewardPairConfigChainMap: Record<FarmV3SupportedChainId, Com
[ChainId.BASE]: [...tradingRewardBaseV3Pair],
[ChainId.OPBNB_TESTNET]: [],
[ChainId.OPBNB]: [],
[ChainId.MONAD_TESTNET]: [],
}
1 change: 1 addition & 0 deletions packages/chains/src/averageChainBlockTimes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ export const AVERAGE_CHAIN_BLOCK_TIMES: Record<ChainId, number> = {
[ChainId.ARBITRUM_SEPOLIA]: 0,
[ChainId.BASE_SEPOLIA]: 0,
[ChainId.SEPOLIA]: 0,
[ChainId.MONAD_TESTNET]: 1,
}
2 changes: 2 additions & 0 deletions packages/chains/src/chainId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export enum ChainId {
BASE_TESTNET = 84531,
BASE_SEPOLIA = 84532,
SEPOLIA = 11155111,
MONAD_TESTNET = 10143,
}

export const testnetChainIds = [
Expand All @@ -34,4 +35,5 @@ export const testnetChainIds = [
ChainId.SEPOLIA,
ChainId.ARBITRUM_SEPOLIA,
ChainId.BASE_SEPOLIA,
ChainId.MONAD_TESTNET,
]
3 changes: 3 additions & 0 deletions packages/chains/src/chainNames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const chainNames: Record<ChainId, string> = {
[ChainId.SEPOLIA]: 'sepolia',
[ChainId.ARBITRUM_SEPOLIA]: 'arbSepolia',
[ChainId.BASE_SEPOLIA]: 'baseSepolia',
[ChainId.MONAD_TESTNET]: 'monadTestnet',
}

export const chainNamesInKebabCase = {
Expand All @@ -44,6 +45,7 @@ export const chainNamesInKebabCase = {
[ChainId.SEPOLIA]: 'sepolia',
[ChainId.ARBITRUM_SEPOLIA]: 'arbitrum-sepolia',
[ChainId.BASE_SEPOLIA]: 'base-sepolia',
[ChainId.MONAD_TESTNET]: 'monad-testnet',
} as const

export const mainnetChainNamesInKebabCase = {
Expand Down Expand Up @@ -98,4 +100,5 @@ export const defiLlamaChainNames: Record<ChainId, string> = {
[ChainId.SEPOLIA]: '',
[ChainId.ARBITRUM_SEPOLIA]: '',
[ChainId.BASE_SEPOLIA]: '',
[ChainId.MONAD_TESTNET]: '',
}
1 change: 1 addition & 0 deletions packages/chains/src/subgraphs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export function getV3Subgraphs({ noderealApiKey, theGraphApiKey }: SubgraphParam
[ChainId.SEPOLIA]: null,
[ChainId.ARBITRUM_SEPOLIA]: null,
[ChainId.BASE_SEPOLIA]: null,
[ChainId.MONAD_TESTNET]: null,
} as const satisfies Record<ChainId, string | null>
}

Expand Down
1 change: 1 addition & 0 deletions packages/farms/constants/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ export const DEFAULT_COMMON_PRICE: Record<FarmV3SupportedChainId, CommonPrice> =
[ChainId.BASE]: {},
[ChainId.OPBNB_TESTNET]: {},
[ChainId.OPBNB]: {},
[ChainId.MONAD_TESTNET]: {},
}
3 changes: 3 additions & 0 deletions packages/farms/src/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const supportedChainIdV2 = [
ChainId.BSC_TESTNET,
ChainId.ETHEREUM,
ChainId.ARBITRUM_ONE,
ChainId.MONAD_TESTNET,
] as const
export const supportedChainIdV3 = [
// ChainId.GOERLI,
Expand All @@ -34,6 +35,7 @@ export const supportedChainIdV3 = [
ChainId.BASE,
ChainId.OPBNB,
ChainId.OPBNB_TESTNET,
ChainId.MONAD_TESTNET,
] as const
export const supportedChainId = uniq([...supportedChainIdV2, ...supportedChainIdV3])
export const bCakeSupportedChainId = [
Expand Down Expand Up @@ -73,6 +75,7 @@ export const masterChefV3Addresses = {
[ChainId.BASE]: '0xC6A2Db661D5a5690172d8eB0a7DEA2d3008665A3',
[ChainId.OPBNB]: '0x05ddEDd07C51739d2aE21F6A9d97a8d69C2C3aaA',
[ChainId.OPBNB_TESTNET]: '0x236e713bFF45adb30e25D1c29A887aBCb0Ea7E21',
[ChainId.MONAD_TESTNET]: '0x',
} as const satisfies Record<FarmV3SupportedChainId, string>

export const crossFarmingVaultAddresses = {
Expand Down
5 changes: 5 additions & 0 deletions packages/farms/src/v2/fetchFarmsV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ const evmNativeStableLpMap: Record<
wNative: 'WETH',
stable: 'USDC',
},
[ChainId.MONAD_TESTNET]: {
address: '0x4E96D2e92680Ca65D58A0e2eB5bd1c0f44cAB897',
wNative: 'MON',
stable: 'USDC',
},
}

export const getTokenAmount = (balance: BN, decimals: number) => {
Expand Down
1 change: 1 addition & 0 deletions packages/multicall/src/constants/blockConflictTolerance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ export const BLOCK_CONFLICT_TOLERANCE: { [key in ChainId]?: number } = {
[ChainId.OPBNB_TESTNET]: 3,
[ChainId.BASE_TESTNET]: 3,
[ChainId.SCROLL_SEPOLIA]: 3,
[ChainId.MONAD_TESTNET]: 3,
}
2 changes: 2 additions & 0 deletions packages/permit2-sdk/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const PERMIT2_ADDRESSES: Record<ChainId, Address> = {

[ChainId.OPBNB]: '0x31c2F6fcFf4F8759b3Bd5Bf0e1084A055615c768',
[ChainId.OPBNB_TESTNET]: '0x31c2F6fcFf4F8759b3Bd5Bf0e1084A055615c768',

[ChainId.MONAD_TESTNET]: '0xCe0Ee699531CA107A22f59A1A31A1f62E12571Bb',
}

export const getPermit2Address = (chainId: ChainId | undefined): Address | undefined => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ export const MIXED_ROUTE_QUOTER_ADDRESSES = {
[ChainId.SEPOLIA]: '0x4c650FB471fe4e0f476fD3437C3411B1122c4e3B',
[ChainId.ARBITRUM_SEPOLIA]: '0x4c650FB471fe4e0f476fD3437C3411B1122c4e3B',
[ChainId.BASE_SEPOLIA]: '0x4c650FB471fe4e0f476fD3437C3411B1122c4e3B',
[ChainId.MONAD_TESTNET]: '0x85b787D71D8E7774c2f10a368BB6cC1C5c2fceD1',
} as const satisfies Record<ChainId, Address>
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ export const V3_QUOTER_ADDRESSES = {
[ChainId.SEPOLIA]: '0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997',
[ChainId.ARBITRUM_SEPOLIA]: '0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997',
[ChainId.BASE_SEPOLIA]: '0xB048Bbc1Ee6b733FFfCFb9e9CeF7375518e25997',
[ChainId.MONAD_TESTNET]: '0x7920A0deBEDc8fDa9F3Ff094F5eC9881329d7827',
} as const satisfies Record<ChainId, Address>
Loading

0 comments on commit fddc420

Please sign in to comment.