Skip to content

Commit

Permalink
Add stDOT-xcDOT stellaswap
Browse files Browse the repository at this point in the history
  • Loading branch information
MirthFutures committed Dec 12, 2024
1 parent 34b66c5 commit 882c0be
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
15 changes: 14 additions & 1 deletion packages/address-book/src/address-book/moonbeam/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export const tokens = {
description:
'Polkadot is an open-source sharding multichain protocol that facilitates the cross-chain transfer of any data or asset types, not just tokens, thereby making a wide range of blockchains interoperable with each other.',
},
stDOT: {
stDOTold: {
name: 'Liquid staked DOT',
symbol: 'stDOT',
oracleId: 'stDOT',
Expand All @@ -552,6 +552,19 @@ export const tokens = {
description:
'Lido for Polkadot is a liquid staking solution for DOT backed by industry-leading staking providers.',
},
stDOT: {
name: 'Stella stDOT',
symbol: 'stDOT',
oracleId: 'stDOT',
address: '0xbc7E02c4178a7dF7d3E564323a5c359dc96C4db4',
chainId: 1284,
decimals: 10,
logoURI: '',
website: 'https://app.stellaswap.com/stdot',
description: 'Stake DOT.xc for stDOT',
documentation: 'https://docs.stellaswap.com/',
bridge: 'native',
},
veFLARE: {
name: 'Vested Flare Token',
symbol: 'veFLARE',
Expand Down
12 changes: 12 additions & 0 deletions src/data/moonbeam/beefyCowVaults.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
[
{
"address": "0x505450e20Bfc7F192073AcC85bE2d072155C1e16",
"lpAddress": "0xD9d1064E32704BDd540F90D3A9ecAF037748b966",
"tokens": ["0xbc7E02c4178a7dF7d3E564323a5c359dc96C4db4", "0xFfFFfFff1FcaCBd218EDc0EbA20Fc2308C778080"],
"tokenOracleIds": ["stDOT", "xcDOT"],
"decimals": [10, 10],
"oracleId": "stellaswap-cow-moonbeam-stdot-xcdot",
"rewardPool": {
"address": "0x66e5662411cc6e3a62387354fa3F80dEa097fceD",
"oracleId": "stellaswap-cow-moonbeam-stdot-xcdot-rp"
}
},
{
"address": "0x58873a92A2eF097CdedeA11e72C30f4E85C10a29",
"lpAddress": "0x53c1341cd81562c1b1a7562fff712CD7be95D51e",
Expand Down
10 changes: 9 additions & 1 deletion src/utils/fetchConcentratedLiquidityTokenPrices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,14 @@ const tokens: Partial<Record<keyof typeof ChainId, ConcentratedLiquidityToken[]>
firstToken: 'GLMR',
secondToken: 'USDCwh',
},
{
type: 'Algebra',
oracleId: 'stDOT',
decimalDelta: 1,
pool: '0xD9d1064E32704BDd540F90D3A9ecAF037748b966',
firstToken: 'xcDOT',
secondToken: 'stDOT',
},
],
linea: [
{
Expand Down Expand Up @@ -498,7 +506,7 @@ const tokens: Partial<Record<keyof typeof ChainId, ConcentratedLiquidityToken[]>
pool: '0xa2E74518fe27B0FC04Ea36024ea837d26cd09CDa',
firstToken: 'USDC',
secondToken: 'modesUSDe',
}
},
],
lisk: [
{
Expand Down

0 comments on commit 882c0be

Please sign in to comment.