@pyron-finance/pyron-client 1.0.10-pre.1 → 1.0.10
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-Blg_DMQJ.d.cts → index-BDHwzwV3.d.cts} +29 -30
- package/dist/{index-Blg_DMQJ.d.cts.map → index-BDHwzwV3.d.cts.map} +1 -1
- package/dist/{index-DwoWa2a_.d.ts → index-DQlOr-LA.d.ts} +1 -2
- package/dist/{index-DwoWa2a_.d.ts.map → index-DQlOr-LA.d.ts.map} +1 -1
- package/dist/index.cjs +3 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
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-BDHwzwV3.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-DQlOr-LA.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, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
|
|
@@ -6666,7 +6666,6 @@ declare enum EmodeTag {
|
|
|
6666
6666
|
SOL = 501,
|
|
6667
6667
|
LST_T1 = 1571,
|
|
6668
6668
|
LST_T2 = 1572,
|
|
6669
|
-
UNKNOWN = 9999,
|
|
6670
6669
|
}
|
|
6671
6670
|
interface EmodeSettingsType {
|
|
6672
6671
|
emodeTag: EmodeTag;
|
|
@@ -7004,7 +7003,7 @@ declare function crankPythOracleIx(oracles: {
|
|
|
7004
7003
|
postInstructions: InstructionWithEphemeralSigners[];
|
|
7005
7004
|
closeInstructions: InstructionWithEphemeralSigners[];
|
|
7006
7005
|
keys: never[];
|
|
7007
|
-
lut:
|
|
7006
|
+
lut: _solana_web3_js25.AddressLookupTableAccount | null;
|
|
7008
7007
|
}>;
|
|
7009
7008
|
//#endregion
|
|
7010
7009
|
//#region src/services/price/types/price.types.d.ts
|
|
@@ -7045,7 +7044,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
|
7045
7044
|
lendrAccount: PublicKey;
|
|
7046
7045
|
authority: PublicKey;
|
|
7047
7046
|
feePayer: PublicKey;
|
|
7048
|
-
}): Promise<
|
|
7047
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7049
7048
|
declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
7050
7049
|
lendrGroup,
|
|
7051
7050
|
session,
|
|
@@ -7054,7 +7053,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
|
7054
7053
|
lendrGroup: PublicKey;
|
|
7055
7054
|
session: EstablishedSessionState;
|
|
7056
7055
|
feePayer: PublicKey;
|
|
7057
|
-
}, accountSeed: BN): Promise<
|
|
7056
|
+
}, accountSeed: BN): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7058
7057
|
declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
7059
7058
|
lendrAccount: PublicKey;
|
|
7060
7059
|
signerTokenAccount: PublicKey;
|
|
@@ -7066,11 +7065,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
|
7066
7065
|
}, args: {
|
|
7067
7066
|
amount: BN;
|
|
7068
7067
|
depositUpToLimit?: boolean;
|
|
7069
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7068
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7070
7069
|
declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7071
7070
|
amount: BN;
|
|
7072
7071
|
depositUpToLimit?: boolean;
|
|
7073
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7072
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7074
7073
|
declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
7075
7074
|
lendrAccount: PublicKey;
|
|
7076
7075
|
signerTokenAccount: PublicKey;
|
|
@@ -7082,11 +7081,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
|
7082
7081
|
}, args: {
|
|
7083
7082
|
amount: BN;
|
|
7084
7083
|
repayAll?: boolean;
|
|
7085
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7084
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7086
7085
|
declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7087
7086
|
amount: BN;
|
|
7088
7087
|
repayAll?: boolean;
|
|
7089
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7088
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7090
7089
|
declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
7091
7090
|
lendrAccount: PublicKey;
|
|
7092
7091
|
bank: PublicKey;
|
|
@@ -7097,11 +7096,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
|
7097
7096
|
}, args: {
|
|
7098
7097
|
amount: BN;
|
|
7099
7098
|
withdrawAll?: boolean;
|
|
7100
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7099
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7101
7100
|
declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7102
7101
|
amount: BN;
|
|
7103
7102
|
withdrawAll?: boolean;
|
|
7104
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7103
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7105
7104
|
declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
7106
7105
|
lendrAccount: PublicKey;
|
|
7107
7106
|
bank: PublicKey;
|
|
@@ -7111,10 +7110,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
|
7111
7110
|
authority?: PublicKey;
|
|
7112
7111
|
}, args: {
|
|
7113
7112
|
amount: BN;
|
|
7114
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7113
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7115
7114
|
declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7116
7115
|
amount: BN;
|
|
7117
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7116
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7118
7117
|
declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
|
|
7119
7118
|
assetBank: PublicKey;
|
|
7120
7119
|
liabBank: PublicKey;
|
|
@@ -7125,7 +7124,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
|
|
|
7125
7124
|
authority?: PublicKey;
|
|
7126
7125
|
}, args: {
|
|
7127
7126
|
assetAmount: BN;
|
|
7128
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7127
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7129
7128
|
declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
|
|
7130
7129
|
lendrAccount: PublicKey;
|
|
7131
7130
|
destinationAccount: PublicKey;
|
|
@@ -7134,52 +7133,52 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
|
|
|
7134
7133
|
group?: PublicKey;
|
|
7135
7134
|
authority?: PublicKey;
|
|
7136
7135
|
emissionsMint?: PublicKey;
|
|
7137
|
-
}): Promise<
|
|
7136
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7138
7137
|
declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7139
7138
|
lendrAccount: PublicKey;
|
|
7140
7139
|
group?: PublicKey;
|
|
7141
7140
|
admin?: PublicKey;
|
|
7142
7141
|
}, args: {
|
|
7143
7142
|
flag: BN;
|
|
7144
|
-
}): Promise<
|
|
7143
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7145
7144
|
declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7146
7145
|
lendrAccount: PublicKey;
|
|
7147
7146
|
group?: PublicKey;
|
|
7148
7147
|
admin?: PublicKey;
|
|
7149
7148
|
}, args: {
|
|
7150
7149
|
flag: BN;
|
|
7151
|
-
}): Promise<
|
|
7150
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7152
7151
|
declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
|
|
7153
7152
|
bank: PublicKey;
|
|
7154
7153
|
group?: PublicKey;
|
|
7155
7154
|
admin?: PublicKey;
|
|
7156
7155
|
}, args: {
|
|
7157
7156
|
bankConfigOpt: BankConfigOptRaw;
|
|
7158
|
-
}): Promise<
|
|
7157
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7159
7158
|
declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7160
7159
|
lendrAccount: PublicKey;
|
|
7161
7160
|
authority?: PublicKey;
|
|
7162
7161
|
ixsSysvar?: PublicKey;
|
|
7163
7162
|
}, args: {
|
|
7164
7163
|
endIndex: BN;
|
|
7165
|
-
}): Promise<
|
|
7164
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7166
7165
|
declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7167
7166
|
lendrAccount: PublicKey;
|
|
7168
7167
|
authority?: PublicKey;
|
|
7169
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7168
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7170
7169
|
declare function makeAccountAuthorityTransferIx(ldProgram: LendrProgram, accounts: {
|
|
7171
7170
|
lendrAccount: PublicKey;
|
|
7172
7171
|
newAuthority: PublicKey;
|
|
7173
7172
|
feePayer: PublicKey;
|
|
7174
7173
|
group?: PublicKey;
|
|
7175
7174
|
authority?: PublicKey;
|
|
7176
|
-
}): Promise<
|
|
7175
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7177
7176
|
declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
|
|
7178
7177
|
lendrGroup: PublicKey;
|
|
7179
7178
|
admin: PublicKey;
|
|
7180
7179
|
}, args?: {
|
|
7181
7180
|
isArenaGroup?: boolean;
|
|
7182
|
-
}): Promise<
|
|
7181
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7183
7182
|
/**
|
|
7184
7183
|
* Configure the oracle for a bank
|
|
7185
7184
|
* @param ldProgram The lendr program
|
|
@@ -7204,7 +7203,7 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
|
|
|
7204
7203
|
/**
|
|
7205
7204
|
* The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
|
|
7206
7205
|
*/
|
|
7207
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7206
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7208
7207
|
/**
|
|
7209
7208
|
* Creates an instruction to add a permissionless staked bank to a lending pool.
|
|
7210
7209
|
* @param ldProgram - The lendr program instance
|
|
@@ -7238,7 +7237,7 @@ remainingAccounts: AccountMeta[] | undefined, args: {
|
|
|
7238
7237
|
* bump.
|
|
7239
7238
|
*/
|
|
7240
7239
|
seed?: BN;
|
|
7241
|
-
}): Promise<
|
|
7240
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7242
7241
|
declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
7243
7242
|
lendrGroup: PublicKey;
|
|
7244
7243
|
feePayer: PublicKey;
|
|
@@ -7249,15 +7248,15 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7249
7248
|
globalFeeWallet?: PublicKey;
|
|
7250
7249
|
}, args: {
|
|
7251
7250
|
bankConfig: BankConfigCompactRaw;
|
|
7252
|
-
}): Promise<
|
|
7251
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7253
7252
|
declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
|
|
7254
7253
|
lendrAccount: PublicKey;
|
|
7255
7254
|
feePayer: PublicKey;
|
|
7256
7255
|
authority?: PublicKey;
|
|
7257
|
-
}): Promise<
|
|
7256
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7258
7257
|
declare function makeLendingAccountSortBalancesIx(ldProgram: LendrProgram, accounts: {
|
|
7259
7258
|
lendrAccount: PublicKey;
|
|
7260
|
-
}): Promise<
|
|
7259
|
+
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7261
7260
|
declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
7262
7261
|
lendrAccount: PublicKey;
|
|
7263
7262
|
},
|
|
@@ -7265,7 +7264,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7265
7264
|
* The remaining accounts required for this instruction. Should include:
|
|
7266
7265
|
* - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
|
|
7267
7266
|
*/
|
|
7268
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7267
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7269
7268
|
declare const instructions: {
|
|
7270
7269
|
makeDepositIx: typeof makeDepositIx;
|
|
7271
7270
|
makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
|
|
@@ -10088,7 +10087,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
|
|
|
10088
10087
|
feePayer: PublicKey;
|
|
10089
10088
|
blockhash: string;
|
|
10090
10089
|
}) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
|
|
10091
|
-
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<
|
|
10090
|
+
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js25.SignatureStatus>;
|
|
10092
10091
|
//#endregion
|
|
10093
10092
|
//#region src/common/bank-metadata.d.ts
|
|
10094
10093
|
declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
@@ -10159,4 +10158,4 @@ type BankMetadataMap = {
|
|
|
10159
10158
|
|
|
10160
10159
|
//#endregion
|
|
10161
10160
|
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 };
|
|
10162
|
-
//# sourceMappingURL=index-
|
|
10161
|
+
//# sourceMappingURL=index-BDHwzwV3.d.cts.map
|