@pyron-finance/pyron-client 1.0.6-pre.0 → 1.0.6-pre.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/common/index.cjs +68 -0
- package/dist/common/{index.d.mts → index.d.cts} +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +2 -67
- package/dist/{common-BDe3qLlR.js → common-70fo5HbS.cjs} +3 -2
- package/dist/{common-BtUtEjzZ.mjs → common-DSb1joUt.js} +5 -4
- package/dist/common-DSb1joUt.js.map +1 -0
- package/dist/{index-CSLGGIAC.d.mts → index-Bff8s4pU.d.ts} +98 -98
- package/dist/index-Bff8s4pU.d.ts.map +1 -0
- package/dist/{index-BxXpB6G3.d.ts → index-CMK6wLry.d.cts} +46 -46
- package/dist/index-CMK6wLry.d.cts.map +1 -0
- package/dist/{index.mjs → index.cjs} +947 -727
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +727 -946
- package/dist/index.js.map +1 -0
- package/package.json +28 -4
- package/dist/common/index.mjs +0 -3
- package/dist/common-BtUtEjzZ.mjs.map +0 -1
- package/dist/index-BxXpB6G3.d.ts.map +0 -1
- package/dist/index-CSLGGIAC.d.mts.map +0 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs.map +0 -1
- /package/dist/{chunk-B9dir_RE.mjs → chunk-Cl8Af3a2.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as anchor from "@coral-xyz/anchor";
|
|
2
|
-
import { Address, AnchorProvider,
|
|
3
|
-
import * as
|
|
2
|
+
import { Address, AnchorProvider, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
|
|
3
|
+
import * as _solana_web3_js24 from "@solana/web3.js";
|
|
4
4
|
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";
|
|
5
5
|
import BigNumber from "bignumber.js";
|
|
6
|
-
import BN$
|
|
6
|
+
import BN$1 from "bn.js";
|
|
7
7
|
import { Storage } from "unstorage";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { z as z$1 } from "zod/v4-mini";
|
|
@@ -363,16 +363,16 @@ declare function toNumber(amount: Amount): number;
|
|
|
363
363
|
/**
|
|
364
364
|
* Converts a ui representation of a token amount into its native value as `BN`, given the specified mint decimal amount (default to 6 for USDC).
|
|
365
365
|
*/
|
|
366
|
-
declare function toBigNumber(amount: Amount | BN): BigNumber;
|
|
366
|
+
declare function toBigNumber(amount: Amount | BN$1): BigNumber;
|
|
367
367
|
/**
|
|
368
368
|
* Converts a UI representation of a token amount into its native value as `BN`, given the specified mint decimal amount (default to 6 for USDC).
|
|
369
369
|
*/
|
|
370
|
-
declare function uiToNative(amount: Amount, decimals: number): BN;
|
|
370
|
+
declare function uiToNative(amount: Amount, decimals: number): BN$1;
|
|
371
371
|
declare function uiToNativeBigNumber(amount: Amount, decimals: number): BigNumber;
|
|
372
372
|
/**
|
|
373
373
|
* Converts a native representation of a token amount into its UI value as `number`, given the specified mint decimal amount.
|
|
374
374
|
*/
|
|
375
|
-
declare function nativeToUi(amount: Amount | BN, decimals: number): number;
|
|
375
|
+
declare function nativeToUi(amount: Amount | BN$1, decimals: number): number;
|
|
376
376
|
declare function shortenAddress(pubkey: Address, chars?: number): string;
|
|
377
377
|
/**
|
|
378
378
|
* Converts basis points (bps) to a decimal percentage value.
|
|
@@ -6510,13 +6510,13 @@ declare function buildEncodedVaaCreateInstruction(wormhole: Program<WormholeCore
|
|
|
6510
6510
|
declare const getGuardianSetPda: (guardianSetIndex: number, wormholeProgramId: PublicKey) => PublicKey;
|
|
6511
6511
|
type PriceFeedMessage = {
|
|
6512
6512
|
feedId: Buffer;
|
|
6513
|
-
price: BN;
|
|
6514
|
-
confidence: BN;
|
|
6513
|
+
price: BN$1;
|
|
6514
|
+
confidence: BN$1;
|
|
6515
6515
|
exponent: number;
|
|
6516
|
-
publishTime: BN;
|
|
6517
|
-
prevPublishTime: BN;
|
|
6518
|
-
emaPrice: BN;
|
|
6519
|
-
emaConf: BN;
|
|
6516
|
+
publishTime: BN$1;
|
|
6517
|
+
prevPublishTime: BN$1;
|
|
6518
|
+
emaPrice: BN$1;
|
|
6519
|
+
emaConf: BN$1;
|
|
6520
6520
|
};
|
|
6521
6521
|
declare function parsePriceFeedMessage(message: Buffer): PriceFeedMessage;
|
|
6522
6522
|
//# sourceMappingURL=pyth.utils.d.ts.map
|
|
@@ -6722,12 +6722,12 @@ interface BankRaw {
|
|
|
6722
6722
|
feeVaultBump: number;
|
|
6723
6723
|
feeVaultAuthorityBump: number;
|
|
6724
6724
|
collectedGroupFeesOutstanding: WrappedI80F48;
|
|
6725
|
-
lastUpdate: BN$
|
|
6725
|
+
lastUpdate: BN$1;
|
|
6726
6726
|
config: BankConfigRaw;
|
|
6727
6727
|
totalLiabilityShares: WrappedI80F48;
|
|
6728
6728
|
totalAssetShares: WrappedI80F48;
|
|
6729
|
-
flags: BN$
|
|
6730
|
-
emissionsRate: BN$
|
|
6729
|
+
flags: BN$1;
|
|
6730
|
+
emissionsRate: BN$1;
|
|
6731
6731
|
emissionsRemaining: WrappedI80F48;
|
|
6732
6732
|
emissionsMint: PublicKey;
|
|
6733
6733
|
emode: EmodeSettingsRaw;
|
|
@@ -6737,15 +6737,15 @@ interface BankConfigRaw {
|
|
|
6737
6737
|
assetWeightMaint: WrappedI80F48;
|
|
6738
6738
|
liabilityWeightInit: WrappedI80F48;
|
|
6739
6739
|
liabilityWeightMaint: WrappedI80F48;
|
|
6740
|
-
depositLimit: BN$
|
|
6740
|
+
depositLimit: BN$1;
|
|
6741
6741
|
interestRateConfig: InterestRateConfigRaw;
|
|
6742
6742
|
operationalState: OperationalStateRaw;
|
|
6743
6743
|
oracleSetup: OracleSetupRaw;
|
|
6744
6744
|
oracleKeys: PublicKey[];
|
|
6745
|
-
borrowLimit: BN$
|
|
6745
|
+
borrowLimit: BN$1;
|
|
6746
6746
|
riskTier: RiskTierRaw;
|
|
6747
6747
|
assetTag: number;
|
|
6748
|
-
totalAssetValueInitLimit: BN$
|
|
6748
|
+
totalAssetValueInitLimit: BN$1;
|
|
6749
6749
|
oracleMaxAge: number;
|
|
6750
6750
|
}
|
|
6751
6751
|
interface BankConfigOptRaw {
|
|
@@ -6753,15 +6753,15 @@ interface BankConfigOptRaw {
|
|
|
6753
6753
|
assetWeightMaint: WrappedI80F48 | null;
|
|
6754
6754
|
liabilityWeightInit: WrappedI80F48 | null;
|
|
6755
6755
|
liabilityWeightMaint: WrappedI80F48 | null;
|
|
6756
|
-
depositLimit: BN$
|
|
6757
|
-
borrowLimit: BN$
|
|
6756
|
+
depositLimit: BN$1 | null;
|
|
6757
|
+
borrowLimit: BN$1 | null;
|
|
6758
6758
|
riskTier: {
|
|
6759
6759
|
collateral: {};
|
|
6760
6760
|
} | {
|
|
6761
6761
|
isolated: {};
|
|
6762
6762
|
} | null;
|
|
6763
6763
|
assetTag: number | null;
|
|
6764
|
-
totalAssetValueInitLimit: BN$
|
|
6764
|
+
totalAssetValueInitLimit: BN$1 | null;
|
|
6765
6765
|
interestRateConfig: InterestRateConfigRaw | null;
|
|
6766
6766
|
operationalState: {
|
|
6767
6767
|
paused: {};
|
|
@@ -6776,8 +6776,8 @@ interface BankConfigOptRaw {
|
|
|
6776
6776
|
}
|
|
6777
6777
|
interface BankConfigCompactRaw extends Omit<BankConfigRaw, "oracleKeys" | "oracle" | "oracleSetup"> {
|
|
6778
6778
|
oracleMaxAge: number;
|
|
6779
|
-
padding0?: BN$
|
|
6780
|
-
padding1?: BN$
|
|
6779
|
+
padding0?: BN$1[];
|
|
6780
|
+
padding1?: BN$1[];
|
|
6781
6781
|
}
|
|
6782
6782
|
type RiskTierRaw = {
|
|
6783
6783
|
collateral: {};
|
|
@@ -6826,8 +6826,8 @@ interface EmodeEntryRaw {
|
|
|
6826
6826
|
}
|
|
6827
6827
|
interface EmodeSettingsRaw {
|
|
6828
6828
|
emodeTag: number;
|
|
6829
|
-
timestamp: BN$
|
|
6830
|
-
flags: BN$
|
|
6829
|
+
timestamp: BN$1;
|
|
6830
|
+
flags: BN$1;
|
|
6831
6831
|
emodeConfig: EmodeConfigRaw;
|
|
6832
6832
|
}
|
|
6833
6833
|
interface EmodeConfigRaw {
|
|
@@ -7001,7 +7001,7 @@ declare function crankPythOracleIx(oracles: {
|
|
|
7001
7001
|
postInstructions: InstructionWithEphemeralSigners[];
|
|
7002
7002
|
closeInstructions: InstructionWithEphemeralSigners[];
|
|
7003
7003
|
keys: never[];
|
|
7004
|
-
lut:
|
|
7004
|
+
lut: _solana_web3_js24.AddressLookupTableAccount | null;
|
|
7005
7005
|
}>;
|
|
7006
7006
|
//#endregion
|
|
7007
7007
|
//#region src/services/price/types/price.types.d.ts
|
|
@@ -7042,7 +7042,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
|
7042
7042
|
lendrAccount: PublicKey;
|
|
7043
7043
|
authority: PublicKey;
|
|
7044
7044
|
feePayer: PublicKey;
|
|
7045
|
-
}): Promise<
|
|
7045
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7046
7046
|
declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
7047
7047
|
lendrGroup,
|
|
7048
7048
|
session,
|
|
@@ -7051,7 +7051,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
|
7051
7051
|
lendrGroup: PublicKey;
|
|
7052
7052
|
session: EstablishedSessionState;
|
|
7053
7053
|
feePayer: PublicKey;
|
|
7054
|
-
}, accountSeed: BN$
|
|
7054
|
+
}, accountSeed: BN$1): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7055
7055
|
declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
7056
7056
|
lendrAccount: PublicKey;
|
|
7057
7057
|
signerTokenAccount: PublicKey;
|
|
@@ -7061,13 +7061,13 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
|
7061
7061
|
authority?: PublicKey;
|
|
7062
7062
|
liquidityVault?: PublicKey;
|
|
7063
7063
|
}, args: {
|
|
7064
|
-
amount: BN$
|
|
7064
|
+
amount: BN$1;
|
|
7065
7065
|
depositUpToLimit?: boolean;
|
|
7066
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7066
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7067
7067
|
declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7068
|
-
amount: BN$
|
|
7068
|
+
amount: BN$1;
|
|
7069
7069
|
depositUpToLimit?: boolean;
|
|
7070
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7070
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7071
7071
|
declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
7072
7072
|
lendrAccount: PublicKey;
|
|
7073
7073
|
signerTokenAccount: PublicKey;
|
|
@@ -7077,13 +7077,13 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
|
7077
7077
|
authority?: PublicKey;
|
|
7078
7078
|
liquidityVault?: PublicKey;
|
|
7079
7079
|
}, args: {
|
|
7080
|
-
amount: BN$
|
|
7080
|
+
amount: BN$1;
|
|
7081
7081
|
repayAll?: boolean;
|
|
7082
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7082
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7083
7083
|
declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7084
|
-
amount: BN$
|
|
7084
|
+
amount: BN$1;
|
|
7085
7085
|
repayAll?: boolean;
|
|
7086
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7086
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7087
7087
|
declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
7088
7088
|
lendrAccount: PublicKey;
|
|
7089
7089
|
bank: PublicKey;
|
|
@@ -7092,13 +7092,13 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
|
7092
7092
|
group?: PublicKey;
|
|
7093
7093
|
authority?: PublicKey;
|
|
7094
7094
|
}, args: {
|
|
7095
|
-
amount: BN$
|
|
7095
|
+
amount: BN$1;
|
|
7096
7096
|
withdrawAll?: boolean;
|
|
7097
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7097
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7098
7098
|
declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7099
|
-
amount: BN$
|
|
7099
|
+
amount: BN$1;
|
|
7100
7100
|
withdrawAll?: boolean;
|
|
7101
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7101
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7102
7102
|
declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
7103
7103
|
lendrAccount: PublicKey;
|
|
7104
7104
|
bank: PublicKey;
|
|
@@ -7107,11 +7107,11 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
|
7107
7107
|
group?: PublicKey;
|
|
7108
7108
|
authority?: PublicKey;
|
|
7109
7109
|
}, args: {
|
|
7110
|
-
amount: BN$
|
|
7111
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7110
|
+
amount: BN$1;
|
|
7111
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7112
7112
|
declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7113
|
-
amount: BN$
|
|
7114
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7113
|
+
amount: BN$1;
|
|
7114
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7115
7115
|
declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
|
|
7116
7116
|
assetBank: PublicKey;
|
|
7117
7117
|
liabBank: PublicKey;
|
|
@@ -7121,8 +7121,8 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
|
|
|
7121
7121
|
group?: PublicKey;
|
|
7122
7122
|
authority?: PublicKey;
|
|
7123
7123
|
}, args: {
|
|
7124
|
-
assetAmount: BN$
|
|
7125
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7124
|
+
assetAmount: BN$1;
|
|
7125
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7126
7126
|
declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
|
|
7127
7127
|
lendrAccount: PublicKey;
|
|
7128
7128
|
destinationAccount: PublicKey;
|
|
@@ -7131,52 +7131,52 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
|
|
|
7131
7131
|
group?: PublicKey;
|
|
7132
7132
|
authority?: PublicKey;
|
|
7133
7133
|
emissionsMint?: PublicKey;
|
|
7134
|
-
}): Promise<
|
|
7134
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7135
7135
|
declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7136
7136
|
lendrAccount: PublicKey;
|
|
7137
7137
|
group?: PublicKey;
|
|
7138
7138
|
admin?: PublicKey;
|
|
7139
7139
|
}, args: {
|
|
7140
|
-
flag: BN$
|
|
7141
|
-
}): Promise<
|
|
7140
|
+
flag: BN$1;
|
|
7141
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7142
7142
|
declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7143
7143
|
lendrAccount: PublicKey;
|
|
7144
7144
|
group?: PublicKey;
|
|
7145
7145
|
admin?: PublicKey;
|
|
7146
7146
|
}, args: {
|
|
7147
|
-
flag: BN$
|
|
7148
|
-
}): Promise<
|
|
7147
|
+
flag: BN$1;
|
|
7148
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7149
7149
|
declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
|
|
7150
7150
|
bank: PublicKey;
|
|
7151
7151
|
group?: PublicKey;
|
|
7152
7152
|
admin?: PublicKey;
|
|
7153
7153
|
}, args: {
|
|
7154
7154
|
bankConfigOpt: BankConfigOptRaw;
|
|
7155
|
-
}): Promise<
|
|
7155
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7156
7156
|
declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7157
7157
|
lendrAccount: PublicKey;
|
|
7158
7158
|
authority?: PublicKey;
|
|
7159
7159
|
ixsSysvar?: PublicKey;
|
|
7160
7160
|
}, args: {
|
|
7161
|
-
endIndex: BN$
|
|
7162
|
-
}): Promise<
|
|
7161
|
+
endIndex: BN$1;
|
|
7162
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7163
7163
|
declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7164
7164
|
lendrAccount: PublicKey;
|
|
7165
7165
|
authority?: PublicKey;
|
|
7166
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7166
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7167
7167
|
declare function makeAccountAuthorityTransferIx(ldProgram: LendrProgram, accounts: {
|
|
7168
7168
|
lendrAccount: PublicKey;
|
|
7169
7169
|
newAuthority: PublicKey;
|
|
7170
7170
|
feePayer: PublicKey;
|
|
7171
7171
|
group?: PublicKey;
|
|
7172
7172
|
authority?: PublicKey;
|
|
7173
|
-
}): Promise<
|
|
7173
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7174
7174
|
declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
|
|
7175
7175
|
lendrGroup: PublicKey;
|
|
7176
7176
|
admin: PublicKey;
|
|
7177
7177
|
}, args?: {
|
|
7178
7178
|
isArenaGroup?: boolean;
|
|
7179
|
-
}): Promise<
|
|
7179
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7180
7180
|
/**
|
|
7181
7181
|
* Configure the oracle for a bank
|
|
7182
7182
|
* @param ldProgram The lendr program
|
|
@@ -7201,7 +7201,7 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
|
|
|
7201
7201
|
/**
|
|
7202
7202
|
* The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
|
|
7203
7203
|
*/
|
|
7204
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7204
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7205
7205
|
/**
|
|
7206
7206
|
* Creates an instruction to add a permissionless staked bank to a lending pool.
|
|
7207
7207
|
* @param ldProgram - The lendr program instance
|
|
@@ -7234,8 +7234,8 @@ remainingAccounts: AccountMeta[] | undefined, args: {
|
|
|
7234
7234
|
* will be created at the address {@link findPoolAddress} with the default
|
|
7235
7235
|
* bump.
|
|
7236
7236
|
*/
|
|
7237
|
-
seed?: BN$
|
|
7238
|
-
}): Promise<
|
|
7237
|
+
seed?: BN$1;
|
|
7238
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7239
7239
|
declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
7240
7240
|
lendrGroup: PublicKey;
|
|
7241
7241
|
feePayer: PublicKey;
|
|
@@ -7246,15 +7246,15 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7246
7246
|
globalFeeWallet?: PublicKey;
|
|
7247
7247
|
}, args: {
|
|
7248
7248
|
bankConfig: BankConfigCompactRaw;
|
|
7249
|
-
}): Promise<
|
|
7249
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7250
7250
|
declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
|
|
7251
7251
|
lendrAccount: PublicKey;
|
|
7252
7252
|
feePayer: PublicKey;
|
|
7253
7253
|
authority?: PublicKey;
|
|
7254
|
-
}): Promise<
|
|
7254
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7255
7255
|
declare function makeLendingAccountSortBalancesIx(ldProgram: LendrProgram, accounts: {
|
|
7256
7256
|
lendrAccount: PublicKey;
|
|
7257
|
-
}): Promise<
|
|
7257
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7258
7258
|
declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
7259
7259
|
lendrAccount: PublicKey;
|
|
7260
7260
|
},
|
|
@@ -7262,7 +7262,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7262
7262
|
* The remaining accounts required for this instruction. Should include:
|
|
7263
7263
|
* - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
|
|
7264
7264
|
*/
|
|
7265
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7265
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7266
7266
|
declare const instructions: {
|
|
7267
7267
|
makeDepositIx: typeof makeDepositIx;
|
|
7268
7268
|
makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
|
|
@@ -7856,34 +7856,34 @@ declare class AggregatorAccountData {
|
|
|
7856
7856
|
//#region src/vendor/switchboard_pull/index.d.ts
|
|
7857
7857
|
declare const SWITCHBOARD_ONDEMANDE_PRICE_PRECISION = 18;
|
|
7858
7858
|
interface CurrentResult {
|
|
7859
|
-
value: BN;
|
|
7860
|
-
std_dev: BN;
|
|
7861
|
-
mean: BN;
|
|
7862
|
-
range: BN;
|
|
7863
|
-
min_value: BN;
|
|
7864
|
-
max_vaalue: BN;
|
|
7865
|
-
slot: BN;
|
|
7866
|
-
min_slot: BN;
|
|
7867
|
-
max_slot: BN;
|
|
7859
|
+
value: BN$1;
|
|
7860
|
+
std_dev: BN$1;
|
|
7861
|
+
mean: BN$1;
|
|
7862
|
+
range: BN$1;
|
|
7863
|
+
min_value: BN$1;
|
|
7864
|
+
max_vaalue: BN$1;
|
|
7865
|
+
slot: BN$1;
|
|
7866
|
+
min_slot: BN$1;
|
|
7867
|
+
max_slot: BN$1;
|
|
7868
7868
|
}
|
|
7869
7869
|
interface OracleSubmission {
|
|
7870
7870
|
oracle: PublicKey;
|
|
7871
|
-
slot: BN;
|
|
7872
|
-
value: BN;
|
|
7871
|
+
slot: BN$1;
|
|
7872
|
+
value: BN$1;
|
|
7873
7873
|
}
|
|
7874
7874
|
interface PullFeedAccountData {
|
|
7875
7875
|
submissions: OracleSubmission[];
|
|
7876
7876
|
authority: PublicKey;
|
|
7877
7877
|
queue: PublicKey;
|
|
7878
7878
|
feed_hash: Buffer;
|
|
7879
|
-
initialized_at: BN;
|
|
7880
|
-
permissions: BN;
|
|
7881
|
-
max_variance: BN;
|
|
7879
|
+
initialized_at: BN$1;
|
|
7880
|
+
permissions: BN$1;
|
|
7881
|
+
max_variance: BN$1;
|
|
7882
7882
|
min_responses: number;
|
|
7883
7883
|
name: Buffer;
|
|
7884
7884
|
sample_size: number;
|
|
7885
|
-
last_update_timestamp: BN;
|
|
7886
|
-
lut_slot: BN;
|
|
7885
|
+
last_update_timestamp: BN$1;
|
|
7886
|
+
lut_slot: BN$1;
|
|
7887
7887
|
result: CurrentResult;
|
|
7888
7888
|
max_staleness: number;
|
|
7889
7889
|
min_sample_size: number;
|
|
@@ -8060,7 +8060,7 @@ declare class LendrAccount implements LendrAccountType {
|
|
|
8060
8060
|
userTokenAtaPk: PublicKey;
|
|
8061
8061
|
mintData: MintData;
|
|
8062
8062
|
ixArguments: {
|
|
8063
|
-
amount: BN$
|
|
8063
|
+
amount: BN$1;
|
|
8064
8064
|
};
|
|
8065
8065
|
remainingAccounts: {
|
|
8066
8066
|
pubkey: PublicKey;
|
|
@@ -8075,7 +8075,7 @@ declare class LendrAccount implements LendrAccountType {
|
|
|
8075
8075
|
mintData: MintData;
|
|
8076
8076
|
userAta: PublicKey;
|
|
8077
8077
|
ixArguments: {
|
|
8078
|
-
amount: BN$
|
|
8078
|
+
amount: BN$1;
|
|
8079
8079
|
repayAll: boolean;
|
|
8080
8080
|
};
|
|
8081
8081
|
remainingAccounts: PublicKey[];
|
|
@@ -8986,11 +8986,11 @@ declare function parseOracleSetup(oracleSetupRaw: OracleSetupRaw): OracleSetup;
|
|
|
8986
8986
|
/**
|
|
8987
8987
|
* Get all active EMode flags as an array of flag names
|
|
8988
8988
|
*/
|
|
8989
|
-
declare function getActiveEmodeFlags(flags: BN$
|
|
8989
|
+
declare function getActiveEmodeFlags(flags: BN$1): EmodeFlags[];
|
|
8990
8990
|
/**
|
|
8991
8991
|
* Check if a specific EMode flag is set
|
|
8992
8992
|
*/
|
|
8993
|
-
declare function hasEmodeFlag(flags: BN$
|
|
8993
|
+
declare function hasEmodeFlag(flags: BN$1, flag: number): boolean;
|
|
8994
8994
|
/**
|
|
8995
8995
|
* Get all active EMode entry flags as an array of flag names
|
|
8996
8996
|
*/
|
|
@@ -9245,7 +9245,7 @@ declare class LendrClient {
|
|
|
9245
9245
|
* @returns transaction instruction
|
|
9246
9246
|
*/
|
|
9247
9247
|
makeCreateLendrAccountIx(lendrAccountPk: PublicKey): Promise<InstructionsWrapper>;
|
|
9248
|
-
makeCreateLendrAccountWithSessionIx(session: EstablishedSessionState, accountSeed: BN$
|
|
9248
|
+
makeCreateLendrAccountWithSessionIx(session: EstablishedSessionState, accountSeed: BN$1): Promise<InstructionsWrapper>;
|
|
9249
9249
|
/**
|
|
9250
9250
|
* Create a new lendr account under the authority of the user.
|
|
9251
9251
|
*
|
|
@@ -9288,7 +9288,7 @@ declare class LendrClient {
|
|
|
9288
9288
|
}): Promise<SolanaTransaction>;
|
|
9289
9289
|
getLatestBlockHashForSure(): Promise<string>;
|
|
9290
9290
|
createVersionTransaction(instructions: TransactionInstruction[], payerKey: PublicKey, signers?: Array<Signer>, extraMetaData?: ExtendedTransactionProperties): Promise<VersionedTransaction>;
|
|
9291
|
-
createLendrAccountWithSessionTx(session: EstablishedSessionState, accountSeed: BN$
|
|
9291
|
+
createLendrAccountWithSessionTx(session: EstablishedSessionState, accountSeed: BN$1): Promise<VersionedTransaction>;
|
|
9292
9292
|
/**
|
|
9293
9293
|
* Create transaction instruction to initialize a new group.
|
|
9294
9294
|
*
|
|
@@ -9480,7 +9480,7 @@ interface BalanceRaw {
|
|
|
9480
9480
|
assetShares: WrappedI80F48;
|
|
9481
9481
|
liabilityShares: WrappedI80F48;
|
|
9482
9482
|
emissionsOutstanding: WrappedI80F48;
|
|
9483
|
-
lastUpdate: BN$
|
|
9483
|
+
lastUpdate: BN$1;
|
|
9484
9484
|
}
|
|
9485
9485
|
interface HealthCacheRaw {
|
|
9486
9486
|
assetValue: WrappedI80F48;
|
|
@@ -9489,7 +9489,7 @@ interface HealthCacheRaw {
|
|
|
9489
9489
|
liabilityValueMaint: WrappedI80F48;
|
|
9490
9490
|
assetValueEquity: WrappedI80F48;
|
|
9491
9491
|
liabilityValueEquity: WrappedI80F48;
|
|
9492
|
-
timestamp: BN$
|
|
9492
|
+
timestamp: BN$1;
|
|
9493
9493
|
flags: number;
|
|
9494
9494
|
prices: number[][];
|
|
9495
9495
|
errIndex: number;
|
|
@@ -9504,10 +9504,10 @@ interface LendrAccountRaw {
|
|
|
9504
9504
|
lendingAccount: {
|
|
9505
9505
|
balances: BalanceRaw[];
|
|
9506
9506
|
};
|
|
9507
|
-
accountFlags: BN$
|
|
9507
|
+
accountFlags: BN$1;
|
|
9508
9508
|
emissionsDestinationAccount: PublicKey;
|
|
9509
9509
|
healthCache: HealthCacheRaw;
|
|
9510
|
-
padding0?: BN$
|
|
9510
|
+
padding0?: BN$1[];
|
|
9511
9511
|
}
|
|
9512
9512
|
type LendrRequirementTypeRaw = {
|
|
9513
9513
|
initial: {};
|
|
@@ -9645,11 +9645,11 @@ declare function parseLendrAccountRaw(lendrAccountPk: PublicKey, accountData: Le
|
|
|
9645
9645
|
/**
|
|
9646
9646
|
* Get all active account flags as an array of flag names
|
|
9647
9647
|
*/
|
|
9648
|
-
declare function getActiveAccountFlags(flags: BN$
|
|
9648
|
+
declare function getActiveAccountFlags(flags: BN$1): AccountFlags[];
|
|
9649
9649
|
/**
|
|
9650
9650
|
* Check if an account flag is set
|
|
9651
9651
|
*/
|
|
9652
|
-
declare function hasAccountFlag(flags: BN$
|
|
9652
|
+
declare function hasAccountFlag(flags: BN$1, flag: number): boolean;
|
|
9653
9653
|
/**
|
|
9654
9654
|
* Convert on-chain health cache flags (BN) to an array of HealthCacheFlags enum values
|
|
9655
9655
|
*
|
|
@@ -9690,7 +9690,7 @@ declare const fetchLendrAccountData: (program: LendrProgram, lendrAccountPk: Pub
|
|
|
9690
9690
|
/**
|
|
9691
9691
|
* Convert numeric flag to BN for Solana compatibility
|
|
9692
9692
|
*/
|
|
9693
|
-
declare function accountFlagToBN(flag: AccountFlags): BN$
|
|
9693
|
+
declare function accountFlagToBN(flag: AccountFlags): BN$1;
|
|
9694
9694
|
declare function lendrAccountToDto(lendrAccount: LendrAccountType): LendrAccountTypeDto;
|
|
9695
9695
|
declare function balanceToDto(balance: BalanceType): BalanceTypeDto;
|
|
9696
9696
|
declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto;
|
|
@@ -9723,8 +9723,8 @@ type LendrGroupTypeDto = {
|
|
|
9723
9723
|
//#region src/services/group/types/raw-group.types.d.ts
|
|
9724
9724
|
interface LendrGroupRaw {
|
|
9725
9725
|
admin: PublicKey;
|
|
9726
|
-
padding0: BN$
|
|
9727
|
-
padding1: BN$
|
|
9726
|
+
padding0: BN$1[];
|
|
9727
|
+
padding1: BN$1[];
|
|
9728
9728
|
}
|
|
9729
9729
|
//#endregion
|
|
9730
9730
|
//#region src/services/group/utils/deserialize.utils.d.ts
|
|
@@ -10027,7 +10027,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
|
|
|
10027
10027
|
feePayer: PublicKey;
|
|
10028
10028
|
blockhash: string;
|
|
10029
10029
|
}) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
|
|
10030
|
-
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<
|
|
10030
|
+
declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js24.SignatureStatus>;
|
|
10031
10031
|
//#endregion
|
|
10032
10032
|
//#region src/common/bank-metadata.d.ts
|
|
10033
10033
|
declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
@@ -10097,5 +10097,5 @@ type BankMetadataMap = {
|
|
|
10097
10097
|
//# sourceMappingURL=bank-metadata.d.ts.map
|
|
10098
10098
|
|
|
10099
10099
|
//#endregion
|
|
10100
|
-
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$1 as STAKE_CONFIG_ID, STAKE_PROGRAM_ID, SWB_PRICE_CONF_INTERVALS, SYSTEM_PROGRAM_ID, SYSVAR_CLOCK_ID, SYSVAR_RENT_ID, SYSVAR_STAKE_HISTORY_ID, SimulationResult, SolanaTransaction, SpecificBroadcastMethod, SpecificBroadcastMethodType, StakeAccount, StakePoolMevMap, TLogger, TMetadata, TRANSFER_ACCOUNT_AUTHORITY_FLAG, TransactionArenaKeyMap, TransactionBroadcastType, TransactionBuilderResult, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, USDC_DECIMALS, USDC_MINT, ValidatorRateData, ValidatorStakeGroup, ValidatorStakeGroupDto, WSOL_EXTENDED_METADATA, WSOL_MINT, Wallet, WalletToken, WrappedI80F48, accountFlagToBN, addOracleToBanksIx, addTransactionMetadata, aprToApy, apyToApr, balanceToDto, bankConfigRawToDto, bankExtendedMetadataOverrideSchema, bankRawToDto, bigNumberToWrappedI80F48, bpsToPercentile, buildFeedIdMap, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, computeAccountValue, computeActiveEmodePairs, computeAssetUsdValue, computeBalanceUsdValue, computeBaseInterestRate, computeClaimedEmissions, computeEmodeImpacts, computeFreeCollateral, computeFreeCollateralLegacy, computeHealthAccountMetas, computeHealthCheckAccounts, computeHealthComponents, computeHealthComponentsLegacy, computeHealthComponentsWithoutBiasLegacy, computeInterestRates, computeLiabilityUsdValue, computeLoopingParams, computeMaxLeverage, computeNetApy, computeQuantity, computeQuantityUi, computeRemainingCapacity, computeTotalOutstandingEmissions, computeTvl, computeUsdValue, computeUtilizationRate, confirmTransaction, crankPythOracleIx, createLendrAccountTx, createUpdateFeedIx, decodeAccountRaw, decodeBankRaw, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dtoToBalance, dtoToBank, dtoToBankConfig, dtoToBankConfigRaw, dtoToBankRaw, dtoToEmodeSettings, dtoToEmodeSettingsRaw, dtoToGroup, dtoToHealthCache, dtoToInterestRateConfig, dtoToLendrAccount, dtoToOraclePrice, dtoToValidatorStakeGroup, dynamicNumeralFormatter, emodeSettingsRawToDto, feedIdToString, fetchBanksExtendedMetadata, fetchLendrAccountAddresses, fetchLendrAccountData, fetchMultipleBanks, fetchNativeStakeAccounts, fetchOracleData, fetchPythOracleData, fetchStakeAccount, fetchStakePoolActiveStates, fetchStakePoolMev, fetchSwbOracleData, findOracleKey, findPythPushOracleAddress, floor, freezeBankConfigIx, getAccountKeys, getActiveAccountFlags, getActiveEmodeEntryFlags, getActiveEmodeFlags, getActiveHealthCacheFlags, getActiveStaleBanks, getAssetQuantity, getAssetShares, getAssetWeight, getBalanceUsdValueWithPriceBias, getBankVaultAuthority, getBankVaultSeeds, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getConfig, getConfigPda, getHealthCacheStatusDescription, getLiabilityQuantity, getLiabilityShares, getLiabilityWeight, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getPrice, getPriceFeedAccountForProgram, getPriceWithConfidence, getRecentPrioritizationFeesByPercentile, getTotalAssetQuantity, getTotalLiabilityQuantity, getTreasuryPda, getTxSize, getValueInsensitive, groupToDto, groupedNumberFormatter, groupedNumberFormatterDyn, hasAccountFlag, hasEmodeEntryFlag, hasEmodeFlag, hasHealthCacheFlag, healthCacheToDto, index_d_exports$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 };
|
|
10101
|
-
//# sourceMappingURL=index-
|
|
10100
|
+
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, 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, 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$1 as STAKE_CONFIG_ID, STAKE_PROGRAM_ID, SWB_PRICE_CONF_INTERVALS, SYSTEM_PROGRAM_ID, SYSVAR_CLOCK_ID, SYSVAR_RENT_ID, SYSVAR_STAKE_HISTORY_ID, SimulationResult, SolanaTransaction, SpecificBroadcastMethod, SpecificBroadcastMethodType, StakeAccount, StakePoolMevMap, TLogger, TMetadata, TRANSFER_ACCOUNT_AUTHORITY_FLAG, TransactionArenaKeyMap, TransactionBroadcastType, TransactionBuilderResult, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, USDC_DECIMALS, USDC_MINT, ValidatorRateData, ValidatorStakeGroup, ValidatorStakeGroupDto, WSOL_EXTENDED_METADATA, WSOL_MINT, Wallet, WalletToken, WrappedI80F48, accountFlagToBN, addOracleToBanksIx, addTransactionMetadata, aprToApy, apyToApr, balanceToDto, bankConfigRawToDto, bankExtendedMetadataOverrideSchema, bankRawToDto, bigNumberToWrappedI80F48, bpsToPercentile, buildFeedIdMap, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, computeAccountValue, computeActiveEmodePairs, computeAssetUsdValue, computeBalanceUsdValue, computeBaseInterestRate, computeClaimedEmissions, computeEmodeImpacts, computeFreeCollateral, computeFreeCollateralLegacy, computeHealthAccountMetas, computeHealthCheckAccounts, computeHealthComponents, computeHealthComponentsLegacy, computeHealthComponentsWithoutBiasLegacy, computeInterestRates, computeLiabilityUsdValue, computeLoopingParams, computeMaxLeverage, computeNetApy, computeQuantity, computeQuantityUi, computeRemainingCapacity, computeTotalOutstandingEmissions, computeTvl, computeUsdValue, computeUtilizationRate, confirmTransaction, crankPythOracleIx, createLendrAccountTx, createUpdateFeedIx, decodeAccountRaw, decodeBankRaw, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dtoToBalance, dtoToBank, dtoToBankConfig, dtoToBankConfigRaw, dtoToBankRaw, dtoToEmodeSettings, dtoToEmodeSettingsRaw, dtoToGroup, dtoToHealthCache, dtoToInterestRateConfig, dtoToLendrAccount, dtoToOraclePrice, dtoToValidatorStakeGroup, dynamicNumeralFormatter, emodeSettingsRawToDto, feedIdToString, fetchBanksExtendedMetadata, fetchLendrAccountAddresses, fetchLendrAccountData, fetchMultipleBanks, fetchNativeStakeAccounts, fetchOracleData, fetchPythOracleData, fetchStakeAccount, fetchStakePoolActiveStates, fetchStakePoolMev, fetchSwbOracleData, findOracleKey, findPythPushOracleAddress, floor, freezeBankConfigIx, getAccountKeys, getActiveAccountFlags, getActiveEmodeEntryFlags, getActiveEmodeFlags, getActiveHealthCacheFlags, getActiveStaleBanks, getAssetQuantity, getAssetShares, getAssetWeight, getBalanceUsdValueWithPriceBias, getBankVaultAuthority, getBankVaultSeeds, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getConfig, getConfigPda, getHealthCacheStatusDescription, getLiabilityQuantity, getLiabilityShares, getLiabilityWeight, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getPrice, getPriceFeedAccountForProgram, getPriceWithConfidence, getRecentPrioritizationFeesByPercentile, getTotalAssetQuantity, getTotalLiabilityQuantity, getTreasuryPda, getTxSize, getValueInsensitive, groupToDto, groupedNumberFormatter, groupedNumberFormatterDyn, hasAccountFlag, hasEmodeEntryFlag, hasEmodeFlag, hasHealthCacheFlag, healthCacheToDto, index_d_exports$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 };
|
|
10101
|
+
//# sourceMappingURL=index-Bff8s4pU.d.ts.map
|