@satrush/client 0.1.10 → 0.1.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.d.ts CHANGED
@@ -37,6 +37,13 @@ type Board = {
37
37
  strikeBtcAmount: bigint;
38
38
  /** Last round_id when Strike jackpot was triggered */
39
39
  strikeLastTriggerRoundId: number;
40
+ /**
41
+ * Strike reserve USD: a savings jar fed 5% of the pot on each trigger,
42
+ * contributing 10% of its balance back into the next carry seed.
43
+ */
44
+ strikeReserveUsdAmount: bigint;
45
+ /** Strike reserve BTC leg. */
46
+ strikeReserveBtcAmount: bigint;
40
47
  /** Reserved */
41
48
  reserved: ReadonlyUint8Array;
42
49
  };
@@ -65,6 +72,13 @@ type BoardArgs = {
65
72
  strikeBtcAmount: number | bigint;
66
73
  /** Last round_id when Strike jackpot was triggered */
67
74
  strikeLastTriggerRoundId: number;
75
+ /**
76
+ * Strike reserve USD: a savings jar fed 5% of the pot on each trigger,
77
+ * contributing 10% of its balance back into the next carry seed.
78
+ */
79
+ strikeReserveUsdAmount: number | bigint;
80
+ /** Strike reserve BTC leg. */
81
+ strikeReserveBtcAmount: number | bigint;
68
82
  /** Reserved */
69
83
  reserved: ReadonlyUint8Array;
70
84
  };
@@ -538,6 +552,24 @@ type RoundRevealed = {
538
552
  isStrikeTriggered: boolean;
539
553
  strikeBonusUsd: bigint;
540
554
  strikeBonusBtc: bigint;
555
+ /**
556
+ * The strike skim transferred to the Epoch Vault at this reveal (10% of the
557
+ * folded pot per currency; zero when the strike did not trigger).
558
+ */
559
+ strikeEpochUsd: bigint;
560
+ strikeEpochBtc: bigint;
561
+ /**
562
+ * The 5% of the folded pot deposited into the strike reserve at this
563
+ * reveal; zero when the strike did not trigger.
564
+ */
565
+ strikeReserveUsd: bigint;
566
+ strikeReserveBtc: bigint;
567
+ /**
568
+ * The 10% of the pre-trigger reserve contributed into the carry seed;
569
+ * zero when the strike did not trigger.
570
+ */
571
+ strikeSeedFromReserveUsd: bigint;
572
+ strikeSeedFromReserveBtc: bigint;
541
573
  /**
542
574
  * The round's accumulated fee legs, the exact sums of the per-deploy
543
575
  * legs. The strike fee stays in the board pool as jackpot; the other
@@ -557,6 +589,24 @@ type RoundRevealedArgs = {
557
589
  isStrikeTriggered: boolean;
558
590
  strikeBonusUsd: number | bigint;
559
591
  strikeBonusBtc: number | bigint;
592
+ /**
593
+ * The strike skim transferred to the Epoch Vault at this reveal (10% of the
594
+ * folded pot per currency; zero when the strike did not trigger).
595
+ */
596
+ strikeEpochUsd: number | bigint;
597
+ strikeEpochBtc: number | bigint;
598
+ /**
599
+ * The 5% of the folded pot deposited into the strike reserve at this
600
+ * reveal; zero when the strike did not trigger.
601
+ */
602
+ strikeReserveUsd: number | bigint;
603
+ strikeReserveBtc: number | bigint;
604
+ /**
605
+ * The 10% of the pre-trigger reserve contributed into the carry seed;
606
+ * zero when the strike did not trigger.
607
+ */
608
+ strikeSeedFromReserveUsd: number | bigint;
609
+ strikeSeedFromReserveBtc: number | bigint;
560
610
  /**
561
611
  * The round's accumulated fee legs, the exact sums of the per-deploy
562
612
  * legs. The strike fee stays in the board pool as jackpot; the other
@@ -1342,6 +1392,14 @@ type Round = {
1342
1392
  pendingOneBtcFeeUsdAmount: bigint;
1343
1393
  /** Protocol (treasury) fee accrued by this round's deploys; same lifecycle. */
1344
1394
  pendingProtocolFeeUsdAmount: bigint;
1395
+ /**
1396
+ * Whether deployments settled in this round earn the post-strike
1397
+ * hashrate boost (`STRIKE_BOOST_HASHRATE_MULTIPLIER`). Stamped once at
1398
+ * round creation in `rotate_round` from the board's strike window;
1399
+ * immutable afterwards, so settle rewards are deterministic even if a
1400
+ * later strike re-bases the window.
1401
+ */
1402
+ isHashrateBoosted: boolean;
1345
1403
  /** Reserved. */
1346
1404
  reserved: ReadonlyUint8Array;
1347
1405
  };
@@ -1397,6 +1455,14 @@ type RoundArgs = {
1397
1455
  pendingOneBtcFeeUsdAmount: number | bigint;
1398
1456
  /** Protocol (treasury) fee accrued by this round's deploys; same lifecycle. */
1399
1457
  pendingProtocolFeeUsdAmount: number | bigint;
1458
+ /**
1459
+ * Whether deployments settled in this round earn the post-strike
1460
+ * hashrate boost (`STRIKE_BOOST_HASHRATE_MULTIPLIER`). Stamped once at
1461
+ * round creation in `rotate_round` from the board's strike window;
1462
+ * immutable afterwards, so settle rewards are deterministic even if a
1463
+ * later strike re-bases the window.
1464
+ */
1465
+ isHashrateBoosted: boolean;
1400
1466
  /** Reserved. */
1401
1467
  reserved: ReadonlyUint8Array;
1402
1468
  };
@@ -1772,7 +1838,11 @@ declare const SATRUSH_ERROR__INVALID_UNCLAIMED_HASHRATE_BPS = 6049;
1772
1838
  declare const SATRUSH_ERROR__INVALID_STRIKE_TRIGGER_MODULUS = 6050;
1773
1839
  /** InvalidSwapBps: Sats Vault round fee bps plus deploy fee bps must stay below 10_000 */
1774
1840
  declare const SATRUSH_ERROR__INVALID_SWAP_BPS = 6051;
1775
- type SatrushError = typeof SATRUSH_ERROR__ALREADY_REVEALED | typeof SATRUSH_ERROR__ALREADY_SWAPPED | typeof SATRUSH_ERROR__DEPLOY_AMOUNT_BELOW_MINIMUM | typeof SATRUSH_ERROR__EPOCH_ALREADY_CLAIMED | typeof SATRUSH_ERROR__EPOCH_INVALID_PAGE | typeof SATRUSH_ERROR__EPOCH_MAX_PARTICIPANTS | typeof SATRUSH_ERROR__EPOCH_NOT_A_WINNER | typeof SATRUSH_ERROR__EPOCH_NOT_OPEN | typeof SATRUSH_ERROR__EPOCH_NOT_SETTLED | typeof SATRUSH_ERROR__EPOCH_NOT_SETTLING | typeof SATRUSH_ERROR__EPOCH_PAGE_ALREADY_SEALED | typeof SATRUSH_ERROR__EPOCH_PAGE_NOT_SEALED | typeof SATRUSH_ERROR__EPOCH_SEAL_MISMATCH | typeof SATRUSH_ERROR__EPOCH_WINDOW_NOT_ELAPSED | typeof SATRUSH_ERROR__INSUFFICIENT_AUTOMATION_BALANCE | typeof SATRUSH_ERROR__INSUFFICIENT_HASHRATE | typeof SATRUSH_ERROR__INSUFFICIENT_SHARES | typeof SATRUSH_ERROR__INSUFFICIENT_UNCLAIMED_USD | typeof SATRUSH_ERROR__INVALID_AUTOMATION_AMOUNT | typeof SATRUSH_ERROR__INVALID_AUTOMATION_STRATEGY_MASK | typeof SATRUSH_ERROR__INVALID_CLAIM_AMOUNT | typeof SATRUSH_ERROR__INVALID_DEPLOYMENT_AMOUNT | typeof SATRUSH_ERROR__INVALID_ENTROPY | typeof SATRUSH_ERROR__INVALID_EPOCH_ITERATION_DURATION | typeof SATRUSH_ERROR__INVALID_ROUND_DURATION | typeof SATRUSH_ERROR__INVALID_ROUND_ID | typeof SATRUSH_ERROR__INVALID_SELECTION_MASK | typeof SATRUSH_ERROR__INVALID_SHARE_AMOUNT | typeof SATRUSH_ERROR__INVALID_SLOT_HASH | typeof SATRUSH_ERROR__INVALID_STRIKE_TRIGGER_MODULUS | typeof SATRUSH_ERROR__INVALID_SWAP_BPS | typeof SATRUSH_ERROR__INVALID_SWAP_PROGRAM | typeof SATRUSH_ERROR__INVALID_TICKETS_COUNT | typeof SATRUSH_ERROR__INVALID_UNCLAIMED_HASHRATE_BPS | typeof SATRUSH_ERROR__MATH_OVERFLOW | typeof SATRUSH_ERROR__MATH_UNDERFLOW | typeof SATRUSH_ERROR__ONE_BTC_NO_PARTICIPANTS | typeof SATRUSH_ERROR__ONE_BTC_NOT_A_WINNER | typeof SATRUSH_ERROR__ONE_BTC_NOT_OPEN | typeof SATRUSH_ERROR__ONE_BTC_NOT_SETTLED | typeof SATRUSH_ERROR__ONE_BTC_NOT_TRIGGERABLE | typeof SATRUSH_ERROR__ONE_BTC_WINNING_TICKET_LOCKED | typeof SATRUSH_ERROR__ROUND_IN_PROGRESS | typeof SATRUSH_ERROR__ROUND_NOT_ACTIVE | typeof SATRUSH_ERROR__ROUND_NOT_FINISHED | typeof SATRUSH_ERROR__ROUND_NOT_REVEALED | typeof SATRUSH_ERROR__ROUND_NOT_SETTLED | typeof SATRUSH_ERROR__SLIPPAGE_EXCEEDED | typeof SATRUSH_ERROR__STRIKE_ALREADY_TRIGGERED | typeof SATRUSH_ERROR__SWAP_OVERSPENT | typeof SATRUSH_ERROR__TREASURY_EMPTY | typeof SATRUSH_ERROR__UNAUTHORIZED;
1841
+ /** InvalidMintData: Mint account data is too short to contain the decimals field */
1842
+ declare const SATRUSH_ERROR__INVALID_MINT_DATA = 6052;
1843
+ /** InvalidDeployFees: Deploy fee legs must each be at least 1 bps and sum to exactly 800 bps */
1844
+ declare const SATRUSH_ERROR__INVALID_DEPLOY_FEES = 6053;
1845
+ type SatrushError = typeof SATRUSH_ERROR__ALREADY_REVEALED | typeof SATRUSH_ERROR__ALREADY_SWAPPED | typeof SATRUSH_ERROR__DEPLOY_AMOUNT_BELOW_MINIMUM | typeof SATRUSH_ERROR__EPOCH_ALREADY_CLAIMED | typeof SATRUSH_ERROR__EPOCH_INVALID_PAGE | typeof SATRUSH_ERROR__EPOCH_MAX_PARTICIPANTS | typeof SATRUSH_ERROR__EPOCH_NOT_A_WINNER | typeof SATRUSH_ERROR__EPOCH_NOT_OPEN | typeof SATRUSH_ERROR__EPOCH_NOT_SETTLED | typeof SATRUSH_ERROR__EPOCH_NOT_SETTLING | typeof SATRUSH_ERROR__EPOCH_PAGE_ALREADY_SEALED | typeof SATRUSH_ERROR__EPOCH_PAGE_NOT_SEALED | typeof SATRUSH_ERROR__EPOCH_SEAL_MISMATCH | typeof SATRUSH_ERROR__EPOCH_WINDOW_NOT_ELAPSED | typeof SATRUSH_ERROR__INSUFFICIENT_AUTOMATION_BALANCE | typeof SATRUSH_ERROR__INSUFFICIENT_HASHRATE | typeof SATRUSH_ERROR__INSUFFICIENT_SHARES | typeof SATRUSH_ERROR__INSUFFICIENT_UNCLAIMED_USD | typeof SATRUSH_ERROR__INVALID_AUTOMATION_AMOUNT | typeof SATRUSH_ERROR__INVALID_AUTOMATION_STRATEGY_MASK | typeof SATRUSH_ERROR__INVALID_CLAIM_AMOUNT | typeof SATRUSH_ERROR__INVALID_DEPLOY_FEES | typeof SATRUSH_ERROR__INVALID_DEPLOYMENT_AMOUNT | typeof SATRUSH_ERROR__INVALID_ENTROPY | typeof SATRUSH_ERROR__INVALID_EPOCH_ITERATION_DURATION | typeof SATRUSH_ERROR__INVALID_MINT_DATA | typeof SATRUSH_ERROR__INVALID_ROUND_DURATION | typeof SATRUSH_ERROR__INVALID_ROUND_ID | typeof SATRUSH_ERROR__INVALID_SELECTION_MASK | typeof SATRUSH_ERROR__INVALID_SHARE_AMOUNT | typeof SATRUSH_ERROR__INVALID_SLOT_HASH | typeof SATRUSH_ERROR__INVALID_STRIKE_TRIGGER_MODULUS | typeof SATRUSH_ERROR__INVALID_SWAP_BPS | typeof SATRUSH_ERROR__INVALID_SWAP_PROGRAM | typeof SATRUSH_ERROR__INVALID_TICKETS_COUNT | typeof SATRUSH_ERROR__INVALID_UNCLAIMED_HASHRATE_BPS | typeof SATRUSH_ERROR__MATH_OVERFLOW | typeof SATRUSH_ERROR__MATH_UNDERFLOW | typeof SATRUSH_ERROR__ONE_BTC_NO_PARTICIPANTS | typeof SATRUSH_ERROR__ONE_BTC_NOT_A_WINNER | typeof SATRUSH_ERROR__ONE_BTC_NOT_OPEN | typeof SATRUSH_ERROR__ONE_BTC_NOT_SETTLED | typeof SATRUSH_ERROR__ONE_BTC_NOT_TRIGGERABLE | typeof SATRUSH_ERROR__ONE_BTC_WINNING_TICKET_LOCKED | typeof SATRUSH_ERROR__ROUND_IN_PROGRESS | typeof SATRUSH_ERROR__ROUND_NOT_ACTIVE | typeof SATRUSH_ERROR__ROUND_NOT_FINISHED | typeof SATRUSH_ERROR__ROUND_NOT_REVEALED | typeof SATRUSH_ERROR__ROUND_NOT_SETTLED | typeof SATRUSH_ERROR__SLIPPAGE_EXCEEDED | typeof SATRUSH_ERROR__STRIKE_ALREADY_TRIGGERED | typeof SATRUSH_ERROR__SWAP_OVERSPENT | typeof SATRUSH_ERROR__TREASURY_EMPTY | typeof SATRUSH_ERROR__UNAUTHORIZED;
1776
1846
  declare function getSatrushErrorMessage(code: SatrushError): string;
1777
1847
  declare function isSatrushError<TProgramErrorCode extends SatrushError>(error: unknown, transactionMessage: {
1778
1848
  instructions: Record<number, {
@@ -2001,12 +2071,13 @@ declare enum SatrushInstruction {
2001
2071
  TriggerEpochDraw = 31,
2002
2072
  TriggerOneBtcDraw = 32,
2003
2073
  UpdateBoardRoundDuration = 33,
2004
- UpdateDeploymentSettleGraceDuration = 34,
2005
- UpdateEpochVaultIterationDuration = 35,
2006
- UpdateMinDeployUsdAmount = 36,
2007
- UpdateStrikeTriggerModulus = 37,
2008
- UpdateUnclaimedHashrateBps = 38,
2009
- WithdrawProtocolFees = 39
2074
+ UpdateDeployFees = 34,
2075
+ UpdateDeploymentSettleGraceDuration = 35,
2076
+ UpdateEpochVaultIterationDuration = 36,
2077
+ UpdateMinDeployUsdAmount = 37,
2078
+ UpdateStrikeTriggerModulus = 38,
2079
+ UpdateUnclaimedHashrateBps = 39,
2080
+ WithdrawProtocolFees = 40
2010
2081
  }
2011
2082
  declare function identifySatrushInstruction(instruction: {
2012
2083
  data: ReadonlyUint8Array;
@@ -2080,6 +2151,8 @@ type ParsedSatrushInstruction<TProgram extends string = 'satRushGBRY2vgapeTAkoxz
2080
2151
  } & ParsedTriggerOneBtcDrawInstruction<TProgram>) | ({
2081
2152
  instructionType: SatrushInstruction.UpdateBoardRoundDuration;
2082
2153
  } & ParsedUpdateBoardRoundDurationInstruction<TProgram>) | ({
2154
+ instructionType: SatrushInstruction.UpdateDeployFees;
2155
+ } & ParsedUpdateDeployFeesInstruction<TProgram>) | ({
2083
2156
  instructionType: SatrushInstruction.UpdateDeploymentSettleGraceDuration;
2084
2157
  } & ParsedUpdateDeploymentSettleGraceDurationInstruction<TProgram>) | ({
2085
2158
  instructionType: SatrushInstruction.UpdateEpochVaultIterationDuration;
@@ -2130,7 +2203,7 @@ type SatrushPluginInstructions = {
2130
2203
  closeEpochIteration: (input: CloseEpochIterationAsyncInput) => ReturnType<typeof getCloseEpochIterationInstructionAsync> & SelfPlanAndSendFunctions;
2131
2204
  closeEpochPage: (input: CloseEpochPageAsyncInput) => ReturnType<typeof getCloseEpochPageInstructionAsync> & SelfPlanAndSendFunctions;
2132
2205
  closeOneBtcIteration: (input: CloseOneBtcIterationAsyncInput) => ReturnType<typeof getCloseOneBtcIterationInstructionAsync> & SelfPlanAndSendFunctions;
2133
- closeOneBtcTicket: (input: CloseOneBtcTicketInput) => ReturnType<typeof getCloseOneBtcTicketInstruction> & SelfPlanAndSendFunctions;
2206
+ closeOneBtcTicket: (input: CloseOneBtcTicketAsyncInput) => ReturnType<typeof getCloseOneBtcTicketInstructionAsync> & SelfPlanAndSendFunctions;
2134
2207
  closeRound: (input: CloseRoundAsyncInput) => ReturnType<typeof getCloseRoundInstructionAsync> & SelfPlanAndSendFunctions;
2135
2208
  createBoard: (input: CreateBoardAsyncInput) => ReturnType<typeof getCreateBoardInstructionAsync> & SelfPlanAndSendFunctions;
2136
2209
  createEpochVault: (input: CreateEpochVaultAsyncInput) => ReturnType<typeof getCreateEpochVaultInstructionAsync> & SelfPlanAndSendFunctions;
@@ -2153,6 +2226,7 @@ type SatrushPluginInstructions = {
2153
2226
  triggerEpochDraw: (input: TriggerEpochDrawAsyncInput) => ReturnType<typeof getTriggerEpochDrawInstructionAsync> & SelfPlanAndSendFunctions;
2154
2227
  triggerOneBtcDraw: (input: TriggerOneBtcDrawAsyncInput) => ReturnType<typeof getTriggerOneBtcDrawInstructionAsync> & SelfPlanAndSendFunctions;
2155
2228
  updateBoardRoundDuration: (input: UpdateBoardRoundDurationAsyncInput) => ReturnType<typeof getUpdateBoardRoundDurationInstructionAsync> & SelfPlanAndSendFunctions;
2229
+ updateDeployFees: (input: UpdateDeployFeesAsyncInput) => ReturnType<typeof getUpdateDeployFeesInstructionAsync> & SelfPlanAndSendFunctions;
2156
2230
  updateDeploymentSettleGraceDuration: (input: UpdateDeploymentSettleGraceDurationAsyncInput) => ReturnType<typeof getUpdateDeploymentSettleGraceDurationInstructionAsync> & SelfPlanAndSendFunctions;
2157
2231
  updateEpochVaultIterationDuration: (input: UpdateEpochVaultIterationDurationAsyncInput) => ReturnType<typeof getUpdateEpochVaultIterationDurationInstructionAsync> & SelfPlanAndSendFunctions;
2158
2232
  updateMinDeployUsdAmount: (input: UpdateMinDeployUsdAmountAsyncInput) => ReturnType<typeof getUpdateMinDeployUsdAmountInstructionAsync> & SelfPlanAndSendFunctions;
@@ -2517,14 +2591,16 @@ declare function parseClaimEpochRewardInstruction<TProgram extends string, TAcco
2517
2591
 
2518
2592
  declare const CLAIM_ONE_BTC_REWARD_DISCRIMINATOR: ReadonlyUint8Array;
2519
2593
  declare function getClaimOneBtcRewardDiscriminatorBytes(): ReadonlyUint8Array;
2520
- type ClaimOneBtcRewardInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountOneBtcVault extends string | AccountMeta<string> = string, TAccountOneBtcVaultIteration extends string | AccountMeta<string> = string, TAccountTicket extends string | AccountMeta<string> = string, TAccountBtcMint extends string | AccountMeta<string> = string, TAccountOneBtcVaultBtcAta extends string | AccountMeta<string> = string, TAccountAuthorityBtcAta extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2594
+ type ClaimOneBtcRewardInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSatrushConfig extends string | AccountMeta<string> = string, TAccountOneBtcVault extends string | AccountMeta<string> = string, TAccountOneBtcVaultIteration extends string | AccountMeta<string> = string, TAccountTicket extends string | AccountMeta<string> = string, TAccountWinner extends string | AccountMeta<string> = string, TAccountBtcMint extends string | AccountMeta<string> = string, TAccountOneBtcVaultBtcAta extends string | AccountMeta<string> = string, TAccountWinnerBtcAta extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2521
2595
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
2596
+ TAccountSatrushConfig extends string ? ReadonlyAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
2522
2597
  TAccountOneBtcVault extends string ? WritableAccount<TAccountOneBtcVault> : TAccountOneBtcVault,
2523
2598
  TAccountOneBtcVaultIteration extends string ? WritableAccount<TAccountOneBtcVaultIteration> : TAccountOneBtcVaultIteration,
2524
2599
  TAccountTicket extends string ? ReadonlyAccount<TAccountTicket> : TAccountTicket,
2600
+ TAccountWinner extends string ? ReadonlyAccount<TAccountWinner> : TAccountWinner,
2525
2601
  TAccountBtcMint extends string ? ReadonlyAccount<TAccountBtcMint> : TAccountBtcMint,
2526
2602
  TAccountOneBtcVaultBtcAta extends string ? WritableAccount<TAccountOneBtcVaultBtcAta> : TAccountOneBtcVaultBtcAta,
2527
- TAccountAuthorityBtcAta extends string ? WritableAccount<TAccountAuthorityBtcAta> : TAccountAuthorityBtcAta,
2603
+ TAccountWinnerBtcAta extends string ? WritableAccount<TAccountWinnerBtcAta> : TAccountWinnerBtcAta,
2528
2604
  TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
2529
2605
  TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram,
2530
2606
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
@@ -2537,52 +2613,70 @@ type ClaimOneBtcRewardInstructionDataArgs = {};
2537
2613
  declare function getClaimOneBtcRewardInstructionDataEncoder(): FixedSizeEncoder<ClaimOneBtcRewardInstructionDataArgs>;
2538
2614
  declare function getClaimOneBtcRewardInstructionDataDecoder(): FixedSizeDecoder<ClaimOneBtcRewardInstructionData>;
2539
2615
  declare function getClaimOneBtcRewardInstructionDataCodec(): FixedSizeCodec<ClaimOneBtcRewardInstructionDataArgs, ClaimOneBtcRewardInstructionData>;
2540
- type ClaimOneBtcRewardAsyncInput<TAccountAuthority extends string = string, TAccountOneBtcVault extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string, TAccountBtcMint extends string = string, TAccountOneBtcVaultBtcAta extends string = string, TAccountAuthorityBtcAta extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2616
+ type ClaimOneBtcRewardAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountOneBtcVault extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string, TAccountWinner extends string = string, TAccountBtcMint extends string = string, TAccountOneBtcVaultBtcAta extends string = string, TAccountWinnerBtcAta extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2541
2617
  authority: TransactionSigner<TAccountAuthority>;
2618
+ satrushConfig?: Address<TAccountSatrushConfig>;
2542
2619
  oneBtcVault?: Address<TAccountOneBtcVault>;
2543
2620
  oneBtcVaultIteration: Address<TAccountOneBtcVaultIteration>;
2544
- /** The winning receipt: must belong to the signer and this iteration. */
2621
+ /**
2622
+ * The winning receipt: must belong to this iteration; its owner is the
2623
+ * prize recipient regardless of who signs.
2624
+ */
2545
2625
  ticket: Address<TAccountTicket>;
2626
+ /** cannot redirect the prize. */
2627
+ winner: Address<TAccountWinner>;
2546
2628
  btcMint: Address<TAccountBtcMint>;
2547
2629
  oneBtcVaultBtcAta?: Address<TAccountOneBtcVaultBtcAta>;
2548
- authorityBtcAta?: Address<TAccountAuthorityBtcAta>;
2630
+ winnerBtcAta?: Address<TAccountWinnerBtcAta>;
2549
2631
  tokenProgram?: Address<TAccountTokenProgram>;
2550
2632
  associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
2551
2633
  systemProgram?: Address<TAccountSystemProgram>;
2552
2634
  };
2553
- declare function getClaimOneBtcRewardInstructionAsync<TAccountAuthority extends string, TAccountOneBtcVault extends string, TAccountOneBtcVaultIteration extends string, TAccountTicket extends string, TAccountBtcMint extends string, TAccountOneBtcVaultBtcAta extends string, TAccountAuthorityBtcAta extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: ClaimOneBtcRewardAsyncInput<TAccountAuthority, TAccountOneBtcVault, TAccountOneBtcVaultIteration, TAccountTicket, TAccountBtcMint, TAccountOneBtcVaultBtcAta, TAccountAuthorityBtcAta, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
2635
+ declare function getClaimOneBtcRewardInstructionAsync<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountOneBtcVault extends string, TAccountOneBtcVaultIteration extends string, TAccountTicket extends string, TAccountWinner extends string, TAccountBtcMint extends string, TAccountOneBtcVaultBtcAta extends string, TAccountWinnerBtcAta extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: ClaimOneBtcRewardAsyncInput<TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVault, TAccountOneBtcVaultIteration, TAccountTicket, TAccountWinner, TAccountBtcMint, TAccountOneBtcVaultBtcAta, TAccountWinnerBtcAta, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
2554
2636
  programAddress?: TProgramAddress;
2555
- }): Promise<ClaimOneBtcRewardInstruction<TProgramAddress, TAccountAuthority, TAccountOneBtcVault, TAccountOneBtcVaultIteration, TAccountTicket, TAccountBtcMint, TAccountOneBtcVaultBtcAta, TAccountAuthorityBtcAta, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>>;
2556
- type ClaimOneBtcRewardInput<TAccountAuthority extends string = string, TAccountOneBtcVault extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string, TAccountBtcMint extends string = string, TAccountOneBtcVaultBtcAta extends string = string, TAccountAuthorityBtcAta extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2637
+ }): Promise<ClaimOneBtcRewardInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVault, TAccountOneBtcVaultIteration, TAccountTicket, TAccountWinner, TAccountBtcMint, TAccountOneBtcVaultBtcAta, TAccountWinnerBtcAta, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>>;
2638
+ type ClaimOneBtcRewardInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountOneBtcVault extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string, TAccountWinner extends string = string, TAccountBtcMint extends string = string, TAccountOneBtcVaultBtcAta extends string = string, TAccountWinnerBtcAta extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2557
2639
  authority: TransactionSigner<TAccountAuthority>;
2640
+ satrushConfig: Address<TAccountSatrushConfig>;
2558
2641
  oneBtcVault: Address<TAccountOneBtcVault>;
2559
2642
  oneBtcVaultIteration: Address<TAccountOneBtcVaultIteration>;
2560
- /** The winning receipt: must belong to the signer and this iteration. */
2643
+ /**
2644
+ * The winning receipt: must belong to this iteration; its owner is the
2645
+ * prize recipient regardless of who signs.
2646
+ */
2561
2647
  ticket: Address<TAccountTicket>;
2648
+ /** cannot redirect the prize. */
2649
+ winner: Address<TAccountWinner>;
2562
2650
  btcMint: Address<TAccountBtcMint>;
2563
2651
  oneBtcVaultBtcAta: Address<TAccountOneBtcVaultBtcAta>;
2564
- authorityBtcAta: Address<TAccountAuthorityBtcAta>;
2652
+ winnerBtcAta: Address<TAccountWinnerBtcAta>;
2565
2653
  tokenProgram?: Address<TAccountTokenProgram>;
2566
2654
  associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
2567
2655
  systemProgram?: Address<TAccountSystemProgram>;
2568
2656
  };
2569
- declare function getClaimOneBtcRewardInstruction<TAccountAuthority extends string, TAccountOneBtcVault extends string, TAccountOneBtcVaultIteration extends string, TAccountTicket extends string, TAccountBtcMint extends string, TAccountOneBtcVaultBtcAta extends string, TAccountAuthorityBtcAta extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: ClaimOneBtcRewardInput<TAccountAuthority, TAccountOneBtcVault, TAccountOneBtcVaultIteration, TAccountTicket, TAccountBtcMint, TAccountOneBtcVaultBtcAta, TAccountAuthorityBtcAta, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
2657
+ declare function getClaimOneBtcRewardInstruction<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountOneBtcVault extends string, TAccountOneBtcVaultIteration extends string, TAccountTicket extends string, TAccountWinner extends string, TAccountBtcMint extends string, TAccountOneBtcVaultBtcAta extends string, TAccountWinnerBtcAta extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: ClaimOneBtcRewardInput<TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVault, TAccountOneBtcVaultIteration, TAccountTicket, TAccountWinner, TAccountBtcMint, TAccountOneBtcVaultBtcAta, TAccountWinnerBtcAta, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
2570
2658
  programAddress?: TProgramAddress;
2571
- }): ClaimOneBtcRewardInstruction<TProgramAddress, TAccountAuthority, TAccountOneBtcVault, TAccountOneBtcVaultIteration, TAccountTicket, TAccountBtcMint, TAccountOneBtcVaultBtcAta, TAccountAuthorityBtcAta, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>;
2659
+ }): ClaimOneBtcRewardInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVault, TAccountOneBtcVaultIteration, TAccountTicket, TAccountWinner, TAccountBtcMint, TAccountOneBtcVaultBtcAta, TAccountWinnerBtcAta, TAccountTokenProgram, TAccountAssociatedTokenProgram, TAccountSystemProgram>;
2572
2660
  type ParsedClaimOneBtcRewardInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2573
2661
  programAddress: Address<TProgram>;
2574
2662
  accounts: {
2575
2663
  authority: TAccountMetas[0];
2576
- oneBtcVault: TAccountMetas[1];
2577
- oneBtcVaultIteration: TAccountMetas[2];
2578
- /** The winning receipt: must belong to the signer and this iteration. */
2579
- ticket: TAccountMetas[3];
2580
- btcMint: TAccountMetas[4];
2581
- oneBtcVaultBtcAta: TAccountMetas[5];
2582
- authorityBtcAta: TAccountMetas[6];
2583
- tokenProgram: TAccountMetas[7];
2584
- associatedTokenProgram: TAccountMetas[8];
2585
- systemProgram: TAccountMetas[9];
2664
+ satrushConfig: TAccountMetas[1];
2665
+ oneBtcVault: TAccountMetas[2];
2666
+ oneBtcVaultIteration: TAccountMetas[3];
2667
+ /**
2668
+ * The winning receipt: must belong to this iteration; its owner is the
2669
+ * prize recipient regardless of who signs.
2670
+ */
2671
+ ticket: TAccountMetas[4];
2672
+ /** cannot redirect the prize. */
2673
+ winner: TAccountMetas[5];
2674
+ btcMint: TAccountMetas[6];
2675
+ oneBtcVaultBtcAta: TAccountMetas[7];
2676
+ winnerBtcAta: TAccountMetas[8];
2677
+ tokenProgram: TAccountMetas[9];
2678
+ associatedTokenProgram: TAccountMetas[10];
2679
+ systemProgram: TAccountMetas[11];
2586
2680
  };
2587
2681
  data: ClaimOneBtcRewardInstructionData;
2588
2682
  };
@@ -2796,11 +2890,12 @@ declare function parseClaimUsdInstruction<TProgram extends string, TAccountMetas
2796
2890
 
2797
2891
  declare const CLOSE_EPOCH_ENTRY_DISCRIMINATOR: ReadonlyUint8Array;
2798
2892
  declare function getCloseEpochEntryDiscriminatorBytes(): ReadonlyUint8Array;
2799
- type CloseEpochEntryInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSatrushConfig extends string | AccountMeta<string> = string, TAccountEpochVaultIteration extends string | AccountMeta<string> = string, TAccountEpochVaultEntry extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2893
+ type CloseEpochEntryInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSatrushConfig extends string | AccountMeta<string> = string, TAccountEpochVaultIteration extends string | AccountMeta<string> = string, TAccountEpochVaultEntry extends string | AccountMeta<string> = string, TAccountEntryOwner extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2800
2894
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
2801
2895
  TAccountSatrushConfig extends string ? ReadonlyAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
2802
2896
  TAccountEpochVaultIteration extends string ? ReadonlyAccount<TAccountEpochVaultIteration> : TAccountEpochVaultIteration,
2803
2897
  TAccountEpochVaultEntry extends string ? WritableAccount<TAccountEpochVaultEntry> : TAccountEpochVaultEntry,
2898
+ TAccountEntryOwner extends string ? WritableAccount<TAccountEntryOwner> : TAccountEntryOwner,
2804
2899
  ...TRemainingAccounts
2805
2900
  ]>;
2806
2901
  type CloseEpochEntryInstructionData = {
@@ -2810,24 +2905,28 @@ type CloseEpochEntryInstructionDataArgs = {};
2810
2905
  declare function getCloseEpochEntryInstructionDataEncoder(): FixedSizeEncoder<CloseEpochEntryInstructionDataArgs>;
2811
2906
  declare function getCloseEpochEntryInstructionDataDecoder(): FixedSizeDecoder<CloseEpochEntryInstructionData>;
2812
2907
  declare function getCloseEpochEntryInstructionDataCodec(): FixedSizeCodec<CloseEpochEntryInstructionDataArgs, CloseEpochEntryInstructionData>;
2813
- type CloseEpochEntryAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountEpochVaultIteration extends string = string, TAccountEpochVaultEntry extends string = string> = {
2908
+ type CloseEpochEntryAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountEpochVaultIteration extends string = string, TAccountEpochVaultEntry extends string = string, TAccountEntryOwner extends string = string> = {
2814
2909
  authority: TransactionSigner<TAccountAuthority>;
2815
2910
  satrushConfig?: Address<TAccountSatrushConfig>;
2816
2911
  epochVaultIteration: Address<TAccountEpochVaultIteration>;
2817
2912
  epochVaultEntry: Address<TAccountEpochVaultEntry>;
2913
+ /** Rent destination: the user who paid for the entry. */
2914
+ entryOwner: Address<TAccountEntryOwner>;
2818
2915
  };
2819
- declare function getCloseEpochEntryInstructionAsync<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountEpochVaultIteration extends string, TAccountEpochVaultEntry extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: CloseEpochEntryAsyncInput<TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry>, config?: {
2916
+ declare function getCloseEpochEntryInstructionAsync<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountEpochVaultIteration extends string, TAccountEpochVaultEntry extends string, TAccountEntryOwner extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: CloseEpochEntryAsyncInput<TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry, TAccountEntryOwner>, config?: {
2820
2917
  programAddress?: TProgramAddress;
2821
- }): Promise<CloseEpochEntryInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry>>;
2822
- type CloseEpochEntryInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountEpochVaultIteration extends string = string, TAccountEpochVaultEntry extends string = string> = {
2918
+ }): Promise<CloseEpochEntryInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry, TAccountEntryOwner>>;
2919
+ type CloseEpochEntryInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountEpochVaultIteration extends string = string, TAccountEpochVaultEntry extends string = string, TAccountEntryOwner extends string = string> = {
2823
2920
  authority: TransactionSigner<TAccountAuthority>;
2824
2921
  satrushConfig: Address<TAccountSatrushConfig>;
2825
2922
  epochVaultIteration: Address<TAccountEpochVaultIteration>;
2826
2923
  epochVaultEntry: Address<TAccountEpochVaultEntry>;
2924
+ /** Rent destination: the user who paid for the entry. */
2925
+ entryOwner: Address<TAccountEntryOwner>;
2827
2926
  };
2828
- declare function getCloseEpochEntryInstruction<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountEpochVaultIteration extends string, TAccountEpochVaultEntry extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: CloseEpochEntryInput<TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry>, config?: {
2927
+ declare function getCloseEpochEntryInstruction<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountEpochVaultIteration extends string, TAccountEpochVaultEntry extends string, TAccountEntryOwner extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: CloseEpochEntryInput<TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry, TAccountEntryOwner>, config?: {
2829
2928
  programAddress?: TProgramAddress;
2830
- }): CloseEpochEntryInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry>;
2929
+ }): CloseEpochEntryInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry, TAccountEntryOwner>;
2831
2930
  type ParsedCloseEpochEntryInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2832
2931
  programAddress: Address<TProgram>;
2833
2932
  accounts: {
@@ -2835,6 +2934,8 @@ type ParsedCloseEpochEntryInstruction<TProgram extends string = typeof SATRUSH_P
2835
2934
  satrushConfig: TAccountMetas[1];
2836
2935
  epochVaultIteration: TAccountMetas[2];
2837
2936
  epochVaultEntry: TAccountMetas[3];
2937
+ /** Rent destination: the user who paid for the entry. */
2938
+ entryOwner: TAccountMetas[4];
2838
2939
  };
2839
2940
  data: CloseEpochEntryInstructionData;
2840
2941
  };
@@ -3004,10 +3105,12 @@ declare function parseCloseOneBtcIterationInstruction<TProgram extends string, T
3004
3105
 
3005
3106
  declare const CLOSE_ONE_BTC_TICKET_DISCRIMINATOR: ReadonlyUint8Array;
3006
3107
  declare function getCloseOneBtcTicketDiscriminatorBytes(): ReadonlyUint8Array;
3007
- type CloseOneBtcTicketInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountOneBtcVaultIteration extends string | AccountMeta<string> = string, TAccountTicket extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3108
+ type CloseOneBtcTicketInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSatrushConfig extends string | AccountMeta<string> = string, TAccountOneBtcVaultIteration extends string | AccountMeta<string> = string, TAccountTicket extends string | AccountMeta<string> = string, TAccountTicketOwner extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
3008
3109
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
3110
+ TAccountSatrushConfig extends string ? ReadonlyAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
3009
3111
  TAccountOneBtcVaultIteration extends string ? ReadonlyAccount<TAccountOneBtcVaultIteration> : TAccountOneBtcVaultIteration,
3010
3112
  TAccountTicket extends string ? WritableAccount<TAccountTicket> : TAccountTicket,
3113
+ TAccountTicketOwner extends string ? WritableAccount<TAccountTicketOwner> : TAccountTicketOwner,
3011
3114
  ...TRemainingAccounts
3012
3115
  ]>;
3013
3116
  type CloseOneBtcTicketInstructionData = {
@@ -3017,20 +3120,37 @@ type CloseOneBtcTicketInstructionDataArgs = {};
3017
3120
  declare function getCloseOneBtcTicketInstructionDataEncoder(): FixedSizeEncoder<CloseOneBtcTicketInstructionDataArgs>;
3018
3121
  declare function getCloseOneBtcTicketInstructionDataDecoder(): FixedSizeDecoder<CloseOneBtcTicketInstructionData>;
3019
3122
  declare function getCloseOneBtcTicketInstructionDataCodec(): FixedSizeCodec<CloseOneBtcTicketInstructionDataArgs, CloseOneBtcTicketInstructionData>;
3020
- type CloseOneBtcTicketInput<TAccountAuthority extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string> = {
3123
+ type CloseOneBtcTicketAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string, TAccountTicketOwner extends string = string> = {
3021
3124
  authority: TransactionSigner<TAccountAuthority>;
3125
+ satrushConfig?: Address<TAccountSatrushConfig>;
3022
3126
  oneBtcVaultIteration: Address<TAccountOneBtcVaultIteration>;
3023
3127
  ticket: Address<TAccountTicket>;
3128
+ /** Rent destination: the buyer who paid for the ticket. */
3129
+ ticketOwner: Address<TAccountTicketOwner>;
3024
3130
  };
3025
- declare function getCloseOneBtcTicketInstruction<TAccountAuthority extends string, TAccountOneBtcVaultIteration extends string, TAccountTicket extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: CloseOneBtcTicketInput<TAccountAuthority, TAccountOneBtcVaultIteration, TAccountTicket>, config?: {
3131
+ declare function getCloseOneBtcTicketInstructionAsync<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountOneBtcVaultIteration extends string, TAccountTicket extends string, TAccountTicketOwner extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: CloseOneBtcTicketAsyncInput<TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVaultIteration, TAccountTicket, TAccountTicketOwner>, config?: {
3026
3132
  programAddress?: TProgramAddress;
3027
- }): CloseOneBtcTicketInstruction<TProgramAddress, TAccountAuthority, TAccountOneBtcVaultIteration, TAccountTicket>;
3133
+ }): Promise<CloseOneBtcTicketInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVaultIteration, TAccountTicket, TAccountTicketOwner>>;
3134
+ type CloseOneBtcTicketInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string, TAccountTicketOwner extends string = string> = {
3135
+ authority: TransactionSigner<TAccountAuthority>;
3136
+ satrushConfig: Address<TAccountSatrushConfig>;
3137
+ oneBtcVaultIteration: Address<TAccountOneBtcVaultIteration>;
3138
+ ticket: Address<TAccountTicket>;
3139
+ /** Rent destination: the buyer who paid for the ticket. */
3140
+ ticketOwner: Address<TAccountTicketOwner>;
3141
+ };
3142
+ declare function getCloseOneBtcTicketInstruction<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountOneBtcVaultIteration extends string, TAccountTicket extends string, TAccountTicketOwner extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: CloseOneBtcTicketInput<TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVaultIteration, TAccountTicket, TAccountTicketOwner>, config?: {
3143
+ programAddress?: TProgramAddress;
3144
+ }): CloseOneBtcTicketInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVaultIteration, TAccountTicket, TAccountTicketOwner>;
3028
3145
  type ParsedCloseOneBtcTicketInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
3029
3146
  programAddress: Address<TProgram>;
3030
3147
  accounts: {
3031
3148
  authority: TAccountMetas[0];
3032
- oneBtcVaultIteration: TAccountMetas[1];
3033
- ticket: TAccountMetas[2];
3149
+ satrushConfig: TAccountMetas[1];
3150
+ oneBtcVaultIteration: TAccountMetas[2];
3151
+ ticket: TAccountMetas[3];
3152
+ /** Rent destination: the buyer who paid for the ticket. */
3153
+ ticketOwner: TAccountMetas[4];
3034
3154
  };
3035
3155
  data: CloseOneBtcTicketInstructionData;
3036
3156
  };
@@ -4132,16 +4252,19 @@ declare function parseExecutePublicAutomationInstruction<TProgram extends string
4132
4252
 
4133
4253
  declare const ROTATE_ROUND_DISCRIMINATOR: ReadonlyUint8Array;
4134
4254
  declare function getRotateRoundDiscriminatorBytes(): ReadonlyUint8Array;
4135
- type RotateRoundInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSatrushConfig extends string | AccountMeta<string> = string, TAccountBoard extends string | AccountMeta<string> = string, TAccountCurrentRound extends string | AccountMeta<string> = string, TAccountNextRound extends string | AccountMeta<string> = string, TAccountUsdMint extends string | AccountMeta<string> = string, TAccountBoardUsdAta extends string | AccountMeta<string> = string, TAccountEpochVault extends string | AccountMeta<string> = string, TAccountEpochVaultUsdAta extends string | AccountMeta<string> = string, TAccountOneBtcVault extends string | AccountMeta<string> = string, TAccountOneBtcVaultUsdAta extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountTreasuryUsdAta extends string | AccountMeta<string> = string, TAccountSlotHashes extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
4255
+ type RotateRoundInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSatrushConfig extends string | AccountMeta<string> = string, TAccountBoard extends string | AccountMeta<string> = string, TAccountCurrentRound extends string | AccountMeta<string> = string, TAccountNextRound extends string | AccountMeta<string> = string, TAccountUsdMint extends string | AccountMeta<string> = string, TAccountBtcMint extends string | AccountMeta<string> = string, TAccountBoardUsdAta extends string | AccountMeta<string> = string, TAccountBoardBtcAta extends string | AccountMeta<string> = string, TAccountEpochVault extends string | AccountMeta<string> = string, TAccountEpochVaultUsdAta extends string | AccountMeta<string> = string, TAccountEpochVaultBtcAta extends string | AccountMeta<string> = string, TAccountOneBtcVault extends string | AccountMeta<string> = string, TAccountOneBtcVaultUsdAta extends string | AccountMeta<string> = string, TAccountTreasury extends string | AccountMeta<string> = string, TAccountTreasuryUsdAta extends string | AccountMeta<string> = string, TAccountSlotHashes extends string | AccountMeta<string> = 'SysvarS1otHashes111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
4136
4256
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
4137
4257
  TAccountSatrushConfig extends string ? ReadonlyAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
4138
4258
  TAccountBoard extends string ? WritableAccount<TAccountBoard> : TAccountBoard,
4139
4259
  TAccountCurrentRound extends string ? WritableAccount<TAccountCurrentRound> : TAccountCurrentRound,
4140
4260
  TAccountNextRound extends string ? WritableAccount<TAccountNextRound> : TAccountNextRound,
4141
4261
  TAccountUsdMint extends string ? ReadonlyAccount<TAccountUsdMint> : TAccountUsdMint,
4262
+ TAccountBtcMint extends string ? ReadonlyAccount<TAccountBtcMint> : TAccountBtcMint,
4142
4263
  TAccountBoardUsdAta extends string ? WritableAccount<TAccountBoardUsdAta> : TAccountBoardUsdAta,
4264
+ TAccountBoardBtcAta extends string ? WritableAccount<TAccountBoardBtcAta> : TAccountBoardBtcAta,
4143
4265
  TAccountEpochVault extends string ? WritableAccount<TAccountEpochVault> : TAccountEpochVault,
4144
4266
  TAccountEpochVaultUsdAta extends string ? WritableAccount<TAccountEpochVaultUsdAta> : TAccountEpochVaultUsdAta,
4267
+ TAccountEpochVaultBtcAta extends string ? WritableAccount<TAccountEpochVaultBtcAta> : TAccountEpochVaultBtcAta,
4145
4268
  TAccountOneBtcVault extends string ? WritableAccount<TAccountOneBtcVault> : TAccountOneBtcVault,
4146
4269
  TAccountOneBtcVaultUsdAta extends string ? WritableAccount<TAccountOneBtcVaultUsdAta> : TAccountOneBtcVaultUsdAta,
4147
4270
  TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
@@ -4160,7 +4283,7 @@ type RotateRoundInstructionDataArgs = {};
4160
4283
  declare function getRotateRoundInstructionDataEncoder(): FixedSizeEncoder<RotateRoundInstructionDataArgs>;
4161
4284
  declare function getRotateRoundInstructionDataDecoder(): FixedSizeDecoder<RotateRoundInstructionData>;
4162
4285
  declare function getRotateRoundInstructionDataCodec(): FixedSizeCodec<RotateRoundInstructionDataArgs, RotateRoundInstructionData>;
4163
- type RotateRoundAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountBoard extends string = string, TAccountCurrentRound extends string = string, TAccountNextRound extends string = string, TAccountUsdMint extends string = string, TAccountBoardUsdAta extends string = string, TAccountEpochVault extends string = string, TAccountEpochVaultUsdAta extends string = string, TAccountOneBtcVault extends string = string, TAccountOneBtcVaultUsdAta extends string = string, TAccountTreasury extends string = string, TAccountTreasuryUsdAta extends string = string, TAccountSlotHashes extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
4286
+ type RotateRoundAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountBoard extends string = string, TAccountCurrentRound extends string = string, TAccountNextRound extends string = string, TAccountUsdMint extends string = string, TAccountBtcMint extends string = string, TAccountBoardUsdAta extends string = string, TAccountBoardBtcAta extends string = string, TAccountEpochVault extends string = string, TAccountEpochVaultUsdAta extends string = string, TAccountEpochVaultBtcAta extends string = string, TAccountOneBtcVault extends string = string, TAccountOneBtcVaultUsdAta extends string = string, TAccountTreasury extends string = string, TAccountTreasuryUsdAta extends string = string, TAccountSlotHashes extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
4164
4287
  authority: TransactionSigner<TAccountAuthority>;
4165
4288
  satrushConfig?: Address<TAccountSatrushConfig>;
4166
4289
  /**
@@ -4181,15 +4304,33 @@ type RotateRoundAsyncInput<TAccountAuthority extends string = string, TAccountSa
4181
4304
  * populates it via `Round::try_new`.
4182
4305
  */
4183
4306
  nextRound?: Address<TAccountNextRound>;
4307
+ /** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
4184
4308
  usdMint: Address<TAccountUsdMint>;
4309
+ /** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
4310
+ btcMint: Address<TAccountBtcMint>;
4185
4311
  /** Board's USD pool where every deploy's full amount landed — the sweep source. */
4186
4312
  boardUsdAta?: Address<TAccountBoardUsdAta>;
4313
+ /**
4314
+ * Board's BTC jackpot reserves — the strike skim's BTC source.
4315
+ * program validates mint and ownership on the transfer CPI. Unchecked for
4316
+ * `try_accounts` stack headroom.
4317
+ */
4318
+ boardBtcAta: Address<TAccountBoardBtcAta>;
4187
4319
  /** Epoch Vault singleton — receives the round's accumulated epoch fee leg. */
4188
4320
  epochVault?: Address<TAccountEpochVault>;
4189
4321
  epochVaultUsdAta?: Address<TAccountEpochVaultUsdAta>;
4322
+ /**
4323
+ * program validates mint and ownership on the transfer CPI. Unchecked for
4324
+ * `try_accounts` stack headroom.
4325
+ */
4326
+ epochVaultBtcAta: Address<TAccountEpochVaultBtcAta>;
4190
4327
  /** 1 BTC Vault singleton — receives the round's accumulated 1 BTC fee leg. */
4191
4328
  oneBtcVault?: Address<TAccountOneBtcVault>;
4192
- oneBtcVaultUsdAta?: Address<TAccountOneBtcVaultUsdAta>;
4329
+ /**
4330
+ * transfer destination — the token program validates mint and ownership on
4331
+ * the CPI. Unchecked for `try_accounts` stack headroom.
4332
+ */
4333
+ oneBtcVaultUsdAta: Address<TAccountOneBtcVaultUsdAta>;
4193
4334
  /**
4194
4335
  * Treasury singleton — receives the round's accumulated protocol fee leg.
4195
4336
  * No seeds constraint: discriminator + owner checks pin the one Treasury
@@ -4204,10 +4345,10 @@ type RotateRoundAsyncInput<TAccountAuthority extends string = string, TAccountSa
4204
4345
  eventAuthority: Address<TAccountEventAuthority>;
4205
4346
  program: Address<TAccountProgram>;
4206
4347
  };
4207
- declare function getRotateRoundInstructionAsync<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountBoard extends string, TAccountCurrentRound extends string, TAccountNextRound extends string, TAccountUsdMint extends string, TAccountBoardUsdAta extends string, TAccountEpochVault extends string, TAccountEpochVaultUsdAta extends string, TAccountOneBtcVault extends string, TAccountOneBtcVaultUsdAta extends string, TAccountTreasury extends string, TAccountTreasuryUsdAta extends string, TAccountSlotHashes extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: RotateRoundAsyncInput<TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBoardUsdAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
4348
+ declare function getRotateRoundInstructionAsync<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountBoard extends string, TAccountCurrentRound extends string, TAccountNextRound extends string, TAccountUsdMint extends string, TAccountBtcMint extends string, TAccountBoardUsdAta extends string, TAccountBoardBtcAta extends string, TAccountEpochVault extends string, TAccountEpochVaultUsdAta extends string, TAccountEpochVaultBtcAta extends string, TAccountOneBtcVault extends string, TAccountOneBtcVaultUsdAta extends string, TAccountTreasury extends string, TAccountTreasuryUsdAta extends string, TAccountSlotHashes extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: RotateRoundAsyncInput<TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBtcMint, TAccountBoardUsdAta, TAccountBoardBtcAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountEpochVaultBtcAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
4208
4349
  programAddress?: TProgramAddress;
4209
- }): Promise<RotateRoundInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBoardUsdAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>>;
4210
- type RotateRoundInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountBoard extends string = string, TAccountCurrentRound extends string = string, TAccountNextRound extends string = string, TAccountUsdMint extends string = string, TAccountBoardUsdAta extends string = string, TAccountEpochVault extends string = string, TAccountEpochVaultUsdAta extends string = string, TAccountOneBtcVault extends string = string, TAccountOneBtcVaultUsdAta extends string = string, TAccountTreasury extends string = string, TAccountTreasuryUsdAta extends string = string, TAccountSlotHashes extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
4350
+ }): Promise<RotateRoundInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBtcMint, TAccountBoardUsdAta, TAccountBoardBtcAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountEpochVaultBtcAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>>;
4351
+ type RotateRoundInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountBoard extends string = string, TAccountCurrentRound extends string = string, TAccountNextRound extends string = string, TAccountUsdMint extends string = string, TAccountBtcMint extends string = string, TAccountBoardUsdAta extends string = string, TAccountBoardBtcAta extends string = string, TAccountEpochVault extends string = string, TAccountEpochVaultUsdAta extends string = string, TAccountEpochVaultBtcAta extends string = string, TAccountOneBtcVault extends string = string, TAccountOneBtcVaultUsdAta extends string = string, TAccountTreasury extends string = string, TAccountTreasuryUsdAta extends string = string, TAccountSlotHashes extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
4211
4352
  authority: TransactionSigner<TAccountAuthority>;
4212
4353
  satrushConfig: Address<TAccountSatrushConfig>;
4213
4354
  /**
@@ -4228,14 +4369,32 @@ type RotateRoundInput<TAccountAuthority extends string = string, TAccountSatrush
4228
4369
  * populates it via `Round::try_new`.
4229
4370
  */
4230
4371
  nextRound: Address<TAccountNextRound>;
4372
+ /** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
4231
4373
  usdMint: Address<TAccountUsdMint>;
4374
+ /** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
4375
+ btcMint: Address<TAccountBtcMint>;
4232
4376
  /** Board's USD pool where every deploy's full amount landed — the sweep source. */
4233
4377
  boardUsdAta: Address<TAccountBoardUsdAta>;
4378
+ /**
4379
+ * Board's BTC jackpot reserves — the strike skim's BTC source.
4380
+ * program validates mint and ownership on the transfer CPI. Unchecked for
4381
+ * `try_accounts` stack headroom.
4382
+ */
4383
+ boardBtcAta: Address<TAccountBoardBtcAta>;
4234
4384
  /** Epoch Vault singleton — receives the round's accumulated epoch fee leg. */
4235
4385
  epochVault: Address<TAccountEpochVault>;
4236
4386
  epochVaultUsdAta: Address<TAccountEpochVaultUsdAta>;
4387
+ /**
4388
+ * program validates mint and ownership on the transfer CPI. Unchecked for
4389
+ * `try_accounts` stack headroom.
4390
+ */
4391
+ epochVaultBtcAta: Address<TAccountEpochVaultBtcAta>;
4237
4392
  /** 1 BTC Vault singleton — receives the round's accumulated 1 BTC fee leg. */
4238
4393
  oneBtcVault: Address<TAccountOneBtcVault>;
4394
+ /**
4395
+ * transfer destination — the token program validates mint and ownership on
4396
+ * the CPI. Unchecked for `try_accounts` stack headroom.
4397
+ */
4239
4398
  oneBtcVaultUsdAta: Address<TAccountOneBtcVaultUsdAta>;
4240
4399
  /**
4241
4400
  * Treasury singleton — receives the round's accumulated protocol fee leg.
@@ -4251,9 +4410,9 @@ type RotateRoundInput<TAccountAuthority extends string = string, TAccountSatrush
4251
4410
  eventAuthority: Address<TAccountEventAuthority>;
4252
4411
  program: Address<TAccountProgram>;
4253
4412
  };
4254
- declare function getRotateRoundInstruction<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountBoard extends string, TAccountCurrentRound extends string, TAccountNextRound extends string, TAccountUsdMint extends string, TAccountBoardUsdAta extends string, TAccountEpochVault extends string, TAccountEpochVaultUsdAta extends string, TAccountOneBtcVault extends string, TAccountOneBtcVaultUsdAta extends string, TAccountTreasury extends string, TAccountTreasuryUsdAta extends string, TAccountSlotHashes extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: RotateRoundInput<TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBoardUsdAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
4413
+ declare function getRotateRoundInstruction<TAccountAuthority extends string, TAccountSatrushConfig extends string, TAccountBoard extends string, TAccountCurrentRound extends string, TAccountNextRound extends string, TAccountUsdMint extends string, TAccountBtcMint extends string, TAccountBoardUsdAta extends string, TAccountBoardBtcAta extends string, TAccountEpochVault extends string, TAccountEpochVaultUsdAta extends string, TAccountEpochVaultBtcAta extends string, TAccountOneBtcVault extends string, TAccountOneBtcVaultUsdAta extends string, TAccountTreasury extends string, TAccountTreasuryUsdAta extends string, TAccountSlotHashes extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: RotateRoundInput<TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBtcMint, TAccountBoardUsdAta, TAccountBoardBtcAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountEpochVaultBtcAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>, config?: {
4255
4414
  programAddress?: TProgramAddress;
4256
- }): RotateRoundInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBoardUsdAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
4415
+ }): RotateRoundInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBtcMint, TAccountBoardUsdAta, TAccountBoardBtcAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountEpochVaultBtcAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
4257
4416
  type ParsedRotateRoundInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
4258
4417
  programAddress: Address<TProgram>;
4259
4418
  accounts: {
@@ -4277,28 +4436,46 @@ type ParsedRotateRoundInstruction<TProgram extends string = typeof SATRUSH_PROGR
4277
4436
  * populates it via `Round::try_new`.
4278
4437
  */
4279
4438
  nextRound: TAccountMetas[4];
4439
+ /** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
4280
4440
  usdMint: TAccountMetas[5];
4441
+ /** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
4442
+ btcMint: TAccountMetas[6];
4281
4443
  /** Board's USD pool where every deploy's full amount landed — the sweep source. */
4282
- boardUsdAta: TAccountMetas[6];
4444
+ boardUsdAta: TAccountMetas[7];
4445
+ /**
4446
+ * Board's BTC jackpot reserves — the strike skim's BTC source.
4447
+ * program validates mint and ownership on the transfer CPI. Unchecked for
4448
+ * `try_accounts` stack headroom.
4449
+ */
4450
+ boardBtcAta: TAccountMetas[8];
4283
4451
  /** Epoch Vault singleton — receives the round's accumulated epoch fee leg. */
4284
- epochVault: TAccountMetas[7];
4285
- epochVaultUsdAta: TAccountMetas[8];
4452
+ epochVault: TAccountMetas[9];
4453
+ epochVaultUsdAta: TAccountMetas[10];
4454
+ /**
4455
+ * program validates mint and ownership on the transfer CPI. Unchecked for
4456
+ * `try_accounts` stack headroom.
4457
+ */
4458
+ epochVaultBtcAta: TAccountMetas[11];
4286
4459
  /** 1 BTC Vault singleton — receives the round's accumulated 1 BTC fee leg. */
4287
- oneBtcVault: TAccountMetas[9];
4288
- oneBtcVaultUsdAta: TAccountMetas[10];
4460
+ oneBtcVault: TAccountMetas[12];
4461
+ /**
4462
+ * transfer destination — the token program validates mint and ownership on
4463
+ * the CPI. Unchecked for `try_accounts` stack headroom.
4464
+ */
4465
+ oneBtcVaultUsdAta: TAccountMetas[13];
4289
4466
  /**
4290
4467
  * Treasury singleton — receives the round's accumulated protocol fee leg.
4291
4468
  * No seeds constraint: discriminator + owner checks pin the one Treasury
4292
4469
  * instance that can ever exist (`init` on fixed seeds).
4293
4470
  */
4294
- treasury: TAccountMetas[11];
4295
- treasuryUsdAta: TAccountMetas[12];
4471
+ treasury: TAccountMetas[14];
4472
+ treasuryUsdAta: TAccountMetas[15];
4296
4473
  /** because the sysvar is too large to deserialize. */
4297
- slotHashes: TAccountMetas[13];
4298
- tokenProgram: TAccountMetas[14];
4299
- systemProgram: TAccountMetas[15];
4300
- eventAuthority: TAccountMetas[16];
4301
- program: TAccountMetas[17];
4474
+ slotHashes: TAccountMetas[16];
4475
+ tokenProgram: TAccountMetas[17];
4476
+ systemProgram: TAccountMetas[18];
4477
+ eventAuthority: TAccountMetas[19];
4478
+ program: TAccountMetas[20];
4302
4479
  };
4303
4480
  data: RotateRoundInstructionData;
4304
4481
  };
@@ -5340,6 +5517,69 @@ type ParsedUpdateBoardRoundDurationInstruction<TProgram extends string = typeof
5340
5517
  };
5341
5518
  declare function parseUpdateBoardRoundDurationInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateBoardRoundDurationInstruction<TProgram, TAccountMetas>;
5342
5519
 
5520
+ /**
5521
+ * This code was AUTOGENERATED using the Codama library.
5522
+ * Please DO NOT EDIT THIS FILE, instead use visitors
5523
+ * to add features, then rerun Codama to update it.
5524
+ *
5525
+ * @see https://github.com/codama-idl/codama
5526
+ */
5527
+
5528
+ declare const UPDATE_DEPLOY_FEES_DISCRIMINATOR: ReadonlyUint8Array;
5529
+ declare function getUpdateDeployFeesDiscriminatorBytes(): ReadonlyUint8Array;
5530
+ type UpdateDeployFeesInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSatrushConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
5531
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
5532
+ TAccountSatrushConfig extends string ? WritableAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
5533
+ ...TRemainingAccounts
5534
+ ]>;
5535
+ type UpdateDeployFeesInstructionData = {
5536
+ discriminator: ReadonlyUint8Array;
5537
+ newStrikeFeeBps: number;
5538
+ newEpochFeeBps: number;
5539
+ newOneBtcFeeBps: number;
5540
+ newProtocolFeeBps: number;
5541
+ };
5542
+ type UpdateDeployFeesInstructionDataArgs = {
5543
+ newStrikeFeeBps: number;
5544
+ newEpochFeeBps: number;
5545
+ newOneBtcFeeBps: number;
5546
+ newProtocolFeeBps: number;
5547
+ };
5548
+ declare function getUpdateDeployFeesInstructionDataEncoder(): FixedSizeEncoder<UpdateDeployFeesInstructionDataArgs>;
5549
+ declare function getUpdateDeployFeesInstructionDataDecoder(): FixedSizeDecoder<UpdateDeployFeesInstructionData>;
5550
+ declare function getUpdateDeployFeesInstructionDataCodec(): FixedSizeCodec<UpdateDeployFeesInstructionDataArgs, UpdateDeployFeesInstructionData>;
5551
+ type UpdateDeployFeesAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string> = {
5552
+ authority: TransactionSigner<TAccountAuthority>;
5553
+ satrushConfig?: Address<TAccountSatrushConfig>;
5554
+ newStrikeFeeBps: UpdateDeployFeesInstructionDataArgs['newStrikeFeeBps'];
5555
+ newEpochFeeBps: UpdateDeployFeesInstructionDataArgs['newEpochFeeBps'];
5556
+ newOneBtcFeeBps: UpdateDeployFeesInstructionDataArgs['newOneBtcFeeBps'];
5557
+ newProtocolFeeBps: UpdateDeployFeesInstructionDataArgs['newProtocolFeeBps'];
5558
+ };
5559
+ declare function getUpdateDeployFeesInstructionAsync<TAccountAuthority extends string, TAccountSatrushConfig extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: UpdateDeployFeesAsyncInput<TAccountAuthority, TAccountSatrushConfig>, config?: {
5560
+ programAddress?: TProgramAddress;
5561
+ }): Promise<UpdateDeployFeesInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig>>;
5562
+ type UpdateDeployFeesInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string> = {
5563
+ authority: TransactionSigner<TAccountAuthority>;
5564
+ satrushConfig: Address<TAccountSatrushConfig>;
5565
+ newStrikeFeeBps: UpdateDeployFeesInstructionDataArgs['newStrikeFeeBps'];
5566
+ newEpochFeeBps: UpdateDeployFeesInstructionDataArgs['newEpochFeeBps'];
5567
+ newOneBtcFeeBps: UpdateDeployFeesInstructionDataArgs['newOneBtcFeeBps'];
5568
+ newProtocolFeeBps: UpdateDeployFeesInstructionDataArgs['newProtocolFeeBps'];
5569
+ };
5570
+ declare function getUpdateDeployFeesInstruction<TAccountAuthority extends string, TAccountSatrushConfig extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: UpdateDeployFeesInput<TAccountAuthority, TAccountSatrushConfig>, config?: {
5571
+ programAddress?: TProgramAddress;
5572
+ }): UpdateDeployFeesInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig>;
5573
+ type ParsedUpdateDeployFeesInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
5574
+ programAddress: Address<TProgram>;
5575
+ accounts: {
5576
+ authority: TAccountMetas[0];
5577
+ satrushConfig: TAccountMetas[1];
5578
+ };
5579
+ data: UpdateDeployFeesInstructionData;
5580
+ };
5581
+ declare function parseUpdateDeployFeesInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateDeployFeesInstruction<TProgram, TAccountMetas>;
5582
+
5343
5583
  /**
5344
5584
  * This code was AUTOGENERATED using the Codama library.
5345
5585
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -5811,6 +6051,10 @@ declare const HASHRATE_PER_TICKET = 100n;
5811
6051
  declare const LOYALTY_WEIGHT = 1n;
5812
6052
  /** Skill channel weight (β) in the hashrate reward formula, mirroring the program's `SKILL_WEIGHT`. */
5813
6053
  declare const SKILL_WEIGHT = 1n;
6054
+ /** Rounds after a Sat Strike during which settled plays earn boosted hashrate, mirroring the program's `STRIKE_BOOST_ROUNDS`. */
6055
+ declare const STRIKE_BOOST_ROUNDS = 240;
6056
+ /** Hashrate multiplier during the post-strike boost window, mirroring the program's `STRIKE_BOOST_HASHRATE_MULTIPLIER`. Pass it as {@link hashrateReward}'s `hashrateMultiplier` when `Round.isHashrateBoosted` is set. */
6057
+ declare const STRIKE_BOOST_HASHRATE_MULTIPLIER = 2n;
5814
6058
  /**
5815
6059
  * Format raw hashrate units as the UI points amount with 2 decimals
5816
6060
  * ({@link HASHRATE_DECIMALS}): raw 101 → `"1.01"`. Lossless for the full
@@ -5854,7 +6098,7 @@ type HashrateReward = {
5854
6098
  *
5855
6099
  * Returns an all-zero reward when `stake === 0n` or `covered === 0`.
5856
6100
  */
5857
- declare function hashrateReward(stake: bigint, streak: number, covered: number, totalTiles: number, usdUnit: bigint): HashrateReward;
6101
+ declare function hashrateReward(stake: bigint, streak: number, covered: number, totalTiles: number, usdUnit: bigint, hashrateMultiplier?: bigint): HashrateReward;
5858
6102
 
5859
6103
  declare function getSatrushConfigAddress(): Promise<ProgramDerivedAddress>;
5860
6104
  /**
@@ -5945,4 +6189,4 @@ declare const REWARD_MAX_STREAK = 100;
5945
6189
  */
5946
6190
  declare function nextStreakMultiplier(currentStreakCount: number, lastMinedRoundId: number, nextRoundId: number): number;
5947
6191
 
5948
- export { AutomationStrategy, type AutomationStrategyArgs, BOARD_DISCRIMINATOR, BUY_EPOCH_TICKETS_DISCRIMINATOR, BUY_ONE_BTC_TICKETS_DISCRIMINATOR, type Board, type BoardArgs, type BtcSharesValue, type BuyEpochTicketsAsyncInput, type BuyEpochTicketsInput, type BuyEpochTicketsInstruction, type BuyEpochTicketsInstructionData, type BuyEpochTicketsInstructionDataArgs, type BuyOneBtcTicketsAsyncInput, type BuyOneBtcTicketsInput, type BuyOneBtcTicketsInstruction, type BuyOneBtcTicketsInstructionData, type BuyOneBtcTicketsInstructionDataArgs, CANCEL_PUBLIC_AUTOMATION_DISCRIMINATOR, CLAIM_EPOCH_REWARD_DISCRIMINATOR, CLAIM_ONE_BTC_REWARD_DISCRIMINATOR, CLAIM_SATS_DISCRIMINATOR, CLAIM_USD_DISCRIMINATOR, CLOSE_EPOCH_ENTRY_DISCRIMINATOR, CLOSE_EPOCH_ITERATION_DISCRIMINATOR, CLOSE_EPOCH_PAGE_DISCRIMINATOR, CLOSE_ONE_BTC_ITERATION_DISCRIMINATOR, CLOSE_ONE_BTC_TICKET_DISCRIMINATOR, CLOSE_ROUND_DISCRIMINATOR, CREATE_BOARD_DISCRIMINATOR, CREATE_EPOCH_VAULT_DISCRIMINATOR, CREATE_ONE_BTC_VAULT_DISCRIMINATOR, CREATE_PUBLIC_AUTOMATION_DISCRIMINATOR, CREATE_SATRUSH_CONFIG_DISCRIMINATOR, CREATE_SATS_VAULT_DISCRIMINATOR, CREATE_TREASURY_DISCRIMINATOR, type CancelPublicAutomationAsyncInput, type CancelPublicAutomationInput, type CancelPublicAutomationInstruction, type CancelPublicAutomationInstructionData, type CancelPublicAutomationInstructionDataArgs, type ClaimEpochRewardAsyncInput, type ClaimEpochRewardInput, type ClaimEpochRewardInstruction, type ClaimEpochRewardInstructionData, type ClaimEpochRewardInstructionDataArgs, type ClaimOneBtcRewardAsyncInput, type ClaimOneBtcRewardInput, type ClaimOneBtcRewardInstruction, type ClaimOneBtcRewardInstructionData, type ClaimOneBtcRewardInstructionDataArgs, type ClaimSatsAsyncInput, type ClaimSatsInput, type ClaimSatsInstruction, type ClaimSatsInstructionData, type ClaimSatsInstructionDataArgs, type ClaimUsdAsyncInput, type ClaimUsdInput, type ClaimUsdInstruction, type ClaimUsdInstructionData, type ClaimUsdInstructionDataArgs, type CloseEpochEntryAsyncInput, type CloseEpochEntryInput, type CloseEpochEntryInstruction, type CloseEpochEntryInstructionData, type CloseEpochEntryInstructionDataArgs, type CloseEpochIterationAsyncInput, type CloseEpochIterationInput, type CloseEpochIterationInstruction, type CloseEpochIterationInstructionData, type CloseEpochIterationInstructionDataArgs, type CloseEpochPageAsyncInput, type CloseEpochPageInput, type CloseEpochPageInstruction, type CloseEpochPageInstructionData, type CloseEpochPageInstructionDataArgs, type CloseOneBtcIterationAsyncInput, type CloseOneBtcIterationInput, type CloseOneBtcIterationInstruction, type CloseOneBtcIterationInstructionData, type CloseOneBtcIterationInstructionDataArgs, type CloseOneBtcTicketInput, type CloseOneBtcTicketInstruction, type CloseOneBtcTicketInstructionData, type CloseOneBtcTicketInstructionDataArgs, type CloseRoundAsyncInput, type CloseRoundInput, type CloseRoundInstruction, type CloseRoundInstructionData, type CloseRoundInstructionDataArgs, type CreateBoardAsyncInput, type CreateBoardInput, type CreateBoardInstruction, type CreateBoardInstructionData, type CreateBoardInstructionDataArgs, type CreateEpochVaultAsyncInput, type CreateEpochVaultInput, type CreateEpochVaultInstruction, type CreateEpochVaultInstructionData, type CreateEpochVaultInstructionDataArgs, type CreateOneBtcVaultAsyncInput, type CreateOneBtcVaultInput, type CreateOneBtcVaultInstruction, type CreateOneBtcVaultInstructionData, type CreateOneBtcVaultInstructionDataArgs, type CreatePublicAutomationAsyncInput, type CreatePublicAutomationInput, type CreatePublicAutomationInstruction, type CreatePublicAutomationInstructionData, type CreatePublicAutomationInstructionDataArgs, type CreateSatrushConfigAsyncInput, type CreateSatrushConfigInput, type CreateSatrushConfigInstruction, type CreateSatrushConfigInstructionData, type CreateSatrushConfigInstructionDataArgs, type CreateSatsVaultAsyncInput, type CreateSatsVaultInput, type CreateSatsVaultInstruction, type CreateSatsVaultInstructionData, type CreateSatsVaultInstructionDataArgs, type CreateTreasuryAsyncInput, type CreateTreasuryInput, type CreateTreasuryInstruction, type CreateTreasuryInstructionData, type CreateTreasuryInstructionDataArgs, DEPLOY_PUBLIC_DISCRIMINATOR, type DeployPublicAsyncInput, type DeployPublicInput, type DeployPublicInstruction, type DeployPublicInstructionData, type DeployPublicInstructionDataArgs, EPOCH_VAULT_DISCRIMINATOR, EPOCH_VAULT_ENTRY_DISCRIMINATOR, EPOCH_VAULT_ITERATION_DISCRIMINATOR, EPOCH_VAULT_PAGE_DISCRIMINATOR, EXECUTE_PUBLIC_AUTOMATION_DISCRIMINATOR, type EpochDrawTriggered, type EpochDrawTriggeredArgs, EpochState, type EpochStateArgs, type EpochTicketsBought, type EpochTicketsBoughtArgs, type EpochVault, type EpochVaultArgs, type EpochVaultEntry, type EpochVaultEntryArgs, type EpochVaultIteration, type EpochVaultIterationArgs, type EpochVaultPage, type EpochVaultPageArgs, type EpochWinnerSelected, type EpochWinnerSelectedArgs, type ExecutePublicAutomationAsyncInput, type ExecutePublicAutomationInput, type ExecutePublicAutomationInstruction, type ExecutePublicAutomationInstructionData, type ExecutePublicAutomationInstructionDataArgs, HASHRATE_DECIMALS, HASHRATE_PER_TICKET, type HashrateReward, LOYALTY_WEIGHT, MINER_DISCRIMINATOR, type Miner, type MinerArgs, type MinerSeeds, type NextRoundSeeds, ONE_BTC_VAULT_DISCRIMINATOR, ONE_BTC_VAULT_ENTRY_DISCRIMINATOR, ONE_BTC_VAULT_ITERATION_DISCRIMINATOR, type OneBtcDrawTriggered, type OneBtcDrawTriggeredArgs, OneBtcState, type OneBtcStateArgs, type OneBtcTicketsBought, type OneBtcTicketsBoughtArgs, type OneBtcVault, type OneBtcVaultArgs, type OneBtcVaultEntry, type OneBtcVaultEntryArgs, type OneBtcVaultIteration, type OneBtcVaultIterationArgs, PUBLIC_AUTOMATION_DISCRIMINATOR, PUBLIC_DEPLOYMENT_DISCRIMINATOR, type PageEntry, type PageEntryArgs, type ParsedBuyEpochTicketsInstruction, type ParsedBuyOneBtcTicketsInstruction, type ParsedCancelPublicAutomationInstruction, type ParsedClaimEpochRewardInstruction, type ParsedClaimOneBtcRewardInstruction, type ParsedClaimSatsInstruction, type ParsedClaimUsdInstruction, type ParsedCloseEpochEntryInstruction, type ParsedCloseEpochIterationInstruction, type ParsedCloseEpochPageInstruction, type ParsedCloseOneBtcIterationInstruction, type ParsedCloseOneBtcTicketInstruction, type ParsedCloseRoundInstruction, type ParsedCreateBoardInstruction, type ParsedCreateEpochVaultInstruction, type ParsedCreateOneBtcVaultInstruction, type ParsedCreatePublicAutomationInstruction, type ParsedCreateSatrushConfigInstruction, type ParsedCreateSatsVaultInstruction, type ParsedCreateTreasuryInstruction, type ParsedDeployPublicInstruction, type ParsedExecutePublicAutomationInstruction, type ParsedRotateRoundInstruction, type ParsedSatrushInstruction, type ParsedSealEpochPageInstruction, type ParsedSelectEpochWinnerInstruction, type ParsedSettleDeployPublicInstruction, type ParsedSwapEpochStakeInstruction, type ParsedSwapOneBtcStakeInstruction, type ParsedSwapRoundStakeInstruction, type ParsedSwapStrikeStakeInstruction, type ParsedTopUpPublicAutomationInstruction, type ParsedTriggerEpochDrawInstruction, type ParsedTriggerOneBtcDrawInstruction, type ParsedUpdateBoardRoundDurationInstruction, type ParsedUpdateDeploymentSettleGraceDurationInstruction, type ParsedUpdateEpochVaultIterationDurationInstruction, type ParsedUpdateMinDeployUsdAmountInstruction, type ParsedUpdateStrikeTriggerModulusInstruction, type ParsedUpdateUnclaimedHashrateBpsInstruction, type ParsedWithdrawProtocolFeesInstruction, type PublicAutomation, type PublicAutomationArgs, type PublicAutomationSeeds, type PublicDeployCreated, type PublicDeployCreatedArgs, type PublicDeploySettled, type PublicDeploySettledArgs, type PublicDeployment, type PublicDeploymentArgs, REWARD_MAX_STREAK, ROTATE_ROUND_DISCRIMINATOR, ROUND_DISCRIMINATOR, type RotateRoundAsyncInput, type RotateRoundInput, type RotateRoundInstruction, type RotateRoundInstructionData, type RotateRoundInstructionDataArgs, type Round, type RoundArgs, type RoundRevealed, type RoundRevealedArgs, type RoundStakeSwapped, type RoundStakeSwappedArgs, RoundState, type RoundStateArgs, SATRUSH_CONFIG_DISCRIMINATOR, SATRUSH_ERROR__ALREADY_REVEALED, SATRUSH_ERROR__ALREADY_SWAPPED, SATRUSH_ERROR__DEPLOY_AMOUNT_BELOW_MINIMUM, SATRUSH_ERROR__EPOCH_ALREADY_CLAIMED, SATRUSH_ERROR__EPOCH_INVALID_PAGE, SATRUSH_ERROR__EPOCH_MAX_PARTICIPANTS, SATRUSH_ERROR__EPOCH_NOT_A_WINNER, SATRUSH_ERROR__EPOCH_NOT_OPEN, SATRUSH_ERROR__EPOCH_NOT_SETTLED, SATRUSH_ERROR__EPOCH_NOT_SETTLING, SATRUSH_ERROR__EPOCH_PAGE_ALREADY_SEALED, SATRUSH_ERROR__EPOCH_PAGE_NOT_SEALED, SATRUSH_ERROR__EPOCH_SEAL_MISMATCH, SATRUSH_ERROR__EPOCH_WINDOW_NOT_ELAPSED, SATRUSH_ERROR__INSUFFICIENT_AUTOMATION_BALANCE, SATRUSH_ERROR__INSUFFICIENT_HASHRATE, SATRUSH_ERROR__INSUFFICIENT_SHARES, SATRUSH_ERROR__INSUFFICIENT_UNCLAIMED_USD, SATRUSH_ERROR__INVALID_AUTOMATION_AMOUNT, SATRUSH_ERROR__INVALID_AUTOMATION_STRATEGY_MASK, SATRUSH_ERROR__INVALID_CLAIM_AMOUNT, SATRUSH_ERROR__INVALID_DEPLOYMENT_AMOUNT, SATRUSH_ERROR__INVALID_ENTROPY, SATRUSH_ERROR__INVALID_EPOCH_ITERATION_DURATION, SATRUSH_ERROR__INVALID_ROUND_DURATION, SATRUSH_ERROR__INVALID_ROUND_ID, SATRUSH_ERROR__INVALID_SELECTION_MASK, SATRUSH_ERROR__INVALID_SHARE_AMOUNT, SATRUSH_ERROR__INVALID_SLOT_HASH, SATRUSH_ERROR__INVALID_STRIKE_TRIGGER_MODULUS, SATRUSH_ERROR__INVALID_SWAP_BPS, SATRUSH_ERROR__INVALID_SWAP_PROGRAM, SATRUSH_ERROR__INVALID_TICKETS_COUNT, SATRUSH_ERROR__INVALID_UNCLAIMED_HASHRATE_BPS, SATRUSH_ERROR__MATH_OVERFLOW, SATRUSH_ERROR__MATH_UNDERFLOW, SATRUSH_ERROR__ONE_BTC_NOT_A_WINNER, SATRUSH_ERROR__ONE_BTC_NOT_OPEN, SATRUSH_ERROR__ONE_BTC_NOT_SETTLED, SATRUSH_ERROR__ONE_BTC_NOT_TRIGGERABLE, SATRUSH_ERROR__ONE_BTC_NO_PARTICIPANTS, SATRUSH_ERROR__ONE_BTC_WINNING_TICKET_LOCKED, SATRUSH_ERROR__ROUND_IN_PROGRESS, SATRUSH_ERROR__ROUND_NOT_ACTIVE, SATRUSH_ERROR__ROUND_NOT_FINISHED, SATRUSH_ERROR__ROUND_NOT_REVEALED, SATRUSH_ERROR__ROUND_NOT_SETTLED, SATRUSH_ERROR__SLIPPAGE_EXCEEDED, SATRUSH_ERROR__STRIKE_ALREADY_TRIGGERED, SATRUSH_ERROR__SWAP_OVERSPENT, SATRUSH_ERROR__TREASURY_EMPTY, SATRUSH_ERROR__UNAUTHORIZED, SATRUSH_PROGRAM_ADDRESS, SATS_VAULT_DISCRIMINATOR, SEAL_EPOCH_PAGE_DISCRIMINATOR, SELECT_EPOCH_WINNER_DISCRIMINATOR, SETTLE_DEPLOY_PUBLIC_DISCRIMINATOR, SHARE_OFFSET, SKILL_WEIGHT, SWAP_EPOCH_STAKE_DISCRIMINATOR, SWAP_ONE_BTC_STAKE_DISCRIMINATOR, SWAP_ROUND_STAKE_DISCRIMINATOR, SWAP_STRIKE_STAKE_DISCRIMINATOR, SatrushAccount, type SatrushConfig, type SatrushConfigArgs, type SatrushError, SatrushInstruction, type SatrushPlugin, type SatrushPluginAccounts, type SatrushPluginInstructions, type SatrushPluginPdas, type SatrushPluginRequirements, type SatsClaimed, type SatsClaimedArgs, type SatsVault, type SatsVaultArgs, type SealEpochPageAsyncInput, type SealEpochPageInput, type SealEpochPageInstruction, type SealEpochPageInstructionData, type SealEpochPageInstructionDataArgs, type SelectEpochWinnerAsyncInput, type SelectEpochWinnerInput, type SelectEpochWinnerInstruction, type SelectEpochWinnerInstructionData, type SelectEpochWinnerInstructionDataArgs, type SettleDeployPublicAsyncInput, type SettleDeployPublicInput, type SettleDeployPublicInstruction, type SettleDeployPublicInstructionData, type SettleDeployPublicInstructionDataArgs, type SwapEpochStakeAsyncInput, type SwapEpochStakeInput, type SwapEpochStakeInstruction, type SwapEpochStakeInstructionData, type SwapEpochStakeInstructionDataArgs, type SwapOneBtcStakeAsyncInput, type SwapOneBtcStakeInput, type SwapOneBtcStakeInstruction, type SwapOneBtcStakeInstructionData, type SwapOneBtcStakeInstructionDataArgs, type SwapRoundStakeAsyncInput, type SwapRoundStakeInput, type SwapRoundStakeInstruction, type SwapRoundStakeInstructionData, type SwapRoundStakeInstructionDataArgs, type SwapStrikeStakeAsyncInput, type SwapStrikeStakeInput, type SwapStrikeStakeInstruction, type SwapStrikeStakeInstructionData, type SwapStrikeStakeInstructionDataArgs, TILE_COUNT, TOP_UP_PUBLIC_AUTOMATION_DISCRIMINATOR, TREASURY_DISCRIMINATOR, TRIGGER_EPOCH_DRAW_DISCRIMINATOR, TRIGGER_ONE_BTC_DRAW_DISCRIMINATOR, type TileStake, type TileStakeArgs, type TopUpPublicAutomationAsyncInput, type TopUpPublicAutomationInput, type TopUpPublicAutomationInstruction, type TopUpPublicAutomationInstructionData, type TopUpPublicAutomationInstructionDataArgs, type Treasury, type TreasuryArgs, type TriggerEpochDrawAsyncInput, type TriggerEpochDrawInput, type TriggerEpochDrawInstruction, type TriggerEpochDrawInstructionData, type TriggerEpochDrawInstructionDataArgs, type TriggerOneBtcDrawAsyncInput, type TriggerOneBtcDrawInput, type TriggerOneBtcDrawInstruction, type TriggerOneBtcDrawInstructionData, type TriggerOneBtcDrawInstructionDataArgs, UPDATE_BOARD_ROUND_DURATION_DISCRIMINATOR, UPDATE_DEPLOYMENT_SETTLE_GRACE_DURATION_DISCRIMINATOR, UPDATE_EPOCH_VAULT_ITERATION_DURATION_DISCRIMINATOR, UPDATE_MIN_DEPLOY_USD_AMOUNT_DISCRIMINATOR, UPDATE_STRIKE_TRIGGER_MODULUS_DISCRIMINATOR, UPDATE_UNCLAIMED_HASHRATE_BPS_DISCRIMINATOR, type UpdateBoardRoundDurationAsyncInput, type UpdateBoardRoundDurationInput, type UpdateBoardRoundDurationInstruction, type UpdateBoardRoundDurationInstructionData, type UpdateBoardRoundDurationInstructionDataArgs, type UpdateDeploymentSettleGraceDurationAsyncInput, type UpdateDeploymentSettleGraceDurationInput, type UpdateDeploymentSettleGraceDurationInstruction, type UpdateDeploymentSettleGraceDurationInstructionData, type UpdateDeploymentSettleGraceDurationInstructionDataArgs, type UpdateEpochVaultIterationDurationAsyncInput, type UpdateEpochVaultIterationDurationInput, type UpdateEpochVaultIterationDurationInstruction, type UpdateEpochVaultIterationDurationInstructionData, type UpdateEpochVaultIterationDurationInstructionDataArgs, type UpdateMinDeployUsdAmountAsyncInput, type UpdateMinDeployUsdAmountInput, type UpdateMinDeployUsdAmountInstruction, type UpdateMinDeployUsdAmountInstructionData, type UpdateMinDeployUsdAmountInstructionDataArgs, type UpdateStrikeTriggerModulusAsyncInput, type UpdateStrikeTriggerModulusInput, type UpdateStrikeTriggerModulusInstruction, type UpdateStrikeTriggerModulusInstructionData, type UpdateStrikeTriggerModulusInstructionDataArgs, type UpdateUnclaimedHashrateBpsAsyncInput, type UpdateUnclaimedHashrateBpsInput, type UpdateUnclaimedHashrateBpsInstruction, type UpdateUnclaimedHashrateBpsInstructionData, type UpdateUnclaimedHashrateBpsInstructionDataArgs, WITHDRAW_PROTOCOL_FEES_DISCRIMINATOR, type Winner, type WinnerArgs, type WithdrawProtocolFeesAsyncInput, type WithdrawProtocolFeesInput, type WithdrawProtocolFeesInstruction, type WithdrawProtocolFeesInstructionData, type WithdrawProtocolFeesInstructionDataArgs, btcToSats, buildCancelPublicAutomationInstruction, buildClaimSatsInstruction, buildClaimUsdInstruction, buildCreatePublicAutomationInstruction, buildDeployPublicInstruction, buildExecutePublicAutomationInstruction, buildSettleDeployPublicInstruction, buildTopUpPublicAutomationInstruction, decodeBoard, decodeEpochVault, decodeEpochVaultEntry, decodeEpochVaultIteration, decodeEpochVaultPage, decodeMiner, decodeOneBtcVault, decodeOneBtcVaultEntry, decodeOneBtcVaultIteration, decodePublicAutomation, decodePublicDeployment, decodeRound, decodeSatrushConfig, decodeSatsVault, decodeTreasury, fetchAllBoard, fetchAllEpochVault, fetchAllEpochVaultEntry, fetchAllEpochVaultIteration, fetchAllEpochVaultPage, fetchAllMaybeBoard, fetchAllMaybeEpochVault, fetchAllMaybeEpochVaultEntry, fetchAllMaybeEpochVaultIteration, fetchAllMaybeEpochVaultPage, fetchAllMaybeMiner, fetchAllMaybeOneBtcVault, fetchAllMaybeOneBtcVaultEntry, fetchAllMaybeOneBtcVaultIteration, fetchAllMaybePublicAutomation, fetchAllMaybePublicDeployment, fetchAllMaybeRound, fetchAllMaybeSatrushConfig, fetchAllMaybeSatsVault, fetchAllMaybeTreasury, fetchAllMiner, fetchAllOneBtcVault, fetchAllOneBtcVaultEntry, fetchAllOneBtcVaultIteration, fetchAllPublicAutomation, fetchAllPublicDeployment, fetchAllRound, fetchAllSatrushConfig, fetchAllSatsVault, fetchAllTreasury, fetchBoard, fetchEpochVault, fetchEpochVaultEntry, fetchEpochVaultIteration, fetchEpochVaultPage, fetchMaybeBoard, fetchMaybeEpochVault, fetchMaybeEpochVaultEntry, fetchMaybeEpochVaultIteration, fetchMaybeEpochVaultPage, fetchMaybeMiner, fetchMaybeOneBtcVault, fetchMaybeOneBtcVaultEntry, fetchMaybeOneBtcVaultIteration, fetchMaybePublicAutomation, fetchMaybePublicDeployment, fetchMaybeRound, fetchMaybeSatrushConfig, fetchMaybeSatsVault, fetchMaybeTreasury, fetchMiner, fetchOneBtcVault, fetchOneBtcVaultEntry, fetchOneBtcVaultIteration, fetchPublicAutomation, fetchPublicDeployment, fetchRound, fetchSatrushConfig, fetchSatsVault, fetchTreasury, findBoardPda, findEpochVaultIterationPda, findEpochVaultPda, findInitialRoundPda, findMinerPda, findNextRoundPda, findOneBtcVaultIterationPda, findOneBtcVaultPda, findPublicAutomationPda, findSatrushConfigPda, findSatsVaultPda, findTreasuryPda, getAutomationStrategyCodec, getAutomationStrategyDecoder, getAutomationStrategyEncoder, getBoardAddress, getBoardCodec, getBoardDecoder, getBoardDiscriminatorBytes, getBoardEncoder, getBoardSize, getBuyEpochTicketsDiscriminatorBytes, getBuyEpochTicketsInstruction, getBuyEpochTicketsInstructionAsync, getBuyEpochTicketsInstructionDataCodec, getBuyEpochTicketsInstructionDataDecoder, getBuyEpochTicketsInstructionDataEncoder, getBuyOneBtcTicketsDiscriminatorBytes, getBuyOneBtcTicketsInstruction, getBuyOneBtcTicketsInstructionAsync, getBuyOneBtcTicketsInstructionDataCodec, getBuyOneBtcTicketsInstructionDataDecoder, getBuyOneBtcTicketsInstructionDataEncoder, getCancelPublicAutomationDiscriminatorBytes, getCancelPublicAutomationInstruction, getCancelPublicAutomationInstructionAsync, getCancelPublicAutomationInstructionDataCodec, getCancelPublicAutomationInstructionDataDecoder, getCancelPublicAutomationInstructionDataEncoder, getClaimEpochRewardDiscriminatorBytes, getClaimEpochRewardInstruction, getClaimEpochRewardInstructionAsync, getClaimEpochRewardInstructionDataCodec, getClaimEpochRewardInstructionDataDecoder, getClaimEpochRewardInstructionDataEncoder, getClaimOneBtcRewardDiscriminatorBytes, getClaimOneBtcRewardInstruction, getClaimOneBtcRewardInstructionAsync, getClaimOneBtcRewardInstructionDataCodec, getClaimOneBtcRewardInstructionDataDecoder, getClaimOneBtcRewardInstructionDataEncoder, getClaimSatsDiscriminatorBytes, getClaimSatsInstruction, getClaimSatsInstructionAsync, getClaimSatsInstructionDataCodec, getClaimSatsInstructionDataDecoder, getClaimSatsInstructionDataEncoder, getClaimUsdDiscriminatorBytes, getClaimUsdInstruction, getClaimUsdInstructionAsync, getClaimUsdInstructionDataCodec, getClaimUsdInstructionDataDecoder, getClaimUsdInstructionDataEncoder, getCloseEpochEntryDiscriminatorBytes, getCloseEpochEntryInstruction, getCloseEpochEntryInstructionAsync, getCloseEpochEntryInstructionDataCodec, getCloseEpochEntryInstructionDataDecoder, getCloseEpochEntryInstructionDataEncoder, getCloseEpochIterationDiscriminatorBytes, getCloseEpochIterationInstruction, getCloseEpochIterationInstructionAsync, getCloseEpochIterationInstructionDataCodec, getCloseEpochIterationInstructionDataDecoder, getCloseEpochIterationInstructionDataEncoder, getCloseEpochPageDiscriminatorBytes, getCloseEpochPageInstruction, getCloseEpochPageInstructionAsync, getCloseEpochPageInstructionDataCodec, getCloseEpochPageInstructionDataDecoder, getCloseEpochPageInstructionDataEncoder, getCloseOneBtcIterationDiscriminatorBytes, getCloseOneBtcIterationInstruction, getCloseOneBtcIterationInstructionAsync, getCloseOneBtcIterationInstructionDataCodec, getCloseOneBtcIterationInstructionDataDecoder, getCloseOneBtcIterationInstructionDataEncoder, getCloseOneBtcTicketDiscriminatorBytes, getCloseOneBtcTicketInstruction, getCloseOneBtcTicketInstructionDataCodec, getCloseOneBtcTicketInstructionDataDecoder, getCloseOneBtcTicketInstructionDataEncoder, getCloseRoundDiscriminatorBytes, getCloseRoundInstruction, getCloseRoundInstructionAsync, getCloseRoundInstructionDataCodec, getCloseRoundInstructionDataDecoder, getCloseRoundInstructionDataEncoder, getCreateBoardDiscriminatorBytes, getCreateBoardInstruction, getCreateBoardInstructionAsync, getCreateBoardInstructionDataCodec, getCreateBoardInstructionDataDecoder, getCreateBoardInstructionDataEncoder, getCreateEpochVaultDiscriminatorBytes, getCreateEpochVaultInstruction, getCreateEpochVaultInstructionAsync, getCreateEpochVaultInstructionDataCodec, getCreateEpochVaultInstructionDataDecoder, getCreateEpochVaultInstructionDataEncoder, getCreateOneBtcVaultDiscriminatorBytes, getCreateOneBtcVaultInstruction, getCreateOneBtcVaultInstructionAsync, getCreateOneBtcVaultInstructionDataCodec, getCreateOneBtcVaultInstructionDataDecoder, getCreateOneBtcVaultInstructionDataEncoder, getCreatePublicAutomationDiscriminatorBytes, getCreatePublicAutomationInstruction, getCreatePublicAutomationInstructionAsync, getCreatePublicAutomationInstructionDataCodec, getCreatePublicAutomationInstructionDataDecoder, getCreatePublicAutomationInstructionDataEncoder, getCreateSatrushConfigDiscriminatorBytes, getCreateSatrushConfigInstruction, getCreateSatrushConfigInstructionAsync, getCreateSatrushConfigInstructionDataCodec, getCreateSatrushConfigInstructionDataDecoder, getCreateSatrushConfigInstructionDataEncoder, getCreateSatsVaultDiscriminatorBytes, getCreateSatsVaultInstruction, getCreateSatsVaultInstructionAsync, getCreateSatsVaultInstructionDataCodec, getCreateSatsVaultInstructionDataDecoder, getCreateSatsVaultInstructionDataEncoder, getCreateTreasuryDiscriminatorBytes, getCreateTreasuryInstruction, getCreateTreasuryInstructionAsync, getCreateTreasuryInstructionDataCodec, getCreateTreasuryInstructionDataDecoder, getCreateTreasuryInstructionDataEncoder, getDeployPublicDiscriminatorBytes, getDeployPublicInstruction, getDeployPublicInstructionAsync, getDeployPublicInstructionDataCodec, getDeployPublicInstructionDataDecoder, getDeployPublicInstructionDataEncoder, getEpochDrawTriggeredCodec, getEpochDrawTriggeredDecoder, getEpochDrawTriggeredEncoder, getEpochStateCodec, getEpochStateDecoder, getEpochStateEncoder, getEpochTicketsBoughtCodec, getEpochTicketsBoughtDecoder, getEpochTicketsBoughtEncoder, getEpochVaultAddress, getEpochVaultCodec, getEpochVaultDecoder, getEpochVaultDiscriminatorBytes, getEpochVaultEncoder, getEpochVaultEntryAddress, getEpochVaultEntryCodec, getEpochVaultEntryDecoder, getEpochVaultEntryDiscriminatorBytes, getEpochVaultEntryEncoder, getEpochVaultEntrySize, getEpochVaultIterationAddress, getEpochVaultIterationCodec, getEpochVaultIterationDecoder, getEpochVaultIterationDiscriminatorBytes, getEpochVaultIterationEncoder, getEpochVaultIterationSize, getEpochVaultPageAddress, getEpochVaultPageCodec, getEpochVaultPageDecoder, getEpochVaultPageDiscriminatorBytes, getEpochVaultPageEncoder, getEpochVaultPageSize, getEpochVaultSize, getEpochWinnerSelectedCodec, getEpochWinnerSelectedDecoder, getEpochWinnerSelectedEncoder, getEventAuthorityAddress, getExecutePublicAutomationDiscriminatorBytes, getExecutePublicAutomationInstruction, getExecutePublicAutomationInstructionAsync, getExecutePublicAutomationInstructionDataCodec, getExecutePublicAutomationInstructionDataDecoder, getExecutePublicAutomationInstructionDataEncoder, getHashrateTicketsCount, getHashrateUiAmount, getMinerAddress, getMinerCodec, getMinerDecoder, getMinerDiscriminatorBytes, getMinerEncoder, getMinerSize, getOneBtcDrawTriggeredCodec, getOneBtcDrawTriggeredDecoder, getOneBtcDrawTriggeredEncoder, getOneBtcStateCodec, getOneBtcStateDecoder, getOneBtcStateEncoder, getOneBtcTicketsBoughtCodec, getOneBtcTicketsBoughtDecoder, getOneBtcTicketsBoughtEncoder, getOneBtcVaultAddress, getOneBtcVaultCodec, getOneBtcVaultDecoder, getOneBtcVaultDiscriminatorBytes, getOneBtcVaultEncoder, getOneBtcVaultEntryCodec, getOneBtcVaultEntryDecoder, getOneBtcVaultEntryDiscriminatorBytes, getOneBtcVaultEntryEncoder, getOneBtcVaultEntrySize, getOneBtcVaultIterationAddress, getOneBtcVaultIterationCodec, getOneBtcVaultIterationDecoder, getOneBtcVaultIterationDiscriminatorBytes, getOneBtcVaultIterationEncoder, getOneBtcVaultIterationSize, getOneBtcVaultSize, getPageEntryCodec, getPageEntryDecoder, getPageEntryEncoder, getPublicAutomationAddress, getPublicAutomationCodec, getPublicAutomationDecoder, getPublicAutomationDiscriminatorBytes, getPublicAutomationEncoder, getPublicAutomationSize, getPublicDeployCreatedCodec, getPublicDeployCreatedDecoder, getPublicDeployCreatedEncoder, getPublicDeploySettledCodec, getPublicDeploySettledDecoder, getPublicDeploySettledEncoder, getPublicDeploymentAddress, getPublicDeploymentCodec, getPublicDeploymentDecoder, getPublicDeploymentDiscriminatorBytes, getPublicDeploymentEncoder, getRotateRoundDiscriminatorBytes, getRotateRoundInstruction, getRotateRoundInstructionAsync, getRotateRoundInstructionDataCodec, getRotateRoundInstructionDataDecoder, getRotateRoundInstructionDataEncoder, getRoundAddress, getRoundCodec, getRoundDecoder, getRoundDiscriminatorBytes, getRoundEncoder, getRoundRevealedCodec, getRoundRevealedDecoder, getRoundRevealedEncoder, getRoundStakeSwappedCodec, getRoundStakeSwappedDecoder, getRoundStakeSwappedEncoder, getRoundStateCodec, getRoundStateDecoder, getRoundStateEncoder, getSatrushConfigAddress, getSatrushConfigCodec, getSatrushConfigDecoder, getSatrushConfigDiscriminatorBytes, getSatrushConfigEncoder, getSatrushConfigSize, getSatrushErrorMessage, getSatsClaimedCodec, getSatsClaimedDecoder, getSatsClaimedEncoder, getSatsVaultAddress, getSatsVaultCodec, getSatsVaultDecoder, getSatsVaultDiscriminatorBytes, getSatsVaultEncoder, getSatsVaultSize, getSealEpochPageDiscriminatorBytes, getSealEpochPageInstruction, getSealEpochPageInstructionAsync, getSealEpochPageInstructionDataCodec, getSealEpochPageInstructionDataDecoder, getSealEpochPageInstructionDataEncoder, getSelectEpochWinnerDiscriminatorBytes, getSelectEpochWinnerInstruction, getSelectEpochWinnerInstructionAsync, getSelectEpochWinnerInstructionDataCodec, getSelectEpochWinnerInstructionDataDecoder, getSelectEpochWinnerInstructionDataEncoder, getSettleDeployPublicDiscriminatorBytes, getSettleDeployPublicInstruction, getSettleDeployPublicInstructionAsync, getSettleDeployPublicInstructionDataCodec, getSettleDeployPublicInstructionDataDecoder, getSettleDeployPublicInstructionDataEncoder, getSwapEpochStakeDiscriminatorBytes, getSwapEpochStakeInstruction, getSwapEpochStakeInstructionAsync, getSwapEpochStakeInstructionDataCodec, getSwapEpochStakeInstructionDataDecoder, getSwapEpochStakeInstructionDataEncoder, getSwapOneBtcStakeDiscriminatorBytes, getSwapOneBtcStakeInstruction, getSwapOneBtcStakeInstructionAsync, getSwapOneBtcStakeInstructionDataCodec, getSwapOneBtcStakeInstructionDataDecoder, getSwapOneBtcStakeInstructionDataEncoder, getSwapRoundStakeDiscriminatorBytes, getSwapRoundStakeInstruction, getSwapRoundStakeInstructionAsync, getSwapRoundStakeInstructionDataCodec, getSwapRoundStakeInstructionDataDecoder, getSwapRoundStakeInstructionDataEncoder, getSwapStrikeStakeDiscriminatorBytes, getSwapStrikeStakeInstruction, getSwapStrikeStakeInstructionAsync, getSwapStrikeStakeInstructionDataCodec, getSwapStrikeStakeInstructionDataDecoder, getSwapStrikeStakeInstructionDataEncoder, getTileStakeCodec, getTileStakeDecoder, getTileStakeEncoder, getTopUpPublicAutomationDiscriminatorBytes, getTopUpPublicAutomationInstruction, getTopUpPublicAutomationInstructionAsync, getTopUpPublicAutomationInstructionDataCodec, getTopUpPublicAutomationInstructionDataDecoder, getTopUpPublicAutomationInstructionDataEncoder, getTreasuryAddress, getTreasuryCodec, getTreasuryDecoder, getTreasuryDiscriminatorBytes, getTreasuryEncoder, getTreasurySize, getTriggerEpochDrawDiscriminatorBytes, getTriggerEpochDrawInstruction, getTriggerEpochDrawInstructionAsync, getTriggerEpochDrawInstructionDataCodec, getTriggerEpochDrawInstructionDataDecoder, getTriggerEpochDrawInstructionDataEncoder, getTriggerOneBtcDrawDiscriminatorBytes, getTriggerOneBtcDrawInstruction, getTriggerOneBtcDrawInstructionAsync, getTriggerOneBtcDrawInstructionDataCodec, getTriggerOneBtcDrawInstructionDataDecoder, getTriggerOneBtcDrawInstructionDataEncoder, getUpdateBoardRoundDurationDiscriminatorBytes, getUpdateBoardRoundDurationInstruction, getUpdateBoardRoundDurationInstructionAsync, getUpdateBoardRoundDurationInstructionDataCodec, getUpdateBoardRoundDurationInstructionDataDecoder, getUpdateBoardRoundDurationInstructionDataEncoder, getUpdateDeploymentSettleGraceDurationDiscriminatorBytes, getUpdateDeploymentSettleGraceDurationInstruction, getUpdateDeploymentSettleGraceDurationInstructionAsync, getUpdateDeploymentSettleGraceDurationInstructionDataCodec, getUpdateDeploymentSettleGraceDurationInstructionDataDecoder, getUpdateDeploymentSettleGraceDurationInstructionDataEncoder, getUpdateEpochVaultIterationDurationDiscriminatorBytes, getUpdateEpochVaultIterationDurationInstruction, getUpdateEpochVaultIterationDurationInstructionAsync, getUpdateEpochVaultIterationDurationInstructionDataCodec, getUpdateEpochVaultIterationDurationInstructionDataDecoder, getUpdateEpochVaultIterationDurationInstructionDataEncoder, getUpdateMinDeployUsdAmountDiscriminatorBytes, getUpdateMinDeployUsdAmountInstruction, getUpdateMinDeployUsdAmountInstructionAsync, getUpdateMinDeployUsdAmountInstructionDataCodec, getUpdateMinDeployUsdAmountInstructionDataDecoder, getUpdateMinDeployUsdAmountInstructionDataEncoder, getUpdateStrikeTriggerModulusDiscriminatorBytes, getUpdateStrikeTriggerModulusInstruction, getUpdateStrikeTriggerModulusInstructionAsync, getUpdateStrikeTriggerModulusInstructionDataCodec, getUpdateStrikeTriggerModulusInstructionDataDecoder, getUpdateStrikeTriggerModulusInstructionDataEncoder, getUpdateUnclaimedHashrateBpsDiscriminatorBytes, getUpdateUnclaimedHashrateBpsInstruction, getUpdateUnclaimedHashrateBpsInstructionAsync, getUpdateUnclaimedHashrateBpsInstructionDataCodec, getUpdateUnclaimedHashrateBpsInstructionDataDecoder, getUpdateUnclaimedHashrateBpsInstructionDataEncoder, getWinnerCodec, getWinnerDecoder, getWinnerEncoder, getWithdrawProtocolFeesDiscriminatorBytes, getWithdrawProtocolFeesInstruction, getWithdrawProtocolFeesInstructionAsync, getWithdrawProtocolFeesInstructionDataCodec, getWithdrawProtocolFeesInstructionDataDecoder, getWithdrawProtocolFeesInstructionDataEncoder, hashrateReward, identifySatrushAccount, identifySatrushInstruction, isSatrushError, nextStreakMultiplier, parseBuyEpochTicketsInstruction, parseBuyOneBtcTicketsInstruction, parseCancelPublicAutomationInstruction, parseClaimEpochRewardInstruction, parseClaimOneBtcRewardInstruction, parseClaimSatsInstruction, parseClaimUsdInstruction, parseCloseEpochEntryInstruction, parseCloseEpochIterationInstruction, parseCloseEpochPageInstruction, parseCloseOneBtcIterationInstruction, parseCloseOneBtcTicketInstruction, parseCloseRoundInstruction, parseCreateBoardInstruction, parseCreateEpochVaultInstruction, parseCreateOneBtcVaultInstruction, parseCreatePublicAutomationInstruction, parseCreateSatrushConfigInstruction, parseCreateSatsVaultInstruction, parseCreateTreasuryInstruction, parseDeployPublicInstruction, parseExecutePublicAutomationInstruction, parseRotateRoundInstruction, parseSatrushInstruction, parseSealEpochPageInstruction, parseSelectEpochWinnerInstruction, parseSettleDeployPublicInstruction, parseSwapEpochStakeInstruction, parseSwapOneBtcStakeInstruction, parseSwapRoundStakeInstruction, parseSwapStrikeStakeInstruction, parseTopUpPublicAutomationInstruction, parseTriggerEpochDrawInstruction, parseTriggerOneBtcDrawInstruction, parseUpdateBoardRoundDurationInstruction, parseUpdateDeploymentSettleGraceDurationInstruction, parseUpdateEpochVaultIterationDurationInstruction, parseUpdateMinDeployUsdAmountInstruction, parseUpdateStrikeTriggerModulusInstruction, parseUpdateUnclaimedHashrateBpsInstruction, parseWithdrawProtocolFeesInstruction, satrushProgram, satsToBtc, selectionMaskFromTiles, tilesFromSelectionMask };
6192
+ export { AutomationStrategy, type AutomationStrategyArgs, BOARD_DISCRIMINATOR, BUY_EPOCH_TICKETS_DISCRIMINATOR, BUY_ONE_BTC_TICKETS_DISCRIMINATOR, type Board, type BoardArgs, type BtcSharesValue, type BuyEpochTicketsAsyncInput, type BuyEpochTicketsInput, type BuyEpochTicketsInstruction, type BuyEpochTicketsInstructionData, type BuyEpochTicketsInstructionDataArgs, type BuyOneBtcTicketsAsyncInput, type BuyOneBtcTicketsInput, type BuyOneBtcTicketsInstruction, type BuyOneBtcTicketsInstructionData, type BuyOneBtcTicketsInstructionDataArgs, CANCEL_PUBLIC_AUTOMATION_DISCRIMINATOR, CLAIM_EPOCH_REWARD_DISCRIMINATOR, CLAIM_ONE_BTC_REWARD_DISCRIMINATOR, CLAIM_SATS_DISCRIMINATOR, CLAIM_USD_DISCRIMINATOR, CLOSE_EPOCH_ENTRY_DISCRIMINATOR, CLOSE_EPOCH_ITERATION_DISCRIMINATOR, CLOSE_EPOCH_PAGE_DISCRIMINATOR, CLOSE_ONE_BTC_ITERATION_DISCRIMINATOR, CLOSE_ONE_BTC_TICKET_DISCRIMINATOR, CLOSE_ROUND_DISCRIMINATOR, CREATE_BOARD_DISCRIMINATOR, CREATE_EPOCH_VAULT_DISCRIMINATOR, CREATE_ONE_BTC_VAULT_DISCRIMINATOR, CREATE_PUBLIC_AUTOMATION_DISCRIMINATOR, CREATE_SATRUSH_CONFIG_DISCRIMINATOR, CREATE_SATS_VAULT_DISCRIMINATOR, CREATE_TREASURY_DISCRIMINATOR, type CancelPublicAutomationAsyncInput, type CancelPublicAutomationInput, type CancelPublicAutomationInstruction, type CancelPublicAutomationInstructionData, type CancelPublicAutomationInstructionDataArgs, type ClaimEpochRewardAsyncInput, type ClaimEpochRewardInput, type ClaimEpochRewardInstruction, type ClaimEpochRewardInstructionData, type ClaimEpochRewardInstructionDataArgs, type ClaimOneBtcRewardAsyncInput, type ClaimOneBtcRewardInput, type ClaimOneBtcRewardInstruction, type ClaimOneBtcRewardInstructionData, type ClaimOneBtcRewardInstructionDataArgs, type ClaimSatsAsyncInput, type ClaimSatsInput, type ClaimSatsInstruction, type ClaimSatsInstructionData, type ClaimSatsInstructionDataArgs, type ClaimUsdAsyncInput, type ClaimUsdInput, type ClaimUsdInstruction, type ClaimUsdInstructionData, type ClaimUsdInstructionDataArgs, type CloseEpochEntryAsyncInput, type CloseEpochEntryInput, type CloseEpochEntryInstruction, type CloseEpochEntryInstructionData, type CloseEpochEntryInstructionDataArgs, type CloseEpochIterationAsyncInput, type CloseEpochIterationInput, type CloseEpochIterationInstruction, type CloseEpochIterationInstructionData, type CloseEpochIterationInstructionDataArgs, type CloseEpochPageAsyncInput, type CloseEpochPageInput, type CloseEpochPageInstruction, type CloseEpochPageInstructionData, type CloseEpochPageInstructionDataArgs, type CloseOneBtcIterationAsyncInput, type CloseOneBtcIterationInput, type CloseOneBtcIterationInstruction, type CloseOneBtcIterationInstructionData, type CloseOneBtcIterationInstructionDataArgs, type CloseOneBtcTicketAsyncInput, type CloseOneBtcTicketInput, type CloseOneBtcTicketInstruction, type CloseOneBtcTicketInstructionData, type CloseOneBtcTicketInstructionDataArgs, type CloseRoundAsyncInput, type CloseRoundInput, type CloseRoundInstruction, type CloseRoundInstructionData, type CloseRoundInstructionDataArgs, type CreateBoardAsyncInput, type CreateBoardInput, type CreateBoardInstruction, type CreateBoardInstructionData, type CreateBoardInstructionDataArgs, type CreateEpochVaultAsyncInput, type CreateEpochVaultInput, type CreateEpochVaultInstruction, type CreateEpochVaultInstructionData, type CreateEpochVaultInstructionDataArgs, type CreateOneBtcVaultAsyncInput, type CreateOneBtcVaultInput, type CreateOneBtcVaultInstruction, type CreateOneBtcVaultInstructionData, type CreateOneBtcVaultInstructionDataArgs, type CreatePublicAutomationAsyncInput, type CreatePublicAutomationInput, type CreatePublicAutomationInstruction, type CreatePublicAutomationInstructionData, type CreatePublicAutomationInstructionDataArgs, type CreateSatrushConfigAsyncInput, type CreateSatrushConfigInput, type CreateSatrushConfigInstruction, type CreateSatrushConfigInstructionData, type CreateSatrushConfigInstructionDataArgs, type CreateSatsVaultAsyncInput, type CreateSatsVaultInput, type CreateSatsVaultInstruction, type CreateSatsVaultInstructionData, type CreateSatsVaultInstructionDataArgs, type CreateTreasuryAsyncInput, type CreateTreasuryInput, type CreateTreasuryInstruction, type CreateTreasuryInstructionData, type CreateTreasuryInstructionDataArgs, DEPLOY_PUBLIC_DISCRIMINATOR, type DeployPublicAsyncInput, type DeployPublicInput, type DeployPublicInstruction, type DeployPublicInstructionData, type DeployPublicInstructionDataArgs, EPOCH_VAULT_DISCRIMINATOR, EPOCH_VAULT_ENTRY_DISCRIMINATOR, EPOCH_VAULT_ITERATION_DISCRIMINATOR, EPOCH_VAULT_PAGE_DISCRIMINATOR, EXECUTE_PUBLIC_AUTOMATION_DISCRIMINATOR, type EpochDrawTriggered, type EpochDrawTriggeredArgs, EpochState, type EpochStateArgs, type EpochTicketsBought, type EpochTicketsBoughtArgs, type EpochVault, type EpochVaultArgs, type EpochVaultEntry, type EpochVaultEntryArgs, type EpochVaultIteration, type EpochVaultIterationArgs, type EpochVaultPage, type EpochVaultPageArgs, type EpochWinnerSelected, type EpochWinnerSelectedArgs, type ExecutePublicAutomationAsyncInput, type ExecutePublicAutomationInput, type ExecutePublicAutomationInstruction, type ExecutePublicAutomationInstructionData, type ExecutePublicAutomationInstructionDataArgs, HASHRATE_DECIMALS, HASHRATE_PER_TICKET, type HashrateReward, LOYALTY_WEIGHT, MINER_DISCRIMINATOR, type Miner, type MinerArgs, type MinerSeeds, type NextRoundSeeds, ONE_BTC_VAULT_DISCRIMINATOR, ONE_BTC_VAULT_ENTRY_DISCRIMINATOR, ONE_BTC_VAULT_ITERATION_DISCRIMINATOR, type OneBtcDrawTriggered, type OneBtcDrawTriggeredArgs, OneBtcState, type OneBtcStateArgs, type OneBtcTicketsBought, type OneBtcTicketsBoughtArgs, type OneBtcVault, type OneBtcVaultArgs, type OneBtcVaultEntry, type OneBtcVaultEntryArgs, type OneBtcVaultIteration, type OneBtcVaultIterationArgs, PUBLIC_AUTOMATION_DISCRIMINATOR, PUBLIC_DEPLOYMENT_DISCRIMINATOR, type PageEntry, type PageEntryArgs, type ParsedBuyEpochTicketsInstruction, type ParsedBuyOneBtcTicketsInstruction, type ParsedCancelPublicAutomationInstruction, type ParsedClaimEpochRewardInstruction, type ParsedClaimOneBtcRewardInstruction, type ParsedClaimSatsInstruction, type ParsedClaimUsdInstruction, type ParsedCloseEpochEntryInstruction, type ParsedCloseEpochIterationInstruction, type ParsedCloseEpochPageInstruction, type ParsedCloseOneBtcIterationInstruction, type ParsedCloseOneBtcTicketInstruction, type ParsedCloseRoundInstruction, type ParsedCreateBoardInstruction, type ParsedCreateEpochVaultInstruction, type ParsedCreateOneBtcVaultInstruction, type ParsedCreatePublicAutomationInstruction, type ParsedCreateSatrushConfigInstruction, type ParsedCreateSatsVaultInstruction, type ParsedCreateTreasuryInstruction, type ParsedDeployPublicInstruction, type ParsedExecutePublicAutomationInstruction, type ParsedRotateRoundInstruction, type ParsedSatrushInstruction, type ParsedSealEpochPageInstruction, type ParsedSelectEpochWinnerInstruction, type ParsedSettleDeployPublicInstruction, type ParsedSwapEpochStakeInstruction, type ParsedSwapOneBtcStakeInstruction, type ParsedSwapRoundStakeInstruction, type ParsedSwapStrikeStakeInstruction, type ParsedTopUpPublicAutomationInstruction, type ParsedTriggerEpochDrawInstruction, type ParsedTriggerOneBtcDrawInstruction, type ParsedUpdateBoardRoundDurationInstruction, type ParsedUpdateDeployFeesInstruction, type ParsedUpdateDeploymentSettleGraceDurationInstruction, type ParsedUpdateEpochVaultIterationDurationInstruction, type ParsedUpdateMinDeployUsdAmountInstruction, type ParsedUpdateStrikeTriggerModulusInstruction, type ParsedUpdateUnclaimedHashrateBpsInstruction, type ParsedWithdrawProtocolFeesInstruction, type PublicAutomation, type PublicAutomationArgs, type PublicAutomationSeeds, type PublicDeployCreated, type PublicDeployCreatedArgs, type PublicDeploySettled, type PublicDeploySettledArgs, type PublicDeployment, type PublicDeploymentArgs, REWARD_MAX_STREAK, ROTATE_ROUND_DISCRIMINATOR, ROUND_DISCRIMINATOR, type RotateRoundAsyncInput, type RotateRoundInput, type RotateRoundInstruction, type RotateRoundInstructionData, type RotateRoundInstructionDataArgs, type Round, type RoundArgs, type RoundRevealed, type RoundRevealedArgs, type RoundStakeSwapped, type RoundStakeSwappedArgs, RoundState, type RoundStateArgs, SATRUSH_CONFIG_DISCRIMINATOR, SATRUSH_ERROR__ALREADY_REVEALED, SATRUSH_ERROR__ALREADY_SWAPPED, SATRUSH_ERROR__DEPLOY_AMOUNT_BELOW_MINIMUM, SATRUSH_ERROR__EPOCH_ALREADY_CLAIMED, SATRUSH_ERROR__EPOCH_INVALID_PAGE, SATRUSH_ERROR__EPOCH_MAX_PARTICIPANTS, SATRUSH_ERROR__EPOCH_NOT_A_WINNER, SATRUSH_ERROR__EPOCH_NOT_OPEN, SATRUSH_ERROR__EPOCH_NOT_SETTLED, SATRUSH_ERROR__EPOCH_NOT_SETTLING, SATRUSH_ERROR__EPOCH_PAGE_ALREADY_SEALED, SATRUSH_ERROR__EPOCH_PAGE_NOT_SEALED, SATRUSH_ERROR__EPOCH_SEAL_MISMATCH, SATRUSH_ERROR__EPOCH_WINDOW_NOT_ELAPSED, SATRUSH_ERROR__INSUFFICIENT_AUTOMATION_BALANCE, SATRUSH_ERROR__INSUFFICIENT_HASHRATE, SATRUSH_ERROR__INSUFFICIENT_SHARES, SATRUSH_ERROR__INSUFFICIENT_UNCLAIMED_USD, SATRUSH_ERROR__INVALID_AUTOMATION_AMOUNT, SATRUSH_ERROR__INVALID_AUTOMATION_STRATEGY_MASK, SATRUSH_ERROR__INVALID_CLAIM_AMOUNT, SATRUSH_ERROR__INVALID_DEPLOYMENT_AMOUNT, SATRUSH_ERROR__INVALID_DEPLOY_FEES, SATRUSH_ERROR__INVALID_ENTROPY, SATRUSH_ERROR__INVALID_EPOCH_ITERATION_DURATION, SATRUSH_ERROR__INVALID_MINT_DATA, SATRUSH_ERROR__INVALID_ROUND_DURATION, SATRUSH_ERROR__INVALID_ROUND_ID, SATRUSH_ERROR__INVALID_SELECTION_MASK, SATRUSH_ERROR__INVALID_SHARE_AMOUNT, SATRUSH_ERROR__INVALID_SLOT_HASH, SATRUSH_ERROR__INVALID_STRIKE_TRIGGER_MODULUS, SATRUSH_ERROR__INVALID_SWAP_BPS, SATRUSH_ERROR__INVALID_SWAP_PROGRAM, SATRUSH_ERROR__INVALID_TICKETS_COUNT, SATRUSH_ERROR__INVALID_UNCLAIMED_HASHRATE_BPS, SATRUSH_ERROR__MATH_OVERFLOW, SATRUSH_ERROR__MATH_UNDERFLOW, SATRUSH_ERROR__ONE_BTC_NOT_A_WINNER, SATRUSH_ERROR__ONE_BTC_NOT_OPEN, SATRUSH_ERROR__ONE_BTC_NOT_SETTLED, SATRUSH_ERROR__ONE_BTC_NOT_TRIGGERABLE, SATRUSH_ERROR__ONE_BTC_NO_PARTICIPANTS, SATRUSH_ERROR__ONE_BTC_WINNING_TICKET_LOCKED, SATRUSH_ERROR__ROUND_IN_PROGRESS, SATRUSH_ERROR__ROUND_NOT_ACTIVE, SATRUSH_ERROR__ROUND_NOT_FINISHED, SATRUSH_ERROR__ROUND_NOT_REVEALED, SATRUSH_ERROR__ROUND_NOT_SETTLED, SATRUSH_ERROR__SLIPPAGE_EXCEEDED, SATRUSH_ERROR__STRIKE_ALREADY_TRIGGERED, SATRUSH_ERROR__SWAP_OVERSPENT, SATRUSH_ERROR__TREASURY_EMPTY, SATRUSH_ERROR__UNAUTHORIZED, SATRUSH_PROGRAM_ADDRESS, SATS_VAULT_DISCRIMINATOR, SEAL_EPOCH_PAGE_DISCRIMINATOR, SELECT_EPOCH_WINNER_DISCRIMINATOR, SETTLE_DEPLOY_PUBLIC_DISCRIMINATOR, SHARE_OFFSET, SKILL_WEIGHT, STRIKE_BOOST_HASHRATE_MULTIPLIER, STRIKE_BOOST_ROUNDS, SWAP_EPOCH_STAKE_DISCRIMINATOR, SWAP_ONE_BTC_STAKE_DISCRIMINATOR, SWAP_ROUND_STAKE_DISCRIMINATOR, SWAP_STRIKE_STAKE_DISCRIMINATOR, SatrushAccount, type SatrushConfig, type SatrushConfigArgs, type SatrushError, SatrushInstruction, type SatrushPlugin, type SatrushPluginAccounts, type SatrushPluginInstructions, type SatrushPluginPdas, type SatrushPluginRequirements, type SatsClaimed, type SatsClaimedArgs, type SatsVault, type SatsVaultArgs, type SealEpochPageAsyncInput, type SealEpochPageInput, type SealEpochPageInstruction, type SealEpochPageInstructionData, type SealEpochPageInstructionDataArgs, type SelectEpochWinnerAsyncInput, type SelectEpochWinnerInput, type SelectEpochWinnerInstruction, type SelectEpochWinnerInstructionData, type SelectEpochWinnerInstructionDataArgs, type SettleDeployPublicAsyncInput, type SettleDeployPublicInput, type SettleDeployPublicInstruction, type SettleDeployPublicInstructionData, type SettleDeployPublicInstructionDataArgs, type SwapEpochStakeAsyncInput, type SwapEpochStakeInput, type SwapEpochStakeInstruction, type SwapEpochStakeInstructionData, type SwapEpochStakeInstructionDataArgs, type SwapOneBtcStakeAsyncInput, type SwapOneBtcStakeInput, type SwapOneBtcStakeInstruction, type SwapOneBtcStakeInstructionData, type SwapOneBtcStakeInstructionDataArgs, type SwapRoundStakeAsyncInput, type SwapRoundStakeInput, type SwapRoundStakeInstruction, type SwapRoundStakeInstructionData, type SwapRoundStakeInstructionDataArgs, type SwapStrikeStakeAsyncInput, type SwapStrikeStakeInput, type SwapStrikeStakeInstruction, type SwapStrikeStakeInstructionData, type SwapStrikeStakeInstructionDataArgs, TILE_COUNT, TOP_UP_PUBLIC_AUTOMATION_DISCRIMINATOR, TREASURY_DISCRIMINATOR, TRIGGER_EPOCH_DRAW_DISCRIMINATOR, TRIGGER_ONE_BTC_DRAW_DISCRIMINATOR, type TileStake, type TileStakeArgs, type TopUpPublicAutomationAsyncInput, type TopUpPublicAutomationInput, type TopUpPublicAutomationInstruction, type TopUpPublicAutomationInstructionData, type TopUpPublicAutomationInstructionDataArgs, type Treasury, type TreasuryArgs, type TriggerEpochDrawAsyncInput, type TriggerEpochDrawInput, type TriggerEpochDrawInstruction, type TriggerEpochDrawInstructionData, type TriggerEpochDrawInstructionDataArgs, type TriggerOneBtcDrawAsyncInput, type TriggerOneBtcDrawInput, type TriggerOneBtcDrawInstruction, type TriggerOneBtcDrawInstructionData, type TriggerOneBtcDrawInstructionDataArgs, UPDATE_BOARD_ROUND_DURATION_DISCRIMINATOR, UPDATE_DEPLOYMENT_SETTLE_GRACE_DURATION_DISCRIMINATOR, UPDATE_DEPLOY_FEES_DISCRIMINATOR, UPDATE_EPOCH_VAULT_ITERATION_DURATION_DISCRIMINATOR, UPDATE_MIN_DEPLOY_USD_AMOUNT_DISCRIMINATOR, UPDATE_STRIKE_TRIGGER_MODULUS_DISCRIMINATOR, UPDATE_UNCLAIMED_HASHRATE_BPS_DISCRIMINATOR, type UpdateBoardRoundDurationAsyncInput, type UpdateBoardRoundDurationInput, type UpdateBoardRoundDurationInstruction, type UpdateBoardRoundDurationInstructionData, type UpdateBoardRoundDurationInstructionDataArgs, type UpdateDeployFeesAsyncInput, type UpdateDeployFeesInput, type UpdateDeployFeesInstruction, type UpdateDeployFeesInstructionData, type UpdateDeployFeesInstructionDataArgs, type UpdateDeploymentSettleGraceDurationAsyncInput, type UpdateDeploymentSettleGraceDurationInput, type UpdateDeploymentSettleGraceDurationInstruction, type UpdateDeploymentSettleGraceDurationInstructionData, type UpdateDeploymentSettleGraceDurationInstructionDataArgs, type UpdateEpochVaultIterationDurationAsyncInput, type UpdateEpochVaultIterationDurationInput, type UpdateEpochVaultIterationDurationInstruction, type UpdateEpochVaultIterationDurationInstructionData, type UpdateEpochVaultIterationDurationInstructionDataArgs, type UpdateMinDeployUsdAmountAsyncInput, type UpdateMinDeployUsdAmountInput, type UpdateMinDeployUsdAmountInstruction, type UpdateMinDeployUsdAmountInstructionData, type UpdateMinDeployUsdAmountInstructionDataArgs, type UpdateStrikeTriggerModulusAsyncInput, type UpdateStrikeTriggerModulusInput, type UpdateStrikeTriggerModulusInstruction, type UpdateStrikeTriggerModulusInstructionData, type UpdateStrikeTriggerModulusInstructionDataArgs, type UpdateUnclaimedHashrateBpsAsyncInput, type UpdateUnclaimedHashrateBpsInput, type UpdateUnclaimedHashrateBpsInstruction, type UpdateUnclaimedHashrateBpsInstructionData, type UpdateUnclaimedHashrateBpsInstructionDataArgs, WITHDRAW_PROTOCOL_FEES_DISCRIMINATOR, type Winner, type WinnerArgs, type WithdrawProtocolFeesAsyncInput, type WithdrawProtocolFeesInput, type WithdrawProtocolFeesInstruction, type WithdrawProtocolFeesInstructionData, type WithdrawProtocolFeesInstructionDataArgs, btcToSats, buildCancelPublicAutomationInstruction, buildClaimSatsInstruction, buildClaimUsdInstruction, buildCreatePublicAutomationInstruction, buildDeployPublicInstruction, buildExecutePublicAutomationInstruction, buildSettleDeployPublicInstruction, buildTopUpPublicAutomationInstruction, decodeBoard, decodeEpochVault, decodeEpochVaultEntry, decodeEpochVaultIteration, decodeEpochVaultPage, decodeMiner, decodeOneBtcVault, decodeOneBtcVaultEntry, decodeOneBtcVaultIteration, decodePublicAutomation, decodePublicDeployment, decodeRound, decodeSatrushConfig, decodeSatsVault, decodeTreasury, fetchAllBoard, fetchAllEpochVault, fetchAllEpochVaultEntry, fetchAllEpochVaultIteration, fetchAllEpochVaultPage, fetchAllMaybeBoard, fetchAllMaybeEpochVault, fetchAllMaybeEpochVaultEntry, fetchAllMaybeEpochVaultIteration, fetchAllMaybeEpochVaultPage, fetchAllMaybeMiner, fetchAllMaybeOneBtcVault, fetchAllMaybeOneBtcVaultEntry, fetchAllMaybeOneBtcVaultIteration, fetchAllMaybePublicAutomation, fetchAllMaybePublicDeployment, fetchAllMaybeRound, fetchAllMaybeSatrushConfig, fetchAllMaybeSatsVault, fetchAllMaybeTreasury, fetchAllMiner, fetchAllOneBtcVault, fetchAllOneBtcVaultEntry, fetchAllOneBtcVaultIteration, fetchAllPublicAutomation, fetchAllPublicDeployment, fetchAllRound, fetchAllSatrushConfig, fetchAllSatsVault, fetchAllTreasury, fetchBoard, fetchEpochVault, fetchEpochVaultEntry, fetchEpochVaultIteration, fetchEpochVaultPage, fetchMaybeBoard, fetchMaybeEpochVault, fetchMaybeEpochVaultEntry, fetchMaybeEpochVaultIteration, fetchMaybeEpochVaultPage, fetchMaybeMiner, fetchMaybeOneBtcVault, fetchMaybeOneBtcVaultEntry, fetchMaybeOneBtcVaultIteration, fetchMaybePublicAutomation, fetchMaybePublicDeployment, fetchMaybeRound, fetchMaybeSatrushConfig, fetchMaybeSatsVault, fetchMaybeTreasury, fetchMiner, fetchOneBtcVault, fetchOneBtcVaultEntry, fetchOneBtcVaultIteration, fetchPublicAutomation, fetchPublicDeployment, fetchRound, fetchSatrushConfig, fetchSatsVault, fetchTreasury, findBoardPda, findEpochVaultIterationPda, findEpochVaultPda, findInitialRoundPda, findMinerPda, findNextRoundPda, findOneBtcVaultIterationPda, findOneBtcVaultPda, findPublicAutomationPda, findSatrushConfigPda, findSatsVaultPda, findTreasuryPda, getAutomationStrategyCodec, getAutomationStrategyDecoder, getAutomationStrategyEncoder, getBoardAddress, getBoardCodec, getBoardDecoder, getBoardDiscriminatorBytes, getBoardEncoder, getBoardSize, getBuyEpochTicketsDiscriminatorBytes, getBuyEpochTicketsInstruction, getBuyEpochTicketsInstructionAsync, getBuyEpochTicketsInstructionDataCodec, getBuyEpochTicketsInstructionDataDecoder, getBuyEpochTicketsInstructionDataEncoder, getBuyOneBtcTicketsDiscriminatorBytes, getBuyOneBtcTicketsInstruction, getBuyOneBtcTicketsInstructionAsync, getBuyOneBtcTicketsInstructionDataCodec, getBuyOneBtcTicketsInstructionDataDecoder, getBuyOneBtcTicketsInstructionDataEncoder, getCancelPublicAutomationDiscriminatorBytes, getCancelPublicAutomationInstruction, getCancelPublicAutomationInstructionAsync, getCancelPublicAutomationInstructionDataCodec, getCancelPublicAutomationInstructionDataDecoder, getCancelPublicAutomationInstructionDataEncoder, getClaimEpochRewardDiscriminatorBytes, getClaimEpochRewardInstruction, getClaimEpochRewardInstructionAsync, getClaimEpochRewardInstructionDataCodec, getClaimEpochRewardInstructionDataDecoder, getClaimEpochRewardInstructionDataEncoder, getClaimOneBtcRewardDiscriminatorBytes, getClaimOneBtcRewardInstruction, getClaimOneBtcRewardInstructionAsync, getClaimOneBtcRewardInstructionDataCodec, getClaimOneBtcRewardInstructionDataDecoder, getClaimOneBtcRewardInstructionDataEncoder, getClaimSatsDiscriminatorBytes, getClaimSatsInstruction, getClaimSatsInstructionAsync, getClaimSatsInstructionDataCodec, getClaimSatsInstructionDataDecoder, getClaimSatsInstructionDataEncoder, getClaimUsdDiscriminatorBytes, getClaimUsdInstruction, getClaimUsdInstructionAsync, getClaimUsdInstructionDataCodec, getClaimUsdInstructionDataDecoder, getClaimUsdInstructionDataEncoder, getCloseEpochEntryDiscriminatorBytes, getCloseEpochEntryInstruction, getCloseEpochEntryInstructionAsync, getCloseEpochEntryInstructionDataCodec, getCloseEpochEntryInstructionDataDecoder, getCloseEpochEntryInstructionDataEncoder, getCloseEpochIterationDiscriminatorBytes, getCloseEpochIterationInstruction, getCloseEpochIterationInstructionAsync, getCloseEpochIterationInstructionDataCodec, getCloseEpochIterationInstructionDataDecoder, getCloseEpochIterationInstructionDataEncoder, getCloseEpochPageDiscriminatorBytes, getCloseEpochPageInstruction, getCloseEpochPageInstructionAsync, getCloseEpochPageInstructionDataCodec, getCloseEpochPageInstructionDataDecoder, getCloseEpochPageInstructionDataEncoder, getCloseOneBtcIterationDiscriminatorBytes, getCloseOneBtcIterationInstruction, getCloseOneBtcIterationInstructionAsync, getCloseOneBtcIterationInstructionDataCodec, getCloseOneBtcIterationInstructionDataDecoder, getCloseOneBtcIterationInstructionDataEncoder, getCloseOneBtcTicketDiscriminatorBytes, getCloseOneBtcTicketInstruction, getCloseOneBtcTicketInstructionAsync, getCloseOneBtcTicketInstructionDataCodec, getCloseOneBtcTicketInstructionDataDecoder, getCloseOneBtcTicketInstructionDataEncoder, getCloseRoundDiscriminatorBytes, getCloseRoundInstruction, getCloseRoundInstructionAsync, getCloseRoundInstructionDataCodec, getCloseRoundInstructionDataDecoder, getCloseRoundInstructionDataEncoder, getCreateBoardDiscriminatorBytes, getCreateBoardInstruction, getCreateBoardInstructionAsync, getCreateBoardInstructionDataCodec, getCreateBoardInstructionDataDecoder, getCreateBoardInstructionDataEncoder, getCreateEpochVaultDiscriminatorBytes, getCreateEpochVaultInstruction, getCreateEpochVaultInstructionAsync, getCreateEpochVaultInstructionDataCodec, getCreateEpochVaultInstructionDataDecoder, getCreateEpochVaultInstructionDataEncoder, getCreateOneBtcVaultDiscriminatorBytes, getCreateOneBtcVaultInstruction, getCreateOneBtcVaultInstructionAsync, getCreateOneBtcVaultInstructionDataCodec, getCreateOneBtcVaultInstructionDataDecoder, getCreateOneBtcVaultInstructionDataEncoder, getCreatePublicAutomationDiscriminatorBytes, getCreatePublicAutomationInstruction, getCreatePublicAutomationInstructionAsync, getCreatePublicAutomationInstructionDataCodec, getCreatePublicAutomationInstructionDataDecoder, getCreatePublicAutomationInstructionDataEncoder, getCreateSatrushConfigDiscriminatorBytes, getCreateSatrushConfigInstruction, getCreateSatrushConfigInstructionAsync, getCreateSatrushConfigInstructionDataCodec, getCreateSatrushConfigInstructionDataDecoder, getCreateSatrushConfigInstructionDataEncoder, getCreateSatsVaultDiscriminatorBytes, getCreateSatsVaultInstruction, getCreateSatsVaultInstructionAsync, getCreateSatsVaultInstructionDataCodec, getCreateSatsVaultInstructionDataDecoder, getCreateSatsVaultInstructionDataEncoder, getCreateTreasuryDiscriminatorBytes, getCreateTreasuryInstruction, getCreateTreasuryInstructionAsync, getCreateTreasuryInstructionDataCodec, getCreateTreasuryInstructionDataDecoder, getCreateTreasuryInstructionDataEncoder, getDeployPublicDiscriminatorBytes, getDeployPublicInstruction, getDeployPublicInstructionAsync, getDeployPublicInstructionDataCodec, getDeployPublicInstructionDataDecoder, getDeployPublicInstructionDataEncoder, getEpochDrawTriggeredCodec, getEpochDrawTriggeredDecoder, getEpochDrawTriggeredEncoder, getEpochStateCodec, getEpochStateDecoder, getEpochStateEncoder, getEpochTicketsBoughtCodec, getEpochTicketsBoughtDecoder, getEpochTicketsBoughtEncoder, getEpochVaultAddress, getEpochVaultCodec, getEpochVaultDecoder, getEpochVaultDiscriminatorBytes, getEpochVaultEncoder, getEpochVaultEntryAddress, getEpochVaultEntryCodec, getEpochVaultEntryDecoder, getEpochVaultEntryDiscriminatorBytes, getEpochVaultEntryEncoder, getEpochVaultEntrySize, getEpochVaultIterationAddress, getEpochVaultIterationCodec, getEpochVaultIterationDecoder, getEpochVaultIterationDiscriminatorBytes, getEpochVaultIterationEncoder, getEpochVaultIterationSize, getEpochVaultPageAddress, getEpochVaultPageCodec, getEpochVaultPageDecoder, getEpochVaultPageDiscriminatorBytes, getEpochVaultPageEncoder, getEpochVaultPageSize, getEpochVaultSize, getEpochWinnerSelectedCodec, getEpochWinnerSelectedDecoder, getEpochWinnerSelectedEncoder, getEventAuthorityAddress, getExecutePublicAutomationDiscriminatorBytes, getExecutePublicAutomationInstruction, getExecutePublicAutomationInstructionAsync, getExecutePublicAutomationInstructionDataCodec, getExecutePublicAutomationInstructionDataDecoder, getExecutePublicAutomationInstructionDataEncoder, getHashrateTicketsCount, getHashrateUiAmount, getMinerAddress, getMinerCodec, getMinerDecoder, getMinerDiscriminatorBytes, getMinerEncoder, getMinerSize, getOneBtcDrawTriggeredCodec, getOneBtcDrawTriggeredDecoder, getOneBtcDrawTriggeredEncoder, getOneBtcStateCodec, getOneBtcStateDecoder, getOneBtcStateEncoder, getOneBtcTicketsBoughtCodec, getOneBtcTicketsBoughtDecoder, getOneBtcTicketsBoughtEncoder, getOneBtcVaultAddress, getOneBtcVaultCodec, getOneBtcVaultDecoder, getOneBtcVaultDiscriminatorBytes, getOneBtcVaultEncoder, getOneBtcVaultEntryCodec, getOneBtcVaultEntryDecoder, getOneBtcVaultEntryDiscriminatorBytes, getOneBtcVaultEntryEncoder, getOneBtcVaultEntrySize, getOneBtcVaultIterationAddress, getOneBtcVaultIterationCodec, getOneBtcVaultIterationDecoder, getOneBtcVaultIterationDiscriminatorBytes, getOneBtcVaultIterationEncoder, getOneBtcVaultIterationSize, getOneBtcVaultSize, getPageEntryCodec, getPageEntryDecoder, getPageEntryEncoder, getPublicAutomationAddress, getPublicAutomationCodec, getPublicAutomationDecoder, getPublicAutomationDiscriminatorBytes, getPublicAutomationEncoder, getPublicAutomationSize, getPublicDeployCreatedCodec, getPublicDeployCreatedDecoder, getPublicDeployCreatedEncoder, getPublicDeploySettledCodec, getPublicDeploySettledDecoder, getPublicDeploySettledEncoder, getPublicDeploymentAddress, getPublicDeploymentCodec, getPublicDeploymentDecoder, getPublicDeploymentDiscriminatorBytes, getPublicDeploymentEncoder, getRotateRoundDiscriminatorBytes, getRotateRoundInstruction, getRotateRoundInstructionAsync, getRotateRoundInstructionDataCodec, getRotateRoundInstructionDataDecoder, getRotateRoundInstructionDataEncoder, getRoundAddress, getRoundCodec, getRoundDecoder, getRoundDiscriminatorBytes, getRoundEncoder, getRoundRevealedCodec, getRoundRevealedDecoder, getRoundRevealedEncoder, getRoundStakeSwappedCodec, getRoundStakeSwappedDecoder, getRoundStakeSwappedEncoder, getRoundStateCodec, getRoundStateDecoder, getRoundStateEncoder, getSatrushConfigAddress, getSatrushConfigCodec, getSatrushConfigDecoder, getSatrushConfigDiscriminatorBytes, getSatrushConfigEncoder, getSatrushConfigSize, getSatrushErrorMessage, getSatsClaimedCodec, getSatsClaimedDecoder, getSatsClaimedEncoder, getSatsVaultAddress, getSatsVaultCodec, getSatsVaultDecoder, getSatsVaultDiscriminatorBytes, getSatsVaultEncoder, getSatsVaultSize, getSealEpochPageDiscriminatorBytes, getSealEpochPageInstruction, getSealEpochPageInstructionAsync, getSealEpochPageInstructionDataCodec, getSealEpochPageInstructionDataDecoder, getSealEpochPageInstructionDataEncoder, getSelectEpochWinnerDiscriminatorBytes, getSelectEpochWinnerInstruction, getSelectEpochWinnerInstructionAsync, getSelectEpochWinnerInstructionDataCodec, getSelectEpochWinnerInstructionDataDecoder, getSelectEpochWinnerInstructionDataEncoder, getSettleDeployPublicDiscriminatorBytes, getSettleDeployPublicInstruction, getSettleDeployPublicInstructionAsync, getSettleDeployPublicInstructionDataCodec, getSettleDeployPublicInstructionDataDecoder, getSettleDeployPublicInstructionDataEncoder, getSwapEpochStakeDiscriminatorBytes, getSwapEpochStakeInstruction, getSwapEpochStakeInstructionAsync, getSwapEpochStakeInstructionDataCodec, getSwapEpochStakeInstructionDataDecoder, getSwapEpochStakeInstructionDataEncoder, getSwapOneBtcStakeDiscriminatorBytes, getSwapOneBtcStakeInstruction, getSwapOneBtcStakeInstructionAsync, getSwapOneBtcStakeInstructionDataCodec, getSwapOneBtcStakeInstructionDataDecoder, getSwapOneBtcStakeInstructionDataEncoder, getSwapRoundStakeDiscriminatorBytes, getSwapRoundStakeInstruction, getSwapRoundStakeInstructionAsync, getSwapRoundStakeInstructionDataCodec, getSwapRoundStakeInstructionDataDecoder, getSwapRoundStakeInstructionDataEncoder, getSwapStrikeStakeDiscriminatorBytes, getSwapStrikeStakeInstruction, getSwapStrikeStakeInstructionAsync, getSwapStrikeStakeInstructionDataCodec, getSwapStrikeStakeInstructionDataDecoder, getSwapStrikeStakeInstructionDataEncoder, getTileStakeCodec, getTileStakeDecoder, getTileStakeEncoder, getTopUpPublicAutomationDiscriminatorBytes, getTopUpPublicAutomationInstruction, getTopUpPublicAutomationInstructionAsync, getTopUpPublicAutomationInstructionDataCodec, getTopUpPublicAutomationInstructionDataDecoder, getTopUpPublicAutomationInstructionDataEncoder, getTreasuryAddress, getTreasuryCodec, getTreasuryDecoder, getTreasuryDiscriminatorBytes, getTreasuryEncoder, getTreasurySize, getTriggerEpochDrawDiscriminatorBytes, getTriggerEpochDrawInstruction, getTriggerEpochDrawInstructionAsync, getTriggerEpochDrawInstructionDataCodec, getTriggerEpochDrawInstructionDataDecoder, getTriggerEpochDrawInstructionDataEncoder, getTriggerOneBtcDrawDiscriminatorBytes, getTriggerOneBtcDrawInstruction, getTriggerOneBtcDrawInstructionAsync, getTriggerOneBtcDrawInstructionDataCodec, getTriggerOneBtcDrawInstructionDataDecoder, getTriggerOneBtcDrawInstructionDataEncoder, getUpdateBoardRoundDurationDiscriminatorBytes, getUpdateBoardRoundDurationInstruction, getUpdateBoardRoundDurationInstructionAsync, getUpdateBoardRoundDurationInstructionDataCodec, getUpdateBoardRoundDurationInstructionDataDecoder, getUpdateBoardRoundDurationInstructionDataEncoder, getUpdateDeployFeesDiscriminatorBytes, getUpdateDeployFeesInstruction, getUpdateDeployFeesInstructionAsync, getUpdateDeployFeesInstructionDataCodec, getUpdateDeployFeesInstructionDataDecoder, getUpdateDeployFeesInstructionDataEncoder, getUpdateDeploymentSettleGraceDurationDiscriminatorBytes, getUpdateDeploymentSettleGraceDurationInstruction, getUpdateDeploymentSettleGraceDurationInstructionAsync, getUpdateDeploymentSettleGraceDurationInstructionDataCodec, getUpdateDeploymentSettleGraceDurationInstructionDataDecoder, getUpdateDeploymentSettleGraceDurationInstructionDataEncoder, getUpdateEpochVaultIterationDurationDiscriminatorBytes, getUpdateEpochVaultIterationDurationInstruction, getUpdateEpochVaultIterationDurationInstructionAsync, getUpdateEpochVaultIterationDurationInstructionDataCodec, getUpdateEpochVaultIterationDurationInstructionDataDecoder, getUpdateEpochVaultIterationDurationInstructionDataEncoder, getUpdateMinDeployUsdAmountDiscriminatorBytes, getUpdateMinDeployUsdAmountInstruction, getUpdateMinDeployUsdAmountInstructionAsync, getUpdateMinDeployUsdAmountInstructionDataCodec, getUpdateMinDeployUsdAmountInstructionDataDecoder, getUpdateMinDeployUsdAmountInstructionDataEncoder, getUpdateStrikeTriggerModulusDiscriminatorBytes, getUpdateStrikeTriggerModulusInstruction, getUpdateStrikeTriggerModulusInstructionAsync, getUpdateStrikeTriggerModulusInstructionDataCodec, getUpdateStrikeTriggerModulusInstructionDataDecoder, getUpdateStrikeTriggerModulusInstructionDataEncoder, getUpdateUnclaimedHashrateBpsDiscriminatorBytes, getUpdateUnclaimedHashrateBpsInstruction, getUpdateUnclaimedHashrateBpsInstructionAsync, getUpdateUnclaimedHashrateBpsInstructionDataCodec, getUpdateUnclaimedHashrateBpsInstructionDataDecoder, getUpdateUnclaimedHashrateBpsInstructionDataEncoder, getWinnerCodec, getWinnerDecoder, getWinnerEncoder, getWithdrawProtocolFeesDiscriminatorBytes, getWithdrawProtocolFeesInstruction, getWithdrawProtocolFeesInstructionAsync, getWithdrawProtocolFeesInstructionDataCodec, getWithdrawProtocolFeesInstructionDataDecoder, getWithdrawProtocolFeesInstructionDataEncoder, hashrateReward, identifySatrushAccount, identifySatrushInstruction, isSatrushError, nextStreakMultiplier, parseBuyEpochTicketsInstruction, parseBuyOneBtcTicketsInstruction, parseCancelPublicAutomationInstruction, parseClaimEpochRewardInstruction, parseClaimOneBtcRewardInstruction, parseClaimSatsInstruction, parseClaimUsdInstruction, parseCloseEpochEntryInstruction, parseCloseEpochIterationInstruction, parseCloseEpochPageInstruction, parseCloseOneBtcIterationInstruction, parseCloseOneBtcTicketInstruction, parseCloseRoundInstruction, parseCreateBoardInstruction, parseCreateEpochVaultInstruction, parseCreateOneBtcVaultInstruction, parseCreatePublicAutomationInstruction, parseCreateSatrushConfigInstruction, parseCreateSatsVaultInstruction, parseCreateTreasuryInstruction, parseDeployPublicInstruction, parseExecutePublicAutomationInstruction, parseRotateRoundInstruction, parseSatrushInstruction, parseSealEpochPageInstruction, parseSelectEpochWinnerInstruction, parseSettleDeployPublicInstruction, parseSwapEpochStakeInstruction, parseSwapOneBtcStakeInstruction, parseSwapRoundStakeInstruction, parseSwapStrikeStakeInstruction, parseTopUpPublicAutomationInstruction, parseTriggerEpochDrawInstruction, parseTriggerOneBtcDrawInstruction, parseUpdateBoardRoundDurationInstruction, parseUpdateDeployFeesInstruction, parseUpdateDeploymentSettleGraceDurationInstruction, parseUpdateEpochVaultIterationDurationInstruction, parseUpdateMinDeployUsdAmountInstruction, parseUpdateStrikeTriggerModulusInstruction, parseUpdateUnclaimedHashrateBpsInstruction, parseWithdrawProtocolFeesInstruction, satrushProgram, satsToBtc, selectionMaskFromTiles, tilesFromSelectionMask };