@bench.games/opportunity-markets 0.2.9 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -42,23 +42,17 @@ declare function getCentralStateDiscriminatorBytes(): ReadonlyUint8Array<ArrayBu
42
42
  type CentralState = {
43
43
  discriminator: ReadonlyUint8Array;
44
44
  bump: number;
45
- earlinessCutoffSeconds: bigint;
46
45
  authority: Address;
47
- minOptionDeposit: bigint;
48
46
  protocolFeeBp: number;
49
47
  feeRecipient: Address;
50
- minimumInitialRevealPeriod: bigint;
51
48
  /** Reserved for future use */
52
49
  reserved: Array<number>;
53
50
  };
54
51
  type CentralStateArgs = {
55
52
  bump: number;
56
- earlinessCutoffSeconds: number | bigint;
57
53
  authority: Address;
58
- minOptionDeposit: number | bigint;
59
54
  protocolFeeBp: number;
60
55
  feeRecipient: Address;
61
- minimumInitialRevealPeriod: number | bigint;
62
56
  /** Reserved for future use */
63
57
  reserved: Array<number>;
64
58
  };
@@ -335,6 +329,46 @@ declare function getMarketOptionCreatedEventEncoder(): FixedSizeEncoder<MarketOp
335
329
  declare function getMarketOptionCreatedEventDecoder(): FixedSizeDecoder<MarketOptionCreatedEvent>;
336
330
  declare function getMarketOptionCreatedEventCodec(): FixedSizeCodec<MarketOptionCreatedEventArgs, MarketOptionCreatedEvent>;
337
331
 
332
+ /**
333
+ * This code was AUTOGENERATED using the Codama library.
334
+ * Please DO NOT EDIT THIS FILE, instead use visitors
335
+ * to add features, then rerun Codama to update it.
336
+ *
337
+ * @see https://github.com/codama-idl/codama
338
+ */
339
+
340
+ type MarketPausedEvent = {
341
+ market: Address;
342
+ timestamp: bigint;
343
+ };
344
+ type MarketPausedEventArgs = {
345
+ market: Address;
346
+ timestamp: number | bigint;
347
+ };
348
+ declare function getMarketPausedEventEncoder(): FixedSizeEncoder<MarketPausedEventArgs>;
349
+ declare function getMarketPausedEventDecoder(): FixedSizeDecoder<MarketPausedEvent>;
350
+ declare function getMarketPausedEventCodec(): FixedSizeCodec<MarketPausedEventArgs, MarketPausedEvent>;
351
+
352
+ /**
353
+ * This code was AUTOGENERATED using the Codama library.
354
+ * Please DO NOT EDIT THIS FILE, instead use visitors
355
+ * to add features, then rerun Codama to update it.
356
+ *
357
+ * @see https://github.com/codama-idl/codama
358
+ */
359
+
360
+ type MarketResumedEvent = {
361
+ market: Address;
362
+ timestamp: bigint;
363
+ };
364
+ type MarketResumedEventArgs = {
365
+ market: Address;
366
+ timestamp: number | bigint;
367
+ };
368
+ declare function getMarketResumedEventEncoder(): FixedSizeEncoder<MarketResumedEventArgs>;
369
+ declare function getMarketResumedEventDecoder(): FixedSizeDecoder<MarketResumedEvent>;
370
+ declare function getMarketResumedEventCodec(): FixedSizeCodec<MarketResumedEventArgs, MarketResumedEvent>;
371
+
338
372
  /**
339
373
  * This code was AUTOGENERATED using the Codama library.
340
374
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -515,21 +549,19 @@ declare function getParameterCodec(): FixedSizeCodec<ParameterArgs, Parameter>;
515
549
  * @see https://github.com/codama-idl/codama
516
550
  */
517
551
 
518
- type RevealPeriodExtendedEvent = {
552
+ type RevealPeriodEndedEvent = {
519
553
  market: Address;
520
554
  authority: Address;
521
- newTimeToReveal: bigint;
522
555
  timestamp: bigint;
523
556
  };
524
- type RevealPeriodExtendedEventArgs = {
557
+ type RevealPeriodEndedEventArgs = {
525
558
  market: Address;
526
559
  authority: Address;
527
- newTimeToReveal: number | bigint;
528
560
  timestamp: number | bigint;
529
561
  };
530
- declare function getRevealPeriodExtendedEventEncoder(): FixedSizeEncoder<RevealPeriodExtendedEventArgs>;
531
- declare function getRevealPeriodExtendedEventDecoder(): FixedSizeDecoder<RevealPeriodExtendedEvent>;
532
- declare function getRevealPeriodExtendedEventCodec(): FixedSizeCodec<RevealPeriodExtendedEventArgs, RevealPeriodExtendedEvent>;
562
+ declare function getRevealPeriodEndedEventEncoder(): FixedSizeEncoder<RevealPeriodEndedEventArgs>;
563
+ declare function getRevealPeriodEndedEventDecoder(): FixedSizeDecoder<RevealPeriodEndedEvent>;
564
+ declare function getRevealPeriodEndedEventCodec(): FixedSizeCodec<RevealPeriodEndedEventArgs, RevealPeriodEndedEvent>;
533
565
 
534
566
  /**
535
567
  * This code was AUTOGENERATED using the Codama library.
@@ -1265,6 +1297,7 @@ type OpportunityMarket = {
1265
1297
  unstakeDelaySeconds: bigint;
1266
1298
  authorizedReaderPubkey: Array<number>;
1267
1299
  allowClosingEarly: boolean;
1300
+ paused: boolean;
1268
1301
  };
1269
1302
  type OpportunityMarketArgs = {
1270
1303
  bump: number;
@@ -1283,6 +1316,7 @@ type OpportunityMarketArgs = {
1283
1316
  unstakeDelaySeconds: number | bigint;
1284
1317
  authorizedReaderPubkey: Array<number>;
1285
1318
  allowClosingEarly: boolean;
1319
+ paused: boolean;
1286
1320
  };
1287
1321
  declare function getOpportunityMarketEncoder(): Encoder<OpportunityMarketArgs>;
1288
1322
  declare function getOpportunityMarketDecoder(): Decoder<OpportunityMarket>;
@@ -1534,7 +1568,15 @@ declare const OPPORTUNITY_MARKET_ERROR__NO_FEES_TO_CLAIM = 6027;
1534
1568
  declare const OPPORTUNITY_MARKET_ERROR__INVALID_WINNING_OPTIONS_INPUT = 6028;
1535
1569
  /** StakeNotStuck: Stake account is not in a stuck or failed state */
1536
1570
  declare const OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK = 6029;
1537
- type OpportunityMarketError = typeof OPPORTUNITY_MARKET_ERROR__ABORTED_COMPUTATION | typeof OPPORTUNITY_MARKET_ERROR__ADD_OPTION_STAKE_FAILED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_STAKED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_UNSTAKED | typeof OPPORTUNITY_MARKET_ERROR__CLOSING_EARLY_NOT_ALLOWED | typeof OPPORTUNITY_MARKET_ERROR__CLUSTER_NOT_SET | typeof OPPORTUNITY_MARKET_ERROR__DEPOSIT_BELOW_MINIMUM | typeof OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_BALANCE | typeof OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_REWARD_FUNDING | typeof OPPORTUNITY_MARKET_ERROR__INVALID_ACCOUNT_STATE | typeof OPPORTUNITY_MARKET_ERROR__INVALID_MINT | typeof OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID | typeof OPPORTUNITY_MARKET_ERROR__INVALID_TIMESTAMP | typeof OPPORTUNITY_MARKET_ERROR__INVALID_WINNING_OPTIONS_INPUT | typeof OPPORTUNITY_MARKET_ERROR__LOCKED | typeof OPPORTUNITY_MARKET_ERROR__MARKET_ALREADY_OPEN | typeof OPPORTUNITY_MARKET_ERROR__MARKET_NOT_OPEN | typeof OPPORTUNITY_MARKET_ERROR__MARKET_NOT_RESOLVED | typeof OPPORTUNITY_MARKET_ERROR__NO_FEES_TO_CLAIM | typeof OPPORTUNITY_MARKET_ERROR__NOT_REVEALED | typeof OPPORTUNITY_MARKET_ERROR__OVERFLOW | typeof OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED | typeof OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK | typeof OPPORTUNITY_MARKET_ERROR__STAKING_NOT_ACTIVE | typeof OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED | typeof OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED | typeof OPPORTUNITY_MARKET_ERROR__UNSTAKE_DELAY_NOT_MET | typeof OPPORTUNITY_MARKET_ERROR__UNSTAKE_NOT_INITIATED | typeof OPPORTUNITY_MARKET_ERROR__WINNER_ALREADY_SELECTED;
1571
+ /** ProtocolFeeTooHigh: Protocol fee exceeds maximum 500 bp */
1572
+ declare const OPPORTUNITY_MARKET_ERROR__PROTOCOL_FEE_TOO_HIGH = 6030;
1573
+ /** MarketPaused: Market staking is currently paused */
1574
+ declare const OPPORTUNITY_MARKET_ERROR__MARKET_PAUSED = 6031;
1575
+ /** MarketNotPaused: Market is not paused */
1576
+ declare const OPPORTUNITY_MARKET_ERROR__MARKET_NOT_PAUSED = 6032;
1577
+ /** EarlinessCutoffTooLarge: Earliness cutoff exceeds staking period */
1578
+ declare const OPPORTUNITY_MARKET_ERROR__EARLINESS_CUTOFF_TOO_LARGE = 6033;
1579
+ type OpportunityMarketError = typeof OPPORTUNITY_MARKET_ERROR__ABORTED_COMPUTATION | typeof OPPORTUNITY_MARKET_ERROR__ADD_OPTION_STAKE_FAILED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_STAKED | typeof OPPORTUNITY_MARKET_ERROR__ALREADY_UNSTAKED | typeof OPPORTUNITY_MARKET_ERROR__CLOSING_EARLY_NOT_ALLOWED | typeof OPPORTUNITY_MARKET_ERROR__CLUSTER_NOT_SET | typeof OPPORTUNITY_MARKET_ERROR__DEPOSIT_BELOW_MINIMUM | typeof OPPORTUNITY_MARKET_ERROR__EARLINESS_CUTOFF_TOO_LARGE | typeof OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_BALANCE | typeof OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_REWARD_FUNDING | typeof OPPORTUNITY_MARKET_ERROR__INVALID_ACCOUNT_STATE | typeof OPPORTUNITY_MARKET_ERROR__INVALID_MINT | typeof OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID | typeof OPPORTUNITY_MARKET_ERROR__INVALID_TIMESTAMP | typeof OPPORTUNITY_MARKET_ERROR__INVALID_WINNING_OPTIONS_INPUT | typeof OPPORTUNITY_MARKET_ERROR__LOCKED | typeof OPPORTUNITY_MARKET_ERROR__MARKET_ALREADY_OPEN | typeof OPPORTUNITY_MARKET_ERROR__MARKET_NOT_OPEN | typeof OPPORTUNITY_MARKET_ERROR__MARKET_NOT_PAUSED | typeof OPPORTUNITY_MARKET_ERROR__MARKET_NOT_RESOLVED | typeof OPPORTUNITY_MARKET_ERROR__MARKET_PAUSED | typeof OPPORTUNITY_MARKET_ERROR__NO_FEES_TO_CLAIM | typeof OPPORTUNITY_MARKET_ERROR__NOT_REVEALED | typeof OPPORTUNITY_MARKET_ERROR__OVERFLOW | typeof OPPORTUNITY_MARKET_ERROR__PROTOCOL_FEE_TOO_HIGH | typeof OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED | typeof OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK | typeof OPPORTUNITY_MARKET_ERROR__STAKING_NOT_ACTIVE | typeof OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED | typeof OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED | typeof OPPORTUNITY_MARKET_ERROR__UNSTAKE_DELAY_NOT_MET | typeof OPPORTUNITY_MARKET_ERROR__UNSTAKE_NOT_INITIATED | typeof OPPORTUNITY_MARKET_ERROR__WINNER_ALREADY_SELECTED;
1538
1580
  declare function getOpportunityMarketErrorMessage(code: OpportunityMarketError): string;
1539
1581
  declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityMarketError>(error: unknown, transactionMessage: {
1540
1582
  instructions: Record<number, {
@@ -1554,7 +1596,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
1554
1596
  * @see https://github.com/codama-idl/codama
1555
1597
  */
1556
1598
 
1557
- declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"BencHEXKYZ8HJ9LCrihgCWAmnqBT1abpsa9FYRs8fK1D">;
1599
+ declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"BENCHauvSzMY39khAvj43LHRpbVewb76Wv8ETsVuHn8C">;
1558
1600
  declare enum OpportunityMarketAccount {
1559
1601
  ArciumSignerAccount = 0,
1560
1602
  CentralState = 1,
@@ -1586,23 +1628,25 @@ declare enum OpportunityMarketInstruction {
1586
1628
  InitStakeAccount = 10,
1587
1629
  InitTokenVault = 11,
1588
1630
  OpenMarket = 12,
1589
- ReclaimStake = 13,
1590
- RevealStake = 14,
1591
- RevealStakeCallback = 15,
1592
- RevealStakeCompDef = 16,
1593
- SelectWinningOptions = 17,
1594
- Stake = 18,
1595
- StakeCallback = 19,
1596
- StakeCompDef = 20,
1597
- TransferCentralStateAuthority = 21,
1598
- UnstakeEarly = 22,
1599
- UpdateCentralState = 23,
1600
- WithdrawReward = 24
1631
+ PauseMarket = 13,
1632
+ ReclaimStake = 14,
1633
+ ResumeMarket = 15,
1634
+ RevealStake = 16,
1635
+ RevealStakeCallback = 17,
1636
+ RevealStakeCompDef = 18,
1637
+ SelectWinningOptions = 19,
1638
+ Stake = 20,
1639
+ StakeCallback = 21,
1640
+ StakeCompDef = 22,
1641
+ TransferCentralStateAuthority = 23,
1642
+ UnstakeEarly = 24,
1643
+ UpdateCentralState = 25,
1644
+ WithdrawReward = 26
1601
1645
  }
1602
1646
  declare function identifyOpportunityMarketInstruction(instruction: {
1603
1647
  data: ReadonlyUint8Array;
1604
1648
  } | ReadonlyUint8Array): OpportunityMarketInstruction;
1605
- type ParsedOpportunityMarketInstruction<TProgram extends string = 'BencHEXKYZ8HJ9LCrihgCWAmnqBT1abpsa9FYRs8fK1D'> = ({
1649
+ type ParsedOpportunityMarketInstruction<TProgram extends string = 'BENCHauvSzMY39khAvj43LHRpbVewb76Wv8ETsVuHn8C'> = ({
1606
1650
  instructionType: OpportunityMarketInstruction.AddMarketOption;
1607
1651
  } & ParsedAddMarketOptionInstruction<TProgram>) | ({
1608
1652
  instructionType: OpportunityMarketInstruction.AddReward;
@@ -1629,8 +1673,12 @@ type ParsedOpportunityMarketInstruction<TProgram extends string = 'BencHEXKYZ8HJ
1629
1673
  } & ParsedInitTokenVaultInstruction<TProgram>) | ({
1630
1674
  instructionType: OpportunityMarketInstruction.OpenMarket;
1631
1675
  } & ParsedOpenMarketInstruction<TProgram>) | ({
1676
+ instructionType: OpportunityMarketInstruction.PauseMarket;
1677
+ } & ParsedPauseMarketInstruction<TProgram>) | ({
1632
1678
  instructionType: OpportunityMarketInstruction.ReclaimStake;
1633
1679
  } & ParsedReclaimStakeInstruction<TProgram>) | ({
1680
+ instructionType: OpportunityMarketInstruction.ResumeMarket;
1681
+ } & ParsedResumeMarketInstruction<TProgram>) | ({
1634
1682
  instructionType: OpportunityMarketInstruction.RevealStake;
1635
1683
  } & ParsedRevealStakeInstruction<TProgram>) | ({
1636
1684
  instructionType: OpportunityMarketInstruction.RevealStakeCallback;
@@ -2052,10 +2100,9 @@ declare function parseCloseStuckStakeAccountInstruction<TProgram extends string,
2052
2100
 
2053
2101
  declare const CREATE_MARKET_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2054
2102
  declare function getCreateMarketDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
2055
- type CreateMarketInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountCreator extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2103
+ type CreateMarketInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountCreator extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2056
2104
  TAccountCreator extends string ? WritableSignerAccount<TAccountCreator> & AccountSignerMeta<TAccountCreator> : TAccountCreator,
2057
2105
  TAccountTokenMint extends string ? ReadonlyAccount<TAccountTokenMint> : TAccountTokenMint,
2058
- TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
2059
2106
  TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
2060
2107
  TAccountMarketTokenAta extends string ? WritableAccount<TAccountMarketTokenAta> : TAccountMarketTokenAta,
2061
2108
  TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
@@ -2073,6 +2120,7 @@ type CreateMarketInstructionData = {
2073
2120
  authorizedReaderPubkey: Array<number>;
2074
2121
  allowClosingEarly: boolean;
2075
2122
  revealPeriodAuthority: Address;
2123
+ earlinessCutoffSeconds: bigint;
2076
2124
  };
2077
2125
  type CreateMarketInstructionDataArgs = {
2078
2126
  marketIndex: number | bigint;
@@ -2083,14 +2131,14 @@ type CreateMarketInstructionDataArgs = {
2083
2131
  authorizedReaderPubkey: Array<number>;
2084
2132
  allowClosingEarly: boolean;
2085
2133
  revealPeriodAuthority: Address;
2134
+ earlinessCutoffSeconds: number | bigint;
2086
2135
  };
2087
2136
  declare function getCreateMarketInstructionDataEncoder(): Encoder<CreateMarketInstructionDataArgs>;
2088
2137
  declare function getCreateMarketInstructionDataDecoder(): Decoder<CreateMarketInstructionData>;
2089
2138
  declare function getCreateMarketInstructionDataCodec(): Codec<CreateMarketInstructionDataArgs, CreateMarketInstructionData>;
2090
- type CreateMarketAsyncInput<TAccountCreator extends string = string, TAccountTokenMint extends string = string, TAccountCentralState extends string = string, TAccountMarket extends string = string, TAccountMarketTokenAta extends string = string, TAccountSystemProgram extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
2139
+ type CreateMarketAsyncInput<TAccountCreator extends string = string, TAccountTokenMint extends string = string, TAccountMarket extends string = string, TAccountMarketTokenAta extends string = string, TAccountSystemProgram extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
2091
2140
  creator: TransactionSigner<TAccountCreator>;
2092
2141
  tokenMint: Address<TAccountTokenMint>;
2093
- centralState?: Address<TAccountCentralState>;
2094
2142
  market?: Address<TAccountMarket>;
2095
2143
  /** ATA owned by market PDA, holds reward tokens */
2096
2144
  marketTokenAta?: Address<TAccountMarketTokenAta>;
@@ -2105,14 +2153,14 @@ type CreateMarketAsyncInput<TAccountCreator extends string = string, TAccountTok
2105
2153
  authorizedReaderPubkey: CreateMarketInstructionDataArgs['authorizedReaderPubkey'];
2106
2154
  allowClosingEarly: CreateMarketInstructionDataArgs['allowClosingEarly'];
2107
2155
  revealPeriodAuthority: CreateMarketInstructionDataArgs['revealPeriodAuthority'];
2156
+ earlinessCutoffSeconds: CreateMarketInstructionDataArgs['earlinessCutoffSeconds'];
2108
2157
  };
2109
- declare function getCreateMarketInstructionAsync<TAccountCreator extends string, TAccountTokenMint extends string, TAccountCentralState extends string, TAccountMarket extends string, TAccountMarketTokenAta extends string, TAccountSystemProgram extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CreateMarketAsyncInput<TAccountCreator, TAccountTokenMint, TAccountCentralState, TAccountMarket, TAccountMarketTokenAta, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram>, config?: {
2158
+ declare function getCreateMarketInstructionAsync<TAccountCreator extends string, TAccountTokenMint extends string, TAccountMarket extends string, TAccountMarketTokenAta extends string, TAccountSystemProgram extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CreateMarketAsyncInput<TAccountCreator, TAccountTokenMint, TAccountMarket, TAccountMarketTokenAta, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram>, config?: {
2110
2159
  programAddress?: TProgramAddress;
2111
- }): Promise<CreateMarketInstruction<TProgramAddress, TAccountCreator, TAccountTokenMint, TAccountCentralState, TAccountMarket, TAccountMarketTokenAta, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram>>;
2112
- type CreateMarketInput<TAccountCreator extends string = string, TAccountTokenMint extends string = string, TAccountCentralState extends string = string, TAccountMarket extends string = string, TAccountMarketTokenAta extends string = string, TAccountSystemProgram extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
2160
+ }): Promise<CreateMarketInstruction<TProgramAddress, TAccountCreator, TAccountTokenMint, TAccountMarket, TAccountMarketTokenAta, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram>>;
2161
+ type CreateMarketInput<TAccountCreator extends string = string, TAccountTokenMint extends string = string, TAccountMarket extends string = string, TAccountMarketTokenAta extends string = string, TAccountSystemProgram extends string = string, TAccountTokenProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
2113
2162
  creator: TransactionSigner<TAccountCreator>;
2114
2163
  tokenMint: Address<TAccountTokenMint>;
2115
- centralState: Address<TAccountCentralState>;
2116
2164
  market: Address<TAccountMarket>;
2117
2165
  /** ATA owned by market PDA, holds reward tokens */
2118
2166
  marketTokenAta: Address<TAccountMarketTokenAta>;
@@ -2127,22 +2175,22 @@ type CreateMarketInput<TAccountCreator extends string = string, TAccountTokenMin
2127
2175
  authorizedReaderPubkey: CreateMarketInstructionDataArgs['authorizedReaderPubkey'];
2128
2176
  allowClosingEarly: CreateMarketInstructionDataArgs['allowClosingEarly'];
2129
2177
  revealPeriodAuthority: CreateMarketInstructionDataArgs['revealPeriodAuthority'];
2178
+ earlinessCutoffSeconds: CreateMarketInstructionDataArgs['earlinessCutoffSeconds'];
2130
2179
  };
2131
- declare function getCreateMarketInstruction<TAccountCreator extends string, TAccountTokenMint extends string, TAccountCentralState extends string, TAccountMarket extends string, TAccountMarketTokenAta extends string, TAccountSystemProgram extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CreateMarketInput<TAccountCreator, TAccountTokenMint, TAccountCentralState, TAccountMarket, TAccountMarketTokenAta, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram>, config?: {
2180
+ declare function getCreateMarketInstruction<TAccountCreator extends string, TAccountTokenMint extends string, TAccountMarket extends string, TAccountMarketTokenAta extends string, TAccountSystemProgram extends string, TAccountTokenProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CreateMarketInput<TAccountCreator, TAccountTokenMint, TAccountMarket, TAccountMarketTokenAta, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram>, config?: {
2132
2181
  programAddress?: TProgramAddress;
2133
- }): CreateMarketInstruction<TProgramAddress, TAccountCreator, TAccountTokenMint, TAccountCentralState, TAccountMarket, TAccountMarketTokenAta, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram>;
2182
+ }): CreateMarketInstruction<TProgramAddress, TAccountCreator, TAccountTokenMint, TAccountMarket, TAccountMarketTokenAta, TAccountSystemProgram, TAccountTokenProgram, TAccountAssociatedTokenProgram>;
2134
2183
  type ParsedCreateMarketInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2135
2184
  programAddress: Address<TProgram>;
2136
2185
  accounts: {
2137
2186
  creator: TAccountMetas[0];
2138
2187
  tokenMint: TAccountMetas[1];
2139
- centralState: TAccountMetas[2];
2140
- market: TAccountMetas[3];
2188
+ market: TAccountMetas[2];
2141
2189
  /** ATA owned by market PDA, holds reward tokens */
2142
- marketTokenAta: TAccountMetas[4];
2143
- systemProgram: TAccountMetas[5];
2144
- tokenProgram: TAccountMetas[6];
2145
- associatedTokenProgram: TAccountMetas[7];
2190
+ marketTokenAta: TAccountMetas[3];
2191
+ systemProgram: TAccountMetas[4];
2192
+ tokenProgram: TAccountMetas[5];
2193
+ associatedTokenProgram: TAccountMetas[6];
2146
2194
  };
2147
2195
  data: CreateMarketInstructionData;
2148
2196
  };
@@ -2361,18 +2409,12 @@ type InitCentralStateInstruction<TProgram extends string = typeof OPPORTUNITY_MA
2361
2409
  ]>;
2362
2410
  type InitCentralStateInstructionData = {
2363
2411
  discriminator: ReadonlyUint8Array;
2364
- earlinessCutoffSeconds: bigint;
2365
- minOptionDeposit: bigint;
2366
2412
  protocolFeeBp: number;
2367
2413
  feeRecipient: Address;
2368
- minimumInitialRevealPeriod: bigint;
2369
2414
  };
2370
2415
  type InitCentralStateInstructionDataArgs = {
2371
- earlinessCutoffSeconds: number | bigint;
2372
- minOptionDeposit: number | bigint;
2373
2416
  protocolFeeBp: number;
2374
2417
  feeRecipient: Address;
2375
- minimumInitialRevealPeriod: number | bigint;
2376
2418
  };
2377
2419
  declare function getInitCentralStateInstructionDataEncoder(): FixedSizeEncoder<InitCentralStateInstructionDataArgs>;
2378
2420
  declare function getInitCentralStateInstructionDataDecoder(): FixedSizeDecoder<InitCentralStateInstructionData>;
@@ -2381,11 +2423,8 @@ type InitCentralStateAsyncInput<TAccountPayer extends string = string, TAccountC
2381
2423
  payer: TransactionSigner<TAccountPayer>;
2382
2424
  centralState?: Address<TAccountCentralState>;
2383
2425
  systemProgram?: Address<TAccountSystemProgram>;
2384
- earlinessCutoffSeconds: InitCentralStateInstructionDataArgs['earlinessCutoffSeconds'];
2385
- minOptionDeposit: InitCentralStateInstructionDataArgs['minOptionDeposit'];
2386
2426
  protocolFeeBp: InitCentralStateInstructionDataArgs['protocolFeeBp'];
2387
2427
  feeRecipient: InitCentralStateInstructionDataArgs['feeRecipient'];
2388
- minimumInitialRevealPeriod: InitCentralStateInstructionDataArgs['minimumInitialRevealPeriod'];
2389
2428
  };
2390
2429
  declare function getInitCentralStateInstructionAsync<TAccountPayer extends string, TAccountCentralState extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: InitCentralStateAsyncInput<TAccountPayer, TAccountCentralState, TAccountSystemProgram>, config?: {
2391
2430
  programAddress?: TProgramAddress;
@@ -2394,11 +2433,8 @@ type InitCentralStateInput<TAccountPayer extends string = string, TAccountCentra
2394
2433
  payer: TransactionSigner<TAccountPayer>;
2395
2434
  centralState: Address<TAccountCentralState>;
2396
2435
  systemProgram?: Address<TAccountSystemProgram>;
2397
- earlinessCutoffSeconds: InitCentralStateInstructionDataArgs['earlinessCutoffSeconds'];
2398
- minOptionDeposit: InitCentralStateInstructionDataArgs['minOptionDeposit'];
2399
2436
  protocolFeeBp: InitCentralStateInstructionDataArgs['protocolFeeBp'];
2400
2437
  feeRecipient: InitCentralStateInstructionDataArgs['feeRecipient'];
2401
- minimumInitialRevealPeriod: InitCentralStateInstructionDataArgs['minimumInitialRevealPeriod'];
2402
2438
  };
2403
2439
  declare function getInitCentralStateInstruction<TAccountPayer extends string, TAccountCentralState extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: InitCentralStateInput<TAccountPayer, TAccountCentralState, TAccountSystemProgram>, config?: {
2404
2440
  programAddress?: TProgramAddress;
@@ -2578,6 +2614,45 @@ type ParsedOpenMarketInstruction<TProgram extends string = typeof OPPORTUNITY_MA
2578
2614
  };
2579
2615
  declare function parseOpenMarketInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedOpenMarketInstruction<TProgram, TAccountMetas>;
2580
2616
 
2617
+ /**
2618
+ * This code was AUTOGENERATED using the Codama library.
2619
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2620
+ * to add features, then rerun Codama to update it.
2621
+ *
2622
+ * @see https://github.com/codama-idl/codama
2623
+ */
2624
+
2625
+ declare const PAUSE_MARKET_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2626
+ declare function getPauseMarketDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
2627
+ type PauseMarketInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2628
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
2629
+ TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
2630
+ ...TRemainingAccounts
2631
+ ]>;
2632
+ type PauseMarketInstructionData = {
2633
+ discriminator: ReadonlyUint8Array;
2634
+ };
2635
+ type PauseMarketInstructionDataArgs = {};
2636
+ declare function getPauseMarketInstructionDataEncoder(): FixedSizeEncoder<PauseMarketInstructionDataArgs>;
2637
+ declare function getPauseMarketInstructionDataDecoder(): FixedSizeDecoder<PauseMarketInstructionData>;
2638
+ declare function getPauseMarketInstructionDataCodec(): FixedSizeCodec<PauseMarketInstructionDataArgs, PauseMarketInstructionData>;
2639
+ type PauseMarketInput<TAccountAuthority extends string = string, TAccountMarket extends string = string> = {
2640
+ authority: TransactionSigner<TAccountAuthority>;
2641
+ market: Address<TAccountMarket>;
2642
+ };
2643
+ declare function getPauseMarketInstruction<TAccountAuthority extends string, TAccountMarket extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: PauseMarketInput<TAccountAuthority, TAccountMarket>, config?: {
2644
+ programAddress?: TProgramAddress;
2645
+ }): PauseMarketInstruction<TProgramAddress, TAccountAuthority, TAccountMarket>;
2646
+ type ParsedPauseMarketInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2647
+ programAddress: Address<TProgram>;
2648
+ accounts: {
2649
+ authority: TAccountMetas[0];
2650
+ market: TAccountMetas[1];
2651
+ };
2652
+ data: PauseMarketInstructionData;
2653
+ };
2654
+ declare function parsePauseMarketInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedPauseMarketInstruction<TProgram, TAccountMetas>;
2655
+
2581
2656
  /**
2582
2657
  * This code was AUTOGENERATED using the Codama library.
2583
2658
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -2663,6 +2738,45 @@ type ParsedReclaimStakeInstruction<TProgram extends string = typeof OPPORTUNITY_
2663
2738
  };
2664
2739
  declare function parseReclaimStakeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedReclaimStakeInstruction<TProgram, TAccountMetas>;
2665
2740
 
2741
+ /**
2742
+ * This code was AUTOGENERATED using the Codama library.
2743
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2744
+ * to add features, then rerun Codama to update it.
2745
+ *
2746
+ * @see https://github.com/codama-idl/codama
2747
+ */
2748
+
2749
+ declare const RESUME_MARKET_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2750
+ declare function getResumeMarketDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
2751
+ type ResumeMarketInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2752
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
2753
+ TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
2754
+ ...TRemainingAccounts
2755
+ ]>;
2756
+ type ResumeMarketInstructionData = {
2757
+ discriminator: ReadonlyUint8Array;
2758
+ };
2759
+ type ResumeMarketInstructionDataArgs = {};
2760
+ declare function getResumeMarketInstructionDataEncoder(): FixedSizeEncoder<ResumeMarketInstructionDataArgs>;
2761
+ declare function getResumeMarketInstructionDataDecoder(): FixedSizeDecoder<ResumeMarketInstructionData>;
2762
+ declare function getResumeMarketInstructionDataCodec(): FixedSizeCodec<ResumeMarketInstructionDataArgs, ResumeMarketInstructionData>;
2763
+ type ResumeMarketInput<TAccountAuthority extends string = string, TAccountMarket extends string = string> = {
2764
+ authority: TransactionSigner<TAccountAuthority>;
2765
+ market: Address<TAccountMarket>;
2766
+ };
2767
+ declare function getResumeMarketInstruction<TAccountAuthority extends string, TAccountMarket extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ResumeMarketInput<TAccountAuthority, TAccountMarket>, config?: {
2768
+ programAddress?: TProgramAddress;
2769
+ }): ResumeMarketInstruction<TProgramAddress, TAccountAuthority, TAccountMarket>;
2770
+ type ParsedResumeMarketInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2771
+ programAddress: Address<TProgram>;
2772
+ accounts: {
2773
+ authority: TAccountMetas[0];
2774
+ market: TAccountMetas[1];
2775
+ };
2776
+ data: ResumeMarketInstructionData;
2777
+ };
2778
+ declare function parseResumeMarketInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedResumeMarketInstruction<TProgram, TAccountMetas>;
2779
+
2666
2780
  /**
2667
2781
  * This code was AUTOGENERATED using the Codama library.
2668
2782
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -3358,18 +3472,12 @@ type UpdateCentralStateInstruction<TProgram extends string = typeof OPPORTUNITY_
3358
3472
  ]>;
3359
3473
  type UpdateCentralStateInstructionData = {
3360
3474
  discriminator: ReadonlyUint8Array;
3361
- earlinessCutoffSeconds: bigint;
3362
- minOptionDeposit: bigint;
3363
3475
  protocolFeeBp: number;
3364
3476
  feeRecipient: Address;
3365
- minimumInitialRevealPeriod: bigint;
3366
3477
  };
3367
3478
  type UpdateCentralStateInstructionDataArgs = {
3368
- earlinessCutoffSeconds: number | bigint;
3369
- minOptionDeposit: number | bigint;
3370
3479
  protocolFeeBp: number;
3371
3480
  feeRecipient: Address;
3372
- minimumInitialRevealPeriod: number | bigint;
3373
3481
  };
3374
3482
  declare function getUpdateCentralStateInstructionDataEncoder(): FixedSizeEncoder<UpdateCentralStateInstructionDataArgs>;
3375
3483
  declare function getUpdateCentralStateInstructionDataDecoder(): FixedSizeDecoder<UpdateCentralStateInstructionData>;
@@ -3377,11 +3485,8 @@ declare function getUpdateCentralStateInstructionDataCodec(): FixedSizeCodec<Upd
3377
3485
  type UpdateCentralStateAsyncInput<TAccountAuthority extends string = string, TAccountCentralState extends string = string> = {
3378
3486
  authority: TransactionSigner<TAccountAuthority>;
3379
3487
  centralState?: Address<TAccountCentralState>;
3380
- earlinessCutoffSeconds: UpdateCentralStateInstructionDataArgs['earlinessCutoffSeconds'];
3381
- minOptionDeposit: UpdateCentralStateInstructionDataArgs['minOptionDeposit'];
3382
3488
  protocolFeeBp: UpdateCentralStateInstructionDataArgs['protocolFeeBp'];
3383
3489
  feeRecipient: UpdateCentralStateInstructionDataArgs['feeRecipient'];
3384
- minimumInitialRevealPeriod: UpdateCentralStateInstructionDataArgs['minimumInitialRevealPeriod'];
3385
3490
  };
3386
3491
  declare function getUpdateCentralStateInstructionAsync<TAccountAuthority extends string, TAccountCentralState extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: UpdateCentralStateAsyncInput<TAccountAuthority, TAccountCentralState>, config?: {
3387
3492
  programAddress?: TProgramAddress;
@@ -3389,11 +3494,8 @@ declare function getUpdateCentralStateInstructionAsync<TAccountAuthority extends
3389
3494
  type UpdateCentralStateInput<TAccountAuthority extends string = string, TAccountCentralState extends string = string> = {
3390
3495
  authority: TransactionSigner<TAccountAuthority>;
3391
3496
  centralState: Address<TAccountCentralState>;
3392
- earlinessCutoffSeconds: UpdateCentralStateInstructionDataArgs['earlinessCutoffSeconds'];
3393
- minOptionDeposit: UpdateCentralStateInstructionDataArgs['minOptionDeposit'];
3394
3497
  protocolFeeBp: UpdateCentralStateInstructionDataArgs['protocolFeeBp'];
3395
3498
  feeRecipient: UpdateCentralStateInstructionDataArgs['feeRecipient'];
3396
- minimumInitialRevealPeriod: UpdateCentralStateInstructionDataArgs['minimumInitialRevealPeriod'];
3397
3499
  };
3398
3500
  declare function getUpdateCentralStateInstruction<TAccountAuthority extends string, TAccountCentralState extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: UpdateCentralStateInput<TAccountAuthority, TAccountCentralState>, config?: {
3399
3501
  programAddress?: TProgramAddress;
@@ -3523,6 +3625,7 @@ interface CreateMarketParams extends BaseInstructionParams {
3523
3625
  authorizedReaderPubkey: ByteArray;
3524
3626
  allowClosingEarly: boolean;
3525
3627
  revealPeriodAuthority: Address;
3628
+ earlinessCutoffSeconds: bigint;
3526
3629
  }
3527
3630
  declare function createMarket(input: CreateMarketParams): Promise<CreateMarketInstruction<string>>;
3528
3631
 
@@ -3582,6 +3685,18 @@ interface OpenMarketParams extends BaseInstructionParams {
3582
3685
  }
3583
3686
  declare function openMarket(input: OpenMarketParams): OpenMarketInstruction<string>;
3584
3687
 
3688
+ interface PauseMarketParams extends BaseInstructionParams {
3689
+ authority: TransactionSigner;
3690
+ market: Address;
3691
+ }
3692
+ declare function pauseMarket(input: PauseMarketParams): PauseMarketInstruction<string>;
3693
+
3694
+ interface ResumeMarketParams extends BaseInstructionParams {
3695
+ authority: TransactionSigner;
3696
+ market: Address;
3697
+ }
3698
+ declare function resumeMarket(input: ResumeMarketParams): ResumeMarketInstruction<string>;
3699
+
3585
3700
  interface SelectWinningOptionsParams extends BaseInstructionParams {
3586
3701
  authority: TransactionSigner;
3587
3702
  market: Address;
@@ -3677,11 +3792,8 @@ declare function doUnstakeEarly(input: DoUnstakeEarlyParams): Promise<DoUnstakeE
3677
3792
 
3678
3793
  interface EnsureCentralStateParams extends BaseInstructionParams {
3679
3794
  signer: TransactionSigner;
3680
- earlinessCutoffSeconds: bigint | number;
3681
- minOptionDeposit: bigint | number;
3682
3795
  protocolFeeBp: number;
3683
3796
  feeRecipient: Address;
3684
- minimumInitialRevealPeriod: bigint | number;
3685
3797
  }
3686
3798
  declare function ensureCentralState(rpc: Parameters<typeof fetchMaybeCentralState>[0], params: EnsureCentralStateParams): Promise<Instruction | null>;
3687
3799
 
@@ -3760,4 +3872,4 @@ declare function deriveSharedSecret(userSecretKey: Uint8Array, mxePublicKey: Uin
3760
3872
  declare function createCipher(userSecretKey: Uint8Array, mxePublicKey: Uint8Array): RescueCipher;
3761
3873
  declare function nonceToBytes(nonce: bigint): Uint8Array;
3762
3874
 
3763
- export { ADD_MARKET_OPTION_DISCRIMINATOR, ADD_REWARD_DISCRIMINATOR, ALL_COMP_DEF_CIRCUITS, ARCIUM_SIGNER_ACCOUNT_DISCRIMINATOR, type Activation, type ActivationArgs, type AddMarketOptionAsyncInput, type AddMarketOptionInput, type AddMarketOptionInstruction, type AddMarketOptionInstructionData, type AddMarketOptionInstructionDataArgs, type AddMarketOptionParams, type AddRewardAsyncInput, type AddRewardInput, type AddRewardInstruction, type AddRewardInstructionData, type AddRewardInstructionDataArgs, type AddRewardParams, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, type BaseInstructionParams, type ByteArray, CENTRAL_STATE_DISCRIMINATOR, CENTRAL_STATE_SEED, CLAIM_FEES_DISCRIMINATOR, CLOCK_ACCOUNT_DISCRIMINATOR, CLOSE_STAKE_ACCOUNT_DISCRIMINATOR, CLOSE_STUCK_STAKE_ACCOUNT_DISCRIMINATOR, CLUSTER_DISCRIMINATOR, COMPUTATION_DEFINITION_ACCOUNT_DISCRIMINATOR, CREATE_MARKET_DISCRIMINATOR, type CentralState, type CentralStateArgs, type CircuitSource, type CircuitSourceArgs, type ClaimFeesAsyncInput, type ClaimFeesInput, type ClaimFeesInstruction, type ClaimFeesInstructionData, type ClaimFeesInstructionDataArgs, type ClockAccount, type ClockAccountArgs, type CloseStakeAccountAsyncInput, type CloseStakeAccountInput, type CloseStakeAccountInstruction, type CloseStakeAccountInstructionData, type CloseStakeAccountInstructionDataArgs, type CloseStakeAccountParams, type CloseStuckStakeAccountAsyncInput, type CloseStuckStakeAccountInput, type CloseStuckStakeAccountInstruction, type CloseStuckStakeAccountInstructionData, type CloseStuckStakeAccountInstructionDataArgs, type CloseStuckStakeAccountParams, type Cluster, type ClusterArgs, type CompDefCircuitName, type ComputationDefinitionAccount, type ComputationDefinitionAccountArgs, type ComputationDefinitionMeta, type ComputationDefinitionMetaArgs, type ComputationResult, type ComputationSignature, type ComputationSignatureArgs, type CreateMarketAsyncInput, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketParams, DO_UNSTAKE_EARLY_DISCRIMINATOR, type DoUnstakeEarlyAsyncInput, type DoUnstakeEarlyInput, type DoUnstakeEarlyInstruction, type DoUnstakeEarlyInstructionData, type DoUnstakeEarlyInstructionDataArgs, type DoUnstakeEarlyParams, END_REVEAL_PERIOD_DISCRIMINATOR, type EndRevealPeriodInput, type EndRevealPeriodInstruction, type EndRevealPeriodInstructionData, type EndRevealPeriodInstructionDataArgs, type EndRevealPeriodParams, type EnsureCentralStateParams, type Epoch, type EpochArgs, FEE_POOL_DISCRIMINATOR, type FeePool, type FeePoolArgs, type FeesClaimedEvent, type FeesClaimedEventArgs, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_STAKE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncrementOptionTallyAsyncInput, type IncrementOptionTallyInput, type IncrementOptionTallyInstruction, type IncrementOptionTallyInstructionData, type IncrementOptionTallyInstructionDataArgs, type IncrementOptionTallyParams, type InitCentralStateAsyncInput, type InitCentralStateInput, type InitCentralStateInstruction, type InitCentralStateInstructionData, type InitCentralStateInstructionDataArgs, type InitCompDefConfig, type InitStakeAccountAsyncInput, type InitStakeAccountInput, type InitStakeAccountInstruction, type InitStakeAccountInstructionData, type InitStakeAccountInstructionDataArgs, type InitStakeAccountParams, type InitTokenVaultAsyncInput, type InitTokenVaultInput, type InitTokenVaultInstruction, type InitTokenVaultInstructionData, type InitTokenVaultInstructionDataArgs, type InitTokenVaultParams, LocalCircuitSource, type LocalCircuitSourceArgs, type MXEAccount, type MXEAccountArgs, M_X_E_ACCOUNT_DISCRIMINATOR, type MarketCreatedEvent, type MarketCreatedEventArgs, type MarketOpenedEvent, type MarketOpenedEventArgs, type MarketOptionCreatedEvent, type MarketOptionCreatedEventArgs, MxeStatus, type MxeStatusArgs, type NodeMetadata, type NodeMetadataArgs, type NodeRef, type NodeRefArgs, OPEN_MARKET_DISCRIMINATOR, OPPORTUNITY_MARKET_DISCRIMINATOR, OPPORTUNITY_MARKET_ERROR__ABORTED_COMPUTATION, OPPORTUNITY_MARKET_ERROR__ADD_OPTION_STAKE_FAILED, OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED, OPPORTUNITY_MARKET_ERROR__ALREADY_STAKED, OPPORTUNITY_MARKET_ERROR__ALREADY_UNSTAKED, OPPORTUNITY_MARKET_ERROR__CLOSING_EARLY_NOT_ALLOWED, OPPORTUNITY_MARKET_ERROR__CLUSTER_NOT_SET, OPPORTUNITY_MARKET_ERROR__DEPOSIT_BELOW_MINIMUM, OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_BALANCE, OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_REWARD_FUNDING, OPPORTUNITY_MARKET_ERROR__INVALID_ACCOUNT_STATE, OPPORTUNITY_MARKET_ERROR__INVALID_MINT, OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID, OPPORTUNITY_MARKET_ERROR__INVALID_TIMESTAMP, OPPORTUNITY_MARKET_ERROR__INVALID_WINNING_OPTIONS_INPUT, OPPORTUNITY_MARKET_ERROR__LOCKED, OPPORTUNITY_MARKET_ERROR__MARKET_ALREADY_OPEN, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_OPEN, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_RESOLVED, OPPORTUNITY_MARKET_ERROR__NOT_REVEALED, OPPORTUNITY_MARKET_ERROR__NO_FEES_TO_CLAIM, OPPORTUNITY_MARKET_ERROR__OVERFLOW, OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED, OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK, OPPORTUNITY_MARKET_ERROR__STAKING_NOT_ACTIVE, OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED, OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED, OPPORTUNITY_MARKET_ERROR__UNSTAKE_DELAY_NOT_MET, OPPORTUNITY_MARKET_ERROR__UNSTAKE_NOT_INITIATED, OPPORTUNITY_MARKET_ERROR__WINNER_ALREADY_SELECTED, OPPORTUNITY_MARKET_OPTION_DISCRIMINATOR, OPPORTUNITY_MARKET_OPTION_SEED, OPPORTUNITY_MARKET_PROGRAM_ADDRESS, OPPORTUNITY_MARKET_SEED, OPPORTUNITY_MARKET_SPONSOR_DISCRIMINATOR, type OffChainCircuitSource, type OffChainCircuitSourceArgs, type OnChainCircuitSource, type OnChainCircuitSourceArgs, type OpenMarketInput, type OpenMarketInstruction, type OpenMarketInstructionData, type OpenMarketInstructionDataArgs, type OpenMarketParams, type OpportunityMarket, OpportunityMarketAccount, type OpportunityMarketArgs, type OpportunityMarketError, OpportunityMarketInstruction, type OpportunityMarketOption, type OpportunityMarketOptionArgs, type OpportunityMarketSponsor, type OpportunityMarketSponsorArgs, Output, type OutputArgs, Parameter, type ParameterArgs, type ParsedAddMarketOptionInstruction, type ParsedAddRewardInstruction, type ParsedClaimFeesInstruction, type ParsedCloseStakeAccountInstruction, type ParsedCloseStuckStakeAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedEndRevealPeriodInstruction, type ParsedIncrementOptionTallyInstruction, type ParsedInitCentralStateInstruction, type ParsedInitStakeAccountInstruction, type ParsedInitTokenVaultInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedReclaimStakeInstruction, type ParsedRevealStakeCallbackInstruction, type ParsedRevealStakeCompDefInstruction, type ParsedRevealStakeInstruction, type ParsedSelectWinningOptionsInstruction, type ParsedStakeCallbackInstruction, type ParsedStakeCompDefInstruction, type ParsedStakeInstruction, type ParsedTransferCentralStateAuthorityInstruction, type ParsedUnstakeEarlyInstruction, type ParsedUpdateCentralStateInstruction, type ParsedWithdrawRewardInstruction, RECLAIM_STAKE_DISCRIMINATOR, REVEAL_STAKE_CALLBACK_DISCRIMINATOR, REVEAL_STAKE_COMP_DEF_DISCRIMINATOR, REVEAL_STAKE_DISCRIMINATOR, type ReclaimStakeAsyncInput, type ReclaimStakeInput, type ReclaimStakeInstruction, type ReclaimStakeInstructionData, type ReclaimStakeInstructionDataArgs, type ReclaimStakeParams, type RevealPeriodExtendedEvent, type RevealPeriodExtendedEventArgs, type RevealStakeAsyncInput, type RevealStakeCallbackInput, type RevealStakeCallbackInstruction, type RevealStakeCallbackInstructionData, type RevealStakeCallbackInstructionDataArgs, type RevealStakeCompDefInput, type RevealStakeCompDefInstruction, type RevealStakeCompDefInstructionData, type RevealStakeCompDefInstructionDataArgs, type RevealStakeInput, type RevealStakeInstruction, type RevealStakeInstructionData, type RevealStakeInstructionDataArgs, type RevealStakeOutput, type RevealStakeOutputArgs, type RevealStakeParams, type RewardAddedEvent, type RewardAddedEventArgs, type RewardClaimedEvent, type RewardClaimedEventArgs, type RewardWithdrawnEvent, type RewardWithdrawnEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, SPONSOR_SEED, STAKE_ACCOUNT_DISCRIMINATOR, STAKE_ACCOUNT_SEED, STAKE_CALLBACK_DISCRIMINATOR, STAKE_COMP_DEF_DISCRIMINATOR, STAKE_DISCRIMINATOR, type SelectWinningOptionsInput, type SelectWinningOptionsInstruction, type SelectWinningOptionsInstructionData, type SelectWinningOptionsInstructionDataArgs, type SelectWinningOptionsParams, type StakeAccount, type StakeAccountArgs, type StakeAccountInitializedEvent, type StakeAccountInitializedEventArgs, type StakeAsyncInput, type StakeCallbackInput, type StakeCallbackInstruction, type StakeCallbackInstructionData, type StakeCallbackInstructionDataArgs, type StakeCompDefInput, type StakeCompDefInstruction, type StakeCompDefInstructionData, type StakeCompDefInstructionDataArgs, type StakeInput, type StakeInstruction, type StakeInstructionData, type StakeInstructionDataArgs, type StakeOutput, type StakeOutputArgs, type StakeOutputStruct0, type StakeOutputStruct0Args, type StakeParams, type StakeReclaimedEvent, type StakeReclaimedEventArgs, type StakeRevealedEvent, type StakeRevealedEventArgs, type StakedEvent, type StakedEventArgs, type StuckStakeClosedEvent, type StuckStakeClosedEventArgs, TOKEN_VAULT_DISCRIMINATOR, TOKEN_VAULT_SEED, TRANSFER_CENTRAL_STATE_AUTHORITY_DISCRIMINATOR, type TallyIncrementedEvent, type TallyIncrementedEventArgs, type Timestamp, type TimestampArgs, type TokenVault, type TokenVaultArgs, type TransferCentralStateAuthorityAsyncInput, type TransferCentralStateAuthorityInput, type TransferCentralStateAuthorityInstruction, type TransferCentralStateAuthorityInstructionData, type TransferCentralStateAuthorityInstructionDataArgs, UNSTAKE_EARLY_DISCRIMINATOR, UPDATE_CENTRAL_STATE_DISCRIMINATOR, type UnstakeEarlyAsyncInput, type UnstakeEarlyInput, type UnstakeEarlyInstruction, type UnstakeEarlyInstructionData, type UnstakeEarlyInstructionDataArgs, type UnstakeEarlyParams, type UnstakeInitiatedEvent, type UnstakeInitiatedEventArgs, type UnstakedEvent, type UnstakedEventArgs, type UpdateCentralStateAsyncInput, type UpdateCentralStateInput, type UpdateCentralStateInstruction, type UpdateCentralStateInstructionData, type UpdateCentralStateInstructionDataArgs, type UtilityPubkeys, type UtilityPubkeysArgs, WITHDRAW_REWARD_DISCRIMINATOR, type WinningOption, type WinningOptionArgs, type WinningOptionsSelectedEvent, type WinningOptionsSelectedEventArgs, type WithdrawRewardAsyncInput, type WithdrawRewardInput, type WithdrawRewardInstruction, type WithdrawRewardInstructionData, type WithdrawRewardInstructionDataArgs, type WithdrawRewardParams, type X25519Keypair, addMarketOption, addReward, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeStakeAccount, closeStuckStakeAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeOpportunityMarketSponsor, decodeStakeAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, endRevealPeriod, ensureCentralState, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeOpportunityMarketSponsor, fetchAllMaybeStakeAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllOpportunityMarketSponsor, fetchAllStakeAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeOpportunityMarketSponsor, fetchMaybeStakeAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchOpportunityMarketSponsor, fetchStakeAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddRewardDiscriminatorBytes, getAddRewardInstruction, getAddRewardInstructionAsync, getAddRewardInstructionDataCodec, getAddRewardInstructionDataDecoder, getAddRewardInstructionDataEncoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getCentralStateAddress, getCentralStateCodec, getCentralStateDecoder, getCentralStateDiscriminatorBytes, getCentralStateEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountDiscriminatorBytes, getClockAccountEncoder, getCloseStakeAccountDiscriminatorBytes, getCloseStakeAccountInstruction, getCloseStakeAccountInstructionAsync, getCloseStakeAccountInstructionDataCodec, getCloseStakeAccountInstructionDataDecoder, getCloseStakeAccountInstructionDataEncoder, getCloseStuckStakeAccountDiscriminatorBytes, getCloseStuckStakeAccountInstruction, getCloseStuckStakeAccountInstructionAsync, getCloseStuckStakeAccountInstructionDataCodec, getCloseStuckStakeAccountInstructionDataDecoder, getCloseStuckStakeAccountInstructionDataEncoder, getClusterCodec, getClusterDecoder, getClusterDiscriminatorBytes, getClusterEncoder, getCompDefAccount, getCompDefOffsetNumber, getComputationDefinitionAccountCodec, getComputationDefinitionAccountDecoder, getComputationDefinitionAccountDiscriminatorBytes, getComputationDefinitionAccountEncoder, getComputationDefinitionMetaCodec, getComputationDefinitionMetaDecoder, getComputationDefinitionMetaEncoder, getComputationSignatureCodec, getComputationSignatureDecoder, getComputationSignatureEncoder, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionAsync, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getDoUnstakeEarlyDiscriminatorBytes, getDoUnstakeEarlyInstruction, getDoUnstakeEarlyInstructionAsync, getDoUnstakeEarlyInstructionDataCodec, getDoUnstakeEarlyInstructionDataDecoder, getDoUnstakeEarlyInstructionDataEncoder, getEndRevealPeriodDiscriminatorBytes, getEndRevealPeriodInstruction, getEndRevealPeriodInstructionDataCodec, getEndRevealPeriodInstructionDataDecoder, getEndRevealPeriodInstructionDataEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getIncrementOptionTallyDiscriminatorBytes, getIncrementOptionTallyInstruction, getIncrementOptionTallyInstructionAsync, getIncrementOptionTallyInstructionDataCodec, getIncrementOptionTallyInstructionDataDecoder, getIncrementOptionTallyInstructionDataEncoder, getInitCentralStateDiscriminatorBytes, getInitCentralStateInstruction, getInitCentralStateInstructionAsync, getInitCentralStateInstructionDataCodec, getInitCentralStateInstructionDataDecoder, getInitCentralStateInstructionDataEncoder, getInitCompDefInstruction, getInitStakeAccountDiscriminatorBytes, getInitStakeAccountInstruction, getInitStakeAccountInstructionAsync, getInitStakeAccountInstructionDataCodec, getInitStakeAccountInstructionDataDecoder, getInitStakeAccountInstructionDataEncoder, getInitTokenVaultDiscriminatorBytes, getInitTokenVaultInstruction, getInitTokenVaultInstructionAsync, getInitTokenVaultInstructionDataCodec, getInitTokenVaultInstructionDataDecoder, getInitTokenVaultInstructionDataEncoder, getLocalCircuitSourceCodec, getLocalCircuitSourceDecoder, getLocalCircuitSourceEncoder, getMXEAccountCodec, getMXEAccountDecoder, getMXEAccountDiscriminatorBytes, getMXEAccountEncoder, getMarketCreatedEventCodec, getMarketCreatedEventDecoder, getMarketCreatedEventEncoder, getMarketOpenedEventCodec, getMarketOpenedEventDecoder, getMarketOpenedEventEncoder, getMarketOptionCreatedEventCodec, getMarketOptionCreatedEventDecoder, getMarketOptionCreatedEventEncoder, getMxeAccount, getMxeStatusCodec, getMxeStatusDecoder, getMxeStatusEncoder, getNodeMetadataCodec, getNodeMetadataDecoder, getNodeMetadataEncoder, getNodeRefCodec, getNodeRefDecoder, getNodeRefEncoder, getOffChainCircuitSourceCodec, getOffChainCircuitSourceDecoder, getOffChainCircuitSourceEncoder, getOnChainCircuitSourceCodec, getOnChainCircuitSourceDecoder, getOnChainCircuitSourceEncoder, getOpenMarketDiscriminatorBytes, getOpenMarketInstruction, getOpenMarketInstructionDataCodec, getOpenMarketInstructionDataDecoder, getOpenMarketInstructionDataEncoder, getOpportunityMarketAddress, getOpportunityMarketCodec, getOpportunityMarketDecoder, getOpportunityMarketDiscriminatorBytes, getOpportunityMarketEncoder, getOpportunityMarketErrorMessage, getOpportunityMarketOptionAddress, getOpportunityMarketOptionCodec, getOpportunityMarketOptionDecoder, getOpportunityMarketOptionDiscriminatorBytes, getOpportunityMarketOptionEncoder, getOpportunityMarketSponsorAddress, getOpportunityMarketSponsorCodec, getOpportunityMarketSponsorDecoder, getOpportunityMarketSponsorDiscriminatorBytes, getOpportunityMarketSponsorEncoder, getOutputCodec, getOutputDecoder, getOutputEncoder, getParameterCodec, getParameterDecoder, getParameterEncoder, getReclaimStakeDiscriminatorBytes, getReclaimStakeInstruction, getReclaimStakeInstructionAsync, getReclaimStakeInstructionDataCodec, getReclaimStakeInstructionDataDecoder, getReclaimStakeInstructionDataEncoder, getRevealPeriodExtendedEventCodec, getRevealPeriodExtendedEventDecoder, getRevealPeriodExtendedEventEncoder, getRevealStakeCallbackDiscriminatorBytes, getRevealStakeCallbackInstruction, getRevealStakeCallbackInstructionDataCodec, getRevealStakeCallbackInstructionDataDecoder, getRevealStakeCallbackInstructionDataEncoder, getRevealStakeCompDefDiscriminatorBytes, getRevealStakeCompDefInstruction, getRevealStakeCompDefInstructionDataCodec, getRevealStakeCompDefInstructionDataDecoder, getRevealStakeCompDefInstructionDataEncoder, getRevealStakeDiscriminatorBytes, getRevealStakeInstruction, getRevealStakeInstructionAsync, getRevealStakeInstructionDataCodec, getRevealStakeInstructionDataDecoder, getRevealStakeInstructionDataEncoder, getRevealStakeOutputCodec, getRevealStakeOutputDecoder, getRevealStakeOutputEncoder, getRewardAddedEventCodec, getRewardAddedEventDecoder, getRewardAddedEventEncoder, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getRewardWithdrawnEventCodec, getRewardWithdrawnEventDecoder, getRewardWithdrawnEventEncoder, getSelectWinningOptionsDiscriminatorBytes, getSelectWinningOptionsInstruction, getSelectWinningOptionsInstructionDataCodec, getSelectWinningOptionsInstructionDataDecoder, getSelectWinningOptionsInstructionDataEncoder, getStakeAccountAddress, getStakeAccountCodec, getStakeAccountDecoder, getStakeAccountDiscriminatorBytes, getStakeAccountEncoder, getStakeAccountInitializedEventCodec, getStakeAccountInitializedEventDecoder, getStakeAccountInitializedEventEncoder, getStakeCallbackDiscriminatorBytes, getStakeCallbackInstruction, getStakeCallbackInstructionDataCodec, getStakeCallbackInstructionDataDecoder, getStakeCallbackInstructionDataEncoder, getStakeCompDefDiscriminatorBytes, getStakeCompDefInstruction, getStakeCompDefInstructionDataCodec, getStakeCompDefInstructionDataDecoder, getStakeCompDefInstructionDataEncoder, getStakeDiscriminatorBytes, getStakeInstruction, getStakeInstructionAsync, getStakeInstructionDataCodec, getStakeInstructionDataDecoder, getStakeInstructionDataEncoder, getStakeOutputCodec, getStakeOutputDecoder, getStakeOutputEncoder, getStakeOutputStruct0Codec, getStakeOutputStruct0Decoder, getStakeOutputStruct0Encoder, getStakeReclaimedEventCodec, getStakeReclaimedEventDecoder, getStakeReclaimedEventEncoder, getStakeRevealedEventCodec, getStakeRevealedEventDecoder, getStakeRevealedEventEncoder, getStakedEventCodec, getStakedEventDecoder, getStakedEventEncoder, getStuckStakeClosedEventCodec, getStuckStakeClosedEventDecoder, getStuckStakeClosedEventEncoder, getTallyIncrementedEventCodec, getTallyIncrementedEventDecoder, getTallyIncrementedEventEncoder, getTimestampCodec, getTimestampDecoder, getTimestampEncoder, getTokenVaultAddress, getTokenVaultCodec, getTokenVaultDecoder, getTokenVaultDiscriminatorBytes, getTokenVaultEncoder, getTransferCentralStateAuthorityDiscriminatorBytes, getTransferCentralStateAuthorityInstruction, getTransferCentralStateAuthorityInstructionAsync, getTransferCentralStateAuthorityInstructionDataCodec, getTransferCentralStateAuthorityInstructionDataDecoder, getTransferCentralStateAuthorityInstructionDataEncoder, getUnstakeEarlyDiscriminatorBytes, getUnstakeEarlyInstruction, getUnstakeEarlyInstructionAsync, getUnstakeEarlyInstructionDataCodec, getUnstakeEarlyInstructionDataDecoder, getUnstakeEarlyInstructionDataEncoder, getUnstakeInitiatedEventCodec, getUnstakeInitiatedEventDecoder, getUnstakeInitiatedEventEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUpdateCentralStateDiscriminatorBytes, getUpdateCentralStateInstruction, getUpdateCentralStateInstructionAsync, getUpdateCentralStateInstructionDataCodec, getUpdateCentralStateInstructionDataDecoder, getUpdateCentralStateInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionCodec, getWinningOptionDecoder, getWinningOptionEncoder, getWinningOptionsSelectedEventCodec, getWinningOptionsSelectedEventDecoder, getWinningOptionsSelectedEventEncoder, getWithdrawRewardDiscriminatorBytes, getWithdrawRewardInstruction, getWithdrawRewardInstructionAsync, getWithdrawRewardInstructionDataCodec, getWithdrawRewardInstructionDataDecoder, getWithdrawRewardInstructionDataEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, incrementOptionTally, initStakeAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionInstruction, parseAddRewardInstruction, parseClaimFeesInstruction, parseCloseStakeAccountInstruction, parseCloseStuckStakeAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseEndRevealPeriodInstruction, parseIncrementOptionTallyInstruction, parseInitCentralStateInstruction, parseInitStakeAccountInstruction, parseInitTokenVaultInstruction, parseOpenMarketInstruction, parseReclaimStakeInstruction, parseRevealStakeCallbackInstruction, parseRevealStakeCompDefInstruction, parseRevealStakeInstruction, parseSelectWinningOptionsInstruction, parseStakeCallbackInstruction, parseStakeCompDefInstruction, parseStakeInstruction, parseTransferCentralStateAuthorityInstruction, parseUnstakeEarlyInstruction, parseUpdateCentralStateInstruction, parseWithdrawRewardInstruction, randomComputationOffset, randomStateNonce, reclaimStake, revealStake, selectWinningOptions, stake, toNumberArray, unstakeEarly, withdrawReward };
3875
+ export { ADD_MARKET_OPTION_DISCRIMINATOR, ADD_REWARD_DISCRIMINATOR, ALL_COMP_DEF_CIRCUITS, ARCIUM_SIGNER_ACCOUNT_DISCRIMINATOR, type Activation, type ActivationArgs, type AddMarketOptionAsyncInput, type AddMarketOptionInput, type AddMarketOptionInstruction, type AddMarketOptionInstructionData, type AddMarketOptionInstructionDataArgs, type AddMarketOptionParams, type AddRewardAsyncInput, type AddRewardInput, type AddRewardInstruction, type AddRewardInstructionData, type AddRewardInstructionDataArgs, type AddRewardParams, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, type BaseInstructionParams, type ByteArray, CENTRAL_STATE_DISCRIMINATOR, CENTRAL_STATE_SEED, CLAIM_FEES_DISCRIMINATOR, CLOCK_ACCOUNT_DISCRIMINATOR, CLOSE_STAKE_ACCOUNT_DISCRIMINATOR, CLOSE_STUCK_STAKE_ACCOUNT_DISCRIMINATOR, CLUSTER_DISCRIMINATOR, COMPUTATION_DEFINITION_ACCOUNT_DISCRIMINATOR, CREATE_MARKET_DISCRIMINATOR, type CentralState, type CentralStateArgs, type CircuitSource, type CircuitSourceArgs, type ClaimFeesAsyncInput, type ClaimFeesInput, type ClaimFeesInstruction, type ClaimFeesInstructionData, type ClaimFeesInstructionDataArgs, type ClockAccount, type ClockAccountArgs, type CloseStakeAccountAsyncInput, type CloseStakeAccountInput, type CloseStakeAccountInstruction, type CloseStakeAccountInstructionData, type CloseStakeAccountInstructionDataArgs, type CloseStakeAccountParams, type CloseStuckStakeAccountAsyncInput, type CloseStuckStakeAccountInput, type CloseStuckStakeAccountInstruction, type CloseStuckStakeAccountInstructionData, type CloseStuckStakeAccountInstructionDataArgs, type CloseStuckStakeAccountParams, type Cluster, type ClusterArgs, type CompDefCircuitName, type ComputationDefinitionAccount, type ComputationDefinitionAccountArgs, type ComputationDefinitionMeta, type ComputationDefinitionMetaArgs, type ComputationResult, type ComputationSignature, type ComputationSignatureArgs, type CreateMarketAsyncInput, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketParams, DO_UNSTAKE_EARLY_DISCRIMINATOR, type DoUnstakeEarlyAsyncInput, type DoUnstakeEarlyInput, type DoUnstakeEarlyInstruction, type DoUnstakeEarlyInstructionData, type DoUnstakeEarlyInstructionDataArgs, type DoUnstakeEarlyParams, END_REVEAL_PERIOD_DISCRIMINATOR, type EndRevealPeriodInput, type EndRevealPeriodInstruction, type EndRevealPeriodInstructionData, type EndRevealPeriodInstructionDataArgs, type EndRevealPeriodParams, type EnsureCentralStateParams, type Epoch, type EpochArgs, FEE_POOL_DISCRIMINATOR, type FeePool, type FeePoolArgs, type FeesClaimedEvent, type FeesClaimedEventArgs, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_STAKE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncrementOptionTallyAsyncInput, type IncrementOptionTallyInput, type IncrementOptionTallyInstruction, type IncrementOptionTallyInstructionData, type IncrementOptionTallyInstructionDataArgs, type IncrementOptionTallyParams, type InitCentralStateAsyncInput, type InitCentralStateInput, type InitCentralStateInstruction, type InitCentralStateInstructionData, type InitCentralStateInstructionDataArgs, type InitCompDefConfig, type InitStakeAccountAsyncInput, type InitStakeAccountInput, type InitStakeAccountInstruction, type InitStakeAccountInstructionData, type InitStakeAccountInstructionDataArgs, type InitStakeAccountParams, type InitTokenVaultAsyncInput, type InitTokenVaultInput, type InitTokenVaultInstruction, type InitTokenVaultInstructionData, type InitTokenVaultInstructionDataArgs, type InitTokenVaultParams, LocalCircuitSource, type LocalCircuitSourceArgs, type MXEAccount, type MXEAccountArgs, M_X_E_ACCOUNT_DISCRIMINATOR, type MarketCreatedEvent, type MarketCreatedEventArgs, type MarketOpenedEvent, type MarketOpenedEventArgs, type MarketOptionCreatedEvent, type MarketOptionCreatedEventArgs, type MarketPausedEvent, type MarketPausedEventArgs, type MarketResumedEvent, type MarketResumedEventArgs, MxeStatus, type MxeStatusArgs, type NodeMetadata, type NodeMetadataArgs, type NodeRef, type NodeRefArgs, OPEN_MARKET_DISCRIMINATOR, OPPORTUNITY_MARKET_DISCRIMINATOR, OPPORTUNITY_MARKET_ERROR__ABORTED_COMPUTATION, OPPORTUNITY_MARKET_ERROR__ADD_OPTION_STAKE_FAILED, OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED, OPPORTUNITY_MARKET_ERROR__ALREADY_STAKED, OPPORTUNITY_MARKET_ERROR__ALREADY_UNSTAKED, OPPORTUNITY_MARKET_ERROR__CLOSING_EARLY_NOT_ALLOWED, OPPORTUNITY_MARKET_ERROR__CLUSTER_NOT_SET, OPPORTUNITY_MARKET_ERROR__DEPOSIT_BELOW_MINIMUM, OPPORTUNITY_MARKET_ERROR__EARLINESS_CUTOFF_TOO_LARGE, OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_BALANCE, OPPORTUNITY_MARKET_ERROR__INSUFFICIENT_REWARD_FUNDING, OPPORTUNITY_MARKET_ERROR__INVALID_ACCOUNT_STATE, OPPORTUNITY_MARKET_ERROR__INVALID_MINT, OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID, OPPORTUNITY_MARKET_ERROR__INVALID_TIMESTAMP, OPPORTUNITY_MARKET_ERROR__INVALID_WINNING_OPTIONS_INPUT, OPPORTUNITY_MARKET_ERROR__LOCKED, OPPORTUNITY_MARKET_ERROR__MARKET_ALREADY_OPEN, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_OPEN, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_PAUSED, OPPORTUNITY_MARKET_ERROR__MARKET_NOT_RESOLVED, OPPORTUNITY_MARKET_ERROR__MARKET_PAUSED, OPPORTUNITY_MARKET_ERROR__NOT_REVEALED, OPPORTUNITY_MARKET_ERROR__NO_FEES_TO_CLAIM, OPPORTUNITY_MARKET_ERROR__OVERFLOW, OPPORTUNITY_MARKET_ERROR__PROTOCOL_FEE_TOO_HIGH, OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED, OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK, OPPORTUNITY_MARKET_ERROR__STAKING_NOT_ACTIVE, OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED, OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED, OPPORTUNITY_MARKET_ERROR__UNSTAKE_DELAY_NOT_MET, OPPORTUNITY_MARKET_ERROR__UNSTAKE_NOT_INITIATED, OPPORTUNITY_MARKET_ERROR__WINNER_ALREADY_SELECTED, OPPORTUNITY_MARKET_OPTION_DISCRIMINATOR, OPPORTUNITY_MARKET_OPTION_SEED, OPPORTUNITY_MARKET_PROGRAM_ADDRESS, OPPORTUNITY_MARKET_SEED, OPPORTUNITY_MARKET_SPONSOR_DISCRIMINATOR, type OffChainCircuitSource, type OffChainCircuitSourceArgs, type OnChainCircuitSource, type OnChainCircuitSourceArgs, type OpenMarketInput, type OpenMarketInstruction, type OpenMarketInstructionData, type OpenMarketInstructionDataArgs, type OpenMarketParams, type OpportunityMarket, OpportunityMarketAccount, type OpportunityMarketArgs, type OpportunityMarketError, OpportunityMarketInstruction, type OpportunityMarketOption, type OpportunityMarketOptionArgs, type OpportunityMarketSponsor, type OpportunityMarketSponsorArgs, Output, type OutputArgs, PAUSE_MARKET_DISCRIMINATOR, Parameter, type ParameterArgs, type ParsedAddMarketOptionInstruction, type ParsedAddRewardInstruction, type ParsedClaimFeesInstruction, type ParsedCloseStakeAccountInstruction, type ParsedCloseStuckStakeAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedEndRevealPeriodInstruction, type ParsedIncrementOptionTallyInstruction, type ParsedInitCentralStateInstruction, type ParsedInitStakeAccountInstruction, type ParsedInitTokenVaultInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedPauseMarketInstruction, type ParsedReclaimStakeInstruction, type ParsedResumeMarketInstruction, type ParsedRevealStakeCallbackInstruction, type ParsedRevealStakeCompDefInstruction, type ParsedRevealStakeInstruction, type ParsedSelectWinningOptionsInstruction, type ParsedStakeCallbackInstruction, type ParsedStakeCompDefInstruction, type ParsedStakeInstruction, type ParsedTransferCentralStateAuthorityInstruction, type ParsedUnstakeEarlyInstruction, type ParsedUpdateCentralStateInstruction, type ParsedWithdrawRewardInstruction, type PauseMarketInput, type PauseMarketInstruction, type PauseMarketInstructionData, type PauseMarketInstructionDataArgs, type PauseMarketParams, RECLAIM_STAKE_DISCRIMINATOR, RESUME_MARKET_DISCRIMINATOR, REVEAL_STAKE_CALLBACK_DISCRIMINATOR, REVEAL_STAKE_COMP_DEF_DISCRIMINATOR, REVEAL_STAKE_DISCRIMINATOR, type ReclaimStakeAsyncInput, type ReclaimStakeInput, type ReclaimStakeInstruction, type ReclaimStakeInstructionData, type ReclaimStakeInstructionDataArgs, type ReclaimStakeParams, type ResumeMarketInput, type ResumeMarketInstruction, type ResumeMarketInstructionData, type ResumeMarketInstructionDataArgs, type ResumeMarketParams, type RevealPeriodEndedEvent, type RevealPeriodEndedEventArgs, type RevealStakeAsyncInput, type RevealStakeCallbackInput, type RevealStakeCallbackInstruction, type RevealStakeCallbackInstructionData, type RevealStakeCallbackInstructionDataArgs, type RevealStakeCompDefInput, type RevealStakeCompDefInstruction, type RevealStakeCompDefInstructionData, type RevealStakeCompDefInstructionDataArgs, type RevealStakeInput, type RevealStakeInstruction, type RevealStakeInstructionData, type RevealStakeInstructionDataArgs, type RevealStakeOutput, type RevealStakeOutputArgs, type RevealStakeParams, type RewardAddedEvent, type RewardAddedEventArgs, type RewardClaimedEvent, type RewardClaimedEventArgs, type RewardWithdrawnEvent, type RewardWithdrawnEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, SPONSOR_SEED, STAKE_ACCOUNT_DISCRIMINATOR, STAKE_ACCOUNT_SEED, STAKE_CALLBACK_DISCRIMINATOR, STAKE_COMP_DEF_DISCRIMINATOR, STAKE_DISCRIMINATOR, type SelectWinningOptionsInput, type SelectWinningOptionsInstruction, type SelectWinningOptionsInstructionData, type SelectWinningOptionsInstructionDataArgs, type SelectWinningOptionsParams, type StakeAccount, type StakeAccountArgs, type StakeAccountInitializedEvent, type StakeAccountInitializedEventArgs, type StakeAsyncInput, type StakeCallbackInput, type StakeCallbackInstruction, type StakeCallbackInstructionData, type StakeCallbackInstructionDataArgs, type StakeCompDefInput, type StakeCompDefInstruction, type StakeCompDefInstructionData, type StakeCompDefInstructionDataArgs, type StakeInput, type StakeInstruction, type StakeInstructionData, type StakeInstructionDataArgs, type StakeOutput, type StakeOutputArgs, type StakeOutputStruct0, type StakeOutputStruct0Args, type StakeParams, type StakeReclaimedEvent, type StakeReclaimedEventArgs, type StakeRevealedEvent, type StakeRevealedEventArgs, type StakedEvent, type StakedEventArgs, type StuckStakeClosedEvent, type StuckStakeClosedEventArgs, TOKEN_VAULT_DISCRIMINATOR, TOKEN_VAULT_SEED, TRANSFER_CENTRAL_STATE_AUTHORITY_DISCRIMINATOR, type TallyIncrementedEvent, type TallyIncrementedEventArgs, type Timestamp, type TimestampArgs, type TokenVault, type TokenVaultArgs, type TransferCentralStateAuthorityAsyncInput, type TransferCentralStateAuthorityInput, type TransferCentralStateAuthorityInstruction, type TransferCentralStateAuthorityInstructionData, type TransferCentralStateAuthorityInstructionDataArgs, UNSTAKE_EARLY_DISCRIMINATOR, UPDATE_CENTRAL_STATE_DISCRIMINATOR, type UnstakeEarlyAsyncInput, type UnstakeEarlyInput, type UnstakeEarlyInstruction, type UnstakeEarlyInstructionData, type UnstakeEarlyInstructionDataArgs, type UnstakeEarlyParams, type UnstakeInitiatedEvent, type UnstakeInitiatedEventArgs, type UnstakedEvent, type UnstakedEventArgs, type UpdateCentralStateAsyncInput, type UpdateCentralStateInput, type UpdateCentralStateInstruction, type UpdateCentralStateInstructionData, type UpdateCentralStateInstructionDataArgs, type UtilityPubkeys, type UtilityPubkeysArgs, WITHDRAW_REWARD_DISCRIMINATOR, type WinningOption, type WinningOptionArgs, type WinningOptionsSelectedEvent, type WinningOptionsSelectedEventArgs, type WithdrawRewardAsyncInput, type WithdrawRewardInput, type WithdrawRewardInstruction, type WithdrawRewardInstructionData, type WithdrawRewardInstructionDataArgs, type WithdrawRewardParams, type X25519Keypair, addMarketOption, addReward, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeStakeAccount, closeStuckStakeAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeOpportunityMarketSponsor, decodeStakeAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, endRevealPeriod, ensureCentralState, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeOpportunityMarketSponsor, fetchAllMaybeStakeAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllOpportunityMarketSponsor, fetchAllStakeAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeOpportunityMarketSponsor, fetchMaybeStakeAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchOpportunityMarketSponsor, fetchStakeAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddRewardDiscriminatorBytes, getAddRewardInstruction, getAddRewardInstructionAsync, getAddRewardInstructionDataCodec, getAddRewardInstructionDataDecoder, getAddRewardInstructionDataEncoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getCentralStateAddress, getCentralStateCodec, getCentralStateDecoder, getCentralStateDiscriminatorBytes, getCentralStateEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountDiscriminatorBytes, getClockAccountEncoder, getCloseStakeAccountDiscriminatorBytes, getCloseStakeAccountInstruction, getCloseStakeAccountInstructionAsync, getCloseStakeAccountInstructionDataCodec, getCloseStakeAccountInstructionDataDecoder, getCloseStakeAccountInstructionDataEncoder, getCloseStuckStakeAccountDiscriminatorBytes, getCloseStuckStakeAccountInstruction, getCloseStuckStakeAccountInstructionAsync, getCloseStuckStakeAccountInstructionDataCodec, getCloseStuckStakeAccountInstructionDataDecoder, getCloseStuckStakeAccountInstructionDataEncoder, getClusterCodec, getClusterDecoder, getClusterDiscriminatorBytes, getClusterEncoder, getCompDefAccount, getCompDefOffsetNumber, getComputationDefinitionAccountCodec, getComputationDefinitionAccountDecoder, getComputationDefinitionAccountDiscriminatorBytes, getComputationDefinitionAccountEncoder, getComputationDefinitionMetaCodec, getComputationDefinitionMetaDecoder, getComputationDefinitionMetaEncoder, getComputationSignatureCodec, getComputationSignatureDecoder, getComputationSignatureEncoder, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionAsync, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getDoUnstakeEarlyDiscriminatorBytes, getDoUnstakeEarlyInstruction, getDoUnstakeEarlyInstructionAsync, getDoUnstakeEarlyInstructionDataCodec, getDoUnstakeEarlyInstructionDataDecoder, getDoUnstakeEarlyInstructionDataEncoder, getEndRevealPeriodDiscriminatorBytes, getEndRevealPeriodInstruction, getEndRevealPeriodInstructionDataCodec, getEndRevealPeriodInstructionDataDecoder, getEndRevealPeriodInstructionDataEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getIncrementOptionTallyDiscriminatorBytes, getIncrementOptionTallyInstruction, getIncrementOptionTallyInstructionAsync, getIncrementOptionTallyInstructionDataCodec, getIncrementOptionTallyInstructionDataDecoder, getIncrementOptionTallyInstructionDataEncoder, getInitCentralStateDiscriminatorBytes, getInitCentralStateInstruction, getInitCentralStateInstructionAsync, getInitCentralStateInstructionDataCodec, getInitCentralStateInstructionDataDecoder, getInitCentralStateInstructionDataEncoder, getInitCompDefInstruction, getInitStakeAccountDiscriminatorBytes, getInitStakeAccountInstruction, getInitStakeAccountInstructionAsync, getInitStakeAccountInstructionDataCodec, getInitStakeAccountInstructionDataDecoder, getInitStakeAccountInstructionDataEncoder, getInitTokenVaultDiscriminatorBytes, getInitTokenVaultInstruction, getInitTokenVaultInstructionAsync, getInitTokenVaultInstructionDataCodec, getInitTokenVaultInstructionDataDecoder, getInitTokenVaultInstructionDataEncoder, getLocalCircuitSourceCodec, getLocalCircuitSourceDecoder, getLocalCircuitSourceEncoder, getMXEAccountCodec, getMXEAccountDecoder, getMXEAccountDiscriminatorBytes, getMXEAccountEncoder, getMarketCreatedEventCodec, getMarketCreatedEventDecoder, getMarketCreatedEventEncoder, getMarketOpenedEventCodec, getMarketOpenedEventDecoder, getMarketOpenedEventEncoder, getMarketOptionCreatedEventCodec, getMarketOptionCreatedEventDecoder, getMarketOptionCreatedEventEncoder, getMarketPausedEventCodec, getMarketPausedEventDecoder, getMarketPausedEventEncoder, getMarketResumedEventCodec, getMarketResumedEventDecoder, getMarketResumedEventEncoder, getMxeAccount, getMxeStatusCodec, getMxeStatusDecoder, getMxeStatusEncoder, getNodeMetadataCodec, getNodeMetadataDecoder, getNodeMetadataEncoder, getNodeRefCodec, getNodeRefDecoder, getNodeRefEncoder, getOffChainCircuitSourceCodec, getOffChainCircuitSourceDecoder, getOffChainCircuitSourceEncoder, getOnChainCircuitSourceCodec, getOnChainCircuitSourceDecoder, getOnChainCircuitSourceEncoder, getOpenMarketDiscriminatorBytes, getOpenMarketInstruction, getOpenMarketInstructionDataCodec, getOpenMarketInstructionDataDecoder, getOpenMarketInstructionDataEncoder, getOpportunityMarketAddress, getOpportunityMarketCodec, getOpportunityMarketDecoder, getOpportunityMarketDiscriminatorBytes, getOpportunityMarketEncoder, getOpportunityMarketErrorMessage, getOpportunityMarketOptionAddress, getOpportunityMarketOptionCodec, getOpportunityMarketOptionDecoder, getOpportunityMarketOptionDiscriminatorBytes, getOpportunityMarketOptionEncoder, getOpportunityMarketSponsorAddress, getOpportunityMarketSponsorCodec, getOpportunityMarketSponsorDecoder, getOpportunityMarketSponsorDiscriminatorBytes, getOpportunityMarketSponsorEncoder, getOutputCodec, getOutputDecoder, getOutputEncoder, getParameterCodec, getParameterDecoder, getParameterEncoder, getPauseMarketDiscriminatorBytes, getPauseMarketInstruction, getPauseMarketInstructionDataCodec, getPauseMarketInstructionDataDecoder, getPauseMarketInstructionDataEncoder, getReclaimStakeDiscriminatorBytes, getReclaimStakeInstruction, getReclaimStakeInstructionAsync, getReclaimStakeInstructionDataCodec, getReclaimStakeInstructionDataDecoder, getReclaimStakeInstructionDataEncoder, getResumeMarketDiscriminatorBytes, getResumeMarketInstruction, getResumeMarketInstructionDataCodec, getResumeMarketInstructionDataDecoder, getResumeMarketInstructionDataEncoder, getRevealPeriodEndedEventCodec, getRevealPeriodEndedEventDecoder, getRevealPeriodEndedEventEncoder, getRevealStakeCallbackDiscriminatorBytes, getRevealStakeCallbackInstruction, getRevealStakeCallbackInstructionDataCodec, getRevealStakeCallbackInstructionDataDecoder, getRevealStakeCallbackInstructionDataEncoder, getRevealStakeCompDefDiscriminatorBytes, getRevealStakeCompDefInstruction, getRevealStakeCompDefInstructionDataCodec, getRevealStakeCompDefInstructionDataDecoder, getRevealStakeCompDefInstructionDataEncoder, getRevealStakeDiscriminatorBytes, getRevealStakeInstruction, getRevealStakeInstructionAsync, getRevealStakeInstructionDataCodec, getRevealStakeInstructionDataDecoder, getRevealStakeInstructionDataEncoder, getRevealStakeOutputCodec, getRevealStakeOutputDecoder, getRevealStakeOutputEncoder, getRewardAddedEventCodec, getRewardAddedEventDecoder, getRewardAddedEventEncoder, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getRewardWithdrawnEventCodec, getRewardWithdrawnEventDecoder, getRewardWithdrawnEventEncoder, getSelectWinningOptionsDiscriminatorBytes, getSelectWinningOptionsInstruction, getSelectWinningOptionsInstructionDataCodec, getSelectWinningOptionsInstructionDataDecoder, getSelectWinningOptionsInstructionDataEncoder, getStakeAccountAddress, getStakeAccountCodec, getStakeAccountDecoder, getStakeAccountDiscriminatorBytes, getStakeAccountEncoder, getStakeAccountInitializedEventCodec, getStakeAccountInitializedEventDecoder, getStakeAccountInitializedEventEncoder, getStakeCallbackDiscriminatorBytes, getStakeCallbackInstruction, getStakeCallbackInstructionDataCodec, getStakeCallbackInstructionDataDecoder, getStakeCallbackInstructionDataEncoder, getStakeCompDefDiscriminatorBytes, getStakeCompDefInstruction, getStakeCompDefInstructionDataCodec, getStakeCompDefInstructionDataDecoder, getStakeCompDefInstructionDataEncoder, getStakeDiscriminatorBytes, getStakeInstruction, getStakeInstructionAsync, getStakeInstructionDataCodec, getStakeInstructionDataDecoder, getStakeInstructionDataEncoder, getStakeOutputCodec, getStakeOutputDecoder, getStakeOutputEncoder, getStakeOutputStruct0Codec, getStakeOutputStruct0Decoder, getStakeOutputStruct0Encoder, getStakeReclaimedEventCodec, getStakeReclaimedEventDecoder, getStakeReclaimedEventEncoder, getStakeRevealedEventCodec, getStakeRevealedEventDecoder, getStakeRevealedEventEncoder, getStakedEventCodec, getStakedEventDecoder, getStakedEventEncoder, getStuckStakeClosedEventCodec, getStuckStakeClosedEventDecoder, getStuckStakeClosedEventEncoder, getTallyIncrementedEventCodec, getTallyIncrementedEventDecoder, getTallyIncrementedEventEncoder, getTimestampCodec, getTimestampDecoder, getTimestampEncoder, getTokenVaultAddress, getTokenVaultCodec, getTokenVaultDecoder, getTokenVaultDiscriminatorBytes, getTokenVaultEncoder, getTransferCentralStateAuthorityDiscriminatorBytes, getTransferCentralStateAuthorityInstruction, getTransferCentralStateAuthorityInstructionAsync, getTransferCentralStateAuthorityInstructionDataCodec, getTransferCentralStateAuthorityInstructionDataDecoder, getTransferCentralStateAuthorityInstructionDataEncoder, getUnstakeEarlyDiscriminatorBytes, getUnstakeEarlyInstruction, getUnstakeEarlyInstructionAsync, getUnstakeEarlyInstructionDataCodec, getUnstakeEarlyInstructionDataDecoder, getUnstakeEarlyInstructionDataEncoder, getUnstakeInitiatedEventCodec, getUnstakeInitiatedEventDecoder, getUnstakeInitiatedEventEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUpdateCentralStateDiscriminatorBytes, getUpdateCentralStateInstruction, getUpdateCentralStateInstructionAsync, getUpdateCentralStateInstructionDataCodec, getUpdateCentralStateInstructionDataDecoder, getUpdateCentralStateInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionCodec, getWinningOptionDecoder, getWinningOptionEncoder, getWinningOptionsSelectedEventCodec, getWinningOptionsSelectedEventDecoder, getWinningOptionsSelectedEventEncoder, getWithdrawRewardDiscriminatorBytes, getWithdrawRewardInstruction, getWithdrawRewardInstructionAsync, getWithdrawRewardInstructionDataCodec, getWithdrawRewardInstructionDataDecoder, getWithdrawRewardInstructionDataEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, incrementOptionTally, initStakeAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionInstruction, parseAddRewardInstruction, parseClaimFeesInstruction, parseCloseStakeAccountInstruction, parseCloseStuckStakeAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseEndRevealPeriodInstruction, parseIncrementOptionTallyInstruction, parseInitCentralStateInstruction, parseInitStakeAccountInstruction, parseInitTokenVaultInstruction, parseOpenMarketInstruction, parsePauseMarketInstruction, parseReclaimStakeInstruction, parseResumeMarketInstruction, parseRevealStakeCallbackInstruction, parseRevealStakeCompDefInstruction, parseRevealStakeInstruction, parseSelectWinningOptionsInstruction, parseStakeCallbackInstruction, parseStakeCompDefInstruction, parseStakeInstruction, parseTransferCentralStateAuthorityInstruction, parseUnstakeEarlyInstruction, parseUpdateCentralStateInstruction, parseWithdrawRewardInstruction, pauseMarket, randomComputationOffset, randomStateNonce, reclaimStake, resumeMarket, revealStake, selectWinningOptions, stake, toNumberArray, unstakeEarly, withdrawReward };