@blockscout/autoscout-types 1.14.4-alpha.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v1/autoscout.d.ts +3 -1
- package/dist/v1/autoscout.js +1 -0
- package/dist/v1/autoscout.ts +2 -0
- package/dist/v1/config.d.ts +21 -33
- package/dist/v1/config.js +13 -2
- package/dist/v1/config.ts +22 -53
- package/dist/v1/config_schema.d.ts +1 -0
- package/dist/v1/config_schema.ts +1 -0
- package/package.json +1 -1
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -37,7 +37,8 @@ export declare enum PluginVariant {
|
|
|
37
37
|
UNSPECIFIED_PLUGIN_VARIANT = "UNSPECIFIED_PLUGIN_VARIANT",
|
|
38
38
|
STATS = "PLUGIN_VARIANT_STATS",
|
|
39
39
|
USER_OPS = "PLUGIN_VARIANT_USER_OPS",
|
|
40
|
-
ADMIN_SERVICE = "PLUGIN_VARIANT_ADMIN_SERVICE"
|
|
40
|
+
ADMIN_SERVICE = "PLUGIN_VARIANT_ADMIN_SERVICE",
|
|
41
|
+
NAME_SERVICE = "PLUGIN_VARIANT_NAME_SERVICE"
|
|
41
42
|
}
|
|
42
43
|
export declare enum PluginStatus {
|
|
43
44
|
UNSPECIFIED_PLUGIN_STATUS = "UNSPECIFIED_PLUGIN_STATUS",
|
|
@@ -150,6 +151,7 @@ export interface DeploymentPluginStatuses {
|
|
|
150
151
|
stats_status: PluginStatuses | undefined;
|
|
151
152
|
user_ops_status: PluginStatuses | undefined;
|
|
152
153
|
admin_service_status: PluginStatuses | undefined;
|
|
154
|
+
name_service_status: PluginStatuses | undefined;
|
|
153
155
|
}
|
|
154
156
|
export interface UserAction {
|
|
155
157
|
action: string;
|
package/dist/v1/autoscout.js
CHANGED
|
@@ -49,6 +49,7 @@ var PluginVariant;
|
|
|
49
49
|
PluginVariant["STATS"] = "PLUGIN_VARIANT_STATS";
|
|
50
50
|
PluginVariant["USER_OPS"] = "PLUGIN_VARIANT_USER_OPS";
|
|
51
51
|
PluginVariant["ADMIN_SERVICE"] = "PLUGIN_VARIANT_ADMIN_SERVICE";
|
|
52
|
+
PluginVariant["NAME_SERVICE"] = "PLUGIN_VARIANT_NAME_SERVICE";
|
|
52
53
|
})(PluginVariant || (exports.PluginVariant = PluginVariant = {}));
|
|
53
54
|
var PluginStatus;
|
|
54
55
|
(function (PluginStatus) {
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -50,6 +50,7 @@ export enum PluginVariant {
|
|
|
50
50
|
STATS = "PLUGIN_VARIANT_STATS",
|
|
51
51
|
USER_OPS = "PLUGIN_VARIANT_USER_OPS",
|
|
52
52
|
ADMIN_SERVICE = "PLUGIN_VARIANT_ADMIN_SERVICE",
|
|
53
|
+
NAME_SERVICE = "PLUGIN_VARIANT_NAME_SERVICE",
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
export enum PluginStatus {
|
|
@@ -174,6 +175,7 @@ export interface DeploymentPluginStatuses {
|
|
|
174
175
|
stats_status: PluginStatuses | undefined;
|
|
175
176
|
user_ops_status: PluginStatuses | undefined;
|
|
176
177
|
admin_service_status: PluginStatuses | undefined;
|
|
178
|
+
name_service_status: PluginStatuses | undefined;
|
|
177
179
|
}
|
|
178
180
|
|
|
179
181
|
export interface UserAction {
|
package/dist/v1/config.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export declare enum ChainType {
|
|
|
2
2
|
UNSPECIFIED_CHAIN_TYPE = "UNSPECIFIED_CHAIN_TYPE",
|
|
3
3
|
ARBITRUM = "ARBITRUM",
|
|
4
4
|
OPTIMISM = "OPTIMISM",
|
|
5
|
-
POLYGON_ZKEVM = "POLYGON_ZKEVM",
|
|
6
5
|
ZKSYNC = "ZKSYNC"
|
|
7
6
|
}
|
|
8
7
|
export declare enum NodeType {
|
|
@@ -41,7 +40,8 @@ export declare enum AdTextProvider {
|
|
|
41
40
|
export declare enum AdBannerProvider {
|
|
42
41
|
UNSPECIFIED_AD_BANNER_PROVIDER = "UNSPECIFIED_AD_BANNER_PROVIDER",
|
|
43
42
|
SLISE = "SLISE",
|
|
44
|
-
BANNER_NONE = "BANNER_NONE"
|
|
43
|
+
BANNER_NONE = "BANNER_NONE",
|
|
44
|
+
BANNER_SEVIO = "BANNER_SEVIO"
|
|
45
45
|
}
|
|
46
46
|
export declare enum IndexerBlockTransformer {
|
|
47
47
|
UNSPECIFIED_BLOCK_TRANSFORMER = "UNSPECIFIED_BLOCK_TRANSFORMER",
|
|
@@ -53,6 +53,16 @@ export declare enum UserOpsTraceClient {
|
|
|
53
53
|
DEBUG = "DEBUG",
|
|
54
54
|
TRACE = "TRACE"
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Domain name protocols the name service plugin can resolve against. The
|
|
58
|
+
* supported set is also enforced at runtime via the
|
|
59
|
+
* `supported_name_service_protocols` admin setting (kept in sync with the
|
|
60
|
+
* shared BENS `/api/v1/protocols` resource).
|
|
61
|
+
*/
|
|
62
|
+
export declare enum NameServiceProtocol {
|
|
63
|
+
UNSPECIFIED_NAME_SERVICE_PROTOCOL = "UNSPECIFIED_NAME_SERVICE_PROTOCOL",
|
|
64
|
+
ENS = "ENS"
|
|
65
|
+
}
|
|
56
66
|
export interface DeployConfig {
|
|
57
67
|
rpc_url: string;
|
|
58
68
|
server_size: string;
|
|
@@ -85,7 +95,6 @@ export interface DeployConfig {
|
|
|
85
95
|
footer?: Footer | undefined;
|
|
86
96
|
optimism?: OptimismConfig | undefined;
|
|
87
97
|
arbitrum?: ArbitrumConfig | undefined;
|
|
88
|
-
polygon_zkevm?: PolygonZkEvmConfig | undefined;
|
|
89
98
|
zksync?: ZksyncConfig | undefined;
|
|
90
99
|
ads?: Ads | undefined;
|
|
91
100
|
meta_og?: MetaOg | undefined;
|
|
@@ -105,6 +114,7 @@ export interface DeployConfig {
|
|
|
105
114
|
stats_plugin_config?: StatsPluginConfig | undefined;
|
|
106
115
|
user_ops_plugin_config?: UserOpsPluginConfig | undefined;
|
|
107
116
|
admin_service_plugin_config?: AdminServicePluginConfig | undefined;
|
|
117
|
+
name_service_plugin_config?: NameServicePluginConfig | undefined;
|
|
108
118
|
monitoring?: MonitoringConfig | undefined;
|
|
109
119
|
versions_stack?: string | undefined;
|
|
110
120
|
parent_chain?: ParentChainConfig | undefined;
|
|
@@ -297,36 +307,6 @@ export interface ArbitrumConfig {
|
|
|
297
307
|
/** Deprecated: use parent_chain.base_url instead */
|
|
298
308
|
l1_blockscout_url?: string | undefined;
|
|
299
309
|
}
|
|
300
|
-
export interface PolygonZkEvmConfig {
|
|
301
|
-
/** INDEXER_POLYGON_ZKEVM_L1_RPC */
|
|
302
|
-
l1_rpc: string;
|
|
303
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_START_BLOCK */
|
|
304
|
-
l1_bridge_start_block: string;
|
|
305
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_CONTRACT */
|
|
306
|
-
l1_bridge_contract: string;
|
|
307
|
-
/** Deprecated: use parent_chain.base_url instead */
|
|
308
|
-
l1_blockscout_url?: string | undefined;
|
|
309
|
-
/** INDEXER_POLYGON_ZKEVM_BATCHES_CHUNK_SIZE */
|
|
310
|
-
batches_chunk_size?: string | undefined;
|
|
311
|
-
/** INDEXER_POLYGON_ZKEVM_BATCHES_RECHECK_INTERVAL */
|
|
312
|
-
batches_recheck_interval?: string | undefined;
|
|
313
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_NETWORK_ID */
|
|
314
|
-
l1_bridge_network_id?: string | undefined;
|
|
315
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_ROLLUP_INDEX */
|
|
316
|
-
l1_bridge_rollup_index?: string | undefined;
|
|
317
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_NATIVE_SYMBOL */
|
|
318
|
-
l1_bridge_native_symbol?: string | undefined;
|
|
319
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_NATIVE_DECIMALS */
|
|
320
|
-
l1_bridge_native_decimals?: string | undefined;
|
|
321
|
-
/** INDEXER_POLYGON_ZKEVM_L2_BRIDGE_START_BLOCK */
|
|
322
|
-
l2_bridge_start_block?: string | undefined;
|
|
323
|
-
/** INDEXER_POLYGON_ZKEVM_L2_BRIDGE_CONTRACT */
|
|
324
|
-
l2_bridge_contract?: string | undefined;
|
|
325
|
-
/** INDEXER_POLYGON_ZKEVM_L2_BRIDGE_NETWORK_ID */
|
|
326
|
-
l2_bridge_network_id?: string | undefined;
|
|
327
|
-
/** INDEXER_POLYGON_ZKEVM_L2_BRIDGE_ROLLUP_INDEX */
|
|
328
|
-
l2_bridge_rollup_index?: string | undefined;
|
|
329
|
-
}
|
|
330
310
|
export interface ZksyncConfig {
|
|
331
311
|
/** INDEXER_ZKSYNC_L1_RPC */
|
|
332
312
|
l1_rpc: string;
|
|
@@ -371,3 +351,11 @@ export interface AdminServicePluginConfig {
|
|
|
371
351
|
enabled: boolean;
|
|
372
352
|
initial_password?: string | undefined;
|
|
373
353
|
}
|
|
354
|
+
export interface NameServicePluginConfig {
|
|
355
|
+
enabled: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* Domain name protocols the chain resolves against, e.g. ["ens"].
|
|
358
|
+
* Validated against the supported set; passed to the frontend verbatim.
|
|
359
|
+
*/
|
|
360
|
+
protocols: NameServiceProtocol[];
|
|
361
|
+
}
|
package/dist/v1/config.js
CHANGED
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
// protoc v4.23.4
|
|
6
6
|
// source: v1/config.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.UserOpsTraceClient = exports.IndexerBlockTransformer = exports.AdBannerProvider = exports.AdTextProvider = exports.Identicon = exports.ColorTheme = exports.NavigationLayout = exports.NodeType = exports.ChainType = void 0;
|
|
8
|
+
exports.NameServiceProtocol = exports.UserOpsTraceClient = exports.IndexerBlockTransformer = exports.AdBannerProvider = exports.AdTextProvider = exports.Identicon = exports.ColorTheme = exports.NavigationLayout = exports.NodeType = exports.ChainType = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
var ChainType;
|
|
11
11
|
(function (ChainType) {
|
|
12
12
|
ChainType["UNSPECIFIED_CHAIN_TYPE"] = "UNSPECIFIED_CHAIN_TYPE";
|
|
13
13
|
ChainType["ARBITRUM"] = "ARBITRUM";
|
|
14
14
|
ChainType["OPTIMISM"] = "OPTIMISM";
|
|
15
|
-
ChainType["POLYGON_ZKEVM"] = "POLYGON_ZKEVM";
|
|
16
15
|
ChainType["ZKSYNC"] = "ZKSYNC";
|
|
17
16
|
})(ChainType || (exports.ChainType = ChainType = {}));
|
|
18
17
|
var NodeType;
|
|
@@ -58,6 +57,7 @@ var AdBannerProvider;
|
|
|
58
57
|
AdBannerProvider["UNSPECIFIED_AD_BANNER_PROVIDER"] = "UNSPECIFIED_AD_BANNER_PROVIDER";
|
|
59
58
|
AdBannerProvider["SLISE"] = "SLISE";
|
|
60
59
|
AdBannerProvider["BANNER_NONE"] = "BANNER_NONE";
|
|
60
|
+
AdBannerProvider["BANNER_SEVIO"] = "BANNER_SEVIO";
|
|
61
61
|
})(AdBannerProvider || (exports.AdBannerProvider = AdBannerProvider = {}));
|
|
62
62
|
var IndexerBlockTransformer;
|
|
63
63
|
(function (IndexerBlockTransformer) {
|
|
@@ -71,3 +71,14 @@ var UserOpsTraceClient;
|
|
|
71
71
|
UserOpsTraceClient["DEBUG"] = "DEBUG";
|
|
72
72
|
UserOpsTraceClient["TRACE"] = "TRACE";
|
|
73
73
|
})(UserOpsTraceClient || (exports.UserOpsTraceClient = UserOpsTraceClient = {}));
|
|
74
|
+
/**
|
|
75
|
+
* Domain name protocols the name service plugin can resolve against. The
|
|
76
|
+
* supported set is also enforced at runtime via the
|
|
77
|
+
* `supported_name_service_protocols` admin setting (kept in sync with the
|
|
78
|
+
* shared BENS `/api/v1/protocols` resource).
|
|
79
|
+
*/
|
|
80
|
+
var NameServiceProtocol;
|
|
81
|
+
(function (NameServiceProtocol) {
|
|
82
|
+
NameServiceProtocol["UNSPECIFIED_NAME_SERVICE_PROTOCOL"] = "UNSPECIFIED_NAME_SERVICE_PROTOCOL";
|
|
83
|
+
NameServiceProtocol["ENS"] = "ENS";
|
|
84
|
+
})(NameServiceProtocol || (exports.NameServiceProtocol = NameServiceProtocol = {}));
|
package/dist/v1/config.ts
CHANGED
|
@@ -10,7 +10,6 @@ export enum ChainType {
|
|
|
10
10
|
UNSPECIFIED_CHAIN_TYPE = "UNSPECIFIED_CHAIN_TYPE",
|
|
11
11
|
ARBITRUM = "ARBITRUM",
|
|
12
12
|
OPTIMISM = "OPTIMISM",
|
|
13
|
-
POLYGON_ZKEVM = "POLYGON_ZKEVM",
|
|
14
13
|
ZKSYNC = "ZKSYNC",
|
|
15
14
|
}
|
|
16
15
|
|
|
@@ -56,6 +55,7 @@ export enum AdBannerProvider {
|
|
|
56
55
|
UNSPECIFIED_AD_BANNER_PROVIDER = "UNSPECIFIED_AD_BANNER_PROVIDER",
|
|
57
56
|
SLISE = "SLISE",
|
|
58
57
|
BANNER_NONE = "BANNER_NONE",
|
|
58
|
+
BANNER_SEVIO = "BANNER_SEVIO",
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
export enum IndexerBlockTransformer {
|
|
@@ -70,6 +70,17 @@ export enum UserOpsTraceClient {
|
|
|
70
70
|
TRACE = "TRACE",
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Domain name protocols the name service plugin can resolve against. The
|
|
75
|
+
* supported set is also enforced at runtime via the
|
|
76
|
+
* `supported_name_service_protocols` admin setting (kept in sync with the
|
|
77
|
+
* shared BENS `/api/v1/protocols` resource).
|
|
78
|
+
*/
|
|
79
|
+
export enum NameServiceProtocol {
|
|
80
|
+
UNSPECIFIED_NAME_SERVICE_PROTOCOL = "UNSPECIFIED_NAME_SERVICE_PROTOCOL",
|
|
81
|
+
ENS = "ENS",
|
|
82
|
+
}
|
|
83
|
+
|
|
73
84
|
export interface DeployConfig {
|
|
74
85
|
rpc_url: string;
|
|
75
86
|
server_size: string;
|
|
@@ -104,7 +115,6 @@ export interface DeployConfig {
|
|
|
104
115
|
footer?: Footer | undefined;
|
|
105
116
|
optimism?: OptimismConfig | undefined;
|
|
106
117
|
arbitrum?: ArbitrumConfig | undefined;
|
|
107
|
-
polygon_zkevm?: PolygonZkEvmConfig | undefined;
|
|
108
118
|
zksync?: ZksyncConfig | undefined;
|
|
109
119
|
ads?: Ads | undefined;
|
|
110
120
|
meta_og?: MetaOg | undefined;
|
|
@@ -124,6 +134,7 @@ export interface DeployConfig {
|
|
|
124
134
|
stats_plugin_config?: StatsPluginConfig | undefined;
|
|
125
135
|
user_ops_plugin_config?: UserOpsPluginConfig | undefined;
|
|
126
136
|
admin_service_plugin_config?: AdminServicePluginConfig | undefined;
|
|
137
|
+
name_service_plugin_config?: NameServicePluginConfig | undefined;
|
|
127
138
|
monitoring?: MonitoringConfig | undefined;
|
|
128
139
|
versions_stack?: string | undefined;
|
|
129
140
|
parent_chain?: ParentChainConfig | undefined;
|
|
@@ -410,57 +421,6 @@ export interface ArbitrumConfig {
|
|
|
410
421
|
l1_blockscout_url?: string | undefined;
|
|
411
422
|
}
|
|
412
423
|
|
|
413
|
-
export interface PolygonZkEvmConfig {
|
|
414
|
-
/** INDEXER_POLYGON_ZKEVM_L1_RPC */
|
|
415
|
-
l1_rpc: string;
|
|
416
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_START_BLOCK */
|
|
417
|
-
l1_bridge_start_block: string;
|
|
418
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_CONTRACT */
|
|
419
|
-
l1_bridge_contract: string;
|
|
420
|
-
/** Deprecated: use parent_chain.base_url instead */
|
|
421
|
-
l1_blockscout_url?:
|
|
422
|
-
| string
|
|
423
|
-
| undefined;
|
|
424
|
-
/** INDEXER_POLYGON_ZKEVM_BATCHES_CHUNK_SIZE */
|
|
425
|
-
batches_chunk_size?:
|
|
426
|
-
| string
|
|
427
|
-
| undefined;
|
|
428
|
-
/** INDEXER_POLYGON_ZKEVM_BATCHES_RECHECK_INTERVAL */
|
|
429
|
-
batches_recheck_interval?:
|
|
430
|
-
| string
|
|
431
|
-
| undefined;
|
|
432
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_NETWORK_ID */
|
|
433
|
-
l1_bridge_network_id?:
|
|
434
|
-
| string
|
|
435
|
-
| undefined;
|
|
436
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_ROLLUP_INDEX */
|
|
437
|
-
l1_bridge_rollup_index?:
|
|
438
|
-
| string
|
|
439
|
-
| undefined;
|
|
440
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_NATIVE_SYMBOL */
|
|
441
|
-
l1_bridge_native_symbol?:
|
|
442
|
-
| string
|
|
443
|
-
| undefined;
|
|
444
|
-
/** INDEXER_POLYGON_ZKEVM_L1_BRIDGE_NATIVE_DECIMALS */
|
|
445
|
-
l1_bridge_native_decimals?:
|
|
446
|
-
| string
|
|
447
|
-
| undefined;
|
|
448
|
-
/** INDEXER_POLYGON_ZKEVM_L2_BRIDGE_START_BLOCK */
|
|
449
|
-
l2_bridge_start_block?:
|
|
450
|
-
| string
|
|
451
|
-
| undefined;
|
|
452
|
-
/** INDEXER_POLYGON_ZKEVM_L2_BRIDGE_CONTRACT */
|
|
453
|
-
l2_bridge_contract?:
|
|
454
|
-
| string
|
|
455
|
-
| undefined;
|
|
456
|
-
/** INDEXER_POLYGON_ZKEVM_L2_BRIDGE_NETWORK_ID */
|
|
457
|
-
l2_bridge_network_id?:
|
|
458
|
-
| string
|
|
459
|
-
| undefined;
|
|
460
|
-
/** INDEXER_POLYGON_ZKEVM_L2_BRIDGE_ROLLUP_INDEX */
|
|
461
|
-
l2_bridge_rollup_index?: string | undefined;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
424
|
export interface ZksyncConfig {
|
|
465
425
|
/** INDEXER_ZKSYNC_L1_RPC */
|
|
466
426
|
l1_rpc: string;
|
|
@@ -519,3 +479,12 @@ export interface AdminServicePluginConfig {
|
|
|
519
479
|
enabled: boolean;
|
|
520
480
|
initial_password?: string | undefined;
|
|
521
481
|
}
|
|
482
|
+
|
|
483
|
+
export interface NameServicePluginConfig {
|
|
484
|
+
enabled: boolean;
|
|
485
|
+
/**
|
|
486
|
+
* Domain name protocols the chain resolves against, e.g. ["ens"].
|
|
487
|
+
* Validated against the supported set; passed to the frontend verbatim.
|
|
488
|
+
*/
|
|
489
|
+
protocols: NameServiceProtocol[];
|
|
490
|
+
}
|
package/dist/v1/config_schema.ts
CHANGED