@bench.games/opportunity-markets 0.1.21 → 0.1.23

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.
@@ -1169,7 +1169,7 @@ import {
1169
1169
  } from "@solana/kit";
1170
1170
  var MxeStatus = /* @__PURE__ */ ((MxeStatus2) => {
1171
1171
  MxeStatus2[MxeStatus2["Active"] = 0] = "Active";
1172
- MxeStatus2[MxeStatus2["Recovery"] = 1] = "Recovery";
1172
+ MxeStatus2[MxeStatus2["Migration"] = 1] = "Migration";
1173
1173
  return MxeStatus2;
1174
1174
  })(MxeStatus || {});
1175
1175
  function getMxeStatusEncoder() {
@@ -11376,6 +11376,21 @@ async function ensureCentralState(rpc, params) {
11376
11376
  );
11377
11377
  }
11378
11378
 
11379
+ // src/instructions/claimPendingDeposit.ts
11380
+ async function claimPendingDeposit(input) {
11381
+ const { programAddress, signer, tokenMint, encryptedTokenAccount, signerTokenAccount, tokenProgram } = input;
11382
+ return getClaimPendingDepositInstructionAsync(
11383
+ {
11384
+ signer,
11385
+ tokenMint,
11386
+ encryptedTokenAccount,
11387
+ signerTokenAccount,
11388
+ tokenProgram
11389
+ },
11390
+ programAddress ? { programAddress } : void 0
11391
+ );
11392
+ }
11393
+
11379
11394
  // src/accounts/encryptedTokenAccount.ts
11380
11395
  import {
11381
11396
  getAddressEncoder as getAddressEncoder57,
@@ -11703,6 +11718,7 @@ export {
11703
11718
  awaitBatchComputationFinalization,
11704
11719
  awaitComputationFinalization,
11705
11720
  circuitSource,
11721
+ claimPendingDeposit,
11706
11722
  closeEphemeralEncryptedTokenAccount,
11707
11723
  closeShareAccount,
11708
11724
  createCipher,
package/dist/index.cjs CHANGED
@@ -128,6 +128,7 @@ __export(index_exports, {
128
128
  awaitBatchComputationFinalization: () => awaitBatchComputationFinalization,
129
129
  awaitComputationFinalization: () => awaitComputationFinalization,
130
130
  circuitSource: () => circuitSource,
131
+ claimPendingDeposit: () => claimPendingDeposit,
131
132
  closeEphemeralEncryptedTokenAccount: () => closeEphemeralEncryptedTokenAccount,
132
133
  closeShareAccount: () => closeShareAccount,
133
134
  createCipher: () => createCipher,
@@ -1581,7 +1582,7 @@ function getMarketOptionCreatedEventCodec() {
1581
1582
  var import_kit26 = require("@solana/kit");
1582
1583
  var MxeStatus = /* @__PURE__ */ ((MxeStatus2) => {
1583
1584
  MxeStatus2[MxeStatus2["Active"] = 0] = "Active";
1584
- MxeStatus2[MxeStatus2["Recovery"] = 1] = "Recovery";
1585
+ MxeStatus2[MxeStatus2["Migration"] = 1] = "Migration";
1585
1586
  return MxeStatus2;
1586
1587
  })(MxeStatus || {});
1587
1588
  function getMxeStatusEncoder() {
@@ -10702,6 +10703,21 @@ async function ensureCentralState(rpc, params) {
10702
10703
  );
10703
10704
  }
10704
10705
 
10706
+ // src/instructions/claimPendingDeposit.ts
10707
+ async function claimPendingDeposit(input) {
10708
+ const { programAddress, signer, tokenMint, encryptedTokenAccount, signerTokenAccount, tokenProgram } = input;
10709
+ return getClaimPendingDepositInstructionAsync(
10710
+ {
10711
+ signer,
10712
+ tokenMint,
10713
+ encryptedTokenAccount,
10714
+ signerTokenAccount,
10715
+ tokenProgram
10716
+ },
10717
+ programAddress ? { programAddress } : void 0
10718
+ );
10719
+ }
10720
+
10705
10721
  // src/accounts/encryptedTokenAccount.ts
10706
10722
  var import_kit109 = require("@solana/kit");
10707
10723
  var ENCRYPTED_TOKEN_ACCOUNT_SEED = "encrypted_token_account";
@@ -11012,6 +11028,7 @@ function nonceToBytes(nonce) {
11012
11028
  awaitBatchComputationFinalization,
11013
11029
  awaitComputationFinalization,
11014
11030
  circuitSource,
11031
+ claimPendingDeposit,
11015
11032
  closeEphemeralEncryptedTokenAccount,
11016
11033
  closeShareAccount,
11017
11034
  createCipher,