Skip to content

Commit

Permalink
chore: list new farm on eth (#10765)
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, `EIGEN`, and adds it to the Ethereum
farm configuration, allowing it to be used in the farming protocol.

### Detailed summary
- Added a new token `EIGEN` with details such as address, decimals, and
website in `packages/tokens/src/constants/eth.ts`.
- Updated `ethereumFarmConfig` in `packages/farms/src/farms/eth.ts` to
include a new farm entry for `EIGEN` with `pid: 82`.

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

<!-- end pr-codex -->
  • Loading branch information
Chef-Yogi authored Oct 1, 2024
1 parent 493dbe7 commit d640cda
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/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ const pinnedFarmConfig: UniversalFarmConfig[] = [

export const ethereumFarmConfig: UniversalFarmConfig[] = [
...pinnedFarmConfig,
{
pid: 82,
chainId: ChainId.ETHEREUM,
protocol: Protocol.V3,
lpAddress: '0x64c78D2C2cCf8BC44a5A2DcDd980735b28e9B406',
token0: ethereumTokens.weth,
token1: ethereumTokens.eigen,
feeAmount: FeeAmount.LOW,
},
{
pid: 81,
chainId: ChainId.ETHEREUM,
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 @@ -569,4 +569,12 @@ export const ethereumTokens = {
'Coinbase Wrapped BTC',
'https://www.coinbase.com/',
),
eigen: new ERC20Token(
ChainId.ETHEREUM,
'0xec53bF9167f50cDEB3Ae105f56099aaaB9061F83',
18,
'EIGEN',
'Eigen',
'https://www.eigenlayer.xyz/',
),
}

0 comments on commit d640cda

Please sign in to comment.