Skip to content

Commit

Permalink
sdk: update market-constants
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz committed Apr 11, 2024
1 parent 94f7b08 commit 6403ba5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/driftpy/constants/perp_markets.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,4 +296,11 @@ class PerpMarketConfig:
oracle=Pubkey.from_string("sDAQaZQJQ4RXAxH3x526mbEXyQZT15ktkL84d7hmk7M"),
oracle_source=OracleSource.Prelaunch(),
),
PerpMarketConfig(
symbol="TNSR-PERP",
base_asset_symbol="TNSR",
market_index=29,
oracle=Pubkey.from_string("7Cfyymx49ipGsgEsCA2XygAB2DUsan4C6Cyb5c8oR5st"),
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 @@ -135,4 +135,11 @@ class SpotMarketConfig:
oracle_source=OracleSource.Pyth(),
mint=Pubkey.from_string("85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ"),
),
SpotMarketConfig(
symbol="TNSR",
market_index=14,
oracle=Pubkey.from_string("7Cfyymx49ipGsgEsCA2XygAB2DUsan4C6Cyb5c8oR5st"),
oracle_source=OracleSource.Pyth(),
mint=Pubkey.from_string("TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6"),
),
]

0 comments on commit 6403ba5

Please sign in to comment.