@hyperlane-xyz/sdk 3.0.0-beta0 → 3.1.0-beta0
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/app/MultiProtocolApp.d.ts +5 -1
- package/dist/app/MultiProtocolApp.d.ts.map +1 -1
- package/dist/app/MultiProtocolApp.js +11 -1
- package/dist/app/MultiProtocolApp.js.map +1 -1
- package/dist/app/MultiProtocolApp.test.js +2 -0
- package/dist/app/MultiProtocolApp.test.js.map +1 -1
- package/dist/consts/chainMetadata.d.ts +0 -3
- package/dist/consts/chainMetadata.d.ts.map +1 -1
- package/dist/consts/chainMetadata.js +5 -83
- package/dist/consts/chainMetadata.js.map +1 -1
- package/dist/consts/chains.d.ts +0 -3
- package/dist/consts/chains.d.ts.map +1 -1
- package/dist/consts/chains.js +1 -7
- package/dist/consts/chains.js.map +1 -1
- package/dist/consts/environments/index.d.ts +130 -1211
- package/dist/consts/environments/index.d.ts.map +1 -1
- package/dist/consts/environments/mainnet.json +147 -826
- package/dist/consts/environments/testnet.json +8 -351
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +63 -61
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/core/CoreDeployer.hardhat-test.js +1 -1
- package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
- package/dist/core/HyperlaneCore.d.ts.map +1 -1
- package/dist/core/HyperlaneCore.js +0 -1
- package/dist/core/HyperlaneCore.js.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.js +2 -3
- package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
- package/dist/core/MultiProtocolCore.d.ts.map +1 -1
- package/dist/core/MultiProtocolCore.js +1 -0
- package/dist/core/MultiProtocolCore.js.map +1 -1
- package/dist/core/adapters/CosmWasmCoreAdapter.d.ts +26 -0
- package/dist/core/adapters/CosmWasmCoreAdapter.d.ts.map +1 -0
- package/dist/core/adapters/CosmWasmCoreAdapter.js +33 -0
- package/dist/core/adapters/CosmWasmCoreAdapter.js.map +1 -0
- package/dist/cw-types/Cw20Base.types.d.ts +198 -0
- package/dist/cw-types/Cw20Base.types.d.ts.map +1 -0
- package/dist/cw-types/Cw20Base.types.js +8 -0
- package/dist/cw-types/Cw20Base.types.js.map +1 -0
- package/dist/cw-types/Mailbox.types.d.ts +131 -0
- package/dist/cw-types/Mailbox.types.d.ts.map +1 -0
- package/dist/cw-types/Mailbox.types.js +8 -0
- package/dist/cw-types/Mailbox.types.js.map +1 -0
- package/dist/cw-types/WarpCw20.types.d.ts +192 -0
- package/dist/cw-types/WarpCw20.types.d.ts.map +1 -0
- package/dist/cw-types/WarpCw20.types.js +8 -0
- package/dist/cw-types/WarpCw20.types.js.map +1 -0
- package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.js +4 -5
- package/dist/deploy/HyperlaneDeployer.js.map +1 -1
- package/dist/gas/HyperlaneIgp.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgp.js +0 -1
- package/dist/gas/HyperlaneIgp.js.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.js +1 -2
- package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.d.ts +2 -12
- package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.js +12 -97
- package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
- package/dist/hook/contracts.d.ts +1 -4
- package/dist/hook/contracts.d.ts.map +1 -1
- package/dist/hook/contracts.js +1 -4
- package/dist/hook/contracts.js.map +1 -1
- package/dist/hook/types.d.ts +2 -24
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +0 -3
- package/dist/hook/types.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts +0 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +3 -3
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +28 -43
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/types.d.ts +7 -20
- package/dist/ism/types.d.ts.map +1 -1
- package/dist/ism/types.js +1 -32
- package/dist/ism/types.js.map +1 -1
- package/dist/metadata/ChainMetadataManager.d.ts +3 -3
- package/dist/metadata/ChainMetadataManager.d.ts.map +1 -1
- package/dist/metadata/ChainMetadataManager.js +14 -13
- package/dist/metadata/ChainMetadataManager.js.map +1 -1
- package/dist/metadata/agentConfig.d.ts +195 -133
- package/dist/metadata/agentConfig.d.ts.map +1 -1
- package/dist/metadata/agentConfig.js +1 -1
- package/dist/metadata/agentConfig.js.map +1 -1
- package/dist/metadata/chainMetadata.test.js +16 -0
- package/dist/metadata/chainMetadata.test.js.map +1 -1
- package/dist/metadata/chainMetadataTypes.d.ts +570 -4
- package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
- package/dist/metadata/chainMetadataTypes.js +50 -4
- package/dist/metadata/chainMetadataTypes.js.map +1 -1
- package/dist/middleware/query/InterchainQuery.d.ts.map +1 -1
- package/dist/middleware/query/InterchainQuery.js +0 -1
- package/dist/middleware/query/InterchainQuery.js.map +1 -1
- package/dist/providers/MultiProtocolProvider.d.ts +4 -1
- package/dist/providers/MultiProtocolProvider.d.ts.map +1 -1
- package/dist/providers/MultiProtocolProvider.js +16 -20
- package/dist/providers/MultiProtocolProvider.js.map +1 -1
- package/dist/providers/ProviderType.d.ts +45 -8
- package/dist/providers/ProviderType.d.ts.map +1 -1
- package/dist/providers/ProviderType.js +2 -0
- package/dist/providers/ProviderType.js.map +1 -1
- package/dist/providers/providerBuilders.d.ts +3 -1
- package/dist/providers/providerBuilders.d.ts.map +1 -1
- package/dist/providers/providerBuilders.js +24 -1
- package/dist/providers/providerBuilders.js.map +1 -1
- package/dist/router/MultiProtocolRouterApps.d.ts.map +1 -1
- package/dist/router/MultiProtocolRouterApps.js +1 -0
- package/dist/router/MultiProtocolRouterApps.js.map +1 -1
- package/dist/test/testUtils.js +1 -1
- package/dist/test/testUtils.js.map +1 -1
- package/dist/token/adapters/CosmWasmTokenAdapter.d.ts +107 -0
- package/dist/token/adapters/CosmWasmTokenAdapter.d.ts.map +1 -0
- package/dist/token/adapters/CosmWasmTokenAdapter.js +273 -0
- package/dist/token/adapters/CosmWasmTokenAdapter.js.map +1 -0
- package/dist/token/adapters/CosmWasmTokenAdapter.test.d.ts +10 -0
- package/dist/token/adapters/CosmWasmTokenAdapter.test.d.ts.map +1 -0
- package/dist/token/adapters/CosmWasmTokenAdapter.test.js +74 -0
- package/dist/token/adapters/CosmWasmTokenAdapter.test.js.map +1 -0
- package/dist/token/adapters/SealevelTokenAdapter.d.ts +1 -1
- package/dist/token/adapters/SealevelTokenAdapter.d.ts.map +1 -1
- package/dist/token/adapters/SealevelTokenAdapter.js +1 -2
- package/dist/token/adapters/SealevelTokenAdapter.js.map +1 -1
- package/dist/utils/wagmi.d.ts +1 -1
- package/dist/utils/wagmi.d.ts.map +1 -1
- package/dist/utils/wagmi.js +2 -1
- package/dist/utils/wagmi.js.map +1 -1
- package/package.json +6 -3
|
@@ -98,8 +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]>;
|
|
101
102
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
102
|
-
chainId: z.ZodNumber;
|
|
103
103
|
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
104
104
|
mailbox: z.ZodString;
|
|
105
105
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -205,6 +205,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
205
205
|
transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
206
206
|
gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
|
|
207
207
|
gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
|
|
208
|
+
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
209
|
+
slip44: z.ZodOptional<z.ZodNumber>;
|
|
208
210
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
209
211
|
validatorAnnounce: z.ZodString;
|
|
210
212
|
merkleTreeHook: z.ZodString;
|
|
@@ -254,8 +256,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
254
256
|
}>>;
|
|
255
257
|
}, "strip", z.ZodTypeAny, {
|
|
256
258
|
name: string;
|
|
259
|
+
chainId: string | number;
|
|
257
260
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
258
|
-
chainId: number;
|
|
259
261
|
mailbox: string;
|
|
260
262
|
rpcUrls: [{
|
|
261
263
|
http: string;
|
|
@@ -310,6 +312,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
310
312
|
transactionOverrides?: {} | undefined;
|
|
311
313
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
312
314
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
315
|
+
bech32Prefix?: string | undefined;
|
|
316
|
+
slip44?: number | undefined;
|
|
313
317
|
isTestnet?: boolean | undefined;
|
|
314
318
|
customRpcUrls?: string | undefined;
|
|
315
319
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -330,8 +334,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
330
334
|
} | undefined;
|
|
331
335
|
}, {
|
|
332
336
|
name: string;
|
|
337
|
+
chainId: string | number;
|
|
333
338
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
334
|
-
chainId: number;
|
|
335
339
|
mailbox: string;
|
|
336
340
|
rpcUrls: [{
|
|
337
341
|
http: string;
|
|
@@ -386,6 +390,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
|
|
|
386
390
|
transactionOverrides?: {} | undefined;
|
|
387
391
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
388
392
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
393
|
+
bech32Prefix?: string | undefined;
|
|
394
|
+
slip44?: number | undefined;
|
|
389
395
|
isTestnet?: boolean | undefined;
|
|
390
396
|
customRpcUrls?: string | undefined;
|
|
391
397
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -410,8 +416,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
410
416
|
metricsPort: z.ZodOptional<z.ZodNumber>;
|
|
411
417
|
chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
412
418
|
name: z.ZodString;
|
|
419
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
413
420
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
414
|
-
chainId: z.ZodNumber;
|
|
415
421
|
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
416
422
|
mailbox: z.ZodString;
|
|
417
423
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -517,6 +523,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
517
523
|
transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
518
524
|
gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
|
|
519
525
|
gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
|
|
526
|
+
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
527
|
+
slip44: z.ZodOptional<z.ZodNumber>;
|
|
520
528
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
521
529
|
validatorAnnounce: z.ZodString;
|
|
522
530
|
merkleTreeHook: z.ZodString;
|
|
@@ -566,8 +574,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
566
574
|
}>>;
|
|
567
575
|
}, "strip", z.ZodTypeAny, {
|
|
568
576
|
name: string;
|
|
577
|
+
chainId: string | number;
|
|
569
578
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
570
|
-
chainId: number;
|
|
571
579
|
mailbox: string;
|
|
572
580
|
rpcUrls: [{
|
|
573
581
|
http: string;
|
|
@@ -622,6 +630,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
622
630
|
transactionOverrides?: {} | undefined;
|
|
623
631
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
624
632
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
633
|
+
bech32Prefix?: string | undefined;
|
|
634
|
+
slip44?: number | undefined;
|
|
625
635
|
isTestnet?: boolean | undefined;
|
|
626
636
|
customRpcUrls?: string | undefined;
|
|
627
637
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -642,8 +652,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
642
652
|
} | undefined;
|
|
643
653
|
}, {
|
|
644
654
|
name: string;
|
|
655
|
+
chainId: string | number;
|
|
645
656
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
646
|
-
chainId: number;
|
|
647
657
|
mailbox: string;
|
|
648
658
|
rpcUrls: [{
|
|
649
659
|
http: string;
|
|
@@ -698,6 +708,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
698
708
|
transactionOverrides?: {} | undefined;
|
|
699
709
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
700
710
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
711
|
+
bech32Prefix?: string | undefined;
|
|
712
|
+
slip44?: number | undefined;
|
|
701
713
|
isTestnet?: boolean | undefined;
|
|
702
714
|
customRpcUrls?: string | undefined;
|
|
703
715
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -718,8 +730,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
718
730
|
} | undefined;
|
|
719
731
|
}>>, Record<string, {
|
|
720
732
|
name: string;
|
|
733
|
+
chainId: string | number;
|
|
721
734
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
722
|
-
chainId: number;
|
|
723
735
|
mailbox: string;
|
|
724
736
|
rpcUrls: [{
|
|
725
737
|
http: string;
|
|
@@ -774,6 +786,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
774
786
|
transactionOverrides?: {} | undefined;
|
|
775
787
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
776
788
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
789
|
+
bech32Prefix?: string | undefined;
|
|
790
|
+
slip44?: number | undefined;
|
|
777
791
|
isTestnet?: boolean | undefined;
|
|
778
792
|
customRpcUrls?: string | undefined;
|
|
779
793
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -794,8 +808,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
794
808
|
} | undefined;
|
|
795
809
|
}>, Record<string, {
|
|
796
810
|
name: string;
|
|
811
|
+
chainId: string | number;
|
|
797
812
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
798
|
-
chainId: number;
|
|
799
813
|
mailbox: string;
|
|
800
814
|
rpcUrls: [{
|
|
801
815
|
http: string;
|
|
@@ -850,6 +864,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
850
864
|
transactionOverrides?: {} | undefined;
|
|
851
865
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
852
866
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
867
|
+
bech32Prefix?: string | undefined;
|
|
868
|
+
slip44?: number | undefined;
|
|
853
869
|
isTestnet?: boolean | undefined;
|
|
854
870
|
customRpcUrls?: string | undefined;
|
|
855
871
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -911,8 +927,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
911
927
|
}, "strip", z.ZodTypeAny, {
|
|
912
928
|
chains: Record<string, {
|
|
913
929
|
name: string;
|
|
930
|
+
chainId: string | number;
|
|
914
931
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
915
|
-
chainId: number;
|
|
916
932
|
mailbox: string;
|
|
917
933
|
rpcUrls: [{
|
|
918
934
|
http: string;
|
|
@@ -967,6 +983,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
967
983
|
transactionOverrides?: {} | undefined;
|
|
968
984
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
969
985
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
986
|
+
bech32Prefix?: string | undefined;
|
|
987
|
+
slip44?: number | undefined;
|
|
970
988
|
isTestnet?: boolean | undefined;
|
|
971
989
|
customRpcUrls?: string | undefined;
|
|
972
990
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -1005,8 +1023,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1005
1023
|
}, {
|
|
1006
1024
|
chains: Record<string, {
|
|
1007
1025
|
name: string;
|
|
1026
|
+
chainId: string | number;
|
|
1008
1027
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1009
|
-
chainId: number;
|
|
1010
1028
|
mailbox: string;
|
|
1011
1029
|
rpcUrls: [{
|
|
1012
1030
|
http: string;
|
|
@@ -1061,6 +1079,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1061
1079
|
transactionOverrides?: {} | undefined;
|
|
1062
1080
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
1063
1081
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
1082
|
+
bech32Prefix?: string | undefined;
|
|
1083
|
+
slip44?: number | undefined;
|
|
1064
1084
|
isTestnet?: boolean | undefined;
|
|
1065
1085
|
customRpcUrls?: string | undefined;
|
|
1066
1086
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -1213,11 +1233,21 @@ declare const GasPaymentEnforcementSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1213
1233
|
}>]>;
|
|
1214
1234
|
export type GasPaymentEnforcement = z.infer<typeof GasPaymentEnforcementSchema>;
|
|
1215
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
|
+
}>>;
|
|
1216
1246
|
metricsPort: z.ZodOptional<z.ZodNumber>;
|
|
1217
1247
|
chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1218
1248
|
name: z.ZodString;
|
|
1249
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1219
1250
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
1220
|
-
chainId: z.ZodNumber;
|
|
1221
1251
|
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
1222
1252
|
mailbox: z.ZodString;
|
|
1223
1253
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1323,6 +1353,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1323
1353
|
transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
1324
1354
|
gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
|
|
1325
1355
|
gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
slip44: z.ZodOptional<z.ZodNumber>;
|
|
1326
1358
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
1327
1359
|
validatorAnnounce: z.ZodString;
|
|
1328
1360
|
merkleTreeHook: z.ZodString;
|
|
@@ -1372,8 +1404,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1372
1404
|
}>>;
|
|
1373
1405
|
}, "strip", z.ZodTypeAny, {
|
|
1374
1406
|
name: string;
|
|
1407
|
+
chainId: string | number;
|
|
1375
1408
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1376
|
-
chainId: number;
|
|
1377
1409
|
mailbox: string;
|
|
1378
1410
|
rpcUrls: [{
|
|
1379
1411
|
http: string;
|
|
@@ -1428,6 +1460,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1428
1460
|
transactionOverrides?: {} | undefined;
|
|
1429
1461
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
1430
1462
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
1463
|
+
bech32Prefix?: string | undefined;
|
|
1464
|
+
slip44?: number | undefined;
|
|
1431
1465
|
isTestnet?: boolean | undefined;
|
|
1432
1466
|
customRpcUrls?: string | undefined;
|
|
1433
1467
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -1448,8 +1482,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1448
1482
|
} | undefined;
|
|
1449
1483
|
}, {
|
|
1450
1484
|
name: string;
|
|
1485
|
+
chainId: string | number;
|
|
1451
1486
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1452
|
-
chainId: number;
|
|
1453
1487
|
mailbox: string;
|
|
1454
1488
|
rpcUrls: [{
|
|
1455
1489
|
http: string;
|
|
@@ -1504,6 +1538,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1504
1538
|
transactionOverrides?: {} | undefined;
|
|
1505
1539
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
1506
1540
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
1541
|
+
bech32Prefix?: string | undefined;
|
|
1542
|
+
slip44?: number | undefined;
|
|
1507
1543
|
isTestnet?: boolean | undefined;
|
|
1508
1544
|
customRpcUrls?: string | undefined;
|
|
1509
1545
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -1524,8 +1560,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1524
1560
|
} | undefined;
|
|
1525
1561
|
}>>, Record<string, {
|
|
1526
1562
|
name: string;
|
|
1563
|
+
chainId: string | number;
|
|
1527
1564
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1528
|
-
chainId: number;
|
|
1529
1565
|
mailbox: string;
|
|
1530
1566
|
rpcUrls: [{
|
|
1531
1567
|
http: string;
|
|
@@ -1580,6 +1616,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1580
1616
|
transactionOverrides?: {} | undefined;
|
|
1581
1617
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
1582
1618
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
1619
|
+
bech32Prefix?: string | undefined;
|
|
1620
|
+
slip44?: number | undefined;
|
|
1583
1621
|
isTestnet?: boolean | undefined;
|
|
1584
1622
|
customRpcUrls?: string | undefined;
|
|
1585
1623
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -1600,8 +1638,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1600
1638
|
} | undefined;
|
|
1601
1639
|
}>, Record<string, {
|
|
1602
1640
|
name: string;
|
|
1641
|
+
chainId: string | number;
|
|
1603
1642
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1604
|
-
chainId: number;
|
|
1605
1643
|
mailbox: string;
|
|
1606
1644
|
rpcUrls: [{
|
|
1607
1645
|
http: string;
|
|
@@ -1656,6 +1694,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1656
1694
|
transactionOverrides?: {} | undefined;
|
|
1657
1695
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
1658
1696
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
1697
|
+
bech32Prefix?: string | undefined;
|
|
1698
|
+
slip44?: number | undefined;
|
|
1659
1699
|
isTestnet?: boolean | undefined;
|
|
1660
1700
|
customRpcUrls?: string | undefined;
|
|
1661
1701
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -1704,16 +1744,6 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1704
1744
|
type: AgentSignerKeyType.Node;
|
|
1705
1745
|
}>]>>;
|
|
1706
1746
|
defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
|
|
1707
|
-
log: z.ZodOptional<z.ZodObject<{
|
|
1708
|
-
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
1709
|
-
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
1710
|
-
}, "strip", z.ZodTypeAny, {
|
|
1711
|
-
format?: AgentLogFormat | undefined;
|
|
1712
|
-
level?: AgentLogLevel | undefined;
|
|
1713
|
-
}, {
|
|
1714
|
-
format?: AgentLogFormat | undefined;
|
|
1715
|
-
level?: AgentLogLevel | undefined;
|
|
1716
|
-
}>>;
|
|
1717
1747
|
db: z.ZodOptional<z.ZodString>;
|
|
1718
1748
|
relayChains: z.ZodString;
|
|
1719
1749
|
gasPaymentEnforcement: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -1863,8 +1893,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1863
1893
|
}, "strip", z.ZodTypeAny, {
|
|
1864
1894
|
chains: Record<string, {
|
|
1865
1895
|
name: string;
|
|
1896
|
+
chainId: string | number;
|
|
1866
1897
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
1867
|
-
chainId: number;
|
|
1868
1898
|
mailbox: string;
|
|
1869
1899
|
rpcUrls: [{
|
|
1870
1900
|
http: string;
|
|
@@ -1919,6 +1949,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1919
1949
|
transactionOverrides?: {} | undefined;
|
|
1920
1950
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
1921
1951
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
1952
|
+
bech32Prefix?: string | undefined;
|
|
1953
|
+
slip44?: number | undefined;
|
|
1922
1954
|
isTestnet?: boolean | undefined;
|
|
1923
1955
|
customRpcUrls?: string | undefined;
|
|
1924
1956
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -1939,6 +1971,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1939
1971
|
} | undefined;
|
|
1940
1972
|
}>;
|
|
1941
1973
|
relayChains: string;
|
|
1974
|
+
log?: {
|
|
1975
|
+
format?: AgentLogFormat | undefined;
|
|
1976
|
+
level?: AgentLogLevel | undefined;
|
|
1977
|
+
} | undefined;
|
|
1942
1978
|
metricsPort?: number | undefined;
|
|
1943
1979
|
defaultSigner?: {
|
|
1944
1980
|
key: string;
|
|
@@ -1951,10 +1987,6 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
1951
1987
|
type: AgentSignerKeyType.Node;
|
|
1952
1988
|
} | undefined;
|
|
1953
1989
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
1954
|
-
log?: {
|
|
1955
|
-
format?: AgentLogFormat | undefined;
|
|
1956
|
-
level?: AgentLogLevel | undefined;
|
|
1957
|
-
} | undefined;
|
|
1958
1990
|
db?: string | undefined;
|
|
1959
1991
|
gasPaymentEnforcement?: string | ({
|
|
1960
1992
|
matchingList?: {
|
|
@@ -2001,8 +2033,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2001
2033
|
}, {
|
|
2002
2034
|
chains: Record<string, {
|
|
2003
2035
|
name: string;
|
|
2036
|
+
chainId: string | number;
|
|
2004
2037
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2005
|
-
chainId: number;
|
|
2006
2038
|
mailbox: string;
|
|
2007
2039
|
rpcUrls: [{
|
|
2008
2040
|
http: string;
|
|
@@ -2057,6 +2089,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2057
2089
|
transactionOverrides?: {} | undefined;
|
|
2058
2090
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
2059
2091
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
2092
|
+
bech32Prefix?: string | undefined;
|
|
2093
|
+
slip44?: number | undefined;
|
|
2060
2094
|
isTestnet?: boolean | undefined;
|
|
2061
2095
|
customRpcUrls?: string | undefined;
|
|
2062
2096
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -2077,6 +2111,10 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2077
2111
|
} | undefined;
|
|
2078
2112
|
}>;
|
|
2079
2113
|
relayChains: string;
|
|
2114
|
+
log?: {
|
|
2115
|
+
format?: AgentLogFormat | undefined;
|
|
2116
|
+
level?: AgentLogLevel | undefined;
|
|
2117
|
+
} | undefined;
|
|
2080
2118
|
metricsPort?: number | undefined;
|
|
2081
2119
|
defaultSigner?: {
|
|
2082
2120
|
key: string;
|
|
@@ -2089,10 +2127,6 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2089
2127
|
type: AgentSignerKeyType.Node;
|
|
2090
2128
|
} | undefined;
|
|
2091
2129
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
2092
|
-
log?: {
|
|
2093
|
-
format?: AgentLogFormat | undefined;
|
|
2094
|
-
level?: AgentLogLevel | undefined;
|
|
2095
|
-
} | undefined;
|
|
2096
2130
|
db?: string | undefined;
|
|
2097
2131
|
gasPaymentEnforcement?: string | ({
|
|
2098
2132
|
matchingList?: {
|
|
@@ -2139,11 +2173,21 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
|
|
|
2139
2173
|
}>;
|
|
2140
2174
|
export type RelayerConfig = z.infer<typeof RelayerAgentConfigSchema>;
|
|
2141
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
|
+
}>>;
|
|
2142
2186
|
metricsPort: z.ZodOptional<z.ZodNumber>;
|
|
2143
2187
|
chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2144
2188
|
name: z.ZodString;
|
|
2189
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2145
2190
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
2146
|
-
chainId: z.ZodNumber;
|
|
2147
2191
|
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
2148
2192
|
mailbox: z.ZodString;
|
|
2149
2193
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2249,6 +2293,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2249
2293
|
transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
2250
2294
|
gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
|
|
2251
2295
|
gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
|
|
2296
|
+
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
2297
|
+
slip44: z.ZodOptional<z.ZodNumber>;
|
|
2252
2298
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
2253
2299
|
validatorAnnounce: z.ZodString;
|
|
2254
2300
|
merkleTreeHook: z.ZodString;
|
|
@@ -2298,8 +2344,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2298
2344
|
}>>;
|
|
2299
2345
|
}, "strip", z.ZodTypeAny, {
|
|
2300
2346
|
name: string;
|
|
2347
|
+
chainId: string | number;
|
|
2301
2348
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2302
|
-
chainId: number;
|
|
2303
2349
|
mailbox: string;
|
|
2304
2350
|
rpcUrls: [{
|
|
2305
2351
|
http: string;
|
|
@@ -2354,6 +2400,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2354
2400
|
transactionOverrides?: {} | undefined;
|
|
2355
2401
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
2356
2402
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
2403
|
+
bech32Prefix?: string | undefined;
|
|
2404
|
+
slip44?: number | undefined;
|
|
2357
2405
|
isTestnet?: boolean | undefined;
|
|
2358
2406
|
customRpcUrls?: string | undefined;
|
|
2359
2407
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -2374,8 +2422,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2374
2422
|
} | undefined;
|
|
2375
2423
|
}, {
|
|
2376
2424
|
name: string;
|
|
2425
|
+
chainId: string | number;
|
|
2377
2426
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2378
|
-
chainId: number;
|
|
2379
2427
|
mailbox: string;
|
|
2380
2428
|
rpcUrls: [{
|
|
2381
2429
|
http: string;
|
|
@@ -2430,6 +2478,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2430
2478
|
transactionOverrides?: {} | undefined;
|
|
2431
2479
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
2432
2480
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
2481
|
+
bech32Prefix?: string | undefined;
|
|
2482
|
+
slip44?: number | undefined;
|
|
2433
2483
|
isTestnet?: boolean | undefined;
|
|
2434
2484
|
customRpcUrls?: string | undefined;
|
|
2435
2485
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -2450,8 +2500,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2450
2500
|
} | undefined;
|
|
2451
2501
|
}>>, Record<string, {
|
|
2452
2502
|
name: string;
|
|
2503
|
+
chainId: string | number;
|
|
2453
2504
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2454
|
-
chainId: number;
|
|
2455
2505
|
mailbox: string;
|
|
2456
2506
|
rpcUrls: [{
|
|
2457
2507
|
http: string;
|
|
@@ -2506,6 +2556,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2506
2556
|
transactionOverrides?: {} | undefined;
|
|
2507
2557
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
2508
2558
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
2559
|
+
bech32Prefix?: string | undefined;
|
|
2560
|
+
slip44?: number | undefined;
|
|
2509
2561
|
isTestnet?: boolean | undefined;
|
|
2510
2562
|
customRpcUrls?: string | undefined;
|
|
2511
2563
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -2526,8 +2578,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2526
2578
|
} | undefined;
|
|
2527
2579
|
}>, Record<string, {
|
|
2528
2580
|
name: string;
|
|
2581
|
+
chainId: string | number;
|
|
2529
2582
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2530
|
-
chainId: number;
|
|
2531
2583
|
mailbox: string;
|
|
2532
2584
|
rpcUrls: [{
|
|
2533
2585
|
http: string;
|
|
@@ -2582,6 +2634,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2582
2634
|
transactionOverrides?: {} | undefined;
|
|
2583
2635
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
2584
2636
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
2637
|
+
bech32Prefix?: string | undefined;
|
|
2638
|
+
slip44?: number | undefined;
|
|
2585
2639
|
isTestnet?: boolean | undefined;
|
|
2586
2640
|
customRpcUrls?: string | undefined;
|
|
2587
2641
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -2630,23 +2684,13 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2630
2684
|
type: AgentSignerKeyType.Node;
|
|
2631
2685
|
}>]>>;
|
|
2632
2686
|
defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
|
|
2633
|
-
log: z.ZodOptional<z.ZodObject<{
|
|
2634
|
-
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
2635
|
-
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
2636
|
-
}, "strip", z.ZodTypeAny, {
|
|
2637
|
-
format?: AgentLogFormat | undefined;
|
|
2638
|
-
level?: AgentLogLevel | undefined;
|
|
2639
|
-
}, {
|
|
2640
|
-
format?: AgentLogFormat | undefined;
|
|
2641
|
-
level?: AgentLogLevel | undefined;
|
|
2642
|
-
}>>;
|
|
2643
2687
|
db: z.ZodString;
|
|
2644
2688
|
chainsToScrape: z.ZodString;
|
|
2645
2689
|
}, "strip", z.ZodTypeAny, {
|
|
2646
2690
|
chains: Record<string, {
|
|
2647
2691
|
name: string;
|
|
2692
|
+
chainId: string | number;
|
|
2648
2693
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2649
|
-
chainId: number;
|
|
2650
2694
|
mailbox: string;
|
|
2651
2695
|
rpcUrls: [{
|
|
2652
2696
|
http: string;
|
|
@@ -2701,6 +2745,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2701
2745
|
transactionOverrides?: {} | undefined;
|
|
2702
2746
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
2703
2747
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
2748
|
+
bech32Prefix?: string | undefined;
|
|
2749
|
+
slip44?: number | undefined;
|
|
2704
2750
|
isTestnet?: boolean | undefined;
|
|
2705
2751
|
customRpcUrls?: string | undefined;
|
|
2706
2752
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -2722,6 +2768,10 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2722
2768
|
}>;
|
|
2723
2769
|
db: string;
|
|
2724
2770
|
chainsToScrape: string;
|
|
2771
|
+
log?: {
|
|
2772
|
+
format?: AgentLogFormat | undefined;
|
|
2773
|
+
level?: AgentLogLevel | undefined;
|
|
2774
|
+
} | undefined;
|
|
2725
2775
|
metricsPort?: number | undefined;
|
|
2726
2776
|
defaultSigner?: {
|
|
2727
2777
|
key: string;
|
|
@@ -2734,15 +2784,11 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2734
2784
|
type: AgentSignerKeyType.Node;
|
|
2735
2785
|
} | undefined;
|
|
2736
2786
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
2737
|
-
log?: {
|
|
2738
|
-
format?: AgentLogFormat | undefined;
|
|
2739
|
-
level?: AgentLogLevel | undefined;
|
|
2740
|
-
} | undefined;
|
|
2741
2787
|
}, {
|
|
2742
2788
|
chains: Record<string, {
|
|
2743
2789
|
name: string;
|
|
2790
|
+
chainId: string | number;
|
|
2744
2791
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
2745
|
-
chainId: number;
|
|
2746
2792
|
mailbox: string;
|
|
2747
2793
|
rpcUrls: [{
|
|
2748
2794
|
http: string;
|
|
@@ -2797,6 +2843,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2797
2843
|
transactionOverrides?: {} | undefined;
|
|
2798
2844
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
2799
2845
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
2846
|
+
bech32Prefix?: string | undefined;
|
|
2847
|
+
slip44?: number | undefined;
|
|
2800
2848
|
isTestnet?: boolean | undefined;
|
|
2801
2849
|
customRpcUrls?: string | undefined;
|
|
2802
2850
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -2818,6 +2866,10 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2818
2866
|
}>;
|
|
2819
2867
|
db: string;
|
|
2820
2868
|
chainsToScrape: string;
|
|
2869
|
+
log?: {
|
|
2870
|
+
format?: AgentLogFormat | undefined;
|
|
2871
|
+
level?: AgentLogLevel | undefined;
|
|
2872
|
+
} | undefined;
|
|
2821
2873
|
metricsPort?: number | undefined;
|
|
2822
2874
|
defaultSigner?: {
|
|
2823
2875
|
key: string;
|
|
@@ -2830,18 +2882,24 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
|
|
|
2830
2882
|
type: AgentSignerKeyType.Node;
|
|
2831
2883
|
} | undefined;
|
|
2832
2884
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
2833
|
-
log?: {
|
|
2834
|
-
format?: AgentLogFormat | undefined;
|
|
2835
|
-
level?: AgentLogLevel | undefined;
|
|
2836
|
-
} | undefined;
|
|
2837
2885
|
}>;
|
|
2838
2886
|
export type ScraperConfig = z.infer<typeof ScraperAgentConfigSchema>;
|
|
2839
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
|
+
}>>;
|
|
2840
2898
|
metricsPort: z.ZodOptional<z.ZodNumber>;
|
|
2841
2899
|
chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2842
2900
|
name: z.ZodString;
|
|
2901
|
+
chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2843
2902
|
protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
|
|
2844
|
-
chainId: z.ZodNumber;
|
|
2845
2903
|
interchainSecurityModule: z.ZodOptional<z.ZodString>;
|
|
2846
2904
|
mailbox: z.ZodString;
|
|
2847
2905
|
domainId: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2947,6 +3005,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
2947
3005
|
transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
2948
3006
|
gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
|
|
2949
3007
|
gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
|
|
3008
|
+
bech32Prefix: z.ZodOptional<z.ZodString>;
|
|
3009
|
+
slip44: z.ZodOptional<z.ZodNumber>;
|
|
2950
3010
|
isTestnet: z.ZodOptional<z.ZodBoolean>;
|
|
2951
3011
|
validatorAnnounce: z.ZodString;
|
|
2952
3012
|
merkleTreeHook: z.ZodString;
|
|
@@ -2996,8 +3056,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
2996
3056
|
}>>;
|
|
2997
3057
|
}, "strip", z.ZodTypeAny, {
|
|
2998
3058
|
name: string;
|
|
3059
|
+
chainId: string | number;
|
|
2999
3060
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3000
|
-
chainId: number;
|
|
3001
3061
|
mailbox: string;
|
|
3002
3062
|
rpcUrls: [{
|
|
3003
3063
|
http: string;
|
|
@@ -3052,6 +3112,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3052
3112
|
transactionOverrides?: {} | undefined;
|
|
3053
3113
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
3054
3114
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
3115
|
+
bech32Prefix?: string | undefined;
|
|
3116
|
+
slip44?: number | undefined;
|
|
3055
3117
|
isTestnet?: boolean | undefined;
|
|
3056
3118
|
customRpcUrls?: string | undefined;
|
|
3057
3119
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -3072,8 +3134,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3072
3134
|
} | undefined;
|
|
3073
3135
|
}, {
|
|
3074
3136
|
name: string;
|
|
3137
|
+
chainId: string | number;
|
|
3075
3138
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3076
|
-
chainId: number;
|
|
3077
3139
|
mailbox: string;
|
|
3078
3140
|
rpcUrls: [{
|
|
3079
3141
|
http: string;
|
|
@@ -3128,6 +3190,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3128
3190
|
transactionOverrides?: {} | undefined;
|
|
3129
3191
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
3130
3192
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
3193
|
+
bech32Prefix?: string | undefined;
|
|
3194
|
+
slip44?: number | undefined;
|
|
3131
3195
|
isTestnet?: boolean | undefined;
|
|
3132
3196
|
customRpcUrls?: string | undefined;
|
|
3133
3197
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -3148,8 +3212,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3148
3212
|
} | undefined;
|
|
3149
3213
|
}>>, Record<string, {
|
|
3150
3214
|
name: string;
|
|
3215
|
+
chainId: string | number;
|
|
3151
3216
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3152
|
-
chainId: number;
|
|
3153
3217
|
mailbox: string;
|
|
3154
3218
|
rpcUrls: [{
|
|
3155
3219
|
http: string;
|
|
@@ -3204,6 +3268,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3204
3268
|
transactionOverrides?: {} | undefined;
|
|
3205
3269
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
3206
3270
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
3271
|
+
bech32Prefix?: string | undefined;
|
|
3272
|
+
slip44?: number | undefined;
|
|
3207
3273
|
isTestnet?: boolean | undefined;
|
|
3208
3274
|
customRpcUrls?: string | undefined;
|
|
3209
3275
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -3224,8 +3290,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3224
3290
|
} | undefined;
|
|
3225
3291
|
}>, Record<string, {
|
|
3226
3292
|
name: string;
|
|
3293
|
+
chainId: string | number;
|
|
3227
3294
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3228
|
-
chainId: number;
|
|
3229
3295
|
mailbox: string;
|
|
3230
3296
|
rpcUrls: [{
|
|
3231
3297
|
http: string;
|
|
@@ -3280,6 +3346,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3280
3346
|
transactionOverrides?: {} | undefined;
|
|
3281
3347
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
3282
3348
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
3349
|
+
bech32Prefix?: string | undefined;
|
|
3350
|
+
slip44?: number | undefined;
|
|
3283
3351
|
isTestnet?: boolean | undefined;
|
|
3284
3352
|
customRpcUrls?: string | undefined;
|
|
3285
3353
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -3328,16 +3396,6 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3328
3396
|
type: AgentSignerKeyType.Node;
|
|
3329
3397
|
}>]>>;
|
|
3330
3398
|
defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
|
|
3331
|
-
log: z.ZodOptional<z.ZodObject<{
|
|
3332
|
-
format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
|
|
3333
|
-
level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
|
|
3334
|
-
}, "strip", z.ZodTypeAny, {
|
|
3335
|
-
format?: AgentLogFormat | undefined;
|
|
3336
|
-
level?: AgentLogLevel | undefined;
|
|
3337
|
-
}, {
|
|
3338
|
-
format?: AgentLogFormat | undefined;
|
|
3339
|
-
level?: AgentLogLevel | undefined;
|
|
3340
|
-
}>>;
|
|
3341
3399
|
db: z.ZodOptional<z.ZodString>;
|
|
3342
3400
|
originChainName: z.ZodString;
|
|
3343
3401
|
validator: z.ZodUnion<[z.ZodObject<{
|
|
@@ -3395,10 +3453,34 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3395
3453
|
}>]>;
|
|
3396
3454
|
interval: z.ZodOptional<z.ZodNumber>;
|
|
3397
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
|
+
});
|
|
3398
3480
|
chains: Record<string, {
|
|
3399
3481
|
name: string;
|
|
3482
|
+
chainId: string | number;
|
|
3400
3483
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3401
|
-
chainId: number;
|
|
3402
3484
|
mailbox: string;
|
|
3403
3485
|
rpcUrls: [{
|
|
3404
3486
|
http: string;
|
|
@@ -3453,6 +3535,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3453
3535
|
transactionOverrides?: {} | undefined;
|
|
3454
3536
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
3455
3537
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
3538
|
+
bech32Prefix?: string | undefined;
|
|
3539
|
+
slip44?: number | undefined;
|
|
3456
3540
|
isTestnet?: boolean | undefined;
|
|
3457
3541
|
customRpcUrls?: string | undefined;
|
|
3458
3542
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -3473,30 +3557,6 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3473
3557
|
} | undefined;
|
|
3474
3558
|
}>;
|
|
3475
3559
|
originChainName: string;
|
|
3476
|
-
validator: {
|
|
3477
|
-
key: string;
|
|
3478
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3479
|
-
} | {
|
|
3480
|
-
id: string;
|
|
3481
|
-
region: string;
|
|
3482
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3483
|
-
} | {
|
|
3484
|
-
type: AgentSignerKeyType.Node;
|
|
3485
|
-
} | ({
|
|
3486
|
-
key: string;
|
|
3487
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3488
|
-
} & {
|
|
3489
|
-
id: string;
|
|
3490
|
-
region: string;
|
|
3491
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3492
|
-
}) | ({
|
|
3493
|
-
id: string;
|
|
3494
|
-
region: string;
|
|
3495
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3496
|
-
} & {
|
|
3497
|
-
key: string;
|
|
3498
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3499
|
-
});
|
|
3500
3560
|
checkpointSyncer: {
|
|
3501
3561
|
type: "localStorage";
|
|
3502
3562
|
path: string;
|
|
@@ -3506,6 +3566,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3506
3566
|
bucket: string;
|
|
3507
3567
|
folder?: string | undefined;
|
|
3508
3568
|
};
|
|
3569
|
+
log?: {
|
|
3570
|
+
format?: AgentLogFormat | undefined;
|
|
3571
|
+
level?: AgentLogLevel | undefined;
|
|
3572
|
+
} | undefined;
|
|
3509
3573
|
metricsPort?: number | undefined;
|
|
3510
3574
|
defaultSigner?: {
|
|
3511
3575
|
key: string;
|
|
@@ -3518,17 +3582,37 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3518
3582
|
type: AgentSignerKeyType.Node;
|
|
3519
3583
|
} | undefined;
|
|
3520
3584
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
3521
|
-
log?: {
|
|
3522
|
-
format?: AgentLogFormat | undefined;
|
|
3523
|
-
level?: AgentLogLevel | undefined;
|
|
3524
|
-
} | undefined;
|
|
3525
3585
|
db?: string | undefined;
|
|
3526
3586
|
interval?: number | undefined;
|
|
3527
3587
|
}, {
|
|
3588
|
+
validator: {
|
|
3589
|
+
key: string;
|
|
3590
|
+
type?: AgentSignerKeyType.Hex | undefined;
|
|
3591
|
+
} | {
|
|
3592
|
+
id: string;
|
|
3593
|
+
region: string;
|
|
3594
|
+
type?: AgentSignerKeyType.Aws | undefined;
|
|
3595
|
+
} | {
|
|
3596
|
+
type: AgentSignerKeyType.Node;
|
|
3597
|
+
} | ({
|
|
3598
|
+
key: string;
|
|
3599
|
+
type?: AgentSignerKeyType.Hex | undefined;
|
|
3600
|
+
} & {
|
|
3601
|
+
id: string;
|
|
3602
|
+
region: string;
|
|
3603
|
+
type?: AgentSignerKeyType.Aws | undefined;
|
|
3604
|
+
}) | ({
|
|
3605
|
+
id: string;
|
|
3606
|
+
region: string;
|
|
3607
|
+
type?: AgentSignerKeyType.Aws | undefined;
|
|
3608
|
+
} & {
|
|
3609
|
+
key: string;
|
|
3610
|
+
type?: AgentSignerKeyType.Hex | undefined;
|
|
3611
|
+
});
|
|
3528
3612
|
chains: Record<string, {
|
|
3529
3613
|
name: string;
|
|
3614
|
+
chainId: string | number;
|
|
3530
3615
|
protocol: import("@hyperlane-xyz/utils").ProtocolType;
|
|
3531
|
-
chainId: number;
|
|
3532
3616
|
mailbox: string;
|
|
3533
3617
|
rpcUrls: [{
|
|
3534
3618
|
http: string;
|
|
@@ -3583,6 +3667,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3583
3667
|
transactionOverrides?: {} | undefined;
|
|
3584
3668
|
gasCurrencyCoinGeckoId?: string | undefined;
|
|
3585
3669
|
gnosisSafeTransactionServiceUrl?: string | undefined;
|
|
3670
|
+
bech32Prefix?: string | undefined;
|
|
3671
|
+
slip44?: number | undefined;
|
|
3586
3672
|
isTestnet?: boolean | undefined;
|
|
3587
3673
|
customRpcUrls?: string | undefined;
|
|
3588
3674
|
rpcConsensusType?: RpcConsensusType | undefined;
|
|
@@ -3603,30 +3689,6 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3603
3689
|
} | undefined;
|
|
3604
3690
|
}>;
|
|
3605
3691
|
originChainName: string;
|
|
3606
|
-
validator: {
|
|
3607
|
-
key: string;
|
|
3608
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3609
|
-
} | {
|
|
3610
|
-
id: string;
|
|
3611
|
-
region: string;
|
|
3612
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3613
|
-
} | {
|
|
3614
|
-
type: AgentSignerKeyType.Node;
|
|
3615
|
-
} | ({
|
|
3616
|
-
key: string;
|
|
3617
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3618
|
-
} & {
|
|
3619
|
-
id: string;
|
|
3620
|
-
region: string;
|
|
3621
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3622
|
-
}) | ({
|
|
3623
|
-
id: string;
|
|
3624
|
-
region: string;
|
|
3625
|
-
type?: AgentSignerKeyType.Aws | undefined;
|
|
3626
|
-
} & {
|
|
3627
|
-
key: string;
|
|
3628
|
-
type?: AgentSignerKeyType.Hex | undefined;
|
|
3629
|
-
});
|
|
3630
3692
|
checkpointSyncer: {
|
|
3631
3693
|
type: "localStorage";
|
|
3632
3694
|
path: string;
|
|
@@ -3636,6 +3698,10 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3636
3698
|
bucket: string;
|
|
3637
3699
|
folder?: string | undefined;
|
|
3638
3700
|
};
|
|
3701
|
+
log?: {
|
|
3702
|
+
format?: AgentLogFormat | undefined;
|
|
3703
|
+
level?: AgentLogLevel | undefined;
|
|
3704
|
+
} | undefined;
|
|
3639
3705
|
metricsPort?: number | undefined;
|
|
3640
3706
|
defaultSigner?: {
|
|
3641
3707
|
key: string;
|
|
@@ -3648,10 +3714,6 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
|
|
|
3648
3714
|
type: AgentSignerKeyType.Node;
|
|
3649
3715
|
} | undefined;
|
|
3650
3716
|
defaultRpcConsensusType?: RpcConsensusType | undefined;
|
|
3651
|
-
log?: {
|
|
3652
|
-
format?: AgentLogFormat | undefined;
|
|
3653
|
-
level?: AgentLogLevel | undefined;
|
|
3654
|
-
} | undefined;
|
|
3655
3717
|
db?: string | undefined;
|
|
3656
3718
|
interval?: number | undefined;
|
|
3657
3719
|
}>;
|