@northstake/northstakeapi 1.0.39 → 1.0.41
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/.openapi-generator/FILES +5 -2
- package/api/lidoReadApi.ts +92 -3
- package/api/lidoStakingVaultsApi.ts +81 -0
- package/api/lidoWriteApi.ts +676 -9
- package/api/validatorsApi.ts +0 -114
- package/api.ts +5 -2
- package/dist/api/lidoReadApi.d.ts +17 -3
- package/dist/api/lidoReadApi.js +72 -3
- package/dist/api/lidoStakingVaultsApi.d.ts +13 -0
- package/dist/api/lidoStakingVaultsApi.js +61 -0
- package/dist/api/lidoWriteApi.d.ts +131 -8
- package/dist/api/lidoWriteApi.js +539 -8
- package/dist/api/validatorsApi.d.ts +0 -27
- package/dist/api/validatorsApi.js +0 -85
- package/dist/api.d.ts +5 -2
- package/dist/api.js +5 -2
- package/dist/model/abandonDashboardRequest.d.ts +32 -0
- package/dist/model/abandonDashboardRequest.js +33 -0
- package/dist/model/{getWithdrawalsResponse.d.ts → changeTier.d.ts} +7 -9
- package/dist/model/{getWithdrawalsResponse.js → changeTier.js} +15 -20
- package/dist/model/{validatorWithdrawal.d.ts → getOperatorGroup200Response.d.ts} +15 -23
- package/dist/model/getOperatorGroup200Response.js +43 -0
- package/dist/model/getStETHPerWstETHRate200Response.d.ts +2 -2
- package/dist/model/getStETHPerWstETHRate200Response.js +1 -1
- package/dist/model/lidoContractsStakingVault.d.ts +8 -0
- package/dist/model/lidoContractsStakingVault.js +10 -0
- package/dist/model/lidoStakingContractsWithDataVaultData.d.ts +16 -2
- package/dist/model/lidoStakingContractsWithDataVaultData.js +13 -3
- package/dist/model/models.d.ts +5 -2
- package/dist/model/models.js +16 -8
- package/dist/model/supportedValidatorProvidersResponse.d.ts +29 -0
- package/dist/model/supportedValidatorProvidersResponse.js +31 -0
- package/dist/model/updateShareLimit.d.ts +32 -0
- package/dist/model/updateShareLimit.js +33 -0
- package/dist/model/validatorProvider.d.ts +1 -1
- package/model/abandonDashboardRequest.ts +43 -0
- package/model/{getWithdrawalsResponse.ts → changeTier.ts} +17 -24
- package/model/getOperatorGroup200Response.ts +61 -0
- package/model/getStETHPerWstETHRate200Response.ts +3 -3
- package/model/lidoContractsStakingVault.ts +18 -0
- package/model/lidoStakingContractsWithDataVaultData.ts +32 -5
- package/model/models.ts +26 -12
- package/model/supportedValidatorProvidersResponse.ts +35 -0
- package/model/updateShareLimit.ts +43 -0
- package/model/validatorProvider.ts +2 -1
- package/package.json +2 -2
- package/dist/model/validatorWithdrawal.js +0 -78
- package/model/validatorWithdrawal.ts +0 -107
package/dist/model/models.js
CHANGED
|
@@ -38,6 +38,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.VoidAuth = exports.JWTAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBearerAuth = exports.HttpBasicAuth = exports.ObjectSerializer = void 0;
|
|
40
40
|
const jwt = __importStar(require("jsonwebtoken"));
|
|
41
|
+
__exportStar(require("./abandonDashboardRequest"), exports);
|
|
41
42
|
__exportStar(require("./acceptedQuote"), exports);
|
|
42
43
|
__exportStar(require("./accountEntity"), exports);
|
|
43
44
|
__exportStar(require("./addLinkedWalletRequest"), exports);
|
|
@@ -48,6 +49,7 @@ __exportStar(require("./asset"), exports);
|
|
|
48
49
|
__exportStar(require("./burnShares"), exports);
|
|
49
50
|
__exportStar(require("./burnStETH"), exports);
|
|
50
51
|
__exportStar(require("./burnWstETH"), exports);
|
|
52
|
+
__exportStar(require("./changeTier"), exports);
|
|
51
53
|
__exportStar(require("./collectERC20FromVault"), exports);
|
|
52
54
|
__exportStar(require("./consolidateValidators"), exports);
|
|
53
55
|
__exportStar(require("./consolidateValidatorsErrorResponse"), exports);
|
|
@@ -77,9 +79,9 @@ __exportStar(require("./getLazyOracleReportCallData200ResponseDestructuredCallda
|
|
|
77
79
|
__exportStar(require("./getLazyOracleReportData200Response"), exports);
|
|
78
80
|
__exportStar(require("./getLazyOracleReportData200ResponseReportData"), exports);
|
|
79
81
|
__exportStar(require("./getLidoTransactions200Response"), exports);
|
|
82
|
+
__exportStar(require("./getOperatorGroup200Response"), exports);
|
|
80
83
|
__exportStar(require("./getQuarantineInfo200Response"), exports);
|
|
81
84
|
__exportStar(require("./getStETHPerWstETHRate200Response"), exports);
|
|
82
|
-
__exportStar(require("./getWithdrawalsResponse"), exports);
|
|
83
85
|
__exportStar(require("./grantRole"), exports);
|
|
84
86
|
__exportStar(require("./internalTransaction"), exports);
|
|
85
87
|
__exportStar(require("./inviteMemberRequest"), exports);
|
|
@@ -126,12 +128,14 @@ __exportStar(require("./stakeEthResponse"), exports);
|
|
|
126
128
|
__exportStar(require("./stakeEthResponseDestructuredCallDataInner"), exports);
|
|
127
129
|
__exportStar(require("./stakingRequest"), exports);
|
|
128
130
|
__exportStar(require("./stakingRequestStatus"), exports);
|
|
131
|
+
__exportStar(require("./supportedValidatorProvidersResponse"), exports);
|
|
129
132
|
__exportStar(require("./transaction"), exports);
|
|
130
133
|
__exportStar(require("./triggerValidatorWithdrawals"), exports);
|
|
131
134
|
__exportStar(require("./unwrapWstETH"), exports);
|
|
132
135
|
__exportStar(require("./updateLinkedWalletNameRequest"), exports);
|
|
133
136
|
__exportStar(require("./updateMemberRoleRequest"), exports);
|
|
134
137
|
__exportStar(require("./updateOrganizationNameRequest"), exports);
|
|
138
|
+
__exportStar(require("./updateShareLimit"), exports);
|
|
135
139
|
__exportStar(require("./validateConsolidationRequestsResponse"), exports);
|
|
136
140
|
__exportStar(require("./validateConsolidationRequestsResponseConsolidationDetailsInner"), exports);
|
|
137
141
|
__exportStar(require("./validatorDailyReward"), exports);
|
|
@@ -143,7 +147,6 @@ __exportStar(require("./validatorRewardsDaily"), exports);
|
|
|
143
147
|
__exportStar(require("./validatorRewardsDailyResponse"), exports);
|
|
144
148
|
__exportStar(require("./validatorRewardsRaw"), exports);
|
|
145
149
|
__exportStar(require("./validatorType"), exports);
|
|
146
|
-
__exportStar(require("./validatorWithdrawal"), exports);
|
|
147
150
|
__exportStar(require("./vaultCreationStartResponse"), exports);
|
|
148
151
|
__exportStar(require("./wallet"), exports);
|
|
149
152
|
__exportStar(require("./webHookLookupAnswer"), exports);
|
|
@@ -171,6 +174,7 @@ __exportStar(require("./withdrawFromVault"), exports);
|
|
|
171
174
|
__exportStar(require("./withdrawalClaimable"), exports);
|
|
172
175
|
__exportStar(require("./withdrawalRecipientSettlement"), exports);
|
|
173
176
|
__exportStar(require("./wrapStETH"), exports);
|
|
177
|
+
const abandonDashboardRequest_1 = require("./abandonDashboardRequest");
|
|
174
178
|
const acceptedQuote_1 = require("./acceptedQuote");
|
|
175
179
|
const accountEntity_1 = require("./accountEntity");
|
|
176
180
|
const addLinkedWalletRequest_1 = require("./addLinkedWalletRequest");
|
|
@@ -180,6 +184,7 @@ const approveWstETH_1 = require("./approveWstETH");
|
|
|
180
184
|
const burnShares_1 = require("./burnShares");
|
|
181
185
|
const burnStETH_1 = require("./burnStETH");
|
|
182
186
|
const burnWstETH_1 = require("./burnWstETH");
|
|
187
|
+
const changeTier_1 = require("./changeTier");
|
|
183
188
|
const collectERC20FromVault_1 = require("./collectERC20FromVault");
|
|
184
189
|
const consolidateValidators_1 = require("./consolidateValidators");
|
|
185
190
|
const consolidateValidatorsErrorResponse_1 = require("./consolidateValidatorsErrorResponse");
|
|
@@ -209,9 +214,9 @@ const getLazyOracleReportCallData200ResponseDestructuredCalldata_1 = require("./
|
|
|
209
214
|
const getLazyOracleReportData200Response_1 = require("./getLazyOracleReportData200Response");
|
|
210
215
|
const getLazyOracleReportData200ResponseReportData_1 = require("./getLazyOracleReportData200ResponseReportData");
|
|
211
216
|
const getLidoTransactions200Response_1 = require("./getLidoTransactions200Response");
|
|
217
|
+
const getOperatorGroup200Response_1 = require("./getOperatorGroup200Response");
|
|
212
218
|
const getQuarantineInfo200Response_1 = require("./getQuarantineInfo200Response");
|
|
213
219
|
const getStETHPerWstETHRate200Response_1 = require("./getStETHPerWstETHRate200Response");
|
|
214
|
-
const getWithdrawalsResponse_1 = require("./getWithdrawalsResponse");
|
|
215
220
|
const grantRole_1 = require("./grantRole");
|
|
216
221
|
const internalTransaction_1 = require("./internalTransaction");
|
|
217
222
|
const inviteMemberRequest_1 = require("./inviteMemberRequest");
|
|
@@ -252,12 +257,14 @@ const stakeEthRequest_1 = require("./stakeEthRequest");
|
|
|
252
257
|
const stakeEthResponse_1 = require("./stakeEthResponse");
|
|
253
258
|
const stakeEthResponseDestructuredCallDataInner_1 = require("./stakeEthResponseDestructuredCallDataInner");
|
|
254
259
|
const stakingRequest_1 = require("./stakingRequest");
|
|
260
|
+
const supportedValidatorProvidersResponse_1 = require("./supportedValidatorProvidersResponse");
|
|
255
261
|
const transaction_1 = require("./transaction");
|
|
256
262
|
const triggerValidatorWithdrawals_1 = require("./triggerValidatorWithdrawals");
|
|
257
263
|
const unwrapWstETH_1 = require("./unwrapWstETH");
|
|
258
264
|
const updateLinkedWalletNameRequest_1 = require("./updateLinkedWalletNameRequest");
|
|
259
265
|
const updateMemberRoleRequest_1 = require("./updateMemberRoleRequest");
|
|
260
266
|
const updateOrganizationNameRequest_1 = require("./updateOrganizationNameRequest");
|
|
267
|
+
const updateShareLimit_1 = require("./updateShareLimit");
|
|
261
268
|
const validateConsolidationRequestsResponse_1 = require("./validateConsolidationRequestsResponse");
|
|
262
269
|
const validateConsolidationRequestsResponseConsolidationDetailsInner_1 = require("./validateConsolidationRequestsResponseConsolidationDetailsInner");
|
|
263
270
|
const validatorDailyReward_1 = require("./validatorDailyReward");
|
|
@@ -266,7 +273,6 @@ const validatorRewardRaw_1 = require("./validatorRewardRaw");
|
|
|
266
273
|
const validatorRewardsDaily_1 = require("./validatorRewardsDaily");
|
|
267
274
|
const validatorRewardsDailyResponse_1 = require("./validatorRewardsDailyResponse");
|
|
268
275
|
const validatorRewardsRaw_1 = require("./validatorRewardsRaw");
|
|
269
|
-
const validatorWithdrawal_1 = require("./validatorWithdrawal");
|
|
270
276
|
const vaultCreationStartResponse_1 = require("./vaultCreationStartResponse");
|
|
271
277
|
const wallet_1 = require("./wallet");
|
|
272
278
|
const webHookLookupAnswer_1 = require("./webHookLookupAnswer");
|
|
@@ -310,6 +316,7 @@ let enumsMap = {
|
|
|
310
316
|
"ApiKey.roles": apiKey_1.ApiKey,
|
|
311
317
|
"GenerateApiKeyRequest.keyRights": generateApiKeyRequest_1.GenerateApiKeyRequest,
|
|
312
318
|
"InviteMemberRequest.role": inviteMemberRequest_1.InviteMemberRequest,
|
|
319
|
+
"LidoStakingContractsWithDataVaultData.vaultHubConnectionStatus": lidoStakingContractsWithDataVaultData_1.LidoStakingContractsWithDataVaultData,
|
|
313
320
|
"OrganizationMember.role": organizationMember_1.OrganizationMember,
|
|
314
321
|
"RFQDocumentFacilitator.status": rFQDocumentFacilitator_1.RFQDocumentFacilitator,
|
|
315
322
|
"UpdateMemberRoleRequest.role": updateMemberRoleRequest_1.UpdateMemberRoleRequest,
|
|
@@ -317,10 +324,9 @@ let enumsMap = {
|
|
|
317
324
|
"ValidatorInfo.status": validatorInfo_1.ValidatorInfo,
|
|
318
325
|
"ValidatorRewardRaw.rewardType": validatorRewardRaw_1.ValidatorRewardRaw,
|
|
319
326
|
"ValidatorRewardsDaily.rewardType": validatorRewardsDaily_1.ValidatorRewardsDaily,
|
|
320
|
-
"ValidatorWithdrawal.asset": validatorWithdrawal_1.ValidatorWithdrawal,
|
|
321
|
-
"ValidatorWithdrawal.withdrawalType": validatorWithdrawal_1.ValidatorWithdrawal,
|
|
322
327
|
};
|
|
323
328
|
let typeMap = {
|
|
329
|
+
"AbandonDashboardRequest": abandonDashboardRequest_1.AbandonDashboardRequest,
|
|
324
330
|
"AcceptedQuote": acceptedQuote_1.AcceptedQuote,
|
|
325
331
|
"AccountEntity": accountEntity_1.AccountEntity,
|
|
326
332
|
"AddLinkedWalletRequest": addLinkedWalletRequest_1.AddLinkedWalletRequest,
|
|
@@ -330,6 +336,7 @@ let typeMap = {
|
|
|
330
336
|
"BurnShares": burnShares_1.BurnShares,
|
|
331
337
|
"BurnStETH": burnStETH_1.BurnStETH,
|
|
332
338
|
"BurnWstETH": burnWstETH_1.BurnWstETH,
|
|
339
|
+
"ChangeTier": changeTier_1.ChangeTier,
|
|
333
340
|
"CollectERC20FromVault": collectERC20FromVault_1.CollectERC20FromVault,
|
|
334
341
|
"ConsolidateValidators": consolidateValidators_1.ConsolidateValidators,
|
|
335
342
|
"ConsolidateValidatorsErrorResponse": consolidateValidatorsErrorResponse_1.ConsolidateValidatorsErrorResponse,
|
|
@@ -359,9 +366,9 @@ let typeMap = {
|
|
|
359
366
|
"GetLazyOracleReportData200Response": getLazyOracleReportData200Response_1.GetLazyOracleReportData200Response,
|
|
360
367
|
"GetLazyOracleReportData200ResponseReportData": getLazyOracleReportData200ResponseReportData_1.GetLazyOracleReportData200ResponseReportData,
|
|
361
368
|
"GetLidoTransactions200Response": getLidoTransactions200Response_1.GetLidoTransactions200Response,
|
|
369
|
+
"GetOperatorGroup200Response": getOperatorGroup200Response_1.GetOperatorGroup200Response,
|
|
362
370
|
"GetQuarantineInfo200Response": getQuarantineInfo200Response_1.GetQuarantineInfo200Response,
|
|
363
371
|
"GetStETHPerWstETHRate200Response": getStETHPerWstETHRate200Response_1.GetStETHPerWstETHRate200Response,
|
|
364
|
-
"GetWithdrawalsResponse": getWithdrawalsResponse_1.GetWithdrawalsResponse,
|
|
365
372
|
"GrantRole": grantRole_1.GrantRole,
|
|
366
373
|
"InternalTransaction": internalTransaction_1.InternalTransaction,
|
|
367
374
|
"InviteMemberRequest": inviteMemberRequest_1.InviteMemberRequest,
|
|
@@ -402,12 +409,14 @@ let typeMap = {
|
|
|
402
409
|
"StakeEthResponse": stakeEthResponse_1.StakeEthResponse,
|
|
403
410
|
"StakeEthResponseDestructuredCallDataInner": stakeEthResponseDestructuredCallDataInner_1.StakeEthResponseDestructuredCallDataInner,
|
|
404
411
|
"StakingRequest": stakingRequest_1.StakingRequest,
|
|
412
|
+
"SupportedValidatorProvidersResponse": supportedValidatorProvidersResponse_1.SupportedValidatorProvidersResponse,
|
|
405
413
|
"Transaction": transaction_1.Transaction,
|
|
406
414
|
"TriggerValidatorWithdrawals": triggerValidatorWithdrawals_1.TriggerValidatorWithdrawals,
|
|
407
415
|
"UnwrapWstETH": unwrapWstETH_1.UnwrapWstETH,
|
|
408
416
|
"UpdateLinkedWalletNameRequest": updateLinkedWalletNameRequest_1.UpdateLinkedWalletNameRequest,
|
|
409
417
|
"UpdateMemberRoleRequest": updateMemberRoleRequest_1.UpdateMemberRoleRequest,
|
|
410
418
|
"UpdateOrganizationNameRequest": updateOrganizationNameRequest_1.UpdateOrganizationNameRequest,
|
|
419
|
+
"UpdateShareLimit": updateShareLimit_1.UpdateShareLimit,
|
|
411
420
|
"ValidateConsolidationRequestsResponse": validateConsolidationRequestsResponse_1.ValidateConsolidationRequestsResponse,
|
|
412
421
|
"ValidateConsolidationRequestsResponseConsolidationDetailsInner": validateConsolidationRequestsResponseConsolidationDetailsInner_1.ValidateConsolidationRequestsResponseConsolidationDetailsInner,
|
|
413
422
|
"ValidatorDailyReward": validatorDailyReward_1.ValidatorDailyReward,
|
|
@@ -416,7 +425,6 @@ let typeMap = {
|
|
|
416
425
|
"ValidatorRewardsDaily": validatorRewardsDaily_1.ValidatorRewardsDaily,
|
|
417
426
|
"ValidatorRewardsDailyResponse": validatorRewardsDailyResponse_1.ValidatorRewardsDailyResponse,
|
|
418
427
|
"ValidatorRewardsRaw": validatorRewardsRaw_1.ValidatorRewardsRaw,
|
|
419
|
-
"ValidatorWithdrawal": validatorWithdrawal_1.ValidatorWithdrawal,
|
|
420
428
|
"VaultCreationStartResponse": vaultCreationStartResponse_1.VaultCreationStartResponse,
|
|
421
429
|
"Wallet": wallet_1.Wallet,
|
|
422
430
|
"WebHookLookupAnswer": webHookLookupAnswer_1.WebHookLookupAnswer,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ValidatorProvider } from './validatorProvider';
|
|
13
|
+
/**
|
|
14
|
+
* List of validator providers available for the current user when creating a vault
|
|
15
|
+
*/
|
|
16
|
+
export declare class SupportedValidatorProvidersResponse {
|
|
17
|
+
'providers': Array<ValidatorProvider>;
|
|
18
|
+
static discriminator: string | undefined;
|
|
19
|
+
static attributeTypeMap: Array<{
|
|
20
|
+
name: string;
|
|
21
|
+
baseName: string;
|
|
22
|
+
type: string;
|
|
23
|
+
}>;
|
|
24
|
+
static getAttributeTypeMap(): {
|
|
25
|
+
name: string;
|
|
26
|
+
baseName: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Northstake
|
|
4
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.SupportedValidatorProvidersResponse = void 0;
|
|
15
|
+
/**
|
|
16
|
+
* List of validator providers available for the current user when creating a vault
|
|
17
|
+
*/
|
|
18
|
+
class SupportedValidatorProvidersResponse {
|
|
19
|
+
static getAttributeTypeMap() {
|
|
20
|
+
return SupportedValidatorProvidersResponse.attributeTypeMap;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.SupportedValidatorProvidersResponse = SupportedValidatorProvidersResponse;
|
|
24
|
+
SupportedValidatorProvidersResponse.discriminator = undefined;
|
|
25
|
+
SupportedValidatorProvidersResponse.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "providers",
|
|
28
|
+
"baseName": "providers",
|
|
29
|
+
"type": "Array<ValidatorProvider>"
|
|
30
|
+
}
|
|
31
|
+
];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare class UpdateShareLimit {
|
|
13
|
+
/**
|
|
14
|
+
* Requested share limit.
|
|
15
|
+
*/
|
|
16
|
+
'requestedShareLimit': string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.
|
|
19
|
+
*/
|
|
20
|
+
'simulateAddress'?: string;
|
|
21
|
+
static discriminator: string | undefined;
|
|
22
|
+
static attributeTypeMap: Array<{
|
|
23
|
+
name: string;
|
|
24
|
+
baseName: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}>;
|
|
27
|
+
static getAttributeTypeMap(): {
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Northstake
|
|
4
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 1.0
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.UpdateShareLimit = void 0;
|
|
15
|
+
class UpdateShareLimit {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return UpdateShareLimit.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.UpdateShareLimit = UpdateShareLimit;
|
|
21
|
+
UpdateShareLimit.discriminator = undefined;
|
|
22
|
+
UpdateShareLimit.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "requestedShareLimit",
|
|
25
|
+
"baseName": "requestedShareLimit",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "simulateAddress",
|
|
30
|
+
"baseName": "simulateAddress",
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
];
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export class AbandonDashboardRequest {
|
|
15
|
+
/**
|
|
16
|
+
* Address to transfer StakingVault ownership to (e.g. current vault owner). Cannot be the Dashboard.
|
|
17
|
+
*/
|
|
18
|
+
'newOwner': string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional Ethereum address to simulate the transaction from.
|
|
21
|
+
*/
|
|
22
|
+
'simulateAddress'?: string;
|
|
23
|
+
|
|
24
|
+
static discriminator: string | undefined = undefined;
|
|
25
|
+
|
|
26
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
27
|
+
{
|
|
28
|
+
"name": "newOwner",
|
|
29
|
+
"baseName": "newOwner",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "simulateAddress",
|
|
34
|
+
"baseName": "simulateAddress",
|
|
35
|
+
"type": "string"
|
|
36
|
+
} ];
|
|
37
|
+
|
|
38
|
+
static getAttributeTypeMap() {
|
|
39
|
+
return AbandonDashboardRequest.attributeTypeMap;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
@@ -10,49 +10,42 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { ValidatorWithdrawal } from './validatorWithdrawal';
|
|
14
13
|
|
|
15
|
-
export class
|
|
16
|
-
'withdrawals': Array<ValidatorWithdrawal>;
|
|
14
|
+
export class ChangeTier {
|
|
17
15
|
/**
|
|
18
|
-
*
|
|
16
|
+
* Tier ID.
|
|
19
17
|
*/
|
|
20
|
-
'
|
|
18
|
+
'tierId': string;
|
|
21
19
|
/**
|
|
22
|
-
*
|
|
20
|
+
* Requested share limit.
|
|
23
21
|
*/
|
|
24
|
-
'
|
|
22
|
+
'requestedShareLimit': string;
|
|
25
23
|
/**
|
|
26
|
-
*
|
|
24
|
+
* Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.
|
|
27
25
|
*/
|
|
28
|
-
'
|
|
26
|
+
'simulateAddress'?: string;
|
|
29
27
|
|
|
30
28
|
static discriminator: string | undefined = undefined;
|
|
31
29
|
|
|
32
30
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
33
31
|
{
|
|
34
|
-
"name": "
|
|
35
|
-
"baseName": "
|
|
36
|
-
"type": "
|
|
32
|
+
"name": "tierId",
|
|
33
|
+
"baseName": "tierId",
|
|
34
|
+
"type": "string"
|
|
37
35
|
},
|
|
38
36
|
{
|
|
39
|
-
"name": "
|
|
40
|
-
"baseName": "
|
|
41
|
-
"type": "
|
|
37
|
+
"name": "requestedShareLimit",
|
|
38
|
+
"baseName": "requestedShareLimit",
|
|
39
|
+
"type": "string"
|
|
42
40
|
},
|
|
43
41
|
{
|
|
44
|
-
"name": "
|
|
45
|
-
"baseName": "
|
|
46
|
-
"type": "
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "currentPage",
|
|
50
|
-
"baseName": "currentPage",
|
|
51
|
-
"type": "number"
|
|
42
|
+
"name": "simulateAddress",
|
|
43
|
+
"baseName": "simulateAddress",
|
|
44
|
+
"type": "string"
|
|
52
45
|
} ];
|
|
53
46
|
|
|
54
47
|
static getAttributeTypeMap() {
|
|
55
|
-
return
|
|
48
|
+
return ChangeTier.attributeTypeMap;
|
|
56
49
|
}
|
|
57
50
|
}
|
|
58
51
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export class GetOperatorGroup200Response {
|
|
15
|
+
/**
|
|
16
|
+
* The operator address
|
|
17
|
+
*/
|
|
18
|
+
'operator': string;
|
|
19
|
+
/**
|
|
20
|
+
* The share limit for the operator group
|
|
21
|
+
*/
|
|
22
|
+
'shareLimit': string;
|
|
23
|
+
/**
|
|
24
|
+
* The liability shares for the operator group
|
|
25
|
+
*/
|
|
26
|
+
'liabilityShares': string;
|
|
27
|
+
/**
|
|
28
|
+
* The tier IDs associated with the operator group
|
|
29
|
+
*/
|
|
30
|
+
'tierIds': Array<string>;
|
|
31
|
+
|
|
32
|
+
static discriminator: string | undefined = undefined;
|
|
33
|
+
|
|
34
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
35
|
+
{
|
|
36
|
+
"name": "operator",
|
|
37
|
+
"baseName": "operator",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "shareLimit",
|
|
42
|
+
"baseName": "shareLimit",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "liabilityShares",
|
|
47
|
+
"baseName": "liabilityShares",
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "tierIds",
|
|
52
|
+
"baseName": "tierIds",
|
|
53
|
+
"type": "Array<string>"
|
|
54
|
+
} ];
|
|
55
|
+
|
|
56
|
+
static getAttributeTypeMap() {
|
|
57
|
+
return GetOperatorGroup200Response.attributeTypeMap;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
export class GetStETHPerWstETHRate200Response {
|
|
15
15
|
/**
|
|
16
|
-
* The current exchange rate of stETH per wstETH
|
|
16
|
+
* The current exchange rate of stETH per wstETH as a bigint string (raw 18-decimal value) to avoid rounding errors
|
|
17
17
|
*/
|
|
18
|
-
'rate':
|
|
18
|
+
'rate': string;
|
|
19
19
|
|
|
20
20
|
static discriminator: string | undefined = undefined;
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@ export class GetStETHPerWstETHRate200Response {
|
|
|
23
23
|
{
|
|
24
24
|
"name": "rate",
|
|
25
25
|
"baseName": "rate",
|
|
26
|
-
"type": "
|
|
26
|
+
"type": "string"
|
|
27
27
|
} ];
|
|
28
28
|
|
|
29
29
|
static getAttributeTypeMap() {
|
|
@@ -16,6 +16,14 @@ export class LidoContractsStakingVault {
|
|
|
16
16
|
* Staking vault contract address
|
|
17
17
|
*/
|
|
18
18
|
'address': string;
|
|
19
|
+
/**
|
|
20
|
+
* Owner of the staking vault contract (Ownable). Used by disconnect wizard to show who can accept ownership.
|
|
21
|
+
*/
|
|
22
|
+
'owner'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Pending owner (Ownable2Step). When non-zero, Step 3 (abandon dashboard) is done and the frontend can show \"Accept ownership (Step 4) from this address\". Zero address when no transfer is pending.
|
|
25
|
+
*/
|
|
26
|
+
'pendingOwner'?: string;
|
|
19
27
|
|
|
20
28
|
static discriminator: string | undefined = undefined;
|
|
21
29
|
|
|
@@ -24,6 +32,16 @@ export class LidoContractsStakingVault {
|
|
|
24
32
|
"name": "address",
|
|
25
33
|
"baseName": "address",
|
|
26
34
|
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "owner",
|
|
38
|
+
"baseName": "owner",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "pendingOwner",
|
|
43
|
+
"baseName": "pendingOwner",
|
|
44
|
+
"type": "string"
|
|
27
45
|
} ];
|
|
28
46
|
|
|
29
47
|
static getAttributeTypeMap() {
|
|
@@ -73,9 +73,9 @@ export class LidoStakingContractsWithDataVaultData {
|
|
|
73
73
|
*/
|
|
74
74
|
'vaultIndex'?: number;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* Vault hub connection status. `connected` = fully connected; `disconnecting` = voluntary disconnect initiated, transition period (same restrictions as disconnected); `disconnected` = not connected. When not `connected`, only voluntary disconnect, withdrawal, and connect to vault hub are allowed.
|
|
77
77
|
*/
|
|
78
|
-
'
|
|
78
|
+
'vaultHubConnectionStatus'?: LidoStakingContractsWithDataVaultData.vaultHubConnectionStatusEnum;
|
|
79
79
|
/**
|
|
80
80
|
* Share of ether locked as additional reserve (in basis points)
|
|
81
81
|
*/
|
|
@@ -100,6 +100,14 @@ export class LidoStakingContractsWithDataVaultData {
|
|
|
100
100
|
* If true, vault owner intends to pause beacon chain deposits
|
|
101
101
|
*/
|
|
102
102
|
'beaconChainDepositsPauseIntent'?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Tier ID on the operator grid
|
|
105
|
+
*/
|
|
106
|
+
'tierId'?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Node operator address. A value of 0xffffffffffffffffffffffffffffffffffffffff indicates that the operator is not registered on the operator grid
|
|
109
|
+
*/
|
|
110
|
+
'nodeOperator'?: string;
|
|
103
111
|
|
|
104
112
|
static discriminator: string | undefined = undefined;
|
|
105
113
|
|
|
@@ -180,9 +188,9 @@ export class LidoStakingContractsWithDataVaultData {
|
|
|
180
188
|
"type": "number"
|
|
181
189
|
},
|
|
182
190
|
{
|
|
183
|
-
"name": "
|
|
184
|
-
"baseName": "
|
|
185
|
-
"type": "
|
|
191
|
+
"name": "vaultHubConnectionStatus",
|
|
192
|
+
"baseName": "vaultHubConnectionStatus",
|
|
193
|
+
"type": "LidoStakingContractsWithDataVaultData.vaultHubConnectionStatusEnum"
|
|
186
194
|
},
|
|
187
195
|
{
|
|
188
196
|
"name": "reserveRatioBP",
|
|
@@ -213,6 +221,16 @@ export class LidoStakingContractsWithDataVaultData {
|
|
|
213
221
|
"name": "beaconChainDepositsPauseIntent",
|
|
214
222
|
"baseName": "beaconChainDepositsPauseIntent",
|
|
215
223
|
"type": "boolean"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "tierId",
|
|
227
|
+
"baseName": "tierId",
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "nodeOperator",
|
|
232
|
+
"baseName": "nodeOperator",
|
|
233
|
+
"type": "string"
|
|
216
234
|
} ];
|
|
217
235
|
|
|
218
236
|
static getAttributeTypeMap() {
|
|
@@ -220,4 +238,13 @@ export class LidoStakingContractsWithDataVaultData {
|
|
|
220
238
|
}
|
|
221
239
|
}
|
|
222
240
|
|
|
241
|
+
export namespace LidoStakingContractsWithDataVaultData {
|
|
242
|
+
/**
|
|
243
|
+
* Vault hub connection status. `connected` = fully connected; `disconnecting` = voluntary disconnect initiated, transition period (same restrictions as disconnected); `disconnected` = not connected. When not `connected`, only voluntary disconnect, withdrawal, and connect to vault hub are allowed.
|
|
244
|
+
*/
|
|
245
|
+
export type vaultHubConnectionStatusEnum =
|
|
246
|
+
'connected' |
|
|
247
|
+
'disconnected' |
|
|
248
|
+
'disconnecting';
|
|
249
|
+
}
|
|
223
250
|
|