Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Metronome sLPs #1545

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions packages/address-book/src/address-book/base/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,36 @@ export const tokens = {
bridge: 'layer-zero',
risks: ['NO_TIMELOCK'],
},
msUSD: {
name: 'Metronome Synth USD',
symbol: 'msUSD',
oracleId: 'basemsUSD',
address: '0x526728DBc96689597F85ae4cd716d4f7fCcBAE9d',
chainId: 8453,
decimals: 18,
logoURI: '',
description:
'msUSD represents Metronome Synth USD. Through the Metronome dApp, users are able to deposit crypto assets as collateral, and use that collateral to mint popular crypto synthetics.',
website: 'https://metronome.io/',
documentation: 'https://docs.metronome.io/',
bridge: 'layer-zero',
risks: ['NO_TIMELOCK'],
},
msETH: {
name: 'Metronome Synth ETH',
symbol: 'msETH',
oracleId: 'msETH',
address: '0x7Ba6F01772924a82D9626c126347A28299E98c98',
chainId: 8453,
decimals: 18,
logoURI: '',
description:
'msETH represents Metronome Synth ETH. Through the Metronome dApp, users are able to deposit crypto assets as collateral, and use that collateral to mint popular crypto synthetics.',
website: 'https://metronome.io/',
documentation: 'https://docs.metronome.io/',
bridge: 'layer-zero',
risks: ['NO_TIMELOCK'],
},
CHOMP: {
name: 'ChompCoin',
symbol: 'CHOMP',
Expand Down
30 changes: 30 additions & 0 deletions packages/address-book/src/address-book/optimism/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1617,6 +1617,36 @@ export const tokens = {
bridge: 'native',
risks: ['NO_TIMELOCK'],
},
msUSD: {
name: 'Metronome Synth USD',
symbol: 'msUSD',
oracleId: 'opmsUSD',
address: '0x9dAbAE7274D28A45F0B65Bf8ED201A5731492ca0',
chainId: 10,
decimals: 18,
logoURI: '',
description:
'msUSD represents Metronome Synth USD. Through the Metronome dApp, users are able to deposit crypto assets as collateral, and use that collateral to mint popular crypto synthetics.',
website: 'https://metronome.io/',
documentation: 'https://docs.metronome.io/',
bridge: 'layer-zero',
risks: ['NO_TIMELOCK'],
},
msETH: {
name: 'Metronome Synth ETH',
symbol: 'msETH',
oracleId: 'msETH',
address: '0x1610e3c85dd44Af31eD7f33a63642012Dca0C5A5',
chainId: 10,
decimals: 18,
logoURI: '',
description:
'msETH represents Metronome Synth ETH. Through the Metronome dApp, users are able to deposit crypto assets as collateral, and use that collateral to mint popular crypto synthetics.',
website: 'https://metronome.io/',
documentation: 'https://docs.metronome.io/',
bridge: 'layer-zero',
risks: ['NO_TIMELOCK'],
},
uniBTC: {
name: 'Universal BTC',
symbol: 'uniBTC',
Expand Down
14 changes: 12 additions & 2 deletions src/api/stats/getAmmPrices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,16 @@ const dexscreenerCoins: OraclePriceRequest[] = [
tokenAddress: '0xED65C5085a18Fa160Af0313E60dcc7905E944Dc7',
chainId: 'arbitrum',
},
{
oracleId: 'basemsUSD',
tokenAddress: '0x526728DBc96689597F85ae4cd716d4f7fCcBAE9d',
chainId: 'base',
},
{
oracleId: 'opmsUSD',
tokenAddress: '0x9dAbAE7274D28A45F0B65Bf8ED201A5731492ca0',
chainId: 'optimism',
},
];

/**
Expand Down Expand Up @@ -359,8 +369,8 @@ const seedPeggedPrices = {
aWMATIC: 'MATIC', // Aave
aWETH: 'ETH', // Aave,
cArbUSDCv3: 'USDC', // Compound
aOptUSDC: 'USDC', //Aave
aOptUSDCn: 'USDC', //Aave
aOptUSDC: 'USDC', // Aave
aOptUSDCn: 'USDC', // Aave
axlUSDC: 'USDC', // Axelar
xcUSDC: 'USDC', // Kusama
xcUSDT: 'USDT', // Kusama
Expand Down
40 changes: 40 additions & 0 deletions src/data/base/aerodromeStableLpPools.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,44 @@
[
{
"name": "aerodrome-msusd-usdc",
"address": "0xcEFC8B799a8EE5D9b312aeca73262645D664AaF7",
"gauge": "0xDBF852464fC906C744E52Dbd68C1b07dD33A922a",
"decimals": "1e18",
"chainId": 8453,
"beefyFee": 0.095,
"lp0": {
"address": "0x526728DBc96689597F85ae4cd716d4f7fCcBAE9d",
"oracle": "tokens",
"oracleId": "basemsUSD",
"decimals": "1e18"
},
"lp1": {
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"oracle": "tokens",
"oracleId": "USDC",
"decimals": "1e6"
}
},
{
"name": "aerodrome-weth-mseth",
"address": "0xDE4FB30cCC2f1210FcE2c8aD66410C586C8D1f9A",
"gauge": "0x62940D9643a130b80CA0f8bc7e94De5b7ec496C5",
"decimals": "1e18",
"chainId": 8453,
"beefyFee": 0.095,
"lp0": {
"address": "0x4200000000000000000000000000000000000006",
"oracle": "tokens",
"oracleId": "WETH",
"decimals": "1e18"
},
"lp1": {
"address": "0x7Ba6F01772924a82D9626c126347A28299E98c98",
"oracle": "tokens",
"oracleId": "msETH",
"decimals": "1e18"
}
},
{
"name": "aerodrome-jeur-ageur",
"address": "0xe7e01f38470136dE763d22e534e53C8BCdbA3f39",
Expand Down
60 changes: 60 additions & 0 deletions src/data/optimism/velodromeStableLpPools.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,64 @@
[
{
"name": "velodrome-v2-usdce-msusd",
"address": "0xe148D6Ae042De77c1f9fe0d6c495EbfD7b705B4c",
"gauge": "0xf9ddd38A4e0C3237563DBB651D1a155551e54ad6",
"decimals": "1e18",
"chainId": 10,
"beefyFee": 0.095,
"lp0": {
"address": "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
"oracle": "tokens",
"oracleId": "opUSDCe",
"decimals": "1e6"
},
"lp1": {
"address": "0x9dAbAE7274D28A45F0B65Bf8ED201A5731492ca0",
"oracle": "tokens",
"oracleId": "opmsUSD",
"decimals": "1e18"
}
},
{
"name": "velodrome-v2-usdc-msusd",
"address": "0xe07388b2a7bb29d3Ad8989e1074Bd00Bd0d3C43d",
"gauge": "0x7b3f9Ae95D8852078E49168505d6C897E4B11B6E",
"decimals": "1e18",
"chainId": 10,
"beefyFee": 0.095,
"lp0": {
"address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
"oracle": "tokens",
"oracleId": "USDC",
"decimals": "1e6"
},
"lp1": {
"address": "0x9dAbAE7274D28A45F0B65Bf8ED201A5731492ca0",
"oracle": "tokens",
"oracleId": "opmsUSD",
"decimals": "1e18"
}
},
{
"name": "velodrome-v2-mseth-weth",
"address": "0x917AA69D539D6518440dd0BEA2eaAc142a8d5610",
"gauge": "0xdfE0eea4b7Ca157cB1fAF73fAc2135164B375Fb0",
"decimals": "1e18",
"chainId": 10,
"beefyFee": 0.095,
"lp0": {
"address": "0x1610e3c85dd44Af31eD7f33a63642012Dca0C5A5",
"oracle": "tokens",
"oracleId": "msETH",
"decimals": "1e18"
},
"lp1": {
"address": "0x4200000000000000000000000000000000000006",
"oracle": "tokens",
"oracleId": "WETH",
"decimals": "1e18"
}
},
{
"name": "velodrome-v2-pxeth-weth",
"address": "0x112d7a717a617C25a91b1C261708CCe6831474B4",
Expand Down
Loading