@xoxno/types 1.0.203 → 1.0.204
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.
|
@@ -7,4 +7,13 @@ export declare class LendingIndexesDto {
|
|
|
7
7
|
egldPriceShort: number;
|
|
8
8
|
usdPrice: string;
|
|
9
9
|
usdPriceShort: number;
|
|
10
|
+
safePriceEgld: string;
|
|
11
|
+
safePriceEgldShort: number;
|
|
12
|
+
safePriceUsd: string;
|
|
13
|
+
safePriceUsdShort: number;
|
|
14
|
+
aggregatorPriceEgld: string;
|
|
15
|
+
aggregatorPriceEgldShort: number;
|
|
16
|
+
aggregatorPriceUsd: string;
|
|
17
|
+
withinFirstTolerance: boolean;
|
|
18
|
+
withinSecondTolerance: boolean;
|
|
10
19
|
}
|
|
@@ -78,3 +78,75 @@ __decorate([
|
|
|
78
78
|
}),
|
|
79
79
|
__metadata("design:type", Number)
|
|
80
80
|
], LendingIndexesDto.prototype, "usdPriceShort", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, swagger_1.ApiProperty)({
|
|
83
|
+
description: 'Safe price in EGLD as a string to preserve precision',
|
|
84
|
+
example: '1000000000000000000',
|
|
85
|
+
type: String,
|
|
86
|
+
}),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], LendingIndexesDto.prototype, "safePriceEgld", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, swagger_1.ApiProperty)({
|
|
91
|
+
description: 'Safe price in EGLD as a number (may lose precision)',
|
|
92
|
+
example: 1,
|
|
93
|
+
type: Number,
|
|
94
|
+
}),
|
|
95
|
+
__metadata("design:type", Number)
|
|
96
|
+
], LendingIndexesDto.prototype, "safePriceEgldShort", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, swagger_1.ApiProperty)({
|
|
99
|
+
description: 'Safe price in USD as a string to preserve precision',
|
|
100
|
+
example: '16124645832563882000',
|
|
101
|
+
type: String,
|
|
102
|
+
}),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], LendingIndexesDto.prototype, "safePriceUsd", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, swagger_1.ApiProperty)({
|
|
107
|
+
description: 'Safe price in USD as a number (may lose precision)',
|
|
108
|
+
example: 16.124645832563882,
|
|
109
|
+
type: Number,
|
|
110
|
+
}),
|
|
111
|
+
__metadata("design:type", Number)
|
|
112
|
+
], LendingIndexesDto.prototype, "safePriceUsdShort", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, swagger_1.ApiProperty)({
|
|
115
|
+
description: 'Aggregator price in EGLD as a string to preserve precision',
|
|
116
|
+
example: '1000000000000000000',
|
|
117
|
+
type: String,
|
|
118
|
+
}),
|
|
119
|
+
__metadata("design:type", String)
|
|
120
|
+
], LendingIndexesDto.prototype, "aggregatorPriceEgld", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, swagger_1.ApiProperty)({
|
|
123
|
+
description: 'Aggregator price in EGLD as a number (may lose precision)',
|
|
124
|
+
example: 1,
|
|
125
|
+
type: Number,
|
|
126
|
+
}),
|
|
127
|
+
__metadata("design:type", Number)
|
|
128
|
+
], LendingIndexesDto.prototype, "aggregatorPriceEgldShort", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, swagger_1.ApiProperty)({
|
|
131
|
+
description: 'Aggregator price in USD as a string to preserve precision',
|
|
132
|
+
example: '16124645832563882000',
|
|
133
|
+
type: String,
|
|
134
|
+
}),
|
|
135
|
+
__metadata("design:type", String)
|
|
136
|
+
], LendingIndexesDto.prototype, "aggregatorPriceUsd", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, swagger_1.ApiProperty)({
|
|
139
|
+
description: 'Within first tolerance',
|
|
140
|
+
example: true,
|
|
141
|
+
type: Boolean,
|
|
142
|
+
}),
|
|
143
|
+
__metadata("design:type", Boolean)
|
|
144
|
+
], LendingIndexesDto.prototype, "withinFirstTolerance", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, swagger_1.ApiProperty)({
|
|
147
|
+
description: 'Within second tolerance',
|
|
148
|
+
example: true,
|
|
149
|
+
type: Boolean,
|
|
150
|
+
}),
|
|
151
|
+
__metadata("design:type", Boolean)
|
|
152
|
+
], LendingIndexesDto.prototype, "withinSecondTolerance", void 0);
|