Skip to content

Commit

Permalink
Switched melania market configs to use pyth oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecaan committed Jan 20, 2025
1 parent c7ace90 commit 83a94e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions sdk/src/constants/perpMarkets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1174,9 +1174,10 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
symbol: 'MELANIA-PERP',
baseAssetSymbol: 'MELANIA',
marketIndex: 65,
oracle: new PublicKey('3uFMuqGg3GCZK1XSdBfpvSrj28uqFBzz6xTTAaFeobBP'),
oracle: new PublicKey('28Zk42cxbg4MxiTewSwoedvW6MUgjoVHSTvTW7zQ7ESi'),
launchTs: 1737360280000,
oracleSource: OracleSource.SWITCHBOARD_ON_DEMAND,
oracleSource: OracleSource.PYTH_PULL,
pythFeedId: '0x8fef7d52c7f4e3a6258d663f9d27e64a1b6fd95ab5f7d545dbf9a515353d0064',
},
];

Expand Down
5 changes: 3 additions & 2 deletions sdk/src/constants/spotMarkets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -664,11 +664,12 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
symbol: 'MELANIA',
marketIndex: 37,
poolId: 0,
oracle: new PublicKey('3uFMuqGg3GCZK1XSdBfpvSrj28uqFBzz6xTTAaFeobBP'),
oracleSource: OracleSource.SWITCHBOARD_ON_DEMAND,
oracle: new PublicKey('28Zk42cxbg4MxiTewSwoedvW6MUgjoVHSTvTW7zQ7ESi'),
oracleSource: OracleSource.PYTH_PULL,
mint: new PublicKey('FUAfBo2jgks6gB4Z4LfZkqSZgzNucisEHqnNebaRxM1P'),
precision: new BN(10).pow(SIX),
precisionExp: SIX,
pythFeedId: '0x8fef7d52c7f4e3a6258d663f9d27e64a1b6fd95ab5f7d545dbf9a515353d0064',
launchTs: 1737360280000,
},
];
Expand Down

0 comments on commit 83a94e3

Please sign in to comment.