@xoxno/types 1.0.476 → 1.0.477
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.
|
@@ -20,6 +20,7 @@ export interface StellarReserveDetailItem {
|
|
|
20
20
|
spokeId: number;
|
|
21
21
|
hubId: number;
|
|
22
22
|
asset: string;
|
|
23
|
+
assetDecimals: number;
|
|
23
24
|
supplyApy: number;
|
|
24
25
|
borrowApy: number;
|
|
25
26
|
utilization: number;
|
|
@@ -30,6 +31,9 @@ export interface StellarReserveDetailItem {
|
|
|
30
31
|
depositsUsd: number;
|
|
31
32
|
borrowsUsd: number;
|
|
32
33
|
availableLiquidityUsd: number;
|
|
34
|
+
/** Raw asset-native i128 cap values used by governance builders. */
|
|
35
|
+
supplyCap: string;
|
|
36
|
+
borrowCap: string;
|
|
33
37
|
supplyCapShort: number;
|
|
34
38
|
borrowCapShort: number;
|
|
35
39
|
depositCapFilledPct: number;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* `[0,1]`, `*Usd` are USD numbers, `*Native` are human-readable token amounts
|
|
9
9
|
* (live), and `*Bps` are basis points.
|
|
10
10
|
*/
|
|
11
|
+
import type { StellarAssetOracle } from './oracle-provider';
|
|
11
12
|
/** `[min, max]` inclusive range. */
|
|
12
13
|
export type StellarApyRange = [min: number, max: number];
|
|
13
14
|
/**
|
|
@@ -108,6 +109,8 @@ export interface StellarAssetPage {
|
|
|
108
109
|
maxSupplyApy: number;
|
|
109
110
|
minBorrowApy: number;
|
|
110
111
|
maxBorrowApy: number;
|
|
112
|
+
/** Current indexed asset-oracle configuration; null until first configure. */
|
|
113
|
+
oracleProvider: StellarAssetOracle | null;
|
|
111
114
|
depositMarkets: StellarAssetPageMarket[];
|
|
112
115
|
borrowMarkets: StellarAssetPageMarket[];
|
|
113
116
|
graphSeries: StellarAssetPageGraphSeries[];
|