Skip to content

Commit c73e49f

Browse files
author
Sentio Bot
committedOct 31, 2024·
chore: update
1 parent 790ce34 commit c73e49f

File tree

4 files changed

+174
-0
lines changed

4 files changed

+174
-0
lines changed
 

‎doc/index.html

+30
Original file line numberDiff line numberDiff line change
@@ -3289,6 +3289,36 @@
32893289
}
32903290
}
32913291
}
3292+
};
3293+
defs["solidity_service.BaseChainConfig"] = {
3294+
"type" : "object",
3295+
"properties" : {
3296+
"endpoint" : {
3297+
"type" : "string"
3298+
},
3299+
"debugEndpoint" : {
3300+
"type" : "string"
3301+
},
3302+
"sourceFetcherType" : {
3303+
"type" : "string"
3304+
},
3305+
"sourceFetcherEndpoint" : {
3306+
"type" : "string"
3307+
},
3308+
"sourceFetcherTimeout" : {
3309+
"type" : "string",
3310+
"format" : "int64"
3311+
},
3312+
"sourceFetcherApiKeys" : {
3313+
"type" : "array",
3314+
"items" : {
3315+
"type" : "string"
3316+
}
3317+
},
3318+
"oklinkChainShortName" : {
3319+
"type" : "string"
3320+
}
3321+
}
32923322
};
32933323
defs["solidity_service.BlockOverrides"] = {
32943324
"type" : "object",

‎openapi.json

+30
Original file line numberDiff line numberDiff line change
@@ -4131,6 +4131,36 @@
41314131
}
41324132
}
41334133
},
4134+
"solidity_service.BaseChainConfig": {
4135+
"type": "object",
4136+
"properties": {
4137+
"endpoint": {
4138+
"type": "string"
4139+
},
4140+
"debugEndpoint": {
4141+
"type": "string"
4142+
},
4143+
"sourceFetcherType": {
4144+
"type": "string"
4145+
},
4146+
"sourceFetcherEndpoint": {
4147+
"type": "string"
4148+
},
4149+
"sourceFetcherTimeout": {
4150+
"type": "string",
4151+
"format": "int64"
4152+
},
4153+
"sourceFetcherApiKeys": {
4154+
"type": "array",
4155+
"items": {
4156+
"type": "string"
4157+
}
4158+
},
4159+
"oklinkChainShortName": {
4160+
"type": "string"
4161+
}
4162+
}
4163+
},
41344164
"solidity_service.BlockOverrides": {
41354165
"type": "object",
41364166
"properties": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
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 SolidityServiceBaseChainConfig
20+
*/
21+
export interface SolidityServiceBaseChainConfig {
22+
/**
23+
*
24+
* @type {string}
25+
* @memberof SolidityServiceBaseChainConfig
26+
*/
27+
endpoint?: string;
28+
/**
29+
*
30+
* @type {string}
31+
* @memberof SolidityServiceBaseChainConfig
32+
*/
33+
debugEndpoint?: string;
34+
/**
35+
*
36+
* @type {string}
37+
* @memberof SolidityServiceBaseChainConfig
38+
*/
39+
sourceFetcherType?: string;
40+
/**
41+
*
42+
* @type {string}
43+
* @memberof SolidityServiceBaseChainConfig
44+
*/
45+
sourceFetcherEndpoint?: string;
46+
/**
47+
*
48+
* @type {string}
49+
* @memberof SolidityServiceBaseChainConfig
50+
*/
51+
sourceFetcherTimeout?: string;
52+
/**
53+
*
54+
* @type {Array<string>}
55+
* @memberof SolidityServiceBaseChainConfig
56+
*/
57+
sourceFetcherApiKeys?: Array<string>;
58+
/**
59+
*
60+
* @type {string}
61+
* @memberof SolidityServiceBaseChainConfig
62+
*/
63+
oklinkChainShortName?: string;
64+
}
65+
66+
/**
67+
* Check if a given object implements the SolidityServiceBaseChainConfig interface.
68+
*/
69+
export function instanceOfSolidityServiceBaseChainConfig(value: object): value is SolidityServiceBaseChainConfig {
70+
return true;
71+
}
72+
73+
export function SolidityServiceBaseChainConfigFromJSON(json: any): SolidityServiceBaseChainConfig {
74+
return SolidityServiceBaseChainConfigFromJSONTyped(json, false);
75+
}
76+
77+
export function SolidityServiceBaseChainConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): SolidityServiceBaseChainConfig {
78+
if (json == null) {
79+
return json;
80+
}
81+
return {
82+
83+
'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
84+
'debugEndpoint': json['debugEndpoint'] == null ? undefined : json['debugEndpoint'],
85+
'sourceFetcherType': json['sourceFetcherType'] == null ? undefined : json['sourceFetcherType'],
86+
'sourceFetcherEndpoint': json['sourceFetcherEndpoint'] == null ? undefined : json['sourceFetcherEndpoint'],
87+
'sourceFetcherTimeout': json['sourceFetcherTimeout'] == null ? undefined : json['sourceFetcherTimeout'],
88+
'sourceFetcherApiKeys': json['sourceFetcherApiKeys'] == null ? undefined : json['sourceFetcherApiKeys'],
89+
'oklinkChainShortName': json['oklinkChainShortName'] == null ? undefined : json['oklinkChainShortName'],
90+
};
91+
}
92+
93+
export function SolidityServiceBaseChainConfigToJSON(json: any): SolidityServiceBaseChainConfig {
94+
return SolidityServiceBaseChainConfigToJSONTyped(json, false);
95+
}
96+
97+
export function SolidityServiceBaseChainConfigToJSONTyped(value?: SolidityServiceBaseChainConfig | null, ignoreDiscriminator: boolean = false): any {
98+
if (value == null) {
99+
return value;
100+
}
101+
102+
return {
103+
104+
'endpoint': value['endpoint'],
105+
'debugEndpoint': value['debugEndpoint'],
106+
'sourceFetcherType': value['sourceFetcherType'],
107+
'sourceFetcherEndpoint': value['sourceFetcherEndpoint'],
108+
'sourceFetcherTimeout': value['sourceFetcherTimeout'],
109+
'sourceFetcherApiKeys': value['sourceFetcherApiKeys'],
110+
'oklinkChainShortName': value['oklinkChainShortName'],
111+
};
112+
}
113+

‎src/models/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export * from './PriceServiceCoinID.js';
131131
export * from './PriceServiceCoinIDAddressIdentifier.js';
132132
export * from './PriceServiceGetPriceResponse.js';
133133
export * from './PriceServiceListCoinsResponse.js';
134+
export * from './SolidityServiceBaseChainConfig.js';
134135
export * from './SolidityServiceBlockOverrides.js';
135136
export * from './SolidityServiceCompileSourceInternalResponse.js';
136137
export * from './SolidityServiceCompilerOptions.js';

0 commit comments

Comments
 (0)
Please sign in to comment.