Skip to content

Commit

Permalink
feat: List farms, pool, and gauges (#10527)
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
The focus of this PR is to add support for PancakeSwap farms, pools, and
gauges, as well as introduce new tokens and pools for Ethereum.

### Detailed summary
- Added support for PancakeSwap farms, pools, and gauges
- Introduced new ERC20 token for Ethereum
- Added a new pool for staking on BSC
- Included a new LP for Ethereum farms
- Updated configurations for gauges on Ethereum

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

<!-- end pr-codex -->
  • Loading branch information
ChefMomota authored Aug 26, 2024
1 parent ab0d97f commit 6d4ecf0
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/hip-beans-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@pancakeswap/gauges': patch
'@pancakeswap/tokens': patch
'@pancakeswap/farms': patch
'@pancakeswap/pools': patch
---

List farm, pool, gauges
7 changes: 7 additions & 0 deletions packages/farms/constants/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ export const farmsV3 = defineFarmV3Configs([
...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',
Expand Down
10 changes: 10 additions & 0 deletions packages/gauges/src/constants/config/prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5067,4 +5067,14 @@ export const CONFIG_PROD: GaugeConfig[] = [
type: GaugeType.StableSwap,
tokenAddresses: [ethereumTokens.mBtc.address, ethereumTokens.wbtc.address],
},
{
gid: 512,
address: '0xB2DC4d7627501338B578985c214208eb32283086',
pairName: 'ORDER-ETH',
chainId: ChainId.ETHEREUM,
type: GaugeType.V3,
token0Address: ethereumTokens.order.address,
token1Address: ethereumTokens.weth.address,
feeTier: FeeAmount.MEDIUM,
},
]
8 changes: 8 additions & 0 deletions packages/pools/src/constants/pools/56.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ export const livePools: SerializedPool[] = [
tokenPerBlock: '10',
isFinished: false,
},
{
sousId: 384,
stakingToken: bscTokens.cake,
earningToken: bscTokens.cgpt,
contractAddress: '0xf73883Ce8a1B0A9b54278374825b07c3467f124c',
poolCategory: PoolCategory.CORE,
tokenPerBlock: '0.04394097222',
},
{
sousId: 383,
stakingToken: bscTokens.cake,
Expand Down
8 changes: 8 additions & 0 deletions packages/tokens/src/constants/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,4 +553,12 @@ export const ethereumTokens = {
'Liquid Staked BTC',
'https://www.babylon.magpiexyz.io',
),
order: new ERC20Token(
ChainId.ETHEREUM,
'0xABD4C63d2616A5201454168269031355f4764337',
18,
'ORDER',
'Orderly Network',
'https://orderly.network/',
),
}

0 comments on commit 6d4ecf0

Please sign in to comment.