@pyron-finance/pyron-client 2.2.0 → 2.3.0

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.
@@ -1,2 +1,2 @@
1
- import { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber } from "../index-yftX6Mhj.cjs";
1
+ import { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber } from "../index-BDw4KxGN.cjs";
2
2
  export { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber };
@@ -1,2 +1,2 @@
1
- import { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber } from "../index-BoDaAGQH.js";
1
+ import { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber } from "../index-BKsyoTwR.js";
2
2
  export { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber };
@@ -1,4 +1,4 @@
1
- import * as _solana_web3_js23 from "@solana/web3.js";
1
+ import * as _solana_web3_js24 from "@solana/web3.js";
2
2
  import { AccountInfo, AccountMeta, AddressLookupTableAccount, Blockhash, Commitment, ConfirmOptions, Connection, GetRecentPrioritizationFeesConfig, Keypair, PublicKey, RecentPrioritizationFees, SendOptions, Signer, SimulatedTransactionResponse, Transaction, TransactionError, TransactionInstruction, TransactionMessage, TransactionSignature, VersionedTransaction } from "@solana/web3.js";
3
3
  import * as anchor from "@coral-xyz/anchor";
4
4
  import { Address, AnchorProvider, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
@@ -429,7 +429,9 @@ type EstablishedSessionState = {
429
429
  walletPublicKey: PublicKey;
430
430
  sessionPublicKey: PublicKey;
431
431
  payer: PublicKey;
432
- sendTransaction: (instructions: Array<TransactionInstruction> | VersionedTransaction) => Promise<TransactionResult>;
432
+ sendTransaction: (instructions: Array<TransactionInstruction> | VersionedTransaction, options?: {
433
+ variation?: string;
434
+ }) => Promise<TransactionResult>;
433
435
  };
434
436
  //# sourceMappingURL=session.d.ts.map
435
437
  //#endregion
@@ -9560,7 +9562,7 @@ declare function crankPythOracleIx(oracles: {
9560
9562
  postInstructions: InstructionWithEphemeralSigners[];
9561
9563
  closeInstructions: InstructionWithEphemeralSigners[];
9562
9564
  keys: never[];
9563
- lut: _solana_web3_js23.AddressLookupTableAccount | null;
9565
+ lut: _solana_web3_js24.AddressLookupTableAccount | null;
9564
9566
  }>;
9565
9567
  //#endregion
9566
9568
  //#region src/services/price/types/price.types.d.ts
@@ -9601,7 +9603,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
9601
9603
  lendrAccount: PublicKey;
9602
9604
  authority: PublicKey;
9603
9605
  feePayer: PublicKey;
9604
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9606
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9605
9607
  declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
9606
9608
  lendrGroup,
9607
9609
  session,
@@ -9610,7 +9612,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
9610
9612
  lendrGroup: PublicKey;
9611
9613
  session: EstablishedSessionState;
9612
9614
  feePayer: PublicKey;
9613
- }, accountIndex: number, thirdPartyId?: number): Promise<_solana_web3_js23.TransactionInstruction>;
9615
+ }, accountIndex: number, thirdPartyId?: number): Promise<_solana_web3_js24.TransactionInstruction>;
9614
9616
  declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
9615
9617
  lendrAccount: PublicKey;
9616
9618
  signerTokenAccount: PublicKey;
@@ -9622,11 +9624,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
9622
9624
  }, args: {
9623
9625
  amount: BN;
9624
9626
  depositUpToLimit?: boolean;
9625
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9627
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9626
9628
  declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
9627
9629
  amount: BN;
9628
9630
  depositUpToLimit?: boolean;
9629
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9631
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9630
9632
  declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
9631
9633
  lendrAccount: PublicKey;
9632
9634
  signerTokenAccount: PublicKey;
@@ -9638,11 +9640,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
9638
9640
  }, args: {
9639
9641
  amount: BN;
9640
9642
  repayAll?: boolean;
9641
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9643
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9642
9644
  declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
9643
9645
  amount: BN;
9644
9646
  repayAll?: boolean;
9645
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9647
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9646
9648
  declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
9647
9649
  lendrAccount: PublicKey;
9648
9650
  bank: PublicKey;
@@ -9655,11 +9657,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
9655
9657
  }, args: {
9656
9658
  amount: BN;
9657
9659
  withdrawAll?: boolean;
9658
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9660
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9659
9661
  declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
9660
9662
  amount: BN;
9661
9663
  withdrawAll?: boolean;
9662
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9664
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9663
9665
  declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
9664
9666
  lendrAccount: PublicKey;
9665
9667
  bank: PublicKey;
@@ -9671,10 +9673,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
9671
9673
  liquidityVault?: PublicKey;
9672
9674
  }, args: {
9673
9675
  amount: BN;
9674
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9676
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9675
9677
  declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
9676
9678
  amount: BN;
9677
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9679
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9678
9680
  declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
9679
9681
  assetBank: PublicKey;
9680
9682
  liabBank: PublicKey;
@@ -9687,7 +9689,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
9687
9689
  assetAmount: BN;
9688
9690
  liquidateeAccounts: number;
9689
9691
  liquidatorAccounts: number;
9690
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9692
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9691
9693
  declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
9692
9694
  lendrAccount: PublicKey;
9693
9695
  destinationAccount: PublicKey;
@@ -9696,42 +9698,42 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
9696
9698
  group?: PublicKey;
9697
9699
  authority?: PublicKey;
9698
9700
  emissionsMint?: PublicKey;
9699
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9701
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9700
9702
  declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
9701
9703
  bank: PublicKey;
9702
9704
  group?: PublicKey;
9703
9705
  admin?: PublicKey;
9704
9706
  }, args: {
9705
9707
  bankConfigOpt: BankConfigOptRaw;
9706
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9708
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9707
9709
  declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
9708
9710
  lendrAccount: PublicKey;
9709
9711
  authority?: PublicKey;
9710
9712
  ixsSysvar?: PublicKey;
9711
9713
  }, args: {
9712
9714
  endIndex: BN;
9713
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9715
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9714
9716
  declare function makeBeginFlashLoanWithSessionIx(ldrProgram: LendrProgram, accounts: {
9715
9717
  sessionKey: PublicKey;
9716
9718
  lendrAccount: PublicKey;
9717
9719
  ixsSysvar?: PublicKey;
9718
9720
  }, args: {
9719
9721
  endIndex: BN;
9720
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9722
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9721
9723
  declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
9722
9724
  lendrAccount: PublicKey;
9723
9725
  authority?: PublicKey;
9724
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9726
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9725
9727
  declare function makeEndFlashLoanWithSessionIx(ldrProgram: LendrProgram, accounts: {
9726
9728
  sessionKey: PublicKey;
9727
9729
  lendrAccount: PublicKey;
9728
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9730
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9729
9731
  declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
9730
9732
  lendrGroup: PublicKey;
9731
9733
  admin: PublicKey;
9732
9734
  }, args?: {
9733
9735
  isArenaGroup?: boolean;
9734
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9736
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9735
9737
  /**
9736
9738
  * Configure the oracle for a bank
9737
9739
  * @param ldProgram The lendr program
@@ -9756,11 +9758,11 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
9756
9758
  /**
9757
9759
  * The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
9758
9760
  */
9759
- remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9761
+ remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9760
9762
  declare function makeLendingAccountSettleEmissionsIx(ldrProgram: LendrProgram, accounts: {
9761
9763
  lendrAccount: PublicKey;
9762
9764
  bank: PublicKey;
9763
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9765
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9764
9766
  /**
9765
9767
  * Creates an instruction to add a permissionless staked bank to a lending pool.
9766
9768
  * @param ldProgram - The lendr program instance
@@ -9794,7 +9796,7 @@ remainingAccounts: AccountMeta[], args: {
9794
9796
  * bump.
9795
9797
  */
9796
9798
  seed?: BN;
9797
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9799
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9798
9800
  declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
9799
9801
  lendrGroup: PublicKey;
9800
9802
  feePayer: PublicKey;
@@ -9805,12 +9807,12 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
9805
9807
  globalFeeWallet?: PublicKey;
9806
9808
  }, args: {
9807
9809
  bankConfig: BankConfigCompactRaw;
9808
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9810
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9809
9811
  declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
9810
9812
  lendrAccount: PublicKey;
9811
9813
  feePayer: PublicKey;
9812
9814
  authority?: PublicKey;
9813
- }): Promise<_solana_web3_js23.TransactionInstruction>;
9815
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
9814
9816
  declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
9815
9817
  lendrAccount: PublicKey;
9816
9818
  },
@@ -9818,7 +9820,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
9818
9820
  * The remaining accounts required for this instruction. Should include:
9819
9821
  * - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
9820
9822
  */
9821
- remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js23.TransactionInstruction>;
9823
+ remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
9822
9824
  declare const instructions: {
9823
9825
  makeDepositIx: typeof makeDepositIx;
9824
9826
  makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
@@ -10625,7 +10627,7 @@ declare class LendrAccount implements LendrAccountType {
10625
10627
  remainingAccounts: AccountMeta[];
10626
10628
  }>;
10627
10629
  makeDepositIx(program: LendrProgram, banks: Map<string, Bank>, mintDatas: Map<string, MintData>, amount: Amount, bankAddress: PublicKey, opts?: MakeDepositIxOpts): Promise<InstructionsWrapper>;
10628
- makeDepositWithSessionIx(program: LendrProgram, banks: Map<string, Bank>, mintDatas: Map<string, MintData>, amount: Amount, bankAddress: PublicKey, sessionKey: PublicKey, opts?: MakeDepositWithSessionIxOpts): Promise<InstructionsWrapper>;
10630
+ makeDepositWithSessionIx(program: LendrProgram, banks: Map<string, Bank>, mintDatas: Map<string, MintData>, amount: Amount, bankAddress: PublicKey, session: EstablishedSessionState, opts?: MakeDepositWithSessionIxOpts): Promise<InstructionsWrapper>;
10629
10631
  makeSettleEmissionsIx(program: LendrProgram, bank: PublicKey): Promise<InstructionsWrapper>;
10630
10632
  prepareRepayInstruction(program: LendrProgram, banks: Map<string, Bank>, mintDatas: Map<string, MintData>, amount: Amount, bankAddress: PublicKey, repayAll?: boolean, opts?: MakeRepayIxOpts): Promise<{
10631
10633
  repayIxs: TransactionInstruction[];
@@ -10639,7 +10641,7 @@ declare class LendrAccount implements LendrAccountType {
10639
10641
  remainingAccounts: PublicKey[];
10640
10642
  }>;
10641
10643
  makeRepayIx(program: LendrProgram, banks: Map<string, Bank>, mintDatas: Map<string, MintData>, amount: Amount, bankAddress: PublicKey, repayAll?: boolean, opts?: MakeRepayIxOpts): Promise<InstructionsWrapper>;
10642
- makeRepayWithSessionIx(program: LendrProgram, banks: Map<string, Bank>, mintDatas: Map<string, MintData>, amount: Amount, bankAddress: PublicKey, sessionKey: PublicKey, repayAll?: boolean, opts?: MakeRepayWithSessionIxOpts): Promise<InstructionsWrapper>;
10644
+ makeRepayWithSessionIx(program: LendrProgram, banks: Map<string, Bank>, mintDatas: Map<string, MintData>, amount: Amount, bankAddress: PublicKey, session: EstablishedSessionState, repayAll?: boolean, opts?: MakeRepayWithSessionIxOpts): Promise<InstructionsWrapper>;
10643
10645
  prepareWithdrawInstruction(program: LendrProgram, bankMap: Map<string, Bank>, mintDatas: Map<string, MintData>, bankMetadataMap: BankMetadataMap, bankAddress: PublicKey, withdrawAll?: boolean, withdrawOpts?: MakeWithdrawIxOpts & {
10644
10646
  createAtaPayer?: PublicKey;
10645
10647
  }): Promise<{
@@ -11032,7 +11034,7 @@ declare class LendrAccountWrapper {
11032
11034
  * @returns An InstructionsWrapper containing the deposit instructions
11033
11035
  */
11034
11036
  makeDepositIx(amount: Amount, bankAddress: PublicKey, depositOpts?: MakeDepositIxOpts): Promise<InstructionsWrapper>;
11035
- makeDepositWithSessionIx(amount: Amount, bankAddress: PublicKey, sessionKey: PublicKey, depositOpts?: MakeDepositWithSessionIxOpts): Promise<InstructionsWrapper>;
11037
+ makeDepositWithSessionIx(amount: Amount, bankAddress: PublicKey, session: EstablishedSessionState, depositOpts?: MakeDepositWithSessionIxOpts): Promise<InstructionsWrapper>;
11036
11038
  /**
11037
11039
  * Creates a transaction for depositing native stake into a lendr staked asset bank account.
11038
11040
  * - Split stake account if required
@@ -11070,7 +11072,7 @@ declare class LendrAccountWrapper {
11070
11072
  * @returns A transaction object ready to be signed and sent
11071
11073
  */
11072
11074
  makeDepositTx(amount: Amount, bankAddress: PublicKey, depositOpts?: MakeDepositIxOpts): Promise<ExtendedTransaction>;
11073
- makeDepositWithSessionTx(amount: Amount, bankAddress: PublicKey, sessionKey: PublicKey, depositOpts?: MakeDepositWithSessionIxOpts): Promise<ExtendedTransaction>;
11075
+ makeDepositWithSessionTx(amount: Amount, bankAddress: PublicKey, session: EstablishedSessionState, depositOpts?: MakeDepositWithSessionIxOpts): Promise<ExtendedTransaction>;
11074
11076
  /**
11075
11077
  * Simulates a lendr transaction to preview its effects.
11076
11078
  *
@@ -11150,7 +11152,7 @@ declare class LendrAccountWrapper {
11150
11152
  * @param repayOpts - Optional parameters for the repay instruction
11151
11153
  * @returns A transaction object containing the repay instructions
11152
11154
  */
11153
- makeRepayWithSessionTx(amount: Amount, bankAddress: PublicKey, sessionKey: PublicKey, repayAll?: boolean, repayOpts?: MakeRepayWithSessionIxOpts): Promise<ExtendedTransaction>;
11155
+ makeRepayWithSessionTx(amount: Amount, bankAddress: PublicKey, session: EstablishedSessionState, repayAll?: boolean, repayOpts?: MakeRepayWithSessionIxOpts): Promise<ExtendedTransaction>;
11154
11156
  /**
11155
11157
  * Creates instructions for withdrawing tokens from a lendr bank account.
11156
11158
  *
@@ -12671,7 +12673,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
12671
12673
  feePayer: PublicKey;
12672
12674
  blockhash: string;
12673
12675
  }) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
12674
- declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js23.SignatureStatus>;
12676
+ declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js24.SignatureStatus>;
12675
12677
  //#endregion
12676
12678
  //#region src/common/bank-metadata.d.ts
12677
12679
  declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
@@ -12684,16 +12686,16 @@ declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
12684
12686
  }, "strip", z.ZodTypeAny, {
12685
12687
  symbol?: string | undefined;
12686
12688
  name?: string | undefined;
12687
- mint?: string | undefined;
12688
- address?: string | undefined;
12689
12689
  logoURI?: string | undefined;
12690
+ address?: string | undefined;
12691
+ mint?: string | undefined;
12690
12692
  validatorVoteAccount?: string | undefined;
12691
12693
  }, {
12692
12694
  symbol?: string | undefined;
12693
12695
  name?: string | undefined;
12694
- mint?: string | undefined;
12695
- address?: string | undefined;
12696
12696
  logoURI?: string | undefined;
12697
+ address?: string | undefined;
12698
+ mint?: string | undefined;
12697
12699
  validatorVoteAccount?: string | undefined;
12698
12700
  }>;
12699
12701
  type BankExtendedMetadataOverride = z.infer<typeof bankExtendedMetadataOverrideSchema>;
@@ -12742,4 +12744,4 @@ type BankMetadataMap = {
12742
12744
 
12743
12745
  //#endregion
12744
12746
  export { AccountFlags, AccountType, ActionEmodeImpact, ActiveEmodePair, ActiveStakePoolMap, Amount, AssetTag, BUNDLE_TX_SIZE$1 as BUNDLE_TX_SIZE, Balance, BalanceRaw, BalanceType, BalanceTypeDto, Bank, BankAddress, BankConfig, type BankConfigCompactRaw, BankConfigDto, BankConfigFlag, BankConfigOpt$1 as BankConfigOpt, type BankConfigOptRaw, type BankConfigRaw, BankConfigRawDto, BankConfigType, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMap, BankMetadata, BankMetadataMap, type BankMetadataRaw, type BankRaw, BankRawDto, BankType, BankTypeDto, BankVaultType, BanksExtendedMetadataOverrideMap, BroadcastMethodType, CustomNumberFormat, DEFAULT_CLUSTER, DEFAULT_COMMITMENT, DEFAULT_CONFIRM_OPTS, DEFAULT_ORACLE_MAX_AGE, DEFAULT_PROCESS_TX_OPTS, DEFAULT_PROCESS_TX_STRATEGY, DEFAULT_SEND_OPTS, DISABLED_FLAG, DUMMY_USDC_MINT, DataFetcher, DummyMetadataFetcher, EmodeConfigRaw, EmodeConfigRawDto, EmodeEntry, EmodeEntryDto, EmodeEntryFlags, EmodeFlags, EmodeImpact, EmodeImpactStatus, EmodePair, EmodeSettings, EmodeSettingsDto, EmodeSettingsRaw, EmodeSettingsRawDto, EmodeSettingsType, EmodeTag, Environment, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, FLASHLOAN_ENABLED_FLAG, FetchGroupDataFn, FetchRawBanksArgs, FlashLoanArgs, FlashloanActionResult, FogoMetadataFetcher, GROUP_PK, HOURS_PER_YEAR, HealthCache, HealthCacheFlags, HealthCacheRaw, HealthCacheSimulationError, HealthCacheType, HealthCacheTypeDto, IMetadataFetcher, InstructionsWrapper, InterestRateConfig, type InterestRateConfigCompactRaw, InterestRateConfigDto, InterestRateConfigOpt, type InterestRateConfigOptRaw, type InterestRateConfigRaw, JUPITER_V6_PROGRAM, LENDR_IDL, LENDR_PROGRAM, LENDR_SPONSORED_SHARD_ID, LST_MINT, LUT_PROGRAM_AUTHORITY_INDEX, LendingAccountDepositOrRepayWithSessionAccounts, LendingAccountWithdrawOrBorrowWithSessionAccounts, LendrAccount, LendrAccountRaw, LendrAccountType, LendrAccountTypeDto, LendrAccountWrapper, LendrClient, LendrClientFetchOptions, LendrClientOptions, LendrClientProps, LendrConfig, LendrGroup, type LendrGroupRaw, LendrGroupType, LendrGroupTypeDto, LendrIdlType, LendrProgram, LendrRequirementType, LendrRequirementTypeRaw, LogFn, LoopProps, LoopTxProps, MAX_ACCOUNT_KEYS, MAX_CONFIDENCE_INTERVAL_RATIO, MAX_TX_SIZE$1 as MAX_TX_SIZE, MAX_U64, MPL_METADATA_PROGRAM_ID, MakeBorrowIxOpts, MakeBorrowWithSessionIxOpts, MakeDepositIxOpts, MakeDepositWithSessionIxOpts, MakeRepayIxOpts, MakeRepayWithSessionIxOpts, MakeWithdrawIxOpts, MakeWithdrawWithSessionIxOpts, MaxCapType, MetadataService, MetadataServiceProps, MetaplexMetadataFetcher, MintData, MintDataMap, NodeWallet, OperationalState, type OperationalStateRaw, OracleConfigOpt, type OracleConfigOptRaw, OraclePrice, OraclePriceDto, OraclePriceMap, OracleSetup, type OracleSetupRaw, PDA_BANK_FEE_VAULT_AUTH_SEED, PDA_BANK_FEE_VAULT_SEED, PDA_BANK_INSURANCE_VAULT_AUTH_SEED, PDA_BANK_INSURANCE_VAULT_SEED, PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED, PDA_BANK_LIQUIDITY_VAULT_SEED, PRIORITY_TX_SIZE$1 as PRIORITY_TX_SIZE, PROGRAM_ID, PYTH_PRICE_CONF_INTERVALS, PYTH_PUSH_ORACLE_ID, PYTH_SPONSORED_SHARD_ID, PriceBias, PriceWithConfidence, PriceWithConfidenceDto, PriorityFees, PriotitizationFeeLevels, ProcessTransactionError, ProcessTransactionErrorType, ProcessTransactionOpts, ProcessTransactionStrategy, ProcessTransactionsClientOpts, Program$1 as Program, ProgramError, ProgramErrorWithDescription, ProgramReadonly, PythPushFeedIdMap, RatePoint, RatePointDto, type RatePointRaw, RepayWithCollateralProps, RepayWithCollateralTxProps, RiskTier, type RiskTierRaw, SINGLE_POOL_PROGRAM_ID, SKIP_SIMULATION, STAKE_CONFIG_ID, STAKE_PROGRAM_ID, SWB_PRICE_CONF_INTERVALS, SYSTEM_PROGRAM_ID, SYSVAR_CLOCK_ID, SYSVAR_RENT_ID, SYSVAR_STAKE_HISTORY_ID, SimulationResult, SolanaTransaction, SpecificBroadcastMethod, SpecificBroadcastMethodType, StakeAccount, StakePoolMevMap, SupportedOracleSetup, TLogger, TMetadata, TRANSFER_ACCOUNT_AUTHORITY_FLAG, TransactionArenaKeyMap, TransactionBroadcastType, TransactionBuilderResult, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, USDC_DECIMALS, USDC_MINT, ValidatorRateData, ValidatorStakeGroup, ValidatorStakeGroupDto, WSOL_EXTENDED_METADATA, WSOL_MINT, Wallet, WalletToken, WrappedI80F48, accountFlagToBN, addOracleToBanksIx, addTransactionMetadata, aprToApy, apyToApr, balanceToDto, bankConfigRawToDto, bankConfigToBankConfigRaw, bankExtendedMetadataOverrideSchema, bankRawToDto, bigNumberToWrappedI80F48, bpsToPercentile, buildFeedIdMap, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, computeAccountValue, computeActiveEmodePairs, computeAssetUsdValue, computeBalanceUsdValue, computeBaseInterestRate, computeClaimedEmissions, computeEmodeImpacts, computeFreeCollateral, computeFreeCollateralLegacy, computeHealthAccountMetas, computeHealthCheckAccounts, computeHealthComponents, computeHealthComponentsLegacy, computeHealthComponentsWithoutBiasLegacy, computeInterestRates, computeLiabilityUsdValue, computeLoopingParams, computeMaxLeverage, computeNetApy, computeQuantity, computeQuantityUi, computeRemainingCapacity, computeTotalOutstandingEmissions, computeTvl, computeUsdValue, computeUtilizationRate, confirmTransaction, crankPythOracleIx, createLendrAccountTx, createUpdateFeedIx, decodeAccountRaw, decodeBankRaw, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dtoToBalance, dtoToBank, dtoToBankConfig, dtoToBankConfigRaw, dtoToBankRaw, dtoToEmodeSettings, dtoToEmodeSettingsRaw, dtoToGroup, dtoToHealthCache, dtoToInterestRateConfig, dtoToLendrAccount, dtoToOraclePrice, dtoToValidatorStakeGroup, dynamicNumeralFormatter, emodeSettingsRawToDto, extractPythOracleKeys, feedIdToString, fetchBanksExtendedMetadata, fetchLendrAccountAddresses, fetchLendrAccountData, fetchMultipleBanks, fetchNativeStakeAccounts, fetchOracleData, fetchPythOracleData, fetchStakeAccount, fetchStakePoolActiveStates, fetchStakePoolMev, fetchSwbOracleData, findOracleKey, findPythPushOracleAddress, floor, freezeBankConfigIx, getAccountKeys, getActiveAccountFlags, getActiveEmodeEntryFlags, getActiveEmodeFlags, getActiveHealthCacheFlags, getActiveStaleBanks, getAssetQuantity, getAssetShares, getAssetWeight, getBalanceUsdValueWithPriceBias, getBankVaultAuthority, getBankVaultSeeds, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getConfig, getConfigPda, getHealthCacheStatusDescription, getLiabilityQuantity, getLiabilityShares, getLiabilityWeight, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getPrice, getPriceFeedAccountForProgram, getPriceWithConfidence, getRecentPrioritizationFeesByPercentile, getTotalAssetQuantity, getTotalLiabilityQuantity, getTreasuryPda, getTxSize, getValueInsensitive, groupToDto, groupedNumberFormatter, groupedNumberFormatterDyn, hasAccountFlag, hasEmodeEntryFlag, hasEmodeFlag, hasHealthCacheFlag, healthCacheToDto, index_d_exports$2 as index_d_exports, instructions, isOracleSetupSupported, isV0Tx, isWeightedPrice, legacyTxToV0Tx, lendrAccountToDto, makeAddPermissionlessStakedBankIx, makeBundleTipIx, makePoolAddBankIx, makePoolConfigureBankIx, makePriorityFeeIx, makePriorityFeeMicroIx, makePulseHealthIx, makeTxPriorityIx, makeUnwrapSolIx, makeVersionedTransaction, makeWrapSolIxs, median, metadataSchema, microLamportsToUi, nativeToUi, numeralFormatter, oraclePriceToDto, parseBalanceRaw, parseBankConfigRaw, parseBankRaw, parseBanksMetadataOverride, parseEmodeSettingsRaw, parseEmodeTag, parseErrorFromLogs, parseLendrAccountRaw, parseOperationalState, parseOraclePriceData, parseOracleSetup, parseRiskTier, parseTransactionError, percentFormatter, percentFormatterDyn, percentFormatterMod, processTransactions, replaceV0TxBlockhash, replaceV0TxInstructions, serializeBankConfigOpt, serializeOperationalState, serializeOracleSetup, serializeOracleSetupToIndex, serializeRiskTier, setTimeoutPromise, shortenAddress, simulateAccountHealthCache, simulateAccountHealthCacheWithFallback, simulateTransactions, sleep, splitInstructionsToFitTransactions, toBankConfigDto, toBankDto, toBigNumber, toEmodeSettingsDto, toInterestRateConfigDto, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, validatorStakeGroupToDto, wrappedI80F48toBigNumber };
12745
- //# sourceMappingURL=index-yftX6Mhj.d.cts.map
12747
+ //# sourceMappingURL=index-BDw4KxGN.d.cts.map