Skip to content

Commit

Permalink
feat: List arb farm (#10835)
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 introduces a new token and updates the farm configuration for
the Arbitrum network.

### Detailed summary
- Added a new token `fbtc` of type `ERC20Token` with properties:
  - `chainId`: `ChainId.ARBITRUM_ONE`
  - `address`: '0xC96dE26018A54D51c097160568752c4E3BD6C364'
  - `decimals`: 8
  - `symbol`: 'FBTC'
  - `name`: 'Fire Bitcoin'
  - `website`: 'https://fbtc.com/'
- Updated `arbFarmConfig` to include a new farm configuration with:
  - `pid`: 95
  - `token0`: `arbitrumTokens.wbtc`
  - `token1`: `arbitrumTokens.fbtc`
  - `feeAmount`: `FeeAmount.MEDIUM`
  - `lpAddress`: dynamically generated using `Pool.getAddress` method.

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

<!-- end pr-codex -->
  • Loading branch information
ChefMomota authored Oct 21, 2024
1 parent 6f40b43 commit 5a40bc8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/farms/src/farms/arb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ const pinnedFarmConfig: UniversalFarmConfig[] = [

export const arbFarmConfig: UniversalFarmConfig[] = [
...pinnedFarmConfig,
{
pid: 95,
chainId: ChainId.ARBITRUM_ONE,
protocol: Protocol.V3,
token0: arbitrumTokens.wbtc,
token1: arbitrumTokens.fbtc,
feeAmount: FeeAmount.MEDIUM,
lpAddress: Pool.getAddress(arbitrumTokens.wbtc, arbitrumTokens.fbtc, FeeAmount.MEDIUM),
},
{
pid: 94,
chainId: ChainId.ARBITRUM_ONE,
Expand Down
8 changes: 8 additions & 0 deletions packages/tokens/src/constants/arb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,4 +463,12 @@ export const arbitrumTokens = {
'Eigenpie',
'https://www.eigenlayer.magpiexyz.io/',
),
fbtc: new ERC20Token(
ChainId.ARBITRUM_ONE,
'0xC96dE26018A54D51c097160568752c4E3BD6C364',
8,
'FBTC',
'Fire Bitcoin',
'https://fbtc.com/',
),
}

0 comments on commit 5a40bc8

Please sign in to comment.