@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
|
@@ -10,38 +10,99 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { GoogleApiHttpBody, SolidityServiceGetSimulationBundleResponse, SolidityServiceGetSimulationResponse, SolidityServiceGetSimulationsResponse,
|
|
13
|
+
import type { GoogleApiHttpBody, SolidityServiceGetSimulationBundleResponse, SolidityServiceGetSimulationResponse, SolidityServiceGetSimulationsResponse, SolidityServiceSimulateTransactionBundleResponse, SolidityServiceSimulateTransactionResponse, SolidityServiceSolidityAPIServiceSimulateTransactionBody, SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody, TxindexEvmSearchTransactionsResponse } from '../models/index.js';
|
|
14
14
|
export interface GetCallTraceRequest {
|
|
15
|
-
projectOwner
|
|
16
|
-
projectSlug
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
projectOwner: string;
|
|
16
|
+
projectSlug: string;
|
|
17
|
+
chainSpecChainId: string;
|
|
18
|
+
txIdTxHash: string;
|
|
19
|
+
chainSpecForkId?: string;
|
|
20
|
+
txIdSimulationId?: string;
|
|
21
|
+
txIdBundleId?: string;
|
|
22
|
+
withInternalCalls?: boolean;
|
|
23
|
+
disableOptimizer?: boolean;
|
|
24
|
+
ignoreGasCost?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface GetCallTrace2Request {
|
|
27
|
+
projectOwner: string;
|
|
28
|
+
projectSlug: string;
|
|
29
|
+
chainSpecChainId: string;
|
|
30
|
+
txIdSimulationId: string;
|
|
31
|
+
chainSpecForkId?: string;
|
|
32
|
+
txIdTxHash?: string;
|
|
33
|
+
txIdBundleId?: string;
|
|
34
|
+
withInternalCalls?: boolean;
|
|
35
|
+
disableOptimizer?: boolean;
|
|
36
|
+
ignoreGasCost?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface GetCallTrace3Request {
|
|
39
|
+
projectOwner: string;
|
|
40
|
+
projectSlug: string;
|
|
41
|
+
chainSpecChainId: string;
|
|
42
|
+
txIdBundleId: string;
|
|
19
43
|
chainSpecForkId?: string;
|
|
20
44
|
txIdTxHash?: string;
|
|
21
45
|
txIdSimulationId?: string;
|
|
46
|
+
withInternalCalls?: boolean;
|
|
47
|
+
disableOptimizer?: boolean;
|
|
48
|
+
ignoreGasCost?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface GetCallTrace4Request {
|
|
51
|
+
projectOwner: string;
|
|
52
|
+
projectSlug: string;
|
|
53
|
+
chainSpecForkId: string;
|
|
54
|
+
txIdTxHash: string;
|
|
55
|
+
chainSpecChainId?: string;
|
|
56
|
+
txIdSimulationId?: string;
|
|
22
57
|
txIdBundleId?: string;
|
|
58
|
+
withInternalCalls?: boolean;
|
|
23
59
|
disableOptimizer?: boolean;
|
|
60
|
+
ignoreGasCost?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface GetCallTrace5Request {
|
|
63
|
+
projectOwner: string;
|
|
64
|
+
projectSlug: string;
|
|
65
|
+
chainSpecForkId: string;
|
|
66
|
+
txIdSimulationId: string;
|
|
67
|
+
chainSpecChainId?: string;
|
|
68
|
+
txIdTxHash?: string;
|
|
69
|
+
txIdBundleId?: string;
|
|
70
|
+
withInternalCalls?: boolean;
|
|
71
|
+
disableOptimizer?: boolean;
|
|
72
|
+
ignoreGasCost?: boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface GetCallTrace6Request {
|
|
75
|
+
projectOwner: string;
|
|
76
|
+
projectSlug: string;
|
|
77
|
+
chainSpecForkId: string;
|
|
78
|
+
txIdBundleId: string;
|
|
79
|
+
chainSpecChainId?: string;
|
|
80
|
+
txIdTxHash?: string;
|
|
81
|
+
txIdSimulationId?: string;
|
|
24
82
|
withInternalCalls?: boolean;
|
|
83
|
+
disableOptimizer?: boolean;
|
|
25
84
|
ignoreGasCost?: boolean;
|
|
26
85
|
}
|
|
27
86
|
export interface GetSimulationRequest {
|
|
87
|
+
projectOwner: string;
|
|
88
|
+
projectSlug: string;
|
|
28
89
|
simulationId: string;
|
|
29
|
-
projectOwner?: string;
|
|
30
|
-
projectSlug?: string;
|
|
31
90
|
}
|
|
32
|
-
export interface
|
|
91
|
+
export interface GetSimulationBundleInProjectRequest {
|
|
92
|
+
projectOwner: string;
|
|
93
|
+
projectSlug: string;
|
|
33
94
|
bundleId: string;
|
|
34
|
-
projectOwner?: string;
|
|
35
|
-
projectSlug?: string;
|
|
36
95
|
}
|
|
37
96
|
export interface GetSimulationsRequest {
|
|
38
|
-
projectOwner
|
|
39
|
-
projectSlug
|
|
97
|
+
projectOwner: string;
|
|
98
|
+
projectSlug: string;
|
|
40
99
|
labelContains?: string;
|
|
41
100
|
page?: number;
|
|
42
101
|
pageSize?: number;
|
|
43
102
|
}
|
|
44
103
|
export interface SearchTransactionsRequest {
|
|
104
|
+
projectOwner: string;
|
|
105
|
+
projectSlug: string;
|
|
45
106
|
chainId?: Array<string>;
|
|
46
107
|
address?: Array<string>;
|
|
47
108
|
includeDirect?: boolean;
|
|
@@ -58,10 +119,28 @@ export interface SearchTransactionsRequest {
|
|
|
58
119
|
pageToken?: string;
|
|
59
120
|
}
|
|
60
121
|
export interface SimulateTransactionRequest {
|
|
61
|
-
|
|
122
|
+
projectOwner: string;
|
|
123
|
+
projectSlug: string;
|
|
124
|
+
chainSpecChainId: string;
|
|
125
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
126
|
+
}
|
|
127
|
+
export interface SimulateTransaction2Request {
|
|
128
|
+
projectOwner: string;
|
|
129
|
+
projectSlug: string;
|
|
130
|
+
chainSpecForkId: string;
|
|
131
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
|
|
62
132
|
}
|
|
63
133
|
export interface SimulateTransactionBundleRequest {
|
|
64
|
-
|
|
134
|
+
projectOwner: string;
|
|
135
|
+
projectSlug: string;
|
|
136
|
+
chainSpecChainId: string;
|
|
137
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
|
|
138
|
+
}
|
|
139
|
+
export interface SimulateTransactionBundle2Request {
|
|
140
|
+
projectOwner: string;
|
|
141
|
+
projectSlug: string;
|
|
142
|
+
chainSpecForkId: string;
|
|
143
|
+
body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
|
|
65
144
|
}
|
|
66
145
|
/**
|
|
67
146
|
*
|
|
@@ -76,7 +155,57 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
76
155
|
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
77
156
|
* Get indexed call trace
|
|
78
157
|
*/
|
|
79
|
-
getCallTrace(requestParameters
|
|
158
|
+
getCallTrace(requestParameters: GetCallTraceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
159
|
+
/**
|
|
160
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
161
|
+
* Get indexed call trace
|
|
162
|
+
*/
|
|
163
|
+
getCallTrace2Raw(requestParameters: GetCallTrace2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
164
|
+
/**
|
|
165
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
166
|
+
* Get indexed call trace
|
|
167
|
+
*/
|
|
168
|
+
getCallTrace2(requestParameters: GetCallTrace2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
169
|
+
/**
|
|
170
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
171
|
+
* Get indexed call trace
|
|
172
|
+
*/
|
|
173
|
+
getCallTrace3Raw(requestParameters: GetCallTrace3Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
174
|
+
/**
|
|
175
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
176
|
+
* Get indexed call trace
|
|
177
|
+
*/
|
|
178
|
+
getCallTrace3(requestParameters: GetCallTrace3Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
179
|
+
/**
|
|
180
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
181
|
+
* Get indexed call trace
|
|
182
|
+
*/
|
|
183
|
+
getCallTrace4Raw(requestParameters: GetCallTrace4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
184
|
+
/**
|
|
185
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
186
|
+
* Get indexed call trace
|
|
187
|
+
*/
|
|
188
|
+
getCallTrace4(requestParameters: GetCallTrace4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
189
|
+
/**
|
|
190
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
191
|
+
* Get indexed call trace
|
|
192
|
+
*/
|
|
193
|
+
getCallTrace5Raw(requestParameters: GetCallTrace5Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
194
|
+
/**
|
|
195
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
196
|
+
* Get indexed call trace
|
|
197
|
+
*/
|
|
198
|
+
getCallTrace5(requestParameters: GetCallTrace5Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
199
|
+
/**
|
|
200
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
201
|
+
* Get indexed call trace
|
|
202
|
+
*/
|
|
203
|
+
getCallTrace6Raw(requestParameters: GetCallTrace6Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
204
|
+
/**
|
|
205
|
+
* API to get Sentio call trace. It takes `txId.txHash` and `networkId` arguments, where the first is transaction hash, and the second is the numeric ethereum chain ID. The results looks very similar to the normal [Ethereum call trace](https://raw.githubusercontent.com/sentioxyz/docs/main/.gitbook/assets/image%20(2)%20(1)%20(1)%20(1).png). But we have an additional `startIndex` and `startIndex` on each trace entry even for the LOG, representing the execution order in the trace. This allows you to build chart that marks the order of fund flow. %20(1)%20(1)%20(1).png)
|
|
206
|
+
* Get indexed call trace
|
|
207
|
+
*/
|
|
208
|
+
getCallTrace6(requestParameters: GetCallTrace6Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
80
209
|
/**
|
|
81
210
|
* Get a simulation by id
|
|
82
211
|
*/
|
|
@@ -88,11 +217,11 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
88
217
|
/**
|
|
89
218
|
* Get a bundle simulation by id
|
|
90
219
|
*/
|
|
91
|
-
|
|
220
|
+
getSimulationBundleInProjectRaw(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationBundleResponse>>;
|
|
92
221
|
/**
|
|
93
222
|
* Get a bundle simulation by id
|
|
94
223
|
*/
|
|
95
|
-
|
|
224
|
+
getSimulationBundleInProject(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationBundleResponse>;
|
|
96
225
|
/**
|
|
97
226
|
* Get existing transaction simulations
|
|
98
227
|
*/
|
|
@@ -100,7 +229,7 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
100
229
|
/**
|
|
101
230
|
* Get existing transaction simulations
|
|
102
231
|
*/
|
|
103
|
-
getSimulations(requestParameters
|
|
232
|
+
getSimulations(requestParameters: GetSimulationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationsResponse>;
|
|
104
233
|
/**
|
|
105
234
|
* Search for transactions
|
|
106
235
|
*/
|
|
@@ -108,7 +237,7 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
108
237
|
/**
|
|
109
238
|
* Search for transactions
|
|
110
239
|
*/
|
|
111
|
-
searchTransactions(requestParameters
|
|
240
|
+
searchTransactions(requestParameters: SearchTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TxindexEvmSearchTransactionsResponse>;
|
|
112
241
|
/**
|
|
113
242
|
* Create a new transaction simulation. The simulation body should be included in the request body. Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.
|
|
114
243
|
* Single simulation
|
|
@@ -119,6 +248,16 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
119
248
|
* Single simulation
|
|
120
249
|
*/
|
|
121
250
|
simulateTransaction(requestParameters: SimulateTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionResponse>;
|
|
251
|
+
/**
|
|
252
|
+
* Create a new transaction simulation. The simulation body should be included in the request body. Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.
|
|
253
|
+
* Single simulation
|
|
254
|
+
*/
|
|
255
|
+
simulateTransaction2Raw(requestParameters: SimulateTransaction2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionResponse>>;
|
|
256
|
+
/**
|
|
257
|
+
* Create a new transaction simulation. The simulation body should be included in the request body. Your simulations will be saved, and a unique ID for each simulation is included in the response. It will be useful for fetching simulation details.
|
|
258
|
+
* Single simulation
|
|
259
|
+
*/
|
|
260
|
+
simulateTransaction2(requestParameters: SimulateTransaction2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionResponse>;
|
|
122
261
|
/**
|
|
123
262
|
* You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.
|
|
124
263
|
* Bundle simulation
|
|
@@ -129,4 +268,14 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
129
268
|
* Bundle simulation
|
|
130
269
|
*/
|
|
131
270
|
simulateTransactionBundle(requestParameters: SimulateTransactionBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse>;
|
|
271
|
+
/**
|
|
272
|
+
* You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.
|
|
273
|
+
* Bundle simulation
|
|
274
|
+
*/
|
|
275
|
+
simulateTransactionBundle2Raw(requestParameters: SimulateTransactionBundle2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>>;
|
|
276
|
+
/**
|
|
277
|
+
* You could also create bundle simulations so that one transaction could be executed one after another. For `blockNumber` `transactionIndex` `networkId` `stateOverrides` and `blockOverrides` fields, only the first simulation takes effect.
|
|
278
|
+
* Bundle simulation
|
|
279
|
+
*/
|
|
280
|
+
simulateTransactionBundle2(requestParameters: SimulateTransactionBundle2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse>;
|
|
132
281
|
}
|