@pyron-finance/pyron-client 1.0.5 → 1.0.6-pre.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/index.d.mts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/{index-Bx-zRXFQ.d.ts → index-BxXpB6G3.d.ts} +33 -33
- package/dist/{index-Bx-zRXFQ.d.ts.map → index-BxXpB6G3.d.ts.map} +1 -1
- package/dist/{index-BAC0ffmc.d.mts → index-CSLGGIAC.d.mts} +5 -5
- package/dist/{index-BAC0ffmc.d.mts.map → index-CSLGGIAC.d.mts.map} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +3 -2
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-CSLGGIAC.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-BxXpB6G3.js";
|
|
2
2
|
export { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _solana_web3_js25 from "@solana/web3.js";
|
|
2
2
|
import { AccountInfo, AccountMeta, AddressLookupTableAccount, Blockhash, Commitment, ConfirmOptions, Connection, GetRecentPrioritizationFeesConfig, Keypair, PublicKey, RecentPrioritizationFees, SendOptions, Signer, SimulatedTransactionResponse, Transaction, TransactionError, TransactionInstruction, TransactionMessage, TransactionSignature, VersionedTransaction } from "@solana/web3.js";
|
|
3
3
|
import * as anchor from "@coral-xyz/anchor";
|
|
4
4
|
import { Address, AnchorProvider, BN, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
|
|
@@ -7003,7 +7003,7 @@ declare function crankPythOracleIx(oracles: {
|
|
|
7003
7003
|
postInstructions: InstructionWithEphemeralSigners[];
|
|
7004
7004
|
closeInstructions: InstructionWithEphemeralSigners[];
|
|
7005
7005
|
keys: never[];
|
|
7006
|
-
lut:
|
|
7006
|
+
lut: _solana_web3_js25.AddressLookupTableAccount | null;
|
|
7007
7007
|
}>;
|
|
7008
7008
|
//#endregion
|
|
7009
7009
|
//#region src/services/price/types/price.types.d.ts
|
|
@@ -7044,7 +7044,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
|
7044
7044
|
lendrAccount: PublicKey;
|
|
7045
7045
|
authority: PublicKey;
|
|
7046
7046
|
feePayer: PublicKey;
|
|
7047
|
-
}): Promise<
|
|
7047
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7048
7048
|
declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
7049
7049
|
lendrGroup,
|
|
7050
7050
|
session,
|
|
@@ -7053,7 +7053,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
|
7053
7053
|
lendrGroup: PublicKey;
|
|
7054
7054
|
session: EstablishedSessionState;
|
|
7055
7055
|
feePayer: PublicKey;
|
|
7056
|
-
}, accountSeed: BN$1): Promise<
|
|
7056
|
+
}, accountSeed: BN$1): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7057
7057
|
declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
7058
7058
|
lendrAccount: PublicKey;
|
|
7059
7059
|
signerTokenAccount: PublicKey;
|
|
@@ -7065,11 +7065,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
|
7065
7065
|
}, args: {
|
|
7066
7066
|
amount: BN$1;
|
|
7067
7067
|
depositUpToLimit?: boolean;
|
|
7068
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7068
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7069
7069
|
declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7070
7070
|
amount: BN$1;
|
|
7071
7071
|
depositUpToLimit?: boolean;
|
|
7072
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7072
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7073
7073
|
declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
7074
7074
|
lendrAccount: PublicKey;
|
|
7075
7075
|
signerTokenAccount: PublicKey;
|
|
@@ -7081,11 +7081,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
|
7081
7081
|
}, args: {
|
|
7082
7082
|
amount: BN$1;
|
|
7083
7083
|
repayAll?: boolean;
|
|
7084
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7084
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7085
7085
|
declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7086
7086
|
amount: BN$1;
|
|
7087
7087
|
repayAll?: boolean;
|
|
7088
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7088
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7089
7089
|
declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
7090
7090
|
lendrAccount: PublicKey;
|
|
7091
7091
|
bank: PublicKey;
|
|
@@ -7096,11 +7096,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
|
7096
7096
|
}, args: {
|
|
7097
7097
|
amount: BN$1;
|
|
7098
7098
|
withdrawAll?: boolean;
|
|
7099
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7099
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7100
7100
|
declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7101
7101
|
amount: BN$1;
|
|
7102
7102
|
withdrawAll?: boolean;
|
|
7103
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7103
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7104
7104
|
declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
7105
7105
|
lendrAccount: PublicKey;
|
|
7106
7106
|
bank: PublicKey;
|
|
@@ -7110,10 +7110,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
|
7110
7110
|
authority?: PublicKey;
|
|
7111
7111
|
}, args: {
|
|
7112
7112
|
amount: BN$1;
|
|
7113
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7113
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7114
7114
|
declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7115
7115
|
amount: BN$1;
|
|
7116
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7116
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7117
7117
|
declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
|
|
7118
7118
|
assetBank: PublicKey;
|
|
7119
7119
|
liabBank: PublicKey;
|
|
@@ -7124,7 +7124,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
|
|
|
7124
7124
|
authority?: PublicKey;
|
|
7125
7125
|
}, args: {
|
|
7126
7126
|
assetAmount: BN$1;
|
|
7127
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7127
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7128
7128
|
declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
|
|
7129
7129
|
lendrAccount: PublicKey;
|
|
7130
7130
|
destinationAccount: PublicKey;
|
|
@@ -7133,52 +7133,52 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
|
|
|
7133
7133
|
group?: PublicKey;
|
|
7134
7134
|
authority?: PublicKey;
|
|
7135
7135
|
emissionsMint?: PublicKey;
|
|
7136
|
-
}): Promise<
|
|
7136
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7137
7137
|
declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7138
7138
|
lendrAccount: PublicKey;
|
|
7139
7139
|
group?: PublicKey;
|
|
7140
7140
|
admin?: PublicKey;
|
|
7141
7141
|
}, args: {
|
|
7142
7142
|
flag: BN$1;
|
|
7143
|
-
}): Promise<
|
|
7143
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7144
7144
|
declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7145
7145
|
lendrAccount: PublicKey;
|
|
7146
7146
|
group?: PublicKey;
|
|
7147
7147
|
admin?: PublicKey;
|
|
7148
7148
|
}, args: {
|
|
7149
7149
|
flag: BN$1;
|
|
7150
|
-
}): Promise<
|
|
7150
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7151
7151
|
declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
|
|
7152
7152
|
bank: PublicKey;
|
|
7153
7153
|
group?: PublicKey;
|
|
7154
7154
|
admin?: PublicKey;
|
|
7155
7155
|
}, args: {
|
|
7156
7156
|
bankConfigOpt: BankConfigOptRaw;
|
|
7157
|
-
}): Promise<
|
|
7157
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7158
7158
|
declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7159
7159
|
lendrAccount: PublicKey;
|
|
7160
7160
|
authority?: PublicKey;
|
|
7161
7161
|
ixsSysvar?: PublicKey;
|
|
7162
7162
|
}, args: {
|
|
7163
7163
|
endIndex: BN$1;
|
|
7164
|
-
}): Promise<
|
|
7164
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7165
7165
|
declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7166
7166
|
lendrAccount: PublicKey;
|
|
7167
7167
|
authority?: PublicKey;
|
|
7168
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7168
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7169
7169
|
declare function makeAccountAuthorityTransferIx(ldProgram: LendrProgram, accounts: {
|
|
7170
7170
|
lendrAccount: PublicKey;
|
|
7171
7171
|
newAuthority: PublicKey;
|
|
7172
7172
|
feePayer: PublicKey;
|
|
7173
7173
|
group?: PublicKey;
|
|
7174
7174
|
authority?: PublicKey;
|
|
7175
|
-
}): Promise<
|
|
7175
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7176
7176
|
declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
|
|
7177
7177
|
lendrGroup: PublicKey;
|
|
7178
7178
|
admin: PublicKey;
|
|
7179
7179
|
}, args?: {
|
|
7180
7180
|
isArenaGroup?: boolean;
|
|
7181
|
-
}): Promise<
|
|
7181
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7182
7182
|
/**
|
|
7183
7183
|
* Configure the oracle for a bank
|
|
7184
7184
|
* @param ldProgram The lendr program
|
|
@@ -7203,7 +7203,7 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
|
|
|
7203
7203
|
/**
|
|
7204
7204
|
* The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
|
|
7205
7205
|
*/
|
|
7206
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7206
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7207
7207
|
/**
|
|
7208
7208
|
* Creates an instruction to add a permissionless staked bank to a lending pool.
|
|
7209
7209
|
* @param ldProgram - The lendr program instance
|
|
@@ -7237,7 +7237,7 @@ remainingAccounts: AccountMeta[] | undefined, args: {
|
|
|
7237
7237
|
* bump.
|
|
7238
7238
|
*/
|
|
7239
7239
|
seed?: BN$1;
|
|
7240
|
-
}): Promise<
|
|
7240
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7241
7241
|
declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
7242
7242
|
lendrGroup: PublicKey;
|
|
7243
7243
|
feePayer: PublicKey;
|
|
@@ -7248,15 +7248,15 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7248
7248
|
globalFeeWallet?: PublicKey;
|
|
7249
7249
|
}, args: {
|
|
7250
7250
|
bankConfig: BankConfigCompactRaw;
|
|
7251
|
-
}): Promise<
|
|
7251
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7252
7252
|
declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
|
|
7253
7253
|
lendrAccount: PublicKey;
|
|
7254
7254
|
feePayer: PublicKey;
|
|
7255
7255
|
authority?: PublicKey;
|
|
7256
|
-
}): Promise<
|
|
7256
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7257
7257
|
declare function makeLendingAccountSortBalancesIx(ldProgram: LendrProgram, accounts: {
|
|
7258
7258
|
lendrAccount: PublicKey;
|
|
7259
|
-
}): Promise<
|
|
7259
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7260
7260
|
declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
7261
7261
|
lendrAccount: PublicKey;
|
|
7262
7262
|
},
|
|
@@ -7264,7 +7264,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7264
7264
|
* The remaining accounts required for this instruction. Should include:
|
|
7265
7265
|
* - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
|
|
7266
7266
|
*/
|
|
7267
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7267
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7268
7268
|
declare const instructions: {
|
|
7269
7269
|
makeDepositIx: typeof makeDepositIx;
|
|
7270
7270
|
makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
|
|
@@ -10029,7 +10029,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
|
|
|
10029
10029
|
feePayer: PublicKey;
|
|
10030
10030
|
blockhash: string;
|
|
10031
10031
|
}) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
|
|
10032
|
-
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<
|
|
10032
|
+
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js25.SignatureStatus>;
|
|
10033
10033
|
//#endregion
|
|
10034
10034
|
//#region src/common/bank-metadata.d.ts
|
|
10035
10035
|
declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
@@ -10042,16 +10042,16 @@ declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
|
10042
10042
|
}, "strip", z.ZodTypeAny, {
|
|
10043
10043
|
symbol?: string | undefined;
|
|
10044
10044
|
name?: string | undefined;
|
|
10045
|
-
mint?: string | undefined;
|
|
10046
|
-
address?: string | undefined;
|
|
10047
10045
|
logoURI?: string | undefined;
|
|
10046
|
+
address?: string | undefined;
|
|
10047
|
+
mint?: string | undefined;
|
|
10048
10048
|
validatorVoteAccount?: string | undefined;
|
|
10049
10049
|
}, {
|
|
10050
10050
|
symbol?: string | undefined;
|
|
10051
10051
|
name?: string | undefined;
|
|
10052
|
-
mint?: string | undefined;
|
|
10053
|
-
address?: string | undefined;
|
|
10054
10052
|
logoURI?: string | undefined;
|
|
10053
|
+
address?: string | undefined;
|
|
10054
|
+
mint?: string | undefined;
|
|
10055
10055
|
validatorVoteAccount?: string | undefined;
|
|
10056
10056
|
}>;
|
|
10057
10057
|
type BankExtendedMetadataOverride = z.infer<typeof bankExtendedMetadataOverrideSchema>;
|
|
@@ -10100,4 +10100,4 @@ type BankMetadataMap = {
|
|
|
10100
10100
|
|
|
10101
10101
|
//#endregion
|
|
10102
10102
|
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, FogoMetadataService, GROUP_PK, HOURS_PER_YEAR, HealthCache, HealthCacheFlags, HealthCacheRaw, HealthCacheSimulationError, HealthCacheType, HealthCacheTypeDto, IMetadataService, 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, 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$2 as 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 };
|
|
10103
|
-
//# sourceMappingURL=index-
|
|
10103
|
+
//# sourceMappingURL=index-BxXpB6G3.d.ts.map
|