@sentio/api 1.0.2-rc.17 → 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 -19
- package/dist/src/apis/DebugAndSimulationApi.js +424 -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/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/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 +14 -2
- package/dist/src/models/index.js +14 -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/ForksApi.ts +381 -0
- package/src/apis/index.ts +1 -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/SolidityServiceGetForkResponse.ts +73 -0
- package/src/models/SolidityServiceListForksResponse.ts +73 -0
- package/src/models/SolidityServiceManagedFork.ts +89 -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 +14 -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,65 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec
|
|
20
|
+
*/
|
|
21
|
+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec
|
|
26
|
+
*/
|
|
27
|
+
chainId?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec {
|
|
38
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'chainId': json['chainId'] == null ? undefined : json['chainId'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec {
|
|
52
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'chainId': value['chainId'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -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 { SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON,
|
|
19
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSONTyped,
|
|
20
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON,
|
|
21
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSONTyped,
|
|
22
|
+
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
|
|
23
|
+
import type { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
|
|
24
|
+
import {
|
|
25
|
+
SolidityServiceSimulationFromJSON,
|
|
26
|
+
SolidityServiceSimulationFromJSONTyped,
|
|
27
|
+
SolidityServiceSimulationToJSON,
|
|
28
|
+
SolidityServiceSimulationToJSONTyped,
|
|
29
|
+
} from './SolidityServiceSimulation.js';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody
|
|
35
|
+
*/
|
|
36
|
+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec}
|
|
40
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody
|
|
41
|
+
*/
|
|
42
|
+
chainSpec?: SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec;
|
|
43
|
+
/**
|
|
44
|
+
* For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect.
|
|
45
|
+
* @type {Array<SolidityServiceSimulation>}
|
|
46
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody
|
|
47
|
+
*/
|
|
48
|
+
simulations: Array<SolidityServiceSimulation>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody {
|
|
55
|
+
if (!('simulations' in value) || value['simulations'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleBodyFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody {
|
|
60
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleBodyFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON(json['chainSpec']),
|
|
70
|
+
'simulations': ((json['simulations'] as Array<any>).map(SolidityServiceSimulationFromJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleBodyToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody {
|
|
75
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleBodyToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleBodyToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON(value['chainSpec']),
|
|
86
|
+
'simulations': ((value['simulations'] as Array<any>).map(SolidityServiceSimulationToJSON)),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 SolidityServiceSourceFetcherType = {
|
|
21
|
+
Etherscan: 'ETHERSCAN',
|
|
22
|
+
Blockscout: 'BLOCKSCOUT',
|
|
23
|
+
Oklink: 'OKLINK'
|
|
24
|
+
} as const;
|
|
25
|
+
export type SolidityServiceSourceFetcherType = typeof SolidityServiceSourceFetcherType[keyof typeof SolidityServiceSourceFetcherType];
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function instanceOfSolidityServiceSourceFetcherType(value: any): boolean {
|
|
29
|
+
for (const key in SolidityServiceSourceFetcherType) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(SolidityServiceSourceFetcherType, key)) {
|
|
31
|
+
if (SolidityServiceSourceFetcherType[key as keyof typeof SolidityServiceSourceFetcherType] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function SolidityServiceSourceFetcherTypeFromJSON(json: any): SolidityServiceSourceFetcherType {
|
|
40
|
+
return SolidityServiceSourceFetcherTypeFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function SolidityServiceSourceFetcherTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSourceFetcherType {
|
|
44
|
+
return json as SolidityServiceSourceFetcherType;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function SolidityServiceSourceFetcherTypeToJSON(value?: SolidityServiceSourceFetcherType | null): any {
|
|
48
|
+
return value as any;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function SolidityServiceSourceFetcherTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): SolidityServiceSourceFetcherType {
|
|
52
|
+
return value as SolidityServiceSourceFetcherType;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -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 SolidityServiceUpdateForkResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface SolidityServiceUpdateForkResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SolidityServiceFork}
|
|
33
|
+
* @memberof SolidityServiceUpdateForkResponse
|
|
34
|
+
*/
|
|
35
|
+
fork?: SolidityServiceFork;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SolidityServiceUpdateForkResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfSolidityServiceUpdateForkResponse(value: object): value is SolidityServiceUpdateForkResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function SolidityServiceUpdateForkResponseFromJSON(json: any): SolidityServiceUpdateForkResponse {
|
|
46
|
+
return SolidityServiceUpdateForkResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function SolidityServiceUpdateForkResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceUpdateForkResponse {
|
|
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 SolidityServiceUpdateForkResponseToJSON(json: any): SolidityServiceUpdateForkResponse {
|
|
60
|
+
return SolidityServiceUpdateForkResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SolidityServiceUpdateForkResponseToJSONTyped(value?: SolidityServiceUpdateForkResponse | 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
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -137,9 +137,16 @@ export * from './SolidityServiceChainIdentifier.js';
|
|
|
137
137
|
export * from './SolidityServiceCompileSourceInternalResponse.js';
|
|
138
138
|
export * from './SolidityServiceCompilerOptions.js';
|
|
139
139
|
export * from './SolidityServiceContractKeyInfo.js';
|
|
140
|
+
export * from './SolidityServiceCreateForkResponse.js';
|
|
140
141
|
export * from './SolidityServiceDecodeStateDiffResponse.js';
|
|
142
|
+
export * from './SolidityServiceExternalFork.js';
|
|
141
143
|
export * from './SolidityServiceFailure.js';
|
|
142
144
|
export * from './SolidityServiceFetchAndCompileInternalResponse.js';
|
|
145
|
+
export * from './SolidityServiceFork.js';
|
|
146
|
+
export * from './SolidityServiceForkServiceCreateForkBody.js';
|
|
147
|
+
export * from './SolidityServiceForkServiceUpdateForkBody.js';
|
|
148
|
+
export * from './SolidityServiceForkType.js';
|
|
149
|
+
export * from './SolidityServiceGetForkResponse.js';
|
|
143
150
|
export * from './SolidityServiceGetSimulationBundleResponse.js';
|
|
144
151
|
export * from './SolidityServiceGetSimulationResponse.js';
|
|
145
152
|
export * from './SolidityServiceGetSimulationsResponse.js';
|
|
@@ -148,18 +155,22 @@ export * from './SolidityServiceGetTraceCallInternalRequestBundle.js';
|
|
|
148
155
|
export * from './SolidityServiceGetTraceCallInternalRequestStateContext.js';
|
|
149
156
|
export * from './SolidityServiceGetTraceCallInternalResponse.js';
|
|
150
157
|
export * from './SolidityServiceGetTraceTransactionInternalResponse.js';
|
|
158
|
+
export * from './SolidityServiceListForksResponse.js';
|
|
159
|
+
export * from './SolidityServiceManagedFork.js';
|
|
151
160
|
export * from './SolidityServiceMetadata.js';
|
|
152
161
|
export * from './SolidityServiceOptimizer.js';
|
|
153
162
|
export * from './SolidityServiceOptimizerDetails.js';
|
|
154
163
|
export * from './SolidityServiceOptimizerDetailsYulDetails.js';
|
|
155
164
|
export * from './SolidityServicePreProcessCompilationInternalResponse.js';
|
|
156
165
|
export * from './SolidityServiceSettings.js';
|
|
157
|
-
export * from './SolidityServiceSimulateTransactionBundleRequest.js';
|
|
158
166
|
export * from './SolidityServiceSimulateTransactionBundleResponse.js';
|
|
159
|
-
export * from './SolidityServiceSimulateTransactionRequest.js';
|
|
160
167
|
export * from './SolidityServiceSimulateTransactionResponse.js';
|
|
161
168
|
export * from './SolidityServiceSimulation.js';
|
|
162
169
|
export * from './SolidityServiceSimulationResult.js';
|
|
170
|
+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBody.js';
|
|
171
|
+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
|
|
172
|
+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js';
|
|
173
|
+
export * from './SolidityServiceSourceFetcherType.js';
|
|
163
174
|
export * from './SolidityServiceSourceInfo.js';
|
|
164
175
|
export * from './SolidityServiceSourceMultiFile.js';
|
|
165
176
|
export * from './SolidityServiceSourceSpec.js';
|
|
@@ -167,6 +178,7 @@ export * from './SolidityServiceSpecializations.js';
|
|
|
167
178
|
export * from './SolidityServiceStateOverride.js';
|
|
168
179
|
export * from './SolidityServiceStorageSummaryResult.js';
|
|
169
180
|
export * from './SolidityServiceTxIdentifier.js';
|
|
181
|
+
export * from './SolidityServiceUpdateForkResponse.js';
|
|
170
182
|
export * from './TxindexEvmRawTransaction.js';
|
|
171
183
|
export * from './TxindexEvmSearchTransactionsResponse.js';
|
|
172
184
|
export * from './WebServiceChart.js';
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SolidityServiceSimulateTransactionBundleRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface SolidityServiceSimulateTransactionBundleRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SolidityServiceSimulateTransactionBundleRequest
|
|
23
|
-
*/
|
|
24
|
-
projectOwner: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SolidityServiceSimulateTransactionBundleRequest
|
|
29
|
-
*/
|
|
30
|
-
projectSlug: string;
|
|
31
|
-
/**
|
|
32
|
-
* For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect.
|
|
33
|
-
* @type {Array<SolidityServiceSimulation>}
|
|
34
|
-
* @memberof SolidityServiceSimulateTransactionBundleRequest
|
|
35
|
-
*/
|
|
36
|
-
simulations: Array<SolidityServiceSimulation>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the SolidityServiceSimulateTransactionBundleRequest interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfSolidityServiceSimulateTransactionBundleRequest(value: object): value is SolidityServiceSimulateTransactionBundleRequest;
|
|
42
|
-
export declare function SolidityServiceSimulateTransactionBundleRequestFromJSON(json: any): SolidityServiceSimulateTransactionBundleRequest;
|
|
43
|
-
export declare function SolidityServiceSimulateTransactionBundleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSimulateTransactionBundleRequest;
|
|
44
|
-
export declare function SolidityServiceSimulateTransactionBundleRequestToJSON(json: any): SolidityServiceSimulateTransactionBundleRequest;
|
|
45
|
-
export declare function SolidityServiceSimulateTransactionBundleRequestToJSONTyped(value?: SolidityServiceSimulateTransactionBundleRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
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 { SolidityServiceSimulationFromJSON, SolidityServiceSimulationToJSON, } from './SolidityServiceSimulation.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the SolidityServiceSimulateTransactionBundleRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfSolidityServiceSimulateTransactionBundleRequest(value) {
|
|
19
|
-
if (!('projectOwner' in value) || value['projectOwner'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('projectSlug' in value) || value['projectSlug'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('simulations' in value) || value['simulations'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
export function SolidityServiceSimulateTransactionBundleRequestFromJSON(json) {
|
|
28
|
-
return SolidityServiceSimulateTransactionBundleRequestFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
export function SolidityServiceSimulateTransactionBundleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'projectOwner': json['projectOwner'],
|
|
36
|
-
'projectSlug': json['projectSlug'],
|
|
37
|
-
'simulations': (json['simulations'].map(SolidityServiceSimulationFromJSON)),
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export function SolidityServiceSimulateTransactionBundleRequestToJSON(json) {
|
|
41
|
-
return SolidityServiceSimulateTransactionBundleRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
export function SolidityServiceSimulateTransactionBundleRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'projectOwner': value['projectOwner'],
|
|
49
|
-
'projectSlug': value['projectSlug'],
|
|
50
|
-
'simulations': (value['simulations'].map(SolidityServiceSimulationToJSON)),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=SolidityServiceSimulateTransactionBundleRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SolidityServiceSimulateTransactionBundleRequest.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceSimulateTransactionBundleRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,iCAAiC,EAEjC,+BAA+B,GAElC,MAAM,gCAAgC,CAAC;AA4BxC;;GAEG;AACH,MAAM,UAAU,yDAAyD,CAAC,KAAa;IACnF,IAAI,CAAC,CAAC,cAAc,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpF,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,uDAAuD,CAAC,IAAS;IAC7E,OAAO,4DAA4D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrF,CAAC;AAED,MAAM,UAAU,4DAA4D,CAAC,IAAS,EAAE,mBAA4B;IAChH,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;QACpC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,aAAa,EAAE,CAAE,IAAI,CAAC,aAAa,CAAgB,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;KAC9F,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,qDAAqD,CAAC,IAAS;IAC3E,OAAO,0DAA0D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnF,CAAC;AAED,MAAM,UAAU,0DAA0D,CAAC,KAA8D,EAAE,sBAA+B,KAAK;IAC7K,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,aAAa,EAAE,CAAE,KAAK,CAAC,aAAa,CAAgB,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;KAC7F,CAAC;AACN,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SolidityServiceSimulateTransactionRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface SolidityServiceSimulateTransactionRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SolidityServiceSimulateTransactionRequest
|
|
23
|
-
*/
|
|
24
|
-
projectOwner: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SolidityServiceSimulateTransactionRequest
|
|
29
|
-
*/
|
|
30
|
-
projectSlug: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {SolidityServiceSimulation}
|
|
34
|
-
* @memberof SolidityServiceSimulateTransactionRequest
|
|
35
|
-
*/
|
|
36
|
-
simulation: SolidityServiceSimulation;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the SolidityServiceSimulateTransactionRequest interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfSolidityServiceSimulateTransactionRequest(value: object): value is SolidityServiceSimulateTransactionRequest;
|
|
42
|
-
export declare function SolidityServiceSimulateTransactionRequestFromJSON(json: any): SolidityServiceSimulateTransactionRequest;
|
|
43
|
-
export declare function SolidityServiceSimulateTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSimulateTransactionRequest;
|
|
44
|
-
export declare function SolidityServiceSimulateTransactionRequestToJSON(json: any): SolidityServiceSimulateTransactionRequest;
|
|
45
|
-
export declare function SolidityServiceSimulateTransactionRequestToJSONTyped(value?: SolidityServiceSimulateTransactionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,53 +0,0 @@
|
|
|
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 { SolidityServiceSimulationFromJSON, SolidityServiceSimulationToJSON, } from './SolidityServiceSimulation.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the SolidityServiceSimulateTransactionRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfSolidityServiceSimulateTransactionRequest(value) {
|
|
19
|
-
if (!('projectOwner' in value) || value['projectOwner'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('projectSlug' in value) || value['projectSlug'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('simulation' in value) || value['simulation'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
export function SolidityServiceSimulateTransactionRequestFromJSON(json) {
|
|
28
|
-
return SolidityServiceSimulateTransactionRequestFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
export function SolidityServiceSimulateTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'projectOwner': json['projectOwner'],
|
|
36
|
-
'projectSlug': json['projectSlug'],
|
|
37
|
-
'simulation': SolidityServiceSimulationFromJSON(json['simulation']),
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export function SolidityServiceSimulateTransactionRequestToJSON(json) {
|
|
41
|
-
return SolidityServiceSimulateTransactionRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
export function SolidityServiceSimulateTransactionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'projectOwner': value['projectOwner'],
|
|
49
|
-
'projectSlug': value['projectSlug'],
|
|
50
|
-
'simulation': SolidityServiceSimulationToJSON(value['simulation']),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=SolidityServiceSimulateTransactionRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SolidityServiceSimulateTransactionRequest.js","sourceRoot":"","sources":["../../../src/models/SolidityServiceSimulateTransactionRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,iCAAiC,EAEjC,+BAA+B,GAElC,MAAM,gCAAgC,CAAC;AA4BxC;;GAEG;AACH,MAAM,UAAU,mDAAmD,CAAC,KAAa;IAC7E,IAAI,CAAC,CAAC,cAAc,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpF,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,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,iDAAiD,CAAC,IAAS;IACvE,OAAO,sDAAsD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/E,CAAC;AAED,MAAM,UAAU,sDAAsD,CAAC,IAAS,EAAE,mBAA4B;IAC1G,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;QACpC,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,YAAY,EAAE,iCAAiC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KACtE,CAAC;AACN,CAAC;AAEC,MAAM,UAAU,+CAA+C,CAAC,IAAS;IACrE,OAAO,oDAAoD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,oDAAoD,CAAC,KAAwD,EAAE,sBAA+B,KAAK;IACjK,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,YAAY,EAAE,+BAA+B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACrE,CAAC;AACN,CAAC"}
|
|
@@ -1,92 +0,0 @@
|
|
|
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 { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
|
|
17
|
-
import {
|
|
18
|
-
SolidityServiceSimulationFromJSON,
|
|
19
|
-
SolidityServiceSimulationFromJSONTyped,
|
|
20
|
-
SolidityServiceSimulationToJSON,
|
|
21
|
-
SolidityServiceSimulationToJSONTyped,
|
|
22
|
-
} from './SolidityServiceSimulation.js';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface SolidityServiceSimulateTransactionBundleRequest
|
|
28
|
-
*/
|
|
29
|
-
export interface SolidityServiceSimulateTransactionBundleRequest {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SolidityServiceSimulateTransactionBundleRequest
|
|
34
|
-
*/
|
|
35
|
-
projectOwner: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SolidityServiceSimulateTransactionBundleRequest
|
|
40
|
-
*/
|
|
41
|
-
projectSlug: string;
|
|
42
|
-
/**
|
|
43
|
-
* For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect.
|
|
44
|
-
* @type {Array<SolidityServiceSimulation>}
|
|
45
|
-
* @memberof SolidityServiceSimulateTransactionBundleRequest
|
|
46
|
-
*/
|
|
47
|
-
simulations: Array<SolidityServiceSimulation>;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the SolidityServiceSimulateTransactionBundleRequest interface.
|
|
52
|
-
*/
|
|
53
|
-
export function instanceOfSolidityServiceSimulateTransactionBundleRequest(value: object): value is SolidityServiceSimulateTransactionBundleRequest {
|
|
54
|
-
if (!('projectOwner' in value) || value['projectOwner'] === undefined) return false;
|
|
55
|
-
if (!('projectSlug' in value) || value['projectSlug'] === undefined) return false;
|
|
56
|
-
if (!('simulations' in value) || value['simulations'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function SolidityServiceSimulateTransactionBundleRequestFromJSON(json: any): SolidityServiceSimulateTransactionBundleRequest {
|
|
61
|
-
return SolidityServiceSimulateTransactionBundleRequestFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function SolidityServiceSimulateTransactionBundleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSimulateTransactionBundleRequest {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'projectOwner': json['projectOwner'],
|
|
71
|
-
'projectSlug': json['projectSlug'],
|
|
72
|
-
'simulations': ((json['simulations'] as Array<any>).map(SolidityServiceSimulationFromJSON)),
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function SolidityServiceSimulateTransactionBundleRequestToJSON(json: any): SolidityServiceSimulateTransactionBundleRequest {
|
|
77
|
-
return SolidityServiceSimulateTransactionBundleRequestToJSONTyped(json, false);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function SolidityServiceSimulateTransactionBundleRequestToJSONTyped(value?: SolidityServiceSimulateTransactionBundleRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return {
|
|
86
|
-
|
|
87
|
-
'projectOwner': value['projectOwner'],
|
|
88
|
-
'projectSlug': value['projectSlug'],
|
|
89
|
-
'simulations': ((value['simulations'] as Array<any>).map(SolidityServiceSimulationToJSON)),
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
|