@pyron-finance/pyron-client 1.0.9 → 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-V14cBRFh.d.ts → index-Blg_DMQJ.d.cts} +128 -113
- package/dist/index-Blg_DMQJ.d.cts.map +1 -0
- package/dist/{index-BLeClW50.d.cts → index-DwoWa2a_.d.ts} +100 -89
- package/dist/index-DwoWa2a_.d.ts.map +1 -0
- package/dist/index.cjs +4 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-BLeClW50.d.cts.map +0 -1
- package/dist/index-V14cBRFh.d.ts.map +0 -1
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
import * as _solana_web3_js24 from "@solana/web3.js";
|
|
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";
|
|
1
3
|
import * as anchor from "@coral-xyz/anchor";
|
|
2
4
|
import { Address, AnchorProvider, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
|
|
3
|
-
import
|
|
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
|
+
import { SignerWalletAdapter } from "@solana/wallet-adapter-base";
|
|
5
6
|
import BigNumber from "bignumber.js";
|
|
6
|
-
import BN
|
|
7
|
-
import { Storage } from "unstorage";
|
|
7
|
+
import BN from "bn.js";
|
|
8
8
|
import { z } from "zod";
|
|
9
|
-
import * as z$2 from "zod/v4-mini";
|
|
10
|
-
import { SignerWalletAdapter } from "@solana/wallet-adapter-base";
|
|
11
9
|
import * as _fogo_sessions_sdk0 from "@fogo/sessions-sdk";
|
|
12
10
|
import { TransactionResult } from "@fogo/sessions-sdk";
|
|
11
|
+
import { Storage } from "unstorage";
|
|
12
|
+
import * as z$1 from "zod/v4-mini";
|
|
13
13
|
|
|
14
|
+
//#region rolldown:runtime
|
|
15
|
+
//#endregion
|
|
14
16
|
//#region src/common/types.d.ts
|
|
15
17
|
type Program$1<T extends Idl> = Omit<Program<T>, "provider"> & {
|
|
16
18
|
provider: AnchorProvider;
|
|
@@ -363,16 +365,16 @@ declare function toNumber(amount: Amount): number;
|
|
|
363
365
|
/**
|
|
364
366
|
* 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
367
|
*/
|
|
366
|
-
declare function toBigNumber(amount: Amount | BN
|
|
368
|
+
declare function toBigNumber(amount: Amount | BN): BigNumber;
|
|
367
369
|
/**
|
|
368
370
|
* 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
371
|
*/
|
|
370
|
-
declare function uiToNative(amount: Amount, decimals: number): BN
|
|
372
|
+
declare function uiToNative(amount: Amount, decimals: number): BN;
|
|
371
373
|
declare function uiToNativeBigNumber(amount: Amount, decimals: number): BigNumber;
|
|
372
374
|
/**
|
|
373
375
|
* Converts a native representation of a token amount into its UI value as `number`, given the specified mint decimal amount.
|
|
374
376
|
*/
|
|
375
|
-
declare function nativeToUi(amount: Amount | BN
|
|
377
|
+
declare function nativeToUi(amount: Amount | BN, decimals: number): number;
|
|
376
378
|
declare function shortenAddress(pubkey: Address, chars?: number): string;
|
|
377
379
|
/**
|
|
378
380
|
* Converts basis points (bps) to a decimal percentage value.
|
|
@@ -6510,13 +6512,13 @@ declare function buildEncodedVaaCreateInstruction(wormhole: Program<WormholeCore
|
|
|
6510
6512
|
declare const getGuardianSetPda: (guardianSetIndex: number, wormholeProgramId: PublicKey) => PublicKey;
|
|
6511
6513
|
type PriceFeedMessage = {
|
|
6512
6514
|
feedId: Buffer;
|
|
6513
|
-
price: BN
|
|
6514
|
-
confidence: BN
|
|
6515
|
+
price: BN;
|
|
6516
|
+
confidence: BN;
|
|
6515
6517
|
exponent: number;
|
|
6516
|
-
publishTime: BN
|
|
6517
|
-
prevPublishTime: BN
|
|
6518
|
-
emaPrice: BN
|
|
6519
|
-
emaConf: BN
|
|
6518
|
+
publishTime: BN;
|
|
6519
|
+
prevPublishTime: BN;
|
|
6520
|
+
emaPrice: BN;
|
|
6521
|
+
emaConf: BN;
|
|
6520
6522
|
};
|
|
6521
6523
|
declare function parsePriceFeedMessage(message: Buffer): PriceFeedMessage;
|
|
6522
6524
|
//# sourceMappingURL=pyth.utils.d.ts.map
|
|
@@ -6664,6 +6666,7 @@ declare enum EmodeTag {
|
|
|
6664
6666
|
SOL = 501,
|
|
6665
6667
|
LST_T1 = 1571,
|
|
6666
6668
|
LST_T2 = 1572,
|
|
6669
|
+
UNKNOWN = 9999,
|
|
6667
6670
|
}
|
|
6668
6671
|
interface EmodeSettingsType {
|
|
6669
6672
|
emodeTag: EmodeTag;
|
|
@@ -6722,12 +6725,12 @@ interface BankRaw {
|
|
|
6722
6725
|
feeVaultBump: number;
|
|
6723
6726
|
feeVaultAuthorityBump: number;
|
|
6724
6727
|
collectedGroupFeesOutstanding: WrappedI80F48;
|
|
6725
|
-
lastUpdate: BN
|
|
6728
|
+
lastUpdate: BN;
|
|
6726
6729
|
config: BankConfigRaw;
|
|
6727
6730
|
totalLiabilityShares: WrappedI80F48;
|
|
6728
6731
|
totalAssetShares: WrappedI80F48;
|
|
6729
|
-
flags: BN
|
|
6730
|
-
emissionsRate: BN
|
|
6732
|
+
flags: BN;
|
|
6733
|
+
emissionsRate: BN;
|
|
6731
6734
|
emissionsRemaining: WrappedI80F48;
|
|
6732
6735
|
emissionsMint: PublicKey;
|
|
6733
6736
|
emode: EmodeSettingsRaw;
|
|
@@ -6737,15 +6740,15 @@ interface BankConfigRaw {
|
|
|
6737
6740
|
assetWeightMaint: WrappedI80F48;
|
|
6738
6741
|
liabilityWeightInit: WrappedI80F48;
|
|
6739
6742
|
liabilityWeightMaint: WrappedI80F48;
|
|
6740
|
-
depositLimit: BN
|
|
6743
|
+
depositLimit: BN;
|
|
6741
6744
|
interestRateConfig: InterestRateConfigRaw;
|
|
6742
6745
|
operationalState: OperationalStateRaw;
|
|
6743
6746
|
oracleSetup: OracleSetupRaw;
|
|
6744
6747
|
oracleKeys: PublicKey[];
|
|
6745
|
-
borrowLimit: BN
|
|
6748
|
+
borrowLimit: BN;
|
|
6746
6749
|
riskTier: RiskTierRaw;
|
|
6747
6750
|
assetTag: number;
|
|
6748
|
-
totalAssetValueInitLimit: BN
|
|
6751
|
+
totalAssetValueInitLimit: BN;
|
|
6749
6752
|
oracleMaxAge: number;
|
|
6750
6753
|
}
|
|
6751
6754
|
interface BankConfigOptRaw {
|
|
@@ -6753,15 +6756,15 @@ interface BankConfigOptRaw {
|
|
|
6753
6756
|
assetWeightMaint: WrappedI80F48 | null;
|
|
6754
6757
|
liabilityWeightInit: WrappedI80F48 | null;
|
|
6755
6758
|
liabilityWeightMaint: WrappedI80F48 | null;
|
|
6756
|
-
depositLimit: BN
|
|
6757
|
-
borrowLimit: BN
|
|
6759
|
+
depositLimit: BN | null;
|
|
6760
|
+
borrowLimit: BN | null;
|
|
6758
6761
|
riskTier: {
|
|
6759
6762
|
collateral: {};
|
|
6760
6763
|
} | {
|
|
6761
6764
|
isolated: {};
|
|
6762
6765
|
} | null;
|
|
6763
6766
|
assetTag: number | null;
|
|
6764
|
-
totalAssetValueInitLimit: BN
|
|
6767
|
+
totalAssetValueInitLimit: BN | null;
|
|
6765
6768
|
interestRateConfig: InterestRateConfigRaw | null;
|
|
6766
6769
|
operationalState: {
|
|
6767
6770
|
paused: {};
|
|
@@ -6776,8 +6779,8 @@ interface BankConfigOptRaw {
|
|
|
6776
6779
|
}
|
|
6777
6780
|
interface BankConfigCompactRaw extends Omit<BankConfigRaw, "oracleKeys" | "oracle" | "oracleSetup"> {
|
|
6778
6781
|
oracleMaxAge: number;
|
|
6779
|
-
padding0?: BN
|
|
6780
|
-
padding1?: BN
|
|
6782
|
+
padding0?: BN[];
|
|
6783
|
+
padding1?: BN[];
|
|
6781
6784
|
}
|
|
6782
6785
|
type RiskTierRaw = {
|
|
6783
6786
|
collateral: {};
|
|
@@ -6826,8 +6829,8 @@ interface EmodeEntryRaw {
|
|
|
6826
6829
|
}
|
|
6827
6830
|
interface EmodeSettingsRaw {
|
|
6828
6831
|
emodeTag: number;
|
|
6829
|
-
timestamp: BN
|
|
6830
|
-
flags: BN
|
|
6832
|
+
timestamp: BN;
|
|
6833
|
+
flags: BN;
|
|
6831
6834
|
emodeConfig: EmodeConfigRaw;
|
|
6832
6835
|
}
|
|
6833
6836
|
interface EmodeConfigRaw {
|
|
@@ -7001,7 +7004,7 @@ declare function crankPythOracleIx(oracles: {
|
|
|
7001
7004
|
postInstructions: InstructionWithEphemeralSigners[];
|
|
7002
7005
|
closeInstructions: InstructionWithEphemeralSigners[];
|
|
7003
7006
|
keys: never[];
|
|
7004
|
-
lut:
|
|
7007
|
+
lut: _solana_web3_js24.AddressLookupTableAccount | null;
|
|
7005
7008
|
}>;
|
|
7006
7009
|
//#endregion
|
|
7007
7010
|
//#region src/services/price/types/price.types.d.ts
|
|
@@ -7042,7 +7045,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
|
7042
7045
|
lendrAccount: PublicKey;
|
|
7043
7046
|
authority: PublicKey;
|
|
7044
7047
|
feePayer: PublicKey;
|
|
7045
|
-
}): Promise<
|
|
7048
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7046
7049
|
declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
7047
7050
|
lendrGroup,
|
|
7048
7051
|
session,
|
|
@@ -7051,7 +7054,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
|
7051
7054
|
lendrGroup: PublicKey;
|
|
7052
7055
|
session: EstablishedSessionState;
|
|
7053
7056
|
feePayer: PublicKey;
|
|
7054
|
-
}, accountSeed: BN
|
|
7057
|
+
}, accountSeed: BN): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7055
7058
|
declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
7056
7059
|
lendrAccount: PublicKey;
|
|
7057
7060
|
signerTokenAccount: PublicKey;
|
|
@@ -7061,13 +7064,13 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
|
7061
7064
|
authority?: PublicKey;
|
|
7062
7065
|
liquidityVault?: PublicKey;
|
|
7063
7066
|
}, args: {
|
|
7064
|
-
amount: BN
|
|
7067
|
+
amount: BN;
|
|
7065
7068
|
depositUpToLimit?: boolean;
|
|
7066
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7069
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7067
7070
|
declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7068
|
-
amount: BN
|
|
7071
|
+
amount: BN;
|
|
7069
7072
|
depositUpToLimit?: boolean;
|
|
7070
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7073
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7071
7074
|
declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
7072
7075
|
lendrAccount: PublicKey;
|
|
7073
7076
|
signerTokenAccount: PublicKey;
|
|
@@ -7077,13 +7080,13 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
|
7077
7080
|
authority?: PublicKey;
|
|
7078
7081
|
liquidityVault?: PublicKey;
|
|
7079
7082
|
}, args: {
|
|
7080
|
-
amount: BN
|
|
7083
|
+
amount: BN;
|
|
7081
7084
|
repayAll?: boolean;
|
|
7082
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7085
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7083
7086
|
declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7084
|
-
amount: BN
|
|
7087
|
+
amount: BN;
|
|
7085
7088
|
repayAll?: boolean;
|
|
7086
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7089
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7087
7090
|
declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
7088
7091
|
lendrAccount: PublicKey;
|
|
7089
7092
|
bank: PublicKey;
|
|
@@ -7092,13 +7095,13 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
|
7092
7095
|
group?: PublicKey;
|
|
7093
7096
|
authority?: PublicKey;
|
|
7094
7097
|
}, args: {
|
|
7095
|
-
amount: BN
|
|
7098
|
+
amount: BN;
|
|
7096
7099
|
withdrawAll?: boolean;
|
|
7097
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7100
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7098
7101
|
declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7099
|
-
amount: BN
|
|
7102
|
+
amount: BN;
|
|
7100
7103
|
withdrawAll?: boolean;
|
|
7101
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7104
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7102
7105
|
declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
7103
7106
|
lendrAccount: PublicKey;
|
|
7104
7107
|
bank: PublicKey;
|
|
@@ -7107,11 +7110,11 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
|
7107
7110
|
group?: PublicKey;
|
|
7108
7111
|
authority?: PublicKey;
|
|
7109
7112
|
}, args: {
|
|
7110
|
-
amount: BN
|
|
7111
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7113
|
+
amount: BN;
|
|
7114
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7112
7115
|
declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7113
|
-
amount: BN
|
|
7114
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7116
|
+
amount: BN;
|
|
7117
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7115
7118
|
declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
|
|
7116
7119
|
assetBank: PublicKey;
|
|
7117
7120
|
liabBank: PublicKey;
|
|
@@ -7121,8 +7124,8 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
|
|
|
7121
7124
|
group?: PublicKey;
|
|
7122
7125
|
authority?: PublicKey;
|
|
7123
7126
|
}, args: {
|
|
7124
|
-
assetAmount: BN
|
|
7125
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7127
|
+
assetAmount: BN;
|
|
7128
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7126
7129
|
declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
|
|
7127
7130
|
lendrAccount: PublicKey;
|
|
7128
7131
|
destinationAccount: PublicKey;
|
|
@@ -7131,52 +7134,52 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
|
|
|
7131
7134
|
group?: PublicKey;
|
|
7132
7135
|
authority?: PublicKey;
|
|
7133
7136
|
emissionsMint?: PublicKey;
|
|
7134
|
-
}): Promise<
|
|
7137
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7135
7138
|
declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7136
7139
|
lendrAccount: PublicKey;
|
|
7137
7140
|
group?: PublicKey;
|
|
7138
7141
|
admin?: PublicKey;
|
|
7139
7142
|
}, args: {
|
|
7140
|
-
flag: BN
|
|
7141
|
-
}): Promise<
|
|
7143
|
+
flag: BN;
|
|
7144
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7142
7145
|
declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7143
7146
|
lendrAccount: PublicKey;
|
|
7144
7147
|
group?: PublicKey;
|
|
7145
7148
|
admin?: PublicKey;
|
|
7146
7149
|
}, args: {
|
|
7147
|
-
flag: BN
|
|
7148
|
-
}): Promise<
|
|
7150
|
+
flag: BN;
|
|
7151
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7149
7152
|
declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
|
|
7150
7153
|
bank: PublicKey;
|
|
7151
7154
|
group?: PublicKey;
|
|
7152
7155
|
admin?: PublicKey;
|
|
7153
7156
|
}, args: {
|
|
7154
7157
|
bankConfigOpt: BankConfigOptRaw;
|
|
7155
|
-
}): Promise<
|
|
7158
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7156
7159
|
declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7157
7160
|
lendrAccount: PublicKey;
|
|
7158
7161
|
authority?: PublicKey;
|
|
7159
7162
|
ixsSysvar?: PublicKey;
|
|
7160
7163
|
}, args: {
|
|
7161
|
-
endIndex: BN
|
|
7162
|
-
}): Promise<
|
|
7164
|
+
endIndex: BN;
|
|
7165
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7163
7166
|
declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7164
7167
|
lendrAccount: PublicKey;
|
|
7165
7168
|
authority?: PublicKey;
|
|
7166
|
-
}, remainingAccounts?: AccountMeta[]): Promise<
|
|
7169
|
+
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7167
7170
|
declare function makeAccountAuthorityTransferIx(ldProgram: LendrProgram, accounts: {
|
|
7168
7171
|
lendrAccount: PublicKey;
|
|
7169
7172
|
newAuthority: PublicKey;
|
|
7170
7173
|
feePayer: PublicKey;
|
|
7171
7174
|
group?: PublicKey;
|
|
7172
7175
|
authority?: PublicKey;
|
|
7173
|
-
}): Promise<
|
|
7176
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7174
7177
|
declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
|
|
7175
7178
|
lendrGroup: PublicKey;
|
|
7176
7179
|
admin: PublicKey;
|
|
7177
7180
|
}, args?: {
|
|
7178
7181
|
isArenaGroup?: boolean;
|
|
7179
|
-
}): Promise<
|
|
7182
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7180
7183
|
/**
|
|
7181
7184
|
* Configure the oracle for a bank
|
|
7182
7185
|
* @param ldProgram The lendr program
|
|
@@ -7201,7 +7204,7 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
|
|
|
7201
7204
|
/**
|
|
7202
7205
|
* The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
|
|
7203
7206
|
*/
|
|
7204
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7207
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7205
7208
|
/**
|
|
7206
7209
|
* Creates an instruction to add a permissionless staked bank to a lending pool.
|
|
7207
7210
|
* @param ldProgram - The lendr program instance
|
|
@@ -7234,8 +7237,8 @@ remainingAccounts: AccountMeta[] | undefined, args: {
|
|
|
7234
7237
|
* will be created at the address {@link findPoolAddress} with the default
|
|
7235
7238
|
* bump.
|
|
7236
7239
|
*/
|
|
7237
|
-
seed?: BN
|
|
7238
|
-
}): Promise<
|
|
7240
|
+
seed?: BN;
|
|
7241
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7239
7242
|
declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
7240
7243
|
lendrGroup: PublicKey;
|
|
7241
7244
|
feePayer: PublicKey;
|
|
@@ -7246,15 +7249,15 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7246
7249
|
globalFeeWallet?: PublicKey;
|
|
7247
7250
|
}, args: {
|
|
7248
7251
|
bankConfig: BankConfigCompactRaw;
|
|
7249
|
-
}): Promise<
|
|
7252
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7250
7253
|
declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
|
|
7251
7254
|
lendrAccount: PublicKey;
|
|
7252
7255
|
feePayer: PublicKey;
|
|
7253
7256
|
authority?: PublicKey;
|
|
7254
|
-
}): Promise<
|
|
7257
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7255
7258
|
declare function makeLendingAccountSortBalancesIx(ldProgram: LendrProgram, accounts: {
|
|
7256
7259
|
lendrAccount: PublicKey;
|
|
7257
|
-
}): Promise<
|
|
7260
|
+
}): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7258
7261
|
declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
7259
7262
|
lendrAccount: PublicKey;
|
|
7260
7263
|
},
|
|
@@ -7262,7 +7265,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
|
|
|
7262
7265
|
* The remaining accounts required for this instruction. Should include:
|
|
7263
7266
|
* - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
|
|
7264
7267
|
*/
|
|
7265
|
-
remainingAccounts?: AccountMeta[]): Promise<
|
|
7268
|
+
remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
|
|
7266
7269
|
declare const instructions: {
|
|
7267
7270
|
makeDepositIx: typeof makeDepositIx;
|
|
7268
7271
|
makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
|
|
@@ -7360,7 +7363,7 @@ declare const SYSTEM_PROGRAM_ID: PublicKey;
|
|
|
7360
7363
|
declare const SYSVAR_RENT_ID: PublicKey;
|
|
7361
7364
|
declare const SYSVAR_CLOCK_ID: PublicKey;
|
|
7362
7365
|
declare const SYSVAR_STAKE_HISTORY_ID: PublicKey;
|
|
7363
|
-
declare const STAKE_CONFIG_ID
|
|
7366
|
+
declare const STAKE_CONFIG_ID: PublicKey;
|
|
7364
7367
|
//# sourceMappingURL=programs.d.ts.map
|
|
7365
7368
|
//#endregion
|
|
7366
7369
|
//#region src/errors.d.ts
|
|
@@ -7856,34 +7859,34 @@ declare class AggregatorAccountData {
|
|
|
7856
7859
|
//#region src/vendor/switchboard_pull/index.d.ts
|
|
7857
7860
|
declare const SWITCHBOARD_ONDEMANDE_PRICE_PRECISION = 18;
|
|
7858
7861
|
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
|
|
7862
|
+
value: BN;
|
|
7863
|
+
std_dev: BN;
|
|
7864
|
+
mean: BN;
|
|
7865
|
+
range: BN;
|
|
7866
|
+
min_value: BN;
|
|
7867
|
+
max_vaalue: BN;
|
|
7868
|
+
slot: BN;
|
|
7869
|
+
min_slot: BN;
|
|
7870
|
+
max_slot: BN;
|
|
7868
7871
|
}
|
|
7869
7872
|
interface OracleSubmission {
|
|
7870
7873
|
oracle: PublicKey;
|
|
7871
|
-
slot: BN
|
|
7872
|
-
value: BN
|
|
7874
|
+
slot: BN;
|
|
7875
|
+
value: BN;
|
|
7873
7876
|
}
|
|
7874
7877
|
interface PullFeedAccountData {
|
|
7875
7878
|
submissions: OracleSubmission[];
|
|
7876
7879
|
authority: PublicKey;
|
|
7877
7880
|
queue: PublicKey;
|
|
7878
7881
|
feed_hash: Buffer;
|
|
7879
|
-
initialized_at: BN
|
|
7880
|
-
permissions: BN
|
|
7881
|
-
max_variance: BN
|
|
7882
|
+
initialized_at: BN;
|
|
7883
|
+
permissions: BN;
|
|
7884
|
+
max_variance: BN;
|
|
7882
7885
|
min_responses: number;
|
|
7883
7886
|
name: Buffer;
|
|
7884
7887
|
sample_size: number;
|
|
7885
|
-
last_update_timestamp: BN
|
|
7886
|
-
lut_slot: BN
|
|
7888
|
+
last_update_timestamp: BN;
|
|
7889
|
+
lut_slot: BN;
|
|
7887
7890
|
result: CurrentResult;
|
|
7888
7891
|
max_staleness: number;
|
|
7889
7892
|
min_sample_size: number;
|
|
@@ -8060,7 +8063,7 @@ declare class LendrAccount implements LendrAccountType {
|
|
|
8060
8063
|
userTokenAtaPk: PublicKey;
|
|
8061
8064
|
mintData: MintData;
|
|
8062
8065
|
ixArguments: {
|
|
8063
|
-
amount: BN
|
|
8066
|
+
amount: BN;
|
|
8064
8067
|
};
|
|
8065
8068
|
remainingAccounts: {
|
|
8066
8069
|
pubkey: PublicKey;
|
|
@@ -8075,7 +8078,7 @@ declare class LendrAccount implements LendrAccountType {
|
|
|
8075
8078
|
mintData: MintData;
|
|
8076
8079
|
userAta: PublicKey;
|
|
8077
8080
|
ixArguments: {
|
|
8078
|
-
amount: BN
|
|
8081
|
+
amount: BN;
|
|
8079
8082
|
repayAll: boolean;
|
|
8080
8083
|
};
|
|
8081
8084
|
remainingAccounts: PublicKey[];
|
|
@@ -8989,11 +8992,11 @@ declare function parseOracleSetup(oracleSetupRaw: OracleSetupRaw): OracleSetup;
|
|
|
8989
8992
|
/**
|
|
8990
8993
|
* Get all active EMode flags as an array of flag names
|
|
8991
8994
|
*/
|
|
8992
|
-
declare function getActiveEmodeFlags(flags: BN
|
|
8995
|
+
declare function getActiveEmodeFlags(flags: BN): EmodeFlags[];
|
|
8993
8996
|
/**
|
|
8994
8997
|
* Check if a specific EMode flag is set
|
|
8995
8998
|
*/
|
|
8996
|
-
declare function hasEmodeFlag(flags: BN
|
|
8999
|
+
declare function hasEmodeFlag(flags: BN, flag: number): boolean;
|
|
8997
9000
|
/**
|
|
8998
9001
|
* Get all active EMode entry flags as an array of flag names
|
|
8999
9002
|
*/
|
|
@@ -9248,7 +9251,7 @@ declare class LendrClient {
|
|
|
9248
9251
|
* @returns transaction instruction
|
|
9249
9252
|
*/
|
|
9250
9253
|
makeCreateLendrAccountIx(lendrAccountPk: PublicKey): Promise<InstructionsWrapper>;
|
|
9251
|
-
makeCreateLendrAccountWithSessionIx(session: EstablishedSessionState, accountSeed: BN
|
|
9254
|
+
makeCreateLendrAccountWithSessionIx(session: EstablishedSessionState, accountSeed: BN): Promise<InstructionsWrapper>;
|
|
9252
9255
|
/**
|
|
9253
9256
|
* Create a new lendr account under the authority of the user.
|
|
9254
9257
|
*
|
|
@@ -9291,7 +9294,7 @@ declare class LendrClient {
|
|
|
9291
9294
|
}): Promise<SolanaTransaction>;
|
|
9292
9295
|
getLatestBlockHashForSure(): Promise<string>;
|
|
9293
9296
|
createVersionTransaction(instructions: TransactionInstruction[], payerKey: PublicKey, signers?: Array<Signer>, extraMetaData?: ExtendedTransactionProperties): Promise<VersionedTransaction>;
|
|
9294
|
-
createLendrAccountWithSessionTx(session: EstablishedSessionState, accountSeed: BN
|
|
9297
|
+
createLendrAccountWithSessionTx(session: EstablishedSessionState, accountSeed: BN): Promise<VersionedTransaction>;
|
|
9295
9298
|
/**
|
|
9296
9299
|
* Create transaction instruction to initialize a new group.
|
|
9297
9300
|
*
|
|
@@ -9483,7 +9486,7 @@ interface BalanceRaw {
|
|
|
9483
9486
|
assetShares: WrappedI80F48;
|
|
9484
9487
|
liabilityShares: WrappedI80F48;
|
|
9485
9488
|
emissionsOutstanding: WrappedI80F48;
|
|
9486
|
-
lastUpdate: BN
|
|
9489
|
+
lastUpdate: BN;
|
|
9487
9490
|
}
|
|
9488
9491
|
interface HealthCacheRaw {
|
|
9489
9492
|
assetValue: WrappedI80F48;
|
|
@@ -9492,7 +9495,7 @@ interface HealthCacheRaw {
|
|
|
9492
9495
|
liabilityValueMaint: WrappedI80F48;
|
|
9493
9496
|
assetValueEquity: WrappedI80F48;
|
|
9494
9497
|
liabilityValueEquity: WrappedI80F48;
|
|
9495
|
-
timestamp: BN
|
|
9498
|
+
timestamp: BN;
|
|
9496
9499
|
flags: number;
|
|
9497
9500
|
prices: number[][];
|
|
9498
9501
|
errIndex: number;
|
|
@@ -9507,10 +9510,10 @@ interface LendrAccountRaw {
|
|
|
9507
9510
|
lendingAccount: {
|
|
9508
9511
|
balances: BalanceRaw[];
|
|
9509
9512
|
};
|
|
9510
|
-
accountFlags: BN
|
|
9513
|
+
accountFlags: BN;
|
|
9511
9514
|
emissionsDestinationAccount: PublicKey;
|
|
9512
9515
|
healthCache: HealthCacheRaw;
|
|
9513
|
-
padding0?: BN
|
|
9516
|
+
padding0?: BN[];
|
|
9514
9517
|
}
|
|
9515
9518
|
type LendrRequirementTypeRaw = {
|
|
9516
9519
|
initial: {};
|
|
@@ -9648,11 +9651,11 @@ declare function parseLendrAccountRaw(lendrAccountPk: PublicKey, accountData: Le
|
|
|
9648
9651
|
/**
|
|
9649
9652
|
* Get all active account flags as an array of flag names
|
|
9650
9653
|
*/
|
|
9651
|
-
declare function getActiveAccountFlags(flags: BN
|
|
9654
|
+
declare function getActiveAccountFlags(flags: BN): AccountFlags[];
|
|
9652
9655
|
/**
|
|
9653
9656
|
* Check if an account flag is set
|
|
9654
9657
|
*/
|
|
9655
|
-
declare function hasAccountFlag(flags: BN
|
|
9658
|
+
declare function hasAccountFlag(flags: BN, flag: number): boolean;
|
|
9656
9659
|
/**
|
|
9657
9660
|
* Convert on-chain health cache flags (BN) to an array of HealthCacheFlags enum values
|
|
9658
9661
|
*
|
|
@@ -9693,7 +9696,7 @@ declare const fetchLendrAccountData: (program: LendrProgram, lendrAccountPk: Pub
|
|
|
9693
9696
|
/**
|
|
9694
9697
|
* Convert numeric flag to BN for Solana compatibility
|
|
9695
9698
|
*/
|
|
9696
|
-
declare function accountFlagToBN(flag: AccountFlags): BN
|
|
9699
|
+
declare function accountFlagToBN(flag: AccountFlags): BN;
|
|
9697
9700
|
declare function lendrAccountToDto(lendrAccount: LendrAccountType): LendrAccountTypeDto;
|
|
9698
9701
|
declare function balanceToDto(balance: BalanceType): BalanceTypeDto;
|
|
9699
9702
|
declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto;
|
|
@@ -9726,8 +9729,8 @@ type LendrGroupTypeDto = {
|
|
|
9726
9729
|
//#region src/services/group/types/raw-group.types.d.ts
|
|
9727
9730
|
interface LendrGroupRaw {
|
|
9728
9731
|
admin: PublicKey;
|
|
9729
|
-
padding0: BN
|
|
9730
|
-
padding1: BN
|
|
9732
|
+
padding0: BN[];
|
|
9733
|
+
padding1: BN[];
|
|
9731
9734
|
}
|
|
9732
9735
|
//#endregion
|
|
9733
9736
|
//#region src/services/group/utils/deserialize.utils.d.ts
|
|
@@ -9750,14 +9753,26 @@ declare class DummyMetadataFetcher implements IMetadataFetcher {
|
|
|
9750
9753
|
}
|
|
9751
9754
|
//# sourceMappingURL=dummy.d.ts.map
|
|
9752
9755
|
//#endregion
|
|
9756
|
+
//#region src/services/metadata/fogo.d.ts
|
|
9757
|
+
declare class FogoMetadataFetcher implements IMetadataFetcher {
|
|
9758
|
+
readonly name = "FogoMetadataFetcher";
|
|
9759
|
+
fetch(mints: Array<string>): Promise<Record<string, {
|
|
9760
|
+
name: string;
|
|
9761
|
+
symbol: string;
|
|
9762
|
+
image: string;
|
|
9763
|
+
uri?: string | undefined;
|
|
9764
|
+
}>>;
|
|
9765
|
+
}
|
|
9766
|
+
//# sourceMappingURL=fogo.d.ts.map
|
|
9767
|
+
//#endregion
|
|
9753
9768
|
//#region src/services/metadata/service.d.ts
|
|
9754
|
-
declare const metadataSchema: z$
|
|
9755
|
-
name: z$
|
|
9756
|
-
symbol: z$
|
|
9757
|
-
image: z$
|
|
9758
|
-
uri: z$
|
|
9759
|
-
}, z$
|
|
9760
|
-
type TMetadata = z$
|
|
9769
|
+
declare const metadataSchema: z$1.ZodMiniObject<{
|
|
9770
|
+
name: z$1.ZodMiniString<string>;
|
|
9771
|
+
symbol: z$1.ZodMiniString<string>;
|
|
9772
|
+
image: z$1.ZodMiniString<string>;
|
|
9773
|
+
uri: z$1.ZodMiniOptional<z$1.ZodMiniString<string>>;
|
|
9774
|
+
}, z$1.core.$strip>;
|
|
9775
|
+
type TMetadata = z$1.infer<typeof metadataSchema>;
|
|
9761
9776
|
interface IMetadataFetcher {
|
|
9762
9777
|
readonly name: string;
|
|
9763
9778
|
fetch(mints: Array<string>): Promise<Record<string, TMetadata>>;
|
|
@@ -10073,7 +10088,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
|
|
|
10073
10088
|
feePayer: PublicKey;
|
|
10074
10089
|
blockhash: string;
|
|
10075
10090
|
}) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
|
|
10076
|
-
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>;
|
|
10077
10092
|
//#endregion
|
|
10078
10093
|
//#region src/common/bank-metadata.d.ts
|
|
10079
10094
|
declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
@@ -10086,16 +10101,16 @@ declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
|
10086
10101
|
}, "strip", z.ZodTypeAny, {
|
|
10087
10102
|
symbol?: string | undefined;
|
|
10088
10103
|
name?: string | undefined;
|
|
10089
|
-
mint?: string | undefined;
|
|
10090
|
-
address?: string | undefined;
|
|
10091
10104
|
logoURI?: string | undefined;
|
|
10105
|
+
address?: string | undefined;
|
|
10106
|
+
mint?: string | undefined;
|
|
10092
10107
|
validatorVoteAccount?: string | undefined;
|
|
10093
10108
|
}, {
|
|
10094
10109
|
symbol?: string | undefined;
|
|
10095
10110
|
name?: string | undefined;
|
|
10096
|
-
mint?: string | undefined;
|
|
10097
|
-
address?: string | undefined;
|
|
10098
10111
|
logoURI?: string | undefined;
|
|
10112
|
+
address?: string | undefined;
|
|
10113
|
+
mint?: string | undefined;
|
|
10099
10114
|
validatorVoteAccount?: string | undefined;
|
|
10100
10115
|
}>;
|
|
10101
10116
|
type BankExtendedMetadataOverride = z.infer<typeof bankExtendedMetadataOverrideSchema>;
|
|
@@ -10143,5 +10158,5 @@ type BankMetadataMap = {
|
|
|
10143
10158
|
//# sourceMappingURL=bank-metadata.d.ts.map
|
|
10144
10159
|
|
|
10145
10160
|
//#endregion
|
|
10146
|
-
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, 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
|
|
10147
|
-
//# sourceMappingURL=index-
|
|
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 };
|
|
10162
|
+
//# sourceMappingURL=index-Blg_DMQJ.d.cts.map
|