@xoxno/types 1.0.476 → 1.0.478
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.
|
@@ -94,7 +94,7 @@ __decorate([
|
|
|
94
94
|
], LendingTokenEModeProfileDoc.prototype, "liquidationBonus", void 0);
|
|
95
95
|
__decorate([
|
|
96
96
|
(0, swagger_1.ApiProperty)({
|
|
97
|
-
description: 'Spoke supply cap in asset-native units
|
|
97
|
+
description: 'Spoke supply cap in asset-native units. Always an enforced ceiling; 0 means the asset accepts no new supply in this spoke (there is no unlimited sentinel). Stellar e-mode only.',
|
|
98
98
|
required: false,
|
|
99
99
|
example: '100000000000000',
|
|
100
100
|
}),
|
|
@@ -102,7 +102,7 @@ __decorate([
|
|
|
102
102
|
], LendingTokenEModeProfileDoc.prototype, "supplyCap", void 0);
|
|
103
103
|
__decorate([
|
|
104
104
|
(0, swagger_1.ApiProperty)({
|
|
105
|
-
description: 'Spoke borrow cap in asset-native units
|
|
105
|
+
description: 'Spoke borrow cap in asset-native units. Always an enforced ceiling; 0 means the asset accepts no new borrows in this spoke (there is no unlimited sentinel). Stellar e-mode only.',
|
|
106
106
|
required: false,
|
|
107
107
|
example: '100000000000000',
|
|
108
108
|
}),
|
|
@@ -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[];
|