@jup-ag/lend 0.0.31 → 0.0.33

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.
@@ -7999,6 +7999,49 @@ declare function getInitPositionContext(vaultId: number, positionId: number, sig
7999
7999
  };
8000
8000
  declare const getOperateIx: ({ vaultId, positionId, colAmount, debtAmount, connection, signer, recipient, positionOwner, cluster, }: OperateParams) => Promise<{
8001
8001
  nftId: number;
8002
+ accounts: {
8003
+ signer: PublicKey;
8004
+ signerSupplyTokenAccount: PublicKey;
8005
+ signerBorrowTokenAccount: PublicKey;
8006
+ recipient: PublicKey;
8007
+ recipientSupplyTokenAccount: PublicKey;
8008
+ recipientBorrowTokenAccount: PublicKey;
8009
+ vaultConfig: PublicKey;
8010
+ vaultState: PublicKey;
8011
+ supplyToken: PublicKey;
8012
+ borrowToken: PublicKey;
8013
+ oracle: PublicKey;
8014
+ position: PublicKey;
8015
+ positionTokenAccount: PublicKey;
8016
+ currentPositionTick: PublicKey;
8017
+ finalPositionTick: PublicKey;
8018
+ currentPositionTickId: PublicKey;
8019
+ finalPositionTickId: PublicKey;
8020
+ newBranch: PublicKey;
8021
+ supplyTokenReservesLiquidity: PublicKey;
8022
+ borrowTokenReservesLiquidity: PublicKey;
8023
+ vaultSupplyPositionOnLiquidity: PublicKey;
8024
+ vaultBorrowPositionOnLiquidity: PublicKey;
8025
+ supplyRateModel: PublicKey;
8026
+ borrowRateModel: PublicKey;
8027
+ supplyTokenClaimAccount: PublicKey;
8028
+ borrowTokenClaimAccount: PublicKey;
8029
+ liquidity: PublicKey;
8030
+ liquidityProgram: PublicKey;
8031
+ vaultSupplyTokenAccount: PublicKey;
8032
+ vaultBorrowTokenAccount: PublicKey;
8033
+ oracleProgram: PublicKey;
8034
+ supplyTokenProgram: PublicKey;
8035
+ borrowTokenProgram: PublicKey;
8036
+ associatedTokenProgram: PublicKey;
8037
+ systemProgram: PublicKey;
8038
+ };
8039
+ remainingAccounts: {
8040
+ pubkey: PublicKey;
8041
+ isWritable: boolean;
8042
+ isSigner: boolean;
8043
+ }[];
8044
+ remainingAccountsIndices: number[];
8002
8045
  addressLookupTableAccounts: _solana_web3_js.AddressLookupTableAccount[];
8003
8046
  ixs: TransactionInstruction[];
8004
8047
  }>;
@@ -7999,6 +7999,49 @@ declare function getInitPositionContext(vaultId: number, positionId: number, sig
7999
7999
  };
8000
8000
  declare const getOperateIx: ({ vaultId, positionId, colAmount, debtAmount, connection, signer, recipient, positionOwner, cluster, }: OperateParams) => Promise<{
8001
8001
  nftId: number;
8002
+ accounts: {
8003
+ signer: PublicKey;
8004
+ signerSupplyTokenAccount: PublicKey;
8005
+ signerBorrowTokenAccount: PublicKey;
8006
+ recipient: PublicKey;
8007
+ recipientSupplyTokenAccount: PublicKey;
8008
+ recipientBorrowTokenAccount: PublicKey;
8009
+ vaultConfig: PublicKey;
8010
+ vaultState: PublicKey;
8011
+ supplyToken: PublicKey;
8012
+ borrowToken: PublicKey;
8013
+ oracle: PublicKey;
8014
+ position: PublicKey;
8015
+ positionTokenAccount: PublicKey;
8016
+ currentPositionTick: PublicKey;
8017
+ finalPositionTick: PublicKey;
8018
+ currentPositionTickId: PublicKey;
8019
+ finalPositionTickId: PublicKey;
8020
+ newBranch: PublicKey;
8021
+ supplyTokenReservesLiquidity: PublicKey;
8022
+ borrowTokenReservesLiquidity: PublicKey;
8023
+ vaultSupplyPositionOnLiquidity: PublicKey;
8024
+ vaultBorrowPositionOnLiquidity: PublicKey;
8025
+ supplyRateModel: PublicKey;
8026
+ borrowRateModel: PublicKey;
8027
+ supplyTokenClaimAccount: PublicKey;
8028
+ borrowTokenClaimAccount: PublicKey;
8029
+ liquidity: PublicKey;
8030
+ liquidityProgram: PublicKey;
8031
+ vaultSupplyTokenAccount: PublicKey;
8032
+ vaultBorrowTokenAccount: PublicKey;
8033
+ oracleProgram: PublicKey;
8034
+ supplyTokenProgram: PublicKey;
8035
+ borrowTokenProgram: PublicKey;
8036
+ associatedTokenProgram: PublicKey;
8037
+ systemProgram: PublicKey;
8038
+ };
8039
+ remainingAccounts: {
8040
+ pubkey: PublicKey;
8041
+ isWritable: boolean;
8042
+ isSigner: boolean;
8043
+ }[];
8044
+ remainingAccountsIndices: number[];
8002
8045
  addressLookupTableAccounts: _solana_web3_js.AddressLookupTableAccount[];
8003
8046
  ixs: TransactionInstruction[];
8004
8047
  }>;
@@ -1991,6 +1991,9 @@ const getOperateIx = async ({
1991
1991
  ]);
1992
1992
  return {
1993
1993
  nftId,
1994
+ accounts,
1995
+ remainingAccounts,
1996
+ remainingAccountsIndices,
1994
1997
  addressLookupTableAccounts: addressLookupTable.value ? [addressLookupTable.value] : [],
1995
1998
  ixs: initPositionIx ? [initPositionIx, ...otherIxs, operateIx] : [...otherIxs, operateIx]
1996
1999
  };
package/dist/index.mjs CHANGED
@@ -5,6 +5,6 @@ import '@solana/web3.js';
5
5
  import '@solana/spl-token';
6
6
  import 'bn.js';
7
7
 
8
- const version = "0.0.31";
8
+ const version = "0.0.33";
9
9
 
10
10
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jup-ag/lend",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "type": "module",