Skip to content

Commit

Permalink
sdk: update perp/spot market constants
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz committed Nov 14, 2024
1 parent 4bfdf1c commit ae0fce9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/driftpy/constants/perp_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,4 +585,32 @@ class PerpMarketConfig:
oracle=Pubkey.from_string("DKGwCUcwngwmgifGxnme7zVR695LCBGk2pnuksRnbhfD"),
oracle_source=OracleSource.Pyth1KPull(),
),
PerpMarketConfig(
symbol="MICHI-PERP",
base_asset_symbol="MICHI",
market_index=52,
oracle=Pubkey.from_string("GHzvsMDMSiuyZoWhEAuM27MKFdN2Y4fA4wSDuSd6dLMA"),
oracle_source=OracleSource.PythPull(),
),
PerpMarketConfig(
symbol="GOAT-PERP",
base_asset_symbol="GOAT",
market_index=53,
oracle=Pubkey.from_string("5RgXW13Kq1RgCLEsJhhchWt3W4R2XLJnd6KqgZk6dSY7"),
oracle_source=OracleSource.PythPull(),
),
PerpMarketConfig(
symbol="FWOG-PERP",
base_asset_symbol="FWOG",
market_index=54,
oracle=Pubkey.from_string("5Z7uvkAsHNN6qqkQkwcKcEPYZqiMbFE9E24p7SpvfSrv"),
oracle_source=OracleSource.PythPull(),
),
PerpMarketConfig(
symbol="PNUT-PERP",
base_asset_symbol="PNUT",
market_index=55,
oracle=Pubkey.from_string("5AcetMtdRHxkse2ny44NcRdsysnXu9deW7Yy5Y63qAHE"),
oracle_source=OracleSource.PythPull(),
),
]
7 changes: 7 additions & 0 deletions src/driftpy/constants/spot_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,11 @@ class SpotMarketConfig:
oracle_source=OracleSource.PythPull(),
mint=Pubkey.from_string("3S8qX1MsMqRbiwKg2cQyx7nis1oHMgaCuc9c4VfvVdPN"),
),
SpotMarketConfig(
symbol="cbBTC",
market_index=27,
oracle=Pubkey.from_string("BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF"),
oracle_source=OracleSource.PythPull(),
mint=Pubkey.from_string("cbbtcf3aa214zXHbiAZQwf4122FBYbraNdFqgw4iMij"),
),
]

0 comments on commit ae0fce9

Please sign in to comment.