From a8ffc1523ae87580d2e22828ae4b688812f10507 Mon Sep 17 00:00:00 2001 From: chefjackson <116779127+chefjackson@users.noreply.github.com> Date: Fri, 9 Feb 2024 17:35:53 +0800 Subject: [PATCH] chore: Add dlp mdlp stable pair (#9045) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ## PR-Codex overview This PR focuses on adding a DLP-mDLP stable pair to the code. ### Detailed summary - Added `dlp` and `mdlp` tokens with their respective details. - Added a stable swap configuration for the DLP-mDLP LP pair. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .changeset/fifty-nails-sit.md | 6 ++++++ .../smart-router/evm/constants/stableSwap/arb.ts | 10 ++++++++++ packages/tokens/src/constants/arb.ts | 16 ++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 .changeset/fifty-nails-sit.md diff --git a/.changeset/fifty-nails-sit.md b/.changeset/fifty-nails-sit.md new file mode 100644 index 0000000000000..2429b8dc4e2a9 --- /dev/null +++ b/.changeset/fifty-nails-sit.md @@ -0,0 +1,6 @@ +--- +'@pancakeswap/smart-router': patch +'@pancakeswap/tokens': patch +--- + +Add dlp mdlp stable pair diff --git a/packages/smart-router/evm/constants/stableSwap/arb.ts b/packages/smart-router/evm/constants/stableSwap/arb.ts index f15b628fe5ee8..6e9be444dbde6 100644 --- a/packages/smart-router/evm/constants/stableSwap/arb.ts +++ b/packages/smart-router/evm/constants/stableSwap/arb.ts @@ -13,4 +13,14 @@ export const pools: StableSwapPool[] = [ stableLpFee: 0.0025, stableLpFeeRateOfTotalFee: 0.5, }, + { + lpSymbol: 'DLP-mDLP LP', + lpAddress: '0x0db5e247ab73FBaE16d9301f2977f974EC0AA336', + token: arbitrumTokens.dlp, + quoteToken: arbitrumTokens.mdlp, + stableSwapAddress: '0xd0f0be815a76eFE677c92b07b39a5e972BAf22bD', + infoStableSwapAddress: '0x58B2F00f74a1877510Ec37b22f116Bf5D63Ab1b0', + stableLpFee: 0.0025, + stableLpFeeRateOfTotalFee: 0.5, + }, ] diff --git a/packages/tokens/src/constants/arb.ts b/packages/tokens/src/constants/arb.ts index bc2b3ad8af760..214c85dcd77b8 100644 --- a/packages/tokens/src/constants/arb.ts +++ b/packages/tokens/src/constants/arb.ts @@ -247,4 +247,20 @@ export const arbitrumTokens = { 'USDV', 'https://usdv.money/', ), + dlp: new ERC20Token( + ChainId.ARBITRUM_ONE, + '0x32dF62dc3aEd2cD6224193052Ce665DC18165841', + 18, + 'DLP', + 'RDNT-WETH', + 'https://pancakeswap.finance', + ), + mdlp: new ERC20Token( + ChainId.ARBITRUM_ONE, + '0xfe14F790DA92971131544d915c4ADa6F1abce3Bd', + 18, + 'mDLP', + 'Magpie locked DLP', + 'https://www.radiant.magpiexyz.io/stake', + ), }