Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit e685586

Browse files
committed
feat: add pyth and coingecko support for usds
1 parent c39ac73 commit e685586

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

generated/berachain-bex.tokenlist.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": {
44
"major": 1,
55
"minor": 0,
6-
"patch": 7
6+
"patch": 8
77
},
88
"keywords": [
99
"Berachain",
@@ -17,7 +17,7 @@
1717
"Swap"
1818
],
1919
"logoURI": "",
20-
"timestamp": "2025-01-18T20:37:37.737Z",
20+
"timestamp": "2025-01-18T21:07:52.596Z",
2121
"tokens": [
2222
{
2323
"chainId": 80000,
@@ -82,7 +82,11 @@
8282
"address": "0x9c9C1f1c9794DA8A4EB432925becE646E1eF3AA8",
8383
"name": "USDS",
8484
"symbol": "USDS",
85-
"decimals": 18
85+
"decimals": 18,
86+
"extensions": {
87+
"coingeckoId": "usds",
88+
"pythPriceId": "0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1"
89+
}
8690
},
8791
{
8892
"chainId": 80000,

src/tokenlists/berachain-bex/overwrites.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,12 @@ export const overwrites: OverwritesForList = {
3030
'0xc9d8b075a5c69303365ae23633d4e085199bf5c520a3b90fed1322a0342ffc33', // WBTC/USD
3131
},
3232
},
33+
'0x9c9C1f1c9794DA8A4EB432925becE646E1eF3AA8': {
34+
extensions: {
35+
coingeckoId: 'usds',
36+
pythPriceId:
37+
'0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1', // USDs/USD
38+
},
39+
},
3340
},
3441
}

0 commit comments

Comments
 (0)