@pyron-finance/pyron-client 1.0.10-pre.2 → 1.0.11

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-NgBeY2T5.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-aLgjpW8g.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-DwoWa2a_.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-Bknrc4MM.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,6 +1,6 @@
1
1
  import * as anchor from "@coral-xyz/anchor";
2
2
  import { Address, AnchorProvider, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
3
- import * as _solana_web3_js25 from "@solana/web3.js";
3
+ import * as _solana_web3_js24 from "@solana/web3.js";
4
4
  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";
5
5
  import BigNumber from "bignumber.js";
6
6
  import BN$1 from "bn.js";
@@ -4563,7 +4563,7 @@ declare enum BankVaultType {
4563
4563
  }
4564
4564
  interface LendrConfig {
4565
4565
  environment: Environment;
4566
- cluster: string;
4566
+ cluster: "mainnet" | "testnet" | "devnet" | ({} & string);
4567
4567
  programId: PublicKey;
4568
4568
  groupPk: PublicKey;
4569
4569
  }
@@ -6664,7 +6664,6 @@ declare enum EmodeTag {
6664
6664
  SOL = 501,
6665
6665
  LST_T1 = 1571,
6666
6666
  LST_T2 = 1572,
6667
- UNKNOWN = 9999,
6668
6667
  }
6669
6668
  interface EmodeSettingsType {
6670
6669
  emodeTag: EmodeTag;
@@ -7002,7 +7001,7 @@ declare function crankPythOracleIx(oracles: {
7002
7001
  postInstructions: InstructionWithEphemeralSigners[];
7003
7002
  closeInstructions: InstructionWithEphemeralSigners[];
7004
7003
  keys: never[];
7005
- lut: _solana_web3_js25.AddressLookupTableAccount | null;
7004
+ lut: _solana_web3_js24.AddressLookupTableAccount | null;
7006
7005
  }>;
7007
7006
  //#endregion
7008
7007
  //#region src/services/price/types/price.types.d.ts
@@ -7043,7 +7042,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
7043
7042
  lendrAccount: PublicKey;
7044
7043
  authority: PublicKey;
7045
7044
  feePayer: PublicKey;
7046
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7045
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7047
7046
  declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
7048
7047
  lendrGroup,
7049
7048
  session,
@@ -7052,7 +7051,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
7052
7051
  lendrGroup: PublicKey;
7053
7052
  session: EstablishedSessionState;
7054
7053
  feePayer: PublicKey;
7055
- }, accountSeed: BN$1): Promise<_solana_web3_js25.TransactionInstruction>;
7054
+ }, accountSeed: BN$1): Promise<_solana_web3_js24.TransactionInstruction>;
7056
7055
  declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
7057
7056
  lendrAccount: PublicKey;
7058
7057
  signerTokenAccount: PublicKey;
@@ -7064,11 +7063,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
7064
7063
  }, args: {
7065
7064
  amount: BN$1;
7066
7065
  depositUpToLimit?: boolean;
7067
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7066
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7068
7067
  declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
7069
7068
  amount: BN$1;
7070
7069
  depositUpToLimit?: boolean;
7071
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7070
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7072
7071
  declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
7073
7072
  lendrAccount: PublicKey;
7074
7073
  signerTokenAccount: PublicKey;
@@ -7080,11 +7079,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
7080
7079
  }, args: {
7081
7080
  amount: BN$1;
7082
7081
  repayAll?: boolean;
7083
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7082
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7084
7083
  declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
7085
7084
  amount: BN$1;
7086
7085
  repayAll?: boolean;
7087
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7086
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7088
7087
  declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
7089
7088
  lendrAccount: PublicKey;
7090
7089
  bank: PublicKey;
@@ -7095,11 +7094,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
7095
7094
  }, args: {
7096
7095
  amount: BN$1;
7097
7096
  withdrawAll?: boolean;
7098
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7097
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7099
7098
  declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
7100
7099
  amount: BN$1;
7101
7100
  withdrawAll?: boolean;
7102
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7101
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7103
7102
  declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
7104
7103
  lendrAccount: PublicKey;
7105
7104
  bank: PublicKey;
@@ -7109,10 +7108,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
7109
7108
  authority?: PublicKey;
7110
7109
  }, args: {
7111
7110
  amount: BN$1;
7112
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7111
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7113
7112
  declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
7114
7113
  amount: BN$1;
7115
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7114
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7116
7115
  declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
7117
7116
  assetBank: PublicKey;
7118
7117
  liabBank: PublicKey;
@@ -7123,7 +7122,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
7123
7122
  authority?: PublicKey;
7124
7123
  }, args: {
7125
7124
  assetAmount: BN$1;
7126
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7125
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7127
7126
  declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
7128
7127
  lendrAccount: PublicKey;
7129
7128
  destinationAccount: PublicKey;
@@ -7132,52 +7131,52 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
7132
7131
  group?: PublicKey;
7133
7132
  authority?: PublicKey;
7134
7133
  emissionsMint?: PublicKey;
7135
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7134
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7136
7135
  declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
7137
7136
  lendrAccount: PublicKey;
7138
7137
  group?: PublicKey;
7139
7138
  admin?: PublicKey;
7140
7139
  }, args: {
7141
7140
  flag: BN$1;
7142
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7141
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7143
7142
  declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
7144
7143
  lendrAccount: PublicKey;
7145
7144
  group?: PublicKey;
7146
7145
  admin?: PublicKey;
7147
7146
  }, args: {
7148
7147
  flag: BN$1;
7149
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7148
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7150
7149
  declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
7151
7150
  bank: PublicKey;
7152
7151
  group?: PublicKey;
7153
7152
  admin?: PublicKey;
7154
7153
  }, args: {
7155
7154
  bankConfigOpt: BankConfigOptRaw;
7156
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7155
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7157
7156
  declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
7158
7157
  lendrAccount: PublicKey;
7159
7158
  authority?: PublicKey;
7160
7159
  ixsSysvar?: PublicKey;
7161
7160
  }, args: {
7162
7161
  endIndex: BN$1;
7163
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7162
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7164
7163
  declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
7165
7164
  lendrAccount: PublicKey;
7166
7165
  authority?: PublicKey;
7167
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7166
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7168
7167
  declare function makeAccountAuthorityTransferIx(ldProgram: LendrProgram, accounts: {
7169
7168
  lendrAccount: PublicKey;
7170
7169
  newAuthority: PublicKey;
7171
7170
  feePayer: PublicKey;
7172
7171
  group?: PublicKey;
7173
7172
  authority?: PublicKey;
7174
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7173
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7175
7174
  declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
7176
7175
  lendrGroup: PublicKey;
7177
7176
  admin: PublicKey;
7178
7177
  }, args?: {
7179
7178
  isArenaGroup?: boolean;
7180
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7179
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7181
7180
  /**
7182
7181
  * Configure the oracle for a bank
7183
7182
  * @param ldProgram The lendr program
@@ -7202,7 +7201,7 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
7202
7201
  /**
7203
7202
  * The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
7204
7203
  */
7205
- remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7204
+ remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7206
7205
  /**
7207
7206
  * Creates an instruction to add a permissionless staked bank to a lending pool.
7208
7207
  * @param ldProgram - The lendr program instance
@@ -7236,7 +7235,7 @@ remainingAccounts: AccountMeta[] | undefined, args: {
7236
7235
  * bump.
7237
7236
  */
7238
7237
  seed?: BN$1;
7239
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7238
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7240
7239
  declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
7241
7240
  lendrGroup: PublicKey;
7242
7241
  feePayer: PublicKey;
@@ -7247,15 +7246,15 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
7247
7246
  globalFeeWallet?: PublicKey;
7248
7247
  }, args: {
7249
7248
  bankConfig: BankConfigCompactRaw;
7250
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7249
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7251
7250
  declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
7252
7251
  lendrAccount: PublicKey;
7253
7252
  feePayer: PublicKey;
7254
7253
  authority?: PublicKey;
7255
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7254
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7256
7255
  declare function makeLendingAccountSortBalancesIx(ldProgram: LendrProgram, accounts: {
7257
7256
  lendrAccount: PublicKey;
7258
- }): Promise<_solana_web3_js25.TransactionInstruction>;
7257
+ }): Promise<_solana_web3_js24.TransactionInstruction>;
7259
7258
  declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
7260
7259
  lendrAccount: PublicKey;
7261
7260
  },
@@ -7263,7 +7262,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
7263
7262
  * The remaining accounts required for this instruction. Should include:
7264
7263
  * - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
7265
7264
  */
7266
- remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7265
+ remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7267
7266
  declare const instructions: {
7268
7267
  makeDepositIx: typeof makeDepositIx;
7269
7268
  makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
@@ -9752,8 +9751,11 @@ declare class DummyMetadataFetcher implements IMetadataFetcher {
9752
9751
  //# sourceMappingURL=dummy.d.ts.map
9753
9752
  //#endregion
9754
9753
  //#region src/services/metadata/fogo.d.ts
9754
+ type FogoNetworks = "mainnet" | "testnet";
9755
9755
  declare class FogoMetadataFetcher implements IMetadataFetcher {
9756
+ network: FogoNetworks;
9756
9757
  readonly name = "FogoMetadataFetcher";
9758
+ constructor(network?: FogoNetworks);
9757
9759
  fetch(mints: Array<string>): Promise<Record<string, {
9758
9760
  name: string;
9759
9761
  symbol: string;
@@ -10086,7 +10088,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
10086
10088
  feePayer: PublicKey;
10087
10089
  blockhash: string;
10088
10090
  }) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
10089
- declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js25.SignatureStatus>;
10091
+ declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js24.SignatureStatus>;
10090
10092
  //#endregion
10091
10093
  //#region src/common/bank-metadata.d.ts
10092
10094
  declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
@@ -10099,16 +10101,16 @@ declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
10099
10101
  }, "strip", z.ZodTypeAny, {
10100
10102
  symbol?: string | undefined;
10101
10103
  name?: string | undefined;
10102
- logoURI?: string | undefined;
10103
- address?: string | undefined;
10104
10104
  mint?: string | undefined;
10105
+ address?: string | undefined;
10106
+ logoURI?: string | undefined;
10105
10107
  validatorVoteAccount?: string | undefined;
10106
10108
  }, {
10107
10109
  symbol?: string | undefined;
10108
10110
  name?: string | undefined;
10109
- logoURI?: string | undefined;
10110
- address?: string | undefined;
10111
10111
  mint?: string | undefined;
10112
+ address?: string | undefined;
10113
+ logoURI?: string | undefined;
10112
10114
  validatorVoteAccount?: string | undefined;
10113
10115
  }>;
10114
10116
  type BankExtendedMetadataOverride = z.infer<typeof bankExtendedMetadataOverrideSchema>;
@@ -10157,4 +10159,4 @@ type BankMetadataMap = {
10157
10159
 
10158
10160
  //#endregion
10159
10161
  export { AccountFlags, AccountType, ActionEmodeImpact, ActiveStakePoolMap, Amount, AssetTag, BUNDLE_TX_SIZE$1 as BUNDLE_TX_SIZE, Balance, BalanceRaw, BalanceType, BalanceTypeDto, Bank, BankAddress, BankConfig, type BankConfigCompactRaw, BankConfigDto, BankConfigOpt, type BankConfigOptRaw, type BankConfigRaw, BankConfigRawDto, BankConfigType, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMap, BankMetadata, BankMetadataMap, 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, InterestRateConfigDto, 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, RepayWithCollateralProps, RepayWithCollateralTxProps, RiskTier, type RiskTierRaw, SINGLE_POOL_PROGRAM_ID, SKIP_SIMULATION, STAKE_CONFIG_ID$1 as 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, 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, 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, makeDisableAccountTransferForAccountIx, makeDisableFlashLoanForAccountIx, makeEnableAccountTransferForAccountIx, makeEnableFlashLoanForAccountIx, makePoolAddBankIx, makePoolConfigureBankIx, makePriorityFeeIx, makePriorityFeeMicroIx, makePulseHealthIx, makeTxPriorityIx, makeUnwrapSolIx, makeVersionedTransaction, makeWrapSolIxs, median, metadataSchema, microLamportsToUi, nativeToUi, numeralFormatter, oraclePriceToDto, parseBalanceRaw, parseBankConfigRaw, parseBankRaw, parseBanksMetadataOverride, 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, supportedOracleSetups, toBankConfigDto, toBankDto, toBigNumber, toEmodeSettingsDto, toInterestRateConfigDto, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, validatorStakeGroupToDto, wrappedI80F48toBigNumber };
10160
- //# sourceMappingURL=index-DwoWa2a_.d.ts.map
10162
+ //# sourceMappingURL=index-Bknrc4MM.d.ts.map