From 479f2465e06fdc19f48fdefa24ace9704b1e18c4 Mon Sep 17 00:00:00 2001 From: 0xbigz <83473873+0xbigz@users.noreply.github.com> Date: Wed, 5 Nov 2025 13:45:58 -0500 Subject: [PATCH 1/3] sdk: update-pyth-lazer-spot-fees --- sdk/src/constants/spotMarkets.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sdk/src/constants/spotMarkets.ts b/sdk/src/constants/spotMarkets.ts index 2a0e983e1..c6ee93474 100644 --- a/sdk/src/constants/spotMarkets.ts +++ b/sdk/src/constants/spotMarkets.ts @@ -203,6 +203,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ serumMarket: new PublicKey('9Lyhks5bQQxb9EyyX55NtgKQzpM4WK7JCmeaWuQ5MoXD'), pythFeedId: '0xc2289a6a43d2ce91c6f55caec370f4acc38a2ed477f58813334c6d03749ff2a4', + pythLazerId: 503, }, { symbol: 'wBTC', @@ -266,6 +267,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ ), pythFeedId: '0x67be9f519b95cf24338801051f9a808eff0a578ccb388db73b7f6fe1de019ffb', + pythLazerId: 458, }, { symbol: 'PYTH', @@ -539,6 +541,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ precisionExp: NINE, pythFeedId: '0xca3ba9a619a4b3755c10ac7d5e760275aa95e9823d38a84fedd416856cdba37c', + pythLazerId: 582, }, { symbol: 'BNSOL', @@ -551,6 +554,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ precisionExp: LAMPORTS_EXP, pythFeedId: '0x55f8289be7450f1ae564dd9798e49e7d797d89adbc54fe4f8c906b1fcb94b0c3', + pythLazerId: 384, }, { symbol: 'MOTHER', @@ -591,6 +595,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ precisionExp: SIX, pythFeedId: '0x77f0971af11cc8bac224917275c1bf55f2319ed5c654a1ca955c82fa2d297ea1', + pythLazerId: 611, }, { symbol: 'META', @@ -726,6 +731,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ pythFeedId: '0xd9912df360b5b7f21a122f15bdd5e27f62ce5e72bd316c291f7c86620e07fb2a', launchTs: 1738255943000, + pythLazerId: 367, }, { symbol: 'FARTCOIN', @@ -807,6 +813,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ pythFeedId: '0x3d824c7f7c26ed1c85421ecec8c754e6b52d66a4e45de20a9c9ea91de8b396f9', launchTs: 1747155600000, + pythLazerId: 640, }, { symbol: 'ZEUS', From f358b399fa7b5f6e5838976836d2a1eaea3b63ff Mon Sep 17 00:00:00 2001 From: 0xbigz <83473873+0xbigz@users.noreply.github.com> Date: Wed, 5 Nov 2025 15:01:10 -0500 Subject: [PATCH 2/3] update to pyth lazer source --- sdk/src/constants/spotMarkets.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/src/constants/spotMarkets.ts b/sdk/src/constants/spotMarkets.ts index c6ee93474..10191291c 100644 --- a/sdk/src/constants/spotMarkets.ts +++ b/sdk/src/constants/spotMarkets.ts @@ -257,7 +257,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ marketIndex: 6, poolId: 0, oracle: new PublicKey('9QE1P5EfzthYDgoQ9oPeTByCEKaRJeZbVVqKJfgU9iau'), - oracleSource: OracleSource.PYTH_PULL, + oracleSource: OracleSource.PYTH_LAZER, mint: new PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'), precision: new BN(10).pow(NINE), precisionExp: NINE, @@ -535,7 +535,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ marketIndex: 24, poolId: 0, oracle: new PublicKey('BRuNuzLAPHHGSSVAJPKMcmJMdgDfrekvnSxkxPDGdeqp'), - oracleSource: OracleSource.PYTH_PULL, + oracleSource: OracleSource.PYTH_LAZER, mint: new PublicKey('Eh6XEPhSwoLv5wFApukmnaVSHQ6sAnoD9BmgmwQoN2sN'), precision: new BN(10).pow(NINE), precisionExp: NINE, @@ -548,7 +548,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ marketIndex: 25, poolId: 0, oracle: new PublicKey('8DmXTfhhtb9kTcpTVfb6Ygx8WhZ8wexGqcpxfn23zooe'), - oracleSource: OracleSource.PYTH_PULL, + oracleSource: OracleSource.PYTH_LAZER, mint: new PublicKey('BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85'), precision: LAMPORTS_PRECISION, precisionExp: LAMPORTS_EXP, @@ -589,7 +589,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ marketIndex: 28, poolId: 0, oracle: new PublicKey('7pT9mxKXyvfaZKeKy1oe2oV2K1RFtF7tPEJHUY3h2vVV'), - oracleSource: OracleSource.PYTH_STABLE_COIN_PULL, + oracleSource: OracleSource.PYTH_LAZER_STABLE_COIN, mint: new PublicKey('USDSwr9ApdHk5bvJKMjzff41FfuX8bSxdKcR81vTwcA'), precision: new BN(10).pow(SIX), precisionExp: SIX, @@ -806,7 +806,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ marketIndex: 45, poolId: 0, oracle: new PublicKey('CN9QvvbGQzMnN8vJaSek2so4vFnTqgJDFrdJB8Y4tQfB'), - oracleSource: OracleSource.PYTH_PULL, + oracleSource: OracleSource.PYTH_LAZER, mint: new PublicKey('zBTCug3er3tLyffELcvDNrKkCymbPWysGcWihESYfLg'), precision: new BN(10).pow(EIGHT), precisionExp: EIGHT, From 4706d90b02b09f80a7afa793cf76cb7c44627f52 Mon Sep 17 00:00:00 2001 From: 0xbigz <83473873+0xbigz@users.noreply.github.com> Date: Wed, 5 Nov 2025 15:01:56 -0500 Subject: [PATCH 3/3] 1more --- sdk/src/constants/spotMarkets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/constants/spotMarkets.ts b/sdk/src/constants/spotMarkets.ts index 10191291c..f66a52b0e 100644 --- a/sdk/src/constants/spotMarkets.ts +++ b/sdk/src/constants/spotMarkets.ts @@ -196,7 +196,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [ marketIndex: 2, poolId: 0, oracle: new PublicKey('FAq7hqjn7FWGXKDwJHzsXGgBcydGTcK4kziJpAGWXjDb'), - oracleSource: OracleSource.PYTH_PULL, + oracleSource: OracleSource.PYTH_LAZER, mint: new PublicKey('mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So'), precision: new BN(10).pow(NINE), precisionExp: NINE,