From 0b7fc1ce68894356539311b36aac926765c370ae Mon Sep 17 00:00:00 2001 From: ChefMomota <98292246+ChefMomota@users.noreply.github.com> Date: Thu, 15 Feb 2024 15:30:25 +0800 Subject: [PATCH] feat: List dmail farm (#9068) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ## PR-Codex overview This PR focuses on adding a new ERC20 token called DMAIL to the BSC network. It also adds a new farm and gauge for the USDT-DMAIL pair on BSC. ### Detailed summary - Added a new ERC20 token `DMAIL` with address `0xcC6f1e1B87cfCbe9221808d2d85C501aab0B5192` on BSC. - Added a new farm with PID 142 and LP address `0x4167f229a0323F480518b61CB35eD4d6a0C5EA27` for the USDT-DMAIL pair on BSC. - Added a new gauge with GID 273, pair name `USDT-DMAIL`, and address `0x4167f229a0323F480518b61CB35eD4d6a0C5EA27` on BSC. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- packages/farms/constants/bsc.ts | 7 +++++++ packages/gauges/src/constants/config/prod.ts | 10 ++++++++++ packages/tokens/src/constants/bsc.ts | 8 ++++++++ 3 files changed, 25 insertions(+) diff --git a/packages/farms/constants/bsc.ts b/packages/farms/constants/bsc.ts index f48b0bd734cfb..b2a4fe6921b0d 100644 --- a/packages/farms/constants/bsc.ts +++ b/packages/farms/constants/bsc.ts @@ -47,6 +47,13 @@ export const farmsV3 = defineFarmV3Configs([ ...v3TopFixedLps, // new lps should follow after the top fixed lps // latest first + { + pid: 142, + lpAddress: '0x4167f229a0323F480518b61CB35eD4d6a0C5EA27', + token0: bscTokens.usdt, + token1: bscTokens.dmail, + feeAmount: FeeAmount.HIGH, + }, { pid: 141, lpAddress: '0x9F5a0AD81Fe7fD5dFb84EE7A0CFb83967359BD90', diff --git a/packages/gauges/src/constants/config/prod.ts b/packages/gauges/src/constants/config/prod.ts index a649d12165201..1c2ab1907bc4c 100644 --- a/packages/gauges/src/constants/config/prod.ts +++ b/packages/gauges/src/constants/config/prod.ts @@ -2732,4 +2732,14 @@ export const CONFIG_PROD: GaugeConfig[] = [ token1Address: bscTokens.sol.address, feeTier: FeeAmount.MEDIUM, }, + { + gid: 273, + pairName: 'USDT-DMAIL', + address: '0x4167f229a0323F480518b61CB35eD4d6a0C5EA27', + chainId: ChainId.BSC, + type: GaugeType.V3, + token0Address: bscTokens.usdt.address, + token1Address: bscTokens.dmail.address, + feeTier: FeeAmount.HIGH, + }, ] diff --git a/packages/tokens/src/constants/bsc.ts b/packages/tokens/src/constants/bsc.ts index 9e7b13a6188e0..30ac78ccbd76b 100644 --- a/packages/tokens/src/constants/bsc.ts +++ b/packages/tokens/src/constants/bsc.ts @@ -2996,4 +2996,12 @@ export const bscTokens = { 'SOLANA', 'https://solana.com/', ), + dmail: new ERC20Token( + ChainId.BSC, + '0xcC6f1e1B87cfCbe9221808d2d85C501aab0B5192', + 18, + 'DMAIL', + 'Dmail Network', + 'https://dmail.ai/', + ), }