@bench.games/opportunity-markets 0.1.19 → 0.1.21
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 +36 -16
- package/dist/index.cjs +34 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +36 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1939,7 +1939,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1939
1939
|
* @see https://github.com/codama-idl/codama
|
|
1940
1940
|
*/
|
|
1941
1941
|
|
|
1942
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1942
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"bncZ1gDqgqhSWFzcxjeMoCtqN7odS8wYn1nS5tXZ9jA">;
|
|
1943
1943
|
declare enum OpportunityMarketAccount {
|
|
1944
1944
|
ArciumSignerAccount = 0,
|
|
1945
1945
|
CentralState = 1,
|
|
@@ -2000,7 +2000,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
2000
2000
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
2001
2001
|
data: ReadonlyUint8Array;
|
|
2002
2002
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
2003
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
2003
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'bncZ1gDqgqhSWFzcxjeMoCtqN7odS8wYn1nS5tXZ9jA'> = ({
|
|
2004
2004
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
2005
2005
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
2006
2006
|
instructionType: OpportunityMarketInstruction.AddMarketOptionAsCreator;
|
|
@@ -5267,12 +5267,15 @@ declare function getEncryptedTokenAccountAddressWithIndex(tokenMint: Address, ow
|
|
|
5267
5267
|
*/
|
|
5268
5268
|
declare function getEphemeralEncryptedTokenAccountAddress(tokenMint: Address, owner: Address, index: bigint, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5269
5269
|
|
|
5270
|
-
declare const
|
|
5271
|
-
declare function
|
|
5270
|
+
declare const OPPORTUNITY_MARKET_SEED = "opportunity_market";
|
|
5271
|
+
declare function getOpportunityMarketAddress(creator: Address, marketIndex: bigint | number, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5272
5272
|
|
|
5273
5273
|
declare const OPPORTUNITY_MARKET_OPTION_SEED = "option";
|
|
5274
5274
|
declare function getOpportunityMarketOptionAddress(market: Address, optionIndex: number, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5275
5275
|
|
|
5276
|
+
declare const SHARE_ACCOUNT_SEED = "share_account";
|
|
5277
|
+
declare function getShareAccountAddress(owner: Address, market: Address, shareAccountId: number, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5278
|
+
|
|
5276
5279
|
declare const TOKEN_VAULT_SEED = "token_vault";
|
|
5277
5280
|
declare function getTokenVaultAddress(mint: Address, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5278
5281
|
|
|
@@ -5324,4 +5327,4 @@ declare function deriveSharedSecret(userSecretKey: Uint8Array, mxePublicKey: Uin
|
|
|
5324
5327
|
declare function createCipher(userSecretKey: Uint8Array, mxePublicKey: Uint8Array): RescueCipher;
|
|
5325
5328
|
declare function nonceToBytes(nonce: bigint): Uint8Array;
|
|
5326
5329
|
|
|
5327
|
-
export { ADD_MARKET_OPTION_AS_CREATOR_DISCRIMINATOR, ADD_MARKET_OPTION_DISCRIMINATOR, ADD_OPTION_STAKE_CALLBACK_DISCRIMINATOR, ADD_OPTION_STAKE_COMP_DEF_DISCRIMINATOR, ALL_COMP_DEF_CIRCUITS, ARCIUM_SIGNER_ACCOUNT_DISCRIMINATOR, type Activation, type ActivationArgs, type AddMarketOptionAsCreatorAsyncInput, type AddMarketOptionAsCreatorInput, type AddMarketOptionAsCreatorInstruction, type AddMarketOptionAsCreatorInstructionData, type AddMarketOptionAsCreatorInstructionDataArgs, type AddMarketOptionAsCreatorParams, type AddMarketOptionAsyncInput, type AddMarketOptionInput, type AddMarketOptionInstruction, type AddMarketOptionInstructionData, type AddMarketOptionInstructionDataArgs, type AddMarketOptionParams, type AddOptionStakeCallbackInput, type AddOptionStakeCallbackInstruction, type AddOptionStakeCallbackInstructionData, type AddOptionStakeCallbackInstructionDataArgs, type AddOptionStakeCompDefInput, type AddOptionStakeCompDefInstruction, type AddOptionStakeCompDefInstructionData, type AddOptionStakeCompDefInstructionDataArgs, type AddOptionStakeOutput, type AddOptionStakeOutputArgs, type AddOptionStakeOutputStruct0, type AddOptionStakeOutputStruct0Args, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, BUY_OPPORTUNITY_MARKET_SHARES_CALLBACK_DISCRIMINATOR, BUY_OPPORTUNITY_MARKET_SHARES_COMP_DEF_DISCRIMINATOR, type BaseInstructionParams, type BuyOpportunityMarketSharesCallbackInput, type BuyOpportunityMarketSharesCallbackInstruction, type BuyOpportunityMarketSharesCallbackInstructionData, type BuyOpportunityMarketSharesCallbackInstructionDataArgs, type BuyOpportunityMarketSharesCompDefInput, type BuyOpportunityMarketSharesCompDefInstruction, type BuyOpportunityMarketSharesCompDefInstructionData, type BuyOpportunityMarketSharesCompDefInstructionDataArgs, type BuyOpportunityMarketSharesOutput, type BuyOpportunityMarketSharesOutputArgs, type BuyOpportunityMarketSharesOutputStruct0, type BuyOpportunityMarketSharesOutputStruct0Args, type ByteArray, CENTRAL_STATE_DISCRIMINATOR, CENTRAL_STATE_SEED, CLAIM_FEES_DISCRIMINATOR, CLAIM_PENDING_DEPOSIT_DISCRIMINATOR, CLOCK_ACCOUNT_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_CALLBACK_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_COMP_DEF_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, CLOSE_SHARE_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 ClaimPendingDepositAsyncInput, type ClaimPendingDepositInput, type ClaimPendingDepositInstruction, type ClaimPendingDepositInstructionData, type ClaimPendingDepositInstructionDataArgs, type ClockAccount, type ClockAccountArgs, type CloseEphemeralEncryptedTokenAccountAsyncInput, type CloseEphemeralEncryptedTokenAccountCallbackInput, type CloseEphemeralEncryptedTokenAccountCallbackInstruction, type CloseEphemeralEncryptedTokenAccountCallbackInstructionData, type CloseEphemeralEncryptedTokenAccountCallbackInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountCompDefInput, type CloseEphemeralEncryptedTokenAccountCompDefInstruction, type CloseEphemeralEncryptedTokenAccountCompDefInstructionData, type CloseEphemeralEncryptedTokenAccountCompDefInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountInput, type CloseEphemeralEncryptedTokenAccountInstruction, type CloseEphemeralEncryptedTokenAccountInstructionData, type CloseEphemeralEncryptedTokenAccountInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountOutput, type CloseEphemeralEncryptedTokenAccountOutputArgs, type CloseEphemeralEncryptedTokenAccountParams, type CloseShareAccountAsyncInput, type CloseShareAccountInput, type CloseShareAccountInstruction, type CloseShareAccountInstructionData, type CloseShareAccountInstructionDataArgs, type CloseShareAccountParams, 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, ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, ENCRYPTED_TOKEN_ACCOUNT_SEED, EXTEND_REVEAL_PERIOD_DISCRIMINATOR, type EncryptedTokenAccount, type EncryptedTokenAccountArgs, type EncryptedTokenAccountInitializedEvent, type EncryptedTokenAccountInitializedEventArgs, type EncryptedTokensUnwrappedError, type EncryptedTokensUnwrappedErrorArgs, type EncryptedTokensUnwrappedEvent, type EncryptedTokensUnwrappedEventArgs, type EncryptedTokensWrappedEvent, type EncryptedTokensWrappedEventArgs, type EnsureCentralStateParams, type EphemeralAccountClosedError, type EphemeralAccountClosedErrorArgs, type EphemeralAccountClosedEvent, type EphemeralAccountClosedEventArgs, type EphemeralEncryptedTokenAccountInitializedEvent, type EphemeralEncryptedTokenAccountInitializedEventArgs, 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, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, INIT_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, INIT_SHARE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncrementOptionTallyAsyncInput, type IncrementOptionTallyInput, type IncrementOptionTallyInstruction, type IncrementOptionTallyInstructionData, type IncrementOptionTallyInstructionDataArgs, type IncrementOptionTallyParams, type InitCentralStateAsyncInput, type InitCentralStateInput, type InitCentralStateInstruction, type InitCentralStateInstructionData, type InitCentralStateInstructionDataArgs, type InitCompDefConfig, type InitEncryptedTokenAccountAsyncInput, type InitEncryptedTokenAccountInput, type InitEncryptedTokenAccountInstruction, type InitEncryptedTokenAccountInstructionData, type InitEncryptedTokenAccountInstructionDataArgs, type InitEncryptedTokenAccountParams, type InitEphemeralEncryptedTokenAccountAsyncInput, type InitEphemeralEncryptedTokenAccountInput, type InitEphemeralEncryptedTokenAccountInstruction, type InitEphemeralEncryptedTokenAccountInstructionData, type InitEphemeralEncryptedTokenAccountInstructionDataArgs, type InitEphemeralEncryptedTokenAccountParams, type InitShareAccountAsyncInput, type InitShareAccountInput, type InitShareAccountInstruction, type InitShareAccountInstructionData, type InitShareAccountInstructionDataArgs, type InitShareAccountParams, 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_INDEX, 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__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, 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 ParsedAddMarketOptionAsCreatorInstruction, type ParsedAddMarketOptionInstruction, type ParsedAddOptionStakeCallbackInstruction, type ParsedAddOptionStakeCompDefInstruction, type ParsedBuyOpportunityMarketSharesCallbackInstruction, type ParsedBuyOpportunityMarketSharesCompDefInstruction, type ParsedClaimFeesInstruction, type ParsedClaimPendingDepositInstruction, type ParsedCloseEphemeralEncryptedTokenAccountCallbackInstruction, type ParsedCloseEphemeralEncryptedTokenAccountCompDefInstruction, type ParsedCloseEphemeralEncryptedTokenAccountInstruction, type ParsedCloseShareAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedExtendRevealPeriodInstruction, type ParsedIncrementOptionTallyInstruction, type ParsedInitCentralStateInstruction, type ParsedInitEncryptedTokenAccountInstruction, type ParsedInitEphemeralEncryptedTokenAccountInstruction, type ParsedInitShareAccountInstruction, type ParsedInitTokenVaultInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedRevealSharesCallbackInstruction, type ParsedRevealSharesCompDefInstruction, type ParsedRevealSharesInstruction, type ParsedSelectWinningOptionsInstruction, type ParsedStakeInstruction, type ParsedTransferCentralStateAuthorityInstruction, type ParsedUnstakeEarlyCallbackInstruction, type ParsedUnstakeEarlyCompDefInstruction, type ParsedUnstakeEarlyInstruction, type ParsedUnwrapEncryptedTokensCallbackInstruction, type ParsedUnwrapEncryptedTokensCompDefInstruction, type ParsedUnwrapEncryptedTokensInstruction, type ParsedUpdateCentralStateInstruction, type ParsedWrapEncryptedTokensCallbackInstruction, type ParsedWrapEncryptedTokensCompDefInstruction, type ParsedWrapEncryptedTokensInstruction, type PendingDepositClaimedEvent, type PendingDepositClaimedEventArgs, REVEAL_SHARES_CALLBACK_DISCRIMINATOR, REVEAL_SHARES_COMP_DEF_DISCRIMINATOR, REVEAL_SHARES_DISCRIMINATOR, type RevealPeriodExtendedEvent, type RevealPeriodExtendedEventArgs, type RevealSharesAsyncInput, type RevealSharesCallbackInput, type RevealSharesCallbackInstruction, type RevealSharesCallbackInstructionData, type RevealSharesCallbackInstructionDataArgs, type RevealSharesCompDefInput, type RevealSharesCompDefInstruction, type RevealSharesCompDefInstructionData, type RevealSharesCompDefInstructionDataArgs, type RevealSharesInput, type RevealSharesInstruction, type RevealSharesInstructionData, type RevealSharesInstructionDataArgs, type RevealSharesOutput, type RevealSharesOutputArgs, type RevealSharesOutputStruct0, type RevealSharesOutputStruct0Args, type RevealSharesParams, type RewardClaimedEvent, type RewardClaimedEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, SHARE_ACCOUNT_DISCRIMINATOR, SHARE_ACCOUNT_SEED, STAKE_DISCRIMINATOR, type SelectWinningOptionsInput, type SelectWinningOptionsInstruction, type SelectWinningOptionsInstructionData, type SelectWinningOptionsInstructionDataArgs, type SelectWinningOptionsParams, type ShareAccount, type ShareAccountArgs, type ShareAccountInitializedEvent, type ShareAccountInitializedEventArgs, type StakeAsyncInput, type StakeInput, type StakeInstruction, type StakeInstructionData, type StakeInstructionDataArgs, type StakeParams, 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_CALLBACK_DISCRIMINATOR, UNSTAKE_EARLY_COMP_DEF_DISCRIMINATOR, UNSTAKE_EARLY_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_CALLBACK_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_COMP_DEF_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_DISCRIMINATOR, UPDATE_CENTRAL_STATE_DISCRIMINATOR, type UnstakeEarlyAsyncInput, type UnstakeEarlyCallbackInput, type UnstakeEarlyCallbackInstruction, type UnstakeEarlyCallbackInstructionData, type UnstakeEarlyCallbackInstructionDataArgs, type UnstakeEarlyCompDefInput, type UnstakeEarlyCompDefInstruction, type UnstakeEarlyCompDefInstructionData, type UnstakeEarlyCompDefInstructionDataArgs, type UnstakeEarlyInput, type UnstakeEarlyInstruction, type UnstakeEarlyInstructionData, type UnstakeEarlyInstructionDataArgs, type UnstakeEarlyOutput, type UnstakeEarlyOutputArgs, type UnstakeEarlyParams, type UnstakeInitiatedEvent, type UnstakeInitiatedEventArgs, type UnstakedError, type UnstakedErrorArgs, type UnstakedEvent, type UnstakedEventArgs, type UnwrapEncryptedTokensAsyncInput, type UnwrapEncryptedTokensCallbackInput, type UnwrapEncryptedTokensCallbackInstruction, type UnwrapEncryptedTokensCallbackInstructionData, type UnwrapEncryptedTokensCallbackInstructionDataArgs, type UnwrapEncryptedTokensCompDefInput, type UnwrapEncryptedTokensCompDefInstruction, type UnwrapEncryptedTokensCompDefInstructionData, type UnwrapEncryptedTokensCompDefInstructionDataArgs, type UnwrapEncryptedTokensInput, type UnwrapEncryptedTokensInstruction, type UnwrapEncryptedTokensInstructionData, type UnwrapEncryptedTokensInstructionDataArgs, type UnwrapEncryptedTokensOutput, type UnwrapEncryptedTokensOutputArgs, type UnwrapEncryptedTokensOutputStruct0, type UnwrapEncryptedTokensOutputStruct0Args, type UnwrapEncryptedTokensParams, type UpdateCentralStateAsyncInput, type UpdateCentralStateInput, type UpdateCentralStateInstruction, type UpdateCentralStateInstructionData, type UpdateCentralStateInstructionDataArgs, type UtilityPubkeys, type UtilityPubkeysArgs, WRAP_ENCRYPTED_TOKENS_CALLBACK_DISCRIMINATOR, WRAP_ENCRYPTED_TOKENS_COMP_DEF_DISCRIMINATOR, WRAP_ENCRYPTED_TOKENS_DISCRIMINATOR, type WinningOption, type WinningOptionArgs, type WinningOptionsSelectedEvent, type WinningOptionsSelectedEventArgs, type WrapEncryptedTokensAsyncInput, type WrapEncryptedTokensCallbackInput, type WrapEncryptedTokensCallbackInstruction, type WrapEncryptedTokensCallbackInstructionData, type WrapEncryptedTokensCallbackInstructionDataArgs, type WrapEncryptedTokensCompDefInput, type WrapEncryptedTokensCompDefInstruction, type WrapEncryptedTokensCompDefInstructionData, type WrapEncryptedTokensCompDefInstructionDataArgs, type WrapEncryptedTokensInput, type WrapEncryptedTokensInstruction, type WrapEncryptedTokensInstructionData, type WrapEncryptedTokensInstructionDataArgs, type WrapEncryptedTokensOutput, type WrapEncryptedTokensOutputArgs, type WrapEncryptedTokensParams, type X25519Keypair, addMarketOption, addMarketOptionAsCreator, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeEphemeralEncryptedTokenAccount, closeShareAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeEncryptedTokenAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeShareAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, ensureCentralState, extendRevealPeriod, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllEncryptedTokenAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeEncryptedTokenAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeShareAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllShareAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchEncryptedTokenAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeEncryptedTokenAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeShareAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchShareAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionAsCreatorDiscriminatorBytes, getAddMarketOptionAsCreatorInstruction, getAddMarketOptionAsCreatorInstructionAsync, getAddMarketOptionAsCreatorInstructionDataCodec, getAddMarketOptionAsCreatorInstructionDataDecoder, getAddMarketOptionAsCreatorInstructionDataEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddOptionStakeCallbackDiscriminatorBytes, getAddOptionStakeCallbackInstruction, getAddOptionStakeCallbackInstructionDataCodec, getAddOptionStakeCallbackInstructionDataDecoder, getAddOptionStakeCallbackInstructionDataEncoder, getAddOptionStakeCompDefDiscriminatorBytes, getAddOptionStakeCompDefInstruction, getAddOptionStakeCompDefInstructionDataCodec, getAddOptionStakeCompDefInstructionDataDecoder, getAddOptionStakeCompDefInstructionDataEncoder, getAddOptionStakeOutputCodec, getAddOptionStakeOutputDecoder, getAddOptionStakeOutputEncoder, getAddOptionStakeOutputStruct0Codec, getAddOptionStakeOutputStruct0Decoder, getAddOptionStakeOutputStruct0Encoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getBuyOpportunityMarketSharesCallbackDiscriminatorBytes, getBuyOpportunityMarketSharesCallbackInstruction, getBuyOpportunityMarketSharesCallbackInstructionDataCodec, getBuyOpportunityMarketSharesCallbackInstructionDataDecoder, getBuyOpportunityMarketSharesCallbackInstructionDataEncoder, getBuyOpportunityMarketSharesCompDefDiscriminatorBytes, getBuyOpportunityMarketSharesCompDefInstruction, getBuyOpportunityMarketSharesCompDefInstructionDataCodec, getBuyOpportunityMarketSharesCompDefInstructionDataDecoder, getBuyOpportunityMarketSharesCompDefInstructionDataEncoder, getBuyOpportunityMarketSharesOutputCodec, getBuyOpportunityMarketSharesOutputDecoder, getBuyOpportunityMarketSharesOutputEncoder, getBuyOpportunityMarketSharesOutputStruct0Codec, getBuyOpportunityMarketSharesOutputStruct0Decoder, getBuyOpportunityMarketSharesOutputStruct0Encoder, getCentralStateAddress, getCentralStateCodec, getCentralStateDecoder, getCentralStateDiscriminatorBytes, getCentralStateEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClaimPendingDepositDiscriminatorBytes, getClaimPendingDepositInstruction, getClaimPendingDepositInstructionAsync, getClaimPendingDepositInstructionDataCodec, getClaimPendingDepositInstructionDataDecoder, getClaimPendingDepositInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountDiscriminatorBytes, getClockAccountEncoder, getCloseEphemeralEncryptedTokenAccountCallbackDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountCallbackInstruction, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountCompDefDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountCompDefInstruction, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountInstruction, getCloseEphemeralEncryptedTokenAccountInstructionAsync, getCloseEphemeralEncryptedTokenAccountInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountOutputCodec, getCloseEphemeralEncryptedTokenAccountOutputDecoder, getCloseEphemeralEncryptedTokenAccountOutputEncoder, getCloseShareAccountDiscriminatorBytes, getCloseShareAccountInstruction, getCloseShareAccountInstructionAsync, getCloseShareAccountInstructionDataCodec, getCloseShareAccountInstructionDataDecoder, getCloseShareAccountInstructionDataEncoder, 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, getEncryptedTokenAccountAddress, getEncryptedTokenAccountAddressWithIndex, getEncryptedTokenAccountCodec, getEncryptedTokenAccountDecoder, getEncryptedTokenAccountDiscriminatorBytes, getEncryptedTokenAccountEncoder, getEncryptedTokenAccountInitializedEventCodec, getEncryptedTokenAccountInitializedEventDecoder, getEncryptedTokenAccountInitializedEventEncoder, getEncryptedTokensUnwrappedErrorCodec, getEncryptedTokensUnwrappedErrorDecoder, getEncryptedTokensUnwrappedErrorEncoder, getEncryptedTokensUnwrappedEventCodec, getEncryptedTokensUnwrappedEventDecoder, getEncryptedTokensUnwrappedEventEncoder, getEncryptedTokensWrappedEventCodec, getEncryptedTokensWrappedEventDecoder, getEncryptedTokensWrappedEventEncoder, getEphemeralAccountClosedErrorCodec, getEphemeralAccountClosedErrorDecoder, getEphemeralAccountClosedErrorEncoder, getEphemeralAccountClosedEventCodec, getEphemeralAccountClosedEventDecoder, getEphemeralAccountClosedEventEncoder, getEphemeralEncryptedTokenAccountAddress, getEphemeralEncryptedTokenAccountInitializedEventCodec, getEphemeralEncryptedTokenAccountInitializedEventDecoder, getEphemeralEncryptedTokenAccountInitializedEventEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getExtendRevealPeriodDiscriminatorBytes, getExtendRevealPeriodInstruction, getExtendRevealPeriodInstructionDataCodec, getExtendRevealPeriodInstructionDataDecoder, getExtendRevealPeriodInstructionDataEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getIncrementOptionTallyDiscriminatorBytes, getIncrementOptionTallyInstruction, getIncrementOptionTallyInstructionAsync, getIncrementOptionTallyInstructionDataCodec, getIncrementOptionTallyInstructionDataDecoder, getIncrementOptionTallyInstructionDataEncoder, getInitCentralStateDiscriminatorBytes, getInitCentralStateInstruction, getInitCentralStateInstructionAsync, getInitCentralStateInstructionDataCodec, getInitCentralStateInstructionDataDecoder, getInitCentralStateInstructionDataEncoder, getInitCompDefInstruction, getInitEncryptedTokenAccountDiscriminatorBytes, getInitEncryptedTokenAccountInstruction, getInitEncryptedTokenAccountInstructionAsync, getInitEncryptedTokenAccountInstructionDataCodec, getInitEncryptedTokenAccountInstructionDataDecoder, getInitEncryptedTokenAccountInstructionDataEncoder, getInitEphemeralEncryptedTokenAccountDiscriminatorBytes, getInitEphemeralEncryptedTokenAccountInstruction, getInitEphemeralEncryptedTokenAccountInstructionAsync, getInitEphemeralEncryptedTokenAccountInstructionDataCodec, getInitEphemeralEncryptedTokenAccountInstructionDataDecoder, getInitEphemeralEncryptedTokenAccountInstructionDataEncoder, getInitShareAccountDiscriminatorBytes, getInitShareAccountInstruction, getInitShareAccountInstructionAsync, getInitShareAccountInstructionDataCodec, getInitShareAccountInstructionDataDecoder, getInitShareAccountInstructionDataEncoder, 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, getOpportunityMarketCodec, getOpportunityMarketDecoder, getOpportunityMarketDiscriminatorBytes, getOpportunityMarketEncoder, getOpportunityMarketErrorMessage, getOpportunityMarketOptionAddress, getOpportunityMarketOptionCodec, getOpportunityMarketOptionDecoder, getOpportunityMarketOptionDiscriminatorBytes, getOpportunityMarketOptionEncoder, getOutputCodec, getOutputDecoder, getOutputEncoder, getParameterCodec, getParameterDecoder, getParameterEncoder, getPendingDepositClaimedEventCodec, getPendingDepositClaimedEventDecoder, getPendingDepositClaimedEventEncoder, getRevealPeriodExtendedEventCodec, getRevealPeriodExtendedEventDecoder, getRevealPeriodExtendedEventEncoder, getRevealSharesCallbackDiscriminatorBytes, getRevealSharesCallbackInstruction, getRevealSharesCallbackInstructionDataCodec, getRevealSharesCallbackInstructionDataDecoder, getRevealSharesCallbackInstructionDataEncoder, getRevealSharesCompDefDiscriminatorBytes, getRevealSharesCompDefInstruction, getRevealSharesCompDefInstructionDataCodec, getRevealSharesCompDefInstructionDataDecoder, getRevealSharesCompDefInstructionDataEncoder, getRevealSharesDiscriminatorBytes, getRevealSharesInstruction, getRevealSharesInstructionAsync, getRevealSharesInstructionDataCodec, getRevealSharesInstructionDataDecoder, getRevealSharesInstructionDataEncoder, getRevealSharesOutputCodec, getRevealSharesOutputDecoder, getRevealSharesOutputEncoder, getRevealSharesOutputStruct0Codec, getRevealSharesOutputStruct0Decoder, getRevealSharesOutputStruct0Encoder, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getSelectWinningOptionsDiscriminatorBytes, getSelectWinningOptionsInstruction, getSelectWinningOptionsInstructionDataCodec, getSelectWinningOptionsInstructionDataDecoder, getSelectWinningOptionsInstructionDataEncoder, getShareAccountAddress, getShareAccountCodec, getShareAccountDecoder, getShareAccountDiscriminatorBytes, getShareAccountEncoder, getShareAccountInitializedEventCodec, getShareAccountInitializedEventDecoder, getShareAccountInitializedEventEncoder, getStakeDiscriminatorBytes, getStakeInstruction, getStakeInstructionAsync, getStakeInstructionDataCodec, getStakeInstructionDataDecoder, getStakeInstructionDataEncoder, 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, getUnstakeEarlyCallbackDiscriminatorBytes, getUnstakeEarlyCallbackInstruction, getUnstakeEarlyCallbackInstructionDataCodec, getUnstakeEarlyCallbackInstructionDataDecoder, getUnstakeEarlyCallbackInstructionDataEncoder, getUnstakeEarlyCompDefDiscriminatorBytes, getUnstakeEarlyCompDefInstruction, getUnstakeEarlyCompDefInstructionDataCodec, getUnstakeEarlyCompDefInstructionDataDecoder, getUnstakeEarlyCompDefInstructionDataEncoder, getUnstakeEarlyDiscriminatorBytes, getUnstakeEarlyInstruction, getUnstakeEarlyInstructionAsync, getUnstakeEarlyInstructionDataCodec, getUnstakeEarlyInstructionDataDecoder, getUnstakeEarlyInstructionDataEncoder, getUnstakeEarlyOutputCodec, getUnstakeEarlyOutputDecoder, getUnstakeEarlyOutputEncoder, getUnstakeInitiatedEventCodec, getUnstakeInitiatedEventDecoder, getUnstakeInitiatedEventEncoder, getUnstakedErrorCodec, getUnstakedErrorDecoder, getUnstakedErrorEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUnwrapEncryptedTokensCallbackDiscriminatorBytes, getUnwrapEncryptedTokensCallbackInstruction, getUnwrapEncryptedTokensCallbackInstructionDataCodec, getUnwrapEncryptedTokensCallbackInstructionDataDecoder, getUnwrapEncryptedTokensCallbackInstructionDataEncoder, getUnwrapEncryptedTokensCompDefDiscriminatorBytes, getUnwrapEncryptedTokensCompDefInstruction, getUnwrapEncryptedTokensCompDefInstructionDataCodec, getUnwrapEncryptedTokensCompDefInstructionDataDecoder, getUnwrapEncryptedTokensCompDefInstructionDataEncoder, getUnwrapEncryptedTokensDiscriminatorBytes, getUnwrapEncryptedTokensInstruction, getUnwrapEncryptedTokensInstructionAsync, getUnwrapEncryptedTokensInstructionDataCodec, getUnwrapEncryptedTokensInstructionDataDecoder, getUnwrapEncryptedTokensInstructionDataEncoder, getUnwrapEncryptedTokensOutputCodec, getUnwrapEncryptedTokensOutputDecoder, getUnwrapEncryptedTokensOutputEncoder, getUnwrapEncryptedTokensOutputStruct0Codec, getUnwrapEncryptedTokensOutputStruct0Decoder, getUnwrapEncryptedTokensOutputStruct0Encoder, getUpdateCentralStateDiscriminatorBytes, getUpdateCentralStateInstruction, getUpdateCentralStateInstructionAsync, getUpdateCentralStateInstructionDataCodec, getUpdateCentralStateInstructionDataDecoder, getUpdateCentralStateInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionCodec, getWinningOptionDecoder, getWinningOptionEncoder, getWinningOptionsSelectedEventCodec, getWinningOptionsSelectedEventDecoder, getWinningOptionsSelectedEventEncoder, getWrapEncryptedTokensCallbackDiscriminatorBytes, getWrapEncryptedTokensCallbackInstruction, getWrapEncryptedTokensCallbackInstructionDataCodec, getWrapEncryptedTokensCallbackInstructionDataDecoder, getWrapEncryptedTokensCallbackInstructionDataEncoder, getWrapEncryptedTokensCompDefDiscriminatorBytes, getWrapEncryptedTokensCompDefInstruction, getWrapEncryptedTokensCompDefInstructionDataCodec, getWrapEncryptedTokensCompDefInstructionDataDecoder, getWrapEncryptedTokensCompDefInstructionDataEncoder, getWrapEncryptedTokensDiscriminatorBytes, getWrapEncryptedTokensInstruction, getWrapEncryptedTokensInstructionAsync, getWrapEncryptedTokensInstructionDataCodec, getWrapEncryptedTokensInstructionDataDecoder, getWrapEncryptedTokensInstructionDataEncoder, getWrapEncryptedTokensOutputCodec, getWrapEncryptedTokensOutputDecoder, getWrapEncryptedTokensOutputEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, incrementOptionTally, initEncryptedTokenAccount, initEphemeralEncryptedTokenAccount, initShareAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionAsCreatorInstruction, parseAddMarketOptionInstruction, parseAddOptionStakeCallbackInstruction, parseAddOptionStakeCompDefInstruction, parseBuyOpportunityMarketSharesCallbackInstruction, parseBuyOpportunityMarketSharesCompDefInstruction, parseClaimFeesInstruction, parseClaimPendingDepositInstruction, parseCloseEphemeralEncryptedTokenAccountCallbackInstruction, parseCloseEphemeralEncryptedTokenAccountCompDefInstruction, parseCloseEphemeralEncryptedTokenAccountInstruction, parseCloseShareAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseExtendRevealPeriodInstruction, parseIncrementOptionTallyInstruction, parseInitCentralStateInstruction, parseInitEncryptedTokenAccountInstruction, parseInitEphemeralEncryptedTokenAccountInstruction, parseInitShareAccountInstruction, parseInitTokenVaultInstruction, parseOpenMarketInstruction, parseRevealSharesCallbackInstruction, parseRevealSharesCompDefInstruction, parseRevealSharesInstruction, parseSelectWinningOptionsInstruction, parseStakeInstruction, parseTransferCentralStateAuthorityInstruction, parseUnstakeEarlyCallbackInstruction, parseUnstakeEarlyCompDefInstruction, parseUnstakeEarlyInstruction, parseUnwrapEncryptedTokensCallbackInstruction, parseUnwrapEncryptedTokensCompDefInstruction, parseUnwrapEncryptedTokensInstruction, parseUpdateCentralStateInstruction, parseWrapEncryptedTokensCallbackInstruction, parseWrapEncryptedTokensCompDefInstruction, parseWrapEncryptedTokensInstruction, randomComputationOffset, randomStateNonce, revealShares, selectWinningOptions, stake, toNumberArray, unstakeEarly, unwrapEncryptedTokens, wrapEncryptedTokens };
|
|
5330
|
+
export { ADD_MARKET_OPTION_AS_CREATOR_DISCRIMINATOR, ADD_MARKET_OPTION_DISCRIMINATOR, ADD_OPTION_STAKE_CALLBACK_DISCRIMINATOR, ADD_OPTION_STAKE_COMP_DEF_DISCRIMINATOR, ALL_COMP_DEF_CIRCUITS, ARCIUM_SIGNER_ACCOUNT_DISCRIMINATOR, type Activation, type ActivationArgs, type AddMarketOptionAsCreatorAsyncInput, type AddMarketOptionAsCreatorInput, type AddMarketOptionAsCreatorInstruction, type AddMarketOptionAsCreatorInstructionData, type AddMarketOptionAsCreatorInstructionDataArgs, type AddMarketOptionAsCreatorParams, type AddMarketOptionAsyncInput, type AddMarketOptionInput, type AddMarketOptionInstruction, type AddMarketOptionInstructionData, type AddMarketOptionInstructionDataArgs, type AddMarketOptionParams, type AddOptionStakeCallbackInput, type AddOptionStakeCallbackInstruction, type AddOptionStakeCallbackInstructionData, type AddOptionStakeCallbackInstructionDataArgs, type AddOptionStakeCompDefInput, type AddOptionStakeCompDefInstruction, type AddOptionStakeCompDefInstructionData, type AddOptionStakeCompDefInstructionDataArgs, type AddOptionStakeOutput, type AddOptionStakeOutputArgs, type AddOptionStakeOutputStruct0, type AddOptionStakeOutputStruct0Args, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, BUY_OPPORTUNITY_MARKET_SHARES_CALLBACK_DISCRIMINATOR, BUY_OPPORTUNITY_MARKET_SHARES_COMP_DEF_DISCRIMINATOR, type BaseInstructionParams, type BuyOpportunityMarketSharesCallbackInput, type BuyOpportunityMarketSharesCallbackInstruction, type BuyOpportunityMarketSharesCallbackInstructionData, type BuyOpportunityMarketSharesCallbackInstructionDataArgs, type BuyOpportunityMarketSharesCompDefInput, type BuyOpportunityMarketSharesCompDefInstruction, type BuyOpportunityMarketSharesCompDefInstructionData, type BuyOpportunityMarketSharesCompDefInstructionDataArgs, type BuyOpportunityMarketSharesOutput, type BuyOpportunityMarketSharesOutputArgs, type BuyOpportunityMarketSharesOutputStruct0, type BuyOpportunityMarketSharesOutputStruct0Args, type ByteArray, CENTRAL_STATE_DISCRIMINATOR, CENTRAL_STATE_SEED, CLAIM_FEES_DISCRIMINATOR, CLAIM_PENDING_DEPOSIT_DISCRIMINATOR, CLOCK_ACCOUNT_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_CALLBACK_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_COMP_DEF_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, CLOSE_SHARE_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 ClaimPendingDepositAsyncInput, type ClaimPendingDepositInput, type ClaimPendingDepositInstruction, type ClaimPendingDepositInstructionData, type ClaimPendingDepositInstructionDataArgs, type ClockAccount, type ClockAccountArgs, type CloseEphemeralEncryptedTokenAccountAsyncInput, type CloseEphemeralEncryptedTokenAccountCallbackInput, type CloseEphemeralEncryptedTokenAccountCallbackInstruction, type CloseEphemeralEncryptedTokenAccountCallbackInstructionData, type CloseEphemeralEncryptedTokenAccountCallbackInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountCompDefInput, type CloseEphemeralEncryptedTokenAccountCompDefInstruction, type CloseEphemeralEncryptedTokenAccountCompDefInstructionData, type CloseEphemeralEncryptedTokenAccountCompDefInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountInput, type CloseEphemeralEncryptedTokenAccountInstruction, type CloseEphemeralEncryptedTokenAccountInstructionData, type CloseEphemeralEncryptedTokenAccountInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountOutput, type CloseEphemeralEncryptedTokenAccountOutputArgs, type CloseEphemeralEncryptedTokenAccountParams, type CloseShareAccountAsyncInput, type CloseShareAccountInput, type CloseShareAccountInstruction, type CloseShareAccountInstructionData, type CloseShareAccountInstructionDataArgs, type CloseShareAccountParams, 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, ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, ENCRYPTED_TOKEN_ACCOUNT_SEED, EXTEND_REVEAL_PERIOD_DISCRIMINATOR, type EncryptedTokenAccount, type EncryptedTokenAccountArgs, type EncryptedTokenAccountInitializedEvent, type EncryptedTokenAccountInitializedEventArgs, type EncryptedTokensUnwrappedError, type EncryptedTokensUnwrappedErrorArgs, type EncryptedTokensUnwrappedEvent, type EncryptedTokensUnwrappedEventArgs, type EncryptedTokensWrappedEvent, type EncryptedTokensWrappedEventArgs, type EnsureCentralStateParams, type EphemeralAccountClosedError, type EphemeralAccountClosedErrorArgs, type EphemeralAccountClosedEvent, type EphemeralAccountClosedEventArgs, type EphemeralEncryptedTokenAccountInitializedEvent, type EphemeralEncryptedTokenAccountInitializedEventArgs, 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, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, INIT_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, INIT_SHARE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncrementOptionTallyAsyncInput, type IncrementOptionTallyInput, type IncrementOptionTallyInstruction, type IncrementOptionTallyInstructionData, type IncrementOptionTallyInstructionDataArgs, type IncrementOptionTallyParams, type InitCentralStateAsyncInput, type InitCentralStateInput, type InitCentralStateInstruction, type InitCentralStateInstructionData, type InitCentralStateInstructionDataArgs, type InitCompDefConfig, type InitEncryptedTokenAccountAsyncInput, type InitEncryptedTokenAccountInput, type InitEncryptedTokenAccountInstruction, type InitEncryptedTokenAccountInstructionData, type InitEncryptedTokenAccountInstructionDataArgs, type InitEncryptedTokenAccountParams, type InitEphemeralEncryptedTokenAccountAsyncInput, type InitEphemeralEncryptedTokenAccountInput, type InitEphemeralEncryptedTokenAccountInstruction, type InitEphemeralEncryptedTokenAccountInstructionData, type InitEphemeralEncryptedTokenAccountInstructionDataArgs, type InitEphemeralEncryptedTokenAccountParams, type InitShareAccountAsyncInput, type InitShareAccountInput, type InitShareAccountInstruction, type InitShareAccountInstructionData, type InitShareAccountInstructionDataArgs, type InitShareAccountParams, 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_INDEX, 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__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 ParsedAddMarketOptionAsCreatorInstruction, type ParsedAddMarketOptionInstruction, type ParsedAddOptionStakeCallbackInstruction, type ParsedAddOptionStakeCompDefInstruction, type ParsedBuyOpportunityMarketSharesCallbackInstruction, type ParsedBuyOpportunityMarketSharesCompDefInstruction, type ParsedClaimFeesInstruction, type ParsedClaimPendingDepositInstruction, type ParsedCloseEphemeralEncryptedTokenAccountCallbackInstruction, type ParsedCloseEphemeralEncryptedTokenAccountCompDefInstruction, type ParsedCloseEphemeralEncryptedTokenAccountInstruction, type ParsedCloseShareAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedExtendRevealPeriodInstruction, type ParsedIncrementOptionTallyInstruction, type ParsedInitCentralStateInstruction, type ParsedInitEncryptedTokenAccountInstruction, type ParsedInitEphemeralEncryptedTokenAccountInstruction, type ParsedInitShareAccountInstruction, type ParsedInitTokenVaultInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedRevealSharesCallbackInstruction, type ParsedRevealSharesCompDefInstruction, type ParsedRevealSharesInstruction, type ParsedSelectWinningOptionsInstruction, type ParsedStakeInstruction, type ParsedTransferCentralStateAuthorityInstruction, type ParsedUnstakeEarlyCallbackInstruction, type ParsedUnstakeEarlyCompDefInstruction, type ParsedUnstakeEarlyInstruction, type ParsedUnwrapEncryptedTokensCallbackInstruction, type ParsedUnwrapEncryptedTokensCompDefInstruction, type ParsedUnwrapEncryptedTokensInstruction, type ParsedUpdateCentralStateInstruction, type ParsedWrapEncryptedTokensCallbackInstruction, type ParsedWrapEncryptedTokensCompDefInstruction, type ParsedWrapEncryptedTokensInstruction, type PendingDepositClaimedEvent, type PendingDepositClaimedEventArgs, REVEAL_SHARES_CALLBACK_DISCRIMINATOR, REVEAL_SHARES_COMP_DEF_DISCRIMINATOR, REVEAL_SHARES_DISCRIMINATOR, type RevealPeriodExtendedEvent, type RevealPeriodExtendedEventArgs, type RevealSharesAsyncInput, type RevealSharesCallbackInput, type RevealSharesCallbackInstruction, type RevealSharesCallbackInstructionData, type RevealSharesCallbackInstructionDataArgs, type RevealSharesCompDefInput, type RevealSharesCompDefInstruction, type RevealSharesCompDefInstructionData, type RevealSharesCompDefInstructionDataArgs, type RevealSharesInput, type RevealSharesInstruction, type RevealSharesInstructionData, type RevealSharesInstructionDataArgs, type RevealSharesOutput, type RevealSharesOutputArgs, type RevealSharesOutputStruct0, type RevealSharesOutputStruct0Args, type RevealSharesParams, type RewardClaimedEvent, type RewardClaimedEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, SHARE_ACCOUNT_DISCRIMINATOR, SHARE_ACCOUNT_SEED, STAKE_DISCRIMINATOR, type SelectWinningOptionsInput, type SelectWinningOptionsInstruction, type SelectWinningOptionsInstructionData, type SelectWinningOptionsInstructionDataArgs, type SelectWinningOptionsParams, type ShareAccount, type ShareAccountArgs, type ShareAccountInitializedEvent, type ShareAccountInitializedEventArgs, type StakeAsyncInput, type StakeInput, type StakeInstruction, type StakeInstructionData, type StakeInstructionDataArgs, type StakeParams, 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_CALLBACK_DISCRIMINATOR, UNSTAKE_EARLY_COMP_DEF_DISCRIMINATOR, UNSTAKE_EARLY_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_CALLBACK_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_COMP_DEF_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_DISCRIMINATOR, UPDATE_CENTRAL_STATE_DISCRIMINATOR, type UnstakeEarlyAsyncInput, type UnstakeEarlyCallbackInput, type UnstakeEarlyCallbackInstruction, type UnstakeEarlyCallbackInstructionData, type UnstakeEarlyCallbackInstructionDataArgs, type UnstakeEarlyCompDefInput, type UnstakeEarlyCompDefInstruction, type UnstakeEarlyCompDefInstructionData, type UnstakeEarlyCompDefInstructionDataArgs, type UnstakeEarlyInput, type UnstakeEarlyInstruction, type UnstakeEarlyInstructionData, type UnstakeEarlyInstructionDataArgs, type UnstakeEarlyOutput, type UnstakeEarlyOutputArgs, type UnstakeEarlyParams, type UnstakeInitiatedEvent, type UnstakeInitiatedEventArgs, type UnstakedError, type UnstakedErrorArgs, type UnstakedEvent, type UnstakedEventArgs, type UnwrapEncryptedTokensAsyncInput, type UnwrapEncryptedTokensCallbackInput, type UnwrapEncryptedTokensCallbackInstruction, type UnwrapEncryptedTokensCallbackInstructionData, type UnwrapEncryptedTokensCallbackInstructionDataArgs, type UnwrapEncryptedTokensCompDefInput, type UnwrapEncryptedTokensCompDefInstruction, type UnwrapEncryptedTokensCompDefInstructionData, type UnwrapEncryptedTokensCompDefInstructionDataArgs, type UnwrapEncryptedTokensInput, type UnwrapEncryptedTokensInstruction, type UnwrapEncryptedTokensInstructionData, type UnwrapEncryptedTokensInstructionDataArgs, type UnwrapEncryptedTokensOutput, type UnwrapEncryptedTokensOutputArgs, type UnwrapEncryptedTokensOutputStruct0, type UnwrapEncryptedTokensOutputStruct0Args, type UnwrapEncryptedTokensParams, type UpdateCentralStateAsyncInput, type UpdateCentralStateInput, type UpdateCentralStateInstruction, type UpdateCentralStateInstructionData, type UpdateCentralStateInstructionDataArgs, type UtilityPubkeys, type UtilityPubkeysArgs, WRAP_ENCRYPTED_TOKENS_CALLBACK_DISCRIMINATOR, WRAP_ENCRYPTED_TOKENS_COMP_DEF_DISCRIMINATOR, WRAP_ENCRYPTED_TOKENS_DISCRIMINATOR, type WinningOption, type WinningOptionArgs, type WinningOptionsSelectedEvent, type WinningOptionsSelectedEventArgs, type WrapEncryptedTokensAsyncInput, type WrapEncryptedTokensCallbackInput, type WrapEncryptedTokensCallbackInstruction, type WrapEncryptedTokensCallbackInstructionData, type WrapEncryptedTokensCallbackInstructionDataArgs, type WrapEncryptedTokensCompDefInput, type WrapEncryptedTokensCompDefInstruction, type WrapEncryptedTokensCompDefInstructionData, type WrapEncryptedTokensCompDefInstructionDataArgs, type WrapEncryptedTokensInput, type WrapEncryptedTokensInstruction, type WrapEncryptedTokensInstructionData, type WrapEncryptedTokensInstructionDataArgs, type WrapEncryptedTokensOutput, type WrapEncryptedTokensOutputArgs, type WrapEncryptedTokensParams, type X25519Keypair, addMarketOption, addMarketOptionAsCreator, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeEphemeralEncryptedTokenAccount, closeShareAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeEncryptedTokenAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeShareAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, ensureCentralState, extendRevealPeriod, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllEncryptedTokenAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeEncryptedTokenAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeShareAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllShareAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchEncryptedTokenAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeEncryptedTokenAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeShareAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchShareAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionAsCreatorDiscriminatorBytes, getAddMarketOptionAsCreatorInstruction, getAddMarketOptionAsCreatorInstructionAsync, getAddMarketOptionAsCreatorInstructionDataCodec, getAddMarketOptionAsCreatorInstructionDataDecoder, getAddMarketOptionAsCreatorInstructionDataEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddOptionStakeCallbackDiscriminatorBytes, getAddOptionStakeCallbackInstruction, getAddOptionStakeCallbackInstructionDataCodec, getAddOptionStakeCallbackInstructionDataDecoder, getAddOptionStakeCallbackInstructionDataEncoder, getAddOptionStakeCompDefDiscriminatorBytes, getAddOptionStakeCompDefInstruction, getAddOptionStakeCompDefInstructionDataCodec, getAddOptionStakeCompDefInstructionDataDecoder, getAddOptionStakeCompDefInstructionDataEncoder, getAddOptionStakeOutputCodec, getAddOptionStakeOutputDecoder, getAddOptionStakeOutputEncoder, getAddOptionStakeOutputStruct0Codec, getAddOptionStakeOutputStruct0Decoder, getAddOptionStakeOutputStruct0Encoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getBuyOpportunityMarketSharesCallbackDiscriminatorBytes, getBuyOpportunityMarketSharesCallbackInstruction, getBuyOpportunityMarketSharesCallbackInstructionDataCodec, getBuyOpportunityMarketSharesCallbackInstructionDataDecoder, getBuyOpportunityMarketSharesCallbackInstructionDataEncoder, getBuyOpportunityMarketSharesCompDefDiscriminatorBytes, getBuyOpportunityMarketSharesCompDefInstruction, getBuyOpportunityMarketSharesCompDefInstructionDataCodec, getBuyOpportunityMarketSharesCompDefInstructionDataDecoder, getBuyOpportunityMarketSharesCompDefInstructionDataEncoder, getBuyOpportunityMarketSharesOutputCodec, getBuyOpportunityMarketSharesOutputDecoder, getBuyOpportunityMarketSharesOutputEncoder, getBuyOpportunityMarketSharesOutputStruct0Codec, getBuyOpportunityMarketSharesOutputStruct0Decoder, getBuyOpportunityMarketSharesOutputStruct0Encoder, getCentralStateAddress, getCentralStateCodec, getCentralStateDecoder, getCentralStateDiscriminatorBytes, getCentralStateEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClaimPendingDepositDiscriminatorBytes, getClaimPendingDepositInstruction, getClaimPendingDepositInstructionAsync, getClaimPendingDepositInstructionDataCodec, getClaimPendingDepositInstructionDataDecoder, getClaimPendingDepositInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountDiscriminatorBytes, getClockAccountEncoder, getCloseEphemeralEncryptedTokenAccountCallbackDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountCallbackInstruction, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountCompDefDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountCompDefInstruction, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountInstruction, getCloseEphemeralEncryptedTokenAccountInstructionAsync, getCloseEphemeralEncryptedTokenAccountInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountOutputCodec, getCloseEphemeralEncryptedTokenAccountOutputDecoder, getCloseEphemeralEncryptedTokenAccountOutputEncoder, getCloseShareAccountDiscriminatorBytes, getCloseShareAccountInstruction, getCloseShareAccountInstructionAsync, getCloseShareAccountInstructionDataCodec, getCloseShareAccountInstructionDataDecoder, getCloseShareAccountInstructionDataEncoder, 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, getEncryptedTokenAccountAddress, getEncryptedTokenAccountAddressWithIndex, getEncryptedTokenAccountCodec, getEncryptedTokenAccountDecoder, getEncryptedTokenAccountDiscriminatorBytes, getEncryptedTokenAccountEncoder, getEncryptedTokenAccountInitializedEventCodec, getEncryptedTokenAccountInitializedEventDecoder, getEncryptedTokenAccountInitializedEventEncoder, getEncryptedTokensUnwrappedErrorCodec, getEncryptedTokensUnwrappedErrorDecoder, getEncryptedTokensUnwrappedErrorEncoder, getEncryptedTokensUnwrappedEventCodec, getEncryptedTokensUnwrappedEventDecoder, getEncryptedTokensUnwrappedEventEncoder, getEncryptedTokensWrappedEventCodec, getEncryptedTokensWrappedEventDecoder, getEncryptedTokensWrappedEventEncoder, getEphemeralAccountClosedErrorCodec, getEphemeralAccountClosedErrorDecoder, getEphemeralAccountClosedErrorEncoder, getEphemeralAccountClosedEventCodec, getEphemeralAccountClosedEventDecoder, getEphemeralAccountClosedEventEncoder, getEphemeralEncryptedTokenAccountAddress, getEphemeralEncryptedTokenAccountInitializedEventCodec, getEphemeralEncryptedTokenAccountInitializedEventDecoder, getEphemeralEncryptedTokenAccountInitializedEventEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getExtendRevealPeriodDiscriminatorBytes, getExtendRevealPeriodInstruction, getExtendRevealPeriodInstructionDataCodec, getExtendRevealPeriodInstructionDataDecoder, getExtendRevealPeriodInstructionDataEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getIncrementOptionTallyDiscriminatorBytes, getIncrementOptionTallyInstruction, getIncrementOptionTallyInstructionAsync, getIncrementOptionTallyInstructionDataCodec, getIncrementOptionTallyInstructionDataDecoder, getIncrementOptionTallyInstructionDataEncoder, getInitCentralStateDiscriminatorBytes, getInitCentralStateInstruction, getInitCentralStateInstructionAsync, getInitCentralStateInstructionDataCodec, getInitCentralStateInstructionDataDecoder, getInitCentralStateInstructionDataEncoder, getInitCompDefInstruction, getInitEncryptedTokenAccountDiscriminatorBytes, getInitEncryptedTokenAccountInstruction, getInitEncryptedTokenAccountInstructionAsync, getInitEncryptedTokenAccountInstructionDataCodec, getInitEncryptedTokenAccountInstructionDataDecoder, getInitEncryptedTokenAccountInstructionDataEncoder, getInitEphemeralEncryptedTokenAccountDiscriminatorBytes, getInitEphemeralEncryptedTokenAccountInstruction, getInitEphemeralEncryptedTokenAccountInstructionAsync, getInitEphemeralEncryptedTokenAccountInstructionDataCodec, getInitEphemeralEncryptedTokenAccountInstructionDataDecoder, getInitEphemeralEncryptedTokenAccountInstructionDataEncoder, getInitShareAccountDiscriminatorBytes, getInitShareAccountInstruction, getInitShareAccountInstructionAsync, getInitShareAccountInstructionDataCodec, getInitShareAccountInstructionDataDecoder, getInitShareAccountInstructionDataEncoder, 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, getPendingDepositClaimedEventCodec, getPendingDepositClaimedEventDecoder, getPendingDepositClaimedEventEncoder, getRevealPeriodExtendedEventCodec, getRevealPeriodExtendedEventDecoder, getRevealPeriodExtendedEventEncoder, getRevealSharesCallbackDiscriminatorBytes, getRevealSharesCallbackInstruction, getRevealSharesCallbackInstructionDataCodec, getRevealSharesCallbackInstructionDataDecoder, getRevealSharesCallbackInstructionDataEncoder, getRevealSharesCompDefDiscriminatorBytes, getRevealSharesCompDefInstruction, getRevealSharesCompDefInstructionDataCodec, getRevealSharesCompDefInstructionDataDecoder, getRevealSharesCompDefInstructionDataEncoder, getRevealSharesDiscriminatorBytes, getRevealSharesInstruction, getRevealSharesInstructionAsync, getRevealSharesInstructionDataCodec, getRevealSharesInstructionDataDecoder, getRevealSharesInstructionDataEncoder, getRevealSharesOutputCodec, getRevealSharesOutputDecoder, getRevealSharesOutputEncoder, getRevealSharesOutputStruct0Codec, getRevealSharesOutputStruct0Decoder, getRevealSharesOutputStruct0Encoder, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getSelectWinningOptionsDiscriminatorBytes, getSelectWinningOptionsInstruction, getSelectWinningOptionsInstructionDataCodec, getSelectWinningOptionsInstructionDataDecoder, getSelectWinningOptionsInstructionDataEncoder, getShareAccountAddress, getShareAccountCodec, getShareAccountDecoder, getShareAccountDiscriminatorBytes, getShareAccountEncoder, getShareAccountInitializedEventCodec, getShareAccountInitializedEventDecoder, getShareAccountInitializedEventEncoder, getStakeDiscriminatorBytes, getStakeInstruction, getStakeInstructionAsync, getStakeInstructionDataCodec, getStakeInstructionDataDecoder, getStakeInstructionDataEncoder, 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, getUnstakeEarlyCallbackDiscriminatorBytes, getUnstakeEarlyCallbackInstruction, getUnstakeEarlyCallbackInstructionDataCodec, getUnstakeEarlyCallbackInstructionDataDecoder, getUnstakeEarlyCallbackInstructionDataEncoder, getUnstakeEarlyCompDefDiscriminatorBytes, getUnstakeEarlyCompDefInstruction, getUnstakeEarlyCompDefInstructionDataCodec, getUnstakeEarlyCompDefInstructionDataDecoder, getUnstakeEarlyCompDefInstructionDataEncoder, getUnstakeEarlyDiscriminatorBytes, getUnstakeEarlyInstruction, getUnstakeEarlyInstructionAsync, getUnstakeEarlyInstructionDataCodec, getUnstakeEarlyInstructionDataDecoder, getUnstakeEarlyInstructionDataEncoder, getUnstakeEarlyOutputCodec, getUnstakeEarlyOutputDecoder, getUnstakeEarlyOutputEncoder, getUnstakeInitiatedEventCodec, getUnstakeInitiatedEventDecoder, getUnstakeInitiatedEventEncoder, getUnstakedErrorCodec, getUnstakedErrorDecoder, getUnstakedErrorEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUnwrapEncryptedTokensCallbackDiscriminatorBytes, getUnwrapEncryptedTokensCallbackInstruction, getUnwrapEncryptedTokensCallbackInstructionDataCodec, getUnwrapEncryptedTokensCallbackInstructionDataDecoder, getUnwrapEncryptedTokensCallbackInstructionDataEncoder, getUnwrapEncryptedTokensCompDefDiscriminatorBytes, getUnwrapEncryptedTokensCompDefInstruction, getUnwrapEncryptedTokensCompDefInstructionDataCodec, getUnwrapEncryptedTokensCompDefInstructionDataDecoder, getUnwrapEncryptedTokensCompDefInstructionDataEncoder, getUnwrapEncryptedTokensDiscriminatorBytes, getUnwrapEncryptedTokensInstruction, getUnwrapEncryptedTokensInstructionAsync, getUnwrapEncryptedTokensInstructionDataCodec, getUnwrapEncryptedTokensInstructionDataDecoder, getUnwrapEncryptedTokensInstructionDataEncoder, getUnwrapEncryptedTokensOutputCodec, getUnwrapEncryptedTokensOutputDecoder, getUnwrapEncryptedTokensOutputEncoder, getUnwrapEncryptedTokensOutputStruct0Codec, getUnwrapEncryptedTokensOutputStruct0Decoder, getUnwrapEncryptedTokensOutputStruct0Encoder, getUpdateCentralStateDiscriminatorBytes, getUpdateCentralStateInstruction, getUpdateCentralStateInstructionAsync, getUpdateCentralStateInstructionDataCodec, getUpdateCentralStateInstructionDataDecoder, getUpdateCentralStateInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionCodec, getWinningOptionDecoder, getWinningOptionEncoder, getWinningOptionsSelectedEventCodec, getWinningOptionsSelectedEventDecoder, getWinningOptionsSelectedEventEncoder, getWrapEncryptedTokensCallbackDiscriminatorBytes, getWrapEncryptedTokensCallbackInstruction, getWrapEncryptedTokensCallbackInstructionDataCodec, getWrapEncryptedTokensCallbackInstructionDataDecoder, getWrapEncryptedTokensCallbackInstructionDataEncoder, getWrapEncryptedTokensCompDefDiscriminatorBytes, getWrapEncryptedTokensCompDefInstruction, getWrapEncryptedTokensCompDefInstructionDataCodec, getWrapEncryptedTokensCompDefInstructionDataDecoder, getWrapEncryptedTokensCompDefInstructionDataEncoder, getWrapEncryptedTokensDiscriminatorBytes, getWrapEncryptedTokensInstruction, getWrapEncryptedTokensInstructionAsync, getWrapEncryptedTokensInstructionDataCodec, getWrapEncryptedTokensInstructionDataDecoder, getWrapEncryptedTokensInstructionDataEncoder, getWrapEncryptedTokensOutputCodec, getWrapEncryptedTokensOutputDecoder, getWrapEncryptedTokensOutputEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, incrementOptionTally, initEncryptedTokenAccount, initEphemeralEncryptedTokenAccount, initShareAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionAsCreatorInstruction, parseAddMarketOptionInstruction, parseAddOptionStakeCallbackInstruction, parseAddOptionStakeCompDefInstruction, parseBuyOpportunityMarketSharesCallbackInstruction, parseBuyOpportunityMarketSharesCompDefInstruction, parseClaimFeesInstruction, parseClaimPendingDepositInstruction, parseCloseEphemeralEncryptedTokenAccountCallbackInstruction, parseCloseEphemeralEncryptedTokenAccountCompDefInstruction, parseCloseEphemeralEncryptedTokenAccountInstruction, parseCloseShareAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseExtendRevealPeriodInstruction, parseIncrementOptionTallyInstruction, parseInitCentralStateInstruction, parseInitEncryptedTokenAccountInstruction, parseInitEphemeralEncryptedTokenAccountInstruction, parseInitShareAccountInstruction, parseInitTokenVaultInstruction, parseOpenMarketInstruction, parseRevealSharesCallbackInstruction, parseRevealSharesCompDefInstruction, parseRevealSharesInstruction, parseSelectWinningOptionsInstruction, parseStakeInstruction, parseTransferCentralStateAuthorityInstruction, parseUnstakeEarlyCallbackInstruction, parseUnstakeEarlyCompDefInstruction, parseUnstakeEarlyInstruction, parseUnwrapEncryptedTokensCallbackInstruction, parseUnwrapEncryptedTokensCompDefInstruction, parseUnwrapEncryptedTokensInstruction, parseUpdateCentralStateInstruction, parseWrapEncryptedTokensCallbackInstruction, parseWrapEncryptedTokensCompDefInstruction, parseWrapEncryptedTokensInstruction, randomComputationOffset, randomStateNonce, revealShares, selectWinningOptions, stake, toNumberArray, unstakeEarly, unwrapEncryptedTokens, wrapEncryptedTokens };
|
package/dist/index.d.ts
CHANGED
|
@@ -1939,7 +1939,7 @@ declare function isOpportunityMarketError<TProgramErrorCode extends OpportunityM
|
|
|
1939
1939
|
* @see https://github.com/codama-idl/codama
|
|
1940
1940
|
*/
|
|
1941
1941
|
|
|
1942
|
-
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"
|
|
1942
|
+
declare const OPPORTUNITY_MARKET_PROGRAM_ADDRESS: Address<"bncZ1gDqgqhSWFzcxjeMoCtqN7odS8wYn1nS5tXZ9jA">;
|
|
1943
1943
|
declare enum OpportunityMarketAccount {
|
|
1944
1944
|
ArciumSignerAccount = 0,
|
|
1945
1945
|
CentralState = 1,
|
|
@@ -2000,7 +2000,7 @@ declare enum OpportunityMarketInstruction {
|
|
|
2000
2000
|
declare function identifyOpportunityMarketInstruction(instruction: {
|
|
2001
2001
|
data: ReadonlyUint8Array;
|
|
2002
2002
|
} | ReadonlyUint8Array): OpportunityMarketInstruction;
|
|
2003
|
-
type ParsedOpportunityMarketInstruction<TProgram extends string = '
|
|
2003
|
+
type ParsedOpportunityMarketInstruction<TProgram extends string = 'bncZ1gDqgqhSWFzcxjeMoCtqN7odS8wYn1nS5tXZ9jA'> = ({
|
|
2004
2004
|
instructionType: OpportunityMarketInstruction.AddMarketOption;
|
|
2005
2005
|
} & ParsedAddMarketOptionInstruction<TProgram>) | ({
|
|
2006
2006
|
instructionType: OpportunityMarketInstruction.AddMarketOptionAsCreator;
|
|
@@ -5267,12 +5267,15 @@ declare function getEncryptedTokenAccountAddressWithIndex(tokenMint: Address, ow
|
|
|
5267
5267
|
*/
|
|
5268
5268
|
declare function getEphemeralEncryptedTokenAccountAddress(tokenMint: Address, owner: Address, index: bigint, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5269
5269
|
|
|
5270
|
-
declare const
|
|
5271
|
-
declare function
|
|
5270
|
+
declare const OPPORTUNITY_MARKET_SEED = "opportunity_market";
|
|
5271
|
+
declare function getOpportunityMarketAddress(creator: Address, marketIndex: bigint | number, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5272
5272
|
|
|
5273
5273
|
declare const OPPORTUNITY_MARKET_OPTION_SEED = "option";
|
|
5274
5274
|
declare function getOpportunityMarketOptionAddress(market: Address, optionIndex: number, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5275
5275
|
|
|
5276
|
+
declare const SHARE_ACCOUNT_SEED = "share_account";
|
|
5277
|
+
declare function getShareAccountAddress(owner: Address, market: Address, shareAccountId: number, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5278
|
+
|
|
5276
5279
|
declare const TOKEN_VAULT_SEED = "token_vault";
|
|
5277
5280
|
declare function getTokenVaultAddress(mint: Address, programId?: Address): Promise<ProgramDerivedAddress>;
|
|
5278
5281
|
|
|
@@ -5324,4 +5327,4 @@ declare function deriveSharedSecret(userSecretKey: Uint8Array, mxePublicKey: Uin
|
|
|
5324
5327
|
declare function createCipher(userSecretKey: Uint8Array, mxePublicKey: Uint8Array): RescueCipher;
|
|
5325
5328
|
declare function nonceToBytes(nonce: bigint): Uint8Array;
|
|
5326
5329
|
|
|
5327
|
-
export { ADD_MARKET_OPTION_AS_CREATOR_DISCRIMINATOR, ADD_MARKET_OPTION_DISCRIMINATOR, ADD_OPTION_STAKE_CALLBACK_DISCRIMINATOR, ADD_OPTION_STAKE_COMP_DEF_DISCRIMINATOR, ALL_COMP_DEF_CIRCUITS, ARCIUM_SIGNER_ACCOUNT_DISCRIMINATOR, type Activation, type ActivationArgs, type AddMarketOptionAsCreatorAsyncInput, type AddMarketOptionAsCreatorInput, type AddMarketOptionAsCreatorInstruction, type AddMarketOptionAsCreatorInstructionData, type AddMarketOptionAsCreatorInstructionDataArgs, type AddMarketOptionAsCreatorParams, type AddMarketOptionAsyncInput, type AddMarketOptionInput, type AddMarketOptionInstruction, type AddMarketOptionInstructionData, type AddMarketOptionInstructionDataArgs, type AddMarketOptionParams, type AddOptionStakeCallbackInput, type AddOptionStakeCallbackInstruction, type AddOptionStakeCallbackInstructionData, type AddOptionStakeCallbackInstructionDataArgs, type AddOptionStakeCompDefInput, type AddOptionStakeCompDefInstruction, type AddOptionStakeCompDefInstructionData, type AddOptionStakeCompDefInstructionDataArgs, type AddOptionStakeOutput, type AddOptionStakeOutputArgs, type AddOptionStakeOutputStruct0, type AddOptionStakeOutputStruct0Args, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, BUY_OPPORTUNITY_MARKET_SHARES_CALLBACK_DISCRIMINATOR, BUY_OPPORTUNITY_MARKET_SHARES_COMP_DEF_DISCRIMINATOR, type BaseInstructionParams, type BuyOpportunityMarketSharesCallbackInput, type BuyOpportunityMarketSharesCallbackInstruction, type BuyOpportunityMarketSharesCallbackInstructionData, type BuyOpportunityMarketSharesCallbackInstructionDataArgs, type BuyOpportunityMarketSharesCompDefInput, type BuyOpportunityMarketSharesCompDefInstruction, type BuyOpportunityMarketSharesCompDefInstructionData, type BuyOpportunityMarketSharesCompDefInstructionDataArgs, type BuyOpportunityMarketSharesOutput, type BuyOpportunityMarketSharesOutputArgs, type BuyOpportunityMarketSharesOutputStruct0, type BuyOpportunityMarketSharesOutputStruct0Args, type ByteArray, CENTRAL_STATE_DISCRIMINATOR, CENTRAL_STATE_SEED, CLAIM_FEES_DISCRIMINATOR, CLAIM_PENDING_DEPOSIT_DISCRIMINATOR, CLOCK_ACCOUNT_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_CALLBACK_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_COMP_DEF_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, CLOSE_SHARE_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 ClaimPendingDepositAsyncInput, type ClaimPendingDepositInput, type ClaimPendingDepositInstruction, type ClaimPendingDepositInstructionData, type ClaimPendingDepositInstructionDataArgs, type ClockAccount, type ClockAccountArgs, type CloseEphemeralEncryptedTokenAccountAsyncInput, type CloseEphemeralEncryptedTokenAccountCallbackInput, type CloseEphemeralEncryptedTokenAccountCallbackInstruction, type CloseEphemeralEncryptedTokenAccountCallbackInstructionData, type CloseEphemeralEncryptedTokenAccountCallbackInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountCompDefInput, type CloseEphemeralEncryptedTokenAccountCompDefInstruction, type CloseEphemeralEncryptedTokenAccountCompDefInstructionData, type CloseEphemeralEncryptedTokenAccountCompDefInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountInput, type CloseEphemeralEncryptedTokenAccountInstruction, type CloseEphemeralEncryptedTokenAccountInstructionData, type CloseEphemeralEncryptedTokenAccountInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountOutput, type CloseEphemeralEncryptedTokenAccountOutputArgs, type CloseEphemeralEncryptedTokenAccountParams, type CloseShareAccountAsyncInput, type CloseShareAccountInput, type CloseShareAccountInstruction, type CloseShareAccountInstructionData, type CloseShareAccountInstructionDataArgs, type CloseShareAccountParams, 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, ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, ENCRYPTED_TOKEN_ACCOUNT_SEED, EXTEND_REVEAL_PERIOD_DISCRIMINATOR, type EncryptedTokenAccount, type EncryptedTokenAccountArgs, type EncryptedTokenAccountInitializedEvent, type EncryptedTokenAccountInitializedEventArgs, type EncryptedTokensUnwrappedError, type EncryptedTokensUnwrappedErrorArgs, type EncryptedTokensUnwrappedEvent, type EncryptedTokensUnwrappedEventArgs, type EncryptedTokensWrappedEvent, type EncryptedTokensWrappedEventArgs, type EnsureCentralStateParams, type EphemeralAccountClosedError, type EphemeralAccountClosedErrorArgs, type EphemeralAccountClosedEvent, type EphemeralAccountClosedEventArgs, type EphemeralEncryptedTokenAccountInitializedEvent, type EphemeralEncryptedTokenAccountInitializedEventArgs, 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, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, INIT_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, INIT_SHARE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncrementOptionTallyAsyncInput, type IncrementOptionTallyInput, type IncrementOptionTallyInstruction, type IncrementOptionTallyInstructionData, type IncrementOptionTallyInstructionDataArgs, type IncrementOptionTallyParams, type InitCentralStateAsyncInput, type InitCentralStateInput, type InitCentralStateInstruction, type InitCentralStateInstructionData, type InitCentralStateInstructionDataArgs, type InitCompDefConfig, type InitEncryptedTokenAccountAsyncInput, type InitEncryptedTokenAccountInput, type InitEncryptedTokenAccountInstruction, type InitEncryptedTokenAccountInstructionData, type InitEncryptedTokenAccountInstructionDataArgs, type InitEncryptedTokenAccountParams, type InitEphemeralEncryptedTokenAccountAsyncInput, type InitEphemeralEncryptedTokenAccountInput, type InitEphemeralEncryptedTokenAccountInstruction, type InitEphemeralEncryptedTokenAccountInstructionData, type InitEphemeralEncryptedTokenAccountInstructionDataArgs, type InitEphemeralEncryptedTokenAccountParams, type InitShareAccountAsyncInput, type InitShareAccountInput, type InitShareAccountInstruction, type InitShareAccountInstructionData, type InitShareAccountInstructionDataArgs, type InitShareAccountParams, 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_INDEX, 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__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, 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 ParsedAddMarketOptionAsCreatorInstruction, type ParsedAddMarketOptionInstruction, type ParsedAddOptionStakeCallbackInstruction, type ParsedAddOptionStakeCompDefInstruction, type ParsedBuyOpportunityMarketSharesCallbackInstruction, type ParsedBuyOpportunityMarketSharesCompDefInstruction, type ParsedClaimFeesInstruction, type ParsedClaimPendingDepositInstruction, type ParsedCloseEphemeralEncryptedTokenAccountCallbackInstruction, type ParsedCloseEphemeralEncryptedTokenAccountCompDefInstruction, type ParsedCloseEphemeralEncryptedTokenAccountInstruction, type ParsedCloseShareAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedExtendRevealPeriodInstruction, type ParsedIncrementOptionTallyInstruction, type ParsedInitCentralStateInstruction, type ParsedInitEncryptedTokenAccountInstruction, type ParsedInitEphemeralEncryptedTokenAccountInstruction, type ParsedInitShareAccountInstruction, type ParsedInitTokenVaultInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedRevealSharesCallbackInstruction, type ParsedRevealSharesCompDefInstruction, type ParsedRevealSharesInstruction, type ParsedSelectWinningOptionsInstruction, type ParsedStakeInstruction, type ParsedTransferCentralStateAuthorityInstruction, type ParsedUnstakeEarlyCallbackInstruction, type ParsedUnstakeEarlyCompDefInstruction, type ParsedUnstakeEarlyInstruction, type ParsedUnwrapEncryptedTokensCallbackInstruction, type ParsedUnwrapEncryptedTokensCompDefInstruction, type ParsedUnwrapEncryptedTokensInstruction, type ParsedUpdateCentralStateInstruction, type ParsedWrapEncryptedTokensCallbackInstruction, type ParsedWrapEncryptedTokensCompDefInstruction, type ParsedWrapEncryptedTokensInstruction, type PendingDepositClaimedEvent, type PendingDepositClaimedEventArgs, REVEAL_SHARES_CALLBACK_DISCRIMINATOR, REVEAL_SHARES_COMP_DEF_DISCRIMINATOR, REVEAL_SHARES_DISCRIMINATOR, type RevealPeriodExtendedEvent, type RevealPeriodExtendedEventArgs, type RevealSharesAsyncInput, type RevealSharesCallbackInput, type RevealSharesCallbackInstruction, type RevealSharesCallbackInstructionData, type RevealSharesCallbackInstructionDataArgs, type RevealSharesCompDefInput, type RevealSharesCompDefInstruction, type RevealSharesCompDefInstructionData, type RevealSharesCompDefInstructionDataArgs, type RevealSharesInput, type RevealSharesInstruction, type RevealSharesInstructionData, type RevealSharesInstructionDataArgs, type RevealSharesOutput, type RevealSharesOutputArgs, type RevealSharesOutputStruct0, type RevealSharesOutputStruct0Args, type RevealSharesParams, type RewardClaimedEvent, type RewardClaimedEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, SHARE_ACCOUNT_DISCRIMINATOR, SHARE_ACCOUNT_SEED, STAKE_DISCRIMINATOR, type SelectWinningOptionsInput, type SelectWinningOptionsInstruction, type SelectWinningOptionsInstructionData, type SelectWinningOptionsInstructionDataArgs, type SelectWinningOptionsParams, type ShareAccount, type ShareAccountArgs, type ShareAccountInitializedEvent, type ShareAccountInitializedEventArgs, type StakeAsyncInput, type StakeInput, type StakeInstruction, type StakeInstructionData, type StakeInstructionDataArgs, type StakeParams, 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_CALLBACK_DISCRIMINATOR, UNSTAKE_EARLY_COMP_DEF_DISCRIMINATOR, UNSTAKE_EARLY_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_CALLBACK_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_COMP_DEF_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_DISCRIMINATOR, UPDATE_CENTRAL_STATE_DISCRIMINATOR, type UnstakeEarlyAsyncInput, type UnstakeEarlyCallbackInput, type UnstakeEarlyCallbackInstruction, type UnstakeEarlyCallbackInstructionData, type UnstakeEarlyCallbackInstructionDataArgs, type UnstakeEarlyCompDefInput, type UnstakeEarlyCompDefInstruction, type UnstakeEarlyCompDefInstructionData, type UnstakeEarlyCompDefInstructionDataArgs, type UnstakeEarlyInput, type UnstakeEarlyInstruction, type UnstakeEarlyInstructionData, type UnstakeEarlyInstructionDataArgs, type UnstakeEarlyOutput, type UnstakeEarlyOutputArgs, type UnstakeEarlyParams, type UnstakeInitiatedEvent, type UnstakeInitiatedEventArgs, type UnstakedError, type UnstakedErrorArgs, type UnstakedEvent, type UnstakedEventArgs, type UnwrapEncryptedTokensAsyncInput, type UnwrapEncryptedTokensCallbackInput, type UnwrapEncryptedTokensCallbackInstruction, type UnwrapEncryptedTokensCallbackInstructionData, type UnwrapEncryptedTokensCallbackInstructionDataArgs, type UnwrapEncryptedTokensCompDefInput, type UnwrapEncryptedTokensCompDefInstruction, type UnwrapEncryptedTokensCompDefInstructionData, type UnwrapEncryptedTokensCompDefInstructionDataArgs, type UnwrapEncryptedTokensInput, type UnwrapEncryptedTokensInstruction, type UnwrapEncryptedTokensInstructionData, type UnwrapEncryptedTokensInstructionDataArgs, type UnwrapEncryptedTokensOutput, type UnwrapEncryptedTokensOutputArgs, type UnwrapEncryptedTokensOutputStruct0, type UnwrapEncryptedTokensOutputStruct0Args, type UnwrapEncryptedTokensParams, type UpdateCentralStateAsyncInput, type UpdateCentralStateInput, type UpdateCentralStateInstruction, type UpdateCentralStateInstructionData, type UpdateCentralStateInstructionDataArgs, type UtilityPubkeys, type UtilityPubkeysArgs, WRAP_ENCRYPTED_TOKENS_CALLBACK_DISCRIMINATOR, WRAP_ENCRYPTED_TOKENS_COMP_DEF_DISCRIMINATOR, WRAP_ENCRYPTED_TOKENS_DISCRIMINATOR, type WinningOption, type WinningOptionArgs, type WinningOptionsSelectedEvent, type WinningOptionsSelectedEventArgs, type WrapEncryptedTokensAsyncInput, type WrapEncryptedTokensCallbackInput, type WrapEncryptedTokensCallbackInstruction, type WrapEncryptedTokensCallbackInstructionData, type WrapEncryptedTokensCallbackInstructionDataArgs, type WrapEncryptedTokensCompDefInput, type WrapEncryptedTokensCompDefInstruction, type WrapEncryptedTokensCompDefInstructionData, type WrapEncryptedTokensCompDefInstructionDataArgs, type WrapEncryptedTokensInput, type WrapEncryptedTokensInstruction, type WrapEncryptedTokensInstructionData, type WrapEncryptedTokensInstructionDataArgs, type WrapEncryptedTokensOutput, type WrapEncryptedTokensOutputArgs, type WrapEncryptedTokensParams, type X25519Keypair, addMarketOption, addMarketOptionAsCreator, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeEphemeralEncryptedTokenAccount, closeShareAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeEncryptedTokenAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeShareAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, ensureCentralState, extendRevealPeriod, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllEncryptedTokenAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeEncryptedTokenAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeShareAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllShareAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchEncryptedTokenAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeEncryptedTokenAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeShareAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchShareAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionAsCreatorDiscriminatorBytes, getAddMarketOptionAsCreatorInstruction, getAddMarketOptionAsCreatorInstructionAsync, getAddMarketOptionAsCreatorInstructionDataCodec, getAddMarketOptionAsCreatorInstructionDataDecoder, getAddMarketOptionAsCreatorInstructionDataEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddOptionStakeCallbackDiscriminatorBytes, getAddOptionStakeCallbackInstruction, getAddOptionStakeCallbackInstructionDataCodec, getAddOptionStakeCallbackInstructionDataDecoder, getAddOptionStakeCallbackInstructionDataEncoder, getAddOptionStakeCompDefDiscriminatorBytes, getAddOptionStakeCompDefInstruction, getAddOptionStakeCompDefInstructionDataCodec, getAddOptionStakeCompDefInstructionDataDecoder, getAddOptionStakeCompDefInstructionDataEncoder, getAddOptionStakeOutputCodec, getAddOptionStakeOutputDecoder, getAddOptionStakeOutputEncoder, getAddOptionStakeOutputStruct0Codec, getAddOptionStakeOutputStruct0Decoder, getAddOptionStakeOutputStruct0Encoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getBuyOpportunityMarketSharesCallbackDiscriminatorBytes, getBuyOpportunityMarketSharesCallbackInstruction, getBuyOpportunityMarketSharesCallbackInstructionDataCodec, getBuyOpportunityMarketSharesCallbackInstructionDataDecoder, getBuyOpportunityMarketSharesCallbackInstructionDataEncoder, getBuyOpportunityMarketSharesCompDefDiscriminatorBytes, getBuyOpportunityMarketSharesCompDefInstruction, getBuyOpportunityMarketSharesCompDefInstructionDataCodec, getBuyOpportunityMarketSharesCompDefInstructionDataDecoder, getBuyOpportunityMarketSharesCompDefInstructionDataEncoder, getBuyOpportunityMarketSharesOutputCodec, getBuyOpportunityMarketSharesOutputDecoder, getBuyOpportunityMarketSharesOutputEncoder, getBuyOpportunityMarketSharesOutputStruct0Codec, getBuyOpportunityMarketSharesOutputStruct0Decoder, getBuyOpportunityMarketSharesOutputStruct0Encoder, getCentralStateAddress, getCentralStateCodec, getCentralStateDecoder, getCentralStateDiscriminatorBytes, getCentralStateEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClaimPendingDepositDiscriminatorBytes, getClaimPendingDepositInstruction, getClaimPendingDepositInstructionAsync, getClaimPendingDepositInstructionDataCodec, getClaimPendingDepositInstructionDataDecoder, getClaimPendingDepositInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountDiscriminatorBytes, getClockAccountEncoder, getCloseEphemeralEncryptedTokenAccountCallbackDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountCallbackInstruction, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountCompDefDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountCompDefInstruction, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountInstruction, getCloseEphemeralEncryptedTokenAccountInstructionAsync, getCloseEphemeralEncryptedTokenAccountInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountOutputCodec, getCloseEphemeralEncryptedTokenAccountOutputDecoder, getCloseEphemeralEncryptedTokenAccountOutputEncoder, getCloseShareAccountDiscriminatorBytes, getCloseShareAccountInstruction, getCloseShareAccountInstructionAsync, getCloseShareAccountInstructionDataCodec, getCloseShareAccountInstructionDataDecoder, getCloseShareAccountInstructionDataEncoder, 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, getEncryptedTokenAccountAddress, getEncryptedTokenAccountAddressWithIndex, getEncryptedTokenAccountCodec, getEncryptedTokenAccountDecoder, getEncryptedTokenAccountDiscriminatorBytes, getEncryptedTokenAccountEncoder, getEncryptedTokenAccountInitializedEventCodec, getEncryptedTokenAccountInitializedEventDecoder, getEncryptedTokenAccountInitializedEventEncoder, getEncryptedTokensUnwrappedErrorCodec, getEncryptedTokensUnwrappedErrorDecoder, getEncryptedTokensUnwrappedErrorEncoder, getEncryptedTokensUnwrappedEventCodec, getEncryptedTokensUnwrappedEventDecoder, getEncryptedTokensUnwrappedEventEncoder, getEncryptedTokensWrappedEventCodec, getEncryptedTokensWrappedEventDecoder, getEncryptedTokensWrappedEventEncoder, getEphemeralAccountClosedErrorCodec, getEphemeralAccountClosedErrorDecoder, getEphemeralAccountClosedErrorEncoder, getEphemeralAccountClosedEventCodec, getEphemeralAccountClosedEventDecoder, getEphemeralAccountClosedEventEncoder, getEphemeralEncryptedTokenAccountAddress, getEphemeralEncryptedTokenAccountInitializedEventCodec, getEphemeralEncryptedTokenAccountInitializedEventDecoder, getEphemeralEncryptedTokenAccountInitializedEventEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getExtendRevealPeriodDiscriminatorBytes, getExtendRevealPeriodInstruction, getExtendRevealPeriodInstructionDataCodec, getExtendRevealPeriodInstructionDataDecoder, getExtendRevealPeriodInstructionDataEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getIncrementOptionTallyDiscriminatorBytes, getIncrementOptionTallyInstruction, getIncrementOptionTallyInstructionAsync, getIncrementOptionTallyInstructionDataCodec, getIncrementOptionTallyInstructionDataDecoder, getIncrementOptionTallyInstructionDataEncoder, getInitCentralStateDiscriminatorBytes, getInitCentralStateInstruction, getInitCentralStateInstructionAsync, getInitCentralStateInstructionDataCodec, getInitCentralStateInstructionDataDecoder, getInitCentralStateInstructionDataEncoder, getInitCompDefInstruction, getInitEncryptedTokenAccountDiscriminatorBytes, getInitEncryptedTokenAccountInstruction, getInitEncryptedTokenAccountInstructionAsync, getInitEncryptedTokenAccountInstructionDataCodec, getInitEncryptedTokenAccountInstructionDataDecoder, getInitEncryptedTokenAccountInstructionDataEncoder, getInitEphemeralEncryptedTokenAccountDiscriminatorBytes, getInitEphemeralEncryptedTokenAccountInstruction, getInitEphemeralEncryptedTokenAccountInstructionAsync, getInitEphemeralEncryptedTokenAccountInstructionDataCodec, getInitEphemeralEncryptedTokenAccountInstructionDataDecoder, getInitEphemeralEncryptedTokenAccountInstructionDataEncoder, getInitShareAccountDiscriminatorBytes, getInitShareAccountInstruction, getInitShareAccountInstructionAsync, getInitShareAccountInstructionDataCodec, getInitShareAccountInstructionDataDecoder, getInitShareAccountInstructionDataEncoder, 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, getOpportunityMarketCodec, getOpportunityMarketDecoder, getOpportunityMarketDiscriminatorBytes, getOpportunityMarketEncoder, getOpportunityMarketErrorMessage, getOpportunityMarketOptionAddress, getOpportunityMarketOptionCodec, getOpportunityMarketOptionDecoder, getOpportunityMarketOptionDiscriminatorBytes, getOpportunityMarketOptionEncoder, getOutputCodec, getOutputDecoder, getOutputEncoder, getParameterCodec, getParameterDecoder, getParameterEncoder, getPendingDepositClaimedEventCodec, getPendingDepositClaimedEventDecoder, getPendingDepositClaimedEventEncoder, getRevealPeriodExtendedEventCodec, getRevealPeriodExtendedEventDecoder, getRevealPeriodExtendedEventEncoder, getRevealSharesCallbackDiscriminatorBytes, getRevealSharesCallbackInstruction, getRevealSharesCallbackInstructionDataCodec, getRevealSharesCallbackInstructionDataDecoder, getRevealSharesCallbackInstructionDataEncoder, getRevealSharesCompDefDiscriminatorBytes, getRevealSharesCompDefInstruction, getRevealSharesCompDefInstructionDataCodec, getRevealSharesCompDefInstructionDataDecoder, getRevealSharesCompDefInstructionDataEncoder, getRevealSharesDiscriminatorBytes, getRevealSharesInstruction, getRevealSharesInstructionAsync, getRevealSharesInstructionDataCodec, getRevealSharesInstructionDataDecoder, getRevealSharesInstructionDataEncoder, getRevealSharesOutputCodec, getRevealSharesOutputDecoder, getRevealSharesOutputEncoder, getRevealSharesOutputStruct0Codec, getRevealSharesOutputStruct0Decoder, getRevealSharesOutputStruct0Encoder, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getSelectWinningOptionsDiscriminatorBytes, getSelectWinningOptionsInstruction, getSelectWinningOptionsInstructionDataCodec, getSelectWinningOptionsInstructionDataDecoder, getSelectWinningOptionsInstructionDataEncoder, getShareAccountAddress, getShareAccountCodec, getShareAccountDecoder, getShareAccountDiscriminatorBytes, getShareAccountEncoder, getShareAccountInitializedEventCodec, getShareAccountInitializedEventDecoder, getShareAccountInitializedEventEncoder, getStakeDiscriminatorBytes, getStakeInstruction, getStakeInstructionAsync, getStakeInstructionDataCodec, getStakeInstructionDataDecoder, getStakeInstructionDataEncoder, 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, getUnstakeEarlyCallbackDiscriminatorBytes, getUnstakeEarlyCallbackInstruction, getUnstakeEarlyCallbackInstructionDataCodec, getUnstakeEarlyCallbackInstructionDataDecoder, getUnstakeEarlyCallbackInstructionDataEncoder, getUnstakeEarlyCompDefDiscriminatorBytes, getUnstakeEarlyCompDefInstruction, getUnstakeEarlyCompDefInstructionDataCodec, getUnstakeEarlyCompDefInstructionDataDecoder, getUnstakeEarlyCompDefInstructionDataEncoder, getUnstakeEarlyDiscriminatorBytes, getUnstakeEarlyInstruction, getUnstakeEarlyInstructionAsync, getUnstakeEarlyInstructionDataCodec, getUnstakeEarlyInstructionDataDecoder, getUnstakeEarlyInstructionDataEncoder, getUnstakeEarlyOutputCodec, getUnstakeEarlyOutputDecoder, getUnstakeEarlyOutputEncoder, getUnstakeInitiatedEventCodec, getUnstakeInitiatedEventDecoder, getUnstakeInitiatedEventEncoder, getUnstakedErrorCodec, getUnstakedErrorDecoder, getUnstakedErrorEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUnwrapEncryptedTokensCallbackDiscriminatorBytes, getUnwrapEncryptedTokensCallbackInstruction, getUnwrapEncryptedTokensCallbackInstructionDataCodec, getUnwrapEncryptedTokensCallbackInstructionDataDecoder, getUnwrapEncryptedTokensCallbackInstructionDataEncoder, getUnwrapEncryptedTokensCompDefDiscriminatorBytes, getUnwrapEncryptedTokensCompDefInstruction, getUnwrapEncryptedTokensCompDefInstructionDataCodec, getUnwrapEncryptedTokensCompDefInstructionDataDecoder, getUnwrapEncryptedTokensCompDefInstructionDataEncoder, getUnwrapEncryptedTokensDiscriminatorBytes, getUnwrapEncryptedTokensInstruction, getUnwrapEncryptedTokensInstructionAsync, getUnwrapEncryptedTokensInstructionDataCodec, getUnwrapEncryptedTokensInstructionDataDecoder, getUnwrapEncryptedTokensInstructionDataEncoder, getUnwrapEncryptedTokensOutputCodec, getUnwrapEncryptedTokensOutputDecoder, getUnwrapEncryptedTokensOutputEncoder, getUnwrapEncryptedTokensOutputStruct0Codec, getUnwrapEncryptedTokensOutputStruct0Decoder, getUnwrapEncryptedTokensOutputStruct0Encoder, getUpdateCentralStateDiscriminatorBytes, getUpdateCentralStateInstruction, getUpdateCentralStateInstructionAsync, getUpdateCentralStateInstructionDataCodec, getUpdateCentralStateInstructionDataDecoder, getUpdateCentralStateInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionCodec, getWinningOptionDecoder, getWinningOptionEncoder, getWinningOptionsSelectedEventCodec, getWinningOptionsSelectedEventDecoder, getWinningOptionsSelectedEventEncoder, getWrapEncryptedTokensCallbackDiscriminatorBytes, getWrapEncryptedTokensCallbackInstruction, getWrapEncryptedTokensCallbackInstructionDataCodec, getWrapEncryptedTokensCallbackInstructionDataDecoder, getWrapEncryptedTokensCallbackInstructionDataEncoder, getWrapEncryptedTokensCompDefDiscriminatorBytes, getWrapEncryptedTokensCompDefInstruction, getWrapEncryptedTokensCompDefInstructionDataCodec, getWrapEncryptedTokensCompDefInstructionDataDecoder, getWrapEncryptedTokensCompDefInstructionDataEncoder, getWrapEncryptedTokensDiscriminatorBytes, getWrapEncryptedTokensInstruction, getWrapEncryptedTokensInstructionAsync, getWrapEncryptedTokensInstructionDataCodec, getWrapEncryptedTokensInstructionDataDecoder, getWrapEncryptedTokensInstructionDataEncoder, getWrapEncryptedTokensOutputCodec, getWrapEncryptedTokensOutputDecoder, getWrapEncryptedTokensOutputEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, incrementOptionTally, initEncryptedTokenAccount, initEphemeralEncryptedTokenAccount, initShareAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionAsCreatorInstruction, parseAddMarketOptionInstruction, parseAddOptionStakeCallbackInstruction, parseAddOptionStakeCompDefInstruction, parseBuyOpportunityMarketSharesCallbackInstruction, parseBuyOpportunityMarketSharesCompDefInstruction, parseClaimFeesInstruction, parseClaimPendingDepositInstruction, parseCloseEphemeralEncryptedTokenAccountCallbackInstruction, parseCloseEphemeralEncryptedTokenAccountCompDefInstruction, parseCloseEphemeralEncryptedTokenAccountInstruction, parseCloseShareAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseExtendRevealPeriodInstruction, parseIncrementOptionTallyInstruction, parseInitCentralStateInstruction, parseInitEncryptedTokenAccountInstruction, parseInitEphemeralEncryptedTokenAccountInstruction, parseInitShareAccountInstruction, parseInitTokenVaultInstruction, parseOpenMarketInstruction, parseRevealSharesCallbackInstruction, parseRevealSharesCompDefInstruction, parseRevealSharesInstruction, parseSelectWinningOptionsInstruction, parseStakeInstruction, parseTransferCentralStateAuthorityInstruction, parseUnstakeEarlyCallbackInstruction, parseUnstakeEarlyCompDefInstruction, parseUnstakeEarlyInstruction, parseUnwrapEncryptedTokensCallbackInstruction, parseUnwrapEncryptedTokensCompDefInstruction, parseUnwrapEncryptedTokensInstruction, parseUpdateCentralStateInstruction, parseWrapEncryptedTokensCallbackInstruction, parseWrapEncryptedTokensCompDefInstruction, parseWrapEncryptedTokensInstruction, randomComputationOffset, randomStateNonce, revealShares, selectWinningOptions, stake, toNumberArray, unstakeEarly, unwrapEncryptedTokens, wrapEncryptedTokens };
|
|
5330
|
+
export { ADD_MARKET_OPTION_AS_CREATOR_DISCRIMINATOR, ADD_MARKET_OPTION_DISCRIMINATOR, ADD_OPTION_STAKE_CALLBACK_DISCRIMINATOR, ADD_OPTION_STAKE_COMP_DEF_DISCRIMINATOR, ALL_COMP_DEF_CIRCUITS, ARCIUM_SIGNER_ACCOUNT_DISCRIMINATOR, type Activation, type ActivationArgs, type AddMarketOptionAsCreatorAsyncInput, type AddMarketOptionAsCreatorInput, type AddMarketOptionAsCreatorInstruction, type AddMarketOptionAsCreatorInstructionData, type AddMarketOptionAsCreatorInstructionDataArgs, type AddMarketOptionAsCreatorParams, type AddMarketOptionAsyncInput, type AddMarketOptionInput, type AddMarketOptionInstruction, type AddMarketOptionInstructionData, type AddMarketOptionInstructionDataArgs, type AddMarketOptionParams, type AddOptionStakeCallbackInput, type AddOptionStakeCallbackInstruction, type AddOptionStakeCallbackInstructionData, type AddOptionStakeCallbackInstructionDataArgs, type AddOptionStakeCompDefInput, type AddOptionStakeCompDefInstruction, type AddOptionStakeCompDefInstructionData, type AddOptionStakeCompDefInstructionDataArgs, type AddOptionStakeOutput, type AddOptionStakeOutputArgs, type AddOptionStakeOutputStruct0, type AddOptionStakeOutputStruct0Args, type ArciumSignerAccount, type ArciumSignerAccountArgs, type AwaitComputationOptions, type BN254G2BLSPublicKey, type BN254G2BLSPublicKeyArgs, BUY_OPPORTUNITY_MARKET_SHARES_CALLBACK_DISCRIMINATOR, BUY_OPPORTUNITY_MARKET_SHARES_COMP_DEF_DISCRIMINATOR, type BaseInstructionParams, type BuyOpportunityMarketSharesCallbackInput, type BuyOpportunityMarketSharesCallbackInstruction, type BuyOpportunityMarketSharesCallbackInstructionData, type BuyOpportunityMarketSharesCallbackInstructionDataArgs, type BuyOpportunityMarketSharesCompDefInput, type BuyOpportunityMarketSharesCompDefInstruction, type BuyOpportunityMarketSharesCompDefInstructionData, type BuyOpportunityMarketSharesCompDefInstructionDataArgs, type BuyOpportunityMarketSharesOutput, type BuyOpportunityMarketSharesOutputArgs, type BuyOpportunityMarketSharesOutputStruct0, type BuyOpportunityMarketSharesOutputStruct0Args, type ByteArray, CENTRAL_STATE_DISCRIMINATOR, CENTRAL_STATE_SEED, CLAIM_FEES_DISCRIMINATOR, CLAIM_PENDING_DEPOSIT_DISCRIMINATOR, CLOCK_ACCOUNT_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_CALLBACK_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_COMP_DEF_DISCRIMINATOR, CLOSE_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, CLOSE_SHARE_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 ClaimPendingDepositAsyncInput, type ClaimPendingDepositInput, type ClaimPendingDepositInstruction, type ClaimPendingDepositInstructionData, type ClaimPendingDepositInstructionDataArgs, type ClockAccount, type ClockAccountArgs, type CloseEphemeralEncryptedTokenAccountAsyncInput, type CloseEphemeralEncryptedTokenAccountCallbackInput, type CloseEphemeralEncryptedTokenAccountCallbackInstruction, type CloseEphemeralEncryptedTokenAccountCallbackInstructionData, type CloseEphemeralEncryptedTokenAccountCallbackInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountCompDefInput, type CloseEphemeralEncryptedTokenAccountCompDefInstruction, type CloseEphemeralEncryptedTokenAccountCompDefInstructionData, type CloseEphemeralEncryptedTokenAccountCompDefInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountInput, type CloseEphemeralEncryptedTokenAccountInstruction, type CloseEphemeralEncryptedTokenAccountInstructionData, type CloseEphemeralEncryptedTokenAccountInstructionDataArgs, type CloseEphemeralEncryptedTokenAccountOutput, type CloseEphemeralEncryptedTokenAccountOutputArgs, type CloseEphemeralEncryptedTokenAccountParams, type CloseShareAccountAsyncInput, type CloseShareAccountInput, type CloseShareAccountInstruction, type CloseShareAccountInstructionData, type CloseShareAccountInstructionDataArgs, type CloseShareAccountParams, 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, ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, ENCRYPTED_TOKEN_ACCOUNT_SEED, EXTEND_REVEAL_PERIOD_DISCRIMINATOR, type EncryptedTokenAccount, type EncryptedTokenAccountArgs, type EncryptedTokenAccountInitializedEvent, type EncryptedTokenAccountInitializedEventArgs, type EncryptedTokensUnwrappedError, type EncryptedTokensUnwrappedErrorArgs, type EncryptedTokensUnwrappedEvent, type EncryptedTokensUnwrappedEventArgs, type EncryptedTokensWrappedEvent, type EncryptedTokensWrappedEventArgs, type EnsureCentralStateParams, type EphemeralAccountClosedError, type EphemeralAccountClosedErrorArgs, type EphemeralAccountClosedEvent, type EphemeralAccountClosedEventArgs, type EphemeralEncryptedTokenAccountInitializedEvent, type EphemeralEncryptedTokenAccountInitializedEventArgs, 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, INCREMENT_OPTION_TALLY_DISCRIMINATOR, INIT_CENTRAL_STATE_DISCRIMINATOR, INIT_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, INIT_EPHEMERAL_ENCRYPTED_TOKEN_ACCOUNT_DISCRIMINATOR, INIT_SHARE_ACCOUNT_DISCRIMINATOR, INIT_TOKEN_VAULT_DISCRIMINATOR, type IncrementOptionTallyAsyncInput, type IncrementOptionTallyInput, type IncrementOptionTallyInstruction, type IncrementOptionTallyInstructionData, type IncrementOptionTallyInstructionDataArgs, type IncrementOptionTallyParams, type InitCentralStateAsyncInput, type InitCentralStateInput, type InitCentralStateInstruction, type InitCentralStateInstructionData, type InitCentralStateInstructionDataArgs, type InitCompDefConfig, type InitEncryptedTokenAccountAsyncInput, type InitEncryptedTokenAccountInput, type InitEncryptedTokenAccountInstruction, type InitEncryptedTokenAccountInstructionData, type InitEncryptedTokenAccountInstructionDataArgs, type InitEncryptedTokenAccountParams, type InitEphemeralEncryptedTokenAccountAsyncInput, type InitEphemeralEncryptedTokenAccountInput, type InitEphemeralEncryptedTokenAccountInstruction, type InitEphemeralEncryptedTokenAccountInstructionData, type InitEphemeralEncryptedTokenAccountInstructionDataArgs, type InitEphemeralEncryptedTokenAccountParams, type InitShareAccountAsyncInput, type InitShareAccountInput, type InitShareAccountInstruction, type InitShareAccountInstructionData, type InitShareAccountInstructionDataArgs, type InitShareAccountParams, 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_INDEX, 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__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 ParsedAddMarketOptionAsCreatorInstruction, type ParsedAddMarketOptionInstruction, type ParsedAddOptionStakeCallbackInstruction, type ParsedAddOptionStakeCompDefInstruction, type ParsedBuyOpportunityMarketSharesCallbackInstruction, type ParsedBuyOpportunityMarketSharesCompDefInstruction, type ParsedClaimFeesInstruction, type ParsedClaimPendingDepositInstruction, type ParsedCloseEphemeralEncryptedTokenAccountCallbackInstruction, type ParsedCloseEphemeralEncryptedTokenAccountCompDefInstruction, type ParsedCloseEphemeralEncryptedTokenAccountInstruction, type ParsedCloseShareAccountInstruction, type ParsedCreateMarketInstruction, type ParsedDoUnstakeEarlyInstruction, type ParsedExtendRevealPeriodInstruction, type ParsedIncrementOptionTallyInstruction, type ParsedInitCentralStateInstruction, type ParsedInitEncryptedTokenAccountInstruction, type ParsedInitEphemeralEncryptedTokenAccountInstruction, type ParsedInitShareAccountInstruction, type ParsedInitTokenVaultInstruction, type ParsedOpenMarketInstruction, type ParsedOpportunityMarketInstruction, type ParsedRevealSharesCallbackInstruction, type ParsedRevealSharesCompDefInstruction, type ParsedRevealSharesInstruction, type ParsedSelectWinningOptionsInstruction, type ParsedStakeInstruction, type ParsedTransferCentralStateAuthorityInstruction, type ParsedUnstakeEarlyCallbackInstruction, type ParsedUnstakeEarlyCompDefInstruction, type ParsedUnstakeEarlyInstruction, type ParsedUnwrapEncryptedTokensCallbackInstruction, type ParsedUnwrapEncryptedTokensCompDefInstruction, type ParsedUnwrapEncryptedTokensInstruction, type ParsedUpdateCentralStateInstruction, type ParsedWrapEncryptedTokensCallbackInstruction, type ParsedWrapEncryptedTokensCompDefInstruction, type ParsedWrapEncryptedTokensInstruction, type PendingDepositClaimedEvent, type PendingDepositClaimedEventArgs, REVEAL_SHARES_CALLBACK_DISCRIMINATOR, REVEAL_SHARES_COMP_DEF_DISCRIMINATOR, REVEAL_SHARES_DISCRIMINATOR, type RevealPeriodExtendedEvent, type RevealPeriodExtendedEventArgs, type RevealSharesAsyncInput, type RevealSharesCallbackInput, type RevealSharesCallbackInstruction, type RevealSharesCallbackInstructionData, type RevealSharesCallbackInstructionDataArgs, type RevealSharesCompDefInput, type RevealSharesCompDefInstruction, type RevealSharesCompDefInstructionData, type RevealSharesCompDefInstructionDataArgs, type RevealSharesInput, type RevealSharesInstruction, type RevealSharesInstructionData, type RevealSharesInstructionDataArgs, type RevealSharesOutput, type RevealSharesOutputArgs, type RevealSharesOutputStruct0, type RevealSharesOutputStruct0Args, type RevealSharesParams, type RewardClaimedEvent, type RewardClaimedEventArgs, SELECT_WINNING_OPTIONS_DISCRIMINATOR, SHARE_ACCOUNT_DISCRIMINATOR, SHARE_ACCOUNT_SEED, STAKE_DISCRIMINATOR, type SelectWinningOptionsInput, type SelectWinningOptionsInstruction, type SelectWinningOptionsInstructionData, type SelectWinningOptionsInstructionDataArgs, type SelectWinningOptionsParams, type ShareAccount, type ShareAccountArgs, type ShareAccountInitializedEvent, type ShareAccountInitializedEventArgs, type StakeAsyncInput, type StakeInput, type StakeInstruction, type StakeInstructionData, type StakeInstructionDataArgs, type StakeParams, 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_CALLBACK_DISCRIMINATOR, UNSTAKE_EARLY_COMP_DEF_DISCRIMINATOR, UNSTAKE_EARLY_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_CALLBACK_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_COMP_DEF_DISCRIMINATOR, UNWRAP_ENCRYPTED_TOKENS_DISCRIMINATOR, UPDATE_CENTRAL_STATE_DISCRIMINATOR, type UnstakeEarlyAsyncInput, type UnstakeEarlyCallbackInput, type UnstakeEarlyCallbackInstruction, type UnstakeEarlyCallbackInstructionData, type UnstakeEarlyCallbackInstructionDataArgs, type UnstakeEarlyCompDefInput, type UnstakeEarlyCompDefInstruction, type UnstakeEarlyCompDefInstructionData, type UnstakeEarlyCompDefInstructionDataArgs, type UnstakeEarlyInput, type UnstakeEarlyInstruction, type UnstakeEarlyInstructionData, type UnstakeEarlyInstructionDataArgs, type UnstakeEarlyOutput, type UnstakeEarlyOutputArgs, type UnstakeEarlyParams, type UnstakeInitiatedEvent, type UnstakeInitiatedEventArgs, type UnstakedError, type UnstakedErrorArgs, type UnstakedEvent, type UnstakedEventArgs, type UnwrapEncryptedTokensAsyncInput, type UnwrapEncryptedTokensCallbackInput, type UnwrapEncryptedTokensCallbackInstruction, type UnwrapEncryptedTokensCallbackInstructionData, type UnwrapEncryptedTokensCallbackInstructionDataArgs, type UnwrapEncryptedTokensCompDefInput, type UnwrapEncryptedTokensCompDefInstruction, type UnwrapEncryptedTokensCompDefInstructionData, type UnwrapEncryptedTokensCompDefInstructionDataArgs, type UnwrapEncryptedTokensInput, type UnwrapEncryptedTokensInstruction, type UnwrapEncryptedTokensInstructionData, type UnwrapEncryptedTokensInstructionDataArgs, type UnwrapEncryptedTokensOutput, type UnwrapEncryptedTokensOutputArgs, type UnwrapEncryptedTokensOutputStruct0, type UnwrapEncryptedTokensOutputStruct0Args, type UnwrapEncryptedTokensParams, type UpdateCentralStateAsyncInput, type UpdateCentralStateInput, type UpdateCentralStateInstruction, type UpdateCentralStateInstructionData, type UpdateCentralStateInstructionDataArgs, type UtilityPubkeys, type UtilityPubkeysArgs, WRAP_ENCRYPTED_TOKENS_CALLBACK_DISCRIMINATOR, WRAP_ENCRYPTED_TOKENS_COMP_DEF_DISCRIMINATOR, WRAP_ENCRYPTED_TOKENS_DISCRIMINATOR, type WinningOption, type WinningOptionArgs, type WinningOptionsSelectedEvent, type WinningOptionsSelectedEventArgs, type WrapEncryptedTokensAsyncInput, type WrapEncryptedTokensCallbackInput, type WrapEncryptedTokensCallbackInstruction, type WrapEncryptedTokensCallbackInstructionData, type WrapEncryptedTokensCallbackInstructionDataArgs, type WrapEncryptedTokensCompDefInput, type WrapEncryptedTokensCompDefInstruction, type WrapEncryptedTokensCompDefInstructionData, type WrapEncryptedTokensCompDefInstructionDataArgs, type WrapEncryptedTokensInput, type WrapEncryptedTokensInstruction, type WrapEncryptedTokensInstructionData, type WrapEncryptedTokensInstructionDataArgs, type WrapEncryptedTokensOutput, type WrapEncryptedTokensOutputArgs, type WrapEncryptedTokensParams, type X25519Keypair, addMarketOption, addMarketOptionAsCreator, awaitBatchComputationFinalization, awaitComputationFinalization, circuitSource, closeEphemeralEncryptedTokenAccount, closeShareAccount, createCipher, createMarket, decodeArciumSignerAccount, decodeCentralState, decodeClockAccount, decodeCluster, decodeComputationDefinitionAccount, decodeEncryptedTokenAccount, decodeFeePool, decodeMXEAccount, decodeOpportunityMarket, decodeOpportunityMarketOption, decodeShareAccount, decodeTokenVault, deriveSharedSecret, deriveX25519KeypairFromSignature, doUnstakeEarly, ensureCentralState, extendRevealPeriod, fetchAllArciumSignerAccount, fetchAllCentralState, fetchAllClockAccount, fetchAllCluster, fetchAllComputationDefinitionAccount, fetchAllEncryptedTokenAccount, fetchAllFeePool, fetchAllMXEAccount, fetchAllMaybeArciumSignerAccount, fetchAllMaybeCentralState, fetchAllMaybeClockAccount, fetchAllMaybeCluster, fetchAllMaybeComputationDefinitionAccount, fetchAllMaybeEncryptedTokenAccount, fetchAllMaybeFeePool, fetchAllMaybeMXEAccount, fetchAllMaybeOpportunityMarket, fetchAllMaybeOpportunityMarketOption, fetchAllMaybeShareAccount, fetchAllMaybeTokenVault, fetchAllOpportunityMarket, fetchAllOpportunityMarketOption, fetchAllShareAccount, fetchAllTokenVault, fetchArciumSignerAccount, fetchCentralState, fetchClockAccount, fetchCluster, fetchComputationDefinitionAccount, fetchEncryptedTokenAccount, fetchFeePool, fetchMXEAccount, fetchMaybeArciumSignerAccount, fetchMaybeCentralState, fetchMaybeClockAccount, fetchMaybeCluster, fetchMaybeComputationDefinitionAccount, fetchMaybeEncryptedTokenAccount, fetchMaybeFeePool, fetchMaybeMXEAccount, fetchMaybeOpportunityMarket, fetchMaybeOpportunityMarketOption, fetchMaybeShareAccount, fetchMaybeTokenVault, fetchOpportunityMarket, fetchOpportunityMarketOption, fetchShareAccount, fetchTokenVault, generateX25519Keypair, getActivationCodec, getActivationDecoder, getActivationEncoder, getAddMarketOptionAsCreatorDiscriminatorBytes, getAddMarketOptionAsCreatorInstruction, getAddMarketOptionAsCreatorInstructionAsync, getAddMarketOptionAsCreatorInstructionDataCodec, getAddMarketOptionAsCreatorInstructionDataDecoder, getAddMarketOptionAsCreatorInstructionDataEncoder, getAddMarketOptionDiscriminatorBytes, getAddMarketOptionInstruction, getAddMarketOptionInstructionAsync, getAddMarketOptionInstructionDataCodec, getAddMarketOptionInstructionDataDecoder, getAddMarketOptionInstructionDataEncoder, getAddOptionStakeCallbackDiscriminatorBytes, getAddOptionStakeCallbackInstruction, getAddOptionStakeCallbackInstructionDataCodec, getAddOptionStakeCallbackInstructionDataDecoder, getAddOptionStakeCallbackInstructionDataEncoder, getAddOptionStakeCompDefDiscriminatorBytes, getAddOptionStakeCompDefInstruction, getAddOptionStakeCompDefInstructionDataCodec, getAddOptionStakeCompDefInstructionDataDecoder, getAddOptionStakeCompDefInstructionDataEncoder, getAddOptionStakeOutputCodec, getAddOptionStakeOutputDecoder, getAddOptionStakeOutputEncoder, getAddOptionStakeOutputStruct0Codec, getAddOptionStakeOutputStruct0Decoder, getAddOptionStakeOutputStruct0Encoder, getArciumSignerAccountCodec, getArciumSignerAccountDecoder, getArciumSignerAccountDiscriminatorBytes, getArciumSignerAccountEncoder, getBN254G2BLSPublicKeyCodec, getBN254G2BLSPublicKeyDecoder, getBN254G2BLSPublicKeyEncoder, getBuyOpportunityMarketSharesCallbackDiscriminatorBytes, getBuyOpportunityMarketSharesCallbackInstruction, getBuyOpportunityMarketSharesCallbackInstructionDataCodec, getBuyOpportunityMarketSharesCallbackInstructionDataDecoder, getBuyOpportunityMarketSharesCallbackInstructionDataEncoder, getBuyOpportunityMarketSharesCompDefDiscriminatorBytes, getBuyOpportunityMarketSharesCompDefInstruction, getBuyOpportunityMarketSharesCompDefInstructionDataCodec, getBuyOpportunityMarketSharesCompDefInstructionDataDecoder, getBuyOpportunityMarketSharesCompDefInstructionDataEncoder, getBuyOpportunityMarketSharesOutputCodec, getBuyOpportunityMarketSharesOutputDecoder, getBuyOpportunityMarketSharesOutputEncoder, getBuyOpportunityMarketSharesOutputStruct0Codec, getBuyOpportunityMarketSharesOutputStruct0Decoder, getBuyOpportunityMarketSharesOutputStruct0Encoder, getCentralStateAddress, getCentralStateCodec, getCentralStateDecoder, getCentralStateDiscriminatorBytes, getCentralStateEncoder, getCircuitSourceCodec, getCircuitSourceDecoder, getCircuitSourceEncoder, getClaimFeesDiscriminatorBytes, getClaimFeesInstruction, getClaimFeesInstructionAsync, getClaimFeesInstructionDataCodec, getClaimFeesInstructionDataDecoder, getClaimFeesInstructionDataEncoder, getClaimPendingDepositDiscriminatorBytes, getClaimPendingDepositInstruction, getClaimPendingDepositInstructionAsync, getClaimPendingDepositInstructionDataCodec, getClaimPendingDepositInstructionDataDecoder, getClaimPendingDepositInstructionDataEncoder, getClockAccountCodec, getClockAccountDecoder, getClockAccountDiscriminatorBytes, getClockAccountEncoder, getCloseEphemeralEncryptedTokenAccountCallbackDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountCallbackInstruction, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountCallbackInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountCompDefDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountCompDefInstruction, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountCompDefInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountDiscriminatorBytes, getCloseEphemeralEncryptedTokenAccountInstruction, getCloseEphemeralEncryptedTokenAccountInstructionAsync, getCloseEphemeralEncryptedTokenAccountInstructionDataCodec, getCloseEphemeralEncryptedTokenAccountInstructionDataDecoder, getCloseEphemeralEncryptedTokenAccountInstructionDataEncoder, getCloseEphemeralEncryptedTokenAccountOutputCodec, getCloseEphemeralEncryptedTokenAccountOutputDecoder, getCloseEphemeralEncryptedTokenAccountOutputEncoder, getCloseShareAccountDiscriminatorBytes, getCloseShareAccountInstruction, getCloseShareAccountInstructionAsync, getCloseShareAccountInstructionDataCodec, getCloseShareAccountInstructionDataDecoder, getCloseShareAccountInstructionDataEncoder, 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, getEncryptedTokenAccountAddress, getEncryptedTokenAccountAddressWithIndex, getEncryptedTokenAccountCodec, getEncryptedTokenAccountDecoder, getEncryptedTokenAccountDiscriminatorBytes, getEncryptedTokenAccountEncoder, getEncryptedTokenAccountInitializedEventCodec, getEncryptedTokenAccountInitializedEventDecoder, getEncryptedTokenAccountInitializedEventEncoder, getEncryptedTokensUnwrappedErrorCodec, getEncryptedTokensUnwrappedErrorDecoder, getEncryptedTokensUnwrappedErrorEncoder, getEncryptedTokensUnwrappedEventCodec, getEncryptedTokensUnwrappedEventDecoder, getEncryptedTokensUnwrappedEventEncoder, getEncryptedTokensWrappedEventCodec, getEncryptedTokensWrappedEventDecoder, getEncryptedTokensWrappedEventEncoder, getEphemeralAccountClosedErrorCodec, getEphemeralAccountClosedErrorDecoder, getEphemeralAccountClosedErrorEncoder, getEphemeralAccountClosedEventCodec, getEphemeralAccountClosedEventDecoder, getEphemeralAccountClosedEventEncoder, getEphemeralEncryptedTokenAccountAddress, getEphemeralEncryptedTokenAccountInitializedEventCodec, getEphemeralEncryptedTokenAccountInitializedEventDecoder, getEphemeralEncryptedTokenAccountInitializedEventEncoder, getEpochCodec, getEpochDecoder, getEpochEncoder, getExtendRevealPeriodDiscriminatorBytes, getExtendRevealPeriodInstruction, getExtendRevealPeriodInstructionDataCodec, getExtendRevealPeriodInstructionDataDecoder, getExtendRevealPeriodInstructionDataEncoder, getFeePoolCodec, getFeePoolDecoder, getFeePoolDiscriminatorBytes, getFeePoolEncoder, getFeesClaimedEventCodec, getFeesClaimedEventDecoder, getFeesClaimedEventEncoder, getIncrementOptionTallyDiscriminatorBytes, getIncrementOptionTallyInstruction, getIncrementOptionTallyInstructionAsync, getIncrementOptionTallyInstructionDataCodec, getIncrementOptionTallyInstructionDataDecoder, getIncrementOptionTallyInstructionDataEncoder, getInitCentralStateDiscriminatorBytes, getInitCentralStateInstruction, getInitCentralStateInstructionAsync, getInitCentralStateInstructionDataCodec, getInitCentralStateInstructionDataDecoder, getInitCentralStateInstructionDataEncoder, getInitCompDefInstruction, getInitEncryptedTokenAccountDiscriminatorBytes, getInitEncryptedTokenAccountInstruction, getInitEncryptedTokenAccountInstructionAsync, getInitEncryptedTokenAccountInstructionDataCodec, getInitEncryptedTokenAccountInstructionDataDecoder, getInitEncryptedTokenAccountInstructionDataEncoder, getInitEphemeralEncryptedTokenAccountDiscriminatorBytes, getInitEphemeralEncryptedTokenAccountInstruction, getInitEphemeralEncryptedTokenAccountInstructionAsync, getInitEphemeralEncryptedTokenAccountInstructionDataCodec, getInitEphemeralEncryptedTokenAccountInstructionDataDecoder, getInitEphemeralEncryptedTokenAccountInstructionDataEncoder, getInitShareAccountDiscriminatorBytes, getInitShareAccountInstruction, getInitShareAccountInstructionAsync, getInitShareAccountInstructionDataCodec, getInitShareAccountInstructionDataDecoder, getInitShareAccountInstructionDataEncoder, 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, getPendingDepositClaimedEventCodec, getPendingDepositClaimedEventDecoder, getPendingDepositClaimedEventEncoder, getRevealPeriodExtendedEventCodec, getRevealPeriodExtendedEventDecoder, getRevealPeriodExtendedEventEncoder, getRevealSharesCallbackDiscriminatorBytes, getRevealSharesCallbackInstruction, getRevealSharesCallbackInstructionDataCodec, getRevealSharesCallbackInstructionDataDecoder, getRevealSharesCallbackInstructionDataEncoder, getRevealSharesCompDefDiscriminatorBytes, getRevealSharesCompDefInstruction, getRevealSharesCompDefInstructionDataCodec, getRevealSharesCompDefInstructionDataDecoder, getRevealSharesCompDefInstructionDataEncoder, getRevealSharesDiscriminatorBytes, getRevealSharesInstruction, getRevealSharesInstructionAsync, getRevealSharesInstructionDataCodec, getRevealSharesInstructionDataDecoder, getRevealSharesInstructionDataEncoder, getRevealSharesOutputCodec, getRevealSharesOutputDecoder, getRevealSharesOutputEncoder, getRevealSharesOutputStruct0Codec, getRevealSharesOutputStruct0Decoder, getRevealSharesOutputStruct0Encoder, getRewardClaimedEventCodec, getRewardClaimedEventDecoder, getRewardClaimedEventEncoder, getSelectWinningOptionsDiscriminatorBytes, getSelectWinningOptionsInstruction, getSelectWinningOptionsInstructionDataCodec, getSelectWinningOptionsInstructionDataDecoder, getSelectWinningOptionsInstructionDataEncoder, getShareAccountAddress, getShareAccountCodec, getShareAccountDecoder, getShareAccountDiscriminatorBytes, getShareAccountEncoder, getShareAccountInitializedEventCodec, getShareAccountInitializedEventDecoder, getShareAccountInitializedEventEncoder, getStakeDiscriminatorBytes, getStakeInstruction, getStakeInstructionAsync, getStakeInstructionDataCodec, getStakeInstructionDataDecoder, getStakeInstructionDataEncoder, 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, getUnstakeEarlyCallbackDiscriminatorBytes, getUnstakeEarlyCallbackInstruction, getUnstakeEarlyCallbackInstructionDataCodec, getUnstakeEarlyCallbackInstructionDataDecoder, getUnstakeEarlyCallbackInstructionDataEncoder, getUnstakeEarlyCompDefDiscriminatorBytes, getUnstakeEarlyCompDefInstruction, getUnstakeEarlyCompDefInstructionDataCodec, getUnstakeEarlyCompDefInstructionDataDecoder, getUnstakeEarlyCompDefInstructionDataEncoder, getUnstakeEarlyDiscriminatorBytes, getUnstakeEarlyInstruction, getUnstakeEarlyInstructionAsync, getUnstakeEarlyInstructionDataCodec, getUnstakeEarlyInstructionDataDecoder, getUnstakeEarlyInstructionDataEncoder, getUnstakeEarlyOutputCodec, getUnstakeEarlyOutputDecoder, getUnstakeEarlyOutputEncoder, getUnstakeInitiatedEventCodec, getUnstakeInitiatedEventDecoder, getUnstakeInitiatedEventEncoder, getUnstakedErrorCodec, getUnstakedErrorDecoder, getUnstakedErrorEncoder, getUnstakedEventCodec, getUnstakedEventDecoder, getUnstakedEventEncoder, getUnwrapEncryptedTokensCallbackDiscriminatorBytes, getUnwrapEncryptedTokensCallbackInstruction, getUnwrapEncryptedTokensCallbackInstructionDataCodec, getUnwrapEncryptedTokensCallbackInstructionDataDecoder, getUnwrapEncryptedTokensCallbackInstructionDataEncoder, getUnwrapEncryptedTokensCompDefDiscriminatorBytes, getUnwrapEncryptedTokensCompDefInstruction, getUnwrapEncryptedTokensCompDefInstructionDataCodec, getUnwrapEncryptedTokensCompDefInstructionDataDecoder, getUnwrapEncryptedTokensCompDefInstructionDataEncoder, getUnwrapEncryptedTokensDiscriminatorBytes, getUnwrapEncryptedTokensInstruction, getUnwrapEncryptedTokensInstructionAsync, getUnwrapEncryptedTokensInstructionDataCodec, getUnwrapEncryptedTokensInstructionDataDecoder, getUnwrapEncryptedTokensInstructionDataEncoder, getUnwrapEncryptedTokensOutputCodec, getUnwrapEncryptedTokensOutputDecoder, getUnwrapEncryptedTokensOutputEncoder, getUnwrapEncryptedTokensOutputStruct0Codec, getUnwrapEncryptedTokensOutputStruct0Decoder, getUnwrapEncryptedTokensOutputStruct0Encoder, getUpdateCentralStateDiscriminatorBytes, getUpdateCentralStateInstruction, getUpdateCentralStateInstructionAsync, getUpdateCentralStateInstructionDataCodec, getUpdateCentralStateInstructionDataDecoder, getUpdateCentralStateInstructionDataEncoder, getUtilityPubkeysCodec, getUtilityPubkeysDecoder, getUtilityPubkeysEncoder, getWinningOptionCodec, getWinningOptionDecoder, getWinningOptionEncoder, getWinningOptionsSelectedEventCodec, getWinningOptionsSelectedEventDecoder, getWinningOptionsSelectedEventEncoder, getWrapEncryptedTokensCallbackDiscriminatorBytes, getWrapEncryptedTokensCallbackInstruction, getWrapEncryptedTokensCallbackInstructionDataCodec, getWrapEncryptedTokensCallbackInstructionDataDecoder, getWrapEncryptedTokensCallbackInstructionDataEncoder, getWrapEncryptedTokensCompDefDiscriminatorBytes, getWrapEncryptedTokensCompDefInstruction, getWrapEncryptedTokensCompDefInstructionDataCodec, getWrapEncryptedTokensCompDefInstructionDataDecoder, getWrapEncryptedTokensCompDefInstructionDataEncoder, getWrapEncryptedTokensDiscriminatorBytes, getWrapEncryptedTokensInstruction, getWrapEncryptedTokensInstructionAsync, getWrapEncryptedTokensInstructionDataCodec, getWrapEncryptedTokensInstructionDataDecoder, getWrapEncryptedTokensInstructionDataEncoder, getWrapEncryptedTokensOutputCodec, getWrapEncryptedTokensOutputDecoder, getWrapEncryptedTokensOutputEncoder, identifyOpportunityMarketAccount, identifyOpportunityMarketInstruction, incrementOptionTally, initEncryptedTokenAccount, initEphemeralEncryptedTokenAccount, initShareAccount, initTokenVault, isCircuitSource, isOpportunityMarketError, nonceToBytes, openMarket, parseAddMarketOptionAsCreatorInstruction, parseAddMarketOptionInstruction, parseAddOptionStakeCallbackInstruction, parseAddOptionStakeCompDefInstruction, parseBuyOpportunityMarketSharesCallbackInstruction, parseBuyOpportunityMarketSharesCompDefInstruction, parseClaimFeesInstruction, parseClaimPendingDepositInstruction, parseCloseEphemeralEncryptedTokenAccountCallbackInstruction, parseCloseEphemeralEncryptedTokenAccountCompDefInstruction, parseCloseEphemeralEncryptedTokenAccountInstruction, parseCloseShareAccountInstruction, parseCreateMarketInstruction, parseDoUnstakeEarlyInstruction, parseExtendRevealPeriodInstruction, parseIncrementOptionTallyInstruction, parseInitCentralStateInstruction, parseInitEncryptedTokenAccountInstruction, parseInitEphemeralEncryptedTokenAccountInstruction, parseInitShareAccountInstruction, parseInitTokenVaultInstruction, parseOpenMarketInstruction, parseRevealSharesCallbackInstruction, parseRevealSharesCompDefInstruction, parseRevealSharesInstruction, parseSelectWinningOptionsInstruction, parseStakeInstruction, parseTransferCentralStateAuthorityInstruction, parseUnstakeEarlyCallbackInstruction, parseUnstakeEarlyCompDefInstruction, parseUnstakeEarlyInstruction, parseUnwrapEncryptedTokensCallbackInstruction, parseUnwrapEncryptedTokensCompDefInstruction, parseUnwrapEncryptedTokensInstruction, parseUpdateCentralStateInstruction, parseWrapEncryptedTokensCallbackInstruction, parseWrapEncryptedTokensCompDefInstruction, parseWrapEncryptedTokensInstruction, randomComputationOffset, randomStateNonce, revealShares, selectWinningOptions, stake, toNumberArray, unstakeEarly, unwrapEncryptedTokens, wrapEncryptedTokens };
|
package/dist/index.js
CHANGED
|
@@ -3389,7 +3389,7 @@ import {
|
|
|
3389
3389
|
fixEncoderSize as fixEncoderSize13,
|
|
3390
3390
|
getBytesEncoder as getBytesEncoder13
|
|
3391
3391
|
} from "@solana/kit";
|
|
3392
|
-
var OPPORTUNITY_MARKET_PROGRAM_ADDRESS = "
|
|
3392
|
+
var OPPORTUNITY_MARKET_PROGRAM_ADDRESS = "bncZ1gDqgqhSWFzcxjeMoCtqN7odS8wYn1nS5tXZ9jA";
|
|
3393
3393
|
var OpportunityMarketAccount = /* @__PURE__ */ ((OpportunityMarketAccount2) => {
|
|
3394
3394
|
OpportunityMarketAccount2[OpportunityMarketAccount2["ArciumSignerAccount"] = 0] = "ArciumSignerAccount";
|
|
3395
3395
|
OpportunityMarketAccount2[OpportunityMarketAccount2["CentralState"] = 1] = "CentralState";
|
|
@@ -11401,23 +11401,20 @@ async function getEphemeralEncryptedTokenAccountAddress(tokenMint, owner, index,
|
|
|
11401
11401
|
return getEncryptedTokenAccountAddressWithIndex(tokenMint, owner, index, programId);
|
|
11402
11402
|
}
|
|
11403
11403
|
|
|
11404
|
-
// src/accounts/
|
|
11404
|
+
// src/accounts/opportunityMarket.ts
|
|
11405
11405
|
import {
|
|
11406
11406
|
getAddressEncoder as getAddressEncoder58,
|
|
11407
|
+
getU64Encoder as getU64Encoder41,
|
|
11407
11408
|
getProgramDerivedAddress as getProgramDerivedAddress25
|
|
11408
11409
|
} from "@solana/kit";
|
|
11409
|
-
var
|
|
11410
|
-
async function
|
|
11411
|
-
const addressEncoder = getAddressEncoder58();
|
|
11412
|
-
const idBytes = new Uint8Array(4);
|
|
11413
|
-
new DataView(idBytes.buffer).setUint32(0, shareAccountId, true);
|
|
11410
|
+
var OPPORTUNITY_MARKET_SEED = "opportunity_market";
|
|
11411
|
+
async function getOpportunityMarketAddress(creator, marketIndex, programId = OPPORTUNITY_MARKET_PROGRAM_ADDRESS) {
|
|
11414
11412
|
return getProgramDerivedAddress25({
|
|
11415
11413
|
programAddress: programId,
|
|
11416
11414
|
seeds: [
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
idBytes
|
|
11415
|
+
OPPORTUNITY_MARKET_SEED,
|
|
11416
|
+
getAddressEncoder58().encode(creator),
|
|
11417
|
+
getU64Encoder41().encode(BigInt(marketIndex))
|
|
11421
11418
|
]
|
|
11422
11419
|
});
|
|
11423
11420
|
}
|
|
@@ -11440,21 +11437,42 @@ async function getOpportunityMarketOptionAddress(market, optionIndex, programId
|
|
|
11440
11437
|
});
|
|
11441
11438
|
}
|
|
11442
11439
|
|
|
11443
|
-
// src/accounts/
|
|
11440
|
+
// src/accounts/shareAccount.ts
|
|
11444
11441
|
import {
|
|
11445
11442
|
getAddressEncoder as getAddressEncoder60,
|
|
11446
11443
|
getProgramDerivedAddress as getProgramDerivedAddress27
|
|
11447
11444
|
} from "@solana/kit";
|
|
11445
|
+
var SHARE_ACCOUNT_SEED = "share_account";
|
|
11446
|
+
async function getShareAccountAddress(owner, market, shareAccountId, programId = OPPORTUNITY_MARKET_PROGRAM_ADDRESS) {
|
|
11447
|
+
const addressEncoder = getAddressEncoder60();
|
|
11448
|
+
const idBytes = new Uint8Array(4);
|
|
11449
|
+
new DataView(idBytes.buffer).setUint32(0, shareAccountId, true);
|
|
11450
|
+
return getProgramDerivedAddress27({
|
|
11451
|
+
programAddress: programId,
|
|
11452
|
+
seeds: [
|
|
11453
|
+
SHARE_ACCOUNT_SEED,
|
|
11454
|
+
addressEncoder.encode(owner),
|
|
11455
|
+
addressEncoder.encode(market),
|
|
11456
|
+
idBytes
|
|
11457
|
+
]
|
|
11458
|
+
});
|
|
11459
|
+
}
|
|
11460
|
+
|
|
11461
|
+
// src/accounts/tokenVault.ts
|
|
11462
|
+
import {
|
|
11463
|
+
getAddressEncoder as getAddressEncoder61,
|
|
11464
|
+
getProgramDerivedAddress as getProgramDerivedAddress28
|
|
11465
|
+
} from "@solana/kit";
|
|
11448
11466
|
var TOKEN_VAULT_SEED = "token_vault";
|
|
11449
11467
|
async function getTokenVaultAddress(mint, programId = OPPORTUNITY_MARKET_PROGRAM_ADDRESS) {
|
|
11450
|
-
return
|
|
11468
|
+
return getProgramDerivedAddress28({
|
|
11451
11469
|
programAddress: programId,
|
|
11452
|
-
seeds: [TOKEN_VAULT_SEED,
|
|
11470
|
+
seeds: [TOKEN_VAULT_SEED, getAddressEncoder61().encode(mint)]
|
|
11453
11471
|
});
|
|
11454
11472
|
}
|
|
11455
11473
|
|
|
11456
11474
|
// src/arcium/awaitFinalizeComputation.ts
|
|
11457
|
-
import { getAddressEncoder as
|
|
11475
|
+
import { getAddressEncoder as getAddressEncoder62 } from "@solana/kit";
|
|
11458
11476
|
|
|
11459
11477
|
// src/arcium/constants.ts
|
|
11460
11478
|
var ARCIUM_PROGRAM_ID = "Arcj82pX7HxYKLR92qvgZUAd7vGS1k4hQvAFcPATFdEQ";
|
|
@@ -11483,7 +11501,7 @@ var awaitBatchComputationFinalization = async (rpc, computationOffsets, options)
|
|
|
11483
11501
|
}
|
|
11484
11502
|
const mxeProgramId = options?.mxeProgramId ?? OPPORTUNITY_MARKET_PROGRAM_ADDRESS;
|
|
11485
11503
|
const commitment = options?.commitment ?? "confirmed";
|
|
11486
|
-
const mxeProgramIdBytes =
|
|
11504
|
+
const mxeProgramIdBytes = getAddressEncoder62().encode(mxeProgramId);
|
|
11487
11505
|
const transactionCountLimit = options?.transactionCountLimit ?? 100;
|
|
11488
11506
|
const pollInterval = options?.pollInterval ?? 1e3;
|
|
11489
11507
|
const maxAttempts = options?.maxAttempts ?? 120;
|
|
@@ -11655,6 +11673,7 @@ export {
|
|
|
11655
11673
|
OPPORTUNITY_MARKET_OPTION_DISCRIMINATOR,
|
|
11656
11674
|
OPPORTUNITY_MARKET_OPTION_SEED,
|
|
11657
11675
|
OPPORTUNITY_MARKET_PROGRAM_ADDRESS,
|
|
11676
|
+
OPPORTUNITY_MARKET_SEED,
|
|
11658
11677
|
OpportunityMarketAccount,
|
|
11659
11678
|
OpportunityMarketInstruction,
|
|
11660
11679
|
Output,
|
|
@@ -12003,6 +12022,7 @@ export {
|
|
|
12003
12022
|
getOpenMarketInstructionDataCodec,
|
|
12004
12023
|
getOpenMarketInstructionDataDecoder,
|
|
12005
12024
|
getOpenMarketInstructionDataEncoder,
|
|
12025
|
+
getOpportunityMarketAddress,
|
|
12006
12026
|
getOpportunityMarketCodec,
|
|
12007
12027
|
getOpportunityMarketDecoder,
|
|
12008
12028
|
getOpportunityMarketDiscriminatorBytes,
|