Skip to content

Commit a7317c0

Browse files
authored
chore: list new farm on bsc (#10747)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces a new ERC20 token called `pufETH` to the BSC network and adds a corresponding farm configuration for it. ### Detailed summary - Added `pufETH` token to `packages/tokens/src/constants/bsc.ts` with: - Chain ID: `ChainId.BSC` - Address: `0x64274835D88F5c0215da8AADd9A5f2D2A2569381` - Decimals: `18` - Name: `xPufETH` - Symbol: `xPufETH` - Website: `https://www.puffer.fi/` - Updated `bscFarmConfig` in `packages/farms/src/farms/bsc.ts` to include: - New farm configuration for `pufETH` with `pid: 186` - Uses `lpAddress` from `Pool.getAddress` for `bscTokens.eth` and `bscTokens.pufETH` - Set `feeAmount` to `FeeAmount.LOW` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 2c9d669 commit a7317c0

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

packages/farms/src/farms/bsc.ts

+9
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,15 @@ const pinnedFarmConfig: UniversalFarmConfig[] = [
9393

9494
export const bscFarmConfig: UniversalFarmConfig[] = [
9595
...pinnedFarmConfig,
96+
{
97+
pid: 186,
98+
chainId: ChainId.BSC,
99+
protocol: Protocol.V3,
100+
lpAddress: Pool.getAddress(bscTokens.eth, bscTokens.pufETH, FeeAmount.LOW),
101+
token0: bscTokens.eth,
102+
token1: bscTokens.pufETH,
103+
feeAmount: FeeAmount.LOW,
104+
},
96105
{
97106
pid: 185,
98107
chainId: ChainId.BSC,

packages/tokens/src/constants/bsc.ts

+8
Original file line numberDiff line numberDiff line change
@@ -3325,4 +3325,12 @@ export const bscTokens = {
33253325
'Wrapped BTC',
33263326
'https://wbtc.network/',
33273327
),
3328+
pufETH: new ERC20Token(
3329+
ChainId.BSC,
3330+
'0x64274835D88F5c0215da8AADd9A5f2D2A2569381',
3331+
18,
3332+
'xPufETH',
3333+
'xPufETH',
3334+
'https://www.puffer.fi/',
3335+
),
33283336
}

0 commit comments

Comments
 (0)