@satrush/client 0.1.10 → 0.1.11
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.mts +267 -43
- package/dist/index.d.ts +267 -43
- package/dist/index.js +643 -463
- package/dist/index.mjs +480 -296
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
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:
|
|
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;
|
|
@@ -2796,11 +2870,12 @@ declare function parseClaimUsdInstruction<TProgram extends string, TAccountMetas
|
|
|
2796
2870
|
|
|
2797
2871
|
declare const CLOSE_EPOCH_ENTRY_DISCRIMINATOR: ReadonlyUint8Array;
|
|
2798
2872
|
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<[
|
|
2873
|
+
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
2874
|
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
2801
2875
|
TAccountSatrushConfig extends string ? ReadonlyAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
|
|
2802
2876
|
TAccountEpochVaultIteration extends string ? ReadonlyAccount<TAccountEpochVaultIteration> : TAccountEpochVaultIteration,
|
|
2803
2877
|
TAccountEpochVaultEntry extends string ? WritableAccount<TAccountEpochVaultEntry> : TAccountEpochVaultEntry,
|
|
2878
|
+
TAccountEntryOwner extends string ? WritableAccount<TAccountEntryOwner> : TAccountEntryOwner,
|
|
2804
2879
|
...TRemainingAccounts
|
|
2805
2880
|
]>;
|
|
2806
2881
|
type CloseEpochEntryInstructionData = {
|
|
@@ -2810,24 +2885,28 @@ type CloseEpochEntryInstructionDataArgs = {};
|
|
|
2810
2885
|
declare function getCloseEpochEntryInstructionDataEncoder(): FixedSizeEncoder<CloseEpochEntryInstructionDataArgs>;
|
|
2811
2886
|
declare function getCloseEpochEntryInstructionDataDecoder(): FixedSizeDecoder<CloseEpochEntryInstructionData>;
|
|
2812
2887
|
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> = {
|
|
2888
|
+
type CloseEpochEntryAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountEpochVaultIteration extends string = string, TAccountEpochVaultEntry extends string = string, TAccountEntryOwner extends string = string> = {
|
|
2814
2889
|
authority: TransactionSigner<TAccountAuthority>;
|
|
2815
2890
|
satrushConfig?: Address<TAccountSatrushConfig>;
|
|
2816
2891
|
epochVaultIteration: Address<TAccountEpochVaultIteration>;
|
|
2817
2892
|
epochVaultEntry: Address<TAccountEpochVaultEntry>;
|
|
2893
|
+
/** Rent destination: the user who paid for the entry. */
|
|
2894
|
+
entryOwner: Address<TAccountEntryOwner>;
|
|
2818
2895
|
};
|
|
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?: {
|
|
2896
|
+
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
2897
|
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> = {
|
|
2898
|
+
}): Promise<CloseEpochEntryInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry, TAccountEntryOwner>>;
|
|
2899
|
+
type CloseEpochEntryInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountEpochVaultIteration extends string = string, TAccountEpochVaultEntry extends string = string, TAccountEntryOwner extends string = string> = {
|
|
2823
2900
|
authority: TransactionSigner<TAccountAuthority>;
|
|
2824
2901
|
satrushConfig: Address<TAccountSatrushConfig>;
|
|
2825
2902
|
epochVaultIteration: Address<TAccountEpochVaultIteration>;
|
|
2826
2903
|
epochVaultEntry: Address<TAccountEpochVaultEntry>;
|
|
2904
|
+
/** Rent destination: the user who paid for the entry. */
|
|
2905
|
+
entryOwner: Address<TAccountEntryOwner>;
|
|
2827
2906
|
};
|
|
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?: {
|
|
2907
|
+
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
2908
|
programAddress?: TProgramAddress;
|
|
2830
|
-
}): CloseEpochEntryInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry>;
|
|
2909
|
+
}): CloseEpochEntryInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountEpochVaultIteration, TAccountEpochVaultEntry, TAccountEntryOwner>;
|
|
2831
2910
|
type ParsedCloseEpochEntryInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
2832
2911
|
programAddress: Address<TProgram>;
|
|
2833
2912
|
accounts: {
|
|
@@ -2835,6 +2914,8 @@ type ParsedCloseEpochEntryInstruction<TProgram extends string = typeof SATRUSH_P
|
|
|
2835
2914
|
satrushConfig: TAccountMetas[1];
|
|
2836
2915
|
epochVaultIteration: TAccountMetas[2];
|
|
2837
2916
|
epochVaultEntry: TAccountMetas[3];
|
|
2917
|
+
/** Rent destination: the user who paid for the entry. */
|
|
2918
|
+
entryOwner: TAccountMetas[4];
|
|
2838
2919
|
};
|
|
2839
2920
|
data: CloseEpochEntryInstructionData;
|
|
2840
2921
|
};
|
|
@@ -3004,10 +3085,12 @@ declare function parseCloseOneBtcIterationInstruction<TProgram extends string, T
|
|
|
3004
3085
|
|
|
3005
3086
|
declare const CLOSE_ONE_BTC_TICKET_DISCRIMINATOR: ReadonlyUint8Array;
|
|
3006
3087
|
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<[
|
|
3088
|
+
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
3089
|
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
3090
|
+
TAccountSatrushConfig extends string ? ReadonlyAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
|
|
3009
3091
|
TAccountOneBtcVaultIteration extends string ? ReadonlyAccount<TAccountOneBtcVaultIteration> : TAccountOneBtcVaultIteration,
|
|
3010
3092
|
TAccountTicket extends string ? WritableAccount<TAccountTicket> : TAccountTicket,
|
|
3093
|
+
TAccountTicketOwner extends string ? WritableAccount<TAccountTicketOwner> : TAccountTicketOwner,
|
|
3011
3094
|
...TRemainingAccounts
|
|
3012
3095
|
]>;
|
|
3013
3096
|
type CloseOneBtcTicketInstructionData = {
|
|
@@ -3017,20 +3100,37 @@ type CloseOneBtcTicketInstructionDataArgs = {};
|
|
|
3017
3100
|
declare function getCloseOneBtcTicketInstructionDataEncoder(): FixedSizeEncoder<CloseOneBtcTicketInstructionDataArgs>;
|
|
3018
3101
|
declare function getCloseOneBtcTicketInstructionDataDecoder(): FixedSizeDecoder<CloseOneBtcTicketInstructionData>;
|
|
3019
3102
|
declare function getCloseOneBtcTicketInstructionDataCodec(): FixedSizeCodec<CloseOneBtcTicketInstructionDataArgs, CloseOneBtcTicketInstructionData>;
|
|
3020
|
-
type
|
|
3103
|
+
type CloseOneBtcTicketAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string, TAccountTicketOwner extends string = string> = {
|
|
3104
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
3105
|
+
satrushConfig?: Address<TAccountSatrushConfig>;
|
|
3106
|
+
oneBtcVaultIteration: Address<TAccountOneBtcVaultIteration>;
|
|
3107
|
+
ticket: Address<TAccountTicket>;
|
|
3108
|
+
/** Rent destination: the buyer who paid for the ticket. */
|
|
3109
|
+
ticketOwner: Address<TAccountTicketOwner>;
|
|
3110
|
+
};
|
|
3111
|
+
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?: {
|
|
3112
|
+
programAddress?: TProgramAddress;
|
|
3113
|
+
}): Promise<CloseOneBtcTicketInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVaultIteration, TAccountTicket, TAccountTicketOwner>>;
|
|
3114
|
+
type CloseOneBtcTicketInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string, TAccountOneBtcVaultIteration extends string = string, TAccountTicket extends string = string, TAccountTicketOwner extends string = string> = {
|
|
3021
3115
|
authority: TransactionSigner<TAccountAuthority>;
|
|
3116
|
+
satrushConfig: Address<TAccountSatrushConfig>;
|
|
3022
3117
|
oneBtcVaultIteration: Address<TAccountOneBtcVaultIteration>;
|
|
3023
3118
|
ticket: Address<TAccountTicket>;
|
|
3119
|
+
/** Rent destination: the buyer who paid for the ticket. */
|
|
3120
|
+
ticketOwner: Address<TAccountTicketOwner>;
|
|
3024
3121
|
};
|
|
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?: {
|
|
3122
|
+
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?: {
|
|
3026
3123
|
programAddress?: TProgramAddress;
|
|
3027
|
-
}): CloseOneBtcTicketInstruction<TProgramAddress, TAccountAuthority, TAccountOneBtcVaultIteration, TAccountTicket>;
|
|
3124
|
+
}): CloseOneBtcTicketInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountOneBtcVaultIteration, TAccountTicket, TAccountTicketOwner>;
|
|
3028
3125
|
type ParsedCloseOneBtcTicketInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3029
3126
|
programAddress: Address<TProgram>;
|
|
3030
3127
|
accounts: {
|
|
3031
3128
|
authority: TAccountMetas[0];
|
|
3032
|
-
|
|
3033
|
-
|
|
3129
|
+
satrushConfig: TAccountMetas[1];
|
|
3130
|
+
oneBtcVaultIteration: TAccountMetas[2];
|
|
3131
|
+
ticket: TAccountMetas[3];
|
|
3132
|
+
/** Rent destination: the buyer who paid for the ticket. */
|
|
3133
|
+
ticketOwner: TAccountMetas[4];
|
|
3034
3134
|
};
|
|
3035
3135
|
data: CloseOneBtcTicketInstructionData;
|
|
3036
3136
|
};
|
|
@@ -4132,16 +4232,19 @@ declare function parseExecutePublicAutomationInstruction<TProgram extends string
|
|
|
4132
4232
|
|
|
4133
4233
|
declare const ROTATE_ROUND_DISCRIMINATOR: ReadonlyUint8Array;
|
|
4134
4234
|
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<[
|
|
4235
|
+
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
4236
|
TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
4137
4237
|
TAccountSatrushConfig extends string ? ReadonlyAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
|
|
4138
4238
|
TAccountBoard extends string ? WritableAccount<TAccountBoard> : TAccountBoard,
|
|
4139
4239
|
TAccountCurrentRound extends string ? WritableAccount<TAccountCurrentRound> : TAccountCurrentRound,
|
|
4140
4240
|
TAccountNextRound extends string ? WritableAccount<TAccountNextRound> : TAccountNextRound,
|
|
4141
4241
|
TAccountUsdMint extends string ? ReadonlyAccount<TAccountUsdMint> : TAccountUsdMint,
|
|
4242
|
+
TAccountBtcMint extends string ? ReadonlyAccount<TAccountBtcMint> : TAccountBtcMint,
|
|
4142
4243
|
TAccountBoardUsdAta extends string ? WritableAccount<TAccountBoardUsdAta> : TAccountBoardUsdAta,
|
|
4244
|
+
TAccountBoardBtcAta extends string ? WritableAccount<TAccountBoardBtcAta> : TAccountBoardBtcAta,
|
|
4143
4245
|
TAccountEpochVault extends string ? WritableAccount<TAccountEpochVault> : TAccountEpochVault,
|
|
4144
4246
|
TAccountEpochVaultUsdAta extends string ? WritableAccount<TAccountEpochVaultUsdAta> : TAccountEpochVaultUsdAta,
|
|
4247
|
+
TAccountEpochVaultBtcAta extends string ? WritableAccount<TAccountEpochVaultBtcAta> : TAccountEpochVaultBtcAta,
|
|
4145
4248
|
TAccountOneBtcVault extends string ? WritableAccount<TAccountOneBtcVault> : TAccountOneBtcVault,
|
|
4146
4249
|
TAccountOneBtcVaultUsdAta extends string ? WritableAccount<TAccountOneBtcVaultUsdAta> : TAccountOneBtcVaultUsdAta,
|
|
4147
4250
|
TAccountTreasury extends string ? WritableAccount<TAccountTreasury> : TAccountTreasury,
|
|
@@ -4160,7 +4263,7 @@ type RotateRoundInstructionDataArgs = {};
|
|
|
4160
4263
|
declare function getRotateRoundInstructionDataEncoder(): FixedSizeEncoder<RotateRoundInstructionDataArgs>;
|
|
4161
4264
|
declare function getRotateRoundInstructionDataDecoder(): FixedSizeDecoder<RotateRoundInstructionData>;
|
|
4162
4265
|
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> = {
|
|
4266
|
+
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
4267
|
authority: TransactionSigner<TAccountAuthority>;
|
|
4165
4268
|
satrushConfig?: Address<TAccountSatrushConfig>;
|
|
4166
4269
|
/**
|
|
@@ -4181,15 +4284,33 @@ type RotateRoundAsyncInput<TAccountAuthority extends string = string, TAccountSa
|
|
|
4181
4284
|
* populates it via `Round::try_new`.
|
|
4182
4285
|
*/
|
|
4183
4286
|
nextRound?: Address<TAccountNextRound>;
|
|
4287
|
+
/** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
|
|
4184
4288
|
usdMint: Address<TAccountUsdMint>;
|
|
4289
|
+
/** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
|
|
4290
|
+
btcMint: Address<TAccountBtcMint>;
|
|
4185
4291
|
/** Board's USD pool where every deploy's full amount landed — the sweep source. */
|
|
4186
4292
|
boardUsdAta?: Address<TAccountBoardUsdAta>;
|
|
4293
|
+
/**
|
|
4294
|
+
* Board's BTC jackpot reserves — the strike skim's BTC source.
|
|
4295
|
+
* program validates mint and ownership on the transfer CPI. Unchecked for
|
|
4296
|
+
* `try_accounts` stack headroom.
|
|
4297
|
+
*/
|
|
4298
|
+
boardBtcAta: Address<TAccountBoardBtcAta>;
|
|
4187
4299
|
/** Epoch Vault singleton — receives the round's accumulated epoch fee leg. */
|
|
4188
4300
|
epochVault?: Address<TAccountEpochVault>;
|
|
4189
4301
|
epochVaultUsdAta?: Address<TAccountEpochVaultUsdAta>;
|
|
4302
|
+
/**
|
|
4303
|
+
* program validates mint and ownership on the transfer CPI. Unchecked for
|
|
4304
|
+
* `try_accounts` stack headroom.
|
|
4305
|
+
*/
|
|
4306
|
+
epochVaultBtcAta: Address<TAccountEpochVaultBtcAta>;
|
|
4190
4307
|
/** 1 BTC Vault singleton — receives the round's accumulated 1 BTC fee leg. */
|
|
4191
4308
|
oneBtcVault?: Address<TAccountOneBtcVault>;
|
|
4192
|
-
|
|
4309
|
+
/**
|
|
4310
|
+
* transfer destination — the token program validates mint and ownership on
|
|
4311
|
+
* the CPI. Unchecked for `try_accounts` stack headroom.
|
|
4312
|
+
*/
|
|
4313
|
+
oneBtcVaultUsdAta: Address<TAccountOneBtcVaultUsdAta>;
|
|
4193
4314
|
/**
|
|
4194
4315
|
* Treasury singleton — receives the round's accumulated protocol fee leg.
|
|
4195
4316
|
* No seeds constraint: discriminator + owner checks pin the one Treasury
|
|
@@ -4204,10 +4325,10 @@ type RotateRoundAsyncInput<TAccountAuthority extends string = string, TAccountSa
|
|
|
4204
4325
|
eventAuthority: Address<TAccountEventAuthority>;
|
|
4205
4326
|
program: Address<TAccountProgram>;
|
|
4206
4327
|
};
|
|
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?: {
|
|
4328
|
+
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
4329
|
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> = {
|
|
4330
|
+
}): Promise<RotateRoundInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBtcMint, TAccountBoardUsdAta, TAccountBoardBtcAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountEpochVaultBtcAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>>;
|
|
4331
|
+
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
4332
|
authority: TransactionSigner<TAccountAuthority>;
|
|
4212
4333
|
satrushConfig: Address<TAccountSatrushConfig>;
|
|
4213
4334
|
/**
|
|
@@ -4228,14 +4349,32 @@ type RotateRoundInput<TAccountAuthority extends string = string, TAccountSatrush
|
|
|
4228
4349
|
* populates it via `Round::try_new`.
|
|
4229
4350
|
*/
|
|
4230
4351
|
nextRound: Address<TAccountNextRound>;
|
|
4352
|
+
/** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
|
|
4231
4353
|
usdMint: Address<TAccountUsdMint>;
|
|
4354
|
+
/** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
|
|
4355
|
+
btcMint: Address<TAccountBtcMint>;
|
|
4232
4356
|
/** Board's USD pool where every deploy's full amount landed — the sweep source. */
|
|
4233
4357
|
boardUsdAta: Address<TAccountBoardUsdAta>;
|
|
4358
|
+
/**
|
|
4359
|
+
* Board's BTC jackpot reserves — the strike skim's BTC source.
|
|
4360
|
+
* program validates mint and ownership on the transfer CPI. Unchecked for
|
|
4361
|
+
* `try_accounts` stack headroom.
|
|
4362
|
+
*/
|
|
4363
|
+
boardBtcAta: Address<TAccountBoardBtcAta>;
|
|
4234
4364
|
/** Epoch Vault singleton — receives the round's accumulated epoch fee leg. */
|
|
4235
4365
|
epochVault: Address<TAccountEpochVault>;
|
|
4236
4366
|
epochVaultUsdAta: Address<TAccountEpochVaultUsdAta>;
|
|
4367
|
+
/**
|
|
4368
|
+
* program validates mint and ownership on the transfer CPI. Unchecked for
|
|
4369
|
+
* `try_accounts` stack headroom.
|
|
4370
|
+
*/
|
|
4371
|
+
epochVaultBtcAta: Address<TAccountEpochVaultBtcAta>;
|
|
4237
4372
|
/** 1 BTC Vault singleton — receives the round's accumulated 1 BTC fee leg. */
|
|
4238
4373
|
oneBtcVault: Address<TAccountOneBtcVault>;
|
|
4374
|
+
/**
|
|
4375
|
+
* transfer destination — the token program validates mint and ownership on
|
|
4376
|
+
* the CPI. Unchecked for `try_accounts` stack headroom.
|
|
4377
|
+
*/
|
|
4239
4378
|
oneBtcVaultUsdAta: Address<TAccountOneBtcVaultUsdAta>;
|
|
4240
4379
|
/**
|
|
4241
4380
|
* Treasury singleton — receives the round's accumulated protocol fee leg.
|
|
@@ -4251,9 +4390,9 @@ type RotateRoundInput<TAccountAuthority extends string = string, TAccountSatrush
|
|
|
4251
4390
|
eventAuthority: Address<TAccountEventAuthority>;
|
|
4252
4391
|
program: Address<TAccountProgram>;
|
|
4253
4392
|
};
|
|
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?: {
|
|
4393
|
+
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
4394
|
programAddress?: TProgramAddress;
|
|
4256
|
-
}): RotateRoundInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBoardUsdAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
|
|
4395
|
+
}): RotateRoundInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig, TAccountBoard, TAccountCurrentRound, TAccountNextRound, TAccountUsdMint, TAccountBtcMint, TAccountBoardUsdAta, TAccountBoardBtcAta, TAccountEpochVault, TAccountEpochVaultUsdAta, TAccountEpochVaultBtcAta, TAccountOneBtcVault, TAccountOneBtcVaultUsdAta, TAccountTreasury, TAccountTreasuryUsdAta, TAccountSlotHashes, TAccountTokenProgram, TAccountSystemProgram, TAccountEventAuthority, TAccountProgram>;
|
|
4257
4396
|
type ParsedRotateRoundInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
4258
4397
|
programAddress: Address<TProgram>;
|
|
4259
4398
|
accounts: {
|
|
@@ -4277,28 +4416,46 @@ type ParsedRotateRoundInstruction<TProgram extends string = typeof SATRUSH_PROGR
|
|
|
4277
4416
|
* populates it via `Round::try_new`.
|
|
4278
4417
|
*/
|
|
4279
4418
|
nextRound: TAccountMetas[4];
|
|
4419
|
+
/** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
|
|
4280
4420
|
usdMint: TAccountMetas[5];
|
|
4421
|
+
/** decimals byte are read. Unchecked for `try_accounts` stack headroom. */
|
|
4422
|
+
btcMint: TAccountMetas[6];
|
|
4281
4423
|
/** Board's USD pool where every deploy's full amount landed — the sweep source. */
|
|
4282
|
-
boardUsdAta: TAccountMetas[
|
|
4424
|
+
boardUsdAta: TAccountMetas[7];
|
|
4425
|
+
/**
|
|
4426
|
+
* Board's BTC jackpot reserves — the strike skim's BTC source.
|
|
4427
|
+
* program validates mint and ownership on the transfer CPI. Unchecked for
|
|
4428
|
+
* `try_accounts` stack headroom.
|
|
4429
|
+
*/
|
|
4430
|
+
boardBtcAta: TAccountMetas[8];
|
|
4283
4431
|
/** Epoch Vault singleton — receives the round's accumulated epoch fee leg. */
|
|
4284
|
-
epochVault: TAccountMetas[
|
|
4285
|
-
epochVaultUsdAta: TAccountMetas[
|
|
4432
|
+
epochVault: TAccountMetas[9];
|
|
4433
|
+
epochVaultUsdAta: TAccountMetas[10];
|
|
4434
|
+
/**
|
|
4435
|
+
* program validates mint and ownership on the transfer CPI. Unchecked for
|
|
4436
|
+
* `try_accounts` stack headroom.
|
|
4437
|
+
*/
|
|
4438
|
+
epochVaultBtcAta: TAccountMetas[11];
|
|
4286
4439
|
/** 1 BTC Vault singleton — receives the round's accumulated 1 BTC fee leg. */
|
|
4287
|
-
oneBtcVault: TAccountMetas[
|
|
4288
|
-
|
|
4440
|
+
oneBtcVault: TAccountMetas[12];
|
|
4441
|
+
/**
|
|
4442
|
+
* transfer destination — the token program validates mint and ownership on
|
|
4443
|
+
* the CPI. Unchecked for `try_accounts` stack headroom.
|
|
4444
|
+
*/
|
|
4445
|
+
oneBtcVaultUsdAta: TAccountMetas[13];
|
|
4289
4446
|
/**
|
|
4290
4447
|
* Treasury singleton — receives the round's accumulated protocol fee leg.
|
|
4291
4448
|
* No seeds constraint: discriminator + owner checks pin the one Treasury
|
|
4292
4449
|
* instance that can ever exist (`init` on fixed seeds).
|
|
4293
4450
|
*/
|
|
4294
|
-
treasury: TAccountMetas[
|
|
4295
|
-
treasuryUsdAta: TAccountMetas[
|
|
4451
|
+
treasury: TAccountMetas[14];
|
|
4452
|
+
treasuryUsdAta: TAccountMetas[15];
|
|
4296
4453
|
/** because the sysvar is too large to deserialize. */
|
|
4297
|
-
slotHashes: TAccountMetas[
|
|
4298
|
-
tokenProgram: TAccountMetas[
|
|
4299
|
-
systemProgram: TAccountMetas[
|
|
4300
|
-
eventAuthority: TAccountMetas[
|
|
4301
|
-
program: TAccountMetas[
|
|
4454
|
+
slotHashes: TAccountMetas[16];
|
|
4455
|
+
tokenProgram: TAccountMetas[17];
|
|
4456
|
+
systemProgram: TAccountMetas[18];
|
|
4457
|
+
eventAuthority: TAccountMetas[19];
|
|
4458
|
+
program: TAccountMetas[20];
|
|
4302
4459
|
};
|
|
4303
4460
|
data: RotateRoundInstructionData;
|
|
4304
4461
|
};
|
|
@@ -5340,6 +5497,69 @@ type ParsedUpdateBoardRoundDurationInstruction<TProgram extends string = typeof
|
|
|
5340
5497
|
};
|
|
5341
5498
|
declare function parseUpdateBoardRoundDurationInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateBoardRoundDurationInstruction<TProgram, TAccountMetas>;
|
|
5342
5499
|
|
|
5500
|
+
/**
|
|
5501
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
5502
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5503
|
+
* to add features, then rerun Codama to update it.
|
|
5504
|
+
*
|
|
5505
|
+
* @see https://github.com/codama-idl/codama
|
|
5506
|
+
*/
|
|
5507
|
+
|
|
5508
|
+
declare const UPDATE_DEPLOY_FEES_DISCRIMINATOR: ReadonlyUint8Array;
|
|
5509
|
+
declare function getUpdateDeployFeesDiscriminatorBytes(): ReadonlyUint8Array;
|
|
5510
|
+
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<[
|
|
5511
|
+
TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
5512
|
+
TAccountSatrushConfig extends string ? WritableAccount<TAccountSatrushConfig> : TAccountSatrushConfig,
|
|
5513
|
+
...TRemainingAccounts
|
|
5514
|
+
]>;
|
|
5515
|
+
type UpdateDeployFeesInstructionData = {
|
|
5516
|
+
discriminator: ReadonlyUint8Array;
|
|
5517
|
+
newStrikeFeeBps: number;
|
|
5518
|
+
newEpochFeeBps: number;
|
|
5519
|
+
newOneBtcFeeBps: number;
|
|
5520
|
+
newProtocolFeeBps: number;
|
|
5521
|
+
};
|
|
5522
|
+
type UpdateDeployFeesInstructionDataArgs = {
|
|
5523
|
+
newStrikeFeeBps: number;
|
|
5524
|
+
newEpochFeeBps: number;
|
|
5525
|
+
newOneBtcFeeBps: number;
|
|
5526
|
+
newProtocolFeeBps: number;
|
|
5527
|
+
};
|
|
5528
|
+
declare function getUpdateDeployFeesInstructionDataEncoder(): FixedSizeEncoder<UpdateDeployFeesInstructionDataArgs>;
|
|
5529
|
+
declare function getUpdateDeployFeesInstructionDataDecoder(): FixedSizeDecoder<UpdateDeployFeesInstructionData>;
|
|
5530
|
+
declare function getUpdateDeployFeesInstructionDataCodec(): FixedSizeCodec<UpdateDeployFeesInstructionDataArgs, UpdateDeployFeesInstructionData>;
|
|
5531
|
+
type UpdateDeployFeesAsyncInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string> = {
|
|
5532
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
5533
|
+
satrushConfig?: Address<TAccountSatrushConfig>;
|
|
5534
|
+
newStrikeFeeBps: UpdateDeployFeesInstructionDataArgs['newStrikeFeeBps'];
|
|
5535
|
+
newEpochFeeBps: UpdateDeployFeesInstructionDataArgs['newEpochFeeBps'];
|
|
5536
|
+
newOneBtcFeeBps: UpdateDeployFeesInstructionDataArgs['newOneBtcFeeBps'];
|
|
5537
|
+
newProtocolFeeBps: UpdateDeployFeesInstructionDataArgs['newProtocolFeeBps'];
|
|
5538
|
+
};
|
|
5539
|
+
declare function getUpdateDeployFeesInstructionAsync<TAccountAuthority extends string, TAccountSatrushConfig extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: UpdateDeployFeesAsyncInput<TAccountAuthority, TAccountSatrushConfig>, config?: {
|
|
5540
|
+
programAddress?: TProgramAddress;
|
|
5541
|
+
}): Promise<UpdateDeployFeesInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig>>;
|
|
5542
|
+
type UpdateDeployFeesInput<TAccountAuthority extends string = string, TAccountSatrushConfig extends string = string> = {
|
|
5543
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
5544
|
+
satrushConfig: Address<TAccountSatrushConfig>;
|
|
5545
|
+
newStrikeFeeBps: UpdateDeployFeesInstructionDataArgs['newStrikeFeeBps'];
|
|
5546
|
+
newEpochFeeBps: UpdateDeployFeesInstructionDataArgs['newEpochFeeBps'];
|
|
5547
|
+
newOneBtcFeeBps: UpdateDeployFeesInstructionDataArgs['newOneBtcFeeBps'];
|
|
5548
|
+
newProtocolFeeBps: UpdateDeployFeesInstructionDataArgs['newProtocolFeeBps'];
|
|
5549
|
+
};
|
|
5550
|
+
declare function getUpdateDeployFeesInstruction<TAccountAuthority extends string, TAccountSatrushConfig extends string, TProgramAddress extends Address = typeof SATRUSH_PROGRAM_ADDRESS>(input: UpdateDeployFeesInput<TAccountAuthority, TAccountSatrushConfig>, config?: {
|
|
5551
|
+
programAddress?: TProgramAddress;
|
|
5552
|
+
}): UpdateDeployFeesInstruction<TProgramAddress, TAccountAuthority, TAccountSatrushConfig>;
|
|
5553
|
+
type ParsedUpdateDeployFeesInstruction<TProgram extends string = typeof SATRUSH_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
5554
|
+
programAddress: Address<TProgram>;
|
|
5555
|
+
accounts: {
|
|
5556
|
+
authority: TAccountMetas[0];
|
|
5557
|
+
satrushConfig: TAccountMetas[1];
|
|
5558
|
+
};
|
|
5559
|
+
data: UpdateDeployFeesInstructionData;
|
|
5560
|
+
};
|
|
5561
|
+
declare function parseUpdateDeployFeesInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateDeployFeesInstruction<TProgram, TAccountMetas>;
|
|
5562
|
+
|
|
5343
5563
|
/**
|
|
5344
5564
|
* This code was AUTOGENERATED using the Codama library.
|
|
5345
5565
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
@@ -5811,6 +6031,10 @@ declare const HASHRATE_PER_TICKET = 100n;
|
|
|
5811
6031
|
declare const LOYALTY_WEIGHT = 1n;
|
|
5812
6032
|
/** Skill channel weight (β) in the hashrate reward formula, mirroring the program's `SKILL_WEIGHT`. */
|
|
5813
6033
|
declare const SKILL_WEIGHT = 1n;
|
|
6034
|
+
/** Rounds after a Sat Strike during which settled plays earn boosted hashrate, mirroring the program's `STRIKE_BOOST_ROUNDS`. */
|
|
6035
|
+
declare const STRIKE_BOOST_ROUNDS = 240;
|
|
6036
|
+
/** 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. */
|
|
6037
|
+
declare const STRIKE_BOOST_HASHRATE_MULTIPLIER = 2n;
|
|
5814
6038
|
/**
|
|
5815
6039
|
* Format raw hashrate units as the UI points amount with 2 decimals
|
|
5816
6040
|
* ({@link HASHRATE_DECIMALS}): raw 101 → `"1.01"`. Lossless for the full
|
|
@@ -5854,7 +6078,7 @@ type HashrateReward = {
|
|
|
5854
6078
|
*
|
|
5855
6079
|
* Returns an all-zero reward when `stake === 0n` or `covered === 0`.
|
|
5856
6080
|
*/
|
|
5857
|
-
declare function hashrateReward(stake: bigint, streak: number, covered: number, totalTiles: number, usdUnit: bigint): HashrateReward;
|
|
6081
|
+
declare function hashrateReward(stake: bigint, streak: number, covered: number, totalTiles: number, usdUnit: bigint, hashrateMultiplier?: bigint): HashrateReward;
|
|
5858
6082
|
|
|
5859
6083
|
declare function getSatrushConfigAddress(): Promise<ProgramDerivedAddress>;
|
|
5860
6084
|
/**
|
|
@@ -5945,4 +6169,4 @@ declare const REWARD_MAX_STREAK = 100;
|
|
|
5945
6169
|
*/
|
|
5946
6170
|
declare function nextStreakMultiplier(currentStreakCount: number, lastMinedRoundId: number, nextRoundId: number): number;
|
|
5947
6171
|
|
|
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 };
|
|
6172
|
+
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 };
|