@xoxno/types 1.0.457 → 1.0.458

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.
@@ -24,7 +24,6 @@ export declare enum GovernanceProposalKind {
24
24
  RevokeBlendPool = "RevokeBlendPool",
25
25
  CreateLiquidityPool = "CreateLiquidityPool",
26
26
  UpgradeLiquidityPoolParams = "UpgradeLiquidityPoolParams",
27
- UpdatePoolCaps = "UpdatePoolCaps",
28
27
  DeployPool = "DeployPool",
29
28
  UpgradePool = "UpgradePool",
30
29
  DisableTokenOracle = "DisableTokenOracle",
@@ -28,7 +28,6 @@ var GovernanceProposalKind;
28
28
  GovernanceProposalKind["RevokeBlendPool"] = "RevokeBlendPool";
29
29
  GovernanceProposalKind["CreateLiquidityPool"] = "CreateLiquidityPool";
30
30
  GovernanceProposalKind["UpgradeLiquidityPoolParams"] = "UpgradeLiquidityPoolParams";
31
- GovernanceProposalKind["UpdatePoolCaps"] = "UpdatePoolCaps";
32
31
  GovernanceProposalKind["DeployPool"] = "DeployPool";
33
32
  GovernanceProposalKind["UpgradePool"] = "UpgradePool";
34
33
  GovernanceProposalKind["DisableTokenOracle"] = "DisableTokenOracle";
@@ -23,8 +23,6 @@ export declare class InterestRateModelDto {
23
23
  export declare class MarketParamsRawDto extends InterestRateModelDto {
24
24
  assetId: string;
25
25
  assetDecimals: number;
26
- supplyCap: string;
27
- borrowCap: string;
28
26
  isFlashloanable: boolean;
29
27
  flashloanFeeBps: number;
30
28
  }
@@ -81,20 +81,6 @@ __decorate([
81
81
  }),
82
82
  __metadata("design:type", Number)
83
83
  ], MarketParamsRawDto.prototype, "assetDecimals", void 0);
84
- __decorate([
85
- (0, swagger_1.ApiProperty)({
86
- description: 'Hub supply cap in asset-native units (0 = uncapped). Lives on the pool MarketParamsRaw.',
87
- example: '100000000000000',
88
- }),
89
- __metadata("design:type", String)
90
- ], MarketParamsRawDto.prototype, "supplyCap", void 0);
91
- __decorate([
92
- (0, swagger_1.ApiProperty)({
93
- description: 'Hub borrow cap in asset-native units (0 = uncapped). Lives on the pool MarketParamsRaw.',
94
- example: '100000000000000',
95
- }),
96
- __metadata("design:type", String)
97
- ], MarketParamsRawDto.prototype, "borrowCap", void 0);
98
84
  __decorate([
99
85
  (0, swagger_1.ApiProperty)({ description: 'Whether the asset can be flash-loaned' }),
100
86
  __metadata("design:type", Boolean)
@@ -285,7 +285,7 @@ __decorate([
285
285
  __decorate([
286
286
  (0, swagger_1.ApiProperty)({
287
287
  type: stellar_lending_admin_args_dto_1.MarketParamsRawDto,
288
- description: 'Full pool market params including hub caps',
288
+ description: 'Full pool market params',
289
289
  }),
290
290
  __metadata("design:type", stellar_lending_admin_args_dto_1.MarketParamsRawDto)
291
291
  ], StellarPoolMarketParamsUpdate.prototype, "params", void 0);
@@ -297,7 +297,7 @@ __decorate([
297
297
  (0, swagger_1.ApiProperty)({
298
298
  type: StellarPoolMarketParamsUpdate,
299
299
  isArray: true,
300
- description: 'Per-asset hub cap / params updates from the central pool',
300
+ description: 'Per-asset params updates from the central pool',
301
301
  }),
302
302
  __metadata("design:type", Array)
303
303
  ], StellarUpdateMarketParamsBatchEvent.prototype, "updates", void 0);
@@ -30,10 +30,6 @@ export declare class StellarHubAssetDoc {
30
30
  supplyApy: number;
31
31
  borrowApy: number;
32
32
  utilization: number;
33
- supplyCap: string;
34
- borrowCap: string;
35
- supplyCapShort: number;
36
- borrowCapShort: number;
37
33
  isFlashloanable: boolean;
38
34
  flashloanFeeBps: number;
39
35
  updatedAt: number;
@@ -32,10 +32,6 @@ class StellarHubAssetDoc {
32
32
  this.supplyApy = 0;
33
33
  this.borrowApy = 0;
34
34
  this.utilization = 0;
35
- this.supplyCap = '0';
36
- this.borrowCap = '0';
37
- this.supplyCapShort = 0;
38
- this.borrowCapShort = 0;
39
35
  this.isFlashloanable = false;
40
36
  this.flashloanFeeBps = 0;
41
37
  this.updatedAt = 0;
@@ -24,7 +24,6 @@ export declare enum StellarGovernanceProposalKind {
24
24
  RevokeBlendPool = "RevokeBlendPool",
25
25
  CreateLiquidityPool = "CreateLiquidityPool",
26
26
  UpgradeLiquidityPoolParams = "UpgradeLiquidityPoolParams",
27
- UpdatePoolCaps = "UpdatePoolCaps",
28
27
  DeployPool = "DeployPool",
29
28
  UpgradePool = "UpgradePool",
30
29
  DisableTokenOracle = "DisableTokenOracle",
@@ -28,7 +28,6 @@ var StellarGovernanceProposalKind;
28
28
  StellarGovernanceProposalKind["RevokeBlendPool"] = "RevokeBlendPool";
29
29
  StellarGovernanceProposalKind["CreateLiquidityPool"] = "CreateLiquidityPool";
30
30
  StellarGovernanceProposalKind["UpgradeLiquidityPoolParams"] = "UpgradeLiquidityPoolParams";
31
- StellarGovernanceProposalKind["UpdatePoolCaps"] = "UpdatePoolCaps";
32
31
  StellarGovernanceProposalKind["DeployPool"] = "DeployPool";
33
32
  StellarGovernanceProposalKind["UpgradePool"] = "UpgradePool";
34
33
  StellarGovernanceProposalKind["DisableTokenOracle"] = "DisableTokenOracle";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.457",
3
+ "version": "1.0.458",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {