@sentio/api 1.0.2-rc.22 → 1.0.2-rc.23
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 +53 -81
- package/dist/src/apis/DebugAndSimulationApi.js +111 -139
- package/dist/src/apis/DebugAndSimulationApi.js.map +1 -1
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.d.ts +1 -1
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js +2 -2
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js.map +1 -1
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.d.ts +32 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js +42 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js.map +1 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.d.ts +40 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.js +48 -0
- package/dist/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.js.map +1 -0
- package/dist/src/models/index.d.ts +3 -0
- package/dist/src/models/index.js +3 -0
- package/dist/src/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/apis/DebugAndSimulationApi.ts +158 -180
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.ts +3 -3
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.ts +89 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.ts +65 -0
- package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.ts +89 -0
- package/src/models/index.ts +3 -0
|
@@ -24,7 +24,7 @@ export interface SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSp
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
forkId?: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -44,7 +44,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpe
|
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
46
|
|
|
47
|
-
'
|
|
47
|
+
'forkId': json['forkId'] == null ? undefined : json['forkId'],
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -59,7 +59,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpe
|
|
|
59
59
|
|
|
60
60
|
return {
|
|
61
61
|
|
|
62
|
-
'
|
|
62
|
+
'forkId': value['forkId'],
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
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 { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceSimulationFromJSON,
|
|
19
|
+
SolidityServiceSimulationFromJSONTyped,
|
|
20
|
+
SolidityServiceSimulationToJSON,
|
|
21
|
+
SolidityServiceSimulationToJSONTyped,
|
|
22
|
+
} from './SolidityServiceSimulation.js';
|
|
23
|
+
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
|
|
24
|
+
import {
|
|
25
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON,
|
|
26
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped,
|
|
27
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON,
|
|
28
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped,
|
|
29
|
+
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
|
|
35
|
+
*/
|
|
36
|
+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec}
|
|
40
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
|
|
41
|
+
*/
|
|
42
|
+
chainSpec?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec;
|
|
43
|
+
/**
|
|
44
|
+
* For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect.
|
|
45
|
+
* @type {Array<SolidityServiceSimulation>}
|
|
46
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
|
|
47
|
+
*/
|
|
48
|
+
simulations: Array<SolidityServiceSimulation>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
|
|
55
|
+
if (!('simulations' in value) || value['simulations'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
|
|
60
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json['chainSpec']),
|
|
70
|
+
'simulations': ((json['simulations'] as Array<any>).map(SolidityServiceSimulationFromJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
|
|
75
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(value['chainSpec']),
|
|
86
|
+
'simulations': ((value['simulations'] as Array<any>).map(SolidityServiceSimulationToJSON)),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
package/src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.ts
ADDED
|
@@ -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 SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec
|
|
20
|
+
*/
|
|
21
|
+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec
|
|
26
|
+
*/
|
|
27
|
+
chainId?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
|
|
38
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
|
|
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 SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
|
|
52
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec | 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 { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
|
|
17
|
+
import {
|
|
18
|
+
SolidityServiceSimulationFromJSON,
|
|
19
|
+
SolidityServiceSimulationFromJSONTyped,
|
|
20
|
+
SolidityServiceSimulationToJSON,
|
|
21
|
+
SolidityServiceSimulationToJSONTyped,
|
|
22
|
+
} from './SolidityServiceSimulation.js';
|
|
23
|
+
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
|
|
24
|
+
import {
|
|
25
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON,
|
|
26
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped,
|
|
27
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON,
|
|
28
|
+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped,
|
|
29
|
+
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
|
|
35
|
+
*/
|
|
36
|
+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec}
|
|
40
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
|
|
41
|
+
*/
|
|
42
|
+
chainSpec?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SolidityServiceSimulation}
|
|
46
|
+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
|
|
47
|
+
*/
|
|
48
|
+
simulation: SolidityServiceSimulation;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionByForkBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
|
|
55
|
+
if (!('simulation' in value) || value['simulation'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
|
|
60
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json['chainSpec']),
|
|
70
|
+
'simulation': SolidityServiceSimulationFromJSON(json['simulation']),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
|
|
75
|
+
return SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(value['chainSpec']),
|
|
86
|
+
'simulation': SolidityServiceSimulationToJSON(value['simulation']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -174,6 +174,9 @@ export * from './SolidityServiceSimulationResult.js';
|
|
|
174
174
|
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBody.js';
|
|
175
175
|
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
|
|
176
176
|
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js';
|
|
177
|
+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.js';
|
|
178
|
+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
|
|
179
|
+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.js';
|
|
177
180
|
export * from './SolidityServiceSourceFetcherType.js';
|
|
178
181
|
export * from './SolidityServiceSourceInfo.js';
|
|
179
182
|
export * from './SolidityServiceSourceMultiFile.js';
|