@pyron-finance/pyron-client 1.0.6 → 1.0.9-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.
@@ -1,18 +1,16 @@
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";
3
1
  import * as anchor from "@coral-xyz/anchor";
4
- import { Address, AnchorProvider, BN, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
5
- import { SignerWalletAdapter } from "@solana/wallet-adapter-base";
2
+ import { Address, AnchorProvider, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
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";
6
+ import BN$1 from "bn.js";
7
+ import { Storage } from "unstorage";
7
8
  import { z } from "zod";
9
+ import * as z$2 from "zod/v4-mini";
10
+ import { SignerWalletAdapter } from "@solana/wallet-adapter-base";
8
11
  import * as _fogo_sessions_sdk0 from "@fogo/sessions-sdk";
9
12
  import { TransactionResult } from "@fogo/sessions-sdk";
10
- import BN$1 from "bn.js";
11
- import { Storage } from "unstorage";
12
- import { z 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
@@ -7003,7 +7001,7 @@ declare function crankPythOracleIx(oracles: {
7003
7001
  postInstructions: InstructionWithEphemeralSigners[];
7004
7002
  closeInstructions: InstructionWithEphemeralSigners[];
7005
7003
  keys: never[];
7006
- lut: _solana_web3_js24.AddressLookupTableAccount | null;
7004
+ lut: _solana_web3_js25.AddressLookupTableAccount | null;
7007
7005
  }>;
7008
7006
  //#endregion
7009
7007
  //#region src/services/price/types/price.types.d.ts
@@ -7044,7 +7042,7 @@ declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
7044
7042
  lendrAccount: PublicKey;
7045
7043
  authority: PublicKey;
7046
7044
  feePayer: PublicKey;
7047
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7045
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7048
7046
  declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
7049
7047
  lendrGroup,
7050
7048
  session,
@@ -7053,7 +7051,7 @@ declare function makeInitLendrAccountWithSessionIx(ldProgram: LendrProgram, {
7053
7051
  lendrGroup: PublicKey;
7054
7052
  session: EstablishedSessionState;
7055
7053
  feePayer: PublicKey;
7056
- }, accountSeed: BN$1): Promise<_solana_web3_js24.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;
@@ -7065,11 +7063,11 @@ declare function makeDepositIx(ldProgram: LendrProgram, accounts: {
7065
7063
  }, args: {
7066
7064
  amount: BN$1;
7067
7065
  depositUpToLimit?: boolean;
7068
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7066
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7069
7067
  declare function makeDepositWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
7070
7068
  amount: BN$1;
7071
7069
  depositUpToLimit?: boolean;
7072
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7070
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7073
7071
  declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
7074
7072
  lendrAccount: PublicKey;
7075
7073
  signerTokenAccount: PublicKey;
@@ -7081,11 +7079,11 @@ declare function makeRepayIx(ldProgram: LendrProgram, accounts: {
7081
7079
  }, args: {
7082
7080
  amount: BN$1;
7083
7081
  repayAll?: boolean;
7084
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7082
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7085
7083
  declare function makeRepayWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountDepositOrRepayWithSessionAccounts, args: {
7086
7084
  amount: BN$1;
7087
7085
  repayAll?: boolean;
7088
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7086
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7089
7087
  declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
7090
7088
  lendrAccount: PublicKey;
7091
7089
  bank: PublicKey;
@@ -7096,11 +7094,11 @@ declare function makeWithdrawIx(ldProgram: LendrProgram, accounts: {
7096
7094
  }, args: {
7097
7095
  amount: BN$1;
7098
7096
  withdrawAll?: boolean;
7099
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7097
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7100
7098
  declare function makeWithdrawWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
7101
7099
  amount: BN$1;
7102
7100
  withdrawAll?: boolean;
7103
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7101
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7104
7102
  declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
7105
7103
  lendrAccount: PublicKey;
7106
7104
  bank: PublicKey;
@@ -7110,10 +7108,10 @@ declare function makeBorrowIx(ldProgram: LendrProgram, accounts: {
7110
7108
  authority?: PublicKey;
7111
7109
  }, args: {
7112
7110
  amount: BN$1;
7113
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7111
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7114
7112
  declare function makeBorrowWithSessionIx(ldProgram: LendrProgram, accounts: LendingAccountWithdrawOrBorrowWithSessionAccounts, args: {
7115
7113
  amount: BN$1;
7116
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7114
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7117
7115
  declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, accounts: {
7118
7116
  assetBank: PublicKey;
7119
7117
  liabBank: PublicKey;
@@ -7124,7 +7122,7 @@ declare function makeLendingAccountLiquidateIx(ldrProgram: LendrProgram, account
7124
7122
  authority?: PublicKey;
7125
7123
  }, args: {
7126
7124
  assetAmount: BN$1;
7127
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7125
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7128
7126
  declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram, accounts: {
7129
7127
  lendrAccount: PublicKey;
7130
7128
  destinationAccount: PublicKey;
@@ -7133,52 +7131,52 @@ declare function makelendingAccountWithdrawEmissionIx(ldrProgram: LendrProgram,
7133
7131
  group?: PublicKey;
7134
7132
  authority?: PublicKey;
7135
7133
  emissionsMint?: PublicKey;
7136
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7134
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7137
7135
  declare function makeSetAccountFlagIx(ldrProgram: LendrProgram, accounts: {
7138
7136
  lendrAccount: PublicKey;
7139
7137
  group?: PublicKey;
7140
7138
  admin?: PublicKey;
7141
7139
  }, args: {
7142
7140
  flag: BN$1;
7143
- }): Promise<_solana_web3_js24.TransactionInstruction>;
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
7147
  flag: BN$1;
7150
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7148
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7151
7149
  declare function makePoolConfigureBankIx$1(ldrProgram: LendrProgram, accounts: {
7152
7150
  bank: PublicKey;
7153
7151
  group?: PublicKey;
7154
7152
  admin?: PublicKey;
7155
7153
  }, args: {
7156
7154
  bankConfigOpt: BankConfigOptRaw;
7157
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7155
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7158
7156
  declare function makeBeginFlashLoanIx(ldrProgram: LendrProgram, accounts: {
7159
7157
  lendrAccount: PublicKey;
7160
7158
  authority?: PublicKey;
7161
7159
  ixsSysvar?: PublicKey;
7162
7160
  }, args: {
7163
7161
  endIndex: BN$1;
7164
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7162
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7165
7163
  declare function makeEndFlashLoanIx(ldrProgram: LendrProgram, accounts: {
7166
7164
  lendrAccount: PublicKey;
7167
7165
  authority?: PublicKey;
7168
- }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7166
+ }, remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7169
7167
  declare function makeAccountAuthorityTransferIx(ldProgram: LendrProgram, accounts: {
7170
7168
  lendrAccount: PublicKey;
7171
7169
  newAuthority: PublicKey;
7172
7170
  feePayer: PublicKey;
7173
7171
  group?: PublicKey;
7174
7172
  authority?: PublicKey;
7175
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7173
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7176
7174
  declare function makeGroupInitIx(ldProgram: LendrProgram, accounts: {
7177
7175
  lendrGroup: PublicKey;
7178
7176
  admin: PublicKey;
7179
7177
  }, args?: {
7180
7178
  isArenaGroup?: boolean;
7181
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7179
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7182
7180
  /**
7183
7181
  * Configure the oracle for a bank
7184
7182
  * @param ldProgram The lendr program
@@ -7203,7 +7201,7 @@ declare function makeLendingPoolConfigureBankOracleIx(ldProgram: LendrProgram, a
7203
7201
  /**
7204
7202
  * The remaining accounts required for this instruction, should include the feed oracle key (non writable & signable)
7205
7203
  */
7206
- remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7204
+ remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7207
7205
  /**
7208
7206
  * Creates an instruction to add a permissionless staked bank to a lending pool.
7209
7207
  * @param ldProgram - The lendr program instance
@@ -7237,7 +7235,7 @@ remainingAccounts: AccountMeta[] | undefined, args: {
7237
7235
  * bump.
7238
7236
  */
7239
7237
  seed?: BN$1;
7240
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7238
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7241
7239
  declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
7242
7240
  lendrGroup: PublicKey;
7243
7241
  feePayer: PublicKey;
@@ -7248,15 +7246,15 @@ declare function makePoolAddBankIx$1(ldProgram: LendrProgram, accounts: {
7248
7246
  globalFeeWallet?: PublicKey;
7249
7247
  }, args: {
7250
7248
  bankConfig: BankConfigCompactRaw;
7251
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7249
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7252
7250
  declare function makeCloseAccountIx(ldProgram: LendrProgram, accounts: {
7253
7251
  lendrAccount: PublicKey;
7254
7252
  feePayer: PublicKey;
7255
7253
  authority?: PublicKey;
7256
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7254
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7257
7255
  declare function makeLendingAccountSortBalancesIx(ldProgram: LendrProgram, accounts: {
7258
7256
  lendrAccount: PublicKey;
7259
- }): Promise<_solana_web3_js24.TransactionInstruction>;
7257
+ }): Promise<_solana_web3_js25.TransactionInstruction>;
7260
7258
  declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
7261
7259
  lendrAccount: PublicKey;
7262
7260
  },
@@ -7264,7 +7262,7 @@ declare function makePulseHealthIx$1(ldProgram: LendrProgram, accounts: {
7264
7262
  * The remaining accounts required for this instruction. Should include:
7265
7263
  * - For each balance the user has, pass bank and oracle: <bank1, oracle1, bank2, oracle2>
7266
7264
  */
7267
- remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js24.TransactionInstruction>;
7265
+ remainingAccounts?: AccountMeta[]): Promise<_solana_web3_js25.TransactionInstruction>;
7268
7266
  declare const instructions: {
7269
7267
  makeDepositIx: typeof makeDepositIx;
7270
7268
  makeDepositWithSessionIx: typeof makeDepositWithSessionIx;
@@ -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;
@@ -8871,7 +8869,10 @@ declare function makeBundleTipIx(feePayer: PublicKey, bundleTip?: number): Trans
8871
8869
  //#region src/services/price/utils/compute.utils.d.ts
8872
8870
  declare function getPriceWithConfidence(oraclePrice: OraclePrice, weighted: boolean): PriceWithConfidence;
8873
8871
  declare function getPrice(oraclePrice: OraclePrice, priceBias?: PriceBias, weightedPrice?: boolean): BigNumber;
8874
- declare function parseOraclePriceData(oracleSetup: OracleSetup, rawData: Buffer, logger?: TLogger, shardId?: number): OraclePrice;
8872
+ declare const supportedOracleSetups: readonly [OracleSetup.PythLegacy, OracleSetup.PythPushOracle, OracleSetup.StakedWithPythPush, OracleSetup.SwitchboardV2, OracleSetup.SwitchboardPull];
8873
+ type SupportedOracleSetup = (typeof supportedOracleSetups)[number];
8874
+ declare function isOracleSetupSupported(oracleSetup: OracleSetup): oracleSetup is SupportedOracleSetup;
8875
+ declare function parseOraclePriceData(oracleSetup: SupportedValueType, rawData: Buffer, logger?: TLogger, shardId?: number): OraclePrice;
8875
8876
  //#endregion
8876
8877
  //#region src/services/price/utils/deserialize.utils.d.ts
8877
8878
  declare function dtoToOraclePrice(dto: OraclePriceDto): OraclePrice;
@@ -9077,7 +9078,7 @@ type FetchGroupDataFn = (props: {
9077
9078
  commitment?: Commitment;
9078
9079
  overrideBankAddresses?: PublicKey[];
9079
9080
  overrideBanksMetadata?: BanksExtendedMetadataOverrideMap;
9080
- metadataService: IMetadataService;
9081
+ metadataService: MetadataService;
9081
9082
  dataFetcher: DataFetcher;
9082
9083
  }) => Promise<{
9083
9084
  lendrGroup: LendrGroup;
@@ -9098,7 +9099,7 @@ type LendrClientOptions = {
9098
9099
  addressLookupTableAddresses?: PublicKey[];
9099
9100
  logger?: TLogger;
9100
9101
  storage?: Storage;
9101
- metadataService?: IMetadataService;
9102
+ metadataFetchers?: Array<IMetadataFetcher>;
9102
9103
  dataFetcher?: DataFetcher;
9103
9104
  };
9104
9105
  interface LendrClientFetchOptions {
@@ -9123,7 +9124,7 @@ interface LendrClientProps {
9123
9124
  readonly overrideBankAddresses?: PublicKey[];
9124
9125
  readonly overrideBanksMetadata?: BanksExtendedMetadataOverrideMap;
9125
9126
  readonly bankMetadataMap?: BankMetadataMap;
9126
- metadataService: IMetadataService;
9127
+ metadataService: MetadataService;
9127
9128
  bundleSimRpcEndpoint?: string;
9128
9129
  logger?: TLogger;
9129
9130
  storage?: Storage;
@@ -9150,7 +9151,7 @@ declare class LendrClient {
9150
9151
  bankMetadataMap?: BankMetadataMap;
9151
9152
  readonly overrideBankAddresses?: Array<PublicKey>;
9152
9153
  readonly overrideBanksMetadata?: BanksExtendedMetadataOverrideMap;
9153
- readonly metadataService: IMetadataService;
9154
+ readonly metadataService: MetadataService;
9154
9155
  readonly storage: Storage;
9155
9156
  readonly dataFetcher: DataFetcher;
9156
9157
  constructor({
@@ -9737,42 +9738,85 @@ declare function dtoToGroup(groupDto: LendrGroupTypeDto): LendrGroupType;
9737
9738
  declare function groupToDto(group: LendrGroupType): LendrGroupTypeDto;
9738
9739
  //# sourceMappingURL=serialize.utils.d.ts.map
9739
9740
  //#endregion
9740
- //#region src/services/metadata/fogo.d.ts
9741
- declare class FogoMetadataService extends IMetadataService {
9742
- _fetch(mints: Array<string>): Promise<Record<string, {
9741
+ //#region src/services/metadata/dummy.d.ts
9742
+ declare class DummyMetadataFetcher implements IMetadataFetcher {
9743
+ readonly name = "DummyMetadataFetcher";
9744
+ fetch(mints: Array<string>): Promise<Record<string, {
9743
9745
  name: string;
9744
9746
  symbol: string;
9745
9747
  image: string;
9748
+ uri?: string | undefined;
9746
9749
  }>>;
9747
9750
  }
9748
- //# sourceMappingURL=fogo.d.ts.map
9751
+ //# sourceMappingURL=dummy.d.ts.map
9749
9752
  //#endregion
9750
- //#region src/services/metadata/index.d.ts
9751
- declare const metadataSchema: z$1.ZodMiniObject<{
9752
- name: z$1.ZodMiniString<string>;
9753
- symbol: z$1.ZodMiniString<string>;
9754
- image: z$1.ZodMiniString<string>;
9755
- }, z$1.core.$strip>;
9756
- type TMetadata = z$1.infer<typeof metadataSchema>;
9757
- declare abstract class IMetadataService {
9753
+ //#region src/services/metadata/service.d.ts
9754
+ declare const metadataSchema: z$2.ZodMiniObject<{
9755
+ name: z$2.ZodMiniString<string>;
9756
+ symbol: z$2.ZodMiniString<string>;
9757
+ image: z$2.ZodMiniString<string>;
9758
+ uri: z$2.ZodMiniOptional<z$2.ZodMiniString<string>>;
9759
+ }, z$2.core.$strip>;
9760
+ type TMetadata = z$2.infer<typeof metadataSchema>;
9761
+ interface IMetadataFetcher {
9762
+ readonly name: string;
9763
+ fetch(mints: Array<string>): Promise<Record<string, TMetadata>>;
9764
+ }
9765
+ interface MetadataServiceProps {
9766
+ storage: Storage;
9767
+ fetchers: Array<IMetadataFetcher>;
9768
+ logger: TLogger;
9769
+ overrides?: BanksExtendedMetadataOverrideMap;
9770
+ }
9771
+ declare class MetadataService {
9758
9772
  /** NOTE: record key is base58 of mint public key */
9759
9773
  readonly overrides: BanksExtendedMetadataOverrideMap;
9760
9774
  private _storage;
9761
- constructor(storage: Storage, overrides?: BanksExtendedMetadataOverrideMap);
9775
+ private readonly _fetchers;
9776
+ private _logger;
9777
+ constructor({
9778
+ storage,
9779
+ logger,
9780
+ fetchers,
9781
+ overrides
9782
+ }: MetadataServiceProps);
9762
9783
  forMints(mints: Array<PublicKey>): Promise<{
9763
9784
  [x: string]: {
9764
9785
  name: string;
9765
9786
  symbol: string;
9766
9787
  image: string;
9788
+ uri?: string | undefined;
9767
9789
  };
9768
9790
  }>;
9769
9791
  forMint(mint: PublicKey): Promise<{
9770
9792
  name: string;
9771
9793
  symbol: string;
9772
9794
  image: string;
9795
+ uri?: string | undefined;
9773
9796
  }>;
9774
- abstract _fetch(mints: Array<string>): Promise<Record<string, TMetadata>>;
9797
+ _fetch(mints: Array<string>): Promise<Record<string, {
9798
+ name: string;
9799
+ symbol: string;
9800
+ image: string;
9801
+ uri?: string | undefined;
9802
+ }>>;
9803
+ }
9804
+ //# sourceMappingURL=service.d.ts.map
9805
+ //#endregion
9806
+ //#region src/services/metadata/metaplex.d.ts
9807
+ declare class MetaplexMetadataFetcher implements IMetadataFetcher {
9808
+ readonly name = "MetaplexMetadataFetcher";
9809
+ private readonly _umi;
9810
+ constructor(rpcEndpoint: string);
9811
+ fetch(mints: Array<string>): Promise<Record<string, {
9812
+ name: string;
9813
+ symbol: string;
9814
+ image: string;
9815
+ uri?: string | undefined;
9816
+ }>>;
9817
+ private _getImage;
9775
9818
  }
9819
+ //# sourceMappingURL=metaplex.d.ts.map
9776
9820
  //#endregion
9777
9821
  //#region src/services/native-stake/types/stake.types.d.ts
9778
9822
  type ValidatorStakeGroup = {
@@ -10029,7 +10073,7 @@ declare const simulateTransactions: (processOpts: ProcessTransactionOpts, connec
10029
10073
  feePayer: PublicKey;
10030
10074
  blockhash: string;
10031
10075
  }) => Promise<SimulatedTransactionResponse | RpcSimulateBundleTransactionResult[]>;
10032
- declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js24.SignatureStatus>;
10076
+ declare function confirmTransaction(connection: Connection, signature: string, commitment?: Commitment): Promise<_solana_web3_js25.SignatureStatus>;
10033
10077
  //#endregion
10034
10078
  //#region src/common/bank-metadata.d.ts
10035
10079
  declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
@@ -10042,16 +10086,16 @@ declare const bankExtendedMetadataOverrideSchema: z.ZodObject<{
10042
10086
  }, "strip", z.ZodTypeAny, {
10043
10087
  symbol?: string | undefined;
10044
10088
  name?: string | undefined;
10045
- mint?: string | undefined;
10046
- address?: string | undefined;
10047
10089
  logoURI?: string | undefined;
10090
+ address?: string | undefined;
10091
+ mint?: string | undefined;
10048
10092
  validatorVoteAccount?: string | undefined;
10049
10093
  }, {
10050
10094
  symbol?: string | undefined;
10051
10095
  name?: string | undefined;
10052
- mint?: string | undefined;
10053
- address?: string | undefined;
10054
10096
  logoURI?: string | undefined;
10097
+ address?: string | undefined;
10098
+ mint?: string | undefined;
10055
10099
  validatorVoteAccount?: string | undefined;
10056
10100
  }>;
10057
10101
  type BankExtendedMetadataOverride = z.infer<typeof bankExtendedMetadataOverrideSchema>;
@@ -10083,7 +10127,7 @@ declare const fetchBanksExtendedMetadata: ({
10083
10127
  mint: PublicKey;
10084
10128
  owner: PublicKey;
10085
10129
  }>;
10086
- metadataService: IMetadataService;
10130
+ metadataService: MetadataService;
10087
10131
  logger: TLogger;
10088
10132
  overrideBanksMetadata?: BanksExtendedMetadataOverrideMap;
10089
10133
  }) => Promise<BankExtendedMetadataMap>;
@@ -10099,5 +10143,5 @@ type BankMetadataMap = {
10099
10143
  //# sourceMappingURL=bank-metadata.d.ts.map
10100
10144
 
10101
10145
  //#endregion
10102
- export { AccountFlags, AccountType, ActionEmodeImpact, ActiveStakePoolMap, Amount, AssetTag, BUNDLE_TX_SIZE$1 as BUNDLE_TX_SIZE, Balance, BalanceRaw, BalanceType, BalanceTypeDto, Bank, BankAddress, BankConfig, type BankConfigCompactRaw, BankConfigDto, BankConfigOpt, type BankConfigOptRaw, type BankConfigRaw, BankConfigRawDto, BankConfigType, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMap, BankMetadata, BankMetadataMap, type BankRaw, BankRawDto, BankType, BankTypeDto, BankVaultType, BanksExtendedMetadataOverrideMap, BroadcastMethodType, CustomNumberFormat, DEFAULT_CLUSTER, DEFAULT_COMMITMENT, DEFAULT_CONFIRM_OPTS, DEFAULT_ORACLE_MAX_AGE, DEFAULT_PROCESS_TX_OPTS, DEFAULT_PROCESS_TX_STRATEGY, DEFAULT_SEND_OPTS, DISABLED_FLAG, DUMMY_USDC_MINT, EmodeConfigRaw, EmodeConfigRawDto, EmodeEntry, EmodeEntryDto, EmodeEntryFlags, EmodeFlags, EmodeImpact, EmodeImpactStatus, EmodePair, EmodeSettings, EmodeSettingsDto, EmodeSettingsRaw, EmodeSettingsRawDto, EmodeSettingsType, EmodeTag, Environment, ExtendedTransaction, ExtendedTransactionProperties, ExtendedV0Transaction, FLASHLOAN_ENABLED_FLAG, FetchGroupDataFn, FlashLoanArgs, FlashloanActionResult, FogoMetadataService, GROUP_PK, HOURS_PER_YEAR, HealthCache, HealthCacheFlags, HealthCacheRaw, HealthCacheSimulationError, HealthCacheType, HealthCacheTypeDto, IMetadataService, InstructionsWrapper, InterestRateConfig, InterestRateConfigDto, type InterestRateConfigRaw, JUPITER_V6_PROGRAM, LENDR_IDL, LENDR_PROGRAM, LENDR_SPONSORED_SHARD_ID, LST_MINT, LUT_PROGRAM_AUTHORITY_INDEX, LendingAccountDepositOrRepayWithSessionAccounts, LendingAccountWithdrawOrBorrowWithSessionAccounts, LendrAccount, LendrAccountRaw, LendrAccountType, LendrAccountTypeDto, LendrAccountWrapper, LendrClient, LendrClientFetchOptions, LendrClientOptions, LendrClientProps, LendrConfig, LendrGroup, type LendrGroupRaw, LendrGroupType, LendrGroupTypeDto, LendrIdlType, LendrProgram, LendrRequirementType, LendrRequirementTypeRaw, LogFn, LoopProps, LoopTxProps, MAX_ACCOUNT_KEYS, MAX_CONFIDENCE_INTERVAL_RATIO, MAX_TX_SIZE$1 as MAX_TX_SIZE, MAX_U64, MPL_METADATA_PROGRAM_ID, MakeBorrowIxOpts, MakeBorrowWithSessionIxOpts, MakeDepositIxOpts, MakeDepositWithSessionIxOpts, MakeRepayIxOpts, MakeRepayWithSessionIxOpts, MakeWithdrawIxOpts, MakeWithdrawWithSessionIxOpts, MaxCapType, MintData, MintDataMap, NodeWallet, OperationalState, type OperationalStateRaw, OracleConfigOpt, type OracleConfigOptRaw, OraclePrice, OraclePriceDto, OraclePriceMap, OracleSetup, type OracleSetupRaw, PDA_BANK_FEE_VAULT_AUTH_SEED, PDA_BANK_FEE_VAULT_SEED, PDA_BANK_INSURANCE_VAULT_AUTH_SEED, PDA_BANK_INSURANCE_VAULT_SEED, PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED, PDA_BANK_LIQUIDITY_VAULT_SEED, PRIORITY_TX_SIZE$1 as PRIORITY_TX_SIZE, PROGRAM_ID, PYTH_PRICE_CONF_INTERVALS, PYTH_PUSH_ORACLE_ID, PYTH_SPONSORED_SHARD_ID, PriceBias, PriceWithConfidence, PriceWithConfidenceDto, PriorityFees, PriotitizationFeeLevels, ProcessTransactionError, ProcessTransactionErrorType, ProcessTransactionOpts, ProcessTransactionStrategy, ProcessTransactionsClientOpts, Program$1 as Program, ProgramError, ProgramErrorWithDescription, ProgramReadonly, PythPushFeedIdMap, RepayWithCollateralProps, RepayWithCollateralTxProps, RiskTier, type RiskTierRaw, SINGLE_POOL_PROGRAM_ID, SKIP_SIMULATION, STAKE_CONFIG_ID, STAKE_PROGRAM_ID, SWB_PRICE_CONF_INTERVALS, SYSTEM_PROGRAM_ID, SYSVAR_CLOCK_ID, SYSVAR_RENT_ID, SYSVAR_STAKE_HISTORY_ID, SimulationResult, SolanaTransaction, SpecificBroadcastMethod, SpecificBroadcastMethodType, StakeAccount, StakePoolMevMap, TLogger, TMetadata, TRANSFER_ACCOUNT_AUTHORITY_FLAG, TransactionArenaKeyMap, TransactionBroadcastType, TransactionBuilderResult, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, USDC_DECIMALS, USDC_MINT, ValidatorRateData, ValidatorStakeGroup, ValidatorStakeGroupDto, WSOL_EXTENDED_METADATA, WSOL_MINT, Wallet, WalletToken, WrappedI80F48, accountFlagToBN, addOracleToBanksIx, addTransactionMetadata, aprToApy, apyToApr, balanceToDto, bankConfigRawToDto, bankExtendedMetadataOverrideSchema, bankRawToDto, bigNumberToWrappedI80F48, bpsToPercentile, buildFeedIdMap, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, computeAccountValue, computeActiveEmodePairs, computeAssetUsdValue, computeBalanceUsdValue, computeBaseInterestRate, computeClaimedEmissions, computeEmodeImpacts, computeFreeCollateral, computeFreeCollateralLegacy, computeHealthAccountMetas, computeHealthCheckAccounts, computeHealthComponents, computeHealthComponentsLegacy, computeHealthComponentsWithoutBiasLegacy, computeInterestRates, computeLiabilityUsdValue, computeLoopingParams, computeMaxLeverage, computeNetApy, computeQuantity, computeQuantityUi, computeRemainingCapacity, computeTotalOutstandingEmissions, computeTvl, computeUsdValue, computeUtilizationRate, confirmTransaction, crankPythOracleIx, createLendrAccountTx, createUpdateFeedIx, decodeAccountRaw, decodeBankRaw, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dtoToBalance, dtoToBank, dtoToBankConfig, dtoToBankConfigRaw, dtoToBankRaw, dtoToEmodeSettings, dtoToEmodeSettingsRaw, dtoToGroup, dtoToHealthCache, dtoToInterestRateConfig, dtoToLendrAccount, dtoToOraclePrice, dtoToValidatorStakeGroup, dynamicNumeralFormatter, emodeSettingsRawToDto, feedIdToString, fetchBanksExtendedMetadata, fetchLendrAccountAddresses, fetchLendrAccountData, fetchMultipleBanks, fetchNativeStakeAccounts, fetchOracleData, fetchPythOracleData, fetchStakeAccount, fetchStakePoolActiveStates, fetchStakePoolMev, fetchSwbOracleData, findOracleKey, findPythPushOracleAddress, floor, freezeBankConfigIx, getAccountKeys, getActiveAccountFlags, getActiveEmodeEntryFlags, getActiveEmodeFlags, getActiveHealthCacheFlags, getActiveStaleBanks, getAssetQuantity, getAssetShares, getAssetWeight, getBalanceUsdValueWithPriceBias, getBankVaultAuthority, getBankVaultSeeds, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getConfig, getConfigPda, getHealthCacheStatusDescription, getLiabilityQuantity, getLiabilityShares, getLiabilityWeight, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getPrice, getPriceFeedAccountForProgram, getPriceWithConfidence, getRecentPrioritizationFeesByPercentile, getTotalAssetQuantity, getTotalLiabilityQuantity, getTreasuryPda, getTxSize, getValueInsensitive, groupToDto, groupedNumberFormatter, groupedNumberFormatterDyn, hasAccountFlag, hasEmodeEntryFlag, hasEmodeFlag, hasHealthCacheFlag, healthCacheToDto, index_d_exports$2 as index_d_exports, instructions, isV0Tx, isWeightedPrice, legacyTxToV0Tx, lendrAccountToDto, makeAddPermissionlessStakedBankIx, makeBundleTipIx, makeDisableAccountTransferForAccountIx, makeDisableFlashLoanForAccountIx, makeEnableAccountTransferForAccountIx, makeEnableFlashLoanForAccountIx, makePoolAddBankIx, makePoolConfigureBankIx, makePriorityFeeIx, makePriorityFeeMicroIx, makePulseHealthIx, makeTxPriorityIx, makeUnwrapSolIx, makeVersionedTransaction, makeWrapSolIxs, median, metadataSchema, microLamportsToUi, nativeToUi, numeralFormatter, oraclePriceToDto, parseBalanceRaw, parseBankConfigRaw, parseBankRaw, parseBanksMetadataOverride, parseEmodeTag, parseErrorFromLogs, parseLendrAccountRaw, parseOperationalState, parseOraclePriceData, parseOracleSetup, parseRiskTier, parseTransactionError, percentFormatter, percentFormatterDyn, percentFormatterMod, processTransactions, replaceV0TxBlockhash, replaceV0TxInstructions, serializeBankConfigOpt, serializeOperationalState, serializeOracleSetup, serializeOracleSetupToIndex, serializeRiskTier, setTimeoutPromise, shortenAddress, simulateAccountHealthCache, simulateAccountHealthCacheWithFallback, simulateTransactions, sleep, splitInstructionsToFitTransactions, toBankConfigDto, toBankDto, toBigNumber, toEmodeSettingsDto, toInterestRateConfigDto, toNumber, tokenPriceFormatter, uiToMicroLamports, uiToNative, uiToNativeBigNumber, updateV0Tx, usdFormatter, usdFormatterDyn, validatorStakeGroupToDto, wrappedI80F48toBigNumber };
10103
- //# sourceMappingURL=index-Bx-zRXFQ.d.ts.map
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$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 };
10147
+ //# sourceMappingURL=index-DcGyKuPI.d.ts.map