@hyperlane-xyz/sdk 4.0.0 → 4.2.0-beta.2
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/aws/validator.js +1 -1
- package/dist/aws/validator.js.map +1 -1
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +78 -19
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/core/EvmCoreModule.d.ts +4 -0
- package/dist/core/EvmCoreModule.d.ts.map +1 -1
- package/dist/core/EvmCoreModule.js +8 -9
- package/dist/core/EvmCoreModule.js.map +1 -1
- package/dist/core/EvmCoreReader.d.ts +1 -0
- package/dist/core/EvmCoreReader.d.ts.map +1 -1
- package/dist/core/EvmCoreReader.js +11 -2
- package/dist/core/EvmCoreReader.js.map +1 -1
- package/dist/core/EvmIcaModule.d.ts +3 -1
- package/dist/core/EvmIcaModule.d.ts.map +1 -1
- package/dist/core/EvmIcaModule.js +2 -2
- package/dist/core/EvmIcaModule.js.map +1 -1
- package/dist/core/HyperlaneCore.d.ts +23 -7
- package/dist/core/HyperlaneCore.d.ts.map +1 -1
- package/dist/core/HyperlaneCore.js +82 -24
- package/dist/core/HyperlaneCore.js.map +1 -1
- package/dist/core/HyperlaneCoreChecker.d.ts.map +1 -1
- package/dist/core/HyperlaneCoreChecker.js +1 -1
- package/dist/core/HyperlaneCoreChecker.js.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.js +6 -1
- package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
- package/dist/core/HyperlaneRelayer.d.ts +328 -0
- package/dist/core/HyperlaneRelayer.d.ts.map +1 -0
- package/dist/core/HyperlaneRelayer.js +144 -0
- package/dist/core/HyperlaneRelayer.js.map +1 -0
- package/dist/core/schemas.d.ts +842 -842
- package/dist/deploy/EvmModuleDeployer.d.ts +4 -3
- package/dist/deploy/EvmModuleDeployer.d.ts.map +1 -1
- package/dist/deploy/EvmModuleDeployer.js +11 -4
- package/dist/deploy/EvmModuleDeployer.js.map +1 -1
- package/dist/deploy/HyperlaneDeployer.d.ts +1 -1
- package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.js +20 -9
- package/dist/deploy/HyperlaneDeployer.js.map +1 -1
- package/dist/deploy/proxy.d.ts +1 -0
- package/dist/deploy/proxy.d.ts.map +1 -1
- package/dist/deploy/proxy.js +6 -0
- package/dist/deploy/proxy.js.map +1 -1
- package/dist/deploy/schemas.d.ts +20 -0
- package/dist/deploy/schemas.d.ts.map +1 -1
- package/dist/deploy/schemas.js +7 -0
- package/dist/deploy/schemas.js.map +1 -1
- package/dist/deploy/verify/ContractVerifier.d.ts +20 -6
- package/dist/deploy/verify/ContractVerifier.d.ts.map +1 -1
- package/dist/deploy/verify/ContractVerifier.js +187 -97
- package/dist/deploy/verify/ContractVerifier.js.map +1 -1
- package/dist/deploy/verify/types.d.ts +15 -4
- package/dist/deploy/verify/types.d.ts.map +1 -1
- package/dist/deploy/verify/types.js +4 -3
- package/dist/deploy/verify/types.js.map +1 -1
- package/dist/deploy/verify/utils.d.ts +9 -2
- package/dist/deploy/verify/utils.d.ts.map +1 -1
- package/dist/deploy/verify/utils.js +4 -3
- package/dist/deploy/verify/utils.js.map +1 -1
- package/dist/hook/EvmHookModule.d.ts +45 -6
- package/dist/hook/EvmHookModule.d.ts.map +1 -1
- package/dist/hook/EvmHookModule.hardhat-test.js +334 -106
- package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
- package/dist/hook/EvmHookModule.js +293 -75
- package/dist/hook/EvmHookModule.js.map +1 -1
- package/dist/hook/EvmHookReader.d.ts +7 -12
- package/dist/hook/EvmHookReader.d.ts.map +1 -1
- package/dist/hook/EvmHookReader.js +44 -41
- package/dist/hook/EvmHookReader.js.map +1 -1
- package/dist/hook/EvmHookReader.test.js +7 -3
- package/dist/hook/EvmHookReader.test.js.map +1 -1
- package/dist/hook/schemas.d.ts +4 -4
- package/dist/hook/types.d.ts +1 -0
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +8 -0
- package/dist/hook/types.js.map +1 -1
- package/dist/index.d.ts +61 -58
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -46
- package/dist/index.js.map +1 -1
- package/dist/ism/EvmIsmModule.d.ts +7 -7
- package/dist/ism/EvmIsmModule.d.ts.map +1 -1
- package/dist/ism/EvmIsmModule.hardhat-test.js +30 -28
- package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
- package/dist/ism/EvmIsmModule.js +42 -60
- package/dist/ism/EvmIsmModule.js.map +1 -1
- package/dist/ism/EvmIsmReader.d.ts +5 -4
- package/dist/ism/EvmIsmReader.d.ts.map +1 -1
- package/dist/ism/EvmIsmReader.js +56 -36
- package/dist/ism/EvmIsmReader.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +2 -0
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/metadata/aggregation.test.js +1 -1
- package/dist/ism/metadata/aggregation.test.js.map +1 -1
- package/dist/ism/metadata/builder.hardhat-test.js +29 -14
- package/dist/ism/metadata/builder.hardhat-test.js.map +1 -1
- package/dist/ism/metadata/multisig.d.ts.map +1 -1
- package/dist/ism/metadata/multisig.js +1 -1
- package/dist/ism/metadata/multisig.js.map +1 -1
- package/dist/ism/utils.js +2 -2
- package/dist/ism/utils.js.map +1 -1
- package/dist/metadata/ChainMetadataManager.d.ts +2 -0
- package/dist/metadata/ChainMetadataManager.d.ts.map +1 -1
- package/dist/metadata/ChainMetadataManager.js +6 -0
- package/dist/metadata/ChainMetadataManager.js.map +1 -1
- package/dist/metadata/agentConfig.d.ts +1968 -1723
- package/dist/metadata/agentConfig.d.ts.map +1 -1
- package/dist/metadata/chainMetadataTypes.d.ts +724 -618
- package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
- package/dist/metadata/chainMetadataTypes.js +63 -51
- package/dist/metadata/chainMetadataTypes.js.map +1 -1
- package/dist/metadata/deploymentArtifacts.d.ts +2 -2
- package/dist/providers/MultiProvider.d.ts +7 -0
- package/dist/providers/MultiProvider.d.ts.map +1 -1
- package/dist/providers/MultiProvider.js +9 -1
- package/dist/providers/MultiProvider.js.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.d.ts +2 -1
- package/dist/providers/SmartProvider/SmartProvider.d.ts.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.foundry-test.js +58 -0
- package/dist/providers/SmartProvider/SmartProvider.foundry-test.js.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.js +34 -9
- package/dist/providers/SmartProvider/SmartProvider.js.map +1 -1
- package/dist/providers/transactions/schemas.d.ts +15 -2
- package/dist/providers/transactions/schemas.d.ts.map +1 -1
- package/dist/providers/transactions/schemas.js +1 -0
- package/dist/providers/transactions/schemas.js.map +1 -1
- package/dist/providers/transactions/submitter/builder/schemas.d.ts +67 -146
- package/dist/providers/transactions/submitter/builder/schemas.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +2 -2
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.d.ts +2 -2
- package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts +2 -2
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/submitter/schemas.d.ts +9 -34
- package/dist/providers/transactions/submitter/schemas.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/schemas.js +2 -3
- package/dist/providers/transactions/submitter/schemas.js.map +1 -1
- package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.d.ts +2 -2
- package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.d.ts.map +1 -1
- package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.js +5 -5
- package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.js.map +1 -1
- package/dist/providers/transactions/transformer/schemas.d.ts +36 -76
- package/dist/providers/transactions/transformer/schemas.d.ts.map +1 -1
- package/dist/providers/transactions/transformer/schemas.js +1 -1
- package/dist/providers/transactions/transformer/schemas.js.map +1 -1
- package/dist/providers/transactions/types.d.ts +2 -1
- package/dist/providers/transactions/types.d.ts.map +1 -1
- package/dist/router/schemas.d.ts +196 -90
- package/dist/router/schemas.d.ts.map +1 -1
- package/dist/router/schemas.js +8 -1
- package/dist/router/schemas.js.map +1 -1
- package/dist/router/types.d.ts +2 -1
- package/dist/router/types.d.ts.map +1 -1
- package/dist/router/types.js.map +1 -1
- package/dist/test/testUtils.js +1 -1
- package/dist/test/testUtils.js.map +1 -1
- package/dist/token/EvmERC20WarpModule.d.ts +40 -5
- package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
- package/dist/token/EvmERC20WarpModule.hardhat-test.js +252 -1
- package/dist/token/EvmERC20WarpModule.hardhat-test.js.map +1 -1
- package/dist/token/EvmERC20WarpModule.js +136 -9
- package/dist/token/EvmERC20WarpModule.js.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.d.ts +4 -9
- package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js +27 -2
- package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.js +19 -21
- package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
- package/dist/token/IToken.d.ts +6 -6
- package/dist/token/TokenConnection.d.ts +2 -2
- package/dist/token/deploy.d.ts +2 -2
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.js +20 -5
- package/dist/token/deploy.js.map +1 -1
- package/dist/token/schemas.d.ts +176 -88
- package/dist/token/schemas.d.ts.map +1 -1
- package/dist/utils/HyperlaneReader.d.ts +17 -0
- package/dist/utils/HyperlaneReader.d.ts.map +1 -0
- package/dist/utils/HyperlaneReader.js +21 -0
- package/dist/utils/HyperlaneReader.js.map +1 -0
- package/dist/utils/cosmos.d.ts +5 -0
- package/dist/utils/cosmos.d.ts.map +1 -1
- package/dist/utils/cosmos.js +7 -1
- package/dist/utils/cosmos.js.map +1 -1
- package/dist/warp/WarpCore.d.ts +12 -0
- package/dist/warp/WarpCore.d.ts.map +1 -1
- package/dist/warp/WarpCore.js +63 -32
- package/dist/warp/WarpCore.js.map +1 -1
- package/dist/warp/types.d.ts +10 -10
- package/package.json +3 -3
|
@@ -1,89 +1,49 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { TxTransformerType } from './TxTransformerTypes.js';
|
|
3
3
|
export declare const TransformerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
data: string;
|
|
18
|
-
to: string;
|
|
19
|
-
value?: string | undefined;
|
|
20
|
-
}>, "many">;
|
|
21
|
-
config: z.ZodObject<{
|
|
22
|
-
origin: z.ZodString;
|
|
23
|
-
owner: z.ZodString;
|
|
24
|
-
localRouter: z.ZodOptional<z.ZodString>;
|
|
25
|
-
routerOverride: z.ZodOptional<z.ZodString>;
|
|
26
|
-
ismOverride: z.ZodOptional<z.ZodString>;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
owner: string;
|
|
29
|
-
origin: string;
|
|
30
|
-
localRouter?: string | undefined;
|
|
31
|
-
routerOverride?: string | undefined;
|
|
32
|
-
ismOverride?: string | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
owner: string;
|
|
35
|
-
origin: string;
|
|
36
|
-
localRouter?: string | undefined;
|
|
37
|
-
routerOverride?: string | undefined;
|
|
38
|
-
ismOverride?: string | undefined;
|
|
39
|
-
}>;
|
|
40
|
-
hookMetadata: z.ZodOptional<z.ZodString>;
|
|
41
|
-
}, "chain" | "config" | "hookMetadata">, "strip", z.ZodTypeAny, {
|
|
42
|
-
chain: string;
|
|
43
|
-
config: {
|
|
44
|
-
owner: string;
|
|
45
|
-
origin: string;
|
|
46
|
-
localRouter?: string | undefined;
|
|
47
|
-
routerOverride?: string | undefined;
|
|
48
|
-
ismOverride?: string | undefined;
|
|
49
|
-
};
|
|
50
|
-
hookMetadata?: string | undefined;
|
|
4
|
+
chain: z.ZodString;
|
|
5
|
+
config: z.ZodObject<{
|
|
6
|
+
origin: z.ZodString;
|
|
7
|
+
owner: z.ZodString;
|
|
8
|
+
localRouter: z.ZodOptional<z.ZodString>;
|
|
9
|
+
routerOverride: z.ZodOptional<z.ZodString>;
|
|
10
|
+
ismOverride: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
owner: string;
|
|
13
|
+
origin: string;
|
|
14
|
+
localRouter?: string | undefined;
|
|
15
|
+
routerOverride?: string | undefined;
|
|
16
|
+
ismOverride?: string | undefined;
|
|
51
17
|
}, {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
routerOverride?: string | undefined;
|
|
58
|
-
ismOverride?: string | undefined;
|
|
59
|
-
};
|
|
60
|
-
hookMetadata?: string | undefined;
|
|
18
|
+
owner: string;
|
|
19
|
+
origin: string;
|
|
20
|
+
localRouter?: string | undefined;
|
|
21
|
+
routerOverride?: string | undefined;
|
|
22
|
+
ismOverride?: string | undefined;
|
|
61
23
|
}>;
|
|
24
|
+
hookMetadata: z.ZodOptional<z.ZodString>;
|
|
25
|
+
type: z.ZodLiteral<TxTransformerType>;
|
|
62
26
|
}, "strip", z.ZodTypeAny, {
|
|
63
27
|
type: TxTransformerType;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
ismOverride?: string | undefined;
|
|
72
|
-
};
|
|
73
|
-
hookMetadata?: string | undefined;
|
|
28
|
+
chain: string;
|
|
29
|
+
config: {
|
|
30
|
+
owner: string;
|
|
31
|
+
origin: string;
|
|
32
|
+
localRouter?: string | undefined;
|
|
33
|
+
routerOverride?: string | undefined;
|
|
34
|
+
ismOverride?: string | undefined;
|
|
74
35
|
};
|
|
36
|
+
hookMetadata?: string | undefined;
|
|
75
37
|
}, {
|
|
76
38
|
type: TxTransformerType;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
ismOverride?: string | undefined;
|
|
85
|
-
};
|
|
86
|
-
hookMetadata?: string | undefined;
|
|
39
|
+
chain: string;
|
|
40
|
+
config: {
|
|
41
|
+
owner: string;
|
|
42
|
+
origin: string;
|
|
43
|
+
localRouter?: string | undefined;
|
|
44
|
+
routerOverride?: string | undefined;
|
|
45
|
+
ismOverride?: string | undefined;
|
|
87
46
|
};
|
|
47
|
+
hookMetadata?: string | undefined;
|
|
88
48
|
}>]>;
|
|
89
49
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/providers/transactions/transformer/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/providers/transactions/transformer/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKpC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { EV5InterchainAccountTxTransformerPropsSchema } from './ethersV5/schemas
|
|
|
4
4
|
export const TransformerMetadataSchema = z.discriminatedUnion('type', [
|
|
5
5
|
z.object({
|
|
6
6
|
type: z.literal(TxTransformerType.INTERCHAIN_ACCOUNT),
|
|
7
|
-
|
|
7
|
+
...EV5InterchainAccountTxTransformerPropsSchema.shape,
|
|
8
8
|
}),
|
|
9
9
|
]);
|
|
10
10
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/providers/transactions/transformer/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,4CAA4C,EAAE,MAAM,uBAAuB,CAAC;AAErF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IACpE,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;QACrD,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/providers/transactions/transformer/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,4CAA4C,EAAE,MAAM,uBAAuB,CAAC;AAErF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IACpE,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;QACrD,GAAG,4CAA4C,CAAC,KAAK;KACtD,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ethers } from 'ethers';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { CallDataSchema, PopulatedTransactionSchema } from './schemas.js';
|
|
3
|
+
import { CallDataSchema, PopulatedTransactionSchema, PopulatedTransactionsSchema } from './schemas.js';
|
|
4
4
|
export type PopulatedTransaction = z.infer<typeof PopulatedTransactionSchema> & ethers.PopulatedTransaction;
|
|
5
|
+
export type PopulatedTransactions = z.infer<typeof PopulatedTransactionsSchema> & ethers.PopulatedTransaction[];
|
|
5
6
|
export type CallData = z.infer<typeof CallDataSchema>;
|
|
6
7
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/providers/transactions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/providers/transactions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,GAC3E,MAAM,CAAC,oBAAoB,CAAC;AAC9B,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CACzC,OAAO,2BAA2B,CACnC,GACC,MAAM,CAAC,oBAAoB,EAAE,CAAC;AAEhC,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
package/dist/router/schemas.d.ts
CHANGED
|
@@ -13,16 +13,16 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
15
15
|
owner: string;
|
|
16
|
-
protocolFee: string;
|
|
17
16
|
beneficiary: string;
|
|
18
17
|
maxProtocolFee: string;
|
|
18
|
+
protocolFee: string;
|
|
19
19
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
22
22
|
owner: string;
|
|
23
|
-
protocolFee: string;
|
|
24
23
|
beneficiary: string;
|
|
25
24
|
maxProtocolFee: string;
|
|
25
|
+
protocolFee: string;
|
|
26
26
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27
27
|
}>, z.ZodObject<{
|
|
28
28
|
owner: z.ZodString;
|
|
@@ -164,30 +164,38 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
164
164
|
}, {
|
|
165
165
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
166
166
|
}>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>]>>;
|
|
167
|
+
ismFactoryAddresses: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
staticMerkleRootMultisigIsmFactory: z.ZodString;
|
|
169
|
+
staticMessageIdMultisigIsmFactory: z.ZodString;
|
|
170
|
+
staticAggregationIsmFactory: z.ZodString;
|
|
171
|
+
staticAggregationHookFactory: z.ZodString;
|
|
172
|
+
domainRoutingIsmFactory: z.ZodString;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
175
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
176
|
+
staticAggregationIsmFactory: string;
|
|
177
|
+
staticAggregationHookFactory: string;
|
|
178
|
+
domainRoutingIsmFactory: string;
|
|
179
|
+
}, {
|
|
180
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
181
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
182
|
+
staticAggregationIsmFactory: string;
|
|
183
|
+
staticAggregationHookFactory: string;
|
|
184
|
+
domainRoutingIsmFactory: string;
|
|
185
|
+
}>>;
|
|
167
186
|
}, "strip", z.ZodTypeAny, {
|
|
168
187
|
owner: string;
|
|
169
188
|
mailbox: string;
|
|
170
189
|
ownerOverrides?: Record<string, string> | undefined;
|
|
171
190
|
hook?: string | {
|
|
172
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
173
|
-
} | {
|
|
174
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
175
|
-
owner: string;
|
|
176
|
-
beneficiary: string;
|
|
177
|
-
oracleKey: string;
|
|
178
|
-
overhead: Record<string, number>;
|
|
179
|
-
oracleConfig: Record<string, {
|
|
180
|
-
gasPrice: string;
|
|
181
|
-
tokenExchangeRate: string;
|
|
182
|
-
}>;
|
|
183
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
184
|
-
} | {
|
|
185
191
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
186
192
|
owner: string;
|
|
187
|
-
protocolFee: string;
|
|
188
193
|
beneficiary: string;
|
|
189
194
|
maxProtocolFee: string;
|
|
195
|
+
protocolFee: string;
|
|
190
196
|
ownerOverrides?: Record<string, string> | undefined;
|
|
197
|
+
} | {
|
|
198
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
191
199
|
} | {
|
|
192
200
|
type: import("../index.js").HookType.PAUSABLE;
|
|
193
201
|
owner: string;
|
|
@@ -199,6 +207,17 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
199
207
|
nativeBridge: string;
|
|
200
208
|
destinationChain: string;
|
|
201
209
|
ownerOverrides?: Record<string, string> | undefined;
|
|
210
|
+
} | {
|
|
211
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
212
|
+
owner: string;
|
|
213
|
+
beneficiary: string;
|
|
214
|
+
oracleKey: string;
|
|
215
|
+
overhead: Record<string, number>;
|
|
216
|
+
oracleConfig: Record<string, {
|
|
217
|
+
gasPrice: string;
|
|
218
|
+
tokenExchangeRate: string;
|
|
219
|
+
}>;
|
|
220
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
202
221
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
|
|
203
222
|
interchainSecurityModule?: string | {
|
|
204
223
|
type: import("../index.js").IsmType.TEST_ISM;
|
|
@@ -221,30 +240,26 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
221
240
|
} & {
|
|
222
241
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
223
242
|
}) | import("../index.js").AggregationIsmConfig | undefined;
|
|
243
|
+
ismFactoryAddresses?: {
|
|
244
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
245
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
246
|
+
staticAggregationIsmFactory: string;
|
|
247
|
+
staticAggregationHookFactory: string;
|
|
248
|
+
domainRoutingIsmFactory: string;
|
|
249
|
+
} | undefined;
|
|
224
250
|
}, {
|
|
225
251
|
owner: string;
|
|
226
252
|
mailbox: string;
|
|
227
253
|
ownerOverrides?: Record<string, string> | undefined;
|
|
228
254
|
hook?: string | {
|
|
229
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
230
|
-
} | {
|
|
231
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
232
|
-
owner: string;
|
|
233
|
-
beneficiary: string;
|
|
234
|
-
oracleKey: string;
|
|
235
|
-
overhead: Record<string, number>;
|
|
236
|
-
oracleConfig: Record<string, {
|
|
237
|
-
gasPrice: string;
|
|
238
|
-
tokenExchangeRate: string;
|
|
239
|
-
}>;
|
|
240
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
241
|
-
} | {
|
|
242
255
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
243
256
|
owner: string;
|
|
244
|
-
protocolFee: string;
|
|
245
257
|
beneficiary: string;
|
|
246
258
|
maxProtocolFee: string;
|
|
259
|
+
protocolFee: string;
|
|
247
260
|
ownerOverrides?: Record<string, string> | undefined;
|
|
261
|
+
} | {
|
|
262
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
248
263
|
} | {
|
|
249
264
|
type: import("../index.js").HookType.PAUSABLE;
|
|
250
265
|
owner: string;
|
|
@@ -256,6 +271,17 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
256
271
|
nativeBridge: string;
|
|
257
272
|
destinationChain: string;
|
|
258
273
|
ownerOverrides?: Record<string, string> | undefined;
|
|
274
|
+
} | {
|
|
275
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
276
|
+
owner: string;
|
|
277
|
+
beneficiary: string;
|
|
278
|
+
oracleKey: string;
|
|
279
|
+
overhead: Record<string, number>;
|
|
280
|
+
oracleConfig: Record<string, {
|
|
281
|
+
gasPrice: string;
|
|
282
|
+
tokenExchangeRate: string;
|
|
283
|
+
}>;
|
|
284
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
259
285
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
|
|
260
286
|
interchainSecurityModule?: string | {
|
|
261
287
|
type: import("../index.js").IsmType.TEST_ISM;
|
|
@@ -278,6 +304,13 @@ export declare const MailboxClientConfigSchema: z.ZodObject<{
|
|
|
278
304
|
} & {
|
|
279
305
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
280
306
|
}) | import("../index.js").AggregationIsmConfig | undefined;
|
|
307
|
+
ismFactoryAddresses?: {
|
|
308
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
309
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
310
|
+
staticAggregationIsmFactory: string;
|
|
311
|
+
staticAggregationHookFactory: string;
|
|
312
|
+
domainRoutingIsmFactory: string;
|
|
313
|
+
} | undefined;
|
|
281
314
|
}>;
|
|
282
315
|
export declare const ForeignDeploymentConfigSchema: z.ZodObject<{
|
|
283
316
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
@@ -286,6 +319,7 @@ export declare const ForeignDeploymentConfigSchema: z.ZodObject<{
|
|
|
286
319
|
}, {
|
|
287
320
|
foreignDeployment?: string | undefined;
|
|
288
321
|
}>;
|
|
322
|
+
export declare const RemoteRoutersSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
289
323
|
export declare const RouterConfigSchema: z.ZodObject<{
|
|
290
324
|
owner: z.ZodString;
|
|
291
325
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -300,16 +334,16 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
300
334
|
}, "strip", z.ZodTypeAny, {
|
|
301
335
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
302
336
|
owner: string;
|
|
303
|
-
protocolFee: string;
|
|
304
337
|
beneficiary: string;
|
|
305
338
|
maxProtocolFee: string;
|
|
339
|
+
protocolFee: string;
|
|
306
340
|
ownerOverrides?: Record<string, string> | undefined;
|
|
307
341
|
}, {
|
|
308
342
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
309
343
|
owner: string;
|
|
310
|
-
protocolFee: string;
|
|
311
344
|
beneficiary: string;
|
|
312
345
|
maxProtocolFee: string;
|
|
346
|
+
protocolFee: string;
|
|
313
347
|
ownerOverrides?: Record<string, string> | undefined;
|
|
314
348
|
}>, z.ZodObject<{
|
|
315
349
|
owner: z.ZodString;
|
|
@@ -451,31 +485,40 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
451
485
|
}, {
|
|
452
486
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
453
487
|
}>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>]>>;
|
|
488
|
+
ismFactoryAddresses: z.ZodOptional<z.ZodObject<{
|
|
489
|
+
staticMerkleRootMultisigIsmFactory: z.ZodString;
|
|
490
|
+
staticMessageIdMultisigIsmFactory: z.ZodString;
|
|
491
|
+
staticAggregationIsmFactory: z.ZodString;
|
|
492
|
+
staticAggregationHookFactory: z.ZodString;
|
|
493
|
+
domainRoutingIsmFactory: z.ZodString;
|
|
494
|
+
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
496
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
497
|
+
staticAggregationIsmFactory: string;
|
|
498
|
+
staticAggregationHookFactory: string;
|
|
499
|
+
domainRoutingIsmFactory: string;
|
|
500
|
+
}, {
|
|
501
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
502
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
503
|
+
staticAggregationIsmFactory: string;
|
|
504
|
+
staticAggregationHookFactory: string;
|
|
505
|
+
domainRoutingIsmFactory: string;
|
|
506
|
+
}>>;
|
|
454
507
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
508
|
+
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
455
509
|
}, "strip", z.ZodTypeAny, {
|
|
456
510
|
owner: string;
|
|
457
511
|
mailbox: string;
|
|
458
512
|
ownerOverrides?: Record<string, string> | undefined;
|
|
459
513
|
hook?: string | {
|
|
460
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
461
|
-
} | {
|
|
462
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
463
|
-
owner: string;
|
|
464
|
-
beneficiary: string;
|
|
465
|
-
oracleKey: string;
|
|
466
|
-
overhead: Record<string, number>;
|
|
467
|
-
oracleConfig: Record<string, {
|
|
468
|
-
gasPrice: string;
|
|
469
|
-
tokenExchangeRate: string;
|
|
470
|
-
}>;
|
|
471
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
472
|
-
} | {
|
|
473
514
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
474
515
|
owner: string;
|
|
475
|
-
protocolFee: string;
|
|
476
516
|
beneficiary: string;
|
|
477
517
|
maxProtocolFee: string;
|
|
518
|
+
protocolFee: string;
|
|
478
519
|
ownerOverrides?: Record<string, string> | undefined;
|
|
520
|
+
} | {
|
|
521
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
479
522
|
} | {
|
|
480
523
|
type: import("../index.js").HookType.PAUSABLE;
|
|
481
524
|
owner: string;
|
|
@@ -487,6 +530,17 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
487
530
|
nativeBridge: string;
|
|
488
531
|
destinationChain: string;
|
|
489
532
|
ownerOverrides?: Record<string, string> | undefined;
|
|
533
|
+
} | {
|
|
534
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
535
|
+
owner: string;
|
|
536
|
+
beneficiary: string;
|
|
537
|
+
oracleKey: string;
|
|
538
|
+
overhead: Record<string, number>;
|
|
539
|
+
oracleConfig: Record<string, {
|
|
540
|
+
gasPrice: string;
|
|
541
|
+
tokenExchangeRate: string;
|
|
542
|
+
}>;
|
|
543
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
490
544
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
|
|
491
545
|
interchainSecurityModule?: string | {
|
|
492
546
|
type: import("../index.js").IsmType.TEST_ISM;
|
|
@@ -509,31 +563,28 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
509
563
|
} & {
|
|
510
564
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
511
565
|
}) | import("../index.js").AggregationIsmConfig | undefined;
|
|
566
|
+
ismFactoryAddresses?: {
|
|
567
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
568
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
569
|
+
staticAggregationIsmFactory: string;
|
|
570
|
+
staticAggregationHookFactory: string;
|
|
571
|
+
domainRoutingIsmFactory: string;
|
|
572
|
+
} | undefined;
|
|
512
573
|
foreignDeployment?: string | undefined;
|
|
574
|
+
remoteRouters?: Record<string, string> | undefined;
|
|
513
575
|
}, {
|
|
514
576
|
owner: string;
|
|
515
577
|
mailbox: string;
|
|
516
578
|
ownerOverrides?: Record<string, string> | undefined;
|
|
517
579
|
hook?: string | {
|
|
518
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
519
|
-
} | {
|
|
520
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
521
|
-
owner: string;
|
|
522
|
-
beneficiary: string;
|
|
523
|
-
oracleKey: string;
|
|
524
|
-
overhead: Record<string, number>;
|
|
525
|
-
oracleConfig: Record<string, {
|
|
526
|
-
gasPrice: string;
|
|
527
|
-
tokenExchangeRate: string;
|
|
528
|
-
}>;
|
|
529
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
530
|
-
} | {
|
|
531
580
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
532
581
|
owner: string;
|
|
533
|
-
protocolFee: string;
|
|
534
582
|
beneficiary: string;
|
|
535
583
|
maxProtocolFee: string;
|
|
584
|
+
protocolFee: string;
|
|
536
585
|
ownerOverrides?: Record<string, string> | undefined;
|
|
586
|
+
} | {
|
|
587
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
537
588
|
} | {
|
|
538
589
|
type: import("../index.js").HookType.PAUSABLE;
|
|
539
590
|
owner: string;
|
|
@@ -545,6 +596,17 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
545
596
|
nativeBridge: string;
|
|
546
597
|
destinationChain: string;
|
|
547
598
|
ownerOverrides?: Record<string, string> | undefined;
|
|
599
|
+
} | {
|
|
600
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
601
|
+
owner: string;
|
|
602
|
+
beneficiary: string;
|
|
603
|
+
oracleKey: string;
|
|
604
|
+
overhead: Record<string, number>;
|
|
605
|
+
oracleConfig: Record<string, {
|
|
606
|
+
gasPrice: string;
|
|
607
|
+
tokenExchangeRate: string;
|
|
608
|
+
}>;
|
|
609
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
548
610
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
|
|
549
611
|
interchainSecurityModule?: string | {
|
|
550
612
|
type: import("../index.js").IsmType.TEST_ISM;
|
|
@@ -567,7 +629,15 @@ export declare const RouterConfigSchema: z.ZodObject<{
|
|
|
567
629
|
} & {
|
|
568
630
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
569
631
|
}) | import("../index.js").AggregationIsmConfig | undefined;
|
|
632
|
+
ismFactoryAddresses?: {
|
|
633
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
634
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
635
|
+
staticAggregationIsmFactory: string;
|
|
636
|
+
staticAggregationHookFactory: string;
|
|
637
|
+
domainRoutingIsmFactory: string;
|
|
638
|
+
} | undefined;
|
|
570
639
|
foreignDeployment?: string | undefined;
|
|
640
|
+
remoteRouters?: Record<string, string> | undefined;
|
|
571
641
|
}>;
|
|
572
642
|
export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
573
643
|
owner: z.ZodString;
|
|
@@ -583,16 +653,16 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
583
653
|
}, "strip", z.ZodTypeAny, {
|
|
584
654
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
585
655
|
owner: string;
|
|
586
|
-
protocolFee: string;
|
|
587
656
|
beneficiary: string;
|
|
588
657
|
maxProtocolFee: string;
|
|
658
|
+
protocolFee: string;
|
|
589
659
|
ownerOverrides?: Record<string, string> | undefined;
|
|
590
660
|
}, {
|
|
591
661
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
592
662
|
owner: string;
|
|
593
|
-
protocolFee: string;
|
|
594
663
|
beneficiary: string;
|
|
595
664
|
maxProtocolFee: string;
|
|
665
|
+
protocolFee: string;
|
|
596
666
|
ownerOverrides?: Record<string, string> | undefined;
|
|
597
667
|
}>, z.ZodObject<{
|
|
598
668
|
owner: z.ZodString;
|
|
@@ -734,32 +804,41 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
734
804
|
}, {
|
|
735
805
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
736
806
|
}>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>]>>;
|
|
807
|
+
ismFactoryAddresses: z.ZodOptional<z.ZodObject<{
|
|
808
|
+
staticMerkleRootMultisigIsmFactory: z.ZodString;
|
|
809
|
+
staticMessageIdMultisigIsmFactory: z.ZodString;
|
|
810
|
+
staticAggregationIsmFactory: z.ZodString;
|
|
811
|
+
staticAggregationHookFactory: z.ZodString;
|
|
812
|
+
domainRoutingIsmFactory: z.ZodString;
|
|
813
|
+
}, "strip", z.ZodTypeAny, {
|
|
814
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
815
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
816
|
+
staticAggregationIsmFactory: string;
|
|
817
|
+
staticAggregationHookFactory: string;
|
|
818
|
+
domainRoutingIsmFactory: string;
|
|
819
|
+
}, {
|
|
820
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
821
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
822
|
+
staticAggregationIsmFactory: string;
|
|
823
|
+
staticAggregationHookFactory: string;
|
|
824
|
+
domainRoutingIsmFactory: string;
|
|
825
|
+
}>>;
|
|
737
826
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
827
|
+
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
738
828
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
739
829
|
}, "strip", z.ZodTypeAny, {
|
|
740
830
|
owner: string;
|
|
741
831
|
mailbox: string;
|
|
742
832
|
ownerOverrides?: Record<string, string> | undefined;
|
|
743
833
|
hook?: string | {
|
|
744
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
745
|
-
} | {
|
|
746
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
747
|
-
owner: string;
|
|
748
|
-
beneficiary: string;
|
|
749
|
-
oracleKey: string;
|
|
750
|
-
overhead: Record<string, number>;
|
|
751
|
-
oracleConfig: Record<string, {
|
|
752
|
-
gasPrice: string;
|
|
753
|
-
tokenExchangeRate: string;
|
|
754
|
-
}>;
|
|
755
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
756
|
-
} | {
|
|
757
834
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
758
835
|
owner: string;
|
|
759
|
-
protocolFee: string;
|
|
760
836
|
beneficiary: string;
|
|
761
837
|
maxProtocolFee: string;
|
|
838
|
+
protocolFee: string;
|
|
762
839
|
ownerOverrides?: Record<string, string> | undefined;
|
|
840
|
+
} | {
|
|
841
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
763
842
|
} | {
|
|
764
843
|
type: import("../index.js").HookType.PAUSABLE;
|
|
765
844
|
owner: string;
|
|
@@ -771,6 +850,17 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
771
850
|
nativeBridge: string;
|
|
772
851
|
destinationChain: string;
|
|
773
852
|
ownerOverrides?: Record<string, string> | undefined;
|
|
853
|
+
} | {
|
|
854
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
855
|
+
owner: string;
|
|
856
|
+
beneficiary: string;
|
|
857
|
+
oracleKey: string;
|
|
858
|
+
overhead: Record<string, number>;
|
|
859
|
+
oracleConfig: Record<string, {
|
|
860
|
+
gasPrice: string;
|
|
861
|
+
tokenExchangeRate: string;
|
|
862
|
+
}>;
|
|
863
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
774
864
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
|
|
775
865
|
interchainSecurityModule?: string | {
|
|
776
866
|
type: import("../index.js").IsmType.TEST_ISM;
|
|
@@ -793,32 +883,29 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
793
883
|
} & {
|
|
794
884
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
795
885
|
}) | import("../index.js").AggregationIsmConfig | undefined;
|
|
886
|
+
ismFactoryAddresses?: {
|
|
887
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
888
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
889
|
+
staticAggregationIsmFactory: string;
|
|
890
|
+
staticAggregationHookFactory: string;
|
|
891
|
+
domainRoutingIsmFactory: string;
|
|
892
|
+
} | undefined;
|
|
796
893
|
foreignDeployment?: string | undefined;
|
|
894
|
+
remoteRouters?: Record<string, string> | undefined;
|
|
797
895
|
gas?: number | undefined;
|
|
798
896
|
}, {
|
|
799
897
|
owner: string;
|
|
800
898
|
mailbox: string;
|
|
801
899
|
ownerOverrides?: Record<string, string> | undefined;
|
|
802
900
|
hook?: string | {
|
|
803
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
804
|
-
} | {
|
|
805
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
806
|
-
owner: string;
|
|
807
|
-
beneficiary: string;
|
|
808
|
-
oracleKey: string;
|
|
809
|
-
overhead: Record<string, number>;
|
|
810
|
-
oracleConfig: Record<string, {
|
|
811
|
-
gasPrice: string;
|
|
812
|
-
tokenExchangeRate: string;
|
|
813
|
-
}>;
|
|
814
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
815
|
-
} | {
|
|
816
901
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
817
902
|
owner: string;
|
|
818
|
-
protocolFee: string;
|
|
819
903
|
beneficiary: string;
|
|
820
904
|
maxProtocolFee: string;
|
|
905
|
+
protocolFee: string;
|
|
821
906
|
ownerOverrides?: Record<string, string> | undefined;
|
|
907
|
+
} | {
|
|
908
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
822
909
|
} | {
|
|
823
910
|
type: import("../index.js").HookType.PAUSABLE;
|
|
824
911
|
owner: string;
|
|
@@ -830,6 +917,17 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
830
917
|
nativeBridge: string;
|
|
831
918
|
destinationChain: string;
|
|
832
919
|
ownerOverrides?: Record<string, string> | undefined;
|
|
920
|
+
} | {
|
|
921
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
922
|
+
owner: string;
|
|
923
|
+
beneficiary: string;
|
|
924
|
+
oracleKey: string;
|
|
925
|
+
overhead: Record<string, number>;
|
|
926
|
+
oracleConfig: Record<string, {
|
|
927
|
+
gasPrice: string;
|
|
928
|
+
tokenExchangeRate: string;
|
|
929
|
+
}>;
|
|
930
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
833
931
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
|
|
834
932
|
interchainSecurityModule?: string | {
|
|
835
933
|
type: import("../index.js").IsmType.TEST_ISM;
|
|
@@ -852,7 +950,15 @@ export declare const GasRouterConfigSchema: z.ZodObject<{
|
|
|
852
950
|
} & {
|
|
853
951
|
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
854
952
|
}) | import("../index.js").AggregationIsmConfig | undefined;
|
|
953
|
+
ismFactoryAddresses?: {
|
|
954
|
+
staticMerkleRootMultisigIsmFactory: string;
|
|
955
|
+
staticMessageIdMultisigIsmFactory: string;
|
|
956
|
+
staticAggregationIsmFactory: string;
|
|
957
|
+
staticAggregationHookFactory: string;
|
|
958
|
+
domainRoutingIsmFactory: string;
|
|
959
|
+
} | undefined;
|
|
855
960
|
foreignDeployment?: string | undefined;
|
|
961
|
+
remoteRouters?: Record<string, string> | undefined;
|
|
856
962
|
gas?: number | undefined;
|
|
857
963
|
}>;
|
|
858
964
|
//# sourceMappingURL=schemas.d.ts.map
|