Skip to content

Commit

Permalink
Add MOTHER to spot market
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKhalili committed Sep 29, 2024
1 parent f44ff0b commit f78ade3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/driftpy/constants/spot_markets.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
"""
This file contains the market configs for the spot markets on Drift.
For reference, see the TypeScript implementation:
- https://github.com/drift-labs/protocol-v2/blob/master/sdk/src/constants/spotMarkets.ts
"""

from dataclasses import dataclass

from driftpy.types import OracleSource
from solders.pubkey import Pubkey # type: ignore

Expand Down Expand Up @@ -228,4 +236,11 @@ class SpotMarketConfig:
oracle_source=OracleSource.PythPull(),
mint=Pubkey.from_string("BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85"),
),
SpotMarketConfig(
symbol="MOTHER",
market_index=26,
oracle=Pubkey.from_string("56ap2coZG7FPWUigVm9XrpQs3xuCwnwQaWtjWZcffEUG"),
oracle_source=OracleSource.PythPull(),
mint=Pubkey.from_string("3S8qX1MsMqRbiwKg2cQyx7nis1oHMgaCuc9c4VfvVdPN"),
),
]

0 comments on commit f78ade3

Please sign in to comment.