@sentio/api 1.0.2-rc.16 → 1.0.2-rc.18
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/src/apis/DebugAndSimulationApi.d.ts +168 -17
- package/dist/src/apis/DebugAndSimulationApi.js +427 -43
- package/dist/src/apis/DebugAndSimulationApi.js.map +1 -1
- package/dist/src/apis/ForksApi.d.ts +84 -0
- package/dist/src/apis/ForksApi.js +211 -0
- package/dist/src/apis/ForksApi.js.map +1 -0
- package/dist/src/apis/index.d.ts +1 -0
- package/dist/src/apis/index.js +1 -0
- package/dist/src/apis/index.js.map +1 -1
- package/dist/src/models/SolidityServiceBaseChainConfig.d.ts +3 -2
- package/dist/src/models/SolidityServiceBaseChainConfig.js +3 -2
- package/dist/src/models/SolidityServiceBaseChainConfig.js.map +1 -1
- package/dist/src/models/SolidityServiceChainIdentifier.d.ts +38 -0
- package/dist/src/models/SolidityServiceChainIdentifier.js +44 -0
- package/dist/src/models/SolidityServiceChainIdentifier.js.map +1 -0
- package/dist/src/models/SolidityServiceCreateForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceCreateForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceCreateForkResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceExternalFork.d.ts +39 -0
- package/dist/src/models/SolidityServiceExternalFork.js +45 -0
- package/dist/src/models/SolidityServiceExternalFork.js.map +1 -0
- package/dist/src/models/SolidityServiceFork.d.ts +77 -0
- package/dist/src/models/SolidityServiceFork.js +59 -0
- package/dist/src/models/SolidityServiceFork.js.map +1 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.d.ts +33 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.js +45 -0
- package/dist/src/models/SolidityServiceForkServiceCreateForkBody.js.map +1 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.d.ts +33 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.js +45 -0
- package/dist/src/models/SolidityServiceForkServiceUpdateForkBody.js.map +1 -0
- package/dist/src/models/SolidityServiceForkType.d.ts +25 -0
- package/dist/src/models/SolidityServiceForkType.js +44 -0
- package/dist/src/models/SolidityServiceForkType.js.map +1 -0
- package/dist/src/models/SolidityServiceGetForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceGetForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceGetForkResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceListForksResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceListForksResponse.js +43 -0
- package/dist/src/models/SolidityServiceListForksResponse.js.map +1 -0
- package/dist/src/models/SolidityServiceManagedFork.d.ts +45 -0
- package/dist/src/models/SolidityServiceManagedFork.js +47 -0
- package/dist/src/models/SolidityServiceManagedFork.js.map +1 -0
- package/dist/src/models/SolidityServiceSimulation.d.ts +7 -0
- package/dist/src/models/SolidityServiceSimulation.js +5 -0
- package/dist/src/models/SolidityServiceSimulation.js.map +1 -1
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.d.ts +32 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js +42 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js.map +1 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.d.ts +26 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.js +45 -0
- package/dist/src/models/SolidityServiceSourceFetcherType.js.map +1 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.d.ts +33 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.js +43 -0
- package/dist/src/models/SolidityServiceUpdateForkResponse.js.map +1 -0
- package/dist/src/models/index.d.ts +15 -2
- package/dist/src/models/index.js +15 -2
- package/dist/src/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DebugAndSimulationApi.ts +825 -108
- package/src/apis/ForksApi.ts +381 -0
- package/src/apis/index.ts +1 -0
- package/src/models/SolidityServiceBaseChainConfig.ts +14 -4
- package/src/models/SolidityServiceChainIdentifier.ts +73 -0
- package/src/models/SolidityServiceCreateForkResponse.ts +73 -0
- package/src/models/SolidityServiceExternalFork.ts +81 -0
- package/src/models/SolidityServiceFork.ts +145 -0
- package/src/models/SolidityServiceForkServiceCreateForkBody.ts +74 -0
- package/src/models/SolidityServiceForkServiceUpdateForkBody.ts +74 -0
- package/src/models/SolidityServiceForkType.ts +53 -0
- package/src/models/SolidityServiceGetForkResponse.ts +73 -0
- package/src/models/SolidityServiceListForksResponse.ts +73 -0
- package/src/models/SolidityServiceManagedFork.ts +89 -0
- package/src/models/SolidityServiceSimulation.ts +16 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.ts +89 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.ts +65 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.ts +89 -0
- package/src/models/SolidityServiceSourceFetcherType.ts +54 -0
- package/src/models/SolidityServiceUpdateForkResponse.ts +73 -0
- package/src/models/index.ts +15 -2
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.d.ts +0 -45
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.js +0 -53
- package/dist/src/models/SolidityServiceSimulateTransactionBundleRequest.js.map +0 -1
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.d.ts +0 -45
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.js +0 -53
- package/dist/src/models/SolidityServiceSimulateTransactionRequest.js.map +0 -1
- package/src/models/SolidityServiceSimulateTransactionBundleRequest.ts +0 -92
- package/src/models/SolidityServiceSimulateTransactionRequest.ts +0 -92
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { SolidityServiceExternalFork } from './SolidityServiceExternalFork.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceExternalForkFromJSON,
|
|
19
|
+
SolidityServiceExternalForkFromJSONTyped,
|
|
20
|
+
SolidityServiceExternalForkToJSON,
|
|
21
|
+
SolidityServiceExternalForkToJSONTyped,
|
|
22
|
+
} from './SolidityServiceExternalFork.js';
|
|
23
|
+
import type { SolidityServiceForkType } from './SolidityServiceForkType.js';
|
|
24
|
+
import {
|
|
25
|
+
SolidityServiceForkTypeFromJSON,
|
|
26
|
+
SolidityServiceForkTypeFromJSONTyped,
|
|
27
|
+
SolidityServiceForkTypeToJSON,
|
|
28
|
+
SolidityServiceForkTypeToJSONTyped,
|
|
29
|
+
} from './SolidityServiceForkType.js';
|
|
30
|
+
import type { SolidityServiceManagedFork } from './SolidityServiceManagedFork.js';
|
|
31
|
+
import {
|
|
32
|
+
SolidityServiceManagedForkFromJSON,
|
|
33
|
+
SolidityServiceManagedForkFromJSONTyped,
|
|
34
|
+
SolidityServiceManagedForkToJSON,
|
|
35
|
+
SolidityServiceManagedForkToJSONTyped,
|
|
36
|
+
} from './SolidityServiceManagedFork.js';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface SolidityServiceFork
|
|
42
|
+
*/
|
|
43
|
+
export interface SolidityServiceFork {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof SolidityServiceFork
|
|
48
|
+
*/
|
|
49
|
+
id?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {SolidityServiceForkType}
|
|
53
|
+
* @memberof SolidityServiceFork
|
|
54
|
+
*/
|
|
55
|
+
type?: SolidityServiceForkType;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SolidityServiceFork
|
|
60
|
+
*/
|
|
61
|
+
name?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof SolidityServiceFork
|
|
66
|
+
*/
|
|
67
|
+
extra?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {SolidityServiceManagedFork}
|
|
71
|
+
* @memberof SolidityServiceFork
|
|
72
|
+
*/
|
|
73
|
+
managedFork?: SolidityServiceManagedFork;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {SolidityServiceExternalFork}
|
|
77
|
+
* @memberof SolidityServiceFork
|
|
78
|
+
*/
|
|
79
|
+
externalFork?: SolidityServiceExternalFork;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Date}
|
|
83
|
+
* @memberof SolidityServiceFork
|
|
84
|
+
*/
|
|
85
|
+
createTime?: Date;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {Date}
|
|
89
|
+
* @memberof SolidityServiceFork
|
|
90
|
+
*/
|
|
91
|
+
updateTime?: Date;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Check if a given object implements the SolidityServiceFork interface.
|
|
98
|
+
*/
|
|
99
|
+
export function instanceOfSolidityServiceFork(value: object): value is SolidityServiceFork {
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function SolidityServiceForkFromJSON(json: any): SolidityServiceFork {
|
|
104
|
+
return SolidityServiceForkFromJSONTyped(json, false);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function SolidityServiceForkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceFork {
|
|
108
|
+
if (json == null) {
|
|
109
|
+
return json;
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
|
|
113
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
114
|
+
'type': json['type'] == null ? undefined : SolidityServiceForkTypeFromJSON(json['type']),
|
|
115
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
116
|
+
'extra': json['extra'] == null ? undefined : json['extra'],
|
|
117
|
+
'managedFork': json['managedFork'] == null ? undefined : SolidityServiceManagedForkFromJSON(json['managedFork']),
|
|
118
|
+
'externalFork': json['externalFork'] == null ? undefined : SolidityServiceExternalForkFromJSON(json['externalFork']),
|
|
119
|
+
'createTime': json['createTime'] == null ? undefined : (new Date(json['createTime'])),
|
|
120
|
+
'updateTime': json['updateTime'] == null ? undefined : (new Date(json['updateTime'])),
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function SolidityServiceForkToJSON(json: any): SolidityServiceFork {
|
|
125
|
+
return SolidityServiceForkToJSONTyped(json, false);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function SolidityServiceForkToJSONTyped(value?: SolidityServiceFork | null, ignoreDiscriminator: boolean = false): any {
|
|
129
|
+
if (value == null) {
|
|
130
|
+
return value;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'id': value['id'],
|
|
136
|
+
'type': SolidityServiceForkTypeToJSON(value['type']),
|
|
137
|
+
'name': value['name'],
|
|
138
|
+
'extra': value['extra'],
|
|
139
|
+
'managedFork': SolidityServiceManagedForkToJSON(value['managedFork']),
|
|
140
|
+
'externalFork': SolidityServiceExternalForkToJSON(value['externalFork']),
|
|
141
|
+
'createTime': value['createTime'] == null ? undefined : ((value['createTime']).toISOString()),
|
|
142
|
+
'updateTime': value['updateTime'] == null ? undefined : ((value['updateTime']).toISOString()),
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { SolidityServiceFork } from './SolidityServiceFork.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceForkFromJSON,
|
|
19
|
+
SolidityServiceForkFromJSONTyped,
|
|
20
|
+
SolidityServiceForkToJSON,
|
|
21
|
+
SolidityServiceForkToJSONTyped,
|
|
22
|
+
} from './SolidityServiceFork.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SolidityServiceForkServiceCreateForkBody
|
|
28
|
+
*/
|
|
29
|
+
export interface SolidityServiceForkServiceCreateForkBody {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SolidityServiceFork}
|
|
33
|
+
* @memberof SolidityServiceForkServiceCreateForkBody
|
|
34
|
+
*/
|
|
35
|
+
fork: SolidityServiceFork;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SolidityServiceForkServiceCreateForkBody interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSolidityServiceForkServiceCreateForkBody(value: object): value is SolidityServiceForkServiceCreateForkBody {
|
|
42
|
+
if (!('fork' in value) || value['fork'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function SolidityServiceForkServiceCreateForkBodyFromJSON(json: any): SolidityServiceForkServiceCreateForkBody {
|
|
47
|
+
return SolidityServiceForkServiceCreateForkBodyFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function SolidityServiceForkServiceCreateForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceForkServiceCreateForkBody {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'fork': SolidityServiceForkFromJSON(json['fork']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SolidityServiceForkServiceCreateForkBodyToJSON(json: any): SolidityServiceForkServiceCreateForkBody {
|
|
61
|
+
return SolidityServiceForkServiceCreateForkBodyToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function SolidityServiceForkServiceCreateForkBodyToJSONTyped(value?: SolidityServiceForkServiceCreateForkBody | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'fork': SolidityServiceForkToJSON(value['fork']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { SolidityServiceFork } from './SolidityServiceFork.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceForkFromJSON,
|
|
19
|
+
SolidityServiceForkFromJSONTyped,
|
|
20
|
+
SolidityServiceForkToJSON,
|
|
21
|
+
SolidityServiceForkToJSONTyped,
|
|
22
|
+
} from './SolidityServiceFork.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SolidityServiceForkServiceUpdateForkBody
|
|
28
|
+
*/
|
|
29
|
+
export interface SolidityServiceForkServiceUpdateForkBody {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SolidityServiceFork}
|
|
33
|
+
* @memberof SolidityServiceForkServiceUpdateForkBody
|
|
34
|
+
*/
|
|
35
|
+
fork: SolidityServiceFork;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SolidityServiceForkServiceUpdateForkBody interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSolidityServiceForkServiceUpdateForkBody(value: object): value is SolidityServiceForkServiceUpdateForkBody {
|
|
42
|
+
if (!('fork' in value) || value['fork'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function SolidityServiceForkServiceUpdateForkBodyFromJSON(json: any): SolidityServiceForkServiceUpdateForkBody {
|
|
47
|
+
return SolidityServiceForkServiceUpdateForkBodyFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function SolidityServiceForkServiceUpdateForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceForkServiceUpdateForkBody {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'fork': SolidityServiceForkFromJSON(json['fork']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function SolidityServiceForkServiceUpdateForkBodyToJSON(json: any): SolidityServiceForkServiceUpdateForkBody {
|
|
61
|
+
return SolidityServiceForkServiceUpdateForkBodyToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function SolidityServiceForkServiceUpdateForkBodyToJSONTyped(value?: SolidityServiceForkServiceUpdateForkBody | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'fork': SolidityServiceForkToJSON(value['fork']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const SolidityServiceForkType = {
|
|
21
|
+
Managed: 'MANAGED',
|
|
22
|
+
External: 'EXTERNAL'
|
|
23
|
+
} as const;
|
|
24
|
+
export type SolidityServiceForkType = typeof SolidityServiceForkType[keyof typeof SolidityServiceForkType];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfSolidityServiceForkType(value: any): boolean {
|
|
28
|
+
for (const key in SolidityServiceForkType) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(SolidityServiceForkType, key)) {
|
|
30
|
+
if (SolidityServiceForkType[key as keyof typeof SolidityServiceForkType] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function SolidityServiceForkTypeFromJSON(json: any): SolidityServiceForkType {
|
|
39
|
+
return SolidityServiceForkTypeFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function SolidityServiceForkTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceForkType {
|
|
43
|
+
return json as SolidityServiceForkType;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function SolidityServiceForkTypeToJSON(value?: SolidityServiceForkType | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function SolidityServiceForkTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SolidityServiceForkType {
|
|
51
|
+
return value as SolidityServiceForkType;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { SolidityServiceFork } from './SolidityServiceFork.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceForkFromJSON,
|
|
19
|
+
SolidityServiceForkFromJSONTyped,
|
|
20
|
+
SolidityServiceForkToJSON,
|
|
21
|
+
SolidityServiceForkToJSONTyped,
|
|
22
|
+
} from './SolidityServiceFork.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SolidityServiceGetForkResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface SolidityServiceGetForkResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SolidityServiceFork}
|
|
33
|
+
* @memberof SolidityServiceGetForkResponse
|
|
34
|
+
*/
|
|
35
|
+
fork?: SolidityServiceFork;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SolidityServiceGetForkResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSolidityServiceGetForkResponse(value: object): value is SolidityServiceGetForkResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function SolidityServiceGetForkResponseFromJSON(json: any): SolidityServiceGetForkResponse {
|
|
46
|
+
return SolidityServiceGetForkResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SolidityServiceGetForkResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceGetForkResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'fork': json['fork'] == null ? undefined : SolidityServiceForkFromJSON(json['fork']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SolidityServiceGetForkResponseToJSON(json: any): SolidityServiceGetForkResponse {
|
|
60
|
+
return SolidityServiceGetForkResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SolidityServiceGetForkResponseToJSONTyped(value?: SolidityServiceGetForkResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'fork': SolidityServiceForkToJSON(value['fork']),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { SolidityServiceFork } from './SolidityServiceFork.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceForkFromJSON,
|
|
19
|
+
SolidityServiceForkFromJSONTyped,
|
|
20
|
+
SolidityServiceForkToJSON,
|
|
21
|
+
SolidityServiceForkToJSONTyped,
|
|
22
|
+
} from './SolidityServiceFork.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SolidityServiceListForksResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface SolidityServiceListForksResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<SolidityServiceFork>}
|
|
33
|
+
* @memberof SolidityServiceListForksResponse
|
|
34
|
+
*/
|
|
35
|
+
forks?: Array<SolidityServiceFork>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SolidityServiceListForksResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSolidityServiceListForksResponse(value: object): value is SolidityServiceListForksResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function SolidityServiceListForksResponseFromJSON(json: any): SolidityServiceListForksResponse {
|
|
46
|
+
return SolidityServiceListForksResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SolidityServiceListForksResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceListForksResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'forks': json['forks'] == null ? undefined : ((json['forks'] as Array<any>).map(SolidityServiceForkFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SolidityServiceListForksResponseToJSON(json: any): SolidityServiceListForksResponse {
|
|
60
|
+
return SolidityServiceListForksResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SolidityServiceListForksResponseToJSONTyped(value?: SolidityServiceListForksResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'forks': value['forks'] == null ? undefined : ((value['forks'] as Array<any>).map(SolidityServiceForkToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sentio API
|
|
5
|
+
* Sentio Open API for query data
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: version not set
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { SolidityServiceChainIdentifier } from './SolidityServiceChainIdentifier.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceChainIdentifierFromJSON,
|
|
19
|
+
SolidityServiceChainIdentifierFromJSONTyped,
|
|
20
|
+
SolidityServiceChainIdentifierToJSON,
|
|
21
|
+
SolidityServiceChainIdentifierToJSONTyped,
|
|
22
|
+
} from './SolidityServiceChainIdentifier.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SolidityServiceManagedFork
|
|
28
|
+
*/
|
|
29
|
+
export interface SolidityServiceManagedFork {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SolidityServiceChainIdentifier}
|
|
33
|
+
* @memberof SolidityServiceManagedFork
|
|
34
|
+
*/
|
|
35
|
+
chainSpec?: SolidityServiceChainIdentifier;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SolidityServiceManagedFork
|
|
40
|
+
*/
|
|
41
|
+
rpcEndpoint?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SolidityServiceManagedFork
|
|
46
|
+
*/
|
|
47
|
+
parentBlockNumber?: number;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the SolidityServiceManagedFork interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfSolidityServiceManagedFork(value: object): value is SolidityServiceManagedFork {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function SolidityServiceManagedForkFromJSON(json: any): SolidityServiceManagedFork {
|
|
58
|
+
return SolidityServiceManagedForkFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function SolidityServiceManagedForkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceManagedFork {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceChainIdentifierFromJSON(json['chainSpec']),
|
|
68
|
+
'rpcEndpoint': json['rpcEndpoint'] == null ? undefined : json['rpcEndpoint'],
|
|
69
|
+
'parentBlockNumber': json['parentBlockNumber'] == null ? undefined : json['parentBlockNumber'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function SolidityServiceManagedForkToJSON(json: any): SolidityServiceManagedFork {
|
|
74
|
+
return SolidityServiceManagedForkToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function SolidityServiceManagedForkToJSONTyped(value?: SolidityServiceManagedFork | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'chainSpec': SolidityServiceChainIdentifierToJSON(value['chainSpec']),
|
|
85
|
+
'rpcEndpoint': value['rpcEndpoint'],
|
|
86
|
+
'parentBlockNumber': value['parentBlockNumber'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -34,6 +34,13 @@ import {
|
|
|
34
34
|
SolidityServiceStateOverrideToJSON,
|
|
35
35
|
SolidityServiceStateOverrideToJSONTyped,
|
|
36
36
|
} from './SolidityServiceStateOverride.js';
|
|
37
|
+
import type { SolidityServiceChainIdentifier } from './SolidityServiceChainIdentifier.js';
|
|
38
|
+
import {
|
|
39
|
+
SolidityServiceChainIdentifierFromJSON,
|
|
40
|
+
SolidityServiceChainIdentifierFromJSONTyped,
|
|
41
|
+
SolidityServiceChainIdentifierToJSON,
|
|
42
|
+
SolidityServiceChainIdentifierToJSONTyped,
|
|
43
|
+
} from './SolidityServiceChainIdentifier.js';
|
|
37
44
|
import type { SolidityServiceBlockOverrides } from './SolidityServiceBlockOverrides.js';
|
|
38
45
|
import {
|
|
39
46
|
SolidityServiceBlockOverridesFromJSON,
|
|
@@ -78,6 +85,12 @@ export interface SolidityServiceSimulation {
|
|
|
78
85
|
* @memberof SolidityServiceSimulation
|
|
79
86
|
*/
|
|
80
87
|
chainId?: string;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {SolidityServiceChainIdentifier}
|
|
91
|
+
* @memberof SolidityServiceSimulation
|
|
92
|
+
*/
|
|
93
|
+
chainSpec: SolidityServiceChainIdentifier;
|
|
81
94
|
/**
|
|
82
95
|
*
|
|
83
96
|
* @type {string}
|
|
@@ -193,6 +206,7 @@ export interface SolidityServiceSimulation {
|
|
|
193
206
|
*/
|
|
194
207
|
export function instanceOfSolidityServiceSimulation(value: object): value is SolidityServiceSimulation {
|
|
195
208
|
if (!('networkId' in value) || value['networkId'] === undefined) return false;
|
|
209
|
+
if (!('chainSpec' in value) || value['chainSpec'] === undefined) return false;
|
|
196
210
|
if (!('to' in value) || value['to'] === undefined) return false;
|
|
197
211
|
if (!('input' in value) || value['input'] === undefined) return false;
|
|
198
212
|
if (!('blockNumber' in value) || value['blockNumber'] === undefined) return false;
|
|
@@ -219,6 +233,7 @@ export function SolidityServiceSimulationFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
219
233
|
'bundleId': json['bundleId'] == null ? undefined : json['bundleId'],
|
|
220
234
|
'networkId': json['networkId'],
|
|
221
235
|
'chainId': json['chainId'] == null ? undefined : json['chainId'],
|
|
236
|
+
'chainSpec': SolidityServiceChainIdentifierFromJSON(json['chainSpec']),
|
|
222
237
|
'to': json['to'],
|
|
223
238
|
'input': json['input'],
|
|
224
239
|
'blockNumber': json['blockNumber'],
|
|
@@ -256,6 +271,7 @@ export function SolidityServiceSimulationFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
256
271
|
'bundleId': value['bundleId'],
|
|
257
272
|
'networkId': value['networkId'],
|
|
258
273
|
'chainId': value['chainId'],
|
|
274
|
+
'chainSpec': SolidityServiceChainIdentifierToJSON(value['chainSpec']),
|
|
259
275
|
'to': value['to'],
|
|
260
276
|
'input': value['input'],
|
|
261
277
|
'blockNumber': value['blockNumber'],
|