@xoxno/types 1.0.405 → 1.0.407
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/dist/requests/lending/stellar-lending-events.dto.d.ts +4 -0
- package/dist/requests/lending/stellar-lending-events.dto.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);
|
|
@@ -57,6 +57,7 @@ export declare class StellarCreateMarketEvent {
|
|
|
57
57
|
slope3: string;
|
|
58
58
|
midUtilization: string;
|
|
59
59
|
optimalUtilization: string;
|
|
60
|
+
maxUtilization?: string;
|
|
60
61
|
reserveFactor: number;
|
|
61
62
|
marketAddress: string;
|
|
62
63
|
config: AssetConfigRawDto;
|
|
@@ -70,6 +71,7 @@ export declare class StellarUpdateMarketParamsEvent {
|
|
|
70
71
|
slope3Ray: string;
|
|
71
72
|
midUtilizationRay: string;
|
|
72
73
|
optimalUtilizationRay: string;
|
|
74
|
+
maxUtilizationRay?: string;
|
|
73
75
|
reserveFactorBps: number;
|
|
74
76
|
}
|
|
75
77
|
export declare class StellarUpdateMarketStateBatchEvent {
|
|
@@ -94,6 +96,8 @@ export declare class StellarUpdateAssetConfigEvent {
|
|
|
94
96
|
export declare class StellarUpdateAssetOracleEvent {
|
|
95
97
|
asset: string;
|
|
96
98
|
oracle: StellarLendingOracleUpdateStruct;
|
|
99
|
+
minSanityPriceWad?: string;
|
|
100
|
+
maxSanityPriceWad?: string;
|
|
97
101
|
}
|
|
98
102
|
export declare class StellarUpdateEModeCategoryEvent {
|
|
99
103
|
category: StellarEventEModeCategory;
|
|
@@ -271,6 +271,10 @@ __decorate([
|
|
|
271
271
|
(0, swagger_1.ApiProperty)({ description: 'Optimal utilization, RAY decimal string' }),
|
|
272
272
|
__metadata("design:type", String)
|
|
273
273
|
], StellarCreateMarketEvent.prototype, "optimalUtilization", void 0);
|
|
274
|
+
__decorate([
|
|
275
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false, description: 'Max utilization, RAY decimal string' }),
|
|
276
|
+
__metadata("design:type", String)
|
|
277
|
+
], StellarCreateMarketEvent.prototype, "maxUtilization", void 0);
|
|
274
278
|
__decorate([
|
|
275
279
|
(0, swagger_1.ApiProperty)({ type: 'integer', description: 'Reserve factor, bps' }),
|
|
276
280
|
__metadata("design:type", Number)
|
|
@@ -325,6 +329,10 @@ __decorate([
|
|
|
325
329
|
(0, swagger_1.ApiProperty)({ description: 'Optimal utilization, RAY decimal string' }),
|
|
326
330
|
__metadata("design:type", String)
|
|
327
331
|
], StellarUpdateMarketParamsEvent.prototype, "optimalUtilizationRay", void 0);
|
|
332
|
+
__decorate([
|
|
333
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false, description: 'Max utilization, RAY decimal string' }),
|
|
334
|
+
__metadata("design:type", String)
|
|
335
|
+
], StellarUpdateMarketParamsEvent.prototype, "maxUtilizationRay", void 0);
|
|
328
336
|
__decorate([
|
|
329
337
|
(0, swagger_1.ApiProperty)({ type: 'integer', description: 'Reserve factor, bps' }),
|
|
330
338
|
__metadata("design:type", Number)
|
|
@@ -425,6 +433,14 @@ __decorate([
|
|
|
425
433
|
}),
|
|
426
434
|
__metadata("design:type", lending_oracle_1.StellarLendingOracleUpdateStruct)
|
|
427
435
|
], StellarUpdateAssetOracleEvent.prototype, "oracle", void 0);
|
|
436
|
+
__decorate([
|
|
437
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false, description: 'Inclusive lower sanity bound, USD WAD decimal string' }),
|
|
438
|
+
__metadata("design:type", String)
|
|
439
|
+
], StellarUpdateAssetOracleEvent.prototype, "minSanityPriceWad", void 0);
|
|
440
|
+
__decorate([
|
|
441
|
+
(0, swagger_1.ApiProperty)({ type: String, required: false, description: 'Inclusive upper sanity bound, USD WAD decimal string' }),
|
|
442
|
+
__metadata("design:type", String)
|
|
443
|
+
], StellarUpdateAssetOracleEvent.prototype, "maxSanityPriceWad", void 0);
|
|
428
444
|
// ---------- topic: config:emode_category ----------
|
|
429
445
|
class StellarUpdateEModeCategoryEvent {
|
|
430
446
|
}
|