@pyron-finance/pyron-client 1.0.2 → 1.0.4
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/{chunk-D3ESV8qN.mjs → chunk-B9dir_RE.mjs} +1 -3
- package/dist/common/index.d.mts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +1 -1
- package/dist/common/index.mjs +1 -1
- package/dist/{index-CjdbT6Xw.d.mts → index-DUhjh5_z.d.mts} +69 -1
- package/dist/index-DUhjh5_z.d.mts.map +1 -0
- package/dist/{index-Bpr6asS1.d.ts → index-DoxqUMQW.d.ts} +69 -1
- package/dist/index-DoxqUMQW.d.ts.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-B_34n__D.mjs → src-DITEj1yC.mjs} +368 -227
- package/dist/src-DITEj1yC.mjs.map +1 -0
- package/dist/{src-CWX5tHYY.js → src-WLna_-6m.js} +380 -254
- package/package.json +2 -15
- package/dist/index-Bpr6asS1.d.ts.map +0 -1
- package/dist/index-CjdbT6Xw.d.mts.map +0 -1
- package/dist/src-B_34n__D.mjs.map +0 -1
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
//#region rolldown:runtime
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
-
var __export = (all) => {
|
|
4
|
-
let target = {};
|
|
3
|
+
var __export = (target, all) => {
|
|
5
4
|
for (var name in all) __defProp(target, name, {
|
|
6
5
|
get: all[name],
|
|
7
6
|
enumerable: true
|
|
8
7
|
});
|
|
9
|
-
return target;
|
|
10
8
|
};
|
|
11
9
|
|
|
12
10
|
//#endregion
|
package/dist/common/index.d.mts
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-DUhjh5_z.mjs";
|
|
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-DoxqUMQW.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 };
|
package/dist/common/index.js
CHANGED
package/dist/common/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CustomNumberFormat, NodeWallet, PriotitizationFeeLevels, TransactionArenaKeyMap, TransactionConfigMap, TransactionType, 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 "../src-
|
|
1
|
+
import { CustomNumberFormat, NodeWallet, PriotitizationFeeLevels, TransactionArenaKeyMap, TransactionConfigMap, TransactionType, 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 "../src-DITEj1yC.mjs";
|
|
2
2
|
|
|
3
3
|
export { CustomNumberFormat, NodeWallet, PriotitizationFeeLevels, TransactionArenaKeyMap, TransactionConfigMap, TransactionType, 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 };
|
|
@@ -41,6 +41,7 @@ type WalletToken = {
|
|
|
41
41
|
ata: PublicKey;
|
|
42
42
|
mintDecimals: number;
|
|
43
43
|
};
|
|
44
|
+
//# sourceMappingURL=types.d.ts.map
|
|
44
45
|
//#endregion
|
|
45
46
|
//#region src/common/nodeWallet.d.ts
|
|
46
47
|
/**
|
|
@@ -58,6 +59,7 @@ declare class NodeWallet implements Wallet {
|
|
|
58
59
|
signAllTransactions<T extends Transaction | VersionedTransaction>(txs: T[]): Promise<T[]>;
|
|
59
60
|
get publicKey(): PublicKey;
|
|
60
61
|
}
|
|
62
|
+
//# sourceMappingURL=nodeWallet.d.ts.map
|
|
61
63
|
//#endregion
|
|
62
64
|
//#region src/common/math.d.ts
|
|
63
65
|
declare function floor(value: number, decimals: number): number;
|
|
@@ -75,6 +77,7 @@ declare function setTimeoutPromise(duration: number, message: string): Promise<E
|
|
|
75
77
|
declare function chunkedGetRawMultipleAccountInfos(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<[number, Map<string, AccountInfo<Buffer>>]>;
|
|
76
78
|
declare function chunkedGetRawMultipleAccountInfoOrderedWithNulls(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<Array<AccountInfo<Buffer> | null>>;
|
|
77
79
|
declare function chunkedGetRawMultipleAccountInfoOrdered(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<Array<AccountInfo<Buffer>>>;
|
|
80
|
+
//# sourceMappingURL=misc.d.ts.map
|
|
78
81
|
//#endregion
|
|
79
82
|
//#region src/common/modules/transactions/transaction.types.d.ts
|
|
80
83
|
declare enum TransactionType {
|
|
@@ -390,6 +393,7 @@ declare function bpsToPercentile(bps: number): number;
|
|
|
390
393
|
* composition
|
|
391
394
|
*/
|
|
392
395
|
declare const composeRemainingAccounts: (banksAndOracles: PublicKey[][]) => PublicKey[];
|
|
396
|
+
//# sourceMappingURL=conversion.utils.d.ts.map
|
|
393
397
|
//#endregion
|
|
394
398
|
//#region src/common/utils/formatters.utils.d.ts
|
|
395
399
|
declare class CustomNumberFormat extends Intl.NumberFormat {
|
|
@@ -4526,10 +4530,12 @@ type Lendr = {
|
|
|
4526
4530
|
};
|
|
4527
4531
|
}];
|
|
4528
4532
|
};
|
|
4533
|
+
//# sourceMappingURL=lendr-types_0.1.3.d.ts.map
|
|
4529
4534
|
//#endregion
|
|
4530
4535
|
//#region src/idl/index.d.ts
|
|
4531
4536
|
declare const LENDR_IDL: LendrIdlType;
|
|
4532
4537
|
type LendrIdlType = Lendr;
|
|
4538
|
+
//# sourceMappingURL=index.d.ts.map
|
|
4533
4539
|
//#endregion
|
|
4534
4540
|
//#region src/types.d.ts
|
|
4535
4541
|
type LendrProgram = Program$1<LendrIdlType>;
|
|
@@ -4584,6 +4590,7 @@ type LendingAccountWithdrawOrBorrowWithSessionAccounts = {
|
|
|
4584
4590
|
tokenProgram: PublicKey;
|
|
4585
4591
|
group?: PublicKey;
|
|
4586
4592
|
};
|
|
4593
|
+
//# sourceMappingURL=types.d.ts.map
|
|
4587
4594
|
//#endregion
|
|
4588
4595
|
//#region src/common/session.d.ts
|
|
4589
4596
|
type EstablishedSessionState = {
|
|
@@ -4592,6 +4599,7 @@ type EstablishedSessionState = {
|
|
|
4592
4599
|
payer: PublicKey;
|
|
4593
4600
|
sendTransaction: (instructions: Array<TransactionInstruction> | VersionedTransaction) => Promise<TransactionResult>;
|
|
4594
4601
|
};
|
|
4602
|
+
//# sourceMappingURL=session.d.ts.map
|
|
4595
4603
|
//#endregion
|
|
4596
4604
|
//#region src/instructions.d.ts
|
|
4597
4605
|
declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -4856,6 +4864,7 @@ declare function getConfig({
|
|
|
4856
4864
|
environment?: Environment;
|
|
4857
4865
|
overrides?: Partial<Omit<LendrConfig, "environment">>;
|
|
4858
4866
|
}): LendrConfig;
|
|
4867
|
+
//# sourceMappingURL=config.d.ts.map
|
|
4859
4868
|
//#endregion
|
|
4860
4869
|
//#region src/constants/bank.d.ts
|
|
4861
4870
|
declare const PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED: Buffer<ArrayBuffer>;
|
|
@@ -4864,6 +4873,7 @@ declare const PDA_BANK_FEE_VAULT_AUTH_SEED: Buffer<ArrayBuffer>;
|
|
|
4864
4873
|
declare const PDA_BANK_LIQUIDITY_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
4865
4874
|
declare const PDA_BANK_INSURANCE_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
4866
4875
|
declare const PDA_BANK_FEE_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
4876
|
+
//# sourceMappingURL=bank.d.ts.map
|
|
4867
4877
|
//#endregion
|
|
4868
4878
|
//#region src/constants/misc.d.ts
|
|
4869
4879
|
declare const HOURS_PER_YEAR: number;
|
|
@@ -4875,11 +4885,13 @@ declare const PYTH_PUSH_ORACLE_ID: PublicKey;
|
|
|
4875
4885
|
declare const GROUP_PK: PublicKey;
|
|
4876
4886
|
declare const PROGRAM_ID: PublicKey;
|
|
4877
4887
|
declare const DEFAULT_CLUSTER: string;
|
|
4888
|
+
//# sourceMappingURL=misc.d.ts.map
|
|
4878
4889
|
//#endregion
|
|
4879
4890
|
//#region src/constants/flags.d.ts
|
|
4880
4891
|
declare const DISABLED_FLAG: number;
|
|
4881
4892
|
declare const FLASHLOAN_ENABLED_FLAG: number;
|
|
4882
4893
|
declare const TRANSFER_ACCOUNT_AUTHORITY_FLAG: number;
|
|
4894
|
+
//# sourceMappingURL=flags.d.ts.map
|
|
4883
4895
|
//#endregion
|
|
4884
4896
|
//#region src/constants/tokens.d.ts
|
|
4885
4897
|
declare const WSOL_MINT: PublicKey;
|
|
@@ -4888,6 +4900,7 @@ declare const LST_MINT: PublicKey;
|
|
|
4888
4900
|
declare const USDC_MINT: PublicKey;
|
|
4889
4901
|
declare const DUMMY_USDC_MINT: PublicKey;
|
|
4890
4902
|
declare const USDC_DECIMALS = 6;
|
|
4903
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
4891
4904
|
//#endregion
|
|
4892
4905
|
//#region src/constants/defaults.d.ts
|
|
4893
4906
|
declare const DEFAULT_COMMITMENT: Commitment;
|
|
@@ -4899,6 +4912,7 @@ declare const BUNDLE_TX_SIZE$1 = 81;
|
|
|
4899
4912
|
declare const PRIORITY_TX_SIZE$1 = 44;
|
|
4900
4913
|
declare const SKIP_SIMULATION = false;
|
|
4901
4914
|
declare const DEFAULT_ORACLE_MAX_AGE = 60;
|
|
4915
|
+
//# sourceMappingURL=defaults.d.ts.map
|
|
4902
4916
|
//#endregion
|
|
4903
4917
|
//#region src/constants/programs.d.ts
|
|
4904
4918
|
declare const LUT_PROGRAM_AUTHORITY_INDEX = 5;
|
|
@@ -4912,6 +4926,7 @@ declare const SYSVAR_RENT_ID: PublicKey;
|
|
|
4912
4926
|
declare const SYSVAR_CLOCK_ID: PublicKey;
|
|
4913
4927
|
declare const SYSVAR_STAKE_HISTORY_ID: PublicKey;
|
|
4914
4928
|
declare const STAKE_CONFIG_ID$1: PublicKey;
|
|
4929
|
+
//# sourceMappingURL=programs.d.ts.map
|
|
4915
4930
|
//#endregion
|
|
4916
4931
|
//#region src/errors.d.ts
|
|
4917
4932
|
declare enum ProcessTransactionErrorType {
|
|
@@ -4961,6 +4976,7 @@ declare function parseTransactionError(error: any, ldrProgramId: PublicKey): {
|
|
|
4961
4976
|
code: any;
|
|
4962
4977
|
};
|
|
4963
4978
|
declare function parseErrorFromLogs(logs: string[], ldrProgramId: PublicKey): ProgramErrorWithDescription | null;
|
|
4979
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
4964
4980
|
//#endregion
|
|
4965
4981
|
//#region src/services/price/types/price.types.d.ts
|
|
4966
4982
|
interface PriceWithConfidence {
|
|
@@ -4992,6 +5008,7 @@ interface OraclePriceDto {
|
|
|
4992
5008
|
timestamp: string;
|
|
4993
5009
|
pythShardId?: number;
|
|
4994
5010
|
}
|
|
5011
|
+
//# sourceMappingURL=price.types.d.ts.map
|
|
4995
5012
|
//#endregion
|
|
4996
5013
|
//#region src/utils.d.ts
|
|
4997
5014
|
declare function getBankVaultSeeds(type: BankVaultType): Buffer;
|
|
@@ -5024,6 +5041,7 @@ declare function findOracleKey(bankConfig: BankConfig, feedMap: PythPushFeedIdMa
|
|
|
5024
5041
|
declare const PYTH_SPONSORED_SHARD_ID = 0;
|
|
5025
5042
|
declare const LENDR_SPONSORED_SHARD_ID = 3301;
|
|
5026
5043
|
declare function findPythPushOracleAddress(feedId: Buffer, programId: PublicKey, shardId: number): PublicKey;
|
|
5044
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
5027
5045
|
//#endregion
|
|
5028
5046
|
//#region src/models/emode-settings.d.ts
|
|
5029
5047
|
declare class EmodeSettings implements EmodeSettingsType {
|
|
@@ -5034,6 +5052,7 @@ declare class EmodeSettings implements EmodeSettingsType {
|
|
|
5034
5052
|
constructor(emodeTag: EmodeTag, timestamp: number, flags: EmodeFlags[], emodeEntries: EmodeEntry[]);
|
|
5035
5053
|
static from(emodeSettingsRaw: EmodeSettingsRaw): EmodeSettings;
|
|
5036
5054
|
}
|
|
5055
|
+
//# sourceMappingURL=emode-settings.d.ts.map
|
|
5037
5056
|
//#endregion
|
|
5038
5057
|
//#region src/models/bank.d.ts
|
|
5039
5058
|
declare class Bank implements BankType {
|
|
@@ -5171,6 +5190,7 @@ declare class HealthCache implements HealthCacheType {
|
|
|
5171
5190
|
constructor(assetValue: BigNumber, liabilityValue: BigNumber, assetValueMaint: BigNumber, liabilityValueMaint: BigNumber, assetValueEquity: BigNumber, liabilityValueEquity: BigNumber, timestamp: BigNumber, flags: HealthCacheFlags[], prices: number[][], simulationFailed?: boolean | undefined);
|
|
5172
5191
|
static from(healthCacheRaw: HealthCacheRaw): HealthCache;
|
|
5173
5192
|
}
|
|
5193
|
+
//# sourceMappingURL=health-cache.d.ts.map
|
|
5174
5194
|
//#endregion
|
|
5175
5195
|
//#region src/models/account/pure.d.ts
|
|
5176
5196
|
declare class LendrAccount implements LendrAccountType {
|
|
@@ -5517,6 +5537,7 @@ interface FlashloanActionResult extends TransactionBuilderResult {
|
|
|
5517
5537
|
/** Whether transaction size exceeds limits */
|
|
5518
5538
|
txOverflown: boolean;
|
|
5519
5539
|
}
|
|
5540
|
+
//# sourceMappingURL=types.d.ts.map
|
|
5520
5541
|
//#endregion
|
|
5521
5542
|
//#region src/models/group.d.ts
|
|
5522
5543
|
declare class LendrGroup implements LendrGroupType {
|
|
@@ -6205,6 +6226,7 @@ interface PriceComponent {
|
|
|
6205
6226
|
latest: Price;
|
|
6206
6227
|
}
|
|
6207
6228
|
declare const parsePriceData: (data: Buffer, currentSlot?: number) => PriceData;
|
|
6229
|
+
//# sourceMappingURL=index.d.ts.map
|
|
6208
6230
|
//#endregion
|
|
6209
6231
|
//#region src/vendor/pyth_push_oracle/index.d.ts
|
|
6210
6232
|
type PriceUpdateV2 = {
|
|
@@ -6259,6 +6281,7 @@ type StakeAccount$1 = {
|
|
|
6259
6281
|
* Copied from https://github.com/solana-developers/solana-rpc-get-stake-activation/blob/main/web3js-1.0/src/stake.ts
|
|
6260
6282
|
* */
|
|
6261
6283
|
declare const getStakeAccount: (data: Buffer) => StakeAccount$1;
|
|
6284
|
+
//# sourceMappingURL=index.d.ts.map
|
|
6262
6285
|
//#endregion
|
|
6263
6286
|
//#region src/vendor/single-spl-pool/index.d.ts
|
|
6264
6287
|
declare const SinglePoolInstruction: {
|
|
@@ -6296,6 +6319,7 @@ declare class Account {
|
|
|
6296
6319
|
constructor(program: any, publicKey: anchor.web3.PublicKey);
|
|
6297
6320
|
}
|
|
6298
6321
|
declare const BUFFER_DISCRIMINATOR: Buffer<ArrayBuffer>;
|
|
6322
|
+
//# sourceMappingURL=account.d.ts.map
|
|
6299
6323
|
//#endregion
|
|
6300
6324
|
//#region src/vendor/switchboard_legacy/aggregatorAccount.d.ts
|
|
6301
6325
|
declare class AggregatorAccount extends Account {
|
|
@@ -6308,6 +6332,7 @@ declare class AggregatorAccount extends Account {
|
|
|
6308
6332
|
};
|
|
6309
6333
|
}): any;
|
|
6310
6334
|
}
|
|
6335
|
+
//# sourceMappingURL=aggregatorAccount.d.ts.map
|
|
6311
6336
|
//#endregion
|
|
6312
6337
|
//#region src/vendor/switchboard_legacy/aggregatorAccountData.d.ts
|
|
6313
6338
|
declare class AggregatorAccountData {
|
|
@@ -6388,6 +6413,7 @@ declare class AggregatorAccountData {
|
|
|
6388
6413
|
constructor(fields: any);
|
|
6389
6414
|
static decode(data: any): AggregatorAccountData;
|
|
6390
6415
|
}
|
|
6416
|
+
//# sourceMappingURL=aggregatorAccountData.d.ts.map
|
|
6391
6417
|
//#endregion
|
|
6392
6418
|
//#region src/vendor/switchboard_pull/index.d.ts
|
|
6393
6419
|
declare const SWITCHBOARD_ONDEMANDE_PRICE_PRECISION = 18;
|
|
@@ -6432,6 +6458,10 @@ interface FeedResponse {
|
|
|
6432
6458
|
declare const switchboardAccountCoder: BorshCoder<string, string>;
|
|
6433
6459
|
declare function getSwitchboardProgram(provider: Provider): Program;
|
|
6434
6460
|
declare function decodeSwitchboardPullFeedData(data: Buffer): PullFeedAccountData;
|
|
6461
|
+
//# sourceMappingURL=index.d.ts.map
|
|
6462
|
+
declare namespace index_d_exports {
|
|
6463
|
+
export { AccountType$1 as AccountType, AggregatorAccount, AggregatorAccountData, Base, CorpAction, CrossbarSimulatePayload, CurrentResult, Ema, FeedResponse, MAX_SLOT_DIFFERENCE, OracleSubmission, Price, PriceComponent, PriceData, PriceStatus, PriceType, PullFeedAccountData, SWITCHBOARD_ONDEMANDE_PRICE_PRECISION, SinglePoolInstruction, StakeAccount$1 as StakeAccount, createAccountIx, createPoolOnrampIx, decodeSwitchboardPullFeedData, findMplMetadataAddress, findPoolAddress, findPoolMintAddress, findPoolMintAddressByVoteAccount, findPoolMintAuthorityAddress, findPoolMplAuthorityAddress, findPoolOnRampAddress, findPoolStakeAddress, findPoolStakeAuthorityAddress, getStakeAccount, getSwitchboardProgram, initializeStakedPoolIxs, initializeStakedPoolTx, parsePriceData, parsePriceInfo, replenishPoolIx, switchboardAccountCoder };
|
|
6464
|
+
}
|
|
6435
6465
|
//#endregion
|
|
6436
6466
|
//#region src/clients/client.d.ts
|
|
6437
6467
|
type BankMap = Map<string, Bank>;
|
|
@@ -6840,6 +6870,7 @@ type PythPushOracle = {
|
|
|
6840
6870
|
}];
|
|
6841
6871
|
};
|
|
6842
6872
|
declare const PYTH_PUSH_ORACLE_IDL: PythPushOracle;
|
|
6873
|
+
//# sourceMappingURL=pyth_push_oracle.d.ts.map
|
|
6843
6874
|
//#endregion
|
|
6844
6875
|
//#region src/vendor/pyth_crank/idl/pyth_wormhole.d.ts
|
|
6845
6876
|
/**
|
|
@@ -7966,6 +7997,7 @@ type WormholeCoreBridgeSolana = {
|
|
|
7966
7997
|
}];
|
|
7967
7998
|
};
|
|
7968
7999
|
declare const PYTH_WORMHOLE_IDL: WormholeCoreBridgeSolana;
|
|
8000
|
+
//# sourceMappingURL=pyth_wormhole.d.ts.map
|
|
7969
8001
|
//#endregion
|
|
7970
8002
|
//#region src/vendor/pyth_crank/idl/receiver_program.d.ts
|
|
7971
8003
|
/**
|
|
@@ -8559,6 +8591,7 @@ type PythSolanaReceiver = {
|
|
|
8559
8591
|
}];
|
|
8560
8592
|
};
|
|
8561
8593
|
declare const PYTH_SOLANA_RECEIVER_PROGRAM_IDL: PythSolanaReceiver;
|
|
8594
|
+
//# sourceMappingURL=receiver_program.d.ts.map
|
|
8562
8595
|
//#endregion
|
|
8563
8596
|
//#region src/vendor/pyth_crank/pyth.consts.d.ts
|
|
8564
8597
|
declare const DEFAULT_RECEIVER_PROGRAM_ID: PublicKey;
|
|
@@ -8604,6 +8637,7 @@ declare const WRITE_ENCODED_VAA_COMPUTE_BUDGET = 3000;
|
|
|
8604
8637
|
declare const CLOSE_ENCODED_VAA_COMPUTE_BUDGET = 30000;
|
|
8605
8638
|
declare const VAA_SPLIT_INDEX = 721;
|
|
8606
8639
|
declare const VAA_START = 46;
|
|
8640
|
+
//# sourceMappingURL=pyth.consts.d.ts.map
|
|
8607
8641
|
//#endregion
|
|
8608
8642
|
//#region src/vendor/pyth_crank/pyth.utils.d.ts
|
|
8609
8643
|
declare function getGuardianSetIndex(vaa: Buffer): number;
|
|
@@ -8656,6 +8690,7 @@ type PriceFeedMessage = {
|
|
|
8656
8690
|
emaConf: BN;
|
|
8657
8691
|
};
|
|
8658
8692
|
declare function parsePriceFeedMessage(message: Buffer): PriceFeedMessage;
|
|
8693
|
+
//# sourceMappingURL=pyth.utils.d.ts.map
|
|
8659
8694
|
//#endregion
|
|
8660
8695
|
//#region src/services/bank/types/bank.types.d.ts
|
|
8661
8696
|
declare enum RiskTier {
|
|
@@ -8838,6 +8873,7 @@ interface ActionEmodeImpact {
|
|
|
8838
8873
|
repayAllImpact?: EmodeImpact;
|
|
8839
8874
|
withdrawAllImpact?: EmodeImpact;
|
|
8840
8875
|
}
|
|
8876
|
+
//# sourceMappingURL=bank.types.d.ts.map
|
|
8841
8877
|
//#endregion
|
|
8842
8878
|
//#region src/services/bank/types/raw-bank.types.d.ts
|
|
8843
8879
|
interface BankRaw {
|
|
@@ -9146,6 +9182,8 @@ declare function parseOraclePriceData(oracleSetup: OracleSetup, rawData: Buffer,
|
|
|
9146
9182
|
//#endregion
|
|
9147
9183
|
//#region src/services/price/utils/deserialize.utils.d.ts
|
|
9148
9184
|
declare function dtoToOraclePrice(dto: OraclePriceDto): OraclePrice;
|
|
9185
|
+
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9186
|
+
|
|
9149
9187
|
//#endregion
|
|
9150
9188
|
//#region src/services/price/utils/fetch.utils.d.ts
|
|
9151
9189
|
declare const fetchPythOracleData: (banks: {
|
|
@@ -9192,9 +9230,12 @@ declare const fetchOracleData: (banks: {
|
|
|
9192
9230
|
bankOraclePriceMap: Map<string, OraclePrice>;
|
|
9193
9231
|
pythFeedMap: PythPushFeedIdMap;
|
|
9194
9232
|
}>;
|
|
9233
|
+
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
9195
9234
|
//#endregion
|
|
9196
9235
|
//#region src/services/price/utils/serialize.utils.d.ts
|
|
9197
9236
|
declare function oraclePriceToDto(oraclePrice: OraclePrice): OraclePriceDto;
|
|
9237
|
+
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
9238
|
+
|
|
9198
9239
|
//#endregion
|
|
9199
9240
|
//#region src/services/bank/utils/compute.utils.d.ts
|
|
9200
9241
|
declare function computeMaxLeverage(depositBank: BankType, borrowBank: BankType, opts?: {
|
|
@@ -9235,6 +9276,7 @@ declare function computeRemainingCapacity(bank: BankType): {
|
|
|
9235
9276
|
depositCapacity: BigNumber;
|
|
9236
9277
|
borrowCapacity: BigNumber;
|
|
9237
9278
|
};
|
|
9279
|
+
//# sourceMappingURL=compute.utils.d.ts.map
|
|
9238
9280
|
//#endregion
|
|
9239
9281
|
//#region src/services/bank/utils/deserialize.utils.d.ts
|
|
9240
9282
|
declare function decodeBankRaw(encoded: Buffer, idl: LendrIdlType): BankRaw;
|
|
@@ -9270,6 +9312,7 @@ declare function hasEmodeEntryFlag(flags: number, flag: number): boolean;
|
|
|
9270
9312
|
* Parse a raw EMode tag number into the corresponding EmodeTag enum value
|
|
9271
9313
|
*/
|
|
9272
9314
|
declare function parseEmodeTag(emodeTagRaw: number): EmodeTag;
|
|
9315
|
+
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9273
9316
|
//#endregion
|
|
9274
9317
|
//#region src/services/bank/utils/fetch.utils.d.ts
|
|
9275
9318
|
declare const fetchMultipleBanks: (program: LendrProgram, opts?: {
|
|
@@ -9279,6 +9322,7 @@ declare const fetchMultipleBanks: (program: LendrProgram, opts?: {
|
|
|
9279
9322
|
address: PublicKey;
|
|
9280
9323
|
data: BankRaw;
|
|
9281
9324
|
}[]>;
|
|
9325
|
+
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
9282
9326
|
//#endregion
|
|
9283
9327
|
//#region src/services/bank/utils/serialize.utils.d.ts
|
|
9284
9328
|
declare function serializeBankConfigOpt(bankConfigOpt: BankConfigOpt): BankConfigOptRaw;
|
|
@@ -9363,6 +9407,7 @@ declare enum AccountFlags {
|
|
|
9363
9407
|
// 4
|
|
9364
9408
|
ACCOUNT_TRANSFER_AUTHORITY_ALLOWED = 8,
|
|
9365
9409
|
}
|
|
9410
|
+
//# sourceMappingURL=account.types.d.ts.map
|
|
9366
9411
|
//#endregion
|
|
9367
9412
|
//#region src/services/account/types/dto-account.types.d.ts
|
|
9368
9413
|
interface BalanceTypeDto {
|
|
@@ -9394,6 +9439,7 @@ interface LendrAccountTypeDto {
|
|
|
9394
9439
|
emissionsDestinationAccount: string;
|
|
9395
9440
|
healthCache: HealthCacheTypeDto;
|
|
9396
9441
|
}
|
|
9442
|
+
//# sourceMappingURL=dto-account.types.d.ts.map
|
|
9397
9443
|
//#endregion
|
|
9398
9444
|
//#region src/services/account/types/raw-account.types.d.ts
|
|
9399
9445
|
interface BalanceRaw {
|
|
@@ -9438,6 +9484,7 @@ type LendrRequirementTypeRaw = {
|
|
|
9438
9484
|
} | {
|
|
9439
9485
|
equity: {};
|
|
9440
9486
|
};
|
|
9487
|
+
//# sourceMappingURL=raw-account.types.d.ts.map
|
|
9441
9488
|
//#endregion
|
|
9442
9489
|
//#region src/services/account/account.service.d.ts
|
|
9443
9490
|
/**
|
|
@@ -9498,6 +9545,7 @@ declare function getActiveStaleBanks(balances: Balance[], banks: BankMap, additi
|
|
|
9498
9545
|
oracleKey: PublicKey;
|
|
9499
9546
|
}[];
|
|
9500
9547
|
};
|
|
9548
|
+
//# sourceMappingURL=account.service.d.ts.map
|
|
9501
9549
|
//#endregion
|
|
9502
9550
|
//#region src/services/account/utils/compute.utils.d.ts
|
|
9503
9551
|
/**
|
|
@@ -9548,6 +9596,7 @@ declare function computeClaimedEmissions(balance: BalanceType, bank: BankType, c
|
|
|
9548
9596
|
declare function computeTotalOutstandingEmissions(balance: BalanceType, bank: BankType): BigNumber;
|
|
9549
9597
|
declare function computeHealthCheckAccounts(balances: BalanceType[], banks: Map<string, BankType>, mandatoryBanks?: PublicKey[], excludedBanks?: PublicKey[]): BankType[];
|
|
9550
9598
|
declare function computeHealthAccountMetas(banksToInclude: BankType[], bankMetadataMap?: BankMetadataMap, enableSorting?: boolean, bankExtendedMetadata?: BankExtendedMetadata): PublicKey[];
|
|
9599
|
+
//# sourceMappingURL=compute.utils.d.ts.map
|
|
9551
9600
|
//#endregion
|
|
9552
9601
|
//#region src/services/account/utils/deserialize.utils.d.ts
|
|
9553
9602
|
declare function decodeAccountRaw(encoded: Buffer, idl: LendrIdlType): LendrAccountRaw;
|
|
@@ -9589,10 +9638,13 @@ declare function getHealthCacheStatusDescription(flags: number): string;
|
|
|
9589
9638
|
declare function dtoToLendrAccount(lendrAccountDto: LendrAccountTypeDto): LendrAccountType;
|
|
9590
9639
|
declare function dtoToBalance(balanceDto: BalanceTypeDto): BalanceType;
|
|
9591
9640
|
declare function dtoToHealthCache(healthCacheDto: HealthCacheTypeDto): HealthCacheType;
|
|
9641
|
+
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9592
9642
|
//#endregion
|
|
9593
9643
|
//#region src/services/account/utils/emode.utils.d.ts
|
|
9594
9644
|
declare function computeEmodeImpacts(emodePairs: EmodePair[], activeLiabilities: PublicKey[], activeCollateral: PublicKey[], allBanks: PublicKey[]): Record<string, ActionEmodeImpact>;
|
|
9595
9645
|
declare function computeActiveEmodePairs(emodePairs: EmodePair[], activeLiabilities: PublicKey[], activeCollateral: PublicKey[]): EmodePair[];
|
|
9646
|
+
//# sourceMappingURL=emode.utils.d.ts.map
|
|
9647
|
+
|
|
9596
9648
|
//#endregion
|
|
9597
9649
|
//#region src/services/account/utils/fetch.utils.d.ts
|
|
9598
9650
|
declare const fetchLendrAccountAddresses: (program: LendrProgram, authority: PublicKey, group: PublicKey) => Promise<PublicKey[]>;
|
|
@@ -9600,6 +9652,7 @@ declare const fetchLendrAccountData: (program: LendrProgram, lendrAccountPk: Pub
|
|
|
9600
9652
|
lendrAccount: LendrAccountType;
|
|
9601
9653
|
error?: HealthCacheSimulationError;
|
|
9602
9654
|
}>;
|
|
9655
|
+
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
9603
9656
|
//#endregion
|
|
9604
9657
|
//#region src/services/account/utils/serialize.utils.d.ts
|
|
9605
9658
|
/**
|
|
@@ -9609,6 +9662,7 @@ declare function accountFlagToBN(flag: AccountFlags): BN$2;
|
|
|
9609
9662
|
declare function lendrAccountToDto(lendrAccount: LendrAccountType): LendrAccountTypeDto;
|
|
9610
9663
|
declare function balanceToDto(balance: BalanceType): BalanceTypeDto;
|
|
9611
9664
|
declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto;
|
|
9665
|
+
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
9612
9666
|
//#endregion
|
|
9613
9667
|
//#region src/services/group/group.service.d.ts
|
|
9614
9668
|
declare function makeEnableFlashLoanForAccountIx(program: LendrProgram, lendrAccountAddress: PublicKey): Promise<InstructionsWrapper>;
|
|
@@ -9621,6 +9675,7 @@ declare function makePoolAddBankIx(program: LendrProgram, group: PublicKey, bank
|
|
|
9621
9675
|
admin?: PublicKey;
|
|
9622
9676
|
globalFeeWallet?: PublicKey;
|
|
9623
9677
|
}): Promise<InstructionsWrapper>;
|
|
9678
|
+
//# sourceMappingURL=group.service.d.ts.map
|
|
9624
9679
|
//#endregion
|
|
9625
9680
|
//#region src/services/group/types/group.types.d.ts
|
|
9626
9681
|
type LendrGroupType = {
|
|
@@ -9631,6 +9686,7 @@ type LendrGroupTypeDto = {
|
|
|
9631
9686
|
admin: string;
|
|
9632
9687
|
address: string;
|
|
9633
9688
|
};
|
|
9689
|
+
//# sourceMappingURL=group.types.d.ts.map
|
|
9634
9690
|
//#endregion
|
|
9635
9691
|
//#region src/services/group/types/raw-group.types.d.ts
|
|
9636
9692
|
interface LendrGroupRaw {
|
|
@@ -9641,9 +9697,11 @@ interface LendrGroupRaw {
|
|
|
9641
9697
|
//#endregion
|
|
9642
9698
|
//#region src/services/group/utils/deserialize.utils.d.ts
|
|
9643
9699
|
declare function dtoToGroup(groupDto: LendrGroupTypeDto): LendrGroupType;
|
|
9700
|
+
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9644
9701
|
//#endregion
|
|
9645
9702
|
//#region src/services/group/utils/serialize.utils.d.ts
|
|
9646
9703
|
declare function groupToDto(group: LendrGroupType): LendrGroupTypeDto;
|
|
9704
|
+
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
9647
9705
|
//#endregion
|
|
9648
9706
|
//#region src/services/metadata.d.ts
|
|
9649
9707
|
declare const metadataSchema: z$1.ZodMiniObject<{
|
|
@@ -9673,6 +9731,7 @@ declare class MetadataService {
|
|
|
9673
9731
|
}>;
|
|
9674
9732
|
private fetchMetadata;
|
|
9675
9733
|
}
|
|
9734
|
+
//# sourceMappingURL=metadata.d.ts.map
|
|
9676
9735
|
//#endregion
|
|
9677
9736
|
//#region src/services/native-stake/types/stake.types.d.ts
|
|
9678
9737
|
type ValidatorStakeGroup = {
|
|
@@ -9737,9 +9796,12 @@ type ValidatorRateData = {
|
|
|
9737
9796
|
stakingApy: number;
|
|
9738
9797
|
};
|
|
9739
9798
|
type ActiveStakePoolMap = Map<string, boolean>;
|
|
9799
|
+
//# sourceMappingURL=stake.types.d.ts.map
|
|
9740
9800
|
//#endregion
|
|
9741
9801
|
//#region src/services/native-stake/utils/deserialize.utils.d.ts
|
|
9742
9802
|
declare function dtoToValidatorStakeGroup(validatorStakeGroupDto: ValidatorStakeGroupDto): ValidatorStakeGroup;
|
|
9803
|
+
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9804
|
+
|
|
9743
9805
|
//#endregion
|
|
9744
9806
|
//#region src/services/native-stake/utils/fetch.utils.d.ts
|
|
9745
9807
|
/**
|
|
@@ -9771,9 +9833,11 @@ declare const fetchStakePoolActiveStates: (connection: Connection, validatorVote
|
|
|
9771
9833
|
*/
|
|
9772
9834
|
declare const fetchStakeAccount: (data: Buffer) => StakeAccount;
|
|
9773
9835
|
declare const fetchStakePoolMev: (connection: Connection, validatorVoteAccounts: PublicKey[]) => Promise<StakePoolMevMap>;
|
|
9836
|
+
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
9774
9837
|
//#endregion
|
|
9775
9838
|
//#region src/services/native-stake/utils/serialize.utils.d.ts
|
|
9776
9839
|
declare function validatorStakeGroupToDto(validatorStakeGroup: ValidatorStakeGroup): ValidatorStakeGroupDto;
|
|
9840
|
+
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
9777
9841
|
//#endregion
|
|
9778
9842
|
//#region src/services/transaction/helpers/bundle-sending.d.ts
|
|
9779
9843
|
declare class SendBundleError extends Error {
|
|
@@ -9783,6 +9847,7 @@ declare class SendBundleError extends Error {
|
|
|
9783
9847
|
declare function sendTransactionAsGrpcBundle(connection: Connection, base58Txs: string[], throwError?: boolean): Promise<string | undefined>;
|
|
9784
9848
|
declare function sendTransactionAsBundle(connection: Connection, base58Txs: string[], throwError?: boolean, tempBundleId?: string): Promise<string | undefined>;
|
|
9785
9849
|
declare function confirmBundle(connection: Connection, bundleId: string, commitment?: Commitment): Promise<string>;
|
|
9850
|
+
//# sourceMappingURL=bundle-sending.d.ts.map
|
|
9786
9851
|
//#endregion
|
|
9787
9852
|
//#region src/services/transaction/helpers/bundle-simulation.d.ts
|
|
9788
9853
|
declare class BundleSimulationError extends Error {
|
|
@@ -9802,6 +9867,7 @@ interface RpcSimulateBundleTransactionResult {
|
|
|
9802
9867
|
returnData?: any;
|
|
9803
9868
|
}
|
|
9804
9869
|
declare function simulateBundle(rpcEndpoint: string, transactions: VersionedTransaction[], includeAccounts?: Array<PublicKey>): Promise<RpcSimulateBundleTransactionResult[]>;
|
|
9870
|
+
//# sourceMappingURL=bundle-simulation.d.ts.map
|
|
9805
9871
|
//#endregion
|
|
9806
9872
|
//#region src/services/transaction/helpers/rpc-sending.d.ts
|
|
9807
9873
|
type SendTransactionAsRpcProps = {
|
|
@@ -9989,6 +10055,8 @@ interface BankMetadata {
|
|
|
9989
10055
|
type BankMetadataMap = {
|
|
9990
10056
|
[address: string]: BankMetadata;
|
|
9991
10057
|
};
|
|
10058
|
+
//# sourceMappingURL=bank-metadata.d.ts.map
|
|
10059
|
+
|
|
9992
10060
|
//#endregion
|
|
9993
10061
|
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, EmodeConfigRaw, EmodeConfigRawDto, EmodeEntry, EmodeEntryDto, EmodeEntryFlags, EmodeFlags, EmodeImpact, EmodeImpactStatus, EmodePair, EmodeSettings, EmodeSettingsDto, EmodeSettingsRaw, EmodeSettingsRawDto, EmodeSettingsType, EmodeTag, Environment, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, FLASHLOAN_ENABLED_FLAG, FetchGroupDataFn, FlashLoanArgs, FlashloanActionResult, GROUP_PK, HOURS_PER_YEAR, HealthCache, HealthCacheFlags, HealthCacheRaw, HealthCacheSimulationError, HealthCacheType, HealthCacheTypeDto, 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, 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, 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, instructions, 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, toBankConfigDto, toBankDto, toBigNumber, toEmodeSettingsDto, toInterestRateConfigDto, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, validatorStakeGroupToDto, wrappedI80F48toBigNumber };
|
|
9994
|
-
//# sourceMappingURL=index-
|
|
10062
|
+
//# sourceMappingURL=index-DUhjh5_z.d.mts.map
|