@xoxno/types 1.0.455 → 1.0.457
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/cosmos-db/documents/lending/lending-governance-proposal.doc.d.ts +2 -0
- package/dist/cosmos-db/documents/lending/lending-governance-proposal.doc.js +17 -1
- package/dist/enums/lending-governance.enum.d.ts +7 -6
- package/dist/enums/lending-governance.enum.js +7 -6
- package/dist/stellar-lending/documents/cursor.doc.d.ts +6 -0
- package/dist/stellar-lending/documents/cursor.doc.js +6 -0
- package/package.json +1 -1
|
@@ -74,7 +74,7 @@ __decorate([
|
|
|
74
74
|
enum: lending_governance_enum_1.GovernanceProposalKind,
|
|
75
75
|
enumName: 'GovernanceProposalKind',
|
|
76
76
|
description: 'Which change this proposal performs',
|
|
77
|
-
example: lending_governance_enum_1.GovernanceProposalKind.
|
|
77
|
+
example: lending_governance_enum_1.GovernanceProposalKind.CreateLiquidityPool,
|
|
78
78
|
}),
|
|
79
79
|
__metadata("design:type", String)
|
|
80
80
|
], LendingGovernanceProposalDoc.prototype, "kind", void 0);
|
|
@@ -146,6 +146,22 @@ __decorate([
|
|
|
146
146
|
}),
|
|
147
147
|
__metadata("design:type", String)
|
|
148
148
|
], LendingGovernanceProposalDoc.prototype, "assetSymbol", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, swagger_1.ApiProperty)({
|
|
151
|
+
required: false,
|
|
152
|
+
type: 'integer',
|
|
153
|
+
description: 'Hub the proposal concerns, when hub-scoped',
|
|
154
|
+
}),
|
|
155
|
+
__metadata("design:type", Number)
|
|
156
|
+
], LendingGovernanceProposalDoc.prototype, "hubId", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, swagger_1.ApiProperty)({
|
|
159
|
+
required: false,
|
|
160
|
+
type: 'integer',
|
|
161
|
+
description: 'Spoke the proposal concerns, when spoke-scoped',
|
|
162
|
+
}),
|
|
163
|
+
__metadata("design:type", Number)
|
|
164
|
+
], LendingGovernanceProposalDoc.prototype, "spokeId", void 0);
|
|
149
165
|
__decorate([
|
|
150
166
|
(0, swagger_1.ApiProperty)({
|
|
151
167
|
description: 'One-line human summary of the proposed change',
|
|
@@ -9,14 +9,15 @@ export declare enum GovernanceProposalKind {
|
|
|
9
9
|
SetAggregator = "SetAggregator",
|
|
10
10
|
SetAccumulator = "SetAccumulator",
|
|
11
11
|
SetPoolTemplate = "SetPoolTemplate",
|
|
12
|
-
EditAssetConfig = "EditAssetConfig",
|
|
13
12
|
SetPositionLimits = "SetPositionLimits",
|
|
14
13
|
SetMinBorrowCollateral = "SetMinBorrowCollateral",
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
SetPositionManager = "SetPositionManager",
|
|
15
|
+
CreateHub = "CreateHub",
|
|
16
|
+
AddSpoke = "AddSpoke",
|
|
17
|
+
RemoveSpoke = "RemoveSpoke",
|
|
18
|
+
AddAssetToSpoke = "AddAssetToSpoke",
|
|
19
|
+
EditAssetInSpoke = "EditAssetInSpoke",
|
|
20
|
+
RemoveAssetFromSpoke = "RemoveAssetFromSpoke",
|
|
20
21
|
ApproveToken = "ApproveToken",
|
|
21
22
|
RevokeToken = "RevokeToken",
|
|
22
23
|
ApproveBlendPool = "ApproveBlendPool",
|
|
@@ -13,14 +13,15 @@ var GovernanceProposalKind;
|
|
|
13
13
|
GovernanceProposalKind["SetAggregator"] = "SetAggregator";
|
|
14
14
|
GovernanceProposalKind["SetAccumulator"] = "SetAccumulator";
|
|
15
15
|
GovernanceProposalKind["SetPoolTemplate"] = "SetPoolTemplate";
|
|
16
|
-
GovernanceProposalKind["EditAssetConfig"] = "EditAssetConfig";
|
|
17
16
|
GovernanceProposalKind["SetPositionLimits"] = "SetPositionLimits";
|
|
18
17
|
GovernanceProposalKind["SetMinBorrowCollateral"] = "SetMinBorrowCollateral";
|
|
19
|
-
GovernanceProposalKind["
|
|
20
|
-
GovernanceProposalKind["
|
|
21
|
-
GovernanceProposalKind["
|
|
22
|
-
GovernanceProposalKind["
|
|
23
|
-
GovernanceProposalKind["
|
|
18
|
+
GovernanceProposalKind["SetPositionManager"] = "SetPositionManager";
|
|
19
|
+
GovernanceProposalKind["CreateHub"] = "CreateHub";
|
|
20
|
+
GovernanceProposalKind["AddSpoke"] = "AddSpoke";
|
|
21
|
+
GovernanceProposalKind["RemoveSpoke"] = "RemoveSpoke";
|
|
22
|
+
GovernanceProposalKind["AddAssetToSpoke"] = "AddAssetToSpoke";
|
|
23
|
+
GovernanceProposalKind["EditAssetInSpoke"] = "EditAssetInSpoke";
|
|
24
|
+
GovernanceProposalKind["RemoveAssetFromSpoke"] = "RemoveAssetFromSpoke";
|
|
24
25
|
GovernanceProposalKind["ApproveToken"] = "ApproveToken";
|
|
25
26
|
GovernanceProposalKind["RevokeToken"] = "RevokeToken";
|
|
26
27
|
GovernanceProposalKind["ApproveBlendPool"] = "ApproveBlendPool";
|
|
@@ -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;
|