From ae0fce987f83acf4906807500f21bf92ecaecd18 Mon Sep 17 00:00:00 2001 From: 0xbigz <83473873+0xbigz@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:46:27 -0500 Subject: [PATCH] sdk: update perp/spot market constants --- src/driftpy/constants/perp_markets.py | 28 +++++++++++++++++++++++++++ src/driftpy/constants/spot_markets.py | 7 +++++++ 2 files changed, 35 insertions(+) diff --git a/src/driftpy/constants/perp_markets.py b/src/driftpy/constants/perp_markets.py index dfc19db1..7b974448 100644 --- a/src/driftpy/constants/perp_markets.py +++ b/src/driftpy/constants/perp_markets.py @@ -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(), + ), ] diff --git a/src/driftpy/constants/spot_markets.py b/src/driftpy/constants/spot_markets.py index 48ceb9e1..48524d1f 100644 --- a/src/driftpy/constants/spot_markets.py +++ b/src/driftpy/constants/spot_markets.py @@ -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"), + ), ]