-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sentio Bot
committed
Nov 8, 2024
1 parent
9976015
commit ec97b02
Showing
8 changed files
with
1,625 additions
and
1,299 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBody.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)), | ||
}; | ||
} | ||
|
65 changes: 65 additions & 0 deletions
65
src/models/SolidityServiceSolidityAPIServiceSimulateTransactionBundleByForkBodyChainSpec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'], | ||
}; | ||
} | ||
|
89 changes: 89 additions & 0 deletions
89
src/models/SolidityServiceSolidityAPIServiceSimulateTransactionByForkBody.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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']), | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters