@crypticdot/defituna-client 3.5.10 → 3.5.12

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.
package/dist/index.js CHANGED
@@ -345,7 +345,9 @@ function getMarketEncoder() {
345
345
  ["spotPositionSizeLimitB", getU64Encoder2()],
346
346
  ["vaultA", getAddressEncoder2()],
347
347
  ["vaultB", getAddressEncoder2()],
348
- ["reserved", fixEncoderSize2(getBytesEncoder2(), 127)]
348
+ ["badDebtA", getU64Encoder2()],
349
+ ["badDebtB", getU64Encoder2()],
350
+ ["reserved", fixEncoderSize2(getBytesEncoder2(), 111)]
349
351
  ]),
350
352
  (value) => ({ ...value, discriminator: MARKET_DISCRIMINATOR })
351
353
  );
@@ -376,7 +378,9 @@ function getMarketDecoder() {
376
378
  ["spotPositionSizeLimitB", getU64Decoder2()],
377
379
  ["vaultA", getAddressDecoder2()],
378
380
  ["vaultB", getAddressDecoder2()],
379
- ["reserved", fixDecoderSize2(getBytesDecoder2(), 127)]
381
+ ["badDebtA", getU64Decoder2()],
382
+ ["badDebtB", getU64Decoder2()],
383
+ ["reserved", fixDecoderSize2(getBytesDecoder2(), 111)]
380
384
  ]);
381
385
  }
382
386
  function getMarketCodec() {
@@ -1146,27 +1150,28 @@ var TunaInstruction = /* @__PURE__ */ ((TunaInstruction2) => {
1146
1150
  TunaInstruction2[TunaInstruction2["RebalanceTunaLpPositionOrca"] = 35] = "RebalanceTunaLpPositionOrca";
1147
1151
  TunaInstruction2[TunaInstruction2["RepayBadDebt"] = 36] = "RepayBadDebt";
1148
1152
  TunaInstruction2[TunaInstruction2["RepayTunaLpPositionDebt"] = 37] = "RepayTunaLpPositionDebt";
1149
- TunaInstruction2[TunaInstruction2["ResetTunaSpotPosition"] = 38] = "ResetTunaSpotPosition";
1150
- TunaInstruction2[TunaInstruction2["SetAdminAuthority"] = 39] = "SetAdminAuthority";
1151
- TunaInstruction2[TunaInstruction2["SetDefaultLiquidationFeeRate"] = 40] = "SetDefaultLiquidationFeeRate";
1152
- TunaInstruction2[TunaInstruction2["SetDefaultMaxPercentageOfLeftovers"] = 41] = "SetDefaultMaxPercentageOfLeftovers";
1153
- TunaInstruction2[TunaInstruction2["SetDefaultMaxSwapSlippage"] = 42] = "SetDefaultMaxSwapSlippage";
1154
- TunaInstruction2[TunaInstruction2["SetDefaultOraclePriceDeviationThreshold"] = 43] = "SetDefaultOraclePriceDeviationThreshold";
1155
- TunaInstruction2[TunaInstruction2["SetDefaultProtocolFeeRate"] = 44] = "SetDefaultProtocolFeeRate";
1156
- TunaInstruction2[TunaInstruction2["SetDefaultRebalanceFeeRate"] = 45] = "SetDefaultRebalanceFeeRate";
1157
- TunaInstruction2[TunaInstruction2["SetFeeRecipient"] = 46] = "SetFeeRecipient";
1158
- TunaInstruction2[TunaInstruction2["SetLiquidatorAuthority"] = 47] = "SetLiquidatorAuthority";
1159
- TunaInstruction2[TunaInstruction2["SetOraclePriceUpdateAuthority"] = 48] = "SetOraclePriceUpdateAuthority";
1160
- TunaInstruction2[TunaInstruction2["SetOwnerAuthority"] = 49] = "SetOwnerAuthority";
1161
- TunaInstruction2[TunaInstruction2["SetSuspendedState"] = 50] = "SetSuspendedState";
1162
- TunaInstruction2[TunaInstruction2["SetTunaLpPositionFlags"] = 51] = "SetTunaLpPositionFlags";
1163
- TunaInstruction2[TunaInstruction2["SetTunaLpPositionLimitOrders"] = 52] = "SetTunaLpPositionLimitOrders";
1164
- TunaInstruction2[TunaInstruction2["SetTunaLpPositionRebalanceThreshold"] = 53] = "SetTunaLpPositionRebalanceThreshold";
1165
- TunaInstruction2[TunaInstruction2["SetTunaSpotPositionLimitOrders"] = 54] = "SetTunaSpotPositionLimitOrders";
1166
- TunaInstruction2[TunaInstruction2["UpdateMarket"] = 55] = "UpdateMarket";
1167
- TunaInstruction2[TunaInstruction2["UpdateOraclePrice"] = 56] = "UpdateOraclePrice";
1168
- TunaInstruction2[TunaInstruction2["UpdateVault"] = 57] = "UpdateVault";
1169
- TunaInstruction2[TunaInstruction2["Withdraw"] = 58] = "Withdraw";
1153
+ TunaInstruction2[TunaInstruction2["ResetMarketBadDebt"] = 38] = "ResetMarketBadDebt";
1154
+ TunaInstruction2[TunaInstruction2["ResetTunaSpotPosition"] = 39] = "ResetTunaSpotPosition";
1155
+ TunaInstruction2[TunaInstruction2["SetAdminAuthority"] = 40] = "SetAdminAuthority";
1156
+ TunaInstruction2[TunaInstruction2["SetDefaultLiquidationFeeRate"] = 41] = "SetDefaultLiquidationFeeRate";
1157
+ TunaInstruction2[TunaInstruction2["SetDefaultMaxPercentageOfLeftovers"] = 42] = "SetDefaultMaxPercentageOfLeftovers";
1158
+ TunaInstruction2[TunaInstruction2["SetDefaultMaxSwapSlippage"] = 43] = "SetDefaultMaxSwapSlippage";
1159
+ TunaInstruction2[TunaInstruction2["SetDefaultOraclePriceDeviationThreshold"] = 44] = "SetDefaultOraclePriceDeviationThreshold";
1160
+ TunaInstruction2[TunaInstruction2["SetDefaultProtocolFeeRate"] = 45] = "SetDefaultProtocolFeeRate";
1161
+ TunaInstruction2[TunaInstruction2["SetDefaultRebalanceFeeRate"] = 46] = "SetDefaultRebalanceFeeRate";
1162
+ TunaInstruction2[TunaInstruction2["SetFeeRecipient"] = 47] = "SetFeeRecipient";
1163
+ TunaInstruction2[TunaInstruction2["SetLiquidatorAuthority"] = 48] = "SetLiquidatorAuthority";
1164
+ TunaInstruction2[TunaInstruction2["SetOraclePriceUpdateAuthority"] = 49] = "SetOraclePriceUpdateAuthority";
1165
+ TunaInstruction2[TunaInstruction2["SetOwnerAuthority"] = 50] = "SetOwnerAuthority";
1166
+ TunaInstruction2[TunaInstruction2["SetSuspendedState"] = 51] = "SetSuspendedState";
1167
+ TunaInstruction2[TunaInstruction2["SetTunaLpPositionFlags"] = 52] = "SetTunaLpPositionFlags";
1168
+ TunaInstruction2[TunaInstruction2["SetTunaLpPositionLimitOrders"] = 53] = "SetTunaLpPositionLimitOrders";
1169
+ TunaInstruction2[TunaInstruction2["SetTunaLpPositionRebalanceThreshold"] = 54] = "SetTunaLpPositionRebalanceThreshold";
1170
+ TunaInstruction2[TunaInstruction2["SetTunaSpotPositionLimitOrders"] = 55] = "SetTunaSpotPositionLimitOrders";
1171
+ TunaInstruction2[TunaInstruction2["UpdateMarket"] = 56] = "UpdateMarket";
1172
+ TunaInstruction2[TunaInstruction2["UpdateOraclePrice"] = 57] = "UpdateOraclePrice";
1173
+ TunaInstruction2[TunaInstruction2["UpdateVault"] = 58] = "UpdateVault";
1174
+ TunaInstruction2[TunaInstruction2["Withdraw"] = 59] = "Withdraw";
1170
1175
  return TunaInstruction2;
1171
1176
  })(TunaInstruction || {});
1172
1177
  function identifyTunaInstruction(instruction) {
@@ -1513,6 +1518,15 @@ function identifyTunaInstruction(instruction) {
1513
1518
  )) {
1514
1519
  return 37 /* RepayTunaLpPositionDebt */;
1515
1520
  }
1521
+ if (containsBytes(
1522
+ data,
1523
+ fixEncoderSize8(getBytesEncoder8(), 8).encode(
1524
+ new Uint8Array([157, 174, 126, 44, 249, 40, 241, 118])
1525
+ ),
1526
+ 0
1527
+ )) {
1528
+ return 38 /* ResetMarketBadDebt */;
1529
+ }
1516
1530
  if (containsBytes(
1517
1531
  data,
1518
1532
  fixEncoderSize8(getBytesEncoder8(), 8).encode(
@@ -1520,7 +1534,7 @@ function identifyTunaInstruction(instruction) {
1520
1534
  ),
1521
1535
  0
1522
1536
  )) {
1523
- return 38 /* ResetTunaSpotPosition */;
1537
+ return 39 /* ResetTunaSpotPosition */;
1524
1538
  }
1525
1539
  if (containsBytes(
1526
1540
  data,
@@ -1529,7 +1543,7 @@ function identifyTunaInstruction(instruction) {
1529
1543
  ),
1530
1544
  0
1531
1545
  )) {
1532
- return 39 /* SetAdminAuthority */;
1546
+ return 40 /* SetAdminAuthority */;
1533
1547
  }
1534
1548
  if (containsBytes(
1535
1549
  data,
@@ -1538,7 +1552,7 @@ function identifyTunaInstruction(instruction) {
1538
1552
  ),
1539
1553
  0
1540
1554
  )) {
1541
- return 40 /* SetDefaultLiquidationFeeRate */;
1555
+ return 41 /* SetDefaultLiquidationFeeRate */;
1542
1556
  }
1543
1557
  if (containsBytes(
1544
1558
  data,
@@ -1547,7 +1561,7 @@ function identifyTunaInstruction(instruction) {
1547
1561
  ),
1548
1562
  0
1549
1563
  )) {
1550
- return 41 /* SetDefaultMaxPercentageOfLeftovers */;
1564
+ return 42 /* SetDefaultMaxPercentageOfLeftovers */;
1551
1565
  }
1552
1566
  if (containsBytes(
1553
1567
  data,
@@ -1556,7 +1570,7 @@ function identifyTunaInstruction(instruction) {
1556
1570
  ),
1557
1571
  0
1558
1572
  )) {
1559
- return 42 /* SetDefaultMaxSwapSlippage */;
1573
+ return 43 /* SetDefaultMaxSwapSlippage */;
1560
1574
  }
1561
1575
  if (containsBytes(
1562
1576
  data,
@@ -1565,7 +1579,7 @@ function identifyTunaInstruction(instruction) {
1565
1579
  ),
1566
1580
  0
1567
1581
  )) {
1568
- return 43 /* SetDefaultOraclePriceDeviationThreshold */;
1582
+ return 44 /* SetDefaultOraclePriceDeviationThreshold */;
1569
1583
  }
1570
1584
  if (containsBytes(
1571
1585
  data,
@@ -1574,7 +1588,7 @@ function identifyTunaInstruction(instruction) {
1574
1588
  ),
1575
1589
  0
1576
1590
  )) {
1577
- return 44 /* SetDefaultProtocolFeeRate */;
1591
+ return 45 /* SetDefaultProtocolFeeRate */;
1578
1592
  }
1579
1593
  if (containsBytes(
1580
1594
  data,
@@ -1583,7 +1597,7 @@ function identifyTunaInstruction(instruction) {
1583
1597
  ),
1584
1598
  0
1585
1599
  )) {
1586
- return 45 /* SetDefaultRebalanceFeeRate */;
1600
+ return 46 /* SetDefaultRebalanceFeeRate */;
1587
1601
  }
1588
1602
  if (containsBytes(
1589
1603
  data,
@@ -1592,7 +1606,7 @@ function identifyTunaInstruction(instruction) {
1592
1606
  ),
1593
1607
  0
1594
1608
  )) {
1595
- return 46 /* SetFeeRecipient */;
1609
+ return 47 /* SetFeeRecipient */;
1596
1610
  }
1597
1611
  if (containsBytes(
1598
1612
  data,
@@ -1601,7 +1615,7 @@ function identifyTunaInstruction(instruction) {
1601
1615
  ),
1602
1616
  0
1603
1617
  )) {
1604
- return 47 /* SetLiquidatorAuthority */;
1618
+ return 48 /* SetLiquidatorAuthority */;
1605
1619
  }
1606
1620
  if (containsBytes(
1607
1621
  data,
@@ -1610,7 +1624,7 @@ function identifyTunaInstruction(instruction) {
1610
1624
  ),
1611
1625
  0
1612
1626
  )) {
1613
- return 48 /* SetOraclePriceUpdateAuthority */;
1627
+ return 49 /* SetOraclePriceUpdateAuthority */;
1614
1628
  }
1615
1629
  if (containsBytes(
1616
1630
  data,
@@ -1619,7 +1633,7 @@ function identifyTunaInstruction(instruction) {
1619
1633
  ),
1620
1634
  0
1621
1635
  )) {
1622
- return 49 /* SetOwnerAuthority */;
1636
+ return 50 /* SetOwnerAuthority */;
1623
1637
  }
1624
1638
  if (containsBytes(
1625
1639
  data,
@@ -1628,7 +1642,7 @@ function identifyTunaInstruction(instruction) {
1628
1642
  ),
1629
1643
  0
1630
1644
  )) {
1631
- return 50 /* SetSuspendedState */;
1645
+ return 51 /* SetSuspendedState */;
1632
1646
  }
1633
1647
  if (containsBytes(
1634
1648
  data,
@@ -1637,7 +1651,7 @@ function identifyTunaInstruction(instruction) {
1637
1651
  ),
1638
1652
  0
1639
1653
  )) {
1640
- return 51 /* SetTunaLpPositionFlags */;
1654
+ return 52 /* SetTunaLpPositionFlags */;
1641
1655
  }
1642
1656
  if (containsBytes(
1643
1657
  data,
@@ -1646,7 +1660,7 @@ function identifyTunaInstruction(instruction) {
1646
1660
  ),
1647
1661
  0
1648
1662
  )) {
1649
- return 52 /* SetTunaLpPositionLimitOrders */;
1663
+ return 53 /* SetTunaLpPositionLimitOrders */;
1650
1664
  }
1651
1665
  if (containsBytes(
1652
1666
  data,
@@ -1655,7 +1669,7 @@ function identifyTunaInstruction(instruction) {
1655
1669
  ),
1656
1670
  0
1657
1671
  )) {
1658
- return 53 /* SetTunaLpPositionRebalanceThreshold */;
1672
+ return 54 /* SetTunaLpPositionRebalanceThreshold */;
1659
1673
  }
1660
1674
  if (containsBytes(
1661
1675
  data,
@@ -1664,7 +1678,7 @@ function identifyTunaInstruction(instruction) {
1664
1678
  ),
1665
1679
  0
1666
1680
  )) {
1667
- return 54 /* SetTunaSpotPositionLimitOrders */;
1681
+ return 55 /* SetTunaSpotPositionLimitOrders */;
1668
1682
  }
1669
1683
  if (containsBytes(
1670
1684
  data,
@@ -1673,7 +1687,7 @@ function identifyTunaInstruction(instruction) {
1673
1687
  ),
1674
1688
  0
1675
1689
  )) {
1676
- return 55 /* UpdateMarket */;
1690
+ return 56 /* UpdateMarket */;
1677
1691
  }
1678
1692
  if (containsBytes(
1679
1693
  data,
@@ -1682,7 +1696,7 @@ function identifyTunaInstruction(instruction) {
1682
1696
  ),
1683
1697
  0
1684
1698
  )) {
1685
- return 56 /* UpdateOraclePrice */;
1699
+ return 57 /* UpdateOraclePrice */;
1686
1700
  }
1687
1701
  if (containsBytes(
1688
1702
  data,
@@ -1691,7 +1705,7 @@ function identifyTunaInstruction(instruction) {
1691
1705
  ),
1692
1706
  0
1693
1707
  )) {
1694
- return 57 /* UpdateVault */;
1708
+ return 58 /* UpdateVault */;
1695
1709
  }
1696
1710
  if (containsBytes(
1697
1711
  data,
@@ -1700,7 +1714,7 @@ function identifyTunaInstruction(instruction) {
1700
1714
  ),
1701
1715
  0
1702
1716
  )) {
1703
- return 58 /* Withdraw */;
1717
+ return 59 /* Withdraw */;
1704
1718
  }
1705
1719
  throw new Error(
1706
1720
  "The provided instruction could not be identified as a tuna instruction."
@@ -8105,7 +8119,7 @@ function parseRepayTunaLpPositionDebtInstruction(instruction) {
8105
8119
  };
8106
8120
  }
8107
8121
 
8108
- // src/generated/instructions/resetTunaSpotPosition.ts
8122
+ // src/generated/instructions/resetMarketBadDebt.ts
8109
8123
  import {
8110
8124
  combineCodec as combineCodec53,
8111
8125
  fixDecoderSize as fixDecoderSize46,
@@ -8116,6 +8130,101 @@ import {
8116
8130
  getStructEncoder as getStructEncoder49,
8117
8131
  transformEncoder as transformEncoder46
8118
8132
  } from "@solana/kit";
8133
+ var RESET_MARKET_BAD_DEBT_DISCRIMINATOR = new Uint8Array([
8134
+ 157,
8135
+ 174,
8136
+ 126,
8137
+ 44,
8138
+ 249,
8139
+ 40,
8140
+ 241,
8141
+ 118
8142
+ ]);
8143
+ function getResetMarketBadDebtDiscriminatorBytes() {
8144
+ return fixEncoderSize47(getBytesEncoder47(), 8).encode(
8145
+ RESET_MARKET_BAD_DEBT_DISCRIMINATOR
8146
+ );
8147
+ }
8148
+ function getResetMarketBadDebtInstructionDataEncoder() {
8149
+ return transformEncoder46(
8150
+ getStructEncoder49([["discriminator", fixEncoderSize47(getBytesEncoder47(), 8)]]),
8151
+ (value) => ({
8152
+ ...value,
8153
+ discriminator: RESET_MARKET_BAD_DEBT_DISCRIMINATOR
8154
+ })
8155
+ );
8156
+ }
8157
+ function getResetMarketBadDebtInstructionDataDecoder() {
8158
+ return getStructDecoder49([
8159
+ ["discriminator", fixDecoderSize46(getBytesDecoder46(), 8)]
8160
+ ]);
8161
+ }
8162
+ function getResetMarketBadDebtInstructionDataCodec() {
8163
+ return combineCodec53(
8164
+ getResetMarketBadDebtInstructionDataEncoder(),
8165
+ getResetMarketBadDebtInstructionDataDecoder()
8166
+ );
8167
+ }
8168
+ function getResetMarketBadDebtInstruction(input, config) {
8169
+ const programAddress = config?.programAddress ?? TUNA_PROGRAM_ADDRESS;
8170
+ const originalAccounts = {
8171
+ authority: { value: input.authority ?? null, isWritable: true },
8172
+ tunaConfig: { value: input.tunaConfig ?? null, isWritable: false },
8173
+ market: { value: input.market ?? null, isWritable: true },
8174
+ vaultA: { value: input.vaultA ?? null, isWritable: true },
8175
+ vaultB: { value: input.vaultB ?? null, isWritable: true }
8176
+ };
8177
+ const accounts = originalAccounts;
8178
+ const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
8179
+ const instruction = {
8180
+ accounts: [
8181
+ getAccountMeta(accounts.authority),
8182
+ getAccountMeta(accounts.tunaConfig),
8183
+ getAccountMeta(accounts.market),
8184
+ getAccountMeta(accounts.vaultA),
8185
+ getAccountMeta(accounts.vaultB)
8186
+ ],
8187
+ programAddress,
8188
+ data: getResetMarketBadDebtInstructionDataEncoder().encode({})
8189
+ };
8190
+ return instruction;
8191
+ }
8192
+ function parseResetMarketBadDebtInstruction(instruction) {
8193
+ if (instruction.accounts.length < 5) {
8194
+ throw new Error("Not enough accounts");
8195
+ }
8196
+ let accountIndex = 0;
8197
+ const getNextAccount = () => {
8198
+ const accountMeta = instruction.accounts[accountIndex];
8199
+ accountIndex += 1;
8200
+ return accountMeta;
8201
+ };
8202
+ return {
8203
+ programAddress: instruction.programAddress,
8204
+ accounts: {
8205
+ authority: getNextAccount(),
8206
+ tunaConfig: getNextAccount(),
8207
+ market: getNextAccount(),
8208
+ vaultA: getNextAccount(),
8209
+ vaultB: getNextAccount()
8210
+ },
8211
+ data: getResetMarketBadDebtInstructionDataDecoder().decode(
8212
+ instruction.data
8213
+ )
8214
+ };
8215
+ }
8216
+
8217
+ // src/generated/instructions/resetTunaSpotPosition.ts
8218
+ import {
8219
+ combineCodec as combineCodec54,
8220
+ fixDecoderSize as fixDecoderSize47,
8221
+ fixEncoderSize as fixEncoderSize48,
8222
+ getBytesDecoder as getBytesDecoder47,
8223
+ getBytesEncoder as getBytesEncoder48,
8224
+ getStructDecoder as getStructDecoder50,
8225
+ getStructEncoder as getStructEncoder50,
8226
+ transformEncoder as transformEncoder47
8227
+ } from "@solana/kit";
8119
8228
  var RESET_TUNA_SPOT_POSITION_DISCRIMINATOR = new Uint8Array([
8120
8229
  194,
8121
8230
  68,
@@ -8127,14 +8236,14 @@ var RESET_TUNA_SPOT_POSITION_DISCRIMINATOR = new Uint8Array([
8127
8236
  127
8128
8237
  ]);
8129
8238
  function getResetTunaSpotPositionDiscriminatorBytes() {
8130
- return fixEncoderSize47(getBytesEncoder47(), 8).encode(
8239
+ return fixEncoderSize48(getBytesEncoder48(), 8).encode(
8131
8240
  RESET_TUNA_SPOT_POSITION_DISCRIMINATOR
8132
8241
  );
8133
8242
  }
8134
8243
  function getResetTunaSpotPositionInstructionDataEncoder() {
8135
- return transformEncoder46(
8136
- getStructEncoder49([
8137
- ["discriminator", fixEncoderSize47(getBytesEncoder47(), 8)],
8244
+ return transformEncoder47(
8245
+ getStructEncoder50([
8246
+ ["discriminator", fixEncoderSize48(getBytesEncoder48(), 8)],
8138
8247
  ["positionToken", getPoolTokenEncoder()],
8139
8248
  ["collateralToken", getPoolTokenEncoder()]
8140
8249
  ]),
@@ -8145,14 +8254,14 @@ function getResetTunaSpotPositionInstructionDataEncoder() {
8145
8254
  );
8146
8255
  }
8147
8256
  function getResetTunaSpotPositionInstructionDataDecoder() {
8148
- return getStructDecoder49([
8149
- ["discriminator", fixDecoderSize46(getBytesDecoder46(), 8)],
8257
+ return getStructDecoder50([
8258
+ ["discriminator", fixDecoderSize47(getBytesDecoder47(), 8)],
8150
8259
  ["positionToken", getPoolTokenDecoder()],
8151
8260
  ["collateralToken", getPoolTokenDecoder()]
8152
8261
  ]);
8153
8262
  }
8154
8263
  function getResetTunaSpotPositionInstructionDataCodec() {
8155
- return combineCodec53(
8264
+ return combineCodec54(
8156
8265
  getResetTunaSpotPositionInstructionDataEncoder(),
8157
8266
  getResetTunaSpotPositionInstructionDataDecoder()
8158
8267
  );
@@ -8220,16 +8329,16 @@ function parseResetTunaSpotPositionInstruction(instruction) {
8220
8329
 
8221
8330
  // src/generated/instructions/setAdminAuthority.ts
8222
8331
  import {
8223
- combineCodec as combineCodec54,
8224
- fixDecoderSize as fixDecoderSize47,
8225
- fixEncoderSize as fixEncoderSize48,
8332
+ combineCodec as combineCodec55,
8333
+ fixDecoderSize as fixDecoderSize48,
8334
+ fixEncoderSize as fixEncoderSize49,
8226
8335
  getAddressDecoder as getAddressDecoder12,
8227
8336
  getAddressEncoder as getAddressEncoder12,
8228
- getBytesDecoder as getBytesDecoder47,
8229
- getBytesEncoder as getBytesEncoder48,
8230
- getStructDecoder as getStructDecoder50,
8231
- getStructEncoder as getStructEncoder50,
8232
- transformEncoder as transformEncoder47
8337
+ getBytesDecoder as getBytesDecoder48,
8338
+ getBytesEncoder as getBytesEncoder49,
8339
+ getStructDecoder as getStructDecoder51,
8340
+ getStructEncoder as getStructEncoder51,
8341
+ transformEncoder as transformEncoder48
8233
8342
  } from "@solana/kit";
8234
8343
  var SET_ADMIN_AUTHORITY_DISCRIMINATOR = new Uint8Array([
8235
8344
  72,
@@ -8242,27 +8351,27 @@ var SET_ADMIN_AUTHORITY_DISCRIMINATOR = new Uint8Array([
8242
8351
  174
8243
8352
  ]);
8244
8353
  function getSetAdminAuthorityDiscriminatorBytes() {
8245
- return fixEncoderSize48(getBytesEncoder48(), 8).encode(
8354
+ return fixEncoderSize49(getBytesEncoder49(), 8).encode(
8246
8355
  SET_ADMIN_AUTHORITY_DISCRIMINATOR
8247
8356
  );
8248
8357
  }
8249
8358
  function getSetAdminAuthorityInstructionDataEncoder() {
8250
- return transformEncoder47(
8251
- getStructEncoder50([
8252
- ["discriminator", fixEncoderSize48(getBytesEncoder48(), 8)],
8359
+ return transformEncoder48(
8360
+ getStructEncoder51([
8361
+ ["discriminator", fixEncoderSize49(getBytesEncoder49(), 8)],
8253
8362
  ["adminAuthority", getAddressEncoder12()]
8254
8363
  ]),
8255
8364
  (value) => ({ ...value, discriminator: SET_ADMIN_AUTHORITY_DISCRIMINATOR })
8256
8365
  );
8257
8366
  }
8258
8367
  function getSetAdminAuthorityInstructionDataDecoder() {
8259
- return getStructDecoder50([
8260
- ["discriminator", fixDecoderSize47(getBytesDecoder47(), 8)],
8368
+ return getStructDecoder51([
8369
+ ["discriminator", fixDecoderSize48(getBytesDecoder48(), 8)],
8261
8370
  ["adminAuthority", getAddressDecoder12()]
8262
8371
  ]);
8263
8372
  }
8264
8373
  function getSetAdminAuthorityInstructionDataCodec() {
8265
- return combineCodec54(
8374
+ return combineCodec55(
8266
8375
  getSetAdminAuthorityInstructionDataEncoder(),
8267
8376
  getSetAdminAuthorityInstructionDataDecoder()
8268
8377
  );
@@ -8310,16 +8419,16 @@ function parseSetAdminAuthorityInstruction(instruction) {
8310
8419
 
8311
8420
  // src/generated/instructions/setDefaultLiquidationFeeRate.ts
8312
8421
  import {
8313
- combineCodec as combineCodec55,
8314
- fixDecoderSize as fixDecoderSize48,
8315
- fixEncoderSize as fixEncoderSize49,
8316
- getBytesDecoder as getBytesDecoder48,
8317
- getBytesEncoder as getBytesEncoder49,
8318
- getStructDecoder as getStructDecoder51,
8319
- getStructEncoder as getStructEncoder51,
8422
+ combineCodec as combineCodec56,
8423
+ fixDecoderSize as fixDecoderSize49,
8424
+ fixEncoderSize as fixEncoderSize50,
8425
+ getBytesDecoder as getBytesDecoder49,
8426
+ getBytesEncoder as getBytesEncoder50,
8427
+ getStructDecoder as getStructDecoder52,
8428
+ getStructEncoder as getStructEncoder52,
8320
8429
  getU32Decoder as getU32Decoder25,
8321
8430
  getU32Encoder as getU32Encoder25,
8322
- transformEncoder as transformEncoder48
8431
+ transformEncoder as transformEncoder49
8323
8432
  } from "@solana/kit";
8324
8433
  var SET_DEFAULT_LIQUIDATION_FEE_RATE_DISCRIMINATOR = new Uint8Array([
8325
8434
  108,
@@ -8332,14 +8441,14 @@ var SET_DEFAULT_LIQUIDATION_FEE_RATE_DISCRIMINATOR = new Uint8Array([
8332
8441
  100
8333
8442
  ]);
8334
8443
  function getSetDefaultLiquidationFeeRateDiscriminatorBytes() {
8335
- return fixEncoderSize49(getBytesEncoder49(), 8).encode(
8444
+ return fixEncoderSize50(getBytesEncoder50(), 8).encode(
8336
8445
  SET_DEFAULT_LIQUIDATION_FEE_RATE_DISCRIMINATOR
8337
8446
  );
8338
8447
  }
8339
8448
  function getSetDefaultLiquidationFeeRateInstructionDataEncoder() {
8340
- return transformEncoder48(
8341
- getStructEncoder51([
8342
- ["discriminator", fixEncoderSize49(getBytesEncoder49(), 8)],
8449
+ return transformEncoder49(
8450
+ getStructEncoder52([
8451
+ ["discriminator", fixEncoderSize50(getBytesEncoder50(), 8)],
8343
8452
  ["defaultLiquidationFeeRate", getU32Encoder25()]
8344
8453
  ]),
8345
8454
  (value) => ({
@@ -8349,13 +8458,13 @@ function getSetDefaultLiquidationFeeRateInstructionDataEncoder() {
8349
8458
  );
8350
8459
  }
8351
8460
  function getSetDefaultLiquidationFeeRateInstructionDataDecoder() {
8352
- return getStructDecoder51([
8353
- ["discriminator", fixDecoderSize48(getBytesDecoder48(), 8)],
8461
+ return getStructDecoder52([
8462
+ ["discriminator", fixDecoderSize49(getBytesDecoder49(), 8)],
8354
8463
  ["defaultLiquidationFeeRate", getU32Decoder25()]
8355
8464
  ]);
8356
8465
  }
8357
8466
  function getSetDefaultLiquidationFeeRateInstructionDataCodec() {
8358
- return combineCodec55(
8467
+ return combineCodec56(
8359
8468
  getSetDefaultLiquidationFeeRateInstructionDataEncoder(),
8360
8469
  getSetDefaultLiquidationFeeRateInstructionDataDecoder()
8361
8470
  );
@@ -8405,27 +8514,27 @@ function parseSetDefaultLiquidationFeeRateInstruction(instruction) {
8405
8514
 
8406
8515
  // src/generated/instructions/setDefaultMaxPercentageOfLeftovers.ts
8407
8516
  import {
8408
- combineCodec as combineCodec56,
8409
- fixDecoderSize as fixDecoderSize49,
8410
- fixEncoderSize as fixEncoderSize50,
8411
- getBytesDecoder as getBytesDecoder49,
8412
- getBytesEncoder as getBytesEncoder50,
8413
- getStructDecoder as getStructDecoder52,
8414
- getStructEncoder as getStructEncoder52,
8517
+ combineCodec as combineCodec57,
8518
+ fixDecoderSize as fixDecoderSize50,
8519
+ fixEncoderSize as fixEncoderSize51,
8520
+ getBytesDecoder as getBytesDecoder50,
8521
+ getBytesEncoder as getBytesEncoder51,
8522
+ getStructDecoder as getStructDecoder53,
8523
+ getStructEncoder as getStructEncoder53,
8415
8524
  getU32Decoder as getU32Decoder26,
8416
8525
  getU32Encoder as getU32Encoder26,
8417
- transformEncoder as transformEncoder49
8526
+ transformEncoder as transformEncoder50
8418
8527
  } from "@solana/kit";
8419
8528
  var SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR = new Uint8Array([37, 179, 107, 65, 203, 141, 183, 27]);
8420
8529
  function getSetDefaultMaxPercentageOfLeftoversDiscriminatorBytes() {
8421
- return fixEncoderSize50(getBytesEncoder50(), 8).encode(
8530
+ return fixEncoderSize51(getBytesEncoder51(), 8).encode(
8422
8531
  SET_DEFAULT_MAX_PERCENTAGE_OF_LEFTOVERS_DISCRIMINATOR
8423
8532
  );
8424
8533
  }
8425
8534
  function getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder() {
8426
- return transformEncoder49(
8427
- getStructEncoder52([
8428
- ["discriminator", fixEncoderSize50(getBytesEncoder50(), 8)],
8535
+ return transformEncoder50(
8536
+ getStructEncoder53([
8537
+ ["discriminator", fixEncoderSize51(getBytesEncoder51(), 8)],
8429
8538
  ["maxPercentageOfLeftovers", getU32Encoder26()]
8430
8539
  ]),
8431
8540
  (value) => ({
@@ -8435,13 +8544,13 @@ function getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder() {
8435
8544
  );
8436
8545
  }
8437
8546
  function getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder() {
8438
- return getStructDecoder52([
8439
- ["discriminator", fixDecoderSize49(getBytesDecoder49(), 8)],
8547
+ return getStructDecoder53([
8548
+ ["discriminator", fixDecoderSize50(getBytesDecoder50(), 8)],
8440
8549
  ["maxPercentageOfLeftovers", getU32Decoder26()]
8441
8550
  ]);
8442
8551
  }
8443
8552
  function getSetDefaultMaxPercentageOfLeftoversInstructionDataCodec() {
8444
- return combineCodec56(
8553
+ return combineCodec57(
8445
8554
  getSetDefaultMaxPercentageOfLeftoversInstructionDataEncoder(),
8446
8555
  getSetDefaultMaxPercentageOfLeftoversInstructionDataDecoder()
8447
8556
  );
@@ -8491,16 +8600,16 @@ function parseSetDefaultMaxPercentageOfLeftoversInstruction(instruction) {
8491
8600
 
8492
8601
  // src/generated/instructions/setDefaultMaxSwapSlippage.ts
8493
8602
  import {
8494
- combineCodec as combineCodec57,
8495
- fixDecoderSize as fixDecoderSize50,
8496
- fixEncoderSize as fixEncoderSize51,
8497
- getBytesDecoder as getBytesDecoder50,
8498
- getBytesEncoder as getBytesEncoder51,
8499
- getStructDecoder as getStructDecoder53,
8500
- getStructEncoder as getStructEncoder53,
8603
+ combineCodec as combineCodec58,
8604
+ fixDecoderSize as fixDecoderSize51,
8605
+ fixEncoderSize as fixEncoderSize52,
8606
+ getBytesDecoder as getBytesDecoder51,
8607
+ getBytesEncoder as getBytesEncoder52,
8608
+ getStructDecoder as getStructDecoder54,
8609
+ getStructEncoder as getStructEncoder54,
8501
8610
  getU32Decoder as getU32Decoder27,
8502
8611
  getU32Encoder as getU32Encoder27,
8503
- transformEncoder as transformEncoder50
8612
+ transformEncoder as transformEncoder51
8504
8613
  } from "@solana/kit";
8505
8614
  var SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR = new Uint8Array([
8506
8615
  122,
@@ -8513,14 +8622,14 @@ var SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR = new Uint8Array([
8513
8622
  181
8514
8623
  ]);
8515
8624
  function getSetDefaultMaxSwapSlippageDiscriminatorBytes() {
8516
- return fixEncoderSize51(getBytesEncoder51(), 8).encode(
8625
+ return fixEncoderSize52(getBytesEncoder52(), 8).encode(
8517
8626
  SET_DEFAULT_MAX_SWAP_SLIPPAGE_DISCRIMINATOR
8518
8627
  );
8519
8628
  }
8520
8629
  function getSetDefaultMaxSwapSlippageInstructionDataEncoder() {
8521
- return transformEncoder50(
8522
- getStructEncoder53([
8523
- ["discriminator", fixEncoderSize51(getBytesEncoder51(), 8)],
8630
+ return transformEncoder51(
8631
+ getStructEncoder54([
8632
+ ["discriminator", fixEncoderSize52(getBytesEncoder52(), 8)],
8524
8633
  ["maxSwapSlippage", getU32Encoder27()]
8525
8634
  ]),
8526
8635
  (value) => ({
@@ -8530,13 +8639,13 @@ function getSetDefaultMaxSwapSlippageInstructionDataEncoder() {
8530
8639
  );
8531
8640
  }
8532
8641
  function getSetDefaultMaxSwapSlippageInstructionDataDecoder() {
8533
- return getStructDecoder53([
8534
- ["discriminator", fixDecoderSize50(getBytesDecoder50(), 8)],
8642
+ return getStructDecoder54([
8643
+ ["discriminator", fixDecoderSize51(getBytesDecoder51(), 8)],
8535
8644
  ["maxSwapSlippage", getU32Decoder27()]
8536
8645
  ]);
8537
8646
  }
8538
8647
  function getSetDefaultMaxSwapSlippageInstructionDataCodec() {
8539
- return combineCodec57(
8648
+ return combineCodec58(
8540
8649
  getSetDefaultMaxSwapSlippageInstructionDataEncoder(),
8541
8650
  getSetDefaultMaxSwapSlippageInstructionDataDecoder()
8542
8651
  );
@@ -8586,27 +8695,27 @@ function parseSetDefaultMaxSwapSlippageInstruction(instruction) {
8586
8695
 
8587
8696
  // src/generated/instructions/setDefaultOraclePriceDeviationThreshold.ts
8588
8697
  import {
8589
- combineCodec as combineCodec58,
8590
- fixDecoderSize as fixDecoderSize51,
8591
- fixEncoderSize as fixEncoderSize52,
8592
- getBytesDecoder as getBytesDecoder51,
8593
- getBytesEncoder as getBytesEncoder52,
8594
- getStructDecoder as getStructDecoder54,
8595
- getStructEncoder as getStructEncoder54,
8698
+ combineCodec as combineCodec59,
8699
+ fixDecoderSize as fixDecoderSize52,
8700
+ fixEncoderSize as fixEncoderSize53,
8701
+ getBytesDecoder as getBytesDecoder52,
8702
+ getBytesEncoder as getBytesEncoder53,
8703
+ getStructDecoder as getStructDecoder55,
8704
+ getStructEncoder as getStructEncoder55,
8596
8705
  getU32Decoder as getU32Decoder28,
8597
8706
  getU32Encoder as getU32Encoder28,
8598
- transformEncoder as transformEncoder51
8707
+ transformEncoder as transformEncoder52
8599
8708
  } from "@solana/kit";
8600
8709
  var SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR = new Uint8Array([142, 158, 143, 67, 206, 91, 139, 120]);
8601
8710
  function getSetDefaultOraclePriceDeviationThresholdDiscriminatorBytes() {
8602
- return fixEncoderSize52(getBytesEncoder52(), 8).encode(
8711
+ return fixEncoderSize53(getBytesEncoder53(), 8).encode(
8603
8712
  SET_DEFAULT_ORACLE_PRICE_DEVIATION_THRESHOLD_DISCRIMINATOR
8604
8713
  );
8605
8714
  }
8606
8715
  function getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder() {
8607
- return transformEncoder51(
8608
- getStructEncoder54([
8609
- ["discriminator", fixEncoderSize52(getBytesEncoder52(), 8)],
8716
+ return transformEncoder52(
8717
+ getStructEncoder55([
8718
+ ["discriminator", fixEncoderSize53(getBytesEncoder53(), 8)],
8610
8719
  ["oraclePriceDeviationThreshold", getU32Encoder28()]
8611
8720
  ]),
8612
8721
  (value) => ({
@@ -8616,13 +8725,13 @@ function getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder() {
8616
8725
  );
8617
8726
  }
8618
8727
  function getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder() {
8619
- return getStructDecoder54([
8620
- ["discriminator", fixDecoderSize51(getBytesDecoder51(), 8)],
8728
+ return getStructDecoder55([
8729
+ ["discriminator", fixDecoderSize52(getBytesDecoder52(), 8)],
8621
8730
  ["oraclePriceDeviationThreshold", getU32Decoder28()]
8622
8731
  ]);
8623
8732
  }
8624
8733
  function getSetDefaultOraclePriceDeviationThresholdInstructionDataCodec() {
8625
- return combineCodec58(
8734
+ return combineCodec59(
8626
8735
  getSetDefaultOraclePriceDeviationThresholdInstructionDataEncoder(),
8627
8736
  getSetDefaultOraclePriceDeviationThresholdInstructionDataDecoder()
8628
8737
  );
@@ -8672,18 +8781,18 @@ function parseSetDefaultOraclePriceDeviationThresholdInstruction(instruction) {
8672
8781
 
8673
8782
  // src/generated/instructions/setDefaultProtocolFeeRate.ts
8674
8783
  import {
8675
- combineCodec as combineCodec59,
8676
- fixDecoderSize as fixDecoderSize52,
8677
- fixEncoderSize as fixEncoderSize53,
8678
- getBytesDecoder as getBytesDecoder52,
8679
- getBytesEncoder as getBytesEncoder53,
8680
- getStructDecoder as getStructDecoder55,
8681
- getStructEncoder as getStructEncoder55,
8682
- getU16Decoder as getU16Decoder8,
8683
- getU16Encoder as getU16Encoder8,
8684
- transformEncoder as transformEncoder52
8685
- } from "@solana/kit";
8686
- var SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR = new Uint8Array([
8784
+ combineCodec as combineCodec60,
8785
+ fixDecoderSize as fixDecoderSize53,
8786
+ fixEncoderSize as fixEncoderSize54,
8787
+ getBytesDecoder as getBytesDecoder53,
8788
+ getBytesEncoder as getBytesEncoder54,
8789
+ getStructDecoder as getStructDecoder56,
8790
+ getStructEncoder as getStructEncoder56,
8791
+ getU16Decoder as getU16Decoder8,
8792
+ getU16Encoder as getU16Encoder8,
8793
+ transformEncoder as transformEncoder53
8794
+ } from "@solana/kit";
8795
+ var SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR = new Uint8Array([
8687
8796
  107,
8688
8797
  205,
8689
8798
  249,
@@ -8694,14 +8803,14 @@ var SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR = new Uint8Array([
8694
8803
  0
8695
8804
  ]);
8696
8805
  function getSetDefaultProtocolFeeRateDiscriminatorBytes() {
8697
- return fixEncoderSize53(getBytesEncoder53(), 8).encode(
8806
+ return fixEncoderSize54(getBytesEncoder54(), 8).encode(
8698
8807
  SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR
8699
8808
  );
8700
8809
  }
8701
8810
  function getSetDefaultProtocolFeeRateInstructionDataEncoder() {
8702
- return transformEncoder52(
8703
- getStructEncoder55([
8704
- ["discriminator", fixEncoderSize53(getBytesEncoder53(), 8)],
8811
+ return transformEncoder53(
8812
+ getStructEncoder56([
8813
+ ["discriminator", fixEncoderSize54(getBytesEncoder54(), 8)],
8705
8814
  ["defaultProtocolFeeRate", getU16Encoder8()]
8706
8815
  ]),
8707
8816
  (value) => ({
@@ -8711,13 +8820,13 @@ function getSetDefaultProtocolFeeRateInstructionDataEncoder() {
8711
8820
  );
8712
8821
  }
8713
8822
  function getSetDefaultProtocolFeeRateInstructionDataDecoder() {
8714
- return getStructDecoder55([
8715
- ["discriminator", fixDecoderSize52(getBytesDecoder52(), 8)],
8823
+ return getStructDecoder56([
8824
+ ["discriminator", fixDecoderSize53(getBytesDecoder53(), 8)],
8716
8825
  ["defaultProtocolFeeRate", getU16Decoder8()]
8717
8826
  ]);
8718
8827
  }
8719
8828
  function getSetDefaultProtocolFeeRateInstructionDataCodec() {
8720
- return combineCodec59(
8829
+ return combineCodec60(
8721
8830
  getSetDefaultProtocolFeeRateInstructionDataEncoder(),
8722
8831
  getSetDefaultProtocolFeeRateInstructionDataDecoder()
8723
8832
  );
@@ -8767,16 +8876,16 @@ function parseSetDefaultProtocolFeeRateInstruction(instruction) {
8767
8876
 
8768
8877
  // src/generated/instructions/setDefaultRebalanceFeeRate.ts
8769
8878
  import {
8770
- combineCodec as combineCodec60,
8771
- fixDecoderSize as fixDecoderSize53,
8772
- fixEncoderSize as fixEncoderSize54,
8773
- getBytesDecoder as getBytesDecoder53,
8774
- getBytesEncoder as getBytesEncoder54,
8775
- getStructDecoder as getStructDecoder56,
8776
- getStructEncoder as getStructEncoder56,
8879
+ combineCodec as combineCodec61,
8880
+ fixDecoderSize as fixDecoderSize54,
8881
+ fixEncoderSize as fixEncoderSize55,
8882
+ getBytesDecoder as getBytesDecoder54,
8883
+ getBytesEncoder as getBytesEncoder55,
8884
+ getStructDecoder as getStructDecoder57,
8885
+ getStructEncoder as getStructEncoder57,
8777
8886
  getU32Decoder as getU32Decoder29,
8778
8887
  getU32Encoder as getU32Encoder29,
8779
- transformEncoder as transformEncoder53
8888
+ transformEncoder as transformEncoder54
8780
8889
  } from "@solana/kit";
8781
8890
  var SET_DEFAULT_REBALANCE_FEE_RATE_DISCRIMINATOR = new Uint8Array([
8782
8891
  18,
@@ -8789,14 +8898,14 @@ var SET_DEFAULT_REBALANCE_FEE_RATE_DISCRIMINATOR = new Uint8Array([
8789
8898
  204
8790
8899
  ]);
8791
8900
  function getSetDefaultRebalanceFeeRateDiscriminatorBytes() {
8792
- return fixEncoderSize54(getBytesEncoder54(), 8).encode(
8901
+ return fixEncoderSize55(getBytesEncoder55(), 8).encode(
8793
8902
  SET_DEFAULT_REBALANCE_FEE_RATE_DISCRIMINATOR
8794
8903
  );
8795
8904
  }
8796
8905
  function getSetDefaultRebalanceFeeRateInstructionDataEncoder() {
8797
- return transformEncoder53(
8798
- getStructEncoder56([
8799
- ["discriminator", fixEncoderSize54(getBytesEncoder54(), 8)],
8906
+ return transformEncoder54(
8907
+ getStructEncoder57([
8908
+ ["discriminator", fixEncoderSize55(getBytesEncoder55(), 8)],
8800
8909
  ["defaultRebalanceFeeRate", getU32Encoder29()]
8801
8910
  ]),
8802
8911
  (value) => ({
@@ -8806,13 +8915,13 @@ function getSetDefaultRebalanceFeeRateInstructionDataEncoder() {
8806
8915
  );
8807
8916
  }
8808
8917
  function getSetDefaultRebalanceFeeRateInstructionDataDecoder() {
8809
- return getStructDecoder56([
8810
- ["discriminator", fixDecoderSize53(getBytesDecoder53(), 8)],
8918
+ return getStructDecoder57([
8919
+ ["discriminator", fixDecoderSize54(getBytesDecoder54(), 8)],
8811
8920
  ["defaultRebalanceFeeRate", getU32Decoder29()]
8812
8921
  ]);
8813
8922
  }
8814
8923
  function getSetDefaultRebalanceFeeRateInstructionDataCodec() {
8815
- return combineCodec60(
8924
+ return combineCodec61(
8816
8925
  getSetDefaultRebalanceFeeRateInstructionDataEncoder(),
8817
8926
  getSetDefaultRebalanceFeeRateInstructionDataDecoder()
8818
8927
  );
@@ -8862,16 +8971,16 @@ function parseSetDefaultRebalanceFeeRateInstruction(instruction) {
8862
8971
 
8863
8972
  // src/generated/instructions/setFeeRecipient.ts
8864
8973
  import {
8865
- combineCodec as combineCodec61,
8866
- fixDecoderSize as fixDecoderSize54,
8867
- fixEncoderSize as fixEncoderSize55,
8974
+ combineCodec as combineCodec62,
8975
+ fixDecoderSize as fixDecoderSize55,
8976
+ fixEncoderSize as fixEncoderSize56,
8868
8977
  getAddressDecoder as getAddressDecoder13,
8869
8978
  getAddressEncoder as getAddressEncoder13,
8870
- getBytesDecoder as getBytesDecoder54,
8871
- getBytesEncoder as getBytesEncoder55,
8872
- getStructDecoder as getStructDecoder57,
8873
- getStructEncoder as getStructEncoder57,
8874
- transformEncoder as transformEncoder54
8979
+ getBytesDecoder as getBytesDecoder55,
8980
+ getBytesEncoder as getBytesEncoder56,
8981
+ getStructDecoder as getStructDecoder58,
8982
+ getStructEncoder as getStructEncoder58,
8983
+ transformEncoder as transformEncoder55
8875
8984
  } from "@solana/kit";
8876
8985
  var SET_FEE_RECIPIENT_DISCRIMINATOR = new Uint8Array([
8877
8986
  227,
@@ -8884,27 +8993,27 @@ var SET_FEE_RECIPIENT_DISCRIMINATOR = new Uint8Array([
8884
8993
  66
8885
8994
  ]);
8886
8995
  function getSetFeeRecipientDiscriminatorBytes() {
8887
- return fixEncoderSize55(getBytesEncoder55(), 8).encode(
8996
+ return fixEncoderSize56(getBytesEncoder56(), 8).encode(
8888
8997
  SET_FEE_RECIPIENT_DISCRIMINATOR
8889
8998
  );
8890
8999
  }
8891
9000
  function getSetFeeRecipientInstructionDataEncoder() {
8892
- return transformEncoder54(
8893
- getStructEncoder57([
8894
- ["discriminator", fixEncoderSize55(getBytesEncoder55(), 8)],
9001
+ return transformEncoder55(
9002
+ getStructEncoder58([
9003
+ ["discriminator", fixEncoderSize56(getBytesEncoder56(), 8)],
8895
9004
  ["feeRecipient", getAddressEncoder13()]
8896
9005
  ]),
8897
9006
  (value) => ({ ...value, discriminator: SET_FEE_RECIPIENT_DISCRIMINATOR })
8898
9007
  );
8899
9008
  }
8900
9009
  function getSetFeeRecipientInstructionDataDecoder() {
8901
- return getStructDecoder57([
8902
- ["discriminator", fixDecoderSize54(getBytesDecoder54(), 8)],
9010
+ return getStructDecoder58([
9011
+ ["discriminator", fixDecoderSize55(getBytesDecoder55(), 8)],
8903
9012
  ["feeRecipient", getAddressDecoder13()]
8904
9013
  ]);
8905
9014
  }
8906
9015
  function getSetFeeRecipientInstructionDataCodec() {
8907
- return combineCodec61(
9016
+ return combineCodec62(
8908
9017
  getSetFeeRecipientInstructionDataEncoder(),
8909
9018
  getSetFeeRecipientInstructionDataDecoder()
8910
9019
  );
@@ -8952,16 +9061,16 @@ function parseSetFeeRecipientInstruction(instruction) {
8952
9061
 
8953
9062
  // src/generated/instructions/setLiquidatorAuthority.ts
8954
9063
  import {
8955
- combineCodec as combineCodec62,
8956
- fixDecoderSize as fixDecoderSize55,
8957
- fixEncoderSize as fixEncoderSize56,
9064
+ combineCodec as combineCodec63,
9065
+ fixDecoderSize as fixDecoderSize56,
9066
+ fixEncoderSize as fixEncoderSize57,
8958
9067
  getAddressDecoder as getAddressDecoder14,
8959
9068
  getAddressEncoder as getAddressEncoder14,
8960
- getBytesDecoder as getBytesDecoder55,
8961
- getBytesEncoder as getBytesEncoder56,
8962
- getStructDecoder as getStructDecoder58,
8963
- getStructEncoder as getStructEncoder58,
8964
- transformEncoder as transformEncoder55
9069
+ getBytesDecoder as getBytesDecoder56,
9070
+ getBytesEncoder as getBytesEncoder57,
9071
+ getStructDecoder as getStructDecoder59,
9072
+ getStructEncoder as getStructEncoder59,
9073
+ transformEncoder as transformEncoder56
8965
9074
  } from "@solana/kit";
8966
9075
  var SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR = new Uint8Array([
8967
9076
  246,
@@ -8974,14 +9083,14 @@ var SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR = new Uint8Array([
8974
9083
  143
8975
9084
  ]);
8976
9085
  function getSetLiquidatorAuthorityDiscriminatorBytes() {
8977
- return fixEncoderSize56(getBytesEncoder56(), 8).encode(
9086
+ return fixEncoderSize57(getBytesEncoder57(), 8).encode(
8978
9087
  SET_LIQUIDATOR_AUTHORITY_DISCRIMINATOR
8979
9088
  );
8980
9089
  }
8981
9090
  function getSetLiquidatorAuthorityInstructionDataEncoder() {
8982
- return transformEncoder55(
8983
- getStructEncoder58([
8984
- ["discriminator", fixEncoderSize56(getBytesEncoder56(), 8)],
9091
+ return transformEncoder56(
9092
+ getStructEncoder59([
9093
+ ["discriminator", fixEncoderSize57(getBytesEncoder57(), 8)],
8985
9094
  ["liquidatorAuthority", getAddressEncoder14()]
8986
9095
  ]),
8987
9096
  (value) => ({
@@ -8991,13 +9100,13 @@ function getSetLiquidatorAuthorityInstructionDataEncoder() {
8991
9100
  );
8992
9101
  }
8993
9102
  function getSetLiquidatorAuthorityInstructionDataDecoder() {
8994
- return getStructDecoder58([
8995
- ["discriminator", fixDecoderSize55(getBytesDecoder55(), 8)],
9103
+ return getStructDecoder59([
9104
+ ["discriminator", fixDecoderSize56(getBytesDecoder56(), 8)],
8996
9105
  ["liquidatorAuthority", getAddressDecoder14()]
8997
9106
  ]);
8998
9107
  }
8999
9108
  function getSetLiquidatorAuthorityInstructionDataCodec() {
9000
- return combineCodec62(
9109
+ return combineCodec63(
9001
9110
  getSetLiquidatorAuthorityInstructionDataEncoder(),
9002
9111
  getSetLiquidatorAuthorityInstructionDataDecoder()
9003
9112
  );
@@ -9047,16 +9156,16 @@ function parseSetLiquidatorAuthorityInstruction(instruction) {
9047
9156
 
9048
9157
  // src/generated/instructions/setOraclePriceUpdateAuthority.ts
9049
9158
  import {
9050
- combineCodec as combineCodec63,
9051
- fixDecoderSize as fixDecoderSize56,
9052
- fixEncoderSize as fixEncoderSize57,
9159
+ combineCodec as combineCodec64,
9160
+ fixDecoderSize as fixDecoderSize57,
9161
+ fixEncoderSize as fixEncoderSize58,
9053
9162
  getAddressDecoder as getAddressDecoder15,
9054
9163
  getAddressEncoder as getAddressEncoder15,
9055
- getBytesDecoder as getBytesDecoder56,
9056
- getBytesEncoder as getBytesEncoder57,
9057
- getStructDecoder as getStructDecoder59,
9058
- getStructEncoder as getStructEncoder59,
9059
- transformEncoder as transformEncoder56
9164
+ getBytesDecoder as getBytesDecoder57,
9165
+ getBytesEncoder as getBytesEncoder58,
9166
+ getStructDecoder as getStructDecoder60,
9167
+ getStructEncoder as getStructEncoder60,
9168
+ transformEncoder as transformEncoder57
9060
9169
  } from "@solana/kit";
9061
9170
  var SET_ORACLE_PRICE_UPDATE_AUTHORITY_DISCRIMINATOR = new Uint8Array([
9062
9171
  49,
@@ -9069,14 +9178,14 @@ var SET_ORACLE_PRICE_UPDATE_AUTHORITY_DISCRIMINATOR = new Uint8Array([
9069
9178
  82
9070
9179
  ]);
9071
9180
  function getSetOraclePriceUpdateAuthorityDiscriminatorBytes() {
9072
- return fixEncoderSize57(getBytesEncoder57(), 8).encode(
9181
+ return fixEncoderSize58(getBytesEncoder58(), 8).encode(
9073
9182
  SET_ORACLE_PRICE_UPDATE_AUTHORITY_DISCRIMINATOR
9074
9183
  );
9075
9184
  }
9076
9185
  function getSetOraclePriceUpdateAuthorityInstructionDataEncoder() {
9077
- return transformEncoder56(
9078
- getStructEncoder59([
9079
- ["discriminator", fixEncoderSize57(getBytesEncoder57(), 8)],
9186
+ return transformEncoder57(
9187
+ getStructEncoder60([
9188
+ ["discriminator", fixEncoderSize58(getBytesEncoder58(), 8)],
9080
9189
  ["oraclePriceUpdateAuthority", getAddressEncoder15()]
9081
9190
  ]),
9082
9191
  (value) => ({
@@ -9086,13 +9195,13 @@ function getSetOraclePriceUpdateAuthorityInstructionDataEncoder() {
9086
9195
  );
9087
9196
  }
9088
9197
  function getSetOraclePriceUpdateAuthorityInstructionDataDecoder() {
9089
- return getStructDecoder59([
9090
- ["discriminator", fixDecoderSize56(getBytesDecoder56(), 8)],
9198
+ return getStructDecoder60([
9199
+ ["discriminator", fixDecoderSize57(getBytesDecoder57(), 8)],
9091
9200
  ["oraclePriceUpdateAuthority", getAddressDecoder15()]
9092
9201
  ]);
9093
9202
  }
9094
9203
  function getSetOraclePriceUpdateAuthorityInstructionDataCodec() {
9095
- return combineCodec63(
9204
+ return combineCodec64(
9096
9205
  getSetOraclePriceUpdateAuthorityInstructionDataEncoder(),
9097
9206
  getSetOraclePriceUpdateAuthorityInstructionDataDecoder()
9098
9207
  );
@@ -9142,16 +9251,16 @@ function parseSetOraclePriceUpdateAuthorityInstruction(instruction) {
9142
9251
 
9143
9252
  // src/generated/instructions/setOwnerAuthority.ts
9144
9253
  import {
9145
- combineCodec as combineCodec64,
9146
- fixDecoderSize as fixDecoderSize57,
9147
- fixEncoderSize as fixEncoderSize58,
9254
+ combineCodec as combineCodec65,
9255
+ fixDecoderSize as fixDecoderSize58,
9256
+ fixEncoderSize as fixEncoderSize59,
9148
9257
  getAddressDecoder as getAddressDecoder16,
9149
9258
  getAddressEncoder as getAddressEncoder16,
9150
- getBytesDecoder as getBytesDecoder57,
9151
- getBytesEncoder as getBytesEncoder58,
9152
- getStructDecoder as getStructDecoder60,
9153
- getStructEncoder as getStructEncoder60,
9154
- transformEncoder as transformEncoder57
9259
+ getBytesDecoder as getBytesDecoder58,
9260
+ getBytesEncoder as getBytesEncoder59,
9261
+ getStructDecoder as getStructDecoder61,
9262
+ getStructEncoder as getStructEncoder61,
9263
+ transformEncoder as transformEncoder58
9155
9264
  } from "@solana/kit";
9156
9265
  var SET_OWNER_AUTHORITY_DISCRIMINATOR = new Uint8Array([
9157
9266
  128,
@@ -9164,27 +9273,27 @@ var SET_OWNER_AUTHORITY_DISCRIMINATOR = new Uint8Array([
9164
9273
  117
9165
9274
  ]);
9166
9275
  function getSetOwnerAuthorityDiscriminatorBytes() {
9167
- return fixEncoderSize58(getBytesEncoder58(), 8).encode(
9276
+ return fixEncoderSize59(getBytesEncoder59(), 8).encode(
9168
9277
  SET_OWNER_AUTHORITY_DISCRIMINATOR
9169
9278
  );
9170
9279
  }
9171
9280
  function getSetOwnerAuthorityInstructionDataEncoder() {
9172
- return transformEncoder57(
9173
- getStructEncoder60([
9174
- ["discriminator", fixEncoderSize58(getBytesEncoder58(), 8)],
9281
+ return transformEncoder58(
9282
+ getStructEncoder61([
9283
+ ["discriminator", fixEncoderSize59(getBytesEncoder59(), 8)],
9175
9284
  ["ownerAuthority", getAddressEncoder16()]
9176
9285
  ]),
9177
9286
  (value) => ({ ...value, discriminator: SET_OWNER_AUTHORITY_DISCRIMINATOR })
9178
9287
  );
9179
9288
  }
9180
9289
  function getSetOwnerAuthorityInstructionDataDecoder() {
9181
- return getStructDecoder60([
9182
- ["discriminator", fixDecoderSize57(getBytesDecoder57(), 8)],
9290
+ return getStructDecoder61([
9291
+ ["discriminator", fixDecoderSize58(getBytesDecoder58(), 8)],
9183
9292
  ["ownerAuthority", getAddressDecoder16()]
9184
9293
  ]);
9185
9294
  }
9186
9295
  function getSetOwnerAuthorityInstructionDataCodec() {
9187
- return combineCodec64(
9296
+ return combineCodec65(
9188
9297
  getSetOwnerAuthorityInstructionDataEncoder(),
9189
9298
  getSetOwnerAuthorityInstructionDataDecoder()
9190
9299
  );
@@ -9232,16 +9341,16 @@ function parseSetOwnerAuthorityInstruction(instruction) {
9232
9341
 
9233
9342
  // src/generated/instructions/setSuspendedState.ts
9234
9343
  import {
9235
- combineCodec as combineCodec65,
9236
- fixDecoderSize as fixDecoderSize58,
9237
- fixEncoderSize as fixEncoderSize59,
9344
+ combineCodec as combineCodec66,
9345
+ fixDecoderSize as fixDecoderSize59,
9346
+ fixEncoderSize as fixEncoderSize60,
9238
9347
  getBooleanDecoder as getBooleanDecoder8,
9239
9348
  getBooleanEncoder as getBooleanEncoder8,
9240
- getBytesDecoder as getBytesDecoder58,
9241
- getBytesEncoder as getBytesEncoder59,
9242
- getStructDecoder as getStructDecoder61,
9243
- getStructEncoder as getStructEncoder61,
9244
- transformEncoder as transformEncoder58
9349
+ getBytesDecoder as getBytesDecoder59,
9350
+ getBytesEncoder as getBytesEncoder60,
9351
+ getStructDecoder as getStructDecoder62,
9352
+ getStructEncoder as getStructEncoder62,
9353
+ transformEncoder as transformEncoder59
9245
9354
  } from "@solana/kit";
9246
9355
  var SET_SUSPENDED_STATE_DISCRIMINATOR = new Uint8Array([
9247
9356
  145,
@@ -9254,14 +9363,14 @@ var SET_SUSPENDED_STATE_DISCRIMINATOR = new Uint8Array([
9254
9363
  32
9255
9364
  ]);
9256
9365
  function getSetSuspendedStateDiscriminatorBytes() {
9257
- return fixEncoderSize59(getBytesEncoder59(), 8).encode(
9366
+ return fixEncoderSize60(getBytesEncoder60(), 8).encode(
9258
9367
  SET_SUSPENDED_STATE_DISCRIMINATOR
9259
9368
  );
9260
9369
  }
9261
9370
  function getSetSuspendedStateInstructionDataEncoder() {
9262
- return transformEncoder58(
9263
- getStructEncoder61([
9264
- ["discriminator", fixEncoderSize59(getBytesEncoder59(), 8)],
9371
+ return transformEncoder59(
9372
+ getStructEncoder62([
9373
+ ["discriminator", fixEncoderSize60(getBytesEncoder60(), 8)],
9265
9374
  ["suspendLendingDeposits", getBooleanEncoder8()],
9266
9375
  ["suspendLendingWithdrawals", getBooleanEncoder8()],
9267
9376
  ["suspendAddLiquidity", getBooleanEncoder8()],
@@ -9271,8 +9380,8 @@ function getSetSuspendedStateInstructionDataEncoder() {
9271
9380
  );
9272
9381
  }
9273
9382
  function getSetSuspendedStateInstructionDataDecoder() {
9274
- return getStructDecoder61([
9275
- ["discriminator", fixDecoderSize58(getBytesDecoder58(), 8)],
9383
+ return getStructDecoder62([
9384
+ ["discriminator", fixDecoderSize59(getBytesDecoder59(), 8)],
9276
9385
  ["suspendLendingDeposits", getBooleanDecoder8()],
9277
9386
  ["suspendLendingWithdrawals", getBooleanDecoder8()],
9278
9387
  ["suspendAddLiquidity", getBooleanDecoder8()],
@@ -9280,7 +9389,7 @@ function getSetSuspendedStateInstructionDataDecoder() {
9280
9389
  ]);
9281
9390
  }
9282
9391
  function getSetSuspendedStateInstructionDataCodec() {
9283
- return combineCodec65(
9392
+ return combineCodec66(
9284
9393
  getSetSuspendedStateInstructionDataEncoder(),
9285
9394
  getSetSuspendedStateInstructionDataDecoder()
9286
9395
  );
@@ -9328,16 +9437,16 @@ function parseSetSuspendedStateInstruction(instruction) {
9328
9437
 
9329
9438
  // src/generated/instructions/setTunaLpPositionFlags.ts
9330
9439
  import {
9331
- combineCodec as combineCodec66,
9332
- fixDecoderSize as fixDecoderSize59,
9333
- fixEncoderSize as fixEncoderSize60,
9334
- getBytesDecoder as getBytesDecoder59,
9335
- getBytesEncoder as getBytesEncoder60,
9336
- getStructDecoder as getStructDecoder62,
9337
- getStructEncoder as getStructEncoder62,
9440
+ combineCodec as combineCodec67,
9441
+ fixDecoderSize as fixDecoderSize60,
9442
+ fixEncoderSize as fixEncoderSize61,
9443
+ getBytesDecoder as getBytesDecoder60,
9444
+ getBytesEncoder as getBytesEncoder61,
9445
+ getStructDecoder as getStructDecoder63,
9446
+ getStructEncoder as getStructEncoder63,
9338
9447
  getU32Decoder as getU32Decoder30,
9339
9448
  getU32Encoder as getU32Encoder30,
9340
- transformEncoder as transformEncoder59
9449
+ transformEncoder as transformEncoder60
9341
9450
  } from "@solana/kit";
9342
9451
  var SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR = new Uint8Array([
9343
9452
  110,
@@ -9350,14 +9459,14 @@ var SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR = new Uint8Array([
9350
9459
  57
9351
9460
  ]);
9352
9461
  function getSetTunaLpPositionFlagsDiscriminatorBytes() {
9353
- return fixEncoderSize60(getBytesEncoder60(), 8).encode(
9462
+ return fixEncoderSize61(getBytesEncoder61(), 8).encode(
9354
9463
  SET_TUNA_LP_POSITION_FLAGS_DISCRIMINATOR
9355
9464
  );
9356
9465
  }
9357
9466
  function getSetTunaLpPositionFlagsInstructionDataEncoder() {
9358
- return transformEncoder59(
9359
- getStructEncoder62([
9360
- ["discriminator", fixEncoderSize60(getBytesEncoder60(), 8)],
9467
+ return transformEncoder60(
9468
+ getStructEncoder63([
9469
+ ["discriminator", fixEncoderSize61(getBytesEncoder61(), 8)],
9361
9470
  ["flags", getU32Encoder30()]
9362
9471
  ]),
9363
9472
  (value) => ({
@@ -9367,13 +9476,13 @@ function getSetTunaLpPositionFlagsInstructionDataEncoder() {
9367
9476
  );
9368
9477
  }
9369
9478
  function getSetTunaLpPositionFlagsInstructionDataDecoder() {
9370
- return getStructDecoder62([
9371
- ["discriminator", fixDecoderSize59(getBytesDecoder59(), 8)],
9479
+ return getStructDecoder63([
9480
+ ["discriminator", fixDecoderSize60(getBytesDecoder60(), 8)],
9372
9481
  ["flags", getU32Decoder30()]
9373
9482
  ]);
9374
9483
  }
9375
9484
  function getSetTunaLpPositionFlagsInstructionDataCodec() {
9376
- return combineCodec66(
9485
+ return combineCodec67(
9377
9486
  getSetTunaLpPositionFlagsInstructionDataEncoder(),
9378
9487
  getSetTunaLpPositionFlagsInstructionDataDecoder()
9379
9488
  );
@@ -9423,18 +9532,18 @@ function parseSetTunaLpPositionFlagsInstruction(instruction) {
9423
9532
 
9424
9533
  // src/generated/instructions/setTunaLpPositionLimitOrders.ts
9425
9534
  import {
9426
- combineCodec as combineCodec67,
9427
- fixDecoderSize as fixDecoderSize60,
9428
- fixEncoderSize as fixEncoderSize61,
9429
- getBytesDecoder as getBytesDecoder60,
9430
- getBytesEncoder as getBytesEncoder61,
9431
- getStructDecoder as getStructDecoder63,
9432
- getStructEncoder as getStructEncoder63,
9535
+ combineCodec as combineCodec68,
9536
+ fixDecoderSize as fixDecoderSize61,
9537
+ fixEncoderSize as fixEncoderSize62,
9538
+ getBytesDecoder as getBytesDecoder61,
9539
+ getBytesEncoder as getBytesEncoder62,
9540
+ getStructDecoder as getStructDecoder64,
9541
+ getStructEncoder as getStructEncoder64,
9433
9542
  getU128Decoder as getU128Decoder7,
9434
9543
  getU128Encoder as getU128Encoder7,
9435
9544
  getU8Decoder as getU8Decoder5,
9436
9545
  getU8Encoder as getU8Encoder5,
9437
- transformEncoder as transformEncoder60
9546
+ transformEncoder as transformEncoder61
9438
9547
  } from "@solana/kit";
9439
9548
  var SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR = new Uint8Array([
9440
9549
  65,
@@ -9447,14 +9556,14 @@ var SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR = new Uint8Array([
9447
9556
  255
9448
9557
  ]);
9449
9558
  function getSetTunaLpPositionLimitOrdersDiscriminatorBytes() {
9450
- return fixEncoderSize61(getBytesEncoder61(), 8).encode(
9559
+ return fixEncoderSize62(getBytesEncoder62(), 8).encode(
9451
9560
  SET_TUNA_LP_POSITION_LIMIT_ORDERS_DISCRIMINATOR
9452
9561
  );
9453
9562
  }
9454
9563
  function getSetTunaLpPositionLimitOrdersInstructionDataEncoder() {
9455
- return transformEncoder60(
9456
- getStructEncoder63([
9457
- ["discriminator", fixEncoderSize61(getBytesEncoder61(), 8)],
9564
+ return transformEncoder61(
9565
+ getStructEncoder64([
9566
+ ["discriminator", fixEncoderSize62(getBytesEncoder62(), 8)],
9458
9567
  ["lowerLimitOrderSqrtPrice", getU128Encoder7()],
9459
9568
  ["upperLimitOrderSqrtPrice", getU128Encoder7()],
9460
9569
  ["swapToTokenOnLimitOrder", getU8Encoder5()]
@@ -9466,15 +9575,15 @@ function getSetTunaLpPositionLimitOrdersInstructionDataEncoder() {
9466
9575
  );
9467
9576
  }
9468
9577
  function getSetTunaLpPositionLimitOrdersInstructionDataDecoder() {
9469
- return getStructDecoder63([
9470
- ["discriminator", fixDecoderSize60(getBytesDecoder60(), 8)],
9578
+ return getStructDecoder64([
9579
+ ["discriminator", fixDecoderSize61(getBytesDecoder61(), 8)],
9471
9580
  ["lowerLimitOrderSqrtPrice", getU128Decoder7()],
9472
9581
  ["upperLimitOrderSqrtPrice", getU128Decoder7()],
9473
9582
  ["swapToTokenOnLimitOrder", getU8Decoder5()]
9474
9583
  ]);
9475
9584
  }
9476
9585
  function getSetTunaLpPositionLimitOrdersInstructionDataCodec() {
9477
- return combineCodec67(
9586
+ return combineCodec68(
9478
9587
  getSetTunaLpPositionLimitOrdersInstructionDataEncoder(),
9479
9588
  getSetTunaLpPositionLimitOrdersInstructionDataDecoder()
9480
9589
  );
@@ -9524,27 +9633,27 @@ function parseSetTunaLpPositionLimitOrdersInstruction(instruction) {
9524
9633
 
9525
9634
  // src/generated/instructions/setTunaLpPositionRebalanceThreshold.ts
9526
9635
  import {
9527
- combineCodec as combineCodec68,
9528
- fixDecoderSize as fixDecoderSize61,
9529
- fixEncoderSize as fixEncoderSize62,
9530
- getBytesDecoder as getBytesDecoder61,
9531
- getBytesEncoder as getBytesEncoder62,
9532
- getStructDecoder as getStructDecoder64,
9533
- getStructEncoder as getStructEncoder64,
9636
+ combineCodec as combineCodec69,
9637
+ fixDecoderSize as fixDecoderSize62,
9638
+ fixEncoderSize as fixEncoderSize63,
9639
+ getBytesDecoder as getBytesDecoder62,
9640
+ getBytesEncoder as getBytesEncoder63,
9641
+ getStructDecoder as getStructDecoder65,
9642
+ getStructEncoder as getStructEncoder65,
9534
9643
  getU32Decoder as getU32Decoder31,
9535
9644
  getU32Encoder as getU32Encoder31,
9536
- transformEncoder as transformEncoder61
9645
+ transformEncoder as transformEncoder62
9537
9646
  } from "@solana/kit";
9538
9647
  var SET_TUNA_LP_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR = new Uint8Array([244, 174, 185, 58, 90, 150, 162, 51]);
9539
9648
  function getSetTunaLpPositionRebalanceThresholdDiscriminatorBytes() {
9540
- return fixEncoderSize62(getBytesEncoder62(), 8).encode(
9649
+ return fixEncoderSize63(getBytesEncoder63(), 8).encode(
9541
9650
  SET_TUNA_LP_POSITION_REBALANCE_THRESHOLD_DISCRIMINATOR
9542
9651
  );
9543
9652
  }
9544
9653
  function getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder() {
9545
- return transformEncoder61(
9546
- getStructEncoder64([
9547
- ["discriminator", fixEncoderSize62(getBytesEncoder62(), 8)],
9654
+ return transformEncoder62(
9655
+ getStructEncoder65([
9656
+ ["discriminator", fixEncoderSize63(getBytesEncoder63(), 8)],
9548
9657
  ["rebalanceThresholdTicks", getU32Encoder31()]
9549
9658
  ]),
9550
9659
  (value) => ({
@@ -9554,13 +9663,13 @@ function getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder() {
9554
9663
  );
9555
9664
  }
9556
9665
  function getSetTunaLpPositionRebalanceThresholdInstructionDataDecoder() {
9557
- return getStructDecoder64([
9558
- ["discriminator", fixDecoderSize61(getBytesDecoder61(), 8)],
9666
+ return getStructDecoder65([
9667
+ ["discriminator", fixDecoderSize62(getBytesDecoder62(), 8)],
9559
9668
  ["rebalanceThresholdTicks", getU32Decoder31()]
9560
9669
  ]);
9561
9670
  }
9562
9671
  function getSetTunaLpPositionRebalanceThresholdInstructionDataCodec() {
9563
- return combineCodec68(
9672
+ return combineCodec69(
9564
9673
  getSetTunaLpPositionRebalanceThresholdInstructionDataEncoder(),
9565
9674
  getSetTunaLpPositionRebalanceThresholdInstructionDataDecoder()
9566
9675
  );
@@ -9610,29 +9719,29 @@ function parseSetTunaLpPositionRebalanceThresholdInstruction(instruction) {
9610
9719
 
9611
9720
  // src/generated/instructions/setTunaSpotPositionLimitOrders.ts
9612
9721
  import {
9613
- combineCodec as combineCodec69,
9614
- fixDecoderSize as fixDecoderSize62,
9615
- fixEncoderSize as fixEncoderSize63,
9616
- getBytesDecoder as getBytesDecoder62,
9617
- getBytesEncoder as getBytesEncoder63,
9618
- getStructDecoder as getStructDecoder65,
9619
- getStructEncoder as getStructEncoder65,
9722
+ combineCodec as combineCodec70,
9723
+ fixDecoderSize as fixDecoderSize63,
9724
+ fixEncoderSize as fixEncoderSize64,
9725
+ getBytesDecoder as getBytesDecoder63,
9726
+ getBytesEncoder as getBytesEncoder64,
9727
+ getStructDecoder as getStructDecoder66,
9728
+ getStructEncoder as getStructEncoder66,
9620
9729
  getU128Decoder as getU128Decoder8,
9621
9730
  getU128Encoder as getU128Encoder8,
9622
- transformEncoder as transformEncoder62
9731
+ transformEncoder as transformEncoder63
9623
9732
  } from "@solana/kit";
9624
9733
  var SET_TUNA_SPOT_POSITION_LIMIT_ORDERS_DISCRIMINATOR = new Uint8Array(
9625
9734
  [10, 180, 19, 205, 169, 133, 52, 118]
9626
9735
  );
9627
9736
  function getSetTunaSpotPositionLimitOrdersDiscriminatorBytes() {
9628
- return fixEncoderSize63(getBytesEncoder63(), 8).encode(
9737
+ return fixEncoderSize64(getBytesEncoder64(), 8).encode(
9629
9738
  SET_TUNA_SPOT_POSITION_LIMIT_ORDERS_DISCRIMINATOR
9630
9739
  );
9631
9740
  }
9632
9741
  function getSetTunaSpotPositionLimitOrdersInstructionDataEncoder() {
9633
- return transformEncoder62(
9634
- getStructEncoder65([
9635
- ["discriminator", fixEncoderSize63(getBytesEncoder63(), 8)],
9742
+ return transformEncoder63(
9743
+ getStructEncoder66([
9744
+ ["discriminator", fixEncoderSize64(getBytesEncoder64(), 8)],
9636
9745
  ["lowerLimitOrderSqrtPrice", getU128Encoder8()],
9637
9746
  ["upperLimitOrderSqrtPrice", getU128Encoder8()]
9638
9747
  ]),
@@ -9643,14 +9752,14 @@ function getSetTunaSpotPositionLimitOrdersInstructionDataEncoder() {
9643
9752
  );
9644
9753
  }
9645
9754
  function getSetTunaSpotPositionLimitOrdersInstructionDataDecoder() {
9646
- return getStructDecoder65([
9647
- ["discriminator", fixDecoderSize62(getBytesDecoder62(), 8)],
9755
+ return getStructDecoder66([
9756
+ ["discriminator", fixDecoderSize63(getBytesDecoder63(), 8)],
9648
9757
  ["lowerLimitOrderSqrtPrice", getU128Decoder8()],
9649
9758
  ["upperLimitOrderSqrtPrice", getU128Decoder8()]
9650
9759
  ]);
9651
9760
  }
9652
9761
  function getSetTunaSpotPositionLimitOrdersInstructionDataCodec() {
9653
- return combineCodec69(
9762
+ return combineCodec70(
9654
9763
  getSetTunaSpotPositionLimitOrdersInstructionDataEncoder(),
9655
9764
  getSetTunaSpotPositionLimitOrdersInstructionDataDecoder()
9656
9765
  );
@@ -9700,24 +9809,24 @@ function parseSetTunaSpotPositionLimitOrdersInstruction(instruction) {
9700
9809
 
9701
9810
  // src/generated/instructions/updateMarket.ts
9702
9811
  import {
9703
- combineCodec as combineCodec70,
9704
- fixDecoderSize as fixDecoderSize63,
9705
- fixEncoderSize as fixEncoderSize64,
9812
+ combineCodec as combineCodec71,
9813
+ fixDecoderSize as fixDecoderSize64,
9814
+ fixEncoderSize as fixEncoderSize65,
9706
9815
  getAddressDecoder as getAddressDecoder17,
9707
9816
  getAddressEncoder as getAddressEncoder17,
9708
9817
  getBooleanDecoder as getBooleanDecoder9,
9709
9818
  getBooleanEncoder as getBooleanEncoder9,
9710
- getBytesDecoder as getBytesDecoder63,
9711
- getBytesEncoder as getBytesEncoder64,
9712
- getStructDecoder as getStructDecoder66,
9713
- getStructEncoder as getStructEncoder66,
9819
+ getBytesDecoder as getBytesDecoder64,
9820
+ getBytesEncoder as getBytesEncoder65,
9821
+ getStructDecoder as getStructDecoder67,
9822
+ getStructEncoder as getStructEncoder67,
9714
9823
  getU16Decoder as getU16Decoder9,
9715
9824
  getU16Encoder as getU16Encoder9,
9716
9825
  getU32Decoder as getU32Decoder32,
9717
9826
  getU32Encoder as getU32Encoder32,
9718
9827
  getU64Decoder as getU64Decoder21,
9719
9828
  getU64Encoder as getU64Encoder21,
9720
- transformEncoder as transformEncoder63
9829
+ transformEncoder as transformEncoder64
9721
9830
  } from "@solana/kit";
9722
9831
  var UPDATE_MARKET_DISCRIMINATOR = new Uint8Array([
9723
9832
  153,
@@ -9730,14 +9839,14 @@ var UPDATE_MARKET_DISCRIMINATOR = new Uint8Array([
9730
9839
  217
9731
9840
  ]);
9732
9841
  function getUpdateMarketDiscriminatorBytes() {
9733
- return fixEncoderSize64(getBytesEncoder64(), 8).encode(
9842
+ return fixEncoderSize65(getBytesEncoder65(), 8).encode(
9734
9843
  UPDATE_MARKET_DISCRIMINATOR
9735
9844
  );
9736
9845
  }
9737
9846
  function getUpdateMarketInstructionDataEncoder() {
9738
- return transformEncoder63(
9739
- getStructEncoder66([
9740
- ["discriminator", fixEncoderSize64(getBytesEncoder64(), 8)],
9847
+ return transformEncoder64(
9848
+ getStructEncoder67([
9849
+ ["discriminator", fixEncoderSize65(getBytesEncoder65(), 8)],
9741
9850
  ["addressLookupTable", getAddressEncoder17()],
9742
9851
  ["maxLeverage", getU32Encoder32()],
9743
9852
  ["protocolFee", getU16Encoder9()],
@@ -9757,8 +9866,8 @@ function getUpdateMarketInstructionDataEncoder() {
9757
9866
  );
9758
9867
  }
9759
9868
  function getUpdateMarketInstructionDataDecoder() {
9760
- return getStructDecoder66([
9761
- ["discriminator", fixDecoderSize63(getBytesDecoder63(), 8)],
9869
+ return getStructDecoder67([
9870
+ ["discriminator", fixDecoderSize64(getBytesDecoder64(), 8)],
9762
9871
  ["addressLookupTable", getAddressDecoder17()],
9763
9872
  ["maxLeverage", getU32Decoder32()],
9764
9873
  ["protocolFee", getU16Decoder9()],
@@ -9776,7 +9885,7 @@ function getUpdateMarketInstructionDataDecoder() {
9776
9885
  ]);
9777
9886
  }
9778
9887
  function getUpdateMarketInstructionDataCodec() {
9779
- return combineCodec70(
9888
+ return combineCodec71(
9780
9889
  getUpdateMarketInstructionDataEncoder(),
9781
9890
  getUpdateMarketInstructionDataDecoder()
9782
9891
  );
@@ -9827,16 +9936,16 @@ function parseUpdateMarketInstruction(instruction) {
9827
9936
 
9828
9937
  // src/generated/instructions/updateOraclePrice.ts
9829
9938
  import {
9830
- combineCodec as combineCodec71,
9831
- fixDecoderSize as fixDecoderSize64,
9832
- fixEncoderSize as fixEncoderSize65,
9939
+ combineCodec as combineCodec72,
9940
+ fixDecoderSize as fixDecoderSize65,
9941
+ fixEncoderSize as fixEncoderSize66,
9833
9942
  getArrayDecoder as getArrayDecoder2,
9834
9943
  getArrayEncoder as getArrayEncoder2,
9835
- getBytesDecoder as getBytesDecoder64,
9836
- getBytesEncoder as getBytesEncoder65,
9837
- getStructDecoder as getStructDecoder67,
9838
- getStructEncoder as getStructEncoder67,
9839
- transformEncoder as transformEncoder64
9944
+ getBytesDecoder as getBytesDecoder65,
9945
+ getBytesEncoder as getBytesEncoder66,
9946
+ getStructDecoder as getStructDecoder68,
9947
+ getStructEncoder as getStructEncoder68,
9948
+ transformEncoder as transformEncoder65
9840
9949
  } from "@solana/kit";
9841
9950
  var UPDATE_ORACLE_PRICE_DISCRIMINATOR = new Uint8Array([
9842
9951
  14,
@@ -9849,27 +9958,27 @@ var UPDATE_ORACLE_PRICE_DISCRIMINATOR = new Uint8Array([
9849
9958
  154
9850
9959
  ]);
9851
9960
  function getUpdateOraclePriceDiscriminatorBytes() {
9852
- return fixEncoderSize65(getBytesEncoder65(), 8).encode(
9961
+ return fixEncoderSize66(getBytesEncoder66(), 8).encode(
9853
9962
  UPDATE_ORACLE_PRICE_DISCRIMINATOR
9854
9963
  );
9855
9964
  }
9856
9965
  function getUpdateOraclePriceInstructionDataEncoder() {
9857
- return transformEncoder64(
9858
- getStructEncoder67([
9859
- ["discriminator", fixEncoderSize65(getBytesEncoder65(), 8)],
9966
+ return transformEncoder65(
9967
+ getStructEncoder68([
9968
+ ["discriminator", fixEncoderSize66(getBytesEncoder66(), 8)],
9860
9969
  ["priceUpdates", getArrayEncoder2(getOraclePriceUpdateEncoder())]
9861
9970
  ]),
9862
9971
  (value) => ({ ...value, discriminator: UPDATE_ORACLE_PRICE_DISCRIMINATOR })
9863
9972
  );
9864
9973
  }
9865
9974
  function getUpdateOraclePriceInstructionDataDecoder() {
9866
- return getStructDecoder67([
9867
- ["discriminator", fixDecoderSize64(getBytesDecoder64(), 8)],
9975
+ return getStructDecoder68([
9976
+ ["discriminator", fixDecoderSize65(getBytesDecoder65(), 8)],
9868
9977
  ["priceUpdates", getArrayDecoder2(getOraclePriceUpdateDecoder())]
9869
9978
  ]);
9870
9979
  }
9871
9980
  function getUpdateOraclePriceInstructionDataCodec() {
9872
- return combineCodec71(
9981
+ return combineCodec72(
9873
9982
  getUpdateOraclePriceInstructionDataEncoder(),
9874
9983
  getUpdateOraclePriceInstructionDataDecoder()
9875
9984
  );
@@ -9917,18 +10026,18 @@ function parseUpdateOraclePriceInstruction(instruction) {
9917
10026
 
9918
10027
  // src/generated/instructions/updateVault.ts
9919
10028
  import {
9920
- combineCodec as combineCodec72,
9921
- fixDecoderSize as fixDecoderSize65,
9922
- fixEncoderSize as fixEncoderSize66,
10029
+ combineCodec as combineCodec73,
10030
+ fixDecoderSize as fixDecoderSize66,
10031
+ fixEncoderSize as fixEncoderSize67,
9923
10032
  getAddressDecoder as getAddressDecoder18,
9924
10033
  getAddressEncoder as getAddressEncoder18,
9925
- getBytesDecoder as getBytesDecoder65,
9926
- getBytesEncoder as getBytesEncoder66,
9927
- getStructDecoder as getStructDecoder68,
9928
- getStructEncoder as getStructEncoder68,
10034
+ getBytesDecoder as getBytesDecoder66,
10035
+ getBytesEncoder as getBytesEncoder67,
10036
+ getStructDecoder as getStructDecoder69,
10037
+ getStructEncoder as getStructEncoder69,
9929
10038
  getU64Decoder as getU64Decoder22,
9930
10039
  getU64Encoder as getU64Encoder22,
9931
- transformEncoder as transformEncoder65
10040
+ transformEncoder as transformEncoder66
9932
10041
  } from "@solana/kit";
9933
10042
  var UPDATE_VAULT_DISCRIMINATOR = new Uint8Array([
9934
10043
  67,
@@ -9941,14 +10050,14 @@ var UPDATE_VAULT_DISCRIMINATOR = new Uint8Array([
9941
10050
  60
9942
10051
  ]);
9943
10052
  function getUpdateVaultDiscriminatorBytes() {
9944
- return fixEncoderSize66(getBytesEncoder66(), 8).encode(
10053
+ return fixEncoderSize67(getBytesEncoder67(), 8).encode(
9945
10054
  UPDATE_VAULT_DISCRIMINATOR
9946
10055
  );
9947
10056
  }
9948
10057
  function getUpdateVaultInstructionDataEncoder() {
9949
- return transformEncoder65(
9950
- getStructEncoder68([
9951
- ["discriminator", fixEncoderSize66(getBytesEncoder66(), 8)],
10058
+ return transformEncoder66(
10059
+ getStructEncoder69([
10060
+ ["discriminator", fixEncoderSize67(getBytesEncoder67(), 8)],
9952
10061
  ["interestRate", getU64Encoder22()],
9953
10062
  ["supplyLimit", getU64Encoder22()],
9954
10063
  ["oraclePriceUpdate", getAddressEncoder18()],
@@ -9958,8 +10067,8 @@ function getUpdateVaultInstructionDataEncoder() {
9958
10067
  );
9959
10068
  }
9960
10069
  function getUpdateVaultInstructionDataDecoder() {
9961
- return getStructDecoder68([
9962
- ["discriminator", fixDecoderSize65(getBytesDecoder65(), 8)],
10070
+ return getStructDecoder69([
10071
+ ["discriminator", fixDecoderSize66(getBytesDecoder66(), 8)],
9963
10072
  ["interestRate", getU64Decoder22()],
9964
10073
  ["supplyLimit", getU64Decoder22()],
9965
10074
  ["oraclePriceUpdate", getAddressDecoder18()],
@@ -9967,7 +10076,7 @@ function getUpdateVaultInstructionDataDecoder() {
9967
10076
  ]);
9968
10077
  }
9969
10078
  function getUpdateVaultInstructionDataCodec() {
9970
- return combineCodec72(
10079
+ return combineCodec73(
9971
10080
  getUpdateVaultInstructionDataEncoder(),
9972
10081
  getUpdateVaultInstructionDataDecoder()
9973
10082
  );
@@ -10018,16 +10127,16 @@ function parseUpdateVaultInstruction(instruction) {
10018
10127
 
10019
10128
  // src/generated/instructions/withdraw.ts
10020
10129
  import {
10021
- combineCodec as combineCodec73,
10022
- fixDecoderSize as fixDecoderSize66,
10023
- fixEncoderSize as fixEncoderSize67,
10024
- getBytesDecoder as getBytesDecoder66,
10025
- getBytesEncoder as getBytesEncoder67,
10026
- getStructDecoder as getStructDecoder69,
10027
- getStructEncoder as getStructEncoder69,
10130
+ combineCodec as combineCodec74,
10131
+ fixDecoderSize as fixDecoderSize67,
10132
+ fixEncoderSize as fixEncoderSize68,
10133
+ getBytesDecoder as getBytesDecoder67,
10134
+ getBytesEncoder as getBytesEncoder68,
10135
+ getStructDecoder as getStructDecoder70,
10136
+ getStructEncoder as getStructEncoder70,
10028
10137
  getU64Decoder as getU64Decoder23,
10029
10138
  getU64Encoder as getU64Encoder23,
10030
- transformEncoder as transformEncoder66
10139
+ transformEncoder as transformEncoder67
10031
10140
  } from "@solana/kit";
10032
10141
  var WITHDRAW_DISCRIMINATOR = new Uint8Array([
10033
10142
  183,
@@ -10040,12 +10149,12 @@ var WITHDRAW_DISCRIMINATOR = new Uint8Array([
10040
10149
  34
10041
10150
  ]);
10042
10151
  function getWithdrawDiscriminatorBytes() {
10043
- return fixEncoderSize67(getBytesEncoder67(), 8).encode(WITHDRAW_DISCRIMINATOR);
10152
+ return fixEncoderSize68(getBytesEncoder68(), 8).encode(WITHDRAW_DISCRIMINATOR);
10044
10153
  }
10045
10154
  function getWithdrawInstructionDataEncoder() {
10046
- return transformEncoder66(
10047
- getStructEncoder69([
10048
- ["discriminator", fixEncoderSize67(getBytesEncoder67(), 8)],
10155
+ return transformEncoder67(
10156
+ getStructEncoder70([
10157
+ ["discriminator", fixEncoderSize68(getBytesEncoder68(), 8)],
10049
10158
  ["funds", getU64Encoder23()],
10050
10159
  ["shares", getU64Encoder23()]
10051
10160
  ]),
@@ -10053,14 +10162,14 @@ function getWithdrawInstructionDataEncoder() {
10053
10162
  );
10054
10163
  }
10055
10164
  function getWithdrawInstructionDataDecoder() {
10056
- return getStructDecoder69([
10057
- ["discriminator", fixDecoderSize66(getBytesDecoder66(), 8)],
10165
+ return getStructDecoder70([
10166
+ ["discriminator", fixDecoderSize67(getBytesDecoder67(), 8)],
10058
10167
  ["funds", getU64Decoder23()],
10059
10168
  ["shares", getU64Decoder23()]
10060
10169
  ]);
10061
10170
  }
10062
10171
  function getWithdrawInstructionDataCodec() {
10063
- return combineCodec73(
10172
+ return combineCodec74(
10064
10173
  getWithdrawInstructionDataEncoder(),
10065
10174
  getWithdrawInstructionDataDecoder()
10066
10175
  );
@@ -12436,21 +12545,21 @@ import { fetchFusionPool as fetchFusionPool2 } from "@crypticdot/fusionamm-clien
12436
12545
  import {
12437
12546
  assertAccountExists as assertAccountExists8,
12438
12547
  assertAccountsExist as assertAccountsExist9,
12439
- combineCodec as combineCodec74,
12548
+ combineCodec as combineCodec75,
12440
12549
  decodeAccount as decodeAccount8,
12441
12550
  fetchEncodedAccount as fetchEncodedAccount8,
12442
12551
  fetchEncodedAccounts as fetchEncodedAccounts8,
12443
- fixDecoderSize as fixDecoderSize67,
12444
- fixEncoderSize as fixEncoderSize68,
12552
+ fixDecoderSize as fixDecoderSize68,
12553
+ fixEncoderSize as fixEncoderSize69,
12445
12554
  getAddressDecoder as getAddressDecoder19,
12446
12555
  getAddressEncoder as getAddressEncoder23,
12447
- getBytesDecoder as getBytesDecoder67,
12448
- getBytesEncoder as getBytesEncoder68,
12449
- getStructDecoder as getStructDecoder70,
12450
- getStructEncoder as getStructEncoder70,
12556
+ getBytesDecoder as getBytesDecoder68,
12557
+ getBytesEncoder as getBytesEncoder69,
12558
+ getStructDecoder as getStructDecoder71,
12559
+ getStructEncoder as getStructEncoder71,
12451
12560
  getU64Decoder as getU64Decoder24,
12452
12561
  getU64Encoder as getU64Encoder24,
12453
- transformEncoder as transformEncoder67
12562
+ transformEncoder as transformEncoder68
12454
12563
  } from "@solana/kit";
12455
12564
  import {
12456
12565
  isProgramError as isProgramError2
@@ -12509,10 +12618,10 @@ import {
12509
12618
  import {
12510
12619
  combineCodec as combineCodec510,
12511
12620
  fixDecoderSize as fixDecoderSize510,
12512
- fixEncoderSize as fixEncoderSize69,
12621
+ fixEncoderSize as fixEncoderSize610,
12513
12622
  getAddressEncoder as getAddressEncoder32,
12514
12623
  getBytesDecoder as getBytesDecoder510,
12515
- getBytesEncoder as getBytesEncoder69,
12624
+ getBytesEncoder as getBytesEncoder610,
12516
12625
  getProgramDerivedAddress as getProgramDerivedAddress22,
12517
12626
  getStructDecoder as getStructDecoder510,
12518
12627
  getStructEncoder as getStructEncoder510,
@@ -12520,20 +12629,20 @@ import {
12520
12629
  } from "@solana/kit";
12521
12630
  import {
12522
12631
  combineCodec as combineCodec610,
12523
- fixDecoderSize as fixDecoderSize68,
12632
+ fixDecoderSize as fixDecoderSize69,
12524
12633
  fixEncoderSize as fixEncoderSize72,
12525
12634
  getAddressEncoder as getAddressEncoder42,
12526
- getBytesDecoder as getBytesDecoder68,
12635
+ getBytesDecoder as getBytesDecoder69,
12527
12636
  getBytesEncoder as getBytesEncoder72,
12528
12637
  getProgramDerivedAddress as getProgramDerivedAddress3,
12529
12638
  getStructDecoder as getStructDecoder610,
12530
12639
  getStructEncoder as getStructEncoder610,
12531
12640
  getU8Decoder as getU8Decoder42,
12532
12641
  getU8Encoder as getU8Encoder42,
12533
- transformEncoder as transformEncoder68
12642
+ transformEncoder as transformEncoder69
12534
12643
  } from "@solana/kit";
12535
12644
  import {
12536
- combineCodec as combineCodec75,
12645
+ combineCodec as combineCodec76,
12537
12646
  fixDecoderSize as fixDecoderSize72,
12538
12647
  fixEncoderSize as fixEncoderSize82,
12539
12648
  getBytesDecoder as getBytesDecoder72,
@@ -16429,6 +16538,7 @@ export {
16429
16538
  REBALANCE_TUNA_LP_POSITION_ORCA_DISCRIMINATOR,
16430
16539
  REPAY_BAD_DEBT_DISCRIMINATOR,
16431
16540
  REPAY_TUNA_LP_POSITION_DEBT_DISCRIMINATOR,
16541
+ RESET_MARKET_BAD_DEBT_DISCRIMINATOR,
16432
16542
  RESET_TUNA_SPOT_POSITION_DISCRIMINATOR,
16433
16543
  SET_ADMIN_AUTHORITY_DISCRIMINATOR,
16434
16544
  SET_DEFAULT_LIQUIDATION_FEE_RATE_DISCRIMINATOR,
@@ -16829,6 +16939,11 @@ export {
16829
16939
  getRepayTunaLpPositionDebtInstructionDataCodec,
16830
16940
  getRepayTunaLpPositionDebtInstructionDataDecoder,
16831
16941
  getRepayTunaLpPositionDebtInstructionDataEncoder,
16942
+ getResetMarketBadDebtDiscriminatorBytes,
16943
+ getResetMarketBadDebtInstruction,
16944
+ getResetMarketBadDebtInstructionDataCodec,
16945
+ getResetMarketBadDebtInstructionDataDecoder,
16946
+ getResetMarketBadDebtInstructionDataEncoder,
16832
16947
  getResetTunaSpotPositionDiscriminatorBytes,
16833
16948
  getResetTunaSpotPositionInstruction,
16834
16949
  getResetTunaSpotPositionInstructionDataCodec,
@@ -17043,6 +17158,7 @@ export {
17043
17158
  parseRebalanceTunaLpPositionOrcaInstruction,
17044
17159
  parseRepayBadDebtInstruction,
17045
17160
  parseRepayTunaLpPositionDebtInstruction,
17161
+ parseResetMarketBadDebtInstruction,
17046
17162
  parseResetTunaSpotPositionInstruction,
17047
17163
  parseSetAdminAuthorityInstruction,
17048
17164
  parseSetDefaultLiquidationFeeRateInstruction,