@sentio/api 1.0.2-rc.17 → 1.0.2-rc.19
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 -19
- package/dist/src/apis/DebugAndSimulationApi.js +424 -43
- package/dist/src/apis/DebugAndSimulationApi.js.map +1 -1
- package/dist/src/apis/DefaultApi.d.ts +31 -0
- package/dist/src/apis/DefaultApi.js +54 -0
- package/dist/src/apis/DefaultApi.js.map +1 -0
- 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 +2 -0
- package/dist/src/apis/index.js +2 -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/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/SolidityServiceGetForkInfoResponse.d.ts +70 -0
- package/dist/src/models/SolidityServiceGetForkInfoResponse.js +56 -0
- package/dist/src/models/SolidityServiceGetForkInfoResponse.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/SolidityServiceNodeEnvironment.d.ts +50 -0
- package/dist/src/models/SolidityServiceNodeEnvironment.js +48 -0
- package/dist/src/models/SolidityServiceNodeEnvironment.js.map +1 -0
- package/dist/src/models/SolidityServiceNodeForkConfig.d.ts +44 -0
- package/dist/src/models/SolidityServiceNodeForkConfig.js +46 -0
- package/dist/src/models/SolidityServiceNodeForkConfig.js.map +1 -0
- 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 +17 -2
- package/dist/src/models/index.js +17 -2
- package/dist/src/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DebugAndSimulationApi.ts +824 -110
- package/src/apis/DefaultApi.ts +87 -0
- package/src/apis/ForksApi.ts +384 -0
- package/src/apis/index.ts +2 -0
- package/src/models/SolidityServiceBaseChainConfig.ts +14 -4
- 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/SolidityServiceGetForkInfoResponse.ts +128 -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/SolidityServiceNodeEnvironment.ts +89 -0
- package/src/models/SolidityServiceNodeForkConfig.ts +81 -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 +17 -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,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sentio API
|
|
3
|
+
* Sentio Open API for query data
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
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 type { SolidityServiceFork } from './SolidityServiceFork.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SolidityServiceGetForkResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SolidityServiceGetForkResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SolidityServiceFork}
|
|
22
|
+
* @memberof SolidityServiceGetForkResponse
|
|
23
|
+
*/
|
|
24
|
+
fork?: SolidityServiceFork;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SolidityServiceGetForkResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSolidityServiceGetForkResponse(value: object): value is SolidityServiceGetForkResponse;
|
|
30
|
+
export declare function SolidityServiceGetForkResponseFromJSON(json: any): SolidityServiceGetForkResponse;
|
|
31
|
+
export declare function SolidityServiceGetForkResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceGetForkResponse;
|
|
32
|
+
export declare function SolidityServiceGetForkResponseToJSON(json: any): SolidityServiceGetForkResponse;
|
|
33
|
+
export declare function SolidityServiceGetForkResponseToJSONTyped(value?: SolidityServiceGetForkResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { SolidityServiceForkFromJSON, SolidityServiceForkToJSON, } from './SolidityServiceFork.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SolidityServiceGetForkResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSolidityServiceGetForkResponse(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SolidityServiceGetForkResponseFromJSON(json) {
|
|
22
|
+
return SolidityServiceGetForkResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SolidityServiceGetForkResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'fork': json['fork'] == null ? undefined : SolidityServiceForkFromJSON(json['fork']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SolidityServiceGetForkResponseToJSON(json) {
|
|
33
|
+
return SolidityServiceGetForkResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SolidityServiceGetForkResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'fork': SolidityServiceForkToJSON(value['fork']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=SolidityServiceGetForkResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceGetForkResponse.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceGetForkResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,2BAA2B,EAE3B,yBAAyB,GAE5B,MAAM,0BAA0B,CAAC;AAgBlC;;GAEG;AACH,MAAM,UAAU,wCAAwC,CAAC,KAAa;IAClE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,2BAA2B,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACvF,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,yCAAyC,CAAC,KAA6C,EAAE,sBAA+B,KAAK;IAC3I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,yBAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACnD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sentio API
|
|
3
|
+
* Sentio Open API for query data
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
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 type { SolidityServiceFork } from './SolidityServiceFork.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SolidityServiceListForksResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface SolidityServiceListForksResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SolidityServiceFork>}
|
|
22
|
+
* @memberof SolidityServiceListForksResponse
|
|
23
|
+
*/
|
|
24
|
+
forks?: Array<SolidityServiceFork>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SolidityServiceListForksResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSolidityServiceListForksResponse(value: object): value is SolidityServiceListForksResponse;
|
|
30
|
+
export declare function SolidityServiceListForksResponseFromJSON(json: any): SolidityServiceListForksResponse;
|
|
31
|
+
export declare function SolidityServiceListForksResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceListForksResponse;
|
|
32
|
+
export declare function SolidityServiceListForksResponseToJSON(json: any): SolidityServiceListForksResponse;
|
|
33
|
+
export declare function SolidityServiceListForksResponseToJSONTyped(value?: SolidityServiceListForksResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { SolidityServiceForkFromJSON, SolidityServiceForkToJSON, } from './SolidityServiceFork.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SolidityServiceListForksResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSolidityServiceListForksResponse(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SolidityServiceListForksResponseFromJSON(json) {
|
|
22
|
+
return SolidityServiceListForksResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SolidityServiceListForksResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'forks': json['forks'] == null ? undefined : (json['forks'].map(SolidityServiceForkFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function SolidityServiceListForksResponseToJSON(json) {
|
|
33
|
+
return SolidityServiceListForksResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SolidityServiceListForksResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'forks': value['forks'] == null ? undefined : (value['forks'].map(SolidityServiceForkToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=SolidityServiceListForksResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceListForksResponse.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceListForksResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,2BAA2B,EAE3B,yBAAyB,GAE5B,MAAM,0BAA0B,CAAC;AAgBlC;;GAEG;AACH,MAAM,UAAU,0CAA0C,CAAC,KAAa;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,6CAA6C,CAAC,IAAS,EAAE,mBAA4B;IACjG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC;KAChH,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,2CAA2C,CAAC,KAA+C,EAAE,sBAA+B,KAAK;IAC/I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;KAChH,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sentio API
|
|
3
|
+
* Sentio Open API for query data
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
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 type { SolidityServiceChainIdentifier } from './SolidityServiceChainIdentifier.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SolidityServiceManagedFork
|
|
17
|
+
*/
|
|
18
|
+
export interface SolidityServiceManagedFork {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SolidityServiceChainIdentifier}
|
|
22
|
+
* @memberof SolidityServiceManagedFork
|
|
23
|
+
*/
|
|
24
|
+
chainSpec?: SolidityServiceChainIdentifier;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SolidityServiceManagedFork
|
|
29
|
+
*/
|
|
30
|
+
rpcEndpoint?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof SolidityServiceManagedFork
|
|
35
|
+
*/
|
|
36
|
+
parentBlockNumber?: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SolidityServiceManagedFork interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSolidityServiceManagedFork(value: object): value is SolidityServiceManagedFork;
|
|
42
|
+
export declare function SolidityServiceManagedForkFromJSON(json: any): SolidityServiceManagedFork;
|
|
43
|
+
export declare function SolidityServiceManagedForkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceManagedFork;
|
|
44
|
+
export declare function SolidityServiceManagedForkToJSON(json: any): SolidityServiceManagedFork;
|
|
45
|
+
export declare function SolidityServiceManagedForkToJSONTyped(value?: SolidityServiceManagedFork | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import { SolidityServiceChainIdentifierFromJSON, SolidityServiceChainIdentifierToJSON, } from './SolidityServiceChainIdentifier.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SolidityServiceManagedFork interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSolidityServiceManagedFork(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function SolidityServiceManagedForkFromJSON(json) {
|
|
22
|
+
return SolidityServiceManagedForkFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function SolidityServiceManagedForkFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceChainIdentifierFromJSON(json['chainSpec']),
|
|
30
|
+
'rpcEndpoint': json['rpcEndpoint'] == null ? undefined : json['rpcEndpoint'],
|
|
31
|
+
'parentBlockNumber': json['parentBlockNumber'] == null ? undefined : json['parentBlockNumber'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SolidityServiceManagedForkToJSON(json) {
|
|
35
|
+
return SolidityServiceManagedForkToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SolidityServiceManagedForkToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'chainSpec': SolidityServiceChainIdentifierToJSON(value['chainSpec']),
|
|
43
|
+
'rpcEndpoint': value['rpcEndpoint'],
|
|
44
|
+
'parentBlockNumber': value['parentBlockNumber'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=SolidityServiceManagedFork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceManagedFork.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceManagedFork.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,sCAAsC,EAEtC,oCAAoC,GAEvC,MAAM,qCAAqC,CAAC;AA4B7C;;GAEG;AACH,MAAM,UAAU,oCAAoC,CAAC,KAAa;IAC9D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,sCAAsC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9G,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC;KACjG,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,KAAyC,EAAE,sBAA+B,KAAK;IACnI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,oCAAoC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACrE,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;KAClD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sentio API
|
|
3
|
+
* Sentio Open API for query data
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
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
|
|
15
|
+
* @interface SolidityServiceNodeEnvironment
|
|
16
|
+
*/
|
|
17
|
+
export interface SolidityServiceNodeEnvironment {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SolidityServiceNodeEnvironment
|
|
22
|
+
*/
|
|
23
|
+
chainId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SolidityServiceNodeEnvironment
|
|
28
|
+
*/
|
|
29
|
+
baseFee?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SolidityServiceNodeEnvironment
|
|
34
|
+
*/
|
|
35
|
+
gasLimit?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SolidityServiceNodeEnvironment
|
|
40
|
+
*/
|
|
41
|
+
gasPrice?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SolidityServiceNodeEnvironment interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfSolidityServiceNodeEnvironment(value: object): value is SolidityServiceNodeEnvironment;
|
|
47
|
+
export declare function SolidityServiceNodeEnvironmentFromJSON(json: any): SolidityServiceNodeEnvironment;
|
|
48
|
+
export declare function SolidityServiceNodeEnvironmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceNodeEnvironment;
|
|
49
|
+
export declare function SolidityServiceNodeEnvironmentToJSON(json: any): SolidityServiceNodeEnvironment;
|
|
50
|
+
export declare function SolidityServiceNodeEnvironmentToJSONTyped(value?: SolidityServiceNodeEnvironment | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* Check if a given object implements the SolidityServiceNodeEnvironment interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSolidityServiceNodeEnvironment(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SolidityServiceNodeEnvironmentFromJSON(json) {
|
|
21
|
+
return SolidityServiceNodeEnvironmentFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SolidityServiceNodeEnvironmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'chainId': json['chainId'] == null ? undefined : json['chainId'],
|
|
29
|
+
'baseFee': json['baseFee'] == null ? undefined : json['baseFee'],
|
|
30
|
+
'gasLimit': json['gasLimit'] == null ? undefined : json['gasLimit'],
|
|
31
|
+
'gasPrice': json['gasPrice'] == null ? undefined : json['gasPrice'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SolidityServiceNodeEnvironmentToJSON(json) {
|
|
35
|
+
return SolidityServiceNodeEnvironmentToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SolidityServiceNodeEnvironmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'chainId': value['chainId'],
|
|
43
|
+
'baseFee': value['baseFee'],
|
|
44
|
+
'gasLimit': value['gasLimit'],
|
|
45
|
+
'gasPrice': value['gasPrice'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=SolidityServiceNodeEnvironment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceNodeEnvironment.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceNodeEnvironment.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAmCH;;GAEG;AACH,MAAM,UAAU,wCAAwC,CAAC,KAAa;IAClE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;KACtE,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,yCAAyC,CAAC,KAA6C,EAAE,sBAA+B,KAAK;IAC3I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;KAChC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sentio API
|
|
3
|
+
* Sentio Open API for query data
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
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
|
|
15
|
+
* @interface SolidityServiceNodeForkConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface SolidityServiceNodeForkConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SolidityServiceNodeForkConfig
|
|
22
|
+
*/
|
|
23
|
+
forkUrl?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SolidityServiceNodeForkConfig
|
|
28
|
+
*/
|
|
29
|
+
forkBlockNumber?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SolidityServiceNodeForkConfig
|
|
34
|
+
*/
|
|
35
|
+
forkRetryBackoff?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SolidityServiceNodeForkConfig interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSolidityServiceNodeForkConfig(value: object): value is SolidityServiceNodeForkConfig;
|
|
41
|
+
export declare function SolidityServiceNodeForkConfigFromJSON(json: any): SolidityServiceNodeForkConfig;
|
|
42
|
+
export declare function SolidityServiceNodeForkConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceNodeForkConfig;
|
|
43
|
+
export declare function SolidityServiceNodeForkConfigToJSON(json: any): SolidityServiceNodeForkConfig;
|
|
44
|
+
export declare function SolidityServiceNodeForkConfigToJSONTyped(value?: SolidityServiceNodeForkConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
* Check if a given object implements the SolidityServiceNodeForkConfig interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSolidityServiceNodeForkConfig(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SolidityServiceNodeForkConfigFromJSON(json) {
|
|
21
|
+
return SolidityServiceNodeForkConfigFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SolidityServiceNodeForkConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'forkUrl': json['forkUrl'] == null ? undefined : json['forkUrl'],
|
|
29
|
+
'forkBlockNumber': json['forkBlockNumber'] == null ? undefined : json['forkBlockNumber'],
|
|
30
|
+
'forkRetryBackoff': json['forkRetryBackoff'] == null ? undefined : json['forkRetryBackoff'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SolidityServiceNodeForkConfigToJSON(json) {
|
|
34
|
+
return SolidityServiceNodeForkConfigToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SolidityServiceNodeForkConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'forkUrl': value['forkUrl'],
|
|
42
|
+
'forkBlockNumber': value['forkBlockNumber'],
|
|
43
|
+
'forkRetryBackoff': value['forkRetryBackoff'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=SolidityServiceNodeForkConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceNodeForkConfig.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceNodeForkConfig.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA6BH;;GAEG;AACH,MAAM,UAAU,uCAAuC,CAAC,KAAa;IACjE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,0CAA0C,CAAC,IAAS,EAAE,mBAA4B;IAC9F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;QACxF,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;KAC9F,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,KAA4C,EAAE,sBAA+B,KAAK;IACzI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;KAChD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sentio API
|
|
3
|
+
* Sentio Open API for query data
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
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 type { SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
|
|
13
|
+
import type { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBody
|
|
18
|
+
*/
|
|
19
|
+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBody {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec}
|
|
23
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBody
|
|
24
|
+
*/
|
|
25
|
+
chainSpec?: SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {SolidityServiceSimulation}
|
|
29
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBody
|
|
30
|
+
*/
|
|
31
|
+
simulation: SolidityServiceSimulation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBody interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
37
|
+
export declare function SolidityServiceSolidityAPIServiceSimulateTransactionBodyFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
38
|
+
export declare function SolidityServiceSolidityAPIServiceSimulateTransactionBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
39
|
+
export declare function SolidityServiceSolidityAPIServiceSimulateTransactionBodyToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
40
|
+
export declare function SolidityServiceSolidityAPIServiceSimulateTransactionBodyToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
import { SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON, SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON, } from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
|
|
15
|
+
import { SolidityServiceSimulationFromJSON, SolidityServiceSimulationToJSON, } from './SolidityServiceSimulation.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBody interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBody(value) {
|
|
20
|
+
if (!('simulation' in value) || value['simulation'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyFromJSON(json) {
|
|
25
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBodyFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON(json['chainSpec']),
|
|
33
|
+
'simulation': SolidityServiceSimulationFromJSON(json['simulation']),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyToJSON(json) {
|
|
37
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBodyToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON(value['chainSpec']),
|
|
45
|
+
'simulation': SolidityServiceSimulationToJSON(value['simulation']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=SolidityServiceSolidityAPIServiceSimulateTransactionBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceSolidityAPIServiceSimulateTransactionBody.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBody.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,yEAAyE,EAEzE,uEAAuE,GAE1E,MAAM,wEAAwE,CAAC;AAEhF,OAAO,EACH,iCAAiC,EAEjC,+BAA+B,GAElC,MAAM,gCAAgC,CAAC;AAsBxC;;GAEG;AACH,MAAM,UAAU,kEAAkE,CAAC,KAAa;IAC5F,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,gEAAgE,CAAC,IAAS;IACtF,OAAO,qEAAqE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9F,CAAC;AAED,MAAM,UAAU,qEAAqE,CAAC,IAAS,EAAE,mBAA4B;IACzH,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,yEAAyE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACjJ,YAAY,EAAE,iCAAiC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KACtE,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,8DAA8D,CAAC,IAAS;IACpF,OAAO,mEAAmE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5F,CAAC;AAED,MAAM,UAAU,mEAAmE,CAAC,KAAuE,EAAE,sBAA+B,KAAK;IAC/L,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,uEAAuE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QACxG,YAAY,EAAE,+BAA+B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACrE,CAAC;AACN,CAAC"}
|
package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sentio API
|
|
3
|
+
* Sentio Open API for query data
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: version not set
|
|
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
|
|
15
|
+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec
|
|
16
|
+
*/
|
|
17
|
+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec
|
|
22
|
+
*/
|
|
23
|
+
chainId?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec;
|
|
29
|
+
export declare function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec;
|
|
30
|
+
export declare function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec;
|
|
31
|
+
export declare function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec;
|
|
32
|
+
export declare function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON(json) {
|
|
21
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'chainId': json['chainId'] == null ? undefined : json['chainId'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON(json) {
|
|
32
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'chainId': value['chainId'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js.map
|
package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAiBH;;GAEG;AACH,MAAM,UAAU,2EAA2E,CAAC,KAAa;IACrG,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,yEAAyE,CAAC,IAAS;IAC/F,OAAO,8EAA8E,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvG,CAAC;AAED,MAAM,UAAU,8EAA8E,CAAC,IAAS,EAAE,mBAA4B;IAClI,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;KACnE,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,uEAAuE,CAAC,IAAS;IAC7F,OAAO,4EAA4E,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrG,CAAC;AAED,MAAM,UAAU,4EAA4E,CAAC,KAAgF,EAAE,sBAA+B,KAAK;IACjN,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
|