Skip to content

Commit

Permalink
Merge pull request #1344 from erenjaegar77/add-aerodrome-usdc+-usd+
Browse files Browse the repository at this point in the history
add aerodrome stable usdc+ usd+
  • Loading branch information
roman-monk authored Jan 31, 2024
2 parents 22019af + 4b0bccf commit d71a75c
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/address-book/address-book/base/tokens/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,20 @@ const _tokens = {
documentation: 'https://curve.readthedocs.io/',
bridge: 'base-canonical',
},
'USDC+': {
name: 'USDC Plus',
symbol: 'USDC+',
oracleId: 'bUSDC+',
address: '0x85483696Cc9970Ad9EdD786b2C5ef735F38D156f',
chainId: 8453,
decimals: 6,
logoURI: '',
bridge: 'native',
website: 'https://overnight.fi/',
description:
'A risk-minimised USDC-pegged crypto asset backed by an underlying basket of USD stablecoins',
documentation: 'https://docs.overnight.fi/',
},
} as const;

export const tokens: ConstRecord<typeof _tokens, Token> = _tokens;
20 changes: 20 additions & 0 deletions src/data/base/aerodromeStableLpPools.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
[
{
"name": "aerodrome-usdc+-usd+",
"address": "0xE96c788E66a97Cf455f46C5b27786191fD3bC50B",
"gauge": "0x526b3D92fF55263dd24E3e14ccD0f5c2Dab81d3b",
"decimals": "1e18",
"chainId": 8453,
"beefyFee": 0.095,
"lp0": {
"address": "0x85483696Cc9970Ad9EdD786b2C5ef735F38D156f",
"oracle": "tokens",
"oracleId": "bUSDC+",
"decimals": "1e6"
},
"lp1": {
"address": "0xB79DD08EA68A908A97220C76d19A6aA9cBDE4376",
"oracle": "tokens",
"oracleId": "USD+",
"decimals": "1e6"
}
},
{
"name": "aerodrome-usdc-usd+",
"address": "0x418457Ca08fA5EC77f811B105F2c585cd051Ac10",
Expand Down
9 changes: 9 additions & 0 deletions src/utils/fetchSolidlyStableTokenPrices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ const tokens: Partial<Record<keyof typeof ChainId, StablePoolLiquidityToken[]>>
secondTokenDecimals: 1e6,
secondTokenAddress: '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA',
},
{
oracleId: 'bUSDC+',
pool: '0xE96c788E66a97Cf455f46C5b27786191fD3bC50B',
firstToken: 'bUSDC+',
firstTokenDecimals: '1e6',
secondToken: 'USD+',
secondTokenDecimals: 1e6,
secondTokenAddress: '0xB79DD08EA68A908A97220C76d19A6aA9cBDE4376',
},
],
};

Expand Down

0 comments on commit d71a75c

Please sign in to comment.