diff --git a/apps/web/src/config/__tests__/farms.test.ts b/apps/web/src/config/__tests__/farms.test.ts deleted file mode 100644 index 68c3a8b6f0dbf..0000000000000 --- a/apps/web/src/config/__tests__/farms.test.ts +++ /dev/null @@ -1,86 +0,0 @@ -/* eslint-disable address/addr-type */ -import { SerializedFarm } from '@pancakeswap/farms' -import farms1 from '@pancakeswap/farms/constants/eth' -import farms56 from '@pancakeswap/farms/constants/bsc' -import { Native } from '@pancakeswap/sdk' -import { getLpContract } from 'utils/contractHelpers' -import { describe, it } from 'vitest' - -// Test only against the last 10 farms, for performance concern -const farmsToTest: [number, SerializedFarm, number][] = farms56 - .filter((farm) => farm.pid !== 0 && farm.pid !== null) - .filter((farm) => !(farm as any).stableSwapAddress) - .slice(0, 10) - .map((farm) => [farm.pid, farm, 56]) - -const farms1ToTest: [number, SerializedFarm, number][] = farms1.slice(0, 10).map((farm) => [farm.pid, farm, 1]) - -const getDuplicates = (key: 'pid' | 'lpAddress') => { - const farms = [...farms56, ...farms1] - const keys = farms.map((farm) => farm[key]) - return keys.filter((data) => keys.indexOf(data) !== keys.lastIndexOf(data)) -} - -describe.concurrent( - 'Config farms', - () => { - it('All farm has an unique pid', () => { - const duplicates = getDuplicates('pid') - expect(duplicates).toHaveLength(0) - }) - - it('All farm has an unique address', () => { - const duplicates = getDuplicates('lpAddress') - expect(duplicates).toHaveLength(0) - }) - - it.each([...farmsToTest, ...farms1ToTest])( - 'Farm %d has the correct token addresses', - async (pid, farm, chainId) => { - const tokenAddress = farm.token.address - const quoteTokenAddress = farm.quoteToken.address - const lpContract = getLpContract(farm.lpAddress, chainId) - - const token0Address = (await lpContract.read.token0()).toLowerCase() - const token1Address = (await lpContract.read.token1()).toLowerCase() - - expect( - token0Address === tokenAddress.toLowerCase() || token0Address === quoteTokenAddress.toLowerCase(), - ).toBeTruthy() - expect( - token1Address === tokenAddress.toLowerCase() || token1Address === quoteTokenAddress.toLowerCase(), - ).toBeTruthy() - }, - ) - - it.each([...farmsToTest, ...farms1ToTest])('Farm %d symbol should not be native symbol', (_, farm, chainId) => { - const native = Native.onChain(chainId) - expect(farm.quoteToken.symbol).not.toEqual(native.symbol) - expect(farm.token.symbol).not.toEqual(native.symbol) - }) - - // The first pid using the new factory - // BSC - const START_PID = 2 - const FACTORY_ADDRESS = '0xca143ce32fe78f1f7019d7d551a6402fc5350c73' - const newFarmsToTest = farmsToTest.filter((farmSet) => farmSet[0] >= START_PID) - - it.each(newFarmsToTest)('farm %d is using correct factory address', async (pid, farm) => { - const lpContract = getLpContract(farm.lpAddress) - const factory = await lpContract.read.factory() - expect(factory.toLowerCase()).toEqual(FACTORY_ADDRESS) - }) - - // ETH - const ETH_START_PID = 124 - const ETH_FACTORY_ADDRESS = '0x1097053fd2ea711dad45caccc45eff7548fcb362' - const ethNewFarmsToTest = farms1ToTest.filter((farmSet) => farmSet[0] >= ETH_START_PID) - - it.each(ethNewFarmsToTest)('farm %d is using correct factory address', async (pid, farm) => { - const lpContract = getLpContract(farm.lpAddress, farm.token.chainId) - const factory = await lpContract.read.factory() - expect(factory.toLowerCase()).toEqual(ETH_FACTORY_ADDRESS) - }) - }, - { timeout: 50_000 }, -) diff --git a/packages/farms/constants/arb.ts b/packages/farms/constants/arb.ts deleted file mode 100644 index f8796038bc30d..0000000000000 --- a/packages/farms/constants/arb.ts +++ /dev/null @@ -1,680 +0,0 @@ -import { arbitrumTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' -import { getAddress } from 'viem' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' -import { FarmConfigV3, SerializedFarmConfig } from '../src/types' - -const v3TopFixedLps: FarmConfigV3[] = [ - { - pid: 43, - lpAddress: '0x389938CF14Be379217570D8e4619E51fBDafaa21', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 42, - lpAddress: '0x7fCDC35463E3770c2fB992716Cd070B63540b947', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 2, - lpAddress: '0x0BaCc7a9717e70EA0DA5Ac075889Bd87d4C81197', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOW, - }, - { - pid: 1, - lpAddress: '0xd9e2a1a61B6E61b275cEc326465d417e52C1b95c', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOW, - }, -] - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - ...v3TopFixedLps, - { - pid: 90, - lpAddress: '0x042691F78269BA3d6325c945044239758aecC275', - token0: arbitrumTokens.pendle, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 89, - lpAddress: '0x87Fe0e807E3E92A7558303FB51F201dcBfb07cC1', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.seed, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 88, - lpAddress: '0x1CAF100CD74792D4be6C64621C2E21c7830868c4', - token0: arbitrumTokens.usde, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 87, - lpAddress: '0xfb5076B8649022E9057FB6Eb7cbaC686CAcC2448', - token0: arbitrumTokens.solvbtcbbn, - token1: arbitrumTokens.solvbtc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 86, - lpAddress: '0xcFBcc53E96908Cc3719f2807457Db0b89870c4de', - token0: arbitrumTokens.wbtc, - token1: arbitrumTokens.solvbtc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 85, - lpAddress: '0x9fd6EBb5be86447616500c9Fc656F1247CBBd170', - token0: arbitrumTokens.dai, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 84, - lpAddress: '0xb9F9C2c31C3d00DD0EB987c818b4078F786d6F6E', - token0: arbitrumTokens.wstETH, - token1: arbitrumTokens.mstETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 83, - lpAddress: '0x7cFa96FEc24C3Ea23dE73F9C91f612319847e3D0', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.grt, - feeAmount: FeeAmount.LOW, - }, - { - pid: 82, - lpAddress: '0xF24c54520F5a9AEa308AbEFEFF97bCcCAaef43db', - token0: arbitrumTokens.ethPlus, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 81, - lpAddress: '0x89F5A7B6FF864F25f7Eb5a13309a83569F07FDbe', - token0: arbitrumTokens.tap, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 80, - lpAddress: '0xfA4971DC5aD81b4FccAFFAD0a584d13192B7D2BA', - token0: arbitrumTokens.usde, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 79, - lpAddress: '0x24D76366bb47AbB4abc72022dC5Cb18DD85Ea259', - token0: arbitrumTokens.pendle, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 78, - lpAddress: '0xf0346b437Fe43e64Fa799C2BD3cf5Db1F7e9327C', - token0: arbitrumTokens.zro, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 77, - lpAddress: '0xDC0CBC0e581730F0f9c110181582873eb4e116CB', - token0: arbitrumTokens.wstETH, - token1: arbitrumTokens.usdce, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 76, - lpAddress: '0x06607df154875f0507C33418707F366bD47A62Fa', - token0: arbitrumTokens.wbtc, - token1: arbitrumTokens.usdce, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 75, - lpAddress: '0xeAF03f385C642b02B5C563640BBA7c4FBf96c27D', - token0: arbitrumTokens.wbtc, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - - { - pid: 74, - lpAddress: '0xc24B560c7f8a1A50c2336cd8917Af61B5E14984F', - token0: arbitrumTokens.sqd, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 73, - lpAddress: '0x04a35D7920f2f2fF9fAA447fF8cFaD47fc7cED2b', - token0: arbitrumTokens.solvBTC, - token1: arbitrumTokens.solvBTCena, - feeAmount: FeeAmount.LOW, - }, - { - pid: 72, - lpAddress: '0x152703894d31e54437d01b03BDD21c03583E9709', - token0: arbitrumTokens.zro, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 71, - lpAddress: '0x38437dBfd1D6a147A50CD0991A9581Ac8f996892', - token0: arbitrumTokens.fusdc, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 70, - lpAddress: '0x4fC7aC44DAe553464d92c049175133239A8705C1', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.usdce, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 69, - lpAddress: '0x5A17cbf5F866BDe11C28861a2742764Fac0Eba4B', - token0: arbitrumTokens.wbtc, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 68, - lpAddress: '0x858dff46915d3f81bb7fF06158B2806164ACB2A0', - token0: arbitrumTokens.usdt, - token1: arbitrumTokens.usdce, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 67, - lpAddress: '0xE8BB56ee968333bf18f9CBbE8eEef350540F9607', - token0: arbitrumTokens.usdc, - token1: arbitrumTokens.usdce, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 66, - lpAddress: '0x3a63E393726640B33A78A3cac5e57fa6f35B69Ed', - token0: arbitrumTokens.arb, - token1: arbitrumTokens.usdce, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 65, - lpAddress: '0xB27fdE8d172bb146186Bac819Ceb12fE4FA9262A', - token0: arbitrumTokens.usdc, - token1: arbitrumTokens.mim, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 64, - lpAddress: '0x9BC7abdfaEfA730d63A904acCEC61DD9083AA638', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.woo, - feeAmount: FeeAmount.LOW, - }, - { - pid: 63, - lpAddress: '0xfeb104864f3aD0C75E6B1bB4A0EDB3f89e562e6e', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.tia, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 62, - lpAddress: '0xbd536591E3D2FBa81Adb8Dff970a43A8A0d382EC', - token0: arbitrumTokens.magic, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 61, - lpAddress: '0x6fd1112CdFA0F53a698Fb4D6c6f7dCEc82e20B58', - token0: arbitrumTokens.usdv, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 60, - lpAddress: '0x64bC7Ed8a3F827D47B0041430875A7778B7DB104', - token0: arbitrumTokens.fly, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 59, - lpAddress: '0x5255a4115Bf7B98cc5cb037f24A8F12527c04e45', - token0: arbitrumTokens.axlUSDC, - token1: arbitrumTokens.usdce, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 58, - lpAddress: '0x64dae6685725Dbd0a0e63fE522c9134d0EaA7258', - token0: arbitrumTokens.weETH, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 57, - lpAddress: '0x1D2031Fa0dA6fb4bDA57E377C7273c22eab930D6', - token0: arbitrumTokens.ezETH, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 56, - lpAddress: '0xe2d9b612446180334D56e10e82Dc78E3dEe814B0', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.ethX, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 55, - lpAddress: '0x4B89179dAfe5c36AE611208B5590FEf9153b7daa', - token0: arbitrumTokens.rsETH, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 54, - lpAddress: '0xb0C6Be7b6aaB831092A3c7ef3Fe2Ab4F48B80b6A', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.grai, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 53, - lpAddress: '0x667ED8FCa4fc042B8425AA3547E3271d9E6E9bB4', - token0: arbitrumTokens.usdv, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 52, - lpAddress: '0xb18eA0b56E46D4F890dC729425184fD1EF25dbFf', - token0: arbitrumTokens.usdv, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 51, - lpAddress: '0xa1F9159e11aD48524c16C9bf10bf440815b03e6C', - token0: arbitrumTokens.usdc, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 50, - lpAddress: '0xf92768916015b5eBd9fa54D6BA10dA5864e24914', - token0: arbitrumTokens.arb, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 49, - lpAddress: '0xe37304F7489ed253b2A46A1d9DabDcA3d311D22E', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 48, - lpAddress: '0x843aC8dc6D34AEB07a56812b8b36429eE46BDd07', - token0: arbitrumTokens.wbtc, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 47, - lpAddress: '0xB19005B42E2Dcc65FB6A5598db329EDFe365A0b2', - token0: arbitrumTokens.arb, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 46, - lpAddress: '0x93CCe474015007B38dA0eceA96671EE4dc3d40Ad', - token0: arbitrumTokens.arb, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 45, - lpAddress: '0x11d53EC50bc8F54B9357fbFe2A7dE034FC00f8b3', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.arb, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 44, - lpAddress: '0x4bfc22A4dA7f31F8a912a79A7e44a822398b4390', - token0: arbitrumTokens.wbtc, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 41, - lpAddress: '0x35D85D531BE7159cB6f92E8B9CeaF04eC28c6ad9', - token0: arbitrumTokens.usdv, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 40, - lpAddress: '0x8a06339Abd7499Af755DF585738ebf43D5D62B94', - token0: arbitrumTokens.usdtplus, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.LOW, - }, - { - pid: 39, - lpAddress: '0x721F37495cD70383B0A77Bf1eB8f97eef29498Bb', - token0: arbitrumTokens.usdc, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.LOW, - }, - { - pid: 38, - lpAddress: '0x753bA05488Cac9B3f7D59Ff7D3f13F31bB5eDf22', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 37, - lpAddress: '0x714D48cb99b87F274B33A89fBb16EaD191B40b6C', - token0: arbitrumTokens.ovn, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 36, - lpAddress: '0xdAA80a051E22A7f7b0cfC33Aa29572fbDE65183E', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.ethplus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 35, - lpAddress: '0xd01075f7314a6436e8B74fc18069848229D0c555', - token0: arbitrumTokens.usdplus, - token1: arbitrumTokens.usdce, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 34, - lpAddress: '0x06c75011479E47280e8B7E72E9e0315C8b3A634d', - token0: arbitrumTokens.ethplus, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 33, - lpAddress: '0xb9c2d906f94b27bC403Ab76B611D2C4490c2ae3F', - token0: arbitrumTokens.usdtplus, - token1: arbitrumTokens.usdplus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 32, - lpAddress: '0xf0B860d338E8B5199606322653B83A166d96E417', - token0: arbitrumTokens.xai, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 3, - lpAddress: '0x0d7c4b40018969f81750d0a164c3839a77353EFB', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.arb, - feeAmount: FeeAmount.LOW, - }, - { - pid: 4, - lpAddress: '0x7e928afb59f5dE9D2f4d162f754C6eB40c88aA8E', - token0: arbitrumTokens.usdc, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 5, - lpAddress: '0xF5Fac36c2429e1Cf84D4aBACdB18477Ef32589c9', - token0: arbitrumTokens.cake, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 6, - lpAddress: '0xD58522653D3F368D76d453Bc4C80CD7Fb36AC786', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.lvl, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 7, - lpAddress: '0x5e3C3a063cc9A4AEB5310C7faDc2A98aEbDD245d', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.mgp, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 8, - lpAddress: '0x9fFCA51D23Ac7F7df82da414865Ef1055E5aFCc3', - token0: arbitrumTokens.arb, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 9, - lpAddress: '0x81D1cc282e9a097115E59F67B9D81d4d1d00AC51', - token0: arbitrumTokens.arb, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOW, - }, - { - pid: 10, - lpAddress: '0x1Cb2892038867aDFa78CCfc6C3fB89b1dA558243', - token0: arbitrumTokens.pendle, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 11, - lpAddress: '0xF5BFda16f9E57F0B7a67C57b42407C33C31349B6', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.gmx, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 12, - lpAddress: '0x0Ba3d55678C019B8101061855fe4Ea8D3ECE784f', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.link, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 13, - lpAddress: '0xC9057e7b625D293c0E308Ce344357E2d23174CE6', - token0: arbitrumTokens.kuji, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 14, - lpAddress: '0x6a23ec7A203F546d7D62FA667A652EC55197Ea6F', - token0: arbitrumTokens.usdc, - token1: arbitrumTokens.link, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 15, - lpAddress: '0x278566F0ad52fbF36eb4Ba16d2171ed6e6e84e8a', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.eqb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 16, - lpAddress: '0x3C2bf5C0Be7be4919fae1330b748E89f165259D7', - token0: arbitrumTokens.usdc, - token1: arbitrumTokens.axlUSDC, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 17, - lpAddress: '0x54076C901D4fDF76C1fA1F77FAFC3FC1022ADBE5', - token0: arbitrumTokens.wbtc, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 18, - lpAddress: '0xd5d1F85E65Ce58a4782852F4A845b1d6Ca71F1a2', - token0: arbitrumTokens.usdc, - token1: arbitrumTokens.dai, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 19, - lpAddress: '0x3fFCa56A99f477dd57A4a5d8799F4DA613C9956B', - token0: arbitrumTokens.axlUSDC, - token1: arbitrumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 20, - lpAddress: '0xF3d0d1d3788FBd1F327149D30a4Eb7744861f05d', - token0: arbitrumTokens.stg, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 21, - lpAddress: '0x7767FBfd90b557dc56554058E7c05c9fAa600F8F', - token0: arbitrumTokens.stg, - token1: arbitrumTokens.arb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 22, - lpAddress: '0x4573ef50dbb79769eF66B1b16dcDB60652884ba6', - token0: arbitrumTokens.stg, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 23, - lpAddress: '0x0CAA927059CB8db37CEefcB9e18c4FC7Efef9655', - token0: arbitrumTokens.rdnt, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 24, - lpAddress: '0x46e3faBB9f963f84E9d23Ca2E332A3Ced59604a6', - token0: arbitrumTokens.magic, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 25, - lpAddress: '0x3ABBbBb4C254b9327F1a0580BdbCcb51B0b5Fb08', - token0: arbitrumTokens.wstETH, - token1: arbitrumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 26, - lpAddress: '0xC75908421566eA77A73B14D9cD0479C568f2B7A7', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.rETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 27, - lpAddress: '0xb901fc9D0D31C9A15DB69C616D31e19fF39b0df6', - token0: arbitrumTokens.stEUR, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 28, - lpAddress: '0xbA339883104bf9D1e894E1640E21E261bcacE6DD', - token0: arbitrumTokens.kuji, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 29, - lpAddress: '0x98cffCe9A35132A42Da9582cCed57Db98C07A690', - token0: arbitrumTokens.dmt, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 30, - lpAddress: '0x060d8a5a7C03882e33AcA8FC304BabE869e21Ee9', - token0: arbitrumTokens.grai, - token1: arbitrumTokens.usdc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 31, - lpAddress: '0x964f1c58aD7058F352fAEd049A4674c1990355AB', - token0: arbitrumTokens.weth, - token1: arbitrumTokens.swETH, - feeAmount: FeeAmount.LOWEST, - }, -]) - -const farms: SerializedFarmConfig[] = [ - { - pid: 2, - lpSymbol: 'mDLP-DLP LP', - lpAddress: '0x0db5e247ab73FBaE16d9301f2977f974EC0AA336', - token: arbitrumTokens.dlp, - quoteToken: arbitrumTokens.mdlp, - stableSwapAddress: '0xd0f0be815a76eFE677c92b07b39a5e972BAf22bD', - infoStableSwapAddress: '0x58B2F00f74a1877510Ec37b22f116Bf5D63Ab1b0', - stableLpFee: 0.00125, - stableLpFeeRateOfTotalFee: 0.5, - bCakeWrapperAddress: '0xC6B6926ef8B7218F054d64B52Ac455aEd22D690B', - }, - { - pid: 178, - lpSymbol: 'mPENDLE-PENDLE LP', - lpAddress: '0x1A2329546f11e4fE55b853D98Bba2c4678E3105A', - token: arbitrumTokens.pendle, - quoteToken: arbitrumTokens.mpendle, - stableSwapAddress: '0x73ed25e04Aa673ddf7411441098fC5ae19976CE0', - infoStableSwapAddress: '0x58B2F00f74a1877510Ec37b22f116Bf5D63Ab1b0', - stableLpFee: 0.00125, - stableLpFeeRateOfTotalFee: 0.5, - bCakeWrapperAddress: '0x7Fa4536b3E78643E027Dc34bB5A055517B4D9096', - }, -].map( - (p) => - ({ - ...p, - token: p.token.serialize, - quoteToken: p.quoteToken.serialize, - lpAddress: p.lpAddress ? getAddress(p.lpAddress) : '0x', - } as SerializedFarmConfig), -) -export default farms diff --git a/packages/farms/constants/base.ts b/packages/farms/constants/base.ts deleted file mode 100644 index b775809c3107d..0000000000000 --- a/packages/farms/constants/base.ts +++ /dev/null @@ -1,288 +0,0 @@ -import { baseTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' -import { FarmConfigV3 } from '../src' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -const v3TopFixedFarms: FarmConfigV3[] = [ - { - pid: 10, - lpAddress: '0x72AB388E2E2F6FaceF59E3C3FA2C4E29011c2D38', - token0: baseTokens.weth, - token1: baseTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 9, - lpAddress: '0xF6C0A374a483101e04EF5F7Ac9Bd15d9142BAC95', - token0: baseTokens.weth, - token1: baseTokens.usdbc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 5, - lpAddress: '0xB775272E537cc670C65DC852908aD47015244EaF', - token0: baseTokens.weth, - token1: baseTokens.usdc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 1, - lpAddress: '0xe58b73fF901325b8b2056B29712C50237242F520', - token0: baseTokens.weth, - token1: baseTokens.usdbc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 6, - lpAddress: '0x29Ed55B18Af0Add137952CB3E29FB77B32fCE426', - token0: baseTokens.usdc, - token1: baseTokens.usdbc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 12, - lpAddress: '0x257FCbAE4Ac6B26A02E4FC5e1a11e4174B5ce395', - token0: baseTokens.cbETH, - token1: baseTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 2, - lpAddress: '0xc0efC182479319ff258EcA420e2647cD82D3790c', - token0: baseTokens.cbETH, - token1: baseTokens.weth, - feeAmount: FeeAmount.LOW, - }, -] - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - ...v3TopFixedFarms, - { - pid: 39, - lpAddress: '0x2163A4989B42748f28510CDDeC7a335ab656bB99', - token0: baseTokens.dola, - token1: baseTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 38, - lpAddress: '0x9E143b6644C752d82F63a416c1f37c908f845BB4', - token0: baseTokens.wif, - token1: baseTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 37, - lpAddress: '0x4b381d7c8021fD23A979e64a582049C1D4E39F38', - token0: baseTokens.weth, - token1: baseTokens.miggles, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 36, - lpAddress: '0xFa98B3C0526C9bf96787e5797e87910f1175af0F', - token0: baseTokens.weth, - token1: baseTokens.degen, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 35, - lpAddress: '0x75CC10fdcEa4b7D13c115ABB08240ac9c9Be6f2f', - token0: baseTokens.weth, - token1: baseTokens.brett, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 34, - lpAddress: '0x2cAB6049d0697a2bfc658f35443c5BA85eE88695', - token0: baseTokens.usdz, - token1: baseTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 33, - lpAddress: '0xebF0E4dA26A0d040C2343a9e072A0d0B8cF1E0b0', - token0: baseTokens.usdz, - token1: baseTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 32, - lpAddress: '0x504FbeB4Fe5E76A3E9747a88B4836F6dfa94185f', - token0: baseTokens.usdPlus, - token1: baseTokens.usdbc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 31, - lpAddress: '0x167c9F0AF189DDF58f4B43683404a45096c23b67', - token0: baseTokens.usdc, - token1: baseTokens.usdPlus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 30, - lpAddress: '0x29a857629E58C531f351Bb7fbd86aa46Ef6aF0B7', - token0: baseTokens.usdc, - token1: baseTokens.aero, - feeAmount: FeeAmount.LOW, - }, - { - pid: 29, - lpAddress: '0x5f07bb9fEE6062e9D09A52E6d587c64bAD6bA706', - token0: baseTokens.usdc, - token1: baseTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 28, - lpAddress: '0x3C288a41C135fb0Bae3F95b6A37B5e3e89f3FD95', - token0: baseTokens.weth, - token1: baseTokens.miggles, - feeAmount: FeeAmount.LOW, - }, - { - pid: 27, - lpAddress: '0x302976A386fbb375033bE3Ac1E4112F76cf42ef7', - token0: baseTokens.weeth, - token1: baseTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 26, - lpAddress: '0x20CB8f872ae894F7c9e32e621C186e5AFCe82Fd0', - token0: baseTokens.weth, - token1: baseTokens.aero, - feeAmount: FeeAmount.LOW, - }, - { - pid: 25, - lpAddress: '0x54D281c7cc029a9Dd71F9ACb7487dd95B1EecF5a', - token0: baseTokens.weth, - token1: baseTokens.degen, - feeAmount: FeeAmount.LOW, - }, - { - pid: 24, - lpAddress: '0x526d54cD4FAc2e6B2ddCb6bC98b9292603061f85', - token0: baseTokens.weth, - token1: baseTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 23, - lpAddress: '0x765bf105ed38D2Ee7801210B4Bb2B8b7D9B3A17f', - token0: baseTokens.weth, - token1: baseTokens.brett, - feeAmount: FeeAmount.LOW, - }, - { - pid: 22, - lpAddress: '0xbee435c7Ff6Cb814124281C4C2532476A094Ac87', - token0: baseTokens.weth, - token1: baseTokens.zro, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 15, - lpAddress: '0x5b9FEB72588D2800892a00d2abB4ca9071df846e', - token0: baseTokens.weth, - token1: baseTokens.usdPlus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 16, - lpAddress: '0xa4846201E94D2a5399774926f760A36D52Ac22BF', - token0: baseTokens.usdPlus, - token1: baseTokens.wstETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 17, - lpAddress: '0x40C91EBd1FA940A363989aC80a31B3a988dD649B', - token0: baseTokens.cbETH, - token1: baseTokens.usdPlus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 18, - lpAddress: '0x98Ee8cd99370Ab19F18Fb9033337995076867ee9', - token0: baseTokens.brett, - token1: baseTokens.usdPlus, - feeAmount: FeeAmount.LOW, - }, - { - pid: 19, - lpAddress: '0xdd5AC923f03a97FF9F0cfbFa0F5E155E46c3727d', - token0: baseTokens.degen, - token1: baseTokens.usdPlus, - feeAmount: FeeAmount.LOW, - }, - { - pid: 20, - lpAddress: '0x62996340a9bFEeE2A72bfAE8F21b8c0A5E692261', - token0: baseTokens.aero, - token1: baseTokens.usdPlus, - feeAmount: FeeAmount.LOW, - }, - { - pid: 21, - lpAddress: '0xcC7BfD85395042EE0cACe335E40b549b3d08Eb78', - token0: baseTokens.weth, - token1: baseTokens.ovn, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 14, - lpAddress: '0xBd59a718E60bd868123C6E949c9fd97185EFbDB7', - token0: baseTokens.weth, - token1: baseTokens.wstETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 13, - lpAddress: '0x03C33a2fC0D444a5B61E573f9e1A285357a694fc', - token0: baseTokens.cake, - token1: baseTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - - { - pid: 11, - lpAddress: '0x25DEe2707979055245A18AE6a415bb7b1435Eb06', - token0: baseTokens.usdbc, - token1: baseTokens.axlusdc, - feeAmount: FeeAmount.LOWEST, - }, - - { - pid: 8, - lpAddress: '0x0D486753B99b1e0548d3505D8B797c673b58Cad3', - token0: baseTokens.tbtc, - token1: baseTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 7, - lpAddress: '0x345825A980BD94e1480bC4f20FE4e3DAE2F23Dd3', - token0: baseTokens.dai, - token1: baseTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - - { - pid: 4, - lpAddress: '0x9BFa331679b307Cf358438F45f6413a205FD3EBf', - token0: baseTokens.weth, - token1: baseTokens.dai, - feeAmount: FeeAmount.LOW, - }, - { - pid: 3, - lpAddress: '0xe4eFf19c7AcE186ba39fD3eD639B2D34171f7efF', - token0: baseTokens.dai, - token1: baseTokens.usdbc, - feeAmount: FeeAmount.LOWEST, - }, -]) diff --git a/packages/farms/constants/bsc.ts b/packages/farms/constants/bsc.ts deleted file mode 100644 index 2a21859815ed4..0000000000000 --- a/packages/farms/constants/bsc.ts +++ /dev/null @@ -1,2625 +0,0 @@ -import { bscTokens } from '@pancakeswap/tokens' -import { FeeAmount, Pool } from '@pancakeswap/v3-sdk' -import { getAddress } from 'viem' -import { FarmConfigV3, SerializedFarmConfig } from '../src' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' -import { CAKE_BNB_LP_MAINNET } from './common' - -const v3TopFixedLps: FarmConfigV3[] = [ - { - pid: 137, - lpAddress: '0x172fcD41E0913e95784454622d1c3724f546f849', - token0: bscTokens.usdt, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 5, - token0: bscTokens.usdt, - token1: bscTokens.wbnb, - lpAddress: '0x36696169C63e42cd08ce11f5deeBbCeBae652050', - feeAmount: FeeAmount.LOW, - }, - { - pid: 149, - lpAddress: '0xf2688Fb5B81049DFB7703aDa5e770543770612C4', - token0: bscTokens.usdc, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 148, - lpAddress: '0x81A9b5F18179cE2bf8f001b8a634Db80771F1824', - token0: bscTokens.usdc, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.LOW, - }, - { - pid: 7, - token0: bscTokens.usdt, - token1: bscTokens.btcb, - lpAddress: '0x46Cf1cF8c69595804ba91dFdd8d6b960c9B0a7C4', - feeAmount: FeeAmount.LOW, - }, - { - pid: 54, - token0: bscTokens.eth, - token1: bscTokens.wbnb, - lpAddress: '0xD0e226f674bBf064f54aB47F42473fF80DB98CBA', - feeAmount: FeeAmount.LOW, - }, - { - pid: 97, - lpAddress: '0xBe141893E4c6AD9272e8C04BAB7E6a10604501a5', - token0: bscTokens.eth, - token1: bscTokens.usdt, - feeAmount: FeeAmount.LOW, - }, - { - pid: 1, - token0: bscTokens.cake, - token1: bscTokens.wbnb, - lpAddress: '0x133B3D95bAD5405d14d53473671200e9342896BF', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 4, - token0: bscTokens.wbnb, - token1: bscTokens.busd, - lpAddress: '0x85FAac652b707FDf6907EF726751087F9E0b6687', - feeAmount: FeeAmount.LOW, - }, -] - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - ...v3TopFixedLps, - // new lps should follow after the top fixed lps - // latest first - { - pid: 183, - lpAddress: '0x247f51881d1E3aE0f759AFB801413a6C948Ef442', - token0: bscTokens.usdt, - token1: bscTokens.btcb, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 182, - lpAddress: '0x9F599F3D64a9D99eA21e68127Bb6CE99f893DA61', - token0: bscTokens.eth, - token1: bscTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 181, - lpAddress: '0x62Fcb3C1794FB95BD8B1A97f6Ad5D8a7e4943a1e', - token0: bscTokens.eth, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 180, - lpAddress: '0x7b0240618CfE1cf4c576a905CA2557f287F97911', - token0: bscTokens.btcb, - token1: bscTokens.kbtc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 179, - lpAddress: '0xc9002d23CEBF00b40f7CDB5B1E63d96eebB50031', - token0: bscTokens.wstETH, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.LOW, - }, - { - pid: 178, - lpAddress: '0xcC1c80529B483A663d869C137a1Fd0cBD9855dC8', - token0: bscTokens.wstETH, - token1: bscTokens.btcb, - feeAmount: FeeAmount.LOW, - }, - { - pid: 177, - lpAddress: '0x6CB5392B9CA52d7a0E6940e82d29087361360eC3', - token0: bscTokens.eth, - token1: bscTokens.wstETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 176, - lpAddress: '0xfc18301B94a77D91015bb90D5249827c506846Ae', - token0: bscTokens.btcb, - token1: bscTokens.stbtc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 175, - lpAddress: '0x5a5ca75147550079411F6F543B729A4bEAb4dfEb', - token0: bscTokens.solvbtcbbn, - token1: bscTokens.solvbtc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 174, - lpAddress: '0x1c25ae16e6DE5760aa92eEBF2857EfF2796539d1', - token0: bscTokens.usdt, - token1: bscTokens.wsi, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 173, - lpAddress: '0xe2cB548594fb8FbcF04B8EfddFB2EFaB1bA5A6e7', - token0: bscTokens.dexeTkn, - token1: bscTokens.boxy, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 172, - lpAddress: '0x7C6CC4D67C920e4b86d46EA125f69b410afdaF61', - token0: bscTokens.solvbtc, - token1: bscTokens.solvBTCena, - feeAmount: FeeAmount.LOW, - }, - { - pid: 171, - lpAddress: '0x2C533e2C2B4fd1172b5A0a0178805Be1526a15a7', - token0: bscTokens.usdt, - token1: bscTokens.lista, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 170, - lpAddress: '0xC241e8fb314bc3799BE2Db94dCE4d070c29b425d', - token0: bscTokens.zro, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 169, - token0: bscTokens.wbnb, - token1: bscTokens.lista, - lpAddress: '0x976241c208CC07505a620d768ee7251d47AcB2a0', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 168, - token0: bscTokens.usdt, - token1: bscTokens.axlSTARS, - lpAddress: '0x0a3178B9C9FbCdE0fDFcFd805ce776eB3b8138e3', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 167, - token0: bscTokens.fury, - token1: bscTokens.usdt, - lpAddress: '0xa62FdD52Ae4c9Ca11d6C4e328E8F6A9Db218E452', - feeAmount: FeeAmount.LOW, - }, - { - pid: 166, - token0: bscTokens.bnb, - token1: bscTokens.busd, - lpAddress: '0x8F45b99BF65CDBF9bC0C0b4846D6a324d2DE5314', - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 165, - token0: bscTokens.eth, - token1: bscTokens.stone, - lpAddress: '0xb66cB4092277ee946d4FbA1D34f425329fEdd37e', - feeAmount: FeeAmount.LOW, - }, - { - pid: 164, - token0: bscTokens.solvbtc, - token1: bscTokens.btcb, - lpAddress: '0x12197d7a4fE2d67F9f97ae64D82A44c24B7Ad407', - feeAmount: FeeAmount.LOW, - }, - { - pid: 163, - token0: bscTokens.weEth, - token1: bscTokens.eth, - lpAddress: '0x0eC7a280709a03877E69D1b80C115F8e8D3abC02', - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 162, - token0: bscTokens.masa, - token1: bscTokens.wbnb, - lpAddress: '0x6AFe0F2b39B98857e49af22cEf4e4525551B46ac', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 161, - token0: bscTokens.sdt, - token1: bscTokens.wbnb, - lpAddress: '0x71b948B361ad69A233a208190C9ac9c5B130d095', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 160, - token0: bscTokens.nmt, - token1: bscTokens.wbnb, - lpAddress: '0x2450f6B521567F0eDc8a95bF3CF5C452E4f9cC67', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 2, - token0: bscTokens.cake, - token1: bscTokens.busd, - lpAddress: '0x9f6EB6903C1277c8f02d71F8814dc9998199af1D', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 3, - token0: bscTokens.cake, - token1: bscTokens.usdt, - lpAddress: '0x7f51c8AaA6B0599aBd16674e2b17FEc7a9f674A1', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 159, - lpAddress: '0xEDB6d7d456A570f790185aF9f6B99020Cc578Ed0', - token0: bscTokens.ego, - token1: bscTokens.usdt, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 158, - lpAddress: '0x05B77eAD38f5A016dcd26365ce57028e416175d2', - token0: bscTokens.usdt, - token1: bscTokens.mc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 157, - lpAddress: '0x004A335932D50f666011935677d96a366AF3eAe2', - token0: bscTokens.mb4, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 156, - lpAddress: '0x1Cf977828364c597a4a80779a3a5eb8fB673A845', - token0: bscTokens.usdt, - token1: bscTokens.chat, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 155, - lpAddress: '0xdD82975ab85E745c84e497FD75ba409Ec02d4739', - token0: bscTokens.pepe, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 154, - lpAddress: '0x0125ac49a5C06CCfd0819e6E20CCBE09bDE35140', - token0: bscTokens.octavia, - token1: bscTokens.usdt, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 153, - lpAddress: '0xf9Adc7F9E10eAA8AfD6A3Ea2b419d9497fa192c3', - token0: bscTokens.eth, - token1: bscTokens.pxETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 152, - lpAddress: '0xb5Bf551Df2C078890809Ad295c91ec5aBC23e620', - token0: bscTokens.eth, - token1: bscTokens.ezETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 151, - lpAddress: '0x505D091fd01b3D4340827A3737c950f030CdD9A7', - token0: bscTokens.fil, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 150, - lpAddress: '0x032AB93B734BEf57D98552EB56839F0995D4FB28', - token0: bscTokens.trump, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 147, - lpAddress: '0x2cBfA271CcE515FEd6e49b406Df4A77ec952a952', - token0: bscTokens.fet, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 146, - lpAddress: '0x8Da885A16bAceA79eD681b235Be1E1C45d3E3049', - token0: bscTokens.eth, - token1: bscTokens.pxETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 145, - lpAddress: '0xfab21Cb9467e9BaDd22A2dE57BCDE5F53D925973', - token0: bscTokens.usdt, - token1: bscTokens.bnx, - feeAmount: FeeAmount.LOW, - }, - { - pid: 144, - lpAddress: '0xe0D4f397935A6346c8E2cd2aBa4ab5Ff26532352', - token0: bscTokens.osak, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 143, - lpAddress: '0x9a5936bab8f9ae1D89DA5fa95C484F7aD597C8C0', - token0: bscTokens.xrgb, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 142, - lpAddress: '0x4167f229a0323F480518b61CB35eD4d6a0C5EA27', - token0: bscTokens.usdt, - token1: bscTokens.dmail, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 141, - lpAddress: '0x9F5a0AD81Fe7fD5dFb84EE7A0CFb83967359BD90', - token0: bscTokens.usdt, - token1: bscTokens.sol, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 140, - lpAddress: '0x1E4600929Edf7F36B4A7eAc4C7571057D82a246c', - token0: bscTokens.sol, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 139, - lpAddress: '0xb24cd29e32FaCDDf9e73831d5cD1FFcd1e535423', - token0: bscTokens.gtai, - token1: bscTokens.usdt, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 138, - lpAddress: '0x55458175c5F5D34B9bD01c81F172780ED4271b23', - token0: bscTokens.aitech, - token1: bscTokens.usdt, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 136, - lpAddress: '0x5b46fC8392cDEd6A91A79d85eFabFD51C7956cA0', - token0: bscTokens.wbnb, - token1: bscTokens.rbnb, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 135, - lpAddress: '0x93bA6af467c7B46B44D5C0BB300270c732510C9C', - token0: bscTokens.manta, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 134, - lpAddress: '0xb624FE83Dfc393aAB921EbBc2Bf38Fdd238F2380', - token0: bscTokens.ovn, - token1: bscTokens.usdt, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 133, - lpAddress: '0x9dD70024FF211bA754c089CDee47BdeDc17C4CBe', - token0: bscTokens.usdt, - token1: bscTokens.wrose, - feeAmount: FeeAmount.LOW, - }, - { - pid: 132, - lpAddress: '0x85Bf2332c9033624B5d6f2607D8f07f22Bc86345', - token0: bscTokens.anyInu, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 131, - lpAddress: '0xE08078C1daACef415b2653e7256A70002F41Eeb6', - token0: bscTokens.usdt, - token1: bscTokens.huahua, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 130, - lpAddress: '0xce44eBE42ABc496eACBd6582b6e14f3937116B23', - token0: bscTokens.usdt, - token1: bscTokens.irl, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 129, - lpAddress: '0xf66A930Ed3b004BA16ee11b3A9B142EAf2259b0d', - token0: bscTokens.usdc, - token1: bscTokens.fdusd, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 128, - lpAddress: '0x0f3aDA81A32D8a7233fe9B1D04f0A8231AdB98F0', - token0: bscTokens.bnb, - token1: bscTokens.fdusd, - feeAmount: FeeAmount.LOW, - }, - { - pid: 127, - lpAddress: '0xA62439A42fbeC9827a0B0452A5fD619d517F2D83', - token0: bscTokens.cake, - token1: bscTokens.fdusd, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 126, - lpAddress: '0x63393D036FEf3B187ca613a8E5D917697ade2cD5', - token0: bscTokens.eth, - token1: bscTokens.fdusd, - feeAmount: FeeAmount.LOW, - }, - { - pid: 125, - lpAddress: '0x6AA9c4eDA3BF8ac038aD5C243133d6D25aA9cc73', - token0: bscTokens.btcb, - token1: bscTokens.fdusd, - feeAmount: FeeAmount.LOW, - }, - { - pid: 124, - lpAddress: '0x06aC8EE32BCdcE6bF2eA82D9Bfb932a84D45BFcb', - token0: bscTokens.insp, - token1: bscTokens.bnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 123, - lpAddress: '0x5B56eea565dad4E72B8ea6a6567834E144fb7a93', - token0: bscTokens.usdt, - token1: bscTokens.wrose, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 122, - lpAddress: '0x1E8D7AB96323953faC85ab687f5D38b45344e62d', - token0: bscTokens.usdt, - token1: bscTokens.cgpt, - feeAmount: FeeAmount.LOW, - }, - { - pid: 121, - lpAddress: '0x8b626Acfb32CDad0d2F3b493Eb9928BbA1BbBcCa', - token0: bscTokens.ckp, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 120, - lpAddress: '0x88240a2CA0Af5DD3b181975b9985274274CB3685', - token0: bscTokens.pnp, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 119, - lpAddress: '0x8A876Ca851063e0252654CA6368a5B2280f51c32', - token0: bscTokens.cake, - token1: bscTokens.sdcake, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 118, - lpAddress: '0x57dBE41582591e8a420cc80FB669F953d137a571', - token0: bscTokens.mubi, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 117, - lpAddress: '0x1be0A017CDA061501b9dd460EBFD16f0971Eea8e', - token0: bscTokens.wbnb, - token1: bscTokens.ordi, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 116, - lpAddress: '0x4b36782B47a28Ee003013E7C56174CB5812F418B', - token0: bscTokens.usdt, - token1: bscTokens.nfp, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 115, - lpAddress: '0x961C19a53e5EA0e43B8F9020553F94623Ce475B6', - token0: bscTokens.mubi, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 114, - lpAddress: '0x442EFB99C2727c6000727C3cf672e3d77C9cDEaD', - token0: bscTokens.wbnb, - token1: bscTokens.ordi, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 113, - lpAddress: '0xcF0bA206D688Fc9AE8A268F8b9077F4307600895', - token0: bscTokens.sats, - token1: bscTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 112, - lpAddress: '0xE297e1dA9a484E609D180C5B1fEfE4830df70eF1', - token0: bscTokens.rdp, - token1: bscTokens.bnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 111, - lpAddress: '0x7D3c51D707C8C63CB9f85cEC6E9F9FF0A5fb2735', - token0: bscTokens.vai, - token1: bscTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 110, - lpAddress: '0xF5B4B24E5808DAA3fBeee11DF27a0994600356b4', - token0: bscTokens.vai, - token1: bscTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 109, - lpAddress: '0x89A6be1ec107C911C3F2A1112f049F876Ce033c9', - token0: bscTokens.usdt, - token1: bscTokens.stg, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 108, - lpAddress: '0x5F16320FA36559ca7bc785834Ba77105154DC40b', - token0: bscTokens.stg, - token1: bscTokens.busd, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 107, - lpAddress: '0x589a5062e47202bB994cD354913733a14b54e8Dc', - token0: bscTokens.usdv, - token1: bscTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 106, - lpAddress: '0x898fe77d1C083DD725004A12DF0bC55f6Dbdec2f', - token0: bscTokens.usdv, - token1: bscTokens.bnb, - feeAmount: FeeAmount.LOW, - }, - { - pid: 105, - lpAddress: '0x14861FFC20f88E6D0Cf90da6BDc796Bb7f0B19E6', - token0: bscTokens.esRDNT, - token1: bscTokens.rdnt, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 104, - lpAddress: '0x2Fdf9b25Df26e81598c09ef7482a82E2ec6eb68c', - token0: bscTokens.usdt, - token1: bscTokens.ace, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 103, - lpAddress: '0x80968a476E0235a026Fd1F33AAac5a3B7b76110F', - token0: bscTokens.aioz, - token1: bscTokens.bnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 102, - lpAddress: '0x1A1703Bf5f1Da9DB0f62d17e8c54e84Fd732D695', - token0: bscTokens.bonk, - token1: bscTokens.bnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 101, - lpAddress: '0x2f74ad2c64be7DC07C9f51E9d338EcB7C1ee0B18', - token0: bscTokens.usdt, - token1: bscTokens.bonk, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 100, - lpAddress: '0xB5D01A6e99FdcDB6DB8D0A342C35036Adeb8FB48', - token0: bscTokens.kuji, - token1: bscTokens.bnb, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 99, - lpAddress: '0x4BBA1018b967e59220b22Ca03f68821A3276c9a6', - token0: bscTokens.eth, - token1: bscTokens.btcb, - feeAmount: FeeAmount.LOW, - }, - { - pid: 98, - lpAddress: '0xbF72B6485E4b31601aFe7B0a1210Be2004D2B1d6', - token0: bscTokens.usdt, - token1: bscTokens.fdusd, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 96, - lpAddress: '0x8cCB4544b3030dACF3d4D71C658f04e8688e25b1', - token0: bscTokens.twt, - token1: bscTokens.bnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 95, - lpAddress: '0x832EeBF89F99aACcf6640fe6b5E838066c630Fbe', - token0: bscTokens.chess, - token1: bscTokens.usdt, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 94, - lpAddress: '0xcfe783e16c9a8C74F2be9BCEb2339769439061Bf', - token0: bscTokens.usdt, - token1: bscTokens.alpaca, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 93, - lpAddress: '0xE4e695FA53598dA586F798A9844A3b03d86f421e', - token0: bscTokens.btt, - token1: bscTokens.usdt, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 92, - lpAddress: '0x77d5b2560e4B84b3fC58875Cb0133F39560e8AE3', - token0: bscTokens.bnb, - token1: bscTokens.xvs, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 91, - lpAddress: '0xa98D8a5867D664B7A758652146fd93a7dE40eE82', - token0: bscTokens.usdt, - token1: bscTokens.trxv2, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 90, - lpAddress: '0x81Bef404f5C93d99ed04Ed55488c99722CDd7A50', - token0: bscTokens.axs, - token1: bscTokens.bnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 89, - lpAddress: '0xDcccC7d0B02C837d1B8D8a8D5E2683387bc2b910', - token0: bscTokens.usdt, - token1: bscTokens.wom, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 87, - token0: bscTokens.wbnb, - token1: bscTokens.rdnt, - lpAddress: '0xB55A0B97B7D9Ebe4208b08AB00feC0C419cc32A3', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 88, - token0: bscTokens.mbox, - token1: bscTokens.wbnb, - lpAddress: '0x0004222c2075E9A1291E41f1cA4C8d32141dB501', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 86, - token0: bscTokens.ltc, - token1: bscTokens.wbnb, - lpAddress: '0xE3cBe4Dd1BD2F7101f17D586F44bAb944091D383', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 85, - token0: bscTokens.wbnb, - token1: bscTokens.sfp, - lpAddress: '0x64ebB904e169cB94e9788FcB68283B4C894ED881', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 45, - token0: bscTokens.usdt, - token1: bscTokens.play, - lpAddress: '0x73D69D55893d6c97DCA44AF2Aa85B688C0242d7f', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 84, - token0: bscTokens.usdt, - token1: bscTokens.xcad, - lpAddress: '0x302e26e9bda986709B5F504D3426c2310e6383c6', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 83, - token0: bscTokens.usdt, - token1: bscTokens.mbx, - lpAddress: '0x66bAA9E43e64c8A85bC3c04dEBf9E7686BE5b09C', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 82, - token0: bscTokens.wbnb, - token1: bscTokens.mbx, - lpAddress: '0x5a1Fe6D5026CC3736Cfb7316dbCFbf63D82cC789', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 81, - token0: bscTokens.wncg, - token1: bscTokens.wbnb, - lpAddress: '0xd8CF0de0387A9c16acF53384c89632678D77F311', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 80, - token0: bscTokens.hay, - token1: bscTokens.usdt, - lpAddress: '0x12E79eb21dCc5852F9c6AC1736d977312925da33', - feeAmount: FeeAmount.LOW, - }, - { - pid: 79, - token0: bscTokens.usdt, - token1: bscTokens.chr, - lpAddress: '0x635c26c473BB0686D403247477CC648a7C6edc2e', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 78, - token0: bscTokens.hft, - token1: bscTokens.usdt, - lpAddress: '0x6dba30870BC46BD6d2289E1827Cc415F6Fa23E1a', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 77, - token0: bscTokens.arv, - token1: bscTokens.wbnb, - lpAddress: '0xbB87F33d9f43Ec3fe75502958408262e7043B2E8', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 76, - token0: bscTokens.usdt, - token1: bscTokens.high, - lpAddress: '0x293c665b9b98Cd51D6454C72529Fe17A1Cf1f504', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 75, - token0: bscTokens.raca, - token1: bscTokens.usdt, - lpAddress: '0x4f55423de1049d3CBfDC72f8A40f8A6f554f92aa', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 74, - token0: bscTokens.sfund, - token1: bscTokens.wbnb, - lpAddress: '0x29e13e65E8e2160dBd391bA3cee55E7dDe2A386c', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 73, - token0: bscTokens.usdt, - token1: bscTokens.lvl, - lpAddress: '0x77E4ba48091f23a8a54b3e2c72F17be58cC2D137', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 72, - token0: bscTokens.gmt, - token1: bscTokens.usdc, - lpAddress: '0x3B7761632240c4BBec6deE27E10d491De9AA669B', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 71, - token0: bscTokens.cyber, - token1: bscTokens.wbnb, - lpAddress: '0x846BD025527c8427809E11D0B0a9cE50F149D5d5', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 70, - token0: bscTokens.unshETH, - token1: bscTokens.eth, - lpAddress: '0x3ccCef8d9D515eC7F59eb69aD06C22265cC95ea9', - feeAmount: FeeAmount.LOW, - }, - { - pid: 69, - token0: bscTokens.dar, - token1: bscTokens.wbnb, - lpAddress: '0xd9d0aeD9822e3D7C67b9c13A18dE070f86cdF2e5', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 68, - token0: bscTokens.usdt, - token1: bscTokens.wmx, - lpAddress: '0x13f0D0dF1f347E7246Ba16866d2562Bb2B337d0c', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 67, - token0: bscTokens.usdt, - token1: bscTokens.ole, - lpAddress: '0xE6be850a43ae64c68754845ea444DE7d3fe761AB', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 66, - token0: bscTokens.doge, - token1: bscTokens.wbnb, - lpAddress: '0xce6160bB594fC055c943F59De92ceE30b8c6B32c', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 65, - token0: bscTokens.dck, - token1: bscTokens.busd, - lpAddress: '0xD465D9C13C43003f5B874e0D96A6030336Ed50eB', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 64, - token0: bscTokens.wbnb, - token1: bscTokens.planet, - lpAddress: '0x1239b0495C6676b36A6c6618A63f9b3917A79577', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 63, - token0: bscTokens.snbnb, - token1: bscTokens.wbnb, - lpAddress: '0x9474e972F49605315763c296B122CBB998b615Cf', - feeAmount: FeeAmount.LOW, - }, - { - pid: 62, - token0: bscTokens.hay, - token1: bscTokens.eth, - lpAddress: '0xfdFCdE34d2038EBeDe62e95C65b1492C28c990C9', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 61, - token0: bscTokens.hay, - token1: bscTokens.btcb, - lpAddress: '0x06E2D4002a693812A6348c91A2bEccf4E926FF2f', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 60, - token0: bscTokens.hay, - token1: bscTokens.wbnb, - lpAddress: '0xBe43E64Cd61E0b9207A6beE93e2149317A604326', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 59, - token0: bscTokens.tusd, - token1: bscTokens.busd, - lpAddress: '0xdf0c1C30e8C1aE3f189f6E6ef248d71977F7BE29', - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 58, - token0: bscTokens.wbnb, - token1: bscTokens.uni, - lpAddress: '0x647D99772863e09f47435782cbb6C96eC4A75f12', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 57, - token0: bscTokens.eth, - token1: bscTokens.usdt, - lpAddress: '0x66E9AcBA7C3a82C8EE02fAF3E325Dd55D6581a8c', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 56, - token0: bscTokens.usdt, - token1: bscTokens.btcb, - lpAddress: '0x6ee3eE9C3395BbD136B6076A70Cb6cFF241c0E24', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 55, - token0: bscTokens.btcb, - token1: bscTokens.wbnb, - lpAddress: '0x6bbc40579ad1BBD243895cA0ACB086BB6300d636', - feeAmount: FeeAmount.LOW, - }, - { - pid: 53, - token0: bscTokens.eqb, - token1: bscTokens.bnb, - lpAddress: '0xeF2CF65fF6dce6f2B15F18999673676d5A07F63f', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 52, - token0: bscTokens.axlusdc, - token1: bscTokens.usdt, - lpAddress: Pool.getAddress(bscTokens.axlusdc, bscTokens.usdt, FeeAmount.LOWEST), - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 51, - token0: bscTokens.pendle, - token1: bscTokens.wbnb, - lpAddress: Pool.getAddress(bscTokens.pendle, bscTokens.wbnb, FeeAmount.HIGH), - feeAmount: FeeAmount.HIGH, - }, - { - pid: 50, - token0: bscTokens.xalgo, - token1: bscTokens.wbnb, - lpAddress: Pool.getAddress(bscTokens.xalgo, bscTokens.wbnb, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 49, - token0: bscTokens.cgpt, - token1: bscTokens.busd, - lpAddress: Pool.getAddress(bscTokens.cgpt, bscTokens.busd, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 48, - token0: bscTokens.tusd, - token1: bscTokens.usdt, - lpAddress: Pool.getAddress(bscTokens.tusd, bscTokens.usdt, FeeAmount.LOWEST), - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 43, - token0: bscTokens.csix, - token1: bscTokens.cake, - lpAddress: Pool.getAddress(bscTokens.csix, bscTokens.cake, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 23, - token0: bscTokens.usdt, - token1: bscTokens.axl, - lpAddress: '0xD10612A288Bd5024Db6a47663750996d176130Fe', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 46, - token0: bscTokens.aog, - token1: bscTokens.busd, - lpAddress: '0xE0898f9027F037C298649AfD0fcDeeb7Bd210AcA', - feeAmount: FeeAmount.HIGH, - isCommunity: true, - }, - { - pid: 47, - token0: bscTokens.cgpt, - token1: bscTokens.busd, - lpAddress: '0xDBbDB7dd8870ee0433f50Dd17cE849703be56704', - feeAmount: FeeAmount.HIGH, - isCommunity: true, - }, - { - pid: 44, - token0: bscTokens.eura, - token1: bscTokens.usdt, - lpAddress: Pool.getAddress(bscTokens.eura, bscTokens.usdt, FeeAmount.LOW), - feeAmount: FeeAmount.LOW, - }, - { - pid: 42, - token0: bscTokens.pepe, - token1: bscTokens.usdt, - lpAddress: '0xbba8f85c3cEDdF73dB4de17D31608d640Eaea416', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 41, - token0: bscTokens.c98, - token1: bscTokens.bnb, - lpAddress: Pool.getAddress(bscTokens.c98, bscTokens.bnb, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 40, - token0: bscTokens.ush, - token1: bscTokens.bnb, - lpAddress: Pool.getAddress(bscTokens.ush, bscTokens.bnb, FeeAmount.HIGH), - feeAmount: FeeAmount.HIGH, - }, - { - pid: 39, - token0: bscTokens.id, - token1: bscTokens.usdt, - lpAddress: Pool.getAddress(bscTokens.id, bscTokens.usdt, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 38, - token0: bscTokens.bnb, - token1: bscTokens.gal, - lpAddress: Pool.getAddress(bscTokens.gal, bscTokens.bnb, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 37, - token0: bscTokens.bnbx, - token1: bscTokens.bnb, - lpAddress: '0x77B27c351B13Dc6a8A16Cc1d2E9D5e7F9873702E', - feeAmount: FeeAmount.LOW, - }, - { - pid: 36, - token0: bscTokens.peel, - token1: bscTokens.busd, - lpAddress: '0x08eAbc3d13Fb4bdFFD1F42a5644C1c826aCF62c0', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 35, - token0: bscTokens.revv, - token1: bscTokens.edu, - lpAddress: '0x07b2d7379427d9A5AC96D704D53983b41D9d0082', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 34, - token0: bscTokens.wbnb, - token1: bscTokens.edu, - lpAddress: '0xFB5C2D2f2cF7741ba1A7Be2FfAbED248BD9b888e', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 33, - token0: bscTokens.usdt, - token1: bscTokens.edu, - lpAddress: '0x6425bC30D0751aF5181fC74a50e760b0e4a19811', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 32, - token0: bscTokens.eth, - token1: bscTokens.wbeth, - lpAddress: Pool.getAddress(bscTokens.wbeth, bscTokens.eth, FeeAmount.LOW), - feeAmount: FeeAmount.LOW, - }, - { - pid: 31, - token0: bscTokens.cake, - token1: bscTokens.zbc, - lpAddress: '0x63ca58e7c6bF06B06cBbEc2a83bf6AA8f8f9f77B', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 30, - token0: bscTokens.usdt, - token1: bscTokens.champ, - lpAddress: '0x2dA32920A775CF121004551AbC92F385B3C0Dab9', - feeAmount: FeeAmount.HIGH, - }, - { - pid: 29, - token0: bscTokens.unshETH, - token1: bscTokens.ush, - lpAddress: Pool.getAddress(bscTokens.unshETH, bscTokens.ush, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 28, - token0: bscTokens.unshETH, - token1: bscTokens.usdt, - lpAddress: Pool.getAddress(bscTokens.unshETH, bscTokens.usdt, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 27, - token0: bscTokens.cake, - token1: bscTokens.pstake, - lpAddress: Pool.getAddress(bscTokens.pstake, bscTokens.cake, FeeAmount.MEDIUM), - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 26, - token0: bscTokens.wbnb, - token1: bscTokens.stkbnb, - lpAddress: Pool.getAddress(bscTokens.stkbnb, bscTokens.wbnb, FeeAmount.LOW), - feeAmount: FeeAmount.LOW, - }, - { - pid: 25, - token0: bscTokens.unw, - token1: bscTokens.wbnb, - lpAddress: '0xb4E9DeA6105089f15685508B8EF2e7f7F5A1B16D', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 24, - token0: bscTokens.wbnb, - token1: bscTokens.mgp, - lpAddress: '0x088464e4E8CC54BF91180cBb8c61C68AeCC74166', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 22, - token0: bscTokens.usdt, - token1: bscTokens.gq, - lpAddress: '0x07003daEbc432ecec26309cCd1391BBBF06cC890', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 20, - token0: bscTokens.eth, - token1: bscTokens.ankrETH, - lpAddress: Pool.getAddress(bscTokens.eth, bscTokens.ankrETH, FeeAmount.LOW), - feeAmount: FeeAmount.LOW, - }, - { - pid: 21, - token0: bscTokens.ankrbnb, - token1: bscTokens.bnb, - lpAddress: '0xCf57DaADfBE05A04440C502967cE5209F64747eB', - feeAmount: FeeAmount.LOW, - }, - { - pid: 6, - token0: bscTokens.btcb, - token1: bscTokens.busd, - lpAddress: '0x369482C78baD380a036cAB827fE677C1903d1523', - feeAmount: FeeAmount.LOW, - }, - { - pid: 8, - token0: bscTokens.eth, - token1: bscTokens.btcb, - lpAddress: '0xD4dCA84E1808da3354924cD243c66828cf775470', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 9, - token0: bscTokens.btcb, - token1: bscTokens.wbnb, - lpAddress: '0xFC75f4E78bf71eD5066dB9ca771D4CcB7C1264E0', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 10, - token0: bscTokens.eth, - token1: bscTokens.wbnb, - lpAddress: '0x7d05c84581f0C41AD80ddf677A510360bae09a5A', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 11, - token0: bscTokens.eth, - token1: bscTokens.usdc, - lpAddress: '0x539e0EBfffd39e54A0f7E5F8FEc40ade7933A664', - feeAmount: FeeAmount.LOW, - }, - { - pid: 12, - token0: bscTokens.usdt, - token1: bscTokens.usdc, - lpAddress: '0x92b7807bF19b7DDdf89b706143896d05228f3121', - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 13, - token0: bscTokens.usdc, - token1: bscTokens.busd, - lpAddress: '0x22536030B9cE783B6Ddfb9a39ac7F439f568E5e6', - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 14, - token0: bscTokens.usdt, - token1: bscTokens.busd, - lpAddress: '0x4f3126d5DE26413AbDCF6948943FB9D0847d9818', - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 15, - token0: bscTokens.wbnb, - token1: bscTokens.link, - lpAddress: '0x0E1893BEEb4d0913d26B9614B18Aea29c56d94b9', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 16, - token0: bscTokens.xrp, - token1: bscTokens.wbnb, - lpAddress: '0xd15B00E81F98A7DB25f1dC1BA6E983a4316c4CaC', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 17, - token0: bscTokens.trx, - token1: bscTokens.busd, - lpAddress: '0x71f51e5070C7070B2d079c087BfA814642Fcef58', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 18, - token0: bscTokens.ada, - token1: bscTokens.wbnb, - lpAddress: '0x673516E510d702Ab5F2bBf0c6B545111a85f7ea7', - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 19, - token0: bscTokens.dot, - token1: bscTokens.wbnb, - lpAddress: '0x62F0546cBcd684F7C394D8549119e072527C41Bc', - feeAmount: FeeAmount.MEDIUM, - }, -]) - -const farms: SerializedFarmConfig[] = [ - /** - * These 3 farms (PID 0, 2, 3) should always be at the top of the file. - */ - { - pid: 2, - v1pid: 251, - lpSymbol: 'CAKE-BNB LP', - lpAddress: CAKE_BNB_LP_MAINNET, - token: bscTokens.cake, - quoteToken: bscTokens.wbnb, - bCakeWrapperAddress: '0x9669218e7ffACE40D78FF09C78aEA5F4DEb9aD4D', - boosted: true, - }, - { - pid: 0, - v1pid: 0, - lpSymbol: 'CAKE', - lpAddress: '0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82', - token: bscTokens.syrup, - quoteToken: bscTokens.wbnb, - }, - - { - pid: 39, - v1pid: 389, - lpSymbol: 'CAKE-BUSD LP', - lpAddress: '0x804678fa97d91B974ec2af3c843270886528a9E6', - token: bscTokens.cake, - quoteToken: bscTokens.busd, - boosted: true, - }, - { - pid: 47, - v1pid: 422, - lpSymbol: 'CAKE-USDT LP', - lpAddress: '0xA39Af17CE4a8eb807E076805Da1e2B8EA7D0755b', - token: bscTokens.cake, - quoteToken: bscTokens.usdt, - bCakeWrapperAddress: '0xf320e4E90D3914EE224777dE842f4995467CBeF6', - boosted: true, - }, - { - pid: 3, - v1pid: 252, - lpSymbol: 'BUSD-BNB LP', - lpAddress: '0x58F876857a02D6762E0101bb5C46A8c1ED44Dc16', - token: bscTokens.busd, - quoteToken: bscTokens.wbnb, - }, - // * V3 by order of release (some may be out of PID order due to multiplier boost) - { - pid: 9, - v1pid: 260, - lpSymbol: 'XVS-BNB LP', - lpAddress: '0x7EB5D86FD78f3852a3e0e064f2842d45a3dB6EA2', - token: bscTokens.xvs, - quoteToken: bscTokens.wbnb, - bCakeWrapperAddress: '0xF919F052E4608D239E49E57957022FdcAaeeeB49', - }, - { - pid: 182, - lpSymbol: 'mwbETH-wbETH LP', - lpAddress: '0x4cBEa76B4A1c42C356B4c52B0314A98313fFE9df', - quoteToken: bscTokens.mwbeth, - token: bscTokens.wbeth, - stableSwapAddress: '0xfF5Ce4846A3708EA9befa6c3Ab145e63f65DC045', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.0001, - stableLpFeeRateOfTotalFee: 0.5, - bCakeWrapperAddress: '0x2F3caA7637D5E7270091156D399cD06a8633d1dd', - }, - { - pid: 180, - lpSymbol: 'MGP-BNB LP', - lpAddress: '0x2b3DBbA2D1F5158c7BA4b645B7ea187F7F1763af', - token: bscTokens.mgp, - quoteToken: bscTokens.wbnb, - bCakeWrapperAddress: '0x8F30711e577d8870B390B383a6d4B1c28D6DEdF8', - }, - { - pid: 181, - lpSymbol: 'PNP-BNB LP', - lpAddress: '0x1C5bD1B4A4Fc05cC0Fb1a0f61136512744Ca4F34', - token: bscTokens.pnp, - quoteToken: bscTokens.wbnb, - bCakeWrapperAddress: '0x6F2ecB6929326Fd30406dDA3E643413f2736a3f7', - }, - { - pid: 179, - lpSymbol: 'mDLP-DLP LP', - lpAddress: '0xA2915ae3bc8C6C03f59496B6Dd26aa6a4335b788', - token: bscTokens.mdlp, - quoteToken: bscTokens.dlp, - stableSwapAddress: '0x25d0eD3b1cE5aF0F3Ac7da4b39B46FC409bF67e2', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.00125, - stableLpFeeRateOfTotalFee: 0.5, - bCakeWrapperAddress: '0x3c5cdb87Ab4B05C6A6826A2dc69965B5d25A7419', - }, - { - pid: 178, - lpSymbol: 'mPENDLE-PENDLE LP', - lpAddress: '0x183F325b33d190597D80d1B46D865d0250fD9BF2', - token: bscTokens.mpendle, - quoteToken: bscTokens.pendle, - stableSwapAddress: '0xD8CB82059da7215b1a9604E845d49D3e78d0f95A', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.00125, - stableLpFeeRateOfTotalFee: 0.5, - bCakeWrapperAddress: '0xdB52402F58D15974027911D8E5C958737949DBaA', - }, - { - pid: 177, - lpSymbol: 'CKP-mCAKE LP', - lpAddress: '0xdb92AD18eD18752a194b9D831413B09976B34AE1', - token: bscTokens.ckp, - quoteToken: bscTokens.mcake, - bCakeWrapperAddress: '0xd4cE5488aEDfb0F26A2bcFa068fB57bDDEBE09Fd', - }, - { - pid: 176, - lpSymbol: 'RDP-BNB LP', - lpAddress: '0xc9B415b8331e1Fb0d2f3442Ac8413E279304090f', - token: bscTokens.rdp, - quoteToken: bscTokens.wbnb, - bCakeWrapperAddress: '0x66e49e2b4c5c16EbE95E1af7902DAB1211b80E07', - }, - { - pid: 175, - lpSymbol: 'BNB-HZN LP', - lpAddress: '0xDc9a574b9B341D4a98cE29005b614e1E27430E74', - token: bscTokens.wbnb, - quoteToken: bscTokens.hzn, - bCakeWrapperAddress: '0x33770fBC3952d5C85eEDF780Ca63E15C009DefaA', - }, - { - pid: 173, - lpSymbol: 'sdCAKE-CAKE LP', - lpAddress: '0xB1D54d76E2cB9425Ec9c018538cc531440b55dbB', - token: bscTokens.cake, - quoteToken: bscTokens.sdcake, - stableSwapAddress: '0xb8204D31379A9B317CD61C833406C972F58ecCbC', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.0005, - stableLpFeeRateOfTotalFee: 0.5, - bCakeWrapperAddress: '0x823AE568DD020894261FD587248304952b5931F1', - }, - { - pid: 174, - lpSymbol: 'mCAKE-CAKE LP', - lpAddress: '0xb9dC6396AcFFD24E0f69Dfd3231fDaeB31514D02', - token: bscTokens.cake, - quoteToken: bscTokens.mcake, - stableSwapAddress: '0xc54d35a8Cfd9f6dAe50945Df27A91C9911A03ab1', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.0005, - stableLpFeeRateOfTotalFee: 0.5, - bCakeWrapperAddress: '0x10Cfcd2b3e8c35B3bd36dFDBd0063829eA244e84', - }, - { - pid: 163, - lpSymbol: 'lisUSD-USDT LP', - lpAddress: '0xB2Aa63f363196caba3154D4187949283F085a488', - token: bscTokens.hay, - quoteToken: bscTokens.usdt, - stableSwapAddress: '0xb1Da7D2C257c5700612BdE35C8d7187dc80d79f1', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.0002, - stableLpFeeRateOfTotalFee: 0.5, - bCakeWrapperAddress: '0xd069a9E50E4ad04592cb00826d312D9f879eBb02', - }, - { - pid: 167, - lpSymbol: 'SABLE-BNB LP', - lpAddress: '0xa0D4e270D9EB4E41f7aB02337c21692D7eECCCB0', - token: bscTokens.sable, - quoteToken: bscTokens.wbnb, - }, - { - pid: 147, - lpSymbol: 'axlUSDC-USDT LP', - lpAddress: '0x1c7e5a3A72b6D94DE5Ec20812E3e68713978a584', - token: bscTokens.axlusdc, - quoteToken: bscTokens.usdt, - stableSwapAddress: '0x6D8fba276ec6F1EDa2344DA48565AdbCA7e4FFa5', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.0002, - stableLpFeeRateOfTotalFee: 0.5, - }, - { - pid: 160, - lpSymbol: 'RDNT-BNB LP', - lpAddress: '0x346575fC7f07E6994D76199E41D13dC1575322E1', - token: bscTokens.rdnt, - quoteToken: bscTokens.wbnb, - }, - { - pid: 158, - lpSymbol: 'ID-USDT LP', - lpAddress: '0x9Ed9E9aA51670A3210fD6078024c21ec6c1d61d9', - token: bscTokens.id, - quoteToken: bscTokens.usdt, - }, - { - pid: 157, - lpSymbol: 'UNW-BNB LP', - lpAddress: '0x5CF69395345614e349b2117dBC5F6cf5A500a43d', - token: bscTokens.unw, - quoteToken: bscTokens.wbnb, - }, - { - pid: 156, - lpSymbol: 'LVL-BNB LP', - lpAddress: '0x70f16782010fa7dDf032A6aaCdeed05ac6B0BC85', - token: bscTokens.lvl, - quoteToken: bscTokens.wbnb, - }, - { - pid: 155, - lpSymbol: 'CAPS-BNB LP', - lpAddress: '0x9Bafeea2A8bC72b1910AB102ca5F8eCa6a67D929', - token: bscTokens.caps, - quoteToken: bscTokens.wbnb, - }, - { - pid: 153, - lpSymbol: 'agEUR-USDT LP', - lpAddress: '0x1DEC73074cE9cAbEd47D7748410277109B23Cda2', - token: bscTokens.eura, - quoteToken: bscTokens.usdt, - }, - { - pid: 152, - lpSymbol: 'BNBx-BNB LP', - lpAddress: '0x92357Ab9003CA881E08e32CDAE59B10B3161b05C', - token: bscTokens.bnbx, - quoteToken: bscTokens.wbnb, - stableSwapAddress: '0x9c138bE1D76ee4C5162E0fe9D4eEA5542a23D1bD', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.0002, - stableLpFeeRateOfTotalFee: 0.5, - }, - { - pid: 151, - lpSymbol: 'WBNB-stkBNB LP', - lpAddress: '0x9976f5c8BEfDee650226d5571d5F5551e8722b75', - token: bscTokens.stkbnb, - quoteToken: bscTokens.wbnb, - stableSwapAddress: '0x0b03e3d6Ec0c5e5bBf993dED8D947C6fb6eEc18D', - infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50', - stableLpFee: 0.0002, - stableLpFeeRateOfTotalFee: 0.5, - }, - { - pid: 150, - lpSymbol: 'APX-BNB LP', - lpAddress: '0xAf839f4D3620a1EED00cCc21dDC01119C26a75E1', - token: bscTokens.apx, - quoteToken: bscTokens.wbnb, - }, - { - pid: 148, - lpSymbol: 'CSIX-CAKE LP', - lpAddress: '0x43C2aBe5e3bceC619072D8668Ac83Ad825da707f', - token: bscTokens.csix, - quoteToken: bscTokens.cake, - }, - { - pid: 146, - lpSymbol: 'SDAO-BNB', - lpAddress: '0x43b95976cF0929478bC13332C9cd2D63Bf060976', - token: bscTokens.sdao, - quoteToken: bscTokens.wbnb, - }, - { - pid: 144, - lpSymbol: 'CHAMP-BUSD LP', - lpAddress: '0x1D0F31Bf6171EdFEED3d202104ed69B04C936B02', - token: bscTokens.champ, - quoteToken: bscTokens.busd, - }, - { - pid: 142, - lpSymbol: 'ARENA-CAKE LP', - lpAddress: '0xfcc860289819c8b754ef31a1709a7952EB940223', - token: bscTokens.arena, - quoteToken: bscTokens.cake, - }, - { - pid: 140, - lpSymbol: 'PRIMAL-BUSD LP', - lpAddress: '0x4D4310f465C6db2081C3d24fA3B571cb29aBddB7', - token: bscTokens.primal, - quoteToken: bscTokens.busd, - }, - { - pid: 139, - lpSymbol: 'ZBC-CAKE LP', - lpAddress: '0x269043694D070e8811c620bf95485314BCC7B4b7', - token: bscTokens.zbc, - quoteToken: bscTokens.cake, - }, - { - pid: 138, - lpSymbol: 'SQUAD-CAKE LP', - lpAddress: '0x54cd9d6Ce45cEF4fCc1AC568329254661B28711d', - token: bscTokens.squad, - quoteToken: bscTokens.cake, - }, - { - pid: 135, - lpSymbol: 'USDT-USDC LP', - lpAddress: '0xee1bcc9F1692E81A281b3a302a4b67890BA4be76', - token: bscTokens.usdt, - quoteToken: bscTokens.usdc, - stableSwapAddress: '0x3EFebC418efB585248A0D2140cfb87aFcc2C63DD', - infoStableSwapAddress: '0xa680d27f63Fa5E213C502d1B3Ca1EB6a3C1b31D6', - stableLpFee: 0.00005, - stableLpFeeRateOfTotalFee: 0.5, - }, - { - pid: 134, - lpSymbol: 'USDC-BUSD LP', - lpAddress: '0x1A77C359D0019cD8F4d36b7CDf5a88043D801072', - token: bscTokens.usdc, - quoteToken: bscTokens.busd, - stableSwapAddress: '0xc2F5B9a3d9138ab2B74d581fC11346219eBf43Fe', - infoStableSwapAddress: '0xa680d27f63Fa5E213C502d1B3Ca1EB6a3C1b31D6', - stableLpFee: 0.00005, - stableLpFeeRateOfTotalFee: 0.5, - }, - { - pid: 133, - lpSymbol: 'USDT-BUSD LP', - lpAddress: '0x36842F8fb99D55477C0Da638aF5ceb6bBf86aA98', - token: bscTokens.usdt, - quoteToken: bscTokens.busd, - stableSwapAddress: '0x169F653A54ACD441aB34B73dA9946e2C451787EF', - infoStableSwapAddress: '0xa680d27f63Fa5E213C502d1B3Ca1EB6a3C1b31D6', - stableLpFee: 0.00005, - stableLpFeeRateOfTotalFee: 0.5, - }, - { - pid: 132, - lpSymbol: 'HFT-BUSD', - lpAddress: '0xC9853537DC498F4667f9E50bF2BE6aBeF9D53149', - token: bscTokens.hft, - quoteToken: bscTokens.busd, - }, - { - pid: 131, - lpSymbol: 'HOOK-CAKE', - lpAddress: '0x9e9b768174eF24233BF8AC2f4131F10ff5E72Dee', - token: bscTokens.hook, - quoteToken: bscTokens.cake, - }, - { - pid: 109, - lpSymbol: 'XCAD-BUSD LP', - lpAddress: '0x07C10ecFb0e1CF81E3e05ddb693Cc114C8EBe498', - token: bscTokens.xcad, - quoteToken: bscTokens.busd, - isCommunity: true, - auctionHostingStartSeconds: 1668153600, // Fri Nov 11 2022 08:00:00 GMT+0000 - }, - { - pid: 130, - lpSymbol: 'XCAD-CAKE', - lpAddress: '0x50e4837Fc2eEFFD34EF78483A89c6Afb7Dd70c77', - token: bscTokens.xcad, - quoteToken: bscTokens.cake, - }, - { - pid: 106, - lpSymbol: 'MHUNT-BNB LP', - lpAddress: '0x58aED290F42963A502626774Bd8fa03f33c9B71f', - token: bscTokens.mhunt, - quoteToken: bscTokens.wbnb, - isCommunity: true, - }, - { - pid: 91, - v1pid: 522, - lpSymbol: 'TINC-BNB LP', - lpAddress: '0x0d5b9A0f4315a4bcE36D1Ea7d6B6d3123167aFAa', - token: bscTokens.tinc, - isCommunity: true, - quoteToken: bscTokens.wbnb, - }, - { - pid: 129, - lpSymbol: 'MGP-BUSD LP', - lpAddress: '0x76B0d10A4540B6743aa086EA31DC48E8AB691c4d', - token: bscTokens.mgp, - quoteToken: bscTokens.busd, - }, - { - pid: 128, - lpSymbol: 'WMX-BUSD LP', - lpAddress: '0xe86eaAD81C32ffbb88B7ec9B325C8f75C8c9f1Ab', - token: bscTokens.wmx, - quoteToken: bscTokens.busd, - }, - { - pid: 127, - lpSymbol: 'KRS-BUSD LP', - lpAddress: '0xac747ad9D61884986aD7A4A6cC5de998ce21B253', - token: bscTokens.krs, - quoteToken: bscTokens.busd, - }, - { - pid: 123, - lpSymbol: 'ARV-BNB LP', - lpAddress: '0xA63E32FeEFC6590bBf869070Fd2e706Eb7881bd2', - token: bscTokens.arv, - quoteToken: bscTokens.wbnb, - }, - - { - pid: 90, - v1pid: 520, - lpSymbol: 'PEX-BNB LP', - lpAddress: '0x5ca96E8bDe0Bc587DaC9e02422Fd205b1102DAa4', - token: bscTokens.pex, - quoteToken: bscTokens.wbnb, - isCommunity: true, - }, - { - pid: 117, - lpSymbol: 'SPIN-BNB LP', - lpAddress: '0x89c68051543Fa135B31c2CE7BD8Cdf392345FF01', - token: bscTokens.spin, - quoteToken: bscTokens.wbnb, - isCommunity: true, - }, - { - pid: 122, - lpSymbol: 'CO-BUSD LP', - lpAddress: '0x800946D29e40199963100d67c9265B1725F80333', - token: bscTokens.co, - quoteToken: bscTokens.busd, - }, - - { - pid: 120, - lpSymbol: 'HOOP-BUSD LP', - lpAddress: '0xdE8a4f457af12F98DB090841579Feed384684819', - token: bscTokens.hoop, - quoteToken: bscTokens.busd, - }, - { - pid: 119, - lpSymbol: 'MONI-BNB LP', - lpAddress: '0xbcfd0d4a37fEb4dceAAeFa9da28CD833E5f04e9f', - token: bscTokens.moni, - quoteToken: bscTokens.wbnb, - }, - { - pid: 118, - lpSymbol: 'GQ-BUSD LP', - lpAddress: '0x72121d60b0e2F01c0FB7FE32cA24021b42165A40', - token: bscTokens.gq, - quoteToken: bscTokens.busd, - }, - { - pid: 93, - v1pid: 524, - lpSymbol: 'HAPPY-BNB', - lpAddress: '0x008604A38cD589680F7B8f085DC2D5B4F81151dB', - token: bscTokens.happy, - quoteToken: bscTokens.wbnb, - isCommunity: true, - }, - { - pid: 116, - lpSymbol: 'WOM-BUSD LP', - lpAddress: '0xe68D05418A8d7969D9CA6761ad46F449629d928c', - token: bscTokens.wom, - quoteToken: bscTokens.busd, - }, - { - pid: 115, - lpSymbol: 'lisUSD-BUSD LP', - lpAddress: '0x70c26e9805ec5Df3d4aB0b2a3dF86BBA2231B6c1', - token: bscTokens.hay, - quoteToken: bscTokens.busd, - }, - { - pid: 59, - v1pid: 450, - lpSymbol: 'SFUND-BNB LP', - lpAddress: '0x74fA517715C4ec65EF01d55ad5335f90dce7CC87', - token: bscTokens.sfund, - quoteToken: bscTokens.wbnb, - }, - { - pid: 111, - lpSymbol: 'AOG-CAKE LP', - lpAddress: '0xF8cA29a3BF6d34691981D3Ee8D4c9Cd1C437EfeE', - token: bscTokens.aog, - quoteToken: bscTokens.cake, - isCommunity: true, - }, - { - pid: 114, - lpSymbol: 'stkBNB-BNB LP', - lpAddress: '0xaA2527ff1893e0D40d4a454623d362B79E8bb7F1', - token: bscTokens.stkbnb, - quoteToken: bscTokens.wbnb, - }, - { - pid: 113, - lpSymbol: 'PSTAKE-BUSD LP', - lpAddress: '0x009C58e79779982eB53a9941F9F4a2269d093566', - token: bscTokens.pstake, - quoteToken: bscTokens.busd, - }, - { - pid: 112, - lpSymbol: 'PEEL-BUSD LP', - lpAddress: '0x25bfD3162360BbD8FF97b86169288b311c2A68D7', - token: bscTokens.peel, - quoteToken: bscTokens.busd, - }, - { - pid: 110, - lpSymbol: 'SHELL-BUSD LP', - lpAddress: '0x02D75D7beebF6D5228A3Fa5f810CedF2BEa5aB1E', - token: bscTokens.shell, - quoteToken: bscTokens.busd, - }, - { - pid: 94, - v1pid: 525, - lpSymbol: 'WZRD-BUSD LP', - lpAddress: '0xee456d906a38e10680c9d157FFf143390e9681bA', - token: bscTokens.wzrd, - quoteToken: bscTokens.busd, - isCommunity: true, - }, - { - pid: 73, - v1pid: 491, - lpSymbol: 'HIGH-BUSD LP', - lpAddress: '0xe98ac95A1dB2fCaaa9c7D4ba7ecfCE4877ca2bEa', - token: bscTokens.high, - quoteToken: bscTokens.busd, - }, - { - pid: 38, - v1pid: 386, - lpSymbol: 'HOTCROSS-BNB LP', - lpAddress: '0xF23BAD605E94dE0e3B60c9718a43A94A5aF43915', - token: bscTokens.hotcross, - quoteToken: bscTokens.wbnb, - }, - { - pid: 108, - lpSymbol: 'OLE-BUSD LP', - lpAddress: '0xe9F369298565B60a0DC19A6fA93cEE934Fd1A58c', - token: bscTokens.ole, - quoteToken: bscTokens.busd, - }, - { - pid: 107, - lpSymbol: 'TRIVIA-BNB LP', - lpAddress: '0xEF642c40EebBc964881dD7Bd1A0b50e90441E73A', - token: bscTokens.trivia, - quoteToken: bscTokens.wbnb, - }, - { - pid: 105, - lpSymbol: 'SDAO-BUSD LP', - lpAddress: '0x3d12E4381901a6b94438758B90881cB03F10b01E', - token: bscTokens.sdao, - quoteToken: bscTokens.busd, - }, - { - pid: 104, - lpSymbol: 'NBT-USDT LP', - lpAddress: '0x401AbD5327542c25baD057614935BfD98186a8a1', - token: bscTokens.nbt, - quoteToken: bscTokens.usdt, - isCommunity: true, - }, - { - pid: 103, - lpSymbol: 'BBT-BNB LP', - lpAddress: '0x3D5A3E3824da092851026fCda3D8a0B7438c4573', - token: bscTokens.bbt, - quoteToken: bscTokens.wbnb, - isCommunity: true, - }, - { - pid: 102, - lpSymbol: 'PEAK-BNB LP', - lpAddress: '0x41140a1650372Fb8cb2f71e335448ab8cfc1c4f3', - token: bscTokens.peak, - quoteToken: bscTokens.wbnb, - isCommunity: true, - }, - { - pid: 40, - v1pid: 390, - lpSymbol: 'CHR-BUSD LP', - lpAddress: '0x6045931E511EF7e53A4A817F971e0CA28c758809', - token: bscTokens.chr, - quoteToken: bscTokens.busd, - }, - { - pid: 96, - lpSymbol: '8PAY-BUSD LP', - lpAddress: '0x92c3E2cddDb0CE886bCA864151BD4d611A86E563', - token: bscTokens.deprecated_8pay, - quoteToken: bscTokens.busd, - isCommunity: true, - }, - { - pid: 101, - lpSymbol: 'MIX-BUSD LP', - lpAddress: '0x7618fdAb208aE23690dadD3aa4a42a442313d24E', - token: bscTokens.MIX, - quoteToken: bscTokens.busd, - }, - { - pid: 100, - lpSymbol: 'METIS-BNB LP', - lpAddress: '0x69AFe59e88614501c3fDEb7480f12DBA0A414032', - token: bscTokens.metis, - quoteToken: bscTokens.wbnb, - }, - { - pid: 99, - lpSymbol: 'XCN-BNB LP', - lpAddress: '0xF01eD80d46759c0cf6A3e9c66856017d81284962', - token: bscTokens.xcn, - quoteToken: bscTokens.wbnb, - isCommunity: true, - }, - { - pid: 98, - lpSymbol: 'GAL-BNB LP', - lpAddress: '0xbe6A4f74fdDc88853612C50D7404E059b37692D8', - token: bscTokens.gal, - quoteToken: bscTokens.wbnb, - }, - { - pid: 97, - lpSymbol: 'RPG-BUSD LP', - lpAddress: '0x55cdb14855220b239Cf857A03849D96736b9103f', - token: bscTokens.rpg, - quoteToken: bscTokens.busd, - }, - { - pid: 92, - v1pid: 523, - lpSymbol: 'CEEK-BNB', - lpAddress: '0x046A9B3A9b743340eE2Bc4C6dDD35543E237C6c2', - token: bscTokens.ceek, - quoteToken: bscTokens.wbnb, - }, - { - pid: 89, - v1pid: 519, - lpSymbol: 'GMI-BNB LP', - lpAddress: '0x58d4B61983Ca0aFE6E352e90719F403E24e016F4', - token: bscTokens.gmi, - quoteToken: bscTokens.wbnb, - }, - { - pid: 88, - v1pid: 518, - lpSymbol: 'FROYO-CAKE LP', - lpAddress: '0x1CCc3cC95c8148477Afd18a552f03835Be9D182a', - token: bscTokens.froyo, - quoteToken: bscTokens.cake, - }, - { - pid: 87, - v1pid: 516, - lpSymbol: 'BSW-BNB LP', - lpAddress: '0x8CA3fF14A52b080C54A6d1a405eecA02959d39fE', - token: bscTokens.bsw, - quoteToken: bscTokens.wbnb, - }, - { - pid: 86, - v1pid: 515, - lpSymbol: 'DUET-CAKE LP', - lpAddress: '0xbDF0aA1D1985Caa357A6aC6661D838DA8691c569', - token: bscTokens.duet, - quoteToken: bscTokens.cake, - }, - { - pid: 85, - v1pid: 514, - lpSymbol: 'GMT-USDC LP', - lpAddress: '0x007EC643C7Cc33a70C083fC305c283dd009C8b94', - token: bscTokens.gmt, - quoteToken: bscTokens.usdc, - }, - { - pid: 84, - v1pid: 513, - lpSymbol: 'ERA-BNB LP', - lpAddress: '0x53a63ac301D6410915385294527f947aFf616599', - token: bscTokens.era, - quoteToken: bscTokens.wbnb, - }, - { - pid: 83, - v1pid: 510, - lpSymbol: 'BTT-BUSD', - lpAddress: '0xB7E73DaEe6A6Ca37A21f8E4bfba4DA448DFE4d92', - token: bscTokens.btt, - quoteToken: bscTokens.busd, - }, - { - pid: 82, - v1pid: 509, - lpSymbol: 'ACH-USDT', - lpAddress: '0x28BDb16b623176426305a70D8B475bE73Aca71f3', - token: bscTokens.ach, - quoteToken: bscTokens.usdt, - }, - { - pid: 81, - v1pid: 507, - lpSymbol: 'RACA-BUSD LP', - lpAddress: '0x8e744Ec2795c8B836689d1b4EBE1489204357dAC', - token: bscTokens.raca, - quoteToken: bscTokens.busd, - }, - { - pid: 80, - v1pid: 506, - lpSymbol: 'ERTHA-BNB LP', - lpAddress: '0x70531B39E2Bb4d8dA59E2Ce41a98eBA2990F8497', - token: bscTokens.ertha, - quoteToken: bscTokens.wbnb, - }, - { - pid: 79, - v1pid: 505, - lpSymbol: 'FUSE-BNB LP', - lpAddress: '0x6483F166b9E4310A165a55FEa04F867499aded06', - token: bscTokens.fuse, - quoteToken: bscTokens.wbnb, - }, - { - pid: 78, - v1pid: 503, - lpSymbol: 'FROYO-BNB LP', - lpAddress: '0x1Ce76390Dd210B9C9ae28373FDf79714206ECb73', - token: bscTokens.froyo, - quoteToken: bscTokens.wbnb, - }, - { - pid: 77, - v1pid: 502, - lpSymbol: 'APX-BUSD', - lpAddress: '0xa0Ee789a8F581CB92dD9742ed0B5d54a0916976C', - token: bscTokens.apx, - quoteToken: bscTokens.busd, - }, - { - pid: 76, - v1pid: 501, - lpSymbol: 'BCOIN-BNB', - lpAddress: '0x2Eebe0C34da9ba65521E98CBaA7D97496d05f489', - token: bscTokens.bcoin, - quoteToken: bscTokens.wbnb, - }, - { - pid: 75, - v1pid: 497, - lpSymbol: 'AOG-BUSD LP', - lpAddress: '0x88c9bf5E334e2591C6A866D5E20683E31226Be3d', - token: bscTokens.aog, - quoteToken: bscTokens.busd, - }, - { - pid: 74, - v1pid: 495, - lpSymbol: 'WOOP-BNB LP', - lpAddress: '0x2AE94A6C768D59f5DDc25bd7f12C7cBE1D51dc04', - token: bscTokens.woop, - quoteToken: bscTokens.wbnb, - }, - { - pid: 72, - v1pid: 489, - lpSymbol: 'DPT-BNB LP', - lpAddress: '0x141e9558f66Cc21c93628400cCa7d830c15c2c24', - token: bscTokens.dpt, - quoteToken: bscTokens.wbnb, - }, - { - pid: 71, - v1pid: 488, - lpSymbol: 'THG-BNB LP', - lpAddress: '0x486697ae24469cB1122F537924Aa46E705B142Aa', - token: bscTokens.thg, - quoteToken: bscTokens.wbnb, - }, - { - pid: 70, - v1pid: 484, - lpSymbol: 'IDIA-BUSD LP', - lpAddress: '0x71E6de81381eFE0Aa98f56b3B43eB3727D640715', - token: bscTokens.idia, - quoteToken: bscTokens.busd, - }, - { - pid: 69, - v1pid: 481, - lpSymbol: 'SANTOS-BNB LP', - lpAddress: '0x06043B346450BbCfdE066ebc39fdc264FdFFeD74', - token: bscTokens.santos, - quoteToken: bscTokens.wbnb, - }, - { - pid: 68, - v1pid: 476, - lpSymbol: 'QI-BNB', - lpAddress: '0xf924E642f05ACC57fc3b14990c2B1a137683b201', - token: bscTokens.qi, - quoteToken: bscTokens.wbnb, - }, - { - pid: 67, - v1pid: 474, - lpSymbol: 'PORTO-BNB LP', - lpAddress: '0x0A292e96ABb35297786a38fDD67Dc4f82689E670', - token: bscTokens.porto, - quoteToken: bscTokens.wbnb, - }, - { - pid: 66, - v1pid: 472, - lpSymbol: 'XWG-USDC LP', - lpAddress: '0x936928146a21AfCcd30DfA84824A780572B1630B', - token: bscTokens.xwg, - quoteToken: bscTokens.usdc, - }, - { - pid: 65, - v1pid: 471, - lpSymbol: 'DAR-BNB LP', - lpAddress: '0x062f88E2B4896e823ac78Ac314468c29eEC4186d', - token: bscTokens.dar, - quoteToken: bscTokens.wbnb, - }, - { - pid: 64, - v1pid: 470, - lpSymbol: 'FINA-BUSD LP', - lpAddress: '0x6dB23b5360c9D2859fDcbf41c56494e7b8573649', - token: bscTokens.fina, - quoteToken: bscTokens.busd, - }, - { - pid: 63, - v1pid: 466, - lpSymbol: 'DKT-BNB LP', - lpAddress: '0x365c3F921b2915a480308D0b1C04aEF7B99c2876', - token: bscTokens.dkt, - quoteToken: bscTokens.wbnb, - }, - { - pid: 62, - v1pid: 464, - lpSymbol: 'LAZIO-BNB LP', - lpAddress: '0x11c0b2BB4fbB430825d07507A9E24e4c32f7704D', - token: bscTokens.lazio, - quoteToken: bscTokens.wbnb, - }, - { - pid: 61, - v1pid: 461, - lpSymbol: 'BETA-BNB LP', - lpAddress: '0x88a02D94F437799f06f8c256ff07Aa397E6D0016', - token: bscTokens.beta, - quoteToken: bscTokens.wbnb, - }, - { - pid: 60, - v1pid: 457, - lpSymbol: 'NFT-BNB LP', - lpAddress: '0x0ecc84c9629317a494f12Bc56aA2522475bF32e8', - token: bscTokens.nft, - quoteToken: bscTokens.wbnb, - }, - { - pid: 58, - v1pid: 449, - lpSymbol: 'BP-BNB LP', - lpAddress: '0x2bF2dEB40639201C9A94c9e33b4852D9AEa5fd2D', - token: bscTokens.bp, - quoteToken: bscTokens.wbnb, - }, - { - pid: 57, - v1pid: 448, - lpSymbol: 'RUSD-BUSD LP', - lpAddress: '0x59FaC9e98479fc9979aE2a0C7422Af50bCBB9B26', - token: bscTokens.rusd, - quoteToken: bscTokens.busd, - }, - { - pid: 56, - v1pid: 442, - lpSymbol: 'TRX-BUSD LP', - lpAddress: '0xb5D108578Be3750209d1b3A8f45FFee8C5a75146', - token: bscTokens.trx, - quoteToken: bscTokens.busd, - }, - { - pid: 55, - v1pid: 441, - lpSymbol: 'WIN-BUSD LP', - lpAddress: '0x6a445cEB72c8B1751755386c3990055ff92e14A0', - token: bscTokens.win, - quoteToken: bscTokens.busd, - }, - { - pid: 54, - v1pid: 432, - lpSymbol: 'SPS-BNB LP', - lpAddress: '0xFdFde3aF740A22648B9dD66D05698e5095940850', - token: bscTokens.sps, - quoteToken: bscTokens.wbnb, - }, - { - pid: 53, - v1pid: 431, - lpSymbol: 'C98-BNB LP', - lpAddress: '0x92247860A03F48d5c6425c7CA35CDcFCB1013AA1', - token: bscTokens.c98, - quoteToken: bscTokens.wbnb, - }, - { - pid: 52, - v1pid: 430, - lpSymbol: 'AXS-BNB LP', - lpAddress: '0xC2d00De94795e60FB76Bc37d899170996cBdA436', - token: bscTokens.axs, - quoteToken: bscTokens.wbnb, - }, - { - pid: 51, - v1pid: 429, - lpSymbol: 'CHESS-USDC LP', - lpAddress: '0x1472976E0B97F5B2fC93f1FFF14e2b5C4447b64F', - token: bscTokens.chess, - quoteToken: bscTokens.usdc, - }, - { - pid: 50, - v1pid: 427, - lpSymbol: 'ONE-BNB LP', - lpAddress: '0x9D2296e2Fe3CdBf2EB3e3e2CA8811BaFA42eeDFF', - token: bscTokens.harmony, - quoteToken: bscTokens.wbnb, - }, - { - pid: 49, - v1pid: 425, - lpSymbol: 'DVI-BNB LP', - lpAddress: '0x89EBF9cD99864f6E51bd7a578965922029cAB977', - token: bscTokens.dvi, - quoteToken: bscTokens.wbnb, - }, - { - pid: 48, - v1pid: 423, - lpSymbol: 'USDC-USDT LP', - lpAddress: '0xEc6557348085Aa57C72514D67070dC863C0a5A8c', - token: bscTokens.usdc, - quoteToken: bscTokens.usdt, - }, - { - pid: 46, - v1pid: 421, - lpSymbol: 'BSCPAD-BNB LP', - lpAddress: '0xba01662E978DE7d67F8FfC937726215eb8995d17', - token: bscTokens.bscpad, - quoteToken: bscTokens.wbnb, - }, - { - pid: 45, - v1pid: 414, - lpSymbol: 'WOO-BNB LP', - lpAddress: '0x89eE0491CE55d2f7472A97602a95426216167189', - token: bscTokens.woo, - quoteToken: bscTokens.wbnb, - }, - { - pid: 44, - v1pid: 409, - lpSymbol: 'ETH-USDC LP', - lpAddress: '0xEa26B78255Df2bBC31C1eBf60010D78670185bD0', - token: bscTokens.eth, - quoteToken: bscTokens.usdc, - }, - { - pid: 43, - v1pid: 408, - lpSymbol: 'BTCB-ETH LP', - lpAddress: '0xD171B26E4484402de70e3Ea256bE5A2630d7e88D', - token: bscTokens.btcb, - quoteToken: bscTokens.eth, - }, - { - pid: 42, - v1pid: 405, - lpSymbol: 'MBOX-BNB LP', - lpAddress: '0x8FA59693458289914dB0097F5F366d771B7a7C3F', - token: bscTokens.mbox, - quoteToken: bscTokens.wbnb, - bCakeWrapperAddress: '0xD4e726fEE72BE7Db298034a46430935d735aD5A8', - }, - { - pid: 41, - v1pid: 397, - lpSymbol: 'TUSDOLD-BUSD LP', - lpAddress: '0x2E28b9B74D6d99D4697e913b82B41ef1CAC51c6C', - token: bscTokens.deprecated_tusd, - quoteToken: bscTokens.busd, - }, - { - pid: 37, - v1pid: 376, - lpSymbol: 'DOGE-BNB LP', - lpAddress: '0xac109C8025F272414fd9e2faA805a583708A017f', - token: bscTokens.doge, - quoteToken: bscTokens.wbnb, - }, - { - pid: 36, - v1pid: 365, - lpSymbol: 'BTCB-BUSD LP', - lpAddress: '0xF45cd219aEF8618A92BAa7aD848364a158a24F33', - token: bscTokens.btcb, - quoteToken: bscTokens.busd, - }, - { - pid: 35, - v1pid: 362, - lpSymbol: 'ALPACA-BUSD LP', - lpAddress: '0x7752e1FA9F3a2e860856458517008558DEb989e3', - token: bscTokens.alpaca, - quoteToken: bscTokens.busd, - }, - { - pid: 34, - v1pid: 352, - lpSymbol: 'TLM-BNB LP', - lpAddress: '0xE6b421a4408c82381b226Ab5B6F8C4b639044359', - token: bscTokens.tlm, - quoteToken: bscTokens.wbnb, - }, - { - pid: 33, - v1pid: 350, - lpSymbol: 'EPS-BNB LP', - lpAddress: '0xddE420cbB3794ebD8FFC3Ac69F9c78e5d1411870', - token: bscTokens.eps, - quoteToken: bscTokens.wbnb, - }, - { - pid: 32, - v1pid: 346, - lpSymbol: 'TKO-BNB LP', - lpAddress: '0xFFd4B200d3C77A0B691B5562D804b3bd54294e6e', - token: bscTokens.tko, - quoteToken: bscTokens.wbnb, - }, - { - pid: 31, - v1pid: 326, - lpSymbol: 'BIFI-BNB LP', - lpAddress: '0x3f1A9f3D9aaD8bD339eD4853F345d2eF89fbfE0c', - token: bscTokens.bifi, - quoteToken: bscTokens.wbnb, - }, - { - pid: 30, - v1pid: 322, - lpSymbol: 'ALICE-BNB LP', - lpAddress: '0xcAD7019D6d84a3294b0494aEF02e73BD0f2572Eb', - token: bscTokens.alice, - quoteToken: bscTokens.wbnb, - }, - { - pid: 29, - v1pid: 318, - lpSymbol: 'BELT-BNB LP', - lpAddress: '0xF3Bc6FC080ffCC30d93dF48BFA2aA14b869554bb', - token: bscTokens.belt, - quoteToken: bscTokens.wbnb, - }, - { - pid: 28, - v1pid: 317, - lpSymbol: 'RAMP-BUSD LP', - lpAddress: '0xE834bf723f5bDff34a5D1129F3c31Ea4787Bc76a', - token: bscTokens.ramp, - quoteToken: bscTokens.busd, - }, - { - pid: 27, - v1pid: 309, - lpSymbol: 'IOTX-BUSD LP', - lpAddress: '0xc13aA76AAc067c86aE38028019F414D731b3D86A', - token: bscTokens.iotx, - quoteToken: bscTokens.busd, - }, - { - pid: 26, - v1pid: 306, - lpSymbol: 'SUSHI-ETH LP', - lpAddress: '0x16aFc4F2Ad82986bbE2a4525601F8199AB9c832D', - token: bscTokens.sushi, - quoteToken: bscTokens.eth, - }, - { - pid: 25, - v1pid: 299, - lpSymbol: 'SFP-BNB LP', - lpAddress: '0x942b294e59a8c47a0F7F20DF105B082710F7C305', - token: bscTokens.sfp, - quoteToken: bscTokens.wbnb, - }, - { - pid: 24, - v1pid: 298, - lpSymbol: 'LINA-BUSD LP', - lpAddress: '0xC5768c5371568Cf1114cddD52CAeD163A42626Ed', - token: bscTokens.lina, - quoteToken: bscTokens.busd, - }, - { - pid: 23, - v1pid: 293, - lpSymbol: 'UST-BUSD LP', - lpAddress: '0x05faf555522Fa3F93959F86B41A3808666093210', - token: bscTokens.ust, - quoteToken: bscTokens.busd, - }, - { - pid: 22, - v1pid: 285, - lpSymbol: 'BTCST-BNB LP', - lpAddress: '0xB2678C414ebC63c9CC6d1a0fC45f43E249B50fdE', - token: bscTokens.btcst, - quoteToken: bscTokens.wbnb, - }, - { - pid: 21, - v1pid: 284, - lpSymbol: 'LTC-BNB LP', - lpAddress: '0x71b01eBdDD797c8E9E0b003ea2f4FD207fBF46cC', - token: bscTokens.ltc, - quoteToken: bscTokens.wbnb, - }, - { - pid: 20, - v1pid: 283, - lpSymbol: 'USDC-BUSD LP', - lpAddress: '0x2354ef4DF11afacb85a5C7f98B624072ECcddbB1', - token: bscTokens.usdc, - quoteToken: bscTokens.busd, - }, - { - pid: 19, - v1pid: 282, - lpSymbol: 'DAI-BUSD LP', - lpAddress: '0x66FDB2eCCfB58cF098eaa419e5EfDe841368e489', - token: bscTokens.dai, - quoteToken: bscTokens.busd, - }, - { - pid: 18, - v1pid: 276, - lpSymbol: 'VAI-BUSD LP', - lpAddress: '0x133ee93FE93320e1182923E1a640912eDE17C90C', - token: bscTokens.vai, - quoteToken: bscTokens.busd, - }, - { - pid: 17, - v1pid: 268, - lpSymbol: 'SXP-BNB LP', - lpAddress: '0xD8E2F8b6Db204c405543953Ef6359912FE3A88d6', - token: bscTokens.sxp, - quoteToken: bscTokens.wbnb, - }, - { - pid: 16, - v1pid: 270, - lpSymbol: 'INJ-BNB LP', - lpAddress: '0x1BdCebcA3b93af70b58C41272AEa2231754B23ca', - token: bscTokens.inj, - quoteToken: bscTokens.wbnb, - }, - { - pid: 15, - v1pid: 268, - lpSymbol: 'UNI-BNB LP', - lpAddress: '0x014608E87AF97a054C9a49f81E1473076D51d9a3', - token: bscTokens.uni, - quoteToken: bscTokens.wbnb, - }, - { - pid: 14, - v1pid: 265, - lpSymbol: 'XRP-BNB LP', - lpAddress: '0x03F18135c44C64ebFdCBad8297fe5bDafdBbdd86', - token: bscTokens.xrp, - quoteToken: bscTokens.wbnb, - }, - { - pid: 13, - v1pid: 264, - lpSymbol: 'USDT-BNB LP', - lpAddress: '0x16b9a82891338f9bA80E2D6970FddA79D1eb0daE', - token: bscTokens.usdt, - quoteToken: bscTokens.wbnb, - }, - { - pid: 12, - v1pid: 263, - lpSymbol: 'ALPHA-BNB LP', - lpAddress: '0xACF47CBEaab5c8A6Ee99263cfE43995f89fB3206', - token: bscTokens.alpha, - quoteToken: bscTokens.wbnb, - }, - { - pid: 11, - v1pid: 262, - lpSymbol: 'BTCB-BNB LP', - lpAddress: '0x61EB789d75A95CAa3fF50ed7E47b96c132fEc082', - token: bscTokens.btcb, - quoteToken: bscTokens.wbnb, - }, - { - pid: 10, - v1pid: 261, - lpSymbol: 'ETH-BNB LP', - lpAddress: '0x74E4716E431f45807DCF19f284c7aA99F18a4fbc', - token: bscTokens.eth, - quoteToken: bscTokens.wbnb, - }, - { - pid: 8, - v1pid: 259, - lpSymbol: 'TWT-BNB LP', - lpAddress: '0x3DcB1787a95D2ea0Eb7d00887704EeBF0D79bb13', - token: bscTokens.twt, - quoteToken: bscTokens.wbnb, - bCakeWrapperAddress: '0xF94cE20b9bd3a7E64A64E39DF5c7d7BDb915499f', - }, - { - pid: 7, - v1pid: 258, - lpSymbol: 'USDT-BUSD LP', - lpAddress: '0x7EFaEf62fDdCCa950418312c6C91Aef321375A00', - token: bscTokens.usdt, - quoteToken: bscTokens.busd, - }, - { - pid: 6, - v1pid: 257, - lpSymbol: 'LINK-BNB LP', - lpAddress: '0x824eb9faDFb377394430d2744fa7C42916DE3eCe', - token: bscTokens.link, - quoteToken: bscTokens.wbnb, - }, - { - pid: 5, - v1pid: 255, - lpSymbol: 'DOT-BNB LP', - lpAddress: '0xDd5bAd8f8b360d76d12FdA230F8BAF42fe0022CF', - token: bscTokens.dot, - quoteToken: bscTokens.wbnb, - }, - { - pid: 4, - v1pid: 253, - lpSymbol: 'ADA-BNB LP', - lpAddress: '0x28415ff2C35b65B9E5c7de82126b4015ab9d031F', - token: bscTokens.ada, - quoteToken: bscTokens.wbnb, - }, - { - pid: 121, - lpSymbol: 'lisUSD-BUSD LP', - lpAddress: '0xB6040A9F294477dDAdf5543a24E5463B8F2423Ae', - token: bscTokens.hay, - quoteToken: bscTokens.busd, - stableSwapAddress: '0x49079D07ef47449aF808A4f36c2a8dEC975594eC', - infoStableSwapAddress: '0xa680d27f63Fa5E213C502d1B3Ca1EB6a3C1b31D6', - stableLpFee: 0.0002, - stableLpFeeRateOfTotalFee: 0.5, - }, - { - pid: 95, - lpSymbol: 'aBNBc-BNB LP', - lpAddress: '0x272c2CF847A49215A3A1D4bFf8760E503A06f880', - token: bscTokens.abnbc, - quoteToken: bscTokens.wbnb, - }, -].map( - (p) => - ({ - ...p, - token: p.token.serialize, - quoteToken: p.quoteToken.serialize, - lpAddress: getAddress(p.lpAddress), - } as SerializedFarmConfig), -) - -export default farms diff --git a/packages/farms/constants/bscTestnet.ts b/packages/farms/constants/bscTestnet.ts deleted file mode 100644 index 70b7e87692256..0000000000000 --- a/packages/farms/constants/bscTestnet.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { bscTestnetTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' -import { getAddress } from 'viem' -import { SerializedFarmConfig } from '..' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - { - pid: 1, - lpAddress: '0x5147173E452AE4dd23dcEe7BaAaaAB7318F16F6B', - token0: bscTestnetTokens.usdt, - token1: bscTestnetTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 2, - lpAddress: '0xe62C422c1E8083CE3b4526Ff0b16388354AB6E64', - token0: bscTestnetTokens.cake2, - token1: bscTestnetTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 3, - lpAddress: '0xc0E0F94a79Aabc6c655f308Da21D6EbDE64b0995', - token0: bscTestnetTokens.mockB, - token1: bscTestnetTokens.mockA, - feeAmount: FeeAmount.LOW, - }, - { - pid: 4, - lpAddress: '0xf7f2894abd4beE559521D754c5D481730E1C7d8C', - token0: bscTestnetTokens.mockB, - token1: bscTestnetTokens.mockA, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 5, - lpAddress: '0x5d9550E870D42Ae03Fab91508cC5722A80CF0b5e', - token0: bscTestnetTokens.mockB, - token1: bscTestnetTokens.mockA, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 6, - lpAddress: '0x427d29C609A85AA3aaF87Aff65C392D72588ceC2', - token0: bscTestnetTokens.cake2, - token1: bscTestnetTokens.busd, - feeAmount: FeeAmount.MEDIUM, - }, -]) - -const farms: SerializedFarmConfig[] = [ - /** - * These 3 farms (PID 0, 2, 3) should always be at the top of the file. - */ - { - pid: 0, - lpSymbol: 'CAKE', - lpAddress: '0x36e3E4fF6471559b19F66bD10985534d5e214D44', - token: bscTestnetTokens.syrup, - quoteToken: bscTestnetTokens.wbnb, - }, - { - pid: 3, - lpSymbol: 'BUSD-CAKE LP', - lpAddress: '0xb98C30fA9f5e9cf6749B7021b4DDc0DBFe73b73e', - token: bscTestnetTokens.busd, - quoteToken: bscTestnetTokens.cake, - }, - { - pid: 4, - lpSymbol: 'CAKE-BNB LP', - lpAddress: '0xa96818CA65B57bEc2155Ba5c81a70151f63300CD', - token: bscTestnetTokens.cake, - quoteToken: bscTestnetTokens.wbnb, - }, - { - pid: 10, - lpSymbol: 'BNB-BUSD LP', - lpAddress: '0x4E96D2e92680Ca65D58A0e2eB5bd1c0f44cAB897', - token: bscTestnetTokens.wbnb, - quoteToken: bscTestnetTokens.busd, - }, - { - pid: 9, - lpSymbol: 'BUSD-USDC LP', - lpAddress: '0x7CA885d338462790DD1B5416ebe6bec75ee045a1', - token: bscTestnetTokens.mockBusd, // coins[0] - quoteToken: bscTestnetTokens.usdc, // coins[1] - stableSwapAddress: '0xd5E56CD4c8111643a94Ee084df31F44055a1EC9F', - infoStableSwapAddress: '0xaE6C14AAA753B3FCaB96149e1E10Bc4EDF39F546', - stableLpFee: 0.0002, - stableLpFeeRateOfTotalFee: 0.5, - }, - { - pid: 11, - lpSymbol: 'USDT-BUSD LP', - lpAddress: '0x9Fa2Ef2C3dF6F903F4b73047311e861C51a11B60', - token: bscTestnetTokens.usdt, // coins[0] - quoteToken: bscTestnetTokens.mockBusd, // coins[1] - stableSwapAddress: '0xc418d68751Cbe0407C8fdd90Cde73cE95b892f39', - infoStableSwapAddress: '0xaE6C14AAA753B3FCaB96149e1E10Bc4EDF39F546', - stableLpFee: 0.0002, - stableLpFeeRateOfTotalFee: 0.5, - }, -].map((p) => ({ - ...p, - token: p.token.serialize, - quoteToken: p.quoteToken.serialize, - lpAddress: getAddress(p.lpAddress), -})) - -export default farms diff --git a/packages/farms/constants/eth.ts b/packages/farms/constants/eth.ts deleted file mode 100644 index a25aab1c73366..0000000000000 --- a/packages/farms/constants/eth.ts +++ /dev/null @@ -1,621 +0,0 @@ -import { ethereumTokens } from '@pancakeswap/tokens' -import { FeeAmount, Pool } from '@pancakeswap/v3-sdk' -import { getAddress } from 'viem' -import { FarmConfigV3, SerializedFarmConfig } from '..' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -const v3TopFixedLps: FarmConfigV3[] = [ - { - pid: 1, - lpAddress: '0x1ac1A8FEaAEa1900C4166dEeed0C11cC10669D36', - token0: ethereumTokens.usdc, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 62, - lpAddress: '0x1445F32D1A74872bA41f3D8cF4022E9996120b31', - token0: ethereumTokens.usdc, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 63, - lpAddress: '0xaCDb27b266142223e1e676841C1E809255Fc6d07', - token0: ethereumTokens.weth, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 2, - lpAddress: '0x6CA298D2983aB03Aa1dA7679389D955A4eFEE15C', - token0: ethereumTokens.weth, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.LOW, - }, - { - pid: 3, - lpAddress: '0x04c8577958CcC170EB3d2CCa76F9d51bc6E42D8f', - token0: ethereumTokens.usdc, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 4, - lpAddress: '0x9b5699D18DFF51fc65fB8ad6F70d93287C36349f', - token0: ethereumTokens.wbtc, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 5, - lpAddress: '0x517F451b0A9E1b87Dc0Ae98A05Ee033C3310F046', - token0: ethereumTokens.cake, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 6, - lpAddress: '0x11A6713B702817DB0Aa0964D1AfEe4E641319732', - token0: ethereumTokens.cake, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, -] - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - // Keep those farms on top - ...v3TopFixedLps, - // new lps should follow after the top fixed lps - // latest first - { - pid: 78, - lpAddress: '0xB2DC4d7627501338B578985c214208eb32283086', - token0: ethereumTokens.order, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 77, - lpAddress: '0x365EA9E5Cec960390f35b6509548e84073168A8B', - token0: ethereumTokens.wbtc, - token1: ethereumTokens.swBTC, - feeAmount: FeeAmount.LOW, - }, - { - pid: 76, - lpAddress: '0xBfab494D6311432Ed86Ee88779aCD7B4838920B7', - token0: ethereumTokens.usd0, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.LOW, - }, - { - pid: 75, - lpAddress: '0x027039bd4eA6Ac7f80fEf4be2d0C6B74bfA932F9', - token0: ethereumTokens.usde, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 74, - lpAddress: '0x856B93E22127E6B76B79573bf95a93b4c88cb745', - token0: ethereumTokens.deusd, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 73, - lpAddress: '0x689D028f13033d2E2A7c87806bEe05F45d859B52', - token0: ethereumTokens.deusd, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 72, - lpAddress: '0x284651847C4B630D17a69A10af00871c6FBAcEEe', - token0: ethereumTokens.zro, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 71, - lpAddress: '0x05dF8F9fCFf0b6a6FDE7166706a52693906C9936', - token0: ethereumTokens.taiko, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 70, - lpAddress: '0x6FD5029Ba47BA8dBee130DA71e2546b5c96b4B12', - token0: ethereumTokens.blb, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 69, - lpAddress: '0xfcc3B8959d99f1154F0B1ac0252aa7e0F0617BCC', - token0: ethereumTokens.weth, - token1: ethereumTokens.mETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 68, - lpAddress: '0x5bF7C2C688b058f3C89aa667e4698349D062c813', - token0: ethereumTokens.weth, - token1: ethereumTokens.mETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 67, - lpAddress: '0x11b544C90EE643ca0256696F43b4512A4eD2D049', - token0: ethereumTokens.mnt, - token1: ethereumTokens.mETH, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 66, - lpAddress: '0x021E6270091a926D08d43681978d65F9A9b024ca', - token0: ethereumTokens.masa, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 65, - lpAddress: '0x7B94A5622035207d3f527d236d47B7714Ee0acBa', - token0: ethereumTokens.weth, - token1: ethereumTokens.rswETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 64, - lpAddress: '0x93c041eDa52849753066B6D729e5a15C19766A69', - token0: ethereumTokens.nmt, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 61, - lpAddress: '0x350d6d813Be7B64681f91F16A98Ef360Bd42b66b', - token0: ethereumTokens.mstETH, - token1: ethereumTokens.wstETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 60, - lpAddress: '0x6177811663A60Ac211566bE5873c5Ed441D9E948', - token0: ethereumTokens.mswETH, - token1: ethereumTokens.swETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 59, - lpAddress: '0x7E9570FD7B4f1362aB924dfDE29096e0B484E009', - token0: ethereumTokens.xrgb, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 58, - lpAddress: '0xE7976f522b5a75Aedd057540c8baA05283a9F79E', - token0: ethereumTokens.pixel, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 57, - lpAddress: '0xe512273b90a5fFD21dD19fBB09B7634A3d35ADd9', - token0: ethereumTokens.pandora, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 56, - lpAddress: '0x249CfCA66a4F6D02a12376D079E5d131423A6b7a', - token0: ethereumTokens.weth, - token1: ethereumTokens.weETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 55, - lpAddress: '0x3733493eC5D2C181Dcd7C54ed100641c0f07BB0e', - token0: ethereumTokens.pxETH, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 54, - lpAddress: '0xBc1a2e1B745497D214B99F359369d304D0aCf935', - token0: ethereumTokens.osak, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 53, - lpAddress: '0xBEA29eE3bb5F025D3C7e107883cD002c420b389d', - token0: ethereumTokens.ords, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 52, - lpAddress: '0x6db0f81Db2C3B2A85a802d511577d8522D0D8C14', - token0: ethereumTokens.weth, - token1: ethereumTokens.swETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 51, - lpAddress: '0x6Fab6CEdf26f9bF03448Fe835B674be1CFf0E8BB', - token0: ethereumTokens.eura, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 50, - lpAddress: '0x4689e3C91036437A46A6c8B62157F58210Ba67a7', - token0: ethereumTokens.sdt, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 49, - lpAddress: '0x3A2195f4760e89e5B753fd3521a236b6a9f72EBB', - token0: ethereumTokens.weth, - token1: ethereumTokens.btrfly, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 48, - lpAddress: '0xBC7766aE74f38f251683633d50Cc2C1CD14aF948', - token0: ethereumTokens.insp, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 47, - lpAddress: '0x135Cd19cb3c15f7eB10FC21FF79e1259a65Fc958', - token0: ethereumTokens.aioz, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 46, - lpAddress: '0x7dF7c84f2f9DCef3c0813e539878B76B89a916F8', - token0: ethereumTokens.id, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 45, - lpAddress: '0x719EBA3fB0799e215B6F82872F947418298e395e', - token0: ethereumTokens.bonk, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 44, - lpAddress: '0xEd4D5317823Ff7BC8BB868C1612Bb270a8311179', - token0: ethereumTokens.insp, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 43, - lpAddress: '0x3a1b97Fc25fA45832F588ED3bFb2A0f74ddBD4F8', - token0: ethereumTokens.wstETH, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 42, - lpAddress: '0x73b9aDC00794260616C51C41997cE0245b3FA012', - token0: ethereumTokens.meme, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 41, - lpAddress: '0x4D4c8F2f30e0224889ab578283A844e10B57e0F8', - token0: ethereumTokens.ethx, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 40, - lpAddress: '0x539aa397a61C8933f0E813DF9802A5d4dA653AD4', - token0: ethereumTokens.pyusd, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 39, - lpAddress: '0xfF4469F951c05529513F5FEc4464Cb10d2230bE3', - token0: ethereumTokens.pyusd, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 38, - lpAddress: '0xEa9b2D7ff9aE446ec067e50DF7C09f1Dd055bB71', - token0: ethereumTokens.woo, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 12, - lpAddress: '0x4F64951A6583D56004fF6310834C70d182142A07', - token0: ethereumTokens.wstETH, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 37, - lpAddress: '0x3fc47BE8264E473dd2B3e80d144F9EfFfc18F438', - token0: ethereumTokens.cyber, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 36, - lpAddress: Pool.getAddress(ethereumTokens.wom, ethereumTokens.usdt, FeeAmount.HIGH), - token0: ethereumTokens.wom, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 35, - lpAddress: Pool.getAddress(ethereumTokens.wld, ethereumTokens.weth, FeeAmount.HIGH), - token0: ethereumTokens.wld, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 34, - lpAddress: Pool.getAddress(ethereumTokens.pendle, ethereumTokens.weth, FeeAmount.HIGH), - token0: ethereumTokens.pendle, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 33, - lpAddress: Pool.getAddress(ethereumTokens.canto, ethereumTokens.weth, FeeAmount.HIGH), - token0: ethereumTokens.canto, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 32, - lpAddress: Pool.getAddress(ethereumTokens.tusd, ethereumTokens.usdt, FeeAmount.LOWEST), - token0: ethereumTokens.tusd, - token1: ethereumTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 22, - lpAddress: Pool.getAddress(ethereumTokens.axl, ethereumTokens.usdc, FeeAmount.MEDIUM), - token0: ethereumTokens.axl, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 19, - lpAddress: Pool.getAddress(ethereumTokens.rETH, ethereumTokens.weth, FeeAmount.LOW), - token0: ethereumTokens.rETH, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 31, - lpAddress: Pool.getAddress(ethereumTokens.wbtc, ethereumTokens.rETH, FeeAmount.MEDIUM), - token0: ethereumTokens.wbtc, - token1: ethereumTokens.rETH, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 30, - lpAddress: Pool.getAddress(ethereumTokens.fuse, ethereumTokens.weth, FeeAmount.MEDIUM), - token0: ethereumTokens.fuse, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 29, - lpAddress: '0x392d0F0B7Fe5161Db89f2DB87d33a20682C12A2B', - token0: ethereumTokens.weth, - token1: ethereumTokens.ens, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 28, - lpAddress: '0xC7F25e2FcC474816efFd9be316F2E51cCef90Ceb', - token0: ethereumTokens.blur, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 27, - lpAddress: Pool.getAddress(ethereumTokens.pepe, ethereumTokens.weth, FeeAmount.HIGH), - token0: ethereumTokens.pepe, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 26, - lpAddress: Pool.getAddress(ethereumTokens.wbeth, ethereumTokens.weth, FeeAmount.LOW), - token0: ethereumTokens.wbeth, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 25, - lpAddress: Pool.getAddress(ethereumTokens.unshETH, ethereumTokens.usdc, FeeAmount.MEDIUM), - token0: ethereumTokens.unshETH, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 24, - lpAddress: '0x5145755c0535198eec1642DC0cc96225fb28263D', - token0: ethereumTokens.weth, - token1: ethereumTokens.wncg, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 23, - lpAddress: '0x6E229C972d9F69c15Bdc7B07f385D2025225E72b', - token0: ethereumTokens.mask, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 14, - lpAddress: Pool.getAddress(ethereumTokens.alETH, ethereumTokens.alcx, FeeAmount.MEDIUM), - token0: ethereumTokens.alETH, - token1: ethereumTokens.alcx, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 15, - lpAddress: Pool.getAddress(ethereumTokens.alETH, ethereumTokens.weth, FeeAmount.LOW), - token0: ethereumTokens.alETH, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 16, - lpAddress: Pool.getAddress(ethereumTokens.fxs, ethereumTokens.weth, FeeAmount.MEDIUM), - token0: ethereumTokens.fxs, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 17, - lpAddress: Pool.getAddress(ethereumTokens.frxETH, ethereumTokens.weth, FeeAmount.LOW), - token0: ethereumTokens.frxETH, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 18, - lpAddress: Pool.getAddress(ethereumTokens.weth, ethereumTokens.rpl, FeeAmount.MEDIUM), - token0: ethereumTokens.weth, - token1: ethereumTokens.rpl, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 20, - lpAddress: Pool.getAddress(ethereumTokens.weth, ethereumTokens.ankrETH, FeeAmount.LOW), - token0: ethereumTokens.weth, - token1: ethereumTokens.ankrETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 21, - lpAddress: Pool.getAddress(ethereumTokens.cbEth, ethereumTokens.weth, FeeAmount.LOW), - token0: ethereumTokens.cbEth, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 7, - lpAddress: '0xD9e497BD8f491fE163b42A62c296FB54CaEA74B7', - token0: ethereumTokens.dai, - token1: ethereumTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 8, - lpAddress: '0x34b8AB3a392d54D839dcDBd5Cd1330aBB24bE167', - token0: ethereumTokens.ldo, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 9, - lpAddress: '0x7ca3EdB2c8fb3e657E282e67F4008d658aA161D2', - token0: ethereumTokens.link, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 10, - lpAddress: '0x8579630AC9c53CFEb5167f90Af90d2c0d52ED09c', - token0: ethereumTokens.matic, - token1: ethereumTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 13, - lpAddress: '0x7524Fe020EDcD072EE98126b49Fa65Eb85F8C44C', - token0: ethereumTokens.usdc, - token1: ethereumTokens.stg, - feeAmount: FeeAmount.MEDIUM, - }, -]) - -const farms: SerializedFarmConfig[] = [ - { - pid: 154, - vaultPid: 7, - lpSymbol: 'CAPS-ETH LP', - lpAddress: '0x829e9CC8D05d0D55B4494Ecb5a43D71546dd4DDb', - quoteToken: ethereumTokens.weth, - token: ethereumTokens.caps, - }, - { - pid: 145, - vaultPid: 6, - lpSymbol: 'FUSE-ETH LP', - lpAddress: '0xF9b026786522251c08d8C49e154d036Ef3Ad8Cc7', - quoteToken: ethereumTokens.weth, - token: ethereumTokens.fuse, - }, - { - pid: 143, - vaultPid: 5, - lpSymbol: 'STG-USDC LP', - lpAddress: '0x6cCA86CC27EB8c7C2d10B0672FE392CFC88e62ff', - quoteToken: ethereumTokens.usdc, - token: ethereumTokens.stg, - }, - { - pid: 141, - vaultPid: 4, - lpSymbol: 'SDAO-ETH LP', - lpAddress: '0xDA7cF6a0CD5d5e8D10AB55d8bA58257813a239cA', - quoteToken: ethereumTokens.weth, - token: ethereumTokens.sdao, - }, - { - pid: 126, - vaultPid: 3, - lpSymbol: 'WBTC-ETH LP', - lpAddress: '0x4AB6702B3Ed3877e9b1f203f90cbEF13d663B0e8', - quoteToken: ethereumTokens.weth, - token: ethereumTokens.wbtc, - }, - { - pid: 125, - vaultPid: 2, - lpSymbol: 'ETH-USDT LP', - lpAddress: '0x17C1Ae82D99379240059940093762c5e4539aba5', - quoteToken: ethereumTokens.weth, - token: ethereumTokens.usdt, - }, - { - pid: 124, - vaultPid: 1, - lpSymbol: 'ETH-USDC LP', - lpAddress: '0x2E8135bE71230c6B1B4045696d41C09Db0414226', - quoteToken: ethereumTokens.weth, - token: ethereumTokens.usdc, - }, -].map((p) => ({ - ...p, - token: p.token.serialize, - quoteToken: p.quoteToken.serialize, - lpAddress: getAddress(p.lpAddress), -})) - -export default farms diff --git a/packages/farms/constants/linea.ts b/packages/farms/constants/linea.ts deleted file mode 100644 index 1b5d4f6140994..0000000000000 --- a/packages/farms/constants/linea.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { lineaTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' -import { FarmConfigV3 } from '../src' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -const v3TopFixedFarms: FarmConfigV3[] = [ - { - pid: 9, - lpAddress: '0x586733678b9aC9Da43dD7CB83bbB41d23677Dfc3', - token0: lineaTokens.usdc, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 12, - lpAddress: '0x1947B87d35E9f1cd53CEDe1aD6F7be44C12212B8', - token0: lineaTokens.usdt, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 1, - lpAddress: '0xd5539D0360438a66661148c633A9F0965E482845', - token0: lineaTokens.usdc, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 8, - lpAddress: '0xc014414696F332C96C471634620344143325D2C0', - token0: lineaTokens.usdt, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOW, - }, - - { - pid: 2, - lpAddress: '0x6a72F4F191720c411Cd1fF6A5EA8DeDEC3A64771', - token0: lineaTokens.usdc, - token1: lineaTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 10, - lpAddress: '0x5AFda31027C3E6A03c77a113FFC031B564AbbF05', - token0: lineaTokens.wbtc, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 3, - lpAddress: '0xbD3bc396C9393e63bBc935786Dd120B17F58Df4c', - token0: lineaTokens.wbtc, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOW, - }, -] - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - ...v3TopFixedFarms, - { - pid: 14, - lpAddress: '0x96F8d07B34e15c0f9338e79fD038F0f7A0C3a676', - token0: lineaTokens.foxy, - token1: lineaTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 13, - lpAddress: '0xfDe733b5DE5B5a06C68353e01E4c1D3415C89560', - token0: lineaTokens.ezETH, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOW, - }, - - { - pid: 11, - lpAddress: '0xE817A59F8A030544Ff65F47536abA272F6d63059', - token0: lineaTokens.cake, - token1: lineaTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - - { - pid: 7, - lpAddress: '0x90375306810C6E8B2efa8294835C78B499D7c691', - token0: lineaTokens.wstETH, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 6, - lpAddress: '0x3f63a467C54c96538bD36A7DF1b9E7C4719DcaC9', - token0: lineaTokens.wstETH, - token1: lineaTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - - { - pid: 4, - lpAddress: '0xA48E0630B7b9dCb250112143C9D0fe47d26CB1e4', - token0: lineaTokens.usdc, - token1: lineaTokens.dai, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 5, - lpAddress: '0x85164B6d8a74bA481AB6D02D2C4e779ECCBAF982', - token0: lineaTokens.usdc, - token1: lineaTokens.axlusdc, - feeAmount: FeeAmount.LOWEST, - }, -]) diff --git a/packages/farms/constants/opBNB.ts b/packages/farms/constants/opBNB.ts deleted file mode 100644 index 58922edf963d6..0000000000000 --- a/packages/farms/constants/opBNB.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { opBnbTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' - -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - { - pid: 4, - lpAddress: '0x91C348015Eb3Bb32f5AaE59a594c727365816811', - token0: opBnbTokens.usdt, - token1: opBnbTokens.xcad, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 3, - lpAddress: '0xFf00F4E09820dbbe8582F771800732DaE7F002bD', - token0: opBnbTokens.wbnb, - token1: opBnbTokens.eth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 2, - lpAddress: '0xD9004241D34392e9Ae0C84d5aCDF76941a27D8D1', - token0: opBnbTokens.fdusd, - token1: opBnbTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 1, - lpAddress: '0xc4f981189558682F15F60513158B699354B30204', - token0: opBnbTokens.wbnb, - token1: opBnbTokens.usdt, - feeAmount: FeeAmount.LOW, - }, -]) diff --git a/packages/farms/constants/opBnbTestnet.ts b/packages/farms/constants/opBnbTestnet.ts deleted file mode 100644 index c16db2326c217..0000000000000 --- a/packages/farms/constants/opBnbTestnet.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { opBnbTestnetTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' - -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - { - pid: 1, - lpAddress: '0x5EFf51E8718F7b36D09CBc0506f653E886eBdAdb', - token0: opBnbTestnetTokens.mockA, - token1: opBnbTestnetTokens.wbnb, - feeAmount: FeeAmount.LOW, - }, - { - pid: 2, - lpAddress: '0x71C5C28442353877f6a4A196f95Ee4CfB0Dcb5Aa', - token0: opBnbTestnetTokens.mockB, - token1: opBnbTestnetTokens.wbnb, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 3, - lpAddress: '0x6Cd45Ef02989A9188A9d8B170b86FAAA6d2B194C', - token0: opBnbTestnetTokens.mockB, - token1: opBnbTestnetTokens.mockC, - feeAmount: FeeAmount.HIGH, - }, -]) diff --git a/packages/farms/constants/polygonZkEVM.ts b/packages/farms/constants/polygonZkEVM.ts deleted file mode 100644 index aaa0093c26031..0000000000000 --- a/packages/farms/constants/polygonZkEVM.ts +++ /dev/null @@ -1,169 +0,0 @@ -import { polygonZkEvmTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' -import { FarmConfigV3 } from '../src' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -const v3TopFixedFarms: FarmConfigV3[] = [ - { - pid: 15, - lpAddress: '0x9f37552b87b68E7F169c442D595c1Be7A0F03b92', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 1, - lpAddress: '0xD43b9dCbB61e6ccFbCFef9f21e1BB5064F1CB33f', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.usdc, - feeAmount: FeeAmount.LOW, - }, - { - pid: 2, - lpAddress: '0x4A080D9488cE2C8258185d78852275D6d3c2820c', - token0: polygonZkEvmTokens.usdt, - token1: polygonZkEvmTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 3, - lpAddress: '0xca06375be938a2d6eF311dfaFab7E326d55D23Cc', - token0: polygonZkEvmTokens.usdt, - token1: polygonZkEvmTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 16, - lpAddress: '0xb5d9E1622BFA6Efb3FB50c0bDc6a0EE2b2d046fA', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.wbtc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 17, - lpAddress: '0x7a816241EdaF060e33b774D6D3D6398485dFf9AF', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.matic, - feeAmount: FeeAmount.LOW, - }, - { - pid: 4, - lpAddress: '0xaE30fcdEE41dC9eC265e841D8185d055B87d1B7a', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.matic, - feeAmount: FeeAmount.MEDIUM, - }, -] - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - ...v3TopFixedFarms, - { - pid: 22, - lpAddress: '0x9Bc342259cCEdA0487E70b71A3161F002a95F0e8', - token0: polygonZkEvmTokens.usdc, - token1: polygonZkEvmTokens.dai, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 21, - lpAddress: '0x337AF062CE32bB423010415196E315c4154D36C3', - token0: polygonZkEvmTokens.usdt, - token1: polygonZkEvmTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 20, - lpAddress: '0x160f3d3af6A2ECe5274AfD0925137e0387BAA5F2', - token0: polygonZkEvmTokens.usdce, - token1: polygonZkEvmTokens.grai, - feeAmount: FeeAmount.LOW, - }, - { - pid: 19, - lpAddress: '0x3Fa1c450f3842C1252e4cB443e3F435b41D6f472', - token0: polygonZkEvmTokens.cake, - token1: polygonZkEvmTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 18, - lpAddress: '0xb4BAB40e5a869eF1b5ff440a170A57d9feb228e9', - token0: polygonZkEvmTokens.cake, - token1: polygonZkEvmTokens.usdc, - feeAmount: FeeAmount.HIGH, - }, - - { - pid: 14, - lpAddress: '0x435564Fb7E82daB83B2733D6Bc1fDB8B5a732DE8', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.rsETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 13, - lpAddress: '0x2e780D6666C2C44754a0cA7A8e2Ed97506B47751', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.reth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 12, - lpAddress: '0x3752BDb9215A2C0609d71407b50A528e1C6ECaBD', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.wstETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 11, - lpAddress: '0xf142d852c9c805e419399c9B3Ce2A8485F950BBf', - token0: polygonZkEvmTokens.wstETH, - token1: polygonZkEvmTokens.reth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 8, - lpAddress: '0xE0a5B3A014084B7E0fF6526986497629AEE16533', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.wstETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 9, - lpAddress: '0x66f1320E9f77C6036a39C884E7fDC63F88e39E50', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.reth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 10, - lpAddress: '0xbAABf57B49eaa079523b29EC9D25879D82D17Dc6', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.rsETH, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 7, - lpAddress: '0x849c0ae884bFDc14DDdeB7Cae95494f368414855', - token0: polygonZkEvmTokens.usdce, - token1: polygonZkEvmTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 5, - lpAddress: '0x39aCc7cf02af19A1eB0e3628bA0F5C48f44beBF3', - token0: polygonZkEvmTokens.usdc, - token1: polygonZkEvmTokens.grai, - feeAmount: FeeAmount.LOW, - }, - { - pid: 6, - lpAddress: '0xf1e501f74Ed9dc619be53Fddb698c94AbF9D56B6', - token0: polygonZkEvmTokens.weth, - token1: polygonZkEvmTokens.wbtc, - feeAmount: FeeAmount.LOW, - }, -]) - -export default farmsV3 diff --git a/packages/farms/constants/polygonZkEVMTestnet.ts b/packages/farms/constants/polygonZkEVMTestnet.ts deleted file mode 100644 index a3e95bf18035f..0000000000000 --- a/packages/farms/constants/polygonZkEVMTestnet.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { polygonZkEvmTestnetTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - { - pid: 1, - lpAddress: '0xae62072e5e25fE2D811Da7e4E33F75E0524B8FdC', - token0: polygonZkEvmTestnetTokens.weth, - token1: polygonZkEvmTestnetTokens.mockA, - feeAmount: FeeAmount.LOW, - }, - { - pid: 2, - lpAddress: '0xfc45871d6c0Df3CDAE736dB52B2d81ac61EcF6eF', - token0: polygonZkEvmTestnetTokens.weth, - token1: polygonZkEvmTestnetTokens.mockB, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 3, - lpAddress: '0x9c7505095aA5a1B2227822BA47D13054eC570972', - token0: polygonZkEvmTestnetTokens.mockB, - token1: polygonZkEvmTestnetTokens.mockC, - feeAmount: FeeAmount.HIGH, - }, -]) diff --git a/packages/farms/constants/v3/index.ts b/packages/farms/constants/v3/index.ts index 2375889e98af0..a31113981d8a6 100644 --- a/packages/farms/constants/v3/index.ts +++ b/packages/farms/constants/v3/index.ts @@ -14,37 +14,9 @@ import { legacyV3PolygonZkEVMTestnetFarmConfig } from '../../src/farms/polygonZk import { legacyV3ZkSyncFarmConfig } from '../../src/farms/zkSync' import { legacyV3ZkSyncTestnetFarmConfig } from '../../src/farms/zkSyncTestnet' import { ComputedFarmConfigV3 } from '../../src/types' -import { farmsV3 as arbFarms } from '../arb' -import { farmsV3 as baseFarms } from '../base' -import { farmsV3 as bscFarms } from '../bsc' -import { farmsV3 as bscTestnetFarms } from '../bscTestnet' -import { farmsV3 as ethFarms } from '../eth' -import { farmsV3 as lineaFarms } from '../linea' -import { farmsV3 as opBNBFarms } from '../opBNB' -import { farmsV3 as opBnbTestnetFarms } from '../opBnbTestnet' -import { farmsV3 as polygonZkEVMFarms } from '../polygonZkEVM' -import { farmsV3 as polygonZkEVMTestnetFarms } from '../polygonZkEVMTestnet' -import { farmsV3 as zkSyncFarms } from '../zkSync' -import { farmsV3 as zkSyncTestnetFarms } from '../zkSyncTestnet' /** @deprecated */ export const legacyFarmsV3ConfigChainMap: Record = { - [ChainId.ETHEREUM]: ethFarms, - [ChainId.BSC]: bscFarms, - [ChainId.BSC_TESTNET]: bscTestnetFarms, - [ChainId.ZKSYNC_TESTNET]: zkSyncTestnetFarms, - [ChainId.POLYGON_ZKEVM]: polygonZkEVMFarms, - [ChainId.POLYGON_ZKEVM_TESTNET]: polygonZkEVMTestnetFarms, - [ChainId.ZKSYNC]: zkSyncFarms, - [ChainId.ARBITRUM_ONE]: arbFarms, - [ChainId.LINEA]: lineaFarms, - [ChainId.BASE]: baseFarms, - [ChainId.OPBNB_TESTNET]: opBnbTestnetFarms, - [ChainId.OPBNB]: opBNBFarms, -} - -/** @deprecated */ -export const farmsV3ConfigChainMap: Record = { [ChainId.ETHEREUM]: legacyV3EthereumFarmConfig, [ChainId.BSC]: legacyV3BscFarmConfig, [ChainId.BSC_TESTNET]: legacyV3BscTestnetFarmConfig, diff --git a/packages/farms/constants/zkSync.ts b/packages/farms/constants/zkSync.ts deleted file mode 100644 index 2a57d4d072dc7..0000000000000 --- a/packages/farms/constants/zkSync.ts +++ /dev/null @@ -1,256 +0,0 @@ -import { zksyncTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' -import { FarmConfigV3 } from '../src' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -const v3TopFixedLps: FarmConfigV3[] = [ - { - pid: 29, - lpAddress: '0xC081eACC77c75CE1f39a43c04b53D90ADaD35fFd', - token0: zksyncTokens.zk, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 33, - lpAddress: '0xBc30878378FCb442E6dE822329d87714AFe43557', - token0: zksyncTokens.usdcNative, - token1: zksyncTokens.zk, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 31, - lpAddress: '0x2c39aB1C4e5376F03A7FF5947e842719Fb267f6e', - token0: zksyncTokens.usdc, - token1: zksyncTokens.zk, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 5, - lpAddress: '0x3c11CAACc9FC70d9130792c39702C5F96cE68a93', - token0: zksyncTokens.cake, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 8, - lpAddress: '0x7C0e7D6066aF191977a4483B445B5C06FC41ECd6', - token0: zksyncTokens.usdc, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 1, - lpAddress: '0x291d9F9764c72C9BA6fF47b451a9f7885Ebf9977', - token0: zksyncTokens.usdc, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 18, - lpAddress: '0x8126D76CE6d80C93E2E03c9E39a676Aea542c01D', - token0: zksyncTokens.usdt, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 12, - lpAddress: '0x6Ff6B5c5957606220C6Cd0422499c9c1224c399b', - token0: zksyncTokens.usdt, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 3, - lpAddress: '0x3832fB996C49792e71018f948f5bDdd987778424', - token0: zksyncTokens.usdc, - token1: zksyncTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 6, - lpAddress: '0x9cB8b12cb0223e105155318B72AdddA15D588fB9', - token0: zksyncTokens.weth, - token1: zksyncTokens.wbtc, - feeAmount: FeeAmount.LOW, - }, -] - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - ...v3TopFixedLps, - { - pid: 34, - lpAddress: '0x92B876878666214EAA19b1c3C24Ebd7D0F843F78', - token0: zksyncTokens.weth, - token1: zksyncTokens.rf, - feeAmount: FeeAmount.HIGH, - }, - - { - pid: 32, - lpAddress: '0x1fE7E46AA40Ea3b051348A58eE3c9135C1F9AEb3', - token0: zksyncTokens.usdcNative, - token1: zksyncTokens.zk, - feeAmount: FeeAmount.HIGH, - }, - - { - pid: 30, - lpAddress: '0x3bF35ac7BF2E4aaF98e007c9C3e0d214562A3DBB', - token0: zksyncTokens.usdc, - token1: zksyncTokens.zk, - feeAmount: FeeAmount.HIGH, - }, - - { - pid: 28, - lpAddress: '0x96d33cF093857AC8C7a5f2183f405A0FCcC42444', - token0: zksyncTokens.zk, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.HIGH, - }, - { - pid: 27, - lpAddress: '0xEE53B979d0C4B2A40279287965b918BD2a4B760D', - token0: zksyncTokens.usdcNative, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 26, - lpAddress: '0xD05eEf3792276E92bB051029DaDFc2Bf81121692', - token0: zksyncTokens.usdcNative, - token1: zksyncTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 25, - lpAddress: '0x3AEf05a8E7D7A83f5527edeD214e0b24A87d0991', - token0: zksyncTokens.usdcNative, - token1: zksyncTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 24, - lpAddress: '0x5bc25c641174e443ba618d86fC63639CD5288dF0', - token0: zksyncTokens.usdt, - token1: zksyncTokens.usdtPlus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 23, - lpAddress: '0x68C56801e1919A3bA248968630586833488f3B25', - token0: zksyncTokens.usdPlus, - token1: zksyncTokens.usdtPlus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 22, - lpAddress: '0xA9e8fb4462A4140a2cec9E4fcdFa592AA6B786Ed', - token0: zksyncTokens.usdc, - token1: zksyncTokens.grai, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 21, - lpAddress: '0x6c94C8651063C1aA67f9C15284235a3D13cD383C', - token0: zksyncTokens.usdc, - token1: zksyncTokens.grai, - feeAmount: FeeAmount.LOW, - }, - { - pid: 20, - lpAddress: '0x424594bD8B08E3F0c0e282B11Cc5817ae4eC47bf', - token0: zksyncTokens.weth, - token1: zksyncTokens.wethe, - feeAmount: FeeAmount.LOW, - }, - { - pid: 19, - lpAddress: '0x9aFFdEe9004892624BFFebeB8EDBa4C980Fe6aCF', - token0: zksyncTokens.weth, - token1: zksyncTokens.wbtc, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 17, - lpAddress: '0x374D5C205742AEbE2D9fe9B9741EFA7E12082234', - token0: zksyncTokens.usdc, - token1: zksyncTokens.dai, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 16, - lpAddress: '0x3846400eEe47B29B5A6742620a29128A24921659', - token0: zksyncTokens.usdt, - token1: zksyncTokens.dai, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 15, - lpAddress: '0xB3348f622e2d0F9053E08DA178445B80016c18Fb', - token0: zksyncTokens.reth, - token1: zksyncTokens.wstETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 14, - lpAddress: '0x16B3Bbd346eB864eD28B99cf89dDe59aD31A034F', - token0: zksyncTokens.usdc, - token1: zksyncTokens.wstETH, - feeAmount: FeeAmount.LOW, - }, - { - pid: 13, - lpAddress: '0x5631fE6d29E3CB717517DA05A9970e499DEF5e31', - token0: zksyncTokens.weth, - token1: zksyncTokens.wstETH, - feeAmount: FeeAmount.LOW, - }, - - { - pid: 11, - lpAddress: '0x6a8Fc7e8186ddC572e149dFAa49CfAE1E571108b', - token0: zksyncTokens.usdc, - token1: zksyncTokens.usdPlus, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 10, - lpAddress: '0x3693Ec2590e6bF8F221F61776dC9274AED7056D6', - token0: zksyncTokens.reth, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.LOW, - }, - { - pid: 9, - lpAddress: '0x38848d93a410446848CA55Fdc777Fe0B2C30B071', - token0: zksyncTokens.busd, - token1: zksyncTokens.usdt, - feeAmount: FeeAmount.LOWEST, - }, - { - pid: 2, - lpAddress: '0xFB467bedf483ef92D54b6615770eBEDD9F639a50', - token0: zksyncTokens.usdc, - token1: zksyncTokens.weth, - feeAmount: FeeAmount.MEDIUM, - }, - - { - pid: 4, - lpAddress: '0xEae60Ff8Dd9F6896b94525CceDE1fca9994f73E4', - token0: zksyncTokens.weth, - token1: zksyncTokens.tes, - feeAmount: FeeAmount.HIGH, - }, - - { - pid: 7, - lpAddress: '0x662cD659F91528FF27D7Cb6Ac25e6EBA11c4003C', - token0: zksyncTokens.busd, - token1: zksyncTokens.usdc, - feeAmount: FeeAmount.LOWEST, - }, -]) diff --git a/packages/farms/constants/zkSyncTestnet.ts b/packages/farms/constants/zkSyncTestnet.ts deleted file mode 100644 index 42569aaa53bf9..0000000000000 --- a/packages/farms/constants/zkSyncTestnet.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { zkSyncTestnetTokens } from '@pancakeswap/tokens' -import { FeeAmount } from '@pancakeswap/v3-sdk' -import { defineFarmV3Configs } from '../src/defineFarmV3Configs' - -/** @deprecated */ -export const farmsV3 = defineFarmV3Configs([ - { - pid: 1, - lpAddress: '0xfd7162698660Ba63933DDA5140CCFDcE6b98A0E3', - token0: zkSyncTestnetTokens.weth, - token1: zkSyncTestnetTokens.mock, - feeAmount: FeeAmount.LOW, - }, - { - pid: 2, - lpAddress: '0x6901Ec1Fc111685052290cf54Db38CFe0Baf068d', - token0: zkSyncTestnetTokens.weth, - token1: zkSyncTestnetTokens.mockC, - feeAmount: FeeAmount.MEDIUM, - }, - { - pid: 3, - lpAddress: '0xa6C513d58530eC9a3bc074DD2DbC66e6065Fe85C', - token0: zkSyncTestnetTokens.mockD, - token1: zkSyncTestnetTokens.mockC, - feeAmount: FeeAmount.HIGH, - }, -]) diff --git a/packages/farms/scripts/build.ts b/packages/farms/scripts/build.ts index 7aa1b3da95c9b..77bce8bf13e40 100644 --- a/packages/farms/scripts/build.ts +++ b/packages/farms/scripts/build.ts @@ -2,9 +2,9 @@ /* eslint-disable no-restricted-syntax */ import fs from 'fs' import path from 'path' -import bscFarms from '../constants/bsc' -import bscTestnetFarms from '../constants/bscTestnet' -import ethFarms from '../constants/eth' +import bscFarms from '../src/farms/bsc' +import bscTestnetFarms from '../src/farms/bscTestnet' +import ethFarms from '../src/farms/eth' import lpHelpers1 from '../constants/priceHelperLps/1' import lpHelpers56 from '../constants/priceHelperLps/56' diff --git a/packages/farms/src/getLegacyFarmConfig.test.ts b/packages/farms/src/getLegacyFarmConfig.test.ts deleted file mode 100644 index d9b99f1025ddb..0000000000000 --- a/packages/farms/src/getLegacyFarmConfig.test.ts +++ /dev/null @@ -1,47 +0,0 @@ -import difference from 'lodash/difference' -import orderBy from 'lodash/orderBy' -import { describe, expect, it } from 'vitest' -import { getFarmConfig } from '../constants' -import { farmsV3ConfigChainMap, legacyFarmsV3ConfigChainMap } from '../constants/v3' -import { supportedChainIdV3, supportedChainIdV4 } from './const' -import { getLegacyFarmConfig } from './getLegacyFarmConfig' - -describe('getLegacyFarmConfig', async () => { - it('should have same supported chainId', () => { - expect(difference(supportedChainIdV4, supportedChainIdV3)).toStrictEqual([]) - }) - - for await (const chainId of supportedChainIdV4) { - it(`should have same farm config for chainId ${chainId}`, async () => { - const legacyFarmConfig = await getLegacyFarmConfig(chainId) - const farmConfig = (await getFarmConfig(chainId)) ?? [] - - expect(legacyFarmConfig.length, `${chainId}`).toEqual(farmConfig?.length) - const orderedLegacyFarmConfig = orderBy(legacyFarmConfig, 'pid') - const orderedFarmConfig = orderBy(farmConfig, 'pid') - - orderedFarmConfig.forEach((farm, index) => { - const config = orderedLegacyFarmConfig[index] - expect(farm.lpAddress, `${chainId}:${farm.pid}`).toEqual(config.lpAddress) - const [token0, token1] = - farm.token.address.toLowerCase() < farm.quoteToken.address.toLowerCase() - ? [farm.token, farm.quoteToken] - : [farm.quoteToken, farm.token] - const [configToken0, configToken1] = - config.token.address.toLowerCase() < config.quoteToken.address.toLowerCase() - ? [config.token, config.quoteToken] - : [config.quoteToken, config.token] - expect(token0.address, `${chainId}:${farm.pid}`).toEqual(configToken0.address) - expect(token1.address, `${chainId}:${farm.pid}`).toEqual(configToken1.address) - expect(farm.pid, `${chainId}:${farm.pid}`).toEqual(config.pid) - expect(farm.vaultPid, `${chainId}:${farm.pid}`).toEqual(config.vaultPid) - expect(farm.boosted, `${chainId}:${farm.pid}`).toEqual(config.boosted) - expect(farm.v1pid, `${chainId}:${farm.pid}`).toEqual(config.v1pid) - }) - }) - } -}) - -it('legacy v3 farm config', () => { - expect(legacyFarmsV3ConfigChainMap).toStrictEqual(farmsV3ConfigChainMap) -}) diff --git a/packages/farms/tests/v3.test.ts b/packages/farms/tests/v3.test.ts index b94ba15fbd418..5de2531d4a0b1 100644 --- a/packages/farms/tests/v3.test.ts +++ b/packages/farms/tests/v3.test.ts @@ -4,7 +4,7 @@ import groupBy from 'lodash/groupBy' import { isAddressEqual } from 'viem' import { describe, expect, it } from 'vitest' import { priceHelperTokens } from '../constants/common' -import { farmsV3ConfigChainMap } from '../constants/v3' +import { legacyFarmsV3ConfigChainMap } from '../constants/v3' import { supportedChainIdV3 } from '../src' import { CommonPrice, getFarmsPrices } from '../src/fetchFarmsV3' @@ -35,7 +35,7 @@ describe('Config farms V3', async () => { } }), ) - Object.entries(farmsV3ConfigChainMap).forEach(([_chainId, farms]) => { + Object.entries(legacyFarmsV3ConfigChainMap).forEach(([_chainId, farms]) => { if (!supportedChainIdV3.filter((id) => !isTestnetChainId(id)).includes(Number(_chainId))) return const chainId = Number(_chainId) as ChainId const tokenList = tokenListByChain[chainId]