@whetstone-research/doppler-sdk 1.0.29 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -885,13 +885,13 @@ function decodeCosignerConfig(encodedAccount) {
885
885
  getCosignerConfigDecoder()
886
886
  );
887
887
  }
888
- async function fetchCosignerConfig(rpc, address6, config) {
889
- const maybeAccount = await fetchMaybeCosignerConfig(rpc, address6, config);
888
+ async function fetchCosignerConfig(rpc, address7, config) {
889
+ const maybeAccount = await fetchMaybeCosignerConfig(rpc, address7, config);
890
890
  kit.assertAccountExists(maybeAccount);
891
891
  return maybeAccount;
892
892
  }
893
- async function fetchMaybeCosignerConfig(rpc, address6, config) {
894
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
893
+ async function fetchMaybeCosignerConfig(rpc, address7, config) {
894
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
895
895
  return decodeCosignerConfig(maybeAccount);
896
896
  }
897
897
  async function fetchAllCosignerConfig(rpc, addresses, config) {
@@ -2200,6 +2200,7 @@ chunkQ7SFCCGT_cjs.__export(initializer_exports, {
2200
2200
  getInitConfigCodec: () => getInitConfigCodec,
2201
2201
  getInitConfigDecoder: () => getInitConfigDecoder,
2202
2202
  getInitConfigEncoder: () => getInitConfigEncoder,
2203
+ getInitConfigSize: () => getInitConfigSize,
2203
2204
  getInitializeConfigArgsCodec: () => getInitializeConfigArgsCodec2,
2204
2205
  getInitializeConfigArgsDecoder: () => getInitializeConfigArgsDecoder2,
2205
2206
  getInitializeConfigArgsEncoder: () => getInitializeConfigArgsEncoder2,
@@ -2238,43 +2239,55 @@ var INIT_CONFIG_DISCRIMINATOR = new Uint8Array([
2238
2239
  126
2239
2240
  ]);
2240
2241
  function getInitConfigEncoder() {
2241
- return kit.transformEncoder(
2242
- kit.getStructEncoder([
2243
- ["discriminator", kit.fixEncoderSize(kit.getBytesEncoder(), 8)],
2244
- ["admin", kit.getAddressEncoder()],
2245
- ["migratorAllowlistLen", kit.getU8Encoder()],
2246
- ["migratorAllowlist", kit.getArrayEncoder(kit.getAddressEncoder(), { size: 32 })],
2247
- ["hookAllowlistLen", kit.getU8Encoder()],
2248
- ["hookAllowlist", kit.getArrayEncoder(kit.getAddressEncoder(), { size: 32 })],
2249
- ["bump", kit.getU8Encoder()],
2250
- ["version", kit.getU8Encoder()],
2251
- ["protocolFeeBps", kit.getU16Encoder()],
2252
- ["minSwapFeeBps", kit.getU16Encoder()],
2253
- ["maxSwapFeeBps", kit.getU16Encoder()],
2254
- ["reserved", kit.fixEncoderSize(kit.getBytesEncoder(), 24)]
2255
- ]),
2256
- (value) => ({ ...value, discriminator: INIT_CONFIG_DISCRIMINATOR })
2242
+ return kit.fixEncoderSize(
2243
+ kit.transformEncoder(
2244
+ kit.getStructEncoder([
2245
+ ["discriminator", kit.fixEncoderSize(kit.getBytesEncoder(), 8)],
2246
+ ["admin", kit.getAddressEncoder()],
2247
+ ["migratorAllowlistLen", kit.getU8Encoder()],
2248
+ [
2249
+ "migratorAllowlist",
2250
+ kit.getArrayEncoder(kit.getAddressEncoder(), { size: 32 })
2251
+ ],
2252
+ ["hookAllowlistLen", kit.getU8Encoder()],
2253
+ ["hookAllowlist", kit.getArrayEncoder(kit.getAddressEncoder(), { size: 32 })],
2254
+ ["bump", kit.getU8Encoder()],
2255
+ ["version", kit.getU8Encoder()],
2256
+ ["protocolFeeBps", kit.getU16Encoder()],
2257
+ ["minSwapFeeBps", kit.getU16Encoder()],
2258
+ ["maxSwapFeeBps", kit.getU16Encoder()],
2259
+ ["reserved", kit.fixEncoderSize(kit.getBytesEncoder(), 24)]
2260
+ ]),
2261
+ (value) => ({ ...value, discriminator: INIT_CONFIG_DISCRIMINATOR })
2262
+ ),
2263
+ 2123
2257
2264
  );
2258
2265
  }
2259
2266
  function getInitConfigDecoder() {
2260
- return kit.getStructDecoder([
2261
- ["discriminator", kit.fixDecoderSize(kit.getBytesDecoder(), 8)],
2262
- ["admin", kit.getAddressDecoder()],
2263
- ["migratorAllowlistLen", kit.getU8Decoder()],
2264
- ["migratorAllowlist", kit.getArrayDecoder(kit.getAddressDecoder(), { size: 32 })],
2265
- ["hookAllowlistLen", kit.getU8Decoder()],
2266
- ["hookAllowlist", kit.getArrayDecoder(kit.getAddressDecoder(), { size: 32 })],
2267
- ["bump", kit.getU8Decoder()],
2268
- ["version", kit.getU8Decoder()],
2269
- ["protocolFeeBps", kit.getU16Decoder()],
2270
- ["minSwapFeeBps", kit.getU16Decoder()],
2271
- ["maxSwapFeeBps", kit.getU16Decoder()],
2272
- ["reserved", kit.fixDecoderSize(kit.getBytesDecoder(), 24)]
2273
- ]);
2267
+ return kit.fixDecoderSize(
2268
+ kit.getStructDecoder([
2269
+ ["discriminator", kit.fixDecoderSize(kit.getBytesDecoder(), 8)],
2270
+ ["admin", kit.getAddressDecoder()],
2271
+ ["migratorAllowlistLen", kit.getU8Decoder()],
2272
+ ["migratorAllowlist", kit.getArrayDecoder(kit.getAddressDecoder(), { size: 32 })],
2273
+ ["hookAllowlistLen", kit.getU8Decoder()],
2274
+ ["hookAllowlist", kit.getArrayDecoder(kit.getAddressDecoder(), { size: 32 })],
2275
+ ["bump", kit.getU8Decoder()],
2276
+ ["version", kit.getU8Decoder()],
2277
+ ["protocolFeeBps", kit.getU16Decoder()],
2278
+ ["minSwapFeeBps", kit.getU16Decoder()],
2279
+ ["maxSwapFeeBps", kit.getU16Decoder()],
2280
+ ["reserved", kit.fixDecoderSize(kit.getBytesDecoder(), 24)]
2281
+ ]),
2282
+ 2123
2283
+ );
2274
2284
  }
2275
2285
  function getInitConfigCodec() {
2276
2286
  return kit.combineCodec(getInitConfigEncoder(), getInitConfigDecoder());
2277
2287
  }
2288
+ function getInitConfigSize() {
2289
+ return 2123;
2290
+ }
2278
2291
  function getFeeBeneficiaryEncoder() {
2279
2292
  return kit.getStructEncoder([
2280
2293
  ["wallet", kit.getAddressEncoder()],
@@ -3407,13 +3420,13 @@ function decodeClaimReceipt(encodedAccount) {
3407
3420
  getClaimReceiptDecoder()
3408
3421
  );
3409
3422
  }
3410
- async function fetchClaimReceipt(rpc, address6, config) {
3411
- const maybeAccount = await fetchMaybeClaimReceipt(rpc, address6, config);
3423
+ async function fetchClaimReceipt(rpc, address7, config) {
3424
+ const maybeAccount = await fetchMaybeClaimReceipt(rpc, address7, config);
3412
3425
  kit.assertAccountExists(maybeAccount);
3413
3426
  return maybeAccount;
3414
3427
  }
3415
- async function fetchMaybeClaimReceipt(rpc, address6, config) {
3416
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
3428
+ async function fetchMaybeClaimReceipt(rpc, address7, config) {
3429
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
3417
3430
  return decodeClaimReceipt(maybeAccount);
3418
3431
  }
3419
3432
  async function fetchAllClaimReceipt(rpc, addresses, config) {
@@ -3477,13 +3490,13 @@ function decodeEntry(encodedAccount) {
3477
3490
  getEntryDecoder()
3478
3491
  );
3479
3492
  }
3480
- async function fetchEntry(rpc, address6, config) {
3481
- const maybeAccount = await fetchMaybeEntry(rpc, address6, config);
3493
+ async function fetchEntry(rpc, address7, config) {
3494
+ const maybeAccount = await fetchMaybeEntry(rpc, address7, config);
3482
3495
  kit.assertAccountExists(maybeAccount);
3483
3496
  return maybeAccount;
3484
3497
  }
3485
- async function fetchMaybeEntry(rpc, address6, config) {
3486
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
3498
+ async function fetchMaybeEntry(rpc, address7, config) {
3499
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
3487
3500
  return decodeEntry(maybeAccount);
3488
3501
  }
3489
3502
  async function fetchAllEntry(rpc, addresses, config) {
@@ -3545,13 +3558,13 @@ function decodeEntryByMint(encodedAccount) {
3545
3558
  getEntryByMintDecoder()
3546
3559
  );
3547
3560
  }
3548
- async function fetchEntryByMint(rpc, address6, config) {
3549
- const maybeAccount = await fetchMaybeEntryByMint(rpc, address6, config);
3561
+ async function fetchEntryByMint(rpc, address7, config) {
3562
+ const maybeAccount = await fetchMaybeEntryByMint(rpc, address7, config);
3550
3563
  kit.assertAccountExists(maybeAccount);
3551
3564
  return maybeAccount;
3552
3565
  }
3553
- async function fetchMaybeEntryByMint(rpc, address6, config) {
3554
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
3566
+ async function fetchMaybeEntryByMint(rpc, address7, config) {
3567
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
3555
3568
  return decodeEntryByMint(maybeAccount);
3556
3569
  }
3557
3570
  async function fetchAllEntryByMint(rpc, addresses, config) {
@@ -3580,39 +3593,48 @@ function getInitConfigDiscriminatorBytes() {
3580
3593
  return kit.fixEncoderSize(kit.getBytesEncoder(), 8).encode(INIT_CONFIG_DISCRIMINATOR2);
3581
3594
  }
3582
3595
  function getInitConfigEncoder2() {
3583
- return kit.transformEncoder(
3584
- kit.getStructEncoder([
3585
- ["discriminator", kit.fixEncoderSize(kit.getBytesEncoder(), 8)],
3586
- ["admin", kit.getAddressEncoder()],
3587
- ["migratorAllowlistLen", kit.getU8Encoder()],
3588
- ["migratorAllowlist", kit.getArrayEncoder(kit.getAddressEncoder(), { size: 32 })],
3589
- ["hookAllowlistLen", kit.getU8Encoder()],
3590
- ["hookAllowlist", kit.getArrayEncoder(kit.getAddressEncoder(), { size: 32 })],
3591
- ["bump", kit.getU8Encoder()],
3592
- ["version", kit.getU8Encoder()],
3593
- ["protocolFeeBps", kit.getU16Encoder()],
3594
- ["minSwapFeeBps", kit.getU16Encoder()],
3595
- ["maxSwapFeeBps", kit.getU16Encoder()],
3596
- ["reserved", kit.fixEncoderSize(kit.getBytesEncoder(), 24)]
3597
- ]),
3598
- (value) => ({ ...value, discriminator: INIT_CONFIG_DISCRIMINATOR2 })
3596
+ return kit.fixEncoderSize(
3597
+ kit.transformEncoder(
3598
+ kit.getStructEncoder([
3599
+ ["discriminator", kit.fixEncoderSize(kit.getBytesEncoder(), 8)],
3600
+ ["admin", kit.getAddressEncoder()],
3601
+ ["migratorAllowlistLen", kit.getU8Encoder()],
3602
+ [
3603
+ "migratorAllowlist",
3604
+ kit.getArrayEncoder(kit.getAddressEncoder(), { size: 32 })
3605
+ ],
3606
+ ["hookAllowlistLen", kit.getU8Encoder()],
3607
+ ["hookAllowlist", kit.getArrayEncoder(kit.getAddressEncoder(), { size: 32 })],
3608
+ ["bump", kit.getU8Encoder()],
3609
+ ["version", kit.getU8Encoder()],
3610
+ ["protocolFeeBps", kit.getU16Encoder()],
3611
+ ["minSwapFeeBps", kit.getU16Encoder()],
3612
+ ["maxSwapFeeBps", kit.getU16Encoder()],
3613
+ ["reserved", kit.fixEncoderSize(kit.getBytesEncoder(), 24)]
3614
+ ]),
3615
+ (value) => ({ ...value, discriminator: INIT_CONFIG_DISCRIMINATOR2 })
3616
+ ),
3617
+ 2123
3599
3618
  );
3600
3619
  }
3601
3620
  function getInitConfigDecoder2() {
3602
- return kit.getStructDecoder([
3603
- ["discriminator", kit.fixDecoderSize(kit.getBytesDecoder(), 8)],
3604
- ["admin", kit.getAddressDecoder()],
3605
- ["migratorAllowlistLen", kit.getU8Decoder()],
3606
- ["migratorAllowlist", kit.getArrayDecoder(kit.getAddressDecoder(), { size: 32 })],
3607
- ["hookAllowlistLen", kit.getU8Decoder()],
3608
- ["hookAllowlist", kit.getArrayDecoder(kit.getAddressDecoder(), { size: 32 })],
3609
- ["bump", kit.getU8Decoder()],
3610
- ["version", kit.getU8Decoder()],
3611
- ["protocolFeeBps", kit.getU16Decoder()],
3612
- ["minSwapFeeBps", kit.getU16Decoder()],
3613
- ["maxSwapFeeBps", kit.getU16Decoder()],
3614
- ["reserved", kit.fixDecoderSize(kit.getBytesDecoder(), 24)]
3615
- ]);
3621
+ return kit.fixDecoderSize(
3622
+ kit.getStructDecoder([
3623
+ ["discriminator", kit.fixDecoderSize(kit.getBytesDecoder(), 8)],
3624
+ ["admin", kit.getAddressDecoder()],
3625
+ ["migratorAllowlistLen", kit.getU8Decoder()],
3626
+ ["migratorAllowlist", kit.getArrayDecoder(kit.getAddressDecoder(), { size: 32 })],
3627
+ ["hookAllowlistLen", kit.getU8Decoder()],
3628
+ ["hookAllowlist", kit.getArrayDecoder(kit.getAddressDecoder(), { size: 32 })],
3629
+ ["bump", kit.getU8Decoder()],
3630
+ ["version", kit.getU8Decoder()],
3631
+ ["protocolFeeBps", kit.getU16Decoder()],
3632
+ ["minSwapFeeBps", kit.getU16Decoder()],
3633
+ ["maxSwapFeeBps", kit.getU16Decoder()],
3634
+ ["reserved", kit.fixDecoderSize(kit.getBytesDecoder(), 24)]
3635
+ ]),
3636
+ 2123
3637
+ );
3616
3638
  }
3617
3639
  function getInitConfigCodec2() {
3618
3640
  return kit.combineCodec(getInitConfigEncoder2(), getInitConfigDecoder2());
@@ -3623,13 +3645,13 @@ function decodeInitConfig(encodedAccount) {
3623
3645
  getInitConfigDecoder2()
3624
3646
  );
3625
3647
  }
3626
- async function fetchInitConfig(rpc, address6, config) {
3627
- const maybeAccount = await fetchMaybeInitConfig(rpc, address6, config);
3648
+ async function fetchInitConfig(rpc, address7, config) {
3649
+ const maybeAccount = await fetchMaybeInitConfig(rpc, address7, config);
3628
3650
  kit.assertAccountExists(maybeAccount);
3629
3651
  return maybeAccount;
3630
3652
  }
3631
- async function fetchMaybeInitConfig(rpc, address6, config) {
3632
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
3653
+ async function fetchMaybeInitConfig(rpc, address7, config) {
3654
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
3633
3655
  return decodeInitConfig(maybeAccount);
3634
3656
  }
3635
3657
  async function fetchAllInitConfig(rpc, addresses, config) {
@@ -3641,7 +3663,7 @@ async function fetchAllMaybeInitConfig(rpc, addresses, config) {
3641
3663
  const maybeAccounts = await kit.fetchEncodedAccounts(rpc, addresses, config);
3642
3664
  return maybeAccounts.map((maybeAccount) => decodeInitConfig(maybeAccount));
3643
3665
  }
3644
- function getInitConfigSize() {
3666
+ function getInitConfigSize2() {
3645
3667
  return 2123;
3646
3668
  }
3647
3669
  function getAccumulatorUpdatedEncoder() {
@@ -3929,13 +3951,13 @@ function decodeLaunch(encodedAccount) {
3929
3951
  getLaunchDecoder2()
3930
3952
  );
3931
3953
  }
3932
- async function fetchLaunch(rpc, address6, config) {
3933
- const maybeAccount = await fetchMaybeLaunch(rpc, address6, config);
3954
+ async function fetchLaunch(rpc, address7, config) {
3955
+ const maybeAccount = await fetchMaybeLaunch(rpc, address7, config);
3934
3956
  kit.assertAccountExists(maybeAccount);
3935
3957
  return maybeAccount;
3936
3958
  }
3937
- async function fetchMaybeLaunch(rpc, address6, config) {
3938
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
3959
+ async function fetchMaybeLaunch(rpc, address7, config) {
3960
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
3939
3961
  return decodeLaunch(maybeAccount);
3940
3962
  }
3941
3963
  async function fetchAllLaunch(rpc, addresses, config) {
@@ -4009,13 +4031,13 @@ function decodeMarket(encodedAccount) {
4009
4031
  getMarketDecoder()
4010
4032
  );
4011
4033
  }
4012
- async function fetchMarket(rpc, address6, config) {
4013
- const maybeAccount = await fetchMaybeMarket(rpc, address6, config);
4034
+ async function fetchMarket(rpc, address7, config) {
4035
+ const maybeAccount = await fetchMaybeMarket(rpc, address7, config);
4014
4036
  kit.assertAccountExists(maybeAccount);
4015
4037
  return maybeAccount;
4016
4038
  }
4017
- async function fetchMaybeMarket(rpc, address6, config) {
4018
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
4039
+ async function fetchMaybeMarket(rpc, address7, config) {
4040
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
4019
4041
  return decodeMarket(maybeAccount);
4020
4042
  }
4021
4043
  async function fetchAllMarket(rpc, addresses, config) {
@@ -4081,13 +4103,13 @@ function decodeOracleState2(encodedAccount) {
4081
4103
  getOracleStateDecoder()
4082
4104
  );
4083
4105
  }
4084
- async function fetchOracleState(rpc, address6, config) {
4085
- const maybeAccount = await fetchMaybeOracleState(rpc, address6, config);
4106
+ async function fetchOracleState(rpc, address7, config) {
4107
+ const maybeAccount = await fetchMaybeOracleState(rpc, address7, config);
4086
4108
  kit.assertAccountExists(maybeAccount);
4087
4109
  return maybeAccount;
4088
4110
  }
4089
- async function fetchMaybeOracleState(rpc, address6, config) {
4090
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
4111
+ async function fetchMaybeOracleState(rpc, address7, config) {
4112
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
4091
4113
  return decodeOracleState2(maybeAccount);
4092
4114
  }
4093
4115
  async function fetchAllOracleState(rpc, addresses, config) {
@@ -6261,8 +6283,8 @@ async function createSpotPoolInstruction(input) {
6261
6283
  }
6262
6284
 
6263
6285
  // src/solana/migrators/cpmmMigrator/client.ts
6264
- async function fetchCpmmMigratorState(rpc, address6) {
6265
- const response = await rpc.getAccountInfo(address6, { encoding: "base64" }).send();
6286
+ async function fetchCpmmMigratorState(rpc, address7) {
6287
+ const response = await rpc.getAccountInfo(address7, { encoding: "base64" }).send();
6266
6288
  if (!response.value) return null;
6267
6289
  return getCpmmMigratorStateDecoder().decode(
6268
6290
  chunk7PXLEMBJ_cjs.base64ToBytes(response.value.data[0])
@@ -6325,8 +6347,8 @@ async function buildCpmmMigrationRemainingAccounts({
6325
6347
  { address: migrationAuthority, role: kit.AccountRole.READONLY },
6326
6348
  { address: adminBaseAta, role: kit.AccountRole.WRITABLE },
6327
6349
  { address: adminQuoteAta, role: kit.AccountRole.WRITABLE },
6328
- ...recipientAtas.map((address6) => ({
6329
- address: address6,
6350
+ ...recipientAtas.map((address7) => ({
6351
+ address: address7,
6330
6352
  role: kit.AccountRole.WRITABLE
6331
6353
  }))
6332
6354
  ],
@@ -6813,8 +6835,8 @@ function assertTransactionMessageFitsWithLookupTable(transactionMessage, lookupT
6813
6835
  return assertTransactionMessageFits(compressedMessage, options);
6814
6836
  }
6815
6837
  var addressCodec6 = kit.getAddressCodec();
6816
- async function fetchLaunch2(rpc, address6, config) {
6817
- const response = await rpc.getAccountInfo(address6, {
6838
+ async function fetchLaunch2(rpc, address7, config) {
6839
+ const response = await rpc.getAccountInfo(address7, {
6818
6840
  encoding: "base64",
6819
6841
  commitment: config?.commitment
6820
6842
  }).send();
@@ -7001,7 +7023,7 @@ chunkQ7SFCCGT_cjs.__export(predictionMigrator_exports, {
7001
7023
  getInitConfigDecoder: () => getInitConfigDecoder2,
7002
7024
  getInitConfigDiscriminatorBytes: () => getInitConfigDiscriminatorBytes,
7003
7025
  getInitConfigEncoder: () => getInitConfigEncoder2,
7004
- getInitConfigSize: () => getInitConfigSize,
7026
+ getInitConfigSize: () => getInitConfigSize2,
7005
7027
  getLaunchCodec: () => getLaunchCodec2,
7006
7028
  getLaunchDecoder: () => getLaunchDecoder2,
7007
7029
  getLaunchDiscriminatorBytes: () => getLaunchDiscriminatorBytes,
@@ -7219,13 +7241,13 @@ function decodeOracleState3(encodedAccount) {
7219
7241
  getOracleStateDecoder2()
7220
7242
  );
7221
7243
  }
7222
- async function fetchOracleState2(rpc, address6, config) {
7223
- const maybeAccount = await fetchMaybeOracleState2(rpc, address6, config);
7244
+ async function fetchOracleState2(rpc, address7, config) {
7245
+ const maybeAccount = await fetchMaybeOracleState2(rpc, address7, config);
7224
7246
  kit.assertAccountExists(maybeAccount);
7225
7247
  return maybeAccount;
7226
7248
  }
7227
- async function fetchMaybeOracleState2(rpc, address6, config) {
7228
- const maybeAccount = await kit.fetchEncodedAccount(rpc, address6, config);
7249
+ async function fetchMaybeOracleState2(rpc, address7, config) {
7250
+ const maybeAccount = await kit.fetchEncodedAccount(rpc, address7, config);
7229
7251
  return decodeOracleState3(maybeAccount);
7230
7252
  }
7231
7253
  async function fetchAllOracleState2(rpc, addresses, config) {
@@ -7886,14 +7908,20 @@ async function assertMigrationQuoteThreshold({
7886
7908
  }
7887
7909
  return progress;
7888
7910
  }
7889
-
7890
- // src/solana/deployment.ts
7891
7911
  var DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES = {
7892
7912
  cpmmProgram: chunk4CI2M2F6_cjs.CPMM_PROGRAM_ID,
7893
7913
  initializerProgram: INITIALIZER_PROGRAM_ID,
7894
7914
  cpmmMigratorProgram: CPMM_MIGRATOR_PROGRAM_ID,
7895
7915
  cpmmHookProgram: CPMM_HOOK_PROGRAM_ID
7896
7916
  };
7917
+ var DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES = {
7918
+ cpmmProgram: kit.address("5pXzd9UiWrVxATCYWmgo5EbfxzXqHYhfSKGdCPXPz7vK"),
7919
+ initializerProgram: kit.address("4carc9eePfE7jKUXdCAYMhcPf4awEFpZPrz1sTykdss1"),
7920
+ cpmmMigratorProgram: kit.address(
7921
+ "H71WD4tsiCCipro4urykWHySH1ryvLTmqEdNbHTGwb3o"
7922
+ ),
7923
+ cpmmHookProgram: kit.address("BeyqffXEVgLpM3fQ1zjk8YnZzQN9sMVrCKtNKwSxNATr")
7924
+ };
7897
7925
  async function deriveSolanaCpmmDeployment(programs = DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES) {
7898
7926
  const [cpmmConfig] = await chunk4CI2M2F6_cjs.getConfigAddress(programs.cpmmProgram);
7899
7927
  const [initializerConfig] = await getConfigAddress2(
@@ -7907,6 +7935,7 @@ async function deriveSolanaCpmmDeployment(programs = DOPPLER_SOLANA_DEVNET_PROGR
7907
7935
  }
7908
7936
 
7909
7937
  exports.DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES = DOPPLER_SOLANA_DEVNET_PROGRAM_ADDRESSES;
7938
+ exports.DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES = DOPPLER_SOLANA_MAINNET_PROGRAM_ADDRESSES;
7910
7939
  exports.assertMigrationQuoteThreshold = assertMigrationQuoteThreshold;
7911
7940
  exports.cpmm = cpmm_exports;
7912
7941
  exports.cpmmHook = cpmmHook_exports;