@pyron-finance/pyron-client 1.0.0 → 1.0.2
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-B9dir_RE.mjs → chunk-D3ESV8qN.mjs} +3 -1
- 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-DoxqUMQW.d.ts → index-Bpr6asS1.d.ts} +1 -69
- package/dist/index-Bpr6asS1.d.ts.map +1 -0
- package/dist/{index-DUhjh5_z.d.mts → index-CjdbT6Xw.d.mts} +1 -69
- package/dist/index-CjdbT6Xw.d.mts.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-DITEj1yC.mjs → src-B_34n__D.mjs} +227 -368
- package/dist/src-B_34n__D.mjs.map +1 -0
- package/dist/{src-WLna_-6m.js → src-CWX5tHYY.js} +254 -380
- package/package.json +9 -7
- package/dist/index-DUhjh5_z.d.mts.map +0 -1
- package/dist/index-DoxqUMQW.d.ts.map +0 -1
- package/dist/src-DITEj1yC.mjs.map +0 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
//#region rolldown:runtime
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
-
var __export = (
|
|
3
|
+
var __export = (all) => {
|
|
4
|
+
let target = {};
|
|
4
5
|
for (var name in all) __defProp(target, name, {
|
|
5
6
|
get: all[name],
|
|
6
7
|
enumerable: true
|
|
7
8
|
});
|
|
9
|
+
return target;
|
|
8
10
|
};
|
|
9
11
|
|
|
10
12
|
//#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-CjdbT6Xw.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-Bpr6asS1.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-B_34n__D.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 };
|
|
@@ -43,7 +43,6 @@ type WalletToken = {
|
|
|
43
43
|
ata: PublicKey;
|
|
44
44
|
mintDecimals: number;
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=types.d.ts.map
|
|
47
46
|
//#endregion
|
|
48
47
|
//#region src/common/nodeWallet.d.ts
|
|
49
48
|
/**
|
|
@@ -61,7 +60,6 @@ declare class NodeWallet implements Wallet {
|
|
|
61
60
|
signAllTransactions<T extends Transaction | VersionedTransaction>(txs: T[]): Promise<T[]>;
|
|
62
61
|
get publicKey(): PublicKey;
|
|
63
62
|
}
|
|
64
|
-
//# sourceMappingURL=nodeWallet.d.ts.map
|
|
65
63
|
//#endregion
|
|
66
64
|
//#region src/common/math.d.ts
|
|
67
65
|
declare function floor(value: number, decimals: number): number;
|
|
@@ -79,7 +77,6 @@ declare function setTimeoutPromise(duration: number, message: string): Promise<E
|
|
|
79
77
|
declare function chunkedGetRawMultipleAccountInfos(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<[number, Map<string, AccountInfo<Buffer>>]>;
|
|
80
78
|
declare function chunkedGetRawMultipleAccountInfoOrderedWithNulls(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<Array<AccountInfo<Buffer> | null>>;
|
|
81
79
|
declare function chunkedGetRawMultipleAccountInfoOrdered(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<Array<AccountInfo<Buffer>>>;
|
|
82
|
-
//# sourceMappingURL=misc.d.ts.map
|
|
83
80
|
//#endregion
|
|
84
81
|
//#region src/common/modules/transactions/transaction.types.d.ts
|
|
85
82
|
declare enum TransactionType {
|
|
@@ -395,7 +392,6 @@ declare function bpsToPercentile(bps: number): number;
|
|
|
395
392
|
* composition
|
|
396
393
|
*/
|
|
397
394
|
declare const composeRemainingAccounts: (banksAndOracles: PublicKey[][]) => PublicKey[];
|
|
398
|
-
//# sourceMappingURL=conversion.utils.d.ts.map
|
|
399
395
|
//#endregion
|
|
400
396
|
//#region src/common/utils/formatters.utils.d.ts
|
|
401
397
|
declare class CustomNumberFormat extends Intl.NumberFormat {
|
|
@@ -4532,12 +4528,10 @@ type Lendr = {
|
|
|
4532
4528
|
};
|
|
4533
4529
|
}];
|
|
4534
4530
|
};
|
|
4535
|
-
//# sourceMappingURL=lendr-types_0.1.3.d.ts.map
|
|
4536
4531
|
//#endregion
|
|
4537
4532
|
//#region src/idl/index.d.ts
|
|
4538
4533
|
declare const LENDR_IDL: LendrIdlType;
|
|
4539
4534
|
type LendrIdlType = Lendr;
|
|
4540
|
-
//# sourceMappingURL=index.d.ts.map
|
|
4541
4535
|
//#endregion
|
|
4542
4536
|
//#region src/types.d.ts
|
|
4543
4537
|
type LendrProgram = Program$1<LendrIdlType>;
|
|
@@ -4592,7 +4586,6 @@ type LendingAccountWithdrawOrBorrowWithSessionAccounts = {
|
|
|
4592
4586
|
tokenProgram: PublicKey;
|
|
4593
4587
|
group?: PublicKey;
|
|
4594
4588
|
};
|
|
4595
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4596
4589
|
//#endregion
|
|
4597
4590
|
//#region src/common/session.d.ts
|
|
4598
4591
|
type EstablishedSessionState = {
|
|
@@ -4601,7 +4594,6 @@ type EstablishedSessionState = {
|
|
|
4601
4594
|
payer: PublicKey;
|
|
4602
4595
|
sendTransaction: (instructions: Array<TransactionInstruction> | VersionedTransaction) => Promise<TransactionResult>;
|
|
4603
4596
|
};
|
|
4604
|
-
//# sourceMappingURL=session.d.ts.map
|
|
4605
4597
|
//#endregion
|
|
4606
4598
|
//#region src/instructions.d.ts
|
|
4607
4599
|
declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -4866,7 +4858,6 @@ declare function getConfig({
|
|
|
4866
4858
|
environment?: Environment;
|
|
4867
4859
|
overrides?: Partial<Omit<LendrConfig, "environment">>;
|
|
4868
4860
|
}): LendrConfig;
|
|
4869
|
-
//# sourceMappingURL=config.d.ts.map
|
|
4870
4861
|
//#endregion
|
|
4871
4862
|
//#region src/constants/bank.d.ts
|
|
4872
4863
|
declare const PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED: Buffer<ArrayBuffer>;
|
|
@@ -4875,7 +4866,6 @@ declare const PDA_BANK_FEE_VAULT_AUTH_SEED: Buffer<ArrayBuffer>;
|
|
|
4875
4866
|
declare const PDA_BANK_LIQUIDITY_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
4876
4867
|
declare const PDA_BANK_INSURANCE_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
4877
4868
|
declare const PDA_BANK_FEE_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
4878
|
-
//# sourceMappingURL=bank.d.ts.map
|
|
4879
4869
|
//#endregion
|
|
4880
4870
|
//#region src/constants/misc.d.ts
|
|
4881
4871
|
declare const HOURS_PER_YEAR: number;
|
|
@@ -4887,13 +4877,11 @@ declare const PYTH_PUSH_ORACLE_ID: PublicKey;
|
|
|
4887
4877
|
declare const GROUP_PK: PublicKey;
|
|
4888
4878
|
declare const PROGRAM_ID: PublicKey;
|
|
4889
4879
|
declare const DEFAULT_CLUSTER: string;
|
|
4890
|
-
//# sourceMappingURL=misc.d.ts.map
|
|
4891
4880
|
//#endregion
|
|
4892
4881
|
//#region src/constants/flags.d.ts
|
|
4893
4882
|
declare const DISABLED_FLAG: number;
|
|
4894
4883
|
declare const FLASHLOAN_ENABLED_FLAG: number;
|
|
4895
4884
|
declare const TRANSFER_ACCOUNT_AUTHORITY_FLAG: number;
|
|
4896
|
-
//# sourceMappingURL=flags.d.ts.map
|
|
4897
4885
|
//#endregion
|
|
4898
4886
|
//#region src/constants/tokens.d.ts
|
|
4899
4887
|
declare const WSOL_MINT: PublicKey;
|
|
@@ -4902,7 +4890,6 @@ declare const LST_MINT: PublicKey;
|
|
|
4902
4890
|
declare const USDC_MINT: PublicKey;
|
|
4903
4891
|
declare const DUMMY_USDC_MINT: PublicKey;
|
|
4904
4892
|
declare const USDC_DECIMALS = 6;
|
|
4905
|
-
//# sourceMappingURL=tokens.d.ts.map
|
|
4906
4893
|
//#endregion
|
|
4907
4894
|
//#region src/constants/defaults.d.ts
|
|
4908
4895
|
declare const DEFAULT_COMMITMENT: Commitment;
|
|
@@ -4914,7 +4901,6 @@ declare const BUNDLE_TX_SIZE$1 = 81;
|
|
|
4914
4901
|
declare const PRIORITY_TX_SIZE$1 = 44;
|
|
4915
4902
|
declare const SKIP_SIMULATION = false;
|
|
4916
4903
|
declare const DEFAULT_ORACLE_MAX_AGE = 60;
|
|
4917
|
-
//# sourceMappingURL=defaults.d.ts.map
|
|
4918
4904
|
//#endregion
|
|
4919
4905
|
//#region src/constants/programs.d.ts
|
|
4920
4906
|
declare const LUT_PROGRAM_AUTHORITY_INDEX = 5;
|
|
@@ -4928,7 +4914,6 @@ declare const SYSVAR_RENT_ID: PublicKey;
|
|
|
4928
4914
|
declare const SYSVAR_CLOCK_ID: PublicKey;
|
|
4929
4915
|
declare const SYSVAR_STAKE_HISTORY_ID: PublicKey;
|
|
4930
4916
|
declare const STAKE_CONFIG_ID: PublicKey;
|
|
4931
|
-
//# sourceMappingURL=programs.d.ts.map
|
|
4932
4917
|
//#endregion
|
|
4933
4918
|
//#region src/errors.d.ts
|
|
4934
4919
|
declare enum ProcessTransactionErrorType {
|
|
@@ -4978,7 +4963,6 @@ declare function parseTransactionError(error: any, ldrProgramId: PublicKey): {
|
|
|
4978
4963
|
code: any;
|
|
4979
4964
|
};
|
|
4980
4965
|
declare function parseErrorFromLogs(logs: string[], ldrProgramId: PublicKey): ProgramErrorWithDescription | null;
|
|
4981
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
4982
4966
|
//#endregion
|
|
4983
4967
|
//#region src/services/price/types/price.types.d.ts
|
|
4984
4968
|
interface PriceWithConfidence {
|
|
@@ -5010,7 +4994,6 @@ interface OraclePriceDto {
|
|
|
5010
4994
|
timestamp: string;
|
|
5011
4995
|
pythShardId?: number;
|
|
5012
4996
|
}
|
|
5013
|
-
//# sourceMappingURL=price.types.d.ts.map
|
|
5014
4997
|
//#endregion
|
|
5015
4998
|
//#region src/utils.d.ts
|
|
5016
4999
|
declare function getBankVaultSeeds(type: BankVaultType): Buffer;
|
|
@@ -5043,7 +5026,6 @@ declare function findOracleKey(bankConfig: BankConfig, feedMap: PythPushFeedIdMa
|
|
|
5043
5026
|
declare const PYTH_SPONSORED_SHARD_ID = 0;
|
|
5044
5027
|
declare const LENDR_SPONSORED_SHARD_ID = 3301;
|
|
5045
5028
|
declare function findPythPushOracleAddress(feedId: Buffer, programId: PublicKey, shardId: number): PublicKey;
|
|
5046
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
5047
5029
|
//#endregion
|
|
5048
5030
|
//#region src/models/emode-settings.d.ts
|
|
5049
5031
|
declare class EmodeSettings implements EmodeSettingsType {
|
|
@@ -5054,7 +5036,6 @@ declare class EmodeSettings implements EmodeSettingsType {
|
|
|
5054
5036
|
constructor(emodeTag: EmodeTag, timestamp: number, flags: EmodeFlags[], emodeEntries: EmodeEntry[]);
|
|
5055
5037
|
static from(emodeSettingsRaw: EmodeSettingsRaw): EmodeSettings;
|
|
5056
5038
|
}
|
|
5057
|
-
//# sourceMappingURL=emode-settings.d.ts.map
|
|
5058
5039
|
//#endregion
|
|
5059
5040
|
//#region src/models/bank.d.ts
|
|
5060
5041
|
declare class Bank implements BankType {
|
|
@@ -5192,7 +5173,6 @@ declare class HealthCache implements HealthCacheType {
|
|
|
5192
5173
|
constructor(assetValue: BigNumber, liabilityValue: BigNumber, assetValueMaint: BigNumber, liabilityValueMaint: BigNumber, assetValueEquity: BigNumber, liabilityValueEquity: BigNumber, timestamp: BigNumber, flags: HealthCacheFlags[], prices: number[][], simulationFailed?: boolean | undefined);
|
|
5193
5174
|
static from(healthCacheRaw: HealthCacheRaw): HealthCache;
|
|
5194
5175
|
}
|
|
5195
|
-
//# sourceMappingURL=health-cache.d.ts.map
|
|
5196
5176
|
//#endregion
|
|
5197
5177
|
//#region src/models/account/pure.d.ts
|
|
5198
5178
|
declare class LendrAccount implements LendrAccountType {
|
|
@@ -5539,7 +5519,6 @@ interface FlashloanActionResult extends TransactionBuilderResult {
|
|
|
5539
5519
|
/** Whether transaction size exceeds limits */
|
|
5540
5520
|
txOverflown: boolean;
|
|
5541
5521
|
}
|
|
5542
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5543
5522
|
//#endregion
|
|
5544
5523
|
//#region src/models/group.d.ts
|
|
5545
5524
|
declare class LendrGroup implements LendrGroupType {
|
|
@@ -6228,7 +6207,6 @@ interface PriceComponent {
|
|
|
6228
6207
|
latest: Price;
|
|
6229
6208
|
}
|
|
6230
6209
|
declare const parsePriceData: (data: Buffer, currentSlot?: number) => PriceData;
|
|
6231
|
-
//# sourceMappingURL=index.d.ts.map
|
|
6232
6210
|
//#endregion
|
|
6233
6211
|
//#region src/vendor/pyth_push_oracle/index.d.ts
|
|
6234
6212
|
type PriceUpdateV2 = {
|
|
@@ -6283,7 +6261,6 @@ type StakeAccount$1 = {
|
|
|
6283
6261
|
* Copied from https://github.com/solana-developers/solana-rpc-get-stake-activation/blob/main/web3js-1.0/src/stake.ts
|
|
6284
6262
|
* */
|
|
6285
6263
|
declare const getStakeAccount: (data: Buffer) => StakeAccount$1;
|
|
6286
|
-
//# sourceMappingURL=index.d.ts.map
|
|
6287
6264
|
//#endregion
|
|
6288
6265
|
//#region src/vendor/single-spl-pool/index.d.ts
|
|
6289
6266
|
declare const SinglePoolInstruction: {
|
|
@@ -6321,7 +6298,6 @@ declare class Account {
|
|
|
6321
6298
|
constructor(program: any, publicKey: anchor.web3.PublicKey);
|
|
6322
6299
|
}
|
|
6323
6300
|
declare const BUFFER_DISCRIMINATOR: Buffer<ArrayBuffer>;
|
|
6324
|
-
//# sourceMappingURL=account.d.ts.map
|
|
6325
6301
|
//#endregion
|
|
6326
6302
|
//#region src/vendor/switchboard_legacy/aggregatorAccount.d.ts
|
|
6327
6303
|
declare class AggregatorAccount extends Account {
|
|
@@ -6334,7 +6310,6 @@ declare class AggregatorAccount extends Account {
|
|
|
6334
6310
|
};
|
|
6335
6311
|
}): any;
|
|
6336
6312
|
}
|
|
6337
|
-
//# sourceMappingURL=aggregatorAccount.d.ts.map
|
|
6338
6313
|
//#endregion
|
|
6339
6314
|
//#region src/vendor/switchboard_legacy/aggregatorAccountData.d.ts
|
|
6340
6315
|
declare class AggregatorAccountData {
|
|
@@ -6415,7 +6390,6 @@ declare class AggregatorAccountData {
|
|
|
6415
6390
|
constructor(fields: any);
|
|
6416
6391
|
static decode(data: any): AggregatorAccountData;
|
|
6417
6392
|
}
|
|
6418
|
-
//# sourceMappingURL=aggregatorAccountData.d.ts.map
|
|
6419
6393
|
//#endregion
|
|
6420
6394
|
//#region src/vendor/switchboard_pull/index.d.ts
|
|
6421
6395
|
declare const SWITCHBOARD_ONDEMANDE_PRICE_PRECISION = 18;
|
|
@@ -6460,10 +6434,6 @@ interface FeedResponse {
|
|
|
6460
6434
|
declare const switchboardAccountCoder: BorshCoder<string, string>;
|
|
6461
6435
|
declare function getSwitchboardProgram(provider: Provider): Program;
|
|
6462
6436
|
declare function decodeSwitchboardPullFeedData(data: Buffer): PullFeedAccountData;
|
|
6463
|
-
//# sourceMappingURL=index.d.ts.map
|
|
6464
|
-
declare namespace index_d_exports {
|
|
6465
|
-
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 };
|
|
6466
|
-
}
|
|
6467
6437
|
//#endregion
|
|
6468
6438
|
//#region src/clients/client.d.ts
|
|
6469
6439
|
type BankMap = Map<string, Bank>;
|
|
@@ -6872,7 +6842,6 @@ type PythPushOracle = {
|
|
|
6872
6842
|
}];
|
|
6873
6843
|
};
|
|
6874
6844
|
declare const PYTH_PUSH_ORACLE_IDL: PythPushOracle;
|
|
6875
|
-
//# sourceMappingURL=pyth_push_oracle.d.ts.map
|
|
6876
6845
|
//#endregion
|
|
6877
6846
|
//#region src/vendor/pyth_crank/idl/pyth_wormhole.d.ts
|
|
6878
6847
|
/**
|
|
@@ -7999,7 +7968,6 @@ type WormholeCoreBridgeSolana = {
|
|
|
7999
7968
|
}];
|
|
8000
7969
|
};
|
|
8001
7970
|
declare const PYTH_WORMHOLE_IDL: WormholeCoreBridgeSolana;
|
|
8002
|
-
//# sourceMappingURL=pyth_wormhole.d.ts.map
|
|
8003
7971
|
//#endregion
|
|
8004
7972
|
//#region src/vendor/pyth_crank/idl/receiver_program.d.ts
|
|
8005
7973
|
/**
|
|
@@ -8593,7 +8561,6 @@ type PythSolanaReceiver = {
|
|
|
8593
8561
|
}];
|
|
8594
8562
|
};
|
|
8595
8563
|
declare const PYTH_SOLANA_RECEIVER_PROGRAM_IDL: PythSolanaReceiver;
|
|
8596
|
-
//# sourceMappingURL=receiver_program.d.ts.map
|
|
8597
8564
|
//#endregion
|
|
8598
8565
|
//#region src/vendor/pyth_crank/pyth.consts.d.ts
|
|
8599
8566
|
declare const DEFAULT_RECEIVER_PROGRAM_ID: PublicKey;
|
|
@@ -8639,7 +8606,6 @@ declare const WRITE_ENCODED_VAA_COMPUTE_BUDGET = 3000;
|
|
|
8639
8606
|
declare const CLOSE_ENCODED_VAA_COMPUTE_BUDGET = 30000;
|
|
8640
8607
|
declare const VAA_SPLIT_INDEX = 721;
|
|
8641
8608
|
declare const VAA_START = 46;
|
|
8642
|
-
//# sourceMappingURL=pyth.consts.d.ts.map
|
|
8643
8609
|
//#endregion
|
|
8644
8610
|
//#region src/vendor/pyth_crank/pyth.utils.d.ts
|
|
8645
8611
|
declare function getGuardianSetIndex(vaa: Buffer): number;
|
|
@@ -8692,7 +8658,6 @@ type PriceFeedMessage = {
|
|
|
8692
8658
|
emaConf: BN;
|
|
8693
8659
|
};
|
|
8694
8660
|
declare function parsePriceFeedMessage(message: Buffer): PriceFeedMessage;
|
|
8695
|
-
//# sourceMappingURL=pyth.utils.d.ts.map
|
|
8696
8661
|
//#endregion
|
|
8697
8662
|
//#region src/services/bank/types/bank.types.d.ts
|
|
8698
8663
|
declare enum RiskTier {
|
|
@@ -8875,7 +8840,6 @@ interface ActionEmodeImpact {
|
|
|
8875
8840
|
repayAllImpact?: EmodeImpact;
|
|
8876
8841
|
withdrawAllImpact?: EmodeImpact;
|
|
8877
8842
|
}
|
|
8878
|
-
//# sourceMappingURL=bank.types.d.ts.map
|
|
8879
8843
|
//#endregion
|
|
8880
8844
|
//#region src/services/bank/types/raw-bank.types.d.ts
|
|
8881
8845
|
interface BankRaw {
|
|
@@ -9184,8 +9148,6 @@ declare function parseOraclePriceData(oracleSetup: OracleSetup, rawData: Buffer,
|
|
|
9184
9148
|
//#endregion
|
|
9185
9149
|
//#region src/services/price/utils/deserialize.utils.d.ts
|
|
9186
9150
|
declare function dtoToOraclePrice(dto: OraclePriceDto): OraclePrice;
|
|
9187
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9188
|
-
|
|
9189
9151
|
//#endregion
|
|
9190
9152
|
//#region src/services/price/utils/fetch.utils.d.ts
|
|
9191
9153
|
declare const fetchPythOracleData: (banks: {
|
|
@@ -9232,12 +9194,9 @@ declare const fetchOracleData: (banks: {
|
|
|
9232
9194
|
bankOraclePriceMap: Map<string, OraclePrice>;
|
|
9233
9195
|
pythFeedMap: PythPushFeedIdMap;
|
|
9234
9196
|
}>;
|
|
9235
|
-
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
9236
9197
|
//#endregion
|
|
9237
9198
|
//#region src/services/price/utils/serialize.utils.d.ts
|
|
9238
9199
|
declare function oraclePriceToDto(oraclePrice: OraclePrice): OraclePriceDto;
|
|
9239
|
-
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
9240
|
-
|
|
9241
9200
|
//#endregion
|
|
9242
9201
|
//#region src/services/bank/utils/compute.utils.d.ts
|
|
9243
9202
|
declare function computeMaxLeverage(depositBank: BankType, borrowBank: BankType, opts?: {
|
|
@@ -9278,7 +9237,6 @@ declare function computeRemainingCapacity(bank: BankType): {
|
|
|
9278
9237
|
depositCapacity: BigNumber;
|
|
9279
9238
|
borrowCapacity: BigNumber;
|
|
9280
9239
|
};
|
|
9281
|
-
//# sourceMappingURL=compute.utils.d.ts.map
|
|
9282
9240
|
//#endregion
|
|
9283
9241
|
//#region src/services/bank/utils/deserialize.utils.d.ts
|
|
9284
9242
|
declare function decodeBankRaw(encoded: Buffer, idl: LendrIdlType): BankRaw;
|
|
@@ -9314,7 +9272,6 @@ declare function hasEmodeEntryFlag(flags: number, flag: number): boolean;
|
|
|
9314
9272
|
* Parse a raw EMode tag number into the corresponding EmodeTag enum value
|
|
9315
9273
|
*/
|
|
9316
9274
|
declare function parseEmodeTag(emodeTagRaw: number): EmodeTag;
|
|
9317
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9318
9275
|
//#endregion
|
|
9319
9276
|
//#region src/services/bank/utils/fetch.utils.d.ts
|
|
9320
9277
|
declare const fetchMultipleBanks: (program: LendrProgram, opts?: {
|
|
@@ -9324,7 +9281,6 @@ declare const fetchMultipleBanks: (program: LendrProgram, opts?: {
|
|
|
9324
9281
|
address: PublicKey;
|
|
9325
9282
|
data: BankRaw;
|
|
9326
9283
|
}[]>;
|
|
9327
|
-
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
9328
9284
|
//#endregion
|
|
9329
9285
|
//#region src/services/bank/utils/serialize.utils.d.ts
|
|
9330
9286
|
declare function serializeBankConfigOpt(bankConfigOpt: BankConfigOpt): BankConfigOptRaw;
|
|
@@ -9409,7 +9365,6 @@ declare enum AccountFlags {
|
|
|
9409
9365
|
// 4
|
|
9410
9366
|
ACCOUNT_TRANSFER_AUTHORITY_ALLOWED = 8,
|
|
9411
9367
|
}
|
|
9412
|
-
//# sourceMappingURL=account.types.d.ts.map
|
|
9413
9368
|
//#endregion
|
|
9414
9369
|
//#region src/services/account/types/dto-account.types.d.ts
|
|
9415
9370
|
interface BalanceTypeDto {
|
|
@@ -9441,7 +9396,6 @@ interface LendrAccountTypeDto {
|
|
|
9441
9396
|
emissionsDestinationAccount: string;
|
|
9442
9397
|
healthCache: HealthCacheTypeDto;
|
|
9443
9398
|
}
|
|
9444
|
-
//# sourceMappingURL=dto-account.types.d.ts.map
|
|
9445
9399
|
//#endregion
|
|
9446
9400
|
//#region src/services/account/types/raw-account.types.d.ts
|
|
9447
9401
|
interface BalanceRaw {
|
|
@@ -9486,7 +9440,6 @@ type LendrRequirementTypeRaw = {
|
|
|
9486
9440
|
} | {
|
|
9487
9441
|
equity: {};
|
|
9488
9442
|
};
|
|
9489
|
-
//# sourceMappingURL=raw-account.types.d.ts.map
|
|
9490
9443
|
//#endregion
|
|
9491
9444
|
//#region src/services/account/account.service.d.ts
|
|
9492
9445
|
/**
|
|
@@ -9547,7 +9500,6 @@ declare function getActiveStaleBanks(balances: Balance[], banks: BankMap, additi
|
|
|
9547
9500
|
oracleKey: PublicKey;
|
|
9548
9501
|
}[];
|
|
9549
9502
|
};
|
|
9550
|
-
//# sourceMappingURL=account.service.d.ts.map
|
|
9551
9503
|
//#endregion
|
|
9552
9504
|
//#region src/services/account/utils/compute.utils.d.ts
|
|
9553
9505
|
/**
|
|
@@ -9598,7 +9550,6 @@ declare function computeClaimedEmissions(balance: BalanceType, bank: BankType, c
|
|
|
9598
9550
|
declare function computeTotalOutstandingEmissions(balance: BalanceType, bank: BankType): BigNumber;
|
|
9599
9551
|
declare function computeHealthCheckAccounts(balances: BalanceType[], banks: Map<string, BankType>, mandatoryBanks?: PublicKey[], excludedBanks?: PublicKey[]): BankType[];
|
|
9600
9552
|
declare function computeHealthAccountMetas(banksToInclude: BankType[], bankMetadataMap?: BankMetadataMap, enableSorting?: boolean, bankExtendedMetadata?: BankExtendedMetadata): PublicKey[];
|
|
9601
|
-
//# sourceMappingURL=compute.utils.d.ts.map
|
|
9602
9553
|
//#endregion
|
|
9603
9554
|
//#region src/services/account/utils/deserialize.utils.d.ts
|
|
9604
9555
|
declare function decodeAccountRaw(encoded: Buffer, idl: LendrIdlType): LendrAccountRaw;
|
|
@@ -9640,13 +9591,10 @@ declare function getHealthCacheStatusDescription(flags: number): string;
|
|
|
9640
9591
|
declare function dtoToLendrAccount(lendrAccountDto: LendrAccountTypeDto): LendrAccountType;
|
|
9641
9592
|
declare function dtoToBalance(balanceDto: BalanceTypeDto): BalanceType;
|
|
9642
9593
|
declare function dtoToHealthCache(healthCacheDto: HealthCacheTypeDto): HealthCacheType;
|
|
9643
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9644
9594
|
//#endregion
|
|
9645
9595
|
//#region src/services/account/utils/emode.utils.d.ts
|
|
9646
9596
|
declare function computeEmodeImpacts(emodePairs: EmodePair[], activeLiabilities: PublicKey[], activeCollateral: PublicKey[], allBanks: PublicKey[]): Record<string, ActionEmodeImpact>;
|
|
9647
9597
|
declare function computeActiveEmodePairs(emodePairs: EmodePair[], activeLiabilities: PublicKey[], activeCollateral: PublicKey[]): EmodePair[];
|
|
9648
|
-
//# sourceMappingURL=emode.utils.d.ts.map
|
|
9649
|
-
|
|
9650
9598
|
//#endregion
|
|
9651
9599
|
//#region src/services/account/utils/fetch.utils.d.ts
|
|
9652
9600
|
declare const fetchLendrAccountAddresses: (program: LendrProgram, authority: PublicKey, group: PublicKey) => Promise<PublicKey[]>;
|
|
@@ -9654,7 +9602,6 @@ declare const fetchLendrAccountData: (program: LendrProgram, lendrAccountPk: Pub
|
|
|
9654
9602
|
lendrAccount: LendrAccountType;
|
|
9655
9603
|
error?: HealthCacheSimulationError;
|
|
9656
9604
|
}>;
|
|
9657
|
-
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
9658
9605
|
//#endregion
|
|
9659
9606
|
//#region src/services/account/utils/serialize.utils.d.ts
|
|
9660
9607
|
/**
|
|
@@ -9664,7 +9611,6 @@ declare function accountFlagToBN(flag: AccountFlags): BN$1;
|
|
|
9664
9611
|
declare function lendrAccountToDto(lendrAccount: LendrAccountType): LendrAccountTypeDto;
|
|
9665
9612
|
declare function balanceToDto(balance: BalanceType): BalanceTypeDto;
|
|
9666
9613
|
declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto;
|
|
9667
|
-
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
9668
9614
|
//#endregion
|
|
9669
9615
|
//#region src/services/group/group.service.d.ts
|
|
9670
9616
|
declare function makeEnableFlashLoanForAccountIx(program: LendrProgram, lendrAccountAddress: PublicKey): Promise<InstructionsWrapper>;
|
|
@@ -9677,7 +9623,6 @@ declare function makePoolAddBankIx(program: LendrProgram, group: PublicKey, bank
|
|
|
9677
9623
|
admin?: PublicKey;
|
|
9678
9624
|
globalFeeWallet?: PublicKey;
|
|
9679
9625
|
}): Promise<InstructionsWrapper>;
|
|
9680
|
-
//# sourceMappingURL=group.service.d.ts.map
|
|
9681
9626
|
//#endregion
|
|
9682
9627
|
//#region src/services/group/types/group.types.d.ts
|
|
9683
9628
|
type LendrGroupType = {
|
|
@@ -9688,7 +9633,6 @@ type LendrGroupTypeDto = {
|
|
|
9688
9633
|
admin: string;
|
|
9689
9634
|
address: string;
|
|
9690
9635
|
};
|
|
9691
|
-
//# sourceMappingURL=group.types.d.ts.map
|
|
9692
9636
|
//#endregion
|
|
9693
9637
|
//#region src/services/group/types/raw-group.types.d.ts
|
|
9694
9638
|
interface LendrGroupRaw {
|
|
@@ -9699,11 +9643,9 @@ interface LendrGroupRaw {
|
|
|
9699
9643
|
//#endregion
|
|
9700
9644
|
//#region src/services/group/utils/deserialize.utils.d.ts
|
|
9701
9645
|
declare function dtoToGroup(groupDto: LendrGroupTypeDto): LendrGroupType;
|
|
9702
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9703
9646
|
//#endregion
|
|
9704
9647
|
//#region src/services/group/utils/serialize.utils.d.ts
|
|
9705
9648
|
declare function groupToDto(group: LendrGroupType): LendrGroupTypeDto;
|
|
9706
|
-
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
9707
9649
|
//#endregion
|
|
9708
9650
|
//#region src/services/metadata.d.ts
|
|
9709
9651
|
declare const metadataSchema: z$1.ZodMiniObject<{
|
|
@@ -9733,7 +9675,6 @@ declare class MetadataService {
|
|
|
9733
9675
|
}>;
|
|
9734
9676
|
private fetchMetadata;
|
|
9735
9677
|
}
|
|
9736
|
-
//# sourceMappingURL=metadata.d.ts.map
|
|
9737
9678
|
//#endregion
|
|
9738
9679
|
//#region src/services/native-stake/types/stake.types.d.ts
|
|
9739
9680
|
type ValidatorStakeGroup = {
|
|
@@ -9798,12 +9739,9 @@ type ValidatorRateData = {
|
|
|
9798
9739
|
stakingApy: number;
|
|
9799
9740
|
};
|
|
9800
9741
|
type ActiveStakePoolMap = Map<string, boolean>;
|
|
9801
|
-
//# sourceMappingURL=stake.types.d.ts.map
|
|
9802
9742
|
//#endregion
|
|
9803
9743
|
//#region src/services/native-stake/utils/deserialize.utils.d.ts
|
|
9804
9744
|
declare function dtoToValidatorStakeGroup(validatorStakeGroupDto: ValidatorStakeGroupDto): ValidatorStakeGroup;
|
|
9805
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
9806
|
-
|
|
9807
9745
|
//#endregion
|
|
9808
9746
|
//#region src/services/native-stake/utils/fetch.utils.d.ts
|
|
9809
9747
|
/**
|
|
@@ -9835,11 +9773,9 @@ declare const fetchStakePoolActiveStates: (connection: Connection, validatorVote
|
|
|
9835
9773
|
*/
|
|
9836
9774
|
declare const fetchStakeAccount: (data: Buffer) => StakeAccount;
|
|
9837
9775
|
declare const fetchStakePoolMev: (connection: Connection, validatorVoteAccounts: PublicKey[]) => Promise<StakePoolMevMap>;
|
|
9838
|
-
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
9839
9776
|
//#endregion
|
|
9840
9777
|
//#region src/services/native-stake/utils/serialize.utils.d.ts
|
|
9841
9778
|
declare function validatorStakeGroupToDto(validatorStakeGroup: ValidatorStakeGroup): ValidatorStakeGroupDto;
|
|
9842
|
-
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
9843
9779
|
//#endregion
|
|
9844
9780
|
//#region src/services/transaction/helpers/bundle-sending.d.ts
|
|
9845
9781
|
declare class SendBundleError extends Error {
|
|
@@ -9849,7 +9785,6 @@ declare class SendBundleError extends Error {
|
|
|
9849
9785
|
declare function sendTransactionAsGrpcBundle(connection: Connection, base58Txs: string[], throwError?: boolean): Promise<string | undefined>;
|
|
9850
9786
|
declare function sendTransactionAsBundle(connection: Connection, base58Txs: string[], throwError?: boolean, tempBundleId?: string): Promise<string | undefined>;
|
|
9851
9787
|
declare function confirmBundle(connection: Connection, bundleId: string, commitment?: Commitment): Promise<string>;
|
|
9852
|
-
//# sourceMappingURL=bundle-sending.d.ts.map
|
|
9853
9788
|
//#endregion
|
|
9854
9789
|
//#region src/services/transaction/helpers/bundle-simulation.d.ts
|
|
9855
9790
|
declare class BundleSimulationError extends Error {
|
|
@@ -9869,7 +9804,6 @@ interface RpcSimulateBundleTransactionResult {
|
|
|
9869
9804
|
returnData?: any;
|
|
9870
9805
|
}
|
|
9871
9806
|
declare function simulateBundle(rpcEndpoint: string, transactions: VersionedTransaction[], includeAccounts?: Array<PublicKey>): Promise<RpcSimulateBundleTransactionResult[]>;
|
|
9872
|
-
//# sourceMappingURL=bundle-simulation.d.ts.map
|
|
9873
9807
|
//#endregion
|
|
9874
9808
|
//#region src/services/transaction/helpers/rpc-sending.d.ts
|
|
9875
9809
|
type SendTransactionAsRpcProps = {
|
|
@@ -10057,8 +9991,6 @@ interface BankMetadata {
|
|
|
10057
9991
|
type BankMetadataMap = {
|
|
10058
9992
|
[address: string]: BankMetadata;
|
|
10059
9993
|
};
|
|
10060
|
-
//# sourceMappingURL=bank-metadata.d.ts.map
|
|
10061
|
-
|
|
10062
9994
|
//#endregion
|
|
10063
9995
|
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, 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 };
|
|
10064
|
-
//# sourceMappingURL=index-
|
|
9996
|
+
//# sourceMappingURL=index-Bpr6asS1.d.ts.map
|