@pyron-finance/pyron-client 1.0.9 → 1.0.10-pre.0
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-BDHwzwV3.d.cts} +101 -87
- package/dist/index-BDHwzwV3.d.cts.map +1 -0
- package/dist/{index-BLeClW50.d.cts → index-DQlOr-LA.d.ts} +99 -89
- package/dist/index-DQlOr-LA.d.ts.map +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +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
|
|
@@ -6724,12 +6722,12 @@ interface BankRaw {
|
|
|
6724
6722
|
feeVaultBump: number;
|
|
6725
6723
|
feeVaultAuthorityBump: number;
|
|
6726
6724
|
collectedGroupFeesOutstanding: WrappedI80F48;
|
|
6727
|
-
lastUpdate: BN;
|
|
6725
|
+
lastUpdate: BN$1;
|
|
6728
6726
|
config: BankConfigRaw;
|
|
6729
6727
|
totalLiabilityShares: WrappedI80F48;
|
|
6730
6728
|
totalAssetShares: WrappedI80F48;
|
|
6731
|
-
flags: BN;
|
|
6732
|
-
emissionsRate: BN;
|
|
6729
|
+
flags: BN$1;
|
|
6730
|
+
emissionsRate: BN$1;
|
|
6733
6731
|
emissionsRemaining: WrappedI80F48;
|
|
6734
6732
|
emissionsMint: PublicKey;
|
|
6735
6733
|
emode: EmodeSettingsRaw;
|
|
@@ -6739,15 +6737,15 @@ interface BankConfigRaw {
|
|
|
6739
6737
|
assetWeightMaint: WrappedI80F48;
|
|
6740
6738
|
liabilityWeightInit: WrappedI80F48;
|
|
6741
6739
|
liabilityWeightMaint: WrappedI80F48;
|
|
6742
|
-
depositLimit: BN;
|
|
6740
|
+
depositLimit: BN$1;
|
|
6743
6741
|
interestRateConfig: InterestRateConfigRaw;
|
|
6744
6742
|
operationalState: OperationalStateRaw;
|
|
6745
6743
|
oracleSetup: OracleSetupRaw;
|
|
6746
6744
|
oracleKeys: PublicKey[];
|
|
6747
|
-
borrowLimit: BN;
|
|
6745
|
+
borrowLimit: BN$1;
|
|
6748
6746
|
riskTier: RiskTierRaw;
|
|
6749
6747
|
assetTag: number;
|
|
6750
|
-
totalAssetValueInitLimit: BN;
|
|
6748
|
+
totalAssetValueInitLimit: BN$1;
|
|
6751
6749
|
oracleMaxAge: number;
|
|
6752
6750
|
}
|
|
6753
6751
|
interface BankConfigOptRaw {
|
|
@@ -6755,15 +6753,15 @@ interface BankConfigOptRaw {
|
|
|
6755
6753
|
assetWeightMaint: WrappedI80F48 | null;
|
|
6756
6754
|
liabilityWeightInit: WrappedI80F48 | null;
|
|
6757
6755
|
liabilityWeightMaint: WrappedI80F48 | null;
|
|
6758
|
-
depositLimit: BN | null;
|
|
6759
|
-
borrowLimit: BN | null;
|
|
6756
|
+
depositLimit: BN$1 | null;
|
|
6757
|
+
borrowLimit: BN$1 | null;
|
|
6760
6758
|
riskTier: {
|
|
6761
6759
|
collateral: {};
|
|
6762
6760
|
} | {
|
|
6763
6761
|
isolated: {};
|
|
6764
6762
|
} | null;
|
|
6765
6763
|
assetTag: number | null;
|
|
6766
|
-
totalAssetValueInitLimit: BN | null;
|
|
6764
|
+
totalAssetValueInitLimit: BN$1 | null;
|
|
6767
6765
|
interestRateConfig: InterestRateConfigRaw | null;
|
|
6768
6766
|
operationalState: {
|
|
6769
6767
|
paused: {};
|
|
@@ -6778,8 +6776,8 @@ interface BankConfigOptRaw {
|
|
|
6778
6776
|
}
|
|
6779
6777
|
interface BankConfigCompactRaw extends Omit<BankConfigRaw, "oracleKeys" | "oracle" | "oracleSetup"> {
|
|
6780
6778
|
oracleMaxAge: number;
|
|
6781
|
-
padding0?: BN[];
|
|
6782
|
-
padding1?: BN[];
|
|
6779
|
+
padding0?: BN$1[];
|
|
6780
|
+
padding1?: BN$1[];
|
|
6783
6781
|
}
|
|
6784
6782
|
type RiskTierRaw = {
|
|
6785
6783
|
collateral: {};
|
|
@@ -6828,8 +6826,8 @@ interface EmodeEntryRaw {
|
|
|
6828
6826
|
}
|
|
6829
6827
|
interface EmodeSettingsRaw {
|
|
6830
6828
|
emodeTag: number;
|
|
6831
|
-
timestamp: BN;
|
|
6832
|
-
flags: BN;
|
|
6829
|
+
timestamp: BN$1;
|
|
6830
|
+
flags: BN$1;
|
|
6833
6831
|
emodeConfig: EmodeConfigRaw;
|
|
6834
6832
|
}
|
|
6835
6833
|
interface EmodeConfigRaw {
|
|
@@ -7053,7 +7051,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
|
|
|
7053
7051
|
lendrGroup: PublicKey;
|
|
7054
7052
|
session: EstablishedSessionState;
|
|
7055
7053
|
feePayer: PublicKey;
|
|
7056
|
-
}, accountSeed: BN): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7054
|
+
}, accountSeed: BN$1): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7057
7055
|
declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
7058
7056
|
lendrAccount: PublicKey;
|
|
7059
7057
|
signerTokenAccount: PublicKey;
|
|
@@ -7063,11 +7061,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
|
|
|
7063
7061
|
authority?: PublicKey;
|
|
7064
7062
|
liquidityVault?: PublicKey;
|
|
7065
7063
|
}, args: {
|
|
7066
|
-
amount: BN;
|
|
7064
|
+
amount: BN$1;
|
|
7067
7065
|
depositUpToLimit?: boolean;
|
|
7068
7066
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7069
7067
|
declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7070
|
-
amount: BN;
|
|
7068
|
+
amount: BN$1;
|
|
7071
7069
|
depositUpToLimit?: boolean;
|
|
7072
7070
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7073
7071
|
declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -7079,11 +7077,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
|
|
|
7079
7077
|
authority?: PublicKey;
|
|
7080
7078
|
liquidityVault?: PublicKey;
|
|
7081
7079
|
}, args: {
|
|
7082
|
-
amount: BN;
|
|
7080
|
+
amount: BN$1;
|
|
7083
7081
|
repayAll?: boolean;
|
|
7084
7082
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7085
7083
|
declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
|
|
7086
|
-
amount: BN;
|
|
7084
|
+
amount: BN$1;
|
|
7087
7085
|
repayAll?: boolean;
|
|
7088
7086
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7089
7087
|
declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -7094,11 +7092,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
|
|
|
7094
7092
|
group?: PublicKey;
|
|
7095
7093
|
authority?: PublicKey;
|
|
7096
7094
|
}, args: {
|
|
7097
|
-
amount: BN;
|
|
7095
|
+
amount: BN$1;
|
|
7098
7096
|
withdrawAll?: boolean;
|
|
7099
7097
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7100
7098
|
declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7101
|
-
amount: BN;
|
|
7099
|
+
amount: BN$1;
|
|
7102
7100
|
withdrawAll?: boolean;
|
|
7103
7101
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7104
7102
|
declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -7109,10 +7107,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
|
|
|
7109
7107
|
group?: PublicKey;
|
|
7110
7108
|
authority?: PublicKey;
|
|
7111
7109
|
}, args: {
|
|
7112
|
-
amount: BN;
|
|
7110
|
+
amount: BN$1;
|
|
7113
7111
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7114
7112
|
declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
|
|
7115
|
-
amount: BN;
|
|
7113
|
+
amount: BN$1;
|
|
7116
7114
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7117
7115
|
declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
|
|
7118
7116
|
assetBank: PublicKey;
|
|
@@ -7123,7 +7121,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
|
|
|
7123
7121
|
group?: PublicKey;
|
|
7124
7122
|
authority?: PublicKey;
|
|
7125
7123
|
}, args: {
|
|
7126
|
-
assetAmount: BN;
|
|
7124
|
+
assetAmount: BN$1;
|
|
7127
7125
|
}, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7128
7126
|
declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
|
|
7129
7127
|
lendrAccount: PublicKey;
|
|
@@ -7139,14 +7137,14 @@ declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
|
7139
7137
|
group?: PublicKey;
|
|
7140
7138
|
admin?: PublicKey;
|
|
7141
7139
|
}, args: {
|
|
7142
|
-
flag: BN;
|
|
7140
|
+
flag: BN$1;
|
|
7143
7141
|
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7144
7142
|
declare function makeUnsetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
|
|
7145
7143
|
lendrAccount: PublicKey;
|
|
7146
7144
|
group?: PublicKey;
|
|
7147
7145
|
admin?: PublicKey;
|
|
7148
7146
|
}, args: {
|
|
7149
|
-
flag: BN;
|
|
7147
|
+
flag: BN$1;
|
|
7150
7148
|
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7151
7149
|
declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
|
|
7152
7150
|
bank: PublicKey;
|
|
@@ -7160,7 +7158,7 @@ declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
|
7160
7158
|
authority?: PublicKey;
|
|
7161
7159
|
ixsSysvar?: PublicKey;
|
|
7162
7160
|
}, args: {
|
|
7163
|
-
endIndex: BN;
|
|
7161
|
+
endIndex: BN$1;
|
|
7164
7162
|
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7165
7163
|
declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
|
|
7166
7164
|
lendrAccount: PublicKey;
|
|
@@ -7236,7 +7234,7 @@ remainingAccounts: AccountMeta[] | undefined, args: {
|
|
|
7236
7234
|
* will be created at the address {@link findPoolAddress} with the default
|
|
7237
7235
|
* bump.
|
|
7238
7236
|
*/
|
|
7239
|
-
seed?: BN;
|
|
7237
|
+
seed?: BN$1;
|
|
7240
7238
|
}): Promise<_solana_web3_js25.TransactionInstruction>;
|
|
7241
7239
|
declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
|
|
7242
7240
|
lendrGroup: PublicKey;
|
|
@@ -7362,7 +7360,7 @@ declare const SYSTEM_PROGRAM_ID: PublicKey;
|
|
|
7362
7360
|
declare const SYSVAR_RENT_ID: PublicKey;
|
|
7363
7361
|
declare const SYSVAR_CLOCK_ID: PublicKey;
|
|
7364
7362
|
declare const SYSVAR_STAKE_HISTORY_ID: PublicKey;
|
|
7365
|
-
declare const STAKE_CONFIG_ID: PublicKey;
|
|
7363
|
+
declare const STAKE_CONFIG_ID$1: PublicKey;
|
|
7366
7364
|
//# sourceMappingURL=programs.d.ts.map
|
|
7367
7365
|
//#endregion
|
|
7368
7366
|
//#region src/errors.d.ts
|
|
@@ -7858,34 +7856,34 @@ declare class AggregatorAccountData {
|
|
|
7858
7856
|
//#region src/vendor/switchboard_pull/index.d.ts
|
|
7859
7857
|
declare const SWITCHBOARD_ONDEMANDE_PRICE_PRECISION = 18;
|
|
7860
7858
|
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;
|
|
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;
|
|
7870
7868
|
}
|
|
7871
7869
|
interface OracleSubmission {
|
|
7872
7870
|
oracle: PublicKey;
|
|
7873
|
-
slot: BN;
|
|
7874
|
-
value: BN;
|
|
7871
|
+
slot: BN$1;
|
|
7872
|
+
value: BN$1;
|
|
7875
7873
|
}
|
|
7876
7874
|
interface PullFeedAccountData {
|
|
7877
7875
|
submissions: OracleSubmission[];
|
|
7878
7876
|
authority: PublicKey;
|
|
7879
7877
|
queue: PublicKey;
|
|
7880
7878
|
feed_hash: Buffer;
|
|
7881
|
-
initialized_at: BN;
|
|
7882
|
-
permissions: BN;
|
|
7883
|
-
max_variance: BN;
|
|
7879
|
+
initialized_at: BN$1;
|
|
7880
|
+
permissions: BN$1;
|
|
7881
|
+
max_variance: BN$1;
|
|
7884
7882
|
min_responses: number;
|
|
7885
7883
|
name: Buffer;
|
|
7886
7884
|
sample_size: number;
|
|
7887
|
-
last_update_timestamp: BN;
|
|
7888
|
-
lut_slot: BN;
|
|
7885
|
+
last_update_timestamp: BN$1;
|
|
7886
|
+
lut_slot: BN$1;
|
|
7889
7887
|
result: CurrentResult;
|
|
7890
7888
|
max_staleness: number;
|
|
7891
7889
|
min_sample_size: number;
|
|
@@ -8062,7 +8060,7 @@ declare class LendrAccount implements LendrAccountType {
|
|
|
8062
8060
|
userTokenAtaPk: PublicKey;
|
|
8063
8061
|
mintData: MintData;
|
|
8064
8062
|
ixArguments: {
|
|
8065
|
-
amount: BN;
|
|
8063
|
+
amount: BN$1;
|
|
8066
8064
|
};
|
|
8067
8065
|
remainingAccounts: {
|
|
8068
8066
|
pubkey: PublicKey;
|
|
@@ -8077,7 +8075,7 @@ declare class LendrAccount implements LendrAccountType {
|
|
|
8077
8075
|
mintData: MintData;
|
|
8078
8076
|
userAta: PublicKey;
|
|
8079
8077
|
ixArguments: {
|
|
8080
|
-
amount: BN;
|
|
8078
|
+
amount: BN$1;
|
|
8081
8079
|
repayAll: boolean;
|
|
8082
8080
|
};
|
|
8083
8081
|
remainingAccounts: PublicKey[];
|
|
@@ -8991,11 +8989,11 @@ declare function parseOracleSetup(oracleSetupRaw: OracleSetupRaw): OracleSetup;
|
|
|
8991
8989
|
/**
|
|
8992
8990
|
* Get all active EMode flags as an array of flag names
|
|
8993
8991
|
*/
|
|
8994
|
-
declare function getActiveEmodeFlags(flags: BN): EmodeFlags[];
|
|
8992
|
+
declare function getActiveEmodeFlags(flags: BN$1): EmodeFlags[];
|
|
8995
8993
|
/**
|
|
8996
8994
|
* Check if a specific EMode flag is set
|
|
8997
8995
|
*/
|
|
8998
|
-
declare function hasEmodeFlag(flags: BN, flag: number): boolean;
|
|
8996
|
+
declare function hasEmodeFlag(flags: BN$1, flag: number): boolean;
|
|
8999
8997
|
/**
|
|
9000
8998
|
* Get all active EMode entry flags as an array of flag names
|
|
9001
8999
|
*/
|
|
@@ -9250,7 +9248,7 @@ declare class LendrClient {
|
|
|
9250
9248
|
* @returns transaction instruction
|
|
9251
9249
|
*/
|
|
9252
9250
|
makeCreateLendrAccountIx(lendrAccountPk: PublicKey): Promise<InstructionsWrapper>;
|
|
9253
|
-
makeCreateLendrAccountWithSessionIx(session: EstablishedSessionState, accountSeed: BN): Promise<InstructionsWrapper>;
|
|
9251
|
+
makeCreateLendrAccountWithSessionIx(session: EstablishedSessionState, accountSeed: BN$1): Promise<InstructionsWrapper>;
|
|
9254
9252
|
/**
|
|
9255
9253
|
* Create a new lendr account under the authority of the user.
|
|
9256
9254
|
*
|
|
@@ -9293,7 +9291,7 @@ declare class LendrClient {
|
|
|
9293
9291
|
}): Promise<SolanaTransaction>;
|
|
9294
9292
|
getLatestBlockHashForSure(): Promise<string>;
|
|
9295
9293
|
createVersionTransaction(instructions: TransactionInstruction[], payerKey: PublicKey, signers?: Array<Signer>, extraMetaData?: ExtendedTransactionProperties): Promise<VersionedTransaction>;
|
|
9296
|
-
createLendrAccountWithSessionTx(session: EstablishedSessionState, accountSeed: BN): Promise<VersionedTransaction>;
|
|
9294
|
+
createLendrAccountWithSessionTx(session: EstablishedSessionState, accountSeed: BN$1): Promise<VersionedTransaction>;
|
|
9297
9295
|
/**
|
|
9298
9296
|
* Create transaction instruction to initialize a new group.
|
|
9299
9297
|
*
|
|
@@ -9485,7 +9483,7 @@ interface BalanceRaw {
|
|
|
9485
9483
|
assetShares: WrappedI80F48;
|
|
9486
9484
|
liabilityShares: WrappedI80F48;
|
|
9487
9485
|
emissionsOutstanding: WrappedI80F48;
|
|
9488
|
-
lastUpdate: BN;
|
|
9486
|
+
lastUpdate: BN$1;
|
|
9489
9487
|
}
|
|
9490
9488
|
interface HealthCacheRaw {
|
|
9491
9489
|
assetValue: WrappedI80F48;
|
|
@@ -9494,7 +9492,7 @@ interface HealthCacheRaw {
|
|
|
9494
9492
|
liabilityValueMaint: WrappedI80F48;
|
|
9495
9493
|
assetValueEquity: WrappedI80F48;
|
|
9496
9494
|
liabilityValueEquity: WrappedI80F48;
|
|
9497
|
-
timestamp: BN;
|
|
9495
|
+
timestamp: BN$1;
|
|
9498
9496
|
flags: number;
|
|
9499
9497
|
prices: number[][];
|
|
9500
9498
|
errIndex: number;
|
|
@@ -9509,10 +9507,10 @@ interface LendrAccountRaw {
|
|
|
9509
9507
|
lendingAccount: {
|
|
9510
9508
|
balances: BalanceRaw[];
|
|
9511
9509
|
};
|
|
9512
|
-
accountFlags: BN;
|
|
9510
|
+
accountFlags: BN$1;
|
|
9513
9511
|
emissionsDestinationAccount: PublicKey;
|
|
9514
9512
|
healthCache: HealthCacheRaw;
|
|
9515
|
-
padding0?: BN[];
|
|
9513
|
+
padding0?: BN$1[];
|
|
9516
9514
|
}
|
|
9517
9515
|
type LendrRequirementTypeRaw = {
|
|
9518
9516
|
initial: {};
|
|
@@ -9650,11 +9648,11 @@ declare function parseLendrAccountRaw(lendrAccountPk: PublicKey, accountData: Le
|
|
|
9650
9648
|
/**
|
|
9651
9649
|
* Get all active account flags as an array of flag names
|
|
9652
9650
|
*/
|
|
9653
|
-
declare function getActiveAccountFlags(flags: BN): AccountFlags[];
|
|
9651
|
+
declare function getActiveAccountFlags(flags: BN$1): AccountFlags[];
|
|
9654
9652
|
/**
|
|
9655
9653
|
* Check if an account flag is set
|
|
9656
9654
|
*/
|
|
9657
|
-
declare function hasAccountFlag(flags: BN, flag: number): boolean;
|
|
9655
|
+
declare function hasAccountFlag(flags: BN$1, flag: number): boolean;
|
|
9658
9656
|
/**
|
|
9659
9657
|
* Convert on-chain health cache flags (BN) to an array of HealthCacheFlags enum values
|
|
9660
9658
|
*
|
|
@@ -9695,7 +9693,7 @@ declare const fetchLendrAccountData: (program: LendrProgram, lendrAccountPk: Pub
|
|
|
9695
9693
|
/**
|
|
9696
9694
|
* Convert numeric flag to BN for Solana compatibility
|
|
9697
9695
|
*/
|
|
9698
|
-
declare function accountFlagToBN(flag: AccountFlags): BN;
|
|
9696
|
+
declare function accountFlagToBN(flag: AccountFlags): BN$1;
|
|
9699
9697
|
declare function lendrAccountToDto(lendrAccount: LendrAccountType): LendrAccountTypeDto;
|
|
9700
9698
|
declare function balanceToDto(balance: BalanceType): BalanceTypeDto;
|
|
9701
9699
|
declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto;
|
|
@@ -9728,8 +9726,8 @@ type LendrGroupTypeDto = {
|
|
|
9728
9726
|
//#region src/services/group/types/raw-group.types.d.ts
|
|
9729
9727
|
interface LendrGroupRaw {
|
|
9730
9728
|
admin: PublicKey;
|
|
9731
|
-
padding0: BN[];
|
|
9732
|
-
padding1: BN[];
|
|
9729
|
+
padding0: BN$1[];
|
|
9730
|
+
padding1: BN$1[];
|
|
9733
9731
|
}
|
|
9734
9732
|
//#endregion
|
|
9735
9733
|
//#region src/services/group/utils/deserialize.utils.d.ts
|
|
@@ -9752,14 +9750,26 @@ declare class DummyMetadataFetcher implements IMetadataFetcher {
|
|
|
9752
9750
|
}
|
|
9753
9751
|
//# sourceMappingURL=dummy.d.ts.map
|
|
9754
9752
|
//#endregion
|
|
9753
|
+
//#region src/services/metadata/fogo.d.ts
|
|
9754
|
+
declare class FogoMetadataFetcher implements IMetadataFetcher {
|
|
9755
|
+
readonly name = "FogoMetadataFetcher";
|
|
9756
|
+
fetch(mints: Array<string>): Promise<Record<string, {
|
|
9757
|
+
name: string;
|
|
9758
|
+
symbol: string;
|
|
9759
|
+
image: string;
|
|
9760
|
+
uri?: string | undefined;
|
|
9761
|
+
}>>;
|
|
9762
|
+
}
|
|
9763
|
+
//# sourceMappingURL=fogo.d.ts.map
|
|
9764
|
+
//#endregion
|
|
9755
9765
|
//#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$
|
|
9766
|
+
declare const metadataSchema: z$2.ZodMiniObject<{
|
|
9767
|
+
name: z$2.ZodMiniString<string>;
|
|
9768
|
+
symbol: z$2.ZodMiniString<string>;
|
|
9769
|
+
image: z$2.ZodMiniString<string>;
|
|
9770
|
+
uri: z$2.ZodMiniOptional<z$2.ZodMiniString<string>>;
|
|
9771
|
+
}, z$2.core.$strip>;
|
|
9772
|
+
type TMetadata = z$2.infer<typeof metadataSchema>;
|
|
9763
9773
|
interface IMetadataFetcher {
|
|
9764
9774
|
readonly name: string;
|
|
9765
9775
|
fetch(mints: Array<string>): Promise<Record<string, TMetadata>>;
|
|
@@ -10088,16 +10098,16 @@ declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
|
|
|
10088
10098
|
}, "strip", z.ZodTypeAny, {
|
|
10089
10099
|
symbol?: string | undefined;
|
|
10090
10100
|
name?: string | undefined;
|
|
10091
|
-
mint?: string | undefined;
|
|
10092
|
-
address?: string | undefined;
|
|
10093
10101
|
logoURI?: string | undefined;
|
|
10102
|
+
address?: string | undefined;
|
|
10103
|
+
mint?: string | undefined;
|
|
10094
10104
|
validatorVoteAccount?: string | undefined;
|
|
10095
10105
|
}, {
|
|
10096
10106
|
symbol?: string | undefined;
|
|
10097
10107
|
name?: string | undefined;
|
|
10098
|
-
mint?: string | undefined;
|
|
10099
|
-
address?: string | undefined;
|
|
10100
10108
|
logoURI?: string | undefined;
|
|
10109
|
+
address?: string | undefined;
|
|
10110
|
+
mint?: string | undefined;
|
|
10101
10111
|
validatorVoteAccount?: string | undefined;
|
|
10102
10112
|
}>;
|
|
10103
10113
|
type BankExtendedMetadataOverride = z.infer<typeof bankExtendedMetadataOverrideSchema>;
|
|
@@ -10145,5 +10155,5 @@ type BankMetadataMap = {
|
|
|
10145
10155
|
//# sourceMappingURL=bank-metadata.d.ts.map
|
|
10146
10156
|
|
|
10147
10157
|
//#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-
|
|
10158
|
+
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 };
|
|
10159
|
+
//# sourceMappingURL=index-DQlOr-LA.d.ts.map
|