Skip to content

Commit

Permalink
frank/update market constants (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
soundsonacid authored May 29, 2024
1 parent 05b31df commit 2ad9e0a
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.7.52
current_version = 0.7.53
commit = True
tag = True
tag_name = {new_version}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "driftpy"
version = "0.7.52"
version = "0.7.53"
description = "A Python client for the Drift DEX"
authors = ["x19 <https://twitter.com/[email protected]>", "bigz <https://twitter.com/bigz_pubkey>", "frank <https://twitter.com/soundsonacid>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/driftpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.52"
__version__ = "0.7.53"
11 changes: 9 additions & 2 deletions src/driftpy/constants/perp_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,18 +289,25 @@ class PerpMarketConfig:
oracle=Pubkey.from_string("H9j8CT1bFiWHaZUPMooEaxMRHdWdJ5T9CzFn41z96JHW"),
oracle_source=OracleSource.Pyth(),
),
PerpMarketConfig(
PerpMarketConfig(
symbol="KMNO-PERP",
base_asset_symbol="KMNO",
market_index=28,
oracle=Pubkey.from_string("sDAQaZQJQ4RXAxH3x526mbEXyQZT15ktkL84d7hmk7M"),
oracle_source=OracleSource.Prelaunch(),
),
PerpMarketConfig(
PerpMarketConfig(
symbol="TNSR-PERP",
base_asset_symbol="TNSR",
market_index=29,
oracle=Pubkey.from_string("7Cfyymx49ipGsgEsCA2XygAB2DUsan4C6Cyb5c8oR5st"),
oracle_source=OracleSource.Switchboard(),
),
PerpMarketConfig(
symbol="DRIFT-PERP",
base_asset_symbol="DRIFT",
market_index=30,
oracle=Pubkey.from_string("PeNpQeGEm9UEFJ6MBCMauY4WW4h3YxoESPWbsqVKucE"),
oracle_source=OracleSource.Switchboard(),
),
]
14 changes: 14 additions & 0 deletions src/driftpy/constants/spot_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,18 @@ class SpotMarketConfig:
oracle_source=OracleSource.Switchboard(),
mint=Pubkey.from_string("DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7"),
),
SpotMarketConfig(
symbol="INF",
market_index=16,
oracle=Pubkey.from_string("6AQHz9mpGNjyVafcWdqzzgsJq14Cs8gG6MiQKmdAgCuP"),
oracle_source=OracleSource.Switchboard(),
mint=Pubkey.from_string("5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm"),
),
SpotMarketConfig(
symbol="dSOL",
market_index=17,
oracle=Pubkey.from_string("HJ9K9AamqVMp86j3uQgpA1tdJNRAwfVuL75FD9P3QBrn"),
oracle_source=OracleSource.Switchboard(),
mint=Pubkey.from_string("Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ"),
),
]

0 comments on commit 2ad9e0a

Please sign in to comment.