@pyron-finance/pyron-client 1.0.10-pre.0 → 1.0.10-pre.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/index.d.cts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/{index-BDHwzwV3.d.cts → index-Blg_DMQJ.d.cts} +30 -29
- package/dist/{index-BDHwzwV3.d.cts.map → index-Blg_DMQJ.d.cts.map} +1 -1
- package/dist/{index-DQlOr-LA.d.ts → index-DwoWa2a_.d.ts} +2 -1
- package/dist/{index-DQlOr-LA.d.ts.map → index-DwoWa2a_.d.ts.map} +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/common/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber } from "../index-
|
|
1
|
+
import { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber } from "../index-Blg_DMQJ.cjs";
|
|
2
2
|
export { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber };
|
package/dist/common/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber } from "../index-
|
|
1
|
+
import { Amount, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMetadata, BankMetadataMap, BanksExtendedMetadataOverrideMap, CustomNumberFormat, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, InstructionsWrapper, MaxCapType, NodeWallet, PriotitizationFeeLevels, Program, ProgramReadonly, SolanaTransaction, TransactionArenaKeyMap, TransactionBroadcastType, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, Wallet, WalletToken, WrappedI80F48, addTransactionMetadata, aprToApy, apyToApr, bankExtendedMetadataOverrideSchema, bigNumberToWrappedI80F48, bpsToPercentile, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dynamicNumeralFormatter, fetchBanksExtendedMetadata, floor, getAccountKeys, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getRecentPrioritizationFeesByPercentile, getTxSize, getValueInsensitive, groupedNumberFormatter, groupedNumberFormatterDyn, isV0Tx, legacyTxToV0Tx, median, microLamportsToUi, nativeToUi, numeralFormatter, parseBanksMetadataOverride, percentFormatter, percentFormatterDyn, percentFormatterMod, replaceV0TxBlockhash, replaceV0TxInstructions, setTimeoutPromise, shortenAddress, sleep, splitInstructionsToFitTransactions, toBigNumber, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, wrappedI80F48toBigNumber } from "../index-DwoWa2a_.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_js24 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, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
|
|
@@ -6666,6 +6666,7 @@ declare enum EmodeTag {
|
|
|
6666
6666
|
SOL = 501,
|
|
6667
6667
|
LST_T1 = 1571,
|
|
6668
6668
|
LST_T2 = 1572,
|
|
6669
|
+
UNKNOWN = 9999,
|
|
6669
6670
|
}
|
|
6670
6671
|
interface EmodeSettingsType {
|
|
6671
6672
|
emodeTag: EmodeTag;
|
|
@@ -7003,7 +7004,7 @@ declare function crankPythOracleIx(oracles: {
|
|
|
7003
7004
|
postInstructions: InstructionWithEphemeralSigners[];
|
|
7004
7005
|
closeInstructions: InstructionWithEphemeralSigners[];
|
|
7005
7006
|
keys: never[];
|
|
7006
|
-
lut:
|
|
7007
|
+
lut: _solana_web3_js24.AddressLookupTableAccount | null;
|
|
7007
7008
|
}>;
|
|
7008
7009
|
//#endregion
|
|
7009
7010
|
//#region src/services/price/types/price.types.d.ts
|
|
@@ -7044,7 +7045,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
|
7044
7045
|
lendrAccount: PublicKey;
|
|
7045
7046
|
authority: PublicKey;
|
|
7046
7047
|
feePayer: PublicKey;
|
|
7047
|
-
}): Promise<
|
|
7048
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7048
7049
|
declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
7049
7050
|
lendrGroup,
|
|
7050
7051
|
session,
|
|
@@ -7053,7 +7054,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
|
7053
7054
|
lendrGroup: PublicKey;
|
|
7054
7055
|
session: EstablishedSessionState;
|
|
7055
7056
|
feePayer: PublicKey;
|
|
7056
|
-
}, accountSeed: BN): Promise<
|
|
7057
|
+
}, accountSeed: BN): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7057
7058
|
declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
7058
7059
|
lendrAccount: PublicKey;
|
|
7059
7060
|
signerTokenAccount: PublicKey;
|
|
@@ -7065,11 +7066,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
|
7065
7066
|
}, args: {
|
|
7066
7067
|
amount: BN;
|
|
7067
7068
|
depositUpToLimit?: boolean;
|
|
7068
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7069
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7069
7070
|
declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7070
7071
|
amount: BN;
|
|
7071
7072
|
depositUpToLimit?: boolean;
|
|
7072
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7073
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7073
7074
|
declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
7074
7075
|
lendrAccount: PublicKey;
|
|
7075
7076
|
signerTokenAccount: PublicKey;
|
|
@@ -7081,11 +7082,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
|
7081
7082
|
}, args: {
|
|
7082
7083
|
amount: BN;
|
|
7083
7084
|
repayAll?: boolean;
|
|
7084
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7085
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7085
7086
|
declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7086
7087
|
amount: BN;
|
|
7087
7088
|
repayAll?: boolean;
|
|
7088
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7089
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7089
7090
|
declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
7090
7091
|
lendrAccount: PublicKey;
|
|
7091
7092
|
bank: PublicKey;
|
|
@@ -7096,11 +7097,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
|
7096
7097
|
}, args: {
|
|
7097
7098
|
amount: BN;
|
|
7098
7099
|
withdrawAll?: boolean;
|
|
7099
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7100
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7100
7101
|
declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7101
7102
|
amount: BN;
|
|
7102
7103
|
withdrawAll?: boolean;
|
|
7103
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7104
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7104
7105
|
declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
7105
7106
|
lendrAccount: PublicKey;
|
|
7106
7107
|
bank: PublicKey;
|
|
@@ -7110,10 +7111,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
|
7110
7111
|
authority?: PublicKey;
|
|
7111
7112
|
}, args: {
|
|
7112
7113
|
amount: BN;
|
|
7113
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7114
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7114
7115
|
declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7115
7116
|
amount: BN;
|
|
7116
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7117
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7117
7118
|
declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
|
|
7118
7119
|
assetBank: PublicKey;
|
|
7119
7120
|
liabBank: PublicKey;
|
|
@@ -7124,7 +7125,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
|
|
|
7124
7125
|
authority?: PublicKey;
|
|
7125
7126
|
}, args: {
|
|
7126
7127
|
assetAmount: BN;
|
|
7127
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7128
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7128
7129
|
declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
|
|
7129
7130
|
lendrAccount: PublicKey;
|
|
7130
7131
|
destinationAccount: PublicKey;
|
|
@@ -7133,52 +7134,52 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
|
|
|
7133
7134
|
group?: PublicKey;
|
|
7134
7135
|
authority?: PublicKey;
|
|
7135
7136
|
emissionsMint?: PublicKey;
|
|
7136
|
-
}): Promise<
|
|
7137
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7137
7138
|
declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7138
7139
|
lendrAccount: PublicKey;
|
|
7139
7140
|
group?: PublicKey;
|
|
7140
7141
|
admin?: PublicKey;
|
|
7141
7142
|
}, args: {
|
|
7142
7143
|
flag: BN;
|
|
7143
|
-
}): Promise<
|
|
7144
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7144
7145
|
declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7145
7146
|
lendrAccount: PublicKey;
|
|
7146
7147
|
group?: PublicKey;
|
|
7147
7148
|
admin?: PublicKey;
|
|
7148
7149
|
}, args: {
|
|
7149
7150
|
flag: BN;
|
|
7150
|
-
}): Promise<
|
|
7151
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7151
7152
|
declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
|
|
7152
7153
|
bank: PublicKey;
|
|
7153
7154
|
group?: PublicKey;
|
|
7154
7155
|
admin?: PublicKey;
|
|
7155
7156
|
}, args: {
|
|
7156
7157
|
bankConfigOpt: BankConfigOptRaw;
|
|
7157
|
-
}): Promise<
|
|
7158
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7158
7159
|
declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7159
7160
|
lendrAccount: PublicKey;
|
|
7160
7161
|
authority?: PublicKey;
|
|
7161
7162
|
ixsSysvar?: PublicKey;
|
|
7162
7163
|
}, args: {
|
|
7163
7164
|
endIndex: BN;
|
|
7164
|
-
}): Promise<
|
|
7165
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7165
7166
|
declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7166
7167
|
lendrAccount: PublicKey;
|
|
7167
7168
|
authority?: PublicKey;
|
|
7168
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7169
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7169
7170
|
declare function makeAccountAuthorityTransferIx(ldProgram: LendrProgram, accounts: {
|
|
7170
7171
|
lendrAccount: PublicKey;
|
|
7171
7172
|
newAuthority: PublicKey;
|
|
7172
7173
|
feePayer: PublicKey;
|
|
7173
7174
|
group?: PublicKey;
|
|
7174
7175
|
authority?: PublicKey;
|
|
7175
|
-
}): Promise<
|
|
7176
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7176
7177
|
declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
|
|
7177
7178
|
lendrGroup: PublicKey;
|
|
7178
7179
|
admin: PublicKey;
|
|
7179
7180
|
}, args?: {
|
|
7180
7181
|
isArenaGroup?: boolean;
|
|
7181
|
-
}): Promise<
|
|
7182
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7182
7183
|
/**
|
|
7183
7184
|
* Configure the oracle for a bank
|
|
7184
7185
|
* @param ldProgram The lendr program
|
|
@@ -7203,7 +7204,7 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
|
|
|
7203
7204
|
/**
|
|
7204
7205
|
* The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
|
|
7205
7206
|
*/
|
|
7206
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7207
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7207
7208
|
/**
|
|
7208
7209
|
* Creates an instruction to add a permissionless staked bank to a lending pool.
|
|
7209
7210
|
* @param ldProgram - The lendr program instance
|
|
@@ -7237,7 +7238,7 @@ remainingAccounts: AccountMeta[] | undefined, args: {
|
|
|
7237
7238
|
* bump.
|
|
7238
7239
|
*/
|
|
7239
7240
|
seed?: BN;
|
|
7240
|
-
}): Promise<
|
|
7241
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7241
7242
|
declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
7242
7243
|
lendrGroup: PublicKey;
|
|
7243
7244
|
feePayer: PublicKey;
|
|
@@ -7248,15 +7249,15 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7248
7249
|
globalFeeWallet?: PublicKey;
|
|
7249
7250
|
}, args: {
|
|
7250
7251
|
bankConfig: BankConfigCompactRaw;
|
|
7251
|
-
}): Promise<
|
|
7252
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7252
7253
|
declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
|
|
7253
7254
|
lendrAccount: PublicKey;
|
|
7254
7255
|
feePayer: PublicKey;
|
|
7255
7256
|
authority?: PublicKey;
|
|
7256
|
-
}): Promise<
|
|
7257
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7257
7258
|
declare function makeLendingAccountSortBalancesIx(ldProgram: LendrProgram, accounts: {
|
|
7258
7259
|
lendrAccount: PublicKey;
|
|
7259
|
-
}): Promise<
|
|
7260
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7260
7261
|
declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
7261
7262
|
lendrAccount: PublicKey;
|
|
7262
7263
|
},
|
|
@@ -7264,7 +7265,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7264
7265
|
* The remaining accounts required for this instruction. Should include:
|
|
7265
7266
|
* - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
|
|
7266
7267
|
*/
|
|
7267
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7268
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7268
7269
|
declare const instructions: {
|
|
7269
7270
|
makeDepositIx: typeof makeDepositIx;
|
|
7270
7271
|
makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
|
|
@@ -10087,7 +10088,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
|
|
|
10087
10088
|
feePayer: PublicKey;
|
|
10088
10089
|
blockhash: string;
|
|
10089
10090
|
}) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
|
|
10090
|
-
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<
|
|
10091
|
+
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js24.SignatureStatus>;
|
|
10091
10092
|
//#endregion
|
|
10092
10093
|
//#region src/common/bank-metadata.d.ts
|
|
10093
10094
|
declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
@@ -10158,4 +10159,4 @@ type BankMetadataMap = {
|
|
|
10158
10159
|
|
|
10159
10160
|
//#endregion
|
|
10160
10161
|
export { AccountFlags, AccountType, ActionEmodeImpact, ActiveStakePoolMap, Amount, AssetTag, BUNDLE_TX_SIZE$1 as BUNDLE_TX_SIZE, Balance, BalanceRaw, BalanceType, BalanceTypeDto, Bank, BankAddress, BankConfig, type BankConfigCompactRaw, BankConfigDto, BankConfigOpt, type BankConfigOptRaw, type BankConfigRaw, BankConfigRawDto, BankConfigType, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMap, BankMetadata, BankMetadataMap, type BankRaw, BankRawDto, BankType, BankTypeDto, BankVaultType, BanksExtendedMetadataOverrideMap, BroadcastMethodType, CustomNumberFormat, DEFAULT_CLUSTER, DEFAULT_COMMITMENT, DEFAULT_CONFIRM_OPTS, DEFAULT_ORACLE_MAX_AGE, DEFAULT_PROCESS_TX_OPTS, DEFAULT_PROCESS_TX_STRATEGY, DEFAULT_SEND_OPTS, DISABLED_FLAG, DUMMY_USDC_MINT, DataFetcher, DummyMetadataFetcher, EmodeConfigRaw, EmodeConfigRawDto, EmodeEntry, EmodeEntryDto, EmodeEntryFlags, EmodeFlags, EmodeImpact, EmodeImpactStatus, EmodePair, EmodeSettings, EmodeSettingsDto, EmodeSettingsRaw, EmodeSettingsRawDto, EmodeSettingsType, EmodeTag, Environment, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, FLASHLOAN_ENABLED_FLAG, FetchGroupDataFn, FetchRawBanksArgs, FlashLoanArgs, FlashloanActionResult, FogoMetadataFetcher, GROUP_PK, HOURS_PER_YEAR, HealthCache, HealthCacheFlags, HealthCacheRaw, HealthCacheSimulationError, HealthCacheType, HealthCacheTypeDto, IMetadataFetcher, InstructionsWrapper, InterestRateConfig, InterestRateConfigDto, type InterestRateConfigRaw, JUPITER_V6_PROGRAM, LENDR_IDL, LENDR_PROGRAM, LENDR_SPONSORED_SHARD_ID, LST_MINT, LUT_PROGRAM_AUTHORITY_INDEX, LendingAccountDepositOrRepayWithSessionAccounts, LendingAccountWithdrawOrBorrowWithSessionAccounts, LendrAccount, LendrAccountRaw, LendrAccountType, LendrAccountTypeDto, LendrAccountWrapper, LendrClient, LendrClientFetchOptions, LendrClientOptions, LendrClientProps, LendrConfig, LendrGroup, type LendrGroupRaw, LendrGroupType, LendrGroupTypeDto, LendrIdlType, LendrProgram, LendrRequirementType, LendrRequirementTypeRaw, LogFn, LoopProps, LoopTxProps, MAX_ACCOUNT_KEYS, MAX_CONFIDENCE_INTERVAL_RATIO, MAX_TX_SIZE$1 as MAX_TX_SIZE, MAX_U64, MPL_METADATA_PROGRAM_ID, MakeBorrowIxOpts, MakeBorrowWithSessionIxOpts, MakeDepositIxOpts, MakeDepositWithSessionIxOpts, MakeRepayIxOpts, MakeRepayWithSessionIxOpts, MakeWithdrawIxOpts, MakeWithdrawWithSessionIxOpts, MaxCapType, MetadataService, MetadataServiceProps, MetaplexMetadataFetcher, MintData, MintDataMap, NodeWallet, OperationalState, type OperationalStateRaw, OracleConfigOpt, type OracleConfigOptRaw, OraclePrice, OraclePriceDto, OraclePriceMap, OracleSetup, type OracleSetupRaw, PDA_BANK_FEE_VAULT_AUTH_SEED, PDA_BANK_FEE_VAULT_SEED, PDA_BANK_INSURANCE_VAULT_AUTH_SEED, PDA_BANK_INSURANCE_VAULT_SEED, PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED, PDA_BANK_LIQUIDITY_VAULT_SEED, PRIORITY_TX_SIZE$1 as PRIORITY_TX_SIZE, PROGRAM_ID, PYTH_PRICE_CONF_INTERVALS, PYTH_PUSH_ORACLE_ID, PYTH_SPONSORED_SHARD_ID, PriceBias, PriceWithConfidence, PriceWithConfidenceDto, PriorityFees, PriotitizationFeeLevels, ProcessTransactionError, ProcessTransactionErrorType, ProcessTransactionOpts, ProcessTransactionStrategy, ProcessTransactionsClientOpts, Program$1 as Program, ProgramError, ProgramErrorWithDescription, ProgramReadonly, PythPushFeedIdMap, RepayWithCollateralProps, RepayWithCollateralTxProps, RiskTier, type RiskTierRaw, SINGLE_POOL_PROGRAM_ID, SKIP_SIMULATION, STAKE_CONFIG_ID, STAKE_PROGRAM_ID, SWB_PRICE_CONF_INTERVALS, SYSTEM_PROGRAM_ID, SYSVAR_CLOCK_ID, SYSVAR_RENT_ID, SYSVAR_STAKE_HISTORY_ID, SimulationResult, SolanaTransaction, SpecificBroadcastMethod, SpecificBroadcastMethodType, StakeAccount, StakePoolMevMap, SupportedOracleSetup, TLogger, TMetadata, TRANSFER_ACCOUNT_AUTHORITY_FLAG, TransactionArenaKeyMap, TransactionBroadcastType, TransactionBuilderResult, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, USDC_DECIMALS, USDC_MINT, ValidatorRateData, ValidatorStakeGroup, ValidatorStakeGroupDto, WSOL_EXTENDED_METADATA, WSOL_MINT, Wallet, WalletToken, WrappedI80F48, accountFlagToBN, addOracleToBanksIx, addTransactionMetadata, aprToApy, apyToApr, balanceToDto, bankConfigRawToDto, bankExtendedMetadataOverrideSchema, bankRawToDto, bigNumberToWrappedI80F48, bpsToPercentile, buildFeedIdMap, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, computeAccountValue, computeActiveEmodePairs, computeAssetUsdValue, computeBalanceUsdValue, computeBaseInterestRate, computeClaimedEmissions, computeEmodeImpacts, computeFreeCollateral, computeFreeCollateralLegacy, computeHealthAccountMetas, computeHealthCheckAccounts, computeHealthComponents, computeHealthComponentsLegacy, computeHealthComponentsWithoutBiasLegacy, computeInterestRates, computeLiabilityUsdValue, computeLoopingParams, computeMaxLeverage, computeNetApy, computeQuantity, computeQuantityUi, computeRemainingCapacity, computeTotalOutstandingEmissions, computeTvl, computeUsdValue, computeUtilizationRate, confirmTransaction, crankPythOracleIx, createLendrAccountTx, createUpdateFeedIx, decodeAccountRaw, decodeBankRaw, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dtoToBalance, dtoToBank, dtoToBankConfig, dtoToBankConfigRaw, dtoToBankRaw, dtoToEmodeSettings, dtoToEmodeSettingsRaw, dtoToGroup, dtoToHealthCache, dtoToInterestRateConfig, dtoToLendrAccount, dtoToOraclePrice, dtoToValidatorStakeGroup, dynamicNumeralFormatter, emodeSettingsRawToDto, feedIdToString, fetchBanksExtendedMetadata, fetchLendrAccountAddresses, fetchLendrAccountData, fetchMultipleBanks, fetchNativeStakeAccounts, fetchOracleData, fetchPythOracleData, fetchStakeAccount, fetchStakePoolActiveStates, fetchStakePoolMev, fetchSwbOracleData, findOracleKey, findPythPushOracleAddress, floor, freezeBankConfigIx, getAccountKeys, getActiveAccountFlags, getActiveEmodeEntryFlags, getActiveEmodeFlags, getActiveHealthCacheFlags, getActiveStaleBanks, getAssetQuantity, getAssetShares, getAssetWeight, getBalanceUsdValueWithPriceBias, getBankVaultAuthority, getBankVaultSeeds, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getConfig, getConfigPda, getHealthCacheStatusDescription, getLiabilityQuantity, getLiabilityShares, getLiabilityWeight, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getPrice, getPriceFeedAccountForProgram, getPriceWithConfidence, getRecentPrioritizationFeesByPercentile, getTotalAssetQuantity, getTotalLiabilityQuantity, getTreasuryPda, getTxSize, getValueInsensitive, groupToDto, groupedNumberFormatter, groupedNumberFormatterDyn, hasAccountFlag, hasEmodeEntryFlag, hasEmodeFlag, hasHealthCacheFlag, healthCacheToDto, index_d_exports$2 as index_d_exports, instructions, isOracleSetupSupported, isV0Tx, isWeightedPrice, legacyTxToV0Tx, lendrAccountToDto, makeAddPermissionlessStakedBankIx, makeBundleTipIx, makeDisableAccountTransferForAccountIx, makeDisableFlashLoanForAccountIx, makeEnableAccountTransferForAccountIx, makeEnableFlashLoanForAccountIx, makePoolAddBankIx, makePoolConfigureBankIx, makePriorityFeeIx, makePriorityFeeMicroIx, makePulseHealthIx, makeTxPriorityIx, makeUnwrapSolIx, makeVersionedTransaction, makeWrapSolIxs, median, metadataSchema, microLamportsToUi, nativeToUi, numeralFormatter, oraclePriceToDto, parseBalanceRaw, parseBankConfigRaw, parseBankRaw, parseBanksMetadataOverride, parseEmodeTag, parseErrorFromLogs, parseLendrAccountRaw, parseOperationalState, parseOraclePriceData, parseOracleSetup, parseRiskTier, parseTransactionError, percentFormatter, percentFormatterDyn, percentFormatterMod, processTransactions, replaceV0TxBlockhash, replaceV0TxInstructions, serializeBankConfigOpt, serializeOperationalState, serializeOracleSetup, serializeOracleSetupToIndex, serializeRiskTier, setTimeoutPromise, shortenAddress, simulateAccountHealthCache, simulateAccountHealthCacheWithFallback, simulateTransactions, sleep, splitInstructionsToFitTransactions, supportedOracleSetups, toBankConfigDto, toBankDto, toBigNumber, toEmodeSettingsDto, toInterestRateConfigDto, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, validatorStakeGroupToDto, wrappedI80F48toBigNumber };
|
|
10161
|
-
//# sourceMappingURL=index-
|
|
10162
|
+
//# sourceMappingURL=index-Blg_DMQJ.d.cts.map
|