@xoxno/types 1.0.405 → 1.0.406
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/cosmos-db/documents/lending/lending-market-profile.doc.d.ts +3 -0
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.js +18 -0
- package/dist/cosmos-db/documents/lending/lending-oracle.d.ts +2 -0
- package/dist/cosmos-db/documents/lending/lending-oracle.js +16 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { LendingEModeCategoryProfileDoc } from './lending-emode-category-profile
|
|
|
4
4
|
import { LendingOracleProvider } from './lending-oracle';
|
|
5
5
|
import { LendingIndexesDto } from '../../../requests/lending/lending-indexes.dto';
|
|
6
6
|
import { ActivityChain } from '../../../enums/common.enum';
|
|
7
|
+
import { MarketStatus } from '../../../enums/lending.enum';
|
|
7
8
|
export declare class LendingMarketProfileDoc {
|
|
8
9
|
dataType: LendingDataType;
|
|
9
10
|
token: string;
|
|
@@ -58,6 +59,8 @@ export declare class LendingMarketProfileDoc {
|
|
|
58
59
|
id: string;
|
|
59
60
|
pk: string;
|
|
60
61
|
_ts: number;
|
|
62
|
+
marketStatus?: MarketStatus;
|
|
63
|
+
maxUtilizationRay?: string;
|
|
61
64
|
constructor(props?: Partial<LendingMarketProfileDoc>);
|
|
62
65
|
}
|
|
63
66
|
export declare class LendingMarketParticipants {
|
|
@@ -18,6 +18,7 @@ const cosmos_db_paginated_response_dto_1 = require("../../cosmos-db-paginated-re
|
|
|
18
18
|
const lending_oracle_1 = require("./lending-oracle");
|
|
19
19
|
const lending_indexes_dto_1 = require("../../../requests/lending/lending-indexes.dto");
|
|
20
20
|
const common_enum_1 = require("../../../enums/common.enum");
|
|
21
|
+
const lending_enum_1 = require("../../../enums/lending.enum");
|
|
21
22
|
const lending_chain_1 = require("./lending-chain");
|
|
22
23
|
let LendingMarketProfileDoc = class LendingMarketProfileDoc {
|
|
23
24
|
constructor(props) {
|
|
@@ -333,6 +334,23 @@ __decorate([
|
|
|
333
334
|
}),
|
|
334
335
|
__metadata("design:type", Number)
|
|
335
336
|
], LendingMarketProfileDoc.prototype, "_ts", void 0);
|
|
337
|
+
__decorate([
|
|
338
|
+
(0, swagger_1.ApiProperty)({
|
|
339
|
+
enum: lending_enum_1.MarketStatus,
|
|
340
|
+
enumName: 'MarketStatus',
|
|
341
|
+
required: false,
|
|
342
|
+
description: 'On-chain market lifecycle status (Stellar): PendingOracle/Active/Disabled',
|
|
343
|
+
}),
|
|
344
|
+
__metadata("design:type", String)
|
|
345
|
+
], LendingMarketProfileDoc.prototype, "marketStatus", void 0);
|
|
346
|
+
__decorate([
|
|
347
|
+
(0, swagger_1.ApiProperty)({
|
|
348
|
+
type: String,
|
|
349
|
+
required: false,
|
|
350
|
+
description: 'Max utilization, RAY (1e27) decimal string (Stellar IRM)',
|
|
351
|
+
}),
|
|
352
|
+
__metadata("design:type", String)
|
|
353
|
+
], LendingMarketProfileDoc.prototype, "maxUtilizationRay", void 0);
|
|
336
354
|
exports.LendingMarketProfileDoc = LendingMarketProfileDoc = __decorate([
|
|
337
355
|
(0, swagger_1.ApiExtraModels)(lending_oracle_1.LendingOracleUpdateStruct, lending_oracle_1.StellarLendingOracleUpdateStruct),
|
|
338
356
|
__metadata("design:paramtypes", [Object])
|
|
@@ -45,6 +45,8 @@ export declare class StellarLendingOracleUpdateStruct {
|
|
|
45
45
|
strategy: LendingOracleStrategy;
|
|
46
46
|
primary: LendingOracleSource;
|
|
47
47
|
anchor?: LendingOracleSource;
|
|
48
|
+
minSanityPriceWad?: string;
|
|
49
|
+
maxSanityPriceWad?: string;
|
|
48
50
|
constructor(init?: Partial<StellarLendingOracleUpdateStruct>);
|
|
49
51
|
}
|
|
50
52
|
export type LendingOracleProvider = LendingOracleUpdateStruct | StellarLendingOracleUpdateStruct;
|
|
@@ -302,3 +302,19 @@ __decorate([
|
|
|
302
302
|
}),
|
|
303
303
|
__metadata("design:type", LendingOracleSource)
|
|
304
304
|
], StellarLendingOracleUpdateStruct.prototype, "anchor", void 0);
|
|
305
|
+
__decorate([
|
|
306
|
+
(0, swagger_1.ApiProperty)({
|
|
307
|
+
type: String,
|
|
308
|
+
required: false,
|
|
309
|
+
description: 'Inclusive lower sanity bound, USD WAD decimal string',
|
|
310
|
+
}),
|
|
311
|
+
__metadata("design:type", String)
|
|
312
|
+
], StellarLendingOracleUpdateStruct.prototype, "minSanityPriceWad", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
(0, swagger_1.ApiProperty)({
|
|
315
|
+
type: String,
|
|
316
|
+
required: false,
|
|
317
|
+
description: 'Inclusive upper sanity bound, USD WAD decimal string',
|
|
318
|
+
}),
|
|
319
|
+
__metadata("design:type", String)
|
|
320
|
+
], StellarLendingOracleUpdateStruct.prototype, "maxSanityPriceWad", void 0);
|