Skip to content

Commit

Permalink
Update constants
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKhalili committed Nov 16, 2024
1 parent 8d54a3f commit f3d2019
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions src/driftpy/constants/perp_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ class PerpMarketConfig:
symbol="SOL-PERP",
base_asset_symbol="SOL",
market_index=0,
oracle=Pubkey.from_string("En8hkHLkRe9d9DraYmBTrus518BvmVH448YcvmrFM6Ce"),
oracle_source=OracleSource.PythStableCoinPull(),
oracle=Pubkey.from_string("BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF"),
oracle_source=OracleSource.PythPull(),
),
PerpMarketConfig(
symbol="BTC-PERP",
base_asset_symbol="BTC",
market_index=1,
oracle=Pubkey.from_string("BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF"),
oracle=Pubkey.from_string("486kr3pmFPfTsS4aZgcsQ7kS4i9rjMsYYZup6HQNSTT4"),
oracle_source=OracleSource.PythPull(),
),
PerpMarketConfig(
symbol="ETH-PERP",
base_asset_symbol="ETH",
market_index=2,
oracle=Pubkey.from_string("486kr3pmFPfTsS4aZgcsQ7kS4i9rjMsYYZup6HQNSTT4"),
oracle=Pubkey.from_string("6bEp2MiyoiiiDxcVqE8rUHQWwHirXUXtKfAEATTVqNzT"),
oracle_source=OracleSource.PythPull(),
),
PerpMarketConfig(
Expand Down
18 changes: 9 additions & 9 deletions src/driftpy/constants/spot_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ class SpotMarketConfig:
SpotMarketConfig(
symbol="USDC",
market_index=0,
oracle=Pubkey.from_string("5SSkXsEKQepHHAewytPVwdej4epN1nxgLVM84L4KXgy7"),
oracle_source=OracleSource.PythStableCoin(),
oracle=Pubkey.from_string("En8hkHLkRe9d9DraYmBTrus518BvmVH448YcvmrFM6Ce"),
oracle_source=OracleSource.PythStableCoinPull(),
mint=Pubkey.from_string("8zGuJQqwhZafTah7Uc7Z4tXRnguqkn5KLFAP8oV6PHe2"),
),
SpotMarketConfig(
symbol="SOL",
market_index=1,
oracle=Pubkey.from_string("J83w4HKfqxwcq3BEMMkPFSppX3gqekLyLJBexebFVkix"),
oracle_source=OracleSource.Pyth(),
oracle=Pubkey.from_string("BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF"),
oracle_source=OracleSource.PythPull(),
mint=WRAPPED_SOL_MINT,
),
SpotMarketConfig(
symbol="BTC",
market_index=2,
oracle=Pubkey.from_string("HovQMDrbAgAYPCmHVSrezcSmkMtXSSUsLDFANExrZh2J"),
oracle_source=OracleSource.Pyth(),
oracle=Pubkey.from_string("486kr3pmFPfTsS4aZgcsQ7kS4i9rjMsYYZup6HQNSTT4"),
oracle_source=OracleSource.PythPull(),
mint=Pubkey.from_string("3BZPwbcqB5kKScF3TEXxwNfx5ipV13kbRVDvfVp5c6fv"),
),
SpotMarketConfig(
Expand Down Expand Up @@ -232,7 +232,7 @@ class SpotMarketConfig:
SpotMarketConfig(
symbol="BNSOL",
market_index=25,
oracle=Pubkey.from_string("BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF"),
oracle=Pubkey.from_string("8DmXTfhhtb9kTcpTVfb6Ygx8WhZ8wexGqcpxfn23zooe"),
oracle_source=OracleSource.PythPull(),
mint=Pubkey.from_string("BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85"),
),
Expand All @@ -243,10 +243,10 @@ class SpotMarketConfig:
oracle_source=OracleSource.PythPull(),
mint=Pubkey.from_string("3S8qX1MsMqRbiwKg2cQyx7nis1oHMgaCuc9c4VfvVdPN"),
),
SpotMarketConfig(
SpotMarketConfig(
symbol="cbBTC",
market_index=27,
oracle=Pubkey.from_string("BAtFj4kQttZRVep3UZS2aZRDixkGYgWsbqTBVDbnSsPF"),
oracle=Pubkey.from_string("486kr3pmFPfTsS4aZgcsQ7kS4i9rjMsYYZup6HQNSTT4"),
oracle_source=OracleSource.PythPull(),
mint=Pubkey.from_string("cbbtcf3aa214zXHbiAZQwf4122FBYbraNdFqgw4iMij"),
),
Expand Down

0 comments on commit f3d2019

Please sign in to comment.