From d26972fb595bdb9533da28568cd83e2bd44ffea2 Mon Sep 17 00:00:00 2001 From: bigz_Pubkey <83473873+0xbigz@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:52:59 -0500 Subject: [PATCH] sdk: spot-market-index-29-30 (#1375) --- sdk/src/constants/spotMarkets.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/sdk/src/constants/spotMarkets.ts b/sdk/src/constants/spotMarkets.ts index db4f4fc95..85bb2ea20 100644 --- a/sdk/src/constants/spotMarkets.ts +++ b/sdk/src/constants/spotMarkets.ts @@ -535,6 +535,28 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ pythFeedId: '0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1', }, + { + symbol: 'META', + marketIndex: 29, + poolId: 0, + oracle: new PublicKey('DwYF1yveo8XTF1oqfsqykj332rjSxAd7bR6Gu6i4iUET'), + oracleSource: OracleSource.SWITCHBOARD_ON_DEMAND, + mint: new PublicKey('METADDFL6wWMWEoKTFJwcThTbUmtarRJZjRpzUvkxhr'), + precision: new BN(10).pow(NINE), + precisionExp: NINE, + }, + { + symbol: 'ME', + marketIndex: 30, + poolId: 0, + oracle: new PublicKey('FLQjrmEPGwbCKRYZ1eYM5FPccHBrCv2cN4GBu3mWfmPH'), + oracleSource: OracleSource.PYTH_PULL, + mint: new PublicKey('MEFNBXixkEbait3xn9bkm8WsJzXtVsaJEn4c8Sam21u'), + precision: new BN(10).pow(SIX), + precisionExp: SIX, + pythFeedId: + '0x91519e3e48571e1232a85a938e714da19fe5ce05107f3eebb8a870b2e8020169', + }, ]; export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {