@1delta/margin-fetcher-sol 0.0.1 → 0.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.
- package/README.md +63 -0
- package/dist/index.d.mts +588 -25
- package/dist/index.d.ts +588 -25
- package/dist/index.js +2477 -547
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2433 -525
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1634,10 +1634,11 @@ interface JupiterLendFluidVault {
|
|
|
1634
1634
|
/** Raw debt per raw collateral × 1e27 — EVM Fluid's scale (`jlOracleToFluidRaw`). */
|
|
1635
1635
|
oraclePriceOperate?: string;
|
|
1636
1636
|
oraclePriceLiquidate?: string;
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1637
|
+
/** True on a smart side (JL type 2 / 4 col, 3 / 4 debt — chain-enumerated vaults only; the API lists T1 only). The smart side's `dex` stays `null`: the DEX is on `params.jupiterLendVault.smart`. */
|
|
1638
|
+
isSmartCol: boolean;
|
|
1639
|
+
isSmartDebt: boolean;
|
|
1640
|
+
/** Fluid's `TYPE()`: 10000 T1 (JL 0 / 1), 20000 T2, 30000 T3, 40000 T4. */
|
|
1641
|
+
vaultType: number;
|
|
1641
1642
|
collateral: JupiterLendFluidSide;
|
|
1642
1643
|
loan: JupiterLendFluidSide;
|
|
1643
1644
|
}
|
|
@@ -1710,6 +1711,29 @@ interface JupiterLendVaultMeta {
|
|
|
1710
1711
|
supplyFlashable: boolean;
|
|
1711
1712
|
borrowFlashable: boolean;
|
|
1712
1713
|
};
|
|
1714
|
+
/** `api` = Jupiter's listing; `chain` = read from the vaults program because the listing omits the id (`onchain.ts`). */
|
|
1715
|
+
source?: 'api' | 'chain';
|
|
1716
|
+
/** The slot of a chain read. */
|
|
1717
|
+
slot?: number;
|
|
1718
|
+
/**
|
|
1719
|
+
* A smart side's DEX (chain-enumerated vaults): that side's leg is keyed
|
|
1720
|
+
* by the DEX address, denominated in DEX SHARES (9 decimals) and UNPRICED
|
|
1721
|
+
* (USD 0 — the share's token value needs the DEX math, not ported).
|
|
1722
|
+
*/
|
|
1723
|
+
smart?: {
|
|
1724
|
+
col?: {
|
|
1725
|
+
dex: string;
|
|
1726
|
+
token0?: string;
|
|
1727
|
+
token1?: string;
|
|
1728
|
+
};
|
|
1729
|
+
debt?: {
|
|
1730
|
+
dex: string;
|
|
1731
|
+
token0?: string;
|
|
1732
|
+
token1?: string;
|
|
1733
|
+
};
|
|
1734
|
+
};
|
|
1735
|
+
/** Mints whose USD the read could not source (the leg's USD reads 0 because the price is unknown, not because the leg is empty). */
|
|
1736
|
+
unpriced?: string[];
|
|
1713
1737
|
}
|
|
1714
1738
|
/** Both params slots of one vault bundle. */
|
|
1715
1739
|
interface JupiterLendBundleParams {
|
|
@@ -1841,8 +1865,14 @@ interface FetchJupiterLendPublicOptions extends JupiterLendApiOptions {
|
|
|
1841
1865
|
intrinsicYields?: {
|
|
1842
1866
|
[assetGroup: string]: number;
|
|
1843
1867
|
};
|
|
1844
|
-
/** With an RPC: the market's flashloan admin (fee, activation) and the flash-able set, on `params.vault.flashloan` and the term sheet. */
|
|
1868
|
+
/** With an RPC: the market's flashloan admin (fee, activation) and the flash-able set, on `params.vault.flashloan` and the term sheet; and the vaults the listing omits, read from the chain (`enumerateOnchain`). */
|
|
1845
1869
|
rpc?: SvmRpc;
|
|
1870
|
+
/**
|
|
1871
|
+
* With an `rpc`: enumerate the vaults program (`VaultAdmin.next_vault_id`)
|
|
1872
|
+
* and read every id the API does not list (`onchain.ts`). API rows are
|
|
1873
|
+
* kept as they are; the chain only fills the gaps. Default true.
|
|
1874
|
+
*/
|
|
1875
|
+
enumerateOnchain?: boolean;
|
|
1846
1876
|
}
|
|
1847
1877
|
/**
|
|
1848
1878
|
* Every Jupiter Lend vault in the margin-fetcher return shape — one lender
|
|
@@ -1855,6 +1885,13 @@ interface FetchJupiterLendPublicOptions extends JupiterLendApiOptions {
|
|
|
1855
1885
|
* token needs the jl token's supply, JUPITER_LEND.md §3). Both markets = 4
|
|
1856
1886
|
* GETs, ~0.5 s. A market whose read fails fails the fetch — a partial
|
|
1857
1887
|
* roster is not served.
|
|
1888
|
+
*
|
|
1889
|
+
* With an `rpc`, the ids the listing omits are read from the chain (3
|
|
1890
|
+
* batched account reads per market; on 2026-10-02 main served 82 of 104 —
|
|
1891
|
+
* the gaps include the smart-debt / smart-collateral vaults 90–98, which
|
|
1892
|
+
* users transact on). A failed chain read keeps the API rows and warns: the
|
|
1893
|
+
* enumeration only ever ADDS bundles. Chain bundles carry
|
|
1894
|
+
* `params.jupiterLendVault.source = 'chain'`.
|
|
1858
1895
|
*/
|
|
1859
1896
|
declare function fetchJupiterLendPublic(opts?: FetchJupiterLendPublicOptions): Promise<{
|
|
1860
1897
|
[lender: string]: JupiterLendPublicResponse;
|
|
@@ -1922,6 +1959,213 @@ declare function readJupFlashAssets(rpc: SvmRpc, market?: JupiterLendMarketId):
|
|
|
1922
1959
|
/** Free liquidity of `mint` on the layer = the token balance of its vault, the amount a flash can take. */
|
|
1923
1960
|
declare function readJupFlashAvailable(rpc: SvmRpc, mint: string, tokenProgram: string, market?: JupiterLendMarketId): Promise<bigint>;
|
|
1924
1961
|
|
|
1962
|
+
/**
|
|
1963
|
+
* Jupiter Lend vaults read straight from the VAULTS program — for the ids
|
|
1964
|
+
* `lite-api.jup.ag/lend/v1/borrow/vaults` does not list (on 2026-10-02 it
|
|
1965
|
+
* served 82 of main's 104: ids 65–67, 74–76, 85–87, 89–99 were missing,
|
|
1966
|
+
* and users transact on 91 / 96 / 97). The program numbers vaults
|
|
1967
|
+
* contiguously from 1 (`VaultAdmin.next_vault_id`), so enumeration is PDA
|
|
1968
|
+
* derivation, no `getProgramAccounts`.
|
|
1969
|
+
*
|
|
1970
|
+
* The arithmetic is `@jup-ag/lend-read` 0.0.14's `getVaultEntireDataV2`,
|
|
1971
|
+
* ported to bigint (liquidity exchange prices → the vault's, the layer's
|
|
1972
|
+
* supply / borrow rate, the vault's limits). Verified against the API's own
|
|
1973
|
+
* numbers for the vaults it does list (`test/jupiterLend.onchain.live.test.ts`).
|
|
1974
|
+
*
|
|
1975
|
+
* Scales, measured: vault-internal amounts (`VaultState.total_supply` /
|
|
1976
|
+
* `total_borrow`) are normalised to 9 DECIMALS whatever the mint
|
|
1977
|
+
* (`× 10^(decimals − 9)` gives base units — vault 1's USDC debt reads 1000×
|
|
1978
|
+
* the API otherwise); the liquidity layer's amounts are mint base units.
|
|
1979
|
+
*
|
|
1980
|
+
* SMART vaults (type 2 = smart collateral, 3 = smart debt, 4 = both — the
|
|
1981
|
+
* Fluid T2/T3/T4) put a DEX where the mint would be: `supply_token` /
|
|
1982
|
+
* `borrow_token` is the DEX account, and that side's amounts are DEX SHARES
|
|
1983
|
+
* (9 decimals), not tokens. The smart side is served as a leg keyed by the
|
|
1984
|
+
* DEX address (the key pos-indexer's decoder uses, since it reads the same
|
|
1985
|
+
* account off the instruction), denominated in shares, UNPRICED (price
|
|
1986
|
+
* `'0'`): a share's token value needs the DEX's reserve math, which is not
|
|
1987
|
+
* ported. `params.jupiterLendVault.smart` says which side it is.
|
|
1988
|
+
*
|
|
1989
|
+
* Not read: the vault ORACLE price (the oracle program combines its sources;
|
|
1990
|
+
* `oraclePrice*` are left `''`, which the converter turns into an absent
|
|
1991
|
+
* Fluid oracle price, never a 0), rewards, and `metadata` flags (UI-only).
|
|
1992
|
+
*/
|
|
1993
|
+
declare const JL_VAULTS_ACCOUNTS_IDL: Idl;
|
|
1994
|
+
/** The vaults program per market (`@jup-ag/lend`'s `PROGRAM_IDS`). */
|
|
1995
|
+
declare const JUP_VAULTS_PROGRAMS: Record<JupiterLendMarket, string>;
|
|
1996
|
+
/** The Jupiter Lend DEX (smart-vault AMM) program — owner of a smart side's `Dex`. */
|
|
1997
|
+
declare const JUP_DEX_PROGRAM = "jupZ4m2GqUCJ5iueMfzQf8khFfH31d4XAQt3RzCT9Vd";
|
|
1998
|
+
declare const JL_EXCHANGE_PRICES_PRECISION: bigint;
|
|
1999
|
+
/** Vault-internal amounts are 9-decimal normalised. */
|
|
2000
|
+
declare const JL_VAULT_AMOUNT_DECIMALS = 9;
|
|
2001
|
+
/** Fluid's vault types; 0 is the legacy spelling of 1. */
|
|
2002
|
+
declare const isJlSmartCol: (t: number) => t is 2 | 4;
|
|
2003
|
+
declare const isJlSmartDebt: (t: number) => t is 3 | 4;
|
|
2004
|
+
declare const jlVaultConfigPda: (vaultId: number, market?: JupiterLendMarket) => Promise<string>;
|
|
2005
|
+
declare const jlVaultStatePda: (vaultId: number, market?: JupiterLendMarket) => Promise<string>;
|
|
2006
|
+
declare const jlVaultAdminPda: (market?: JupiterLendMarket) => Promise<string>;
|
|
2007
|
+
interface RawVaultConfig {
|
|
2008
|
+
vault_id: number;
|
|
2009
|
+
supply_rate_magnifier: number;
|
|
2010
|
+
borrow_rate_magnifier: number;
|
|
2011
|
+
collateral_factor: number;
|
|
2012
|
+
liquidation_threshold: number;
|
|
2013
|
+
liquidation_max_limit: number;
|
|
2014
|
+
withdraw_gap: number;
|
|
2015
|
+
liquidation_penalty: number;
|
|
2016
|
+
borrow_fee: number;
|
|
2017
|
+
vault_type: number;
|
|
2018
|
+
oracle: string;
|
|
2019
|
+
supply_token: string;
|
|
2020
|
+
borrow_token: string;
|
|
2021
|
+
}
|
|
2022
|
+
interface RawVaultState {
|
|
2023
|
+
vault_id: number;
|
|
2024
|
+
topmost_tick: number;
|
|
2025
|
+
total_supply: bigint;
|
|
2026
|
+
total_borrow: bigint;
|
|
2027
|
+
total_positions: number;
|
|
2028
|
+
absorbed_debt_amount: bigint;
|
|
2029
|
+
absorbed_col_amount: bigint;
|
|
2030
|
+
liquidity_supply_exchange_price: bigint;
|
|
2031
|
+
liquidity_borrow_exchange_price: bigint;
|
|
2032
|
+
vault_supply_exchange_price: bigint;
|
|
2033
|
+
vault_borrow_exchange_price: bigint;
|
|
2034
|
+
last_update_timestamp: bigint;
|
|
2035
|
+
}
|
|
2036
|
+
interface RawTokenReserve {
|
|
2037
|
+
mint: string;
|
|
2038
|
+
/** The layer's token account for the mint — its balance is what can leave now. */
|
|
2039
|
+
vault: string;
|
|
2040
|
+
borrow_rate: number;
|
|
2041
|
+
fee_on_interest: number;
|
|
2042
|
+
last_utilization: number;
|
|
2043
|
+
last_update_timestamp: bigint;
|
|
2044
|
+
supply_exchange_price: bigint;
|
|
2045
|
+
borrow_exchange_price: bigint;
|
|
2046
|
+
max_utilization: number;
|
|
2047
|
+
total_supply_with_interest: bigint;
|
|
2048
|
+
total_supply_interest_free: bigint;
|
|
2049
|
+
total_borrow_with_interest: bigint;
|
|
2050
|
+
total_borrow_interest_free: bigint;
|
|
2051
|
+
}
|
|
2052
|
+
interface RawUserSupply {
|
|
2053
|
+
with_interest: number;
|
|
2054
|
+
amount: bigint;
|
|
2055
|
+
withdrawal_limit: bigint;
|
|
2056
|
+
decay_amount: bigint;
|
|
2057
|
+
last_update: bigint;
|
|
2058
|
+
expand_pct: number;
|
|
2059
|
+
expand_duration: number;
|
|
2060
|
+
decay_duration: number;
|
|
2061
|
+
base_withdrawal_limit: bigint;
|
|
2062
|
+
}
|
|
2063
|
+
interface RawUserBorrow {
|
|
2064
|
+
with_interest: number;
|
|
2065
|
+
amount: bigint;
|
|
2066
|
+
debt_ceiling: bigint;
|
|
2067
|
+
last_update: bigint;
|
|
2068
|
+
expand_pct: number;
|
|
2069
|
+
expand_duration: number;
|
|
2070
|
+
base_debt_ceiling: bigint;
|
|
2071
|
+
max_debt_ceiling: bigint;
|
|
2072
|
+
}
|
|
2073
|
+
/** The layer's exchange prices advanced to `now` (`calculateExchangePrice`). */
|
|
2074
|
+
declare function jlLiquidityExchangePrices(r: RawTokenReserve, now: bigint): {
|
|
2075
|
+
supplyEx: bigint;
|
|
2076
|
+
borrowEx: bigint;
|
|
2077
|
+
};
|
|
2078
|
+
/** The layer's per-token totals + supply rate (bps) (`processOverallTokenData`). */
|
|
2079
|
+
declare function jlOverallTokenData(r: RawTokenReserve, now: bigint): {
|
|
2080
|
+
supplyEx: bigint;
|
|
2081
|
+
borrowEx: bigint;
|
|
2082
|
+
totalSupply: bigint;
|
|
2083
|
+
totalBorrow: bigint;
|
|
2084
|
+
supplyRate: bigint;
|
|
2085
|
+
borrowRate: bigint;
|
|
2086
|
+
maxUtilization: bigint;
|
|
2087
|
+
};
|
|
2088
|
+
type Overall = ReturnType<typeof jlOverallTokenData>;
|
|
2089
|
+
/** A protocol's supply position on the layer (`processUserSupplyData`). */
|
|
2090
|
+
declare function jlUserSupplyData(u: RawUserSupply | undefined, o: Overall, balance: bigint, now: bigint): {
|
|
2091
|
+
modeWithInterest: boolean;
|
|
2092
|
+
supply: bigint;
|
|
2093
|
+
withdrawalLimit: bigint;
|
|
2094
|
+
lastUpdateTimestamp: bigint;
|
|
2095
|
+
expandPercent: bigint;
|
|
2096
|
+
expandDuration: bigint;
|
|
2097
|
+
baseWithdrawalLimit: bigint;
|
|
2098
|
+
withdrawableUntilLimit: bigint;
|
|
2099
|
+
withdrawable: bigint;
|
|
2100
|
+
decayAmount: bigint;
|
|
2101
|
+
decayEndTimestamp: bigint;
|
|
2102
|
+
};
|
|
2103
|
+
/** A protocol's borrow position on the layer (`processUserBorrowData`). */
|
|
2104
|
+
declare function jlUserBorrowData(u: RawUserBorrow | undefined, o: Overall, balance: bigint, now: bigint): {
|
|
2105
|
+
modeWithInterest: boolean;
|
|
2106
|
+
borrow: bigint;
|
|
2107
|
+
borrowLimit: bigint;
|
|
2108
|
+
lastUpdateTimestamp: bigint;
|
|
2109
|
+
expandPercent: bigint;
|
|
2110
|
+
expandDuration: bigint;
|
|
2111
|
+
baseBorrowLimit: bigint;
|
|
2112
|
+
maxBorrowLimit: bigint;
|
|
2113
|
+
borrowLimitUtilization: bigint;
|
|
2114
|
+
borrowableUntilLimit: bigint;
|
|
2115
|
+
borrowable: bigint;
|
|
2116
|
+
};
|
|
2117
|
+
/** The vault's exchange prices advanced with the layer's (`updateExchangePrices`). */
|
|
2118
|
+
declare function jlVaultExchangePrices(s: RawVaultState, c: RawVaultConfig, liqSupplyEx: bigint, liqBorrowEx: bigint, now: bigint): {
|
|
2119
|
+
supplyEx: bigint;
|
|
2120
|
+
borrowEx: bigint;
|
|
2121
|
+
};
|
|
2122
|
+
/** Vault-internal (9-dec normalised) → base units of a `decimals` mint. */
|
|
2123
|
+
declare const jlVaultToRaw: (v: bigint, decimals: number) => bigint;
|
|
2124
|
+
interface JlOnchainVault {
|
|
2125
|
+
vault: JupiterLendVault;
|
|
2126
|
+
smartCol: boolean;
|
|
2127
|
+
smartDebt: boolean;
|
|
2128
|
+
/** The DEX behind a smart side, decoded (`token_0` / `token_1`). */
|
|
2129
|
+
supplyDex?: {
|
|
2130
|
+
address: string;
|
|
2131
|
+
token0: string;
|
|
2132
|
+
token1: string;
|
|
2133
|
+
};
|
|
2134
|
+
borrowDex?: {
|
|
2135
|
+
address: string;
|
|
2136
|
+
token0: string;
|
|
2137
|
+
token1: string;
|
|
2138
|
+
};
|
|
2139
|
+
slot: number;
|
|
2140
|
+
}
|
|
2141
|
+
interface ReadJlVaultsOptions {
|
|
2142
|
+
/** Known token facts by mint (the API's own `supplyToken` / `borrowToken` / earn `asset`) — symbol, logo and the USD price. */
|
|
2143
|
+
tokens?: {
|
|
2144
|
+
[mint: string]: JupiterLendToken;
|
|
2145
|
+
};
|
|
2146
|
+
/** Symbols / decimals for mints the API does not name. */
|
|
2147
|
+
tokenList?: {
|
|
2148
|
+
[mint: string]: {
|
|
2149
|
+
symbol?: string;
|
|
2150
|
+
name?: string;
|
|
2151
|
+
decimals?: number;
|
|
2152
|
+
logoURI?: unknown;
|
|
2153
|
+
};
|
|
2154
|
+
};
|
|
2155
|
+
/** Unix seconds "now" for the accrual (default: the clock). */
|
|
2156
|
+
now?: number;
|
|
2157
|
+
}
|
|
2158
|
+
/** `VaultAdmin.next_vault_id` — ids run 1 … next − 1. `undefined` when the admin cannot be read. */
|
|
2159
|
+
declare function readJlNextVaultId(rpc: SvmRpc, market?: JupiterLendMarket): Promise<number | undefined>;
|
|
2160
|
+
/**
|
|
2161
|
+
* Read `vaultIds` of `market` from the chain and shape each as the API's
|
|
2162
|
+
* `JupiterLendVault`, so the API path's converter serves it unchanged.
|
|
2163
|
+
* Three batched reads: config + state, then the layer accounts (reserves,
|
|
2164
|
+
* the vault's positions on the layer, mints, DEXes, the oracle), then the
|
|
2165
|
+
* reserves' token accounts (what can leave the layer now). An id with no config / state account is skipped.
|
|
2166
|
+
*/
|
|
2167
|
+
declare function readJupiterLendVaultsOnchain(rpc: SvmRpc, market: JupiterLendMarket, vaultIds: number[], opts?: ReadJlVaultsOptions): Promise<JlOnchainVault[]>;
|
|
2168
|
+
|
|
1925
2169
|
/**
|
|
1926
2170
|
* Save (ex-Solend) hosted API shapes — `api.save.finance` (the retired host
|
|
1927
2171
|
* `api.solend.fi` answers identically). Two routes carry everything the data
|
|
@@ -3086,7 +3330,12 @@ interface LoopscaleOfferingVault {
|
|
|
3086
3330
|
vault: string;
|
|
3087
3331
|
strategy: string;
|
|
3088
3332
|
name: string;
|
|
3333
|
+
/** `vaultMetadata.managerName` — the curator's display name ('' when the venue names none). */
|
|
3089
3334
|
curator: string;
|
|
3335
|
+
/** The vault's `manager` — the curator's ADDRESS, base58 verbatim. */
|
|
3336
|
+
manager: string;
|
|
3337
|
+
/** `vaultMetadata.managerImage`, verbatim; absent when none. */
|
|
3338
|
+
managerImage?: string;
|
|
3090
3339
|
/** CBPS of interest earned, the vault's take. */
|
|
3091
3340
|
interestFee: number;
|
|
3092
3341
|
/** CBPS of principal at origination. */
|
|
@@ -4655,7 +4904,7 @@ declare const P0_EMODE_BASE_LABEL = "No emode";
|
|
|
4655
4904
|
interface P0BankPrice {
|
|
4656
4905
|
priceUsd: number;
|
|
4657
4906
|
/** Where the number came from. */
|
|
4658
|
-
source: 'pyth-push' | 'pyth-push×multiplier' | 'fixed' | 'bank-cache' | 'none';
|
|
4907
|
+
source: 'pyth-push' | 'pyth-push×multiplier' | 'scope' | 'fixed' | 'bank-cache' | 'none';
|
|
4659
4908
|
/** Unix seconds of the reading (the oracle's publish time or the cache's timestamp). */
|
|
4660
4909
|
updatedAt?: number;
|
|
4661
4910
|
multiplier: number;
|
|
@@ -5122,7 +5371,11 @@ roster: {
|
|
|
5122
5371
|
* underlying), the price is the underlying's; Drift's shares are
|
|
5123
5372
|
* 9-decimal scaled balances whatever the mint, so its multiplier is
|
|
5124
5373
|
* rescaled to the mint;
|
|
5125
|
-
* - `PythPushOracle` — the price, multiplier 1; `Fixed*` — `fixed_price
|
|
5374
|
+
* - `PythPushOracle` — the price, multiplier 1; `Fixed*` — `fixed_price`;
|
|
5375
|
+
* - `PythMSOL` — live = Pyth SOL × Marinade's `State.msol_price`
|
|
5376
|
+
* (`oracle_keys[1]`), read here (the venue variants stay on the cache);
|
|
5377
|
+
* - `Scope` — live = the Scope `OraclePrices` entry at
|
|
5378
|
+
* `config.scopeEntryIndex` (`oracle_keys[0]`), with its own timestamp.
|
|
5126
5379
|
* A cached venue multiplier moves at the venue's YIELD rate (bps per day),
|
|
5127
5380
|
* so a day-old one on a fresh SOL price is the right number to a few bps.
|
|
5128
5381
|
*/
|
|
@@ -7145,6 +7398,10 @@ interface LoopscaleEarnVault {
|
|
|
7145
7398
|
name: string;
|
|
7146
7399
|
displayName: string;
|
|
7147
7400
|
curatorName: string;
|
|
7401
|
+
/** The vault's `manager` — the curator's ADDRESS, base58 verbatim (the chain-role arm of a curator identity). */
|
|
7402
|
+
manager: string;
|
|
7403
|
+
/** The venue's curator logo (`vaultMetadata.managerImage`), verbatim; absent when the venue names none. */
|
|
7404
|
+
managerImage?: string;
|
|
7148
7405
|
decimals: number;
|
|
7149
7406
|
assetDecimals: number;
|
|
7150
7407
|
/** TVL, raw principal units (the guide's four-term sum). */
|
|
@@ -7246,6 +7503,254 @@ interface FetchLoopscaleEarnVaultsOptions extends LoopscaleApiOptions {
|
|
|
7246
7503
|
/** Every curated Loopscale vault as an earn row — one paged route, zero RPC. A principal with no known decimals is skipped and named. */
|
|
7247
7504
|
declare function fetchLoopscaleEarnVaults(opts?: FetchLoopscaleEarnVaultsOptions): Promise<LoopscaleEarnVault[]>;
|
|
7248
7505
|
|
|
7506
|
+
/**
|
|
7507
|
+
* Kamino kvaults (`KvauGMspG5k6rtzrqqn7WNn3oZdyKqLKwK2XWQ8FLjd`) — curated
|
|
7508
|
+
* earn vaults that allocate one token across K-Lend reserves. Two public
|
|
7509
|
+
* routes carry everything, read off live responses 2026-10-02:
|
|
7510
|
+
*
|
|
7511
|
+
* | route | rows | what it is the only source of |
|
|
7512
|
+
* | ----------------------------- | ---- | ---------------------------------------------------------------- |
|
|
7513
|
+
* | `/kvaults/vaults` | 183 | the ROSTER + the decoded `VaultState` (admins, mints, fees, name) |
|
|
7514
|
+
* | `/kvaults/vaults/metrics` | 186 | per-vault APY, tokens per share, AUM split, USD prices, holders |
|
|
7515
|
+
*
|
|
7516
|
+
* `/kvaults/vaults/metrics` is PAGED (100 rows, `paginationToken`) and
|
|
7517
|
+
* carries 3 vaults the roster omits (closed / not listed); the roster is the
|
|
7518
|
+
* join's left side. `/kvaults/<vault>/metrics` is the per-vault twin — not
|
|
7519
|
+
* needed when the batch answers.
|
|
7520
|
+
*
|
|
7521
|
+
* Scales: every `state` amount is RAW base units of its mint (u64 as a
|
|
7522
|
+
* decimal string; `prevAum` / `pendingFees` carry a Fraction's decimals);
|
|
7523
|
+
* every `metrics` amount is HUMAN units; APYs are FRACTIONS.
|
|
7524
|
+
*/
|
|
7525
|
+
interface KaminoKvaultAllocation {
|
|
7526
|
+
reserve: string;
|
|
7527
|
+
ctokenVault: string;
|
|
7528
|
+
targetAllocationWeight: number;
|
|
7529
|
+
tokenAllocationCap: string;
|
|
7530
|
+
ctokenVaultBump: number;
|
|
7531
|
+
ctokenAllocation: string;
|
|
7532
|
+
lastInvestSlot: string;
|
|
7533
|
+
tokenTargetAllocation: string;
|
|
7534
|
+
}
|
|
7535
|
+
interface KaminoKvaultState {
|
|
7536
|
+
/** The vault's admin — the curator's ADDRESS (sets allocations, fees, the allocation admin). */
|
|
7537
|
+
vaultAdminAuthority: string;
|
|
7538
|
+
baseVaultAuthority: string;
|
|
7539
|
+
baseVaultAuthorityBump: number;
|
|
7540
|
+
tokenMint: string;
|
|
7541
|
+
tokenMintDecimals: number;
|
|
7542
|
+
tokenVault: string;
|
|
7543
|
+
tokenProgram: string;
|
|
7544
|
+
sharesMint: string;
|
|
7545
|
+
sharesMintDecimals: number;
|
|
7546
|
+
/** Raw underlying held idle by the vault. */
|
|
7547
|
+
tokenAvailable: string;
|
|
7548
|
+
/** Raw shares outstanding. */
|
|
7549
|
+
sharesIssued: string;
|
|
7550
|
+
availableCrankFunds: string;
|
|
7551
|
+
performanceFeeBps: number;
|
|
7552
|
+
managementFeeBps: number;
|
|
7553
|
+
lastFeeChargeTimestamp: number;
|
|
7554
|
+
prevAum: string;
|
|
7555
|
+
/** Raw underlying owed to the admin, decimal fraction — deducted from AUM. */
|
|
7556
|
+
pendingFees: string;
|
|
7557
|
+
vaultAllocationStrategy: KaminoKvaultAllocation[];
|
|
7558
|
+
minDepositAmount: string;
|
|
7559
|
+
minWithdrawAmount: string;
|
|
7560
|
+
minInvestAmount: string;
|
|
7561
|
+
minInvestDelaySlots: number;
|
|
7562
|
+
crankFundFeePerReserve: string;
|
|
7563
|
+
pendingAdmin: string;
|
|
7564
|
+
cumulativeEarnedInterest: string;
|
|
7565
|
+
cumulativeMgmtFees: string;
|
|
7566
|
+
cumulativePerfFees: string;
|
|
7567
|
+
/** Empty on a handful of vaults. */
|
|
7568
|
+
name: string;
|
|
7569
|
+
vaultLookupTable: string;
|
|
7570
|
+
vaultFarm: string;
|
|
7571
|
+
creationTimestamp: number;
|
|
7572
|
+
/** The key allowed to move allocations (a bot or the curator's own key). */
|
|
7573
|
+
allocationAdmin: string;
|
|
7574
|
+
}
|
|
7575
|
+
/** One row of `/kvaults/vaults`. `address` is the VaultState account. */
|
|
7576
|
+
interface KaminoKvault {
|
|
7577
|
+
address: string;
|
|
7578
|
+
state: KaminoKvaultState;
|
|
7579
|
+
programId: string;
|
|
7580
|
+
}
|
|
7581
|
+
/** One row of `/kvaults/vaults/metrics` (and `/kvaults/<vault>/metrics`, without `kvault`). */
|
|
7582
|
+
interface KaminoKvaultMetrics {
|
|
7583
|
+
kvault?: string;
|
|
7584
|
+
/** Fractions. `apy` = `apyTheoretical` — the current allocation's rate, net of the vault's fees. */
|
|
7585
|
+
apy: string;
|
|
7586
|
+
apyTheoretical: string;
|
|
7587
|
+
apyActual: string;
|
|
7588
|
+
apy24h: string;
|
|
7589
|
+
apy7d: string;
|
|
7590
|
+
apy30d: string;
|
|
7591
|
+
apy90d: string;
|
|
7592
|
+
apy180d: string;
|
|
7593
|
+
apy365d: string;
|
|
7594
|
+
apyFarmRewards: string;
|
|
7595
|
+
apyIncentives: string;
|
|
7596
|
+
apyReservesIncentives: string;
|
|
7597
|
+
/** USD per whole underlying. */
|
|
7598
|
+
tokenPrice: string;
|
|
7599
|
+
solPrice: string;
|
|
7600
|
+
/** Human underlying. */
|
|
7601
|
+
tokensAvailable: string;
|
|
7602
|
+
tokensAvailableUsd: string;
|
|
7603
|
+
tokensInvested: string;
|
|
7604
|
+
tokensInvestedUsd: string;
|
|
7605
|
+
/** USD per whole SHARE (= tokensPerShare × tokenPrice). */
|
|
7606
|
+
sharePrice: string;
|
|
7607
|
+
/** Whole underlying per whole share — the 4626 `convertToAssets(1)`. */
|
|
7608
|
+
tokensPerShare: string;
|
|
7609
|
+
numberOfHolders: number;
|
|
7610
|
+
sharesIssued: string;
|
|
7611
|
+
cumulativeInterestEarned: string;
|
|
7612
|
+
cumulativeInterestEarnedUsd: string;
|
|
7613
|
+
interestEarnedPerSecond: string;
|
|
7614
|
+
cumulativePerformanceFees: string;
|
|
7615
|
+
cumulativeManagementFees: string;
|
|
7616
|
+
[k: string]: unknown;
|
|
7617
|
+
}
|
|
7618
|
+
/**
|
|
7619
|
+
* A kvault as an EARN VAULT row, the 4626 shape the other Solana families
|
|
7620
|
+
* emit (`LoopscaleEarnVault`, `JupiterLendEarnVault`).
|
|
7621
|
+
*
|
|
7622
|
+
* `address` is the VAULT STATE account, NOT the share mint: it is the
|
|
7623
|
+
* account every kvault instruction names (`vaultState`) and the one
|
|
7624
|
+
* pos-indexer's decoder keys a row by — market uid
|
|
7625
|
+
* `vault.kamino-kvault:solana:<vault state>`. The share a holder owns is
|
|
7626
|
+
* `shareMint`.
|
|
7627
|
+
*/
|
|
7628
|
+
interface KaminoKvaultEarnVault {
|
|
7629
|
+
provider: 'kamino-kvault';
|
|
7630
|
+
originProvider: 'kamino-kvault';
|
|
7631
|
+
chainId: string;
|
|
7632
|
+
/** The VaultState account (the decoder's key). */
|
|
7633
|
+
address: string;
|
|
7634
|
+
/** The share token a depositor holds. */
|
|
7635
|
+
shareMint: string;
|
|
7636
|
+
underlying: string;
|
|
7637
|
+
symbol: string;
|
|
7638
|
+
name: string;
|
|
7639
|
+
displayName: string;
|
|
7640
|
+
/** The admin address, base58 verbatim — kvaults publish no curator name; a label layer keyed by this address names it. */
|
|
7641
|
+
curatorName: string;
|
|
7642
|
+
/** `vaultAdminAuthority` — the curator's address (the chain-role arm). */
|
|
7643
|
+
manager: string;
|
|
7644
|
+
/** `allocationAdmin` — the key that moves allocations. */
|
|
7645
|
+
allocationAdmin: string;
|
|
7646
|
+
decimals: number;
|
|
7647
|
+
assetDecimals: number;
|
|
7648
|
+
/** Raw underlying: `tokensPerShare × sharesIssued` (idle + invested − pending fees). */
|
|
7649
|
+
totalAssets: string;
|
|
7650
|
+
/** Raw shares. */
|
|
7651
|
+
totalSupply: string;
|
|
7652
|
+
/** Raw underlying per 10^decimals shares. */
|
|
7653
|
+
convertToAssets: string;
|
|
7654
|
+
convertToShares: string;
|
|
7655
|
+
/** percent APR (`ln(1 + apy)`), net of the vault's fees. */
|
|
7656
|
+
supplyRate: number;
|
|
7657
|
+
/** percent APR from the vault farm + incentives. */
|
|
7658
|
+
rewardsRate: number;
|
|
7659
|
+
depositRate: number;
|
|
7660
|
+
asset?: GenericCurrency;
|
|
7661
|
+
priceUsd?: number;
|
|
7662
|
+
totalAssetsFormatted: number;
|
|
7663
|
+
totalAssetsUsd: number;
|
|
7664
|
+
/** Idle underlying (`tokenAvailable`), raw — what `withdrawFromAvailable` pays without touching a reserve. */
|
|
7665
|
+
liquidity: string;
|
|
7666
|
+
liquidityFormatted: number;
|
|
7667
|
+
liquidityUsd: number;
|
|
7668
|
+
sharePrice: number;
|
|
7669
|
+
sharePriceUsd: number;
|
|
7670
|
+
yieldProfile: 'yield-bearing';
|
|
7671
|
+
denomination: Denomination;
|
|
7672
|
+
logoURI?: string;
|
|
7673
|
+
/** Performance fee, PERCENT. */
|
|
7674
|
+
fee: number;
|
|
7675
|
+
managementFeePct: number;
|
|
7676
|
+
withdrawalMode: Extract<OriginWithdrawalMode, 'instant-capped'>;
|
|
7677
|
+
/** `liquidity / totalAssets` — the idle share; a withdraw also disinvests from reserves with cash. */
|
|
7678
|
+
instantLiquidityRatio: number;
|
|
7679
|
+
/** The venue's APY figures, FRACTIONS, verbatim. */
|
|
7680
|
+
apy: {
|
|
7681
|
+
current: number;
|
|
7682
|
+
actual: number;
|
|
7683
|
+
d1: number;
|
|
7684
|
+
d7: number;
|
|
7685
|
+
d30: number;
|
|
7686
|
+
d90: number;
|
|
7687
|
+
farmRewards: number;
|
|
7688
|
+
incentives: number;
|
|
7689
|
+
/** Reserve incentives — not added to `rewardsRate` (whether `apy` already counts them is not documented). */
|
|
7690
|
+
reservesIncentives: number;
|
|
7691
|
+
};
|
|
7692
|
+
holders: number;
|
|
7693
|
+
vaultFarm?: string;
|
|
7694
|
+
/** The K-Lend reserves it allocates to, with the target weight. */
|
|
7695
|
+
allocations: {
|
|
7696
|
+
reserve: string;
|
|
7697
|
+
weight: number;
|
|
7698
|
+
ctokenAllocation: string;
|
|
7699
|
+
}[];
|
|
7700
|
+
createdAt: number;
|
|
7701
|
+
minDepositAmount: string;
|
|
7702
|
+
}
|
|
7703
|
+
|
|
7704
|
+
/** The kvault program, mainnet. */
|
|
7705
|
+
declare const KVAULT_PROGRAM_ID = "KvauGMspG5k6rtzrqqn7WNn3oZdyKqLKwK2XWQ8FLjd";
|
|
7706
|
+
interface KaminoKvaultApiOptions extends HttpOptions {
|
|
7707
|
+
baseUrl?: string;
|
|
7708
|
+
maxInFlight?: number;
|
|
7709
|
+
/** Page cap for `/kvaults/vaults/metrics` (100 rows a page; 2 pages on 2026-10-02). Default 20. */
|
|
7710
|
+
maxPages?: number;
|
|
7711
|
+
}
|
|
7712
|
+
/** The two kvault routes: the roster (one GET) and the batch metrics (paged by `paginationToken`). */
|
|
7713
|
+
declare function createKaminoKvaultApi(opts?: KaminoKvaultApiOptions): {
|
|
7714
|
+
vaults: () => Promise<KaminoKvault[]>;
|
|
7715
|
+
/** Every page of the batch metrics. A page that fails fails the call — a partial metrics set would read as vaults with no APY. */
|
|
7716
|
+
metrics: () => Promise<KaminoKvaultMetrics[]>;
|
|
7717
|
+
vaultMetrics: (vault: string) => Promise<KaminoKvaultMetrics>;
|
|
7718
|
+
};
|
|
7719
|
+
type KaminoKvaultApi = ReturnType<typeof createKaminoKvaultApi>;
|
|
7720
|
+
|
|
7721
|
+
/**
|
|
7722
|
+
* A HUMAN decimal string × 10^decimals → raw bigint, exact (truncates digits
|
|
7723
|
+
* past `decimals`). `undefined` for anything that is not a plain decimal.
|
|
7724
|
+
*/
|
|
7725
|
+
declare function decimalStringToRaw(s: string | number | undefined | null, decimals: number): bigint | undefined;
|
|
7726
|
+
/**
|
|
7727
|
+
* One kvault + its metrics → an earn row. `undefined` when the metrics row
|
|
7728
|
+
* is missing (no share price, no APY: the row would be numbers we do not
|
|
7729
|
+
* have). USD is the venue's `tokenPrice` — Kamino's oracle view of the
|
|
7730
|
+
* underlying — and is left absent when it reads ≤ 0.
|
|
7731
|
+
*/
|
|
7732
|
+
declare function convertKaminoKvault(v: KaminoKvault, m: KaminoKvaultMetrics | undefined, opts?: {
|
|
7733
|
+
tokenList?: {
|
|
7734
|
+
[mint: string]: GenericCurrency;
|
|
7735
|
+
};
|
|
7736
|
+
}): KaminoKvaultEarnVault | undefined;
|
|
7737
|
+
interface FetchKaminoKvaultsOptions extends KaminoKvaultApiOptions {
|
|
7738
|
+
tokenList?: {
|
|
7739
|
+
[mint: string]: GenericCurrency;
|
|
7740
|
+
};
|
|
7741
|
+
/** Pre-fetched responses (tests, or a caller that already holds them). */
|
|
7742
|
+
vaults?: KaminoKvault[];
|
|
7743
|
+
metrics?: KaminoKvaultMetrics[];
|
|
7744
|
+
/** Serve vaults with no shares outstanding. Default false. */
|
|
7745
|
+
includeEmpty?: boolean;
|
|
7746
|
+
}
|
|
7747
|
+
/**
|
|
7748
|
+
* Every Kamino kvault as an earn row: 2–3 GETs (roster + paged metrics),
|
|
7749
|
+
* zero RPC. A roster vault with no metrics row is skipped and named; the
|
|
7750
|
+
* metrics' extra vaults (not in the roster) are ignored.
|
|
7751
|
+
*/
|
|
7752
|
+
declare function fetchKaminoKvaults(opts?: FetchKaminoKvaultsOptions): Promise<KaminoKvaultEarnVault[]>;
|
|
7753
|
+
|
|
7249
7754
|
/**
|
|
7250
7755
|
* Liquid-staking tokens (LSTs) as EARN VAULT rows — the 4626
|
|
7251
7756
|
* (`FluidFToken`) shape `JupiterLendEarnVault` and `SolsticeVault` share, so
|
|
@@ -7593,7 +8098,7 @@ declare function fetchLstVaults(opts?: FetchLstVaultsOptions): Promise<LstEarnVa
|
|
|
7593
8098
|
*/
|
|
7594
8099
|
|
|
7595
8100
|
/** The origin's `vaults_latest.provider` keys a Solana row takes. */
|
|
7596
|
-
type OriginVaultProvider = 'savings' | 'lst' | 'jupiter-lend' | 'loopscale';
|
|
8101
|
+
type OriginVaultProvider = 'savings' | 'lst' | 'jupiter-lend' | 'loopscale' | 'kamino-kvault';
|
|
7597
8102
|
/** yield-tracer `CommonVaultFields` — one `vaults_latest` row (and its snapshot). */
|
|
7598
8103
|
interface OriginVaultCommon {
|
|
7599
8104
|
chainId: string;
|
|
@@ -7696,6 +8201,12 @@ interface OriginJupiterLendMeta {
|
|
|
7696
8201
|
interface OriginLoopscaleMeta {
|
|
7697
8202
|
vaultAccount: string;
|
|
7698
8203
|
strategy: string;
|
|
8204
|
+
/** The curator's ADDRESS (the vault's `manager`), base58 verbatim — `vault_loopscale_meta.curator`. */
|
|
8205
|
+
manager: string;
|
|
8206
|
+
/** The curator's display name as the venue publishes it (also the common `curatorName`). */
|
|
8207
|
+
managerName?: string;
|
|
8208
|
+
/** The curator's logo, verbatim. */
|
|
8209
|
+
managerImage?: string;
|
|
7699
8210
|
grossRate: number;
|
|
7700
8211
|
venueApy?: number;
|
|
7701
8212
|
interestFee: number;
|
|
@@ -7718,6 +8229,31 @@ interface OriginLoopscaleMeta {
|
|
|
7718
8229
|
rewardsSchedules: LoopscaleEarnVault['rewardsSchedules'];
|
|
7719
8230
|
description?: string;
|
|
7720
8231
|
}
|
|
8232
|
+
/**
|
|
8233
|
+
* `vault_kamino_kvault_meta` (NEW — yield-tracer needs the table and the
|
|
8234
|
+
* provider key). The row's `vaultAddress` is the VAULT STATE account (what
|
|
8235
|
+
* every kvault instruction and pos-indexer's decoder name), so the share
|
|
8236
|
+
* mint rides here.
|
|
8237
|
+
*/
|
|
8238
|
+
interface OriginKaminoKvaultMeta {
|
|
8239
|
+
shareMint: string;
|
|
8240
|
+
/** `vaultAdminAuthority` — the curator's address, base58 verbatim. */
|
|
8241
|
+
manager: string;
|
|
8242
|
+
allocationAdmin: string;
|
|
8243
|
+
/** Percent. The PERFORMANCE fee is the common `fee`. */
|
|
8244
|
+
managementFeePct: number;
|
|
8245
|
+
convertToAssets: string;
|
|
8246
|
+
convertToShares: string;
|
|
8247
|
+
withdrawalMode: OriginWithdrawalMode;
|
|
8248
|
+
instantLiquidityRatio: number;
|
|
8249
|
+
/** FRACTIONS, verbatim from `/kvaults/vaults/metrics`. */
|
|
8250
|
+
apy: KaminoKvaultEarnVault['apy'];
|
|
8251
|
+
holders: number;
|
|
8252
|
+
vaultFarm?: string;
|
|
8253
|
+
allocations: KaminoKvaultEarnVault['allocations'];
|
|
8254
|
+
createdAt: number;
|
|
8255
|
+
minDepositAmount: string;
|
|
8256
|
+
}
|
|
7721
8257
|
type OriginSavingsRow = OriginVaultCommon & {
|
|
7722
8258
|
provider: 'savings';
|
|
7723
8259
|
metaTable: 'vault_savings_meta';
|
|
@@ -7738,8 +8274,13 @@ type OriginLoopscaleRow = OriginVaultCommon & {
|
|
|
7738
8274
|
metaTable: 'vault_loopscale_meta';
|
|
7739
8275
|
meta: OriginLoopscaleMeta;
|
|
7740
8276
|
};
|
|
8277
|
+
type OriginKaminoKvaultRow = OriginVaultCommon & {
|
|
8278
|
+
provider: 'kamino-kvault';
|
|
8279
|
+
metaTable: 'vault_kamino_kvault_meta';
|
|
8280
|
+
meta: OriginKaminoKvaultMeta;
|
|
8281
|
+
};
|
|
7741
8282
|
/** One `vaults_latest` row + its meta — structurally a yield-tracer `VaultIngestRow` (`metaTable` is extra and ignored by it). */
|
|
7742
|
-
type OriginVaultRow = OriginSavingsRow | OriginLstRow | OriginJupiterLendRow | OriginLoopscaleRow;
|
|
8283
|
+
type OriginVaultRow = OriginSavingsRow | OriginLstRow | OriginJupiterLendRow | OriginLoopscaleRow | OriginKaminoKvaultRow;
|
|
7743
8284
|
/**
|
|
7744
8285
|
* The `exponent_vaults_latest` row — yield-tracer's `PendleVaultRow`
|
|
7745
8286
|
* (`buildPendleRow`'s output) plus the three Exponent columns. Every column
|
|
@@ -7795,10 +8336,17 @@ declare function lstOriginRow(r: LstEarnVault): OriginLstRow;
|
|
|
7795
8336
|
declare function jupiterLendOriginRow(r: JupiterLendEarnVault): OriginJupiterLendRow;
|
|
7796
8337
|
/** A curated Loopscale Vault → `loopscale`: `vaultAddress` = the LP mint, the vault account in the meta. */
|
|
7797
8338
|
declare function loopscaleOriginRow(r: LoopscaleEarnVault): OriginLoopscaleRow;
|
|
8339
|
+
/**
|
|
8340
|
+
* A Kamino kvault → `kamino-kvault`. `vaultAddress` = the VAULT STATE (the
|
|
8341
|
+
* uid pos-indexer's decoder builds, `vault.kamino-kvault:solana:<vault>`);
|
|
8342
|
+
* the share mint is `meta.shareMint` and `shareAsset`. Fee = the
|
|
8343
|
+
* performance fee in percent.
|
|
8344
|
+
*/
|
|
8345
|
+
declare function kaminoKvaultOriginRow(r: KaminoKvaultEarnVault): OriginKaminoKvaultRow;
|
|
7798
8346
|
/** An Exponent PT → `exponent_vaults_latest` (the `buildPendleRow` leg + three columns). */
|
|
7799
8347
|
declare function exponentOriginRow(r: ExponentPtMarket): ExponentOriginRow;
|
|
7800
8348
|
/** Any Solana 4626-shaped earn row → its origin row, by family. */
|
|
7801
|
-
declare function toOriginVaultRow(r: SolsticeVault | HumaVault | LstEarnVault | JupiterLendEarnVault | LoopscaleEarnVault): OriginVaultRow;
|
|
8349
|
+
declare function toOriginVaultRow(r: SolsticeVault | HumaVault | LstEarnVault | JupiterLendEarnVault | LoopscaleEarnVault | KaminoKvaultEarnVault): OriginVaultRow;
|
|
7802
8350
|
|
|
7803
8351
|
interface KaminoOracleEntryOptions extends KaminoApiOptions {
|
|
7804
8352
|
/** unix seconds; defaults to now — the reference for each price's own `maxAgeInSeconds`. */
|
|
@@ -7855,23 +8403,35 @@ declare function fetchJupiterLendOracleEntries(opts?: JupiterLendApiOptions): Pr
|
|
|
7855
8403
|
[lender: string]: OraclePriceEntry[];
|
|
7856
8404
|
}>;
|
|
7857
8405
|
|
|
7858
|
-
|
|
7859
|
-
* Save's reserve prices — the stored `liquidity.marketPrice` of every served
|
|
7860
|
-
* reserve, USD × 1e18 as of the reserve's last refresh (minutes old on
|
|
7861
|
-
* touched reserves; can be DAYS old on a dormant one, hence `feedUpdatedAt`
|
|
7862
|
-
* is absent and `description` carries the slot). Pyth pull for the majors,
|
|
7863
|
-
* Switchboard On-Demand for the tail; every SOL-LST is the SOL feed × the
|
|
7864
|
-
* reserve's `scaledPriceOffsetBPS` dial, and says so.
|
|
7865
|
-
*
|
|
7866
|
-
* This is the Solana side's second price source after Kamino's, and the
|
|
7867
|
-
* first to cover the SOL-LST basket (mSOL, bSOL, JitoSOL, JupSOL, saveSOL …).
|
|
7868
|
-
*/
|
|
7869
|
-
declare function fetchSaveOracleEntries(opts?: FetchSavePublicOptions & {
|
|
8406
|
+
interface FetchSaveOracleOptions extends FetchSavePublicOptions {
|
|
7870
8407
|
/** Reuse an already-fetched public response instead of fetching. */
|
|
7871
8408
|
publicData?: {
|
|
7872
8409
|
[lender: string]: SavePublicResponse;
|
|
7873
8410
|
};
|
|
7874
|
-
|
|
8411
|
+
/** For the feed reads; the package's default public pool otherwise. */
|
|
8412
|
+
rpc?: SvmRpc;
|
|
8413
|
+
/** `false` = the stored reserve price only (no RPC). Default true. */
|
|
8414
|
+
live?: boolean;
|
|
8415
|
+
}
|
|
8416
|
+
/**
|
|
8417
|
+
* Save's reserve prices, read off the FEEDS the reserves name: the Pyth
|
|
8418
|
+
* `PriceUpdateV2` (`pythOracle`) or the Switchboard account
|
|
8419
|
+
* (`switchboardOracle` — On-Demand pull feed, or a V2 aggregator on old
|
|
8420
|
+
* reserves), plus the legacy Pyth price account on a few. Of the reserve's
|
|
8421
|
+
* readable feeds the most recently updated one is used — the program reads
|
|
8422
|
+
* Pyth first and falls back to Switchboard when Pyth is stale, so the
|
|
8423
|
+
* freshest feed is the one a refresh would land on. Every SOL-LST is the SOL
|
|
8424
|
+
* feed × the reserve's `scaledPriceOffsetBPS` dial, applied here as the
|
|
8425
|
+
* program does (`price × (1 + bps / 1e4)`).
|
|
8426
|
+
*
|
|
8427
|
+
* `feedUpdatedAt` is the FEED's own timestamp: a live feed reads fresh even
|
|
8428
|
+
* when the reserve has not been refreshed for days, and a dead feed (a
|
|
8429
|
+
* Switchboard V2 aggregator, an uncranked pull feed) reads as old as it is.
|
|
8430
|
+
* When no feed decodes (no RPC, an unknown owner), the reserve's STORED
|
|
8431
|
+
* `liquidity.marketPrice` is served as before — with no `feedUpdatedAt`,
|
|
8432
|
+
* because its age is the reserve's, not a feed's.
|
|
8433
|
+
*/
|
|
8434
|
+
declare function fetchSaveOracleEntries(opts?: FetchSaveOracleOptions): Promise<{
|
|
7875
8435
|
[lender: string]: OraclePriceEntry[];
|
|
7876
8436
|
}>;
|
|
7877
8437
|
|
|
@@ -7883,6 +8443,8 @@ interface FetchOraclePricesOptions extends KaminoApiOptions {
|
|
|
7883
8443
|
};
|
|
7884
8444
|
/** Restrict to these fetchers (`['kamino']`). */
|
|
7885
8445
|
onlyFetchers?: string[];
|
|
8446
|
+
/** The pool for the on-chain reads (Save's feeds, Project 0's banks + feeds); the package's default public pool otherwise. */
|
|
8447
|
+
rpc?: SvmRpc;
|
|
7886
8448
|
}
|
|
7887
8449
|
/**
|
|
7888
8450
|
* margin-fetcher's `fetchOraclePrices`, reduced: per chain, run every
|
|
@@ -7891,7 +8453,8 @@ interface FetchOraclePricesOptions extends KaminoApiOptions {
|
|
|
7891
8453
|
* `failedChains`, never silently empty — the yield-tracer cron logs it.
|
|
7892
8454
|
*
|
|
7893
8455
|
* Five fetchers: Kamino (its API's oracle prices), Jupiter Lend (the
|
|
7894
|
-
* vault oracle per vault), Save (each reserve's
|
|
8456
|
+
* vault oracle per vault), Save (each reserve's Pyth / Switchboard feed,
|
|
8457
|
+
* read live; the stored `marketPrice` when no feed decodes),
|
|
7895
8458
|
* Loopscale (USD derived from its API — the only reader of the RWA
|
|
7896
8459
|
* collaterals its book is made of) and Project 0 (the bank's Pyth feed ×
|
|
7897
8460
|
* its stake-pool rate, live — the only reader of the native-stake tokens).
|
|
@@ -8885,4 +9448,4 @@ declare function loopscaleTermAdapter(m: LoopscaleMarketMeta, term?: LoopscaleTe
|
|
|
8885
9448
|
*/
|
|
8886
9449
|
declare function project0TermAdapter(row: P0PoolData, group?: P0GroupMeta): DeepPartial<TermSheet>;
|
|
8887
9450
|
|
|
8888
|
-
export { type Base58, type BasketParams, type ConvertContext, type ConvertJupiterLendOptions, type ConvertLoopscaleOptions, type ConvertLoopscaleUserOptions, DEFAULT_ELEVATION_GROUP, type DecimalString, type DecodedStakePool, type Denomination, EXPONENT_API_BASE, EXPONENT_PROGRAMS, type EusxRate, type ExponentApi, type ExponentApiOptions, type ExponentAssetRef, type ExponentOriginRow, type ExponentPtMarket, type ExponentPtMarkets, type ExponentSyToken, type ExponentToken, type ExponentVault, FLUID_ORACLE_DECIMALS, FLUID_VAULT_TYPE_T1, type FetchExponentPtOptions, type FetchHumaVaultsOptions, type FetchJupiterLendPublicOptions, type FetchKaminoPublicOptions, type FetchKaminoUserOnchainOptions, type FetchKaminoUserOptions, type FetchLenderAllOptions, type FetchLoopscaleEarnVaultsOptions, type FetchLoopscalePublicOptions, type FetchLoopscaleUserOptions, type FetchLstVaultsOptions, type FetchOraclePricesOptions, type FetchP0PublicOptions, type FetchP0UserOptions, type FetchSavePublicOptions, type FetchSaveUserOptions, type FetchSolsticeUserOptions, type FetchSolsticeVaultsOptions, type FetchUserAllOptions, type GetLenderPublicDataAllOptions, HUMA_CLASSIC_MODE_ID, HUMA_DECIMALS, HUMA_IDL, HUMA_MPST_MINT, HUMA_POOL, HUMA_PROGRAM, HUMA_PST_MINT, HUMA_REDEMPTION_REQUEST_SIZE, HUMA_REDEMPTION_SLA_SECONDS, HUMA_SEEDS, HttpError, type HttpOptions, type HumaChainState, type HumaConvertContext, type HumaInstantWithdrawalFeeConfig, type HumaLenderState, type HumaModeConfig, type HumaModeState, type HumaPoolConfig, type HumaPoolState, type HumaRedemptionGating, type HumaRedemptionRequest, type HumaVault, type HumaVaults, JL_BPS, JL_FACTOR_SCALE, JL_ORACLE_DECIMALS, JL_ORACLE_SCALE, JUPITER_LEND_API_BASE, JUPITER_LEND_KEYED_API_BASE, JUPITER_LEND_MARKETS, JUPITER_LEND_PROFILE_ID, JUPITER_LEND_PROGRAMS, JUPITER_PRICE_API_BASE, JUPITER_PRICE_KEYED_API_BASE, JUP_FLASHLOAN_IDL, JUP_FLASHLOAN_PROGRAMS, JUP_LIQUIDITY_PROGRAMS, type JupFlashloanAdmin, type JupiterLendApi, type JupiterLendApiOptions, type JupiterLendBorrowPosition, type JupiterLendBundleParams, type JupiterLendConfigEntry, type JupiterLendConversion, type JupiterLendEarnPosition, type JupiterLendEarnToken, type JupiterLendEarnVault, type JupiterLendFluidSide, type JupiterLendFluidVault, type JupiterLendLiquidityBorrowData, type JupiterLendLiquiditySupplyData, type JupiterLendMarket, type JupiterLendMarketId, type JupiterLendOracleSource, type JupiterLendPoolData, type JupiterLendPublicResponse, type JupiterLendSkipReason, type JupiterLendToken, type JupiterLendUserExt, type JupiterLendUserResult, type JupiterLendVault, type JupiterLendVaultMeta, type JupiterPriceApiOptions, type JupiterPriceMap, KAMINO_API_BASE, KAMINO_MAIN_MARKET, KAMINO_MARKET_DENYLIST, KAMINO_MIN_MARKET_DEPOSITS_USD, KAMINO_OBLIGATION_TAGS, KAMINO_PRICE_AGREEMENT, KAMINO_PROFILE_ID, KLEND_COLLATERAL_MINT_DECIMALS, KLEND_IDL, KLEND_MARKET_SIZE, KLEND_OBLIGATION_DISCRIMINATOR, KLEND_OBLIGATION_OWNER_OFFSET, KLEND_OBLIGATION_SIZE, KLEND_PROGRAM_ID, KLEND_RESERVE_FLASH_SLICE, KLEND_RESERVE_SIZE, KLEND_RESERVE_SLICE, KLEND_U64_MAX, type KaminoApi, type KaminoApiOptions, type KaminoApiUserExt, type KaminoApyWindows, type KaminoBorrowReserveTerms, type KaminoCapBucket, type KaminoCollateralReserve, type KaminoCompoundMetadata, type KaminoConfigEntry, type KaminoLeveragePair, type KaminoLoanBorrow, type KaminoLoanDeposit, type KaminoLoanInfo, type KaminoMarketConfig, type KaminoMarketInputs, type KaminoMarketMeta, type KaminoMarketPrices, type KaminoModeContext, type KaminoObligation, type KaminoObligationLegs, type KaminoObligationView, type KaminoOnchainUserExt, type KaminoOracleEntryOptions, type KaminoOraclePrice, type KaminoOraclePriceMap, type KaminoPairIncentive, type KaminoPoolData, type KaminoPublicConversion, type KaminoPublicResponse, type KaminoRateBasis, type KaminoRateType, type KaminoReserveAccountData, type KaminoReserveExt, type KaminoReserveInputs, type KaminoReserveMetrics, type KaminoReserveMetricsDetail, type KaminoReserveRisk, type KaminoReserveState, type KaminoReserveStats, type KaminoReserveStatus, type KaminoRewardApy, type KaminoUserContext, type KaminoUserError, type KaminoUserObligationRef, type KaminoWithdrawalCapStats, type KaminoWithdrawalCapView, type KlendElevationGroupTerms, type KlendMarketChain, type KlendObligationReserves, type KlendReserveChain, type KlendReserveFlash, type KlendWithdrawalCap, LENDER_BRAND_NAMES, LOANS_PAGE, LOOPSCALE_ACCOUNT_DISCRIMINATORS, LOOPSCALE_API_BASE, LOOPSCALE_BEAM_ORACLE_PROGRAM_ID, LOOPSCALE_CONFIG_LABEL, LOOPSCALE_DOCS_URL, LOOPSCALE_GRACE_PERIOD_SECS, LOOPSCALE_IDL, LOOPSCALE_OPEN_LOANS, LOOPSCALE_PROFILE_ID, LOOPSCALE_PROGRAM_ID, LS_CBPS, LS_NO_ACCOUNT, LS_TENORS, LS_U64_MAX, type LayerTotals, type LenderBundle, type LenderPublicDataMap, type LenderPublicResponse, type LendingBasketMeta, type ListServedMarketsOptions, type LoopscaleApi, type LoopscaleApiOptions, type LoopscaleAssetData, type LoopscaleAssetTerms, type LoopscaleBestOffer, type LoopscaleCapMonitor, type LoopscaleCapsDecoded, type LoopscaleCollateralAccount, type LoopscaleConfigEntry, type LoopscaleConversion, type LoopscaleDuration, type LoopscaleDurationAndApy, type LoopscaleEarnVault, type LoopscaleExternalYieldInfo, type LoopscaleFixedTerm, type LoopscaleLadderLevel, type LoopscaleLedger, type LoopscaleLedgerAccount, type LoopscaleLedgerTerm, type LoopscaleLendingVaultInfo, type LoopscaleLoanAccount, type LoopscaleLoanBook, type LoopscaleLoanCollateral, type LoopscaleLoanDecoded, type LoopscaleLoanPiece, type LoopscaleLoanSummaryItem, type LoopscaleLoansRequest, type LoopscaleLoansResponse, type LoopscaleLoopInfo, type LoopscaleLoopsResponse, type LoopscaleMarketAsset, type LoopscaleMarketInfoDecoded, type LoopscaleMarketMeta, type LoopscaleMarketTerm, type LoopscaleMaxQuote, type LoopscaleMaxQuoteRequest, type LoopscaleMorphoMarket, type LoopscaleOfferingVault, type LoopscaleOpenParameter, type LoopscaleOracleRef, type LoopscalePair, type LoopscalePairBook, type LoopscalePieceLedger, type LoopscalePoolData, type LoopscalePrincipalCaps, type LoopscalePublicResponse, type LoopscaleQuoteOffer, type LoopscaleQuoteRequest, type LoopscaleRewardsSchedule, type LoopscaleRosterOptions, type LoopscaleStrategyAccount, type LoopscaleStrategyDecoded, type LoopscaleStrategyInfo, type LoopscaleStrategySummary, type LoopscaleStrategyTerms, type LoopscaleTerm, type LoopscaleTermId, type LoopscaleTotals, type LoopscaleUserExt, type LoopscaleUserLedger, type LoopscaleUserLoan, type LoopscaleUserPosition, type LoopscaleUserResult, type LoopscaleVaultAccount, type LoopscaleVaultMetadata, type LoopscaleVaultsRequest, type LoopscaleVaultsResponse, type LstConvertContext, type LstEarnVault, type LstEntry, type LstStakingApySource, type MarketOverrides, ORACLE_CANONICAL_SIZE, type OraclePriceEntry, type OraclePriceMap, type OriginJupiterLendMeta, type OriginJupiterLendRow, type OriginLoopscaleMeta, type OriginLoopscaleRow, type OriginLstMeta, type OriginLstMetaAdditions, type OriginLstRow, type OriginSavingsMeta, type OriginSavingsRow, type OriginVaultCommon, type OriginVaultProvider, type OriginVaultRow, type OriginWithdrawalMode, type P0AccountView, type P0Api, type P0ApiOptions, type P0AssetTag, type P0Balance, type P0BalanceView, type P0Bank, type P0BankCache, type P0BankConfig, type P0BankDto, type P0BankExt, type P0BankInputs, type P0BankMeta, type P0BankMetaMap, type P0BankPrice, type P0BankRef, type P0CircuitBreakerState, type P0ConfigEntry, type P0ConvertContext, type P0EmodeEntry, type P0EmodeLift, type P0EmodeRoster, type P0EmodeSettings, type P0EmodeTag, type P0Group, type P0GroupInputs, type P0GroupMeta, type P0HealthCache, type P0Integration, type P0InterestRateConfig, type P0MarginfiAccount, type P0OnChainBankMeta, type P0OperationalState, type P0OracleSetup, type P0PoolData, type P0PriceMap, type P0PriceResolution, type P0PublicConversion, type P0PublicResponse, type P0RateLimitWindow, type P0RateLimiter, type P0RatePoint, type P0Rates, type P0RiskTier, type P0StateSemantics, type P0UnservedBalance, type P0UserExt, type P0UserResponse, type P0VenueMultiplier, type P0VenueMultiplierMap, P0_ACCOUNT_AUTHORITY_OFFSET, P0_ACCOUNT_FLAGS, P0_ACCOUNT_GROUP_OFFSET, P0_ADJUSTED_CACHE_SETUPS, P0_API_BASE, P0_ASSET_TAG, P0_BANK_CONFIG_PYTH_PUSH_MIGRATED, P0_BANK_DISCRIMINATOR, P0_BANK_FLAGS, P0_BANK_GROUP_OFFSET, P0_BANK_SIZE, P0_CACHED_PRICE_MULTIPLIER_SETUPS, P0_DEFAULT_LIQUIDATION_FEE, P0_EMODE_BASE_LABEL, P0_EMODE_ON, P0_GROUP_PROGRAM_FEES_ENABLED, P0_GROUP_SIZE, P0_I80F48_FRACTION_BITS, P0_IDL, P0_LIQUIDATION_CLOSEOUT_USD, P0_LOOKUP_TABLES, P0_MAIN_GROUP, P0_MARGINFI_ACCOUNT_DISCRIMINATOR, P0_MARGINFI_ACCOUNT_SIZE, P0_MAX_BALANCES, P0_MAX_EMODE_ENTRIES, P0_NATIVE_STAKE_LOOKUP_TABLES, P0_PAUSE_DURATION_SECONDS, P0_PROGRAM_ID, P0_PYTH_PUSH_SETUPS, P0_SECONDS_PER_YEAR, P0_SEEDS, P0_STAGING_GROUP, P0_STAGING_PROGRAM_ID, P0_STAKE_POOL_PROGRAMS, P0_SVSP_PHANTOM_TOKEN_AMOUNT, P0_U32_MAX, P0_U64_MAX, PROJECT_0_PROFILE_ID, PYTH_PRICE_UPDATE_V2_DISCRIMINATOR, PYTH_RECEIVER_PROGRAM, type PythPriceUpdate, type ResolveP0PricesOptions, type RewardsList, SAVE_API_BASE, SAVE_CREATOR, SAVE_DEFAULT_AVG_SLOT_SECONDS, SAVE_DEFAULT_OBLIGATION_PROBE, SAVE_FULL_LIQUIDATION_VALUE_USD, SAVE_INITIAL_EXCHANGE_RATE_WAD, SAVE_LIQUIDATION_CLOSE_FACTOR, SAVE_MAIN_MARKET, SAVE_MARKET_DENYLIST, SAVE_MAX_BONUS_PCT, SAVE_MAX_LIQUIDATABLE_VALUE_USD, SAVE_MAX_OBLIGATION_PROBE, SAVE_MAX_OBLIGATION_RESERVES, SAVE_NULL_ORACLE, SAVE_OBLIGATION_SIZE, SAVE_POSITION_LIMIT, SAVE_PROFILE_ID, SAVE_PROFILE_ID_PROSE, SAVE_PROGRAM_ID, SAVE_RESERVE_SIZE, SAVE_SLOTS_PER_YEAR, SAVE_U64_MAX, SAVE_UNBORROWABLE_BORROW_FACTOR, SAVE_WAD, SAVE_WALLET_POS_ID, SECONDS_PER_YEAR, SETTLEMENT_BATCH_SIZE, SOLANA_CHAIN_ID, SOLSTICE_APP_API_BASE, SOLSTICE_DECIMALS, SOLSTICE_MINTS, SOLSTICE_PRICE_DECIMALS, SOLSTICE_PROGRAMS, SOLSTICE_STRATEGIES, SOLSTICE_YIELD_STRATEGY_IDL, SOLSTICE_YIELD_VAULT_IDL, SPL_STAKE_POOL_LSTS, SPL_STAKE_POOL_PROGRAM, STABLECOIN_SYMBOLS, STAKE_ACCOUNT_RENT_EXEMPT_LAMPORTS, type SaveApi, type SaveApiOptions, type SaveCompoundV2Metadata, type SaveLastUpdate, type SaveLiquidityToken, type SaveMarketConfig, type SaveMarketInputs, type SaveMarketMeta, type SaveObligation, type SaveObligationBorrow, type SaveObligationDeposit, type SaveObligationView, type SavePoolData, type SavePublicConversion, type SavePublicResponse, type SaveRateLimiter, type SaveRates, type SaveReserveAccount, type SaveReserveCollateral, type SaveReserveConfig, type SaveReserveConfigState, type SaveReserveExt, type SaveReserveFees, type SaveReserveInputs, type SaveReserveLiquidity, type SaveReserveRef, type SaveReserveState, type SaveReservesResponse, type SaveRosterOptions, type SaveUnservedLeg, type SaveUserExt, type SaveUserResponse, type SaveWalletCTokenView, type ServedMarket, type SolanaPoolData, type SolanaSubAccountInfo, type SolanaUserPosition, type SolanaUserPositions, type SolanaUserResult, type SolsticeAccountingState, type SolsticeApiOptions, type SolsticeAppApi, type SolsticeChainState, type SolsticeController, type SolsticeConvertContext, type SolsticeCooldownEscrow, type SolsticeHolding, type SolsticeJuniorUnlockShare, type SolsticeOraclePrice, type SolsticePending, type SolsticeProtocolStats, type SolsticeSeniorUnlockCooldown, type SolsticeSettlementBatch, type SolsticeSettlementBatchView, type SolsticeStrategy, type SolsticeStrategyController, type SolsticeStrategyMode, type SolsticeStrategyName, type SolsticeStrategyPdas, type SolsticeUserPositions, type SolsticeVault, type SolsticeVaults, type SolsticeVestingSchedule, type SolsticeYieldPool, type SolsticeYieldVaultPdas, type StakePoolFee, type StructuredOraclePrices, TERM_PROFILES, type TokenListInput, type TrancheRates, type USDPriceMap, WSOL_MINT, type WireU64, type YieldProfile, accountDiscriminator, aggregateLoopscaleLoanBook, apyFractionToAprPercent, attributeBestOffer, attributeLoopscaleLoan, bigMax0, bpsToPercent, buildKaminoConfig, buildKaminoEModes, buildKaminoMarketMeta, buildLoopscaleRoster, buildLoopscaleTerms, buildP0EModes, buildSolsticeVaults, capOrUndefined, cbpsToFraction, cbpsToPercent, cbpsToWad, convertEusx, convertExponentVault, convertHumaPst, convertJupiterLendEarnToken, convertJupiterLendOracleEntries, convertJupiterLendUserPositions, convertJupiterLendVault, convertKaminoLoans, convertKaminoMarket, convertKaminoOraclePrices, convertKaminoReserve, convertLoopscalePair, convertLoopscaleUser, convertLoopscaleVault, convertLst, convertP0Bank, convertP0Group, convertSaveMarket, convertSaveReserve, convertTranche, createExponentApi, createJupiterLendApi, createKaminoApi, createLimiter, createLoopscaleApi, createMarketUid, createP0Api, createPacer, createSaveApi, createSolsticeAppApi, createWithSeed, decimalStringToI80F48, decodeAccountingState, decodeController, decodeCooldownEscrow, decodeHumaLenderState, decodeHumaModeConfig, decodeHumaPoolConfig, decodeHumaPoolState, decodeHumaRedemptionRequest, decodeJuniorUnlockShare, decodeJupFlashloanAdmin, decodeKaminoObligation, decodeKaminoReserveState, decodeLoopscaleLoan, decodeLoopscaleMarketInformation, decodeLoopscaleStrategy, decodeOracleCanonical, decodeP0Bank, decodeP0BankMetadata, decodeP0Group, decodeP0MarginfiAccount, decodePythPriceUpdate, decodeSaveObligation, decodeSeniorUnlockCooldown, decodeSettlementBatch, decodeStakePool, decodeStrategy, decodeStrategyController, decodeVestingSchedule, decodeYieldPool, denominationOf, deriveLayerTotals, deriveLoopscalePrices, deriveP0Mode, describeBasket, describeKaminoObligation, durationDays, epochRatePercent, epochRealizedApr, eusxAssetsToShares, eusxEpochRatePercent, eusxRate, eusxSharesToAssets, exchangeRateWad, exponentOriginRow, feeBps, fetchExponentPtMarkets, fetchHumaPstVaults, fetchJupiterLendEarnVaults, fetchJupiterLendOracleEntries, fetchJupiterLendPublic, fetchJupiterLendUser, fetchJupiterPrices, fetchKaminoOracleEntries, fetchKaminoOraclePrices, fetchKaminoPublic, fetchKaminoUser, fetchKaminoUserOnchain, fetchLenderAll, fetchLoopscaleEarnVaults, fetchLoopscaleLoanBook, fetchLoopscalePublic, fetchLoopscaleUser, fetchLstVaults, fetchOraclePrices, fetchProject0Public, fetchProject0User, fetchSaveOracleEntries, fetchSavePublic, fetchSaveUser, fetchSolsticeSettlementBatches, fetchSolsticeUser, fetchSolsticeVaults, fetchUserAll, formatRawUnits, getJson, getLenderPublicData, getLenderPublicDataAll, getLendersForChain, getTermProfile, humaDeploymentStatePda, humaLenderStatePda, humaModeConfigPda, humaModeMintPda, humaOriginRow, humaPoolAuthorityPda, humaPoolConfigPda, humaPoolStatePda, humaRedemptionRequestPda, i80f48ToDecimalString, i80f48ToNumber, isBorrowable, isLenderBrand, isLiveVault, isNullKey, isP0FixedSetup, isP0U64Max, isSaveBorrowable, isSaveUnrealizable, isStablecoinSymbol, isStaleKaminoPrice, isSyntheticQuoteMint, isU64Max, isUncapped, jlOraclePriceInBorrow, jlOracleToFluidRaw, joinableBatch, juniorUnlockSharePda, jupFlashBorrowPosition, jupFlashloanAdmin, jupLiquidity, jupLiquidityReserve, jupLiquidityVault, jupRateModel, jupiterLendCurrency, jupiterLendOriginRow, jupiterLendTermAdapter, kaminoAsset, kaminoBorrowFactorToRow, kaminoCloseFactor, kaminoDefaultEntry, kaminoGroupLabel, kaminoOracleEntriesFromMarkets, kaminoRewards, kaminoRiskByReserve, kaminoTagLabel, kaminoTermAdapter, klendMarketAuthority, klendObligationPda, ledgerFaceAt, ledgerInterestAt, ledgerPrincipal, lenderBrandName, lenderDisplayName, liquidityRatio, listServedMarkets, loopscaleOriginRow, loopscaleTermAdapter, lstOriginRow, maxLeverageOf, mintSupply, normalizeP0BankDto, num, obligationPubkey, oracleCanonicalPda, p0BankMetadataPda, p0BankRef, p0CurveKnots, p0DecimalString, p0EmodeRoster, p0FeeState, p0GroupPausedAt, p0Integration, p0LegacyBaseRate, p0LiquidationFee, p0LiquidityVault, p0LiquidityVaultAuthority, p0MarginfiAccountPda, p0MultipointBaseRate, p0NeedsVenueMultiplier, p0Rates, p0StateSemantics, p0SupplyCapTokens, p0Utilization, parseExpirySeconds, pieceLqt, podBool, podDecimalToNumber, podToBigInt, podToNumber, postJson, project0TermAdapter, readEpochClock, readHumaChainState, readHumaLenderState, readHumaRedemptionRequests, readJupFlashAssets, readJupFlashAvailable, readJupFlashloanAdmin, readKlendElevationGroups, readKlendFlashFacts, readKlendLendingMarket, readKlendMarketState, readKlendObligationReserves, readKlendReserveChain, readKlendReserveFlash, readLoopscaleLoans, readLoopscaleMarketInformation, readP0BankMetadata, readP0Banks, readReserveLamports, readSolsticeChainState, readStakePools, registriesToRead, resolveP0Prices, sameDuration, saveAssetGroup, saveBorrowCurvePercent, saveBorrowedRaw, saveExchangeRateWad, saveLiquidationPenalty, saveObligationAddress, saveObligationSeed, saveRates, saveReserveRef, saveSlotYearScale, saveTermAdapter, saveTotalSupplyWads, saveUtilization, scaledToDecimal, scanP0Banks, selectAssetGroupPrices, selectSaveMarkets, seniorCooldownPdas, settlementBatchPdas, solsticeOriginRow, strategyMode, strategyNameOf, strategyPdas, strategyTvlRaw, tenorOf, termIdOf, toOriginVaultRow, tokenAmount, trancheAssetsToShares, trancheRates, trancheSharesToAssets, u32ToBasis, u32ToCenti, u32ToMilli, unvestedAt, valueKaminoObligations, wadToNumber, wadsToFloat, yieldVaultCooldownPdas, yieldVaultPdas };
|
|
9451
|
+
export { type Base58, type BasketParams, type ConvertContext, type ConvertJupiterLendOptions, type ConvertLoopscaleOptions, type ConvertLoopscaleUserOptions, DEFAULT_ELEVATION_GROUP, type DecimalString, type DecodedStakePool, type Denomination, EXPONENT_API_BASE, EXPONENT_PROGRAMS, type EusxRate, type ExponentApi, type ExponentApiOptions, type ExponentAssetRef, type ExponentOriginRow, type ExponentPtMarket, type ExponentPtMarkets, type ExponentSyToken, type ExponentToken, type ExponentVault, FLUID_ORACLE_DECIMALS, FLUID_VAULT_TYPE_T1, type FetchExponentPtOptions, type FetchHumaVaultsOptions, type FetchJupiterLendPublicOptions, type FetchKaminoKvaultsOptions, type FetchKaminoPublicOptions, type FetchKaminoUserOnchainOptions, type FetchKaminoUserOptions, type FetchLenderAllOptions, type FetchLoopscaleEarnVaultsOptions, type FetchLoopscalePublicOptions, type FetchLoopscaleUserOptions, type FetchLstVaultsOptions, type FetchOraclePricesOptions, type FetchP0PublicOptions, type FetchP0UserOptions, type FetchSaveOracleOptions, type FetchSavePublicOptions, type FetchSaveUserOptions, type FetchSolsticeUserOptions, type FetchSolsticeVaultsOptions, type FetchUserAllOptions, type GetLenderPublicDataAllOptions, HUMA_CLASSIC_MODE_ID, HUMA_DECIMALS, HUMA_IDL, HUMA_MPST_MINT, HUMA_POOL, HUMA_PROGRAM, HUMA_PST_MINT, HUMA_REDEMPTION_REQUEST_SIZE, HUMA_REDEMPTION_SLA_SECONDS, HUMA_SEEDS, HttpError, type HttpOptions, type HumaChainState, type HumaConvertContext, type HumaInstantWithdrawalFeeConfig, type HumaLenderState, type HumaModeConfig, type HumaModeState, type HumaPoolConfig, type HumaPoolState, type HumaRedemptionGating, type HumaRedemptionRequest, type HumaVault, type HumaVaults, JL_BPS, JL_EXCHANGE_PRICES_PRECISION, JL_FACTOR_SCALE, JL_ORACLE_DECIMALS, JL_ORACLE_SCALE, JL_VAULTS_ACCOUNTS_IDL, JL_VAULT_AMOUNT_DECIMALS, JUPITER_LEND_API_BASE, JUPITER_LEND_KEYED_API_BASE, JUPITER_LEND_MARKETS, JUPITER_LEND_PROFILE_ID, JUPITER_LEND_PROGRAMS, JUPITER_PRICE_API_BASE, JUPITER_PRICE_KEYED_API_BASE, JUP_DEX_PROGRAM, JUP_FLASHLOAN_IDL, JUP_FLASHLOAN_PROGRAMS, JUP_LIQUIDITY_PROGRAMS, JUP_VAULTS_PROGRAMS, type JlOnchainVault, type JupFlashloanAdmin, type JupiterLendApi, type JupiterLendApiOptions, type JupiterLendBorrowPosition, type JupiterLendBundleParams, type JupiterLendConfigEntry, type JupiterLendConversion, type JupiterLendEarnPosition, type JupiterLendEarnToken, type JupiterLendEarnVault, type JupiterLendFluidSide, type JupiterLendFluidVault, type JupiterLendLiquidityBorrowData, type JupiterLendLiquiditySupplyData, type JupiterLendMarket, type JupiterLendMarketId, type JupiterLendOracleSource, type JupiterLendPoolData, type JupiterLendPublicResponse, type JupiterLendSkipReason, type JupiterLendToken, type JupiterLendUserExt, type JupiterLendUserResult, type JupiterLendVault, type JupiterLendVaultMeta, type JupiterPriceApiOptions, type JupiterPriceMap, KAMINO_API_BASE, KAMINO_MAIN_MARKET, KAMINO_MARKET_DENYLIST, KAMINO_MIN_MARKET_DEPOSITS_USD, KAMINO_OBLIGATION_TAGS, KAMINO_PRICE_AGREEMENT, KAMINO_PROFILE_ID, KLEND_COLLATERAL_MINT_DECIMALS, KLEND_IDL, KLEND_MARKET_SIZE, KLEND_OBLIGATION_DISCRIMINATOR, KLEND_OBLIGATION_OWNER_OFFSET, KLEND_OBLIGATION_SIZE, KLEND_PROGRAM_ID, KLEND_RESERVE_FLASH_SLICE, KLEND_RESERVE_SIZE, KLEND_RESERVE_SLICE, KLEND_U64_MAX, KVAULT_PROGRAM_ID, type KaminoApi, type KaminoApiOptions, type KaminoApiUserExt, type KaminoApyWindows, type KaminoBorrowReserveTerms, type KaminoCapBucket, type KaminoCollateralReserve, type KaminoCompoundMetadata, type KaminoConfigEntry, type KaminoKvault, type KaminoKvaultAllocation, type KaminoKvaultApi, type KaminoKvaultApiOptions, type KaminoKvaultEarnVault, type KaminoKvaultMetrics, type KaminoKvaultState, type KaminoLeveragePair, type KaminoLoanBorrow, type KaminoLoanDeposit, type KaminoLoanInfo, type KaminoMarketConfig, type KaminoMarketInputs, type KaminoMarketMeta, type KaminoMarketPrices, type KaminoModeContext, type KaminoObligation, type KaminoObligationLegs, type KaminoObligationView, type KaminoOnchainUserExt, type KaminoOracleEntryOptions, type KaminoOraclePrice, type KaminoOraclePriceMap, type KaminoPairIncentive, type KaminoPoolData, type KaminoPublicConversion, type KaminoPublicResponse, type KaminoRateBasis, type KaminoRateType, type KaminoReserveAccountData, type KaminoReserveExt, type KaminoReserveInputs, type KaminoReserveMetrics, type KaminoReserveMetricsDetail, type KaminoReserveRisk, type KaminoReserveState, type KaminoReserveStats, type KaminoReserveStatus, type KaminoRewardApy, type KaminoUserContext, type KaminoUserError, type KaminoUserObligationRef, type KaminoWithdrawalCapStats, type KaminoWithdrawalCapView, type KlendElevationGroupTerms, type KlendMarketChain, type KlendObligationReserves, type KlendReserveChain, type KlendReserveFlash, type KlendWithdrawalCap, LENDER_BRAND_NAMES, LOANS_PAGE, LOOPSCALE_ACCOUNT_DISCRIMINATORS, LOOPSCALE_API_BASE, LOOPSCALE_BEAM_ORACLE_PROGRAM_ID, LOOPSCALE_CONFIG_LABEL, LOOPSCALE_DOCS_URL, LOOPSCALE_GRACE_PERIOD_SECS, LOOPSCALE_IDL, LOOPSCALE_OPEN_LOANS, LOOPSCALE_PROFILE_ID, LOOPSCALE_PROGRAM_ID, LS_CBPS, LS_NO_ACCOUNT, LS_TENORS, LS_U64_MAX, type LayerTotals, type LenderBundle, type LenderPublicDataMap, type LenderPublicResponse, type LendingBasketMeta, type ListServedMarketsOptions, type LoopscaleApi, type LoopscaleApiOptions, type LoopscaleAssetData, type LoopscaleAssetTerms, type LoopscaleBestOffer, type LoopscaleCapMonitor, type LoopscaleCapsDecoded, type LoopscaleCollateralAccount, type LoopscaleConfigEntry, type LoopscaleConversion, type LoopscaleDuration, type LoopscaleDurationAndApy, type LoopscaleEarnVault, type LoopscaleExternalYieldInfo, type LoopscaleFixedTerm, type LoopscaleLadderLevel, type LoopscaleLedger, type LoopscaleLedgerAccount, type LoopscaleLedgerTerm, type LoopscaleLendingVaultInfo, type LoopscaleLoanAccount, type LoopscaleLoanBook, type LoopscaleLoanCollateral, type LoopscaleLoanDecoded, type LoopscaleLoanPiece, type LoopscaleLoanSummaryItem, type LoopscaleLoansRequest, type LoopscaleLoansResponse, type LoopscaleLoopInfo, type LoopscaleLoopsResponse, type LoopscaleMarketAsset, type LoopscaleMarketInfoDecoded, type LoopscaleMarketMeta, type LoopscaleMarketTerm, type LoopscaleMaxQuote, type LoopscaleMaxQuoteRequest, type LoopscaleMorphoMarket, type LoopscaleOfferingVault, type LoopscaleOpenParameter, type LoopscaleOracleRef, type LoopscalePair, type LoopscalePairBook, type LoopscalePieceLedger, type LoopscalePoolData, type LoopscalePrincipalCaps, type LoopscalePublicResponse, type LoopscaleQuoteOffer, type LoopscaleQuoteRequest, type LoopscaleRewardsSchedule, type LoopscaleRosterOptions, type LoopscaleStrategyAccount, type LoopscaleStrategyDecoded, type LoopscaleStrategyInfo, type LoopscaleStrategySummary, type LoopscaleStrategyTerms, type LoopscaleTerm, type LoopscaleTermId, type LoopscaleTotals, type LoopscaleUserExt, type LoopscaleUserLedger, type LoopscaleUserLoan, type LoopscaleUserPosition, type LoopscaleUserResult, type LoopscaleVaultAccount, type LoopscaleVaultMetadata, type LoopscaleVaultsRequest, type LoopscaleVaultsResponse, type LstConvertContext, type LstEarnVault, type LstEntry, type LstStakingApySource, type MarketOverrides, ORACLE_CANONICAL_SIZE, type OraclePriceEntry, type OraclePriceMap, type OriginJupiterLendMeta, type OriginJupiterLendRow, type OriginKaminoKvaultMeta, type OriginKaminoKvaultRow, type OriginLoopscaleMeta, type OriginLoopscaleRow, type OriginLstMeta, type OriginLstMetaAdditions, type OriginLstRow, type OriginSavingsMeta, type OriginSavingsRow, type OriginVaultCommon, type OriginVaultProvider, type OriginVaultRow, type OriginWithdrawalMode, type P0AccountView, type P0Api, type P0ApiOptions, type P0AssetTag, type P0Balance, type P0BalanceView, type P0Bank, type P0BankCache, type P0BankConfig, type P0BankDto, type P0BankExt, type P0BankInputs, type P0BankMeta, type P0BankMetaMap, type P0BankPrice, type P0BankRef, type P0CircuitBreakerState, type P0ConfigEntry, type P0ConvertContext, type P0EmodeEntry, type P0EmodeLift, type P0EmodeRoster, type P0EmodeSettings, type P0EmodeTag, type P0Group, type P0GroupInputs, type P0GroupMeta, type P0HealthCache, type P0Integration, type P0InterestRateConfig, type P0MarginfiAccount, type P0OnChainBankMeta, type P0OperationalState, type P0OracleSetup, type P0PoolData, type P0PriceMap, type P0PriceResolution, type P0PublicConversion, type P0PublicResponse, type P0RateLimitWindow, type P0RateLimiter, type P0RatePoint, type P0Rates, type P0RiskTier, type P0StateSemantics, type P0UnservedBalance, type P0UserExt, type P0UserResponse, type P0VenueMultiplier, type P0VenueMultiplierMap, P0_ACCOUNT_AUTHORITY_OFFSET, P0_ACCOUNT_FLAGS, P0_ACCOUNT_GROUP_OFFSET, P0_ADJUSTED_CACHE_SETUPS, P0_API_BASE, P0_ASSET_TAG, P0_BANK_CONFIG_PYTH_PUSH_MIGRATED, P0_BANK_DISCRIMINATOR, P0_BANK_FLAGS, P0_BANK_GROUP_OFFSET, P0_BANK_SIZE, P0_CACHED_PRICE_MULTIPLIER_SETUPS, P0_DEFAULT_LIQUIDATION_FEE, P0_EMODE_BASE_LABEL, P0_EMODE_ON, P0_GROUP_PROGRAM_FEES_ENABLED, P0_GROUP_SIZE, P0_I80F48_FRACTION_BITS, P0_IDL, P0_LIQUIDATION_CLOSEOUT_USD, P0_LOOKUP_TABLES, P0_MAIN_GROUP, P0_MARGINFI_ACCOUNT_DISCRIMINATOR, P0_MARGINFI_ACCOUNT_SIZE, P0_MAX_BALANCES, P0_MAX_EMODE_ENTRIES, P0_NATIVE_STAKE_LOOKUP_TABLES, P0_PAUSE_DURATION_SECONDS, P0_PROGRAM_ID, P0_PYTH_PUSH_SETUPS, P0_SECONDS_PER_YEAR, P0_SEEDS, P0_STAGING_GROUP, P0_STAGING_PROGRAM_ID, P0_STAKE_POOL_PROGRAMS, P0_SVSP_PHANTOM_TOKEN_AMOUNT, P0_U32_MAX, P0_U64_MAX, PROJECT_0_PROFILE_ID, PYTH_PRICE_UPDATE_V2_DISCRIMINATOR, PYTH_RECEIVER_PROGRAM, type PythPriceUpdate, type ReadJlVaultsOptions, type ResolveP0PricesOptions, type RewardsList, SAVE_API_BASE, SAVE_CREATOR, SAVE_DEFAULT_AVG_SLOT_SECONDS, SAVE_DEFAULT_OBLIGATION_PROBE, SAVE_FULL_LIQUIDATION_VALUE_USD, SAVE_INITIAL_EXCHANGE_RATE_WAD, SAVE_LIQUIDATION_CLOSE_FACTOR, SAVE_MAIN_MARKET, SAVE_MARKET_DENYLIST, SAVE_MAX_BONUS_PCT, SAVE_MAX_LIQUIDATABLE_VALUE_USD, SAVE_MAX_OBLIGATION_PROBE, SAVE_MAX_OBLIGATION_RESERVES, SAVE_NULL_ORACLE, SAVE_OBLIGATION_SIZE, SAVE_POSITION_LIMIT, SAVE_PROFILE_ID, SAVE_PROFILE_ID_PROSE, SAVE_PROGRAM_ID, SAVE_RESERVE_SIZE, SAVE_SLOTS_PER_YEAR, SAVE_U64_MAX, SAVE_UNBORROWABLE_BORROW_FACTOR, SAVE_WAD, SAVE_WALLET_POS_ID, SECONDS_PER_YEAR, SETTLEMENT_BATCH_SIZE, SOLANA_CHAIN_ID, SOLSTICE_APP_API_BASE, SOLSTICE_DECIMALS, SOLSTICE_MINTS, SOLSTICE_PRICE_DECIMALS, SOLSTICE_PROGRAMS, SOLSTICE_STRATEGIES, SOLSTICE_YIELD_STRATEGY_IDL, SOLSTICE_YIELD_VAULT_IDL, SPL_STAKE_POOL_LSTS, SPL_STAKE_POOL_PROGRAM, STABLECOIN_SYMBOLS, STAKE_ACCOUNT_RENT_EXEMPT_LAMPORTS, type SaveApi, type SaveApiOptions, type SaveCompoundV2Metadata, type SaveLastUpdate, type SaveLiquidityToken, type SaveMarketConfig, type SaveMarketInputs, type SaveMarketMeta, type SaveObligation, type SaveObligationBorrow, type SaveObligationDeposit, type SaveObligationView, type SavePoolData, type SavePublicConversion, type SavePublicResponse, type SaveRateLimiter, type SaveRates, type SaveReserveAccount, type SaveReserveCollateral, type SaveReserveConfig, type SaveReserveConfigState, type SaveReserveExt, type SaveReserveFees, type SaveReserveInputs, type SaveReserveLiquidity, type SaveReserveRef, type SaveReserveState, type SaveReservesResponse, type SaveRosterOptions, type SaveUnservedLeg, type SaveUserExt, type SaveUserResponse, type SaveWalletCTokenView, type ServedMarket, type SolanaPoolData, type SolanaSubAccountInfo, type SolanaUserPosition, type SolanaUserPositions, type SolanaUserResult, type SolsticeAccountingState, type SolsticeApiOptions, type SolsticeAppApi, type SolsticeChainState, type SolsticeController, type SolsticeConvertContext, type SolsticeCooldownEscrow, type SolsticeHolding, type SolsticeJuniorUnlockShare, type SolsticeOraclePrice, type SolsticePending, type SolsticeProtocolStats, type SolsticeSeniorUnlockCooldown, type SolsticeSettlementBatch, type SolsticeSettlementBatchView, type SolsticeStrategy, type SolsticeStrategyController, type SolsticeStrategyMode, type SolsticeStrategyName, type SolsticeStrategyPdas, type SolsticeUserPositions, type SolsticeVault, type SolsticeVaults, type SolsticeVestingSchedule, type SolsticeYieldPool, type SolsticeYieldVaultPdas, type StakePoolFee, type StructuredOraclePrices, TERM_PROFILES, type TokenListInput, type TrancheRates, type USDPriceMap, WSOL_MINT, type WireU64, type YieldProfile, accountDiscriminator, aggregateLoopscaleLoanBook, apyFractionToAprPercent, attributeBestOffer, attributeLoopscaleLoan, bigMax0, bpsToPercent, buildKaminoConfig, buildKaminoEModes, buildKaminoMarketMeta, buildLoopscaleRoster, buildLoopscaleTerms, buildP0EModes, buildSolsticeVaults, capOrUndefined, cbpsToFraction, cbpsToPercent, cbpsToWad, convertEusx, convertExponentVault, convertHumaPst, convertJupiterLendEarnToken, convertJupiterLendOracleEntries, convertJupiterLendUserPositions, convertJupiterLendVault, convertKaminoKvault, convertKaminoLoans, convertKaminoMarket, convertKaminoOraclePrices, convertKaminoReserve, convertLoopscalePair, convertLoopscaleUser, convertLoopscaleVault, convertLst, convertP0Bank, convertP0Group, convertSaveMarket, convertSaveReserve, convertTranche, createExponentApi, createJupiterLendApi, createKaminoApi, createKaminoKvaultApi, createLimiter, createLoopscaleApi, createMarketUid, createP0Api, createPacer, createSaveApi, createSolsticeAppApi, createWithSeed, decimalStringToI80F48, decimalStringToRaw, decodeAccountingState, decodeController, decodeCooldownEscrow, decodeHumaLenderState, decodeHumaModeConfig, decodeHumaPoolConfig, decodeHumaPoolState, decodeHumaRedemptionRequest, decodeJuniorUnlockShare, decodeJupFlashloanAdmin, decodeKaminoObligation, decodeKaminoReserveState, decodeLoopscaleLoan, decodeLoopscaleMarketInformation, decodeLoopscaleStrategy, decodeOracleCanonical, decodeP0Bank, decodeP0BankMetadata, decodeP0Group, decodeP0MarginfiAccount, decodePythPriceUpdate, decodeSaveObligation, decodeSeniorUnlockCooldown, decodeSettlementBatch, decodeStakePool, decodeStrategy, decodeStrategyController, decodeVestingSchedule, decodeYieldPool, denominationOf, deriveLayerTotals, deriveLoopscalePrices, deriveP0Mode, describeBasket, describeKaminoObligation, durationDays, epochRatePercent, epochRealizedApr, eusxAssetsToShares, eusxEpochRatePercent, eusxRate, eusxSharesToAssets, exchangeRateWad, exponentOriginRow, feeBps, fetchExponentPtMarkets, fetchHumaPstVaults, fetchJupiterLendEarnVaults, fetchJupiterLendOracleEntries, fetchJupiterLendPublic, fetchJupiterLendUser, fetchJupiterPrices, fetchKaminoKvaults, fetchKaminoOracleEntries, fetchKaminoOraclePrices, fetchKaminoPublic, fetchKaminoUser, fetchKaminoUserOnchain, fetchLenderAll, fetchLoopscaleEarnVaults, fetchLoopscaleLoanBook, fetchLoopscalePublic, fetchLoopscaleUser, fetchLstVaults, fetchOraclePrices, fetchProject0Public, fetchProject0User, fetchSaveOracleEntries, fetchSavePublic, fetchSaveUser, fetchSolsticeSettlementBatches, fetchSolsticeUser, fetchSolsticeVaults, fetchUserAll, formatRawUnits, getJson, getLenderPublicData, getLenderPublicDataAll, getLendersForChain, getTermProfile, humaDeploymentStatePda, humaLenderStatePda, humaModeConfigPda, humaModeMintPda, humaOriginRow, humaPoolAuthorityPda, humaPoolConfigPda, humaPoolStatePda, humaRedemptionRequestPda, i80f48ToDecimalString, i80f48ToNumber, isBorrowable, isJlSmartCol, isJlSmartDebt, isLenderBrand, isLiveVault, isNullKey, isP0FixedSetup, isP0U64Max, isSaveBorrowable, isSaveUnrealizable, isStablecoinSymbol, isStaleKaminoPrice, isSyntheticQuoteMint, isU64Max, isUncapped, jlLiquidityExchangePrices, jlOraclePriceInBorrow, jlOracleToFluidRaw, jlOverallTokenData, jlUserBorrowData, jlUserSupplyData, jlVaultAdminPda, jlVaultConfigPda, jlVaultExchangePrices, jlVaultStatePda, jlVaultToRaw, joinableBatch, juniorUnlockSharePda, jupFlashBorrowPosition, jupFlashloanAdmin, jupLiquidity, jupLiquidityReserve, jupLiquidityVault, jupRateModel, jupiterLendCurrency, jupiterLendOriginRow, jupiterLendTermAdapter, kaminoAsset, kaminoBorrowFactorToRow, kaminoCloseFactor, kaminoDefaultEntry, kaminoGroupLabel, kaminoKvaultOriginRow, kaminoOracleEntriesFromMarkets, kaminoRewards, kaminoRiskByReserve, kaminoTagLabel, kaminoTermAdapter, klendMarketAuthority, klendObligationPda, ledgerFaceAt, ledgerInterestAt, ledgerPrincipal, lenderBrandName, lenderDisplayName, liquidityRatio, listServedMarkets, loopscaleOriginRow, loopscaleTermAdapter, lstOriginRow, maxLeverageOf, mintSupply, normalizeP0BankDto, num, obligationPubkey, oracleCanonicalPda, p0BankMetadataPda, p0BankRef, p0CurveKnots, p0DecimalString, p0EmodeRoster, p0FeeState, p0GroupPausedAt, p0Integration, p0LegacyBaseRate, p0LiquidationFee, p0LiquidityVault, p0LiquidityVaultAuthority, p0MarginfiAccountPda, p0MultipointBaseRate, p0NeedsVenueMultiplier, p0Rates, p0StateSemantics, p0SupplyCapTokens, p0Utilization, parseExpirySeconds, pieceLqt, podBool, podDecimalToNumber, podToBigInt, podToNumber, postJson, project0TermAdapter, readEpochClock, readHumaChainState, readHumaLenderState, readHumaRedemptionRequests, readJlNextVaultId, readJupFlashAssets, readJupFlashAvailable, readJupFlashloanAdmin, readJupiterLendVaultsOnchain, readKlendElevationGroups, readKlendFlashFacts, readKlendLendingMarket, readKlendMarketState, readKlendObligationReserves, readKlendReserveChain, readKlendReserveFlash, readLoopscaleLoans, readLoopscaleMarketInformation, readP0BankMetadata, readP0Banks, readReserveLamports, readSolsticeChainState, readStakePools, registriesToRead, resolveP0Prices, sameDuration, saveAssetGroup, saveBorrowCurvePercent, saveBorrowedRaw, saveExchangeRateWad, saveLiquidationPenalty, saveObligationAddress, saveObligationSeed, saveRates, saveReserveRef, saveSlotYearScale, saveTermAdapter, saveTotalSupplyWads, saveUtilization, scaledToDecimal, scanP0Banks, selectAssetGroupPrices, selectSaveMarkets, seniorCooldownPdas, settlementBatchPdas, solsticeOriginRow, strategyMode, strategyNameOf, strategyPdas, strategyTvlRaw, tenorOf, termIdOf, toOriginVaultRow, tokenAmount, trancheAssetsToShares, trancheRates, trancheSharesToAssets, u32ToBasis, u32ToCenti, u32ToMilli, unvestedAt, valueKaminoObligations, wadToNumber, wadsToFloat, yieldVaultCooldownPdas, yieldVaultPdas };
|