@northstake/northstakeapi 1.0.27 → 1.0.28
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 +2 -0
- package/api/smartContractsApi.ts +4 -4
- package/api.ts +2 -0
- package/dist/api/smartContractsApi.d.ts +2 -2
- package/dist/api/smartContractsApi.js +1 -1
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/model/models.d.ts +2 -0
- package/dist/model/models.js +6 -0
- package/dist/model/smartContract.d.ts +1 -1
- package/dist/model/smartContract.js +1 -1
- package/dist/model/smartContractDetailed.d.ts +45 -0
- package/dist/model/smartContractDetailed.js +66 -0
- package/dist/model/smartContractDetailedWhitelistedDepositorsInner.d.ts +27 -0
- package/dist/model/smartContractDetailedWhitelistedDepositorsInner.js +38 -0
- package/model/models.ts +10 -0
- package/model/smartContract.ts +1 -1
- package/model/smartContractDetailed.ts +86 -0
- package/model/smartContractDetailedWhitelistedDepositorsInner.ts +43 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -63,6 +63,8 @@ model/rFQWebhookEventType.ts
|
|
|
63
63
|
model/registerWithdrawalRecipientSettlementRequest.ts
|
|
64
64
|
model/settlementSteps.ts
|
|
65
65
|
model/smartContract.ts
|
|
66
|
+
model/smartContractDetailed.ts
|
|
67
|
+
model/smartContractDetailedWhitelistedDepositorsInner.ts
|
|
66
68
|
model/submittedQuote.ts
|
|
67
69
|
model/transaction.ts
|
|
68
70
|
model/validatorInfo.ts
|
package/api/smartContractsApi.ts
CHANGED
|
@@ -18,7 +18,7 @@ import http from 'http';
|
|
|
18
18
|
import { ErrorResponse } from '../model/errorResponse';
|
|
19
19
|
import { GetSmartContractMinedBlocks200Response } from '../model/getSmartContractMinedBlocks200Response';
|
|
20
20
|
import { GetSmartContractTransactions200Response } from '../model/getSmartContractTransactions200Response';
|
|
21
|
-
import {
|
|
21
|
+
import { SmartContractDetailed } from '../model/smartContractDetailed';
|
|
22
22
|
|
|
23
23
|
import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/models';
|
|
24
24
|
import { HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, JWTAuth } from '../model/models';
|
|
@@ -328,7 +328,7 @@ export class SmartContractsApi {
|
|
|
328
328
|
|
|
329
329
|
|
|
330
330
|
|
|
331
|
-
public async getSmartContracts (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: Array<
|
|
331
|
+
public async getSmartContracts (options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ body: Array<SmartContractDetailed>, status: number }> {
|
|
332
332
|
|
|
333
333
|
const localVarPath = this.basePath + '/smartContracts';
|
|
334
334
|
|
|
@@ -381,14 +381,14 @@ export class SmartContractsApi {
|
|
|
381
381
|
localVarRequestOptions.form = localVarFormParams;
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
return new Promise<{ body: Array<
|
|
384
|
+
return new Promise<{ body: Array<SmartContractDetailed>, status: number }>((resolve, reject) => {
|
|
385
385
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
386
386
|
if (error) {
|
|
387
387
|
console.error('API call error:', error);
|
|
388
388
|
reject(error);
|
|
389
389
|
} else {
|
|
390
390
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
391
|
-
body = ObjectSerializer.deserialize(body, "Array<
|
|
391
|
+
body = ObjectSerializer.deserialize(body, "Array<SmartContractDetailed>");
|
|
392
392
|
resolve({ body: body, status: response.statusCode });
|
|
393
393
|
} else {
|
|
394
394
|
console.error('API response error:', response.statusCode);
|
package/api.ts
CHANGED
|
@@ -59,6 +59,8 @@ export * from './model/./rFQWebhookEventType';
|
|
|
59
59
|
export * from './model/./registerWithdrawalRecipientSettlementRequest';
|
|
60
60
|
export * from './model/./settlementSteps';
|
|
61
61
|
export * from './model/./smartContract';
|
|
62
|
+
export * from './model/./smartContractDetailed';
|
|
63
|
+
export * from './model/./smartContractDetailedWhitelistedDepositorsInner';
|
|
62
64
|
export * from './model/./submittedQuote';
|
|
63
65
|
export * from './model/./transaction';
|
|
64
66
|
export * from './model/./validatorInfo';
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { GetSmartContractMinedBlocks200Response } from '../model/getSmartContractMinedBlocks200Response';
|
|
13
13
|
import { GetSmartContractTransactions200Response } from '../model/getSmartContractTransactions200Response';
|
|
14
|
-
import {
|
|
14
|
+
import { SmartContractDetailed } from '../model/smartContractDetailed';
|
|
15
15
|
import { Authentication, Interceptor } from '../model/models';
|
|
16
16
|
import { HttpBearerAuth, ApiKeyAuth } from '../model/models';
|
|
17
17
|
export declare enum SmartContractsApiApiKeys {
|
|
@@ -94,7 +94,7 @@ export declare class SmartContractsApi {
|
|
|
94
94
|
[name: string]: string;
|
|
95
95
|
};
|
|
96
96
|
}): Promise<{
|
|
97
|
-
body: Array<
|
|
97
|
+
body: Array<SmartContractDetailed>;
|
|
98
98
|
status: number;
|
|
99
99
|
}>;
|
|
100
100
|
}
|
|
@@ -290,7 +290,7 @@ class SmartContractsApi {
|
|
|
290
290
|
}
|
|
291
291
|
else {
|
|
292
292
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
293
|
-
body = models_1.ObjectSerializer.deserialize(body, "Array<
|
|
293
|
+
body = models_1.ObjectSerializer.deserialize(body, "Array<SmartContractDetailed>");
|
|
294
294
|
resolve({ body: body, status: response.statusCode });
|
|
295
295
|
}
|
|
296
296
|
else {
|
package/dist/api.d.ts
CHANGED
|
@@ -57,6 +57,8 @@ export * from './model/./rFQWebhookEventType';
|
|
|
57
57
|
export * from './model/./registerWithdrawalRecipientSettlementRequest';
|
|
58
58
|
export * from './model/./settlementSteps';
|
|
59
59
|
export * from './model/./smartContract';
|
|
60
|
+
export * from './model/./smartContractDetailed';
|
|
61
|
+
export * from './model/./smartContractDetailedWhitelistedDepositorsInner';
|
|
60
62
|
export * from './model/./submittedQuote';
|
|
61
63
|
export * from './model/./transaction';
|
|
62
64
|
export * from './model/./validatorInfo';
|
package/dist/api.js
CHANGED
|
@@ -76,6 +76,8 @@ __exportStar(require("./model/./rFQWebhookEventType"), exports);
|
|
|
76
76
|
__exportStar(require("./model/./registerWithdrawalRecipientSettlementRequest"), exports);
|
|
77
77
|
__exportStar(require("./model/./settlementSteps"), exports);
|
|
78
78
|
__exportStar(require("./model/./smartContract"), exports);
|
|
79
|
+
__exportStar(require("./model/./smartContractDetailed"), exports);
|
|
80
|
+
__exportStar(require("./model/./smartContractDetailedWhitelistedDepositorsInner"), exports);
|
|
79
81
|
__exportStar(require("./model/./submittedQuote"), exports);
|
|
80
82
|
__exportStar(require("./model/./transaction"), exports);
|
|
81
83
|
__exportStar(require("./model/./validatorInfo"), exports);
|
package/dist/model/models.d.ts
CHANGED
|
@@ -49,6 +49,8 @@ export * from './rFQWebhookEventType';
|
|
|
49
49
|
export * from './registerWithdrawalRecipientSettlementRequest';
|
|
50
50
|
export * from './settlementSteps';
|
|
51
51
|
export * from './smartContract';
|
|
52
|
+
export * from './smartContractDetailed';
|
|
53
|
+
export * from './smartContractDetailedWhitelistedDepositorsInner';
|
|
52
54
|
export * from './submittedQuote';
|
|
53
55
|
export * from './transaction';
|
|
54
56
|
export * from './validatorInfo';
|
package/dist/model/models.js
CHANGED
|
@@ -78,6 +78,8 @@ __exportStar(require("./rFQWebhookEventType"), exports);
|
|
|
78
78
|
__exportStar(require("./registerWithdrawalRecipientSettlementRequest"), exports);
|
|
79
79
|
__exportStar(require("./settlementSteps"), exports);
|
|
80
80
|
__exportStar(require("./smartContract"), exports);
|
|
81
|
+
__exportStar(require("./smartContractDetailed"), exports);
|
|
82
|
+
__exportStar(require("./smartContractDetailedWhitelistedDepositorsInner"), exports);
|
|
81
83
|
__exportStar(require("./submittedQuote"), exports);
|
|
82
84
|
__exportStar(require("./transaction"), exports);
|
|
83
85
|
__exportStar(require("./validatorInfo"), exports);
|
|
@@ -152,6 +154,8 @@ const rFQUpdatePayload_1 = require("./rFQUpdatePayload");
|
|
|
152
154
|
const registerWithdrawalRecipientSettlementRequest_1 = require("./registerWithdrawalRecipientSettlementRequest");
|
|
153
155
|
const settlementSteps_1 = require("./settlementSteps");
|
|
154
156
|
const smartContract_1 = require("./smartContract");
|
|
157
|
+
const smartContractDetailed_1 = require("./smartContractDetailed");
|
|
158
|
+
const smartContractDetailedWhitelistedDepositorsInner_1 = require("./smartContractDetailedWhitelistedDepositorsInner");
|
|
155
159
|
const submittedQuote_1 = require("./submittedQuote");
|
|
156
160
|
const transaction_1 = require("./transaction");
|
|
157
161
|
const validatorInfo_1 = require("./validatorInfo");
|
|
@@ -244,6 +248,8 @@ let typeMap = {
|
|
|
244
248
|
"RegisterWithdrawalRecipientSettlementRequest": registerWithdrawalRecipientSettlementRequest_1.RegisterWithdrawalRecipientSettlementRequest,
|
|
245
249
|
"SettlementSteps": settlementSteps_1.SettlementSteps,
|
|
246
250
|
"SmartContract": smartContract_1.SmartContract,
|
|
251
|
+
"SmartContractDetailed": smartContractDetailed_1.SmartContractDetailed,
|
|
252
|
+
"SmartContractDetailedWhitelistedDepositorsInner": smartContractDetailedWhitelistedDepositorsInner_1.SmartContractDetailedWhitelistedDepositorsInner,
|
|
247
253
|
"SubmittedQuote": submittedQuote_1.SubmittedQuote,
|
|
248
254
|
"Transaction": transaction_1.Transaction,
|
|
249
255
|
"ValidatorInfo": validatorInfo_1.ValidatorInfo,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.SmartContract = void 0;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* General info about a smart contract
|
|
17
17
|
*/
|
|
18
18
|
class SmartContract {
|
|
19
19
|
static getAttributeTypeMap() {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api
|
|
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 { Asset } from './asset';
|
|
13
|
+
import { SmartContractDetailedWhitelistedDepositorsInner } from './smartContractDetailedWhitelistedDepositorsInner';
|
|
14
|
+
/**
|
|
15
|
+
* Details about a smart contract including name, asset, address and type, whitelistedDepositors and validator providers.
|
|
16
|
+
*/
|
|
17
|
+
export declare class SmartContractDetailed {
|
|
18
|
+
'name': string;
|
|
19
|
+
'asset': Asset;
|
|
20
|
+
'address': string;
|
|
21
|
+
'type'?: string;
|
|
22
|
+
'deployedAt': Date;
|
|
23
|
+
'deployedBy'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* List of validator providers for this smart contract
|
|
26
|
+
*/
|
|
27
|
+
'validatorProviders': Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
* List of whitelisted depositors with their details
|
|
30
|
+
*/
|
|
31
|
+
'whitelistedDepositors': Array<SmartContractDetailedWhitelistedDepositorsInner>;
|
|
32
|
+
static discriminator: string | undefined;
|
|
33
|
+
static attributeTypeMap: Array<{
|
|
34
|
+
name: string;
|
|
35
|
+
baseName: string;
|
|
36
|
+
type: string;
|
|
37
|
+
}>;
|
|
38
|
+
static getAttributeTypeMap(): {
|
|
39
|
+
name: string;
|
|
40
|
+
baseName: string;
|
|
41
|
+
type: string;
|
|
42
|
+
}[];
|
|
43
|
+
}
|
|
44
|
+
export declare namespace SmartContractDetailed {
|
|
45
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Northstake
|
|
4
|
+
* Northstake api
|
|
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.SmartContractDetailed = void 0;
|
|
15
|
+
/**
|
|
16
|
+
* Details about a smart contract including name, asset, address and type, whitelistedDepositors and validator providers.
|
|
17
|
+
*/
|
|
18
|
+
class SmartContractDetailed {
|
|
19
|
+
static getAttributeTypeMap() {
|
|
20
|
+
return SmartContractDetailed.attributeTypeMap;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.SmartContractDetailed = SmartContractDetailed;
|
|
24
|
+
SmartContractDetailed.discriminator = undefined;
|
|
25
|
+
SmartContractDetailed.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "name",
|
|
28
|
+
"baseName": "name",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "asset",
|
|
33
|
+
"baseName": "asset",
|
|
34
|
+
"type": "Asset"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "address",
|
|
38
|
+
"baseName": "address",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "type",
|
|
43
|
+
"baseName": "type",
|
|
44
|
+
"type": "string"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "deployedAt",
|
|
48
|
+
"baseName": "deployedAt",
|
|
49
|
+
"type": "Date"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "deployedBy",
|
|
53
|
+
"baseName": "deployedBy",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "validatorProviders",
|
|
58
|
+
"baseName": "validatorProviders",
|
|
59
|
+
"type": "Array<string>"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "whitelistedDepositors",
|
|
63
|
+
"baseName": "whitelistedDepositors",
|
|
64
|
+
"type": "Array<SmartContractDetailedWhitelistedDepositorsInner>"
|
|
65
|
+
}
|
|
66
|
+
];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api
|
|
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 SmartContractDetailedWhitelistedDepositorsInner {
|
|
13
|
+
'address': string;
|
|
14
|
+
'transactionHash': string;
|
|
15
|
+
'timeStamp': Date;
|
|
16
|
+
static discriminator: string | undefined;
|
|
17
|
+
static attributeTypeMap: Array<{
|
|
18
|
+
name: string;
|
|
19
|
+
baseName: string;
|
|
20
|
+
type: string;
|
|
21
|
+
}>;
|
|
22
|
+
static getAttributeTypeMap(): {
|
|
23
|
+
name: string;
|
|
24
|
+
baseName: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}[];
|
|
27
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Northstake
|
|
4
|
+
* Northstake api
|
|
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.SmartContractDetailedWhitelistedDepositorsInner = void 0;
|
|
15
|
+
class SmartContractDetailedWhitelistedDepositorsInner {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return SmartContractDetailedWhitelistedDepositorsInner.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.SmartContractDetailedWhitelistedDepositorsInner = SmartContractDetailedWhitelistedDepositorsInner;
|
|
21
|
+
SmartContractDetailedWhitelistedDepositorsInner.discriminator = undefined;
|
|
22
|
+
SmartContractDetailedWhitelistedDepositorsInner.attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "address",
|
|
25
|
+
"baseName": "address",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "transactionHash",
|
|
30
|
+
"baseName": "transactionHash",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "timeStamp",
|
|
35
|
+
"baseName": "timeStamp",
|
|
36
|
+
"type": "Date"
|
|
37
|
+
}
|
|
38
|
+
];
|
package/model/models.ts
CHANGED
|
@@ -52,6 +52,8 @@ export * from './rFQWebhookEventType';
|
|
|
52
52
|
export * from './registerWithdrawalRecipientSettlementRequest';
|
|
53
53
|
export * from './settlementSteps';
|
|
54
54
|
export * from './smartContract';
|
|
55
|
+
export * from './smartContractDetailed';
|
|
56
|
+
export * from './smartContractDetailedWhitelistedDepositorsInner';
|
|
55
57
|
export * from './submittedQuote';
|
|
56
58
|
export * from './transaction';
|
|
57
59
|
export * from './validatorInfo';
|
|
@@ -246,6 +248,12 @@ import { SettlementSteps } from './settlementSteps';
|
|
|
246
248
|
import { SmartContract } from './smartContract';
|
|
247
249
|
|
|
248
250
|
|
|
251
|
+
import { SmartContractDetailed } from './smartContractDetailed';
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
import { SmartContractDetailedWhitelistedDepositorsInner } from './smartContractDetailedWhitelistedDepositorsInner';
|
|
255
|
+
|
|
256
|
+
|
|
249
257
|
import { SubmittedQuote } from './submittedQuote';
|
|
250
258
|
|
|
251
259
|
|
|
@@ -401,6 +409,8 @@ let typeMap: {[index: string]: any} = {
|
|
|
401
409
|
"RegisterWithdrawalRecipientSettlementRequest": RegisterWithdrawalRecipientSettlementRequest,
|
|
402
410
|
"SettlementSteps": SettlementSteps,
|
|
403
411
|
"SmartContract": SmartContract,
|
|
412
|
+
"SmartContractDetailed": SmartContractDetailed,
|
|
413
|
+
"SmartContractDetailedWhitelistedDepositorsInner": SmartContractDetailedWhitelistedDepositorsInner,
|
|
404
414
|
"SubmittedQuote": SubmittedQuote,
|
|
405
415
|
"Transaction": Transaction,
|
|
406
416
|
"ValidatorInfo": ValidatorInfo,
|
package/model/smartContract.ts
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api
|
|
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
|
+
import { Asset } from './asset';
|
|
14
|
+
import { SmartContractDetailedWhitelistedDepositorsInner } from './smartContractDetailedWhitelistedDepositorsInner';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Details about a smart contract including name, asset, address and type, whitelistedDepositors and validator providers.
|
|
18
|
+
*/
|
|
19
|
+
export class SmartContractDetailed {
|
|
20
|
+
'name': string;
|
|
21
|
+
'asset': Asset;
|
|
22
|
+
'address': string;
|
|
23
|
+
'type'?: string;
|
|
24
|
+
'deployedAt': Date;
|
|
25
|
+
'deployedBy'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* List of validator providers for this smart contract
|
|
28
|
+
*/
|
|
29
|
+
'validatorProviders': Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* List of whitelisted depositors with their details
|
|
32
|
+
*/
|
|
33
|
+
'whitelistedDepositors': Array<SmartContractDetailedWhitelistedDepositorsInner>;
|
|
34
|
+
|
|
35
|
+
static discriminator: string | undefined = undefined;
|
|
36
|
+
|
|
37
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
38
|
+
{
|
|
39
|
+
"name": "name",
|
|
40
|
+
"baseName": "name",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "asset",
|
|
45
|
+
"baseName": "asset",
|
|
46
|
+
"type": "Asset"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "address",
|
|
50
|
+
"baseName": "address",
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "type",
|
|
55
|
+
"baseName": "type",
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "deployedAt",
|
|
60
|
+
"baseName": "deployedAt",
|
|
61
|
+
"type": "Date"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "deployedBy",
|
|
65
|
+
"baseName": "deployedBy",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "validatorProviders",
|
|
70
|
+
"baseName": "validatorProviders",
|
|
71
|
+
"type": "Array<string>"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "whitelistedDepositors",
|
|
75
|
+
"baseName": "whitelistedDepositors",
|
|
76
|
+
"type": "Array<SmartContractDetailedWhitelistedDepositorsInner>"
|
|
77
|
+
} ];
|
|
78
|
+
|
|
79
|
+
static getAttributeTypeMap() {
|
|
80
|
+
return SmartContractDetailed.attributeTypeMap;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export namespace SmartContractDetailed {
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api
|
|
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 SmartContractDetailedWhitelistedDepositorsInner {
|
|
15
|
+
'address': string;
|
|
16
|
+
'transactionHash': string;
|
|
17
|
+
'timeStamp': Date;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
22
|
+
{
|
|
23
|
+
"name": "address",
|
|
24
|
+
"baseName": "address",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "transactionHash",
|
|
29
|
+
"baseName": "transactionHash",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "timeStamp",
|
|
34
|
+
"baseName": "timeStamp",
|
|
35
|
+
"type": "Date"
|
|
36
|
+
} ];
|
|
37
|
+
|
|
38
|
+
static getAttributeTypeMap() {
|
|
39
|
+
return SmartContractDetailedWhitelistedDepositorsInner.attributeTypeMap;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@northstake/northstakeapi",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"description": "Northstake SDK",
|
|
5
5
|
"main": "dist/api.js",
|
|
6
6
|
"types": "dist/api.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"author": "Northstake build process <buildadmin@northstake.dk>",
|
|
22
22
|
"license": "ISC",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/node": "^22.9.
|
|
24
|
+
"@types/node": "^22.9.1",
|
|
25
25
|
"typescript": "^5.6.3"
|
|
26
26
|
}
|
|
27
27
|
}
|