Skip to content

Commit

Permalink
sdk: add perp market index 11 (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz authored Jun 6, 2023
1 parent 9a5c668 commit 28101fa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sdk/src/constants/perpMarkets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,16 @@ export const DevnetPerpMarkets: PerpMarketConfig[] = [
launchTs: 1683125906000,
oracleSource: OracleSource.PYTH_1M,
},
{
fullName: 'OP',
category: ['L2', 'Infra'],
symbol: 'OP-PERP',
baseAssetSymbol: 'OP',
marketIndex: 11,
oracle: new PublicKey('8ctSiDhA7eJoii4TkKV8Rx4KFdz3ycsA1FXy9wq56quG'),
launchTs: 1683125906000,
oracleSource: OracleSource.PYTH,
},
];

export const MainnetPerpMarkets: PerpMarketConfig[] = [
Expand Down Expand Up @@ -237,6 +247,16 @@ export const MainnetPerpMarkets: PerpMarketConfig[] = [
launchTs: 1683125906000,
oracleSource: OracleSource.PYTH_1M,
},
{
fullName: 'OP',
category: ['L2', 'Infra'],
symbol: 'OP-PERP',
baseAssetSymbol: 'OP',
marketIndex: 11,
oracle: new PublicKey('4o4CUwzFwLqCvmA5x1G4VzoZkAhAcbiuiYyjWX1CVbY2'),
launchTs: 1683125906000,
oracleSource: OracleSource.PYTH,
},
];

export const PerpMarkets: { [key in DriftEnv]: PerpMarketConfig[] } = {
Expand Down

0 comments on commit 28101fa

Please sign in to comment.