Skip to content

Commit

Permalink
feat: add pyth and coingecko support for usds
Browse files Browse the repository at this point in the history
  • Loading branch information
hunter-bera committed Jan 18, 2025
1 parent c39ac73 commit e685586
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 7 additions & 3 deletions generated/berachain-bex.tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": {
"major": 1,
"minor": 0,
"patch": 7
"patch": 8
},
"keywords": [
"Berachain",
Expand All @@ -17,7 +17,7 @@
"Swap"
],
"logoURI": "",
"timestamp": "2025-01-18T20:37:37.737Z",
"timestamp": "2025-01-18T21:07:52.596Z",
"tokens": [
{
"chainId": 80000,
Expand Down Expand Up @@ -82,7 +82,11 @@
"address": "0x9c9C1f1c9794DA8A4EB432925becE646E1eF3AA8",
"name": "USDS",
"symbol": "USDS",
"decimals": 18
"decimals": 18,
"extensions": {
"coingeckoId": "usds",
"pythPriceId": "0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1"
}
},
{
"chainId": 80000,
Expand Down
7 changes: 7 additions & 0 deletions src/tokenlists/berachain-bex/overwrites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,12 @@ export const overwrites: OverwritesForList = {
'0xc9d8b075a5c69303365ae23633d4e085199bf5c520a3b90fed1322a0342ffc33', // WBTC/USD
},
},
'0x9c9C1f1c9794DA8A4EB432925becE646E1eF3AA8': {
extensions: {
coingeckoId: 'usds',
pythPriceId:
'0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1', // USDs/USD
},
},
},
}

0 comments on commit e685586

Please sign in to comment.