@xoxno/types 1.0.456 → 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.
- package/dist/enums/lending-governance.enum.d.ts +0 -1
- package/dist/enums/lending-governance.enum.js +0 -1
- package/dist/requests/lending/stellar-lending-admin-args.dto.d.ts +0 -2
- package/dist/requests/lending/stellar-lending-admin-args.dto.js +0 -14
- package/dist/requests/lending/stellar-lending-events.dto.js +2 -2
- package/dist/stellar-lending/documents/cursor.doc.d.ts +6 -0
- package/dist/stellar-lending/documents/cursor.doc.js +6 -0
- package/dist/stellar-lending/documents/hub-asset.doc.d.ts +0 -4
- package/dist/stellar-lending/documents/hub-asset.doc.js +0 -4
- package/dist/stellar-lending/enums/governance.enum.d.ts +0 -1
- package/dist/stellar-lending/enums/governance.enum.js +0 -1
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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);
|
|
@@ -3,6 +3,12 @@ export declare class StellarLendingCursorDoc {
|
|
|
3
3
|
dataType: StellarLendingDataType;
|
|
4
4
|
lastLedger: number;
|
|
5
5
|
lastPagingToken: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* Controller the cursor position belongs to. A fresh protocol deployment
|
|
8
|
+
* changes this address; the indexer discards a mismatched cursor and
|
|
9
|
+
* reseeds from the configured start ledger so setup events are not skipped.
|
|
10
|
+
*/
|
|
11
|
+
controllerAddress: string | null;
|
|
6
12
|
updatedAt: number;
|
|
7
13
|
id: string;
|
|
8
14
|
pk: string;
|
|
@@ -7,6 +7,12 @@ class StellarLendingCursorDoc {
|
|
|
7
7
|
this.dataType = enums_1.StellarLendingDataType.CURSOR;
|
|
8
8
|
this.lastLedger = 0;
|
|
9
9
|
this.lastPagingToken = null;
|
|
10
|
+
/**
|
|
11
|
+
* Controller the cursor position belongs to. A fresh protocol deployment
|
|
12
|
+
* changes this address; the indexer discards a mismatched cursor and
|
|
13
|
+
* reseeds from the configured start ledger so setup events are not skipped.
|
|
14
|
+
*/
|
|
15
|
+
this.controllerAddress = null;
|
|
10
16
|
this.updatedAt = 0;
|
|
11
17
|
Object.assign(this, props);
|
|
12
18
|
this.pk = this.dataType;
|
|
@@ -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";
|