@sentio/api 1.0.2-rc.28 → 1.0.2-rc.29
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 +16 -16
- package/dist/src/apis/DebugAndSimulationApi.js +16 -16
- package/dist/src/apis/ForksApi.d.ts +16 -16
- package/dist/src/apis/ForksApi.js +16 -16
- package/package.json +1 -1
- package/src/apis/DebugAndSimulationApi.ts +16 -16
- package/src/apis/ForksApi.ts +16 -16
|
@@ -90,53 +90,53 @@ export interface SimulateTransactionBundleRequest {
|
|
|
90
90
|
*/
|
|
91
91
|
export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
92
92
|
/**
|
|
93
|
-
* Get
|
|
93
|
+
* Get trace by bundle simulation
|
|
94
94
|
*/
|
|
95
95
|
getCallTraceByBundleRaw(requestParameters: GetCallTraceByBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
96
96
|
/**
|
|
97
|
-
* Get
|
|
97
|
+
* Get trace by bundle simulation
|
|
98
98
|
*/
|
|
99
99
|
getCallTraceByBundle(requestParameters: GetCallTraceByBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
100
100
|
/**
|
|
101
|
-
* Get
|
|
101
|
+
* Get trace by simulation
|
|
102
102
|
*/
|
|
103
103
|
getCallTraceBySimulationRaw(requestParameters: GetCallTraceBySimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
104
104
|
/**
|
|
105
|
-
* Get
|
|
105
|
+
* Get trace by simulation
|
|
106
106
|
*/
|
|
107
107
|
getCallTraceBySimulation(requestParameters: GetCallTraceBySimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
108
108
|
/**
|
|
109
109
|
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` 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)
|
|
110
|
-
* Get
|
|
110
|
+
* Get trace by transaction
|
|
111
111
|
*/
|
|
112
112
|
getCallTraceByTransactionRaw(requestParameters: GetCallTraceByTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
113
113
|
/**
|
|
114
114
|
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` 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)
|
|
115
|
-
* Get
|
|
115
|
+
* Get trace by transaction
|
|
116
116
|
*/
|
|
117
117
|
getCallTraceByTransaction(requestParameters: GetCallTraceByTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
118
118
|
/**
|
|
119
|
-
* Get
|
|
119
|
+
* Get simulation by ID
|
|
120
120
|
*/
|
|
121
121
|
getSimulationRaw(requestParameters: GetSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationResponse>>;
|
|
122
122
|
/**
|
|
123
|
-
* Get
|
|
123
|
+
* Get simulation by ID
|
|
124
124
|
*/
|
|
125
125
|
getSimulation(requestParameters: GetSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationResponse>;
|
|
126
126
|
/**
|
|
127
|
-
* Get
|
|
127
|
+
* Get bundle simulation by ID
|
|
128
128
|
*/
|
|
129
129
|
getSimulationBundleInProjectRaw(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationBundleResponse>>;
|
|
130
130
|
/**
|
|
131
|
-
* Get
|
|
131
|
+
* Get bundle simulation by ID
|
|
132
132
|
*/
|
|
133
133
|
getSimulationBundleInProject(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationBundleResponse>;
|
|
134
134
|
/**
|
|
135
|
-
* Get
|
|
135
|
+
* Get list of simulations
|
|
136
136
|
*/
|
|
137
137
|
getSimulationsRaw(requestParameters: GetSimulationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationsResponse>>;
|
|
138
138
|
/**
|
|
139
|
-
* Get
|
|
139
|
+
* Get list of simulations
|
|
140
140
|
*/
|
|
141
141
|
getSimulations(requestParameters: GetSimulationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationsResponse>;
|
|
142
142
|
/**
|
|
@@ -149,22 +149,22 @@ export declare class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
149
149
|
searchTransactions(requestParameters: SearchTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TxindexEvmSearchTransactionsResponse>;
|
|
150
150
|
/**
|
|
151
151
|
* 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.
|
|
152
|
-
* Run
|
|
152
|
+
* Run simulation
|
|
153
153
|
*/
|
|
154
154
|
simulateTransactionRaw(requestParameters: SimulateTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionResponse>>;
|
|
155
155
|
/**
|
|
156
156
|
* 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.
|
|
157
|
-
* Run
|
|
157
|
+
* Run simulation
|
|
158
158
|
*/
|
|
159
159
|
simulateTransaction(requestParameters: SimulateTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionResponse>;
|
|
160
160
|
/**
|
|
161
161
|
* 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.
|
|
162
|
-
* Run
|
|
162
|
+
* Run bundle simulation
|
|
163
163
|
*/
|
|
164
164
|
simulateTransactionBundleRaw(requestParameters: SimulateTransactionBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>>;
|
|
165
165
|
/**
|
|
166
166
|
* 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.
|
|
167
|
-
* Run
|
|
167
|
+
* Run bundle simulation
|
|
168
168
|
*/
|
|
169
169
|
simulateTransactionBundle(requestParameters: SimulateTransactionBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse>;
|
|
170
170
|
}
|
|
@@ -18,7 +18,7 @@ import { GoogleApiHttpBodyFromJSON, SolidityServiceGetSimulationBundleResponseFr
|
|
|
18
18
|
*/
|
|
19
19
|
export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
20
20
|
/**
|
|
21
|
-
* Get
|
|
21
|
+
* Get trace by bundle simulation
|
|
22
22
|
*/
|
|
23
23
|
async getCallTraceByBundleRaw(requestParameters, initOverrides) {
|
|
24
24
|
if (requestParameters['owner'] == null) {
|
|
@@ -56,14 +56,14 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
56
56
|
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleApiHttpBodyFromJSON(jsonValue));
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Get
|
|
59
|
+
* Get trace by bundle simulation
|
|
60
60
|
*/
|
|
61
61
|
async getCallTraceByBundle(requestParameters, initOverrides) {
|
|
62
62
|
const response = await this.getCallTraceByBundleRaw(requestParameters, initOverrides);
|
|
63
63
|
return await response.value();
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
* Get
|
|
66
|
+
* Get trace by simulation
|
|
67
67
|
*/
|
|
68
68
|
async getCallTraceBySimulationRaw(requestParameters, initOverrides) {
|
|
69
69
|
if (requestParameters['owner'] == null) {
|
|
@@ -101,7 +101,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
101
101
|
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleApiHttpBodyFromJSON(jsonValue));
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
* Get
|
|
104
|
+
* Get trace by simulation
|
|
105
105
|
*/
|
|
106
106
|
async getCallTraceBySimulation(requestParameters, initOverrides) {
|
|
107
107
|
const response = await this.getCallTraceBySimulationRaw(requestParameters, initOverrides);
|
|
@@ -109,7 +109,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` 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)
|
|
112
|
-
* Get
|
|
112
|
+
* Get trace by transaction
|
|
113
113
|
*/
|
|
114
114
|
async getCallTraceByTransactionRaw(requestParameters, initOverrides) {
|
|
115
115
|
if (requestParameters['owner'] == null) {
|
|
@@ -148,14 +148,14 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` 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)
|
|
151
|
-
* Get
|
|
151
|
+
* Get trace by transaction
|
|
152
152
|
*/
|
|
153
153
|
async getCallTraceByTransaction(requestParameters, initOverrides) {
|
|
154
154
|
const response = await this.getCallTraceByTransactionRaw(requestParameters, initOverrides);
|
|
155
155
|
return await response.value();
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* Get
|
|
158
|
+
* Get simulation by ID
|
|
159
159
|
*/
|
|
160
160
|
async getSimulationRaw(requestParameters, initOverrides) {
|
|
161
161
|
if (requestParameters['owner'] == null) {
|
|
@@ -181,14 +181,14 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
181
181
|
return new runtime.JSONApiResponse(response, (jsonValue) => SolidityServiceGetSimulationResponseFromJSON(jsonValue));
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
|
-
* Get
|
|
184
|
+
* Get simulation by ID
|
|
185
185
|
*/
|
|
186
186
|
async getSimulation(requestParameters, initOverrides) {
|
|
187
187
|
const response = await this.getSimulationRaw(requestParameters, initOverrides);
|
|
188
188
|
return await response.value();
|
|
189
189
|
}
|
|
190
190
|
/**
|
|
191
|
-
* Get
|
|
191
|
+
* Get bundle simulation by ID
|
|
192
192
|
*/
|
|
193
193
|
async getSimulationBundleInProjectRaw(requestParameters, initOverrides) {
|
|
194
194
|
if (requestParameters['owner'] == null) {
|
|
@@ -214,14 +214,14 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
214
214
|
return new runtime.JSONApiResponse(response, (jsonValue) => SolidityServiceGetSimulationBundleResponseFromJSON(jsonValue));
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
|
-
* Get
|
|
217
|
+
* Get bundle simulation by ID
|
|
218
218
|
*/
|
|
219
219
|
async getSimulationBundleInProject(requestParameters, initOverrides) {
|
|
220
220
|
const response = await this.getSimulationBundleInProjectRaw(requestParameters, initOverrides);
|
|
221
221
|
return await response.value();
|
|
222
222
|
}
|
|
223
223
|
/**
|
|
224
|
-
* Get
|
|
224
|
+
* Get list of simulations
|
|
225
225
|
*/
|
|
226
226
|
async getSimulationsRaw(requestParameters, initOverrides) {
|
|
227
227
|
if (requestParameters['owner'] == null) {
|
|
@@ -253,7 +253,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
253
253
|
return new runtime.JSONApiResponse(response, (jsonValue) => SolidityServiceGetSimulationsResponseFromJSON(jsonValue));
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
|
-
* Get
|
|
256
|
+
* Get list of simulations
|
|
257
257
|
*/
|
|
258
258
|
async getSimulations(requestParameters, initOverrides) {
|
|
259
259
|
const response = await this.getSimulationsRaw(requestParameters, initOverrides);
|
|
@@ -333,7 +333,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
333
333
|
}
|
|
334
334
|
/**
|
|
335
335
|
* 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.
|
|
336
|
-
* Run
|
|
336
|
+
* Run simulation
|
|
337
337
|
*/
|
|
338
338
|
async simulateTransactionRaw(requestParameters, initOverrides) {
|
|
339
339
|
if (requestParameters['owner'] == null) {
|
|
@@ -365,7 +365,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
365
365
|
}
|
|
366
366
|
/**
|
|
367
367
|
* 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.
|
|
368
|
-
* Run
|
|
368
|
+
* Run simulation
|
|
369
369
|
*/
|
|
370
370
|
async simulateTransaction(requestParameters, initOverrides) {
|
|
371
371
|
const response = await this.simulateTransactionRaw(requestParameters, initOverrides);
|
|
@@ -373,7 +373,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
373
373
|
}
|
|
374
374
|
/**
|
|
375
375
|
* 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.
|
|
376
|
-
* Run
|
|
376
|
+
* Run bundle simulation
|
|
377
377
|
*/
|
|
378
378
|
async simulateTransactionBundleRaw(requestParameters, initOverrides) {
|
|
379
379
|
if (requestParameters['owner'] == null) {
|
|
@@ -405,7 +405,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
405
405
|
}
|
|
406
406
|
/**
|
|
407
407
|
* 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.
|
|
408
|
-
* Run
|
|
408
|
+
* Run bundle simulation
|
|
409
409
|
*/
|
|
410
410
|
async simulateTransactionBundle(requestParameters, initOverrides) {
|
|
411
411
|
const response = await this.simulateTransactionBundleRaw(requestParameters, initOverrides);
|
|
@@ -93,43 +93,43 @@ export declare class ForksApi extends runtime.BaseAPI {
|
|
|
93
93
|
*/
|
|
94
94
|
createFork(requestParameters: CreateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceCreateForkResponse>;
|
|
95
95
|
/**
|
|
96
|
-
* Delete
|
|
96
|
+
* Delete fork by id
|
|
97
97
|
*/
|
|
98
98
|
deleteForkRaw(requestParameters: DeleteForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
99
99
|
/**
|
|
100
|
-
* Delete
|
|
100
|
+
* Delete fork by id
|
|
101
101
|
*/
|
|
102
102
|
deleteFork(requestParameters: DeleteForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
103
103
|
/**
|
|
104
|
-
* Get
|
|
104
|
+
* Get trace by bundle simulation
|
|
105
105
|
*/
|
|
106
106
|
getCallTraceOnForkBundleRaw(requestParameters: GetCallTraceOnForkBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
107
107
|
/**
|
|
108
|
-
* Get
|
|
108
|
+
* Get trace by bundle simulation
|
|
109
109
|
*/
|
|
110
110
|
getCallTraceOnForkBundle(requestParameters: GetCallTraceOnForkBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
111
111
|
/**
|
|
112
|
-
* Get
|
|
112
|
+
* Get trace by simulation
|
|
113
113
|
*/
|
|
114
114
|
getCallTraceOnForkSimulationRaw(requestParameters: GetCallTraceOnForkSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
115
115
|
/**
|
|
116
|
-
* Get
|
|
116
|
+
* Get trace by simulation
|
|
117
117
|
*/
|
|
118
118
|
getCallTraceOnForkSimulation(requestParameters: GetCallTraceOnForkSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
119
119
|
/**
|
|
120
|
-
* Get
|
|
120
|
+
* Get trace by transaction
|
|
121
121
|
*/
|
|
122
122
|
getCallTraceOnForkTransactionRaw(requestParameters: GetCallTraceOnForkTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>>;
|
|
123
123
|
/**
|
|
124
|
-
* Get
|
|
124
|
+
* Get trace by transaction
|
|
125
125
|
*/
|
|
126
126
|
getCallTraceOnForkTransaction(requestParameters: GetCallTraceOnForkTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody>;
|
|
127
127
|
/**
|
|
128
|
-
* Get
|
|
128
|
+
* Get fork by id
|
|
129
129
|
*/
|
|
130
130
|
getForkRaw(requestParameters: GetForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetForkResponse>>;
|
|
131
131
|
/**
|
|
132
|
-
* Get
|
|
132
|
+
* Get fork by id
|
|
133
133
|
*/
|
|
134
134
|
getFork(requestParameters: GetForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetForkResponse>;
|
|
135
135
|
/**
|
|
@@ -141,19 +141,19 @@ export declare class ForksApi extends runtime.BaseAPI {
|
|
|
141
141
|
*/
|
|
142
142
|
getForkInfo(requestParameters: GetForkInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetForkInfoResponse>;
|
|
143
143
|
/**
|
|
144
|
-
* List all forks
|
|
144
|
+
* List all forks
|
|
145
145
|
*/
|
|
146
146
|
listForksRaw(requestParameters: ListForksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceListForksResponse>>;
|
|
147
147
|
/**
|
|
148
|
-
* List all forks
|
|
148
|
+
* List all forks
|
|
149
149
|
*/
|
|
150
150
|
listForks(requestParameters: ListForksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceListForksResponse>;
|
|
151
151
|
/**
|
|
152
|
-
* Run
|
|
152
|
+
* Run bundle simulation
|
|
153
153
|
*/
|
|
154
154
|
simulateTransactionBundleOnForkRaw(requestParameters: SimulateTransactionBundleOnForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>>;
|
|
155
155
|
/**
|
|
156
|
-
* Run
|
|
156
|
+
* Run bundle simulation
|
|
157
157
|
*/
|
|
158
158
|
simulateTransactionBundleOnFork(requestParameters: SimulateTransactionBundleOnForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse>;
|
|
159
159
|
/**
|
|
@@ -165,11 +165,11 @@ export declare class ForksApi extends runtime.BaseAPI {
|
|
|
165
165
|
*/
|
|
166
166
|
simulateTransactionOnFork(requestParameters: SimulateTransactionOnForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionResponse>;
|
|
167
167
|
/**
|
|
168
|
-
* Update
|
|
168
|
+
* Update fork by id
|
|
169
169
|
*/
|
|
170
170
|
updateForkRaw(requestParameters: UpdateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceUpdateForkResponse>>;
|
|
171
171
|
/**
|
|
172
|
-
* Update
|
|
172
|
+
* Update fork by id
|
|
173
173
|
*/
|
|
174
174
|
updateFork(requestParameters: UpdateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceUpdateForkResponse>;
|
|
175
175
|
}
|
|
@@ -53,7 +53,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
53
53
|
return await response.value();
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Delete
|
|
56
|
+
* Delete fork by id
|
|
57
57
|
*/
|
|
58
58
|
async deleteForkRaw(requestParameters, initOverrides) {
|
|
59
59
|
if (requestParameters['owner'] == null) {
|
|
@@ -79,14 +79,14 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
79
79
|
return new runtime.JSONApiResponse(response);
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* Delete
|
|
82
|
+
* Delete fork by id
|
|
83
83
|
*/
|
|
84
84
|
async deleteFork(requestParameters, initOverrides) {
|
|
85
85
|
const response = await this.deleteForkRaw(requestParameters, initOverrides);
|
|
86
86
|
return await response.value();
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* Get
|
|
89
|
+
* Get trace by bundle simulation
|
|
90
90
|
*/
|
|
91
91
|
async getCallTraceOnForkBundleRaw(requestParameters, initOverrides) {
|
|
92
92
|
if (requestParameters['owner'] == null) {
|
|
@@ -124,14 +124,14 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
124
124
|
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleApiHttpBodyFromJSON(jsonValue));
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
* Get
|
|
127
|
+
* Get trace by bundle simulation
|
|
128
128
|
*/
|
|
129
129
|
async getCallTraceOnForkBundle(requestParameters, initOverrides) {
|
|
130
130
|
const response = await this.getCallTraceOnForkBundleRaw(requestParameters, initOverrides);
|
|
131
131
|
return await response.value();
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
|
-
* Get
|
|
134
|
+
* Get trace by simulation
|
|
135
135
|
*/
|
|
136
136
|
async getCallTraceOnForkSimulationRaw(requestParameters, initOverrides) {
|
|
137
137
|
if (requestParameters['owner'] == null) {
|
|
@@ -169,14 +169,14 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
169
169
|
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleApiHttpBodyFromJSON(jsonValue));
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
|
-
* Get
|
|
172
|
+
* Get trace by simulation
|
|
173
173
|
*/
|
|
174
174
|
async getCallTraceOnForkSimulation(requestParameters, initOverrides) {
|
|
175
175
|
const response = await this.getCallTraceOnForkSimulationRaw(requestParameters, initOverrides);
|
|
176
176
|
return await response.value();
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
|
-
* Get
|
|
179
|
+
* Get trace by transaction
|
|
180
180
|
*/
|
|
181
181
|
async getCallTraceOnForkTransactionRaw(requestParameters, initOverrides) {
|
|
182
182
|
if (requestParameters['owner'] == null) {
|
|
@@ -214,14 +214,14 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
214
214
|
return new runtime.JSONApiResponse(response, (jsonValue) => GoogleApiHttpBodyFromJSON(jsonValue));
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
|
-
* Get
|
|
217
|
+
* Get trace by transaction
|
|
218
218
|
*/
|
|
219
219
|
async getCallTraceOnForkTransaction(requestParameters, initOverrides) {
|
|
220
220
|
const response = await this.getCallTraceOnForkTransactionRaw(requestParameters, initOverrides);
|
|
221
221
|
return await response.value();
|
|
222
222
|
}
|
|
223
223
|
/**
|
|
224
|
-
* Get
|
|
224
|
+
* Get fork by id
|
|
225
225
|
*/
|
|
226
226
|
async getForkRaw(requestParameters, initOverrides) {
|
|
227
227
|
if (requestParameters['owner'] == null) {
|
|
@@ -247,7 +247,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
247
247
|
return new runtime.JSONApiResponse(response, (jsonValue) => SolidityServiceGetForkResponseFromJSON(jsonValue));
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
250
|
-
* Get
|
|
250
|
+
* Get fork by id
|
|
251
251
|
*/
|
|
252
252
|
async getFork(requestParameters, initOverrides) {
|
|
253
253
|
const response = await this.getForkRaw(requestParameters, initOverrides);
|
|
@@ -287,7 +287,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
287
287
|
return await response.value();
|
|
288
288
|
}
|
|
289
289
|
/**
|
|
290
|
-
* List all forks
|
|
290
|
+
* List all forks
|
|
291
291
|
*/
|
|
292
292
|
async listForksRaw(requestParameters, initOverrides) {
|
|
293
293
|
if (requestParameters['owner'] == null) {
|
|
@@ -310,14 +310,14 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
310
310
|
return new runtime.JSONApiResponse(response, (jsonValue) => SolidityServiceListForksResponseFromJSON(jsonValue));
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
|
-
* List all forks
|
|
313
|
+
* List all forks
|
|
314
314
|
*/
|
|
315
315
|
async listForks(requestParameters, initOverrides) {
|
|
316
316
|
const response = await this.listForksRaw(requestParameters, initOverrides);
|
|
317
317
|
return await response.value();
|
|
318
318
|
}
|
|
319
319
|
/**
|
|
320
|
-
* Run
|
|
320
|
+
* Run bundle simulation
|
|
321
321
|
*/
|
|
322
322
|
async simulateTransactionBundleOnForkRaw(requestParameters, initOverrides) {
|
|
323
323
|
if (requestParameters['owner'] == null) {
|
|
@@ -348,7 +348,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
348
348
|
return new runtime.JSONApiResponse(response, (jsonValue) => SolidityServiceSimulateTransactionBundleResponseFromJSON(jsonValue));
|
|
349
349
|
}
|
|
350
350
|
/**
|
|
351
|
-
* Run
|
|
351
|
+
* Run bundle simulation
|
|
352
352
|
*/
|
|
353
353
|
async simulateTransactionBundleOnFork(requestParameters, initOverrides) {
|
|
354
354
|
const response = await this.simulateTransactionBundleOnForkRaw(requestParameters, initOverrides);
|
|
@@ -393,7 +393,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
393
393
|
return await response.value();
|
|
394
394
|
}
|
|
395
395
|
/**
|
|
396
|
-
* Update
|
|
396
|
+
* Update fork by id
|
|
397
397
|
*/
|
|
398
398
|
async updateForkRaw(requestParameters, initOverrides) {
|
|
399
399
|
if (requestParameters['owner'] == null) {
|
|
@@ -424,7 +424,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
424
424
|
return new runtime.JSONApiResponse(response, (jsonValue) => SolidityServiceUpdateForkResponseFromJSON(jsonValue));
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
|
-
* Update
|
|
427
|
+
* Update fork by id
|
|
428
428
|
*/
|
|
429
429
|
async updateFork(requestParameters, initOverrides) {
|
|
430
430
|
const response = await this.updateForkRaw(requestParameters, initOverrides);
|
package/package.json
CHANGED
|
@@ -135,7 +135,7 @@ export interface SimulateTransactionBundleRequest {
|
|
|
135
135
|
export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
* Get
|
|
138
|
+
* Get trace by bundle simulation
|
|
139
139
|
*/
|
|
140
140
|
async getCallTraceByBundleRaw(requestParameters: GetCallTraceByBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
|
|
141
141
|
if (requestParameters['owner'] == null) {
|
|
@@ -197,7 +197,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
|
-
* Get
|
|
200
|
+
* Get trace by bundle simulation
|
|
201
201
|
*/
|
|
202
202
|
async getCallTraceByBundle(requestParameters: GetCallTraceByBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody> {
|
|
203
203
|
const response = await this.getCallTraceByBundleRaw(requestParameters, initOverrides);
|
|
@@ -205,7 +205,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
|
-
* Get
|
|
208
|
+
* Get trace by simulation
|
|
209
209
|
*/
|
|
210
210
|
async getCallTraceBySimulationRaw(requestParameters: GetCallTraceBySimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
|
|
211
211
|
if (requestParameters['owner'] == null) {
|
|
@@ -267,7 +267,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
|
-
* Get
|
|
270
|
+
* Get trace by simulation
|
|
271
271
|
*/
|
|
272
272
|
async getCallTraceBySimulation(requestParameters: GetCallTraceBySimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody> {
|
|
273
273
|
const response = await this.getCallTraceBySimulationRaw(requestParameters, initOverrides);
|
|
@@ -276,7 +276,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` 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)
|
|
279
|
-
* Get
|
|
279
|
+
* Get trace by transaction
|
|
280
280
|
*/
|
|
281
281
|
async getCallTraceByTransactionRaw(requestParameters: GetCallTraceByTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
|
|
282
282
|
if (requestParameters['owner'] == null) {
|
|
@@ -339,7 +339,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
341
|
* API to get Sentio call trace. It takes `txId.txHash` and `chainSpec.chainId` 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)
|
|
342
|
-
* Get
|
|
342
|
+
* Get trace by transaction
|
|
343
343
|
*/
|
|
344
344
|
async getCallTraceByTransaction(requestParameters: GetCallTraceByTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody> {
|
|
345
345
|
const response = await this.getCallTraceByTransactionRaw(requestParameters, initOverrides);
|
|
@@ -347,7 +347,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
|
-
* Get
|
|
350
|
+
* Get simulation by ID
|
|
351
351
|
*/
|
|
352
352
|
async getSimulationRaw(requestParameters: GetSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationResponse>> {
|
|
353
353
|
if (requestParameters['owner'] == null) {
|
|
@@ -390,7 +390,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
|
-
* Get
|
|
393
|
+
* Get simulation by ID
|
|
394
394
|
*/
|
|
395
395
|
async getSimulation(requestParameters: GetSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationResponse> {
|
|
396
396
|
const response = await this.getSimulationRaw(requestParameters, initOverrides);
|
|
@@ -398,7 +398,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
|
-
* Get
|
|
401
|
+
* Get bundle simulation by ID
|
|
402
402
|
*/
|
|
403
403
|
async getSimulationBundleInProjectRaw(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationBundleResponse>> {
|
|
404
404
|
if (requestParameters['owner'] == null) {
|
|
@@ -441,7 +441,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
/**
|
|
444
|
-
* Get
|
|
444
|
+
* Get bundle simulation by ID
|
|
445
445
|
*/
|
|
446
446
|
async getSimulationBundleInProject(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationBundleResponse> {
|
|
447
447
|
const response = await this.getSimulationBundleInProjectRaw(requestParameters, initOverrides);
|
|
@@ -449,7 +449,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
/**
|
|
452
|
-
* Get
|
|
452
|
+
* Get list of simulations
|
|
453
453
|
*/
|
|
454
454
|
async getSimulationsRaw(requestParameters: GetSimulationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationsResponse>> {
|
|
455
455
|
if (requestParameters['owner'] == null) {
|
|
@@ -497,7 +497,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
|
-
* Get
|
|
500
|
+
* Get list of simulations
|
|
501
501
|
*/
|
|
502
502
|
async getSimulations(requestParameters: GetSimulationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetSimulationsResponse> {
|
|
503
503
|
const response = await this.getSimulationsRaw(requestParameters, initOverrides);
|
|
@@ -606,7 +606,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
606
606
|
|
|
607
607
|
/**
|
|
608
608
|
* 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.
|
|
609
|
-
* Run
|
|
609
|
+
* Run simulation
|
|
610
610
|
*/
|
|
611
611
|
async simulateTransactionRaw(requestParameters: SimulateTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionResponse>> {
|
|
612
612
|
if (requestParameters['owner'] == null) {
|
|
@@ -660,7 +660,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
660
660
|
|
|
661
661
|
/**
|
|
662
662
|
* 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.
|
|
663
|
-
* Run
|
|
663
|
+
* Run simulation
|
|
664
664
|
*/
|
|
665
665
|
async simulateTransaction(requestParameters: SimulateTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionResponse> {
|
|
666
666
|
const response = await this.simulateTransactionRaw(requestParameters, initOverrides);
|
|
@@ -669,7 +669,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
671
|
* 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.
|
|
672
|
-
* Run
|
|
672
|
+
* Run bundle simulation
|
|
673
673
|
*/
|
|
674
674
|
async simulateTransactionBundleRaw(requestParameters: SimulateTransactionBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>> {
|
|
675
675
|
if (requestParameters['owner'] == null) {
|
|
@@ -723,7 +723,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
|
|
|
723
723
|
|
|
724
724
|
/**
|
|
725
725
|
* 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.
|
|
726
|
-
* Run
|
|
726
|
+
* Run bundle simulation
|
|
727
727
|
*/
|
|
728
728
|
async simulateTransactionBundle(requestParameters: SimulateTransactionBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse> {
|
|
729
729
|
const response = await this.simulateTransactionBundleRaw(requestParameters, initOverrides);
|
package/src/apis/ForksApi.ts
CHANGED
|
@@ -195,7 +195,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
|
-
* Delete
|
|
198
|
+
* Delete fork by id
|
|
199
199
|
*/
|
|
200
200
|
async deleteForkRaw(requestParameters: DeleteForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>> {
|
|
201
201
|
if (requestParameters['owner'] == null) {
|
|
@@ -238,7 +238,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
* Delete
|
|
241
|
+
* Delete fork by id
|
|
242
242
|
*/
|
|
243
243
|
async deleteFork(requestParameters: DeleteForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object> {
|
|
244
244
|
const response = await this.deleteForkRaw(requestParameters, initOverrides);
|
|
@@ -246,7 +246,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
|
-
* Get
|
|
249
|
+
* Get trace by bundle simulation
|
|
250
250
|
*/
|
|
251
251
|
async getCallTraceOnForkBundleRaw(requestParameters: GetCallTraceOnForkBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
|
|
252
252
|
if (requestParameters['owner'] == null) {
|
|
@@ -308,7 +308,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
|
-
* Get
|
|
311
|
+
* Get trace by bundle simulation
|
|
312
312
|
*/
|
|
313
313
|
async getCallTraceOnForkBundle(requestParameters: GetCallTraceOnForkBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody> {
|
|
314
314
|
const response = await this.getCallTraceOnForkBundleRaw(requestParameters, initOverrides);
|
|
@@ -316,7 +316,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
316
316
|
}
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
|
-
* Get
|
|
319
|
+
* Get trace by simulation
|
|
320
320
|
*/
|
|
321
321
|
async getCallTraceOnForkSimulationRaw(requestParameters: GetCallTraceOnForkSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
|
|
322
322
|
if (requestParameters['owner'] == null) {
|
|
@@ -378,7 +378,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
|
-
* Get
|
|
381
|
+
* Get trace by simulation
|
|
382
382
|
*/
|
|
383
383
|
async getCallTraceOnForkSimulation(requestParameters: GetCallTraceOnForkSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody> {
|
|
384
384
|
const response = await this.getCallTraceOnForkSimulationRaw(requestParameters, initOverrides);
|
|
@@ -386,7 +386,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
|
-
* Get
|
|
389
|
+
* Get trace by transaction
|
|
390
390
|
*/
|
|
391
391
|
async getCallTraceOnForkTransactionRaw(requestParameters: GetCallTraceOnForkTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
|
|
392
392
|
if (requestParameters['owner'] == null) {
|
|
@@ -448,7 +448,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
/**
|
|
451
|
-
* Get
|
|
451
|
+
* Get trace by transaction
|
|
452
452
|
*/
|
|
453
453
|
async getCallTraceOnForkTransaction(requestParameters: GetCallTraceOnForkTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GoogleApiHttpBody> {
|
|
454
454
|
const response = await this.getCallTraceOnForkTransactionRaw(requestParameters, initOverrides);
|
|
@@ -456,7 +456,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
/**
|
|
459
|
-
* Get
|
|
459
|
+
* Get fork by id
|
|
460
460
|
*/
|
|
461
461
|
async getForkRaw(requestParameters: GetForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetForkResponse>> {
|
|
462
462
|
if (requestParameters['owner'] == null) {
|
|
@@ -499,7 +499,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
/**
|
|
502
|
-
* Get
|
|
502
|
+
* Get fork by id
|
|
503
503
|
*/
|
|
504
504
|
async getFork(requestParameters: GetForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceGetForkResponse> {
|
|
505
505
|
const response = await this.getForkRaw(requestParameters, initOverrides);
|
|
@@ -558,7 +558,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
|
-
* List all forks
|
|
561
|
+
* List all forks
|
|
562
562
|
*/
|
|
563
563
|
async listForksRaw(requestParameters: ListForksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceListForksResponse>> {
|
|
564
564
|
if (requestParameters['owner'] == null) {
|
|
@@ -594,7 +594,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
|
-
* List all forks
|
|
597
|
+
* List all forks
|
|
598
598
|
*/
|
|
599
599
|
async listForks(requestParameters: ListForksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceListForksResponse> {
|
|
600
600
|
const response = await this.listForksRaw(requestParameters, initOverrides);
|
|
@@ -602,7 +602,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
|
-
* Run
|
|
605
|
+
* Run bundle simulation
|
|
606
606
|
*/
|
|
607
607
|
async simulateTransactionBundleOnForkRaw(requestParameters: SimulateTransactionBundleOnForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>> {
|
|
608
608
|
if (requestParameters['owner'] == null) {
|
|
@@ -655,7 +655,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
655
655
|
}
|
|
656
656
|
|
|
657
657
|
/**
|
|
658
|
-
* Run
|
|
658
|
+
* Run bundle simulation
|
|
659
659
|
*/
|
|
660
660
|
async simulateTransactionBundleOnFork(requestParameters: SimulateTransactionBundleOnForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceSimulateTransactionBundleResponse> {
|
|
661
661
|
const response = await this.simulateTransactionBundleOnForkRaw(requestParameters, initOverrides);
|
|
@@ -724,7 +724,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
/**
|
|
727
|
-
* Update
|
|
727
|
+
* Update fork by id
|
|
728
728
|
*/
|
|
729
729
|
async updateForkRaw(requestParameters: UpdateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceUpdateForkResponse>> {
|
|
730
730
|
if (requestParameters['owner'] == null) {
|
|
@@ -777,7 +777,7 @@ export class ForksApi extends runtime.BaseAPI {
|
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
/**
|
|
780
|
-
* Update
|
|
780
|
+
* Update fork by id
|
|
781
781
|
*/
|
|
782
782
|
async updateFork(requestParameters: UpdateForkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SolidityServiceUpdateForkResponse> {
|
|
783
783
|
const response = await this.updateForkRaw(requestParameters, initOverrides);
|