From 1fb310cfa7bbc1b4b6d1f46fade8c7db26892be3 Mon Sep 17 00:00:00 2001 From: Daniela Chybisova Date: Tue, 4 Aug 2026 17:07:46 +0200 Subject: [PATCH 1/5] feat!: remove deprecated chains Taiko, Swellchain, Corn, Superposition, Sophon, Botanix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps @lifi/types to 18.0.0-alpha.0 and removes the six deprecated chains: - src/chains/supportedChains.evm.ts — the six chain definitions - src/multicall.ts — six multicallAddresses entries - src/chains/foundry.ts — six foundry-name entries - src/coins/coins.ts — per-coin chains entries, the wrappedTokens blocks, and the now-orphaned SOPH / WSOPH coin definitions Also removes the BTCN ("Bitcorn") coin. It is Corn-only, so the removal left it with an empty chains map. It is declared as `'BTCN' as CoinKey` rather than a CoinKey member, so neither the compiler nor an enum grep flags it — it was found by checking every coin for an empty chains map after the sweep. CoinKey.pBTC is kept and its comment corrected: it is deployed on STA / TLO / ETH / BSC, not Botanix-only. X Layer (XLY, 196) is deliberately untouched — temporary commercial disable, not a deprecation. Verification: pnpm build green. Test failures are pre-existing and network-bound — unmodified main fails the same 6 files with 18 failing tests, this branch fails 14 (removing the chains also drops 4 flaky live-RPC checks). No failure references a removed chain. BREAKING CHANGE: chain definitions, multicall addresses, foundry names and coin/wrappedToken entries for Taiko, Swellchain, Corn, Superposition, Sophon and Botanix are removed, along with the SOPH, WSOPH and BTCN coins. Requires @lifi/types 18.x. Ref: EXBE-502 Co-Authored-By: Claude Opus 5 (1M context) --- package.json | 2 +- pnpm-lock.yaml | 10 +- src/chains/foundry.ts | 6 - src/chains/supportedChains.evm.ts | 148 ----------------------- src/coins/coins.ts | 190 +----------------------------- src/multicall.ts | 6 - 6 files changed, 7 insertions(+), 355 deletions(-) diff --git a/package.json b/package.json index 89434f7..73c948a 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "17.86.0" + "@lifi/types": "18.0.0-alpha.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e7da74e..53f9480 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 17.86.0 - version: 17.86.0 + specifier: 18.0.0-alpha.0 + version: 18.0.0-alpha.0 devDependencies: '@commitlint/cli': specifier: ^19.7.1 @@ -440,8 +440,8 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@lifi/types@17.86.0': - resolution: {integrity: sha512-VkEK2c7pL2P49cVZfSW76pbMJNCrWC4ge2FmyexyZW71XA56bv+AAj9zL8zeEQVQUnMnekQVC1EHVBlx5uBwdg==} + '@lifi/types@18.0.0-alpha.0': + resolution: {integrity: sha512-p06KV+LK4pFVYDpS7kpRfaRwsF/4a7JgtjrBlfJb6XuZ1FlcbUY3XSr0o2UgJDFRiv45OtzMtLja0071KWtDSA==} '@mysten/bcs@1.9.2': resolution: {integrity: sha512-kBk5xrxV9OWR7i+JhL/plQrgQ2/KJhB2pB5gj+w6GXhbMQwS3DPpOvi/zN0Tj84jwPvHMllpEl0QHj6ywN7/eQ==} @@ -3141,7 +3141,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@lifi/types@17.86.0': {} + '@lifi/types@18.0.0-alpha.0': {} '@mysten/bcs@1.9.2': dependencies: diff --git a/src/chains/foundry.ts b/src/chains/foundry.ts index f0c31ca..844fcd2 100644 --- a/src/chains/foundry.ts +++ b/src/chains/foundry.ts @@ -10,9 +10,7 @@ export const foundryChainNameMap: Record = { [ChainId.SON]: 'sonic', [ChainId.VAN]: 'vana', [ChainId.SOE]: 'soneium', - [ChainId.SWL]: 'swellchain', [ChainId.RON]: 'ronin', - [ChainId.CRN]: 'corn', [ChainId.LNS]: 'lens', [ChainId.ABS]: 'abstract', [ChainId.FSN]: 'fusion', @@ -20,8 +18,6 @@ export const foundryChainNameMap: Record = { [ChainId.TLO]: 'telos', [ChainId.ETL]: 'etherlink', [ChainId.XDC]: 'xdc', - [ChainId.SOP]: 'sophon', - [ChainId.SUP]: 'superposition', [ChainId.INK]: 'ink', [ChainId.BOC]: 'bob', [ChainId.NIB]: 'niburu', @@ -64,7 +60,6 @@ export const foundryChainNameMap: Record = { [ChainId.MNT]: 'mantle', [ChainId.KAI]: 'kaia', [ChainId.IMX]: 'immutablezkevm', - [ChainId.TAI]: 'taiko', [ChainId.WCC]: 'worldchain', [ChainId.OPB]: 'opbnb', [ChainId.LSK]: 'lisk', @@ -74,7 +69,6 @@ export const foundryChainNameMap: Record = { [ChainId.MON]: 'monad', [ChainId.STA]: 'stable', [ChainId.MEG]: 'megaeth', - [ChainId.BOT]: 'botanix', [ChainId.JOV]: 'jovay', [ChainId.MOP]: 'morph', [ChainId.TEM]: 'tempo', diff --git a/src/chains/supportedChains.evm.ts b/src/chains/supportedChains.evm.ts index 2acd837..aa71564 100644 --- a/src/chains/supportedChains.evm.ts +++ b/src/chains/supportedChains.evm.ts @@ -868,30 +868,6 @@ export const supportedEVMChains: EVMChain[] = [ }, }, - // 167000 - Taiko - { - key: ChainKey.TAI, - chainType: ChainType.EVM, - name: 'Taiko', - coin: CoinKey.ETH, - id: 167000, - mainnet: true, - logoURI: - 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/taiko.svg', - multicallAddress: multicallAddresses[ChainId.TAI], - metamask: { - chainId: prefixChainId(167000), - blockExplorerUrls: ['https://taikoscan.io/'], - chainName: 'Taiko Mainnet', - nativeCurrency: { - name: 'Ethereum', - symbol: 'ETH', - decimals: 18, - }, - rpcUrls: ['https://rpc.mainnet.taiko.xyz', 'https://rpc.taiko.xyz'], - }, - }, - // 1625 - Gravity { key: ChainKey.GRA, @@ -1287,81 +1263,6 @@ export const supportedEVMChains: EVMChain[] = [ }, }, - { - key: ChainKey.SWL, - chainType: ChainType.EVM, - name: 'Swellchain', - coin: CoinKey.ETH, - id: ChainId.SWL, - mainnet: true, - logoURI: - 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/swell.svg', - multicallAddress: multicallAddresses[ChainId.SWL], - relayerSupported: false, - - metamask: { - chainId: prefixChainId(ChainId.SWL), - blockExplorerUrls: ['https://explorer.swellnetwork.io/'], - chainName: 'Swellchain', - nativeCurrency: { - name: 'Ether', - symbol: 'ETH', - decimals: 18, - }, - rpcUrls: ['https://swell-mainnet.alt.technology'], - }, - }, - - { - key: ChainKey.CRN, - chainType: ChainType.EVM, - name: 'Corn', - coin: 'BTCN' as CoinKey, - id: ChainId.CRN, - mainnet: true, - logoURI: - 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/corn.svg', - multicallAddress: multicallAddresses[ChainId.CRN], - relayerSupported: false, - - metamask: { - chainId: prefixChainId(ChainId.CRN), - blockExplorerUrls: ['https://cornscan.io/'], - chainName: 'Corn', - nativeCurrency: { - name: 'Bitcorn', - symbol: 'BTCN', - decimals: 18, - }, - rpcUrls: ['https://mainnet.corn-rpc.com'], - }, - }, - - { - key: ChainKey.SUP, - chainType: ChainType.EVM, - name: 'Superposition', - coin: CoinKey.ETH, - id: ChainId.SUP, - mainnet: true, - logoURI: - 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/superposition.svg', - multicallAddress: multicallAddresses[ChainId.SUP], - relayerSupported: false, - - metamask: { - chainId: prefixChainId(ChainId.SUP), - blockExplorerUrls: ['https://explorer.superposition.so/'], - chainName: 'Superposition', - nativeCurrency: { - name: 'Ether', - symbol: 'ETH', - decimals: 18, - }, - rpcUrls: ['https://rpc.superposition.so'], - }, - }, - { key: ChainKey.HYP, chainType: ChainType.EVM, @@ -1690,30 +1591,6 @@ export const supportedEVMChains: EVMChain[] = [ }, }, - { - key: ChainKey.SOP, - chainType: ChainType.EVM, - name: 'Sophon', - coin: CoinKey.SOPH, - id: ChainId.SOP, - mainnet: true, - logoURI: - 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/sophon.svg', - relayerSupported: false, - multicallAddress: multicallAddresses[ChainId.SOP], - metamask: { - chainId: prefixChainId(ChainId.SOP), - blockExplorerUrls: ['https://sophscan.xyz/'], - chainName: 'Sophon', - nativeCurrency: { - name: CoinKey.SOPH, - symbol: CoinKey.SOPH, - decimals: 18, - }, - rpcUrls: ['https://rpc.sophon.xyz'], - }, - }, - { key: ChainKey.PLA, chainType: ChainType.EVM, @@ -1867,31 +1744,6 @@ export const supportedEVMChains: EVMChain[] = [ }, }, - // Botanix - { - key: ChainKey.BOT, - chainType: ChainType.EVM, - name: 'Botanix', - coin: CoinKey.BTC, - id: ChainId.BOT, - mainnet: true, - logoURI: - 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/botanix.svg', - relayerSupported: false, - multicallAddress: multicallAddresses[ChainId.BOT], - metamask: { - chainId: prefixChainId(ChainId.BOT), - blockExplorerUrls: ['https://botanixscan.io/'], - chainName: 'Botanix', - nativeCurrency: { - name: 'Bitcoin', - symbol: 'BTC', - decimals: 18, - }, - rpcUrls: ['https://rpc.botanixlabs.com'], - }, - }, - // Jovay { key: ChainKey.JOV, diff --git a/src/coins/coins.ts b/src/coins/coins.ts index 2346562..ec6dc43 100644 --- a/src/coins/coins.ts +++ b/src/coins/coins.ts @@ -123,10 +123,6 @@ export const basicCoins: BasicCoin[] = [ address: '0x0000000000000000000000000000000000000000', decimals: 18, }, - [ChainId.TAI]: { - address: '0x0000000000000000000000000000000000000000', - decimals: 18, - }, [ChainId.OPB]: { address: '0xE7798f023fC62146e8Aa1b36Da45fb70855a77Ea', decimals: 18, @@ -155,14 +151,6 @@ export const basicCoins: BasicCoin[] = [ address: '0x0000000000000000000000000000000000000000', decimals: 18, }, - [ChainId.SWL]: { - address: '0x0000000000000000000000000000000000000000', - decimals: 18, - }, - [ChainId.SUP]: { - address: '0x0000000000000000000000000000000000000000', - decimals: 18, - }, [ChainId.BOC]: { address: '0x0000000000000000000000000000000000000000', decimals: 18, @@ -323,10 +311,6 @@ export const basicCoins: BasicCoin[] = [ address: '0xf5C6825015280CdfD0b56903F9F8B5A2233476F5', decimals: 18, }, - [ChainId.SOP]: { - address: '0x24cd1762978Ed41920d3194dC3A945C50B9a2F5E', - decimals: 18, - }, [ChainId.TLO]: { address: '0x26Ed0F16e777C94A6FE798F9E20298034930Bae8', decimals: 18, @@ -443,10 +427,6 @@ export const basicCoins: BasicCoin[] = [ address: '0x20CAb320A855b39F724131C69424240519573f81', decimals: 18, }, - [ChainId.SOP]: { - address: '0x88171a5BbAcd92ca5e25575c5904581C80B025Dd', - decimals: 18, - }, [ChainId.HMI]: { address: '0x6c851F501a3F24E29A8E39a29591cddf09369080', decimals: 18, @@ -566,20 +546,6 @@ export const basicCoins: BasicCoin[] = [ }, }, }, - // > BTCN - { - key: 'BTCN' as CoinKey, - name: 'Bitcorn', - logoURI: - 'https://static.debank.com/image/corn_token/logo_url/corn/fe230e468272b84aba78d08bb4140456.png', - verified: true, - chains: { - [ChainId.CRN]: { - address: '0x0000000000000000000000000000000000000000', - decimals: 18, - }, - }, - }, // > XTZ { key: CoinKey.XTZ, @@ -854,10 +820,6 @@ export const basicCoins: BasicCoin[] = [ decimals: 6, name: 'USDT0', }, - [ChainId.TAI]: { - address: '0x2DEF195713CF4a606B49D07E520e22C17899a736', - decimals: 6, - }, [ChainId.GRA]: { address: '0x816E810f9F787d669FB71932DeabF6c83781Cd48', decimals: 6, @@ -934,10 +896,6 @@ export const basicCoins: BasicCoin[] = [ decimals: 6, name: 'Bridged USDT (Stargate)', }, - [ChainId.SOP]: { - address: '0x6386dA73545ae4E2B2E0393688fA8B65Bb9a7169', - decimals: 6, - }, [ChainId.TRN]: { address: 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t', decimals: 6, @@ -1098,10 +1056,6 @@ export const basicCoins: BasicCoin[] = [ address: '0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392', decimals: 6, }, - [ChainId.TAI]: { - address: '0x07d83526730c7438048D55A4fc0b850e2aaB6f0b', - decimals: 6, - }, [ChainId.IMX]: { address: '0x6de8aCC0D406837030CE4dd28e7c08C5a96a30d2', decimals: 6, @@ -1145,10 +1099,6 @@ export const basicCoins: BasicCoin[] = [ decimals: 6, name: 'USD Coin (Perp)', }, - [ChainId.SOP]: { - address: '0x9Aa0F72392B5784Ad86c6f3E899bCc053D00Db4F', - decimals: 6, - }, [ChainId.TRN]: { address: 'TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8', decimals: 6, @@ -1313,16 +1263,6 @@ export const basicCoins: BasicCoin[] = [ address: '0xF1815bd50389c46847f0Bda824eC8da914045D14', decimals: 6, }, - [ChainId.CRN]: { - address: '0xdf0b24095e15044538866576754f3c964e902ee6', - decimals: 6, - name: 'Bridged USDC (Corn)', - }, - [ChainId.SUP]: { - address: '0x6c030c5CC283F791B26816f325b9C632d964F8A1', - decimals: 6, - name: 'Bridged USDC (Superposition)', - }, [ChainId.XDC]: { address: '0xCc0587aeBDa397146cc828b445dB130a94486e74', decimals: 6, @@ -1374,11 +1314,6 @@ export const basicCoins: BasicCoin[] = [ decimals: 6, name: 'Bridged USDC (Stargate)', }, - [ChainId.BOT]: { - address: '0x29eE6138DD4C9815f46D34a4A1ed48F46758A402', - decimals: 6, - name: 'Bridged USDC (Stargate)', - }, [ChainId.TLO]: { address: '0xF1815bd50389c46847f0Bda824eC8da914045D14', decimals: 6, @@ -1686,10 +1621,6 @@ export const basicCoins: BasicCoin[] = [ address: '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34', decimals: 18, }, - [ChainId.SWL]: { - address: '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34', - decimals: 18, - }, [ChainId.PLA]: { address: '0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34', decimals: 18, @@ -1873,10 +1804,6 @@ export const basicCoins: BasicCoin[] = [ address: '0x0913DA6Da4b42f538B445599b46Bb4622342Cf52', decimals: 8, }, - [ChainId.SOP]: { - address: '0xF1f9E08a0818594FDe4713AE0Db1E46672Ca960E', - decimals: 8, - }, [ChainId.HMI]: { address: '0x03C7054BCB39f7b2e5B2c7AcB37583e32D70Cfa3', decimals: 8, @@ -2029,10 +1956,6 @@ export const basicCoins: BasicCoin[] = [ address: '0x5a77f1443d16ee5761d310e38b62f77f726bc71c', decimals: 18, }, - [ChainId.TAI]: { - address: '0xA51894664A773981C6C112C43ce576f315d5b1B6', - decimals: 18, - }, [ChainId.WCC]: { address: '0x4200000000000000000000000000000000000006', decimals: 18, @@ -2073,14 +1996,6 @@ export const basicCoins: BasicCoin[] = [ address: '0xE5ecd226b3032910CEaa43ba92EE8232f8237553', decimals: 18, }, - [ChainId.SWL]: { - address: '0x4200000000000000000000000000000000000006', - decimals: 18, - }, - [ChainId.SUP]: { - address: '0x1fB719f10b56d7a85DCD32f27f897375fB21cfdd', - decimals: 18, - }, [ChainId.XDC]: { address: '0xa7348290de5cf01772479c48D50dec791c3fC212', decimals: 18, @@ -2133,10 +2048,6 @@ export const basicCoins: BasicCoin[] = [ address: '0x783129E4d7bA0Af0C896c239E57C06DF379aAE8c', decimals: 18, }, - [ChainId.BOT]: { - address: '0x3292c42e8E9Ab3C6a12CFdA556BbCB6f113B1E28', - decimals: 18, - }, [ChainId.MEG]: { address: '0x4200000000000000000000000000000000000006', decimals: 18, @@ -3065,34 +2976,6 @@ export const basicCoins: BasicCoin[] = [ }, }, - // Sophon - { - key: CoinKey.SOPH, - name: 'Sophon', - logoURI: - 'https://static.debank.com/image/sophon_token/logo_url/sophon/b81ad042ee3060050e01af4ce4ff9217.png', - verified: true, - chains: { - [ChainId.SOP]: { - address: '0x0000000000000000000000000000000000000000', - decimals: 18, - }, - }, - }, - { - key: CoinKey.WSOPH, - name: 'Wrapped Sophon', - logoURI: - 'https://static.debank.com/image/sophon_token/logo_url/0x2b1a859de6a55c553520d7780bc5805712b128f9/b81ad042ee3060050e01af4ce4ff9217.png', - verified: true, - chains: { - [ChainId.SOP]: { - address: '0x2b1a859de6a55c553520d7780bc5805712b128f9', - decimals: 18, - }, - }, - }, - // USDT0 { key: CoinKey.USDT0, @@ -3123,10 +3006,6 @@ export const basicCoins: BasicCoin[] = [ decimals: 6, symbol: 'USDT0', }, - [ChainId.CRN]: { - address: '0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb', - decimals: 6, - }, [ChainId.SEI]: { address: '0x9151434b16b9763660705744891fA906F660EcC5', decimals: 6, @@ -3365,7 +3244,7 @@ export const basicCoins: BasicCoin[] = [ }, }, - // pBTC (wrapped Botanix native) + // pBTC (Botanix Pegged Bitcoin — deployed on STA / TLO / ETH / BSC) { key: CoinKey.pBTC, name: 'Botanix Pegged Bitcoin', @@ -3739,11 +3618,6 @@ export const basicCoins: BasicCoin[] = [ decimals: 8, name: 'Bitcoin', }, - [ChainId.BOT]: { - address: '0x0000000000000000000000000000000000000000', - decimals: 18, - name: 'Bitcoin', - }, }, }, @@ -4176,17 +4050,6 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = { logoURI: 'https://static.debank.com/image/coin/logo_url/frax/c9fc14504dda4d18f661628d56f73606.png', }, - [ChainId.TAI]: { - // https://taikoscan.io/address/0xa51894664a773981c6c112c43ce576f315d5b1b6 - address: '0xa51894664a773981c6c112c43ce576f315d5b1b6', - symbol: 'WETH', - decimals: 18, - chainId: ChainId.TAI, - coinKey: CoinKey.WETH, - name: 'WETH', - logoURI: - 'https://static.debank.com/image/mtr_token/logo_url/0x79a61d3a28f8c8537a3df63092927cfa1150fb3c/61844453e63cf81301f845d7864236f6.png', - }, [ChainId.GRA]: { // https://explorer.gravity.xyz/address/0xBB859E225ac8Fb6BE1C7e38D87b767e95Fef0EbD address: '0xBB859E225ac8Fb6BE1C7e38D87b767e95Fef0EbD', @@ -4347,36 +4210,6 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = { name: 'WGHO', logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/23508.png', }, - [ChainId.SWL]: { - address: '0x4200000000000000000000000000000000000006', - symbol: 'WETH', - decimals: 18, - chainId: ChainId.SWL, - coinKey: CoinKey.WETH, - name: 'WETH', - logoURI: - 'https://static.debank.com/image/eth_token/logo_url/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/61844453e63cf81301f845d7864236f6.png', - }, - [ChainId.CRN]: { - address: '0xda5ddd7270381a7c2717ad10d1c0ecb19e3cdfb2', - symbol: 'WBTCN', - decimals: 18, - chainId: ChainId.CRN, - coinKey: 'WBTCN' as CoinKey, - name: 'Wrapped BTCN', - logoURI: - 'https://static.debank.com/image/corn_token/logo_url/corn/fe230e468272b84aba78d08bb4140456.png', - }, - [ChainId.SUP]: { - address: '0x1fB719f10b56d7a85DCD32f27f897375fB21cfdd', - symbol: 'WETH', - decimals: 18, - chainId: ChainId.SUP, - coinKey: CoinKey.WETH, - name: 'WETH', - logoURI: - 'https://static.debank.com/image/eth_token/logo_url/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/61844453e63cf81301f845d7864236f6.png', - }, [ChainId.HYP]: { address: '0x5555555555555555555555555555555555555555', symbol: CoinKey.WHYPE, @@ -4507,16 +4340,6 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = { logoURI: 'https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png', }, - [ChainId.SOP]: { - address: '0x2b1a859de6a55c553520d7780bc5805712b128f9', - name: 'Wrapped Sophon', - symbol: CoinKey.WSOPH, - coinKey: CoinKey.WSOPH, - chainId: ChainId.SOP, - decimals: 18, - logoURI: - 'https://static.debank.com/image/sophon_token/logo_url/0x2b1a859de6a55c553520d7780bc5805712b128f9/b81ad042ee3060050e01af4ce4ff9217.png', - }, [ChainId.TRN]: { address: 'TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR', name: 'Wrapped TRX', @@ -4600,17 +4423,6 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = { logoURI: 'https://static.debank.com/image/uni_token/logo_url/uni/48bfb74adddd170e936578aec422836d.png', }, - [ChainId.BOT]: { - // https://botanixscan.io/token/0x0D2437F93Fed6EA64Ef01cCde385FB1263910C56?type=erc20&chainid=3637 - address: '0x0D2437F93Fed6EA64Ef01cCde385FB1263910C56', - symbol: 'pBTC', - decimals: 18, - chainId: ChainId.BOT, - coinKey: CoinKey.pBTC, - name: 'Botanix Pegged Bitcoin', - logoURI: - 'https://static.debank.com/image/botanix_token/logo_url/0x0d2437f93fed6ea64ef01ccde385fb1263910c56/5a41d4f22c915deb64fc82beedb14895.png', - }, [ChainId.TLO]: { // https://www.teloscan.io/address/0xD102cE6A4dB07D247fcc28F366A623Df0938CA9E address: '0xD102cE6A4dB07D247fcc28F366A623Df0938CA9E', diff --git a/src/multicall.ts b/src/multicall.ts index 3935993..972c118 100644 --- a/src/multicall.ts +++ b/src/multicall.ts @@ -41,7 +41,6 @@ export const multicallAddresses: { [ChainId: number]: string } = { [ChainId.BLS]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.SEI]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.FRA]: '0xcA11bde05977b3631167028862bE2a173976CA11', - [ChainId.TAI]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.GRA]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.IMX]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.KAI]: '0xcA11bde05977b3631167028862bE2a173976CA11', @@ -57,9 +56,6 @@ export const multicallAddresses: { [ChainId: number]: string } = { [ChainId.SOE]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.INK]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.LNS]: '0xeee5a340Cdc9c179Db25dea45AcfD5FE8d4d3eB8', - [ChainId.SWL]: '0xcA11bde05977b3631167028862bE2a173976CA11', - [ChainId.CRN]: '0xcA11bde05977b3631167028862bE2a173976CA11', - [ChainId.SUP]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.HYP]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.XDC]: '0x0b1795cca8e4ec4df02346a082df54d437f8d9af', [ChainId.BOC]: '0xcA11bde05977b3631167028862bE2a173976CA11', @@ -71,14 +67,12 @@ export const multicallAddresses: { [ChainId: number]: string } = { [ChainId.NIB]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.RON]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.PLU]: '0xcA11bde05977b3631167028862bE2a173976CA11', - [ChainId.SOP]: '0x5f4867441d2416cA88B1b3fd38f21811680CD2C8', [ChainId.PLA]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.FLW]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.HMI]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.MON]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.STA]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.MEG]: '0xcA11bde05977b3631167028862bE2a173976CA11', - [ChainId.BOT]: '0xcA11bde05977b3631167028862bE2a173976CA11', [ChainId.HPL]: '0xcA11bde05977b3631167028862bE2a173976CA11', // HyperLiquid is not EVM compatible, but we support it via our EVM-compatible API wrapper. [ChainId.LTR]: '0xcA11bde05977b3631167028862bE2a173976CA11', // Lighter is not EVM compatible, but we support it via our EVM-compatible API wrapper. [ChainId.TLO]: '0xcA11bde05977b3631167028862bE2a173976CA11', From 8b74885ba4cb5f9e1929c19509f60db1fd04610a Mon Sep 17 00:00:00 2001 From: Daniela Chybisova Date: Tue, 4 Aug 2026 17:08:02 +0200 Subject: [PATCH 2/5] chore(release): 7.0.0-alpha.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 73c948a..83686b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/data-types", - "version": "6.83.0", + "version": "7.0.0-alpha.0", "description": "Data types for the LI.FI stack", "keywords": [ "sdk", From 3c31923994808dbded675b4fcb9abea4c41f7a40 Mon Sep 17 00:00:00 2001 From: Daniela Chybisova Date: Wed, 5 Aug 2026 09:54:01 +0200 Subject: [PATCH 3/5] chore: bump @lifi/types to 18.0.0-alpha.1 Picks up destinationAction QuoteRequest params from types 17.90.0, which lifi-backend's develop depends on. Co-Authored-By: Claude Opus 5 (1M context) --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 83686b4..0f33877 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "18.0.0-alpha.0" + "@lifi/types": "18.0.0-alpha.1" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53f9480..6308476 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 18.0.0-alpha.0 - version: 18.0.0-alpha.0 + specifier: 18.0.0-alpha.1 + version: 18.0.0-alpha.1 devDependencies: '@commitlint/cli': specifier: ^19.7.1 @@ -440,8 +440,8 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@lifi/types@18.0.0-alpha.0': - resolution: {integrity: sha512-p06KV+LK4pFVYDpS7kpRfaRwsF/4a7JgtjrBlfJb6XuZ1FlcbUY3XSr0o2UgJDFRiv45OtzMtLja0071KWtDSA==} + '@lifi/types@18.0.0-alpha.1': + resolution: {integrity: sha512-aoVkUZ/lu5JELh+P9TXyqAUDe3BdISV6Z1P10Rt566muqlE0NNZNwOBGHZUx/fLEckozqbr6KE9ymClh2oyeHg==} '@mysten/bcs@1.9.2': resolution: {integrity: sha512-kBk5xrxV9OWR7i+JhL/plQrgQ2/KJhB2pB5gj+w6GXhbMQwS3DPpOvi/zN0Tj84jwPvHMllpEl0QHj6ywN7/eQ==} @@ -3141,7 +3141,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@lifi/types@18.0.0-alpha.0': {} + '@lifi/types@18.0.0-alpha.1': {} '@mysten/bcs@1.9.2': dependencies: From 8e54250b7730840ab6a1f8d5ac18f524d461464a Mon Sep 17 00:00:00 2001 From: Daniela Chybisova Date: Wed, 5 Aug 2026 09:54:05 +0200 Subject: [PATCH 4/5] chore(release): 7.0.0-alpha.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0f33877..519f6d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/data-types", - "version": "7.0.0-alpha.0", + "version": "7.0.0-alpha.1", "description": "Data types for the LI.FI stack", "keywords": [ "sdk", From 23e05614b6e97a23320a9271b3e35c9d195067cf Mon Sep 17 00:00:00 2001 From: Daniela Chybisova Date: Wed, 5 Aug 2026 10:53:44 +0200 Subject: [PATCH 5/5] chore: stable types Reverts the alpha version bumps and moves @lifi/types to stable 18.0.0 so the squash-merged commit on main reflects the stable state and main's release math stays clean. Co-Authored-By: Claude Opus 5 (1M context) --- package.json | 4 ++-- pnpm-lock.yaml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 519f6d6..5fae4ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/data-types", - "version": "7.0.0-alpha.1", + "version": "6.83.0", "description": "Data types for the LI.FI stack", "keywords": [ "sdk", @@ -78,7 +78,7 @@ ] }, "dependencies": { - "@lifi/types": "18.0.0-alpha.1" + "@lifi/types": "18.0.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6308476..f60ed8a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@lifi/types': - specifier: 18.0.0-alpha.1 - version: 18.0.0-alpha.1 + specifier: 18.0.0 + version: 18.0.0 devDependencies: '@commitlint/cli': specifier: ^19.7.1 @@ -440,8 +440,8 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@lifi/types@18.0.0-alpha.1': - resolution: {integrity: sha512-aoVkUZ/lu5JELh+P9TXyqAUDe3BdISV6Z1P10Rt566muqlE0NNZNwOBGHZUx/fLEckozqbr6KE9ymClh2oyeHg==} + '@lifi/types@18.0.0': + resolution: {integrity: sha512-uzC5XAkHdV/iMQdIyGZdijfLo/ED41NH3QVDY47WZgQx2vTyHmbiqcMxx3pzli/oGV1SSug0aozZtfIT7iiB9g==} '@mysten/bcs@1.9.2': resolution: {integrity: sha512-kBk5xrxV9OWR7i+JhL/plQrgQ2/KJhB2pB5gj+w6GXhbMQwS3DPpOvi/zN0Tj84jwPvHMllpEl0QHj6ywN7/eQ==} @@ -3141,7 +3141,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@lifi/types@18.0.0-alpha.1': {} + '@lifi/types@18.0.0': {} '@mysten/bcs@1.9.2': dependencies: