@sentio/api 1.0.2-rc.21 → 1.0.2-rc.22

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.
@@ -12,10 +12,10 @@
12
12
  import * as runtime from '../runtime.js';
13
13
  import type { GoogleApiHttpBody, SolidityServiceGetSimulationBundleResponse, SolidityServiceGetSimulationResponse, SolidityServiceGetSimulationsResponse, SolidityServiceSimulateTransactionBundleResponse, SolidityServiceSimulateTransactionResponse, SolidityServiceSolidityAPIServiceSimulateTransactionBody, SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody, TxindexEvmSearchTransactionsResponse } from '../models/index.js';
14
14
  export interface GetCallTraceRequest {
15
- projectOwner: string;
16
- projectSlug: string;
17
- chainSpecChainId: string;
18
- txIdTxHash: string;
15
+ owner: string;
16
+ slug: string;
17
+ chainId: string;
18
+ txHash: string;
19
19
  chainSpecForkId?: string;
20
20
  txIdSimulationId?: string;
21
21
  txIdBundleId?: string;
@@ -24,10 +24,10 @@ export interface GetCallTraceRequest {
24
24
  ignoreGasCost?: boolean;
25
25
  }
26
26
  export interface GetCallTrace2Request {
27
- projectOwner: string;
28
- projectSlug: string;
29
- chainSpecChainId: string;
30
- txIdSimulationId: string;
27
+ owner: string;
28
+ slug: string;
29
+ chainId: string;
30
+ simulationId: string;
31
31
  chainSpecForkId?: string;
32
32
  txIdTxHash?: string;
33
33
  txIdBundleId?: string;
@@ -36,10 +36,10 @@ export interface GetCallTrace2Request {
36
36
  ignoreGasCost?: boolean;
37
37
  }
38
38
  export interface GetCallTrace3Request {
39
- projectOwner: string;
40
- projectSlug: string;
41
- chainSpecChainId: string;
42
- txIdBundleId: string;
39
+ owner: string;
40
+ slug: string;
41
+ chainId: string;
42
+ bundleId: string;
43
43
  chainSpecForkId?: string;
44
44
  txIdTxHash?: string;
45
45
  txIdSimulationId?: string;
@@ -48,10 +48,10 @@ export interface GetCallTrace3Request {
48
48
  ignoreGasCost?: boolean;
49
49
  }
50
50
  export interface GetCallTrace4Request {
51
- projectOwner: string;
52
- projectSlug: string;
53
- chainSpecForkId: string;
54
- txIdTxHash: string;
51
+ owner: string;
52
+ slug: string;
53
+ forkId: string;
54
+ txHash: string;
55
55
  chainSpecChainId?: string;
56
56
  txIdSimulationId?: string;
57
57
  txIdBundleId?: string;
@@ -60,10 +60,10 @@ export interface GetCallTrace4Request {
60
60
  ignoreGasCost?: boolean;
61
61
  }
62
62
  export interface GetCallTrace5Request {
63
- projectOwner: string;
64
- projectSlug: string;
65
- chainSpecForkId: string;
66
- txIdSimulationId: string;
63
+ owner: string;
64
+ slug: string;
65
+ forkId: string;
66
+ simulationId: string;
67
67
  chainSpecChainId?: string;
68
68
  txIdTxHash?: string;
69
69
  txIdBundleId?: string;
@@ -72,10 +72,10 @@ export interface GetCallTrace5Request {
72
72
  ignoreGasCost?: boolean;
73
73
  }
74
74
  export interface GetCallTrace6Request {
75
- projectOwner: string;
76
- projectSlug: string;
77
- chainSpecForkId: string;
78
- txIdBundleId: string;
75
+ owner: string;
76
+ slug: string;
77
+ forkId: string;
78
+ bundleId: string;
79
79
  chainSpecChainId?: string;
80
80
  txIdTxHash?: string;
81
81
  txIdSimulationId?: string;
@@ -84,25 +84,25 @@ export interface GetCallTrace6Request {
84
84
  ignoreGasCost?: boolean;
85
85
  }
86
86
  export interface GetSimulationRequest {
87
- projectOwner: string;
88
- projectSlug: string;
87
+ owner: string;
88
+ slug: string;
89
89
  simulationId: string;
90
90
  }
91
91
  export interface GetSimulationBundleInProjectRequest {
92
- projectOwner: string;
93
- projectSlug: string;
92
+ owner: string;
93
+ slug: string;
94
94
  bundleId: string;
95
95
  }
96
96
  export interface GetSimulationsRequest {
97
- projectOwner: string;
98
- projectSlug: string;
97
+ owner: string;
98
+ slug: string;
99
99
  labelContains?: string;
100
100
  page?: number;
101
101
  pageSize?: number;
102
102
  }
103
103
  export interface SearchTransactionsRequest {
104
- projectOwner: string;
105
- projectSlug: string;
104
+ owner: string;
105
+ slug: string;
106
106
  chainId?: Array<string>;
107
107
  address?: Array<string>;
108
108
  includeDirect?: boolean;
@@ -119,27 +119,27 @@ export interface SearchTransactionsRequest {
119
119
  pageToken?: string;
120
120
  }
121
121
  export interface SimulateTransactionRequest {
122
- projectOwner: string;
123
- projectSlug: string;
124
- chainSpecChainId: string;
122
+ owner: string;
123
+ slug: string;
124
+ chainId: string;
125
125
  body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
126
126
  }
127
127
  export interface SimulateTransaction2Request {
128
- projectOwner: string;
129
- projectSlug: string;
130
- chainSpecForkId: string;
128
+ owner: string;
129
+ slug: string;
130
+ forkId: string;
131
131
  body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
132
132
  }
133
133
  export interface SimulateTransactionBundleRequest {
134
- projectOwner: string;
135
- projectSlug: string;
136
- chainSpecChainId: string;
134
+ owner: string;
135
+ slug: string;
136
+ chainId: string;
137
137
  body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
138
138
  }
139
139
  export interface SimulateTransactionBundle2Request {
140
- projectOwner: string;
141
- projectSlug: string;
142
- chainSpecForkId: string;
140
+ owner: string;
141
+ slug: string;
142
+ forkId: string;
143
143
  body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
144
144
  }
145
145
  /**
@@ -22,17 +22,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
22
22
  * Get indexed call trace
23
23
  */
24
24
  async getCallTraceRaw(requestParameters, initOverrides) {
25
- if (requestParameters['projectOwner'] == null) {
26
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getCallTrace().');
25
+ if (requestParameters['owner'] == null) {
26
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getCallTrace().');
27
27
  }
28
- if (requestParameters['projectSlug'] == null) {
29
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getCallTrace().');
28
+ if (requestParameters['slug'] == null) {
29
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getCallTrace().');
30
30
  }
31
- if (requestParameters['chainSpecChainId'] == null) {
32
- throw new runtime.RequiredError('chainSpecChainId', 'Required parameter "chainSpecChainId" was null or undefined when calling getCallTrace().');
31
+ if (requestParameters['chainId'] == null) {
32
+ throw new runtime.RequiredError('chainId', 'Required parameter "chainId" was null or undefined when calling getCallTrace().');
33
33
  }
34
- if (requestParameters['txIdTxHash'] == null) {
35
- throw new runtime.RequiredError('txIdTxHash', 'Required parameter "txIdTxHash" was null or undefined when calling getCallTrace().');
34
+ if (requestParameters['txHash'] == null) {
35
+ throw new runtime.RequiredError('txHash', 'Required parameter "txHash" was null or undefined when calling getCallTrace().');
36
36
  }
37
37
  const queryParameters = {};
38
38
  if (requestParameters['chainSpecForkId'] != null) {
@@ -58,7 +58,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
58
58
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
59
59
  }
60
60
  const response = await this.request({
61
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/{chainSpec.chainId}/transaction/{txId.txHash}/call_trace`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.chainId"}}`, encodeURIComponent(String(requestParameters['chainSpecChainId']))).replace(`{${"txId.txHash"}}`, encodeURIComponent(String(requestParameters['txIdTxHash']))),
61
+ path: `/api/v1/solidity/{owner}/{slug}/{chain_id}/transaction/{tx_hash}/call_trace`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"chain_id"}}`, encodeURIComponent(String(requestParameters['chainId']))).replace(`{${"tx_hash"}}`, encodeURIComponent(String(requestParameters['txHash']))),
62
62
  method: 'GET',
63
63
  headers: headerParameters,
64
64
  query: queryParameters,
@@ -78,17 +78,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
78
78
  * Get indexed call trace
79
79
  */
80
80
  async getCallTrace2Raw(requestParameters, initOverrides) {
81
- if (requestParameters['projectOwner'] == null) {
82
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getCallTrace2().');
81
+ if (requestParameters['owner'] == null) {
82
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getCallTrace2().');
83
83
  }
84
- if (requestParameters['projectSlug'] == null) {
85
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getCallTrace2().');
84
+ if (requestParameters['slug'] == null) {
85
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getCallTrace2().');
86
86
  }
87
- if (requestParameters['chainSpecChainId'] == null) {
88
- throw new runtime.RequiredError('chainSpecChainId', 'Required parameter "chainSpecChainId" was null or undefined when calling getCallTrace2().');
87
+ if (requestParameters['chainId'] == null) {
88
+ throw new runtime.RequiredError('chainId', 'Required parameter "chainId" was null or undefined when calling getCallTrace2().');
89
89
  }
90
- if (requestParameters['txIdSimulationId'] == null) {
91
- throw new runtime.RequiredError('txIdSimulationId', 'Required parameter "txIdSimulationId" was null or undefined when calling getCallTrace2().');
90
+ if (requestParameters['simulationId'] == null) {
91
+ throw new runtime.RequiredError('simulationId', 'Required parameter "simulationId" was null or undefined when calling getCallTrace2().');
92
92
  }
93
93
  const queryParameters = {};
94
94
  if (requestParameters['chainSpecForkId'] != null) {
@@ -114,7 +114,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
114
114
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
115
115
  }
116
116
  const response = await this.request({
117
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/{chainSpec.chainId}/simulation/{txId.simulationId}/call_trace`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.chainId"}}`, encodeURIComponent(String(requestParameters['chainSpecChainId']))).replace(`{${"txId.simulationId"}}`, encodeURIComponent(String(requestParameters['txIdSimulationId']))),
117
+ path: `/api/v1/solidity/{owner}/{slug}/{chain_id}/simulation/{simulation_id}/call_trace`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"chain_id"}}`, encodeURIComponent(String(requestParameters['chainId']))).replace(`{${"simulation_id"}}`, encodeURIComponent(String(requestParameters['simulationId']))),
118
118
  method: 'GET',
119
119
  headers: headerParameters,
120
120
  query: queryParameters,
@@ -134,17 +134,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
134
134
  * Get indexed call trace
135
135
  */
136
136
  async getCallTrace3Raw(requestParameters, initOverrides) {
137
- if (requestParameters['projectOwner'] == null) {
138
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getCallTrace3().');
137
+ if (requestParameters['owner'] == null) {
138
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getCallTrace3().');
139
139
  }
140
- if (requestParameters['projectSlug'] == null) {
141
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getCallTrace3().');
140
+ if (requestParameters['slug'] == null) {
141
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getCallTrace3().');
142
142
  }
143
- if (requestParameters['chainSpecChainId'] == null) {
144
- throw new runtime.RequiredError('chainSpecChainId', 'Required parameter "chainSpecChainId" was null or undefined when calling getCallTrace3().');
143
+ if (requestParameters['chainId'] == null) {
144
+ throw new runtime.RequiredError('chainId', 'Required parameter "chainId" was null or undefined when calling getCallTrace3().');
145
145
  }
146
- if (requestParameters['txIdBundleId'] == null) {
147
- throw new runtime.RequiredError('txIdBundleId', 'Required parameter "txIdBundleId" was null or undefined when calling getCallTrace3().');
146
+ if (requestParameters['bundleId'] == null) {
147
+ throw new runtime.RequiredError('bundleId', 'Required parameter "bundleId" was null or undefined when calling getCallTrace3().');
148
148
  }
149
149
  const queryParameters = {};
150
150
  if (requestParameters['chainSpecForkId'] != null) {
@@ -170,7 +170,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
170
170
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
171
171
  }
172
172
  const response = await this.request({
173
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/{chainSpec.chainId}/simulation_bundle/{txId.bundleId}/call_trace`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.chainId"}}`, encodeURIComponent(String(requestParameters['chainSpecChainId']))).replace(`{${"txId.bundleId"}}`, encodeURIComponent(String(requestParameters['txIdBundleId']))),
173
+ path: `/api/v1/solidity/{owner}/{slug}/{chain_id}/simulation_bundle/{bundle_id}/call_trace`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"chain_id"}}`, encodeURIComponent(String(requestParameters['chainId']))).replace(`{${"bundle_id"}}`, encodeURIComponent(String(requestParameters['bundleId']))),
174
174
  method: 'GET',
175
175
  headers: headerParameters,
176
176
  query: queryParameters,
@@ -190,17 +190,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
190
190
  * Get indexed call trace
191
191
  */
192
192
  async getCallTrace4Raw(requestParameters, initOverrides) {
193
- if (requestParameters['projectOwner'] == null) {
194
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getCallTrace4().');
193
+ if (requestParameters['owner'] == null) {
194
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getCallTrace4().');
195
195
  }
196
- if (requestParameters['projectSlug'] == null) {
197
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getCallTrace4().');
196
+ if (requestParameters['slug'] == null) {
197
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getCallTrace4().');
198
198
  }
199
- if (requestParameters['chainSpecForkId'] == null) {
200
- throw new runtime.RequiredError('chainSpecForkId', 'Required parameter "chainSpecForkId" was null or undefined when calling getCallTrace4().');
199
+ if (requestParameters['forkId'] == null) {
200
+ throw new runtime.RequiredError('forkId', 'Required parameter "forkId" was null or undefined when calling getCallTrace4().');
201
201
  }
202
- if (requestParameters['txIdTxHash'] == null) {
203
- throw new runtime.RequiredError('txIdTxHash', 'Required parameter "txIdTxHash" was null or undefined when calling getCallTrace4().');
202
+ if (requestParameters['txHash'] == null) {
203
+ throw new runtime.RequiredError('txHash', 'Required parameter "txHash" was null or undefined when calling getCallTrace4().');
204
204
  }
205
205
  const queryParameters = {};
206
206
  if (requestParameters['chainSpecChainId'] != null) {
@@ -226,7 +226,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
226
226
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
227
227
  }
228
228
  const response = await this.request({
229
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{chainSpec.forkId}/transaction/{txId.txHash}/call_trace`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.forkId"}}`, encodeURIComponent(String(requestParameters['chainSpecForkId']))).replace(`{${"txId.txHash"}}`, encodeURIComponent(String(requestParameters['txIdTxHash']))),
229
+ path: `/api/v1/solidity/{owner}/{slug}/fork/{fork_id}/transaction/{tx_hash}/call_trace`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"fork_id"}}`, encodeURIComponent(String(requestParameters['forkId']))).replace(`{${"tx_hash"}}`, encodeURIComponent(String(requestParameters['txHash']))),
230
230
  method: 'GET',
231
231
  headers: headerParameters,
232
232
  query: queryParameters,
@@ -246,17 +246,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
246
246
  * Get indexed call trace
247
247
  */
248
248
  async getCallTrace5Raw(requestParameters, initOverrides) {
249
- if (requestParameters['projectOwner'] == null) {
250
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getCallTrace5().');
249
+ if (requestParameters['owner'] == null) {
250
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getCallTrace5().');
251
251
  }
252
- if (requestParameters['projectSlug'] == null) {
253
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getCallTrace5().');
252
+ if (requestParameters['slug'] == null) {
253
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getCallTrace5().');
254
254
  }
255
- if (requestParameters['chainSpecForkId'] == null) {
256
- throw new runtime.RequiredError('chainSpecForkId', 'Required parameter "chainSpecForkId" was null or undefined when calling getCallTrace5().');
255
+ if (requestParameters['forkId'] == null) {
256
+ throw new runtime.RequiredError('forkId', 'Required parameter "forkId" was null or undefined when calling getCallTrace5().');
257
257
  }
258
- if (requestParameters['txIdSimulationId'] == null) {
259
- throw new runtime.RequiredError('txIdSimulationId', 'Required parameter "txIdSimulationId" was null or undefined when calling getCallTrace5().');
258
+ if (requestParameters['simulationId'] == null) {
259
+ throw new runtime.RequiredError('simulationId', 'Required parameter "simulationId" was null or undefined when calling getCallTrace5().');
260
260
  }
261
261
  const queryParameters = {};
262
262
  if (requestParameters['chainSpecChainId'] != null) {
@@ -282,7 +282,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
282
282
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
283
283
  }
284
284
  const response = await this.request({
285
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{chainSpec.forkId}/simulation/{txId.simulationId}/call_trace`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.forkId"}}`, encodeURIComponent(String(requestParameters['chainSpecForkId']))).replace(`{${"txId.simulationId"}}`, encodeURIComponent(String(requestParameters['txIdSimulationId']))),
285
+ path: `/api/v1/solidity/{owner}/{slug}/fork/{fork_id}/simulation/{simulation_id}/call_trace`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"fork_id"}}`, encodeURIComponent(String(requestParameters['forkId']))).replace(`{${"simulation_id"}}`, encodeURIComponent(String(requestParameters['simulationId']))),
286
286
  method: 'GET',
287
287
  headers: headerParameters,
288
288
  query: queryParameters,
@@ -302,17 +302,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
302
302
  * Get indexed call trace
303
303
  */
304
304
  async getCallTrace6Raw(requestParameters, initOverrides) {
305
- if (requestParameters['projectOwner'] == null) {
306
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getCallTrace6().');
305
+ if (requestParameters['owner'] == null) {
306
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getCallTrace6().');
307
307
  }
308
- if (requestParameters['projectSlug'] == null) {
309
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getCallTrace6().');
308
+ if (requestParameters['slug'] == null) {
309
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getCallTrace6().');
310
310
  }
311
- if (requestParameters['chainSpecForkId'] == null) {
312
- throw new runtime.RequiredError('chainSpecForkId', 'Required parameter "chainSpecForkId" was null or undefined when calling getCallTrace6().');
311
+ if (requestParameters['forkId'] == null) {
312
+ throw new runtime.RequiredError('forkId', 'Required parameter "forkId" was null or undefined when calling getCallTrace6().');
313
313
  }
314
- if (requestParameters['txIdBundleId'] == null) {
315
- throw new runtime.RequiredError('txIdBundleId', 'Required parameter "txIdBundleId" was null or undefined when calling getCallTrace6().');
314
+ if (requestParameters['bundleId'] == null) {
315
+ throw new runtime.RequiredError('bundleId', 'Required parameter "bundleId" was null or undefined when calling getCallTrace6().');
316
316
  }
317
317
  const queryParameters = {};
318
318
  if (requestParameters['chainSpecChainId'] != null) {
@@ -338,7 +338,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
338
338
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
339
339
  }
340
340
  const response = await this.request({
341
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{chainSpec.forkId}/simulation_bundle/{txId.bundleId}/call_trace`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.forkId"}}`, encodeURIComponent(String(requestParameters['chainSpecForkId']))).replace(`{${"txId.bundleId"}}`, encodeURIComponent(String(requestParameters['txIdBundleId']))),
341
+ path: `/api/v1/solidity/{owner}/{slug}/fork/{fork_id}/simulation_bundle/{bundle_id}/call_trace`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"fork_id"}}`, encodeURIComponent(String(requestParameters['forkId']))).replace(`{${"bundle_id"}}`, encodeURIComponent(String(requestParameters['bundleId']))),
342
342
  method: 'GET',
343
343
  headers: headerParameters,
344
344
  query: queryParameters,
@@ -357,11 +357,11 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
357
357
  * Get a simulation by id
358
358
  */
359
359
  async getSimulationRaw(requestParameters, initOverrides) {
360
- if (requestParameters['projectOwner'] == null) {
361
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getSimulation().');
360
+ if (requestParameters['owner'] == null) {
361
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getSimulation().');
362
362
  }
363
- if (requestParameters['projectSlug'] == null) {
364
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getSimulation().');
363
+ if (requestParameters['slug'] == null) {
364
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getSimulation().');
365
365
  }
366
366
  if (requestParameters['simulationId'] == null) {
367
367
  throw new runtime.RequiredError('simulationId', 'Required parameter "simulationId" was null or undefined when calling getSimulation().');
@@ -372,7 +372,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
372
372
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
373
373
  }
374
374
  const response = await this.request({
375
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/simulation/{simulationId}`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"simulationId"}}`, encodeURIComponent(String(requestParameters['simulationId']))),
375
+ path: `/api/v1/solidity/{owner}/{slug}/simulation/{simulationId}`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"simulationId"}}`, encodeURIComponent(String(requestParameters['simulationId']))),
376
376
  method: 'GET',
377
377
  headers: headerParameters,
378
378
  query: queryParameters,
@@ -390,11 +390,11 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
390
390
  * Get a bundle simulation by id
391
391
  */
392
392
  async getSimulationBundleInProjectRaw(requestParameters, initOverrides) {
393
- if (requestParameters['projectOwner'] == null) {
394
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getSimulationBundleInProject().');
393
+ if (requestParameters['owner'] == null) {
394
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getSimulationBundleInProject().');
395
395
  }
396
- if (requestParameters['projectSlug'] == null) {
397
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getSimulationBundleInProject().');
396
+ if (requestParameters['slug'] == null) {
397
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getSimulationBundleInProject().');
398
398
  }
399
399
  if (requestParameters['bundleId'] == null) {
400
400
  throw new runtime.RequiredError('bundleId', 'Required parameter "bundleId" was null or undefined when calling getSimulationBundleInProject().');
@@ -405,7 +405,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
405
405
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
406
406
  }
407
407
  const response = await this.request({
408
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/simulation_bundle/{bundleId}`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"bundleId"}}`, encodeURIComponent(String(requestParameters['bundleId']))),
408
+ path: `/api/v1/solidity/{owner}/{slug}/simulation_bundle/{bundleId}`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"bundleId"}}`, encodeURIComponent(String(requestParameters['bundleId']))),
409
409
  method: 'GET',
410
410
  headers: headerParameters,
411
411
  query: queryParameters,
@@ -423,11 +423,11 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
423
423
  * Get existing transaction simulations
424
424
  */
425
425
  async getSimulationsRaw(requestParameters, initOverrides) {
426
- if (requestParameters['projectOwner'] == null) {
427
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling getSimulations().');
426
+ if (requestParameters['owner'] == null) {
427
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling getSimulations().');
428
428
  }
429
- if (requestParameters['projectSlug'] == null) {
430
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling getSimulations().');
429
+ if (requestParameters['slug'] == null) {
430
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getSimulations().');
431
431
  }
432
432
  const queryParameters = {};
433
433
  if (requestParameters['labelContains'] != null) {
@@ -444,7 +444,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
444
444
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
445
445
  }
446
446
  const response = await this.request({
447
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/simulation`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))),
447
+ path: `/api/v1/solidity/{owner}/{slug}/simulation`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))),
448
448
  method: 'GET',
449
449
  headers: headerParameters,
450
450
  query: queryParameters,
@@ -462,11 +462,11 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
462
462
  * Search for transactions
463
463
  */
464
464
  async searchTransactionsRaw(requestParameters, initOverrides) {
465
- if (requestParameters['projectOwner'] == null) {
466
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling searchTransactions().');
465
+ if (requestParameters['owner'] == null) {
466
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling searchTransactions().');
467
467
  }
468
- if (requestParameters['projectSlug'] == null) {
469
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling searchTransactions().');
468
+ if (requestParameters['slug'] == null) {
469
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling searchTransactions().');
470
470
  }
471
471
  const queryParameters = {};
472
472
  if (requestParameters['chainId'] != null) {
@@ -516,7 +516,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
516
516
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
517
517
  }
518
518
  const response = await this.request({
519
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/search_transactions`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))),
519
+ path: `/api/v1/solidity/{owner}/{slug}/search_transactions`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))),
520
520
  method: 'GET',
521
521
  headers: headerParameters,
522
522
  query: queryParameters,
@@ -535,14 +535,14 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
535
535
  * Single simulation
536
536
  */
537
537
  async simulateTransactionRaw(requestParameters, initOverrides) {
538
- if (requestParameters['projectOwner'] == null) {
539
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling simulateTransaction().');
538
+ if (requestParameters['owner'] == null) {
539
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling simulateTransaction().');
540
540
  }
541
- if (requestParameters['projectSlug'] == null) {
542
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling simulateTransaction().');
541
+ if (requestParameters['slug'] == null) {
542
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling simulateTransaction().');
543
543
  }
544
- if (requestParameters['chainSpecChainId'] == null) {
545
- throw new runtime.RequiredError('chainSpecChainId', 'Required parameter "chainSpecChainId" was null or undefined when calling simulateTransaction().');
544
+ if (requestParameters['chainId'] == null) {
545
+ throw new runtime.RequiredError('chainId', 'Required parameter "chainId" was null or undefined when calling simulateTransaction().');
546
546
  }
547
547
  if (requestParameters['body'] == null) {
548
548
  throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling simulateTransaction().');
@@ -554,7 +554,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
554
554
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
555
555
  }
556
556
  const response = await this.request({
557
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/{chainSpec.chainId}/simulation`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.chainId"}}`, encodeURIComponent(String(requestParameters['chainSpecChainId']))),
557
+ path: `/api/v1/solidity/{owner}/{slug}/{chain_id}/simulation`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"chain_id"}}`, encodeURIComponent(String(requestParameters['chainId']))),
558
558
  method: 'POST',
559
559
  headers: headerParameters,
560
560
  query: queryParameters,
@@ -575,14 +575,14 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
575
575
  * Single simulation
576
576
  */
577
577
  async simulateTransaction2Raw(requestParameters, initOverrides) {
578
- if (requestParameters['projectOwner'] == null) {
579
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling simulateTransaction2().');
578
+ if (requestParameters['owner'] == null) {
579
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling simulateTransaction2().');
580
580
  }
581
- if (requestParameters['projectSlug'] == null) {
582
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling simulateTransaction2().');
581
+ if (requestParameters['slug'] == null) {
582
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling simulateTransaction2().');
583
583
  }
584
- if (requestParameters['chainSpecForkId'] == null) {
585
- throw new runtime.RequiredError('chainSpecForkId', 'Required parameter "chainSpecForkId" was null or undefined when calling simulateTransaction2().');
584
+ if (requestParameters['forkId'] == null) {
585
+ throw new runtime.RequiredError('forkId', 'Required parameter "forkId" was null or undefined when calling simulateTransaction2().');
586
586
  }
587
587
  if (requestParameters['body'] == null) {
588
588
  throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling simulateTransaction2().');
@@ -594,7 +594,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
594
594
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
595
595
  }
596
596
  const response = await this.request({
597
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{chainSpec.forkId}/simulation`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.forkId"}}`, encodeURIComponent(String(requestParameters['chainSpecForkId']))),
597
+ path: `/api/v1/solidity/{owner}/{slug}/fork/{fork_id}/simulation`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"fork_id"}}`, encodeURIComponent(String(requestParameters['forkId']))),
598
598
  method: 'POST',
599
599
  headers: headerParameters,
600
600
  query: queryParameters,
@@ -615,14 +615,14 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
615
615
  * Bundle simulation
616
616
  */
617
617
  async simulateTransactionBundleRaw(requestParameters, initOverrides) {
618
- if (requestParameters['projectOwner'] == null) {
619
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling simulateTransactionBundle().');
618
+ if (requestParameters['owner'] == null) {
619
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling simulateTransactionBundle().');
620
620
  }
621
- if (requestParameters['projectSlug'] == null) {
622
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling simulateTransactionBundle().');
621
+ if (requestParameters['slug'] == null) {
622
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling simulateTransactionBundle().');
623
623
  }
624
- if (requestParameters['chainSpecChainId'] == null) {
625
- throw new runtime.RequiredError('chainSpecChainId', 'Required parameter "chainSpecChainId" was null or undefined when calling simulateTransactionBundle().');
624
+ if (requestParameters['chainId'] == null) {
625
+ throw new runtime.RequiredError('chainId', 'Required parameter "chainId" was null or undefined when calling simulateTransactionBundle().');
626
626
  }
627
627
  if (requestParameters['body'] == null) {
628
628
  throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling simulateTransactionBundle().');
@@ -634,7 +634,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
634
634
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
635
635
  }
636
636
  const response = await this.request({
637
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/{chainSpec.chainId}/simulation_bundle`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.chainId"}}`, encodeURIComponent(String(requestParameters['chainSpecChainId']))),
637
+ path: `/api/v1/solidity/{owner}/{slug}/{chain_id}/simulation_bundle`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"chain_id"}}`, encodeURIComponent(String(requestParameters['chainId']))),
638
638
  method: 'POST',
639
639
  headers: headerParameters,
640
640
  query: queryParameters,
@@ -655,14 +655,14 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
655
655
  * Bundle simulation
656
656
  */
657
657
  async simulateTransactionBundle2Raw(requestParameters, initOverrides) {
658
- if (requestParameters['projectOwner'] == null) {
659
- throw new runtime.RequiredError('projectOwner', 'Required parameter "projectOwner" was null or undefined when calling simulateTransactionBundle2().');
658
+ if (requestParameters['owner'] == null) {
659
+ throw new runtime.RequiredError('owner', 'Required parameter "owner" was null or undefined when calling simulateTransactionBundle2().');
660
660
  }
661
- if (requestParameters['projectSlug'] == null) {
662
- throw new runtime.RequiredError('projectSlug', 'Required parameter "projectSlug" was null or undefined when calling simulateTransactionBundle2().');
661
+ if (requestParameters['slug'] == null) {
662
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling simulateTransactionBundle2().');
663
663
  }
664
- if (requestParameters['chainSpecForkId'] == null) {
665
- throw new runtime.RequiredError('chainSpecForkId', 'Required parameter "chainSpecForkId" was null or undefined when calling simulateTransactionBundle2().');
664
+ if (requestParameters['forkId'] == null) {
665
+ throw new runtime.RequiredError('forkId', 'Required parameter "forkId" was null or undefined when calling simulateTransactionBundle2().');
666
666
  }
667
667
  if (requestParameters['body'] == null) {
668
668
  throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling simulateTransactionBundle2().');
@@ -674,7 +674,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
674
674
  headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
675
675
  }
676
676
  const response = await this.request({
677
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/fork/{chainSpec.forkId}/simulation_bundle`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))).replace(`{${"chainSpec.forkId"}}`, encodeURIComponent(String(requestParameters['chainSpecForkId']))),
677
+ path: `/api/v1/solidity/{owner}/{slug}/fork/{fork_id}/simulation_bundle`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))).replace(`{${"fork_id"}}`, encodeURIComponent(String(requestParameters['forkId']))),
678
678
  method: 'POST',
679
679
  headers: headerParameters,
680
680
  query: queryParameters,