@northstake/northstakeapi 1.0.39 → 1.0.40

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.
@@ -77,6 +77,7 @@ class LidoWriteApi {
77
77
  }
78
78
  /**
79
79
  *
80
+ * @summary Encode approval to burn stETH
80
81
  * @param contractsId The unique identifier of the Lido staking contracts
81
82
  * @param approveStETH
82
83
  */
@@ -149,6 +150,7 @@ class LidoWriteApi {
149
150
  }
150
151
  /**
151
152
  *
153
+ * @summary Encode approval to burn wstETH
152
154
  * @param contractsId The unique identifier of the Lido staking contracts
153
155
  * @param approveWstETH
154
156
  */
@@ -221,6 +223,7 @@ class LidoWriteApi {
221
223
  }
222
224
  /**
223
225
  *
226
+ * @summary Approve wrapping stETH to wstETH
224
227
  * @param approveStETH
225
228
  */
226
229
  async approveWrapStETH(approveStETH, options = { headers: {} }) {
@@ -287,6 +290,7 @@ class LidoWriteApi {
287
290
  }
288
291
  /**
289
292
  *
293
+ * @summary Encode burn shares transaction
290
294
  * @param contractsId The unique identifier of the Lido staking contracts
291
295
  * @param burnShares
292
296
  */
@@ -359,6 +363,7 @@ class LidoWriteApi {
359
363
  }
360
364
  /**
361
365
  *
366
+ * @summary Encode burn stETH transaction
362
367
  * @param contractsId The unique identifier of the Lido staking contracts
363
368
  * @param burnStETH
364
369
  */
@@ -431,6 +436,7 @@ class LidoWriteApi {
431
436
  }
432
437
  /**
433
438
  *
439
+ * @summary Encode burn wstETH transaction
434
440
  * @param contractsId The unique identifier of the Lido staking contracts
435
441
  * @param burnWstETH
436
442
  */
@@ -503,6 +509,80 @@ class LidoWriteApi {
503
509
  }
504
510
  /**
505
511
  *
512
+ * @summary Encode change tier transaction
513
+ * @param contractsId The unique identifier of the Lido staking contracts
514
+ * @param changeTier
515
+ */
516
+ async changeTier(contractsId, changeTier, options = { headers: {} }) {
517
+ const localVarPath = this.basePath + '/lidov3/{contractsId}/vault/change-tier'
518
+ .replace('{' + 'contractsId' + '}', encodeURIComponent(String(contractsId)));
519
+ let localVarQueryParameters = {};
520
+ let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
521
+ const produces = ['application/json'];
522
+ if (produces.indexOf('application/json') >= 0) {
523
+ localVarHeaderParams.Accept = 'application/json';
524
+ }
525
+ else {
526
+ localVarHeaderParams.Accept = produces.join(',');
527
+ }
528
+ let localVarFormParams = {};
529
+ // Verify required parameter 'contractsId' is not null or undefined
530
+ if (contractsId === null || contractsId === undefined) {
531
+ throw new Error('Required parameter "contractsId" was null or undefined when calling changeTier.');
532
+ }
533
+ // Verify required parameter 'changeTier' is not null or undefined
534
+ if (changeTier === null || changeTier === undefined) {
535
+ throw new Error('Required parameter "changeTier" was null or undefined when calling changeTier.');
536
+ }
537
+ Object.assign(localVarHeaderParams, options.headers);
538
+ let localVarUseFormData = false;
539
+ let localVarRequestOptions = {
540
+ method: 'POST',
541
+ qs: localVarQueryParameters,
542
+ headers: localVarHeaderParams,
543
+ uri: localVarPath,
544
+ useQuerystring: this._useQuerystring,
545
+ json: true,
546
+ body: models_1.ObjectSerializer.serialize(changeTier, "ChangeTier")
547
+ };
548
+ let authenticationPromise = Promise.resolve();
549
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
550
+ let interceptorPromise = authenticationPromise;
551
+ for (const interceptor of this.interceptors) {
552
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
553
+ }
554
+ return interceptorPromise.then(() => {
555
+ if (Object.keys(localVarFormParams).length) {
556
+ if (localVarUseFormData) {
557
+ localVarRequestOptions.formData = localVarFormParams;
558
+ }
559
+ else {
560
+ localVarRequestOptions.form = localVarFormParams;
561
+ }
562
+ }
563
+ return new Promise((resolve, reject) => {
564
+ (0, request_1.default)(localVarRequestOptions, (error, response, body) => {
565
+ if (error) {
566
+ console.error('API call error:', error);
567
+ reject(error);
568
+ }
569
+ else {
570
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
571
+ body = models_1.ObjectSerializer.deserialize(body, "PartialTransaction");
572
+ resolve({ body: body, status: response.statusCode });
573
+ }
574
+ else {
575
+ console.error('API response error:', response.statusCode);
576
+ resolve({ body: body, status: response.statusCode });
577
+ }
578
+ }
579
+ });
580
+ });
581
+ });
582
+ }
583
+ /**
584
+ *
585
+ * @summary Collect ERC20 from vault
506
586
  * @param contractsId The unique identifier of the Lido staking contracts
507
587
  * @param collectERC20FromVault
508
588
  */
@@ -648,6 +728,7 @@ class LidoWriteApi {
648
728
  }
649
729
  /**
650
730
  *
731
+ * @summary Fund vault with ETH
651
732
  * @param contractsId The unique identifier of the Lido staking contracts
652
733
  * @param fundVault
653
734
  */
@@ -719,11 +800,12 @@ class LidoWriteApi {
719
800
  });
720
801
  }
721
802
  /**
722
- *
723
- * @summary Update the lazy oracle report for a specific Lido staking contract set, returns the calldata needed to submit the updateVaultData transaction to the lazy oracle contract.
803
+ * Returns the calldata needed to submit the updateVaultData transaction to the lazy oracle contract for a specific Lido staking contract set.
804
+ * @summary Update lazy oracle report
724
805
  * @param contractsId The unique identifier of the Lido staking contracts
806
+ * @param simulateAddress Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.
725
807
  */
726
- async getLazyOracleReportCallData(contractsId, options = { headers: {} }) {
808
+ async getLazyOracleReportCallData(contractsId, simulateAddress, options = { headers: {} }) {
727
809
  const localVarPath = this.basePath + '/lidov3/{contractsId}/update-vault-report'
728
810
  .replace('{' + 'contractsId' + '}', encodeURIComponent(String(contractsId)));
729
811
  let localVarQueryParameters = {};
@@ -740,6 +822,9 @@ class LidoWriteApi {
740
822
  if (contractsId === null || contractsId === undefined) {
741
823
  throw new Error('Required parameter "contractsId" was null or undefined when calling getLazyOracleReportCallData.');
742
824
  }
825
+ if (simulateAddress !== undefined) {
826
+ localVarQueryParameters['simulateAddress'] = models_1.ObjectSerializer.serialize(simulateAddress, "string");
827
+ }
743
828
  Object.assign(localVarHeaderParams, options.headers);
744
829
  let localVarUseFormData = false;
745
830
  let localVarRequestOptions = {
@@ -860,6 +945,7 @@ class LidoWriteApi {
860
945
  }
861
946
  /**
862
947
  *
948
+ * @summary Grant vault role
863
949
  * @param contractsId The unique identifier of the Lido staking contracts
864
950
  * @param grantRole
865
951
  */
@@ -932,7 +1018,7 @@ class LidoWriteApi {
932
1018
  }
933
1019
  /**
934
1020
  *
935
- * @summary List staking request IDs for a specific Lido staking contract set
1021
+ * @summary List staking request IDs for a vault
936
1022
  * @param contractsId The unique identifier of the Lido staking contracts
937
1023
  * @param status
938
1024
  */
@@ -1003,6 +1089,7 @@ class LidoWriteApi {
1003
1089
  }
1004
1090
  /**
1005
1091
  *
1092
+ * @summary Encode mint shares transaction
1006
1093
  * @param contractsId The unique identifier of the Lido staking contracts
1007
1094
  * @param mintShares
1008
1095
  */
@@ -1075,6 +1162,7 @@ class LidoWriteApi {
1075
1162
  }
1076
1163
  /**
1077
1164
  *
1165
+ * @summary Encode mint stETH transaction
1078
1166
  * @param contractsId The unique identifier of the Lido staking contracts
1079
1167
  * @param mintStETH
1080
1168
  */
@@ -1147,6 +1235,7 @@ class LidoWriteApi {
1147
1235
  }
1148
1236
  /**
1149
1237
  *
1238
+ * @summary Encode mint wstETH transaction
1150
1239
  * @param contractsId The unique identifier of the Lido staking contracts
1151
1240
  * @param mintWstETH
1152
1241
  */
@@ -1219,6 +1308,7 @@ class LidoWriteApi {
1219
1308
  }
1220
1309
  /**
1221
1310
  *
1311
+ * @summary Rebalance vault with ETH
1222
1312
  * @param contractsId The unique identifier of the Lido staking contracts
1223
1313
  * @param rebalanceVaultWithEther
1224
1314
  */
@@ -1291,6 +1381,7 @@ class LidoWriteApi {
1291
1381
  }
1292
1382
  /**
1293
1383
  *
1384
+ * @summary Rebalance vault with shares
1294
1385
  * @param contractsId The unique identifier of the Lido staking contracts
1295
1386
  * @param rebalanceVaultWithShares
1296
1387
  */
@@ -1363,6 +1454,7 @@ class LidoWriteApi {
1363
1454
  }
1364
1455
  /**
1365
1456
  *
1457
+ * @summary Recover ERC20 from vault
1366
1458
  * @param contractsId The unique identifier of the Lido staking contracts
1367
1459
  * @param recoverERC20
1368
1460
  */
@@ -1435,6 +1527,7 @@ class LidoWriteApi {
1435
1527
  }
1436
1528
  /**
1437
1529
  *
1530
+ * @summary Revoke vault role
1438
1531
  * @param contractsId The unique identifier of the Lido staking contracts
1439
1532
  * @param revokeRole
1440
1533
  */
@@ -1506,8 +1599,8 @@ class LidoWriteApi {
1506
1599
  });
1507
1600
  }
1508
1601
  /**
1509
- *
1510
- * @summary Stake ETH using a specific Lido staking contract set. Returns the call data needed to submit the unguaranteed deposit transaction to the dashboard contract.
1602
+ * Returns the call data needed to submit the unguaranteed deposit transaction to the dashboard contract.
1603
+ * @summary Stake ETH with a Lido staking vault
1511
1604
  * @param contractsId The unique identifier of the Lido staking contracts
1512
1605
  * @param stakeEthRequest
1513
1606
  */
@@ -1580,6 +1673,78 @@ class LidoWriteApi {
1580
1673
  }
1581
1674
  /**
1582
1675
  *
1676
+ * @summary Encode sync tier transaction
1677
+ * @param contractsId The unique identifier of the Lido staking contracts
1678
+ * @param simulateAddress Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.
1679
+ */
1680
+ async syncTier(contractsId, simulateAddress, options = { headers: {} }) {
1681
+ const localVarPath = this.basePath + '/lidov3/{contractsId}/vault/sync-tier'
1682
+ .replace('{' + 'contractsId' + '}', encodeURIComponent(String(contractsId)));
1683
+ let localVarQueryParameters = {};
1684
+ let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
1685
+ const produces = ['application/json'];
1686
+ if (produces.indexOf('application/json') >= 0) {
1687
+ localVarHeaderParams.Accept = 'application/json';
1688
+ }
1689
+ else {
1690
+ localVarHeaderParams.Accept = produces.join(',');
1691
+ }
1692
+ let localVarFormParams = {};
1693
+ // Verify required parameter 'contractsId' is not null or undefined
1694
+ if (contractsId === null || contractsId === undefined) {
1695
+ throw new Error('Required parameter "contractsId" was null or undefined when calling syncTier.');
1696
+ }
1697
+ if (simulateAddress !== undefined) {
1698
+ localVarQueryParameters['simulateAddress'] = models_1.ObjectSerializer.serialize(simulateAddress, "string");
1699
+ }
1700
+ Object.assign(localVarHeaderParams, options.headers);
1701
+ let localVarUseFormData = false;
1702
+ let localVarRequestOptions = {
1703
+ method: 'POST',
1704
+ qs: localVarQueryParameters,
1705
+ headers: localVarHeaderParams,
1706
+ uri: localVarPath,
1707
+ useQuerystring: this._useQuerystring,
1708
+ json: true,
1709
+ };
1710
+ let authenticationPromise = Promise.resolve();
1711
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1712
+ let interceptorPromise = authenticationPromise;
1713
+ for (const interceptor of this.interceptors) {
1714
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1715
+ }
1716
+ return interceptorPromise.then(() => {
1717
+ if (Object.keys(localVarFormParams).length) {
1718
+ if (localVarUseFormData) {
1719
+ localVarRequestOptions.formData = localVarFormParams;
1720
+ }
1721
+ else {
1722
+ localVarRequestOptions.form = localVarFormParams;
1723
+ }
1724
+ }
1725
+ return new Promise((resolve, reject) => {
1726
+ (0, request_1.default)(localVarRequestOptions, (error, response, body) => {
1727
+ if (error) {
1728
+ console.error('API call error:', error);
1729
+ reject(error);
1730
+ }
1731
+ else {
1732
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1733
+ body = models_1.ObjectSerializer.deserialize(body, "PartialTransaction");
1734
+ resolve({ body: body, status: response.statusCode });
1735
+ }
1736
+ else {
1737
+ console.error('API response error:', response.statusCode);
1738
+ resolve({ body: body, status: response.statusCode });
1739
+ }
1740
+ }
1741
+ });
1742
+ });
1743
+ });
1744
+ }
1745
+ /**
1746
+ *
1747
+ * @summary Trigger validator withdrawals
1583
1748
  * @param contractsId The unique identifier of the Lido staking contracts
1584
1749
  * @param triggerValidatorWithdrawals
1585
1750
  */
@@ -1652,6 +1817,7 @@ class LidoWriteApi {
1652
1817
  }
1653
1818
  /**
1654
1819
  *
1820
+ * @summary Unwrap wstETH to stETH
1655
1821
  * @param unwrapWstETH
1656
1822
  */
1657
1823
  async unwrapWstETH(unwrapWstETH, options = { headers: {} }) {
@@ -1718,7 +1884,80 @@ class LidoWriteApi {
1718
1884
  }
1719
1885
  /**
1720
1886
  *
1721
- * @summary Validate consolidation requests and return validator balances and signing wallet information
1887
+ * @summary Encode update share limit transaction
1888
+ * @param contractsId The unique identifier of the Lido staking contracts
1889
+ * @param updateShareLimit
1890
+ */
1891
+ async updateShareLimit(contractsId, updateShareLimit, options = { headers: {} }) {
1892
+ const localVarPath = this.basePath + '/lidov3/{contractsId}/vault/update-share-limit'
1893
+ .replace('{' + 'contractsId' + '}', encodeURIComponent(String(contractsId)));
1894
+ let localVarQueryParameters = {};
1895
+ let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
1896
+ const produces = ['application/json'];
1897
+ if (produces.indexOf('application/json') >= 0) {
1898
+ localVarHeaderParams.Accept = 'application/json';
1899
+ }
1900
+ else {
1901
+ localVarHeaderParams.Accept = produces.join(',');
1902
+ }
1903
+ let localVarFormParams = {};
1904
+ // Verify required parameter 'contractsId' is not null or undefined
1905
+ if (contractsId === null || contractsId === undefined) {
1906
+ throw new Error('Required parameter "contractsId" was null or undefined when calling updateShareLimit.');
1907
+ }
1908
+ // Verify required parameter 'updateShareLimit' is not null or undefined
1909
+ if (updateShareLimit === null || updateShareLimit === undefined) {
1910
+ throw new Error('Required parameter "updateShareLimit" was null or undefined when calling updateShareLimit.');
1911
+ }
1912
+ Object.assign(localVarHeaderParams, options.headers);
1913
+ let localVarUseFormData = false;
1914
+ let localVarRequestOptions = {
1915
+ method: 'POST',
1916
+ qs: localVarQueryParameters,
1917
+ headers: localVarHeaderParams,
1918
+ uri: localVarPath,
1919
+ useQuerystring: this._useQuerystring,
1920
+ json: true,
1921
+ body: models_1.ObjectSerializer.serialize(updateShareLimit, "UpdateShareLimit")
1922
+ };
1923
+ let authenticationPromise = Promise.resolve();
1924
+ authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
1925
+ let interceptorPromise = authenticationPromise;
1926
+ for (const interceptor of this.interceptors) {
1927
+ interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
1928
+ }
1929
+ return interceptorPromise.then(() => {
1930
+ if (Object.keys(localVarFormParams).length) {
1931
+ if (localVarUseFormData) {
1932
+ localVarRequestOptions.formData = localVarFormParams;
1933
+ }
1934
+ else {
1935
+ localVarRequestOptions.form = localVarFormParams;
1936
+ }
1937
+ }
1938
+ return new Promise((resolve, reject) => {
1939
+ (0, request_1.default)(localVarRequestOptions, (error, response, body) => {
1940
+ if (error) {
1941
+ console.error('API call error:', error);
1942
+ reject(error);
1943
+ }
1944
+ else {
1945
+ if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
1946
+ body = models_1.ObjectSerializer.deserialize(body, "PartialTransaction");
1947
+ resolve({ body: body, status: response.statusCode });
1948
+ }
1949
+ else {
1950
+ console.error('API response error:', response.statusCode);
1951
+ resolve({ body: body, status: response.statusCode });
1952
+ }
1953
+ }
1954
+ });
1955
+ });
1956
+ });
1957
+ }
1958
+ /**
1959
+ * Returns validator balances and signing wallet information for the given consolidation requests.
1960
+ * @summary Validate consolidation requests
1722
1961
  * @param contractsId The unique identifier of the Lido staking contracts
1723
1962
  * @param consolidateValidators
1724
1963
  */
@@ -1791,6 +2030,7 @@ class LidoWriteApi {
1791
2030
  }
1792
2031
  /**
1793
2032
  *
2033
+ * @summary Withdraw from vault
1794
2034
  * @param contractsId The unique identifier of the Lido staking contracts
1795
2035
  * @param withdrawFromVault
1796
2036
  */
@@ -1863,6 +2103,7 @@ class LidoWriteApi {
1863
2103
  }
1864
2104
  /**
1865
2105
  *
2106
+ * @summary Wrap stETH to wstETH
1866
2107
  * @param wrapStETH
1867
2108
  */
1868
2109
  async wrapStETH(wrapStETH, options = { headers: {} }) {
package/dist/api.d.ts CHANGED
@@ -17,6 +17,7 @@ export * from './model/./asset';
17
17
  export * from './model/./burnShares';
18
18
  export * from './model/./burnStETH';
19
19
  export * from './model/./burnWstETH';
20
+ export * from './model/./changeTier';
20
21
  export * from './model/./collectERC20FromVault';
21
22
  export * from './model/./consolidateValidators';
22
23
  export * from './model/./consolidateValidatorsErrorResponse';
@@ -95,12 +96,14 @@ export * from './model/./stakeEthResponse';
95
96
  export * from './model/./stakeEthResponseDestructuredCallDataInner';
96
97
  export * from './model/./stakingRequest';
97
98
  export * from './model/./stakingRequestStatus';
99
+ export * from './model/./supportedValidatorProvidersResponse';
98
100
  export * from './model/./transaction';
99
101
  export * from './model/./triggerValidatorWithdrawals';
100
102
  export * from './model/./unwrapWstETH';
101
103
  export * from './model/./updateLinkedWalletNameRequest';
102
104
  export * from './model/./updateMemberRoleRequest';
103
105
  export * from './model/./updateOrganizationNameRequest';
106
+ export * from './model/./updateShareLimit';
104
107
  export * from './model/./validateConsolidationRequestsResponse';
105
108
  export * from './model/./validateConsolidationRequestsResponseConsolidationDetailsInner';
106
109
  export * from './model/./validatorDailyReward';
package/dist/api.js CHANGED
@@ -36,6 +36,7 @@ __exportStar(require("./model/./asset"), exports);
36
36
  __exportStar(require("./model/./burnShares"), exports);
37
37
  __exportStar(require("./model/./burnStETH"), exports);
38
38
  __exportStar(require("./model/./burnWstETH"), exports);
39
+ __exportStar(require("./model/./changeTier"), exports);
39
40
  __exportStar(require("./model/./collectERC20FromVault"), exports);
40
41
  __exportStar(require("./model/./consolidateValidators"), exports);
41
42
  __exportStar(require("./model/./consolidateValidatorsErrorResponse"), exports);
@@ -114,12 +115,14 @@ __exportStar(require("./model/./stakeEthResponse"), exports);
114
115
  __exportStar(require("./model/./stakeEthResponseDestructuredCallDataInner"), exports);
115
116
  __exportStar(require("./model/./stakingRequest"), exports);
116
117
  __exportStar(require("./model/./stakingRequestStatus"), exports);
118
+ __exportStar(require("./model/./supportedValidatorProvidersResponse"), exports);
117
119
  __exportStar(require("./model/./transaction"), exports);
118
120
  __exportStar(require("./model/./triggerValidatorWithdrawals"), exports);
119
121
  __exportStar(require("./model/./unwrapWstETH"), exports);
120
122
  __exportStar(require("./model/./updateLinkedWalletNameRequest"), exports);
121
123
  __exportStar(require("./model/./updateMemberRoleRequest"), exports);
122
124
  __exportStar(require("./model/./updateOrganizationNameRequest"), exports);
125
+ __exportStar(require("./model/./updateShareLimit"), exports);
123
126
  __exportStar(require("./model/./validateConsolidationRequestsResponse"), exports);
124
127
  __exportStar(require("./model/./validateConsolidationRequestsResponseConsolidationDetailsInner"), exports);
125
128
  __exportStar(require("./model/./validatorDailyReward"), exports);
@@ -0,0 +1,36 @@
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 ChangeTier {
13
+ /**
14
+ * Tier ID.
15
+ */
16
+ 'tierId': string;
17
+ /**
18
+ * Requested share limit.
19
+ */
20
+ 'requestedShareLimit': string;
21
+ /**
22
+ * Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.
23
+ */
24
+ 'simulateAddress'?: string;
25
+ static discriminator: string | undefined;
26
+ static attributeTypeMap: Array<{
27
+ name: string;
28
+ baseName: string;
29
+ type: string;
30
+ }>;
31
+ static getAttributeTypeMap(): {
32
+ name: string;
33
+ baseName: string;
34
+ type: string;
35
+ }[];
36
+ }
@@ -0,0 +1,38 @@
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.ChangeTier = void 0;
15
+ class ChangeTier {
16
+ static getAttributeTypeMap() {
17
+ return ChangeTier.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.ChangeTier = ChangeTier;
21
+ ChangeTier.discriminator = undefined;
22
+ ChangeTier.attributeTypeMap = [
23
+ {
24
+ "name": "tierId",
25
+ "baseName": "tierId",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "requestedShareLimit",
30
+ "baseName": "requestedShareLimit",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "simulateAddress",
35
+ "baseName": "simulateAddress",
36
+ "type": "string"
37
+ }
38
+ ];
@@ -11,9 +11,9 @@
11
11
  */
12
12
  export declare class GetStETHPerWstETHRate200Response {
13
13
  /**
14
- * The current exchange rate of stETH per wstETH
14
+ * The current exchange rate of stETH per wstETH as a bigint string (raw 18-decimal value) to avoid rounding errors
15
15
  */
16
- 'rate': number;
16
+ 'rate': string;
17
17
  static discriminator: string | undefined;
18
18
  static attributeTypeMap: Array<{
19
19
  name: string;
@@ -23,6 +23,6 @@ GetStETHPerWstETHRate200Response.attributeTypeMap = [
23
23
  {
24
24
  "name": "rate",
25
25
  "baseName": "rate",
26
- "type": "number"
26
+ "type": "string"
27
27
  }
28
28
  ];
@@ -9,6 +9,7 @@ export * from './asset';
9
9
  export * from './burnShares';
10
10
  export * from './burnStETH';
11
11
  export * from './burnWstETH';
12
+ export * from './changeTier';
12
13
  export * from './collectERC20FromVault';
13
14
  export * from './consolidateValidators';
14
15
  export * from './consolidateValidatorsErrorResponse';
@@ -87,12 +88,14 @@ export * from './stakeEthResponse';
87
88
  export * from './stakeEthResponseDestructuredCallDataInner';
88
89
  export * from './stakingRequest';
89
90
  export * from './stakingRequestStatus';
91
+ export * from './supportedValidatorProvidersResponse';
90
92
  export * from './transaction';
91
93
  export * from './triggerValidatorWithdrawals';
92
94
  export * from './unwrapWstETH';
93
95
  export * from './updateLinkedWalletNameRequest';
94
96
  export * from './updateMemberRoleRequest';
95
97
  export * from './updateOrganizationNameRequest';
98
+ export * from './updateShareLimit';
96
99
  export * from './validateConsolidationRequestsResponse';
97
100
  export * from './validateConsolidationRequestsResponseConsolidationDetailsInner';
98
101
  export * from './validatorDailyReward';
@@ -48,6 +48,7 @@ __exportStar(require("./asset"), exports);
48
48
  __exportStar(require("./burnShares"), exports);
49
49
  __exportStar(require("./burnStETH"), exports);
50
50
  __exportStar(require("./burnWstETH"), exports);
51
+ __exportStar(require("./changeTier"), exports);
51
52
  __exportStar(require("./collectERC20FromVault"), exports);
52
53
  __exportStar(require("./consolidateValidators"), exports);
53
54
  __exportStar(require("./consolidateValidatorsErrorResponse"), exports);
@@ -126,12 +127,14 @@ __exportStar(require("./stakeEthResponse"), exports);
126
127
  __exportStar(require("./stakeEthResponseDestructuredCallDataInner"), exports);
127
128
  __exportStar(require("./stakingRequest"), exports);
128
129
  __exportStar(require("./stakingRequestStatus"), exports);
130
+ __exportStar(require("./supportedValidatorProvidersResponse"), exports);
129
131
  __exportStar(require("./transaction"), exports);
130
132
  __exportStar(require("./triggerValidatorWithdrawals"), exports);
131
133
  __exportStar(require("./unwrapWstETH"), exports);
132
134
  __exportStar(require("./updateLinkedWalletNameRequest"), exports);
133
135
  __exportStar(require("./updateMemberRoleRequest"), exports);
134
136
  __exportStar(require("./updateOrganizationNameRequest"), exports);
137
+ __exportStar(require("./updateShareLimit"), exports);
135
138
  __exportStar(require("./validateConsolidationRequestsResponse"), exports);
136
139
  __exportStar(require("./validateConsolidationRequestsResponseConsolidationDetailsInner"), exports);
137
140
  __exportStar(require("./validatorDailyReward"), exports);
@@ -180,6 +183,7 @@ const approveWstETH_1 = require("./approveWstETH");
180
183
  const burnShares_1 = require("./burnShares");
181
184
  const burnStETH_1 = require("./burnStETH");
182
185
  const burnWstETH_1 = require("./burnWstETH");
186
+ const changeTier_1 = require("./changeTier");
183
187
  const collectERC20FromVault_1 = require("./collectERC20FromVault");
184
188
  const consolidateValidators_1 = require("./consolidateValidators");
185
189
  const consolidateValidatorsErrorResponse_1 = require("./consolidateValidatorsErrorResponse");
@@ -252,12 +256,14 @@ const stakeEthRequest_1 = require("./stakeEthRequest");
252
256
  const stakeEthResponse_1 = require("./stakeEthResponse");
253
257
  const stakeEthResponseDestructuredCallDataInner_1 = require("./stakeEthResponseDestructuredCallDataInner");
254
258
  const stakingRequest_1 = require("./stakingRequest");
259
+ const supportedValidatorProvidersResponse_1 = require("./supportedValidatorProvidersResponse");
255
260
  const transaction_1 = require("./transaction");
256
261
  const triggerValidatorWithdrawals_1 = require("./triggerValidatorWithdrawals");
257
262
  const unwrapWstETH_1 = require("./unwrapWstETH");
258
263
  const updateLinkedWalletNameRequest_1 = require("./updateLinkedWalletNameRequest");
259
264
  const updateMemberRoleRequest_1 = require("./updateMemberRoleRequest");
260
265
  const updateOrganizationNameRequest_1 = require("./updateOrganizationNameRequest");
266
+ const updateShareLimit_1 = require("./updateShareLimit");
261
267
  const validateConsolidationRequestsResponse_1 = require("./validateConsolidationRequestsResponse");
262
268
  const validateConsolidationRequestsResponseConsolidationDetailsInner_1 = require("./validateConsolidationRequestsResponseConsolidationDetailsInner");
263
269
  const validatorDailyReward_1 = require("./validatorDailyReward");
@@ -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,
@@ -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,