@blockscout/autoscout-types 1.10.0 → 1.11.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 +96 -1
- package/dist/v1/autoscout.js +16 -1
- package/dist/v1/autoscout.ts +110 -0
- package/dist/v1/config.d.ts +48 -2
- package/dist/v1/config.ts +76 -3
- package/package.json +1 -1
package/dist/v1/autoscout.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ export declare enum DepositType {
|
|
|
30
30
|
STRIPE = "DEPOSIT_TYPE_STRIPE",
|
|
31
31
|
COINBASE = "DEPOSIT_TYPE_COINBASE",
|
|
32
32
|
DAIMO = "DEPOSIT_TYPE_DAIMO",
|
|
33
|
-
PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS"
|
|
33
|
+
PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS",
|
|
34
|
+
REQUEST_NETWORK = "DEPOSIT_TYPE_REQUEST_NETWORK"
|
|
34
35
|
}
|
|
35
36
|
export declare enum PluginVariant {
|
|
36
37
|
UNSPECIFIED_PLUGIN_VARIANT = "UNSPECIFIED_PLUGIN_VARIANT",
|
|
@@ -47,6 +48,18 @@ export declare enum PluginEventType {
|
|
|
47
48
|
STATUS_CHANGE = "PLUGIN_EVENT_TYPE_STATUS_CHANGE",
|
|
48
49
|
HEALTH_CHANGE = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE"
|
|
49
50
|
}
|
|
51
|
+
export declare enum BillingProviderType {
|
|
52
|
+
UNSPECIFIED_BILLING_PROVIDER_TYPE = "UNSPECIFIED_BILLING_PROVIDER_TYPE",
|
|
53
|
+
STRIPE = "BILLING_PROVIDER_TYPE_STRIPE",
|
|
54
|
+
DAIMO = "BILLING_PROVIDER_TYPE_DAIMO"
|
|
55
|
+
}
|
|
56
|
+
export declare enum BillingSubscriptionStatus {
|
|
57
|
+
UNSPECIFIED_BILLING_SUBSCRIPTION_STATUS = "UNSPECIFIED_BILLING_SUBSCRIPTION_STATUS",
|
|
58
|
+
ACTIVE = "BILLING_SUBSCRIPTION_STATUS_ACTIVE",
|
|
59
|
+
PAUSED = "BILLING_SUBSCRIPTION_STATUS_PAUSED",
|
|
60
|
+
CANCELED = "BILLING_SUBSCRIPTION_STATUS_CANCELED",
|
|
61
|
+
UNCONFIRMED = "BILLING_SUBSCRIPTION_STATUS_UNCONFIRMED"
|
|
62
|
+
}
|
|
50
63
|
export interface HealthStatus {
|
|
51
64
|
ok: boolean;
|
|
52
65
|
last_check: string;
|
|
@@ -368,6 +381,83 @@ export interface ListPluginLogsResponse {
|
|
|
368
381
|
}
|
|
369
382
|
export interface GetProfileRequest {
|
|
370
383
|
}
|
|
384
|
+
export interface GetBillingRequest {
|
|
385
|
+
}
|
|
386
|
+
export interface PayAsYouGoEstimation {
|
|
387
|
+
amount_usd: string;
|
|
388
|
+
period_start?: string | undefined;
|
|
389
|
+
period_seconds_passed?: string | undefined;
|
|
390
|
+
period_end?: string | undefined;
|
|
391
|
+
period_seconds_remaining?: string | undefined;
|
|
392
|
+
estimated_amount_usd_for_remaining_period: string;
|
|
393
|
+
total_estimated_amount_usd_full_period: string;
|
|
394
|
+
}
|
|
395
|
+
export interface PayAsYouGoInfo {
|
|
396
|
+
enabled: boolean;
|
|
397
|
+
estimation: PayAsYouGoEstimation | undefined;
|
|
398
|
+
provider_type: BillingProviderType;
|
|
399
|
+
status: BillingSubscriptionStatus;
|
|
400
|
+
customer_portal_url?: string | undefined;
|
|
401
|
+
}
|
|
402
|
+
export interface BillingDeploymentStatus {
|
|
403
|
+
status: DeploymentStatus;
|
|
404
|
+
}
|
|
405
|
+
export interface BillingPluginPrice {
|
|
406
|
+
plugin_type: PluginVariant;
|
|
407
|
+
base_price_per_month_usd: string;
|
|
408
|
+
}
|
|
409
|
+
export interface BillingStorageEstimation {
|
|
410
|
+
current_overage_mb: string;
|
|
411
|
+
cost_per_gb_hour_usd: string;
|
|
412
|
+
per_month_if_usage_same_usd: string;
|
|
413
|
+
}
|
|
414
|
+
export interface BillingPriceEstimation {
|
|
415
|
+
total_per_month_usd: string;
|
|
416
|
+
base_per_month_usd: string;
|
|
417
|
+
plugins: BillingPluginPrice[];
|
|
418
|
+
storage: BillingStorageEstimation | undefined;
|
|
419
|
+
}
|
|
420
|
+
export interface BillingInstanceItem {
|
|
421
|
+
name: string;
|
|
422
|
+
instance_id: string;
|
|
423
|
+
deployment: BillingDeploymentStatus | undefined;
|
|
424
|
+
price_estimation: BillingPriceEstimation | undefined;
|
|
425
|
+
icon_url?: string | undefined;
|
|
426
|
+
}
|
|
427
|
+
export interface BillingInstancesPrice {
|
|
428
|
+
total_items: number;
|
|
429
|
+
total_price_per_month: string;
|
|
430
|
+
items: BillingInstanceItem[];
|
|
431
|
+
}
|
|
432
|
+
export interface BillingUsagePlugin {
|
|
433
|
+
plugin_type: PluginVariant;
|
|
434
|
+
amount_usd: string;
|
|
435
|
+
}
|
|
436
|
+
export interface BillingUsageByInstance {
|
|
437
|
+
instance_name: string;
|
|
438
|
+
instance_id: string;
|
|
439
|
+
total_amount_usd: string;
|
|
440
|
+
base_amount_usd: string;
|
|
441
|
+
storage_amount_usd: string;
|
|
442
|
+
plugins: BillingUsagePlugin[];
|
|
443
|
+
icon_url?: string | undefined;
|
|
444
|
+
}
|
|
445
|
+
export interface BillingUsage {
|
|
446
|
+
period_start: string;
|
|
447
|
+
period_end: string;
|
|
448
|
+
total_amount_usd: string;
|
|
449
|
+
instances: BillingUsageByInstance[];
|
|
450
|
+
deducted_from_balance_usd: string;
|
|
451
|
+
}
|
|
452
|
+
export interface GetBillingResponse {
|
|
453
|
+
pay_as_you_go: PayAsYouGoInfo | undefined;
|
|
454
|
+
balance_reaches_zero_in_seconds?: string | undefined;
|
|
455
|
+
estimated_amount_usd_per_second?: string | undefined;
|
|
456
|
+
estimated_total_amount_usd_per_month?: string | undefined;
|
|
457
|
+
instances_price: BillingInstancesPrice | undefined;
|
|
458
|
+
usage: BillingUsage | undefined;
|
|
459
|
+
balance_usd: string;
|
|
460
|
+
}
|
|
371
461
|
export interface ListAuthTokensRequest {
|
|
372
462
|
page?: number | undefined;
|
|
373
463
|
per_page?: number | undefined;
|
|
@@ -485,6 +575,9 @@ export interface GetStripeSubscriptionStatusRequest {
|
|
|
485
575
|
}
|
|
486
576
|
export interface GetStripeSubscriptionStatusResponse {
|
|
487
577
|
is_active: boolean;
|
|
578
|
+
current_period_end?: string | undefined;
|
|
579
|
+
cancels_at?: string | undefined;
|
|
580
|
+
current_period_start?: string | undefined;
|
|
488
581
|
}
|
|
489
582
|
export interface GetStripeCustomerPortalRequest {
|
|
490
583
|
}
|
|
@@ -547,6 +640,8 @@ export interface Autoscout {
|
|
|
547
640
|
RegisterProfile(request: RegisterProfileRequest): Promise<RegisterProfileResponse>;
|
|
548
641
|
/** Get information about current account */
|
|
549
642
|
GetProfile(request: GetProfileRequest): Promise<UserProfile>;
|
|
643
|
+
/** Get current billing status for the authenticated user */
|
|
644
|
+
GetBilling(request: GetBillingRequest): Promise<GetBillingResponse>;
|
|
550
645
|
/** Generate auth api token for current account */
|
|
551
646
|
CreateAuthToken(request: CreateAuthTokenRequest): Promise<AuthToken>;
|
|
552
647
|
/** Get list of all auth tokens for current account */
|
package/dist/v1/autoscout.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v4.23.4
|
|
6
6
|
// source: v1/autoscout.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.PluginEventType = exports.PluginStatus = exports.PluginVariant = exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
|
|
8
|
+
exports.BillingSubscriptionStatus = exports.BillingProviderType = exports.PluginEventType = exports.PluginStatus = exports.PluginVariant = exports.DepositType = exports.DepositStatus = exports.UpdateInstanceAction = exports.DeploymentStatus = void 0;
|
|
9
9
|
var DeploymentStatus;
|
|
10
10
|
(function (DeploymentStatus) {
|
|
11
11
|
DeploymentStatus["NO_STATUS"] = "NO_STATUS";
|
|
@@ -41,6 +41,7 @@ var DepositType;
|
|
|
41
41
|
DepositType["COINBASE"] = "DEPOSIT_TYPE_COINBASE";
|
|
42
42
|
DepositType["DAIMO"] = "DEPOSIT_TYPE_DAIMO";
|
|
43
43
|
DepositType["PROMOTION_FLAT_BONUS"] = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS";
|
|
44
|
+
DepositType["REQUEST_NETWORK"] = "DEPOSIT_TYPE_REQUEST_NETWORK";
|
|
44
45
|
})(DepositType || (exports.DepositType = DepositType = {}));
|
|
45
46
|
var PluginVariant;
|
|
46
47
|
(function (PluginVariant) {
|
|
@@ -60,3 +61,17 @@ var PluginEventType;
|
|
|
60
61
|
PluginEventType["STATUS_CHANGE"] = "PLUGIN_EVENT_TYPE_STATUS_CHANGE";
|
|
61
62
|
PluginEventType["HEALTH_CHANGE"] = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE";
|
|
62
63
|
})(PluginEventType || (exports.PluginEventType = PluginEventType = {}));
|
|
64
|
+
var BillingProviderType;
|
|
65
|
+
(function (BillingProviderType) {
|
|
66
|
+
BillingProviderType["UNSPECIFIED_BILLING_PROVIDER_TYPE"] = "UNSPECIFIED_BILLING_PROVIDER_TYPE";
|
|
67
|
+
BillingProviderType["STRIPE"] = "BILLING_PROVIDER_TYPE_STRIPE";
|
|
68
|
+
BillingProviderType["DAIMO"] = "BILLING_PROVIDER_TYPE_DAIMO";
|
|
69
|
+
})(BillingProviderType || (exports.BillingProviderType = BillingProviderType = {}));
|
|
70
|
+
var BillingSubscriptionStatus;
|
|
71
|
+
(function (BillingSubscriptionStatus) {
|
|
72
|
+
BillingSubscriptionStatus["UNSPECIFIED_BILLING_SUBSCRIPTION_STATUS"] = "UNSPECIFIED_BILLING_SUBSCRIPTION_STATUS";
|
|
73
|
+
BillingSubscriptionStatus["ACTIVE"] = "BILLING_SUBSCRIPTION_STATUS_ACTIVE";
|
|
74
|
+
BillingSubscriptionStatus["PAUSED"] = "BILLING_SUBSCRIPTION_STATUS_PAUSED";
|
|
75
|
+
BillingSubscriptionStatus["CANCELED"] = "BILLING_SUBSCRIPTION_STATUS_CANCELED";
|
|
76
|
+
BillingSubscriptionStatus["UNCONFIRMED"] = "BILLING_SUBSCRIPTION_STATUS_UNCONFIRMED";
|
|
77
|
+
})(BillingSubscriptionStatus || (exports.BillingSubscriptionStatus = BillingSubscriptionStatus = {}));
|
package/dist/v1/autoscout.ts
CHANGED
|
@@ -42,6 +42,7 @@ export enum DepositType {
|
|
|
42
42
|
COINBASE = "DEPOSIT_TYPE_COINBASE",
|
|
43
43
|
DAIMO = "DEPOSIT_TYPE_DAIMO",
|
|
44
44
|
PROMOTION_FLAT_BONUS = "DEPOSIT_TYPE_PROMOTION_FLAT_BONUS",
|
|
45
|
+
REQUEST_NETWORK = "DEPOSIT_TYPE_REQUEST_NETWORK",
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
export enum PluginVariant {
|
|
@@ -62,6 +63,20 @@ export enum PluginEventType {
|
|
|
62
63
|
HEALTH_CHANGE = "PLUGIN_EVENT_TYPE_HEALTH_CHANGE",
|
|
63
64
|
}
|
|
64
65
|
|
|
66
|
+
export enum BillingProviderType {
|
|
67
|
+
UNSPECIFIED_BILLING_PROVIDER_TYPE = "UNSPECIFIED_BILLING_PROVIDER_TYPE",
|
|
68
|
+
STRIPE = "BILLING_PROVIDER_TYPE_STRIPE",
|
|
69
|
+
DAIMO = "BILLING_PROVIDER_TYPE_DAIMO",
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export enum BillingSubscriptionStatus {
|
|
73
|
+
UNSPECIFIED_BILLING_SUBSCRIPTION_STATUS = "UNSPECIFIED_BILLING_SUBSCRIPTION_STATUS",
|
|
74
|
+
ACTIVE = "BILLING_SUBSCRIPTION_STATUS_ACTIVE",
|
|
75
|
+
PAUSED = "BILLING_SUBSCRIPTION_STATUS_PAUSED",
|
|
76
|
+
CANCELED = "BILLING_SUBSCRIPTION_STATUS_CANCELED",
|
|
77
|
+
UNCONFIRMED = "BILLING_SUBSCRIPTION_STATUS_UNCONFIRMED",
|
|
78
|
+
}
|
|
79
|
+
|
|
65
80
|
export interface HealthStatus {
|
|
66
81
|
ok: boolean;
|
|
67
82
|
last_check: string;
|
|
@@ -433,6 +448,96 @@ export interface ListPluginLogsResponse {
|
|
|
433
448
|
export interface GetProfileRequest {
|
|
434
449
|
}
|
|
435
450
|
|
|
451
|
+
export interface GetBillingRequest {
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export interface PayAsYouGoEstimation {
|
|
455
|
+
amount_usd: string;
|
|
456
|
+
period_start?: string | undefined;
|
|
457
|
+
period_seconds_passed?: string | undefined;
|
|
458
|
+
period_end?: string | undefined;
|
|
459
|
+
period_seconds_remaining?: string | undefined;
|
|
460
|
+
estimated_amount_usd_for_remaining_period: string;
|
|
461
|
+
total_estimated_amount_usd_full_period: string;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export interface PayAsYouGoInfo {
|
|
465
|
+
enabled: boolean;
|
|
466
|
+
estimation: PayAsYouGoEstimation | undefined;
|
|
467
|
+
provider_type: BillingProviderType;
|
|
468
|
+
status: BillingSubscriptionStatus;
|
|
469
|
+
customer_portal_url?: string | undefined;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export interface BillingDeploymentStatus {
|
|
473
|
+
status: DeploymentStatus;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export interface BillingPluginPrice {
|
|
477
|
+
plugin_type: PluginVariant;
|
|
478
|
+
base_price_per_month_usd: string;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export interface BillingStorageEstimation {
|
|
482
|
+
current_overage_mb: string;
|
|
483
|
+
cost_per_gb_hour_usd: string;
|
|
484
|
+
per_month_if_usage_same_usd: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export interface BillingPriceEstimation {
|
|
488
|
+
total_per_month_usd: string;
|
|
489
|
+
base_per_month_usd: string;
|
|
490
|
+
plugins: BillingPluginPrice[];
|
|
491
|
+
storage: BillingStorageEstimation | undefined;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export interface BillingInstanceItem {
|
|
495
|
+
name: string;
|
|
496
|
+
instance_id: string;
|
|
497
|
+
deployment: BillingDeploymentStatus | undefined;
|
|
498
|
+
price_estimation: BillingPriceEstimation | undefined;
|
|
499
|
+
icon_url?: string | undefined;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export interface BillingInstancesPrice {
|
|
503
|
+
total_items: number;
|
|
504
|
+
total_price_per_month: string;
|
|
505
|
+
items: BillingInstanceItem[];
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export interface BillingUsagePlugin {
|
|
509
|
+
plugin_type: PluginVariant;
|
|
510
|
+
amount_usd: string;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export interface BillingUsageByInstance {
|
|
514
|
+
instance_name: string;
|
|
515
|
+
instance_id: string;
|
|
516
|
+
total_amount_usd: string;
|
|
517
|
+
base_amount_usd: string;
|
|
518
|
+
storage_amount_usd: string;
|
|
519
|
+
plugins: BillingUsagePlugin[];
|
|
520
|
+
icon_url?: string | undefined;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export interface BillingUsage {
|
|
524
|
+
period_start: string;
|
|
525
|
+
period_end: string;
|
|
526
|
+
total_amount_usd: string;
|
|
527
|
+
instances: BillingUsageByInstance[];
|
|
528
|
+
deducted_from_balance_usd: string;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export interface GetBillingResponse {
|
|
532
|
+
pay_as_you_go: PayAsYouGoInfo | undefined;
|
|
533
|
+
balance_reaches_zero_in_seconds?: string | undefined;
|
|
534
|
+
estimated_amount_usd_per_second?: string | undefined;
|
|
535
|
+
estimated_total_amount_usd_per_month?: string | undefined;
|
|
536
|
+
instances_price: BillingInstancesPrice | undefined;
|
|
537
|
+
usage: BillingUsage | undefined;
|
|
538
|
+
balance_usd: string;
|
|
539
|
+
}
|
|
540
|
+
|
|
436
541
|
export interface ListAuthTokensRequest {
|
|
437
542
|
page?: number | undefined;
|
|
438
543
|
per_page?: number | undefined;
|
|
@@ -582,6 +687,9 @@ export interface GetStripeSubscriptionStatusRequest {
|
|
|
582
687
|
|
|
583
688
|
export interface GetStripeSubscriptionStatusResponse {
|
|
584
689
|
is_active: boolean;
|
|
690
|
+
current_period_end?: string | undefined;
|
|
691
|
+
cancels_at?: string | undefined;
|
|
692
|
+
current_period_start?: string | undefined;
|
|
585
693
|
}
|
|
586
694
|
|
|
587
695
|
export interface GetStripeCustomerPortalRequest {
|
|
@@ -651,6 +759,8 @@ export interface Autoscout {
|
|
|
651
759
|
RegisterProfile(request: RegisterProfileRequest): Promise<RegisterProfileResponse>;
|
|
652
760
|
/** Get information about current account */
|
|
653
761
|
GetProfile(request: GetProfileRequest): Promise<UserProfile>;
|
|
762
|
+
/** Get current billing status for the authenticated user */
|
|
763
|
+
GetBilling(request: GetBillingRequest): Promise<GetBillingResponse>;
|
|
654
764
|
/** Generate auth api token for current account */
|
|
655
765
|
CreateAuthToken(request: CreateAuthTokenRequest): Promise<AuthToken>;
|
|
656
766
|
/** Get list of all auth tokens for current account */
|
package/dist/v1/config.d.ts
CHANGED
|
@@ -106,6 +106,16 @@ export interface DeployConfig {
|
|
|
106
106
|
user_ops_plugin_config?: UserOpsPluginConfig | undefined;
|
|
107
107
|
monitoring?: MonitoringConfig | undefined;
|
|
108
108
|
versions_stack?: string | undefined;
|
|
109
|
+
parent_chain?: ParentChainConfig | undefined;
|
|
110
|
+
rpc_user?: string | undefined;
|
|
111
|
+
rpc_password?: string | undefined;
|
|
112
|
+
eip_1559_base_fee_max_change_denominator?: string | undefined;
|
|
113
|
+
basic_auth?: BasicAuthConfig | undefined;
|
|
114
|
+
}
|
|
115
|
+
export interface BasicAuthConfig {
|
|
116
|
+
enabled?: boolean | undefined;
|
|
117
|
+
username?: string | undefined;
|
|
118
|
+
password?: string | undefined;
|
|
109
119
|
}
|
|
110
120
|
export interface Footer {
|
|
111
121
|
columns: FooterColumn[];
|
|
@@ -142,6 +152,20 @@ export interface MenuItem {
|
|
|
142
152
|
export interface StringList {
|
|
143
153
|
values: string[];
|
|
144
154
|
}
|
|
155
|
+
export interface ParentChainCurrency {
|
|
156
|
+
name?: string | undefined;
|
|
157
|
+
symbol?: string | undefined;
|
|
158
|
+
decimals?: string | undefined;
|
|
159
|
+
}
|
|
160
|
+
export interface ParentChainConfig {
|
|
161
|
+
id?: string | undefined;
|
|
162
|
+
name?: string | undefined;
|
|
163
|
+
/** Required: parent chain blockscout explorer URL */
|
|
164
|
+
base_url: string;
|
|
165
|
+
rpc_urls: string[];
|
|
166
|
+
currency?: ParentChainCurrency | undefined;
|
|
167
|
+
is_testnet?: boolean | undefined;
|
|
168
|
+
}
|
|
145
169
|
export interface HeroBanner {
|
|
146
170
|
background: string[];
|
|
147
171
|
text_color: string[];
|
|
@@ -182,6 +206,10 @@ export interface IndexerConfig {
|
|
|
182
206
|
disable_pending_fetcher?: boolean | undefined;
|
|
183
207
|
/** BLOCK_TRANSFORMER */
|
|
184
208
|
block_transformer: IndexerBlockTransformer;
|
|
209
|
+
/** FIRST_BLOCK */
|
|
210
|
+
first_block?: string | undefined;
|
|
211
|
+
/** LAST_BLOCK */
|
|
212
|
+
last_block?: string | undefined;
|
|
185
213
|
}
|
|
186
214
|
export interface MonitoringConfig {
|
|
187
215
|
enabled?: boolean | undefined;
|
|
@@ -209,14 +237,32 @@ export interface OptimismConfig {
|
|
|
209
237
|
l2_withdrawals_start_block?: string | undefined;
|
|
210
238
|
/** changes blockscout env INDEXER_OPTIMISM_L2_MESSAGE_PASSER_CONTRACT */
|
|
211
239
|
l2_message_passer_contract?: string | undefined;
|
|
212
|
-
/**
|
|
213
|
-
l1_blockscout_url
|
|
240
|
+
/** Deprecated: use parent_chain.base_url instead */
|
|
241
|
+
l1_blockscout_url?: string | undefined;
|
|
214
242
|
/** NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL */
|
|
215
243
|
l2_withdrawal_url: string;
|
|
216
244
|
/** NEXT_PUBLIC_FAULT_PROOF_ENABLED */
|
|
217
245
|
l2_fault_proof_enabled?: boolean | undefined;
|
|
218
246
|
/** NEXT_PUBLIC_HAS_MUD_FRAMEWORK */
|
|
219
247
|
has_mud_framework?: boolean | undefined;
|
|
248
|
+
/** NEXT_PUBLIC_FLASHBLOCKS_SOCKET_URL */
|
|
249
|
+
flashblocks_socket_url?: string | undefined;
|
|
250
|
+
/** INDEXER_OPTIMISM_BLOCK_DURATION */
|
|
251
|
+
block_duration?: string | undefined;
|
|
252
|
+
/** INDEXER_OPTIMISM_L1_DEPOSITS_TRANSACTION_TYPE */
|
|
253
|
+
l1_deposits_transaction_type?: string | undefined;
|
|
254
|
+
/** INDEXER_OPTIMISM_L1_ETH_GET_LOGS_RANGE_SIZE */
|
|
255
|
+
l1_eth_get_logs_range_size?: string | undefined;
|
|
256
|
+
/** INDEXER_OPTIMISM_L2_ETH_GET_LOGS_RANGE_SIZE */
|
|
257
|
+
l2_eth_get_logs_range_size?: string | undefined;
|
|
258
|
+
/** INDEXER_OPTIMISM_L2_HOLOCENE_TIMESTAMP */
|
|
259
|
+
l2_holocene_timestamp?: string | undefined;
|
|
260
|
+
/** INDEXER_OPTIMISM_L2_ISTHMUS_TIMESTAMP */
|
|
261
|
+
l2_isthmus_timestamp?: string | undefined;
|
|
262
|
+
/** INDEXER_OPTIMISM_L2_JOVIAN_TIMESTAMP */
|
|
263
|
+
l2_jovian_timestamp?: string | undefined;
|
|
264
|
+
/** INDEXER_OPTIMISM_L1_BATCH_ALT_DA_SERVER_URL */
|
|
265
|
+
l1_batch_alt_da_server_url?: string | undefined;
|
|
220
266
|
beacon_rpc_url?: string | undefined;
|
|
221
267
|
beacon_blob_fetcher_reference_slot?: string | undefined;
|
|
222
268
|
beacon_blob_fetcher_slot_duration?: string | undefined;
|
package/dist/v1/config.ts
CHANGED
|
@@ -125,6 +125,17 @@ export interface DeployConfig {
|
|
|
125
125
|
user_ops_plugin_config?: UserOpsPluginConfig | undefined;
|
|
126
126
|
monitoring?: MonitoringConfig | undefined;
|
|
127
127
|
versions_stack?: string | undefined;
|
|
128
|
+
parent_chain?: ParentChainConfig | undefined;
|
|
129
|
+
rpc_user?: string | undefined;
|
|
130
|
+
rpc_password?: string | undefined;
|
|
131
|
+
eip_1559_base_fee_max_change_denominator?: string | undefined;
|
|
132
|
+
basic_auth?: BasicAuthConfig | undefined;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export interface BasicAuthConfig {
|
|
136
|
+
enabled?: boolean | undefined;
|
|
137
|
+
username?: string | undefined;
|
|
138
|
+
password?: string | undefined;
|
|
128
139
|
}
|
|
129
140
|
|
|
130
141
|
export interface Footer {
|
|
@@ -171,6 +182,24 @@ export interface StringList {
|
|
|
171
182
|
values: string[];
|
|
172
183
|
}
|
|
173
184
|
|
|
185
|
+
export interface ParentChainCurrency {
|
|
186
|
+
name?: string | undefined;
|
|
187
|
+
symbol?: string | undefined;
|
|
188
|
+
decimals?: string | undefined;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export interface ParentChainConfig {
|
|
192
|
+
id?: string | undefined;
|
|
193
|
+
name?:
|
|
194
|
+
| string
|
|
195
|
+
| undefined;
|
|
196
|
+
/** Required: parent chain blockscout explorer URL */
|
|
197
|
+
base_url: string;
|
|
198
|
+
rpc_urls: string[];
|
|
199
|
+
currency?: ParentChainCurrency | undefined;
|
|
200
|
+
is_testnet?: boolean | undefined;
|
|
201
|
+
}
|
|
202
|
+
|
|
174
203
|
export interface HeroBanner {
|
|
175
204
|
background: string[];
|
|
176
205
|
text_color: string[];
|
|
@@ -236,6 +265,12 @@ export interface IndexerConfig {
|
|
|
236
265
|
| undefined;
|
|
237
266
|
/** BLOCK_TRANSFORMER */
|
|
238
267
|
block_transformer: IndexerBlockTransformer;
|
|
268
|
+
/** FIRST_BLOCK */
|
|
269
|
+
first_block?:
|
|
270
|
+
| string
|
|
271
|
+
| undefined;
|
|
272
|
+
/** LAST_BLOCK */
|
|
273
|
+
last_block?: string | undefined;
|
|
239
274
|
}
|
|
240
275
|
|
|
241
276
|
export interface MonitoringConfig {
|
|
@@ -285,8 +320,10 @@ export interface OptimismConfig {
|
|
|
285
320
|
l2_message_passer_contract?:
|
|
286
321
|
| string
|
|
287
322
|
| undefined;
|
|
288
|
-
/**
|
|
289
|
-
l1_blockscout_url
|
|
323
|
+
/** Deprecated: use parent_chain.base_url instead */
|
|
324
|
+
l1_blockscout_url?:
|
|
325
|
+
| string
|
|
326
|
+
| undefined;
|
|
290
327
|
/** NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL */
|
|
291
328
|
l2_withdrawal_url: string;
|
|
292
329
|
/** NEXT_PUBLIC_FAULT_PROOF_ENABLED */
|
|
@@ -294,7 +331,43 @@ export interface OptimismConfig {
|
|
|
294
331
|
| boolean
|
|
295
332
|
| undefined;
|
|
296
333
|
/** NEXT_PUBLIC_HAS_MUD_FRAMEWORK */
|
|
297
|
-
has_mud_framework?:
|
|
334
|
+
has_mud_framework?:
|
|
335
|
+
| boolean
|
|
336
|
+
| undefined;
|
|
337
|
+
/** NEXT_PUBLIC_FLASHBLOCKS_SOCKET_URL */
|
|
338
|
+
flashblocks_socket_url?:
|
|
339
|
+
| string
|
|
340
|
+
| undefined;
|
|
341
|
+
/** INDEXER_OPTIMISM_BLOCK_DURATION */
|
|
342
|
+
block_duration?:
|
|
343
|
+
| string
|
|
344
|
+
| undefined;
|
|
345
|
+
/** INDEXER_OPTIMISM_L1_DEPOSITS_TRANSACTION_TYPE */
|
|
346
|
+
l1_deposits_transaction_type?:
|
|
347
|
+
| string
|
|
348
|
+
| undefined;
|
|
349
|
+
/** INDEXER_OPTIMISM_L1_ETH_GET_LOGS_RANGE_SIZE */
|
|
350
|
+
l1_eth_get_logs_range_size?:
|
|
351
|
+
| string
|
|
352
|
+
| undefined;
|
|
353
|
+
/** INDEXER_OPTIMISM_L2_ETH_GET_LOGS_RANGE_SIZE */
|
|
354
|
+
l2_eth_get_logs_range_size?:
|
|
355
|
+
| string
|
|
356
|
+
| undefined;
|
|
357
|
+
/** INDEXER_OPTIMISM_L2_HOLOCENE_TIMESTAMP */
|
|
358
|
+
l2_holocene_timestamp?:
|
|
359
|
+
| string
|
|
360
|
+
| undefined;
|
|
361
|
+
/** INDEXER_OPTIMISM_L2_ISTHMUS_TIMESTAMP */
|
|
362
|
+
l2_isthmus_timestamp?:
|
|
363
|
+
| string
|
|
364
|
+
| undefined;
|
|
365
|
+
/** INDEXER_OPTIMISM_L2_JOVIAN_TIMESTAMP */
|
|
366
|
+
l2_jovian_timestamp?:
|
|
367
|
+
| string
|
|
368
|
+
| undefined;
|
|
369
|
+
/** INDEXER_OPTIMISM_L1_BATCH_ALT_DA_SERVER_URL */
|
|
370
|
+
l1_batch_alt_da_server_url?: string | undefined;
|
|
298
371
|
beacon_rpc_url?: string | undefined;
|
|
299
372
|
beacon_blob_fetcher_reference_slot?: string | undefined;
|
|
300
373
|
beacon_blob_fetcher_slot_duration?: string | undefined;
|