From 201b92fbeb7531dead8277e2e78ec2f23aca4e46 Mon Sep 17 00:00:00 2001 From: bigz_Pubkey <83473873+0xbigz@users.noreply.github.com> Date: Mon, 20 Jan 2025 05:47:43 -0500 Subject: [PATCH] sdk: add-market-index-65 (#1436) --- sdk/src/constants/perpMarkets.ts | 10 ++++++++++ sdk/src/constants/spotMarkets.ts | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/sdk/src/constants/perpMarkets.ts b/sdk/src/constants/perpMarkets.ts index a5b6fb2e7..5d966c24a 100644 --- a/sdk/src/constants/perpMarkets.ts +++ b/sdk/src/constants/perpMarkets.ts @@ -1168,6 +1168,16 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [ pythFeedId: '0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a', }, + { + fullName: 'MELANIA', + category: ['Meme'], + symbol: 'MELANIA-PERP', + baseAssetSymbol: 'MELANIA', + marketIndex: 65, + oracle: new PublicKey('3uFMuqGg3GCZK1XSdBfpvSrj28uqFBzz6xTTAaFeobBP'), + launchTs: 1737360280000, + oracleSource: OracleSource.SWITCHBOARD_ON_DEMAND, + }, ]; export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = { diff --git a/sdk/src/constants/spotMarkets.ts b/sdk/src/constants/spotMarkets.ts index 9c3bee981..3e2a08485 100644 --- a/sdk/src/constants/spotMarkets.ts +++ b/sdk/src/constants/spotMarkets.ts @@ -660,6 +660,17 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ '0x879551021853eec7a7dc827578e8e69da7e4fa8148339aa0d3d5296405be4b1a', launchTs: 1737219250000, }, + { + symbol: 'MELANIA', + marketIndex: 37, + poolId: 0, + oracle: new PublicKey('3uFMuqGg3GCZK1XSdBfpvSrj28uqFBzz6xTTAaFeobBP'), + oracleSource: OracleSource.PYTH_PULL, + mint: new PublicKey('FUAfBo2jgks6gB4Z4LfZkqSZgzNucisEHqnNebaRxM1P'), + precision: new BN(10).pow(SIX), + precisionExp: SIX, + launchTs: 1737360280000, + }, ]; export const SpotMarkets: { [key in DriftEnv]: SpotMarketConfig[] } = {