Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentio Bot committed Nov 8, 2024
1 parent 9976015 commit ec97b02
Show file tree
Hide file tree
Showing 8 changed files with 1,625 additions and 1,299 deletions.
1,991 changes: 1,009 additions & 982 deletions doc/index.html

Large diffs are not rendered by default.

343 changes: 209 additions & 134 deletions openapi.json

Large diffs are not rendered by default.

338 changes: 158 additions & 180 deletions src/apis/DebugAndSimulationApi.ts

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSp
* @type {string}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec
*/
chainId?: string;
forkId?: string;
}

/**
Expand All @@ -44,7 +44,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpe
}
return {

'chainId': json['chainId'] == null ? undefined : json['chainId'],
'forkId': json['forkId'] == null ? undefined : json['forkId'],
};
}

Expand All @@ -59,7 +59,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpe

return {

'chainId': value['chainId'],
'forkId': value['forkId'],
};
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/* tslint:disable */
/* eslint-disable */
/**
* Sentio API
* Sentio Open API for query data
*
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { mapValues } from '../runtime.js';
import type { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
import {
SolidityServiceSimulationFromJSON,
SolidityServiceSimulationFromJSONTyped,
SolidityServiceSimulationToJSON,
SolidityServiceSimulationToJSONTyped,
} from './SolidityServiceSimulation.js';
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
import {
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped,
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';

/**
*
* @export
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
*/
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
/**
*
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
*/
chainSpec?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec;
/**
* For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect.
* @type {Array<SolidityServiceSimulation>}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
*/
simulations: Array<SolidityServiceSimulation>;
}

/**
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody interface.
*/
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
if (!('simulations' in value) || value['simulations'] === undefined) return false;
return true;
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSONTyped(json, false);
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
if (json == null) {
return json;
}
return {

'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json['chainSpec']),
'simulations': ((json['simulations'] as Array<any>).map(SolidityServiceSimulationFromJSON)),
};
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSONTyped(json, false);
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(value['chainSpec']),
'simulations': ((value['simulations'] as Array<any>).map(SolidityServiceSimulationToJSON)),
};
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
/* tslint:disable */
/* eslint-disable */
/**
* Sentio API
* Sentio Open API for query data
*
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { mapValues } from '../runtime.js';
/**
*
* @export
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec
*/
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
/**
*
* @type {string}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec
*/
chainId?: string;
}

/**
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec interface.
*/
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
return true;
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped(json, false);
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
if (json == null) {
return json;
}
return {

'chainId': json['chainId'] == null ? undefined : json['chainId'],
};
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec {
return SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped(json, false);
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'chainId': value['chainId'],
};
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/* tslint:disable */
/* eslint-disable */
/**
* Sentio API
* Sentio Open API for query data
*
* The version of the OpenAPI document: version not set
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { mapValues } from '../runtime.js';
import type { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
import {
SolidityServiceSimulationFromJSON,
SolidityServiceSimulationFromJSONTyped,
SolidityServiceSimulationToJSON,
SolidityServiceSimulationToJSONTyped,
} from './SolidityServiceSimulation.js';
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
import {
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped,
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';

/**
*
* @export
* @interface SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
*/
export interface SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
/**
*
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
*/
chainSpec?: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec;
/**
*
* @type {SolidityServiceSimulation}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody
*/
simulation: SolidityServiceSimulation;
}

/**
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody interface.
*/
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionByForkBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
if (!('simulation' in value) || value['simulation'] === undefined) return false;
return true;
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
return SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSONTyped(json, false);
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
if (json == null) {
return json;
}
return {

'chainSpec': json['chainSpec'] == null ? undefined : SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json['chainSpec']),
'simulation': SolidityServiceSimulationFromJSON(json['simulation']),
};
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSON(json: any): SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody {
return SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSONTyped(json, false);
}

export function SolidityServiceSolidityAPIServiceSimulateTransactionByForkBodyToJSONTyped(value?: SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON(value['chainSpec']),
'simulation': SolidityServiceSimulationToJSON(value['simulation']),
};
}

3 changes: 3 additions & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ export * from './SolidityServiceSimulationResult.js';
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBody.js';
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody.js';
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.js';
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
export * from './SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.js';
export * from './SolidityServiceSourceFetcherType.js';
export * from './SolidityServiceSourceInfo.js';
export * from './SolidityServiceSourceMultiFile.js';
Expand Down

0 comments on commit ec97b02

Please sign in to comment.