Skip to content

Commit

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

<!-- start pr-codex -->

---

## PR-Codex overview
### Focus of the PR:
This PR focuses on adding new farms and gauges for different tokens and
chains.

### Detailed summary:
- Added a new ERC20 token `weETH` for Ethereum chain.
- Added a new farm with `pid: 56` and LP address
`0x249CfCA66a4F6D02a12376D079E5d131423A6b7a` for Ethereum chain.
- Added new farms with `pid: 40` and `pid: 39` for Arbitrum chain.
- Added new gauges with `gid: 264`, `gid: 265`, `gid: 266`, and `gid:
267` for different token pairs on different chains.

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

<!-- end pr-codex -->
  • Loading branch information
Chef-Yogi authored Feb 2, 2024
1 parent f9a2752 commit f148085
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/farms/constants/arb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ import { FeeAmount } from '@pancakeswap/v3-sdk'
import { defineFarmV3Configs } from '../src/defineFarmV3Configs'

export const farmsV3 = defineFarmV3Configs([
{
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',
Expand Down
7 changes: 7 additions & 0 deletions packages/farms/constants/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ export const farmsV3 = defineFarmV3Configs([
feeAmount: FeeAmount.MEDIUM,
},
// Keep those farms on top
{
pid: 56,
lpAddress: '0x249CfCA66a4F6D02a12376D079E5d131423A6b7a',
token0: ethereumTokens.weth,
token1: ethereumTokens.weETH,
feeAmount: FeeAmount.LOWEST,
},
{
pid: 55,
lpAddress: '0x3733493eC5D2C181Dcd7C54ed100641c0f07BB0e',
Expand Down
40 changes: 40 additions & 0 deletions packages/gauges/src/constants/config/prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2642,4 +2642,44 @@ export const CONFIG_PROD: GaugeConfig[] = [
token1Address: bscTokens.wbnb.address,
feeTier: FeeAmount.LOWEST,
},
{
gid: 264,
pairName: 'BNB-USDT',
address: '0x172fcD41E0913e95784454622d1c3724f546f849',
chainId: ChainId.BSC,
type: GaugeType.V3,
token0Address: bscTokens.usdt.address,
token1Address: bscTokens.wbnb.address,
feeTier: FeeAmount.LOWEST,
},
{
gid: 265,
pairName: 'USD+-USDC',
address: '0x721F37495cD70383B0A77Bf1eB8f97eef29498Bb',
chainId: ChainId.ARBITRUM_ONE,
type: GaugeType.V3,
token0Address: arbitrumTokens.usdc.address,
token1Address: arbitrumTokens.usdplus.address,
feeTier: FeeAmount.LOW,
},
{
gid: 266,
pairName: 'USD+-USDT+',
address: '0x8a06339Abd7499Af755DF585738ebf43D5D62B94',
chainId: ChainId.ARBITRUM_ONE,
type: GaugeType.V3,
token0Address: arbitrumTokens.usdtplus.address,
token1Address: arbitrumTokens.usdplus.address,
feeTier: FeeAmount.LOW,
},
{
gid: 267,
pairName: 'weETH-WETH',
address: '0x249CfCA66a4F6D02a12376D079E5d131423A6b7a',
chainId: ChainId.ETHEREUM,
type: GaugeType.V3,
token0Address: ethereumTokens.weth.address,
token1Address: ethereumTokens.weETH.address,
feeTier: FeeAmount.LOWEST,
},
]
8 changes: 8 additions & 0 deletions packages/tokens/src/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,4 +401,12 @@ export const ethereumTokens = {
'Pirex Ether',
'https://dineroismoney.com/',
),
weETH: new ERC20Token(
ChainId.ETHEREUM,
'0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee',
18,
'weETH',
'Wrapped eETH',
'https://www.ether.fi/',
),
}

0 comments on commit f148085

Please sign in to comment.