@bench.games/opportunity-markets 0.2.3 → 0.2.5
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/browser/index.js +232 -178
- package/dist/index.cjs +129 -79
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +110 -72
- package/dist/index.d.ts +110 -72
- package/dist/index.js +232 -178
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -47,6 +47,8 @@ type CentralState = {
|
|
|
47
47
|
minOptionDeposit: bigint;
|
|
48
48
|
protocolFeeBp: number;
|
|
49
49
|
feeRecipient: Address;
|
|
50
|
+
rewardWithdrawStakedLimit: number;
|
|
51
|
+
minimumInitialRevealPeriod: bigint;
|
|
50
52
|
};
|
|
51
53
|
type CentralStateArgs = {
|
|
52
54
|
bump: number;
|
|
@@ -55,6 +57,8 @@ type CentralStateArgs = {
|
|
|
55
57
|
minOptionDeposit: number | bigint;
|
|
56
58
|
protocolFeeBp: number;
|
|
57
59
|
feeRecipient: Address;
|
|
60
|
+
rewardWithdrawStakedLimit: number;
|
|
61
|
+
minimumInitialRevealPeriod: number | bigint;
|
|
58
62
|
};
|
|
59
63
|
declare function getCentralStateEncoder(): FixedSizeEncoder<CentralStateArgs>;
|
|
60
64
|
declare function getCentralStateDecoder(): FixedSizeDecoder<CentralState>;
|
|
@@ -1248,13 +1252,15 @@ type OpportunityMarket = {
|
|
|
1248
1252
|
timeToReveal: bigint;
|
|
1249
1253
|
selectedOptions: Option<Array<WinningOption>>;
|
|
1250
1254
|
rewardAmount: bigint;
|
|
1251
|
-
marketAuthority:
|
|
1255
|
+
marketAuthority: Address;
|
|
1256
|
+
revealPeriodAuthority: Address;
|
|
1252
1257
|
mint: Address;
|
|
1253
1258
|
earlinessCutoffSeconds: bigint;
|
|
1254
1259
|
unstakeDelaySeconds: bigint;
|
|
1255
1260
|
authorizedReaderPubkey: Array<number>;
|
|
1256
1261
|
allowClosingEarly: boolean;
|
|
1257
1262
|
rewardWithdrawn: boolean;
|
|
1263
|
+
totalStakedCount: bigint;
|
|
1258
1264
|
};
|
|
1259
1265
|
type OpportunityMarketArgs = {
|
|
1260
1266
|
bump: number;
|
|
@@ -1266,13 +1272,15 @@ type OpportunityMarketArgs = {
|
|
|
1266
1272
|
timeToReveal: number | bigint;
|
|
1267
1273
|
selectedOptions: OptionOrNullable<Array<WinningOptionArgs>>;
|
|
1268
1274
|
rewardAmount: number | bigint;
|
|
1269
|
-
marketAuthority:
|
|
1275
|
+
marketAuthority: Address;
|
|
1276
|
+
revealPeriodAuthority: Address;
|
|
1270
1277
|
mint: Address;
|
|
1271
1278
|
earlinessCutoffSeconds: number | bigint;
|
|
1272
1279
|
unstakeDelaySeconds: number | bigint;
|
|
1273
1280
|
authorizedReaderPubkey: Array<number>;
|
|
1274
1281
|
allowClosingEarly: boolean;
|
|
1275
1282
|
rewardWithdrawn: boolean;
|
|
1283
|
+
totalStakedCount: number | bigint;
|
|
1276
1284
|
};
|
|
1277
1285
|
declare function getOpportunityMarketEncoder(): Encoder<OpportunityMarketArgs>;
|
|
1278
1286
|
declare function getOpportunityMarketDecoder(): Decoder<OpportunityMarket>;
|
|
@@ -1526,7 +1534,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
1526
1534
|
CloseStakeAccount = 2,
|
|
1527
1535
|
CreateMarket = 3,
|
|
1528
1536
|
DoUnstakeEarly = 4,
|
|
1529
|
-
|
|
1537
|
+
EndRevealPeriod = 5,
|
|
1530
1538
|
IncreaseRewardPool = 6,
|
|
1531
1539
|
IncrementOptionTally = 7,
|
|
1532
1540
|
InitCentralState = 8,
|
|
@@ -1560,8 +1568,8 @@ type ParsedOpportunityMarketInstruction<TProgram extends string = 'BencHEXKYZ8HJ
|
|
|
1560
1568
|
} & ParsedCreateMarketInstruction<TProgram>) | ({
|
|
1561
1569
|
instructionType: OpportunityMarketInstruction.DoUnstakeEarly;
|
|
1562
1570
|
} & ParsedDoUnstakeEarlyInstruction<TProgram>) | ({
|
|
1563
|
-
instructionType: OpportunityMarketInstruction.
|
|
1564
|
-
} &
|
|
1571
|
+
instructionType: OpportunityMarketInstruction.EndRevealPeriod;
|
|
1572
|
+
} & ParsedEndRevealPeriodInstruction<TProgram>) | ({
|
|
1565
1573
|
instructionType: OpportunityMarketInstruction.IncreaseRewardPool;
|
|
1566
1574
|
} & ParsedIncreaseRewardPoolInstruction<TProgram>) | ({
|
|
1567
1575
|
instructionType: OpportunityMarketInstruction.IncrementOptionTally;
|
|
@@ -1844,6 +1852,7 @@ type CreateMarketInstructionData = {
|
|
|
1844
1852
|
unstakeDelaySeconds: bigint;
|
|
1845
1853
|
authorizedReaderPubkey: Array<number>;
|
|
1846
1854
|
allowClosingEarly: boolean;
|
|
1855
|
+
revealPeriodAuthority: Address;
|
|
1847
1856
|
};
|
|
1848
1857
|
type CreateMarketInstructionDataArgs = {
|
|
1849
1858
|
marketIndex: number | bigint;
|
|
@@ -1854,6 +1863,7 @@ type CreateMarketInstructionDataArgs = {
|
|
|
1854
1863
|
unstakeDelaySeconds: number | bigint;
|
|
1855
1864
|
authorizedReaderPubkey: Array<number>;
|
|
1856
1865
|
allowClosingEarly: boolean;
|
|
1866
|
+
revealPeriodAuthority: Address;
|
|
1857
1867
|
};
|
|
1858
1868
|
declare function getCreateMarketInstructionDataEncoder(): Encoder<CreateMarketInstructionDataArgs>;
|
|
1859
1869
|
declare function getCreateMarketInstructionDataDecoder(): Decoder<CreateMarketInstructionData>;
|
|
@@ -1876,6 +1886,7 @@ type CreateMarketAsyncInput<TAccountCreator extends string = string, TAccountTok
|
|
|
1876
1886
|
unstakeDelaySeconds: CreateMarketInstructionDataArgs['unstakeDelaySeconds'];
|
|
1877
1887
|
authorizedReaderPubkey: CreateMarketInstructionDataArgs['authorizedReaderPubkey'];
|
|
1878
1888
|
allowClosingEarly: CreateMarketInstructionDataArgs['allowClosingEarly'];
|
|
1889
|
+
revealPeriodAuthority: CreateMarketInstructionDataArgs['revealPeriodAuthority'];
|
|
1879
1890
|
};
|
|
1880
1891
|
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?: {
|
|
1881
1892
|
programAddress?: TProgramAddress;
|
|
@@ -1898,6 +1909,7 @@ type CreateMarketInput<TAccountCreator extends string = string, TAccountTokenMin
|
|
|
1898
1909
|
unstakeDelaySeconds: CreateMarketInstructionDataArgs['unstakeDelaySeconds'];
|
|
1899
1910
|
authorizedReaderPubkey: CreateMarketInstructionDataArgs['authorizedReaderPubkey'];
|
|
1900
1911
|
allowClosingEarly: CreateMarketInstructionDataArgs['allowClosingEarly'];
|
|
1912
|
+
revealPeriodAuthority: CreateMarketInstructionDataArgs['revealPeriodAuthority'];
|
|
1901
1913
|
};
|
|
1902
1914
|
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?: {
|
|
1903
1915
|
programAddress?: TProgramAddress;
|
|
@@ -2012,40 +2024,36 @@ declare function parseDoUnstakeEarlyInstruction<TProgram extends string, TAccoun
|
|
|
2012
2024
|
* @see https://github.com/codama-idl/codama
|
|
2013
2025
|
*/
|
|
2014
2026
|
|
|
2015
|
-
declare const
|
|
2016
|
-
declare function
|
|
2017
|
-
type
|
|
2027
|
+
declare const END_REVEAL_PERIOD_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2028
|
+
declare function getEndRevealPeriodDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
2029
|
+
type EndRevealPeriodInstruction<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<[
|
|
2018
2030
|
TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
2019
2031
|
TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
|
|
2020
2032
|
...TRemainingAccounts
|
|
2021
2033
|
]>;
|
|
2022
|
-
type
|
|
2034
|
+
type EndRevealPeriodInstructionData = {
|
|
2023
2035
|
discriminator: ReadonlyUint8Array;
|
|
2024
|
-
newTimeToReveal: bigint;
|
|
2025
|
-
};
|
|
2026
|
-
type ExtendRevealPeriodInstructionDataArgs = {
|
|
2027
|
-
newTimeToReveal: number | bigint;
|
|
2028
2036
|
};
|
|
2029
|
-
|
|
2030
|
-
declare function
|
|
2031
|
-
declare function
|
|
2032
|
-
|
|
2037
|
+
type EndRevealPeriodInstructionDataArgs = {};
|
|
2038
|
+
declare function getEndRevealPeriodInstructionDataEncoder(): FixedSizeEncoder<EndRevealPeriodInstructionDataArgs>;
|
|
2039
|
+
declare function getEndRevealPeriodInstructionDataDecoder(): FixedSizeDecoder<EndRevealPeriodInstructionData>;
|
|
2040
|
+
declare function getEndRevealPeriodInstructionDataCodec(): FixedSizeCodec<EndRevealPeriodInstructionDataArgs, EndRevealPeriodInstructionData>;
|
|
2041
|
+
type EndRevealPeriodInput<TAccountAuthority extends string = string, TAccountMarket extends string = string> = {
|
|
2033
2042
|
authority: TransactionSigner<TAccountAuthority>;
|
|
2034
2043
|
market: Address<TAccountMarket>;
|
|
2035
|
-
newTimeToReveal: ExtendRevealPeriodInstructionDataArgs['newTimeToReveal'];
|
|
2036
2044
|
};
|
|
2037
|
-
declare function
|
|
2045
|
+
declare function getEndRevealPeriodInstruction<TAccountAuthority extends string, TAccountMarket extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: EndRevealPeriodInput<TAccountAuthority, TAccountMarket>, config?: {
|
|
2038
2046
|
programAddress?: TProgramAddress;
|
|
2039
|
-
}):
|
|
2040
|
-
type
|
|
2047
|
+
}): EndRevealPeriodInstruction<TProgramAddress, TAccountAuthority, TAccountMarket>;
|
|
2048
|
+
type ParsedEndRevealPeriodInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
2041
2049
|
programAddress: Address<TProgram>;
|
|
2042
2050
|
accounts: {
|
|
2043
2051
|
authority: TAccountMetas[0];
|
|
2044
2052
|
market: TAccountMetas[1];
|
|
2045
2053
|
};
|
|
2046
|
-
data:
|
|
2054
|
+
data: EndRevealPeriodInstructionData;
|
|
2047
2055
|
};
|
|
2048
|
-
declare function
|
|
2056
|
+
declare function parseEndRevealPeriodInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedEndRevealPeriodInstruction<TProgram, TAccountMetas>;
|
|
2049
2057
|
|
|
2050
2058
|
/**
|
|
2051
2059
|
* This code was AUTOGENERATED using the Codama library.
|
|
@@ -2206,12 +2214,16 @@ type InitCentralStateInstructionData = {
|
|
|
2206
2214
|
minOptionDeposit: bigint;
|
|
2207
2215
|
protocolFeeBp: number;
|
|
2208
2216
|
feeRecipient: Address;
|
|
2217
|
+
rewardWithdrawStakedLimit: number;
|
|
2218
|
+
minimumInitialRevealPeriod: bigint;
|
|
2209
2219
|
};
|
|
2210
2220
|
type InitCentralStateInstructionDataArgs = {
|
|
2211
2221
|
earlinessCutoffSeconds: number | bigint;
|
|
2212
2222
|
minOptionDeposit: number | bigint;
|
|
2213
2223
|
protocolFeeBp: number;
|
|
2214
2224
|
feeRecipient: Address;
|
|
2225
|
+
rewardWithdrawStakedLimit: number;
|
|
2226
|
+
minimumInitialRevealPeriod: number | bigint;
|
|
2215
2227
|
};
|
|
2216
2228
|
declare function getInitCentralStateInstructionDataEncoder(): FixedSizeEncoder<InitCentralStateInstructionDataArgs>;
|
|
2217
2229
|
declare function getInitCentralStateInstructionDataDecoder(): FixedSizeDecoder<InitCentralStateInstructionData>;
|
|
@@ -2224,6 +2236,8 @@ type InitCentralStateAsyncInput<TAccountPayer extends string = string, TAccountC
|
|
|
2224
2236
|
minOptionDeposit: InitCentralStateInstructionDataArgs['minOptionDeposit'];
|
|
2225
2237
|
protocolFeeBp: InitCentralStateInstructionDataArgs['protocolFeeBp'];
|
|
2226
2238
|
feeRecipient: InitCentralStateInstructionDataArgs['feeRecipient'];
|
|
2239
|
+
rewardWithdrawStakedLimit: InitCentralStateInstructionDataArgs['rewardWithdrawStakedLimit'];
|
|
2240
|
+
minimumInitialRevealPeriod: InitCentralStateInstructionDataArgs['minimumInitialRevealPeriod'];
|
|
2227
2241
|
};
|
|
2228
2242
|
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?: {
|
|
2229
2243
|
programAddress?: TProgramAddress;
|
|
@@ -2236,6 +2250,8 @@ type InitCentralStateInput<TAccountPayer extends string = string, TAccountCentra
|
|
|
2236
2250
|
minOptionDeposit: InitCentralStateInstructionDataArgs['minOptionDeposit'];
|
|
2237
2251
|
protocolFeeBp: InitCentralStateInstructionDataArgs['protocolFeeBp'];
|
|
2238
2252
|
feeRecipient: InitCentralStateInstructionDataArgs['feeRecipient'];
|
|
2253
|
+
rewardWithdrawStakedLimit: InitCentralStateInstructionDataArgs['rewardWithdrawStakedLimit'];
|
|
2254
|
+
minimumInitialRevealPeriod: InitCentralStateInstructionDataArgs['minimumInitialRevealPeriod'];
|
|
2239
2255
|
};
|
|
2240
2256
|
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?: {
|
|
2241
2257
|
programAddress?: TProgramAddress;
|
|
@@ -2816,8 +2832,9 @@ declare function parseSelectWinningOptionsInstruction<TProgram extends string, T
|
|
|
2816
2832
|
|
|
2817
2833
|
declare const STAKE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2818
2834
|
declare function getStakeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
2819
|
-
type StakeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountStakeAccount extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountSignerTokenAccount extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountTokenVaultAta extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = string, TAccountSignPdaAccount extends string | AccountMeta<string> = string, TAccountMxeAccount extends string | AccountMeta<string> = string, TAccountMempoolAccount extends string | AccountMeta<string> = string, TAccountExecutingPool extends string | AccountMeta<string> = string, TAccountComputationAccount extends string | AccountMeta<string> = string, TAccountCompDefAccount extends string | AccountMeta<string> = string, TAccountClusterAccount extends string | AccountMeta<string> = string, TAccountPoolAccount extends string | AccountMeta<string> = 'G2sRWJvi3xoyh5k2gY49eG9L8YhAEWQPtNb1zb1GXTtC', TAccountClockAccount extends string | AccountMeta<string> = '7EbMUTLo5DjdzbN7s8BXeZwXzEwNQb1hScfRvWg8a6ot', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountArciumProgram extends string | AccountMeta<string> = 'Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2820
|
-
TAccountSigner extends string ?
|
|
2835
|
+
type StakeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountSigner extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountStakeAccount extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountSignerTokenAccount extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountTokenVaultAta extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = string, TAccountSignPdaAccount extends string | AccountMeta<string> = string, TAccountMxeAccount extends string | AccountMeta<string> = string, TAccountMempoolAccount extends string | AccountMeta<string> = string, TAccountExecutingPool extends string | AccountMeta<string> = string, TAccountComputationAccount extends string | AccountMeta<string> = string, TAccountCompDefAccount extends string | AccountMeta<string> = string, TAccountClusterAccount extends string | AccountMeta<string> = string, TAccountPoolAccount extends string | AccountMeta<string> = 'G2sRWJvi3xoyh5k2gY49eG9L8YhAEWQPtNb1zb1GXTtC', TAccountClockAccount extends string | AccountMeta<string> = '7EbMUTLo5DjdzbN7s8BXeZwXzEwNQb1hScfRvWg8a6ot', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountArciumProgram extends string | AccountMeta<string> = 'Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2836
|
+
TAccountSigner extends string ? ReadonlySignerAccount<TAccountSigner> & AccountSignerMeta<TAccountSigner> : TAccountSigner,
|
|
2837
|
+
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
2821
2838
|
TAccountMarket extends string ? ReadonlyAccount<TAccountMarket> : TAccountMarket,
|
|
2822
2839
|
TAccountStakeAccount extends string ? WritableAccount<TAccountStakeAccount> : TAccountStakeAccount,
|
|
2823
2840
|
TAccountTokenMint extends string ? ReadonlyAccount<TAccountTokenMint> : TAccountTokenMint,
|
|
@@ -2861,8 +2878,9 @@ type StakeInstructionDataArgs = {
|
|
|
2861
2878
|
declare function getStakeInstructionDataEncoder(): FixedSizeEncoder<StakeInstructionDataArgs>;
|
|
2862
2879
|
declare function getStakeInstructionDataDecoder(): FixedSizeDecoder<StakeInstructionData>;
|
|
2863
2880
|
declare function getStakeInstructionDataCodec(): FixedSizeCodec<StakeInstructionDataArgs, StakeInstructionData>;
|
|
2864
|
-
type StakeAsyncInput<TAccountSigner extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountSignerTokenAccount extends string = string, TAccountMarketTokenAta extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountTokenProgram extends string = string, TAccountSignPdaAccount extends string = string, TAccountMxeAccount extends string = string, TAccountMempoolAccount extends string = string, TAccountExecutingPool extends string = string, TAccountComputationAccount extends string = string, TAccountCompDefAccount extends string = string, TAccountClusterAccount extends string = string, TAccountPoolAccount extends string = string, TAccountClockAccount extends string = string, TAccountSystemProgram extends string = string, TAccountArciumProgram extends string = string> = {
|
|
2881
|
+
type StakeAsyncInput<TAccountSigner extends string = string, TAccountPayer extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountSignerTokenAccount extends string = string, TAccountMarketTokenAta extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountTokenProgram extends string = string, TAccountSignPdaAccount extends string = string, TAccountMxeAccount extends string = string, TAccountMempoolAccount extends string = string, TAccountExecutingPool extends string = string, TAccountComputationAccount extends string = string, TAccountCompDefAccount extends string = string, TAccountClusterAccount extends string = string, TAccountPoolAccount extends string = string, TAccountClockAccount extends string = string, TAccountSystemProgram extends string = string, TAccountArciumProgram extends string = string> = {
|
|
2865
2882
|
signer: TransactionSigner<TAccountSigner>;
|
|
2883
|
+
payer: TransactionSigner<TAccountPayer>;
|
|
2866
2884
|
market: Address<TAccountMarket>;
|
|
2867
2885
|
stakeAccount?: Address<TAccountStakeAccount>;
|
|
2868
2886
|
tokenMint: Address<TAccountTokenMint>;
|
|
@@ -2893,11 +2911,12 @@ type StakeAsyncInput<TAccountSigner extends string = string, TAccountMarket exte
|
|
|
2893
2911
|
authorizedReaderNonce: StakeInstructionDataArgs['authorizedReaderNonce'];
|
|
2894
2912
|
userPubkey: StakeInstructionDataArgs['userPubkey'];
|
|
2895
2913
|
};
|
|
2896
|
-
declare function getStakeInstructionAsync<TAccountSigner extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountSignerTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountTokenProgram extends string, TAccountSignPdaAccount extends string, TAccountMxeAccount extends string, TAccountMempoolAccount extends string, TAccountExecutingPool extends string, TAccountComputationAccount extends string, TAccountCompDefAccount extends string, TAccountClusterAccount extends string, TAccountPoolAccount extends string, TAccountClockAccount extends string, TAccountSystemProgram extends string, TAccountArciumProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeAsyncInput<TAccountSigner, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>, config?: {
|
|
2914
|
+
declare function getStakeInstructionAsync<TAccountSigner extends string, TAccountPayer extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountSignerTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountTokenProgram extends string, TAccountSignPdaAccount extends string, TAccountMxeAccount extends string, TAccountMempoolAccount extends string, TAccountExecutingPool extends string, TAccountComputationAccount extends string, TAccountCompDefAccount extends string, TAccountClusterAccount extends string, TAccountPoolAccount extends string, TAccountClockAccount extends string, TAccountSystemProgram extends string, TAccountArciumProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeAsyncInput<TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>, config?: {
|
|
2897
2915
|
programAddress?: TProgramAddress;
|
|
2898
|
-
}): Promise<StakeInstruction<TProgramAddress, TAccountSigner, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>>;
|
|
2899
|
-
type StakeInput<TAccountSigner extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountSignerTokenAccount extends string = string, TAccountMarketTokenAta extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountTokenProgram extends string = string, TAccountSignPdaAccount extends string = string, TAccountMxeAccount extends string = string, TAccountMempoolAccount extends string = string, TAccountExecutingPool extends string = string, TAccountComputationAccount extends string = string, TAccountCompDefAccount extends string = string, TAccountClusterAccount extends string = string, TAccountPoolAccount extends string = string, TAccountClockAccount extends string = string, TAccountSystemProgram extends string = string, TAccountArciumProgram extends string = string> = {
|
|
2916
|
+
}): Promise<StakeInstruction<TProgramAddress, TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>>;
|
|
2917
|
+
type StakeInput<TAccountSigner extends string = string, TAccountPayer extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string, TAccountTokenMint extends string = string, TAccountSignerTokenAccount extends string = string, TAccountMarketTokenAta extends string = string, TAccountTokenVault extends string = string, TAccountTokenVaultAta extends string = string, TAccountTokenProgram extends string = string, TAccountSignPdaAccount extends string = string, TAccountMxeAccount extends string = string, TAccountMempoolAccount extends string = string, TAccountExecutingPool extends string = string, TAccountComputationAccount extends string = string, TAccountCompDefAccount extends string = string, TAccountClusterAccount extends string = string, TAccountPoolAccount extends string = string, TAccountClockAccount extends string = string, TAccountSystemProgram extends string = string, TAccountArciumProgram extends string = string> = {
|
|
2900
2918
|
signer: TransactionSigner<TAccountSigner>;
|
|
2919
|
+
payer: TransactionSigner<TAccountPayer>;
|
|
2901
2920
|
market: Address<TAccountMarket>;
|
|
2902
2921
|
stakeAccount: Address<TAccountStakeAccount>;
|
|
2903
2922
|
tokenMint: Address<TAccountTokenMint>;
|
|
@@ -2928,35 +2947,36 @@ type StakeInput<TAccountSigner extends string = string, TAccountMarket extends s
|
|
|
2928
2947
|
authorizedReaderNonce: StakeInstructionDataArgs['authorizedReaderNonce'];
|
|
2929
2948
|
userPubkey: StakeInstructionDataArgs['userPubkey'];
|
|
2930
2949
|
};
|
|
2931
|
-
declare function getStakeInstruction<TAccountSigner extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountSignerTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountTokenProgram extends string, TAccountSignPdaAccount extends string, TAccountMxeAccount extends string, TAccountMempoolAccount extends string, TAccountExecutingPool extends string, TAccountComputationAccount extends string, TAccountCompDefAccount extends string, TAccountClusterAccount extends string, TAccountPoolAccount extends string, TAccountClockAccount extends string, TAccountSystemProgram extends string, TAccountArciumProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeInput<TAccountSigner, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>, config?: {
|
|
2950
|
+
declare function getStakeInstruction<TAccountSigner extends string, TAccountPayer extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TAccountTokenMint extends string, TAccountSignerTokenAccount extends string, TAccountMarketTokenAta extends string, TAccountTokenVault extends string, TAccountTokenVaultAta extends string, TAccountTokenProgram extends string, TAccountSignPdaAccount extends string, TAccountMxeAccount extends string, TAccountMempoolAccount extends string, TAccountExecutingPool extends string, TAccountComputationAccount extends string, TAccountCompDefAccount extends string, TAccountClusterAccount extends string, TAccountPoolAccount extends string, TAccountClockAccount extends string, TAccountSystemProgram extends string, TAccountArciumProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeInput<TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>, config?: {
|
|
2932
2951
|
programAddress?: TProgramAddress;
|
|
2933
|
-
}): StakeInstruction<TProgramAddress, TAccountSigner, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>;
|
|
2952
|
+
}): StakeInstruction<TProgramAddress, TAccountSigner, TAccountPayer, TAccountMarket, TAccountStakeAccount, TAccountTokenMint, TAccountSignerTokenAccount, TAccountMarketTokenAta, TAccountTokenVault, TAccountTokenVaultAta, TAccountTokenProgram, TAccountSignPdaAccount, TAccountMxeAccount, TAccountMempoolAccount, TAccountExecutingPool, TAccountComputationAccount, TAccountCompDefAccount, TAccountClusterAccount, TAccountPoolAccount, TAccountClockAccount, TAccountSystemProgram, TAccountArciumProgram>;
|
|
2934
2953
|
type ParsedStakeInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
2935
2954
|
programAddress: Address<TProgram>;
|
|
2936
2955
|
accounts: {
|
|
2937
2956
|
signer: TAccountMetas[0];
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2957
|
+
payer: TAccountMetas[1];
|
|
2958
|
+
market: TAccountMetas[2];
|
|
2959
|
+
stakeAccount: TAccountMetas[3];
|
|
2960
|
+
tokenMint: TAccountMetas[4];
|
|
2961
|
+
signerTokenAccount: TAccountMetas[5];
|
|
2942
2962
|
/** Market's ATA for holding staked tokens */
|
|
2943
|
-
marketTokenAta: TAccountMetas[
|
|
2963
|
+
marketTokenAta: TAccountMetas[6];
|
|
2944
2964
|
/** Token vault for fee collection */
|
|
2945
|
-
tokenVault: TAccountMetas[
|
|
2965
|
+
tokenVault: TAccountMetas[7];
|
|
2946
2966
|
/** Token vault ATA for fee tokens */
|
|
2947
|
-
tokenVaultAta: TAccountMetas[
|
|
2948
|
-
tokenProgram: TAccountMetas[
|
|
2949
|
-
signPdaAccount: TAccountMetas[
|
|
2950
|
-
mxeAccount: TAccountMetas[
|
|
2951
|
-
mempoolAccount: TAccountMetas[
|
|
2952
|
-
executingPool: TAccountMetas[
|
|
2953
|
-
computationAccount: TAccountMetas[
|
|
2954
|
-
compDefAccount: TAccountMetas[
|
|
2955
|
-
clusterAccount: TAccountMetas[
|
|
2956
|
-
poolAccount: TAccountMetas[
|
|
2957
|
-
clockAccount: TAccountMetas[
|
|
2958
|
-
systemProgram: TAccountMetas[
|
|
2959
|
-
arciumProgram: TAccountMetas[
|
|
2967
|
+
tokenVaultAta: TAccountMetas[8];
|
|
2968
|
+
tokenProgram: TAccountMetas[9];
|
|
2969
|
+
signPdaAccount: TAccountMetas[10];
|
|
2970
|
+
mxeAccount: TAccountMetas[11];
|
|
2971
|
+
mempoolAccount: TAccountMetas[12];
|
|
2972
|
+
executingPool: TAccountMetas[13];
|
|
2973
|
+
computationAccount: TAccountMetas[14];
|
|
2974
|
+
compDefAccount: TAccountMetas[15];
|
|
2975
|
+
clusterAccount: TAccountMetas[16];
|
|
2976
|
+
poolAccount: TAccountMetas[17];
|
|
2977
|
+
clockAccount: TAccountMetas[18];
|
|
2978
|
+
systemProgram: TAccountMetas[19];
|
|
2979
|
+
arciumProgram: TAccountMetas[20];
|
|
2960
2980
|
};
|
|
2961
2981
|
data: StakeInstructionData;
|
|
2962
2982
|
};
|
|
@@ -2972,13 +2992,14 @@ declare function parseStakeInstruction<TProgram extends string, TAccountMetas ex
|
|
|
2972
2992
|
|
|
2973
2993
|
declare const STAKE_CALLBACK_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
2974
2994
|
declare function getStakeCallbackDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
2975
|
-
type StakeCallbackInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountArciumProgram extends string | AccountMeta<string> = 'Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ', TAccountCompDefAccount extends string | AccountMeta<string> = string, TAccountMxeAccount extends string | AccountMeta<string> = string, TAccountComputationAccount extends string | AccountMeta<string> = string, TAccountClusterAccount extends string | AccountMeta<string> = string, TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TAccountStakeAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2995
|
+
type StakeCallbackInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountArciumProgram extends string | AccountMeta<string> = 'Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ', TAccountCompDefAccount extends string | AccountMeta<string> = string, TAccountMxeAccount extends string | AccountMeta<string> = string, TAccountComputationAccount extends string | AccountMeta<string> = string, TAccountClusterAccount extends string | AccountMeta<string> = string, TAccountInstructionsSysvar extends string | AccountMeta<string> = 'Sysvar1nstructions1111111111111111111111111', TAccountMarket extends string | AccountMeta<string> = string, TAccountStakeAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
2976
2996
|
TAccountArciumProgram extends string ? ReadonlyAccount<TAccountArciumProgram> : TAccountArciumProgram,
|
|
2977
2997
|
TAccountCompDefAccount extends string ? ReadonlyAccount<TAccountCompDefAccount> : TAccountCompDefAccount,
|
|
2978
2998
|
TAccountMxeAccount extends string ? ReadonlyAccount<TAccountMxeAccount> : TAccountMxeAccount,
|
|
2979
2999
|
TAccountComputationAccount extends string ? ReadonlyAccount<TAccountComputationAccount> : TAccountComputationAccount,
|
|
2980
3000
|
TAccountClusterAccount extends string ? ReadonlyAccount<TAccountClusterAccount> : TAccountClusterAccount,
|
|
2981
3001
|
TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
|
|
3002
|
+
TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
|
|
2982
3003
|
TAccountStakeAccount extends string ? WritableAccount<TAccountStakeAccount> : TAccountStakeAccount,
|
|
2983
3004
|
...TRemainingAccounts
|
|
2984
3005
|
]>;
|
|
@@ -3008,19 +3029,20 @@ type StakeCallbackInstructionDataArgs = {
|
|
|
3008
3029
|
declare function getStakeCallbackInstructionDataEncoder(): Encoder<StakeCallbackInstructionDataArgs>;
|
|
3009
3030
|
declare function getStakeCallbackInstructionDataDecoder(): Decoder<StakeCallbackInstructionData>;
|
|
3010
3031
|
declare function getStakeCallbackInstructionDataCodec(): Codec<StakeCallbackInstructionDataArgs, StakeCallbackInstructionData>;
|
|
3011
|
-
type StakeCallbackInput<TAccountArciumProgram extends string = string, TAccountCompDefAccount extends string = string, TAccountMxeAccount extends string = string, TAccountComputationAccount extends string = string, TAccountClusterAccount extends string = string, TAccountInstructionsSysvar extends string = string, TAccountStakeAccount extends string = string> = {
|
|
3032
|
+
type StakeCallbackInput<TAccountArciumProgram extends string = string, TAccountCompDefAccount extends string = string, TAccountMxeAccount extends string = string, TAccountComputationAccount extends string = string, TAccountClusterAccount extends string = string, TAccountInstructionsSysvar extends string = string, TAccountMarket extends string = string, TAccountStakeAccount extends string = string> = {
|
|
3012
3033
|
arciumProgram?: Address<TAccountArciumProgram>;
|
|
3013
3034
|
compDefAccount: Address<TAccountCompDefAccount>;
|
|
3014
3035
|
mxeAccount: Address<TAccountMxeAccount>;
|
|
3015
3036
|
computationAccount: Address<TAccountComputationAccount>;
|
|
3016
3037
|
clusterAccount: Address<TAccountClusterAccount>;
|
|
3017
3038
|
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
3039
|
+
market: Address<TAccountMarket>;
|
|
3018
3040
|
stakeAccount: Address<TAccountStakeAccount>;
|
|
3019
3041
|
output: StakeCallbackInstructionDataArgs['output'];
|
|
3020
3042
|
};
|
|
3021
|
-
declare function getStakeCallbackInstruction<TAccountArciumProgram extends string, TAccountCompDefAccount extends string, TAccountMxeAccount extends string, TAccountComputationAccount extends string, TAccountClusterAccount extends string, TAccountInstructionsSysvar extends string, TAccountStakeAccount extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeCallbackInput<TAccountArciumProgram, TAccountCompDefAccount, TAccountMxeAccount, TAccountComputationAccount, TAccountClusterAccount, TAccountInstructionsSysvar, TAccountStakeAccount>, config?: {
|
|
3043
|
+
declare function getStakeCallbackInstruction<TAccountArciumProgram extends string, TAccountCompDefAccount extends string, TAccountMxeAccount extends string, TAccountComputationAccount extends string, TAccountClusterAccount extends string, TAccountInstructionsSysvar extends string, TAccountMarket extends string, TAccountStakeAccount extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: StakeCallbackInput<TAccountArciumProgram, TAccountCompDefAccount, TAccountMxeAccount, TAccountComputationAccount, TAccountClusterAccount, TAccountInstructionsSysvar, TAccountMarket, TAccountStakeAccount>, config?: {
|
|
3022
3044
|
programAddress?: TProgramAddress;
|
|
3023
|
-
}): StakeCallbackInstruction<TProgramAddress, TAccountArciumProgram, TAccountCompDefAccount, TAccountMxeAccount, TAccountComputationAccount, TAccountClusterAccount, TAccountInstructionsSysvar, TAccountStakeAccount>;
|
|
3045
|
+
}): StakeCallbackInstruction<TProgramAddress, TAccountArciumProgram, TAccountCompDefAccount, TAccountMxeAccount, TAccountComputationAccount, TAccountClusterAccount, TAccountInstructionsSysvar, TAccountMarket, TAccountStakeAccount>;
|
|
3024
3046
|
type ParsedStakeCallbackInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3025
3047
|
programAddress: Address<TProgram>;
|
|
3026
3048
|
accounts: {
|
|
@@ -3030,7 +3052,8 @@ type ParsedStakeCallbackInstruction<TProgram extends string = typeof OPPORTUNITY
|
|
|
3030
3052
|
computationAccount: TAccountMetas[3];
|
|
3031
3053
|
clusterAccount: TAccountMetas[4];
|
|
3032
3054
|
instructionsSysvar: TAccountMetas[5];
|
|
3033
|
-
|
|
3055
|
+
market: TAccountMetas[6];
|
|
3056
|
+
stakeAccount: TAccountMetas[7];
|
|
3034
3057
|
};
|
|
3035
3058
|
data: StakeCallbackInstructionData;
|
|
3036
3059
|
};
|
|
@@ -3217,12 +3240,16 @@ type UpdateCentralStateInstructionData = {
|
|
|
3217
3240
|
minOptionDeposit: bigint;
|
|
3218
3241
|
protocolFeeBp: number;
|
|
3219
3242
|
feeRecipient: Address;
|
|
3243
|
+
rewardWithdrawStakedLimit: number;
|
|
3244
|
+
minimumInitialRevealPeriod: bigint;
|
|
3220
3245
|
};
|
|
3221
3246
|
type UpdateCentralStateInstructionDataArgs = {
|
|
3222
3247
|
earlinessCutoffSeconds: number | bigint;
|
|
3223
3248
|
minOptionDeposit: number | bigint;
|
|
3224
3249
|
protocolFeeBp: number;
|
|
3225
3250
|
feeRecipient: Address;
|
|
3251
|
+
rewardWithdrawStakedLimit: number;
|
|
3252
|
+
minimumInitialRevealPeriod: number | bigint;
|
|
3226
3253
|
};
|
|
3227
3254
|
declare function getUpdateCentralStateInstructionDataEncoder(): FixedSizeEncoder<UpdateCentralStateInstructionDataArgs>;
|
|
3228
3255
|
declare function getUpdateCentralStateInstructionDataDecoder(): FixedSizeDecoder<UpdateCentralStateInstructionData>;
|
|
@@ -3234,6 +3261,8 @@ type UpdateCentralStateAsyncInput<TAccountAuthority extends string = string, TAc
|
|
|
3234
3261
|
minOptionDeposit: UpdateCentralStateInstructionDataArgs['minOptionDeposit'];
|
|
3235
3262
|
protocolFeeBp: UpdateCentralStateInstructionDataArgs['protocolFeeBp'];
|
|
3236
3263
|
feeRecipient: UpdateCentralStateInstructionDataArgs['feeRecipient'];
|
|
3264
|
+
rewardWithdrawStakedLimit: UpdateCentralStateInstructionDataArgs['rewardWithdrawStakedLimit'];
|
|
3265
|
+
minimumInitialRevealPeriod: UpdateCentralStateInstructionDataArgs['minimumInitialRevealPeriod'];
|
|
3237
3266
|
};
|
|
3238
3267
|
declare function getUpdateCentralStateInstructionAsync<TAccountAuthority extends string, TAccountCentralState extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: UpdateCentralStateAsyncInput<TAccountAuthority, TAccountCentralState>, config?: {
|
|
3239
3268
|
programAddress?: TProgramAddress;
|
|
@@ -3245,6 +3274,8 @@ type UpdateCentralStateInput<TAccountAuthority extends string = string, TAccount
|
|
|
3245
3274
|
minOptionDeposit: UpdateCentralStateInstructionDataArgs['minOptionDeposit'];
|
|
3246
3275
|
protocolFeeBp: UpdateCentralStateInstructionDataArgs['protocolFeeBp'];
|
|
3247
3276
|
feeRecipient: UpdateCentralStateInstructionDataArgs['feeRecipient'];
|
|
3277
|
+
rewardWithdrawStakedLimit: UpdateCentralStateInstructionDataArgs['rewardWithdrawStakedLimit'];
|
|
3278
|
+
minimumInitialRevealPeriod: UpdateCentralStateInstructionDataArgs['minimumInitialRevealPeriod'];
|
|
3248
3279
|
};
|
|
3249
3280
|
declare function getUpdateCentralStateInstruction<TAccountAuthority extends string, TAccountCentralState extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: UpdateCentralStateInput<TAccountAuthority, TAccountCentralState>, config?: {
|
|
3250
3281
|
programAddress?: TProgramAddress;
|
|
@@ -3269,12 +3300,13 @@ declare function parseUpdateCentralStateInstruction<TProgram extends string, TAc
|
|
|
3269
3300
|
|
|
3270
3301
|
declare const WITHDRAW_REWARD_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
|
|
3271
3302
|
declare function getWithdrawRewardDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
|
|
3272
|
-
type WithdrawRewardInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS,
|
|
3273
|
-
|
|
3303
|
+
type WithdrawRewardInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountTokenMint extends string | AccountMeta<string> = string, TAccountMarketTokenAta extends string | AccountMeta<string> = string, TAccountRefundTokenAccount extends string | AccountMeta<string> = string, TAccountCentralState extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
3304
|
+
TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
3274
3305
|
TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
|
|
3275
3306
|
TAccountTokenMint extends string ? ReadonlyAccount<TAccountTokenMint> : TAccountTokenMint,
|
|
3276
3307
|
TAccountMarketTokenAta extends string ? WritableAccount<TAccountMarketTokenAta> : TAccountMarketTokenAta,
|
|
3277
3308
|
TAccountRefundTokenAccount extends string ? WritableAccount<TAccountRefundTokenAccount> : TAccountRefundTokenAccount,
|
|
3309
|
+
TAccountCentralState extends string ? ReadonlyAccount<TAccountCentralState> : TAccountCentralState,
|
|
3278
3310
|
TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
|
|
3279
3311
|
...TRemainingAccounts
|
|
3280
3312
|
]>;
|
|
@@ -3285,43 +3317,46 @@ type WithdrawRewardInstructionDataArgs = {};
|
|
|
3285
3317
|
declare function getWithdrawRewardInstructionDataEncoder(): FixedSizeEncoder<WithdrawRewardInstructionDataArgs>;
|
|
3286
3318
|
declare function getWithdrawRewardInstructionDataDecoder(): FixedSizeDecoder<WithdrawRewardInstructionData>;
|
|
3287
3319
|
declare function getWithdrawRewardInstructionDataCodec(): FixedSizeCodec<WithdrawRewardInstructionDataArgs, WithdrawRewardInstructionData>;
|
|
3288
|
-
type WithdrawRewardAsyncInput<
|
|
3289
|
-
|
|
3320
|
+
type WithdrawRewardAsyncInput<TAccountAuthority extends string = string, TAccountMarket extends string = string, TAccountTokenMint extends string = string, TAccountMarketTokenAta extends string = string, TAccountRefundTokenAccount extends string = string, TAccountCentralState extends string = string, TAccountTokenProgram extends string = string> = {
|
|
3321
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
3290
3322
|
market: Address<TAccountMarket>;
|
|
3291
3323
|
tokenMint: Address<TAccountTokenMint>;
|
|
3292
3324
|
/** Market's ATA holding reward tokens */
|
|
3293
3325
|
marketTokenAta?: Address<TAccountMarketTokenAta>;
|
|
3294
3326
|
/** Creator-specified destination for refunded reward tokens */
|
|
3295
3327
|
refundTokenAccount: Address<TAccountRefundTokenAccount>;
|
|
3328
|
+
centralState?: Address<TAccountCentralState>;
|
|
3296
3329
|
tokenProgram: Address<TAccountTokenProgram>;
|
|
3297
3330
|
};
|
|
3298
|
-
declare function getWithdrawRewardInstructionAsync<
|
|
3331
|
+
declare function getWithdrawRewardInstructionAsync<TAccountAuthority extends string, TAccountMarket extends string, TAccountTokenMint extends string, TAccountMarketTokenAta extends string, TAccountRefundTokenAccount extends string, TAccountCentralState extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: WithdrawRewardAsyncInput<TAccountAuthority, TAccountMarket, TAccountTokenMint, TAccountMarketTokenAta, TAccountRefundTokenAccount, TAccountCentralState, TAccountTokenProgram>, config?: {
|
|
3299
3332
|
programAddress?: TProgramAddress;
|
|
3300
|
-
}): Promise<WithdrawRewardInstruction<TProgramAddress,
|
|
3301
|
-
type WithdrawRewardInput<
|
|
3302
|
-
|
|
3333
|
+
}): Promise<WithdrawRewardInstruction<TProgramAddress, TAccountAuthority, TAccountMarket, TAccountTokenMint, TAccountMarketTokenAta, TAccountRefundTokenAccount, TAccountCentralState, TAccountTokenProgram>>;
|
|
3334
|
+
type WithdrawRewardInput<TAccountAuthority extends string = string, TAccountMarket extends string = string, TAccountTokenMint extends string = string, TAccountMarketTokenAta extends string = string, TAccountRefundTokenAccount extends string = string, TAccountCentralState extends string = string, TAccountTokenProgram extends string = string> = {
|
|
3335
|
+
authority: TransactionSigner<TAccountAuthority>;
|
|
3303
3336
|
market: Address<TAccountMarket>;
|
|
3304
3337
|
tokenMint: Address<TAccountTokenMint>;
|
|
3305
3338
|
/** Market's ATA holding reward tokens */
|
|
3306
3339
|
marketTokenAta: Address<TAccountMarketTokenAta>;
|
|
3307
3340
|
/** Creator-specified destination for refunded reward tokens */
|
|
3308
3341
|
refundTokenAccount: Address<TAccountRefundTokenAccount>;
|
|
3342
|
+
centralState: Address<TAccountCentralState>;
|
|
3309
3343
|
tokenProgram: Address<TAccountTokenProgram>;
|
|
3310
3344
|
};
|
|
3311
|
-
declare function getWithdrawRewardInstruction<
|
|
3345
|
+
declare function getWithdrawRewardInstruction<TAccountAuthority extends string, TAccountMarket extends string, TAccountTokenMint extends string, TAccountMarketTokenAta extends string, TAccountRefundTokenAccount extends string, TAccountCentralState extends string, TAccountTokenProgram extends string, TProgramAddress extends Address = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS>(input: WithdrawRewardInput<TAccountAuthority, TAccountMarket, TAccountTokenMint, TAccountMarketTokenAta, TAccountRefundTokenAccount, TAccountCentralState, TAccountTokenProgram>, config?: {
|
|
3312
3346
|
programAddress?: TProgramAddress;
|
|
3313
|
-
}): WithdrawRewardInstruction<TProgramAddress,
|
|
3347
|
+
}): WithdrawRewardInstruction<TProgramAddress, TAccountAuthority, TAccountMarket, TAccountTokenMint, TAccountMarketTokenAta, TAccountRefundTokenAccount, TAccountCentralState, TAccountTokenProgram>;
|
|
3314
3348
|
type ParsedWithdrawRewardInstruction<TProgram extends string = typeof OPPORTUNITY_MARKET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
3315
3349
|
programAddress: Address<TProgram>;
|
|
3316
3350
|
accounts: {
|
|
3317
|
-
|
|
3351
|
+
authority: TAccountMetas[0];
|
|
3318
3352
|
market: TAccountMetas[1];
|
|
3319
3353
|
tokenMint: TAccountMetas[2];
|
|
3320
3354
|
/** Market's ATA holding reward tokens */
|
|
3321
3355
|
marketTokenAta: TAccountMetas[3];
|
|
3322
3356
|
/** Creator-specified destination for refunded reward tokens */
|
|
3323
3357
|
refundTokenAccount: TAccountMetas[4];
|
|
3324
|
-
|
|
3358
|
+
centralState: TAccountMetas[5];
|
|
3359
|
+
tokenProgram: TAccountMetas[6];
|
|
3325
3360
|
};
|
|
3326
3361
|
data: WithdrawRewardInstructionData;
|
|
3327
3362
|
};
|
|
@@ -3374,6 +3409,7 @@ interface CreateMarketParams extends BaseInstructionParams {
|
|
|
3374
3409
|
unstakeDelaySeconds: bigint;
|
|
3375
3410
|
authorizedReaderPubkey: ByteArray;
|
|
3376
3411
|
allowClosingEarly: boolean;
|
|
3412
|
+
revealPeriodAuthority: Address;
|
|
3377
3413
|
}
|
|
3378
3414
|
declare function createMarket(input: CreateMarketParams): Promise<CreateMarketInstruction<string>>;
|
|
3379
3415
|
|
|
@@ -3394,6 +3430,7 @@ interface ArciumConfig {
|
|
|
3394
3430
|
|
|
3395
3431
|
interface StakeParams extends BaseInstructionParams {
|
|
3396
3432
|
signer: TransactionSigner;
|
|
3433
|
+
payer: TransactionSigner;
|
|
3397
3434
|
market: Address;
|
|
3398
3435
|
stakeAccountId: number;
|
|
3399
3436
|
tokenMint: Address;
|
|
@@ -3442,12 +3479,11 @@ interface SelectWinningOptionsParams extends BaseInstructionParams {
|
|
|
3442
3479
|
}
|
|
3443
3480
|
declare function selectWinningOptions(input: SelectWinningOptionsParams): SelectWinningOptionsInstruction<string>;
|
|
3444
3481
|
|
|
3445
|
-
interface
|
|
3482
|
+
interface EndRevealPeriodParams extends BaseInstructionParams {
|
|
3446
3483
|
authority: TransactionSigner;
|
|
3447
3484
|
market: Address;
|
|
3448
|
-
newTimeToReveal: bigint;
|
|
3449
3485
|
}
|
|
3450
|
-
declare function
|
|
3486
|
+
declare function endRevealPeriod(input: EndRevealPeriodParams): EndRevealPeriodInstruction<string>;
|
|
3451
3487
|
|
|
3452
3488
|
interface IncreaseRewardPoolParams extends BaseInstructionParams {
|
|
3453
3489
|
authority: TransactionSigner;
|
|
@@ -3524,11 +3560,13 @@ interface EnsureCentralStateParams extends BaseInstructionParams {
|
|
|
3524
3560
|
minOptionDeposit: bigint | number;
|
|
3525
3561
|
protocolFeeBp: number;
|
|
3526
3562
|
feeRecipient: Address;
|
|
3563
|
+
rewardWithdrawStakedLimit: number;
|
|
3564
|
+
minimumInitialRevealPeriod: bigint | number;
|
|
3527
3565
|
}
|
|
3528
3566
|
declare function ensureCentralState(rpc: Parameters<typeof fetchMaybeCentralState>[0], params: EnsureCentralStateParams): Promise<Instruction | null>;
|
|
3529
3567
|
|
|
3530
3568
|
interface WithdrawRewardParams extends BaseInstructionParams {
|
|
3531
|
-
|
|
3569
|
+
authority: TransactionSigner;
|
|
3532
3570
|
market: Address;
|
|
3533
3571
|
tokenMint: Address;
|
|
3534
3572
|
refundTokenAccount: Address;
|
|
@@ -3599,4 +3637,4 @@ declare function deriveSharedSecret(userSecretKey: Uint8Array, mxePublicKey: Uin
|
|
|
3599
3637
|
declare function createCipher(userSecretKey: Uint8Array, mxePublicKey: Uint8Array): RescueCipher;
|
|
3600
3638
|
declare function nonceToBytes(nonce: bigint): Uint8Array;
|
|
3601
3639
|
|
|
3602
|
-
export { ADD_MARKET_OPTION_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 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, 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 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, EXTEND_REVEAL_PERIOD_DISCRIMINATOR, type EnsureCentralStateParams, type Epoch, type EpochArgs, type ExtendRevealPeriodInput, type ExtendRevealPeriodInstruction, type ExtendRevealPeriodInstructionData, type ExtendRevealPeriodInstructionDataArgs, type ExtendRevealPeriodParams, FEE_POOL_DISCRIMINATOR, type FeePool, type FeePoolArgs, type FeesClaimedEvent, type FeesClaimedEventArgs, INCREASE_REWARD_POOL_DISCRIMINATOR, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_STAKE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncreaseRewardPoolAsyncInput, type IncreaseRewardPoolInput, type IncreaseRewardPoolInstruction, type IncreaseRewardPoolInstructionData, type IncreaseRewardPoolInstructionDataArgs, type IncreaseRewardPoolParams, 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_PURCHASED, OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED, 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__REWARD_ALREADY_WITHDRAWN, OPPORTUNITY_MARKET_ERROR__REWARD_AMOUNT_NOT_INCREASED, 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, type OffChainCircuitSource, type OffChainCircuitSourceArgs, type OnChainCircuitSource, type OnChainCircuitSourceArgs, type OpenMarketAsyncInput, type OpenMarketInput, type OpenMarketInstruction, type OpenMarketInstructionData, type OpenMarketInstructionDataArgs, type OpenMarketParams, type OpportunityMarket, OpportunityMarketAccount, type OpportunityMarketArgs, type OpportunityMarketError, OpportunityMarketInstruction, type OpportunityMarketOption, type OpportunityMarketOptionArgs, Output, type OutputArgs, Parameter, type ParameterArgs, type ParsedAddMarketOptionInstruction, type ParsedClaimFeesInstruction, type ParsedCloseStakeAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedExtendRevealPeriodInstruction, type ParsedIncreaseRewardPoolInstruction, 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 RewardClaimedEvent, type RewardClaimedEventArgs, type RewardPoolIncreasedEvent, type RewardPoolIncreasedEventArgs, type RewardWithdrawnEvent, type RewardWithdrawnEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, 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 StakeRevealedError, type StakeRevealedErrorArgs, type StakeRevealedEvent, type StakeRevealedEventArgs, type StakedError, type StakedErrorArgs, type StakedEvent, type StakedEventArgs, 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, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeStakeAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeStakeAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, ensureCentralState, extendRevealPeriod, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeStakeAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllStakeAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeStakeAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchStakeAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, 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, 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, getEpochCodec, getEpochDecoder, getEpochEncoder, getExtendRevealPeriodDiscriminatorBytes, getExtendRevealPeriodInstruction, getExtendRevealPeriodInstructionDataCodec, getExtendRevealPeriodInstructionDataDecoder, getExtendRevealPeriodInstructionDataEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getIncreaseRewardPoolDiscriminatorBytes, getIncreaseRewardPoolInstruction, getIncreaseRewardPoolInstructionAsync, getIncreaseRewardPoolInstructionDataCodec, getIncreaseRewardPoolInstructionDataDecoder, getIncreaseRewardPoolInstructionDataEncoder, 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, getOpenMarketInstructionAsync, getOpenMarketInstructionDataCodec, getOpenMarketInstructionDataDecoder, getOpenMarketInstructionDataEncoder, getOpportunityMarketAddress, getOpportunityMarketCodec, getOpportunityMarketDecoder, getOpportunityMarketDiscriminatorBytes, getOpportunityMarketEncoder, getOpportunityMarketErrorMessage, getOpportunityMarketOptionAddress, getOpportunityMarketOptionCodec, getOpportunityMarketOptionDecoder, getOpportunityMarketOptionDiscriminatorBytes, getOpportunityMarketOptionEncoder, 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, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getRewardPoolIncreasedEventCodec, getRewardPoolIncreasedEventDecoder, getRewardPoolIncreasedEventEncoder, 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, getStakeRevealedErrorCodec, getStakeRevealedErrorDecoder, getStakeRevealedErrorEncoder, getStakeRevealedEventCodec, getStakeRevealedEventDecoder, getStakeRevealedEventEncoder, getStakedErrorCodec, getStakedErrorDecoder, getStakedErrorEncoder, getStakedEventCodec, getStakedEventDecoder, getStakedEventEncoder, 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, increaseRewardPool, incrementOptionTally, initStakeAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionInstruction, parseClaimFeesInstruction, parseCloseStakeAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseExtendRevealPeriodInstruction, parseIncreaseRewardPoolInstruction, 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 };
|
|
3640
|
+
export { ADD_MARKET_OPTION_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 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, 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 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, INCREASE_REWARD_POOL_DISCRIMINATOR, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_STAKE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncreaseRewardPoolAsyncInput, type IncreaseRewardPoolInput, type IncreaseRewardPoolInstruction, type IncreaseRewardPoolInstructionData, type IncreaseRewardPoolInstructionDataArgs, type IncreaseRewardPoolParams, 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_PURCHASED, OPPORTUNITY_MARKET_ERROR__ALREADY_REVEALED, 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__REWARD_ALREADY_WITHDRAWN, OPPORTUNITY_MARKET_ERROR__REWARD_AMOUNT_NOT_INCREASED, 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, type OffChainCircuitSource, type OffChainCircuitSourceArgs, type OnChainCircuitSource, type OnChainCircuitSourceArgs, type OpenMarketAsyncInput, type OpenMarketInput, type OpenMarketInstruction, type OpenMarketInstructionData, type OpenMarketInstructionDataArgs, type OpenMarketParams, type OpportunityMarket, OpportunityMarketAccount, type OpportunityMarketArgs, type OpportunityMarketError, OpportunityMarketInstruction, type OpportunityMarketOption, type OpportunityMarketOptionArgs, Output, type OutputArgs, Parameter, type ParameterArgs, type ParsedAddMarketOptionInstruction, type ParsedClaimFeesInstruction, type ParsedCloseStakeAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedEndRevealPeriodInstruction, type ParsedIncreaseRewardPoolInstruction, 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 RewardClaimedEvent, type RewardClaimedEventArgs, type RewardPoolIncreasedEvent, type RewardPoolIncreasedEventArgs, type RewardWithdrawnEvent, type RewardWithdrawnEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, 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 StakeRevealedError, type StakeRevealedErrorArgs, type StakeRevealedEvent, type StakeRevealedEventArgs, type StakedError, type StakedErrorArgs, type StakedEvent, type StakedEventArgs, 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, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeStakeAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeStakeAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, endRevealPeriod, ensureCentralState, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeStakeAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllStakeAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeStakeAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchStakeAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, 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, 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, getIncreaseRewardPoolDiscriminatorBytes, getIncreaseRewardPoolInstruction, getIncreaseRewardPoolInstructionAsync, getIncreaseRewardPoolInstructionDataCodec, getIncreaseRewardPoolInstructionDataDecoder, getIncreaseRewardPoolInstructionDataEncoder, 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, getOpenMarketInstructionAsync, getOpenMarketInstructionDataCodec, getOpenMarketInstructionDataDecoder, getOpenMarketInstructionDataEncoder, getOpportunityMarketAddress, getOpportunityMarketCodec, getOpportunityMarketDecoder, getOpportunityMarketDiscriminatorBytes, getOpportunityMarketEncoder, getOpportunityMarketErrorMessage, getOpportunityMarketOptionAddress, getOpportunityMarketOptionCodec, getOpportunityMarketOptionDecoder, getOpportunityMarketOptionDiscriminatorBytes, getOpportunityMarketOptionEncoder, 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, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getRewardPoolIncreasedEventCodec, getRewardPoolIncreasedEventDecoder, getRewardPoolIncreasedEventEncoder, 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, getStakeRevealedErrorCodec, getStakeRevealedErrorDecoder, getStakeRevealedErrorEncoder, getStakeRevealedEventCodec, getStakeRevealedEventDecoder, getStakeRevealedEventEncoder, getStakedErrorCodec, getStakedErrorDecoder, getStakedErrorEncoder, getStakedEventCodec, getStakedEventDecoder, getStakedEventEncoder, 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, increaseRewardPool, incrementOptionTally, initStakeAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionInstruction, parseClaimFeesInstruction, parseCloseStakeAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseEndRevealPeriodInstruction, parseIncreaseRewardPoolInstruction, 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 };
|