@hyperlane-xyz/sdk 3.1.2 → 3.1.3
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/consts/agentStartBlocks.js +1 -1
- package/dist/consts/agentStartBlocks.js.map +1 -1
- package/dist/consts/environments/index.d.ts +1 -1
- package/dist/consts/multisigIsm.d.ts +1 -1
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +2 -2
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/deploy/HyperlaneDeployer.d.ts +3 -3
- package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/ism/multisig.d.ts +4 -0
- package/dist/ism/multisig.d.ts.map +1 -0
- package/dist/ism/multisig.js +15 -0
- package/dist/ism/multisig.js.map +1 -0
- package/dist/metadata/agentConfig.d.ts +234 -234
- package/dist/metadata/chainMetadataTypes.d.ts +24 -24
- package/dist/token/config.d.ts.map +1 -1
- package/dist/token/config.js.map +1 -1
- package/dist/token/deploy.d.ts +2 -2
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.js +1 -0
- package/dist/token/deploy.js.map +1 -1
- package/package.json +16 -10
|
@@ -98,10 +98,8 @@ export type AgentSignerNode = z.infer<typeof AgentSignerNodeSchema>;
|
|
|
98
98
|
export type AgentSigner = z.infer<typeof AgentSignerSchema>;
|
|
99
99
|
export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
100
100
|
name: z.ZodString;
|
|
101
|
-
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
102
101
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
103
|
-
|
|
104
|
-
mailbox: z.ZodString;
|
|
102
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
105
103
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
106
104
|
displayName: z.ZodOptional<z.ZodString>;
|
|
107
105
|
displayNameShort: z.ZodOptional<z.ZodString>;
|
|
@@ -177,14 +175,14 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
177
175
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
178
176
|
family: z.ZodOptional<z.ZodNativeEnum<typeof import("./chainMetadataTypes").ExplorerFamily>>;
|
|
179
177
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
-
url: string;
|
|
181
178
|
name: string;
|
|
179
|
+
url: string;
|
|
182
180
|
apiUrl: string;
|
|
183
181
|
apiKey?: string | undefined;
|
|
184
182
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
185
183
|
}, {
|
|
186
|
-
url: string;
|
|
187
184
|
name: string;
|
|
185
|
+
url: string;
|
|
188
186
|
apiUrl: string;
|
|
189
187
|
apiKey?: string | undefined;
|
|
190
188
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -208,6 +206,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
208
206
|
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
209
207
|
slip44: z.ZodOptional<z.ZodNumber>;
|
|
210
208
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
210
|
+
mailbox: z.ZodString;
|
|
211
211
|
validatorAnnounce: z.ZodString;
|
|
212
212
|
merkleTreeHook: z.ZodString;
|
|
213
213
|
interchainGasPaymaster: z.ZodString;
|
|
@@ -256,9 +256,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
256
256
|
}>>;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
258
|
name: string;
|
|
259
|
-
chainId: string | number;
|
|
260
259
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
261
|
-
|
|
260
|
+
chainId: string | number;
|
|
262
261
|
rpcUrls: [{
|
|
263
262
|
http: string;
|
|
264
263
|
webSocket?: string | undefined;
|
|
@@ -284,10 +283,10 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
284
283
|
baseRetryMs: number;
|
|
285
284
|
} | undefined;
|
|
286
285
|
}[]];
|
|
286
|
+
mailbox: string;
|
|
287
287
|
validatorAnnounce: string;
|
|
288
288
|
merkleTreeHook: string;
|
|
289
289
|
interchainGasPaymaster: string;
|
|
290
|
-
interchainSecurityModule?: string | undefined;
|
|
291
290
|
domainId?: number | undefined;
|
|
292
291
|
displayName?: string | undefined;
|
|
293
292
|
displayNameShort?: string | undefined;
|
|
@@ -298,8 +297,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
298
297
|
decimals: number;
|
|
299
298
|
} | undefined;
|
|
300
299
|
blockExplorers?: {
|
|
301
|
-
url: string;
|
|
302
300
|
name: string;
|
|
301
|
+
url: string;
|
|
303
302
|
apiUrl: string;
|
|
304
303
|
apiKey?: string | undefined;
|
|
305
304
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -315,6 +314,7 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
315
314
|
bech32Prefix?: string | undefined;
|
|
316
315
|
slip44?: number | undefined;
|
|
317
316
|
isTestnet?: boolean | undefined;
|
|
317
|
+
interchainSecurityModule?: string | undefined;
|
|
318
318
|
customRpcUrls?: string | undefined;
|
|
319
319
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
320
320
|
signer?: {
|
|
@@ -334,9 +334,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
334
334
|
} | undefined;
|
|
335
335
|
}, {
|
|
336
336
|
name: string;
|
|
337
|
-
chainId: string | number;
|
|
338
337
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
339
|
-
|
|
338
|
+
chainId: string | number;
|
|
340
339
|
rpcUrls: [{
|
|
341
340
|
http: string;
|
|
342
341
|
webSocket?: string | undefined;
|
|
@@ -362,10 +361,10 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
362
361
|
baseRetryMs: number;
|
|
363
362
|
} | undefined;
|
|
364
363
|
}[]];
|
|
364
|
+
mailbox: string;
|
|
365
365
|
validatorAnnounce: string;
|
|
366
366
|
merkleTreeHook: string;
|
|
367
367
|
interchainGasPaymaster: string;
|
|
368
|
-
interchainSecurityModule?: string | undefined;
|
|
369
368
|
domainId?: number | undefined;
|
|
370
369
|
displayName?: string | undefined;
|
|
371
370
|
displayNameShort?: string | undefined;
|
|
@@ -376,8 +375,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
376
375
|
decimals: number;
|
|
377
376
|
} | undefined;
|
|
378
377
|
blockExplorers?: {
|
|
379
|
-
url: string;
|
|
380
378
|
name: string;
|
|
379
|
+
url: string;
|
|
381
380
|
apiUrl: string;
|
|
382
381
|
apiKey?: string | undefined;
|
|
383
382
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -393,6 +392,7 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
393
392
|
bech32Prefix?: string | undefined;
|
|
394
393
|
slip44?: number | undefined;
|
|
395
394
|
isTestnet?: boolean | undefined;
|
|
395
|
+
interchainSecurityModule?: string | undefined;
|
|
396
396
|
customRpcUrls?: string | undefined;
|
|
397
397
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
398
398
|
signer?: {
|
|
@@ -416,10 +416,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
416
416
|
metricsPort: z.ZodOptional<z.ZodNumber>;
|
|
417
417
|
chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
418
418
|
name: z.ZodString;
|
|
419
|
-
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
420
419
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
421
|
-
|
|
422
|
-
mailbox: z.ZodString;
|
|
420
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
423
421
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
424
422
|
displayName: z.ZodOptional<z.ZodString>;
|
|
425
423
|
displayNameShort: z.ZodOptional<z.ZodString>;
|
|
@@ -495,14 +493,14 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
495
493
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
496
494
|
family: z.ZodOptional<z.ZodNativeEnum<typeof import("./chainMetadataTypes").ExplorerFamily>>;
|
|
497
495
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
url: string;
|
|
499
496
|
name: string;
|
|
497
|
+
url: string;
|
|
500
498
|
apiUrl: string;
|
|
501
499
|
apiKey?: string | undefined;
|
|
502
500
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
503
501
|
}, {
|
|
504
|
-
url: string;
|
|
505
502
|
name: string;
|
|
503
|
+
url: string;
|
|
506
504
|
apiUrl: string;
|
|
507
505
|
apiKey?: string | undefined;
|
|
508
506
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -526,6 +524,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
526
524
|
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
527
525
|
slip44: z.ZodOptional<z.ZodNumber>;
|
|
528
526
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
527
|
+
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
528
|
+
mailbox: z.ZodString;
|
|
529
529
|
validatorAnnounce: z.ZodString;
|
|
530
530
|
merkleTreeHook: z.ZodString;
|
|
531
531
|
interchainGasPaymaster: z.ZodString;
|
|
@@ -574,9 +574,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
574
574
|
}>>;
|
|
575
575
|
}, "strip", z.ZodTypeAny, {
|
|
576
576
|
name: string;
|
|
577
|
-
chainId: string | number;
|
|
578
577
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
579
|
-
|
|
578
|
+
chainId: string | number;
|
|
580
579
|
rpcUrls: [{
|
|
581
580
|
http: string;
|
|
582
581
|
webSocket?: string | undefined;
|
|
@@ -602,10 +601,10 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
602
601
|
baseRetryMs: number;
|
|
603
602
|
} | undefined;
|
|
604
603
|
}[]];
|
|
604
|
+
mailbox: string;
|
|
605
605
|
validatorAnnounce: string;
|
|
606
606
|
merkleTreeHook: string;
|
|
607
607
|
interchainGasPaymaster: string;
|
|
608
|
-
interchainSecurityModule?: string | undefined;
|
|
609
608
|
domainId?: number | undefined;
|
|
610
609
|
displayName?: string | undefined;
|
|
611
610
|
displayNameShort?: string | undefined;
|
|
@@ -616,8 +615,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
616
615
|
decimals: number;
|
|
617
616
|
} | undefined;
|
|
618
617
|
blockExplorers?: {
|
|
619
|
-
url: string;
|
|
620
618
|
name: string;
|
|
619
|
+
url: string;
|
|
621
620
|
apiUrl: string;
|
|
622
621
|
apiKey?: string | undefined;
|
|
623
622
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -633,6 +632,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
633
632
|
bech32Prefix?: string | undefined;
|
|
634
633
|
slip44?: number | undefined;
|
|
635
634
|
isTestnet?: boolean | undefined;
|
|
635
|
+
interchainSecurityModule?: string | undefined;
|
|
636
636
|
customRpcUrls?: string | undefined;
|
|
637
637
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
638
638
|
signer?: {
|
|
@@ -652,9 +652,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
652
652
|
} | undefined;
|
|
653
653
|
}, {
|
|
654
654
|
name: string;
|
|
655
|
-
chainId: string | number;
|
|
656
655
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
657
|
-
|
|
656
|
+
chainId: string | number;
|
|
658
657
|
rpcUrls: [{
|
|
659
658
|
http: string;
|
|
660
659
|
webSocket?: string | undefined;
|
|
@@ -680,10 +679,10 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
680
679
|
baseRetryMs: number;
|
|
681
680
|
} | undefined;
|
|
682
681
|
}[]];
|
|
682
|
+
mailbox: string;
|
|
683
683
|
validatorAnnounce: string;
|
|
684
684
|
merkleTreeHook: string;
|
|
685
685
|
interchainGasPaymaster: string;
|
|
686
|
-
interchainSecurityModule?: string | undefined;
|
|
687
686
|
domainId?: number | undefined;
|
|
688
687
|
displayName?: string | undefined;
|
|
689
688
|
displayNameShort?: string | undefined;
|
|
@@ -694,8 +693,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
694
693
|
decimals: number;
|
|
695
694
|
} | undefined;
|
|
696
695
|
blockExplorers?: {
|
|
697
|
-
url: string;
|
|
698
696
|
name: string;
|
|
697
|
+
url: string;
|
|
699
698
|
apiUrl: string;
|
|
700
699
|
apiKey?: string | undefined;
|
|
701
700
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -711,6 +710,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
711
710
|
bech32Prefix?: string | undefined;
|
|
712
711
|
slip44?: number | undefined;
|
|
713
712
|
isTestnet?: boolean | undefined;
|
|
713
|
+
interchainSecurityModule?: string | undefined;
|
|
714
714
|
customRpcUrls?: string | undefined;
|
|
715
715
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
716
716
|
signer?: {
|
|
@@ -730,9 +730,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
730
730
|
} | undefined;
|
|
731
731
|
}>>, Record<string, {
|
|
732
732
|
name: string;
|
|
733
|
-
chainId: string | number;
|
|
734
733
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
735
|
-
|
|
734
|
+
chainId: string | number;
|
|
736
735
|
rpcUrls: [{
|
|
737
736
|
http: string;
|
|
738
737
|
webSocket?: string | undefined;
|
|
@@ -758,10 +757,10 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
758
757
|
baseRetryMs: number;
|
|
759
758
|
} | undefined;
|
|
760
759
|
}[]];
|
|
760
|
+
mailbox: string;
|
|
761
761
|
validatorAnnounce: string;
|
|
762
762
|
merkleTreeHook: string;
|
|
763
763
|
interchainGasPaymaster: string;
|
|
764
|
-
interchainSecurityModule?: string | undefined;
|
|
765
764
|
domainId?: number | undefined;
|
|
766
765
|
displayName?: string | undefined;
|
|
767
766
|
displayNameShort?: string | undefined;
|
|
@@ -772,8 +771,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
772
771
|
decimals: number;
|
|
773
772
|
} | undefined;
|
|
774
773
|
blockExplorers?: {
|
|
775
|
-
url: string;
|
|
776
774
|
name: string;
|
|
775
|
+
url: string;
|
|
777
776
|
apiUrl: string;
|
|
778
777
|
apiKey?: string | undefined;
|
|
779
778
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -789,6 +788,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
789
788
|
bech32Prefix?: string | undefined;
|
|
790
789
|
slip44?: number | undefined;
|
|
791
790
|
isTestnet?: boolean | undefined;
|
|
791
|
+
interchainSecurityModule?: string | undefined;
|
|
792
792
|
customRpcUrls?: string | undefined;
|
|
793
793
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
794
794
|
signer?: {
|
|
@@ -808,9 +808,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
808
808
|
} | undefined;
|
|
809
809
|
}>, Record<string, {
|
|
810
810
|
name: string;
|
|
811
|
-
chainId: string | number;
|
|
812
811
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
813
|
-
|
|
812
|
+
chainId: string | number;
|
|
814
813
|
rpcUrls: [{
|
|
815
814
|
http: string;
|
|
816
815
|
webSocket?: string | undefined;
|
|
@@ -836,10 +835,10 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
836
835
|
baseRetryMs: number;
|
|
837
836
|
} | undefined;
|
|
838
837
|
}[]];
|
|
838
|
+
mailbox: string;
|
|
839
839
|
validatorAnnounce: string;
|
|
840
840
|
merkleTreeHook: string;
|
|
841
841
|
interchainGasPaymaster: string;
|
|
842
|
-
interchainSecurityModule?: string | undefined;
|
|
843
842
|
domainId?: number | undefined;
|
|
844
843
|
displayName?: string | undefined;
|
|
845
844
|
displayNameShort?: string | undefined;
|
|
@@ -850,8 +849,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
850
849
|
decimals: number;
|
|
851
850
|
} | undefined;
|
|
852
851
|
blockExplorers?: {
|
|
853
|
-
url: string;
|
|
854
852
|
name: string;
|
|
853
|
+
url: string;
|
|
855
854
|
apiUrl: string;
|
|
856
855
|
apiKey?: string | undefined;
|
|
857
856
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -867,6 +866,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
867
866
|
bech32Prefix?: string | undefined;
|
|
868
867
|
slip44?: number | undefined;
|
|
869
868
|
isTestnet?: boolean | undefined;
|
|
869
|
+
interchainSecurityModule?: string | undefined;
|
|
870
870
|
customRpcUrls?: string | undefined;
|
|
871
871
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
872
872
|
signer?: {
|
|
@@ -927,9 +927,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
927
927
|
}, "strip", z.ZodTypeAny, {
|
|
928
928
|
chains: Record<string, {
|
|
929
929
|
name: string;
|
|
930
|
-
chainId: string | number;
|
|
931
930
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
932
|
-
|
|
931
|
+
chainId: string | number;
|
|
933
932
|
rpcUrls: [{
|
|
934
933
|
http: string;
|
|
935
934
|
webSocket?: string | undefined;
|
|
@@ -955,10 +954,10 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
955
954
|
baseRetryMs: number;
|
|
956
955
|
} | undefined;
|
|
957
956
|
}[]];
|
|
957
|
+
mailbox: string;
|
|
958
958
|
validatorAnnounce: string;
|
|
959
959
|
merkleTreeHook: string;
|
|
960
960
|
interchainGasPaymaster: string;
|
|
961
|
-
interchainSecurityModule?: string | undefined;
|
|
962
961
|
domainId?: number | undefined;
|
|
963
962
|
displayName?: string | undefined;
|
|
964
963
|
displayNameShort?: string | undefined;
|
|
@@ -969,8 +968,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
969
968
|
decimals: number;
|
|
970
969
|
} | undefined;
|
|
971
970
|
blockExplorers?: {
|
|
972
|
-
url: string;
|
|
973
971
|
name: string;
|
|
972
|
+
url: string;
|
|
974
973
|
apiUrl: string;
|
|
975
974
|
apiKey?: string | undefined;
|
|
976
975
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -986,6 +985,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
986
985
|
bech32Prefix?: string | undefined;
|
|
987
986
|
slip44?: number | undefined;
|
|
988
987
|
isTestnet?: boolean | undefined;
|
|
988
|
+
interchainSecurityModule?: string | undefined;
|
|
989
989
|
customRpcUrls?: string | undefined;
|
|
990
990
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
991
991
|
signer?: {
|
|
@@ -1023,9 +1023,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1023
1023
|
}, {
|
|
1024
1024
|
chains: Record<string, {
|
|
1025
1025
|
name: string;
|
|
1026
|
-
chainId: string | number;
|
|
1027
1026
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1028
|
-
|
|
1027
|
+
chainId: string | number;
|
|
1029
1028
|
rpcUrls: [{
|
|
1030
1029
|
http: string;
|
|
1031
1030
|
webSocket?: string | undefined;
|
|
@@ -1051,10 +1050,10 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1051
1050
|
baseRetryMs: number;
|
|
1052
1051
|
} | undefined;
|
|
1053
1052
|
}[]];
|
|
1053
|
+
mailbox: string;
|
|
1054
1054
|
validatorAnnounce: string;
|
|
1055
1055
|
merkleTreeHook: string;
|
|
1056
1056
|
interchainGasPaymaster: string;
|
|
1057
|
-
interchainSecurityModule?: string | undefined;
|
|
1058
1057
|
domainId?: number | undefined;
|
|
1059
1058
|
displayName?: string | undefined;
|
|
1060
1059
|
displayNameShort?: string | undefined;
|
|
@@ -1065,8 +1064,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1065
1064
|
decimals: number;
|
|
1066
1065
|
} | undefined;
|
|
1067
1066
|
blockExplorers?: {
|
|
1068
|
-
url: string;
|
|
1069
1067
|
name: string;
|
|
1068
|
+
url: string;
|
|
1070
1069
|
apiUrl: string;
|
|
1071
1070
|
apiKey?: string | undefined;
|
|
1072
1071
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -1082,6 +1081,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1082
1081
|
bech32Prefix?: string | undefined;
|
|
1083
1082
|
slip44?: number | undefined;
|
|
1084
1083
|
isTestnet?: boolean | undefined;
|
|
1084
|
+
interchainSecurityModule?: string | undefined;
|
|
1085
1085
|
customRpcUrls?: string | undefined;
|
|
1086
1086
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
1087
1087
|
signer?: {
|
|
@@ -1233,23 +1233,11 @@ declare const GasPaymentEnforcementSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1233
1233
|
}>]>;
|
|
1234
1234
|
export type GasPaymentEnforcement = z.infer<typeof GasPaymentEnforcementSchema>;
|
|
1235
1235
|
export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
1236
|
-
log: z.ZodOptional<z.ZodObject<{
|
|
1237
|
-
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
1238
|
-
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
1239
|
-
}, "strip", z.ZodTypeAny, {
|
|
1240
|
-
format?: AgentLogFormat | undefined;
|
|
1241
|
-
level?: AgentLogLevel | undefined;
|
|
1242
|
-
}, {
|
|
1243
|
-
format?: AgentLogFormat | undefined;
|
|
1244
|
-
level?: AgentLogLevel | undefined;
|
|
1245
|
-
}>>;
|
|
1246
1236
|
metricsPort: z.ZodOptional<z.ZodNumber>;
|
|
1247
1237
|
chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1248
1238
|
name: z.ZodString;
|
|
1249
|
-
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1250
1239
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
1251
|
-
|
|
1252
|
-
mailbox: z.ZodString;
|
|
1240
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1253
1241
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
1254
1242
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1255
1243
|
displayNameShort: z.ZodOptional<z.ZodString>;
|
|
@@ -1325,14 +1313,14 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1325
1313
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
1326
1314
|
family: z.ZodOptional<z.ZodNativeEnum<typeof import("./chainMetadataTypes").ExplorerFamily>>;
|
|
1327
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1328
|
-
url: string;
|
|
1329
1316
|
name: string;
|
|
1317
|
+
url: string;
|
|
1330
1318
|
apiUrl: string;
|
|
1331
1319
|
apiKey?: string | undefined;
|
|
1332
1320
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
1333
1321
|
}, {
|
|
1334
|
-
url: string;
|
|
1335
1322
|
name: string;
|
|
1323
|
+
url: string;
|
|
1336
1324
|
apiUrl: string;
|
|
1337
1325
|
apiKey?: string | undefined;
|
|
1338
1326
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -1356,6 +1344,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1356
1344
|
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
1357
1345
|
slip44: z.ZodOptional<z.ZodNumber>;
|
|
1358
1346
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
1347
|
+
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
mailbox: z.ZodString;
|
|
1359
1349
|
validatorAnnounce: z.ZodString;
|
|
1360
1350
|
merkleTreeHook: z.ZodString;
|
|
1361
1351
|
interchainGasPaymaster: z.ZodString;
|
|
@@ -1404,9 +1394,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1404
1394
|
}>>;
|
|
1405
1395
|
}, "strip", z.ZodTypeAny, {
|
|
1406
1396
|
name: string;
|
|
1407
|
-
chainId: string | number;
|
|
1408
1397
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1409
|
-
|
|
1398
|
+
chainId: string | number;
|
|
1410
1399
|
rpcUrls: [{
|
|
1411
1400
|
http: string;
|
|
1412
1401
|
webSocket?: string | undefined;
|
|
@@ -1432,10 +1421,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1432
1421
|
baseRetryMs: number;
|
|
1433
1422
|
} | undefined;
|
|
1434
1423
|
}[]];
|
|
1424
|
+
mailbox: string;
|
|
1435
1425
|
validatorAnnounce: string;
|
|
1436
1426
|
merkleTreeHook: string;
|
|
1437
1427
|
interchainGasPaymaster: string;
|
|
1438
|
-
interchainSecurityModule?: string | undefined;
|
|
1439
1428
|
domainId?: number | undefined;
|
|
1440
1429
|
displayName?: string | undefined;
|
|
1441
1430
|
displayNameShort?: string | undefined;
|
|
@@ -1446,8 +1435,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1446
1435
|
decimals: number;
|
|
1447
1436
|
} | undefined;
|
|
1448
1437
|
blockExplorers?: {
|
|
1449
|
-
url: string;
|
|
1450
1438
|
name: string;
|
|
1439
|
+
url: string;
|
|
1451
1440
|
apiUrl: string;
|
|
1452
1441
|
apiKey?: string | undefined;
|
|
1453
1442
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -1463,6 +1452,7 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1463
1452
|
bech32Prefix?: string | undefined;
|
|
1464
1453
|
slip44?: number | undefined;
|
|
1465
1454
|
isTestnet?: boolean | undefined;
|
|
1455
|
+
interchainSecurityModule?: string | undefined;
|
|
1466
1456
|
customRpcUrls?: string | undefined;
|
|
1467
1457
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
1468
1458
|
signer?: {
|
|
@@ -1482,9 +1472,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1482
1472
|
} | undefined;
|
|
1483
1473
|
}, {
|
|
1484
1474
|
name: string;
|
|
1485
|
-
chainId: string | number;
|
|
1486
1475
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1487
|
-
|
|
1476
|
+
chainId: string | number;
|
|
1488
1477
|
rpcUrls: [{
|
|
1489
1478
|
http: string;
|
|
1490
1479
|
webSocket?: string | undefined;
|
|
@@ -1510,10 +1499,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1510
1499
|
baseRetryMs: number;
|
|
1511
1500
|
} | undefined;
|
|
1512
1501
|
}[]];
|
|
1502
|
+
mailbox: string;
|
|
1513
1503
|
validatorAnnounce: string;
|
|
1514
1504
|
merkleTreeHook: string;
|
|
1515
1505
|
interchainGasPaymaster: string;
|
|
1516
|
-
interchainSecurityModule?: string | undefined;
|
|
1517
1506
|
domainId?: number | undefined;
|
|
1518
1507
|
displayName?: string | undefined;
|
|
1519
1508
|
displayNameShort?: string | undefined;
|
|
@@ -1524,8 +1513,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1524
1513
|
decimals: number;
|
|
1525
1514
|
} | undefined;
|
|
1526
1515
|
blockExplorers?: {
|
|
1527
|
-
url: string;
|
|
1528
1516
|
name: string;
|
|
1517
|
+
url: string;
|
|
1529
1518
|
apiUrl: string;
|
|
1530
1519
|
apiKey?: string | undefined;
|
|
1531
1520
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -1541,6 +1530,7 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1541
1530
|
bech32Prefix?: string | undefined;
|
|
1542
1531
|
slip44?: number | undefined;
|
|
1543
1532
|
isTestnet?: boolean | undefined;
|
|
1533
|
+
interchainSecurityModule?: string | undefined;
|
|
1544
1534
|
customRpcUrls?: string | undefined;
|
|
1545
1535
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
1546
1536
|
signer?: {
|
|
@@ -1560,9 +1550,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1560
1550
|
} | undefined;
|
|
1561
1551
|
}>>, Record<string, {
|
|
1562
1552
|
name: string;
|
|
1563
|
-
chainId: string | number;
|
|
1564
1553
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1565
|
-
|
|
1554
|
+
chainId: string | number;
|
|
1566
1555
|
rpcUrls: [{
|
|
1567
1556
|
http: string;
|
|
1568
1557
|
webSocket?: string | undefined;
|
|
@@ -1588,10 +1577,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1588
1577
|
baseRetryMs: number;
|
|
1589
1578
|
} | undefined;
|
|
1590
1579
|
}[]];
|
|
1580
|
+
mailbox: string;
|
|
1591
1581
|
validatorAnnounce: string;
|
|
1592
1582
|
merkleTreeHook: string;
|
|
1593
1583
|
interchainGasPaymaster: string;
|
|
1594
|
-
interchainSecurityModule?: string | undefined;
|
|
1595
1584
|
domainId?: number | undefined;
|
|
1596
1585
|
displayName?: string | undefined;
|
|
1597
1586
|
displayNameShort?: string | undefined;
|
|
@@ -1602,8 +1591,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1602
1591
|
decimals: number;
|
|
1603
1592
|
} | undefined;
|
|
1604
1593
|
blockExplorers?: {
|
|
1605
|
-
url: string;
|
|
1606
1594
|
name: string;
|
|
1595
|
+
url: string;
|
|
1607
1596
|
apiUrl: string;
|
|
1608
1597
|
apiKey?: string | undefined;
|
|
1609
1598
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -1619,6 +1608,7 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1619
1608
|
bech32Prefix?: string | undefined;
|
|
1620
1609
|
slip44?: number | undefined;
|
|
1621
1610
|
isTestnet?: boolean | undefined;
|
|
1611
|
+
interchainSecurityModule?: string | undefined;
|
|
1622
1612
|
customRpcUrls?: string | undefined;
|
|
1623
1613
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
1624
1614
|
signer?: {
|
|
@@ -1638,9 +1628,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1638
1628
|
} | undefined;
|
|
1639
1629
|
}>, Record<string, {
|
|
1640
1630
|
name: string;
|
|
1641
|
-
chainId: string | number;
|
|
1642
1631
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1643
|
-
|
|
1632
|
+
chainId: string | number;
|
|
1644
1633
|
rpcUrls: [{
|
|
1645
1634
|
http: string;
|
|
1646
1635
|
webSocket?: string | undefined;
|
|
@@ -1666,10 +1655,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1666
1655
|
baseRetryMs: number;
|
|
1667
1656
|
} | undefined;
|
|
1668
1657
|
}[]];
|
|
1658
|
+
mailbox: string;
|
|
1669
1659
|
validatorAnnounce: string;
|
|
1670
1660
|
merkleTreeHook: string;
|
|
1671
1661
|
interchainGasPaymaster: string;
|
|
1672
|
-
interchainSecurityModule?: string | undefined;
|
|
1673
1662
|
domainId?: number | undefined;
|
|
1674
1663
|
displayName?: string | undefined;
|
|
1675
1664
|
displayNameShort?: string | undefined;
|
|
@@ -1680,8 +1669,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1680
1669
|
decimals: number;
|
|
1681
1670
|
} | undefined;
|
|
1682
1671
|
blockExplorers?: {
|
|
1683
|
-
url: string;
|
|
1684
1672
|
name: string;
|
|
1673
|
+
url: string;
|
|
1685
1674
|
apiUrl: string;
|
|
1686
1675
|
apiKey?: string | undefined;
|
|
1687
1676
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -1697,6 +1686,7 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1697
1686
|
bech32Prefix?: string | undefined;
|
|
1698
1687
|
slip44?: number | undefined;
|
|
1699
1688
|
isTestnet?: boolean | undefined;
|
|
1689
|
+
interchainSecurityModule?: string | undefined;
|
|
1700
1690
|
customRpcUrls?: string | undefined;
|
|
1701
1691
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
1702
1692
|
signer?: {
|
|
@@ -1744,6 +1734,16 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1744
1734
|
type: AgentSignerKeyType.Node;
|
|
1745
1735
|
}>]>>;
|
|
1746
1736
|
defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
|
|
1737
|
+
log: z.ZodOptional<z.ZodObject<{
|
|
1738
|
+
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
1739
|
+
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
1740
|
+
}, "strip", z.ZodTypeAny, {
|
|
1741
|
+
format?: AgentLogFormat | undefined;
|
|
1742
|
+
level?: AgentLogLevel | undefined;
|
|
1743
|
+
}, {
|
|
1744
|
+
format?: AgentLogFormat | undefined;
|
|
1745
|
+
level?: AgentLogLevel | undefined;
|
|
1746
|
+
}>>;
|
|
1747
1747
|
db: z.ZodOptional<z.ZodString>;
|
|
1748
1748
|
relayChains: z.ZodString;
|
|
1749
1749
|
gasPaymentEnforcement: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -1893,9 +1893,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1893
1893
|
}, "strip", z.ZodTypeAny, {
|
|
1894
1894
|
chains: Record<string, {
|
|
1895
1895
|
name: string;
|
|
1896
|
-
chainId: string | number;
|
|
1897
1896
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1898
|
-
|
|
1897
|
+
chainId: string | number;
|
|
1899
1898
|
rpcUrls: [{
|
|
1900
1899
|
http: string;
|
|
1901
1900
|
webSocket?: string | undefined;
|
|
@@ -1921,10 +1920,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1921
1920
|
baseRetryMs: number;
|
|
1922
1921
|
} | undefined;
|
|
1923
1922
|
}[]];
|
|
1923
|
+
mailbox: string;
|
|
1924
1924
|
validatorAnnounce: string;
|
|
1925
1925
|
merkleTreeHook: string;
|
|
1926
1926
|
interchainGasPaymaster: string;
|
|
1927
|
-
interchainSecurityModule?: string | undefined;
|
|
1928
1927
|
domainId?: number | undefined;
|
|
1929
1928
|
displayName?: string | undefined;
|
|
1930
1929
|
displayNameShort?: string | undefined;
|
|
@@ -1935,8 +1934,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1935
1934
|
decimals: number;
|
|
1936
1935
|
} | undefined;
|
|
1937
1936
|
blockExplorers?: {
|
|
1938
|
-
url: string;
|
|
1939
1937
|
name: string;
|
|
1938
|
+
url: string;
|
|
1940
1939
|
apiUrl: string;
|
|
1941
1940
|
apiKey?: string | undefined;
|
|
1942
1941
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -1952,6 +1951,7 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1952
1951
|
bech32Prefix?: string | undefined;
|
|
1953
1952
|
slip44?: number | undefined;
|
|
1954
1953
|
isTestnet?: boolean | undefined;
|
|
1954
|
+
interchainSecurityModule?: string | undefined;
|
|
1955
1955
|
customRpcUrls?: string | undefined;
|
|
1956
1956
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
1957
1957
|
signer?: {
|
|
@@ -1971,10 +1971,6 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1971
1971
|
} | undefined;
|
|
1972
1972
|
}>;
|
|
1973
1973
|
relayChains: string;
|
|
1974
|
-
log?: {
|
|
1975
|
-
format?: AgentLogFormat | undefined;
|
|
1976
|
-
level?: AgentLogLevel | undefined;
|
|
1977
|
-
} | undefined;
|
|
1978
1974
|
metricsPort?: number | undefined;
|
|
1979
1975
|
defaultSigner?: {
|
|
1980
1976
|
key: string;
|
|
@@ -1987,6 +1983,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1987
1983
|
type: AgentSignerKeyType.Node;
|
|
1988
1984
|
} | undefined;
|
|
1989
1985
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
1986
|
+
log?: {
|
|
1987
|
+
format?: AgentLogFormat | undefined;
|
|
1988
|
+
level?: AgentLogLevel | undefined;
|
|
1989
|
+
} | undefined;
|
|
1990
1990
|
db?: string | undefined;
|
|
1991
1991
|
gasPaymentEnforcement?: string | ({
|
|
1992
1992
|
matchingList?: {
|
|
@@ -2033,9 +2033,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2033
2033
|
}, {
|
|
2034
2034
|
chains: Record<string, {
|
|
2035
2035
|
name: string;
|
|
2036
|
-
chainId: string | number;
|
|
2037
2036
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2038
|
-
|
|
2037
|
+
chainId: string | number;
|
|
2039
2038
|
rpcUrls: [{
|
|
2040
2039
|
http: string;
|
|
2041
2040
|
webSocket?: string | undefined;
|
|
@@ -2061,10 +2060,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2061
2060
|
baseRetryMs: number;
|
|
2062
2061
|
} | undefined;
|
|
2063
2062
|
}[]];
|
|
2063
|
+
mailbox: string;
|
|
2064
2064
|
validatorAnnounce: string;
|
|
2065
2065
|
merkleTreeHook: string;
|
|
2066
2066
|
interchainGasPaymaster: string;
|
|
2067
|
-
interchainSecurityModule?: string | undefined;
|
|
2068
2067
|
domainId?: number | undefined;
|
|
2069
2068
|
displayName?: string | undefined;
|
|
2070
2069
|
displayNameShort?: string | undefined;
|
|
@@ -2075,8 +2074,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2075
2074
|
decimals: number;
|
|
2076
2075
|
} | undefined;
|
|
2077
2076
|
blockExplorers?: {
|
|
2078
|
-
url: string;
|
|
2079
2077
|
name: string;
|
|
2078
|
+
url: string;
|
|
2080
2079
|
apiUrl: string;
|
|
2081
2080
|
apiKey?: string | undefined;
|
|
2082
2081
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -2092,6 +2091,7 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2092
2091
|
bech32Prefix?: string | undefined;
|
|
2093
2092
|
slip44?: number | undefined;
|
|
2094
2093
|
isTestnet?: boolean | undefined;
|
|
2094
|
+
interchainSecurityModule?: string | undefined;
|
|
2095
2095
|
customRpcUrls?: string | undefined;
|
|
2096
2096
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
2097
2097
|
signer?: {
|
|
@@ -2111,10 +2111,6 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2111
2111
|
} | undefined;
|
|
2112
2112
|
}>;
|
|
2113
2113
|
relayChains: string;
|
|
2114
|
-
log?: {
|
|
2115
|
-
format?: AgentLogFormat | undefined;
|
|
2116
|
-
level?: AgentLogLevel | undefined;
|
|
2117
|
-
} | undefined;
|
|
2118
2114
|
metricsPort?: number | undefined;
|
|
2119
2115
|
defaultSigner?: {
|
|
2120
2116
|
key: string;
|
|
@@ -2127,6 +2123,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2127
2123
|
type: AgentSignerKeyType.Node;
|
|
2128
2124
|
} | undefined;
|
|
2129
2125
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
2126
|
+
log?: {
|
|
2127
|
+
format?: AgentLogFormat | undefined;
|
|
2128
|
+
level?: AgentLogLevel | undefined;
|
|
2129
|
+
} | undefined;
|
|
2130
2130
|
db?: string | undefined;
|
|
2131
2131
|
gasPaymentEnforcement?: string | ({
|
|
2132
2132
|
matchingList?: {
|
|
@@ -2173,23 +2173,11 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2173
2173
|
}>;
|
|
2174
2174
|
export type RelayerConfig = z.infer<typeof RelayerAgentConfigSchema>;
|
|
2175
2175
|
export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
2176
|
-
log: z.ZodOptional<z.ZodObject<{
|
|
2177
|
-
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
2178
|
-
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
2179
|
-
}, "strip", z.ZodTypeAny, {
|
|
2180
|
-
format?: AgentLogFormat | undefined;
|
|
2181
|
-
level?: AgentLogLevel | undefined;
|
|
2182
|
-
}, {
|
|
2183
|
-
format?: AgentLogFormat | undefined;
|
|
2184
|
-
level?: AgentLogLevel | undefined;
|
|
2185
|
-
}>>;
|
|
2186
2176
|
metricsPort: z.ZodOptional<z.ZodNumber>;
|
|
2187
2177
|
chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2188
2178
|
name: z.ZodString;
|
|
2189
|
-
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2190
2179
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
2191
|
-
|
|
2192
|
-
mailbox: z.ZodString;
|
|
2180
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2193
2181
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
2194
2182
|
displayName: z.ZodOptional<z.ZodString>;
|
|
2195
2183
|
displayNameShort: z.ZodOptional<z.ZodString>;
|
|
@@ -2265,14 +2253,14 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2265
2253
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
2266
2254
|
family: z.ZodOptional<z.ZodNativeEnum<typeof import("./chainMetadataTypes").ExplorerFamily>>;
|
|
2267
2255
|
}, "strip", z.ZodTypeAny, {
|
|
2268
|
-
url: string;
|
|
2269
2256
|
name: string;
|
|
2257
|
+
url: string;
|
|
2270
2258
|
apiUrl: string;
|
|
2271
2259
|
apiKey?: string | undefined;
|
|
2272
2260
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
2273
2261
|
}, {
|
|
2274
|
-
url: string;
|
|
2275
2262
|
name: string;
|
|
2263
|
+
url: string;
|
|
2276
2264
|
apiUrl: string;
|
|
2277
2265
|
apiKey?: string | undefined;
|
|
2278
2266
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -2296,6 +2284,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2296
2284
|
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
2297
2285
|
slip44: z.ZodOptional<z.ZodNumber>;
|
|
2298
2286
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
2287
|
+
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
2288
|
+
mailbox: z.ZodString;
|
|
2299
2289
|
validatorAnnounce: z.ZodString;
|
|
2300
2290
|
merkleTreeHook: z.ZodString;
|
|
2301
2291
|
interchainGasPaymaster: z.ZodString;
|
|
@@ -2344,9 +2334,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2344
2334
|
}>>;
|
|
2345
2335
|
}, "strip", z.ZodTypeAny, {
|
|
2346
2336
|
name: string;
|
|
2347
|
-
chainId: string | number;
|
|
2348
2337
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2349
|
-
|
|
2338
|
+
chainId: string | number;
|
|
2350
2339
|
rpcUrls: [{
|
|
2351
2340
|
http: string;
|
|
2352
2341
|
webSocket?: string | undefined;
|
|
@@ -2372,10 +2361,10 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2372
2361
|
baseRetryMs: number;
|
|
2373
2362
|
} | undefined;
|
|
2374
2363
|
}[]];
|
|
2364
|
+
mailbox: string;
|
|
2375
2365
|
validatorAnnounce: string;
|
|
2376
2366
|
merkleTreeHook: string;
|
|
2377
2367
|
interchainGasPaymaster: string;
|
|
2378
|
-
interchainSecurityModule?: string | undefined;
|
|
2379
2368
|
domainId?: number | undefined;
|
|
2380
2369
|
displayName?: string | undefined;
|
|
2381
2370
|
displayNameShort?: string | undefined;
|
|
@@ -2386,8 +2375,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2386
2375
|
decimals: number;
|
|
2387
2376
|
} | undefined;
|
|
2388
2377
|
blockExplorers?: {
|
|
2389
|
-
url: string;
|
|
2390
2378
|
name: string;
|
|
2379
|
+
url: string;
|
|
2391
2380
|
apiUrl: string;
|
|
2392
2381
|
apiKey?: string | undefined;
|
|
2393
2382
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -2403,6 +2392,7 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2403
2392
|
bech32Prefix?: string | undefined;
|
|
2404
2393
|
slip44?: number | undefined;
|
|
2405
2394
|
isTestnet?: boolean | undefined;
|
|
2395
|
+
interchainSecurityModule?: string | undefined;
|
|
2406
2396
|
customRpcUrls?: string | undefined;
|
|
2407
2397
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
2408
2398
|
signer?: {
|
|
@@ -2422,9 +2412,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2422
2412
|
} | undefined;
|
|
2423
2413
|
}, {
|
|
2424
2414
|
name: string;
|
|
2425
|
-
chainId: string | number;
|
|
2426
2415
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2427
|
-
|
|
2416
|
+
chainId: string | number;
|
|
2428
2417
|
rpcUrls: [{
|
|
2429
2418
|
http: string;
|
|
2430
2419
|
webSocket?: string | undefined;
|
|
@@ -2450,10 +2439,10 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2450
2439
|
baseRetryMs: number;
|
|
2451
2440
|
} | undefined;
|
|
2452
2441
|
}[]];
|
|
2442
|
+
mailbox: string;
|
|
2453
2443
|
validatorAnnounce: string;
|
|
2454
2444
|
merkleTreeHook: string;
|
|
2455
2445
|
interchainGasPaymaster: string;
|
|
2456
|
-
interchainSecurityModule?: string | undefined;
|
|
2457
2446
|
domainId?: number | undefined;
|
|
2458
2447
|
displayName?: string | undefined;
|
|
2459
2448
|
displayNameShort?: string | undefined;
|
|
@@ -2464,8 +2453,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2464
2453
|
decimals: number;
|
|
2465
2454
|
} | undefined;
|
|
2466
2455
|
blockExplorers?: {
|
|
2467
|
-
url: string;
|
|
2468
2456
|
name: string;
|
|
2457
|
+
url: string;
|
|
2469
2458
|
apiUrl: string;
|
|
2470
2459
|
apiKey?: string | undefined;
|
|
2471
2460
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -2481,6 +2470,7 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2481
2470
|
bech32Prefix?: string | undefined;
|
|
2482
2471
|
slip44?: number | undefined;
|
|
2483
2472
|
isTestnet?: boolean | undefined;
|
|
2473
|
+
interchainSecurityModule?: string | undefined;
|
|
2484
2474
|
customRpcUrls?: string | undefined;
|
|
2485
2475
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
2486
2476
|
signer?: {
|
|
@@ -2500,9 +2490,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2500
2490
|
} | undefined;
|
|
2501
2491
|
}>>, Record<string, {
|
|
2502
2492
|
name: string;
|
|
2503
|
-
chainId: string | number;
|
|
2504
2493
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2505
|
-
|
|
2494
|
+
chainId: string | number;
|
|
2506
2495
|
rpcUrls: [{
|
|
2507
2496
|
http: string;
|
|
2508
2497
|
webSocket?: string | undefined;
|
|
@@ -2528,10 +2517,10 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2528
2517
|
baseRetryMs: number;
|
|
2529
2518
|
} | undefined;
|
|
2530
2519
|
}[]];
|
|
2520
|
+
mailbox: string;
|
|
2531
2521
|
validatorAnnounce: string;
|
|
2532
2522
|
merkleTreeHook: string;
|
|
2533
2523
|
interchainGasPaymaster: string;
|
|
2534
|
-
interchainSecurityModule?: string | undefined;
|
|
2535
2524
|
domainId?: number | undefined;
|
|
2536
2525
|
displayName?: string | undefined;
|
|
2537
2526
|
displayNameShort?: string | undefined;
|
|
@@ -2542,8 +2531,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2542
2531
|
decimals: number;
|
|
2543
2532
|
} | undefined;
|
|
2544
2533
|
blockExplorers?: {
|
|
2545
|
-
url: string;
|
|
2546
2534
|
name: string;
|
|
2535
|
+
url: string;
|
|
2547
2536
|
apiUrl: string;
|
|
2548
2537
|
apiKey?: string | undefined;
|
|
2549
2538
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -2559,6 +2548,7 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2559
2548
|
bech32Prefix?: string | undefined;
|
|
2560
2549
|
slip44?: number | undefined;
|
|
2561
2550
|
isTestnet?: boolean | undefined;
|
|
2551
|
+
interchainSecurityModule?: string | undefined;
|
|
2562
2552
|
customRpcUrls?: string | undefined;
|
|
2563
2553
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
2564
2554
|
signer?: {
|
|
@@ -2578,9 +2568,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2578
2568
|
} | undefined;
|
|
2579
2569
|
}>, Record<string, {
|
|
2580
2570
|
name: string;
|
|
2581
|
-
chainId: string | number;
|
|
2582
2571
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2583
|
-
|
|
2572
|
+
chainId: string | number;
|
|
2584
2573
|
rpcUrls: [{
|
|
2585
2574
|
http: string;
|
|
2586
2575
|
webSocket?: string | undefined;
|
|
@@ -2606,10 +2595,10 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2606
2595
|
baseRetryMs: number;
|
|
2607
2596
|
} | undefined;
|
|
2608
2597
|
}[]];
|
|
2598
|
+
mailbox: string;
|
|
2609
2599
|
validatorAnnounce: string;
|
|
2610
2600
|
merkleTreeHook: string;
|
|
2611
2601
|
interchainGasPaymaster: string;
|
|
2612
|
-
interchainSecurityModule?: string | undefined;
|
|
2613
2602
|
domainId?: number | undefined;
|
|
2614
2603
|
displayName?: string | undefined;
|
|
2615
2604
|
displayNameShort?: string | undefined;
|
|
@@ -2620,8 +2609,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2620
2609
|
decimals: number;
|
|
2621
2610
|
} | undefined;
|
|
2622
2611
|
blockExplorers?: {
|
|
2623
|
-
url: string;
|
|
2624
2612
|
name: string;
|
|
2613
|
+
url: string;
|
|
2625
2614
|
apiUrl: string;
|
|
2626
2615
|
apiKey?: string | undefined;
|
|
2627
2616
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -2637,6 +2626,7 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2637
2626
|
bech32Prefix?: string | undefined;
|
|
2638
2627
|
slip44?: number | undefined;
|
|
2639
2628
|
isTestnet?: boolean | undefined;
|
|
2629
|
+
interchainSecurityModule?: string | undefined;
|
|
2640
2630
|
customRpcUrls?: string | undefined;
|
|
2641
2631
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
2642
2632
|
signer?: {
|
|
@@ -2684,14 +2674,23 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2684
2674
|
type: AgentSignerKeyType.Node;
|
|
2685
2675
|
}>]>>;
|
|
2686
2676
|
defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
|
|
2677
|
+
log: z.ZodOptional<z.ZodObject<{
|
|
2678
|
+
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
2679
|
+
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
2680
|
+
}, "strip", z.ZodTypeAny, {
|
|
2681
|
+
format?: AgentLogFormat | undefined;
|
|
2682
|
+
level?: AgentLogLevel | undefined;
|
|
2683
|
+
}, {
|
|
2684
|
+
format?: AgentLogFormat | undefined;
|
|
2685
|
+
level?: AgentLogLevel | undefined;
|
|
2686
|
+
}>>;
|
|
2687
2687
|
db: z.ZodString;
|
|
2688
2688
|
chainsToScrape: z.ZodString;
|
|
2689
2689
|
}, "strip", z.ZodTypeAny, {
|
|
2690
2690
|
chains: Record<string, {
|
|
2691
2691
|
name: string;
|
|
2692
|
-
chainId: string | number;
|
|
2693
2692
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2694
|
-
|
|
2693
|
+
chainId: string | number;
|
|
2695
2694
|
rpcUrls: [{
|
|
2696
2695
|
http: string;
|
|
2697
2696
|
webSocket?: string | undefined;
|
|
@@ -2717,10 +2716,10 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2717
2716
|
baseRetryMs: number;
|
|
2718
2717
|
} | undefined;
|
|
2719
2718
|
}[]];
|
|
2719
|
+
mailbox: string;
|
|
2720
2720
|
validatorAnnounce: string;
|
|
2721
2721
|
merkleTreeHook: string;
|
|
2722
2722
|
interchainGasPaymaster: string;
|
|
2723
|
-
interchainSecurityModule?: string | undefined;
|
|
2724
2723
|
domainId?: number | undefined;
|
|
2725
2724
|
displayName?: string | undefined;
|
|
2726
2725
|
displayNameShort?: string | undefined;
|
|
@@ -2731,8 +2730,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2731
2730
|
decimals: number;
|
|
2732
2731
|
} | undefined;
|
|
2733
2732
|
blockExplorers?: {
|
|
2734
|
-
url: string;
|
|
2735
2733
|
name: string;
|
|
2734
|
+
url: string;
|
|
2736
2735
|
apiUrl: string;
|
|
2737
2736
|
apiKey?: string | undefined;
|
|
2738
2737
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -2748,6 +2747,7 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2748
2747
|
bech32Prefix?: string | undefined;
|
|
2749
2748
|
slip44?: number | undefined;
|
|
2750
2749
|
isTestnet?: boolean | undefined;
|
|
2750
|
+
interchainSecurityModule?: string | undefined;
|
|
2751
2751
|
customRpcUrls?: string | undefined;
|
|
2752
2752
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
2753
2753
|
signer?: {
|
|
@@ -2768,10 +2768,6 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2768
2768
|
}>;
|
|
2769
2769
|
db: string;
|
|
2770
2770
|
chainsToScrape: string;
|
|
2771
|
-
log?: {
|
|
2772
|
-
format?: AgentLogFormat | undefined;
|
|
2773
|
-
level?: AgentLogLevel | undefined;
|
|
2774
|
-
} | undefined;
|
|
2775
2771
|
metricsPort?: number | undefined;
|
|
2776
2772
|
defaultSigner?: {
|
|
2777
2773
|
key: string;
|
|
@@ -2784,12 +2780,15 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2784
2780
|
type: AgentSignerKeyType.Node;
|
|
2785
2781
|
} | undefined;
|
|
2786
2782
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
2783
|
+
log?: {
|
|
2784
|
+
format?: AgentLogFormat | undefined;
|
|
2785
|
+
level?: AgentLogLevel | undefined;
|
|
2786
|
+
} | undefined;
|
|
2787
2787
|
}, {
|
|
2788
2788
|
chains: Record<string, {
|
|
2789
2789
|
name: string;
|
|
2790
|
-
chainId: string | number;
|
|
2791
2790
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2792
|
-
|
|
2791
|
+
chainId: string | number;
|
|
2793
2792
|
rpcUrls: [{
|
|
2794
2793
|
http: string;
|
|
2795
2794
|
webSocket?: string | undefined;
|
|
@@ -2815,10 +2814,10 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2815
2814
|
baseRetryMs: number;
|
|
2816
2815
|
} | undefined;
|
|
2817
2816
|
}[]];
|
|
2817
|
+
mailbox: string;
|
|
2818
2818
|
validatorAnnounce: string;
|
|
2819
2819
|
merkleTreeHook: string;
|
|
2820
2820
|
interchainGasPaymaster: string;
|
|
2821
|
-
interchainSecurityModule?: string | undefined;
|
|
2822
2821
|
domainId?: number | undefined;
|
|
2823
2822
|
displayName?: string | undefined;
|
|
2824
2823
|
displayNameShort?: string | undefined;
|
|
@@ -2829,8 +2828,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2829
2828
|
decimals: number;
|
|
2830
2829
|
} | undefined;
|
|
2831
2830
|
blockExplorers?: {
|
|
2832
|
-
url: string;
|
|
2833
2831
|
name: string;
|
|
2832
|
+
url: string;
|
|
2834
2833
|
apiUrl: string;
|
|
2835
2834
|
apiKey?: string | undefined;
|
|
2836
2835
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -2846,6 +2845,7 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2846
2845
|
bech32Prefix?: string | undefined;
|
|
2847
2846
|
slip44?: number | undefined;
|
|
2848
2847
|
isTestnet?: boolean | undefined;
|
|
2848
|
+
interchainSecurityModule?: string | undefined;
|
|
2849
2849
|
customRpcUrls?: string | undefined;
|
|
2850
2850
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
2851
2851
|
signer?: {
|
|
@@ -2866,10 +2866,6 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2866
2866
|
}>;
|
|
2867
2867
|
db: string;
|
|
2868
2868
|
chainsToScrape: string;
|
|
2869
|
-
log?: {
|
|
2870
|
-
format?: AgentLogFormat | undefined;
|
|
2871
|
-
level?: AgentLogLevel | undefined;
|
|
2872
|
-
} | undefined;
|
|
2873
2869
|
metricsPort?: number | undefined;
|
|
2874
2870
|
defaultSigner?: {
|
|
2875
2871
|
key: string;
|
|
@@ -2882,26 +2878,18 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2882
2878
|
type: AgentSignerKeyType.Node;
|
|
2883
2879
|
} | undefined;
|
|
2884
2880
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
2881
|
+
log?: {
|
|
2882
|
+
format?: AgentLogFormat | undefined;
|
|
2883
|
+
level?: AgentLogLevel | undefined;
|
|
2884
|
+
} | undefined;
|
|
2885
2885
|
}>;
|
|
2886
2886
|
export type ScraperConfig = z.infer<typeof ScraperAgentConfigSchema>;
|
|
2887
2887
|
export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
2888
|
-
log: z.ZodOptional<z.ZodObject<{
|
|
2889
|
-
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
2890
|
-
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
2891
|
-
}, "strip", z.ZodTypeAny, {
|
|
2892
|
-
format?: AgentLogFormat | undefined;
|
|
2893
|
-
level?: AgentLogLevel | undefined;
|
|
2894
|
-
}, {
|
|
2895
|
-
format?: AgentLogFormat | undefined;
|
|
2896
|
-
level?: AgentLogLevel | undefined;
|
|
2897
|
-
}>>;
|
|
2898
2888
|
metricsPort: z.ZodOptional<z.ZodNumber>;
|
|
2899
2889
|
chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2900
2890
|
name: z.ZodString;
|
|
2901
|
-
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2902
2891
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
2903
|
-
|
|
2904
|
-
mailbox: z.ZodString;
|
|
2892
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2905
2893
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
2906
2894
|
displayName: z.ZodOptional<z.ZodString>;
|
|
2907
2895
|
displayNameShort: z.ZodOptional<z.ZodString>;
|
|
@@ -2977,14 +2965,14 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
2977
2965
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
2978
2966
|
family: z.ZodOptional<z.ZodNativeEnum<typeof import("./chainMetadataTypes").ExplorerFamily>>;
|
|
2979
2967
|
}, "strip", z.ZodTypeAny, {
|
|
2980
|
-
url: string;
|
|
2981
2968
|
name: string;
|
|
2969
|
+
url: string;
|
|
2982
2970
|
apiUrl: string;
|
|
2983
2971
|
apiKey?: string | undefined;
|
|
2984
2972
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
2985
2973
|
}, {
|
|
2986
|
-
url: string;
|
|
2987
2974
|
name: string;
|
|
2975
|
+
url: string;
|
|
2988
2976
|
apiUrl: string;
|
|
2989
2977
|
apiKey?: string | undefined;
|
|
2990
2978
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -3008,6 +2996,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3008
2996
|
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
3009
2997
|
slip44: z.ZodOptional<z.ZodNumber>;
|
|
3010
2998
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
2999
|
+
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
3000
|
+
mailbox: z.ZodString;
|
|
3011
3001
|
validatorAnnounce: z.ZodString;
|
|
3012
3002
|
merkleTreeHook: z.ZodString;
|
|
3013
3003
|
interchainGasPaymaster: z.ZodString;
|
|
@@ -3056,9 +3046,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3056
3046
|
}>>;
|
|
3057
3047
|
}, "strip", z.ZodTypeAny, {
|
|
3058
3048
|
name: string;
|
|
3059
|
-
chainId: string | number;
|
|
3060
3049
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3061
|
-
|
|
3050
|
+
chainId: string | number;
|
|
3062
3051
|
rpcUrls: [{
|
|
3063
3052
|
http: string;
|
|
3064
3053
|
webSocket?: string | undefined;
|
|
@@ -3084,10 +3073,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3084
3073
|
baseRetryMs: number;
|
|
3085
3074
|
} | undefined;
|
|
3086
3075
|
}[]];
|
|
3076
|
+
mailbox: string;
|
|
3087
3077
|
validatorAnnounce: string;
|
|
3088
3078
|
merkleTreeHook: string;
|
|
3089
3079
|
interchainGasPaymaster: string;
|
|
3090
|
-
interchainSecurityModule?: string | undefined;
|
|
3091
3080
|
domainId?: number | undefined;
|
|
3092
3081
|
displayName?: string | undefined;
|
|
3093
3082
|
displayNameShort?: string | undefined;
|
|
@@ -3098,8 +3087,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3098
3087
|
decimals: number;
|
|
3099
3088
|
} | undefined;
|
|
3100
3089
|
blockExplorers?: {
|
|
3101
|
-
url: string;
|
|
3102
3090
|
name: string;
|
|
3091
|
+
url: string;
|
|
3103
3092
|
apiUrl: string;
|
|
3104
3093
|
apiKey?: string | undefined;
|
|
3105
3094
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -3115,6 +3104,7 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3115
3104
|
bech32Prefix?: string | undefined;
|
|
3116
3105
|
slip44?: number | undefined;
|
|
3117
3106
|
isTestnet?: boolean | undefined;
|
|
3107
|
+
interchainSecurityModule?: string | undefined;
|
|
3118
3108
|
customRpcUrls?: string | undefined;
|
|
3119
3109
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
3120
3110
|
signer?: {
|
|
@@ -3134,9 +3124,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3134
3124
|
} | undefined;
|
|
3135
3125
|
}, {
|
|
3136
3126
|
name: string;
|
|
3137
|
-
chainId: string | number;
|
|
3138
3127
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3139
|
-
|
|
3128
|
+
chainId: string | number;
|
|
3140
3129
|
rpcUrls: [{
|
|
3141
3130
|
http: string;
|
|
3142
3131
|
webSocket?: string | undefined;
|
|
@@ -3162,10 +3151,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3162
3151
|
baseRetryMs: number;
|
|
3163
3152
|
} | undefined;
|
|
3164
3153
|
}[]];
|
|
3154
|
+
mailbox: string;
|
|
3165
3155
|
validatorAnnounce: string;
|
|
3166
3156
|
merkleTreeHook: string;
|
|
3167
3157
|
interchainGasPaymaster: string;
|
|
3168
|
-
interchainSecurityModule?: string | undefined;
|
|
3169
3158
|
domainId?: number | undefined;
|
|
3170
3159
|
displayName?: string | undefined;
|
|
3171
3160
|
displayNameShort?: string | undefined;
|
|
@@ -3176,8 +3165,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3176
3165
|
decimals: number;
|
|
3177
3166
|
} | undefined;
|
|
3178
3167
|
blockExplorers?: {
|
|
3179
|
-
url: string;
|
|
3180
3168
|
name: string;
|
|
3169
|
+
url: string;
|
|
3181
3170
|
apiUrl: string;
|
|
3182
3171
|
apiKey?: string | undefined;
|
|
3183
3172
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -3193,6 +3182,7 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3193
3182
|
bech32Prefix?: string | undefined;
|
|
3194
3183
|
slip44?: number | undefined;
|
|
3195
3184
|
isTestnet?: boolean | undefined;
|
|
3185
|
+
interchainSecurityModule?: string | undefined;
|
|
3196
3186
|
customRpcUrls?: string | undefined;
|
|
3197
3187
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
3198
3188
|
signer?: {
|
|
@@ -3212,9 +3202,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3212
3202
|
} | undefined;
|
|
3213
3203
|
}>>, Record<string, {
|
|
3214
3204
|
name: string;
|
|
3215
|
-
chainId: string | number;
|
|
3216
3205
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3217
|
-
|
|
3206
|
+
chainId: string | number;
|
|
3218
3207
|
rpcUrls: [{
|
|
3219
3208
|
http: string;
|
|
3220
3209
|
webSocket?: string | undefined;
|
|
@@ -3240,10 +3229,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3240
3229
|
baseRetryMs: number;
|
|
3241
3230
|
} | undefined;
|
|
3242
3231
|
}[]];
|
|
3232
|
+
mailbox: string;
|
|
3243
3233
|
validatorAnnounce: string;
|
|
3244
3234
|
merkleTreeHook: string;
|
|
3245
3235
|
interchainGasPaymaster: string;
|
|
3246
|
-
interchainSecurityModule?: string | undefined;
|
|
3247
3236
|
domainId?: number | undefined;
|
|
3248
3237
|
displayName?: string | undefined;
|
|
3249
3238
|
displayNameShort?: string | undefined;
|
|
@@ -3254,8 +3243,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3254
3243
|
decimals: number;
|
|
3255
3244
|
} | undefined;
|
|
3256
3245
|
blockExplorers?: {
|
|
3257
|
-
url: string;
|
|
3258
3246
|
name: string;
|
|
3247
|
+
url: string;
|
|
3259
3248
|
apiUrl: string;
|
|
3260
3249
|
apiKey?: string | undefined;
|
|
3261
3250
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -3271,6 +3260,7 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3271
3260
|
bech32Prefix?: string | undefined;
|
|
3272
3261
|
slip44?: number | undefined;
|
|
3273
3262
|
isTestnet?: boolean | undefined;
|
|
3263
|
+
interchainSecurityModule?: string | undefined;
|
|
3274
3264
|
customRpcUrls?: string | undefined;
|
|
3275
3265
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
3276
3266
|
signer?: {
|
|
@@ -3290,9 +3280,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3290
3280
|
} | undefined;
|
|
3291
3281
|
}>, Record<string, {
|
|
3292
3282
|
name: string;
|
|
3293
|
-
chainId: string | number;
|
|
3294
3283
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3295
|
-
|
|
3284
|
+
chainId: string | number;
|
|
3296
3285
|
rpcUrls: [{
|
|
3297
3286
|
http: string;
|
|
3298
3287
|
webSocket?: string | undefined;
|
|
@@ -3318,10 +3307,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3318
3307
|
baseRetryMs: number;
|
|
3319
3308
|
} | undefined;
|
|
3320
3309
|
}[]];
|
|
3310
|
+
mailbox: string;
|
|
3321
3311
|
validatorAnnounce: string;
|
|
3322
3312
|
merkleTreeHook: string;
|
|
3323
3313
|
interchainGasPaymaster: string;
|
|
3324
|
-
interchainSecurityModule?: string | undefined;
|
|
3325
3314
|
domainId?: number | undefined;
|
|
3326
3315
|
displayName?: string | undefined;
|
|
3327
3316
|
displayNameShort?: string | undefined;
|
|
@@ -3332,8 +3321,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3332
3321
|
decimals: number;
|
|
3333
3322
|
} | undefined;
|
|
3334
3323
|
blockExplorers?: {
|
|
3335
|
-
url: string;
|
|
3336
3324
|
name: string;
|
|
3325
|
+
url: string;
|
|
3337
3326
|
apiUrl: string;
|
|
3338
3327
|
apiKey?: string | undefined;
|
|
3339
3328
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -3349,6 +3338,7 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3349
3338
|
bech32Prefix?: string | undefined;
|
|
3350
3339
|
slip44?: number | undefined;
|
|
3351
3340
|
isTestnet?: boolean | undefined;
|
|
3341
|
+
interchainSecurityModule?: string | undefined;
|
|
3352
3342
|
customRpcUrls?: string | undefined;
|
|
3353
3343
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
3354
3344
|
signer?: {
|
|
@@ -3396,6 +3386,16 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3396
3386
|
type: AgentSignerKeyType.Node;
|
|
3397
3387
|
}>]>>;
|
|
3398
3388
|
defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
|
|
3389
|
+
log: z.ZodOptional<z.ZodObject<{
|
|
3390
|
+
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
3391
|
+
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
3392
|
+
}, "strip", z.ZodTypeAny, {
|
|
3393
|
+
format?: AgentLogFormat | undefined;
|
|
3394
|
+
level?: AgentLogLevel | undefined;
|
|
3395
|
+
}, {
|
|
3396
|
+
format?: AgentLogFormat | undefined;
|
|
3397
|
+
level?: AgentLogLevel | undefined;
|
|
3398
|
+
}>>;
|
|
3399
3399
|
db: z.ZodOptional<z.ZodString>;
|
|
3400
3400
|
originChainName: z.ZodString;
|
|
3401
3401
|
validator: z.ZodUnion<[z.ZodObject<{
|
|
@@ -3430,11 +3430,11 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3430
3430
|
type: z.ZodLiteral<"localStorage">;
|
|
3431
3431
|
path: z.ZodString;
|
|
3432
3432
|
}, "strip", z.ZodTypeAny, {
|
|
3433
|
-
type: "localStorage";
|
|
3434
3433
|
path: string;
|
|
3435
|
-
}, {
|
|
3436
3434
|
type: "localStorage";
|
|
3435
|
+
}, {
|
|
3437
3436
|
path: string;
|
|
3437
|
+
type: "localStorage";
|
|
3438
3438
|
}>, z.ZodObject<{
|
|
3439
3439
|
type: z.ZodLiteral<"s3">;
|
|
3440
3440
|
bucket: z.ZodString;
|
|
@@ -3453,35 +3453,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3453
3453
|
}>]>;
|
|
3454
3454
|
interval: z.ZodOptional<z.ZodNumber>;
|
|
3455
3455
|
}, "strip", z.ZodTypeAny, {
|
|
3456
|
-
validator: {
|
|
3457
|
-
key: string;
|
|
3458
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3459
|
-
} | {
|
|
3460
|
-
id: string;
|
|
3461
|
-
region: string;
|
|
3462
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3463
|
-
} | {
|
|
3464
|
-
type: AgentSignerKeyType.Node;
|
|
3465
|
-
} | ({
|
|
3466
|
-
key: string;
|
|
3467
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3468
|
-
} & {
|
|
3469
|
-
id: string;
|
|
3470
|
-
region: string;
|
|
3471
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3472
|
-
}) | ({
|
|
3473
|
-
id: string;
|
|
3474
|
-
region: string;
|
|
3475
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3476
|
-
} & {
|
|
3477
|
-
key: string;
|
|
3478
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3479
|
-
});
|
|
3480
3456
|
chains: Record<string, {
|
|
3481
3457
|
name: string;
|
|
3482
|
-
chainId: string | number;
|
|
3483
3458
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3484
|
-
|
|
3459
|
+
chainId: string | number;
|
|
3485
3460
|
rpcUrls: [{
|
|
3486
3461
|
http: string;
|
|
3487
3462
|
webSocket?: string | undefined;
|
|
@@ -3507,10 +3482,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3507
3482
|
baseRetryMs: number;
|
|
3508
3483
|
} | undefined;
|
|
3509
3484
|
}[]];
|
|
3485
|
+
mailbox: string;
|
|
3510
3486
|
validatorAnnounce: string;
|
|
3511
3487
|
merkleTreeHook: string;
|
|
3512
3488
|
interchainGasPaymaster: string;
|
|
3513
|
-
interchainSecurityModule?: string | undefined;
|
|
3514
3489
|
domainId?: number | undefined;
|
|
3515
3490
|
displayName?: string | undefined;
|
|
3516
3491
|
displayNameShort?: string | undefined;
|
|
@@ -3521,8 +3496,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3521
3496
|
decimals: number;
|
|
3522
3497
|
} | undefined;
|
|
3523
3498
|
blockExplorers?: {
|
|
3524
|
-
url: string;
|
|
3525
3499
|
name: string;
|
|
3500
|
+
url: string;
|
|
3526
3501
|
apiUrl: string;
|
|
3527
3502
|
apiKey?: string | undefined;
|
|
3528
3503
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -3538,6 +3513,7 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3538
3513
|
bech32Prefix?: string | undefined;
|
|
3539
3514
|
slip44?: number | undefined;
|
|
3540
3515
|
isTestnet?: boolean | undefined;
|
|
3516
|
+
interchainSecurityModule?: string | undefined;
|
|
3541
3517
|
customRpcUrls?: string | undefined;
|
|
3542
3518
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
3543
3519
|
signer?: {
|
|
@@ -3557,34 +3533,6 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3557
3533
|
} | undefined;
|
|
3558
3534
|
}>;
|
|
3559
3535
|
originChainName: string;
|
|
3560
|
-
checkpointSyncer: {
|
|
3561
|
-
type: "localStorage";
|
|
3562
|
-
path: string;
|
|
3563
|
-
} | {
|
|
3564
|
-
type: "s3";
|
|
3565
|
-
region: string;
|
|
3566
|
-
bucket: string;
|
|
3567
|
-
folder?: string | undefined;
|
|
3568
|
-
};
|
|
3569
|
-
log?: {
|
|
3570
|
-
format?: AgentLogFormat | undefined;
|
|
3571
|
-
level?: AgentLogLevel | undefined;
|
|
3572
|
-
} | undefined;
|
|
3573
|
-
metricsPort?: number | undefined;
|
|
3574
|
-
defaultSigner?: {
|
|
3575
|
-
key: string;
|
|
3576
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3577
|
-
} | {
|
|
3578
|
-
id: string;
|
|
3579
|
-
region: string;
|
|
3580
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3581
|
-
} | {
|
|
3582
|
-
type: AgentSignerKeyType.Node;
|
|
3583
|
-
} | undefined;
|
|
3584
|
-
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
3585
|
-
db?: string | undefined;
|
|
3586
|
-
interval?: number | undefined;
|
|
3587
|
-
}, {
|
|
3588
3536
|
validator: {
|
|
3589
3537
|
key: string;
|
|
3590
3538
|
type?: AgentSignerKeyType.Hex | undefined;
|
|
@@ -3609,11 +3557,38 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3609
3557
|
key: string;
|
|
3610
3558
|
type?: AgentSignerKeyType.Hex | undefined;
|
|
3611
3559
|
});
|
|
3560
|
+
checkpointSyncer: {
|
|
3561
|
+
path: string;
|
|
3562
|
+
type: "localStorage";
|
|
3563
|
+
} | {
|
|
3564
|
+
type: "s3";
|
|
3565
|
+
region: string;
|
|
3566
|
+
bucket: string;
|
|
3567
|
+
folder?: string | undefined;
|
|
3568
|
+
};
|
|
3569
|
+
metricsPort?: number | undefined;
|
|
3570
|
+
defaultSigner?: {
|
|
3571
|
+
key: string;
|
|
3572
|
+
type?: AgentSignerKeyType.Hex | undefined;
|
|
3573
|
+
} | {
|
|
3574
|
+
id: string;
|
|
3575
|
+
region: string;
|
|
3576
|
+
type?: AgentSignerKeyType.Aws | undefined;
|
|
3577
|
+
} | {
|
|
3578
|
+
type: AgentSignerKeyType.Node;
|
|
3579
|
+
} | undefined;
|
|
3580
|
+
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
3581
|
+
log?: {
|
|
3582
|
+
format?: AgentLogFormat | undefined;
|
|
3583
|
+
level?: AgentLogLevel | undefined;
|
|
3584
|
+
} | undefined;
|
|
3585
|
+
db?: string | undefined;
|
|
3586
|
+
interval?: number | undefined;
|
|
3587
|
+
}, {
|
|
3612
3588
|
chains: Record<string, {
|
|
3613
3589
|
name: string;
|
|
3614
|
-
chainId: string | number;
|
|
3615
3590
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3616
|
-
|
|
3591
|
+
chainId: string | number;
|
|
3617
3592
|
rpcUrls: [{
|
|
3618
3593
|
http: string;
|
|
3619
3594
|
webSocket?: string | undefined;
|
|
@@ -3639,10 +3614,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3639
3614
|
baseRetryMs: number;
|
|
3640
3615
|
} | undefined;
|
|
3641
3616
|
}[]];
|
|
3617
|
+
mailbox: string;
|
|
3642
3618
|
validatorAnnounce: string;
|
|
3643
3619
|
merkleTreeHook: string;
|
|
3644
3620
|
interchainGasPaymaster: string;
|
|
3645
|
-
interchainSecurityModule?: string | undefined;
|
|
3646
3621
|
domainId?: number | undefined;
|
|
3647
3622
|
displayName?: string | undefined;
|
|
3648
3623
|
displayNameShort?: string | undefined;
|
|
@@ -3653,8 +3628,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3653
3628
|
decimals: number;
|
|
3654
3629
|
} | undefined;
|
|
3655
3630
|
blockExplorers?: {
|
|
3656
|
-
url: string;
|
|
3657
3631
|
name: string;
|
|
3632
|
+
url: string;
|
|
3658
3633
|
apiUrl: string;
|
|
3659
3634
|
apiKey?: string | undefined;
|
|
3660
3635
|
family?: import("./chainMetadataTypes").ExplorerFamily | undefined;
|
|
@@ -3670,6 +3645,7 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3670
3645
|
bech32Prefix?: string | undefined;
|
|
3671
3646
|
slip44?: number | undefined;
|
|
3672
3647
|
isTestnet?: boolean | undefined;
|
|
3648
|
+
interchainSecurityModule?: string | undefined;
|
|
3673
3649
|
customRpcUrls?: string | undefined;
|
|
3674
3650
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
3675
3651
|
signer?: {
|
|
@@ -3689,19 +3665,39 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3689
3665
|
} | undefined;
|
|
3690
3666
|
}>;
|
|
3691
3667
|
originChainName: string;
|
|
3668
|
+
validator: {
|
|
3669
|
+
key: string;
|
|
3670
|
+
type?: AgentSignerKeyType.Hex | undefined;
|
|
3671
|
+
} | {
|
|
3672
|
+
id: string;
|
|
3673
|
+
region: string;
|
|
3674
|
+
type?: AgentSignerKeyType.Aws | undefined;
|
|
3675
|
+
} | {
|
|
3676
|
+
type: AgentSignerKeyType.Node;
|
|
3677
|
+
} | ({
|
|
3678
|
+
key: string;
|
|
3679
|
+
type?: AgentSignerKeyType.Hex | undefined;
|
|
3680
|
+
} & {
|
|
3681
|
+
id: string;
|
|
3682
|
+
region: string;
|
|
3683
|
+
type?: AgentSignerKeyType.Aws | undefined;
|
|
3684
|
+
}) | ({
|
|
3685
|
+
id: string;
|
|
3686
|
+
region: string;
|
|
3687
|
+
type?: AgentSignerKeyType.Aws | undefined;
|
|
3688
|
+
} & {
|
|
3689
|
+
key: string;
|
|
3690
|
+
type?: AgentSignerKeyType.Hex | undefined;
|
|
3691
|
+
});
|
|
3692
3692
|
checkpointSyncer: {
|
|
3693
|
-
type: "localStorage";
|
|
3694
3693
|
path: string;
|
|
3694
|
+
type: "localStorage";
|
|
3695
3695
|
} | {
|
|
3696
3696
|
type: "s3";
|
|
3697
3697
|
region: string;
|
|
3698
3698
|
bucket: string;
|
|
3699
3699
|
folder?: string | undefined;
|
|
3700
3700
|
};
|
|
3701
|
-
log?: {
|
|
3702
|
-
format?: AgentLogFormat | undefined;
|
|
3703
|
-
level?: AgentLogLevel | undefined;
|
|
3704
|
-
} | undefined;
|
|
3705
3701
|
metricsPort?: number | undefined;
|
|
3706
3702
|
defaultSigner?: {
|
|
3707
3703
|
key: string;
|
|
@@ -3714,6 +3710,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3714
3710
|
type: AgentSignerKeyType.Node;
|
|
3715
3711
|
} | undefined;
|
|
3716
3712
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
3713
|
+
log?: {
|
|
3714
|
+
format?: AgentLogFormat | undefined;
|
|
3715
|
+
level?: AgentLogLevel | undefined;
|
|
3716
|
+
} | undefined;
|
|
3717
3717
|
db?: string | undefined;
|
|
3718
3718
|
interval?: number | undefined;
|
|
3719
3719
|
}>;
|