@xoxno/types 1.0.445 → 1.0.446
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,6 +31,9 @@ export declare class BlendLegMigratability {
|
|
|
31
31
|
export declare class BlendUserPosition {
|
|
32
32
|
address: string;
|
|
33
33
|
blendPool: string;
|
|
34
|
+
migrationAccountId: string;
|
|
35
|
+
migrationSpokeId: number;
|
|
36
|
+
migrationHubId: number;
|
|
34
37
|
collateral: BlendLeg[];
|
|
35
38
|
supply: BlendLeg[];
|
|
36
39
|
debt: BlendLeg[];
|
|
@@ -47,7 +50,8 @@ export declare class BlendDebtCap {
|
|
|
47
50
|
export declare class MigrateFromBlendArgs {
|
|
48
51
|
blendPool: string;
|
|
49
52
|
accountId: string;
|
|
50
|
-
|
|
53
|
+
spokeId: number;
|
|
54
|
+
hubId: number;
|
|
51
55
|
collateralTokens: string[];
|
|
52
56
|
supplyTokens: string[];
|
|
53
57
|
debtCaps: BlendDebtCap[];
|
|
@@ -87,6 +87,21 @@ __decorate([
|
|
|
87
87
|
(0, swagger_1.ApiProperty)({ description: 'Blend pool contract address' }),
|
|
88
88
|
__metadata("design:type", String)
|
|
89
89
|
], BlendUserPosition.prototype, "blendPool", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, swagger_1.ApiProperty)({
|
|
92
|
+
description: 'Existing XOXNO account id, or "0" create new account',
|
|
93
|
+
example: '0',
|
|
94
|
+
}),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], BlendUserPosition.prototype, "migrationAccountId", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, swagger_1.ApiProperty)({ description: 'Selected XOXNO spoke id', example: 1 }),
|
|
99
|
+
__metadata("design:type", Number)
|
|
100
|
+
], BlendUserPosition.prototype, "migrationSpokeId", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, swagger_1.ApiProperty)({ description: 'Selected XOXNO hub id', example: 1 }),
|
|
103
|
+
__metadata("design:type", Number)
|
|
104
|
+
], BlendUserPosition.prototype, "migrationHubId", void 0);
|
|
90
105
|
__decorate([
|
|
91
106
|
(0, swagger_1.ApiProperty)({ type: () => BlendLeg, isArray: true }),
|
|
92
107
|
__metadata("design:type", Array)
|
|
@@ -144,9 +159,13 @@ __decorate([
|
|
|
144
159
|
__metadata("design:type", String)
|
|
145
160
|
], MigrateFromBlendArgs.prototype, "accountId", void 0);
|
|
146
161
|
__decorate([
|
|
147
|
-
(0, swagger_1.ApiProperty)({ description: '
|
|
162
|
+
(0, swagger_1.ApiProperty)({ description: 'Selected XOXNO spoke id', example: 1 }),
|
|
163
|
+
__metadata("design:type", Number)
|
|
164
|
+
], MigrateFromBlendArgs.prototype, "spokeId", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, swagger_1.ApiProperty)({ description: 'Selected XOXNO hub id', example: 1 }),
|
|
148
167
|
__metadata("design:type", Number)
|
|
149
|
-
], MigrateFromBlendArgs.prototype, "
|
|
168
|
+
], MigrateFromBlendArgs.prototype, "hubId", void 0);
|
|
150
169
|
__decorate([
|
|
151
170
|
(0, swagger_1.ApiProperty)({
|
|
152
171
|
description: 'Collateral assets to withdraw from Blend and re-collateralize',
|