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 1e6fe7f commit 7915870
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 232 deletions.
36 changes: 12 additions & 24 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3967,11 +3967,12 @@
}
};
defs["solidity_service.SolidityAPIService.SimulateTransactionBody"] = {
"required" : [ "chainSpec", "simulation" ],
"required" : [ "simulation" ],
"type" : "object",
"properties" : {
"chainSpec" : {
"$ref" : "#/components/schemas/solidity_service_SolidityAPIService_SimulateTransactionBody_chainSpec"
"type" : "object",
"properties" : { }
},
"simulation" : {
"$ref" : "#/components/schemas/solidity_service.Simulation"
Expand All @@ -3998,21 +3999,14 @@
}
}
}
};
defs["solidity_service_SolidityAPIService_SimulateTransactionBody_chainSpec"] = {
"type" : "object",
"properties" : {
"forkId" : {
"type" : "string"
}
}
};
defs["solidity_service.SolidityAPIService.SimulateTransactionBundleBody"] = {
"required" : [ "chainSpec", "simulations" ],
"required" : [ "simulations" ],
"type" : "object",
"properties" : {
"chainSpec" : {
"$ref" : "#/components/schemas/solidity_service_SolidityAPIService_SimulateTransactionBody_chainSpec"
"type" : "object",
"properties" : { }
},
"simulations" : {
"type" : "array",
Expand Down Expand Up @@ -4046,11 +4040,12 @@
}
};
defs["solidity_service.SolidityAPIService.SimulateTransactionBundleByForkBody"] = {
"required" : [ "chainSpec", "simulations" ],
"required" : [ "simulations" ],
"type" : "object",
"properties" : {
"chainSpec" : {
"$ref" : "#/components/schemas/solidity_service_SolidityAPIService_SimulateTransactionBundleByForkBody_chainSpec"
"type" : "object",
"properties" : { }
},
"simulations" : {
"type" : "array",
Expand Down Expand Up @@ -4082,21 +4077,14 @@
"value" : "0xbe32c0faed7400"
} ]
}
};
defs["solidity_service_SolidityAPIService_SimulateTransactionBundleByForkBody_chainSpec"] = {
"type" : "object",
"properties" : {
"chainId" : {
"type" : "string"
}
}
};
defs["solidity_service.SolidityAPIService.SimulateTransactionByForkBody"] = {
"required" : [ "chainSpec", "simulation" ],
"required" : [ "simulation" ],
"type" : "object",
"properties" : {
"chainSpec" : {
"$ref" : "#/components/schemas/solidity_service_SolidityAPIService_SimulateTransactionBundleByForkBody_chainSpec"
"type" : "object",
"properties" : { }
},
"simulation" : {
"$ref" : "#/components/schemas/solidity_service.Simulation"
Expand Down
32 changes: 4 additions & 28 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5524,19 +5524,13 @@
},
"properties": {
"chainSpec": {
"type": "object",
"properties": {
"forkId": {
"type": "string"
}
}
"type": "object"
},
"simulation": {
"$ref": "#/definitions/solidity_service.Simulation"
}
},
"required": [
"chainSpec",
"simulation"
]
},
Expand Down Expand Up @@ -5569,12 +5563,7 @@
},
"properties": {
"chainSpec": {
"type": "object",
"properties": {
"forkId": {
"type": "string"
}
}
"type": "object"
},
"simulations": {
"type": "array",
Expand All @@ -5586,7 +5575,6 @@
}
},
"required": [
"chainSpec",
"simulations"
]
},
Expand Down Expand Up @@ -5619,12 +5607,7 @@
},
"properties": {
"chainSpec": {
"type": "object",
"properties": {
"chainId": {
"type": "string"
}
}
"type": "object"
},
"simulations": {
"type": "array",
Expand All @@ -5636,7 +5619,6 @@
}
},
"required": [
"chainSpec",
"simulations"
]
},
Expand Down Expand Up @@ -5665,19 +5647,13 @@
},
"properties": {
"chainSpec": {
"type": "object",
"properties": {
"chainId": {
"type": "string"
}
}
"type": "object"
},
"simulation": {
"$ref": "#/definitions/solidity_service.Simulation"
}
},
"required": [
"chainSpec",
"simulation"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
*/

import { mapValues } from '../runtime.js';
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
import {
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSONTyped,
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSONTyped,
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
import type { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
import {
SolidityServiceSimulationFromJSON,
Expand All @@ -36,10 +29,10 @@ import {
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBody {
/**
*
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec}
* @type {object}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBody
*/
chainSpec: SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec;
chainSpec?: object;
/**
*
* @type {SolidityServiceSimulation}
Expand All @@ -52,7 +45,6 @@ export interface SolidityServiceSolidityAPIServiceSimulateTransactionBody {
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBody interface.
*/
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBody {
if (!('chainSpec' in value) || value['chainSpec'] === undefined) return false;
if (!('simulation' in value) || value['simulation'] === undefined) return false;
return true;
}
Expand All @@ -67,7 +59,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyFromJSON
}
return {

'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON(json['chainSpec']),
'chainSpec': json['chainSpec'] == null ? undefined : json['chainSpec'],
'simulation': SolidityServiceSimulationFromJSON(json['simulation']),
};
}
Expand All @@ -83,7 +75,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBodyFromJSON

return {

'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON(value['chainSpec']),
'chainSpec': value['chainSpec'],
'simulation': SolidityServiceSimulationToJSON(value['simulation']),
};
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
*/

import { mapValues } from '../runtime.js';
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
import {
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSONTyped,
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSONTyped,
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec.js';
import type { SolidityServiceSimulation } from './SolidityServiceSimulation.js';
import {
SolidityServiceSimulationFromJSON,
Expand All @@ -36,10 +29,10 @@ import {
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody {
/**
*
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec}
* @type {object}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody
*/
chainSpec: SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpec;
chainSpec?: object;
/**
* For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect.
* @type {Array<SolidityServiceSimulation>}
Expand All @@ -52,7 +45,6 @@ export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody interface.
*/
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleBody {
if (!('chainSpec' in value) || value['chainSpec'] === undefined) return false;
if (!('simulations' in value) || value['simulations'] === undefined) return false;
return true;
}
Expand All @@ -67,7 +59,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleBodyFr
}
return {

'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecFromJSON(json['chainSpec']),
'chainSpec': json['chainSpec'] == null ? undefined : json['chainSpec'],
'simulations': ((json['simulations'] as Array<any>).map(SolidityServiceSimulationFromJSON)),
};
}
Expand All @@ -83,7 +75,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleBodyFr

return {

'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBodyChainSpecToJSON(value['chainSpec']),
'chainSpec': value['chainSpec'],
'simulations': ((value['simulations'] as Array<any>).map(SolidityServiceSimulationToJSON)),
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ import {
SolidityServiceSimulationToJSON,
SolidityServiceSimulationToJSONTyped,
} from './SolidityServiceSimulation.js';
import type { SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec } from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';
import {
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSONTyped,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSON,
SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecToJSONTyped,
} from './SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.js';

/**
*
Expand All @@ -36,10 +29,10 @@ import {
export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
/**
*
* @type {SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec}
* @type {object}
* @memberof SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody
*/
chainSpec: SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec;
chainSpec?: object;
/**
* For blockNumber, transactionIndex, networkId, stateOverrides and blockOverrides fields, only the first simulation takes effect.
* @type {Array<SolidityServiceSimulation>}
Expand All @@ -52,7 +45,6 @@ export interface SolidityServiceSolidityAPIServiceSimulateTransactionBundleByFor
* Check if a given object implements the SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody interface.
*/
export function instanceOfSolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody(value: object): value is SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody {
if (!('chainSpec' in value) || value['chainSpec'] === undefined) return false;
if (!('simulations' in value) || value['simulations'] === undefined) return false;
return true;
}
Expand All @@ -67,7 +59,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByFork
}
return {

'chainSpec': SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpecFromJSON(json['chainSpec']),
'chainSpec': json['chainSpec'] == null ? undefined : json['chainSpec'],
'simulations': ((json['simulations'] as Array<any>).map(SolidityServiceSimulationFromJSON)),
};
}
Expand All @@ -83,7 +75,7 @@ export function SolidityServiceSolidityAPIServiceSimulateTransactionBundleByFork

return {

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

0 comments on commit 7915870

Please sign in to comment.