Skip to content

Commit

Permalink
feat: dola farm (#10596)
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 support for the Dola USD Stablecoin token and a new farm
configuration for it.

### Detailed summary
- Added Dola USD Stablecoin token (`dola`) to base tokens constants
- Configured a new farm for Dola USD Stablecoin with pid 39,
ChainId.BASE, and Protocol.V3

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

<!-- end pr-codex -->
  • Loading branch information
ChefJerry authored Sep 2, 2024
1 parent 35bcdc0 commit 7d0dfe4
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/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ const pinnedFarmConfig: UniversalFarmConfig[] = [

export const baseFarmConfig: UniversalFarmConfig[] = [
...pinnedFarmConfig,
{
pid: 39,
chainId: ChainId.BASE,
protocol: Protocol.V3,
lpAddress: Pool.getAddress(baseTokens.dola, baseTokens.usdc, FeeAmount.MEDIUM),
token0: baseTokens.dola,
token1: baseTokens.usdc,
feeAmount: FeeAmount.MEDIUM,
},
{
pid: 38,
chainId: ChainId.BASE,
Expand Down
8 changes: 8 additions & 0 deletions packages/tokens/src/constants/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,12 @@ export const baseTokens = {
'dogwifhat',
'https://dogwifcoin.org/',
),
dola: new ERC20Token(
ChainId.BASE,
'0x4621b7A9c75199271F773Ebd9A499dbd165c3191',
18,
'DOLA',
'Dola USD Stablecoin',
'https://www.inverse.finance/',
),
}

0 comments on commit 7d0dfe4

Please sign in to comment.