@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,18 +1,16 @@
|
|
|
1
|
-
import * as _solana_web3_js25 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";
|
|
3
1
|
import * as anchor from "@coral-xyz/anchor";
|
|
4
2
|
import { Address, AnchorProvider, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
|
|
5
|
-
import
|
|
3
|
+
import * as _solana_web3_js25 from "@solana/web3.js";
|
|
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";
|
|
6
5
|
import BigNumber from "bignumber.js";
|
|
7
|
-
import BN from "bn.js";
|
|
6
|
+
import BN$1 from "bn.js";
|
|
7
|
+
import { Storage } from "unstorage";
|
|
8
8
|
import { z } from "zod";
|
|
9
|
+
import * as z$2 from "zod/v4-mini";
|
|
10
|
+
import { SignerWalletAdapter } from "@solana/wallet-adapter-base";
|
|
9
11
|
import * as _fogo_sessions_sdk0 from "@fogo/sessions-sdk";
|
|
10
12
|
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
|
|
16
14
|
//#region src/common/types.d.ts
|
|
17
15
|
type Program$1<T extends Idl> = Omit<Program<T>, "provider"> & {
|
|
18
16
|
provider: AnchorProvider;
|
|
@@ -365,16 +363,16 @@ declare function toNumber(amount: Amount): number;
|
|
|
365
363
|
/**
|
|
366
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).
|
|
367
365
|
*/
|
|
368
|
-
declare function toBigNumber(amount: Amount | BN): BigNumber;
|
|
366
|
+
declare function toBigNumber(amount: Amount | BN$1): BigNumber;
|
|
369
367
|
/**
|
|
370
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).
|
|
371
369
|
*/
|
|
372
|
-
declare function uiToNative(amount: Amount, decimals: number): BN;
|
|
370
|
+
declare function uiToNative(amount: Amount, decimals: number): BN$1;
|
|
373
371
|
declare function uiToNativeBigNumber(amount: Amount, decimals: number): BigNumber;
|
|
374
372
|
/**
|
|
375
373
|
* Converts a native representation of a token amount into its UI value as `number`, given the specified mint decimal amount.
|
|
376
374
|
*/
|
|
377
|
-
declare function nativeToUi(amount: Amount | BN, decimals: number): number;
|
|
375
|
+
declare function nativeToUi(amount: Amount | BN$1, decimals: number): number;
|
|
378
376
|
declare function shortenAddress(pubkey: Address, chars?: number): string;
|
|
379
377
|
/**
|
|
380
378
|
* Converts basis points (bps) to a decimal percentage value.
|
|
@@ -6512,13 +6510,13 @@ declare function buildEncodedVaaCreateInstruction(wormhole: Program<WormholeCore
|
|
|
6512
6510
|
declare const getGuardianSetPda: (guardianSetIndex: number, wormholeProgramId: PublicKey) => PublicKey;
|
|
6513
6511
|
type PriceFeedMessage = {
|
|
6514
6512
|
feedId: Buffer;
|
|
6515
|
-
price: BN;
|
|
6516
|
-
confidence: BN;
|
|
6513
|
+
price: BN$1;
|
|
6514
|
+
confidence: BN$1;
|
|
6517
6515
|
exponent: number;
|
|
6518
|
-
publishTime: BN;
|
|
6519
|
-
prevPublishTime: BN;
|
|
6520
|
-
emaPrice: BN;
|
|
6521
|
-
emaConf: BN;
|
|
6516
|
+
publishTime: BN$1;
|
|
6517
|
+
prevPublishTime: BN$1;
|
|
6518
|
+
emaPrice: BN$1;
|
|
6519
|
+
emaConf: BN$1;
|
|
6522
6520
|
};
|
|
6523
6521
|
declare function parsePriceFeedMessage(message: Buffer): PriceFeedMessage;
|
|
6524
6522
|
//# sourceMappingURL=pyth.utils.d.ts.map
|
|
@@ -6666,6 +6664,7 @@ declare enum EmodeTag {
|
|
|
6666
6664
|
SOL = 501,
|
|
6667
6665
|
LST_T1 = 1571,
|
|
6668
6666
|
LST_T2 = 1572,
|
|
6667
|
+
UNKNOWN = 9999,
|
|
6669
6668
|
}
|
|
6670
6669
|
interface EmodeSettingsType {
|
|
6671
6670
|
emodeTag: EmodeTag;
|
|
@@ -6724,12 +6723,12 @@ interface BankRaw {
|
|
|
6724
6723
|
feeVaultBump: number;
|
|
6725
6724
|
feeVaultAuthorityBump: number;
|
|
6726
6725
|
collectedGroupFeesOutstanding: WrappedI80F48;
|
|
6727
|
-
lastUpdate: BN;
|
|
6726
|
+
lastUpdate: BN$1;
|
|
6728
6727
|
config: BankConfigRaw;
|
|
6729
6728
|
totalLiabilityShares: WrappedI80F48;
|
|
6730
6729
|
totalAssetShares: WrappedI80F48;
|
|
6731
|
-
flags: BN;
|
|
6732
|
-
emissionsRate: BN;
|
|
6730
|
+
flags: BN$1;
|
|
6731
|
+
emissionsRate: BN$1;
|
|
6733
6732
|
emissionsRemaining: WrappedI80F48;
|
|
6734
6733
|
emissionsMint: PublicKey;
|
|
6735
6734
|
emode: EmodeSettingsRaw;
|
|
@@ -6739,15 +6738,15 @@ interface BankConfigRaw {
|
|
|
6739
6738
|
assetWeightMaint: WrappedI80F48;
|
|
6740
6739
|
liabilityWeightInit: WrappedI80F48;
|
|
6741
6740
|
liabilityWeightMaint: WrappedI80F48;
|
|
6742
|
-
depositLimit: BN;
|
|
6741
|
+
depositLimit: BN$1;
|
|
6743
6742
|
interestRateConfig: InterestRateConfigRaw;
|
|
6744
6743
|
operationalState: OperationalStateRaw;
|
|
6745
6744
|
oracleSetup: OracleSetupRaw;
|
|
6746
6745
|
oracleKeys: PublicKey[];
|
|
6747
|
-
borrowLimit: BN;
|
|
6746
|
+
borrowLimit: BN$1;
|
|
6748
6747
|
riskTier: RiskTierRaw;
|
|
6749
6748
|
assetTag: number;
|
|
6750
|
-
totalAssetValueInitLimit: BN;
|
|
6749
|
+
totalAssetValueInitLimit: BN$1;
|
|
6751
6750
|
oracleMaxAge: number;
|
|
6752
6751
|
}
|
|
6753
6752
|
interface BankConfigOptRaw {
|
|
@@ -6755,15 +6754,15 @@ interface BankConfigOptRaw {
|
|
|
6755
6754
|
assetWeightMaint: WrappedI80F48 | null;
|
|
6756
6755
|
liabilityWeightInit: WrappedI80F48 | null;
|
|
6757
6756
|
liabilityWeightMaint: WrappedI80F48 | null;
|
|
6758
|
-
depositLimit: BN | null;
|
|
6759
|
-
borrowLimit: BN | null;
|
|
6757
|
+
depositLimit: BN$1 | null;
|
|
6758
|
+
borrowLimit: BN$1 | null;
|
|
6760
6759
|
riskTier: {
|
|
6761
6760
|
collateral: {};
|
|
6762
6761
|
} | {
|
|
6763
6762
|
isolated: {};
|
|
6764
6763
|
} | null;
|
|
6765
6764
|
assetTag: number | null;
|
|
6766
|
-
totalAssetValueInitLimit: BN | null;
|
|
6765
|
+
totalAssetValueInitLimit: BN$1 | null;
|
|
6767
6766
|
interestRateConfig: InterestRateConfigRaw | null;
|
|
6768
6767
|
operationalState: {
|
|
6769
6768
|
paused: {};
|
|
@@ -6778,8 +6777,8 @@ interface BankConfigOptRaw {
|
|
|
6778
6777
|
}
|
|
6779
6778
|
interface BankConfigCompactRaw extends Omit<BankConfigRaw, "oracleKeys" | "oracle" | "oracleSetup"> {
|
|
6780
6779
|
oracleMaxAge: number;
|
|
6781
|
-
padding0?: BN[];
|
|
6782
|
-
padding1?: BN[];
|
|
6780
|
+
padding0?: BN$1[];
|
|
6781
|
+
padding1?: BN$1[];
|
|
6783
6782
|
}
|
|
6784
6783
|
type RiskTierRaw = {
|
|
6785
6784
|
collateral: {};
|
|
@@ -6828,8 +6827,8 @@ interface EmodeEntryRaw {
|
|
|
6828
6827
|
}
|
|
6829
6828
|
interface EmodeSettingsRaw {
|
|
6830
6829
|
emodeTag: number;
|
|
6831
|
-
timestamp: BN;
|
|
6832
|
-
flags: BN;
|
|
6830
|
+
timestamp: BN$1;
|
|
6831
|
+
flags: BN$1;
|
|
6833
6832
|
emodeConfig: EmodeConfigRaw;
|
|
6834
6833
|
}
|
|
6835
6834
|
interface EmodeConfigRaw {
|
|
@@ -7053,7 +7052,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
|
7053
7052
|
lendrGroup: PublicKey;
|
|
7054
7053
|
session: EstablishedSessionState;
|
|
7055
7054
|
feePayer: PublicKey;
|
|
7056
|
-
}, accountSeed: BN): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7055
|
+
}, accountSeed: BN$1): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7057
7056
|
declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
7058
7057
|
lendrAccount: PublicKey;
|
|
7059
7058
|
signerTokenAccount: PublicKey;
|
|
@@ -7063,11 +7062,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
|
7063
7062
|
authority?: PublicKey;
|
|
7064
7063
|
liquidityVault?: PublicKey;
|
|
7065
7064
|
}, args: {
|
|
7066
|
-
amount: BN;
|
|
7065
|
+
amount: BN$1;
|
|
7067
7066
|
depositUpToLimit?: boolean;
|
|
7068
7067
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7069
7068
|
declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7070
|
-
amount: BN;
|
|
7069
|
+
amount: BN$1;
|
|
7071
7070
|
depositUpToLimit?: boolean;
|
|
7072
7071
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7073
7072
|
declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -7079,11 +7078,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
|
7079
7078
|
authority?: PublicKey;
|
|
7080
7079
|
liquidityVault?: PublicKey;
|
|
7081
7080
|
}, args: {
|
|
7082
|
-
amount: BN;
|
|
7081
|
+
amount: BN$1;
|
|
7083
7082
|
repayAll?: boolean;
|
|
7084
7083
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7085
7084
|
declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7086
|
-
amount: BN;
|
|
7085
|
+
amount: BN$1;
|
|
7087
7086
|
repayAll?: boolean;
|
|
7088
7087
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7089
7088
|
declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -7094,11 +7093,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
|
7094
7093
|
group?: PublicKey;
|
|
7095
7094
|
authority?: PublicKey;
|
|
7096
7095
|
}, args: {
|
|
7097
|
-
amount: BN;
|
|
7096
|
+
amount: BN$1;
|
|
7098
7097
|
withdrawAll?: boolean;
|
|
7099
7098
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7100
7099
|
declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7101
|
-
amount: BN;
|
|
7100
|
+
amount: BN$1;
|
|
7102
7101
|
withdrawAll?: boolean;
|
|
7103
7102
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7104
7103
|
declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -7109,10 +7108,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
|
7109
7108
|
group?: PublicKey;
|
|
7110
7109
|
authority?: PublicKey;
|
|
7111
7110
|
}, args: {
|
|
7112
|
-
amount: BN;
|
|
7111
|
+
amount: BN$1;
|
|
7113
7112
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7114
7113
|
declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7115
|
-
amount: BN;
|
|
7114
|
+
amount: BN$1;
|
|
7116
7115
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7117
7116
|
declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
|
|
7118
7117
|
assetBank: PublicKey;
|
|
@@ -7123,7 +7122,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
|
|
|
7123
7122
|
group?: PublicKey;
|
|
7124
7123
|
authority?: PublicKey;
|
|
7125
7124
|
}, args: {
|
|
7126
|
-
assetAmount: BN;
|
|
7125
|
+
assetAmount: BN$1;
|
|
7127
7126
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7128
7127
|
declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
|
|
7129
7128
|
lendrAccount: PublicKey;
|
|
@@ -7139,14 +7138,14 @@ declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
|
7139
7138
|
group?: PublicKey;
|
|
7140
7139
|
admin?: PublicKey;
|
|
7141
7140
|
}, args: {
|
|
7142
|
-
flag: BN;
|
|
7141
|
+
flag: BN$1;
|
|
7143
7142
|
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7144
7143
|
declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7145
7144
|
lendrAccount: PublicKey;
|
|
7146
7145
|
group?: PublicKey;
|
|
7147
7146
|
admin?: PublicKey;
|
|
7148
7147
|
}, args: {
|
|
7149
|
-
flag: BN;
|
|
7148
|
+
flag: BN$1;
|
|
7150
7149
|
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7151
7150
|
declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
|
|
7152
7151
|
bank: PublicKey;
|
|
@@ -7160,7 +7159,7 @@ declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
|
7160
7159
|
authority?: PublicKey;
|
|
7161
7160
|
ixsSysvar?: PublicKey;
|
|
7162
7161
|
}, args: {
|
|
7163
|
-
endIndex: BN;
|
|
7162
|
+
endIndex: BN$1;
|
|
7164
7163
|
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7165
7164
|
declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7166
7165
|
lendrAccount: PublicKey;
|
|
@@ -7236,7 +7235,7 @@ remainingAccounts: AccountMeta[] | undefined, args: {
|
|
|
7236
7235
|
* will be created at the address {@link findPoolAddress} with the default
|
|
7237
7236
|
* bump.
|
|
7238
7237
|
*/
|
|
7239
|
-
seed?: BN;
|
|
7238
|
+
seed?: BN$1;
|
|
7240
7239
|
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7241
7240
|
declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
7242
7241
|
lendrGroup: PublicKey;
|
|
@@ -7362,7 +7361,7 @@ declare const SYSTEM_PROGRAM_ID: PublicKey;
|
|
|
7362
7361
|
declare const SYSVAR_RENT_ID: PublicKey;
|
|
7363
7362
|
declare const SYSVAR_CLOCK_ID: PublicKey;
|
|
7364
7363
|
declare const SYSVAR_STAKE_HISTORY_ID: PublicKey;
|
|
7365
|
-
declare const STAKE_CONFIG_ID: PublicKey;
|
|
7364
|
+
declare const STAKE_CONFIG_ID$1: PublicKey;
|
|
7366
7365
|
//# sourceMappingURL=programs.d.ts.map
|
|
7367
7366
|
//#endregion
|
|
7368
7367
|
//#region src/errors.d.ts
|
|
@@ -7858,34 +7857,34 @@ declare class AggregatorAccountData {
|
|
|
7858
7857
|
//#region src/vendor/switchboard_pull/index.d.ts
|
|
7859
7858
|
declare const SWITCHBOARD_ONDEMANDE_PRICE_PRECISION = 18;
|
|
7860
7859
|
interface CurrentResult {
|
|
7861
|
-
value: BN;
|
|
7862
|
-
std_dev: BN;
|
|
7863
|
-
mean: BN;
|
|
7864
|
-
range: BN;
|
|
7865
|
-
min_value: BN;
|
|
7866
|
-
max_vaalue: BN;
|
|
7867
|
-
slot: BN;
|
|
7868
|
-
min_slot: BN;
|
|
7869
|
-
max_slot: BN;
|
|
7860
|
+
value: BN$1;
|
|
7861
|
+
std_dev: BN$1;
|
|
7862
|
+
mean: BN$1;
|
|
7863
|
+
range: BN$1;
|
|
7864
|
+
min_value: BN$1;
|
|
7865
|
+
max_vaalue: BN$1;
|
|
7866
|
+
slot: BN$1;
|
|
7867
|
+
min_slot: BN$1;
|
|
7868
|
+
max_slot: BN$1;
|
|
7870
7869
|
}
|
|
7871
7870
|
interface OracleSubmission {
|
|
7872
7871
|
oracle: PublicKey;
|
|
7873
|
-
slot: BN;
|
|
7874
|
-
value: BN;
|
|
7872
|
+
slot: BN$1;
|
|
7873
|
+
value: BN$1;
|
|
7875
7874
|
}
|
|
7876
7875
|
interface PullFeedAccountData {
|
|
7877
7876
|
submissions: OracleSubmission[];
|
|
7878
7877
|
authority: PublicKey;
|
|
7879
7878
|
queue: PublicKey;
|
|
7880
7879
|
feed_hash: Buffer;
|
|
7881
|
-
initialized_at: BN;
|
|
7882
|
-
permissions: BN;
|
|
7883
|
-
max_variance: BN;
|
|
7880
|
+
initialized_at: BN$1;
|
|
7881
|
+
permissions: BN$1;
|
|
7882
|
+
max_variance: BN$1;
|
|
7884
7883
|
min_responses: number;
|
|
7885
7884
|
name: Buffer;
|
|
7886
7885
|
sample_size: number;
|
|
7887
|
-
last_update_timestamp: BN;
|
|
7888
|
-
lut_slot: BN;
|
|
7886
|
+
last_update_timestamp: BN$1;
|
|
7887
|
+
lut_slot: BN$1;
|
|
7889
7888
|
result: CurrentResult;
|
|
7890
7889
|
max_staleness: number;
|
|
7891
7890
|
min_sample_size: number;
|
|
@@ -8062,7 +8061,7 @@ declare class LendrAccount implements LendrAccountType {
|
|
|
8062
8061
|
userTokenAtaPk: PublicKey;
|
|
8063
8062
|
mintData: MintData;
|
|
8064
8063
|
ixArguments: {
|
|
8065
|
-
amount: BN;
|
|
8064
|
+
amount: BN$1;
|
|
8066
8065
|
};
|
|
8067
8066
|
remainingAccounts: {
|
|
8068
8067
|
pubkey: PublicKey;
|
|
@@ -8077,7 +8076,7 @@ declare class LendrAccount implements LendrAccountType {
|
|
|
8077
8076
|
mintData: MintData;
|
|
8078
8077
|
userAta: PublicKey;
|
|
8079
8078
|
ixArguments: {
|
|
8080
|
-
amount: BN;
|
|
8079
|
+
amount: BN$1;
|
|
8081
8080
|
repayAll: boolean;
|
|
8082
8081
|
};
|
|
8083
8082
|
remainingAccounts: PublicKey[];
|
|
@@ -8991,11 +8990,11 @@ declare function parseOracleSetup(oracleSetupRaw: OracleSetupRaw): OracleSetup;
|
|
|
8991
8990
|
/**
|
|
8992
8991
|
* Get all active EMode flags as an array of flag names
|
|
8993
8992
|
*/
|
|
8994
|
-
declare function getActiveEmodeFlags(flags: BN): EmodeFlags[];
|
|
8993
|
+
declare function getActiveEmodeFlags(flags: BN$1): EmodeFlags[];
|
|
8995
8994
|
/**
|
|
8996
8995
|
* Check if a specific EMode flag is set
|
|
8997
8996
|
*/
|
|
8998
|
-
declare function hasEmodeFlag(flags: BN, flag: number): boolean;
|
|
8997
|
+
declare function hasEmodeFlag(flags: BN$1, flag: number): boolean;
|
|
8999
8998
|
/**
|
|
9000
8999
|
* Get all active EMode entry flags as an array of flag names
|
|
9001
9000
|
*/
|
|
@@ -9250,7 +9249,7 @@ declare class LendrClient {
|
|
|
9250
9249
|
* @returns transaction instruction
|
|
9251
9250
|
*/
|
|
9252
9251
|
makeCreateLendrAccountIx(lendrAccountPk: PublicKey): Promise<InstructionsWrapper>;
|
|
9253
|
-
makeCreateLendrAccountWithSessionIx(session: EstablishedSessionState, accountSeed: BN): Promise<InstructionsWrapper>;
|
|
9252
|
+
makeCreateLendrAccountWithSessionIx(session: EstablishedSessionState, accountSeed: BN$1): Promise<InstructionsWrapper>;
|
|
9254
9253
|
/**
|
|
9255
9254
|
* Create a new lendr account under the authority of the user.
|
|
9256
9255
|
*
|
|
@@ -9293,7 +9292,7 @@ declare class LendrClient {
|
|
|
9293
9292
|
}): Promise<SolanaTransaction>;
|
|
9294
9293
|
getLatestBlockHashForSure(): Promise<string>;
|
|
9295
9294
|
createVersionTransaction(instructions: TransactionInstruction[], payerKey: PublicKey, signers?: Array<Signer>, extraMetaData?: ExtendedTransactionProperties): Promise<VersionedTransaction>;
|
|
9296
|
-
createLendrAccountWithSessionTx(session: EstablishedSessionState, accountSeed: BN): Promise<VersionedTransaction>;
|
|
9295
|
+
createLendrAccountWithSessionTx(session: EstablishedSessionState, accountSeed: BN$1): Promise<VersionedTransaction>;
|
|
9297
9296
|
/**
|
|
9298
9297
|
* Create transaction instruction to initialize a new group.
|
|
9299
9298
|
*
|
|
@@ -9485,7 +9484,7 @@ interface BalanceRaw {
|
|
|
9485
9484
|
assetShares: WrappedI80F48;
|
|
9486
9485
|
liabilityShares: WrappedI80F48;
|
|
9487
9486
|
emissionsOutstanding: WrappedI80F48;
|
|
9488
|
-
lastUpdate: BN;
|
|
9487
|
+
lastUpdate: BN$1;
|
|
9489
9488
|
}
|
|
9490
9489
|
interface HealthCacheRaw {
|
|
9491
9490
|
assetValue: WrappedI80F48;
|
|
@@ -9494,7 +9493,7 @@ interface HealthCacheRaw {
|
|
|
9494
9493
|
liabilityValueMaint: WrappedI80F48;
|
|
9495
9494
|
assetValueEquity: WrappedI80F48;
|
|
9496
9495
|
liabilityValueEquity: WrappedI80F48;
|
|
9497
|
-
timestamp: BN;
|
|
9496
|
+
timestamp: BN$1;
|
|
9498
9497
|
flags: number;
|
|
9499
9498
|
prices: number[][];
|
|
9500
9499
|
errIndex: number;
|
|
@@ -9509,10 +9508,10 @@ interface LendrAccountRaw {
|
|
|
9509
9508
|
lendingAccount: {
|
|
9510
9509
|
balances: BalanceRaw[];
|
|
9511
9510
|
};
|
|
9512
|
-
accountFlags: BN;
|
|
9511
|
+
accountFlags: BN$1;
|
|
9513
9512
|
emissionsDestinationAccount: PublicKey;
|
|
9514
9513
|
healthCache: HealthCacheRaw;
|
|
9515
|
-
padding0?: BN[];
|
|
9514
|
+
padding0?: BN$1[];
|
|
9516
9515
|
}
|
|
9517
9516
|
type LendrRequirementTypeRaw = {
|
|
9518
9517
|
initial: {};
|
|
@@ -9650,11 +9649,11 @@ declare function parseLendrAccountRaw(lendrAccountPk: PublicKey, accountData: Le
|
|
|
9650
9649
|
/**
|
|
9651
9650
|
* Get all active account flags as an array of flag names
|
|
9652
9651
|
*/
|
|
9653
|
-
declare function getActiveAccountFlags(flags: BN): AccountFlags[];
|
|
9652
|
+
declare function getActiveAccountFlags(flags: BN$1): AccountFlags[];
|
|
9654
9653
|
/**
|
|
9655
9654
|
* Check if an account flag is set
|
|
9656
9655
|
*/
|
|
9657
|
-
declare function hasAccountFlag(flags: BN, flag: number): boolean;
|
|
9656
|
+
declare function hasAccountFlag(flags: BN$1, flag: number): boolean;
|
|
9658
9657
|
/**
|
|
9659
9658
|
* Convert on-chain health cache flags (BN) to an array of HealthCacheFlags enum values
|
|
9660
9659
|
*
|
|
@@ -9695,7 +9694,7 @@ declare const fetchLendrAccountData: (program: LendrProgram, lendrAccountPk: Pub
|
|
|
9695
9694
|
/**
|
|
9696
9695
|
* Convert numeric flag to BN for Solana compatibility
|
|
9697
9696
|
*/
|
|
9698
|
-
declare function accountFlagToBN(flag: AccountFlags): BN;
|
|
9697
|
+
declare function accountFlagToBN(flag: AccountFlags): BN$1;
|
|
9699
9698
|
declare function lendrAccountToDto(lendrAccount: LendrAccountType): LendrAccountTypeDto;
|
|
9700
9699
|
declare function balanceToDto(balance: BalanceType): BalanceTypeDto;
|
|
9701
9700
|
declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto;
|
|
@@ -9728,8 +9727,8 @@ type LendrGroupTypeDto = {
|
|
|
9728
9727
|
//#region src/services/group/types/raw-group.types.d.ts
|
|
9729
9728
|
interface LendrGroupRaw {
|
|
9730
9729
|
admin: PublicKey;
|
|
9731
|
-
padding0: BN[];
|
|
9732
|
-
padding1: BN[];
|
|
9730
|
+
padding0: BN$1[];
|
|
9731
|
+
padding1: BN$1[];
|
|
9733
9732
|
}
|
|
9734
9733
|
//#endregion
|
|
9735
9734
|
//#region src/services/group/utils/deserialize.utils.d.ts
|
|
@@ -9752,14 +9751,26 @@ declare class DummyMetadataFetcher implements IMetadataFetcher {
|
|
|
9752
9751
|
}
|
|
9753
9752
|
//# sourceMappingURL=dummy.d.ts.map
|
|
9754
9753
|
//#endregion
|
|
9754
|
+
//#region src/services/metadata/fogo.d.ts
|
|
9755
|
+
declare class FogoMetadataFetcher implements IMetadataFetcher {
|
|
9756
|
+
readonly name = "FogoMetadataFetcher";
|
|
9757
|
+
fetch(mints: Array<string>): Promise<Record<string, {
|
|
9758
|
+
name: string;
|
|
9759
|
+
symbol: string;
|
|
9760
|
+
image: string;
|
|
9761
|
+
uri?: string | undefined;
|
|
9762
|
+
}>>;
|
|
9763
|
+
}
|
|
9764
|
+
//# sourceMappingURL=fogo.d.ts.map
|
|
9765
|
+
//#endregion
|
|
9755
9766
|
//#region src/services/metadata/service.d.ts
|
|
9756
|
-
declare const metadataSchema: z$
|
|
9757
|
-
name: z$
|
|
9758
|
-
symbol: z$
|
|
9759
|
-
image: z$
|
|
9760
|
-
uri: z$
|
|
9761
|
-
}, z$
|
|
9762
|
-
type TMetadata = z$
|
|
9767
|
+
declare const metadataSchema: z$2.ZodMiniObject<{
|
|
9768
|
+
name: z$2.ZodMiniString<string>;
|
|
9769
|
+
symbol: z$2.ZodMiniString<string>;
|
|
9770
|
+
image: z$2.ZodMiniString<string>;
|
|
9771
|
+
uri: z$2.ZodMiniOptional<z$2.ZodMiniString<string>>;
|
|
9772
|
+
}, z$2.core.$strip>;
|
|
9773
|
+
type TMetadata = z$2.infer<typeof metadataSchema>;
|
|
9763
9774
|
interface IMetadataFetcher {
|
|
9764
9775
|
readonly name: string;
|
|
9765
9776
|
fetch(mints: Array<string>): Promise<Record<string, TMetadata>>;
|
|
@@ -10088,16 +10099,16 @@ declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
|
10088
10099
|
}, "strip", z.ZodTypeAny, {
|
|
10089
10100
|
symbol?: string | undefined;
|
|
10090
10101
|
name?: string | undefined;
|
|
10091
|
-
mint?: string | undefined;
|
|
10092
|
-
address?: string | undefined;
|
|
10093
10102
|
logoURI?: string | undefined;
|
|
10103
|
+
address?: string | undefined;
|
|
10104
|
+
mint?: string | undefined;
|
|
10094
10105
|
validatorVoteAccount?: string | undefined;
|
|
10095
10106
|
}, {
|
|
10096
10107
|
symbol?: string | undefined;
|
|
10097
10108
|
name?: string | undefined;
|
|
10098
|
-
mint?: string | undefined;
|
|
10099
|
-
address?: string | undefined;
|
|
10100
10109
|
logoURI?: string | undefined;
|
|
10110
|
+
address?: string | undefined;
|
|
10111
|
+
mint?: string | undefined;
|
|
10101
10112
|
validatorVoteAccount?: string | undefined;
|
|
10102
10113
|
}>;
|
|
10103
10114
|
type BankExtendedMetadataOverride = z.infer<typeof bankExtendedMetadataOverrideSchema>;
|
|
@@ -10145,5 +10156,5 @@ type BankMetadataMap = {
|
|
|
10145
10156
|
//# sourceMappingURL=bank-metadata.d.ts.map
|
|
10146
10157
|
|
|
10147
10158
|
//#endregion
|
|
10148
|
-
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, 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 };
|
|
10149
|
-
//# sourceMappingURL=index-
|
|
10159
|
+
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$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, 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 };
|
|
10160
|
+
//# sourceMappingURL=index-DwoWa2a_.d.ts.map
|