@pyron-finance/pyron-client 2.3.2 → 2.4.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/chunk-DcLnE9XY.js +37 -0
- package/dist/common/index-BpWkZ1Nx.d.ts +2 -0
- package/dist/common/index-xxv-RunA.d.cts +2 -0
- package/dist/common/index.cjs +1 -1
- package/dist/common/index.js +1 -1
- package/dist/{common-C1TNbOrw.cjs → common-DBVYOab7.cjs} +95 -83
- package/dist/{common-BDgJX75H.js → common-IgVl6MYx.js} +17 -17
- package/dist/common-IgVl6MYx.js.map +1 -0
- package/dist/index-3HKqH7ts.d.ts +2 -0
- package/dist/{index-B80wOp3i.d.cts → index-CHNXrVY7.d.cts} +6 -78
- package/dist/index-CHNXrVY7.d.cts.map +1 -0
- package/dist/{index-B6qFming.d.ts → index-Csp-53bZ.d.ts} +7 -78
- package/dist/index-Csp-53bZ.d.ts.map +1 -0
- package/dist/index-CtKD0Hol.d.cts +2 -0
- package/dist/index.cjs +15645 -15653
- package/dist/index.js +15368 -15384
- package/dist/index.js.map +1 -1
- package/package.json +28 -28
- package/dist/chunk-BaU5PcSi.js +0 -28
- package/dist/common/index.d.cts +0 -2
- package/dist/common/index.d.ts +0 -2
- package/dist/common-BDgJX75H.js.map +0 -1
- package/dist/index-B6qFming.d.ts.map +0 -1
- package/dist/index-B80wOp3i.d.cts.map +0 -1
- package/dist/index.d.cts +0 -2
- package/dist/index.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as __exportAll } from "./chunk-DcLnE9XY.js";
|
|
1
2
|
import * as anchor from "@coral-xyz/anchor";
|
|
2
3
|
import { Address, AnchorProvider, BorshCoder, Idl, Instruction, Program, Provider } from "@coral-xyz/anchor";
|
|
3
4
|
import * as _solana_web3_js24 from "@solana/web3.js";
|
|
@@ -41,7 +42,6 @@ type WalletToken = {
|
|
|
41
42
|
ata: PublicKey;
|
|
42
43
|
mintDecimals: number;
|
|
43
44
|
};
|
|
44
|
-
//# sourceMappingURL=types.d.ts.map
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/common/nodeWallet.d.ts
|
|
47
47
|
/**
|
|
@@ -59,7 +59,6 @@ declare class NodeWallet implements Wallet {
|
|
|
59
59
|
signAllTransactions<T extends Transaction | VersionedTransaction>(txs: T[]): Promise<T[]>;
|
|
60
60
|
get publicKey(): PublicKey;
|
|
61
61
|
}
|
|
62
|
-
//# sourceMappingURL=nodeWallet.d.ts.map
|
|
63
62
|
//#endregion
|
|
64
63
|
//#region src/common/math.d.ts
|
|
65
64
|
declare function floor(value: number, decimals: number): number;
|
|
@@ -77,7 +76,6 @@ declare function setTimeoutPromise(duration: number, message: string): Promise<E
|
|
|
77
76
|
declare function chunkedGetRawMultipleAccountInfos(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<[number, Map<string, AccountInfo<Buffer>>]>;
|
|
78
77
|
declare function chunkedGetRawMultipleAccountInfoOrderedWithNulls(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<Array<AccountInfo<Buffer> | null>>;
|
|
79
78
|
declare function chunkedGetRawMultipleAccountInfoOrdered(connection: Connection, pks: string[], batchChunkSize?: number, maxAccountsChunkSize?: number): Promise<Array<AccountInfo<Buffer>>>;
|
|
80
|
-
//# sourceMappingURL=misc.d.ts.map
|
|
81
79
|
//#endregion
|
|
82
80
|
//#region src/common/modules/transactions/transaction.types.d.ts
|
|
83
81
|
declare enum TransactionType {
|
|
@@ -393,7 +391,6 @@ declare function bpsToPercentile(bps: number): number;
|
|
|
393
391
|
* composition
|
|
394
392
|
*/
|
|
395
393
|
declare const composeRemainingAccounts: (banksAndOracles: PublicKey[][]) => PublicKey[];
|
|
396
|
-
//# sourceMappingURL=conversion.utils.d.ts.map
|
|
397
394
|
//#endregion
|
|
398
395
|
//#region src/common/utils/formatters.utils.d.ts
|
|
399
396
|
declare class CustomNumberFormat extends Intl.NumberFormat {
|
|
@@ -431,7 +428,6 @@ type EstablishedSessionState = {
|
|
|
431
428
|
variation?: string;
|
|
432
429
|
}) => Promise<TransactionResult>;
|
|
433
430
|
};
|
|
434
|
-
//# sourceMappingURL=session.d.ts.map
|
|
435
431
|
//#endregion
|
|
436
432
|
//#region src/idl/lendr_0.1.6.d.ts
|
|
437
433
|
/**
|
|
@@ -6994,12 +6990,10 @@ type Lendr = {
|
|
|
6994
6990
|
};
|
|
6995
6991
|
}];
|
|
6996
6992
|
};
|
|
6997
|
-
//# sourceMappingURL=lendr_0.1.6.d.ts.map
|
|
6998
6993
|
//#endregion
|
|
6999
6994
|
//#region src/idl/index.d.ts
|
|
7000
6995
|
declare const LENDR_IDL: LendrIdlType;
|
|
7001
6996
|
type LendrIdlType = Lendr;
|
|
7002
|
-
//# sourceMappingURL=index.d.ts.map
|
|
7003
6997
|
//#endregion
|
|
7004
6998
|
//#region src/types.d.ts
|
|
7005
6999
|
type LendrProgram = Program$1<LendrIdlType>;
|
|
@@ -7025,7 +7019,7 @@ interface BankAddress {
|
|
|
7025
7019
|
label: string;
|
|
7026
7020
|
address: PublicKey;
|
|
7027
7021
|
}
|
|
7028
|
-
declare enum AccountType {
|
|
7022
|
+
declare enum AccountType$1 {
|
|
7029
7023
|
LendrGroup = "lendrGroup",
|
|
7030
7024
|
LendrAccount = "lendrAccount",
|
|
7031
7025
|
Bank = "bank",
|
|
@@ -7054,7 +7048,6 @@ type LendingAccountWithdrawOrBorrowWithSessionAccounts = {
|
|
|
7054
7048
|
tokenProgram: PublicKey;
|
|
7055
7049
|
group?: PublicKey;
|
|
7056
7050
|
};
|
|
7057
|
-
//# sourceMappingURL=types.d.ts.map
|
|
7058
7051
|
//#endregion
|
|
7059
7052
|
//#region src/vendor/pyth_crank/idl/pyth_push_oracle.d.ts
|
|
7060
7053
|
/**
|
|
@@ -7153,7 +7146,6 @@ type PythPushOracle = {
|
|
|
7153
7146
|
}];
|
|
7154
7147
|
};
|
|
7155
7148
|
declare const PYTH_PUSH_ORACLE_IDL: PythPushOracle;
|
|
7156
|
-
//# sourceMappingURL=pyth_push_oracle.d.ts.map
|
|
7157
7149
|
//#endregion
|
|
7158
7150
|
//#region src/vendor/pyth_crank/idl/pyth_wormhole.d.ts
|
|
7159
7151
|
/**
|
|
@@ -8280,7 +8272,6 @@ type WormholeCoreBridgeSolana = {
|
|
|
8280
8272
|
}];
|
|
8281
8273
|
};
|
|
8282
8274
|
declare const PYTH_WORMHOLE_IDL: WormholeCoreBridgeSolana;
|
|
8283
|
-
//# sourceMappingURL=pyth_wormhole.d.ts.map
|
|
8284
8275
|
//#endregion
|
|
8285
8276
|
//#region src/vendor/pyth_crank/idl/receiver_program.d.ts
|
|
8286
8277
|
/**
|
|
@@ -8874,7 +8865,6 @@ type PythSolanaReceiver = {
|
|
|
8874
8865
|
}];
|
|
8875
8866
|
};
|
|
8876
8867
|
declare const PYTH_SOLANA_RECEIVER_PROGRAM_IDL: PythSolanaReceiver;
|
|
8877
|
-
//# sourceMappingURL=receiver_program.d.ts.map
|
|
8878
8868
|
//#endregion
|
|
8879
8869
|
//#region src/vendor/pyth_crank/pyth.consts.d.ts
|
|
8880
8870
|
declare const DEFAULT_RECEIVER_PROGRAM_ID: PublicKey;
|
|
@@ -8920,7 +8910,6 @@ declare const WRITE_ENCODED_VAA_COMPUTE_BUDGET = 3000;
|
|
|
8920
8910
|
declare const CLOSE_ENCODED_VAA_COMPUTE_BUDGET = 30000;
|
|
8921
8911
|
declare const VAA_SPLIT_INDEX = 721;
|
|
8922
8912
|
declare const VAA_START = 46;
|
|
8923
|
-
//# sourceMappingURL=pyth.consts.d.ts.map
|
|
8924
8913
|
//#endregion
|
|
8925
8914
|
//#region src/vendor/pyth_crank/pyth.utils.d.ts
|
|
8926
8915
|
declare function getGuardianSetIndex(vaa: Buffer): number;
|
|
@@ -8973,7 +8962,6 @@ type PriceFeedMessage = {
|
|
|
8973
8962
|
emaConf: BN$1;
|
|
8974
8963
|
};
|
|
8975
8964
|
declare function parsePriceFeedMessage(message: Buffer): PriceFeedMessage;
|
|
8976
|
-
//# sourceMappingURL=pyth.utils.d.ts.map
|
|
8977
8965
|
//#endregion
|
|
8978
8966
|
//#region src/services/bank/types/bank.types.d.ts
|
|
8979
8967
|
declare enum RiskTier {
|
|
@@ -9192,7 +9180,6 @@ interface ActionEmodeImpact {
|
|
|
9192
9180
|
repayAllImpact?: EmodeImpact;
|
|
9193
9181
|
withdrawAllImpact?: EmodeImpact;
|
|
9194
9182
|
}
|
|
9195
|
-
//# sourceMappingURL=bank.types.d.ts.map
|
|
9196
9183
|
//#endregion
|
|
9197
9184
|
//#region src/services/bank/types/raw-bank.types.d.ts
|
|
9198
9185
|
interface BankRaw {
|
|
@@ -9593,7 +9580,6 @@ interface OraclePriceDto {
|
|
|
9593
9580
|
timestamp: string;
|
|
9594
9581
|
pythShardId?: number;
|
|
9595
9582
|
}
|
|
9596
|
-
//# sourceMappingURL=price.types.d.ts.map
|
|
9597
9583
|
//#endregion
|
|
9598
9584
|
//#region src/instructions.d.ts
|
|
9599
9585
|
declare function makeInitLendrAccountIx(ldProgram: LendrProgram, accounts: {
|
|
@@ -9854,7 +9840,6 @@ declare function getConfig({
|
|
|
9854
9840
|
environment?: Environment;
|
|
9855
9841
|
overrides?: Partial<Omit<LendrConfig, "environment">>;
|
|
9856
9842
|
}): LendrConfig;
|
|
9857
|
-
//# sourceMappingURL=config.d.ts.map
|
|
9858
9843
|
//#endregion
|
|
9859
9844
|
//#region src/constants/bank.d.ts
|
|
9860
9845
|
declare const PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED: Buffer<ArrayBuffer>;
|
|
@@ -9863,7 +9848,6 @@ declare const PDA_BANK_FEE_VAULT_AUTH_SEED: Buffer<ArrayBuffer>;
|
|
|
9863
9848
|
declare const PDA_BANK_LIQUIDITY_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
9864
9849
|
declare const PDA_BANK_INSURANCE_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
9865
9850
|
declare const PDA_BANK_FEE_VAULT_SEED: Buffer<ArrayBuffer>;
|
|
9866
|
-
//# sourceMappingURL=bank.d.ts.map
|
|
9867
9851
|
//#endregion
|
|
9868
9852
|
//#region src/constants/defaults.d.ts
|
|
9869
9853
|
declare const DEFAULT_COMMITMENT: Commitment;
|
|
@@ -9875,13 +9859,11 @@ declare const BUNDLE_TX_SIZE$1 = 81;
|
|
|
9875
9859
|
declare const PRIORITY_TX_SIZE$1 = 44;
|
|
9876
9860
|
declare const SKIP_SIMULATION = false;
|
|
9877
9861
|
declare const DEFAULT_ORACLE_MAX_AGE = 60;
|
|
9878
|
-
//# sourceMappingURL=defaults.d.ts.map
|
|
9879
9862
|
//#endregion
|
|
9880
9863
|
//#region src/constants/flags.d.ts
|
|
9881
9864
|
declare const DISABLED_FLAG: number;
|
|
9882
9865
|
declare const FLASHLOAN_ENABLED_FLAG: number;
|
|
9883
9866
|
declare const TRANSFER_ACCOUNT_AUTHORITY_FLAG: number;
|
|
9884
|
-
//# sourceMappingURL=flags.d.ts.map
|
|
9885
9867
|
//#endregion
|
|
9886
9868
|
//#region src/constants/misc.d.ts
|
|
9887
9869
|
declare const HOURS_PER_YEAR: number;
|
|
@@ -9893,7 +9875,6 @@ declare const PYTH_PUSH_ORACLE_ID: PublicKey;
|
|
|
9893
9875
|
declare const GROUP_PK: PublicKey;
|
|
9894
9876
|
declare const PROGRAM_ID: PublicKey;
|
|
9895
9877
|
declare const DEFAULT_CLUSTER: string;
|
|
9896
|
-
//# sourceMappingURL=misc.d.ts.map
|
|
9897
9878
|
//#endregion
|
|
9898
9879
|
//#region src/constants/programs.d.ts
|
|
9899
9880
|
declare const LUT_PROGRAM_AUTHORITY_INDEX = 5;
|
|
@@ -9907,7 +9888,6 @@ declare const SYSVAR_RENT_ID: PublicKey;
|
|
|
9907
9888
|
declare const SYSVAR_CLOCK_ID: PublicKey;
|
|
9908
9889
|
declare const SYSVAR_STAKE_HISTORY_ID: PublicKey;
|
|
9909
9890
|
declare const STAKE_CONFIG_ID$1: PublicKey;
|
|
9910
|
-
//# sourceMappingURL=programs.d.ts.map
|
|
9911
9891
|
//#endregion
|
|
9912
9892
|
//#region src/constants/tokens.d.ts
|
|
9913
9893
|
declare const WSOL_MINT: PublicKey;
|
|
@@ -9916,7 +9896,6 @@ declare const LST_MINT: PublicKey;
|
|
|
9916
9896
|
declare const USDC_MINT: PublicKey;
|
|
9917
9897
|
declare const DUMMY_USDC_MINT: PublicKey;
|
|
9918
9898
|
declare const USDC_DECIMALS = 6;
|
|
9919
|
-
//# sourceMappingURL=tokens.d.ts.map
|
|
9920
9899
|
//#endregion
|
|
9921
9900
|
//#region src/errors.d.ts
|
|
9922
9901
|
declare enum ProcessTransactionErrorType {
|
|
@@ -9966,7 +9945,6 @@ declare function parseTransactionError(error: any, ldrProgramId: PublicKey): {
|
|
|
9966
9945
|
code: any;
|
|
9967
9946
|
};
|
|
9968
9947
|
declare function parseErrorFromLogs(logs: string[], ldrProgramId: PublicKey): ProgramErrorWithDescription | null;
|
|
9969
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
9970
9948
|
//#endregion
|
|
9971
9949
|
//#region src/utils.d.ts
|
|
9972
9950
|
declare function getBankVaultSeeds(type: BankVaultType): Buffer;
|
|
@@ -9999,7 +9977,6 @@ declare function findOracleKey(bankConfig: BankConfig, feedIdMap?: PythPushFeedI
|
|
|
9999
9977
|
declare const PYTH_SPONSORED_SHARD_ID = 0;
|
|
10000
9978
|
declare const LENDR_SPONSORED_SHARD_ID = 3301;
|
|
10001
9979
|
declare function findPythPushOracleAddress(feedId: Buffer, programId: PublicKey, shardId: number): PublicKey;
|
|
10002
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
10003
9980
|
//#endregion
|
|
10004
9981
|
//#region src/models/emode-settings.d.ts
|
|
10005
9982
|
declare class EmodeSettings implements EmodeSettingsType {
|
|
@@ -10010,7 +9987,6 @@ declare class EmodeSettings implements EmodeSettingsType {
|
|
|
10010
9987
|
constructor(emodeTag: EmodeTag, timestamp: number, flags: EmodeFlags[], emodeEntries: EmodeEntry[]);
|
|
10011
9988
|
static from(emodeSettingsRaw: EmodeSettingsRaw): EmodeSettings;
|
|
10012
9989
|
}
|
|
10013
|
-
//# sourceMappingURL=emode-settings.d.ts.map
|
|
10014
9990
|
//#endregion
|
|
10015
9991
|
//#region src/models/bank.d.ts
|
|
10016
9992
|
declare class Bank implements BankType {
|
|
@@ -10137,7 +10113,6 @@ declare class HealthCache implements HealthCacheType {
|
|
|
10137
10113
|
constructor(assetValue: BigNumber, liabilityValue: BigNumber, assetValueMaint: BigNumber, liabilityValueMaint: BigNumber, assetValueEquity: BigNumber, liabilityValueEquity: BigNumber, timestamp: BigNumber, flags: HealthCacheFlags[], prices: number[][], simulationFailed?: boolean | undefined);
|
|
10138
10114
|
static from(healthCacheRaw: HealthCacheRaw): HealthCache;
|
|
10139
10115
|
}
|
|
10140
|
-
//# sourceMappingURL=health-cache.d.ts.map
|
|
10141
10116
|
//#endregion
|
|
10142
10117
|
//#region src/vendor/pyth_legacy/index.d.ts
|
|
10143
10118
|
/** Number of slots that can pass before a publisher's price is no longer included in the aggregate. */
|
|
@@ -10192,10 +10167,10 @@ interface PriceData extends Base {
|
|
|
10192
10167
|
interface Base {
|
|
10193
10168
|
magic: number;
|
|
10194
10169
|
version: number;
|
|
10195
|
-
type: AccountType
|
|
10170
|
+
type: AccountType;
|
|
10196
10171
|
size: number;
|
|
10197
10172
|
}
|
|
10198
|
-
declare enum AccountType
|
|
10173
|
+
declare enum AccountType {
|
|
10199
10174
|
Unknown = 0,
|
|
10200
10175
|
Mapping = 1,
|
|
10201
10176
|
Product = 2,
|
|
@@ -10223,7 +10198,6 @@ interface PriceComponent {
|
|
|
10223
10198
|
latest: Price;
|
|
10224
10199
|
}
|
|
10225
10200
|
declare const parsePriceData: (data: Buffer, currentSlot?: number) => PriceData;
|
|
10226
|
-
//# sourceMappingURL=index.d.ts.map
|
|
10227
10201
|
//#endregion
|
|
10228
10202
|
//#region src/vendor/pyth_push_oracle/index.d.ts
|
|
10229
10203
|
type PriceUpdateV2 = {
|
|
@@ -10278,7 +10252,6 @@ type StakeAccount$1 = {
|
|
|
10278
10252
|
* Copied from https://github.com/solana-developers/solana-rpc-get-stake-activation/blob/main/web3js-1.0/src/stake.ts
|
|
10279
10253
|
* */
|
|
10280
10254
|
declare const getStakeAccount: (data: Buffer) => StakeAccount$1;
|
|
10281
|
-
//# sourceMappingURL=index.d.ts.map
|
|
10282
10255
|
//#endregion
|
|
10283
10256
|
//#region src/vendor/single-spl-pool/index.d.ts
|
|
10284
10257
|
declare const SinglePoolInstruction: {
|
|
@@ -10316,7 +10289,6 @@ declare class Account {
|
|
|
10316
10289
|
constructor(program: any, publicKey: anchor.web3.PublicKey);
|
|
10317
10290
|
}
|
|
10318
10291
|
declare const BUFFER_DISCRIMINATOR: Buffer<ArrayBuffer>;
|
|
10319
|
-
//# sourceMappingURL=account.d.ts.map
|
|
10320
10292
|
//#endregion
|
|
10321
10293
|
//#region src/vendor/switchboard_legacy/aggregatorAccount.d.ts
|
|
10322
10294
|
declare class AggregatorAccount extends Account {
|
|
@@ -10329,7 +10301,6 @@ declare class AggregatorAccount extends Account {
|
|
|
10329
10301
|
};
|
|
10330
10302
|
}): any;
|
|
10331
10303
|
}
|
|
10332
|
-
//# sourceMappingURL=aggregatorAccount.d.ts.map
|
|
10333
10304
|
//#endregion
|
|
10334
10305
|
//#region src/vendor/switchboard_legacy/aggregatorAccountData.d.ts
|
|
10335
10306
|
declare class AggregatorAccountData {
|
|
@@ -10410,7 +10381,6 @@ declare class AggregatorAccountData {
|
|
|
10410
10381
|
constructor(fields: any);
|
|
10411
10382
|
static decode(data: any): AggregatorAccountData;
|
|
10412
10383
|
}
|
|
10413
|
-
//# sourceMappingURL=aggregatorAccountData.d.ts.map
|
|
10414
10384
|
//#endregion
|
|
10415
10385
|
//#region src/vendor/switchboard_pull/index.d.ts
|
|
10416
10386
|
declare const SWITCHBOARD_ONDEMANDE_PRICE_PRECISION = 18;
|
|
@@ -10455,10 +10425,6 @@ interface FeedResponse {
|
|
|
10455
10425
|
declare const switchboardAccountCoder: BorshCoder<string, string>;
|
|
10456
10426
|
declare function getSwitchboardProgram(provider: Provider): Program;
|
|
10457
10427
|
declare function decodeSwitchboardPullFeedData(data: Buffer): PullFeedAccountData;
|
|
10458
|
-
//# sourceMappingURL=index.d.ts.map
|
|
10459
|
-
declare namespace index_d_exports$2 {
|
|
10460
|
-
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 };
|
|
10461
|
-
}
|
|
10462
10428
|
//#endregion
|
|
10463
10429
|
//#region src/models/balance.d.ts
|
|
10464
10430
|
declare class Balance implements BalanceType {
|
|
@@ -10836,7 +10802,6 @@ interface FlashloanActionResult extends TransactionBuilderResult {
|
|
|
10836
10802
|
/** Whether transaction size exceeds limits */
|
|
10837
10803
|
txOverflown: boolean;
|
|
10838
10804
|
}
|
|
10839
|
-
//# sourceMappingURL=types.d.ts.map
|
|
10840
10805
|
//#endregion
|
|
10841
10806
|
//#region src/models/account/wrapper.d.ts
|
|
10842
10807
|
interface SimulationResult {
|
|
@@ -11448,8 +11413,6 @@ declare function parseOraclePriceData(oracleSetup: SupportedOracleSetup, rawData
|
|
|
11448
11413
|
//#endregion
|
|
11449
11414
|
//#region src/services/price/utils/deserialize.utils.d.ts
|
|
11450
11415
|
declare function dtoToOraclePrice(dto: OraclePriceDto): OraclePrice;
|
|
11451
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
11452
|
-
|
|
11453
11416
|
//#endregion
|
|
11454
11417
|
//#region src/services/price/utils/fetch.utils.d.ts
|
|
11455
11418
|
/**
|
|
@@ -11503,12 +11466,9 @@ declare const fetchOracleData: (banks: {
|
|
|
11503
11466
|
bankOraclePriceMap: Map<string, OraclePrice>;
|
|
11504
11467
|
pythFeedMap: PythPushFeedIdMap;
|
|
11505
11468
|
}>;
|
|
11506
|
-
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
11507
11469
|
//#endregion
|
|
11508
11470
|
//#region src/services/price/utils/serialize.utils.d.ts
|
|
11509
11471
|
declare function oraclePriceToDto(oraclePrice: OraclePrice): OraclePriceDto;
|
|
11510
|
-
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
11511
|
-
|
|
11512
11472
|
//#endregion
|
|
11513
11473
|
//#region src/services/bank/utils/compute.utils.d.ts
|
|
11514
11474
|
declare function computeMaxLeverage(depositBank: BankType, borrowBank: BankType, opts?: {
|
|
@@ -11549,7 +11509,6 @@ declare function computeRemainingCapacity(bank: BankType): {
|
|
|
11549
11509
|
depositCapacity: BigNumber;
|
|
11550
11510
|
borrowCapacity: BigNumber;
|
|
11551
11511
|
};
|
|
11552
|
-
//# sourceMappingURL=compute.utils.d.ts.map
|
|
11553
11512
|
//#endregion
|
|
11554
11513
|
//#region src/services/bank/utils/deserialize.utils.d.ts
|
|
11555
11514
|
declare function decodeBankRaw(encoded: Buffer, idl: LendrIdlType): BankRaw;
|
|
@@ -11589,7 +11548,6 @@ declare function hasEmodeEntryFlag(flags: number, flag: number): boolean;
|
|
|
11589
11548
|
* Parse a raw EMode tag number into the corresponding EmodeTag enum value
|
|
11590
11549
|
*/
|
|
11591
11550
|
declare function parseEmodeTag(emodeTagRaw: number): EmodeTag;
|
|
11592
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
11593
11551
|
//#endregion
|
|
11594
11552
|
//#region src/services/bank/utils/fetch.utils.d.ts
|
|
11595
11553
|
declare const fetchMultipleBanks: (program: LendrProgram, opts?: {
|
|
@@ -11599,7 +11557,6 @@ declare const fetchMultipleBanks: (program: LendrProgram, opts?: {
|
|
|
11599
11557
|
address: PublicKey;
|
|
11600
11558
|
data: BankRaw;
|
|
11601
11559
|
}[]>;
|
|
11602
|
-
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
11603
11560
|
//#endregion
|
|
11604
11561
|
//#region src/services/bank/utils/serialize.utils.d.ts
|
|
11605
11562
|
declare function serializeBankConfigOpt(bankConfigOpt: BankConfigOpt$1): BankConfigOptRaw;
|
|
@@ -11642,7 +11599,6 @@ declare class DataFetcher {
|
|
|
11642
11599
|
data: BankRaw;
|
|
11643
11600
|
}[]>;
|
|
11644
11601
|
}
|
|
11645
|
-
//# sourceMappingURL=data-fetcher.d.ts.map
|
|
11646
11602
|
//#endregion
|
|
11647
11603
|
//#region src/clients/client.d.ts
|
|
11648
11604
|
type BankMap = Map<string, Bank>;
|
|
@@ -11828,7 +11784,7 @@ declare class LendrClient {
|
|
|
11828
11784
|
*
|
|
11829
11785
|
* @returns Account addresses
|
|
11830
11786
|
*/
|
|
11831
|
-
getAllProgramAccountAddresses(_type: AccountType): Promise<PublicKey[]>;
|
|
11787
|
+
getAllProgramAccountAddresses(_type: AccountType$1): Promise<PublicKey[]>;
|
|
11832
11788
|
getBankByPk(bankAddress: Address): Bank | null;
|
|
11833
11789
|
getBankByMint(mint: Address): Bank | null;
|
|
11834
11790
|
getBankByTokenSymbol(tokenSymbol: string): Bank | null;
|
|
@@ -12029,7 +11985,6 @@ declare enum AccountFlags {
|
|
|
12029
11985
|
// 4
|
|
12030
11986
|
ACCOUNT_TRANSFER_AUTHORITY_ALLOWED = 8,
|
|
12031
11987
|
}
|
|
12032
|
-
//# sourceMappingURL=account.types.d.ts.map
|
|
12033
11988
|
//#endregion
|
|
12034
11989
|
//#region src/services/account/types/dto-account.types.d.ts
|
|
12035
11990
|
interface BalanceTypeDto {
|
|
@@ -12061,7 +12016,6 @@ interface LendrAccountTypeDto {
|
|
|
12061
12016
|
emissionsDestinationAccount: string;
|
|
12062
12017
|
healthCache: HealthCacheTypeDto;
|
|
12063
12018
|
}
|
|
12064
|
-
//# sourceMappingURL=dto-account.types.d.ts.map
|
|
12065
12019
|
//#endregion
|
|
12066
12020
|
//#region src/services/account/types/raw-account.types.d.ts
|
|
12067
12021
|
interface BalanceRaw {
|
|
@@ -12106,7 +12060,6 @@ type LendrRequirementTypeRaw = {
|
|
|
12106
12060
|
} | {
|
|
12107
12061
|
equity: {};
|
|
12108
12062
|
};
|
|
12109
|
-
//# sourceMappingURL=raw-account.types.d.ts.map
|
|
12110
12063
|
//#endregion
|
|
12111
12064
|
//#region src/services/account/account.service.d.ts
|
|
12112
12065
|
/**
|
|
@@ -12167,7 +12120,6 @@ declare function getActiveStaleBanks(balances: Balance[], banks: BankMap, additi
|
|
|
12167
12120
|
oracleKey: PublicKey;
|
|
12168
12121
|
}[];
|
|
12169
12122
|
};
|
|
12170
|
-
//# sourceMappingURL=account.service.d.ts.map
|
|
12171
12123
|
//#endregion
|
|
12172
12124
|
//#region src/services/account/utils/compute.utils.d.ts
|
|
12173
12125
|
/**
|
|
@@ -12218,7 +12170,6 @@ declare function computeClaimedEmissions(balance: BalanceType, bank: BankType, c
|
|
|
12218
12170
|
declare function computeTotalOutstandingEmissions(balance: BalanceType, bank: BankType): BigNumber;
|
|
12219
12171
|
declare function computeHealthCheckAccounts(balances: BalanceType[], banks: Map<string, BankType>, mandatoryBanks?: PublicKey[], excludedBanks?: PublicKey[]): BankType[];
|
|
12220
12172
|
declare function computeHealthAccountMetas(banksToInclude: BankType[], bankMetadataMap?: BankMetadataMap, enableSorting?: boolean, bankExtendedMetadata?: BankExtendedMetadata): PublicKey[];
|
|
12221
|
-
//# sourceMappingURL=compute.utils.d.ts.map
|
|
12222
12173
|
//#endregion
|
|
12223
12174
|
//#region src/services/account/utils/deserialize.utils.d.ts
|
|
12224
12175
|
declare function decodeAccountRaw(encoded: Buffer, idl: LendrIdlType): LendrAccountRaw;
|
|
@@ -12260,13 +12211,10 @@ declare function getHealthCacheStatusDescription(flags: number): string;
|
|
|
12260
12211
|
declare function dtoToLendrAccount(lendrAccountDto: LendrAccountTypeDto): LendrAccountType;
|
|
12261
12212
|
declare function dtoToBalance(balanceDto: BalanceTypeDto): BalanceType;
|
|
12262
12213
|
declare function dtoToHealthCache(healthCacheDto: HealthCacheTypeDto): HealthCacheType;
|
|
12263
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
12264
12214
|
//#endregion
|
|
12265
12215
|
//#region src/services/account/utils/emode.utils.d.ts
|
|
12266
12216
|
declare function computeEmodeImpacts(emodePairs: EmodePair[], activeLiabilities: PublicKey[], activeCollateral: PublicKey[], allBanks: PublicKey[]): Record<string, ActionEmodeImpact>;
|
|
12267
12217
|
declare function computeActiveEmodePairs(emodePairs: EmodePair[], activeLiabilities: PublicKey[], activeCollateral: PublicKey[]): EmodePair[];
|
|
12268
|
-
//# sourceMappingURL=emode.utils.d.ts.map
|
|
12269
|
-
|
|
12270
12218
|
//#endregion
|
|
12271
12219
|
//#region src/services/account/utils/fetch.utils.d.ts
|
|
12272
12220
|
declare const fetchLendrAccountAddresses: (program: LendrProgram, authority: PublicKey, group: PublicKey) => Promise<PublicKey[]>;
|
|
@@ -12274,7 +12222,6 @@ declare const fetchLendrAccountData: (program: LendrProgram, lendrAccountPk: Pub
|
|
|
12274
12222
|
lendrAccount: LendrAccountType;
|
|
12275
12223
|
error?: HealthCacheSimulationError;
|
|
12276
12224
|
}>;
|
|
12277
|
-
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
12278
12225
|
//#endregion
|
|
12279
12226
|
//#region src/services/account/utils/serialize.utils.d.ts
|
|
12280
12227
|
/**
|
|
@@ -12284,7 +12231,6 @@ declare function accountFlagToBN(flag: AccountFlags): BN$1;
|
|
|
12284
12231
|
declare function lendrAccountToDto(lendrAccount: LendrAccountType): LendrAccountTypeDto;
|
|
12285
12232
|
declare function balanceToDto(balance: BalanceType): BalanceTypeDto;
|
|
12286
12233
|
declare function healthCacheToDto(healthCache: HealthCacheType): HealthCacheTypeDto;
|
|
12287
|
-
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
12288
12234
|
//#endregion
|
|
12289
12235
|
//#region src/services/group/group.service.d.ts
|
|
12290
12236
|
declare function makePoolConfigureBankIx(program: LendrProgram, bank: PublicKey, args: BankConfigOptRaw): Promise<InstructionsWrapper>;
|
|
@@ -12293,7 +12239,6 @@ declare function makePoolAddBankIx(program: LendrProgram, group: PublicKey, bank
|
|
|
12293
12239
|
admin?: PublicKey;
|
|
12294
12240
|
globalFeeWallet?: PublicKey;
|
|
12295
12241
|
}): Promise<InstructionsWrapper>;
|
|
12296
|
-
//# sourceMappingURL=group.service.d.ts.map
|
|
12297
12242
|
//#endregion
|
|
12298
12243
|
//#region src/services/group/types/group.types.d.ts
|
|
12299
12244
|
type LendrGroupType = {
|
|
@@ -12304,7 +12249,6 @@ type LendrGroupTypeDto = {
|
|
|
12304
12249
|
admin: string;
|
|
12305
12250
|
address: string;
|
|
12306
12251
|
};
|
|
12307
|
-
//# sourceMappingURL=group.types.d.ts.map
|
|
12308
12252
|
//#endregion
|
|
12309
12253
|
//#region src/services/group/types/raw-group.types.d.ts
|
|
12310
12254
|
interface LendrGroupRaw {
|
|
@@ -12315,11 +12259,9 @@ interface LendrGroupRaw {
|
|
|
12315
12259
|
//#endregion
|
|
12316
12260
|
//#region src/services/group/utils/deserialize.utils.d.ts
|
|
12317
12261
|
declare function dtoToGroup(groupDto: LendrGroupTypeDto): LendrGroupType;
|
|
12318
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
12319
12262
|
//#endregion
|
|
12320
12263
|
//#region src/services/group/utils/serialize.utils.d.ts
|
|
12321
12264
|
declare function groupToDto(group: LendrGroupType): LendrGroupTypeDto;
|
|
12322
|
-
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
12323
12265
|
//#endregion
|
|
12324
12266
|
//#region src/services/metadata/dummy.d.ts
|
|
12325
12267
|
declare class DummyMetadataFetcher implements IMetadataFetcher {
|
|
@@ -12331,7 +12273,6 @@ declare class DummyMetadataFetcher implements IMetadataFetcher {
|
|
|
12331
12273
|
uri?: string | undefined;
|
|
12332
12274
|
}>>;
|
|
12333
12275
|
}
|
|
12334
|
-
//# sourceMappingURL=dummy.d.ts.map
|
|
12335
12276
|
//#endregion
|
|
12336
12277
|
//#region src/services/metadata/fogo.d.ts
|
|
12337
12278
|
type FogoNetworks = "mainnet" | "testnet";
|
|
@@ -12346,7 +12287,6 @@ declare class FogoMetadataFetcher implements IMetadataFetcher {
|
|
|
12346
12287
|
uri?: string | undefined;
|
|
12347
12288
|
}>>;
|
|
12348
12289
|
}
|
|
12349
|
-
//# sourceMappingURL=fogo.d.ts.map
|
|
12350
12290
|
//#endregion
|
|
12351
12291
|
//#region src/services/metadata/service.d.ts
|
|
12352
12292
|
declare const metadataSchema: z$2.ZodMiniObject<{
|
|
@@ -12399,7 +12339,6 @@ declare class MetadataService {
|
|
|
12399
12339
|
uri?: string | undefined;
|
|
12400
12340
|
}>>;
|
|
12401
12341
|
}
|
|
12402
|
-
//# sourceMappingURL=service.d.ts.map
|
|
12403
12342
|
//#endregion
|
|
12404
12343
|
//#region src/services/metadata/metaplex.d.ts
|
|
12405
12344
|
declare class MetaplexMetadataFetcher implements IMetadataFetcher {
|
|
@@ -12414,7 +12353,6 @@ declare class MetaplexMetadataFetcher implements IMetadataFetcher {
|
|
|
12414
12353
|
}>>;
|
|
12415
12354
|
private _getImage;
|
|
12416
12355
|
}
|
|
12417
|
-
//# sourceMappingURL=metaplex.d.ts.map
|
|
12418
12356
|
//#endregion
|
|
12419
12357
|
//#region src/services/native-stake/types/stake.types.d.ts
|
|
12420
12358
|
type ValidatorStakeGroup = {
|
|
@@ -12479,12 +12417,9 @@ type ValidatorRateData = {
|
|
|
12479
12417
|
stakingApy: number;
|
|
12480
12418
|
};
|
|
12481
12419
|
type ActiveStakePoolMap = Map<string, boolean>;
|
|
12482
|
-
//# sourceMappingURL=stake.types.d.ts.map
|
|
12483
12420
|
//#endregion
|
|
12484
12421
|
//#region src/services/native-stake/utils/deserialize.utils.d.ts
|
|
12485
12422
|
declare function dtoToValidatorStakeGroup(validatorStakeGroupDto: ValidatorStakeGroupDto): ValidatorStakeGroup;
|
|
12486
|
-
//# sourceMappingURL=deserialize.utils.d.ts.map
|
|
12487
|
-
|
|
12488
12423
|
//#endregion
|
|
12489
12424
|
//#region src/services/native-stake/utils/fetch.utils.d.ts
|
|
12490
12425
|
/**
|
|
@@ -12516,11 +12451,9 @@ declare const fetchStakePoolActiveStates: (connection: Connection, validatorVote
|
|
|
12516
12451
|
*/
|
|
12517
12452
|
declare const fetchStakeAccount: (data: Buffer) => StakeAccount;
|
|
12518
12453
|
declare const fetchStakePoolMev: (connection: Connection, validatorVoteAccounts: PublicKey[]) => Promise<StakePoolMevMap>;
|
|
12519
|
-
//# sourceMappingURL=fetch.utils.d.ts.map
|
|
12520
12454
|
//#endregion
|
|
12521
12455
|
//#region src/services/native-stake/utils/serialize.utils.d.ts
|
|
12522
12456
|
declare function validatorStakeGroupToDto(validatorStakeGroup: ValidatorStakeGroup): ValidatorStakeGroupDto;
|
|
12523
|
-
//# sourceMappingURL=serialize.utils.d.ts.map
|
|
12524
12457
|
//#endregion
|
|
12525
12458
|
//#region src/services/transaction/helpers/bundle-sending.d.ts
|
|
12526
12459
|
declare class SendBundleError extends Error {
|
|
@@ -12530,7 +12463,6 @@ declare class SendBundleError extends Error {
|
|
|
12530
12463
|
declare function sendTransactionAsGrpcBundle(connection: Connection, base58Txs: string[], throwError?: boolean): Promise<string | undefined>;
|
|
12531
12464
|
declare function sendTransactionAsBundle(connection: Connection, base58Txs: string[], throwError?: boolean, tempBundleId?: string): Promise<string | undefined>;
|
|
12532
12465
|
declare function confirmBundle(_connection: Connection, bundleId: string, _commitment?: Commitment): Promise<string>;
|
|
12533
|
-
//# sourceMappingURL=bundle-sending.d.ts.map
|
|
12534
12466
|
//#endregion
|
|
12535
12467
|
//#region src/services/transaction/helpers/bundle-simulation.d.ts
|
|
12536
12468
|
declare class BundleSimulationError extends Error {
|
|
@@ -12550,7 +12482,6 @@ interface RpcSimulateBundleTransactionResult {
|
|
|
12550
12482
|
returnData?: any;
|
|
12551
12483
|
}
|
|
12552
12484
|
declare function simulateBundle(rpcEndpoint: string, transactions: VersionedTransaction[], includeAccounts?: Array<PublicKey>): Promise<RpcSimulateBundleTransactionResult[]>;
|
|
12553
|
-
//# sourceMappingURL=bundle-simulation.d.ts.map
|
|
12554
12485
|
//#endregion
|
|
12555
12486
|
//#region src/services/transaction/helpers/rpc-sending.d.ts
|
|
12556
12487
|
type SendTransactionAsRpcProps = {
|
|
@@ -12738,8 +12669,6 @@ interface BankMetadata {
|
|
|
12738
12669
|
type BankMetadataMap = {
|
|
12739
12670
|
[address: string]: BankMetadata;
|
|
12740
12671
|
};
|
|
12741
|
-
//# sourceMappingURL=bank-metadata.d.ts.map
|
|
12742
|
-
|
|
12743
12672
|
//#endregion
|
|
12744
|
-
export { AccountFlags, AccountType, ActionEmodeImpact, ActiveEmodePair, ActiveStakePoolMap, Amount, AssetTag, BUNDLE_TX_SIZE$1 as BUNDLE_TX_SIZE, Balance, BalanceRaw, BalanceType, BalanceTypeDto, Bank, BankAddress, BankConfig, type BankConfigCompactRaw, BankConfigDto, BankConfigFlag, BankConfigOpt$1 as BankConfigOpt, type BankConfigOptRaw, type BankConfigRaw, BankConfigRawDto, BankConfigType, BankExtendedMetadata, BankExtendedMetadataMap, BankExtendedMetadataOverride, BankMap, BankMetadata, BankMetadataMap, type BankMetadataRaw, 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, type InterestRateConfigCompactRaw, InterestRateConfigDto, InterestRateConfigOpt, type InterestRateConfigOptRaw, 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, RatePoint, RatePointDto, type RatePointRaw, 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, bankConfigToBankConfigRaw, 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, extractPythOracleKeys, 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, makePoolAddBankIx, makePoolConfigureBankIx, makePriorityFeeIx, makePriorityFeeMicroIx, makePulseHealthIx, makeTxPriorityIx, makeUnwrapSolIx, makeVersionedTransaction, makeWrapSolIxs, median, metadataSchema, microLamportsToUi, nativeToUi, numeralFormatter, oraclePriceToDto, parseBalanceRaw, parseBankConfigRaw, parseBankRaw, parseBanksMetadataOverride, parseEmodeSettingsRaw, 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 };
|
|
12745
|
-
//# sourceMappingURL=index-
|
|
12673
|
+
export { lendrAccountToDto as $, InterestRateConfigOpt as $a, getConfig as $i, getLiabilityShares as $n, getRecentPrioritizationFeesByPercentile as $o, makePriorityFeeMicroIx as $r, LendrClientOptions as $t, StakePoolMevMap as A, InterestRateConfigOptRaw as Aa, MAX_U64 as Ai, hasEmodeEntryFlag as An, bpsToPercentile as Ao, MakeDepositWithSessionIxOpts as Ar, ceil as As, HealthCacheSimulationError as At, FogoMetadataFetcher as B, BankConfigFlag as Ba, DEFAULT_CONFIRM_OPTS as Bi, computeBaseInterestRate as Bn, apyToApr as Bo, Bank as Br, WalletToken as Bs, LendrRequirementTypeRaw as Bt, fetchNativeStakeAccounts as C, BankConfigOptRaw as Ca, SYSVAR_CLOCK_ID as Ci, dtoToBankConfigRaw as Cn, percentFormatter as Co, RepayWithCollateralTxProps as Cr, chunkedGetRawMultipleAccountInfoOrdered as Cs, computeHealthComponentsLegacy as Ct, dtoToValidatorStakeGroup as D, EmodeConfigRaw as Da, GROUP_PK as Di, dtoToInterestRateConfig as Dn, usdFormatter as Do, MakeBorrowIxOpts as Dr, getValueInsensitive as Ds, computeQuantityUi as Dt, fetchStakePoolMev as E, BankRaw as Ea, DEFAULT_CLUSTER as Ei, dtoToEmodeSettingsRaw as En, tokenPriceFormatter as Eo, LendrRequirementType as Er, chunks as Es, computeQuantity as Et, IMetadataFetcher as F, RatePointRaw as Fa, DISABLED_FLAG as Fi, parseEmodeTag as Fn, toNumber as Fo, isWeightedPrice as Fr, InstructionsWrapper as Fs, simulateAccountHealthCache as Ft, LendrGroupType as G, EmodeEntryFlags as Ga, PRIORITY_TX_SIZE$1 as Gi, computeRemainingCapacity as Gn, TransactionBroadcastType as Go, PythPushFeedIdMap as Gr, BalanceType as Gt, groupToDto as H, BankConfigType as Ha, DEFAULT_SEND_OPTS as Hi, computeLiabilityUsdValue as Hn, calculateInterestFromApy as Ho, EmodeSettings as Hr, HealthCacheTypeDto as Ht, MetadataService as I, RiskTierRaw as Ia, FLASHLOAN_ENABLED_FLAG as Ii, parseOperationalState as In, uiToNative as Io, Balance as Ir, Program$1 as Is, simulateAccountHealthCacheWithFallback as It, makePoolAddBankIx as J, EmodeImpactStatus as Ja, PDA_BANK_FEE_VAULT_SEED as Ji, computeUtilizationRate as Jn, getCalculatedPrioritizationFeeByPercentile as Jo, findOracleKey as Jr, LendrAccountType as Jt, LendrGroupTypeDto as K, EmodeFlags as Ka, SKIP_SIMULATION as Ki, computeTvl as Kn, TransactionPriorityType as Ko, buildFeedIdMap as Kr, HealthCacheFlags as Kt, MetadataServiceProps as L, ActionEmodeImpact as La, TRANSFER_ACCOUNT_AUTHORITY_FLAG as Li, parseOracleSetup as Ln, uiToNativeBigNumber as Lo, index_d_exports as Lr, ProgramReadonly as Ls, BalanceRaw as Lt, ValidatorStakeGroup as M, OperationalStateRaw as Ma, PYTH_PRICE_CONF_INTERVALS as Mi, parseBankConfigRaw as Mn, nativeToUi as Mo, MakeRepayWithSessionIxOpts as Mr, median as Ms, createUpdateFeedIx as Mt, ValidatorStakeGroupDto as N, OracleConfigOptRaw as Na, PYTH_PUSH_ORACLE_ID as Ni, parseBankRaw as Nn, shortenAddress as No, MakeWithdrawIxOpts as Nr, NodeWallet as Ns, getActiveStaleBanks as Nt, ActiveStakePoolMap as O, EmodeSettingsRaw as Oa, HOURS_PER_YEAR as Oi, getActiveEmodeEntryFlags as On, usdFormatterDyn as Oo, MakeBorrowWithSessionIxOpts as Or, setTimeoutPromise as Os, computeTotalOutstandingEmissions as Ot, MetaplexMetadataFetcher as P, OracleSetupRaw as Pa, SWB_PRICE_CONF_INTERVALS as Pi, parseEmodeSettingsRaw as Pn, toBigNumber as Po, MakeWithdrawWithSessionIxOpts as Pr, Amount as Ps, makePulseHealthIx as Pt, healthCacheToDto as Q, InterestRateConfig as Qa, PDA_BANK_LIQUIDITY_VAULT_SEED as Qi, getLiabilityQuantity as Qn, getMinPrioritizationFeeByPercentile as Qo, makePriorityFeeIx as Qr, LendrClientFetchOptions as Qt, TMetadata as R, ActiveEmodePair as Ra, BUNDLE_TX_SIZE$1 as Ri, parseRiskTier as Rn, wrappedI80F48toBigNumber as Ro, HealthCache as Rr, TransactionOptions as Rs, HealthCacheRaw as Rt, validatorStakeGroupToDto as S, BankConfigCompactRaw as Sa, SYSTEM_PROGRAM_ID as Si, dtoToBankConfig as Sn, numeralFormatter as So, RepayWithCollateralProps as Sr, TransactionType as Ss, computeHealthComponents as St, fetchStakePoolActiveStates as T, BankMetadataRaw as Ta, SYSVAR_STAKE_HISTORY_ID as Ti, dtoToEmodeSettings as Tn, percentFormatterMod as To, LendrAccount as Tr, chunkedGetRawMultipleAccountInfos as Ts, computeNetApy as Tt, dtoToGroup as U, BankType as Ua, MAX_ACCOUNT_KEYS as Ui, computeLoopingParams as Un, MaxCapType as Uo, LENDR_SPONSORED_SHARD_ID as Ur, LendrAccountTypeDto as Ut, DummyMetadataFetcher as V, BankConfigOpt$1 as Va, DEFAULT_ORACLE_MAX_AGE as Vi, computeInterestRates as Vn, calculateApyFromInterest as Vo, BankConfig as Vr, WrappedI80F48 as Vs, BalanceTypeDto as Vt, LendrGroupRaw as W, EmodeEntry as Wa, MAX_TX_SIZE$1 as Wi, computeMaxLeverage as Wn, PriotitizationFeeLevels as Wo, PYTH_SPONSORED_SHARD_ID as Wr, AccountFlags as Wt, accountFlagToBN as X, EmodeSettingsType as Xa, PDA_BANK_INSURANCE_VAULT_SEED as Xi, getAssetShares as Xn, getMeanPrioritizationFeeByPercentile as Xo, getBankVaultAuthority as Xr, FetchGroupDataFn as Xt, makePoolConfigureBankIx as Y, EmodePair as Ya, PDA_BANK_INSURANCE_VAULT_AUTH_SEED as Yi, getAssetQuantity as Yn, getMaxPrioritizationFeeByPercentile as Yo, findPythPushOracleAddress as Yr, BankMap as Yt, balanceToDto as Z, EmodeTag as Za, PDA_BANK_LIQUIDITY_VAULT_AUTH_SEED as Zi, getAssetWeight as Zn, getMedianPrioritizationFeeByPercentile as Zo, getBankVaultSeeds as Zr, LendrClient as Zt, SpecificBroadcastMethod as _, EmodeEntryDto as _a, LUT_PROGRAM_AUTHORITY_INDEX as _i, toEmodeSettingsDto as _n, CustomNumberFormat as _o, makeBundleTipIx as _r, ExtendedTransactionProperties as _s, computeClaimedEmissions as _t, BankMetadataMap as a, PriceWithConfidenceDto as aa, ProgramError as ai, FetchRawBanksArgs as an, AccountType$1 as ao, fetchOracleData as ar, getAccountKeys as as, dtoToBalance as at, processTransactions as b, InterestRateConfigDto as ba, STAKE_CONFIG_ID$1 as bi, decodeBankRaw as bn, groupedNumberFormatter as bo, LoopProps as br, TransactionArenaKeyMap as bs, computeHealthAccountMetas as bt, fetchBanksExtendedMetadata as c, freezeBankConfigIx as ca, parseTransactionError as ci, bankRawToDto as cn, Environment as co, dtoToOraclePrice as cr, isV0Tx as cs, getActiveAccountFlags as ct, DEFAULT_PROCESS_TX_OPTS as d, getTreasuryPda as da, USDC_DECIMALS as di, serializeOperationalState as dn, LendrConfig as do, getPriceWithConfidence as dr, replaceV0TxBlockhash as ds, hasAccountFlag as dt, instructions as ea, makeUnwrapSolIx as ei, LendrClientProps as en, OperationalState as eo, getLiabilityWeight as er, addTransactionMetadata as es, fetchLendrAccountAddresses as et, DEFAULT_PROCESS_TX_STRATEGY as f, BankConfigDto as fa, USDC_MINT as fi, serializeOracleSetup as fn, LendrProgram as fo, isOracleSetupSupported as fr, replaceV0TxInstructions as fs, hasHealthCacheFlag as ft, ProcessTransactionsClientOpts as g, EmodeConfigRawDto as ga, LENDR_PROGRAM as gi, toBankDto as gn, LendrIdlType as go, SimulationResult as gr, ExtendedTransaction as gs, computeBalanceUsdValue as gt, ProcessTransactionStrategy as h, BankTypeDto as ha, JUPITER_V6_PROGRAM as hi, toBankConfigDto as hn, LENDR_IDL as ho, LendrAccountWrapper as hr, updateV0Tx as hs, computeAccountValue as ht, BankMetadata as i, PriceWithConfidence as ia, ProcessTransactionErrorType as ii, DataFetcher as in, RiskTier as io, extractPythOracleKeys as ir, decompileV0Transaction as is, decodeAccountRaw as it, ValidatorRateData as j, InterestRateConfigRaw as ja, PROGRAM_ID as ji, hasEmodeFlag as jn, composeRemainingAccounts as jo, MakeRepayIxOpts as jr, floor as js, createLendrAccountTx as jt, StakeAccount as k, InterestRateConfigCompactRaw as ka, MAX_CONFIDENCE_INTERVAL_RATIO as ki, getActiveEmodeFlags as kn, bigNumberToWrappedI80F48 as ko, MakeDepositIxOpts as kr, sleep as ks, getBalanceUsdValueWithPriceBias as kt, parseBanksMetadataOverride as l, getConfigPda as la, DUMMY_USDC_MINT as li, emodeSettingsRawToDto as ln, LendingAccountDepositOrRepayWithSessionAccounts as lo, SupportedOracleSetup as lr, legacyTxToV0Tx as ls, getActiveHealthCacheFlags as lt, ProcessTransactionOpts as m, BankRawDto as ma, WSOL_MINT as mi, serializeRiskTier as mn, TLogger as mo, FlashLoanArgs as mr, uiToMicroLamports as ms, parseLendrAccountRaw as mt, BankExtendedMetadataMap as n, OraclePriceDto as na, makeWrapSolIxs as ni, MintDataMap as nn, OracleSetup as no, getTotalLiabilityQuantity as nr, decodeComputeBudgetInstruction as ns, computeActiveEmodePairs as nt, BanksExtendedMetadataOverrideMap as o, addOracleToBanksIx as oa, ProgramErrorWithDescription as oi, bankConfigRawToDto as on, BankAddress as oo, fetchPythOracleData as or, getComputeBudgetUnits as os, dtoToHealthCache as ot, PriorityFees as p, BankConfigRawDto as pa, WSOL_EXTENDED_METADATA as pi, serializeOracleSetupToIndex as pn, LogFn as po, parseOraclePriceData as pr, splitInstructionsToFitTransactions as ps, parseBalanceRaw as pt, makeAddPermissionlessStakedBankIx as q, EmodeImpact as qa, PDA_BANK_FEE_VAULT_AUTH_SEED as qi, computeUsdValue as qn, TransactionSettings as qo, feedIdToString as qr, HealthCacheType as qt, BankExtendedMetadataOverride as r, PriceBias as ra, ProcessTransactionError as ri, OraclePriceMap as rn, RatePoint as ro, oraclePriceToDto as rr, decodeInstruction as rs, computeEmodeImpacts as rt, bankExtendedMetadataOverrideSchema as s, crankPythOracleIx as sa, parseErrorFromLogs as si, bankConfigToBankConfigRaw as sn, BankVaultType as so, fetchSwbOracleData as sr, getTxSize as ss, dtoToLendrAccount as st, BankExtendedMetadata as t, OraclePrice as ta, makeVersionedTransaction as ti, MintData as tn, OracleConfigOpt as to, getTotalAssetQuantity as tr, compareInstructions as ts, fetchLendrAccountData as tt, BroadcastMethodType as u, getPriceFeedAccountForProgram as ua, LST_MINT as ui, serializeBankConfigOpt as un, LendingAccountWithdrawOrBorrowWithSessionAccounts as uo, getPrice as ur, microLamportsToUi as us, getHealthCacheStatusDescription as ut, SpecificBroadcastMethodType as v, EmodeSettingsDto as va, MPL_METADATA_PROGRAM_ID as vi, toInterestRateConfigDto as vn, clampedNumeralFormatter as vo, makeTxPriorityIx as vr, ExtendedV0Transaction as vs, computeFreeCollateral as vt, fetchStakeAccount as w, BankConfigRaw as wa, SYSVAR_RENT_ID as wi, dtoToBankRaw as wn, percentFormatterDyn as wo, TransactionBuilderResult as wr, chunkedGetRawMultipleAccountInfoOrderedWithNulls as ws, computeHealthComponentsWithoutBiasLegacy as wt, simulateTransactions as x, RatePointDto as xa, STAKE_PROGRAM_ID as xi, dtoToBank as xn, groupedNumberFormatterDyn as xo, LoopTxProps as xr, TransactionConfigMap as xs, computeHealthCheckAccounts as xt, confirmTransaction as y, EmodeSettingsRawDto as ya, SINGLE_POOL_PROGRAM_ID as yi, fetchMultipleBanks as yn, dynamicNumeralFormatter as yo, FlashloanActionResult as yr, SolanaTransaction as ys, computeFreeCollateralLegacy as yt, metadataSchema as z, AssetTag as za, DEFAULT_COMMITMENT as zi, computeAssetUsdValue as zn, aprToApy as zo, LendrGroup as zr, Wallet as zs, LendrAccountRaw as zt };
|
|
12674
|
+
//# sourceMappingURL=index-Csp-53bZ.d.ts.map
|