@bench.games/opportunity-markets 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -490,7 +490,6 @@ type MarketCreatedEvent = {
490
490
  earlinessMultiplier: number;
491
491
  marketAuthority: Address;
492
492
  authorizedReaderPubkey: Array<number>;
493
- allowUnstakingEarly: boolean;
494
493
  minStakeAmount: bigint;
495
494
  feeRates: FeeRates;
496
495
  creatorFeeClaimer: Address;
@@ -508,7 +507,6 @@ type MarketCreatedEventArgs = {
508
507
  earlinessMultiplier: number;
509
508
  marketAuthority: Address;
510
509
  authorizedReaderPubkey: Array<number>;
511
- allowUnstakingEarly: boolean;
512
510
  minStakeAmount: number | bigint;
513
511
  feeRates: FeeRatesArgs;
514
512
  creatorFeeClaimer: Address;
@@ -936,7 +934,6 @@ type RewardAddedEvent = {
936
934
  sponsor: Address;
937
935
  amount: bigint;
938
936
  totalRewardAmount: bigint;
939
- locked: boolean;
940
937
  timestamp: bigint;
941
938
  };
942
939
  type RewardAddedEventArgs = {
@@ -944,13 +941,44 @@ type RewardAddedEventArgs = {
944
941
  sponsor: Address;
945
942
  amount: number | bigint;
946
943
  totalRewardAmount: number | bigint;
947
- locked: boolean;
948
944
  timestamp: number | bigint;
949
945
  };
950
946
  declare function getRewardAddedEventEncoder(): FixedSizeEncoder<RewardAddedEventArgs>;
951
947
  declare function getRewardAddedEventDecoder(): FixedSizeDecoder<RewardAddedEvent>;
952
948
  declare function getRewardAddedEventCodec(): FixedSizeCodec<RewardAddedEventArgs, RewardAddedEvent>;
953
949
 
950
+ /**
951
+ * This code was AUTOGENERATED using the Codama library.
952
+ * Please DO NOT EDIT THIS FILE, instead use visitors
953
+ * to add features, then rerun Codama to update it.
954
+ *
955
+ * @see https://github.com/codama-idl/codama
956
+ */
957
+
958
+ type RewardsClaimedEvent = {
959
+ owner: Address;
960
+ market: Address;
961
+ stakeAccount: Address;
962
+ stakeAccountId: number;
963
+ optionId: bigint;
964
+ rewardAmount: bigint;
965
+ score: bigint;
966
+ timestamp: bigint;
967
+ };
968
+ type RewardsClaimedEventArgs = {
969
+ owner: Address;
970
+ market: Address;
971
+ stakeAccount: Address;
972
+ stakeAccountId: number;
973
+ optionId: number | bigint;
974
+ rewardAmount: number | bigint;
975
+ score: number | bigint;
976
+ timestamp: number | bigint;
977
+ };
978
+ declare function getRewardsClaimedEventEncoder(): FixedSizeEncoder<RewardsClaimedEventArgs>;
979
+ declare function getRewardsClaimedEventDecoder(): FixedSizeDecoder<RewardsClaimedEvent>;
980
+ declare function getRewardsClaimedEventCodec(): FixedSizeCodec<RewardsClaimedEventArgs, RewardsClaimedEvent>;
981
+
954
982
  /**
955
983
  * This code was AUTOGENERATED using the Codama library.
956
984
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -990,11 +1018,11 @@ type StakeAccountClosedEvent = {
990
1018
  market: Address;
991
1019
  stakeAccount: Address;
992
1020
  stakeAccountId: number;
993
- optionId: bigint;
994
- rewardAmount: bigint;
1021
+ optionId: Option<bigint>;
1022
+ stakeAmount: bigint;
1023
+ feeRefund: bigint;
995
1024
  stakedAtTimestamp: bigint;
996
1025
  stakeEndTimestamp: bigint;
997
- stakeAmount: bigint;
998
1026
  score: bigint;
999
1027
  timestamp: bigint;
1000
1028
  };
@@ -1003,17 +1031,17 @@ type StakeAccountClosedEventArgs = {
1003
1031
  market: Address;
1004
1032
  stakeAccount: Address;
1005
1033
  stakeAccountId: number;
1006
- optionId: number | bigint;
1007
- rewardAmount: number | bigint;
1034
+ optionId: OptionOrNullable<number | bigint>;
1035
+ stakeAmount: number | bigint;
1036
+ feeRefund: number | bigint;
1008
1037
  stakedAtTimestamp: number | bigint;
1009
1038
  stakeEndTimestamp: number | bigint;
1010
- stakeAmount: number | bigint;
1011
1039
  score: number | bigint;
1012
1040
  timestamp: number | bigint;
1013
1041
  };
1014
- declare function getStakeAccountClosedEventEncoder(): FixedSizeEncoder<StakeAccountClosedEventArgs>;
1015
- declare function getStakeAccountClosedEventDecoder(): FixedSizeDecoder<StakeAccountClosedEvent>;
1016
- declare function getStakeAccountClosedEventCodec(): FixedSizeCodec<StakeAccountClosedEventArgs, StakeAccountClosedEvent>;
1042
+ declare function getStakeAccountClosedEventEncoder(): Encoder<StakeAccountClosedEventArgs>;
1043
+ declare function getStakeAccountClosedEventDecoder(): Decoder<StakeAccountClosedEvent>;
1044
+ declare function getStakeAccountClosedEventCodec(): Codec<StakeAccountClosedEventArgs, StakeAccountClosedEvent>;
1017
1045
 
1018
1046
  /**
1019
1047
  * This code was AUTOGENERATED using the Codama library.
@@ -1344,7 +1372,6 @@ type OpportunityMarket = {
1344
1372
  mint: Address;
1345
1373
  earlinessCutoffSeconds: bigint;
1346
1374
  earlinessMultiplier: number;
1347
- allowUnstakingEarly: boolean;
1348
1375
  authorizedReaderPubkey: Array<number>;
1349
1376
  feeRates: FeeRates;
1350
1377
  collectedPlatformFees: bigint;
@@ -1370,7 +1397,6 @@ type OpportunityMarketArgs = {
1370
1397
  mint: Address;
1371
1398
  earlinessCutoffSeconds: number | bigint;
1372
1399
  earlinessMultiplier: number;
1373
- allowUnstakingEarly: boolean;
1374
1400
  authorizedReaderPubkey: Array<number>;
1375
1401
  feeRates: FeeRatesArgs;
1376
1402
  collectedPlatformFees: number | bigint;
@@ -1407,7 +1433,7 @@ type OpportunityMarketOption = {
1407
1433
  id: bigint;
1408
1434
  creator: Address;
1409
1435
  createdAt: bigint;
1410
- totalStaked: bigint;
1436
+ unclaimedStake: bigint;
1411
1437
  totalScore: bigint;
1412
1438
  /** Non-zero iff this option is a winner; share of pool in basis points (0–10_000). */
1413
1439
  rewardBp: number;
@@ -1419,7 +1445,7 @@ type OpportunityMarketOptionArgs = {
1419
1445
  id: number | bigint;
1420
1446
  creator: Address;
1421
1447
  createdAt: number | bigint;
1422
- totalStaked: number | bigint;
1448
+ unclaimedStake: number | bigint;
1423
1449
  totalScore: number | bigint;
1424
1450
  /** Non-zero iff this option is a winner; share of pool in basis points (0–10_000). */
1425
1451
  rewardBp: number;
@@ -1452,14 +1478,12 @@ type OpportunityMarketSponsor = {
1452
1478
  sponsor: Address;
1453
1479
  market: Address;
1454
1480
  rewardDeposited: bigint;
1455
- rewardLocked: boolean;
1456
1481
  };
1457
1482
  type OpportunityMarketSponsorArgs = {
1458
1483
  bump: number;
1459
1484
  sponsor: Address;
1460
1485
  market: Address;
1461
1486
  rewardDeposited: number | bigint;
1462
- rewardLocked: boolean;
1463
1487
  };
1464
1488
  declare function getOpportunityMarketSponsorEncoder(): FixedSizeEncoder<OpportunityMarketSponsorArgs>;
1465
1489
  declare function getOpportunityMarketSponsorDecoder(): FixedSizeDecoder<OpportunityMarketSponsor>;
@@ -1541,6 +1565,7 @@ type StakeAccount = {
1541
1565
  revealedOption: Option<bigint>;
1542
1566
  score: Option<bigint>;
1543
1567
  unstaked: boolean;
1568
+ rewardsClaimed: boolean;
1544
1569
  id: number;
1545
1570
  pendingStakeComputation: Option<Address>;
1546
1571
  pendingReveal: boolean;
@@ -1561,6 +1586,7 @@ type StakeAccountArgs = {
1561
1586
  revealedOption: OptionOrNullable<number | bigint>;
1562
1587
  score: OptionOrNullable<number | bigint>;
1563
1588
  unstaked: boolean;
1589
+ rewardsClaimed: boolean;
1564
1590
  id: number;
1565
1591
  pendingStakeComputation: OptionOrNullable<Address>;
1566
1592
  pendingReveal: boolean;
@@ -1673,7 +1699,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
1673
1699
  * @see https://github.com/codama-idl/codama
1674
1700
  */
1675
1701
 
1676
- declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"B3NCHsGBkdZrPYPJY2rjg4UwmyRotMmFWhxa5hMHwLeg">;
1702
+ declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"bncqApu6NkUibDwnbfXR5oRPCLiYjwHgVuCdHRTD6rp">;
1677
1703
  declare enum OpportunityMarketAccount {
1678
1704
  AllowedMint = 0,
1679
1705
  ArciumSignerAccount = 1,
@@ -1691,34 +1717,36 @@ declare enum OpportunityMarketInstruction {
1691
1717
  AddReward = 1,
1692
1718
  ClaimCreatorFees = 2,
1693
1719
  ClaimFees = 3,
1694
- CloseOptionAccount = 4,
1695
- CloseStakeAccount = 5,
1696
- CloseStuckStakeAccount = 6,
1697
- CreateMarket = 7,
1698
- EndRevealPeriod = 8,
1699
- FinalizeRevealStake = 9,
1700
- InitAllowedMint = 10,
1701
- InitPlatformConfig = 11,
1702
- InitStakeAccount = 12,
1703
- OpenMarket = 13,
1704
- ResolveMarket = 14,
1705
- RevealStake = 15,
1706
- RevealStakeCallback = 16,
1707
- RevealStakeCompDef = 17,
1708
- SetFeeClaimAuthority = 18,
1709
- SetUpdateAuthority = 19,
1710
- SetWinningOption = 20,
1711
- Stake = 21,
1712
- StakeCallback = 22,
1713
- StakeCompDef = 23,
1714
- Unstake = 24,
1715
- UpdatePlatformConfig = 25,
1716
- WithdrawReward = 26
1720
+ ClaimRewards = 4,
1721
+ CloseOptionAccount = 5,
1722
+ CloseStakeAccount = 6,
1723
+ CloseStuckStakeAccount = 7,
1724
+ CloseUnrevealedStakeAccount = 8,
1725
+ CreateMarket = 9,
1726
+ EndRevealPeriod = 10,
1727
+ FinalizeRevealStake = 11,
1728
+ InitAllowedMint = 12,
1729
+ InitPlatformConfig = 13,
1730
+ InitStakeAccount = 14,
1731
+ OpenMarket = 15,
1732
+ ResolveMarket = 16,
1733
+ RevealStake = 17,
1734
+ RevealStakeCallback = 18,
1735
+ RevealStakeCompDef = 19,
1736
+ SetFeeClaimAuthority = 20,
1737
+ SetUpdateAuthority = 21,
1738
+ SetWinningOption = 22,
1739
+ Stake = 23,
1740
+ StakeCallback = 24,
1741
+ StakeCompDef = 25,
1742
+ Unstake = 26,
1743
+ UpdatePlatformConfig = 27,
1744
+ WithdrawReward = 28
1717
1745
  }
1718
1746
  declare function identifyOpportunityMarketInstruction(instruction: {
1719
1747
  data: ReadonlyUint8Array;
1720
1748
  } | ReadonlyUint8Array): OpportunityMarketInstruction;
1721
- type ParsedOpportunityMarketInstruction<TProgram extends string = 'B3NCHsGBkdZrPYPJY2rjg4UwmyRotMmFWhxa5hMHwLeg'> = ({
1749
+ type ParsedOpportunityMarketInstruction<TProgram extends string = 'bncqApu6NkUibDwnbfXR5oRPCLiYjwHgVuCdHRTD6rp'> = ({
1722
1750
  instructionType: OpportunityMarketInstruction.AddMarketOption;
1723
1751
  } & ParsedAddMarketOptionInstruction<TProgram>) | ({
1724
1752
  instructionType: OpportunityMarketInstruction.AddReward;
@@ -1727,12 +1755,16 @@ type ParsedOpportunityMarketInstruction<TProgram extends string = 'B3NCHsGBkdZrP
1727
1755
  } & ParsedClaimCreatorFeesInstruction<TProgram>) | ({
1728
1756
  instructionType: OpportunityMarketInstruction.ClaimFees;
1729
1757
  } & ParsedClaimFeesInstruction<TProgram>) | ({
1758
+ instructionType: OpportunityMarketInstruction.ClaimRewards;
1759
+ } & ParsedClaimRewardsInstruction<TProgram>) | ({
1730
1760
  instructionType: OpportunityMarketInstruction.CloseOptionAccount;
1731
1761
  } & ParsedCloseOptionAccountInstruction<TProgram>) | ({
1732
1762
  instructionType: OpportunityMarketInstruction.CloseStakeAccount;
1733
1763
  } & ParsedCloseStakeAccountInstruction<TProgram>) | ({
1734
1764
  instructionType: OpportunityMarketInstruction.CloseStuckStakeAccount;
1735
1765
  } & ParsedCloseStuckStakeAccountInstruction<TProgram>) | ({
1766
+ instructionType: OpportunityMarketInstruction.CloseUnrevealedStakeAccount;
1767
+ } & ParsedCloseUnrevealedStakeAccountInstruction<TProgram>) | ({
1736
1768
  instructionType: OpportunityMarketInstruction.CreateMarket;
1737
1769
  } & ParsedCreateMarketInstruction<TProgram>) | ({
1738
1770
  instructionType: OpportunityMarketInstruction.EndRevealPeriod;
@@ -1857,11 +1889,9 @@ type AddRewardInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PR
1857
1889
  type AddRewardInstructionData = {
1858
1890
  discriminator: ReadonlyUint8Array;
1859
1891
  amount: bigint;
1860
- lock: boolean;
1861
1892
  };
1862
1893
  type AddRewardInstructionDataArgs = {
1863
1894
  amount: number | bigint;
1864
- lock: boolean;
1865
1895
  };
1866
1896
  declare function getAddRewardInstructionDataEncoder(): FixedSizeEncoder<AddRewardInstructionDataArgs>;
1867
1897
  declare function getAddRewardInstructionDataDecoder(): FixedSizeDecoder<AddRewardInstructionData>;
@@ -1877,7 +1907,6 @@ type AddRewardAsyncInput<TAccountSponsor extends string = string, TAccountMarket
1877
1907
  tokenProgram: Address<TAccountTokenProgram>;
1878
1908
  systemProgram?: Address<TAccountSystemProgram>;
1879
1909
  amount: AddRewardInstructionDataArgs['amount'];
1880
- lock: AddRewardInstructionDataArgs['lock'];
1881
1910
  };
1882
1911
  declare function getAddRewardInstructionAsync<TAccountSponsor extends string, TAccountMarket extends string, TAccountSponsorAccount extends string, TAccountTokenMint extends string, TAccountSponsorTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: AddRewardAsyncInput<TAccountSponsor, TAccountMarket, TAccountSponsorAccount, TAccountTokenMint, TAccountSponsorTokenAccount, TAccountMarketTokenAta, TAccountTokenProgram, TAccountSystemProgram>, config?: {
1883
1912
  programAddress?: TProgramAddress;
@@ -1893,7 +1922,6 @@ type AddRewardInput<TAccountSponsor extends string = string, TAccountMarket exte
1893
1922
  tokenProgram: Address<TAccountTokenProgram>;
1894
1923
  systemProgram?: Address<TAccountSystemProgram>;
1895
1924
  amount: AddRewardInstructionDataArgs['amount'];
1896
- lock: AddRewardInstructionDataArgs['lock'];
1897
1925
  };
1898
1926
  declare function getAddRewardInstruction<TAccountSponsor extends string, TAccountMarket extends string, TAccountSponsorAccount extends string, TAccountTokenMint extends string, TAccountSponsorTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: AddRewardInput<TAccountSponsor, TAccountMarket, TAccountSponsorAccount, TAccountTokenMint, TAccountSponsorTokenAccount, TAccountMarketTokenAta, TAccountTokenProgram, TAccountSystemProgram>, config?: {
1899
1927
  programAddress?: TProgramAddress;
@@ -2043,6 +2071,76 @@ type ParsedClaimFeesInstruction<TProgram extends string = typeof OPPORTUNITY_MAR
2043
2071
  };
2044
2072
  declare function parseClaimFeesInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedClaimFeesInstruction<TProgram, TAccountMetas>;
2045
2073
 
2074
+ /**
2075
+ * This code was AUTOGENERATED using the Codama library.
2076
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2077
+ * to add features, then rerun Codama to update it.
2078
+ *
2079
+ * @see https://github.com/codama-idl/codama
2080
+ */
2081
+
2082
+ declare const CLAIM_REWARDS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2083
+ declare function getClaimRewardsDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
2084
+ type ClaimRewardsInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountStakeAccount extends string | AccountMeta<string> = string, TAccountOption extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountOwnerTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2085
+ TAccountOwner extends string ? WritableSignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
2086
+ TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
2087
+ TAccountStakeAccount extends string ? WritableAccount<TAccountStakeAccount> : TAccountStakeAccount,
2088
+ TAccountOption extends string ? WritableAccount<TAccountOption> : TAccountOption,
2089
+ TAccountTokenMint extends string ? ReadonlyAccount<TAccountTokenMint> : TAccountTokenMint,
2090
+ TAccountMarketTokenAta extends string ? WritableAccount<TAccountMarketTokenAta> : TAccountMarketTokenAta,
2091
+ TAccountOwnerTokenAccount extends string ? WritableAccount<TAccountOwnerTokenAccount> : TAccountOwnerTokenAccount,
2092
+ TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
2093
+ ...TRemainingAccounts
2094
+ ]>;
2095
+ type ClaimRewardsInstructionData = {
2096
+ discriminator: ReadonlyUint8Array;
2097
+ };
2098
+ type ClaimRewardsInstructionDataArgs = {};
2099
+ declare function getClaimRewardsInstructionDataEncoder(): FixedSizeEncoder<ClaimRewardsInstructionDataArgs>;
2100
+ declare function getClaimRewardsInstructionDataDecoder(): FixedSizeDecoder<ClaimRewardsInstructionData>;
2101
+ declare function getClaimRewardsInstructionDataCodec(): FixedSizeCodec<ClaimRewardsInstructionDataArgs, ClaimRewardsInstructionData>;
2102
+ type ClaimRewardsAsyncInput<TAccountOwner extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountOption extends string = string, TAccountTokenMint extends string = string, TAccountMarketTokenAta extends string = string, TAccountOwnerTokenAccount extends string = string, TAccountTokenProgram extends string = string> = {
2103
+ owner: TransactionSigner<TAccountOwner>;
2104
+ market: Address<TAccountMarket>;
2105
+ stakeAccount: Address<TAccountStakeAccount>;
2106
+ option: Address<TAccountOption>;
2107
+ tokenMint: Address<TAccountTokenMint>;
2108
+ marketTokenAta?: Address<TAccountMarketTokenAta>;
2109
+ ownerTokenAccount: Address<TAccountOwnerTokenAccount>;
2110
+ tokenProgram: Address<TAccountTokenProgram>;
2111
+ };
2112
+ declare function getClaimRewardsInstructionAsync<TAccountOwner extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountOption extends string, TAccountTokenMint extends string, TAccountMarketTokenAta extends string, TAccountOwnerTokenAccount extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ClaimRewardsAsyncInput<TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountOption, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram>, config?: {
2113
+ programAddress?: TProgramAddress;
2114
+ }): Promise<ClaimRewardsInstruction<TProgramAddress, TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountOption, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram>>;
2115
+ type ClaimRewardsInput<TAccountOwner extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountOption extends string = string, TAccountTokenMint extends string = string, TAccountMarketTokenAta extends string = string, TAccountOwnerTokenAccount extends string = string, TAccountTokenProgram extends string = string> = {
2116
+ owner: TransactionSigner<TAccountOwner>;
2117
+ market: Address<TAccountMarket>;
2118
+ stakeAccount: Address<TAccountStakeAccount>;
2119
+ option: Address<TAccountOption>;
2120
+ tokenMint: Address<TAccountTokenMint>;
2121
+ marketTokenAta: Address<TAccountMarketTokenAta>;
2122
+ ownerTokenAccount: Address<TAccountOwnerTokenAccount>;
2123
+ tokenProgram: Address<TAccountTokenProgram>;
2124
+ };
2125
+ declare function getClaimRewardsInstruction<TAccountOwner extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountOption extends string, TAccountTokenMint extends string, TAccountMarketTokenAta extends string, TAccountOwnerTokenAccount extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: ClaimRewardsInput<TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountOption, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram>, config?: {
2126
+ programAddress?: TProgramAddress;
2127
+ }): ClaimRewardsInstruction<TProgramAddress, TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountOption, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram>;
2128
+ type ParsedClaimRewardsInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2129
+ programAddress: Address<TProgram>;
2130
+ accounts: {
2131
+ owner: TAccountMetas[0];
2132
+ market: TAccountMetas[1];
2133
+ stakeAccount: TAccountMetas[2];
2134
+ option: TAccountMetas[3];
2135
+ tokenMint: TAccountMetas[4];
2136
+ marketTokenAta: TAccountMetas[5];
2137
+ ownerTokenAccount: TAccountMetas[6];
2138
+ tokenProgram: TAccountMetas[7];
2139
+ };
2140
+ data: ClaimRewardsInstructionData;
2141
+ };
2142
+ declare function parseClaimRewardsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedClaimRewardsInstruction<TProgram, TAccountMetas>;
2143
+
2046
2144
  /**
2047
2145
  * This code was AUTOGENERATED using the Codama library.
2048
2146
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -2130,30 +2228,21 @@ type CloseStakeAccountInstruction<TProgram extends string = typeof OPPORTUNITY_M
2130
2228
  ]>;
2131
2229
  type CloseStakeAccountInstructionData = {
2132
2230
  discriminator: ReadonlyUint8Array;
2133
- optionId: bigint;
2134
- stakeAccountId: number;
2135
- };
2136
- type CloseStakeAccountInstructionDataArgs = {
2137
- optionId: number | bigint;
2138
- stakeAccountId: number;
2139
2231
  };
2232
+ type CloseStakeAccountInstructionDataArgs = {};
2140
2233
  declare function getCloseStakeAccountInstructionDataEncoder(): FixedSizeEncoder<CloseStakeAccountInstructionDataArgs>;
2141
2234
  declare function getCloseStakeAccountInstructionDataDecoder(): FixedSizeDecoder<CloseStakeAccountInstructionData>;
2142
2235
  declare function getCloseStakeAccountInstructionDataCodec(): FixedSizeCodec<CloseStakeAccountInstructionDataArgs, CloseStakeAccountInstructionData>;
2143
2236
  type CloseStakeAccountAsyncInput<TAccountOwner extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountOption extends string = string, TAccountTokenMint extends string = string, TAccountMarketTokenAta extends string = string, TAccountOwnerTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2144
2237
  owner: TransactionSigner<TAccountOwner>;
2145
2238
  market: Address<TAccountMarket>;
2146
- stakeAccount?: Address<TAccountStakeAccount>;
2147
- option?: Address<TAccountOption>;
2239
+ stakeAccount: Address<TAccountStakeAccount>;
2240
+ option: Address<TAccountOption>;
2148
2241
  tokenMint: Address<TAccountTokenMint>;
2149
- /** Market-owned ATA holding all program-held tokens for this market */
2150
2242
  marketTokenAta?: Address<TAccountMarketTokenAta>;
2151
- /** Owner's token account to receive rewards */
2152
2243
  ownerTokenAccount: Address<TAccountOwnerTokenAccount>;
2153
2244
  tokenProgram: Address<TAccountTokenProgram>;
2154
2245
  systemProgram?: Address<TAccountSystemProgram>;
2155
- optionId: CloseStakeAccountInstructionDataArgs['optionId'];
2156
- stakeAccountId: CloseStakeAccountInstructionDataArgs['stakeAccountId'];
2157
2246
  };
2158
2247
  declare function getCloseStakeAccountInstructionAsync<TAccountOwner extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountOption extends string, TAccountTokenMint extends string, TAccountMarketTokenAta extends string, TAccountOwnerTokenAccount extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CloseStakeAccountAsyncInput<TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountOption, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2159
2248
  programAddress?: TProgramAddress;
@@ -2164,14 +2253,10 @@ type CloseStakeAccountInput<TAccountOwner extends string = string, TAccountMarke
2164
2253
  stakeAccount: Address<TAccountStakeAccount>;
2165
2254
  option: Address<TAccountOption>;
2166
2255
  tokenMint: Address<TAccountTokenMint>;
2167
- /** Market-owned ATA holding all program-held tokens for this market */
2168
2256
  marketTokenAta: Address<TAccountMarketTokenAta>;
2169
- /** Owner's token account to receive rewards */
2170
2257
  ownerTokenAccount: Address<TAccountOwnerTokenAccount>;
2171
2258
  tokenProgram: Address<TAccountTokenProgram>;
2172
2259
  systemProgram?: Address<TAccountSystemProgram>;
2173
- optionId: CloseStakeAccountInstructionDataArgs['optionId'];
2174
- stakeAccountId: CloseStakeAccountInstructionDataArgs['stakeAccountId'];
2175
2260
  };
2176
2261
  declare function getCloseStakeAccountInstruction<TAccountOwner extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountOption extends string, TAccountTokenMint extends string, TAccountMarketTokenAta extends string, TAccountOwnerTokenAccount extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CloseStakeAccountInput<TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountOption, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2177
2262
  programAddress?: TProgramAddress;
@@ -2184,9 +2269,7 @@ type ParsedCloseStakeAccountInstruction<TProgram extends string = typeof OPPORTU
2184
2269
  stakeAccount: TAccountMetas[2];
2185
2270
  option: TAccountMetas[3];
2186
2271
  tokenMint: TAccountMetas[4];
2187
- /** Market-owned ATA holding all program-held tokens for this market */
2188
2272
  marketTokenAta: TAccountMetas[5];
2189
- /** Owner's token account to receive rewards */
2190
2273
  ownerTokenAccount: TAccountMetas[6];
2191
2274
  tokenProgram: TAccountMetas[7];
2192
2275
  systemProgram: TAccountMetas[8];
@@ -2273,6 +2356,76 @@ type ParsedCloseStuckStakeAccountInstruction<TProgram extends string = typeof OP
2273
2356
  };
2274
2357
  declare function parseCloseStuckStakeAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCloseStuckStakeAccountInstruction<TProgram, TAccountMetas>;
2275
2358
 
2359
+ /**
2360
+ * This code was AUTOGENERATED using the Codama library.
2361
+ * Please DO NOT EDIT THIS FILE, instead use visitors
2362
+ * to add features, then rerun Codama to update it.
2363
+ *
2364
+ * @see https://github.com/codama-idl/codama
2365
+ */
2366
+
2367
+ declare const CLOSE_UNREVEALED_STAKE_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2368
+ declare function getCloseUnrevealedStakeAccountDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
2369
+ type CloseUnrevealedStakeAccountInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountStakeAccount extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountOwnerTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2370
+ TAccountOwner extends string ? WritableSignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
2371
+ TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
2372
+ TAccountStakeAccount extends string ? WritableAccount<TAccountStakeAccount> : TAccountStakeAccount,
2373
+ TAccountTokenMint extends string ? ReadonlyAccount<TAccountTokenMint> : TAccountTokenMint,
2374
+ TAccountMarketTokenAta extends string ? WritableAccount<TAccountMarketTokenAta> : TAccountMarketTokenAta,
2375
+ TAccountOwnerTokenAccount extends string ? WritableAccount<TAccountOwnerTokenAccount> : TAccountOwnerTokenAccount,
2376
+ TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
2377
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2378
+ ...TRemainingAccounts
2379
+ ]>;
2380
+ type CloseUnrevealedStakeAccountInstructionData = {
2381
+ discriminator: ReadonlyUint8Array;
2382
+ };
2383
+ type CloseUnrevealedStakeAccountInstructionDataArgs = {};
2384
+ declare function getCloseUnrevealedStakeAccountInstructionDataEncoder(): FixedSizeEncoder<CloseUnrevealedStakeAccountInstructionDataArgs>;
2385
+ declare function getCloseUnrevealedStakeAccountInstructionDataDecoder(): FixedSizeDecoder<CloseUnrevealedStakeAccountInstructionData>;
2386
+ declare function getCloseUnrevealedStakeAccountInstructionDataCodec(): FixedSizeCodec<CloseUnrevealedStakeAccountInstructionDataArgs, CloseUnrevealedStakeAccountInstructionData>;
2387
+ type CloseUnrevealedStakeAccountAsyncInput<TAccountOwner extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountMarketTokenAta extends string = string, TAccountOwnerTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2388
+ owner: TransactionSigner<TAccountOwner>;
2389
+ market: Address<TAccountMarket>;
2390
+ stakeAccount: Address<TAccountStakeAccount>;
2391
+ tokenMint: Address<TAccountTokenMint>;
2392
+ marketTokenAta?: Address<TAccountMarketTokenAta>;
2393
+ ownerTokenAccount: Address<TAccountOwnerTokenAccount>;
2394
+ tokenProgram: Address<TAccountTokenProgram>;
2395
+ systemProgram?: Address<TAccountSystemProgram>;
2396
+ };
2397
+ declare function getCloseUnrevealedStakeAccountInstructionAsync<TAccountOwner extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountMarketTokenAta extends string, TAccountOwnerTokenAccount extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CloseUnrevealedStakeAccountAsyncInput<TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2398
+ programAddress?: TProgramAddress;
2399
+ }): Promise<CloseUnrevealedStakeAccountInstruction<TProgramAddress, TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram, TAccountSystemProgram>>;
2400
+ type CloseUnrevealedStakeAccountInput<TAccountOwner extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountMarketTokenAta extends string = string, TAccountOwnerTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountSystemProgram extends string = string> = {
2401
+ owner: TransactionSigner<TAccountOwner>;
2402
+ market: Address<TAccountMarket>;
2403
+ stakeAccount: Address<TAccountStakeAccount>;
2404
+ tokenMint: Address<TAccountTokenMint>;
2405
+ marketTokenAta: Address<TAccountMarketTokenAta>;
2406
+ ownerTokenAccount: Address<TAccountOwnerTokenAccount>;
2407
+ tokenProgram: Address<TAccountTokenProgram>;
2408
+ systemProgram?: Address<TAccountSystemProgram>;
2409
+ };
2410
+ declare function getCloseUnrevealedStakeAccountInstruction<TAccountOwner extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountMarketTokenAta extends string, TAccountOwnerTokenAccount extends string, TAccountTokenProgram extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: CloseUnrevealedStakeAccountInput<TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram, TAccountSystemProgram>, config?: {
2411
+ programAddress?: TProgramAddress;
2412
+ }): CloseUnrevealedStakeAccountInstruction<TProgramAddress, TAccountOwner, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountMarketTokenAta, TAccountOwnerTokenAccount, TAccountTokenProgram, TAccountSystemProgram>;
2413
+ type ParsedCloseUnrevealedStakeAccountInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2414
+ programAddress: Address<TProgram>;
2415
+ accounts: {
2416
+ owner: TAccountMetas[0];
2417
+ market: TAccountMetas[1];
2418
+ stakeAccount: TAccountMetas[2];
2419
+ tokenMint: TAccountMetas[3];
2420
+ marketTokenAta: TAccountMetas[4];
2421
+ ownerTokenAccount: TAccountMetas[5];
2422
+ tokenProgram: TAccountMetas[6];
2423
+ systemProgram: TAccountMetas[7];
2424
+ };
2425
+ data: CloseUnrevealedStakeAccountInstructionData;
2426
+ };
2427
+ declare function parseCloseUnrevealedStakeAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCloseUnrevealedStakeAccountInstruction<TProgram, TAccountMetas>;
2428
+
2276
2429
  /**
2277
2430
  * This code was AUTOGENERATED using the Codama library.
2278
2431
  * Please DO NOT EDIT THIS FILE, instead use visitors
@@ -2299,7 +2452,6 @@ type CreateMarketInstructionData = {
2299
2452
  discriminator: ReadonlyUint8Array;
2300
2453
  marketIndex: bigint;
2301
2454
  marketAuthority: Address;
2302
- allowUnstakingEarly: boolean;
2303
2455
  authorizedReaderPubkey: Array<number>;
2304
2456
  earlinessCutoffSeconds: bigint;
2305
2457
  earlinessMultiplier: number;
@@ -2309,7 +2461,6 @@ type CreateMarketInstructionData = {
2309
2461
  type CreateMarketInstructionDataArgs = {
2310
2462
  marketIndex: number | bigint;
2311
2463
  marketAuthority: Address;
2312
- allowUnstakingEarly: boolean;
2313
2464
  authorizedReaderPubkey: Array<number>;
2314
2465
  earlinessCutoffSeconds: number | bigint;
2315
2466
  earlinessMultiplier: number;
@@ -2332,7 +2483,6 @@ type CreateMarketAsyncInput<TAccountCreator extends string = string, TAccountPla
2332
2483
  systemProgram?: Address<TAccountSystemProgram>;
2333
2484
  marketIndex: CreateMarketInstructionDataArgs['marketIndex'];
2334
2485
  marketAuthority: CreateMarketInstructionDataArgs['marketAuthority'];
2335
- allowUnstakingEarly: CreateMarketInstructionDataArgs['allowUnstakingEarly'];
2336
2486
  authorizedReaderPubkey: CreateMarketInstructionDataArgs['authorizedReaderPubkey'];
2337
2487
  earlinessCutoffSeconds: CreateMarketInstructionDataArgs['earlinessCutoffSeconds'];
2338
2488
  earlinessMultiplier: CreateMarketInstructionDataArgs['earlinessMultiplier'];
@@ -2355,7 +2505,6 @@ type CreateMarketInput<TAccountCreator extends string = string, TAccountPlatform
2355
2505
  systemProgram?: Address<TAccountSystemProgram>;
2356
2506
  marketIndex: CreateMarketInstructionDataArgs['marketIndex'];
2357
2507
  marketAuthority: CreateMarketInstructionDataArgs['marketAuthority'];
2358
- allowUnstakingEarly: CreateMarketInstructionDataArgs['allowUnstakingEarly'];
2359
2508
  authorizedReaderPubkey: CreateMarketInstructionDataArgs['authorizedReaderPubkey'];
2360
2509
  earlinessCutoffSeconds: CreateMarketInstructionDataArgs['earlinessCutoffSeconds'];
2361
2510
  earlinessMultiplier: CreateMarketInstructionDataArgs['earlinessMultiplier'];
@@ -3695,7 +3844,6 @@ interface CreateMarketParams extends BaseInstructionParams {
3695
3844
  tokenProgram: Address;
3696
3845
  marketIndex: bigint;
3697
3846
  marketAuthority: Address;
3698
- allowUnstakingEarly: boolean;
3699
3847
  authorizedReaderPubkey: ByteArray;
3700
3848
  earlinessCutoffSeconds: bigint;
3701
3849
  earlinessMultiplier: number;
@@ -3807,7 +3955,6 @@ interface AddRewardParams extends BaseInstructionParams {
3807
3955
  sponsorTokenAccount: Address;
3808
3956
  tokenProgram: Address;
3809
3957
  amount: bigint;
3810
- lock: boolean;
3811
3958
  }
3812
3959
  declare function addReward(input: AddRewardParams): Promise<AddRewardInstruction<string>>;
3813
3960
 
@@ -3826,17 +3973,38 @@ interface InitAllowedMintParams extends BaseInstructionParams {
3826
3973
  }
3827
3974
  declare function initAllowedMint(input: InitAllowedMintParams): Promise<InitAllowedMintInstruction<string>>;
3828
3975
 
3976
+ interface ClaimRewardsParams extends BaseInstructionParams {
3977
+ owner: TransactionSigner;
3978
+ market: Address;
3979
+ stakeAccount: Address;
3980
+ option: Address;
3981
+ tokenMint: Address;
3982
+ ownerTokenAccount: Address;
3983
+ tokenProgram: Address;
3984
+ }
3985
+ declare function claimRewards(input: ClaimRewardsParams): Promise<ClaimRewardsInstruction<string>>;
3986
+
3829
3987
  interface CloseStakeAccountParams extends BaseInstructionParams {
3830
3988
  owner: TransactionSigner;
3831
3989
  market: Address;
3990
+ stakeAccount: Address;
3991
+ option: Address;
3832
3992
  tokenMint: Address;
3833
3993
  ownerTokenAccount: Address;
3834
3994
  tokenProgram: Address;
3835
- optionId: number | bigint;
3836
- stakeAccountId: number;
3837
3995
  }
3838
3996
  declare function closeStakeAccount(input: CloseStakeAccountParams): Promise<CloseStakeAccountInstruction<string>>;
3839
3997
 
3998
+ interface CloseUnrevealedStakeAccountParams extends BaseInstructionParams {
3999
+ owner: TransactionSigner;
4000
+ market: Address;
4001
+ stakeAccount: Address;
4002
+ tokenMint: Address;
4003
+ ownerTokenAccount: Address;
4004
+ tokenProgram: Address;
4005
+ }
4006
+ declare function closeUnrevealedStakeAccount(input: CloseUnrevealedStakeAccountParams): Promise<CloseUnrevealedStakeAccountInstruction<string>>;
4007
+
3840
4008
  interface CloseStuckStakeAccountParams extends BaseInstructionParams {
3841
4009
  signer: TransactionSigner;
3842
4010
  market: Address;
@@ -3987,4 +4155,4 @@ declare function deriveSharedSecret(userSecretKey: Uint8Array, mxePublicKey: Uin
3987
4155
  declare function createCipher(userSecretKey: Uint8Array, mxePublicKey: Uint8Array): RescueCipher;
3988
4156
  declare function nonceToBytes(nonce: bigint): Uint8Array;
3989
4157
 
3990
- export { ADD_MARKET_OPTION_DISCRIMINATOR, ADD_REWARD_DISCRIMINATOR, ALLOWED_MINT_DISCRIMINATOR, ALLOWED_MINT_SEED, 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 AllowedMint, type AllowedMintArgs, type AllowedMintInitializedEvent, type AllowedMintInitializedEventArgs, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, type BaseInstructionParams, type ByteArray, CLAIM_CREATOR_FEES_DISCRIMINATOR, CLAIM_FEES_DISCRIMINATOR, CLOSE_OPTION_ACCOUNT_DISCRIMINATOR, CLOSE_STAKE_ACCOUNT_DISCRIMINATOR, CLOSE_STUCK_STAKE_ACCOUNT_DISCRIMINATOR, CREATE_MARKET_DISCRIMINATOR, type CircuitSource, type CircuitSourceArgs, type ClaimCreatorFeesAsyncInput, type ClaimCreatorFeesInput, type ClaimCreatorFeesInstruction, type ClaimCreatorFeesInstructionData, type ClaimCreatorFeesInstructionDataArgs, type ClaimCreatorFeesParams, type ClaimFeesAsyncInput, type ClaimFeesInput, type ClaimFeesInstruction, type ClaimFeesInstructionData, type ClaimFeesInstructionDataArgs, type ClaimFeesParams, type ClockAccount, type ClockAccountArgs, type CloseOptionAccountAsyncInput, type CloseOptionAccountInput, type CloseOptionAccountInstruction, type CloseOptionAccountInstructionData, type CloseOptionAccountInstructionDataArgs, type CloseOptionAccountParams, 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 CollectedFees, type CollectedFeesArgs, type CompDefCircuitName, type ComputationDefinitionAccount, type ComputationDefinitionAccountArgs, type ComputationDefinitionMeta, type ComputationDefinitionMetaArgs, type ComputationSignature, type ComputationSignatureArgs, type CreateMarketAsyncInput, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketParams, type CreatePlatformConfigParams, type CreatorFeesClaimedEvent, type CreatorFeesClaimedEventArgs, END_REVEAL_PERIOD_DISCRIMINATOR, type EndRevealPeriodInput, type EndRevealPeriodInstruction, type EndRevealPeriodInstructionData, type EndRevealPeriodInstructionDataArgs, type EndRevealPeriodParams, type Epoch, type EpochArgs, FINALIZE_REVEAL_STAKE_DISCRIMINATOR, type FeeClaimAuthorityChangedEvent, type FeeClaimAuthorityChangedEventArgs, type FeePool, type FeePoolArgs, type FeeRates, type FeeRatesArgs, type FeesClaimedEvent, type FeesClaimedEventArgs, type FinalizeRevealStakeAsyncInput, type FinalizeRevealStakeInput, type FinalizeRevealStakeInstruction, type FinalizeRevealStakeInstructionData, type FinalizeRevealStakeInstructionDataArgs, type FinalizeRevealStakeParams, INIT_ALLOWED_MINT_DISCRIMINATOR, INIT_PLATFORM_CONFIG_DISCRIMINATOR, INIT_STAKE_ACCOUNT_DISCRIMINATOR, type InitAllowedMintAsyncInput, type InitAllowedMintInput, type InitAllowedMintInstruction, type InitAllowedMintInstructionData, type InitAllowedMintInstructionDataArgs, type InitAllowedMintParams, type InitCompDefConfig, type InitPlatformConfigAsyncInput, type InitPlatformConfigInput, type InitPlatformConfigInstruction, type InitPlatformConfigInstructionData, type InitPlatformConfigInstructionDataArgs, type InitStakeAccountAsyncInput, type InitStakeAccountInput, type InitStakeAccountInstruction, type InitStakeAccountInstructionData, type InitStakeAccountInstructionDataArgs, type InitStakeAccountParams, LocalCircuitSource, type LocalCircuitSourceArgs, type MXEAccount, type MXEAccountArgs, type MarketCreatedEvent, type MarketCreatedEventArgs, type MarketOpenedEvent, type MarketOpenedEventArgs, type MarketOptionCreatedEvent, type MarketOptionCreatedEventArgs, type MarketResolvedEvent, type MarketResolvedEventArgs, 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__CREATOR_MISMATCH, 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_FEE_RATES, OPPORTUNITY_MARKET_ERROR__INVALID_MINT, OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID, OPPORTUNITY_MARKET_ERROR__INVALID_PARAMETERS, 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__NO_FINALIZED_WINNING_OPTION, OPPORTUNITY_MARKET_ERROR__NO_REWARD_TO_CLAIM, OPPORTUNITY_MARKET_ERROR__NO_STAKE, OPPORTUNITY_MARKET_ERROR__OPTION_STILL_NEEDED, OPPORTUNITY_MARKET_ERROR__OVERFLOW, OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED, OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_NOT_OVER, OPPORTUNITY_MARKET_ERROR__REWARD_ALREADY_CLAIMED, OPPORTUNITY_MARKET_ERROR__SELECT_OPTIONS_DEADLINE_PASSED, OPPORTUNITY_MARKET_ERROR__STAKE_BELOW_MINIMUM, OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK, OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED, OPPORTUNITY_MARKET_ERROR__TIME_WINDOW_MISMATCH, OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED, 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, type OptionClosedEvent, type OptionClosedEventArgs, Output, type OutputArgs, PLATFORM_CONFIG_DISCRIMINATOR, PLATFORM_CONFIG_SEED, Parameter, type ParameterArgs, type ParsedAddMarketOptionInstruction, type ParsedAddRewardInstruction, type ParsedClaimCreatorFeesInstruction, type ParsedClaimFeesInstruction, type ParsedCloseOptionAccountInstruction, type ParsedCloseStakeAccountInstruction, type ParsedCloseStuckStakeAccountInstruction, type ParsedCreateMarketInstruction, type ParsedEndRevealPeriodInstruction, type ParsedFinalizeRevealStakeInstruction, type ParsedInitAllowedMintInstruction, type ParsedInitPlatformConfigInstruction, type ParsedInitStakeAccountInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedResolveMarketInstruction, type ParsedRevealStakeCallbackInstruction, type ParsedRevealStakeCompDefInstruction, type ParsedRevealStakeInstruction, type ParsedSetFeeClaimAuthorityInstruction, type ParsedSetUpdateAuthorityInstruction, type ParsedSetWinningOptionInstruction, type ParsedStakeCallbackInstruction, type ParsedStakeCompDefInstruction, type ParsedStakeInstruction, type ParsedUnstakeInstruction, type ParsedUpdatePlatformConfigInstruction, type ParsedWithdrawRewardInstruction, type PlatformConfig, type PlatformConfigArgs, RESOLVE_MARKET_DISCRIMINATOR, REVEAL_STAKE_CALLBACK_DISCRIMINATOR, REVEAL_STAKE_COMP_DEF_DISCRIMINATOR, REVEAL_STAKE_DISCRIMINATOR, type ResolveMarketInput, type ResolveMarketInstruction, type ResolveMarketInstructionData, type ResolveMarketInstructionDataArgs, type ResolveMarketParams, type RevealPeriodEndedEvent, type RevealPeriodEndedEventArgs, type RevealStakeAsyncInput, type RevealStakeCallbackInput, type RevealStakeCallbackInstruction, type RevealStakeCallbackInstructionData, type RevealStakeCallbackInstructionDataArgs, type RevealStakeCompDefInput, type RevealStakeCompDefInstruction, type RevealStakeCompDefInstructionData, type RevealStakeCompDefInstructionDataArgs, type RevealStakeFinalizedEvent, type RevealStakeFinalizedEventArgs, type RevealStakeInput, type RevealStakeInstruction, type RevealStakeInstructionData, type RevealStakeInstructionDataArgs, type RevealStakeOutput, type RevealStakeOutputArgs, type RevealStakeParams, type RewardAddedEvent, type RewardAddedEventArgs, type RewardWithdrawnEvent, type RewardWithdrawnEventArgs, SET_FEE_CLAIM_AUTHORITY_DISCRIMINATOR, SET_UPDATE_AUTHORITY_DISCRIMINATOR, SET_WINNING_OPTION_DISCRIMINATOR, SPONSOR_SEED, STAKE_ACCOUNT_DISCRIMINATOR, STAKE_ACCOUNT_SEED, STAKE_CALLBACK_DISCRIMINATOR, STAKE_COMP_DEF_DISCRIMINATOR, STAKE_DISCRIMINATOR, type SetFeeClaimAuthorityInput, type SetFeeClaimAuthorityInstruction, type SetFeeClaimAuthorityInstructionData, type SetFeeClaimAuthorityInstructionDataArgs, type SetFeeClaimAuthorityParams, type SetUpdateAuthorityInput, type SetUpdateAuthorityInstruction, type SetUpdateAuthorityInstructionData, type SetUpdateAuthorityInstructionDataArgs, type SetUpdateAuthorityParams, type SetWinningOptionAsyncInput, type SetWinningOptionInput, type SetWinningOptionInstruction, type SetWinningOptionInstructionData, type SetWinningOptionInstructionDataArgs, type SetWinningOptionParams, type StakeAccount, type StakeAccountArgs, type StakeAccountClosedEvent, type StakeAccountClosedEventArgs, 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 StakeRevealedEvent, type StakeRevealedEventArgs, type StakedEvent, type StakedEventArgs, type StuckStakeClosedEvent, type StuckStakeClosedEventArgs, type Timestamp, type TimestampArgs, UNSTAKE_DISCRIMINATOR, UPDATE_PLATFORM_CONFIG_DISCRIMINATOR, type UnstakeAsyncInput, type UnstakeInput, type UnstakeInstruction, type UnstakeInstructionData, type UnstakeInstructionDataArgs, type UnstakeParams, type UnstakedEvent, type UnstakedEventArgs, type UpdateAuthorityChangedEvent, type UpdateAuthorityChangedEventArgs, type UpdatePlatformConfigInput, type UpdatePlatformConfigInstruction, type UpdatePlatformConfigInstructionData, type UpdatePlatformConfigInstructionDataArgs, type UpdatePlatformConfigParams, type UtilityPubkeys, type UtilityPubkeysArgs, WITHDRAW_REWARD_DISCRIMINATOR, type WinningOptionSetEvent, type WinningOptionSetEventArgs, type WithdrawRewardAsyncInput, type WithdrawRewardInput, type WithdrawRewardInstruction, type WithdrawRewardInstructionData, type WithdrawRewardInstructionDataArgs, type WithdrawRewardParams, type X25519Keypair, addMarketOption, addReward, awaitComputationFinalization, awaitRevealStakeFinalization, awaitStakeFinalization, circuitSource, claimCreatorFees, claimFees, closeOptionAccount, closeStakeAccount, closeStuckStakeAccount, createCipher, createMarket, createPlatformConfig, decodeAllowedMint, decodeArciumSignerAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeOpportunityMarketSponsor, decodePlatformConfig, decodeStakeAccount, deriveSharedSecret, deriveX25519KeypairFromSignature, endRevealPeriod, fetchAllAllowedMint, fetchAllArciumSignerAccount, fetchAllMaybeAllowedMint, fetchAllMaybeArciumSignerAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeOpportunityMarketSponsor, fetchAllMaybePlatformConfig, fetchAllMaybeStakeAccount, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllOpportunityMarketSponsor, fetchAllPlatformConfig, fetchAllStakeAccount, fetchAllowedMint, fetchArciumSignerAccount, fetchMaybeAllowedMint, fetchMaybeArciumSignerAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeOpportunityMarketSponsor, fetchMaybePlatformConfig, fetchMaybeStakeAccount, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchOpportunityMarketSponsor, fetchPlatformConfig, fetchStakeAccount, finalizeRevealStake, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddRewardDiscriminatorBytes, getAddRewardInstruction, getAddRewardInstructionAsync, getAddRewardInstructionDataCodec, getAddRewardInstructionDataDecoder, getAddRewardInstructionDataEncoder, getAllowedMintAddress, getAllowedMintCodec, getAllowedMintDecoder, getAllowedMintDiscriminatorBytes, getAllowedMintEncoder, getAllowedMintInitializedEventCodec, getAllowedMintInitializedEventDecoder, getAllowedMintInitializedEventEncoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimCreatorFeesDiscriminatorBytes, getClaimCreatorFeesInstruction, getClaimCreatorFeesInstructionAsync, getClaimCreatorFeesInstructionDataCodec, getClaimCreatorFeesInstructionDataDecoder, getClaimCreatorFeesInstructionDataEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountEncoder, getCloseOptionAccountDiscriminatorBytes, getCloseOptionAccountInstruction, getCloseOptionAccountInstructionAsync, getCloseOptionAccountInstructionDataCodec, getCloseOptionAccountInstructionDataDecoder, getCloseOptionAccountInstructionDataEncoder, getCloseStakeAccountDiscriminatorBytes, getCloseStakeAccountInstruction, getCloseStakeAccountInstructionAsync, getCloseStakeAccountInstructionDataCodec, getCloseStakeAccountInstructionDataDecoder, getCloseStakeAccountInstructionDataEncoder, getCloseStuckStakeAccountDiscriminatorBytes, getCloseStuckStakeAccountInstruction, getCloseStuckStakeAccountInstructionAsync, getCloseStuckStakeAccountInstructionDataCodec, getCloseStuckStakeAccountInstructionDataDecoder, getCloseStuckStakeAccountInstructionDataEncoder, getClusterCodec, getClusterDecoder, getClusterEncoder, getCollectedFeesCodec, getCollectedFeesDecoder, getCollectedFeesEncoder, getCompDefAccount, getCompDefOffsetNumber, getComputationDefinitionAccountCodec, getComputationDefinitionAccountDecoder, getComputationDefinitionAccountEncoder, getComputationDefinitionMetaCodec, getComputationDefinitionMetaDecoder, getComputationDefinitionMetaEncoder, getComputationSignatureCodec, getComputationSignatureDecoder, getComputationSignatureEncoder, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionAsync, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getCreatorFeesClaimedEventCodec, getCreatorFeesClaimedEventDecoder, getCreatorFeesClaimedEventEncoder, getEndRevealPeriodDiscriminatorBytes, getEndRevealPeriodInstruction, getEndRevealPeriodInstructionDataCodec, getEndRevealPeriodInstructionDataDecoder, getEndRevealPeriodInstructionDataEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getFeeClaimAuthorityChangedEventCodec, getFeeClaimAuthorityChangedEventDecoder, getFeeClaimAuthorityChangedEventEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolEncoder, getFeeRatesCodec, getFeeRatesDecoder, getFeeRatesEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getFinalizeRevealStakeDiscriminatorBytes, getFinalizeRevealStakeInstruction, getFinalizeRevealStakeInstructionAsync, getFinalizeRevealStakeInstructionDataCodec, getFinalizeRevealStakeInstructionDataDecoder, getFinalizeRevealStakeInstructionDataEncoder, getInitAllowedMintDiscriminatorBytes, getInitAllowedMintInstruction, getInitAllowedMintInstructionAsync, getInitAllowedMintInstructionDataCodec, getInitAllowedMintInstructionDataDecoder, getInitAllowedMintInstructionDataEncoder, getInitCompDefInstruction, getInitPlatformConfigDiscriminatorBytes, getInitPlatformConfigInstruction, getInitPlatformConfigInstructionAsync, getInitPlatformConfigInstructionDataCodec, getInitPlatformConfigInstructionDataDecoder, getInitPlatformConfigInstructionDataEncoder, getInitStakeAccountDiscriminatorBytes, getInitStakeAccountInstruction, getInitStakeAccountInstructionAsync, getInitStakeAccountInstructionDataCodec, getInitStakeAccountInstructionDataDecoder, getInitStakeAccountInstructionDataEncoder, getLocalCircuitSourceCodec, getLocalCircuitSourceDecoder, getLocalCircuitSourceEncoder, getMXEAccountCodec, getMXEAccountDecoder, getMXEAccountEncoder, getMarketCreatedEventCodec, getMarketCreatedEventDecoder, getMarketCreatedEventEncoder, getMarketOpenedEventCodec, getMarketOpenedEventDecoder, getMarketOpenedEventEncoder, getMarketOptionCreatedEventCodec, getMarketOptionCreatedEventDecoder, getMarketOptionCreatedEventEncoder, getMarketResolvedEventCodec, getMarketResolvedEventDecoder, getMarketResolvedEventEncoder, 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, getOptionClosedEventCodec, getOptionClosedEventDecoder, getOptionClosedEventEncoder, getOutputCodec, getOutputDecoder, getOutputEncoder, getParameterCodec, getParameterDecoder, getParameterEncoder, getPlatformConfigAddress, getPlatformConfigCodec, getPlatformConfigDecoder, getPlatformConfigDiscriminatorBytes, getPlatformConfigEncoder, getResolveMarketDiscriminatorBytes, getResolveMarketInstruction, getResolveMarketInstructionDataCodec, getResolveMarketInstructionDataDecoder, getResolveMarketInstructionDataEncoder, getRevealPeriodEndedEventCodec, getRevealPeriodEndedEventDecoder, getRevealPeriodEndedEventEncoder, getRevealStakeCallbackDiscriminatorBytes, getRevealStakeCallbackInstruction, getRevealStakeCallbackInstructionDataCodec, getRevealStakeCallbackInstructionDataDecoder, getRevealStakeCallbackInstructionDataEncoder, getRevealStakeCompDefDiscriminatorBytes, getRevealStakeCompDefInstruction, getRevealStakeCompDefInstructionDataCodec, getRevealStakeCompDefInstructionDataDecoder, getRevealStakeCompDefInstructionDataEncoder, getRevealStakeDiscriminatorBytes, getRevealStakeFinalizedEventCodec, getRevealStakeFinalizedEventDecoder, getRevealStakeFinalizedEventEncoder, getRevealStakeInstruction, getRevealStakeInstructionAsync, getRevealStakeInstructionDataCodec, getRevealStakeInstructionDataDecoder, getRevealStakeInstructionDataEncoder, getRevealStakeOutputCodec, getRevealStakeOutputDecoder, getRevealStakeOutputEncoder, getRewardAddedEventCodec, getRewardAddedEventDecoder, getRewardAddedEventEncoder, getRewardWithdrawnEventCodec, getRewardWithdrawnEventDecoder, getRewardWithdrawnEventEncoder, getSetFeeClaimAuthorityDiscriminatorBytes, getSetFeeClaimAuthorityInstruction, getSetFeeClaimAuthorityInstructionDataCodec, getSetFeeClaimAuthorityInstructionDataDecoder, getSetFeeClaimAuthorityInstructionDataEncoder, getSetUpdateAuthorityDiscriminatorBytes, getSetUpdateAuthorityInstruction, getSetUpdateAuthorityInstructionDataCodec, getSetUpdateAuthorityInstructionDataDecoder, getSetUpdateAuthorityInstructionDataEncoder, getSetWinningOptionDiscriminatorBytes, getSetWinningOptionInstruction, getSetWinningOptionInstructionAsync, getSetWinningOptionInstructionDataCodec, getSetWinningOptionInstructionDataDecoder, getSetWinningOptionInstructionDataEncoder, getStakeAccountAddress, getStakeAccountClosedEventCodec, getStakeAccountClosedEventDecoder, getStakeAccountClosedEventEncoder, 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, getStakeRevealedEventCodec, getStakeRevealedEventDecoder, getStakeRevealedEventEncoder, getStakedEventCodec, getStakedEventDecoder, getStakedEventEncoder, getStuckStakeClosedEventCodec, getStuckStakeClosedEventDecoder, getStuckStakeClosedEventEncoder, getTimestampCodec, getTimestampDecoder, getTimestampEncoder, getUnstakeDiscriminatorBytes, getUnstakeInstruction, getUnstakeInstructionAsync, getUnstakeInstructionDataCodec, getUnstakeInstructionDataDecoder, getUnstakeInstructionDataEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUpdateAuthorityChangedEventCodec, getUpdateAuthorityChangedEventDecoder, getUpdateAuthorityChangedEventEncoder, getUpdatePlatformConfigDiscriminatorBytes, getUpdatePlatformConfigInstruction, getUpdatePlatformConfigInstructionDataCodec, getUpdatePlatformConfigInstructionDataDecoder, getUpdatePlatformConfigInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionSetEventCodec, getWinningOptionSetEventDecoder, getWinningOptionSetEventEncoder, getWithdrawRewardDiscriminatorBytes, getWithdrawRewardInstruction, getWithdrawRewardInstructionAsync, getWithdrawRewardInstructionDataCodec, getWithdrawRewardInstructionDataDecoder, getWithdrawRewardInstructionDataEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, initAllowedMint, initStakeAccount, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionInstruction, parseAddRewardInstruction, parseClaimCreatorFeesInstruction, parseClaimFeesInstruction, parseCloseOptionAccountInstruction, parseCloseStakeAccountInstruction, parseCloseStuckStakeAccountInstruction, parseCreateMarketInstruction, parseEndRevealPeriodInstruction, parseFinalizeRevealStakeInstruction, parseInitAllowedMintInstruction, parseInitPlatformConfigInstruction, parseInitStakeAccountInstruction, parseOpenMarketInstruction, parseResolveMarketInstruction, parseRevealStakeCallbackInstruction, parseRevealStakeCompDefInstruction, parseRevealStakeInstruction, parseSetFeeClaimAuthorityInstruction, parseSetUpdateAuthorityInstruction, parseSetWinningOptionInstruction, parseStakeCallbackInstruction, parseStakeCompDefInstruction, parseStakeInstruction, parseUnstakeInstruction, parseUpdatePlatformConfigInstruction, parseWithdrawRewardInstruction, randomComputationOffset, randomStateNonce, resolveMarket, revealStake, setFeeClaimAuthority, setUpdateAuthority, setWinningOption, stake, toNumberArray, unstake, updatePlatformConfig, withdrawReward };
4158
+ export { ADD_MARKET_OPTION_DISCRIMINATOR, ADD_REWARD_DISCRIMINATOR, ALLOWED_MINT_DISCRIMINATOR, ALLOWED_MINT_SEED, 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 AllowedMint, type AllowedMintArgs, type AllowedMintInitializedEvent, type AllowedMintInitializedEventArgs, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, type BaseInstructionParams, type ByteArray, CLAIM_CREATOR_FEES_DISCRIMINATOR, CLAIM_FEES_DISCRIMINATOR, CLAIM_REWARDS_DISCRIMINATOR, CLOSE_OPTION_ACCOUNT_DISCRIMINATOR, CLOSE_STAKE_ACCOUNT_DISCRIMINATOR, CLOSE_STUCK_STAKE_ACCOUNT_DISCRIMINATOR, CLOSE_UNREVEALED_STAKE_ACCOUNT_DISCRIMINATOR, CREATE_MARKET_DISCRIMINATOR, type CircuitSource, type CircuitSourceArgs, type ClaimCreatorFeesAsyncInput, type ClaimCreatorFeesInput, type ClaimCreatorFeesInstruction, type ClaimCreatorFeesInstructionData, type ClaimCreatorFeesInstructionDataArgs, type ClaimCreatorFeesParams, type ClaimFeesAsyncInput, type ClaimFeesInput, type ClaimFeesInstruction, type ClaimFeesInstructionData, type ClaimFeesInstructionDataArgs, type ClaimFeesParams, type ClaimRewardsAsyncInput, type ClaimRewardsInput, type ClaimRewardsInstruction, type ClaimRewardsInstructionData, type ClaimRewardsInstructionDataArgs, type ClaimRewardsParams, type ClockAccount, type ClockAccountArgs, type CloseOptionAccountAsyncInput, type CloseOptionAccountInput, type CloseOptionAccountInstruction, type CloseOptionAccountInstructionData, type CloseOptionAccountInstructionDataArgs, type CloseOptionAccountParams, 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 CloseUnrevealedStakeAccountAsyncInput, type CloseUnrevealedStakeAccountInput, type CloseUnrevealedStakeAccountInstruction, type CloseUnrevealedStakeAccountInstructionData, type CloseUnrevealedStakeAccountInstructionDataArgs, type CloseUnrevealedStakeAccountParams, type Cluster, type ClusterArgs, type CollectedFees, type CollectedFeesArgs, type CompDefCircuitName, type ComputationDefinitionAccount, type ComputationDefinitionAccountArgs, type ComputationDefinitionMeta, type ComputationDefinitionMetaArgs, type ComputationSignature, type ComputationSignatureArgs, type CreateMarketAsyncInput, type CreateMarketInput, type CreateMarketInstruction, type CreateMarketInstructionData, type CreateMarketInstructionDataArgs, type CreateMarketParams, type CreatePlatformConfigParams, type CreatorFeesClaimedEvent, type CreatorFeesClaimedEventArgs, END_REVEAL_PERIOD_DISCRIMINATOR, type EndRevealPeriodInput, type EndRevealPeriodInstruction, type EndRevealPeriodInstructionData, type EndRevealPeriodInstructionDataArgs, type EndRevealPeriodParams, type Epoch, type EpochArgs, FINALIZE_REVEAL_STAKE_DISCRIMINATOR, type FeeClaimAuthorityChangedEvent, type FeeClaimAuthorityChangedEventArgs, type FeePool, type FeePoolArgs, type FeeRates, type FeeRatesArgs, type FeesClaimedEvent, type FeesClaimedEventArgs, type FinalizeRevealStakeAsyncInput, type FinalizeRevealStakeInput, type FinalizeRevealStakeInstruction, type FinalizeRevealStakeInstructionData, type FinalizeRevealStakeInstructionDataArgs, type FinalizeRevealStakeParams, INIT_ALLOWED_MINT_DISCRIMINATOR, INIT_PLATFORM_CONFIG_DISCRIMINATOR, INIT_STAKE_ACCOUNT_DISCRIMINATOR, type InitAllowedMintAsyncInput, type InitAllowedMintInput, type InitAllowedMintInstruction, type InitAllowedMintInstructionData, type InitAllowedMintInstructionDataArgs, type InitAllowedMintParams, type InitCompDefConfig, type InitPlatformConfigAsyncInput, type InitPlatformConfigInput, type InitPlatformConfigInstruction, type InitPlatformConfigInstructionData, type InitPlatformConfigInstructionDataArgs, type InitStakeAccountAsyncInput, type InitStakeAccountInput, type InitStakeAccountInstruction, type InitStakeAccountInstructionData, type InitStakeAccountInstructionDataArgs, type InitStakeAccountParams, LocalCircuitSource, type LocalCircuitSourceArgs, type MXEAccount, type MXEAccountArgs, type MarketCreatedEvent, type MarketCreatedEventArgs, type MarketOpenedEvent, type MarketOpenedEventArgs, type MarketOptionCreatedEvent, type MarketOptionCreatedEventArgs, type MarketResolvedEvent, type MarketResolvedEventArgs, 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__CREATOR_MISMATCH, 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_FEE_RATES, OPPORTUNITY_MARKET_ERROR__INVALID_MINT, OPPORTUNITY_MARKET_ERROR__INVALID_OPTION_ID, OPPORTUNITY_MARKET_ERROR__INVALID_PARAMETERS, 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__NO_FINALIZED_WINNING_OPTION, OPPORTUNITY_MARKET_ERROR__NO_REWARD_TO_CLAIM, OPPORTUNITY_MARKET_ERROR__NO_STAKE, OPPORTUNITY_MARKET_ERROR__OPTION_STILL_NEEDED, OPPORTUNITY_MARKET_ERROR__OVERFLOW, OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_ENDED, OPPORTUNITY_MARKET_ERROR__REVEAL_PERIOD_NOT_OVER, OPPORTUNITY_MARKET_ERROR__REWARD_ALREADY_CLAIMED, OPPORTUNITY_MARKET_ERROR__SELECT_OPTIONS_DEADLINE_PASSED, OPPORTUNITY_MARKET_ERROR__STAKE_BELOW_MINIMUM, OPPORTUNITY_MARKET_ERROR__STAKE_NOT_STUCK, OPPORTUNITY_MARKET_ERROR__TALLY_ALREADY_INCREMENTED, OPPORTUNITY_MARKET_ERROR__TIME_WINDOW_MISMATCH, OPPORTUNITY_MARKET_ERROR__UNAUTHORIZED, 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, type OptionClosedEvent, type OptionClosedEventArgs, Output, type OutputArgs, PLATFORM_CONFIG_DISCRIMINATOR, PLATFORM_CONFIG_SEED, Parameter, type ParameterArgs, type ParsedAddMarketOptionInstruction, type ParsedAddRewardInstruction, type ParsedClaimCreatorFeesInstruction, type ParsedClaimFeesInstruction, type ParsedClaimRewardsInstruction, type ParsedCloseOptionAccountInstruction, type ParsedCloseStakeAccountInstruction, type ParsedCloseStuckStakeAccountInstruction, type ParsedCloseUnrevealedStakeAccountInstruction, type ParsedCreateMarketInstruction, type ParsedEndRevealPeriodInstruction, type ParsedFinalizeRevealStakeInstruction, type ParsedInitAllowedMintInstruction, type ParsedInitPlatformConfigInstruction, type ParsedInitStakeAccountInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedResolveMarketInstruction, type ParsedRevealStakeCallbackInstruction, type ParsedRevealStakeCompDefInstruction, type ParsedRevealStakeInstruction, type ParsedSetFeeClaimAuthorityInstruction, type ParsedSetUpdateAuthorityInstruction, type ParsedSetWinningOptionInstruction, type ParsedStakeCallbackInstruction, type ParsedStakeCompDefInstruction, type ParsedStakeInstruction, type ParsedUnstakeInstruction, type ParsedUpdatePlatformConfigInstruction, type ParsedWithdrawRewardInstruction, type PlatformConfig, type PlatformConfigArgs, RESOLVE_MARKET_DISCRIMINATOR, REVEAL_STAKE_CALLBACK_DISCRIMINATOR, REVEAL_STAKE_COMP_DEF_DISCRIMINATOR, REVEAL_STAKE_DISCRIMINATOR, type ResolveMarketInput, type ResolveMarketInstruction, type ResolveMarketInstructionData, type ResolveMarketInstructionDataArgs, type ResolveMarketParams, type RevealPeriodEndedEvent, type RevealPeriodEndedEventArgs, type RevealStakeAsyncInput, type RevealStakeCallbackInput, type RevealStakeCallbackInstruction, type RevealStakeCallbackInstructionData, type RevealStakeCallbackInstructionDataArgs, type RevealStakeCompDefInput, type RevealStakeCompDefInstruction, type RevealStakeCompDefInstructionData, type RevealStakeCompDefInstructionDataArgs, type RevealStakeFinalizedEvent, type RevealStakeFinalizedEventArgs, type RevealStakeInput, type RevealStakeInstruction, type RevealStakeInstructionData, type RevealStakeInstructionDataArgs, type RevealStakeOutput, type RevealStakeOutputArgs, type RevealStakeParams, type RewardAddedEvent, type RewardAddedEventArgs, type RewardWithdrawnEvent, type RewardWithdrawnEventArgs, type RewardsClaimedEvent, type RewardsClaimedEventArgs, SET_FEE_CLAIM_AUTHORITY_DISCRIMINATOR, SET_UPDATE_AUTHORITY_DISCRIMINATOR, SET_WINNING_OPTION_DISCRIMINATOR, SPONSOR_SEED, STAKE_ACCOUNT_DISCRIMINATOR, STAKE_ACCOUNT_SEED, STAKE_CALLBACK_DISCRIMINATOR, STAKE_COMP_DEF_DISCRIMINATOR, STAKE_DISCRIMINATOR, type SetFeeClaimAuthorityInput, type SetFeeClaimAuthorityInstruction, type SetFeeClaimAuthorityInstructionData, type SetFeeClaimAuthorityInstructionDataArgs, type SetFeeClaimAuthorityParams, type SetUpdateAuthorityInput, type SetUpdateAuthorityInstruction, type SetUpdateAuthorityInstructionData, type SetUpdateAuthorityInstructionDataArgs, type SetUpdateAuthorityParams, type SetWinningOptionAsyncInput, type SetWinningOptionInput, type SetWinningOptionInstruction, type SetWinningOptionInstructionData, type SetWinningOptionInstructionDataArgs, type SetWinningOptionParams, type StakeAccount, type StakeAccountArgs, type StakeAccountClosedEvent, type StakeAccountClosedEventArgs, 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 StakeRevealedEvent, type StakeRevealedEventArgs, type StakedEvent, type StakedEventArgs, type StuckStakeClosedEvent, type StuckStakeClosedEventArgs, type Timestamp, type TimestampArgs, UNSTAKE_DISCRIMINATOR, UPDATE_PLATFORM_CONFIG_DISCRIMINATOR, type UnstakeAsyncInput, type UnstakeInput, type UnstakeInstruction, type UnstakeInstructionData, type UnstakeInstructionDataArgs, type UnstakeParams, type UnstakedEvent, type UnstakedEventArgs, type UpdateAuthorityChangedEvent, type UpdateAuthorityChangedEventArgs, type UpdatePlatformConfigInput, type UpdatePlatformConfigInstruction, type UpdatePlatformConfigInstructionData, type UpdatePlatformConfigInstructionDataArgs, type UpdatePlatformConfigParams, type UtilityPubkeys, type UtilityPubkeysArgs, WITHDRAW_REWARD_DISCRIMINATOR, type WinningOptionSetEvent, type WinningOptionSetEventArgs, type WithdrawRewardAsyncInput, type WithdrawRewardInput, type WithdrawRewardInstruction, type WithdrawRewardInstructionData, type WithdrawRewardInstructionDataArgs, type WithdrawRewardParams, type X25519Keypair, addMarketOption, addReward, awaitComputationFinalization, awaitRevealStakeFinalization, awaitStakeFinalization, circuitSource, claimCreatorFees, claimFees, claimRewards, closeOptionAccount, closeStakeAccount, closeStuckStakeAccount, closeUnrevealedStakeAccount, createCipher, createMarket, createPlatformConfig, decodeAllowedMint, decodeArciumSignerAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeOpportunityMarketSponsor, decodePlatformConfig, decodeStakeAccount, deriveSharedSecret, deriveX25519KeypairFromSignature, endRevealPeriod, fetchAllAllowedMint, fetchAllArciumSignerAccount, fetchAllMaybeAllowedMint, fetchAllMaybeArciumSignerAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeOpportunityMarketSponsor, fetchAllMaybePlatformConfig, fetchAllMaybeStakeAccount, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllOpportunityMarketSponsor, fetchAllPlatformConfig, fetchAllStakeAccount, fetchAllowedMint, fetchArciumSignerAccount, fetchMaybeAllowedMint, fetchMaybeArciumSignerAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeOpportunityMarketSponsor, fetchMaybePlatformConfig, fetchMaybeStakeAccount, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchOpportunityMarketSponsor, fetchPlatformConfig, fetchStakeAccount, finalizeRevealStake, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddRewardDiscriminatorBytes, getAddRewardInstruction, getAddRewardInstructionAsync, getAddRewardInstructionDataCodec, getAddRewardInstructionDataDecoder, getAddRewardInstructionDataEncoder, getAllowedMintAddress, getAllowedMintCodec, getAllowedMintDecoder, getAllowedMintDiscriminatorBytes, getAllowedMintEncoder, getAllowedMintInitializedEventCodec, getAllowedMintInitializedEventDecoder, getAllowedMintInitializedEventEncoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimCreatorFeesDiscriminatorBytes, getClaimCreatorFeesInstruction, getClaimCreatorFeesInstructionAsync, getClaimCreatorFeesInstructionDataCodec, getClaimCreatorFeesInstructionDataDecoder, getClaimCreatorFeesInstructionDataEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClaimRewardsDiscriminatorBytes, getClaimRewardsInstruction, getClaimRewardsInstructionAsync, getClaimRewardsInstructionDataCodec, getClaimRewardsInstructionDataDecoder, getClaimRewardsInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountEncoder, getCloseOptionAccountDiscriminatorBytes, getCloseOptionAccountInstruction, getCloseOptionAccountInstructionAsync, getCloseOptionAccountInstructionDataCodec, getCloseOptionAccountInstructionDataDecoder, getCloseOptionAccountInstructionDataEncoder, getCloseStakeAccountDiscriminatorBytes, getCloseStakeAccountInstruction, getCloseStakeAccountInstructionAsync, getCloseStakeAccountInstructionDataCodec, getCloseStakeAccountInstructionDataDecoder, getCloseStakeAccountInstructionDataEncoder, getCloseStuckStakeAccountDiscriminatorBytes, getCloseStuckStakeAccountInstruction, getCloseStuckStakeAccountInstructionAsync, getCloseStuckStakeAccountInstructionDataCodec, getCloseStuckStakeAccountInstructionDataDecoder, getCloseStuckStakeAccountInstructionDataEncoder, getCloseUnrevealedStakeAccountDiscriminatorBytes, getCloseUnrevealedStakeAccountInstruction, getCloseUnrevealedStakeAccountInstructionAsync, getCloseUnrevealedStakeAccountInstructionDataCodec, getCloseUnrevealedStakeAccountInstructionDataDecoder, getCloseUnrevealedStakeAccountInstructionDataEncoder, getClusterCodec, getClusterDecoder, getClusterEncoder, getCollectedFeesCodec, getCollectedFeesDecoder, getCollectedFeesEncoder, getCompDefAccount, getCompDefOffsetNumber, getComputationDefinitionAccountCodec, getComputationDefinitionAccountDecoder, getComputationDefinitionAccountEncoder, getComputationDefinitionMetaCodec, getComputationDefinitionMetaDecoder, getComputationDefinitionMetaEncoder, getComputationSignatureCodec, getComputationSignatureDecoder, getComputationSignatureEncoder, getCreateMarketDiscriminatorBytes, getCreateMarketInstruction, getCreateMarketInstructionAsync, getCreateMarketInstructionDataCodec, getCreateMarketInstructionDataDecoder, getCreateMarketInstructionDataEncoder, getCreatorFeesClaimedEventCodec, getCreatorFeesClaimedEventDecoder, getCreatorFeesClaimedEventEncoder, getEndRevealPeriodDiscriminatorBytes, getEndRevealPeriodInstruction, getEndRevealPeriodInstructionDataCodec, getEndRevealPeriodInstructionDataDecoder, getEndRevealPeriodInstructionDataEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getFeeClaimAuthorityChangedEventCodec, getFeeClaimAuthorityChangedEventDecoder, getFeeClaimAuthorityChangedEventEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolEncoder, getFeeRatesCodec, getFeeRatesDecoder, getFeeRatesEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getFinalizeRevealStakeDiscriminatorBytes, getFinalizeRevealStakeInstruction, getFinalizeRevealStakeInstructionAsync, getFinalizeRevealStakeInstructionDataCodec, getFinalizeRevealStakeInstructionDataDecoder, getFinalizeRevealStakeInstructionDataEncoder, getInitAllowedMintDiscriminatorBytes, getInitAllowedMintInstruction, getInitAllowedMintInstructionAsync, getInitAllowedMintInstructionDataCodec, getInitAllowedMintInstructionDataDecoder, getInitAllowedMintInstructionDataEncoder, getInitCompDefInstruction, getInitPlatformConfigDiscriminatorBytes, getInitPlatformConfigInstruction, getInitPlatformConfigInstructionAsync, getInitPlatformConfigInstructionDataCodec, getInitPlatformConfigInstructionDataDecoder, getInitPlatformConfigInstructionDataEncoder, getInitStakeAccountDiscriminatorBytes, getInitStakeAccountInstruction, getInitStakeAccountInstructionAsync, getInitStakeAccountInstructionDataCodec, getInitStakeAccountInstructionDataDecoder, getInitStakeAccountInstructionDataEncoder, getLocalCircuitSourceCodec, getLocalCircuitSourceDecoder, getLocalCircuitSourceEncoder, getMXEAccountCodec, getMXEAccountDecoder, getMXEAccountEncoder, getMarketCreatedEventCodec, getMarketCreatedEventDecoder, getMarketCreatedEventEncoder, getMarketOpenedEventCodec, getMarketOpenedEventDecoder, getMarketOpenedEventEncoder, getMarketOptionCreatedEventCodec, getMarketOptionCreatedEventDecoder, getMarketOptionCreatedEventEncoder, getMarketResolvedEventCodec, getMarketResolvedEventDecoder, getMarketResolvedEventEncoder, 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, getOptionClosedEventCodec, getOptionClosedEventDecoder, getOptionClosedEventEncoder, getOutputCodec, getOutputDecoder, getOutputEncoder, getParameterCodec, getParameterDecoder, getParameterEncoder, getPlatformConfigAddress, getPlatformConfigCodec, getPlatformConfigDecoder, getPlatformConfigDiscriminatorBytes, getPlatformConfigEncoder, getResolveMarketDiscriminatorBytes, getResolveMarketInstruction, getResolveMarketInstructionDataCodec, getResolveMarketInstructionDataDecoder, getResolveMarketInstructionDataEncoder, getRevealPeriodEndedEventCodec, getRevealPeriodEndedEventDecoder, getRevealPeriodEndedEventEncoder, getRevealStakeCallbackDiscriminatorBytes, getRevealStakeCallbackInstruction, getRevealStakeCallbackInstructionDataCodec, getRevealStakeCallbackInstructionDataDecoder, getRevealStakeCallbackInstructionDataEncoder, getRevealStakeCompDefDiscriminatorBytes, getRevealStakeCompDefInstruction, getRevealStakeCompDefInstructionDataCodec, getRevealStakeCompDefInstructionDataDecoder, getRevealStakeCompDefInstructionDataEncoder, getRevealStakeDiscriminatorBytes, getRevealStakeFinalizedEventCodec, getRevealStakeFinalizedEventDecoder, getRevealStakeFinalizedEventEncoder, getRevealStakeInstruction, getRevealStakeInstructionAsync, getRevealStakeInstructionDataCodec, getRevealStakeInstructionDataDecoder, getRevealStakeInstructionDataEncoder, getRevealStakeOutputCodec, getRevealStakeOutputDecoder, getRevealStakeOutputEncoder, getRewardAddedEventCodec, getRewardAddedEventDecoder, getRewardAddedEventEncoder, getRewardWithdrawnEventCodec, getRewardWithdrawnEventDecoder, getRewardWithdrawnEventEncoder, getRewardsClaimedEventCodec, getRewardsClaimedEventDecoder, getRewardsClaimedEventEncoder, getSetFeeClaimAuthorityDiscriminatorBytes, getSetFeeClaimAuthorityInstruction, getSetFeeClaimAuthorityInstructionDataCodec, getSetFeeClaimAuthorityInstructionDataDecoder, getSetFeeClaimAuthorityInstructionDataEncoder, getSetUpdateAuthorityDiscriminatorBytes, getSetUpdateAuthorityInstruction, getSetUpdateAuthorityInstructionDataCodec, getSetUpdateAuthorityInstructionDataDecoder, getSetUpdateAuthorityInstructionDataEncoder, getSetWinningOptionDiscriminatorBytes, getSetWinningOptionInstruction, getSetWinningOptionInstructionAsync, getSetWinningOptionInstructionDataCodec, getSetWinningOptionInstructionDataDecoder, getSetWinningOptionInstructionDataEncoder, getStakeAccountAddress, getStakeAccountClosedEventCodec, getStakeAccountClosedEventDecoder, getStakeAccountClosedEventEncoder, 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, getStakeRevealedEventCodec, getStakeRevealedEventDecoder, getStakeRevealedEventEncoder, getStakedEventCodec, getStakedEventDecoder, getStakedEventEncoder, getStuckStakeClosedEventCodec, getStuckStakeClosedEventDecoder, getStuckStakeClosedEventEncoder, getTimestampCodec, getTimestampDecoder, getTimestampEncoder, getUnstakeDiscriminatorBytes, getUnstakeInstruction, getUnstakeInstructionAsync, getUnstakeInstructionDataCodec, getUnstakeInstructionDataDecoder, getUnstakeInstructionDataEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUpdateAuthorityChangedEventCodec, getUpdateAuthorityChangedEventDecoder, getUpdateAuthorityChangedEventEncoder, getUpdatePlatformConfigDiscriminatorBytes, getUpdatePlatformConfigInstruction, getUpdatePlatformConfigInstructionDataCodec, getUpdatePlatformConfigInstructionDataDecoder, getUpdatePlatformConfigInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionSetEventCodec, getWinningOptionSetEventDecoder, getWinningOptionSetEventEncoder, getWithdrawRewardDiscriminatorBytes, getWithdrawRewardInstruction, getWithdrawRewardInstructionAsync, getWithdrawRewardInstructionDataCodec, getWithdrawRewardInstructionDataDecoder, getWithdrawRewardInstructionDataEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, initAllowedMint, initStakeAccount, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionInstruction, parseAddRewardInstruction, parseClaimCreatorFeesInstruction, parseClaimFeesInstruction, parseClaimRewardsInstruction, parseCloseOptionAccountInstruction, parseCloseStakeAccountInstruction, parseCloseStuckStakeAccountInstruction, parseCloseUnrevealedStakeAccountInstruction, parseCreateMarketInstruction, parseEndRevealPeriodInstruction, parseFinalizeRevealStakeInstruction, parseInitAllowedMintInstruction, parseInitPlatformConfigInstruction, parseInitStakeAccountInstruction, parseOpenMarketInstruction, parseResolveMarketInstruction, parseRevealStakeCallbackInstruction, parseRevealStakeCompDefInstruction, parseRevealStakeInstruction, parseSetFeeClaimAuthorityInstruction, parseSetUpdateAuthorityInstruction, parseSetWinningOptionInstruction, parseStakeCallbackInstruction, parseStakeCompDefInstruction, parseStakeInstruction, parseUnstakeInstruction, parseUpdatePlatformConfigInstruction, parseWithdrawRewardInstruction, randomComputationOffset, randomStateNonce, resolveMarket, revealStake, setFeeClaimAuthority, setUpdateAuthority, setWinningOption, stake, toNumberArray, unstake, updatePlatformConfig, withdrawReward };