Skip to content

Commit

Permalink
feat: List ynbnb farm (#10836)
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
This PR adds a new farm configuration to the `bscFarmConfig` array for a
liquidity pool on the Binance Smart Chain.

### Detailed summary
- Added a new farm configuration object with the following properties:
  - `pid`: 190
  - `chainId`: `ChainId.BSC`
  - `protocol`: `Protocol.V3`
  - `token0`: `bscTokens.ynbnb`
  - `token1`: `bscTokens.wbnb`
  - `feeAmount`: `FeeAmount.LOW`
- `lpAddress`: Address obtained from `Pool.getAddress` for the specified
tokens and fee amount.

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

<!-- end pr-codex -->
  • Loading branch information
ChefMomota authored Oct 18, 2024
1 parent 0572639 commit 48063be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/farms/src/farms/bsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ const pinnedFarmConfig: UniversalFarmConfig[] = [

export const bscFarmConfig: UniversalFarmConfig[] = [
...pinnedFarmConfig,
{
pid: 190,
chainId: ChainId.BSC,
protocol: Protocol.V3,
token0: bscTokens.ynbnb,
token1: bscTokens.wbnb,
feeAmount: FeeAmount.LOW,
lpAddress: Pool.getAddress(bscTokens.ynbnb, bscTokens.wbnb, FeeAmount.LOW),
},
{
pid: 187,
chainId: ChainId.BSC,
Expand Down

0 comments on commit 48063be

Please sign in to comment.