@xoxno/types 1.0.408 → 1.0.411

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])
@@ -45,6 +45,8 @@ export declare class StellarLendingOracleUpdateStruct {
45
45
  strategy: LendingOracleStrategy;
46
46
  primary: LendingOracleSource;
47
47
  anchor?: LendingOracleSource;
48
+ primaryQuoteToken?: string | null;
49
+ anchorQuoteToken?: string | null;
48
50
  minSanityPriceWad?: string;
49
51
  maxSanityPriceWad?: string;
50
52
  constructor(init?: Partial<StellarLendingOracleUpdateStruct>);
@@ -302,6 +302,24 @@ __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
+ nullable: true,
309
+ required: false,
310
+ description: 'Quote currency of the primary oracle feed. null = USD-quoted (common case) or RedStone source; non-null = Stellar quote token (e.g. USDC SAC) repriced to USD on-chain',
311
+ }),
312
+ __metadata("design:type", Object)
313
+ ], StellarLendingOracleUpdateStruct.prototype, "primaryQuoteToken", void 0);
314
+ __decorate([
315
+ (0, swagger_1.ApiProperty)({
316
+ type: String,
317
+ nullable: true,
318
+ required: false,
319
+ description: 'Quote currency of the anchor oracle feed. null = no anchor, USD-quoted, or RedStone source; non-null = Stellar quote token (e.g. USDC SAC) repriced to USD on-chain',
320
+ }),
321
+ __metadata("design:type", Object)
322
+ ], StellarLendingOracleUpdateStruct.prototype, "anchorQuoteToken", void 0);
305
323
  __decorate([
306
324
  (0, swagger_1.ApiProperty)({
307
325
  type: String,
@@ -96,8 +96,6 @@ export declare class StellarUpdateAssetConfigEvent {
96
96
  export declare class StellarUpdateAssetOracleEvent {
97
97
  asset: string;
98
98
  oracle: StellarLendingOracleUpdateStruct;
99
- minSanityPriceWad?: string;
100
- maxSanityPriceWad?: string;
101
99
  }
102
100
  export declare class StellarUpdateEModeCategoryEvent {
103
101
  category: StellarEventEModeCategory;
@@ -429,18 +429,10 @@ __decorate([
429
429
  __decorate([
430
430
  (0, swagger_1.ApiProperty)({
431
431
  type: lending_oracle_1.StellarLendingOracleUpdateStruct,
432
- description: 'Resolved oracle provider configuration',
432
+ description: 'Resolved oracle provider configuration. Sanity bounds and per-source quote tokens live on this nested struct, matching the contract event wire layout.',
433
433
  }),
434
434
  __metadata("design:type", lending_oracle_1.StellarLendingOracleUpdateStruct)
435
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);
444
436
  // ---------- topic: config:emode_category ----------
445
437
  class StellarUpdateEModeCategoryEvent {
446
438
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.408",
3
+ "version": "1.0.411",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {