Skip to content

Commit f468d7e

Browse files
committed
chore: set G$ coingecko token code
1 parent 0408b7a commit f468d7e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/pricing/src/providers/coingecko.provider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const TokenMapping: { [key: string]: CoingeckoTokenId | undefined } = {
6060
// MTK: undefined,
6161
WSEI: "wrapped-sei" as CoingeckoTokenId,
6262
HBAR: "hedera-hashgraph" as CoingeckoTokenId,
63+
G$: "gooddollar" as CoingeckoTokenId,
6364
};
6465

6566
// sometimes coingecko returns no prices for 1 hour range, 2 hours works better

packages/shared/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,5 @@ const TOKENS: {
7474
},
7575
};
7676
```
77+
78+
Make sure to update the mapping in coingecko.provider.ts if the priceSourceCode differs from the token code required by CoinGecko.

0 commit comments

Comments
 (0)