Skip to content

Commit

Permalink
sdk: add spot-market-index-28 to constants
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz committed Nov 18, 2024
1 parent 5f48d34 commit 4efb630
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sdk/src/constants/spotMarkets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
SIX,
EIGHT,
NINE,
FIVE,

Check failure on line 11 in sdk/src/constants/spotMarkets.ts

View workflow job for this annotation

GitHub Actions / yarn-lint

'FIVE' is defined but never used. Allowed unused vars must match /^_/u
} from './numericConstants';

export type SpotMarketConfig = {
Expand Down Expand Up @@ -450,6 +451,17 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
pythFeedId:
'0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43',
},
{
symbol: 'USDS',
marketIndex: 28,
oracle: new PublicKey('7pT9mxKXyvfaZKeKy1oe2oV2K1RFtF7tPEJHUY3h2vVV'),
oracleSource: OracleSource.PYTH_PULL,
mint: new PublicKey('USDSwr9ApdHk5bvJKMjzff41FfuX8bSxdKcR81vTwcA'),
precision: new BN(10).pow(SIX),
precisionExp: SIX,
pythFeedId:
'0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1',
},
];

export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {
Expand Down

0 comments on commit 4efb630

Please sign in to comment.