Skip to content

Commit

Permalink
chore: list new farms & gauges on base (#10737)
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 focuses on adding new token configurations and farm setups for
the `LAVA` and `EURC` tokens within the blockchain ecosystem, enhancing
liquidity and farming options.

### Detailed summary
- Added `LAVA` and `EURC` tokens in
`packages/tokens/src/constants/base.ts`.
- Introduced new farm configurations for `LAVA`, `EURC`, and other
tokens in `packages/farms/src/farms/base.ts`.
- Created new gauge configurations for `LAVA-ETH`, `EURC-USDC`, and
`EURC-ETH` in `packages/gauges/src/constants/config/prod.ts`.

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

<!-- end pr-codex -->
  • Loading branch information
Chef-Yogi authored Sep 25, 2024
1 parent 505bbba commit 011ea9a
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
27 changes: 27 additions & 0 deletions packages/farms/src/farms/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,33 @@ const pinnedFarmConfig: UniversalFarmConfig[] = [

export const baseFarmConfig: UniversalFarmConfig[] = [
...pinnedFarmConfig,
{
pid: 52,
chainId: ChainId.BASE,
protocol: Protocol.V3,
lpAddress: '0xb57BdfDb5FE848f999B45A868131a50b2EBE1755',
token0: baseTokens.weth,
token1: baseTokens.eurc,
feeAmount: FeeAmount.LOWEST,
},
{
pid: 51,
chainId: ChainId.BASE,
protocol: Protocol.V3,
lpAddress: '0x1Ca42C7219F0cB1B67927e26502320cB98F725bd',
token0: baseTokens.eurc,
token1: baseTokens.usdc,
feeAmount: FeeAmount.LOWEST,
},
{
pid: 50,
chainId: ChainId.BASE,
protocol: Protocol.V3,
lpAddress: '0xB593f062D5F235862643fF0DBAb743d7316B5b9F',
token0: baseTokens.lava,
token1: baseTokens.weth,
feeAmount: FeeAmount.MEDIUM,
},
{
pid: 49,
chainId: ChainId.BASE,
Expand Down
30 changes: 30 additions & 0 deletions packages/gauges/src/constants/config/prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5371,4 +5371,34 @@ export const CONFIG_PROD: GaugeConfig[] = [
token1Address: baseTokens.usdbc.address,
feeTier: FeeAmount.LOWEST,
},
{
gid: 543,
pairName: 'LAVA-ETH',
address: '0xB593f062D5F235862643fF0DBAb743d7316B5b9F',
chainId: ChainId.BASE,
type: GaugeType.V3,
token0Address: baseTokens.lava.address,
token1Address: baseTokens.weth.address,
feeTier: FeeAmount.MEDIUM,
},
{
gid: 544,
pairName: 'EURC-USDC',
address: '0x1Ca42C7219F0cB1B67927e26502320cB98F725bd',
chainId: ChainId.BASE,
type: GaugeType.V3,
token0Address: baseTokens.eurc.address,
token1Address: baseTokens.usdc.address,
feeTier: FeeAmount.LOWEST,
},
{
gid: 545,
pairName: 'EURC-ETH',
address: '0xb57BdfDb5FE848f999B45A868131a50b2EBE1755',
chainId: ChainId.BASE,
type: GaugeType.V3,
token0Address: baseTokens.weth.address,
token1Address: baseTokens.eurc.address,
feeTier: FeeAmount.LOWEST,
},
]
16 changes: 16 additions & 0 deletions packages/tokens/src/constants/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,20 @@ export const baseTokens = {
'cbBTC',
'https://www.coinbase.com/',
),
lava: new ERC20Token(
ChainId.BASE,
'0x11e969e9B3f89cB16D686a03Cd8508C9fC0361AF',
6,
'Axelar Wrapped LAVA',
'LAVA',
'https://www.lavanet.xyz/',
),
eurc: new ERC20Token(
ChainId.BASE,
'0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42',
6,
'EURC',
'EURC',
'https://www.circle.com/en/',
),
}

0 comments on commit 011ea9a

Please sign in to comment.