@pyron-finance/pyron-client 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,6 @@ type WalletToken = {
41
41
  ata: PublicKey;
42
42
  mintDecimals: number;
43
43
  };
44
- //# sourceMappingURL=types.d.ts.map
45
44
  //#endregion
46
45
  //#region src/common/nodeWallet.d.ts
47
46
  /**
@@ -59,7 +58,6 @@ declare class NodeWallet implements Wallet {
59
58
  signAllTransactions<T extends Transaction | VersionedTransaction>(txs: T[]): Promise<T[]>;
60
59
  get publicKey(): PublicKey;
61
60
  }
62
- //# sourceMappingURL=nodeWallet.d.ts.map
63
61
  //#endregion
64
62
  //#region src/common/math.d.ts
65
63
  declare function floor(value: number, decimals: number): number;
@@ -77,7 +75,6 @@ declare function setTimeoutPromise(duration: number, message: string): Promise<E
77
75
  declare function chunkedGetRawMultipleAccountInfos(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<[number, Map<string, AccountInfo<Buffer>>]>;
78
76
  declare function chunkedGetRawMultipleAccountInfoOrderedWithNulls(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<Array<AccountInfo<Buffer> | null>>;
79
77
  declare function chunkedGetRawMultipleAccountInfoOrdered(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<Array<AccountInfo<Buffer>>>;
80
- //# sourceMappingURL=misc.d.ts.map
81
78
  //#endregion
82
79
  //#region src/common/modules/transactions/transaction.types.d.ts
83
80
  declare enum TransactionType {
@@ -393,7 +390,6 @@ declare function bpsToPercentile(bps: number): number;
393
390
  * composition
394
391
  */
395
392
  declare const composeRemainingAccounts: (banksAndOracles: PublicKey[][]) => PublicKey[];
396
- //# sourceMappingURL=conversion.utils.d.ts.map
397
393
  //#endregion
398
394
  //#region src/common/utils/formatters.utils.d.ts
399
395
  declare class CustomNumberFormat extends Intl.NumberFormat {
@@ -4530,12 +4526,10 @@ type Lendr = {
4530
4526
  };
4531
4527
  }];
4532
4528
  };
4533
- //# sourceMappingURL=lendr-types_0.1.3.d.ts.map
4534
4529
  //#endregion
4535
4530
  //#region src/idl/index.d.ts
4536
4531
  declare const LENDR_IDL: LendrIdlType;
4537
4532
  type LendrIdlType = Lendr;
4538
- //# sourceMappingURL=index.d.ts.map
4539
4533
  //#endregion
4540
4534
  //#region src/types.d.ts
4541
4535
  type LendrProgram = Program$1<LendrIdlType>;
@@ -4590,7 +4584,6 @@ type LendingAccountWithdrawOrBorrowWithSessionAccounts = {
4590
4584
  tokenProgram: PublicKey;
4591
4585
  group?: PublicKey;
4592
4586
  };
4593
- //# sourceMappingURL=types.d.ts.map
4594
4587
  //#endregion
4595
4588
  //#region src/common/session.d.ts
4596
4589
  type EstablishedSessionState = {
@@ -4599,7 +4592,6 @@ type EstablishedSessionState = {
4599
4592
  payer: PublicKey;
4600
4593
  sendTransaction: (instructions: Array<TransactionInstruction> | VersionedTransaction) => Promise<TransactionResult>;
4601
4594
  };
4602
- //# sourceMappingURL=session.d.ts.map
4603
4595
  //#endregion
4604
4596
  //#region src/instructions.d.ts
4605
4597
  declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
@@ -4864,7 +4856,6 @@ declare function getConfig({
4864
4856
  environment?: Environment;
4865
4857
  overrides?: Partial<Omit<LendrConfig, "environment">>;
4866
4858
  }): LendrConfig;
4867
- //# sourceMappingURL=config.d.ts.map
4868
4859
  //#endregion
4869
4860
  //#region src/constants/bank.d.ts
4870
4861
  declare const PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED: Buffer<ArrayBuffer>;
@@ -4873,7 +4864,6 @@ declare const PDA_BANK_FEE_VAULT_AUTH_SEED: Buffer<ArrayBuffer>;
4873
4864
  declare const PDA_BANK_LIQUIDITY_VAULT_SEED: Buffer<ArrayBuffer>;
4874
4865
  declare const PDA_BANK_INSURANCE_VAULT_SEED: Buffer<ArrayBuffer>;
4875
4866
  declare const PDA_BANK_FEE_VAULT_SEED: Buffer<ArrayBuffer>;
4876
- //# sourceMappingURL=bank.d.ts.map
4877
4867
  //#endregion
4878
4868
  //#region src/constants/misc.d.ts
4879
4869
  declare const HOURS_PER_YEAR: number;
@@ -4885,13 +4875,11 @@ declare const PYTH_PUSH_ORACLE_ID: PublicKey;
4885
4875
  declare const GROUP_PK: PublicKey;
4886
4876
  declare const PROGRAM_ID: PublicKey;
4887
4877
  declare const DEFAULT_CLUSTER: string;
4888
- //# sourceMappingURL=misc.d.ts.map
4889
4878
  //#endregion
4890
4879
  //#region src/constants/flags.d.ts
4891
4880
  declare const DISABLED_FLAG: number;
4892
4881
  declare const FLASHLOAN_ENABLED_FLAG: number;
4893
4882
  declare const TRANSFER_ACCOUNT_AUTHORITY_FLAG: number;
4894
- //# sourceMappingURL=flags.d.ts.map
4895
4883
  //#endregion
4896
4884
  //#region src/constants/tokens.d.ts
4897
4885
  declare const WSOL_MINT: PublicKey;
@@ -4900,7 +4888,6 @@ declare const LST_MINT: PublicKey;
4900
4888
  declare const USDC_MINT: PublicKey;
4901
4889
  declare const DUMMY_USDC_MINT: PublicKey;
4902
4890
  declare const USDC_DECIMALS = 6;
4903
- //# sourceMappingURL=tokens.d.ts.map
4904
4891
  //#endregion
4905
4892
  //#region src/constants/defaults.d.ts
4906
4893
  declare const DEFAULT_COMMITMENT: Commitment;
@@ -4912,7 +4899,6 @@ declare const BUNDLE_TX_SIZE$1 = 81;
4912
4899
  declare const PRIORITY_TX_SIZE$1 = 44;
4913
4900
  declare const SKIP_SIMULATION = false;
4914
4901
  declare const DEFAULT_ORACLE_MAX_AGE = 60;
4915
- //# sourceMappingURL=defaults.d.ts.map
4916
4902
  //#endregion
4917
4903
  //#region src/constants/programs.d.ts
4918
4904
  declare const LUT_PROGRAM_AUTHORITY_INDEX = 5;
@@ -4926,7 +4912,6 @@ declare const SYSVAR_RENT_ID: PublicKey;
4926
4912
  declare const SYSVAR_CLOCK_ID: PublicKey;
4927
4913
  declare const SYSVAR_STAKE_HISTORY_ID: PublicKey;
4928
4914
  declare const STAKE_CONFIG_ID$1: PublicKey;
4929
- //# sourceMappingURL=programs.d.ts.map
4930
4915
  //#endregion
4931
4916
  //#region src/errors.d.ts
4932
4917
  declare enum ProcessTransactionErrorType {
@@ -4976,7 +4961,6 @@ declare function parseTransactionError(error: any, ldrProgramId: PublicKey): {
4976
4961
  code: any;
4977
4962
  };
4978
4963
  declare function parseErrorFromLogs(logs: string[], ldrProgramId: PublicKey): ProgramErrorWithDescription | null;
4979
- //# sourceMappingURL=errors.d.ts.map
4980
4964
  //#endregion
4981
4965
  //#region src/services/price/types/price.types.d.ts
4982
4966
  interface PriceWithConfidence {
@@ -5008,7 +4992,6 @@ interface OraclePriceDto {
5008
4992
  timestamp: string;
5009
4993
  pythShardId?: number;
5010
4994
  }
5011
- //# sourceMappingURL=price.types.d.ts.map
5012
4995
  //#endregion
5013
4996
  //#region src/utils.d.ts
5014
4997
  declare function getBankVaultSeeds(type: BankVaultType): Buffer;
@@ -5041,7 +5024,6 @@ declare function findOracleKey(bankConfig: BankConfig, feedMap: PythPushFeedIdMa
5041
5024
  declare const PYTH_SPONSORED_SHARD_ID = 0;
5042
5025
  declare const LENDR_SPONSORED_SHARD_ID = 3301;
5043
5026
  declare function findPythPushOracleAddress(feedId: Buffer, programId: PublicKey, shardId: number): PublicKey;
5044
- //# sourceMappingURL=utils.d.ts.map
5045
5027
  //#endregion
5046
5028
  //#region src/models/emode-settings.d.ts
5047
5029
  declare class EmodeSettings implements EmodeSettingsType {
@@ -5052,7 +5034,6 @@ declare class EmodeSettings implements EmodeSettingsType {
5052
5034
  constructor(emodeTag: EmodeTag, timestamp: number, flags: EmodeFlags[], emodeEntries: EmodeEntry[]);
5053
5035
  static from(emodeSettingsRaw: EmodeSettingsRaw): EmodeSettings;
5054
5036
  }
5055
- //# sourceMappingURL=emode-settings.d.ts.map
5056
5037
  //#endregion
5057
5038
  //#region src/models/bank.d.ts
5058
5039
  declare class Bank implements BankType {
@@ -5190,7 +5171,6 @@ declare class HealthCache implements HealthCacheType {
5190
5171
  constructor(assetValue: BigNumber, liabilityValue: BigNumber, assetValueMaint: BigNumber, liabilityValueMaint: BigNumber, assetValueEquity: BigNumber, liabilityValueEquity: BigNumber, timestamp: BigNumber, flags: HealthCacheFlags[], prices: number[][], simulationFailed?: boolean | undefined);
5191
5172
  static from(healthCacheRaw: HealthCacheRaw): HealthCache;
5192
5173
  }
5193
- //# sourceMappingURL=health-cache.d.ts.map
5194
5174
  //#endregion
5195
5175
  //#region src/models/account/pure.d.ts
5196
5176
  declare class LendrAccount implements LendrAccountType {
@@ -5537,7 +5517,6 @@ interface FlashloanActionResult extends TransactionBuilderResult {
5537
5517
  /** Whether transaction size exceeds limits */
5538
5518
  txOverflown: boolean;
5539
5519
  }
5540
- //# sourceMappingURL=types.d.ts.map
5541
5520
  //#endregion
5542
5521
  //#region src/models/group.d.ts
5543
5522
  declare class LendrGroup implements LendrGroupType {
@@ -6226,7 +6205,6 @@ interface PriceComponent {
6226
6205
  latest: Price;
6227
6206
  }
6228
6207
  declare const parsePriceData: (data: Buffer, currentSlot?: number) => PriceData;
6229
- //# sourceMappingURL=index.d.ts.map
6230
6208
  //#endregion
6231
6209
  //#region src/vendor/pyth_push_oracle/index.d.ts
6232
6210
  type PriceUpdateV2 = {
@@ -6281,7 +6259,6 @@ type StakeAccount$1 = {
6281
6259
  * Copied from https://github.com/solana-developers/solana-rpc-get-stake-activation/blob/main/web3js-1.0/src/stake.ts
6282
6260
  * */
6283
6261
  declare const getStakeAccount: (data: Buffer) => StakeAccount$1;
6284
- //# sourceMappingURL=index.d.ts.map
6285
6262
  //#endregion
6286
6263
  //#region src/vendor/single-spl-pool/index.d.ts
6287
6264
  declare const SinglePoolInstruction: {
@@ -6319,7 +6296,6 @@ declare class Account {
6319
6296
  constructor(program: any, publicKey: anchor.web3.PublicKey);
6320
6297
  }
6321
6298
  declare const BUFFER_DISCRIMINATOR: Buffer<ArrayBuffer>;
6322
- //# sourceMappingURL=account.d.ts.map
6323
6299
  //#endregion
6324
6300
  //#region src/vendor/switchboard_legacy/aggregatorAccount.d.ts
6325
6301
  declare class AggregatorAccount extends Account {
@@ -6332,7 +6308,6 @@ declare class AggregatorAccount extends Account {
6332
6308
  };
6333
6309
  }): any;
6334
6310
  }
6335
- //# sourceMappingURL=aggregatorAccount.d.ts.map
6336
6311
  //#endregion
6337
6312
  //#region src/vendor/switchboard_legacy/aggregatorAccountData.d.ts
6338
6313
  declare class AggregatorAccountData {
@@ -6413,7 +6388,6 @@ declare class AggregatorAccountData {
6413
6388
  constructor(fields: any);
6414
6389
  static decode(data: any): AggregatorAccountData;
6415
6390
  }
6416
- //# sourceMappingURL=aggregatorAccountData.d.ts.map
6417
6391
  //#endregion
6418
6392
  //#region src/vendor/switchboard_pull/index.d.ts
6419
6393
  declare const SWITCHBOARD_ONDEMANDE_PRICE_PRECISION = 18;
@@ -6458,10 +6432,6 @@ interface FeedResponse {
6458
6432
  declare const switchboardAccountCoder: BorshCoder<string, string>;
6459
6433
  declare function getSwitchboardProgram(provider: Provider): Program;
6460
6434
  declare function decodeSwitchboardPullFeedData(data: Buffer): PullFeedAccountData;
6461
- //# sourceMappingURL=index.d.ts.map
6462
- declare namespace index_d_exports {
6463
- export { AccountType$1 as AccountType, AggregatorAccount, AggregatorAccountData, Base, CorpAction, CrossbarSimulatePayload, CurrentResult, Ema, FeedResponse, MAX_SLOT_DIFFERENCE, OracleSubmission, Price, PriceComponent, PriceData, PriceStatus, PriceType, PullFeedAccountData, SWITCHBOARD_ONDEMANDE_PRICE_PRECISION, SinglePoolInstruction, StakeAccount$1 as StakeAccount, createAccountIx, createPoolOnrampIx, decodeSwitchboardPullFeedData, findMplMetadataAddress, findPoolAddress, findPoolMintAddress, findPoolMintAddressByVoteAccount, findPoolMintAuthorityAddress, findPoolMplAuthorityAddress, findPoolOnRampAddress, findPoolStakeAddress, findPoolStakeAuthorityAddress, getStakeAccount, getSwitchboardProgram, initializeStakedPoolIxs, initializeStakedPoolTx, parsePriceData, parsePriceInfo, replenishPoolIx, switchboardAccountCoder };
6464
- }
6465
6435
  //#endregion
6466
6436
  //#region src/clients/client.d.ts
6467
6437
  type BankMap = Map<string, Bank>;
@@ -6870,7 +6840,6 @@ type PythPushOracle = {
6870
6840
  }];
6871
6841
  };
6872
6842
  declare const PYTH_PUSH_ORACLE_IDL: PythPushOracle;
6873
- //# sourceMappingURL=pyth_push_oracle.d.ts.map
6874
6843
  //#endregion
6875
6844
  //#region src/vendor/pyth_crank/idl/pyth_wormhole.d.ts
6876
6845
  /**
@@ -7997,7 +7966,6 @@ type WormholeCoreBridgeSolana = {
7997
7966
  }];
7998
7967
  };
7999
7968
  declare const PYTH_WORMHOLE_IDL: WormholeCoreBridgeSolana;
8000
- //# sourceMappingURL=pyth_wormhole.d.ts.map
8001
7969
  //#endregion
8002
7970
  //#region src/vendor/pyth_crank/idl/receiver_program.d.ts
8003
7971
  /**
@@ -8591,7 +8559,6 @@ type PythSolanaReceiver = {
8591
8559
  }];
8592
8560
  };
8593
8561
  declare const PYTH_SOLANA_RECEIVER_PROGRAM_IDL: PythSolanaReceiver;
8594
- //# sourceMappingURL=receiver_program.d.ts.map
8595
8562
  //#endregion
8596
8563
  //#region src/vendor/pyth_crank/pyth.consts.d.ts
8597
8564
  declare const DEFAULT_RECEIVER_PROGRAM_ID: PublicKey;
@@ -8637,7 +8604,6 @@ declare const WRITE_ENCODED_VAA_COMPUTE_BUDGET = 3000;
8637
8604
  declare const CLOSE_ENCODED_VAA_COMPUTE_BUDGET = 30000;
8638
8605
  declare const VAA_SPLIT_INDEX = 721;
8639
8606
  declare const VAA_START = 46;
8640
- //# sourceMappingURL=pyth.consts.d.ts.map
8641
8607
  //#endregion
8642
8608
  //#region src/vendor/pyth_crank/pyth.utils.d.ts
8643
8609
  declare function getGuardianSetIndex(vaa: Buffer): number;
@@ -8690,7 +8656,6 @@ type PriceFeedMessage = {
8690
8656
  emaConf: BN;
8691
8657
  };
8692
8658
  declare function parsePriceFeedMessage(message: Buffer): PriceFeedMessage;
8693
- //# sourceMappingURL=pyth.utils.d.ts.map
8694
8659
  //#endregion
8695
8660
  //#region src/services/bank/types/bank.types.d.ts
8696
8661
  declare enum RiskTier {
@@ -8873,7 +8838,6 @@ interface ActionEmodeImpact {
8873
8838
  repayAllImpact?: EmodeImpact;
8874
8839
  withdrawAllImpact?: EmodeImpact;
8875
8840
  }
8876
- //# sourceMappingURL=bank.types.d.ts.map
8877
8841
  //#endregion
8878
8842
  //#region src/services/bank/types/raw-bank.types.d.ts
8879
8843
  interface BankRaw {
@@ -9182,8 +9146,6 @@ declare function parseOraclePriceData(oracleSetup: OracleSetup, rawData: Buffer,
9182
9146
  //#endregion
9183
9147
  //#region src/services/price/utils/deserialize.utils.d.ts
9184
9148
  declare function dtoToOraclePrice(dto: OraclePriceDto): OraclePrice;
9185
- //# sourceMappingURL=deserialize.utils.d.ts.map
9186
-
9187
9149
  //#endregion
9188
9150
  //#region src/services/price/utils/fetch.utils.d.ts
9189
9151
  declare const fetchPythOracleData: (banks: {
@@ -9230,12 +9192,9 @@ declare const fetchOracleData: (banks: {
9230
9192
  bankOraclePriceMap: Map<string, OraclePrice>;
9231
9193
  pythFeedMap: PythPushFeedIdMap;
9232
9194
  }>;
9233
- //# sourceMappingURL=fetch.utils.d.ts.map
9234
9195
  //#endregion
9235
9196
  //#region src/services/price/utils/serialize.utils.d.ts
9236
9197
  declare function oraclePriceToDto(oraclePrice: OraclePrice): OraclePriceDto;
9237
- //# sourceMappingURL=serialize.utils.d.ts.map
9238
-
9239
9198
  //#endregion
9240
9199
  //#region src/services/bank/utils/compute.utils.d.ts
9241
9200
  declare function computeMaxLeverage(depositBank: BankType, borrowBank: BankType, opts?: {
@@ -9276,7 +9235,6 @@ declare function computeRemainingCapacity(bank: BankType): {
9276
9235
  depositCapacity: BigNumber;
9277
9236
  borrowCapacity: BigNumber;
9278
9237
  };
9279
- //# sourceMappingURL=compute.utils.d.ts.map
9280
9238
  //#endregion
9281
9239
  //#region src/services/bank/utils/deserialize.utils.d.ts
9282
9240
  declare function decodeBankRaw(encoded: Buffer, idl: LendrIdlType): BankRaw;
@@ -9312,7 +9270,6 @@ declare function hasEmodeEntryFlag(flags: number, flag: number): boolean;
9312
9270
  * Parse a raw EMode tag number into the corresponding EmodeTag enum value
9313
9271
  */
9314
9272
  declare function parseEmodeTag(emodeTagRaw: number): EmodeTag;
9315
- //# sourceMappingURL=deserialize.utils.d.ts.map
9316
9273
  //#endregion
9317
9274
  //#region src/services/bank/utils/fetch.utils.d.ts
9318
9275
  declare const fetchMultipleBanks: (program: LendrProgram, opts?: {
@@ -9322,7 +9279,6 @@ declare const fetchMultipleBanks: (program: LendrProgram, opts?: {
9322
9279
  address: PublicKey;
9323
9280
  data: BankRaw;
9324
9281
  }[]>;
9325
- //# sourceMappingURL=fetch.utils.d.ts.map
9326
9282
  //#endregion
9327
9283
  //#region src/services/bank/utils/serialize.utils.d.ts
9328
9284
  declare function serializeBankConfigOpt(bankConfigOpt: BankConfigOpt): BankConfigOptRaw;
@@ -9407,7 +9363,6 @@ declare enum AccountFlags {
9407
9363
  // 4
9408
9364
  ACCOUNT_TRANSFER_AUTHORITY_ALLOWED = 8,
9409
9365
  }
9410
- //# sourceMappingURL=account.types.d.ts.map
9411
9366
  //#endregion
9412
9367
  //#region src/services/account/types/dto-account.types.d.ts
9413
9368
  interface BalanceTypeDto {
@@ -9439,7 +9394,6 @@ interface LendrAccountTypeDto {
9439
9394
  emissionsDestinationAccount: string;
9440
9395
  healthCache: HealthCacheTypeDto;
9441
9396
  }
9442
- //# sourceMappingURL=dto-account.types.d.ts.map
9443
9397
  //#endregion
9444
9398
  //#region src/services/account/types/raw-account.types.d.ts
9445
9399
  interface BalanceRaw {
@@ -9484,7 +9438,6 @@ type LendrRequirementTypeRaw = {
9484
9438
  } | {
9485
9439
  equity: {};
9486
9440
  };
9487
- //# sourceMappingURL=raw-account.types.d.ts.map
9488
9441
  //#endregion
9489
9442
  //#region src/services/account/account.service.d.ts
9490
9443
  /**
@@ -9545,7 +9498,6 @@ declare function getActiveStaleBanks(balances: Balance[], banks: BankMap, additi
9545
9498
  oracleKey: PublicKey;
9546
9499
  }[];
9547
9500
  };
9548
- //# sourceMappingURL=account.service.d.ts.map
9549
9501
  //#endregion
9550
9502
  //#region src/services/account/utils/compute.utils.d.ts
9551
9503
  /**
@@ -9596,7 +9548,6 @@ declare function computeClaimedEmissions(balance: BalanceType, bank: BankType, c
9596
9548
  declare function computeTotalOutstandingEmissions(balance: BalanceType, bank: BankType): BigNumber;
9597
9549
  declare function computeHealthCheckAccounts(balances: BalanceType[], banks: Map<string, BankType>, mandatoryBanks?: PublicKey[], excludedBanks?: PublicKey[]): BankType[];
9598
9550
  declare function computeHealthAccountMetas(banksToInclude: BankType[], bankMetadataMap?: BankMetadataMap, enableSorting?: boolean, bankExtendedMetadata?: BankExtendedMetadata): PublicKey[];
9599
- //# sourceMappingURL=compute.utils.d.ts.map
9600
9551
  //#endregion
9601
9552
  //#region src/services/account/utils/deserialize.utils.d.ts
9602
9553
  declare function decodeAccountRaw(encoded: Buffer, idl: LendrIdlType): LendrAccountRaw;
@@ -9638,13 +9589,10 @@ declare function getHealthCacheStatusDescription(flags: number): string;
9638
9589
  declare function dtoToLendrAccount(lendrAccountDto: LendrAccountTypeDto): LendrAccountType;
9639
9590
  declare function dtoToBalance(balanceDto: BalanceTypeDto): BalanceType;
9640
9591
  declare function dtoToHealthCache(healthCacheDto: HealthCacheTypeDto): HealthCacheType;
9641
- //# sourceMappingURL=deserialize.utils.d.ts.map
9642
9592
  //#endregion
9643
9593
  //#region src/services/account/utils/emode.utils.d.ts
9644
9594
  declare function computeEmodeImpacts(emodePairs: EmodePair[], activeLiabilities: PublicKey[], activeCollateral: PublicKey[], allBanks: PublicKey[]): Record<string, ActionEmodeImpact>;
9645
9595
  declare function computeActiveEmodePairs(emodePairs: EmodePair[], activeLiabilities: PublicKey[], activeCollateral: PublicKey[]): EmodePair[];
9646
- //# sourceMappingURL=emode.utils.d.ts.map
9647
-
9648
9596
  //#endregion
9649
9597
  //#region src/services/account/utils/fetch.utils.d.ts
9650
9598
  declare const fetchLendrAccountAddresses: (program: LendrProgram, authority: PublicKey, group: PublicKey) => Promise<PublicKey[]>;
@@ -9652,7 +9600,6 @@ declare const fetchLendrAccountData: (program: LendrProgram, lendrAccountPk: Pub
9652
9600
  lendrAccount: LendrAccountType;
9653
9601
  error?: HealthCacheSimulationError;
9654
9602
  }>;
9655
- //# sourceMappingURL=fetch.utils.d.ts.map
9656
9603
  //#endregion
9657
9604
  //#region src/services/account/utils/serialize.utils.d.ts
9658
9605
  /**
@@ -9662,7 +9609,6 @@ declare function accountFlagToBN(flag: AccountFlags): BN$2;
9662
9609
  declare function lendrAccountToDto(lendrAccount: LendrAccountType): LendrAccountTypeDto;
9663
9610
  declare function balanceToDto(balance: BalanceType): BalanceTypeDto;
9664
9611
  declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto;
9665
- //# sourceMappingURL=serialize.utils.d.ts.map
9666
9612
  //#endregion
9667
9613
  //#region src/services/group/group.service.d.ts
9668
9614
  declare function makeEnableFlashLoanForAccountIx(program: LendrProgram, lendrAccountAddress: PublicKey): Promise<InstructionsWrapper>;
@@ -9675,7 +9621,6 @@ declare function makePoolAddBankIx(program: LendrProgram, group: PublicKey, bank
9675
9621
  admin?: PublicKey;
9676
9622
  globalFeeWallet?: PublicKey;
9677
9623
  }): Promise<InstructionsWrapper>;
9678
- //# sourceMappingURL=group.service.d.ts.map
9679
9624
  //#endregion
9680
9625
  //#region src/services/group/types/group.types.d.ts
9681
9626
  type LendrGroupType = {
@@ -9686,7 +9631,6 @@ type LendrGroupTypeDto = {
9686
9631
  admin: string;
9687
9632
  address: string;
9688
9633
  };
9689
- //# sourceMappingURL=group.types.d.ts.map
9690
9634
  //#endregion
9691
9635
  //#region src/services/group/types/raw-group.types.d.ts
9692
9636
  interface LendrGroupRaw {
@@ -9697,11 +9641,9 @@ interface LendrGroupRaw {
9697
9641
  //#endregion
9698
9642
  //#region src/services/group/utils/deserialize.utils.d.ts
9699
9643
  declare function dtoToGroup(groupDto: LendrGroupTypeDto): LendrGroupType;
9700
- //# sourceMappingURL=deserialize.utils.d.ts.map
9701
9644
  //#endregion
9702
9645
  //#region src/services/group/utils/serialize.utils.d.ts
9703
9646
  declare function groupToDto(group: LendrGroupType): LendrGroupTypeDto;
9704
- //# sourceMappingURL=serialize.utils.d.ts.map
9705
9647
  //#endregion
9706
9648
  //#region src/services/metadata.d.ts
9707
9649
  declare const metadataSchema: z$1.ZodMiniObject<{
@@ -9731,7 +9673,6 @@ declare class MetadataService {
9731
9673
  }>;
9732
9674
  private fetchMetadata;
9733
9675
  }
9734
- //# sourceMappingURL=metadata.d.ts.map
9735
9676
  //#endregion
9736
9677
  //#region src/services/native-stake/types/stake.types.d.ts
9737
9678
  type ValidatorStakeGroup = {
@@ -9796,12 +9737,9 @@ type ValidatorRateData = {
9796
9737
  stakingApy: number;
9797
9738
  };
9798
9739
  type ActiveStakePoolMap = Map<string, boolean>;
9799
- //# sourceMappingURL=stake.types.d.ts.map
9800
9740
  //#endregion
9801
9741
  //#region src/services/native-stake/utils/deserialize.utils.d.ts
9802
9742
  declare function dtoToValidatorStakeGroup(validatorStakeGroupDto: ValidatorStakeGroupDto): ValidatorStakeGroup;
9803
- //# sourceMappingURL=deserialize.utils.d.ts.map
9804
-
9805
9743
  //#endregion
9806
9744
  //#region src/services/native-stake/utils/fetch.utils.d.ts
9807
9745
  /**
@@ -9833,11 +9771,9 @@ declare const fetchStakePoolActiveStates: (connection: Connection, validatorVote
9833
9771
  */
9834
9772
  declare const fetchStakeAccount: (data: Buffer) => StakeAccount;
9835
9773
  declare const fetchStakePoolMev: (connection: Connection, validatorVoteAccounts: PublicKey[]) => Promise<StakePoolMevMap>;
9836
- //# sourceMappingURL=fetch.utils.d.ts.map
9837
9774
  //#endregion
9838
9775
  //#region src/services/native-stake/utils/serialize.utils.d.ts
9839
9776
  declare function validatorStakeGroupToDto(validatorStakeGroup: ValidatorStakeGroup): ValidatorStakeGroupDto;
9840
- //# sourceMappingURL=serialize.utils.d.ts.map
9841
9777
  //#endregion
9842
9778
  //#region src/services/transaction/helpers/bundle-sending.d.ts
9843
9779
  declare class SendBundleError extends Error {
@@ -9847,7 +9783,6 @@ declare class SendBundleError extends Error {
9847
9783
  declare function sendTransactionAsGrpcBundle(connection: Connection, base58Txs: string[], throwError?: boolean): Promise<string | undefined>;
9848
9784
  declare function sendTransactionAsBundle(connection: Connection, base58Txs: string[], throwError?: boolean, tempBundleId?: string): Promise<string | undefined>;
9849
9785
  declare function confirmBundle(connection: Connection, bundleId: string, commitment?: Commitment): Promise<string>;
9850
- //# sourceMappingURL=bundle-sending.d.ts.map
9851
9786
  //#endregion
9852
9787
  //#region src/services/transaction/helpers/bundle-simulation.d.ts
9853
9788
  declare class BundleSimulationError extends Error {
@@ -9867,7 +9802,6 @@ interface RpcSimulateBundleTransactionResult {
9867
9802
  returnData?: any;
9868
9803
  }
9869
9804
  declare function simulateBundle(rpcEndpoint: string, transactions: VersionedTransaction[], includeAccounts?: Array<PublicKey>): Promise<RpcSimulateBundleTransactionResult[]>;
9870
- //# sourceMappingURL=bundle-simulation.d.ts.map
9871
9805
  //#endregion
9872
9806
  //#region src/services/transaction/helpers/rpc-sending.d.ts
9873
9807
  type SendTransactionAsRpcProps = {
@@ -10055,8 +9989,6 @@ interface BankMetadata {
10055
9989
  type BankMetadataMap = {
10056
9990
  [address: string]: BankMetadata;
10057
9991
  };
10058
- //# sourceMappingURL=bank-metadata.d.ts.map
10059
-
10060
9992
  //#endregion
10061
9993
  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, GROUP_PK, HOURS_PER_YEAR, HealthCache, HealthCacheFlags, HealthCacheRaw, HealthCacheSimulationError, HealthCacheType, HealthCacheTypeDto, 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, MintData, MintDataMap, NodeWallet, OperationalState, type OperationalStateRaw, OracleConfigOpt, type OracleConfigOptRaw, OraclePrice, OraclePriceDto, OraclePriceMap, OracleSetup, type OracleSetupRaw, PDA_BANK_FEE_VAULT_AUTH_SEED, PDA_BANK_FEE_VAULT_SEED, PDA_BANK_INSURANCE_VAULT_AUTH_SEED, PDA_BANK_INSURANCE_VAULT_SEED, PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED, PDA_BANK_LIQUIDITY_VAULT_SEED, PRIORITY_TX_SIZE$1 as PRIORITY_TX_SIZE, PROGRAM_ID, PYTH_PRICE_CONF_INTERVALS, PYTH_PUSH_ORACLE_ID, PYTH_SPONSORED_SHARD_ID, PriceBias, PriceWithConfidence, PriceWithConfidenceDto, PriorityFees, PriotitizationFeeLevels, ProcessTransactionError, ProcessTransactionErrorType, ProcessTransactionOpts, ProcessTransactionStrategy, ProcessTransactionsClientOpts, Program$1 as Program, ProgramError, ProgramErrorWithDescription, ProgramReadonly, PythPushFeedIdMap, RepayWithCollateralProps, RepayWithCollateralTxProps, RiskTier, type RiskTierRaw, SINGLE_POOL_PROGRAM_ID, SKIP_SIMULATION, STAKE_CONFIG_ID$1 as STAKE_CONFIG_ID, STAKE_PROGRAM_ID, SWB_PRICE_CONF_INTERVALS, SYSTEM_PROGRAM_ID, SYSVAR_CLOCK_ID, SYSVAR_RENT_ID, SYSVAR_STAKE_HISTORY_ID, SimulationResult, SolanaTransaction, SpecificBroadcastMethod, SpecificBroadcastMethodType, StakeAccount, StakePoolMevMap, TLogger, TMetadata, TRANSFER_ACCOUNT_AUTHORITY_FLAG, TransactionArenaKeyMap, TransactionBroadcastType, TransactionBuilderResult, TransactionConfigMap, TransactionOptions, TransactionPriorityType, TransactionSettings, TransactionType, USDC_DECIMALS, USDC_MINT, ValidatorRateData, ValidatorStakeGroup, ValidatorStakeGroupDto, WSOL_EXTENDED_METADATA, WSOL_MINT, Wallet, WalletToken, WrappedI80F48, accountFlagToBN, addOracleToBanksIx, addTransactionMetadata, aprToApy, apyToApr, balanceToDto, bankConfigRawToDto, bankExtendedMetadataOverrideSchema, bankRawToDto, bigNumberToWrappedI80F48, bpsToPercentile, buildFeedIdMap, calculateApyFromInterest, calculateInterestFromApy, ceil, chunkedGetRawMultipleAccountInfoOrdered, chunkedGetRawMultipleAccountInfoOrderedWithNulls, chunkedGetRawMultipleAccountInfos, chunks, clampedNumeralFormatter, compareInstructions, composeRemainingAccounts, computeAccountValue, computeActiveEmodePairs, computeAssetUsdValue, computeBalanceUsdValue, computeBaseInterestRate, computeClaimedEmissions, computeEmodeImpacts, computeFreeCollateral, computeFreeCollateralLegacy, computeHealthAccountMetas, computeHealthCheckAccounts, computeHealthComponents, computeHealthComponentsLegacy, computeHealthComponentsWithoutBiasLegacy, computeInterestRates, computeLiabilityUsdValue, computeLoopingParams, computeMaxLeverage, computeNetApy, computeQuantity, computeQuantityUi, computeRemainingCapacity, computeTotalOutstandingEmissions, computeTvl, computeUsdValue, computeUtilizationRate, confirmTransaction, crankPythOracleIx, createLendrAccountTx, createUpdateFeedIx, decodeAccountRaw, decodeBankRaw, decodeComputeBudgetInstruction, decodeInstruction, decompileV0Transaction, dtoToBalance, dtoToBank, dtoToBankConfig, dtoToBankConfigRaw, dtoToBankRaw, dtoToEmodeSettings, dtoToEmodeSettingsRaw, dtoToGroup, dtoToHealthCache, dtoToInterestRateConfig, dtoToLendrAccount, dtoToOraclePrice, dtoToValidatorStakeGroup, dynamicNumeralFormatter, emodeSettingsRawToDto, feedIdToString, fetchBanksExtendedMetadata, fetchLendrAccountAddresses, fetchLendrAccountData, fetchMultipleBanks, fetchNativeStakeAccounts, fetchOracleData, fetchPythOracleData, fetchStakeAccount, fetchStakePoolActiveStates, fetchStakePoolMev, fetchSwbOracleData, findOracleKey, findPythPushOracleAddress, floor, freezeBankConfigIx, getAccountKeys, getActiveAccountFlags, getActiveEmodeEntryFlags, getActiveEmodeFlags, getActiveHealthCacheFlags, getActiveStaleBanks, getAssetQuantity, getAssetShares, getAssetWeight, getBalanceUsdValueWithPriceBias, getBankVaultAuthority, getBankVaultSeeds, getCalculatedPrioritizationFeeByPercentile, getComputeBudgetUnits, getConfig, getConfigPda, getHealthCacheStatusDescription, getLiabilityQuantity, getLiabilityShares, getLiabilityWeight, getMaxPrioritizationFeeByPercentile, getMeanPrioritizationFeeByPercentile, getMedianPrioritizationFeeByPercentile, getMinPrioritizationFeeByPercentile, getPrice, getPriceFeedAccountForProgram, getPriceWithConfidence, getRecentPrioritizationFeesByPercentile, getTotalAssetQuantity, getTotalLiabilityQuantity, getTreasuryPda, getTxSize, getValueInsensitive, groupToDto, groupedNumberFormatter, groupedNumberFormatterDyn, hasAccountFlag, hasEmodeEntryFlag, hasEmodeFlag, hasHealthCacheFlag, healthCacheToDto, index_d_exports, 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 };
10062
- //# sourceMappingURL=index-DUhjh5_z.d.mts.map
9994
+ //# sourceMappingURL=index-CjdbT6Xw.d.mts.map