@pyron-finance/pyron-client 1.0.10 → 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.
- package/dist/common/index.d.cts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/{index-DQlOr-LA.d.ts → index-Bknrc4MM.d.ts} +37 -34
- package/dist/index-Bknrc4MM.d.ts.map +1 -0
- package/dist/{index-BDHwzwV3.d.cts → index-aLgjpW8g.d.cts} +9 -6
- package/dist/index-aLgjpW8g.d.cts.map +1 -0
- package/dist/index.cjs +5 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-BDHwzwV3.d.cts.map +0 -1
- package/dist/index-DQlOr-LA.d.ts.map +0 -1
package/dist/common/index.d.cts
CHANGED
|
@@ -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-
|
|
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 };
|
package/dist/common/index.d.ts
CHANGED
|
@@ -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-
|
|
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
|
|
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
|
}
|
|
@@ -7001,7 +7001,7 @@ declare function crankPythOracleIx(oracles: {
|
|
|
7001
7001
|
postInstructions: InstructionWithEphemeralSigners[];
|
|
7002
7002
|
closeInstructions: InstructionWithEphemeralSigners[];
|
|
7003
7003
|
keys: never[];
|
|
7004
|
-
lut:
|
|
7004
|
+
lut: _solana_web3_js24.AddressLookupTableAccount | null;
|
|
7005
7005
|
}>;
|
|
7006
7006
|
//#endregion
|
|
7007
7007
|
//#region src/services/price/types/price.types.d.ts
|
|
@@ -7042,7 +7042,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
|
7042
7042
|
lendrAccount: PublicKey;
|
|
7043
7043
|
authority: PublicKey;
|
|
7044
7044
|
feePayer: PublicKey;
|
|
7045
|
-
}): Promise<
|
|
7045
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7046
7046
|
declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
7047
7047
|
lendrGroup,
|
|
7048
7048
|
session,
|
|
@@ -7051,7 +7051,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
|
7051
7051
|
lendrGroup: PublicKey;
|
|
7052
7052
|
session: EstablishedSessionState;
|
|
7053
7053
|
feePayer: PublicKey;
|
|
7054
|
-
}, accountSeed: BN$1): Promise<
|
|
7054
|
+
}, accountSeed: BN$1): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7055
7055
|
declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
7056
7056
|
lendrAccount: PublicKey;
|
|
7057
7057
|
signerTokenAccount: PublicKey;
|
|
@@ -7063,11 +7063,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
|
7063
7063
|
}, args: {
|
|
7064
7064
|
amount: BN$1;
|
|
7065
7065
|
depositUpToLimit?: boolean;
|
|
7066
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7066
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7067
7067
|
declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7068
7068
|
amount: BN$1;
|
|
7069
7069
|
depositUpToLimit?: boolean;
|
|
7070
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7070
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7071
7071
|
declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
7072
7072
|
lendrAccount: PublicKey;
|
|
7073
7073
|
signerTokenAccount: PublicKey;
|
|
@@ -7079,11 +7079,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
|
7079
7079
|
}, args: {
|
|
7080
7080
|
amount: BN$1;
|
|
7081
7081
|
repayAll?: boolean;
|
|
7082
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7082
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7083
7083
|
declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7084
7084
|
amount: BN$1;
|
|
7085
7085
|
repayAll?: boolean;
|
|
7086
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7086
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7087
7087
|
declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
7088
7088
|
lendrAccount: PublicKey;
|
|
7089
7089
|
bank: PublicKey;
|
|
@@ -7094,11 +7094,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
|
7094
7094
|
}, args: {
|
|
7095
7095
|
amount: BN$1;
|
|
7096
7096
|
withdrawAll?: boolean;
|
|
7097
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7097
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7098
7098
|
declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7099
7099
|
amount: BN$1;
|
|
7100
7100
|
withdrawAll?: boolean;
|
|
7101
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7101
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7102
7102
|
declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
7103
7103
|
lendrAccount: PublicKey;
|
|
7104
7104
|
bank: PublicKey;
|
|
@@ -7108,10 +7108,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
|
7108
7108
|
authority?: PublicKey;
|
|
7109
7109
|
}, args: {
|
|
7110
7110
|
amount: BN$1;
|
|
7111
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7111
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7112
7112
|
declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7113
7113
|
amount: BN$1;
|
|
7114
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7114
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7115
7115
|
declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
|
|
7116
7116
|
assetBank: PublicKey;
|
|
7117
7117
|
liabBank: PublicKey;
|
|
@@ -7122,7 +7122,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
|
|
|
7122
7122
|
authority?: PublicKey;
|
|
7123
7123
|
}, args: {
|
|
7124
7124
|
assetAmount: BN$1;
|
|
7125
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7125
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7126
7126
|
declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
|
|
7127
7127
|
lendrAccount: PublicKey;
|
|
7128
7128
|
destinationAccount: PublicKey;
|
|
@@ -7131,52 +7131,52 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
|
|
|
7131
7131
|
group?: PublicKey;
|
|
7132
7132
|
authority?: PublicKey;
|
|
7133
7133
|
emissionsMint?: PublicKey;
|
|
7134
|
-
}): Promise<
|
|
7134
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7135
7135
|
declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7136
7136
|
lendrAccount: PublicKey;
|
|
7137
7137
|
group?: PublicKey;
|
|
7138
7138
|
admin?: PublicKey;
|
|
7139
7139
|
}, args: {
|
|
7140
7140
|
flag: BN$1;
|
|
7141
|
-
}): Promise<
|
|
7141
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7142
7142
|
declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7143
7143
|
lendrAccount: PublicKey;
|
|
7144
7144
|
group?: PublicKey;
|
|
7145
7145
|
admin?: PublicKey;
|
|
7146
7146
|
}, args: {
|
|
7147
7147
|
flag: BN$1;
|
|
7148
|
-
}): Promise<
|
|
7148
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7149
7149
|
declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
|
|
7150
7150
|
bank: PublicKey;
|
|
7151
7151
|
group?: PublicKey;
|
|
7152
7152
|
admin?: PublicKey;
|
|
7153
7153
|
}, args: {
|
|
7154
7154
|
bankConfigOpt: BankConfigOptRaw;
|
|
7155
|
-
}): Promise<
|
|
7155
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7156
7156
|
declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7157
7157
|
lendrAccount: PublicKey;
|
|
7158
7158
|
authority?: PublicKey;
|
|
7159
7159
|
ixsSysvar?: PublicKey;
|
|
7160
7160
|
}, args: {
|
|
7161
7161
|
endIndex: BN$1;
|
|
7162
|
-
}): Promise<
|
|
7162
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7163
7163
|
declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7164
7164
|
lendrAccount: PublicKey;
|
|
7165
7165
|
authority?: PublicKey;
|
|
7166
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7166
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7167
7167
|
declare function makeAccountAuthorityTransferIx(ldProgram: LendrProgram, accounts: {
|
|
7168
7168
|
lendrAccount: PublicKey;
|
|
7169
7169
|
newAuthority: PublicKey;
|
|
7170
7170
|
feePayer: PublicKey;
|
|
7171
7171
|
group?: PublicKey;
|
|
7172
7172
|
authority?: PublicKey;
|
|
7173
|
-
}): Promise<
|
|
7173
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7174
7174
|
declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
|
|
7175
7175
|
lendrGroup: PublicKey;
|
|
7176
7176
|
admin: PublicKey;
|
|
7177
7177
|
}, args?: {
|
|
7178
7178
|
isArenaGroup?: boolean;
|
|
7179
|
-
}): Promise<
|
|
7179
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7180
7180
|
/**
|
|
7181
7181
|
* Configure the oracle for a bank
|
|
7182
7182
|
* @param ldProgram The lendr program
|
|
@@ -7201,7 +7201,7 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
|
|
|
7201
7201
|
/**
|
|
7202
7202
|
* The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
|
|
7203
7203
|
*/
|
|
7204
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7204
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7205
7205
|
/**
|
|
7206
7206
|
* Creates an instruction to add a permissionless staked bank to a lending pool.
|
|
7207
7207
|
* @param ldProgram - The lendr program instance
|
|
@@ -7235,7 +7235,7 @@ remainingAccounts: AccountMeta[] | undefined, args: {
|
|
|
7235
7235
|
* bump.
|
|
7236
7236
|
*/
|
|
7237
7237
|
seed?: BN$1;
|
|
7238
|
-
}): Promise<
|
|
7238
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7239
7239
|
declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
7240
7240
|
lendrGroup: PublicKey;
|
|
7241
7241
|
feePayer: PublicKey;
|
|
@@ -7246,15 +7246,15 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7246
7246
|
globalFeeWallet?: PublicKey;
|
|
7247
7247
|
}, args: {
|
|
7248
7248
|
bankConfig: BankConfigCompactRaw;
|
|
7249
|
-
}): Promise<
|
|
7249
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7250
7250
|
declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
|
|
7251
7251
|
lendrAccount: PublicKey;
|
|
7252
7252
|
feePayer: PublicKey;
|
|
7253
7253
|
authority?: PublicKey;
|
|
7254
|
-
}): Promise<
|
|
7254
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7255
7255
|
declare function makeLendingAccountSortBalancesIx(ldProgram: LendrProgram, accounts: {
|
|
7256
7256
|
lendrAccount: PublicKey;
|
|
7257
|
-
}): Promise<
|
|
7257
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7258
7258
|
declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
7259
7259
|
lendrAccount: PublicKey;
|
|
7260
7260
|
},
|
|
@@ -7262,7 +7262,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7262
7262
|
* The remaining accounts required for this instruction. Should include:
|
|
7263
7263
|
* - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
|
|
7264
7264
|
*/
|
|
7265
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7265
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7266
7266
|
declare const instructions: {
|
|
7267
7267
|
makeDepositIx: typeof makeDepositIx;
|
|
7268
7268
|
makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
|
|
@@ -9751,8 +9751,11 @@ declare class DummyMetadataFetcher implements IMetadataFetcher {
|
|
|
9751
9751
|
//# sourceMappingURL=dummy.d.ts.map
|
|
9752
9752
|
//#endregion
|
|
9753
9753
|
//#region src/services/metadata/fogo.d.ts
|
|
9754
|
+
type FogoNetworks = "mainnet" | "testnet";
|
|
9754
9755
|
declare class FogoMetadataFetcher implements IMetadataFetcher {
|
|
9756
|
+
network: FogoNetworks;
|
|
9755
9757
|
readonly name = "FogoMetadataFetcher";
|
|
9758
|
+
constructor(network?: FogoNetworks);
|
|
9756
9759
|
fetch(mints: Array<string>): Promise<Record<string, {
|
|
9757
9760
|
name: string;
|
|
9758
9761
|
symbol: string;
|
|
@@ -10085,7 +10088,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
|
|
|
10085
10088
|
feePayer: PublicKey;
|
|
10086
10089
|
blockhash: string;
|
|
10087
10090
|
}) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
|
|
10088
|
-
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<
|
|
10091
|
+
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js24.SignatureStatus>;
|
|
10089
10092
|
//#endregion
|
|
10090
10093
|
//#region src/common/bank-metadata.d.ts
|
|
10091
10094
|
declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
@@ -10098,16 +10101,16 @@ declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
|
10098
10101
|
}, "strip", z.ZodTypeAny, {
|
|
10099
10102
|
symbol?: string | undefined;
|
|
10100
10103
|
name?: string | undefined;
|
|
10101
|
-
logoURI?: string | undefined;
|
|
10102
|
-
address?: string | undefined;
|
|
10103
10104
|
mint?: string | undefined;
|
|
10105
|
+
address?: string | undefined;
|
|
10106
|
+
logoURI?: string | undefined;
|
|
10104
10107
|
validatorVoteAccount?: string | undefined;
|
|
10105
10108
|
}, {
|
|
10106
10109
|
symbol?: string | undefined;
|
|
10107
10110
|
name?: string | undefined;
|
|
10108
|
-
logoURI?: string | undefined;
|
|
10109
|
-
address?: string | undefined;
|
|
10110
10111
|
mint?: string | undefined;
|
|
10112
|
+
address?: string | undefined;
|
|
10113
|
+
logoURI?: string | undefined;
|
|
10111
10114
|
validatorVoteAccount?: string | undefined;
|
|
10112
10115
|
}>;
|
|
10113
10116
|
type BankExtendedMetadataOverride = z.infer<typeof bankExtendedMetadataOverrideSchema>;
|
|
@@ -10156,4 +10159,4 @@ type BankMetadataMap = {
|
|
|
10156
10159
|
|
|
10157
10160
|
//#endregion
|
|
10158
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 };
|
|
10159
|
-
//# sourceMappingURL=index-
|
|
10162
|
+
//# sourceMappingURL=index-Bknrc4MM.d.ts.map
|