Skip to content

Commit

Permalink
frank/update market configs (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
soundsonacid authored Jun 27, 2024
1 parent 010f9be commit 847d7fd
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 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.61
current_version = 0.7.62
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.61"
version = "0.7.62"
description = "A Python client for the Drift DEX"
authors = ["x19 <https://twitter.com/0xNineteen@gmail.com>", "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.61"
__version__ = "0.7.62"
7 changes: 7 additions & 0 deletions src/driftpy/constants/perp_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,11 @@ class PerpMarketConfig:
oracle=Pubkey.from_string("Gcm39uDrFyRCZko4hdrKMTBQsboPJHEd4RwnWhWFKr9a"),
oracle_source=OracleSource.Switchboard(),
),
PerpMarketConfig(
symbol="ZEX-PERP",
base_asset_symbol="ZEX",
market_index=33,
oracle=Pubkey.from_string("4gdbqxkMrF1bYVeEJKRmTqCCvJjRCZrRhxvriGY6SwLj"),
oracle_source=OracleSource.Switchboard(),
),
]
7 changes: 7 additions & 0 deletions src/driftpy/constants/spot_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,11 @@ class SpotMarketConfig:
oracle_source=OracleSource.Switchboard(),
mint=Pubkey.from_string("A1KLoBrKBde8Ty9qtNQUtq3C2ortoC3u7twggz7sEto6"),
),
SpotMarketConfig(
symbol="JLP",
market_index=19,
oracle=Pubkey.from_string("HR1mmjm2GeTRvdaN9VCy3wyx35h8Pimjv5wyzZ5NJmxE"),
oracle_source=OracleSource.Switchboard(),
mint=Pubkey.from_string("27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4"),
),
]

0 comments on commit 847d7fd

Please sign in to comment.