@hyperlane-xyz/sdk 13.2.0 → 13.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/consts/multisigIsm.d.ts.map +1 -1
  2. package/dist/consts/multisigIsm.js +36 -0
  3. package/dist/consts/multisigIsm.js.map +1 -1
  4. package/dist/core/CoreDeployer.hardhat-test.js +5 -0
  5. package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
  6. package/dist/core/CosmosNativeCoreModule.d.ts.map +1 -1
  7. package/dist/core/CosmosNativeCoreModule.js +0 -1
  8. package/dist/core/CosmosNativeCoreModule.js.map +1 -1
  9. package/dist/core/EvmCoreModule.d.ts.map +1 -1
  10. package/dist/core/EvmCoreModule.hardhat-test.js +1 -2
  11. package/dist/core/EvmCoreModule.hardhat-test.js.map +1 -1
  12. package/dist/core/EvmCoreModule.js +7 -7
  13. package/dist/core/EvmCoreModule.js.map +1 -1
  14. package/dist/core/EvmCoreReader.d.ts.map +1 -1
  15. package/dist/core/EvmCoreReader.js +1 -1
  16. package/dist/core/EvmCoreReader.js.map +1 -1
  17. package/dist/core/EvmIcaModule.d.ts +3 -4
  18. package/dist/core/EvmIcaModule.d.ts.map +1 -1
  19. package/dist/core/EvmIcaModule.hardhat-test.js +25 -2
  20. package/dist/core/EvmIcaModule.hardhat-test.js.map +1 -1
  21. package/dist/core/EvmIcaModule.js +13 -11
  22. package/dist/core/EvmIcaModule.js.map +1 -1
  23. package/dist/core/HyperlaneRelayer.d.ts +20 -5
  24. package/dist/core/HyperlaneRelayer.d.ts.map +1 -1
  25. package/dist/core/types.d.ts +2801 -1286
  26. package/dist/core/types.d.ts.map +1 -1
  27. package/dist/core/types.js +0 -1
  28. package/dist/core/types.js.map +1 -1
  29. package/dist/deploy/HyperlaneDeployer.d.ts +2 -1
  30. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  31. package/dist/deploy/HyperlaneDeployer.js +11 -8
  32. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  33. package/dist/deploy/proxy.d.ts +1 -1
  34. package/dist/deploy/proxy.d.ts.map +1 -1
  35. package/dist/deploy/proxy.js +4 -5
  36. package/dist/deploy/proxy.js.map +1 -1
  37. package/dist/gas/token-prices.d.ts.map +1 -1
  38. package/dist/gas/token-prices.js +23 -4
  39. package/dist/gas/token-prices.js.map +1 -1
  40. package/dist/ica/EvmIcaReader.d.ts +2 -5
  41. package/dist/ica/EvmIcaReader.d.ts.map +1 -1
  42. package/dist/ica/EvmIcaReader.hardhat-test.js +2 -7
  43. package/dist/ica/EvmIcaReader.hardhat-test.js.map +1 -1
  44. package/dist/ica/EvmIcaReader.js +10 -44
  45. package/dist/ica/EvmIcaReader.js.map +1 -1
  46. package/dist/ica/types.d.ts +965 -47
  47. package/dist/ica/types.d.ts.map +1 -1
  48. package/dist/ica/types.js +7 -22
  49. package/dist/ica/types.js.map +1 -1
  50. package/dist/index.d.ts +19 -17
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +16 -14
  53. package/dist/index.js.map +1 -1
  54. package/dist/ism/EvmIsmModule.hardhat-test.js +0 -5
  55. package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
  56. package/dist/ism/EvmIsmReader.d.ts +4 -1
  57. package/dist/ism/EvmIsmReader.d.ts.map +1 -1
  58. package/dist/ism/EvmIsmReader.js +66 -42
  59. package/dist/ism/EvmIsmReader.js.map +1 -1
  60. package/dist/ism/HyperlaneIsmFactory.d.ts +0 -1
  61. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  62. package/dist/ism/HyperlaneIsmFactory.js +4 -11
  63. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  64. package/dist/ism/metadata/arbL2ToL1.hardhat-test.js +0 -1
  65. package/dist/ism/metadata/arbL2ToL1.hardhat-test.js.map +1 -1
  66. package/dist/ism/metadata/builder.d.ts +2 -2
  67. package/dist/ism/metadata/builder.d.ts.map +1 -1
  68. package/dist/ism/metadata/builder.hardhat-test.js +0 -1
  69. package/dist/ism/metadata/builder.hardhat-test.js.map +1 -1
  70. package/dist/ism/metadata/builder.js +3 -4
  71. package/dist/ism/metadata/builder.js.map +1 -1
  72. package/dist/ism/metadata/ccipread.d.ts +4 -4
  73. package/dist/ism/metadata/ccipread.d.ts.map +1 -1
  74. package/dist/ism/metadata/ccipread.hardhat-test.js +5 -37
  75. package/dist/ism/metadata/ccipread.hardhat-test.js.map +1 -1
  76. package/dist/ism/metadata/ccipread.js +4 -4
  77. package/dist/ism/metadata/ccipread.js.map +1 -1
  78. package/dist/ism/metadata/routing.d.ts.map +1 -1
  79. package/dist/ism/metadata/routing.js +8 -11
  80. package/dist/ism/metadata/routing.js.map +1 -1
  81. package/dist/ism/types.d.ts +59 -19
  82. package/dist/ism/types.d.ts.map +1 -1
  83. package/dist/ism/types.js +17 -12
  84. package/dist/ism/types.js.map +1 -1
  85. package/dist/ism/utils.d.ts.map +1 -1
  86. package/dist/ism/utils.js +7 -5
  87. package/dist/ism/utils.js.map +1 -1
  88. package/dist/middleware/account/InterchainAccount.d.ts +1 -1
  89. package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
  90. package/dist/middleware/account/InterchainAccount.js +3 -9
  91. package/dist/middleware/account/InterchainAccount.js.map +1 -1
  92. package/dist/middleware/account/InterchainAccountChecker.d.ts +3 -6
  93. package/dist/middleware/account/InterchainAccountChecker.d.ts.map +1 -1
  94. package/dist/middleware/account/InterchainAccountChecker.js +2 -17
  95. package/dist/middleware/account/InterchainAccountChecker.js.map +1 -1
  96. package/dist/middleware/account/InterchainAccountDeployer.d.ts +3 -8
  97. package/dist/middleware/account/InterchainAccountDeployer.d.ts.map +1 -1
  98. package/dist/middleware/account/InterchainAccountDeployer.js +11 -31
  99. package/dist/middleware/account/InterchainAccountDeployer.js.map +1 -1
  100. package/dist/middleware/account/accounts.hardhat-test.js +10 -1
  101. package/dist/middleware/account/accounts.hardhat-test.js.map +1 -1
  102. package/dist/middleware/account/contracts.d.ts +1 -4
  103. package/dist/middleware/account/contracts.d.ts.map +1 -1
  104. package/dist/middleware/account/contracts.js +1 -4
  105. package/dist/middleware/account/contracts.js.map +1 -1
  106. package/dist/middleware/account/types.d.ts +2 -2
  107. package/dist/providers/transactions/submitter/builder/types.d.ts +10 -10
  108. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +2 -3
  109. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
  110. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js +20 -16
  111. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
  112. package/dist/providers/transactions/transformer/ethersV5/types.d.ts +3 -3
  113. package/dist/providers/transactions/transformer/types.d.ts +3 -3
  114. package/dist/router/EvmRouterReader.d.ts +18 -0
  115. package/dist/router/EvmRouterReader.d.ts.map +1 -0
  116. package/dist/router/EvmRouterReader.js +60 -0
  117. package/dist/router/EvmRouterReader.js.map +1 -0
  118. package/dist/router/HyperlaneRouterChecker.d.ts +3 -0
  119. package/dist/router/HyperlaneRouterChecker.d.ts.map +1 -1
  120. package/dist/router/HyperlaneRouterChecker.js +14 -4
  121. package/dist/router/HyperlaneRouterChecker.js.map +1 -1
  122. package/dist/router/types.d.ts +79 -31
  123. package/dist/router/types.d.ts.map +1 -1
  124. package/dist/router/types.js +13 -4
  125. package/dist/router/types.js.map +1 -1
  126. package/dist/token/EvmERC20WarpModule.d.ts +13 -0
  127. package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
  128. package/dist/token/EvmERC20WarpModule.hardhat-test.js +354 -9
  129. package/dist/token/EvmERC20WarpModule.hardhat-test.js.map +1 -1
  130. package/dist/token/EvmERC20WarpModule.js +210 -9
  131. package/dist/token/EvmERC20WarpModule.js.map +1 -1
  132. package/dist/token/EvmERC20WarpRouteReader.d.ts +7 -11
  133. package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
  134. package/dist/token/EvmERC20WarpRouteReader.js +98 -47
  135. package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
  136. package/dist/token/TokenMetadataMap.d.ts +1 -2
  137. package/dist/token/TokenMetadataMap.d.ts.map +1 -1
  138. package/dist/token/TokenMetadataMap.js +2 -20
  139. package/dist/token/TokenMetadataMap.js.map +1 -1
  140. package/dist/token/TokenStandard.d.ts.map +1 -1
  141. package/dist/token/TokenStandard.js +3 -0
  142. package/dist/token/TokenStandard.js.map +1 -1
  143. package/dist/token/config.d.ts +25 -0
  144. package/dist/token/config.d.ts.map +1 -1
  145. package/dist/token/config.js +25 -0
  146. package/dist/token/config.js.map +1 -1
  147. package/dist/token/configUtils.d.ts.map +1 -1
  148. package/dist/token/configUtils.js +13 -3
  149. package/dist/token/configUtils.js.map +1 -1
  150. package/dist/token/contracts.d.ts +37 -31
  151. package/dist/token/contracts.d.ts.map +1 -1
  152. package/dist/token/contracts.js +8 -1
  153. package/dist/token/contracts.js.map +1 -1
  154. package/dist/token/deploy.d.ts +12 -5
  155. package/dist/token/deploy.d.ts.map +1 -1
  156. package/dist/token/deploy.js +137 -5
  157. package/dist/token/deploy.js.map +1 -1
  158. package/dist/token/types.d.ts +2720 -101
  159. package/dist/token/types.d.ts.map +1 -1
  160. package/dist/token/types.js +76 -5
  161. package/dist/token/types.js.map +1 -1
  162. package/dist/types.d.ts +2 -1
  163. package/dist/types.d.ts.map +1 -1
  164. package/dist/types.js.map +1 -1
  165. package/dist/utils/decimals.d.ts +4 -0
  166. package/dist/utils/decimals.d.ts.map +1 -0
  167. package/dist/utils/decimals.js +26 -0
  168. package/dist/utils/decimals.js.map +1 -0
  169. package/package.json +12 -8
@@ -1,109 +1,1027 @@
1
1
  import { z } from 'zod';
2
- export declare const RemoteIcaRouterConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3
- address: z.ZodString;
4
- interchainSecurityModule: z.ZodOptional<z.ZodString>;
5
- }, "strip", z.ZodTypeAny, {
6
- address: string;
7
- interchainSecurityModule?: string | undefined;
8
- }, {
9
- address: string;
10
- interchainSecurityModule?: string | undefined;
11
- }>>;
12
2
  export declare const IcaRouterConfigSchema: z.ZodObject<{
13
3
  owner: z.ZodString;
4
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
14
5
  mailbox: z.ZodString;
15
- proxyAdmin: z.ZodObject<{
16
- address: z.ZodOptional<z.ZodString>;
6
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
17
7
  owner: z.ZodString;
8
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9
+ address: z.ZodOptional<z.ZodString>;
18
10
  }, "strip", z.ZodTypeAny, {
19
11
  owner: string;
12
+ ownerOverrides?: Record<string, string> | undefined;
20
13
  address?: string | undefined;
21
14
  }, {
22
15
  owner: string;
16
+ ownerOverrides?: Record<string, string> | undefined;
23
17
  address?: string | undefined;
24
- }>;
25
- remoteIcaRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
18
+ }>>;
19
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
20
+ owner: z.ZodString;
21
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
22
+ type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
23
+ beneficiary: z.ZodString;
24
+ maxProtocolFee: z.ZodString;
25
+ protocolFee: z.ZodString;
26
+ }, "strip", z.ZodTypeAny, {
27
+ type: import("../index.js").HookType.PROTOCOL_FEE;
28
+ owner: string;
29
+ protocolFee: string;
30
+ beneficiary: string;
31
+ maxProtocolFee: string;
32
+ ownerOverrides?: Record<string, string> | undefined;
33
+ }, {
34
+ type: import("../index.js").HookType.PROTOCOL_FEE;
35
+ owner: string;
36
+ protocolFee: string;
37
+ beneficiary: string;
38
+ maxProtocolFee: string;
39
+ ownerOverrides?: Record<string, string> | undefined;
40
+ }>, z.ZodObject<{
41
+ owner: z.ZodString;
42
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
43
+ paused: z.ZodBoolean;
44
+ type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ type: import("../index.js").HookType.PAUSABLE;
47
+ owner: string;
48
+ paused: boolean;
49
+ ownerOverrides?: Record<string, string> | undefined;
50
+ }, {
51
+ type: import("../index.js").HookType.PAUSABLE;
52
+ owner: string;
53
+ paused: boolean;
54
+ ownerOverrides?: Record<string, string> | undefined;
55
+ }>, z.ZodObject<{
56
+ owner: z.ZodString;
57
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
58
+ type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
59
+ nativeBridge: z.ZodString;
60
+ destinationChain: z.ZodString;
61
+ }, "strip", z.ZodTypeAny, {
62
+ type: import("../index.js").HookType.OP_STACK;
63
+ owner: string;
64
+ nativeBridge: string;
65
+ destinationChain: string;
66
+ ownerOverrides?: Record<string, string> | undefined;
67
+ }, {
68
+ type: import("../index.js").HookType.OP_STACK;
69
+ owner: string;
70
+ nativeBridge: string;
71
+ destinationChain: string;
72
+ ownerOverrides?: Record<string, string> | undefined;
73
+ }>, z.ZodObject<{
74
+ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ type: import("../index.js").HookType.MERKLE_TREE;
77
+ }, {
78
+ type: import("../index.js").HookType.MERKLE_TREE;
79
+ }>, z.ZodObject<{
80
+ owner: z.ZodString;
81
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
82
+ type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
83
+ beneficiary: z.ZodString;
84
+ oracleKey: z.ZodString;
85
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
86
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
87
+ gasPrice: z.ZodString;
88
+ tokenExchangeRate: z.ZodString;
89
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ gasPrice: string;
92
+ tokenExchangeRate: string;
93
+ tokenDecimals?: number | undefined;
94
+ }, {
95
+ gasPrice: string;
96
+ tokenExchangeRate: string;
97
+ tokenDecimals?: number | undefined;
98
+ }>>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
101
+ owner: string;
102
+ beneficiary: string;
103
+ oracleKey: string;
104
+ overhead: Record<string, number>;
105
+ oracleConfig: Record<string, {
106
+ gasPrice: string;
107
+ tokenExchangeRate: string;
108
+ tokenDecimals?: number | undefined;
109
+ }>;
110
+ ownerOverrides?: Record<string, string> | undefined;
111
+ }, {
112
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
113
+ owner: string;
114
+ beneficiary: string;
115
+ oracleKey: string;
116
+ overhead: Record<string, number>;
117
+ oracleConfig: Record<string, {
118
+ gasPrice: string;
119
+ tokenExchangeRate: string;
120
+ tokenDecimals?: number | undefined;
121
+ }>;
122
+ ownerOverrides?: Record<string, string> | undefined;
123
+ }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>, z.ZodObject<{
124
+ type: z.ZodLiteral<import("../index.js").HookType.ARB_L2_TO_L1>;
125
+ arbSys: z.ZodString;
126
+ bridge: z.ZodOptional<z.ZodString>;
127
+ destinationChain: z.ZodString;
128
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ type: import("../index.js").HookType.ARB_L2_TO_L1;
131
+ destinationChain: string;
132
+ arbSys: string;
133
+ bridge?: string | undefined;
134
+ childHook?: any;
135
+ }, {
136
+ type: import("../index.js").HookType.ARB_L2_TO_L1;
137
+ destinationChain: string;
138
+ arbSys: string;
139
+ bridge?: string | undefined;
140
+ childHook?: any;
141
+ }>, z.ZodObject<{
142
+ type: z.ZodLiteral<import("../index.js").HookType.MAILBOX_DEFAULT>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ type: import("../index.js").HookType.MAILBOX_DEFAULT;
145
+ }, {
146
+ type: import("../index.js").HookType.MAILBOX_DEFAULT;
147
+ }>, z.ZodObject<{
148
+ type: z.ZodLiteral<import("../index.js").HookType.CCIP>;
149
+ destinationChain: z.ZodString;
150
+ }, "strip", z.ZodTypeAny, {
151
+ type: import("../index.js").HookType.CCIP;
152
+ destinationChain: string;
153
+ }, {
154
+ type: import("../index.js").HookType.CCIP;
155
+ destinationChain: string;
156
+ }>]>>;
157
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
158
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.TEST_ISM>;
159
+ }, "strip", z.ZodTypeAny, {
160
+ type: import("../ism/types.js").IsmType.TEST_ISM;
161
+ }, {
162
+ type: import("../ism/types.js").IsmType.TEST_ISM;
163
+ }>, z.ZodObject<{
164
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.OP_STACK>;
165
+ origin: z.ZodString;
166
+ nativeBridge: z.ZodString;
167
+ }, "strip", z.ZodTypeAny, {
168
+ type: import("../ism/types.js").IsmType.OP_STACK;
169
+ origin: string;
170
+ nativeBridge: string;
171
+ }, {
172
+ type: import("../ism/types.js").IsmType.OP_STACK;
173
+ origin: string;
174
+ nativeBridge: string;
175
+ }>, z.ZodIntersection<z.ZodObject<{
176
+ owner: z.ZodString;
177
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
178
+ paused: z.ZodBoolean;
179
+ }, "strip", z.ZodTypeAny, {
180
+ owner: string;
181
+ paused: boolean;
182
+ ownerOverrides?: Record<string, string> | undefined;
183
+ }, {
184
+ owner: string;
185
+ paused: boolean;
186
+ ownerOverrides?: Record<string, string> | undefined;
187
+ }>, z.ZodObject<{
188
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.PAUSABLE>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ type: import("../ism/types.js").IsmType.PAUSABLE;
191
+ }, {
192
+ type: import("../ism/types.js").IsmType.PAUSABLE;
193
+ }>>, z.ZodObject<{
194
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.TRUSTED_RELAYER>;
195
+ relayer: z.ZodString;
196
+ }, "strip", z.ZodTypeAny, {
197
+ type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
198
+ relayer: string;
199
+ }, {
200
+ type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
201
+ relayer: string;
202
+ }>, z.ZodObject<{
203
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.CCIP>;
204
+ originChain: z.ZodString;
205
+ }, "strip", z.ZodTypeAny, {
206
+ type: import("../ism/types.js").IsmType.CCIP;
207
+ originChain: string;
208
+ }, {
209
+ type: import("../ism/types.js").IsmType.CCIP;
210
+ originChain: string;
211
+ }>, z.ZodIntersection<z.ZodObject<{
212
+ validators: z.ZodArray<z.ZodString, "many">;
213
+ threshold: z.ZodNumber;
214
+ }, "strip", z.ZodTypeAny, {
215
+ validators: string[];
216
+ threshold: number;
217
+ }, {
218
+ validators: string[];
219
+ threshold: number;
220
+ }>, z.ZodObject<{
221
+ type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
224
+ }, {
225
+ type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
226
+ }>>, z.ZodIntersection<z.ZodObject<{
227
+ validators: z.ZodArray<z.ZodObject<{
228
+ signingAddress: z.ZodString;
229
+ weight: z.ZodNumber;
230
+ }, "strip", z.ZodTypeAny, {
231
+ signingAddress: string;
232
+ weight: number;
233
+ }, {
234
+ signingAddress: string;
235
+ weight: number;
236
+ }>, "many">;
237
+ thresholdWeight: z.ZodNumber;
238
+ }, "strip", z.ZodTypeAny, {
239
+ validators: {
240
+ signingAddress: string;
241
+ weight: number;
242
+ }[];
243
+ thresholdWeight: number;
244
+ }, {
245
+ validators: {
246
+ signingAddress: string;
247
+ weight: number;
248
+ }[];
249
+ thresholdWeight: number;
250
+ }>, z.ZodObject<{
251
+ type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
254
+ }, {
255
+ type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
256
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
257
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.ARB_L2_TO_L1>;
258
+ bridge: z.ZodString;
259
+ }, "strip", z.ZodTypeAny, {
260
+ type: import("../ism/types.js").IsmType.ARB_L2_TO_L1;
261
+ bridge: string;
262
+ }, {
263
+ type: import("../ism/types.js").IsmType.ARB_L2_TO_L1;
264
+ bridge: string;
265
+ }>, z.ZodObject<{
266
+ owner: z.ZodString;
267
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
268
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP>;
269
+ urls: z.ZodArray<z.ZodString, "many">;
270
+ }, "strip", z.ZodTypeAny, {
271
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
272
+ owner: string;
273
+ urls: string[];
274
+ ownerOverrides?: Record<string, string> | undefined;
275
+ }, {
276
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
277
+ owner: string;
278
+ urls: string[];
279
+ ownerOverrides?: Record<string, string> | undefined;
280
+ }>]>>;
281
+ foreignDeployment: z.ZodOptional<z.ZodString>;
282
+ remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
26
283
  address: z.ZodString;
27
- interchainSecurityModule: z.ZodOptional<z.ZodString>;
28
284
  }, "strip", z.ZodTypeAny, {
29
285
  address: string;
30
- interchainSecurityModule?: string | undefined;
31
286
  }, {
32
287
  address: string;
33
- interchainSecurityModule?: string | undefined;
34
288
  }>>>;
289
+ commitmentIsm: z.ZodObject<{
290
+ owner: z.ZodString;
291
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
292
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP>;
293
+ urls: z.ZodArray<z.ZodString, "many">;
294
+ }, "strip", z.ZodTypeAny, {
295
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
296
+ owner: string;
297
+ urls: string[];
298
+ ownerOverrides?: Record<string, string> | undefined;
299
+ }, {
300
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
301
+ owner: string;
302
+ urls: string[];
303
+ ownerOverrides?: Record<string, string> | undefined;
304
+ }>;
35
305
  }, "strip", z.ZodTypeAny, {
36
306
  owner: string;
37
307
  mailbox: string;
38
- proxyAdmin: {
308
+ commitmentIsm: {
309
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
39
310
  owner: string;
40
- address?: string | undefined;
311
+ urls: string[];
312
+ ownerOverrides?: Record<string, string> | undefined;
41
313
  };
42
- remoteIcaRouters?: Record<string, {
314
+ ownerOverrides?: Record<string, string> | undefined;
315
+ proxyAdmin?: {
316
+ owner: string;
317
+ ownerOverrides?: Record<string, string> | undefined;
318
+ address?: string | undefined;
319
+ } | undefined;
320
+ hook?: string | {
321
+ type: import("../index.js").HookType.MERKLE_TREE;
322
+ } | {
323
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
324
+ owner: string;
325
+ beneficiary: string;
326
+ oracleKey: string;
327
+ overhead: Record<string, number>;
328
+ oracleConfig: Record<string, {
329
+ gasPrice: string;
330
+ tokenExchangeRate: string;
331
+ tokenDecimals?: number | undefined;
332
+ }>;
333
+ ownerOverrides?: Record<string, string> | undefined;
334
+ } | {
335
+ type: import("../index.js").HookType.PROTOCOL_FEE;
336
+ owner: string;
337
+ protocolFee: string;
338
+ beneficiary: string;
339
+ maxProtocolFee: string;
340
+ ownerOverrides?: Record<string, string> | undefined;
341
+ } | {
342
+ type: import("../index.js").HookType.PAUSABLE;
343
+ owner: string;
344
+ paused: boolean;
345
+ ownerOverrides?: Record<string, string> | undefined;
346
+ } | {
347
+ type: import("../index.js").HookType.OP_STACK;
348
+ owner: string;
349
+ nativeBridge: string;
350
+ destinationChain: string;
351
+ ownerOverrides?: Record<string, string> | undefined;
352
+ } | {
353
+ type: import("../index.js").HookType.ARB_L2_TO_L1;
354
+ destinationChain: string;
355
+ arbSys: string;
356
+ bridge?: string | undefined;
357
+ childHook?: any;
358
+ } | {
359
+ type: import("../index.js").HookType.MAILBOX_DEFAULT;
360
+ } | {
361
+ type: import("../index.js").HookType.CCIP;
362
+ destinationChain: string;
363
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
364
+ interchainSecurityModule?: string | ({
365
+ validators: string[];
366
+ threshold: number;
367
+ } & {
368
+ type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
369
+ }) | ({
370
+ validators: {
371
+ signingAddress: string;
372
+ weight: number;
373
+ }[];
374
+ thresholdWeight: number;
375
+ } & {
376
+ type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
377
+ }) | {
378
+ type: import("../ism/types.js").IsmType.TEST_ISM;
379
+ } | ({
380
+ owner: string;
381
+ paused: boolean;
382
+ ownerOverrides?: Record<string, string> | undefined;
383
+ } & {
384
+ type: import("../ism/types.js").IsmType.PAUSABLE;
385
+ }) | {
386
+ type: import("../ism/types.js").IsmType.OP_STACK;
387
+ origin: string;
388
+ nativeBridge: string;
389
+ } | {
390
+ type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
391
+ relayer: string;
392
+ } | {
393
+ type: import("../ism/types.js").IsmType.CCIP;
394
+ originChain: string;
395
+ } | {
396
+ type: import("../ism/types.js").IsmType.ARB_L2_TO_L1;
397
+ bridge: string;
398
+ } | {
399
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
400
+ owner: string;
401
+ urls: string[];
402
+ ownerOverrides?: Record<string, string> | undefined;
403
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
404
+ foreignDeployment?: string | undefined;
405
+ remoteRouters?: Record<string | number, {
43
406
  address: string;
44
- interchainSecurityModule?: string | undefined;
45
407
  }> | undefined;
46
408
  }, {
47
409
  owner: string;
48
410
  mailbox: string;
49
- proxyAdmin: {
411
+ commitmentIsm: {
412
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
50
413
  owner: string;
51
- address?: string | undefined;
414
+ urls: string[];
415
+ ownerOverrides?: Record<string, string> | undefined;
52
416
  };
53
- remoteIcaRouters?: Record<string, {
417
+ ownerOverrides?: Record<string, string> | undefined;
418
+ proxyAdmin?: {
419
+ owner: string;
420
+ ownerOverrides?: Record<string, string> | undefined;
421
+ address?: string | undefined;
422
+ } | undefined;
423
+ hook?: string | {
424
+ type: import("../index.js").HookType.MERKLE_TREE;
425
+ } | {
426
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
427
+ owner: string;
428
+ beneficiary: string;
429
+ oracleKey: string;
430
+ overhead: Record<string, number>;
431
+ oracleConfig: Record<string, {
432
+ gasPrice: string;
433
+ tokenExchangeRate: string;
434
+ tokenDecimals?: number | undefined;
435
+ }>;
436
+ ownerOverrides?: Record<string, string> | undefined;
437
+ } | {
438
+ type: import("../index.js").HookType.PROTOCOL_FEE;
439
+ owner: string;
440
+ protocolFee: string;
441
+ beneficiary: string;
442
+ maxProtocolFee: string;
443
+ ownerOverrides?: Record<string, string> | undefined;
444
+ } | {
445
+ type: import("../index.js").HookType.PAUSABLE;
446
+ owner: string;
447
+ paused: boolean;
448
+ ownerOverrides?: Record<string, string> | undefined;
449
+ } | {
450
+ type: import("../index.js").HookType.OP_STACK;
451
+ owner: string;
452
+ nativeBridge: string;
453
+ destinationChain: string;
454
+ ownerOverrides?: Record<string, string> | undefined;
455
+ } | {
456
+ type: import("../index.js").HookType.ARB_L2_TO_L1;
457
+ destinationChain: string;
458
+ arbSys: string;
459
+ bridge?: string | undefined;
460
+ childHook?: any;
461
+ } | {
462
+ type: import("../index.js").HookType.MAILBOX_DEFAULT;
463
+ } | {
464
+ type: import("../index.js").HookType.CCIP;
465
+ destinationChain: string;
466
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
467
+ interchainSecurityModule?: string | ({
468
+ validators: string[];
469
+ threshold: number;
470
+ } & {
471
+ type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
472
+ }) | ({
473
+ validators: {
474
+ signingAddress: string;
475
+ weight: number;
476
+ }[];
477
+ thresholdWeight: number;
478
+ } & {
479
+ type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
480
+ }) | {
481
+ type: import("../ism/types.js").IsmType.TEST_ISM;
482
+ } | ({
483
+ owner: string;
484
+ paused: boolean;
485
+ ownerOverrides?: Record<string, string> | undefined;
486
+ } & {
487
+ type: import("../ism/types.js").IsmType.PAUSABLE;
488
+ }) | {
489
+ type: import("../ism/types.js").IsmType.OP_STACK;
490
+ origin: string;
491
+ nativeBridge: string;
492
+ } | {
493
+ type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
494
+ relayer: string;
495
+ } | {
496
+ type: import("../ism/types.js").IsmType.CCIP;
497
+ originChain: string;
498
+ } | {
499
+ type: import("../ism/types.js").IsmType.ARB_L2_TO_L1;
500
+ bridge: string;
501
+ } | {
502
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
503
+ owner: string;
504
+ urls: string[];
505
+ ownerOverrides?: Record<string, string> | undefined;
506
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
507
+ foreignDeployment?: string | undefined;
508
+ remoteRouters?: Record<string | number, {
54
509
  address: string;
55
- interchainSecurityModule?: string | undefined;
56
510
  }> | undefined;
57
511
  }>;
58
512
  export type IcaRouterConfig = z.infer<typeof IcaRouterConfigSchema>;
59
513
  export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
60
- address: z.ZodString;
61
514
  owner: z.ZodString;
515
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
62
516
  mailbox: z.ZodString;
63
- proxyAdmin: z.ZodObject<{
517
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
64
518
  owner: z.ZodString;
65
- address: z.ZodString;
519
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
520
+ address: z.ZodOptional<z.ZodString>;
66
521
  }, "strip", z.ZodTypeAny, {
67
522
  owner: string;
68
- address: string;
523
+ ownerOverrides?: Record<string, string> | undefined;
524
+ address?: string | undefined;
69
525
  }, {
70
526
  owner: string;
71
- address: string;
72
- }>;
73
- remoteIcaRouters: z.ZodRecord<z.ZodString, z.ZodObject<{
527
+ ownerOverrides?: Record<string, string> | undefined;
528
+ address?: string | undefined;
529
+ }>>;
530
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
531
+ owner: z.ZodString;
532
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
533
+ type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
534
+ beneficiary: z.ZodString;
535
+ maxProtocolFee: z.ZodString;
536
+ protocolFee: z.ZodString;
537
+ }, "strip", z.ZodTypeAny, {
538
+ type: import("../index.js").HookType.PROTOCOL_FEE;
539
+ owner: string;
540
+ protocolFee: string;
541
+ beneficiary: string;
542
+ maxProtocolFee: string;
543
+ ownerOverrides?: Record<string, string> | undefined;
544
+ }, {
545
+ type: import("../index.js").HookType.PROTOCOL_FEE;
546
+ owner: string;
547
+ protocolFee: string;
548
+ beneficiary: string;
549
+ maxProtocolFee: string;
550
+ ownerOverrides?: Record<string, string> | undefined;
551
+ }>, z.ZodObject<{
552
+ owner: z.ZodString;
553
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
554
+ paused: z.ZodBoolean;
555
+ type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
556
+ }, "strip", z.ZodTypeAny, {
557
+ type: import("../index.js").HookType.PAUSABLE;
558
+ owner: string;
559
+ paused: boolean;
560
+ ownerOverrides?: Record<string, string> | undefined;
561
+ }, {
562
+ type: import("../index.js").HookType.PAUSABLE;
563
+ owner: string;
564
+ paused: boolean;
565
+ ownerOverrides?: Record<string, string> | undefined;
566
+ }>, z.ZodObject<{
567
+ owner: z.ZodString;
568
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
569
+ type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
570
+ nativeBridge: z.ZodString;
571
+ destinationChain: z.ZodString;
572
+ }, "strip", z.ZodTypeAny, {
573
+ type: import("../index.js").HookType.OP_STACK;
574
+ owner: string;
575
+ nativeBridge: string;
576
+ destinationChain: string;
577
+ ownerOverrides?: Record<string, string> | undefined;
578
+ }, {
579
+ type: import("../index.js").HookType.OP_STACK;
580
+ owner: string;
581
+ nativeBridge: string;
582
+ destinationChain: string;
583
+ ownerOverrides?: Record<string, string> | undefined;
584
+ }>, z.ZodObject<{
585
+ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ type: import("../index.js").HookType.MERKLE_TREE;
588
+ }, {
589
+ type: import("../index.js").HookType.MERKLE_TREE;
590
+ }>, z.ZodObject<{
591
+ owner: z.ZodString;
592
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
593
+ type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
594
+ beneficiary: z.ZodString;
595
+ oracleKey: z.ZodString;
596
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
597
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
598
+ gasPrice: z.ZodString;
599
+ tokenExchangeRate: z.ZodString;
600
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ gasPrice: string;
603
+ tokenExchangeRate: string;
604
+ tokenDecimals?: number | undefined;
605
+ }, {
606
+ gasPrice: string;
607
+ tokenExchangeRate: string;
608
+ tokenDecimals?: number | undefined;
609
+ }>>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
612
+ owner: string;
613
+ beneficiary: string;
614
+ oracleKey: string;
615
+ overhead: Record<string, number>;
616
+ oracleConfig: Record<string, {
617
+ gasPrice: string;
618
+ tokenExchangeRate: string;
619
+ tokenDecimals?: number | undefined;
620
+ }>;
621
+ ownerOverrides?: Record<string, string> | undefined;
622
+ }, {
623
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
624
+ owner: string;
625
+ beneficiary: string;
626
+ oracleKey: string;
627
+ overhead: Record<string, number>;
628
+ oracleConfig: Record<string, {
629
+ gasPrice: string;
630
+ tokenExchangeRate: string;
631
+ tokenDecimals?: number | undefined;
632
+ }>;
633
+ ownerOverrides?: Record<string, string> | undefined;
634
+ }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>, z.ZodObject<{
635
+ type: z.ZodLiteral<import("../index.js").HookType.ARB_L2_TO_L1>;
636
+ arbSys: z.ZodString;
637
+ bridge: z.ZodOptional<z.ZodString>;
638
+ destinationChain: z.ZodString;
639
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
640
+ }, "strip", z.ZodTypeAny, {
641
+ type: import("../index.js").HookType.ARB_L2_TO_L1;
642
+ destinationChain: string;
643
+ arbSys: string;
644
+ bridge?: string | undefined;
645
+ childHook?: any;
646
+ }, {
647
+ type: import("../index.js").HookType.ARB_L2_TO_L1;
648
+ destinationChain: string;
649
+ arbSys: string;
650
+ bridge?: string | undefined;
651
+ childHook?: any;
652
+ }>, z.ZodObject<{
653
+ type: z.ZodLiteral<import("../index.js").HookType.MAILBOX_DEFAULT>;
654
+ }, "strip", z.ZodTypeAny, {
655
+ type: import("../index.js").HookType.MAILBOX_DEFAULT;
656
+ }, {
657
+ type: import("../index.js").HookType.MAILBOX_DEFAULT;
658
+ }>, z.ZodObject<{
659
+ type: z.ZodLiteral<import("../index.js").HookType.CCIP>;
660
+ destinationChain: z.ZodString;
661
+ }, "strip", z.ZodTypeAny, {
662
+ type: import("../index.js").HookType.CCIP;
663
+ destinationChain: string;
664
+ }, {
665
+ type: import("../index.js").HookType.CCIP;
666
+ destinationChain: string;
667
+ }>]>>;
668
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
669
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.TEST_ISM>;
670
+ }, "strip", z.ZodTypeAny, {
671
+ type: import("../ism/types.js").IsmType.TEST_ISM;
672
+ }, {
673
+ type: import("../ism/types.js").IsmType.TEST_ISM;
674
+ }>, z.ZodObject<{
675
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.OP_STACK>;
676
+ origin: z.ZodString;
677
+ nativeBridge: z.ZodString;
678
+ }, "strip", z.ZodTypeAny, {
679
+ type: import("../ism/types.js").IsmType.OP_STACK;
680
+ origin: string;
681
+ nativeBridge: string;
682
+ }, {
683
+ type: import("../ism/types.js").IsmType.OP_STACK;
684
+ origin: string;
685
+ nativeBridge: string;
686
+ }>, z.ZodIntersection<z.ZodObject<{
687
+ owner: z.ZodString;
688
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
689
+ paused: z.ZodBoolean;
690
+ }, "strip", z.ZodTypeAny, {
691
+ owner: string;
692
+ paused: boolean;
693
+ ownerOverrides?: Record<string, string> | undefined;
694
+ }, {
695
+ owner: string;
696
+ paused: boolean;
697
+ ownerOverrides?: Record<string, string> | undefined;
698
+ }>, z.ZodObject<{
699
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.PAUSABLE>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ type: import("../ism/types.js").IsmType.PAUSABLE;
702
+ }, {
703
+ type: import("../ism/types.js").IsmType.PAUSABLE;
704
+ }>>, z.ZodObject<{
705
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.TRUSTED_RELAYER>;
706
+ relayer: z.ZodString;
707
+ }, "strip", z.ZodTypeAny, {
708
+ type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
709
+ relayer: string;
710
+ }, {
711
+ type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
712
+ relayer: string;
713
+ }>, z.ZodObject<{
714
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.CCIP>;
715
+ originChain: z.ZodString;
716
+ }, "strip", z.ZodTypeAny, {
717
+ type: import("../ism/types.js").IsmType.CCIP;
718
+ originChain: string;
719
+ }, {
720
+ type: import("../ism/types.js").IsmType.CCIP;
721
+ originChain: string;
722
+ }>, z.ZodIntersection<z.ZodObject<{
723
+ validators: z.ZodArray<z.ZodString, "many">;
724
+ threshold: z.ZodNumber;
725
+ }, "strip", z.ZodTypeAny, {
726
+ validators: string[];
727
+ threshold: number;
728
+ }, {
729
+ validators: string[];
730
+ threshold: number;
731
+ }>, z.ZodObject<{
732
+ type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
733
+ }, "strip", z.ZodTypeAny, {
734
+ type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
735
+ }, {
736
+ type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
737
+ }>>, z.ZodIntersection<z.ZodObject<{
738
+ validators: z.ZodArray<z.ZodObject<{
739
+ signingAddress: z.ZodString;
740
+ weight: z.ZodNumber;
741
+ }, "strip", z.ZodTypeAny, {
742
+ signingAddress: string;
743
+ weight: number;
744
+ }, {
745
+ signingAddress: string;
746
+ weight: number;
747
+ }>, "many">;
748
+ thresholdWeight: z.ZodNumber;
749
+ }, "strip", z.ZodTypeAny, {
750
+ validators: {
751
+ signingAddress: string;
752
+ weight: number;
753
+ }[];
754
+ thresholdWeight: number;
755
+ }, {
756
+ validators: {
757
+ signingAddress: string;
758
+ weight: number;
759
+ }[];
760
+ thresholdWeight: number;
761
+ }>, z.ZodObject<{
762
+ type: z.ZodUnion<[z.ZodLiteral<import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
763
+ }, "strip", z.ZodTypeAny, {
764
+ type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
765
+ }, {
766
+ type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
767
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
768
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.ARB_L2_TO_L1>;
769
+ bridge: z.ZodString;
770
+ }, "strip", z.ZodTypeAny, {
771
+ type: import("../ism/types.js").IsmType.ARB_L2_TO_L1;
772
+ bridge: string;
773
+ }, {
774
+ type: import("../ism/types.js").IsmType.ARB_L2_TO_L1;
775
+ bridge: string;
776
+ }>, z.ZodObject<{
777
+ owner: z.ZodString;
778
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
779
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP>;
780
+ urls: z.ZodArray<z.ZodString, "many">;
781
+ }, "strip", z.ZodTypeAny, {
782
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
783
+ owner: string;
784
+ urls: string[];
785
+ ownerOverrides?: Record<string, string> | undefined;
786
+ }, {
787
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
788
+ owner: string;
789
+ urls: string[];
790
+ ownerOverrides?: Record<string, string> | undefined;
791
+ }>]>>;
792
+ foreignDeployment: z.ZodOptional<z.ZodString>;
793
+ remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
74
794
  address: z.ZodString;
75
- interchainSecurityModule: z.ZodOptional<z.ZodString>;
76
795
  }, "strip", z.ZodTypeAny, {
77
796
  address: string;
78
- interchainSecurityModule?: string | undefined;
79
797
  }, {
80
798
  address: string;
81
- interchainSecurityModule?: string | undefined;
82
- }>>;
83
- }, "strict", z.ZodTypeAny, {
799
+ }>>>;
800
+ commitmentIsm: z.ZodObject<{
801
+ owner: z.ZodString;
802
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
803
+ type: z.ZodLiteral<import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP>;
804
+ urls: z.ZodArray<z.ZodString, "many">;
805
+ }, "strip", z.ZodTypeAny, {
806
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
807
+ owner: string;
808
+ urls: string[];
809
+ ownerOverrides?: Record<string, string> | undefined;
810
+ }, {
811
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
812
+ owner: string;
813
+ urls: string[];
814
+ ownerOverrides?: Record<string, string> | undefined;
815
+ }>;
816
+ address: z.ZodString;
817
+ }, "strip", z.ZodTypeAny, {
84
818
  owner: string;
85
819
  address: string;
86
820
  mailbox: string;
87
- proxyAdmin: {
821
+ commitmentIsm: {
822
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
88
823
  owner: string;
89
- address: string;
824
+ urls: string[];
825
+ ownerOverrides?: Record<string, string> | undefined;
90
826
  };
91
- remoteIcaRouters: Record<string, {
827
+ ownerOverrides?: Record<string, string> | undefined;
828
+ proxyAdmin?: {
829
+ owner: string;
830
+ ownerOverrides?: Record<string, string> | undefined;
831
+ address?: string | undefined;
832
+ } | undefined;
833
+ hook?: string | {
834
+ type: import("../index.js").HookType.MERKLE_TREE;
835
+ } | {
836
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
837
+ owner: string;
838
+ beneficiary: string;
839
+ oracleKey: string;
840
+ overhead: Record<string, number>;
841
+ oracleConfig: Record<string, {
842
+ gasPrice: string;
843
+ tokenExchangeRate: string;
844
+ tokenDecimals?: number | undefined;
845
+ }>;
846
+ ownerOverrides?: Record<string, string> | undefined;
847
+ } | {
848
+ type: import("../index.js").HookType.PROTOCOL_FEE;
849
+ owner: string;
850
+ protocolFee: string;
851
+ beneficiary: string;
852
+ maxProtocolFee: string;
853
+ ownerOverrides?: Record<string, string> | undefined;
854
+ } | {
855
+ type: import("../index.js").HookType.PAUSABLE;
856
+ owner: string;
857
+ paused: boolean;
858
+ ownerOverrides?: Record<string, string> | undefined;
859
+ } | {
860
+ type: import("../index.js").HookType.OP_STACK;
861
+ owner: string;
862
+ nativeBridge: string;
863
+ destinationChain: string;
864
+ ownerOverrides?: Record<string, string> | undefined;
865
+ } | {
866
+ type: import("../index.js").HookType.ARB_L2_TO_L1;
867
+ destinationChain: string;
868
+ arbSys: string;
869
+ bridge?: string | undefined;
870
+ childHook?: any;
871
+ } | {
872
+ type: import("../index.js").HookType.MAILBOX_DEFAULT;
873
+ } | {
874
+ type: import("../index.js").HookType.CCIP;
875
+ destinationChain: string;
876
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
877
+ interchainSecurityModule?: string | ({
878
+ validators: string[];
879
+ threshold: number;
880
+ } & {
881
+ type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
882
+ }) | ({
883
+ validators: {
884
+ signingAddress: string;
885
+ weight: number;
886
+ }[];
887
+ thresholdWeight: number;
888
+ } & {
889
+ type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
890
+ }) | {
891
+ type: import("../ism/types.js").IsmType.TEST_ISM;
892
+ } | ({
893
+ owner: string;
894
+ paused: boolean;
895
+ ownerOverrides?: Record<string, string> | undefined;
896
+ } & {
897
+ type: import("../ism/types.js").IsmType.PAUSABLE;
898
+ }) | {
899
+ type: import("../ism/types.js").IsmType.OP_STACK;
900
+ origin: string;
901
+ nativeBridge: string;
902
+ } | {
903
+ type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
904
+ relayer: string;
905
+ } | {
906
+ type: import("../ism/types.js").IsmType.CCIP;
907
+ originChain: string;
908
+ } | {
909
+ type: import("../ism/types.js").IsmType.ARB_L2_TO_L1;
910
+ bridge: string;
911
+ } | {
912
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
913
+ owner: string;
914
+ urls: string[];
915
+ ownerOverrides?: Record<string, string> | undefined;
916
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
917
+ foreignDeployment?: string | undefined;
918
+ remoteRouters?: Record<string | number, {
92
919
  address: string;
93
- interchainSecurityModule?: string | undefined;
94
- }>;
920
+ }> | undefined;
95
921
  }, {
96
922
  owner: string;
97
923
  address: string;
98
924
  mailbox: string;
99
- proxyAdmin: {
925
+ commitmentIsm: {
926
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
100
927
  owner: string;
101
- address: string;
928
+ urls: string[];
929
+ ownerOverrides?: Record<string, string> | undefined;
102
930
  };
103
- remoteIcaRouters: Record<string, {
931
+ ownerOverrides?: Record<string, string> | undefined;
932
+ proxyAdmin?: {
933
+ owner: string;
934
+ ownerOverrides?: Record<string, string> | undefined;
935
+ address?: string | undefined;
936
+ } | undefined;
937
+ hook?: string | {
938
+ type: import("../index.js").HookType.MERKLE_TREE;
939
+ } | {
940
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
941
+ owner: string;
942
+ beneficiary: string;
943
+ oracleKey: string;
944
+ overhead: Record<string, number>;
945
+ oracleConfig: Record<string, {
946
+ gasPrice: string;
947
+ tokenExchangeRate: string;
948
+ tokenDecimals?: number | undefined;
949
+ }>;
950
+ ownerOverrides?: Record<string, string> | undefined;
951
+ } | {
952
+ type: import("../index.js").HookType.PROTOCOL_FEE;
953
+ owner: string;
954
+ protocolFee: string;
955
+ beneficiary: string;
956
+ maxProtocolFee: string;
957
+ ownerOverrides?: Record<string, string> | undefined;
958
+ } | {
959
+ type: import("../index.js").HookType.PAUSABLE;
960
+ owner: string;
961
+ paused: boolean;
962
+ ownerOverrides?: Record<string, string> | undefined;
963
+ } | {
964
+ type: import("../index.js").HookType.OP_STACK;
965
+ owner: string;
966
+ nativeBridge: string;
967
+ destinationChain: string;
968
+ ownerOverrides?: Record<string, string> | undefined;
969
+ } | {
970
+ type: import("../index.js").HookType.ARB_L2_TO_L1;
971
+ destinationChain: string;
972
+ arbSys: string;
973
+ bridge?: string | undefined;
974
+ childHook?: any;
975
+ } | {
976
+ type: import("../index.js").HookType.MAILBOX_DEFAULT;
977
+ } | {
978
+ type: import("../index.js").HookType.CCIP;
979
+ destinationChain: string;
980
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
981
+ interchainSecurityModule?: string | ({
982
+ validators: string[];
983
+ threshold: number;
984
+ } & {
985
+ type: import("../ism/types.js").IsmType.MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.MESSAGE_ID_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
986
+ }) | ({
987
+ validators: {
988
+ signingAddress: string;
989
+ weight: number;
990
+ }[];
991
+ thresholdWeight: number;
992
+ } & {
993
+ type: import("../ism/types.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../ism/types.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
994
+ }) | {
995
+ type: import("../ism/types.js").IsmType.TEST_ISM;
996
+ } | ({
997
+ owner: string;
998
+ paused: boolean;
999
+ ownerOverrides?: Record<string, string> | undefined;
1000
+ } & {
1001
+ type: import("../ism/types.js").IsmType.PAUSABLE;
1002
+ }) | {
1003
+ type: import("../ism/types.js").IsmType.OP_STACK;
1004
+ origin: string;
1005
+ nativeBridge: string;
1006
+ } | {
1007
+ type: import("../ism/types.js").IsmType.TRUSTED_RELAYER;
1008
+ relayer: string;
1009
+ } | {
1010
+ type: import("../ism/types.js").IsmType.CCIP;
1011
+ originChain: string;
1012
+ } | {
1013
+ type: import("../ism/types.js").IsmType.ARB_L2_TO_L1;
1014
+ bridge: string;
1015
+ } | {
1016
+ type: import("../ism/types.js").IsmType.OFFCHAIN_LOOKUP;
1017
+ owner: string;
1018
+ urls: string[];
1019
+ ownerOverrides?: Record<string, string> | undefined;
1020
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
1021
+ foreignDeployment?: string | undefined;
1022
+ remoteRouters?: Record<string | number, {
104
1023
  address: string;
105
- interchainSecurityModule?: string | undefined;
106
- }>;
1024
+ }> | undefined;
107
1025
  }>;
108
1026
  export type DerivedIcaRouterConfig = z.infer<typeof DerivedIcaRouterConfigSchema>;
109
1027
  //# sourceMappingURL=types.d.ts.map