@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.
@@ -47,10 +47,10 @@ import {
47
47
  } from '../models/index.js';
48
48
 
49
49
  export interface GetCallTraceRequest {
50
- projectOwner: string;
51
- projectSlug: string;
52
- chainSpecChainId: string;
53
- txIdTxHash: string;
50
+ owner: string;
51
+ slug: string;
52
+ chainId: string;
53
+ txHash: string;
54
54
  chainSpecForkId?: string;
55
55
  txIdSimulationId?: string;
56
56
  txIdBundleId?: string;
@@ -60,10 +60,10 @@ export interface GetCallTraceRequest {
60
60
  }
61
61
 
62
62
  export interface GetCallTrace2Request {
63
- projectOwner: string;
64
- projectSlug: string;
65
- chainSpecChainId: string;
66
- txIdSimulationId: string;
63
+ owner: string;
64
+ slug: string;
65
+ chainId: string;
66
+ simulationId: string;
67
67
  chainSpecForkId?: string;
68
68
  txIdTxHash?: string;
69
69
  txIdBundleId?: string;
@@ -73,10 +73,10 @@ export interface GetCallTrace2Request {
73
73
  }
74
74
 
75
75
  export interface GetCallTrace3Request {
76
- projectOwner: string;
77
- projectSlug: string;
78
- chainSpecChainId: string;
79
- txIdBundleId: string;
76
+ owner: string;
77
+ slug: string;
78
+ chainId: string;
79
+ bundleId: string;
80
80
  chainSpecForkId?: string;
81
81
  txIdTxHash?: string;
82
82
  txIdSimulationId?: string;
@@ -86,10 +86,10 @@ export interface GetCallTrace3Request {
86
86
  }
87
87
 
88
88
  export interface GetCallTrace4Request {
89
- projectOwner: string;
90
- projectSlug: string;
91
- chainSpecForkId: string;
92
- txIdTxHash: string;
89
+ owner: string;
90
+ slug: string;
91
+ forkId: string;
92
+ txHash: string;
93
93
  chainSpecChainId?: string;
94
94
  txIdSimulationId?: string;
95
95
  txIdBundleId?: string;
@@ -99,10 +99,10 @@ export interface GetCallTrace4Request {
99
99
  }
100
100
 
101
101
  export interface GetCallTrace5Request {
102
- projectOwner: string;
103
- projectSlug: string;
104
- chainSpecForkId: string;
105
- txIdSimulationId: string;
102
+ owner: string;
103
+ slug: string;
104
+ forkId: string;
105
+ simulationId: string;
106
106
  chainSpecChainId?: string;
107
107
  txIdTxHash?: string;
108
108
  txIdBundleId?: string;
@@ -112,10 +112,10 @@ export interface GetCallTrace5Request {
112
112
  }
113
113
 
114
114
  export interface GetCallTrace6Request {
115
- projectOwner: string;
116
- projectSlug: string;
117
- chainSpecForkId: string;
118
- txIdBundleId: string;
115
+ owner: string;
116
+ slug: string;
117
+ forkId: string;
118
+ bundleId: string;
119
119
  chainSpecChainId?: string;
120
120
  txIdTxHash?: string;
121
121
  txIdSimulationId?: string;
@@ -125,28 +125,28 @@ export interface GetCallTrace6Request {
125
125
  }
126
126
 
127
127
  export interface GetSimulationRequest {
128
- projectOwner: string;
129
- projectSlug: string;
128
+ owner: string;
129
+ slug: string;
130
130
  simulationId: string;
131
131
  }
132
132
 
133
133
  export interface GetSimulationBundleInProjectRequest {
134
- projectOwner: string;
135
- projectSlug: string;
134
+ owner: string;
135
+ slug: string;
136
136
  bundleId: string;
137
137
  }
138
138
 
139
139
  export interface GetSimulationsRequest {
140
- projectOwner: string;
141
- projectSlug: string;
140
+ owner: string;
141
+ slug: string;
142
142
  labelContains?: string;
143
143
  page?: number;
144
144
  pageSize?: number;
145
145
  }
146
146
 
147
147
  export interface SearchTransactionsRequest {
148
- projectOwner: string;
149
- projectSlug: string;
148
+ owner: string;
149
+ slug: string;
150
150
  chainId?: Array<string>;
151
151
  address?: Array<string>;
152
152
  includeDirect?: boolean;
@@ -164,30 +164,30 @@ export interface SearchTransactionsRequest {
164
164
  }
165
165
 
166
166
  export interface SimulateTransactionRequest {
167
- projectOwner: string;
168
- projectSlug: string;
169
- chainSpecChainId: string;
167
+ owner: string;
168
+ slug: string;
169
+ chainId: string;
170
170
  body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
171
171
  }
172
172
 
173
173
  export interface SimulateTransaction2Request {
174
- projectOwner: string;
175
- projectSlug: string;
176
- chainSpecForkId: string;
174
+ owner: string;
175
+ slug: string;
176
+ forkId: string;
177
177
  body: SolidityServiceSolidityAPIServiceSimulateTransactionBody;
178
178
  }
179
179
 
180
180
  export interface SimulateTransactionBundleRequest {
181
- projectOwner: string;
182
- projectSlug: string;
183
- chainSpecChainId: string;
181
+ owner: string;
182
+ slug: string;
183
+ chainId: string;
184
184
  body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
185
185
  }
186
186
 
187
187
  export interface SimulateTransactionBundle2Request {
188
- projectOwner: string;
189
- projectSlug: string;
190
- chainSpecForkId: string;
188
+ owner: string;
189
+ slug: string;
190
+ forkId: string;
191
191
  body: SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody;
192
192
  }
193
193
 
@@ -201,31 +201,31 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
201
201
  * Get indexed call trace
202
202
  */
203
203
  async getCallTraceRaw(requestParameters: GetCallTraceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
204
- if (requestParameters['projectOwner'] == null) {
204
+ if (requestParameters['owner'] == null) {
205
205
  throw new runtime.RequiredError(
206
- 'projectOwner',
207
- 'Required parameter "projectOwner" was null or undefined when calling getCallTrace().'
206
+ 'owner',
207
+ 'Required parameter "owner" was null or undefined when calling getCallTrace().'
208
208
  );
209
209
  }
210
210
 
211
- if (requestParameters['projectSlug'] == null) {
211
+ if (requestParameters['slug'] == null) {
212
212
  throw new runtime.RequiredError(
213
- 'projectSlug',
214
- 'Required parameter "projectSlug" was null or undefined when calling getCallTrace().'
213
+ 'slug',
214
+ 'Required parameter "slug" was null or undefined when calling getCallTrace().'
215
215
  );
216
216
  }
217
217
 
218
- if (requestParameters['chainSpecChainId'] == null) {
218
+ if (requestParameters['chainId'] == null) {
219
219
  throw new runtime.RequiredError(
220
- 'chainSpecChainId',
221
- 'Required parameter "chainSpecChainId" was null or undefined when calling getCallTrace().'
220
+ 'chainId',
221
+ 'Required parameter "chainId" was null or undefined when calling getCallTrace().'
222
222
  );
223
223
  }
224
224
 
225
- if (requestParameters['txIdTxHash'] == null) {
225
+ if (requestParameters['txHash'] == null) {
226
226
  throw new runtime.RequiredError(
227
- 'txIdTxHash',
228
- 'Required parameter "txIdTxHash" was null or undefined when calling getCallTrace().'
227
+ 'txHash',
228
+ 'Required parameter "txHash" was null or undefined when calling getCallTrace().'
229
229
  );
230
230
  }
231
231
 
@@ -262,7 +262,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
262
262
  }
263
263
 
264
264
  const response = await this.request({
265
- 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']))),
265
+ 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']))),
266
266
  method: 'GET',
267
267
  headers: headerParameters,
268
268
  query: queryParameters,
@@ -285,31 +285,31 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
285
285
  * Get indexed call trace
286
286
  */
287
287
  async getCallTrace2Raw(requestParameters: GetCallTrace2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
288
- if (requestParameters['projectOwner'] == null) {
288
+ if (requestParameters['owner'] == null) {
289
289
  throw new runtime.RequiredError(
290
- 'projectOwner',
291
- 'Required parameter "projectOwner" was null or undefined when calling getCallTrace2().'
290
+ 'owner',
291
+ 'Required parameter "owner" was null or undefined when calling getCallTrace2().'
292
292
  );
293
293
  }
294
294
 
295
- if (requestParameters['projectSlug'] == null) {
295
+ if (requestParameters['slug'] == null) {
296
296
  throw new runtime.RequiredError(
297
- 'projectSlug',
298
- 'Required parameter "projectSlug" was null or undefined when calling getCallTrace2().'
297
+ 'slug',
298
+ 'Required parameter "slug" was null or undefined when calling getCallTrace2().'
299
299
  );
300
300
  }
301
301
 
302
- if (requestParameters['chainSpecChainId'] == null) {
302
+ if (requestParameters['chainId'] == null) {
303
303
  throw new runtime.RequiredError(
304
- 'chainSpecChainId',
305
- 'Required parameter "chainSpecChainId" was null or undefined when calling getCallTrace2().'
304
+ 'chainId',
305
+ 'Required parameter "chainId" was null or undefined when calling getCallTrace2().'
306
306
  );
307
307
  }
308
308
 
309
- if (requestParameters['txIdSimulationId'] == null) {
309
+ if (requestParameters['simulationId'] == null) {
310
310
  throw new runtime.RequiredError(
311
- 'txIdSimulationId',
312
- 'Required parameter "txIdSimulationId" was null or undefined when calling getCallTrace2().'
311
+ 'simulationId',
312
+ 'Required parameter "simulationId" was null or undefined when calling getCallTrace2().'
313
313
  );
314
314
  }
315
315
 
@@ -346,7 +346,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
346
346
  }
347
347
 
348
348
  const response = await this.request({
349
- 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']))),
349
+ 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']))),
350
350
  method: 'GET',
351
351
  headers: headerParameters,
352
352
  query: queryParameters,
@@ -369,31 +369,31 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
369
369
  * Get indexed call trace
370
370
  */
371
371
  async getCallTrace3Raw(requestParameters: GetCallTrace3Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
372
- if (requestParameters['projectOwner'] == null) {
372
+ if (requestParameters['owner'] == null) {
373
373
  throw new runtime.RequiredError(
374
- 'projectOwner',
375
- 'Required parameter "projectOwner" was null or undefined when calling getCallTrace3().'
374
+ 'owner',
375
+ 'Required parameter "owner" was null or undefined when calling getCallTrace3().'
376
376
  );
377
377
  }
378
378
 
379
- if (requestParameters['projectSlug'] == null) {
379
+ if (requestParameters['slug'] == null) {
380
380
  throw new runtime.RequiredError(
381
- 'projectSlug',
382
- 'Required parameter "projectSlug" was null or undefined when calling getCallTrace3().'
381
+ 'slug',
382
+ 'Required parameter "slug" was null or undefined when calling getCallTrace3().'
383
383
  );
384
384
  }
385
385
 
386
- if (requestParameters['chainSpecChainId'] == null) {
386
+ if (requestParameters['chainId'] == null) {
387
387
  throw new runtime.RequiredError(
388
- 'chainSpecChainId',
389
- 'Required parameter "chainSpecChainId" was null or undefined when calling getCallTrace3().'
388
+ 'chainId',
389
+ 'Required parameter "chainId" was null or undefined when calling getCallTrace3().'
390
390
  );
391
391
  }
392
392
 
393
- if (requestParameters['txIdBundleId'] == null) {
393
+ if (requestParameters['bundleId'] == null) {
394
394
  throw new runtime.RequiredError(
395
- 'txIdBundleId',
396
- 'Required parameter "txIdBundleId" was null or undefined when calling getCallTrace3().'
395
+ 'bundleId',
396
+ 'Required parameter "bundleId" was null or undefined when calling getCallTrace3().'
397
397
  );
398
398
  }
399
399
 
@@ -430,7 +430,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
430
430
  }
431
431
 
432
432
  const response = await this.request({
433
- 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']))),
433
+ 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']))),
434
434
  method: 'GET',
435
435
  headers: headerParameters,
436
436
  query: queryParameters,
@@ -453,31 +453,31 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
453
453
  * Get indexed call trace
454
454
  */
455
455
  async getCallTrace4Raw(requestParameters: GetCallTrace4Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
456
- if (requestParameters['projectOwner'] == null) {
456
+ if (requestParameters['owner'] == null) {
457
457
  throw new runtime.RequiredError(
458
- 'projectOwner',
459
- 'Required parameter "projectOwner" was null or undefined when calling getCallTrace4().'
458
+ 'owner',
459
+ 'Required parameter "owner" was null or undefined when calling getCallTrace4().'
460
460
  );
461
461
  }
462
462
 
463
- if (requestParameters['projectSlug'] == null) {
463
+ if (requestParameters['slug'] == null) {
464
464
  throw new runtime.RequiredError(
465
- 'projectSlug',
466
- 'Required parameter "projectSlug" was null or undefined when calling getCallTrace4().'
465
+ 'slug',
466
+ 'Required parameter "slug" was null or undefined when calling getCallTrace4().'
467
467
  );
468
468
  }
469
469
 
470
- if (requestParameters['chainSpecForkId'] == null) {
470
+ if (requestParameters['forkId'] == null) {
471
471
  throw new runtime.RequiredError(
472
- 'chainSpecForkId',
473
- 'Required parameter "chainSpecForkId" was null or undefined when calling getCallTrace4().'
472
+ 'forkId',
473
+ 'Required parameter "forkId" was null or undefined when calling getCallTrace4().'
474
474
  );
475
475
  }
476
476
 
477
- if (requestParameters['txIdTxHash'] == null) {
477
+ if (requestParameters['txHash'] == null) {
478
478
  throw new runtime.RequiredError(
479
- 'txIdTxHash',
480
- 'Required parameter "txIdTxHash" was null or undefined when calling getCallTrace4().'
479
+ 'txHash',
480
+ 'Required parameter "txHash" was null or undefined when calling getCallTrace4().'
481
481
  );
482
482
  }
483
483
 
@@ -514,7 +514,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
514
514
  }
515
515
 
516
516
  const response = await this.request({
517
- 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']))),
517
+ 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']))),
518
518
  method: 'GET',
519
519
  headers: headerParameters,
520
520
  query: queryParameters,
@@ -537,31 +537,31 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
537
537
  * Get indexed call trace
538
538
  */
539
539
  async getCallTrace5Raw(requestParameters: GetCallTrace5Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
540
- if (requestParameters['projectOwner'] == null) {
540
+ if (requestParameters['owner'] == null) {
541
541
  throw new runtime.RequiredError(
542
- 'projectOwner',
543
- 'Required parameter "projectOwner" was null or undefined when calling getCallTrace5().'
542
+ 'owner',
543
+ 'Required parameter "owner" was null or undefined when calling getCallTrace5().'
544
544
  );
545
545
  }
546
546
 
547
- if (requestParameters['projectSlug'] == null) {
547
+ if (requestParameters['slug'] == null) {
548
548
  throw new runtime.RequiredError(
549
- 'projectSlug',
550
- 'Required parameter "projectSlug" was null or undefined when calling getCallTrace5().'
549
+ 'slug',
550
+ 'Required parameter "slug" was null or undefined when calling getCallTrace5().'
551
551
  );
552
552
  }
553
553
 
554
- if (requestParameters['chainSpecForkId'] == null) {
554
+ if (requestParameters['forkId'] == null) {
555
555
  throw new runtime.RequiredError(
556
- 'chainSpecForkId',
557
- 'Required parameter "chainSpecForkId" was null or undefined when calling getCallTrace5().'
556
+ 'forkId',
557
+ 'Required parameter "forkId" was null or undefined when calling getCallTrace5().'
558
558
  );
559
559
  }
560
560
 
561
- if (requestParameters['txIdSimulationId'] == null) {
561
+ if (requestParameters['simulationId'] == null) {
562
562
  throw new runtime.RequiredError(
563
- 'txIdSimulationId',
564
- 'Required parameter "txIdSimulationId" was null or undefined when calling getCallTrace5().'
563
+ 'simulationId',
564
+ 'Required parameter "simulationId" was null or undefined when calling getCallTrace5().'
565
565
  );
566
566
  }
567
567
 
@@ -598,7 +598,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
598
598
  }
599
599
 
600
600
  const response = await this.request({
601
- 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']))),
601
+ 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']))),
602
602
  method: 'GET',
603
603
  headers: headerParameters,
604
604
  query: queryParameters,
@@ -621,31 +621,31 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
621
621
  * Get indexed call trace
622
622
  */
623
623
  async getCallTrace6Raw(requestParameters: GetCallTrace6Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GoogleApiHttpBody>> {
624
- if (requestParameters['projectOwner'] == null) {
624
+ if (requestParameters['owner'] == null) {
625
625
  throw new runtime.RequiredError(
626
- 'projectOwner',
627
- 'Required parameter "projectOwner" was null or undefined when calling getCallTrace6().'
626
+ 'owner',
627
+ 'Required parameter "owner" was null or undefined when calling getCallTrace6().'
628
628
  );
629
629
  }
630
630
 
631
- if (requestParameters['projectSlug'] == null) {
631
+ if (requestParameters['slug'] == null) {
632
632
  throw new runtime.RequiredError(
633
- 'projectSlug',
634
- 'Required parameter "projectSlug" was null or undefined when calling getCallTrace6().'
633
+ 'slug',
634
+ 'Required parameter "slug" was null or undefined when calling getCallTrace6().'
635
635
  );
636
636
  }
637
637
 
638
- if (requestParameters['chainSpecForkId'] == null) {
638
+ if (requestParameters['forkId'] == null) {
639
639
  throw new runtime.RequiredError(
640
- 'chainSpecForkId',
641
- 'Required parameter "chainSpecForkId" was null or undefined when calling getCallTrace6().'
640
+ 'forkId',
641
+ 'Required parameter "forkId" was null or undefined when calling getCallTrace6().'
642
642
  );
643
643
  }
644
644
 
645
- if (requestParameters['txIdBundleId'] == null) {
645
+ if (requestParameters['bundleId'] == null) {
646
646
  throw new runtime.RequiredError(
647
- 'txIdBundleId',
648
- 'Required parameter "txIdBundleId" was null or undefined when calling getCallTrace6().'
647
+ 'bundleId',
648
+ 'Required parameter "bundleId" was null or undefined when calling getCallTrace6().'
649
649
  );
650
650
  }
651
651
 
@@ -682,7 +682,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
682
682
  }
683
683
 
684
684
  const response = await this.request({
685
- 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']))),
685
+ 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']))),
686
686
  method: 'GET',
687
687
  headers: headerParameters,
688
688
  query: queryParameters,
@@ -704,17 +704,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
704
704
  * Get a simulation by id
705
705
  */
706
706
  async getSimulationRaw(requestParameters: GetSimulationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationResponse>> {
707
- if (requestParameters['projectOwner'] == null) {
707
+ if (requestParameters['owner'] == null) {
708
708
  throw new runtime.RequiredError(
709
- 'projectOwner',
710
- 'Required parameter "projectOwner" was null or undefined when calling getSimulation().'
709
+ 'owner',
710
+ 'Required parameter "owner" was null or undefined when calling getSimulation().'
711
711
  );
712
712
  }
713
713
 
714
- if (requestParameters['projectSlug'] == null) {
714
+ if (requestParameters['slug'] == null) {
715
715
  throw new runtime.RequiredError(
716
- 'projectSlug',
717
- 'Required parameter "projectSlug" was null or undefined when calling getSimulation().'
716
+ 'slug',
717
+ 'Required parameter "slug" was null or undefined when calling getSimulation().'
718
718
  );
719
719
  }
720
720
 
@@ -734,7 +734,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
734
734
  }
735
735
 
736
736
  const response = await this.request({
737
- 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']))),
737
+ 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']))),
738
738
  method: 'GET',
739
739
  headers: headerParameters,
740
740
  query: queryParameters,
@@ -755,17 +755,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
755
755
  * Get a bundle simulation by id
756
756
  */
757
757
  async getSimulationBundleInProjectRaw(requestParameters: GetSimulationBundleInProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationBundleResponse>> {
758
- if (requestParameters['projectOwner'] == null) {
758
+ if (requestParameters['owner'] == null) {
759
759
  throw new runtime.RequiredError(
760
- 'projectOwner',
761
- 'Required parameter "projectOwner" was null or undefined when calling getSimulationBundleInProject().'
760
+ 'owner',
761
+ 'Required parameter "owner" was null or undefined when calling getSimulationBundleInProject().'
762
762
  );
763
763
  }
764
764
 
765
- if (requestParameters['projectSlug'] == null) {
765
+ if (requestParameters['slug'] == null) {
766
766
  throw new runtime.RequiredError(
767
- 'projectSlug',
768
- 'Required parameter "projectSlug" was null or undefined when calling getSimulationBundleInProject().'
767
+ 'slug',
768
+ 'Required parameter "slug" was null or undefined when calling getSimulationBundleInProject().'
769
769
  );
770
770
  }
771
771
 
@@ -785,7 +785,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
785
785
  }
786
786
 
787
787
  const response = await this.request({
788
- 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']))),
788
+ 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']))),
789
789
  method: 'GET',
790
790
  headers: headerParameters,
791
791
  query: queryParameters,
@@ -806,17 +806,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
806
806
  * Get existing transaction simulations
807
807
  */
808
808
  async getSimulationsRaw(requestParameters: GetSimulationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceGetSimulationsResponse>> {
809
- if (requestParameters['projectOwner'] == null) {
809
+ if (requestParameters['owner'] == null) {
810
810
  throw new runtime.RequiredError(
811
- 'projectOwner',
812
- 'Required parameter "projectOwner" was null or undefined when calling getSimulations().'
811
+ 'owner',
812
+ 'Required parameter "owner" was null or undefined when calling getSimulations().'
813
813
  );
814
814
  }
815
815
 
816
- if (requestParameters['projectSlug'] == null) {
816
+ if (requestParameters['slug'] == null) {
817
817
  throw new runtime.RequiredError(
818
- 'projectSlug',
819
- 'Required parameter "projectSlug" was null or undefined when calling getSimulations().'
818
+ 'slug',
819
+ 'Required parameter "slug" was null or undefined when calling getSimulations().'
820
820
  );
821
821
  }
822
822
 
@@ -841,7 +841,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
841
841
  }
842
842
 
843
843
  const response = await this.request({
844
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/simulation`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))),
844
+ path: `/api/v1/solidity/{owner}/{slug}/simulation`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))),
845
845
  method: 'GET',
846
846
  headers: headerParameters,
847
847
  query: queryParameters,
@@ -862,17 +862,17 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
862
862
  * Search for transactions
863
863
  */
864
864
  async searchTransactionsRaw(requestParameters: SearchTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TxindexEvmSearchTransactionsResponse>> {
865
- if (requestParameters['projectOwner'] == null) {
865
+ if (requestParameters['owner'] == null) {
866
866
  throw new runtime.RequiredError(
867
- 'projectOwner',
868
- 'Required parameter "projectOwner" was null or undefined when calling searchTransactions().'
867
+ 'owner',
868
+ 'Required parameter "owner" was null or undefined when calling searchTransactions().'
869
869
  );
870
870
  }
871
871
 
872
- if (requestParameters['projectSlug'] == null) {
872
+ if (requestParameters['slug'] == null) {
873
873
  throw new runtime.RequiredError(
874
- 'projectSlug',
875
- 'Required parameter "projectSlug" was null or undefined when calling searchTransactions().'
874
+ 'slug',
875
+ 'Required parameter "slug" was null or undefined when calling searchTransactions().'
876
876
  );
877
877
  }
878
878
 
@@ -941,7 +941,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
941
941
  }
942
942
 
943
943
  const response = await this.request({
944
- path: `/api/v1/solidity/{projectOwner}/{projectSlug}/search_transactions`.replace(`{${"projectOwner"}}`, encodeURIComponent(String(requestParameters['projectOwner']))).replace(`{${"projectSlug"}}`, encodeURIComponent(String(requestParameters['projectSlug']))),
944
+ path: `/api/v1/solidity/{owner}/{slug}/search_transactions`.replace(`{${"owner"}}`, encodeURIComponent(String(requestParameters['owner']))).replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug']))),
945
945
  method: 'GET',
946
946
  headers: headerParameters,
947
947
  query: queryParameters,
@@ -963,24 +963,24 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
963
963
  * Single simulation
964
964
  */
965
965
  async simulateTransactionRaw(requestParameters: SimulateTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionResponse>> {
966
- if (requestParameters['projectOwner'] == null) {
966
+ if (requestParameters['owner'] == null) {
967
967
  throw new runtime.RequiredError(
968
- 'projectOwner',
969
- 'Required parameter "projectOwner" was null or undefined when calling simulateTransaction().'
968
+ 'owner',
969
+ 'Required parameter "owner" was null or undefined when calling simulateTransaction().'
970
970
  );
971
971
  }
972
972
 
973
- if (requestParameters['projectSlug'] == null) {
973
+ if (requestParameters['slug'] == null) {
974
974
  throw new runtime.RequiredError(
975
- 'projectSlug',
976
- 'Required parameter "projectSlug" was null or undefined when calling simulateTransaction().'
975
+ 'slug',
976
+ 'Required parameter "slug" was null or undefined when calling simulateTransaction().'
977
977
  );
978
978
  }
979
979
 
980
- if (requestParameters['chainSpecChainId'] == null) {
980
+ if (requestParameters['chainId'] == null) {
981
981
  throw new runtime.RequiredError(
982
- 'chainSpecChainId',
983
- 'Required parameter "chainSpecChainId" was null or undefined when calling simulateTransaction().'
982
+ 'chainId',
983
+ 'Required parameter "chainId" was null or undefined when calling simulateTransaction().'
984
984
  );
985
985
  }
986
986
 
@@ -1002,7 +1002,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
1002
1002
  }
1003
1003
 
1004
1004
  const response = await this.request({
1005
- 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']))),
1005
+ 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']))),
1006
1006
  method: 'POST',
1007
1007
  headers: headerParameters,
1008
1008
  query: queryParameters,
@@ -1026,24 +1026,24 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
1026
1026
  * Single simulation
1027
1027
  */
1028
1028
  async simulateTransaction2Raw(requestParameters: SimulateTransaction2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionResponse>> {
1029
- if (requestParameters['projectOwner'] == null) {
1029
+ if (requestParameters['owner'] == null) {
1030
1030
  throw new runtime.RequiredError(
1031
- 'projectOwner',
1032
- 'Required parameter "projectOwner" was null or undefined when calling simulateTransaction2().'
1031
+ 'owner',
1032
+ 'Required parameter "owner" was null or undefined when calling simulateTransaction2().'
1033
1033
  );
1034
1034
  }
1035
1035
 
1036
- if (requestParameters['projectSlug'] == null) {
1036
+ if (requestParameters['slug'] == null) {
1037
1037
  throw new runtime.RequiredError(
1038
- 'projectSlug',
1039
- 'Required parameter "projectSlug" was null or undefined when calling simulateTransaction2().'
1038
+ 'slug',
1039
+ 'Required parameter "slug" was null or undefined when calling simulateTransaction2().'
1040
1040
  );
1041
1041
  }
1042
1042
 
1043
- if (requestParameters['chainSpecForkId'] == null) {
1043
+ if (requestParameters['forkId'] == null) {
1044
1044
  throw new runtime.RequiredError(
1045
- 'chainSpecForkId',
1046
- 'Required parameter "chainSpecForkId" was null or undefined when calling simulateTransaction2().'
1045
+ 'forkId',
1046
+ 'Required parameter "forkId" was null or undefined when calling simulateTransaction2().'
1047
1047
  );
1048
1048
  }
1049
1049
 
@@ -1065,7 +1065,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
1065
1065
  }
1066
1066
 
1067
1067
  const response = await this.request({
1068
- 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']))),
1068
+ 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']))),
1069
1069
  method: 'POST',
1070
1070
  headers: headerParameters,
1071
1071
  query: queryParameters,
@@ -1089,24 +1089,24 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
1089
1089
  * Bundle simulation
1090
1090
  */
1091
1091
  async simulateTransactionBundleRaw(requestParameters: SimulateTransactionBundleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>> {
1092
- if (requestParameters['projectOwner'] == null) {
1092
+ if (requestParameters['owner'] == null) {
1093
1093
  throw new runtime.RequiredError(
1094
- 'projectOwner',
1095
- 'Required parameter "projectOwner" was null or undefined when calling simulateTransactionBundle().'
1094
+ 'owner',
1095
+ 'Required parameter "owner" was null or undefined when calling simulateTransactionBundle().'
1096
1096
  );
1097
1097
  }
1098
1098
 
1099
- if (requestParameters['projectSlug'] == null) {
1099
+ if (requestParameters['slug'] == null) {
1100
1100
  throw new runtime.RequiredError(
1101
- 'projectSlug',
1102
- 'Required parameter "projectSlug" was null or undefined when calling simulateTransactionBundle().'
1101
+ 'slug',
1102
+ 'Required parameter "slug" was null or undefined when calling simulateTransactionBundle().'
1103
1103
  );
1104
1104
  }
1105
1105
 
1106
- if (requestParameters['chainSpecChainId'] == null) {
1106
+ if (requestParameters['chainId'] == null) {
1107
1107
  throw new runtime.RequiredError(
1108
- 'chainSpecChainId',
1109
- 'Required parameter "chainSpecChainId" was null or undefined when calling simulateTransactionBundle().'
1108
+ 'chainId',
1109
+ 'Required parameter "chainId" was null or undefined when calling simulateTransactionBundle().'
1110
1110
  );
1111
1111
  }
1112
1112
 
@@ -1128,7 +1128,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
1128
1128
  }
1129
1129
 
1130
1130
  const response = await this.request({
1131
- 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']))),
1131
+ 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']))),
1132
1132
  method: 'POST',
1133
1133
  headers: headerParameters,
1134
1134
  query: queryParameters,
@@ -1152,24 +1152,24 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
1152
1152
  * Bundle simulation
1153
1153
  */
1154
1154
  async simulateTransactionBundle2Raw(requestParameters: SimulateTransactionBundle2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SolidityServiceSimulateTransactionBundleResponse>> {
1155
- if (requestParameters['projectOwner'] == null) {
1155
+ if (requestParameters['owner'] == null) {
1156
1156
  throw new runtime.RequiredError(
1157
- 'projectOwner',
1158
- 'Required parameter "projectOwner" was null or undefined when calling simulateTransactionBundle2().'
1157
+ 'owner',
1158
+ 'Required parameter "owner" was null or undefined when calling simulateTransactionBundle2().'
1159
1159
  );
1160
1160
  }
1161
1161
 
1162
- if (requestParameters['projectSlug'] == null) {
1162
+ if (requestParameters['slug'] == null) {
1163
1163
  throw new runtime.RequiredError(
1164
- 'projectSlug',
1165
- 'Required parameter "projectSlug" was null or undefined when calling simulateTransactionBundle2().'
1164
+ 'slug',
1165
+ 'Required parameter "slug" was null or undefined when calling simulateTransactionBundle2().'
1166
1166
  );
1167
1167
  }
1168
1168
 
1169
- if (requestParameters['chainSpecForkId'] == null) {
1169
+ if (requestParameters['forkId'] == null) {
1170
1170
  throw new runtime.RequiredError(
1171
- 'chainSpecForkId',
1172
- 'Required parameter "chainSpecForkId" was null or undefined when calling simulateTransactionBundle2().'
1171
+ 'forkId',
1172
+ 'Required parameter "forkId" was null or undefined when calling simulateTransactionBundle2().'
1173
1173
  );
1174
1174
  }
1175
1175
 
@@ -1191,7 +1191,7 @@ export class DebugAndSimulationApi extends runtime.BaseAPI {
1191
1191
  }
1192
1192
 
1193
1193
  const response = await this.request({
1194
- 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']))),
1194
+ 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']))),
1195
1195
  method: 'POST',
1196
1196
  headers: headerParameters,
1197
1197
  query: queryParameters,