@jup-ag/lend 0.0.75 → 0.0.76
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/borrow/index.d.mts
CHANGED
|
@@ -3813,8 +3813,8 @@ declare function getOperateContext({ vaultId, positionId, program, connection, s
|
|
|
3813
3813
|
vaultBorrowPositionOnLiquidity: PublicKey;
|
|
3814
3814
|
supplyRateModel: PublicKey;
|
|
3815
3815
|
borrowRateModel: PublicKey;
|
|
3816
|
-
supplyTokenClaimAccount:
|
|
3817
|
-
borrowTokenClaimAccount:
|
|
3816
|
+
supplyTokenClaimAccount: null;
|
|
3817
|
+
borrowTokenClaimAccount: null;
|
|
3818
3818
|
liquidity: PublicKey;
|
|
3819
3819
|
liquidityProgram: PublicKey;
|
|
3820
3820
|
vaultSupplyTokenAccount: PublicKey;
|
|
@@ -3877,8 +3877,8 @@ declare const getOperateIx: ({ vaultId, positionId, colAmount, debtAmount, conne
|
|
|
3877
3877
|
vaultBorrowPositionOnLiquidity: PublicKey;
|
|
3878
3878
|
supplyRateModel: PublicKey;
|
|
3879
3879
|
borrowRateModel: PublicKey;
|
|
3880
|
-
supplyTokenClaimAccount:
|
|
3881
|
-
borrowTokenClaimAccount:
|
|
3880
|
+
supplyTokenClaimAccount: null;
|
|
3881
|
+
borrowTokenClaimAccount: null;
|
|
3882
3882
|
liquidity: PublicKey;
|
|
3883
3883
|
liquidityProgram: PublicKey;
|
|
3884
3884
|
vaultSupplyTokenAccount: PublicKey;
|
package/dist/borrow/index.d.ts
CHANGED
|
@@ -3813,8 +3813,8 @@ declare function getOperateContext({ vaultId, positionId, program, connection, s
|
|
|
3813
3813
|
vaultBorrowPositionOnLiquidity: PublicKey;
|
|
3814
3814
|
supplyRateModel: PublicKey;
|
|
3815
3815
|
borrowRateModel: PublicKey;
|
|
3816
|
-
supplyTokenClaimAccount:
|
|
3817
|
-
borrowTokenClaimAccount:
|
|
3816
|
+
supplyTokenClaimAccount: null;
|
|
3817
|
+
borrowTokenClaimAccount: null;
|
|
3818
3818
|
liquidity: PublicKey;
|
|
3819
3819
|
liquidityProgram: PublicKey;
|
|
3820
3820
|
vaultSupplyTokenAccount: PublicKey;
|
|
@@ -3877,8 +3877,8 @@ declare const getOperateIx: ({ vaultId, positionId, colAmount, debtAmount, conne
|
|
|
3877
3877
|
vaultBorrowPositionOnLiquidity: PublicKey;
|
|
3878
3878
|
supplyRateModel: PublicKey;
|
|
3879
3879
|
borrowRateModel: PublicKey;
|
|
3880
|
-
supplyTokenClaimAccount:
|
|
3881
|
-
borrowTokenClaimAccount:
|
|
3880
|
+
supplyTokenClaimAccount: null;
|
|
3881
|
+
borrowTokenClaimAccount: null;
|
|
3882
3882
|
liquidity: PublicKey;
|
|
3883
3883
|
liquidityProgram: PublicKey;
|
|
3884
3884
|
vaultSupplyTokenAccount: PublicKey;
|
package/dist/borrow/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import BN from 'bn.js';
|
|
|
3
3
|
import { Program } from '@coral-xyz/anchor';
|
|
4
4
|
import { l as liquidity } from '../shared/lend.CioR9-te.mjs';
|
|
5
5
|
import { getAssociatedTokenAddressSync, ASSOCIATED_TOKEN_PROGRAM_ID, TOKEN_PROGRAM_ID } from '@solana/spl-token';
|
|
6
|
-
import { g as getTickHasDebt, v as vaults, a as getPosition, c as getTick, d as getTickIdLiquidation, e as getVaultConfig, f as getBranch, h as getVaultState, i as getVaultMetadata, j as getLiquidity, k as
|
|
6
|
+
import { g as getTickHasDebt, v as vaults, a as getPosition, c as getTick, d as getTickIdLiquidation, e as getVaultConfig, f as getBranch, h as getVaultState, i as getVaultMetadata, j as getLiquidity, k as getRateModel, l as getUserBorrowPosition, m as getUserSupplyPosition, n as getLiquidityReserve, o as getPositionTokenAccount, p as getPositionMetadata, q as getPositionMint, r as getVaultAdmin, s as getClaimAccount } from '../shared/lend.qfqiaCtm.mjs';
|
|
7
7
|
import { e as getReserve } from '../shared/lend.BzG5ldOV.mjs';
|
|
8
8
|
|
|
9
9
|
const address = "jupnw4B6Eqs7ft6rxpzYLJZYSnrpRgPcr589n5Kv4oc";
|
|
@@ -1558,14 +1558,8 @@ async function getOperateContext({
|
|
|
1558
1558
|
),
|
|
1559
1559
|
supplyRateModel: getRateModel(vaultConfig.supplyToken),
|
|
1560
1560
|
borrowRateModel: getRateModel(vaultConfig.borrowToken),
|
|
1561
|
-
supplyTokenClaimAccount:
|
|
1562
|
-
|
|
1563
|
-
getVaultConfig(vaultId)
|
|
1564
|
-
),
|
|
1565
|
-
borrowTokenClaimAccount: getClaimAccount(
|
|
1566
|
-
vaultConfig.borrowToken,
|
|
1567
|
-
getVaultConfig(vaultId)
|
|
1568
|
-
),
|
|
1561
|
+
supplyTokenClaimAccount: null,
|
|
1562
|
+
borrowTokenClaimAccount: null,
|
|
1569
1563
|
liquidity: getLiquidity(),
|
|
1570
1564
|
liquidityProgram: LIQUIDITY_PROGRAM_ID,
|
|
1571
1565
|
vaultSupplyTokenAccount: getAssociatedTokenAddressSync(
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { l as lendingPda, a as lendingRewardRateModelPda } from './shared/lend.BqYn-LEf.mjs';
|
|
2
2
|
export { l as liquidityPda } from './shared/lend.BzG5ldOV.mjs';
|
|
3
|
-
export { b as borrowPda } from './shared/lend.
|
|
3
|
+
export { b as borrowPda } from './shared/lend.qfqiaCtm.mjs';
|
|
4
4
|
export { f as flashloanPda } from './shared/lend.hlqlrp9r.mjs';
|
|
5
5
|
export { m as merkleDistributorPda } from './shared/lend.CIepsiAe.mjs';
|
|
6
6
|
import '@solana/web3.js';
|
|
@@ -8,6 +8,6 @@ import './shared/lend.CioR9-te.mjs';
|
|
|
8
8
|
import '@solana/spl-token';
|
|
9
9
|
import 'bn.js';
|
|
10
10
|
|
|
11
|
-
const version = "0.0.
|
|
11
|
+
const version = "0.0.76";
|
|
12
12
|
|
|
13
13
|
export { version };
|
|
@@ -4696,4 +4696,4 @@ const borrow = {
|
|
|
4696
4696
|
getVaultState: getVaultState
|
|
4697
4697
|
};
|
|
4698
4698
|
|
|
4699
|
-
export { getPosition as a, borrow as b, getTick as c, getTickIdLiquidation as d, getVaultConfig as e, getBranch as f, getTickHasDebt as g, getVaultState as h, getVaultMetadata as i, getLiquidity as j,
|
|
4699
|
+
export { getPosition as a, borrow as b, getTick as c, getTickIdLiquidation as d, getVaultConfig as e, getBranch as f, getTickHasDebt as g, getVaultState as h, getVaultMetadata as i, getLiquidity as j, getRateModel as k, getUserBorrowPosition as l, getUserSupplyPosition as m, getLiquidityReserve as n, getPositionTokenAccount as o, getPositionMetadata as p, getPositionMint as q, getVaultAdmin as r, getClaimAccount as s, vaults as v };
|