Skip to content

Commit 5c9b8be

Browse files
authored
sdk: spot-market-poolid-4 constants (#1631)
1 parent f0be6a5 commit 5c9b8be

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

sdk/src/constants/spotMarkets.ts

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const DevnetSpotMarkets: SpotMarketConfig[] = [
119119
marketIndex: 6,
120120
poolId: 1,
121121
oracle: new PublicKey('En8hkHLkRe9d9DraYmBTrus518BvmVH448YcvmrFM6Ce'),
122-
oracleSource: OracleSource.PYTH_PULL,
122+
oracleSource: OracleSource.PYTH_STABLE_COIN_PULL,
123123
mint: new PublicKey('8zGuJQqwhZafTah7Uc7Z4tXRnguqkn5KLFAP8oV6PHe2'),
124124
precision: new BN(10).pow(SIX),
125125
precisionExp: SIX,
@@ -788,6 +788,34 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
788788
'0x31558e9ccb18c151af6c52bf78afd03098a7aca1b9cf171a65b693b464c2f066',
789789
launchTs: 1747155600000,
790790
},
791+
{
792+
symbol: 'USDC-4',
793+
marketIndex: 47,
794+
poolId: 4,
795+
oracle: new PublicKey('9VCioxmni2gDLv11qufWzT3RDERhQE4iY5Gf7NTfYyAV'),
796+
oracleSource: OracleSource.PYTH_LAZER_STABLE_COIN,
797+
mint: new PublicKey('EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'),
798+
precision: QUOTE_PRECISION,
799+
precisionExp: QUOTE_PRECISION_EXP,
800+
pythFeedId:
801+
'0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
802+
pythLazerId: 7,
803+
launchTs: 1747494165000,
804+
},
805+
{
806+
symbol: 'USDT-4',
807+
marketIndex: 48,
808+
poolId: 4,
809+
oracle: new PublicKey('JDKJSkxjasBGL3ce1pkrN6tqDzuVUZPWzzkGuyX8m9yN'),
810+
oracleSource: OracleSource.PYTH_LAZER_STABLE_COIN,
811+
mint: new PublicKey('Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB'),
812+
precision: QUOTE_PRECISION,
813+
precisionExp: QUOTE_PRECISION_EXP,
814+
serumMarket: new PublicKey('B2na8Awyd7cpC59iEU43FagJAPLigr3AP3s38KM982bu'),
815+
pythFeedId:
816+
'0x2b89b9dc8fdf9f34709a5b106b472f0f39bb6ca9ce04b0fd7f2e971688e2e53b',
817+
pythLazerId: 8,
818+
},
791819
];
792820

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

0 commit comments

Comments
 (0)