@xoxno/types 1.0.431 → 1.0.432
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.
|
@@ -143,6 +143,24 @@ __decorate([
|
|
|
143
143
|
}),
|
|
144
144
|
__metadata("design:type", Number)
|
|
145
145
|
], LendingIndexesDto.prototype, "aggregatorPriceUsdShort", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, swagger_1.ApiProperty)({
|
|
148
|
+
description: 'Whether the oracle price is within the first (tightest) deviation tolerance band. MVX-only; absent for chains whose oracle does not expose tolerance bands (e.g. Stellar). The UI borrow/withdraw flow reads this flag.',
|
|
149
|
+
required: false,
|
|
150
|
+
type: Boolean,
|
|
151
|
+
example: true,
|
|
152
|
+
}),
|
|
153
|
+
__metadata("design:type", Boolean)
|
|
154
|
+
], LendingIndexesDto.prototype, "withinFirstTolerance", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
(0, swagger_1.ApiProperty)({
|
|
157
|
+
description: 'Whether the oracle price is within the second (wider) deviation tolerance band. MVX-only; absent for chains whose oracle does not expose tolerance bands (e.g. Stellar). The UI borrow/withdraw flow reads this flag.',
|
|
158
|
+
required: false,
|
|
159
|
+
type: Boolean,
|
|
160
|
+
example: true,
|
|
161
|
+
}),
|
|
162
|
+
__metadata("design:type", Boolean)
|
|
163
|
+
], LendingIndexesDto.prototype, "withinSecondTolerance", void 0);
|
|
146
164
|
__decorate([
|
|
147
165
|
(0, swagger_1.ApiProperty)({
|
|
148
166
|
description: 'Blockchain network the indexes belong to (optional, defaults downstream to MVX when absent)',
|
|
@@ -48,4 +48,13 @@ export interface StellarLendingActivityData {
|
|
|
48
48
|
* events yields realized PnL. `null` for non-position events.
|
|
49
49
|
*/
|
|
50
50
|
index: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Entry risk params for a collateral (supply) leg, in basis points — carried
|
|
53
|
+
* to Kusto so health factor is computed there (collateral-weighted), matching
|
|
54
|
+
* the MVX `LiquidationThreshold`-in-activity pattern. `null` on borrow and
|
|
55
|
+
* non-position rows.
|
|
56
|
+
*/
|
|
57
|
+
liquidationThresholdBps: number | null;
|
|
58
|
+
liquidationBonusBps: number | null;
|
|
59
|
+
loanToValueBps: number | null;
|
|
51
60
|
}
|