@xoxno/types 1.0.410 → 1.0.412

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.
@@ -31,7 +31,7 @@ export declare class LendingAccountProfileDoc {
31
31
  _ts: number;
32
32
  constructor(props?: Partial<LendingAccountProfileDoc>);
33
33
  }
34
- declare const selectFields: readonly ["token", "name", "supplyApy", "borrowApy", "decimals", "reserves", "supplyCap", "borrowCap", "supplyAmount", "supplyAmountScaled", "borrowAmountScaled", "ltv", "liquidationThreshold", "liquidationBonus", "liquidationFee", "siloed", "rewardsReserve", "maxDebtUsd", "debtCeiling", "isolated", "canBeCollateral", "timestamp", "canBeBorrowed", "canBorrowInIsolation", "extraApy", "flashLoanFee", "utilizationRate", "borrowAmount", "optimalUsageRate", "slopeRate1", "slopeRate2", "slopeRate3", "midUsageRate", "baseRate", "maxBorrowRate", "reserveFactor", "address", "flashLoan", "oracleProvider", "indexes", "chain"];
34
+ declare const selectFields: readonly ["token", "name", "supplyApy", "borrowApy", "decimals", "reserves", "supplyCap", "borrowCap", "supplyAmount", "supplyAmountScaled", "borrowAmountScaled", "ltv", "liquidationThreshold", "liquidationBonus", "liquidationFee", "siloed", "rewardsReserve", "maxDebtUsd", "debtCeiling", "isolated", "canBeCollateral", "timestamp", "canBeBorrowed", "canBorrowInIsolation", "extraApy", "flashLoanFee", "utilizationRate", "borrowAmount", "optimalUsageRate", "slopeRate1", "slopeRate2", "slopeRate3", "midUsageRate", "baseRate", "maxBorrowRate", "reserveFactor", "maxUtilizationRay", "minCollatFloorUsdWad", "minDebtFloorUsdWad", "address", "flashLoan", "oracleProvider", "indexes", "chain"];
35
35
  export declare class LendingAccountProfile extends LendingAccountProfileDoc {
36
36
  supplyAmount: string;
37
37
  borrowAmount: string;
@@ -236,6 +236,9 @@ const selectFields = [
236
236
  'baseRate',
237
237
  'maxBorrowRate',
238
238
  'reserveFactor',
239
+ 'maxUtilizationRay',
240
+ 'minCollatFloorUsdWad',
241
+ 'minDebtFloorUsdWad',
239
242
  'address',
240
243
  'flashLoan',
241
244
  'oracleProvider',
@@ -61,6 +61,8 @@ export declare class LendingMarketProfileDoc {
61
61
  _ts: number;
62
62
  marketStatus?: MarketStatus;
63
63
  maxUtilizationRay?: string;
64
+ minCollatFloorUsdWad?: string;
65
+ minDebtFloorUsdWad?: string;
64
66
  constructor(props?: Partial<LendingMarketProfileDoc>);
65
67
  }
66
68
  export declare class LendingMarketParticipants {
@@ -351,6 +351,22 @@ __decorate([
351
351
  }),
352
352
  __metadata("design:type", String)
353
353
  ], LendingMarketProfileDoc.prototype, "maxUtilizationRay", void 0);
354
+ __decorate([
355
+ (0, swagger_1.ApiProperty)({
356
+ type: String,
357
+ required: false,
358
+ description: 'Minimum collateral floor, USD WAD (1e18) decimal string (Stellar). 0 = disabled.',
359
+ }),
360
+ __metadata("design:type", String)
361
+ ], LendingMarketProfileDoc.prototype, "minCollatFloorUsdWad", void 0);
362
+ __decorate([
363
+ (0, swagger_1.ApiProperty)({
364
+ type: String,
365
+ required: false,
366
+ description: 'Minimum debt floor, USD WAD (1e18) decimal string (Stellar). 0 = disabled.',
367
+ }),
368
+ __metadata("design:type", String)
369
+ ], LendingMarketProfileDoc.prototype, "minDebtFloorUsdWad", void 0);
354
370
  exports.LendingMarketProfileDoc = LendingMarketProfileDoc = __decorate([
355
371
  (0, swagger_1.ApiExtraModels)(lending_oracle_1.LendingOracleUpdateStruct, lending_oracle_1.StellarLendingOracleUpdateStruct),
356
372
  __metadata("design:paramtypes", [Object])
@@ -28,7 +28,6 @@ export declare class StellarEventPositionDelta {
28
28
  scaledAmountRay: string;
29
29
  indexRay: string;
30
30
  amount: string;
31
- assetPriceWad?: string;
32
31
  liquidationThresholdBps?: number;
33
32
  liquidationBonusBps?: number;
34
33
  loanToValueBps?: number;
@@ -153,13 +153,6 @@ __decorate([
153
153
  }),
154
154
  __metadata("design:type", String)
155
155
  ], StellarEventPositionDelta.prototype, "amount", void 0);
156
- __decorate([
157
- (0, swagger_1.ApiProperty)({
158
- required: false,
159
- description: 'USD WAD price used for the mutation, decimal string when present',
160
- }),
161
- __metadata("design:type", String)
162
- ], StellarEventPositionDelta.prototype, "assetPriceWad", void 0);
163
156
  __decorate([
164
157
  (0, swagger_1.ApiProperty)({
165
158
  type: 'integer',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.410",
3
+ "version": "1.0.412",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {