diff --git a/src/driftpy/constants/perp_markets.py b/src/driftpy/constants/perp_markets.py index 7379e29d..dfc19db1 100644 --- a/src/driftpy/constants/perp_markets.py +++ b/src/driftpy/constants/perp_markets.py @@ -18,21 +18,21 @@ class PerpMarketConfig: symbol="SOL-PERP", base_asset_symbol="SOL", market_index=0, - oracle=Pubkey.from_string("BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF"), - oracle_source=OracleSource.PythPull(), + oracle=Pubkey.from_string("En8hkHLkRe9d9DraYmBTrus518BvmVH448YcvmrFM6Ce"), + oracle_source=OracleSource.PythStableCoinPull(), ), PerpMarketConfig( symbol="BTC-PERP", base_asset_symbol="BTC", market_index=1, - oracle=Pubkey.from_string("486kr3pmFPfTsS4aZgcsQ7kS4i9rjMsYYZup6HQNSTT4"), + oracle=Pubkey.from_string("BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF"), oracle_source=OracleSource.PythPull(), ), PerpMarketConfig( symbol="ETH-PERP", base_asset_symbol="ETH", market_index=2, - oracle=Pubkey.from_string("6bEp2MiyoiiiDxcVqE8rUHQWwHirXUXtKfAEATTVqNzT"), + oracle=Pubkey.from_string("486kr3pmFPfTsS4aZgcsQ7kS4i9rjMsYYZup6HQNSTT4"), oracle_source=OracleSource.PythPull(), ), PerpMarketConfig( @@ -210,6 +210,14 @@ class PerpMarketConfig: oracle=Pubkey.from_string("GU6CA7a2KCyhpfqZNb36UAfc9uzKBM8jHjGdt245QhYX"), oracle_source=OracleSource.Prelaunch(), ), + # 28 sDAQaZQJQ4RXAxH3x526mbEXyQZT15ktkL84d7hmk7M RANDOM-2024-BET OracleSource.Prelaunch() + PerpMarketConfig( + symbol="RANDOM-2024-BET", # Unknown! + base_asset_symbol="RANDOM-2024", + market_index=28, + oracle=Pubkey.from_string("sDAQaZQJQ4RXAxH3x526mbEXyQZT15ktkL84d7hmk7M"), + oracle_source=OracleSource.Prelaunch(), + ), ] mainnet_perp_market_configs: list[PerpMarketConfig] = [ @@ -570,4 +578,11 @@ class PerpMarketConfig: oracle=Pubkey.from_string("6AVy1y9SnJECnosQaiK2uY1kcT4ZEBf1F4DMvhxgvhUo"), oracle_source=OracleSource.Prelaunch(), ), + PerpMarketConfig( + symbol="1KMEW-PERP", + base_asset_symbol="1KMEW", + market_index=51, + oracle=Pubkey.from_string("DKGwCUcwngwmgifGxnme7zVR695LCBGk2pnuksRnbhfD"), + oracle_source=OracleSource.Pyth1KPull(), + ), ] diff --git a/src/driftpy/constants/spot_markets.py b/src/driftpy/constants/spot_markets.py index 46946e82..48ceb9e1 100644 --- a/src/driftpy/constants/spot_markets.py +++ b/src/driftpy/constants/spot_markets.py @@ -176,8 +176,8 @@ class SpotMarketConfig: SpotMarketConfig( symbol="dSOL", market_index=17, - oracle=Pubkey.from_string("HJ9K9AamqVMp86j3uQgpA1tdJNRAwfVuL75FD9P3QBrn"), - oracle_source=OracleSource.Switchboard(), + oracle=Pubkey.from_string("7QJ6e57t3yM8HYVg6bAnJiCiZ3wQQ5CSVsa6GA16nJuK"), + oracle_source=OracleSource.SwitchboardOnDemand(), mint=Pubkey.from_string("Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ"), ), SpotMarketConfig(