Skip to content

Commit

Permalink
sdk: add-market-index-65 (#1436)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz authored Jan 20, 2025
1 parent 11d548f commit 201b92f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sdk/src/constants/perpMarkets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] } = {
Expand Down
11 changes: 11 additions & 0 deletions sdk/src/constants/spotMarkets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] } = {
Expand Down

0 comments on commit 201b92f

Please sign in to comment.