Skip to content

Commit

Permalink
chore: Add new stable pairs (#8925)
Browse files Browse the repository at this point in the history
  • Loading branch information
chefjackson authored Jan 26, 2024
1 parent 7bfa449 commit 48ac846
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/strange-cameras-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@pancakeswap/smart-router': patch
'@pancakeswap/tokens': patch
---

Add new stable pairs
6 changes: 6 additions & 0 deletions packages/smart-router/evm/constants/exchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ export const ADDITIONAL_BASES: {
[bscTokens.tusd.address]: [bscTokens.usdd],
[bscTokens.usdd.address]: [bscTokens.tusd],

[bscTokens.mpendle.address]: [bscTokens.pendle],
[bscTokens.pendle.address]: [bscTokens.mpendle],

[bscTokens.mdlp.address]: [bscTokens.dlp],
[bscTokens.dlp.address]: [bscTokens.mdlp],

// pancakeswap/pancake-frontend#7909
// LSDT
'0xAa83Bb1Be2a74AaA8795a8887054919A0Ea96BFA': [czusd],
Expand Down
20 changes: 20 additions & 0 deletions packages/smart-router/evm/constants/stableSwap/bsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,24 @@ export const pools: StableSwapPool[] = [
stableLpFee: 0.005,
stableLpFeeRateOfTotalFee: 0.5,
},
{
lpSymbol: 'mPENDLE-PENDLE LP',
lpAddress: '0x183F325b33d190597D80d1B46D865d0250fD9BF2',
token: bscTokens.mpendle,
quoteToken: bscTokens.pendle,
stableSwapAddress: '0xD8CB82059da7215b1a9604E845d49D3e78d0f95A',
infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50',
stableLpFee: 0.0025,
stableLpFeeRateOfTotalFee: 0.5,
},
{
lpSymbol: 'mDLP-DLP LP',
lpAddress: '0xA2915ae3bc8C6C03f59496B6Dd26aa6a4335b788',
token: bscTokens.mdlp,
quoteToken: bscTokens.dlp,
stableSwapAddress: '0x25d0eD3b1cE5aF0F3Ac7da4b39B46FC409bF67e2',
infoStableSwapAddress: '0x150c8AbEB487137acCC541925408e73b92F39A50',
stableLpFee: 0.0025,
stableLpFeeRateOfTotalFee: 0.5,
},
]
24 changes: 24 additions & 0 deletions packages/tokens/src/bsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2643,6 +2643,14 @@ export const bscTokens = {
'Pendle',
'https://www.pendle.finance/',
),
mpendle: new ERC20Token(
ChainId.BSC,
'0x0465aad9da170798433F4aB7fa7Ec8b9b9bf0Bb1',
18,
'mPENDLE',
'mPendle',
'https://www.pendle.magpiexyz.io/stake',
),
usdd: new ERC20Token(
ChainId.BSC,
'0xd17479997F34dd9156Deef8F95A52D81D265be9c',
Expand Down Expand Up @@ -2940,4 +2948,20 @@ export const bscTokens = {
'Manta',
'https://manta.network/',
),
dlp: new ERC20Token(
ChainId.BSC,
'0x346575fC7f07E6994D76199E41D13dC1575322E1',
18,
'DLP',
'WBNB-RDNT Pancake LP',
'https://pancakeswap.finance',
),
mdlp: new ERC20Token(
ChainId.BSC,
'0x11727E5b7Fa33FF4D380F3E7E877F19876c25b97',
18,
'mDLP',
'Magpie locked DLP',
'https://www.radiant.magpiexyz.io/stake',
),
}

1 comment on commit 48ac846

@vercel
Copy link

@vercel vercel bot commented on 48ac846 Jan 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.