Skip to content

Commit ec97b02

Browse files
author
Sentio Bot
committed
chore: update
1 parent 9976015 commit ec97b02

8 files changed

+1625
-1299
lines changed

doc/index.html

Lines changed: 1009 additions & 982 deletions
Large diffs are not rendered by default.

openapi.json

Lines changed: 209 additions & 134 deletions
Large diffs are not rendered by default.

src/apis/DebugAndSimulationApi.ts

Lines changed: 158 additions & 180 deletions
Large diffs are not rendered by default.

src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSp
2424
* @type {string}
2525
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec
2626
*/
27-
chainId?: string;
27+
forkId?: string;
2828
}
2929

3030
/**
@@ -44,7 +44,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpe
4444
}
4545
return {
4646

47-
'chainId': json['chainId'] == null ? undefined : json['chainId'],
47+
'forkId': json['forkId'] == null ? undefined : json['forkId'],
4848
};
4949
}
5050

@@ -59,7 +59,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpe
5959

6060
return {
6161

62-
'chainId': value['chainId'],
62+
'forkId': value['forkId'],
6363
};
6464
}
6565

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Sentio API
5+
* Sentio Open API for query data
6+
*
7+
* The version of the OpenAPI document: version not set
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
import { mapValues } from '../runtime.js';
16+
import type { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
17+
import {
18+
SolidityServiceSimulationFromJSON,
19+
SolidityServiceSimulationFromJSONTyped,
20+
SolidityServiceSimulationToJSON,
21+
SolidityServiceSimulationToJSONTyped,
22+
} from './SolidityServiceSimulation.js';
23+
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
24+
import {
25+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON,
26+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped,
27+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON,
28+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped,
29+
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
30+
31+
/**
32+
*
33+
* @export
34+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
35+
*/
36+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
37+
/**
38+
*
39+
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec}
40+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
41+
*/
42+
chainSpec?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec;
43+
/**
44+
* For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect.
45+
* @type {Array<SolidityServiceSimulation>}
46+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
47+
*/
48+
simulations: Array<SolidityServiceSimulation>;
49+
}
50+
51+
/**
52+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody interface.
53+
*/
54+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
55+
if (!('simulations' in value) || value['simulations'] === undefined) return false;
56+
return true;
57+
}
58+
59+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
60+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSONTyped(json, false);
61+
}
62+
63+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
64+
if (json == null) {
65+
return json;
66+
}
67+
return {
68+
69+
'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json['chainSpec']),
70+
'simulations': ((json['simulations'] as Array<any>).map(SolidityServiceSimulationFromJSON)),
71+
};
72+
}
73+
74+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
75+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSONTyped(json, false);
76+
}
77+
78+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody | null, ignoreDiscriminator: boolean = false): any {
79+
if (value == null) {
80+
return value;
81+
}
82+
83+
return {
84+
85+
'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(value['chainSpec']),
86+
'simulations': ((value['simulations'] as Array<any>).map(SolidityServiceSimulationToJSON)),
87+
};
88+
}
89+
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Sentio API
5+
* Sentio Open API for query data
6+
*
7+
* The version of the OpenAPI document: version not set
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
import { mapValues } from '../runtime.js';
16+
/**
17+
*
18+
* @export
19+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec
20+
*/
21+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
22+
/**
23+
*
24+
* @type {string}
25+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec
26+
*/
27+
chainId?: string;
28+
}
29+
30+
/**
31+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec interface.
32+
*/
33+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
34+
return true;
35+
}
36+
37+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
38+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped(json, false);
39+
}
40+
41+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
42+
if (json == null) {
43+
return json;
44+
}
45+
return {
46+
47+
'chainId': json['chainId'] == null ? undefined : json['chainId'],
48+
};
49+
}
50+
51+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
52+
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped(json, false);
53+
}
54+
55+
export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec | null, ignoreDiscriminator: boolean = false): any {
56+
if (value == null) {
57+
return value;
58+
}
59+
60+
return {
61+
62+
'chainId': value['chainId'],
63+
};
64+
}
65+
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Sentio API
5+
* Sentio Open API for query data
6+
*
7+
* The version of the OpenAPI document: version not set
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
import { mapValues } from '../runtime.js';
16+
import type { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
17+
import {
18+
SolidityServiceSimulationFromJSON,
19+
SolidityServiceSimulationFromJSONTyped,
20+
SolidityServiceSimulationToJSON,
21+
SolidityServiceSimulationToJSONTyped,
22+
} from './SolidityServiceSimulation.js';
23+
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
24+
import {
25+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON,
26+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped,
27+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON,
28+
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped,
29+
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
30+
31+
/**
32+
*
33+
* @export
34+
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
35+
*/
36+
export interface SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
37+
/**
38+
*
39+
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec}
40+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
41+
*/
42+
chainSpec?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec;
43+
/**
44+
*
45+
* @type {SolidityServiceSimulation}
46+
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
47+
*/
48+
simulation: SolidityServiceSimulation;
49+
}
50+
51+
/**
52+
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody interface.
53+
*/
54+
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionByForkBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
55+
if (!('simulation' in value) || value['simulation'] === undefined) return false;
56+
return true;
57+
}
58+
59+
export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
60+
return SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSONTyped(json, false);
61+
}
62+
63+
export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
64+
if (json == null) {
65+
return json;
66+
}
67+
return {
68+
69+
'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json['chainSpec']),
70+
'simulation': SolidityServiceSimulationFromJSON(json['simulation']),
71+
};
72+
}
73+
74+
export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
75+
return SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSONTyped(json, false);
76+
}
77+
78+
export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody | null, ignoreDiscriminator: boolean = false): any {
79+
if (value == null) {
80+
return value;
81+
}
82+
83+
return {
84+
85+
'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(value['chainSpec']),
86+
'simulation': SolidityServiceSimulationToJSON(value['simulation']),
87+
};
88+
}
89+

src/models/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ export * from './SolidityServiceSimulationResult.js';
174174
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBody.js';
175175
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
176176
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js';
177+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.js';
178+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
179+
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.js';
177180
export * from './SolidityServiceSourceFetcherType.js';
178181
export * from './SolidityServiceSourceInfo.js';
179182
export * from './SolidityServiceSourceMultiFile.js';

0 commit comments

Comments
 (0)