@hyperlane-xyz/sdk 13.2.1 → 13.4.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 (229) hide show
  1. package/dist/consts/multisigIsm.d.ts.map +1 -1
  2. package/dist/consts/multisigIsm.js +52 -90
  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/CosmosNativeCoreReader.d.ts +3 -3
  10. package/dist/core/CosmosNativeCoreReader.d.ts.map +1 -1
  11. package/dist/core/CosmosNativeCoreReader.js +5 -5
  12. package/dist/core/CosmosNativeCoreReader.js.map +1 -1
  13. package/dist/core/EvmCoreModule.d.ts.map +1 -1
  14. package/dist/core/EvmCoreModule.hardhat-test.js +1 -2
  15. package/dist/core/EvmCoreModule.hardhat-test.js.map +1 -1
  16. package/dist/core/EvmCoreModule.js +7 -7
  17. package/dist/core/EvmCoreModule.js.map +1 -1
  18. package/dist/core/EvmCoreReader.d.ts.map +1 -1
  19. package/dist/core/EvmCoreReader.js +1 -1
  20. package/dist/core/EvmCoreReader.js.map +1 -1
  21. package/dist/core/EvmIcaModule.d.ts +3 -4
  22. package/dist/core/EvmIcaModule.d.ts.map +1 -1
  23. package/dist/core/EvmIcaModule.hardhat-test.js +25 -2
  24. package/dist/core/EvmIcaModule.hardhat-test.js.map +1 -1
  25. package/dist/core/EvmIcaModule.js +13 -11
  26. package/dist/core/EvmIcaModule.js.map +1 -1
  27. package/dist/core/HyperlaneRelayer.d.ts +40 -5
  28. package/dist/core/HyperlaneRelayer.d.ts.map +1 -1
  29. package/dist/core/types.d.ts +1794 -129
  30. package/dist/core/types.d.ts.map +1 -1
  31. package/dist/core/types.js +0 -1
  32. package/dist/core/types.js.map +1 -1
  33. package/dist/deploy/HyperlaneDeployer.d.ts +2 -1
  34. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  35. package/dist/deploy/HyperlaneDeployer.js +11 -8
  36. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  37. package/dist/deploy/HyperlaneProxyFactoryDeployer.d.ts.map +1 -1
  38. package/dist/deploy/HyperlaneProxyFactoryDeployer.js +10 -4
  39. package/dist/deploy/HyperlaneProxyFactoryDeployer.js.map +1 -1
  40. package/dist/deploy/contracts.js +1 -1
  41. package/dist/deploy/contracts.js.map +1 -1
  42. package/dist/deploy/proxy.d.ts +1 -1
  43. package/dist/deploy/proxy.d.ts.map +1 -1
  44. package/dist/deploy/proxy.js +4 -5
  45. package/dist/deploy/proxy.js.map +1 -1
  46. package/dist/deploy/verify/utils.d.ts +1 -0
  47. package/dist/deploy/verify/utils.d.ts.map +1 -1
  48. package/dist/deploy/verify/utils.js +8 -1
  49. package/dist/deploy/verify/utils.js.map +1 -1
  50. package/dist/fork/types.d.ts +2086 -0
  51. package/dist/fork/types.d.ts.map +1 -0
  52. package/dist/fork/types.js +142 -0
  53. package/dist/fork/types.js.map +1 -0
  54. package/dist/gas/token-prices.d.ts.map +1 -1
  55. package/dist/gas/token-prices.js +23 -4
  56. package/dist/gas/token-prices.js.map +1 -1
  57. package/dist/hook/CosmosNativeHookReader.d.ts +3 -3
  58. package/dist/hook/CosmosNativeHookReader.d.ts.map +1 -1
  59. package/dist/hook/CosmosNativeHookReader.js +4 -4
  60. package/dist/hook/CosmosNativeHookReader.js.map +1 -1
  61. package/dist/ica/EvmIcaReader.d.ts +2 -5
  62. package/dist/ica/EvmIcaReader.d.ts.map +1 -1
  63. package/dist/ica/EvmIcaReader.hardhat-test.js +2 -7
  64. package/dist/ica/EvmIcaReader.hardhat-test.js.map +1 -1
  65. package/dist/ica/EvmIcaReader.js +10 -44
  66. package/dist/ica/EvmIcaReader.js.map +1 -1
  67. package/dist/ica/types.d.ts +1005 -47
  68. package/dist/ica/types.d.ts.map +1 -1
  69. package/dist/ica/types.js +7 -22
  70. package/dist/ica/types.js.map +1 -1
  71. package/dist/index.d.ts +24 -18
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +21 -16
  74. package/dist/index.js.map +1 -1
  75. package/dist/ism/CosmosNativeIsmReader.d.ts +3 -3
  76. package/dist/ism/CosmosNativeIsmReader.d.ts.map +1 -1
  77. package/dist/ism/CosmosNativeIsmReader.js +4 -4
  78. package/dist/ism/CosmosNativeIsmReader.js.map +1 -1
  79. package/dist/ism/EvmIsmModule.hardhat-test.js +0 -5
  80. package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
  81. package/dist/ism/EvmIsmReader.d.ts +6 -3
  82. package/dist/ism/EvmIsmReader.d.ts.map +1 -1
  83. package/dist/ism/EvmIsmReader.js +87 -43
  84. package/dist/ism/EvmIsmReader.js.map +1 -1
  85. package/dist/ism/EvmIsmReader.test.js +36 -1
  86. package/dist/ism/EvmIsmReader.test.js.map +1 -1
  87. package/dist/ism/HyperlaneIsmFactory.d.ts +0 -1
  88. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  89. package/dist/ism/HyperlaneIsmFactory.js +6 -11
  90. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  91. package/dist/ism/metadata/arbL2ToL1.hardhat-test.js +0 -1
  92. package/dist/ism/metadata/arbL2ToL1.hardhat-test.js.map +1 -1
  93. package/dist/ism/metadata/builder.d.ts +4 -4
  94. package/dist/ism/metadata/builder.d.ts.map +1 -1
  95. package/dist/ism/metadata/builder.hardhat-test.js +0 -1
  96. package/dist/ism/metadata/builder.hardhat-test.js.map +1 -1
  97. package/dist/ism/metadata/builder.js +7 -7
  98. package/dist/ism/metadata/builder.js.map +1 -1
  99. package/dist/ism/metadata/ccipread.d.ts +5 -4
  100. package/dist/ism/metadata/ccipread.d.ts.map +1 -1
  101. package/dist/ism/metadata/ccipread.hardhat-test.js +7 -13
  102. package/dist/ism/metadata/ccipread.hardhat-test.js.map +1 -1
  103. package/dist/ism/metadata/ccipread.js +9 -8
  104. package/dist/ism/metadata/ccipread.js.map +1 -1
  105. package/dist/ism/metadata/decode.js +2 -2
  106. package/dist/ism/metadata/decode.js.map +1 -1
  107. package/dist/ism/metadata/routing.d.ts +4 -2
  108. package/dist/ism/metadata/routing.d.ts.map +1 -1
  109. package/dist/ism/metadata/routing.js +33 -39
  110. package/dist/ism/metadata/routing.js.map +1 -1
  111. package/dist/ism/types.d.ts +77 -19
  112. package/dist/ism/types.d.ts.map +1 -1
  113. package/dist/ism/types.js +26 -12
  114. package/dist/ism/types.js.map +1 -1
  115. package/dist/ism/utils.d.ts.map +1 -1
  116. package/dist/ism/utils.js +12 -10
  117. package/dist/ism/utils.js.map +1 -1
  118. package/dist/middleware/account/InterchainAccount.d.ts +52 -2
  119. package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
  120. package/dist/middleware/account/InterchainAccount.js +53 -10
  121. package/dist/middleware/account/InterchainAccount.js.map +1 -1
  122. package/dist/middleware/account/InterchainAccountChecker.d.ts +3 -6
  123. package/dist/middleware/account/InterchainAccountChecker.d.ts.map +1 -1
  124. package/dist/middleware/account/InterchainAccountChecker.js +2 -17
  125. package/dist/middleware/account/InterchainAccountChecker.js.map +1 -1
  126. package/dist/middleware/account/InterchainAccountDeployer.d.ts +3 -8
  127. package/dist/middleware/account/InterchainAccountDeployer.d.ts.map +1 -1
  128. package/dist/middleware/account/InterchainAccountDeployer.js +11 -31
  129. package/dist/middleware/account/InterchainAccountDeployer.js.map +1 -1
  130. package/dist/middleware/account/accounts.hardhat-test.js +10 -1
  131. package/dist/middleware/account/accounts.hardhat-test.js.map +1 -1
  132. package/dist/middleware/account/contracts.d.ts +1 -4
  133. package/dist/middleware/account/contracts.d.ts.map +1 -1
  134. package/dist/middleware/account/contracts.js +1 -4
  135. package/dist/middleware/account/contracts.js.map +1 -1
  136. package/dist/middleware/account/types.d.ts +2 -2
  137. package/dist/providers/SmartProvider/SmartProvider.d.ts.map +1 -1
  138. package/dist/providers/SmartProvider/SmartProvider.foundry-test.js +6 -0
  139. package/dist/providers/SmartProvider/SmartProvider.foundry-test.js.map +1 -1
  140. package/dist/providers/SmartProvider/SmartProvider.js +7 -3
  141. package/dist/providers/SmartProvider/SmartProvider.js.map +1 -1
  142. package/dist/providers/transactions/submitter/builder/types.d.ts +10 -10
  143. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +2 -3
  144. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
  145. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js +20 -16
  146. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
  147. package/dist/providers/transactions/transformer/ethersV5/types.d.ts +3 -3
  148. package/dist/providers/transactions/transformer/types.d.ts +3 -3
  149. package/dist/rebalancer/types.d.ts +875 -0
  150. package/dist/rebalancer/types.d.ts.map +1 -0
  151. package/dist/rebalancer/types.js +119 -0
  152. package/dist/rebalancer/types.js.map +1 -0
  153. package/dist/router/EvmRouterReader.d.ts +18 -0
  154. package/dist/router/EvmRouterReader.d.ts.map +1 -0
  155. package/dist/router/EvmRouterReader.js +60 -0
  156. package/dist/router/EvmRouterReader.js.map +1 -0
  157. package/dist/router/HyperlaneRouterChecker.d.ts +3 -0
  158. package/dist/router/HyperlaneRouterChecker.d.ts.map +1 -1
  159. package/dist/router/HyperlaneRouterChecker.js +14 -4
  160. package/dist/router/HyperlaneRouterChecker.js.map +1 -1
  161. package/dist/router/types.d.ts +139 -31
  162. package/dist/router/types.d.ts.map +1 -1
  163. package/dist/router/types.js +13 -4
  164. package/dist/router/types.js.map +1 -1
  165. package/dist/token/CosmosNativeWarpRouteReader.d.ts +51 -0
  166. package/dist/token/CosmosNativeWarpRouteReader.d.ts.map +1 -0
  167. package/dist/token/CosmosNativeWarpRouteReader.js +123 -0
  168. package/dist/token/CosmosNativeWarpRouteReader.js.map +1 -0
  169. package/dist/token/EvmERC20WarpModule.d.ts +13 -0
  170. package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
  171. package/dist/token/EvmERC20WarpModule.hardhat-test.js +354 -9
  172. package/dist/token/EvmERC20WarpModule.hardhat-test.js.map +1 -1
  173. package/dist/token/EvmERC20WarpModule.js +211 -9
  174. package/dist/token/EvmERC20WarpModule.js.map +1 -1
  175. package/dist/token/EvmERC20WarpRouteReader.d.ts +7 -11
  176. package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
  177. package/dist/token/EvmERC20WarpRouteReader.js +97 -45
  178. package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
  179. package/dist/token/TokenMetadataMap.d.ts +1 -2
  180. package/dist/token/TokenMetadataMap.d.ts.map +1 -1
  181. package/dist/token/TokenMetadataMap.js +2 -20
  182. package/dist/token/TokenMetadataMap.js.map +1 -1
  183. package/dist/token/TokenStandard.d.ts +5 -1
  184. package/dist/token/TokenStandard.d.ts.map +1 -1
  185. package/dist/token/TokenStandard.js +29 -1
  186. package/dist/token/TokenStandard.js.map +1 -1
  187. package/dist/token/adapters/CosmosModuleTokenAdapter.d.ts +1 -1
  188. package/dist/token/adapters/CosmosModuleTokenAdapter.d.ts.map +1 -1
  189. package/dist/token/adapters/CosmosModuleTokenAdapter.js +7 -4
  190. package/dist/token/adapters/CosmosModuleTokenAdapter.js.map +1 -1
  191. package/dist/token/adapters/EvmTokenAdapter.d.ts +14 -2
  192. package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -1
  193. package/dist/token/adapters/EvmTokenAdapter.js +64 -3
  194. package/dist/token/adapters/EvmTokenAdapter.js.map +1 -1
  195. package/dist/token/adapters/ITokenAdapter.d.ts +9 -1
  196. package/dist/token/adapters/ITokenAdapter.d.ts.map +1 -1
  197. package/dist/token/config.d.ts +25 -0
  198. package/dist/token/config.d.ts.map +1 -1
  199. package/dist/token/config.js +25 -0
  200. package/dist/token/config.js.map +1 -1
  201. package/dist/token/configUtils.d.ts.map +1 -1
  202. package/dist/token/configUtils.js +13 -3
  203. package/dist/token/configUtils.js.map +1 -1
  204. package/dist/token/configUtils.test.js +2 -2
  205. package/dist/token/configUtils.test.js.map +1 -1
  206. package/dist/token/contracts.d.ts +37 -31
  207. package/dist/token/contracts.d.ts.map +1 -1
  208. package/dist/token/contracts.js +8 -1
  209. package/dist/token/contracts.js.map +1 -1
  210. package/dist/token/deploy.d.ts +12 -5
  211. package/dist/token/deploy.d.ts.map +1 -1
  212. package/dist/token/deploy.js +140 -5
  213. package/dist/token/deploy.js.map +1 -1
  214. package/dist/token/types.d.ts +2812 -83
  215. package/dist/token/types.d.ts.map +1 -1
  216. package/dist/token/types.js +76 -5
  217. package/dist/token/types.js.map +1 -1
  218. package/dist/utils/decimals.d.ts +3 -0
  219. package/dist/utils/decimals.d.ts.map +1 -0
  220. package/dist/utils/decimals.js +34 -0
  221. package/dist/utils/decimals.js.map +1 -0
  222. package/dist/utils/decimals.test.d.ts +2 -0
  223. package/dist/utils/decimals.test.d.ts.map +1 -0
  224. package/dist/utils/decimals.test.js +173 -0
  225. package/dist/utils/decimals.test.js.map +1 -0
  226. package/dist/warp/WarpCore.d.ts.map +1 -1
  227. package/dist/warp/WarpCore.js +2 -1
  228. package/dist/warp/WarpCore.js.map +1 -1
  229. package/package.json +12 -8
@@ -0,0 +1,2086 @@
1
+ import { z } from 'zod';
2
+ export declare enum EventAssertionType {
3
+ RAW_TOPIC = "rawTopic",
4
+ TOPIC_SIGNATURE = "topicSignature"
5
+ }
6
+ export declare const EventAssertionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
8
+ topic: z.ZodString;
9
+ annotation: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ type: EventAssertionType.RAW_TOPIC;
12
+ topic: string;
13
+ annotation?: string | undefined;
14
+ }, {
15
+ type: EventAssertionType.RAW_TOPIC;
16
+ topic: string;
17
+ annotation?: string | undefined;
18
+ }>, z.ZodObject<{
19
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
20
+ signature: z.ZodString;
21
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22
+ annotation: z.ZodOptional<z.ZodString>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ type: EventAssertionType.TOPIC_SIGNATURE;
25
+ signature: string;
26
+ args?: string[] | undefined;
27
+ annotation?: string | undefined;
28
+ }, {
29
+ type: EventAssertionType.TOPIC_SIGNATURE;
30
+ signature: string;
31
+ args?: string[] | undefined;
32
+ annotation?: string | undefined;
33
+ }>]>;
34
+ export type EventAssertion = z.infer<typeof EventAssertionSchema>;
35
+ export declare enum RevertAssertionType {
36
+ ESTIMATE_GAS = "estimateGas"
37
+ }
38
+ export declare const RevertAssertionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
39
+ type: z.ZodLiteral<RevertAssertionType>;
40
+ reason: z.ZodString;
41
+ annotation: z.ZodOptional<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ type: RevertAssertionType;
44
+ reason: string;
45
+ annotation?: string | undefined;
46
+ }, {
47
+ type: RevertAssertionType;
48
+ reason: string;
49
+ annotation?: string | undefined;
50
+ }>]>;
51
+ export type RevertAssertion = z.infer<typeof RevertAssertionSchema>;
52
+ export declare enum TransactionDataType {
53
+ RAW_CALLDATA = "rawCalldata",
54
+ SIGNATURE = "signature"
55
+ }
56
+ export declare const ForkedChainTransactionConfigSchema: z.ZodObject<{
57
+ annotation: z.ZodOptional<z.ZodString>;
58
+ from: z.ZodString;
59
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
60
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
61
+ calldata: z.ZodString;
62
+ }, "strip", z.ZodTypeAny, {
63
+ type: TransactionDataType.RAW_CALLDATA;
64
+ calldata: string;
65
+ }, {
66
+ type: TransactionDataType.RAW_CALLDATA;
67
+ calldata: string;
68
+ }>, z.ZodObject<{
69
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
70
+ signature: z.ZodString;
71
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ type: TransactionDataType.SIGNATURE;
74
+ signature: string;
75
+ args: string[];
76
+ }, {
77
+ type: TransactionDataType.SIGNATURE;
78
+ signature: string;
79
+ args?: string[] | undefined;
80
+ }>]>>;
81
+ value: z.ZodOptional<z.ZodString>;
82
+ to: z.ZodOptional<z.ZodString>;
83
+ timeSkip: z.ZodOptional<z.ZodNumber>;
84
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
86
+ topic: z.ZodString;
87
+ annotation: z.ZodOptional<z.ZodString>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ type: EventAssertionType.RAW_TOPIC;
90
+ topic: string;
91
+ annotation?: string | undefined;
92
+ }, {
93
+ type: EventAssertionType.RAW_TOPIC;
94
+ topic: string;
95
+ annotation?: string | undefined;
96
+ }>, z.ZodObject<{
97
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
98
+ signature: z.ZodString;
99
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
100
+ annotation: z.ZodOptional<z.ZodString>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ type: EventAssertionType.TOPIC_SIGNATURE;
103
+ signature: string;
104
+ args?: string[] | undefined;
105
+ annotation?: string | undefined;
106
+ }, {
107
+ type: EventAssertionType.TOPIC_SIGNATURE;
108
+ signature: string;
109
+ args?: string[] | undefined;
110
+ annotation?: string | undefined;
111
+ }>]>, "many">>;
112
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
113
+ type: z.ZodLiteral<RevertAssertionType>;
114
+ reason: z.ZodString;
115
+ annotation: z.ZodOptional<z.ZodString>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ type: RevertAssertionType;
118
+ reason: string;
119
+ annotation?: string | undefined;
120
+ }, {
121
+ type: RevertAssertionType;
122
+ reason: string;
123
+ annotation?: string | undefined;
124
+ }>]>>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ from: string;
127
+ eventAssertions: ({
128
+ type: EventAssertionType.RAW_TOPIC;
129
+ topic: string;
130
+ annotation?: string | undefined;
131
+ } | {
132
+ type: EventAssertionType.TOPIC_SIGNATURE;
133
+ signature: string;
134
+ args?: string[] | undefined;
135
+ annotation?: string | undefined;
136
+ })[];
137
+ annotation?: string | undefined;
138
+ data?: {
139
+ type: TransactionDataType.RAW_CALLDATA;
140
+ calldata: string;
141
+ } | {
142
+ type: TransactionDataType.SIGNATURE;
143
+ signature: string;
144
+ args: string[];
145
+ } | undefined;
146
+ value?: string | undefined;
147
+ to?: string | undefined;
148
+ timeSkip?: number | undefined;
149
+ revertAssertion?: {
150
+ type: RevertAssertionType;
151
+ reason: string;
152
+ annotation?: string | undefined;
153
+ } | undefined;
154
+ }, {
155
+ from: string;
156
+ annotation?: string | undefined;
157
+ data?: {
158
+ type: TransactionDataType.RAW_CALLDATA;
159
+ calldata: string;
160
+ } | {
161
+ type: TransactionDataType.SIGNATURE;
162
+ signature: string;
163
+ args?: string[] | undefined;
164
+ } | undefined;
165
+ value?: string | undefined;
166
+ to?: string | undefined;
167
+ timeSkip?: number | undefined;
168
+ eventAssertions?: ({
169
+ type: EventAssertionType.RAW_TOPIC;
170
+ topic: string;
171
+ annotation?: string | undefined;
172
+ } | {
173
+ type: EventAssertionType.TOPIC_SIGNATURE;
174
+ signature: string;
175
+ args?: string[] | undefined;
176
+ annotation?: string | undefined;
177
+ })[] | undefined;
178
+ revertAssertion?: {
179
+ type: RevertAssertionType;
180
+ reason: string;
181
+ annotation?: string | undefined;
182
+ } | undefined;
183
+ }>;
184
+ export type ForkedChainTransactionConfig = z.infer<typeof ForkedChainTransactionConfigSchema>;
185
+ export declare const ForkedChainConfigSchema: z.ZodObject<{
186
+ impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
187
+ transactions: z.ZodDefault<z.ZodArray<z.ZodObject<{
188
+ annotation: z.ZodOptional<z.ZodString>;
189
+ from: z.ZodString;
190
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
191
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
192
+ calldata: z.ZodString;
193
+ }, "strip", z.ZodTypeAny, {
194
+ type: TransactionDataType.RAW_CALLDATA;
195
+ calldata: string;
196
+ }, {
197
+ type: TransactionDataType.RAW_CALLDATA;
198
+ calldata: string;
199
+ }>, z.ZodObject<{
200
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
201
+ signature: z.ZodString;
202
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ type: TransactionDataType.SIGNATURE;
205
+ signature: string;
206
+ args: string[];
207
+ }, {
208
+ type: TransactionDataType.SIGNATURE;
209
+ signature: string;
210
+ args?: string[] | undefined;
211
+ }>]>>;
212
+ value: z.ZodOptional<z.ZodString>;
213
+ to: z.ZodOptional<z.ZodString>;
214
+ timeSkip: z.ZodOptional<z.ZodNumber>;
215
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
216
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
217
+ topic: z.ZodString;
218
+ annotation: z.ZodOptional<z.ZodString>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ type: EventAssertionType.RAW_TOPIC;
221
+ topic: string;
222
+ annotation?: string | undefined;
223
+ }, {
224
+ type: EventAssertionType.RAW_TOPIC;
225
+ topic: string;
226
+ annotation?: string | undefined;
227
+ }>, z.ZodObject<{
228
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
229
+ signature: z.ZodString;
230
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
231
+ annotation: z.ZodOptional<z.ZodString>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ type: EventAssertionType.TOPIC_SIGNATURE;
234
+ signature: string;
235
+ args?: string[] | undefined;
236
+ annotation?: string | undefined;
237
+ }, {
238
+ type: EventAssertionType.TOPIC_SIGNATURE;
239
+ signature: string;
240
+ args?: string[] | undefined;
241
+ annotation?: string | undefined;
242
+ }>]>, "many">>;
243
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
244
+ type: z.ZodLiteral<RevertAssertionType>;
245
+ reason: z.ZodString;
246
+ annotation: z.ZodOptional<z.ZodString>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ type: RevertAssertionType;
249
+ reason: string;
250
+ annotation?: string | undefined;
251
+ }, {
252
+ type: RevertAssertionType;
253
+ reason: string;
254
+ annotation?: string | undefined;
255
+ }>]>>;
256
+ }, "strip", z.ZodTypeAny, {
257
+ from: string;
258
+ eventAssertions: ({
259
+ type: EventAssertionType.RAW_TOPIC;
260
+ topic: string;
261
+ annotation?: string | undefined;
262
+ } | {
263
+ type: EventAssertionType.TOPIC_SIGNATURE;
264
+ signature: string;
265
+ args?: string[] | undefined;
266
+ annotation?: string | undefined;
267
+ })[];
268
+ annotation?: string | undefined;
269
+ data?: {
270
+ type: TransactionDataType.RAW_CALLDATA;
271
+ calldata: string;
272
+ } | {
273
+ type: TransactionDataType.SIGNATURE;
274
+ signature: string;
275
+ args: string[];
276
+ } | undefined;
277
+ value?: string | undefined;
278
+ to?: string | undefined;
279
+ timeSkip?: number | undefined;
280
+ revertAssertion?: {
281
+ type: RevertAssertionType;
282
+ reason: string;
283
+ annotation?: string | undefined;
284
+ } | undefined;
285
+ }, {
286
+ from: string;
287
+ annotation?: string | undefined;
288
+ data?: {
289
+ type: TransactionDataType.RAW_CALLDATA;
290
+ calldata: string;
291
+ } | {
292
+ type: TransactionDataType.SIGNATURE;
293
+ signature: string;
294
+ args?: string[] | undefined;
295
+ } | undefined;
296
+ value?: string | undefined;
297
+ to?: string | undefined;
298
+ timeSkip?: number | undefined;
299
+ eventAssertions?: ({
300
+ type: EventAssertionType.RAW_TOPIC;
301
+ topic: string;
302
+ annotation?: string | undefined;
303
+ } | {
304
+ type: EventAssertionType.TOPIC_SIGNATURE;
305
+ signature: string;
306
+ args?: string[] | undefined;
307
+ annotation?: string | undefined;
308
+ })[] | undefined;
309
+ revertAssertion?: {
310
+ type: RevertAssertionType;
311
+ reason: string;
312
+ annotation?: string | undefined;
313
+ } | undefined;
314
+ }>, "many">>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ transactions: {
317
+ from: string;
318
+ eventAssertions: ({
319
+ type: EventAssertionType.RAW_TOPIC;
320
+ topic: string;
321
+ annotation?: string | undefined;
322
+ } | {
323
+ type: EventAssertionType.TOPIC_SIGNATURE;
324
+ signature: string;
325
+ args?: string[] | undefined;
326
+ annotation?: string | undefined;
327
+ })[];
328
+ annotation?: string | undefined;
329
+ data?: {
330
+ type: TransactionDataType.RAW_CALLDATA;
331
+ calldata: string;
332
+ } | {
333
+ type: TransactionDataType.SIGNATURE;
334
+ signature: string;
335
+ args: string[];
336
+ } | undefined;
337
+ value?: string | undefined;
338
+ to?: string | undefined;
339
+ timeSkip?: number | undefined;
340
+ revertAssertion?: {
341
+ type: RevertAssertionType;
342
+ reason: string;
343
+ annotation?: string | undefined;
344
+ } | undefined;
345
+ }[];
346
+ impersonateAccounts: string[];
347
+ }, {
348
+ impersonateAccounts?: string[] | undefined;
349
+ transactions?: {
350
+ from: string;
351
+ annotation?: string | undefined;
352
+ data?: {
353
+ type: TransactionDataType.RAW_CALLDATA;
354
+ calldata: string;
355
+ } | {
356
+ type: TransactionDataType.SIGNATURE;
357
+ signature: string;
358
+ args?: string[] | undefined;
359
+ } | undefined;
360
+ value?: string | undefined;
361
+ to?: string | undefined;
362
+ timeSkip?: number | undefined;
363
+ eventAssertions?: ({
364
+ type: EventAssertionType.RAW_TOPIC;
365
+ topic: string;
366
+ annotation?: string | undefined;
367
+ } | {
368
+ type: EventAssertionType.TOPIC_SIGNATURE;
369
+ signature: string;
370
+ args?: string[] | undefined;
371
+ annotation?: string | undefined;
372
+ })[] | undefined;
373
+ revertAssertion?: {
374
+ type: RevertAssertionType;
375
+ reason: string;
376
+ annotation?: string | undefined;
377
+ } | undefined;
378
+ }[] | undefined;
379
+ }>;
380
+ export type ForkedChainConfig = z.infer<typeof ForkedChainConfigSchema>;
381
+ export declare const ForkedChainConfigByChainSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
382
+ impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
383
+ transactions: z.ZodDefault<z.ZodArray<z.ZodObject<{
384
+ annotation: z.ZodOptional<z.ZodString>;
385
+ from: z.ZodString;
386
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
387
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
388
+ calldata: z.ZodString;
389
+ }, "strip", z.ZodTypeAny, {
390
+ type: TransactionDataType.RAW_CALLDATA;
391
+ calldata: string;
392
+ }, {
393
+ type: TransactionDataType.RAW_CALLDATA;
394
+ calldata: string;
395
+ }>, z.ZodObject<{
396
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
397
+ signature: z.ZodString;
398
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
399
+ }, "strip", z.ZodTypeAny, {
400
+ type: TransactionDataType.SIGNATURE;
401
+ signature: string;
402
+ args: string[];
403
+ }, {
404
+ type: TransactionDataType.SIGNATURE;
405
+ signature: string;
406
+ args?: string[] | undefined;
407
+ }>]>>;
408
+ value: z.ZodOptional<z.ZodString>;
409
+ to: z.ZodOptional<z.ZodString>;
410
+ timeSkip: z.ZodOptional<z.ZodNumber>;
411
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
412
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
413
+ topic: z.ZodString;
414
+ annotation: z.ZodOptional<z.ZodString>;
415
+ }, "strip", z.ZodTypeAny, {
416
+ type: EventAssertionType.RAW_TOPIC;
417
+ topic: string;
418
+ annotation?: string | undefined;
419
+ }, {
420
+ type: EventAssertionType.RAW_TOPIC;
421
+ topic: string;
422
+ annotation?: string | undefined;
423
+ }>, z.ZodObject<{
424
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
425
+ signature: z.ZodString;
426
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
427
+ annotation: z.ZodOptional<z.ZodString>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ type: EventAssertionType.TOPIC_SIGNATURE;
430
+ signature: string;
431
+ args?: string[] | undefined;
432
+ annotation?: string | undefined;
433
+ }, {
434
+ type: EventAssertionType.TOPIC_SIGNATURE;
435
+ signature: string;
436
+ args?: string[] | undefined;
437
+ annotation?: string | undefined;
438
+ }>]>, "many">>;
439
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
440
+ type: z.ZodLiteral<RevertAssertionType>;
441
+ reason: z.ZodString;
442
+ annotation: z.ZodOptional<z.ZodString>;
443
+ }, "strip", z.ZodTypeAny, {
444
+ type: RevertAssertionType;
445
+ reason: string;
446
+ annotation?: string | undefined;
447
+ }, {
448
+ type: RevertAssertionType;
449
+ reason: string;
450
+ annotation?: string | undefined;
451
+ }>]>>;
452
+ }, "strip", z.ZodTypeAny, {
453
+ from: string;
454
+ eventAssertions: ({
455
+ type: EventAssertionType.RAW_TOPIC;
456
+ topic: string;
457
+ annotation?: string | undefined;
458
+ } | {
459
+ type: EventAssertionType.TOPIC_SIGNATURE;
460
+ signature: string;
461
+ args?: string[] | undefined;
462
+ annotation?: string | undefined;
463
+ })[];
464
+ annotation?: string | undefined;
465
+ data?: {
466
+ type: TransactionDataType.RAW_CALLDATA;
467
+ calldata: string;
468
+ } | {
469
+ type: TransactionDataType.SIGNATURE;
470
+ signature: string;
471
+ args: string[];
472
+ } | undefined;
473
+ value?: string | undefined;
474
+ to?: string | undefined;
475
+ timeSkip?: number | undefined;
476
+ revertAssertion?: {
477
+ type: RevertAssertionType;
478
+ reason: string;
479
+ annotation?: string | undefined;
480
+ } | undefined;
481
+ }, {
482
+ from: string;
483
+ annotation?: string | undefined;
484
+ data?: {
485
+ type: TransactionDataType.RAW_CALLDATA;
486
+ calldata: string;
487
+ } | {
488
+ type: TransactionDataType.SIGNATURE;
489
+ signature: string;
490
+ args?: string[] | undefined;
491
+ } | undefined;
492
+ value?: string | undefined;
493
+ to?: string | undefined;
494
+ timeSkip?: number | undefined;
495
+ eventAssertions?: ({
496
+ type: EventAssertionType.RAW_TOPIC;
497
+ topic: string;
498
+ annotation?: string | undefined;
499
+ } | {
500
+ type: EventAssertionType.TOPIC_SIGNATURE;
501
+ signature: string;
502
+ args?: string[] | undefined;
503
+ annotation?: string | undefined;
504
+ })[] | undefined;
505
+ revertAssertion?: {
506
+ type: RevertAssertionType;
507
+ reason: string;
508
+ annotation?: string | undefined;
509
+ } | undefined;
510
+ }>, "many">>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ transactions: {
513
+ from: string;
514
+ eventAssertions: ({
515
+ type: EventAssertionType.RAW_TOPIC;
516
+ topic: string;
517
+ annotation?: string | undefined;
518
+ } | {
519
+ type: EventAssertionType.TOPIC_SIGNATURE;
520
+ signature: string;
521
+ args?: string[] | undefined;
522
+ annotation?: string | undefined;
523
+ })[];
524
+ annotation?: string | undefined;
525
+ data?: {
526
+ type: TransactionDataType.RAW_CALLDATA;
527
+ calldata: string;
528
+ } | {
529
+ type: TransactionDataType.SIGNATURE;
530
+ signature: string;
531
+ args: string[];
532
+ } | undefined;
533
+ value?: string | undefined;
534
+ to?: string | undefined;
535
+ timeSkip?: number | undefined;
536
+ revertAssertion?: {
537
+ type: RevertAssertionType;
538
+ reason: string;
539
+ annotation?: string | undefined;
540
+ } | undefined;
541
+ }[];
542
+ impersonateAccounts: string[];
543
+ }, {
544
+ impersonateAccounts?: string[] | undefined;
545
+ transactions?: {
546
+ from: string;
547
+ annotation?: string | undefined;
548
+ data?: {
549
+ type: TransactionDataType.RAW_CALLDATA;
550
+ calldata: string;
551
+ } | {
552
+ type: TransactionDataType.SIGNATURE;
553
+ signature: string;
554
+ args?: string[] | undefined;
555
+ } | undefined;
556
+ value?: string | undefined;
557
+ to?: string | undefined;
558
+ timeSkip?: number | undefined;
559
+ eventAssertions?: ({
560
+ type: EventAssertionType.RAW_TOPIC;
561
+ topic: string;
562
+ annotation?: string | undefined;
563
+ } | {
564
+ type: EventAssertionType.TOPIC_SIGNATURE;
565
+ signature: string;
566
+ args?: string[] | undefined;
567
+ annotation?: string | undefined;
568
+ })[] | undefined;
569
+ revertAssertion?: {
570
+ type: RevertAssertionType;
571
+ reason: string;
572
+ annotation?: string | undefined;
573
+ } | undefined;
574
+ }[] | undefined;
575
+ }>>;
576
+ export type ForkedChainConfigByChain = z.infer<typeof ForkedChainConfigByChainSchema>;
577
+ export declare enum TransactionConfigType {
578
+ RAW_TRANSACTION = "rawTransaction",
579
+ FILE = "file"
580
+ }
581
+ export declare const RawForkedChainTransactionConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
582
+ type: z.ZodLiteral<TransactionConfigType.RAW_TRANSACTION>;
583
+ transactions: z.ZodArray<z.ZodObject<{
584
+ annotation: z.ZodOptional<z.ZodString>;
585
+ from: z.ZodString;
586
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
587
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
588
+ calldata: z.ZodString;
589
+ }, "strip", z.ZodTypeAny, {
590
+ type: TransactionDataType.RAW_CALLDATA;
591
+ calldata: string;
592
+ }, {
593
+ type: TransactionDataType.RAW_CALLDATA;
594
+ calldata: string;
595
+ }>, z.ZodObject<{
596
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
597
+ signature: z.ZodString;
598
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ type: TransactionDataType.SIGNATURE;
601
+ signature: string;
602
+ args: string[];
603
+ }, {
604
+ type: TransactionDataType.SIGNATURE;
605
+ signature: string;
606
+ args?: string[] | undefined;
607
+ }>]>>;
608
+ value: z.ZodOptional<z.ZodString>;
609
+ to: z.ZodOptional<z.ZodString>;
610
+ timeSkip: z.ZodOptional<z.ZodNumber>;
611
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
612
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
613
+ topic: z.ZodString;
614
+ annotation: z.ZodOptional<z.ZodString>;
615
+ }, "strip", z.ZodTypeAny, {
616
+ type: EventAssertionType.RAW_TOPIC;
617
+ topic: string;
618
+ annotation?: string | undefined;
619
+ }, {
620
+ type: EventAssertionType.RAW_TOPIC;
621
+ topic: string;
622
+ annotation?: string | undefined;
623
+ }>, z.ZodObject<{
624
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
625
+ signature: z.ZodString;
626
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
627
+ annotation: z.ZodOptional<z.ZodString>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ type: EventAssertionType.TOPIC_SIGNATURE;
630
+ signature: string;
631
+ args?: string[] | undefined;
632
+ annotation?: string | undefined;
633
+ }, {
634
+ type: EventAssertionType.TOPIC_SIGNATURE;
635
+ signature: string;
636
+ args?: string[] | undefined;
637
+ annotation?: string | undefined;
638
+ }>]>, "many">>;
639
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
640
+ type: z.ZodLiteral<RevertAssertionType>;
641
+ reason: z.ZodString;
642
+ annotation: z.ZodOptional<z.ZodString>;
643
+ }, "strip", z.ZodTypeAny, {
644
+ type: RevertAssertionType;
645
+ reason: string;
646
+ annotation?: string | undefined;
647
+ }, {
648
+ type: RevertAssertionType;
649
+ reason: string;
650
+ annotation?: string | undefined;
651
+ }>]>>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ from: string;
654
+ eventAssertions: ({
655
+ type: EventAssertionType.RAW_TOPIC;
656
+ topic: string;
657
+ annotation?: string | undefined;
658
+ } | {
659
+ type: EventAssertionType.TOPIC_SIGNATURE;
660
+ signature: string;
661
+ args?: string[] | undefined;
662
+ annotation?: string | undefined;
663
+ })[];
664
+ annotation?: string | undefined;
665
+ data?: {
666
+ type: TransactionDataType.RAW_CALLDATA;
667
+ calldata: string;
668
+ } | {
669
+ type: TransactionDataType.SIGNATURE;
670
+ signature: string;
671
+ args: string[];
672
+ } | undefined;
673
+ value?: string | undefined;
674
+ to?: string | undefined;
675
+ timeSkip?: number | undefined;
676
+ revertAssertion?: {
677
+ type: RevertAssertionType;
678
+ reason: string;
679
+ annotation?: string | undefined;
680
+ } | undefined;
681
+ }, {
682
+ from: string;
683
+ annotation?: string | undefined;
684
+ data?: {
685
+ type: TransactionDataType.RAW_CALLDATA;
686
+ calldata: string;
687
+ } | {
688
+ type: TransactionDataType.SIGNATURE;
689
+ signature: string;
690
+ args?: string[] | undefined;
691
+ } | undefined;
692
+ value?: string | undefined;
693
+ to?: string | undefined;
694
+ timeSkip?: number | undefined;
695
+ eventAssertions?: ({
696
+ type: EventAssertionType.RAW_TOPIC;
697
+ topic: string;
698
+ annotation?: string | undefined;
699
+ } | {
700
+ type: EventAssertionType.TOPIC_SIGNATURE;
701
+ signature: string;
702
+ args?: string[] | undefined;
703
+ annotation?: string | undefined;
704
+ })[] | undefined;
705
+ revertAssertion?: {
706
+ type: RevertAssertionType;
707
+ reason: string;
708
+ annotation?: string | undefined;
709
+ } | undefined;
710
+ }>, "many">;
711
+ }, "strip", z.ZodTypeAny, {
712
+ type: TransactionConfigType.RAW_TRANSACTION;
713
+ transactions: {
714
+ from: string;
715
+ eventAssertions: ({
716
+ type: EventAssertionType.RAW_TOPIC;
717
+ topic: string;
718
+ annotation?: string | undefined;
719
+ } | {
720
+ type: EventAssertionType.TOPIC_SIGNATURE;
721
+ signature: string;
722
+ args?: string[] | undefined;
723
+ annotation?: string | undefined;
724
+ })[];
725
+ annotation?: string | undefined;
726
+ data?: {
727
+ type: TransactionDataType.RAW_CALLDATA;
728
+ calldata: string;
729
+ } | {
730
+ type: TransactionDataType.SIGNATURE;
731
+ signature: string;
732
+ args: string[];
733
+ } | undefined;
734
+ value?: string | undefined;
735
+ to?: string | undefined;
736
+ timeSkip?: number | undefined;
737
+ revertAssertion?: {
738
+ type: RevertAssertionType;
739
+ reason: string;
740
+ annotation?: string | undefined;
741
+ } | undefined;
742
+ }[];
743
+ }, {
744
+ type: TransactionConfigType.RAW_TRANSACTION;
745
+ transactions: {
746
+ from: string;
747
+ annotation?: string | undefined;
748
+ data?: {
749
+ type: TransactionDataType.RAW_CALLDATA;
750
+ calldata: string;
751
+ } | {
752
+ type: TransactionDataType.SIGNATURE;
753
+ signature: string;
754
+ args?: string[] | undefined;
755
+ } | undefined;
756
+ value?: string | undefined;
757
+ to?: string | undefined;
758
+ timeSkip?: number | undefined;
759
+ eventAssertions?: ({
760
+ type: EventAssertionType.RAW_TOPIC;
761
+ topic: string;
762
+ annotation?: string | undefined;
763
+ } | {
764
+ type: EventAssertionType.TOPIC_SIGNATURE;
765
+ signature: string;
766
+ args?: string[] | undefined;
767
+ annotation?: string | undefined;
768
+ })[] | undefined;
769
+ revertAssertion?: {
770
+ type: RevertAssertionType;
771
+ reason: string;
772
+ annotation?: string | undefined;
773
+ } | undefined;
774
+ }[];
775
+ }>, z.ZodObject<{
776
+ type: z.ZodLiteral<TransactionConfigType.FILE>;
777
+ path: z.ZodString;
778
+ defaultSender: z.ZodString;
779
+ overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
780
+ annotation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
781
+ from: z.ZodOptional<z.ZodString>;
782
+ data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
783
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
784
+ calldata: z.ZodString;
785
+ }, "strip", z.ZodTypeAny, {
786
+ type: TransactionDataType.RAW_CALLDATA;
787
+ calldata: string;
788
+ }, {
789
+ type: TransactionDataType.RAW_CALLDATA;
790
+ calldata: string;
791
+ }>, z.ZodObject<{
792
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
793
+ signature: z.ZodString;
794
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ type: TransactionDataType.SIGNATURE;
797
+ signature: string;
798
+ args: string[];
799
+ }, {
800
+ type: TransactionDataType.SIGNATURE;
801
+ signature: string;
802
+ args?: string[] | undefined;
803
+ }>]>>>;
804
+ value: z.ZodOptional<z.ZodOptional<z.ZodString>>;
805
+ to: z.ZodOptional<z.ZodOptional<z.ZodString>>;
806
+ timeSkip: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
807
+ eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
808
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
809
+ topic: z.ZodString;
810
+ annotation: z.ZodOptional<z.ZodString>;
811
+ }, "strip", z.ZodTypeAny, {
812
+ type: EventAssertionType.RAW_TOPIC;
813
+ topic: string;
814
+ annotation?: string | undefined;
815
+ }, {
816
+ type: EventAssertionType.RAW_TOPIC;
817
+ topic: string;
818
+ annotation?: string | undefined;
819
+ }>, z.ZodObject<{
820
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
821
+ signature: z.ZodString;
822
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
823
+ annotation: z.ZodOptional<z.ZodString>;
824
+ }, "strip", z.ZodTypeAny, {
825
+ type: EventAssertionType.TOPIC_SIGNATURE;
826
+ signature: string;
827
+ args?: string[] | undefined;
828
+ annotation?: string | undefined;
829
+ }, {
830
+ type: EventAssertionType.TOPIC_SIGNATURE;
831
+ signature: string;
832
+ args?: string[] | undefined;
833
+ annotation?: string | undefined;
834
+ }>]>, "many">>>;
835
+ revertAssertion: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
836
+ type: z.ZodLiteral<RevertAssertionType>;
837
+ reason: z.ZodString;
838
+ annotation: z.ZodOptional<z.ZodString>;
839
+ }, "strip", z.ZodTypeAny, {
840
+ type: RevertAssertionType;
841
+ reason: string;
842
+ annotation?: string | undefined;
843
+ }, {
844
+ type: RevertAssertionType;
845
+ reason: string;
846
+ annotation?: string | undefined;
847
+ }>]>>>;
848
+ }, "strip", z.ZodTypeAny, {
849
+ annotation?: string | undefined;
850
+ from?: string | undefined;
851
+ data?: {
852
+ type: TransactionDataType.RAW_CALLDATA;
853
+ calldata: string;
854
+ } | {
855
+ type: TransactionDataType.SIGNATURE;
856
+ signature: string;
857
+ args: string[];
858
+ } | undefined;
859
+ value?: string | undefined;
860
+ to?: string | undefined;
861
+ timeSkip?: number | undefined;
862
+ eventAssertions?: ({
863
+ type: EventAssertionType.RAW_TOPIC;
864
+ topic: string;
865
+ annotation?: string | undefined;
866
+ } | {
867
+ type: EventAssertionType.TOPIC_SIGNATURE;
868
+ signature: string;
869
+ args?: string[] | undefined;
870
+ annotation?: string | undefined;
871
+ })[] | undefined;
872
+ revertAssertion?: {
873
+ type: RevertAssertionType;
874
+ reason: string;
875
+ annotation?: string | undefined;
876
+ } | undefined;
877
+ }, {
878
+ annotation?: string | undefined;
879
+ from?: string | undefined;
880
+ data?: {
881
+ type: TransactionDataType.RAW_CALLDATA;
882
+ calldata: string;
883
+ } | {
884
+ type: TransactionDataType.SIGNATURE;
885
+ signature: string;
886
+ args?: string[] | undefined;
887
+ } | undefined;
888
+ value?: string | undefined;
889
+ to?: string | undefined;
890
+ timeSkip?: number | undefined;
891
+ eventAssertions?: ({
892
+ type: EventAssertionType.RAW_TOPIC;
893
+ topic: string;
894
+ annotation?: string | undefined;
895
+ } | {
896
+ type: EventAssertionType.TOPIC_SIGNATURE;
897
+ signature: string;
898
+ args?: string[] | undefined;
899
+ annotation?: string | undefined;
900
+ })[] | undefined;
901
+ revertAssertion?: {
902
+ type: RevertAssertionType;
903
+ reason: string;
904
+ annotation?: string | undefined;
905
+ } | undefined;
906
+ }>>>;
907
+ }, "strip", z.ZodTypeAny, {
908
+ path: string;
909
+ type: TransactionConfigType.FILE;
910
+ defaultSender: string;
911
+ overrides: Record<string, {
912
+ annotation?: string | undefined;
913
+ from?: string | undefined;
914
+ data?: {
915
+ type: TransactionDataType.RAW_CALLDATA;
916
+ calldata: string;
917
+ } | {
918
+ type: TransactionDataType.SIGNATURE;
919
+ signature: string;
920
+ args: string[];
921
+ } | undefined;
922
+ value?: string | undefined;
923
+ to?: string | undefined;
924
+ timeSkip?: number | undefined;
925
+ eventAssertions?: ({
926
+ type: EventAssertionType.RAW_TOPIC;
927
+ topic: string;
928
+ annotation?: string | undefined;
929
+ } | {
930
+ type: EventAssertionType.TOPIC_SIGNATURE;
931
+ signature: string;
932
+ args?: string[] | undefined;
933
+ annotation?: string | undefined;
934
+ })[] | undefined;
935
+ revertAssertion?: {
936
+ type: RevertAssertionType;
937
+ reason: string;
938
+ annotation?: string | undefined;
939
+ } | undefined;
940
+ }>;
941
+ }, {
942
+ path: string;
943
+ type: TransactionConfigType.FILE;
944
+ defaultSender: string;
945
+ overrides?: Record<string, {
946
+ annotation?: string | undefined;
947
+ from?: string | undefined;
948
+ data?: {
949
+ type: TransactionDataType.RAW_CALLDATA;
950
+ calldata: string;
951
+ } | {
952
+ type: TransactionDataType.SIGNATURE;
953
+ signature: string;
954
+ args?: string[] | undefined;
955
+ } | undefined;
956
+ value?: string | undefined;
957
+ to?: string | undefined;
958
+ timeSkip?: number | undefined;
959
+ eventAssertions?: ({
960
+ type: EventAssertionType.RAW_TOPIC;
961
+ topic: string;
962
+ annotation?: string | undefined;
963
+ } | {
964
+ type: EventAssertionType.TOPIC_SIGNATURE;
965
+ signature: string;
966
+ args?: string[] | undefined;
967
+ annotation?: string | undefined;
968
+ })[] | undefined;
969
+ revertAssertion?: {
970
+ type: RevertAssertionType;
971
+ reason: string;
972
+ annotation?: string | undefined;
973
+ } | undefined;
974
+ }> | undefined;
975
+ }>]>;
976
+ export type RawForkedChainTransactionConfig = z.infer<typeof RawForkedChainTransactionConfigSchema>;
977
+ export declare const RawForkedChainConfigSchema: z.ZodObject<{
978
+ impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
979
+ transactions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
980
+ type: z.ZodLiteral<TransactionConfigType.RAW_TRANSACTION>;
981
+ transactions: z.ZodArray<z.ZodObject<{
982
+ annotation: z.ZodOptional<z.ZodString>;
983
+ from: z.ZodString;
984
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
985
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
986
+ calldata: z.ZodString;
987
+ }, "strip", z.ZodTypeAny, {
988
+ type: TransactionDataType.RAW_CALLDATA;
989
+ calldata: string;
990
+ }, {
991
+ type: TransactionDataType.RAW_CALLDATA;
992
+ calldata: string;
993
+ }>, z.ZodObject<{
994
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
995
+ signature: z.ZodString;
996
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
997
+ }, "strip", z.ZodTypeAny, {
998
+ type: TransactionDataType.SIGNATURE;
999
+ signature: string;
1000
+ args: string[];
1001
+ }, {
1002
+ type: TransactionDataType.SIGNATURE;
1003
+ signature: string;
1004
+ args?: string[] | undefined;
1005
+ }>]>>;
1006
+ value: z.ZodOptional<z.ZodString>;
1007
+ to: z.ZodOptional<z.ZodString>;
1008
+ timeSkip: z.ZodOptional<z.ZodNumber>;
1009
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1010
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
1011
+ topic: z.ZodString;
1012
+ annotation: z.ZodOptional<z.ZodString>;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ type: EventAssertionType.RAW_TOPIC;
1015
+ topic: string;
1016
+ annotation?: string | undefined;
1017
+ }, {
1018
+ type: EventAssertionType.RAW_TOPIC;
1019
+ topic: string;
1020
+ annotation?: string | undefined;
1021
+ }>, z.ZodObject<{
1022
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
1023
+ signature: z.ZodString;
1024
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1025
+ annotation: z.ZodOptional<z.ZodString>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ type: EventAssertionType.TOPIC_SIGNATURE;
1028
+ signature: string;
1029
+ args?: string[] | undefined;
1030
+ annotation?: string | undefined;
1031
+ }, {
1032
+ type: EventAssertionType.TOPIC_SIGNATURE;
1033
+ signature: string;
1034
+ args?: string[] | undefined;
1035
+ annotation?: string | undefined;
1036
+ }>]>, "many">>;
1037
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1038
+ type: z.ZodLiteral<RevertAssertionType>;
1039
+ reason: z.ZodString;
1040
+ annotation: z.ZodOptional<z.ZodString>;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ type: RevertAssertionType;
1043
+ reason: string;
1044
+ annotation?: string | undefined;
1045
+ }, {
1046
+ type: RevertAssertionType;
1047
+ reason: string;
1048
+ annotation?: string | undefined;
1049
+ }>]>>;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ from: string;
1052
+ eventAssertions: ({
1053
+ type: EventAssertionType.RAW_TOPIC;
1054
+ topic: string;
1055
+ annotation?: string | undefined;
1056
+ } | {
1057
+ type: EventAssertionType.TOPIC_SIGNATURE;
1058
+ signature: string;
1059
+ args?: string[] | undefined;
1060
+ annotation?: string | undefined;
1061
+ })[];
1062
+ annotation?: string | undefined;
1063
+ data?: {
1064
+ type: TransactionDataType.RAW_CALLDATA;
1065
+ calldata: string;
1066
+ } | {
1067
+ type: TransactionDataType.SIGNATURE;
1068
+ signature: string;
1069
+ args: string[];
1070
+ } | undefined;
1071
+ value?: string | undefined;
1072
+ to?: string | undefined;
1073
+ timeSkip?: number | undefined;
1074
+ revertAssertion?: {
1075
+ type: RevertAssertionType;
1076
+ reason: string;
1077
+ annotation?: string | undefined;
1078
+ } | undefined;
1079
+ }, {
1080
+ from: string;
1081
+ annotation?: string | undefined;
1082
+ data?: {
1083
+ type: TransactionDataType.RAW_CALLDATA;
1084
+ calldata: string;
1085
+ } | {
1086
+ type: TransactionDataType.SIGNATURE;
1087
+ signature: string;
1088
+ args?: string[] | undefined;
1089
+ } | undefined;
1090
+ value?: string | undefined;
1091
+ to?: string | undefined;
1092
+ timeSkip?: number | undefined;
1093
+ eventAssertions?: ({
1094
+ type: EventAssertionType.RAW_TOPIC;
1095
+ topic: string;
1096
+ annotation?: string | undefined;
1097
+ } | {
1098
+ type: EventAssertionType.TOPIC_SIGNATURE;
1099
+ signature: string;
1100
+ args?: string[] | undefined;
1101
+ annotation?: string | undefined;
1102
+ })[] | undefined;
1103
+ revertAssertion?: {
1104
+ type: RevertAssertionType;
1105
+ reason: string;
1106
+ annotation?: string | undefined;
1107
+ } | undefined;
1108
+ }>, "many">;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ type: TransactionConfigType.RAW_TRANSACTION;
1111
+ transactions: {
1112
+ from: string;
1113
+ eventAssertions: ({
1114
+ type: EventAssertionType.RAW_TOPIC;
1115
+ topic: string;
1116
+ annotation?: string | undefined;
1117
+ } | {
1118
+ type: EventAssertionType.TOPIC_SIGNATURE;
1119
+ signature: string;
1120
+ args?: string[] | undefined;
1121
+ annotation?: string | undefined;
1122
+ })[];
1123
+ annotation?: string | undefined;
1124
+ data?: {
1125
+ type: TransactionDataType.RAW_CALLDATA;
1126
+ calldata: string;
1127
+ } | {
1128
+ type: TransactionDataType.SIGNATURE;
1129
+ signature: string;
1130
+ args: string[];
1131
+ } | undefined;
1132
+ value?: string | undefined;
1133
+ to?: string | undefined;
1134
+ timeSkip?: number | undefined;
1135
+ revertAssertion?: {
1136
+ type: RevertAssertionType;
1137
+ reason: string;
1138
+ annotation?: string | undefined;
1139
+ } | undefined;
1140
+ }[];
1141
+ }, {
1142
+ type: TransactionConfigType.RAW_TRANSACTION;
1143
+ transactions: {
1144
+ from: string;
1145
+ annotation?: string | undefined;
1146
+ data?: {
1147
+ type: TransactionDataType.RAW_CALLDATA;
1148
+ calldata: string;
1149
+ } | {
1150
+ type: TransactionDataType.SIGNATURE;
1151
+ signature: string;
1152
+ args?: string[] | undefined;
1153
+ } | undefined;
1154
+ value?: string | undefined;
1155
+ to?: string | undefined;
1156
+ timeSkip?: number | undefined;
1157
+ eventAssertions?: ({
1158
+ type: EventAssertionType.RAW_TOPIC;
1159
+ topic: string;
1160
+ annotation?: string | undefined;
1161
+ } | {
1162
+ type: EventAssertionType.TOPIC_SIGNATURE;
1163
+ signature: string;
1164
+ args?: string[] | undefined;
1165
+ annotation?: string | undefined;
1166
+ })[] | undefined;
1167
+ revertAssertion?: {
1168
+ type: RevertAssertionType;
1169
+ reason: string;
1170
+ annotation?: string | undefined;
1171
+ } | undefined;
1172
+ }[];
1173
+ }>, z.ZodObject<{
1174
+ type: z.ZodLiteral<TransactionConfigType.FILE>;
1175
+ path: z.ZodString;
1176
+ defaultSender: z.ZodString;
1177
+ overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1178
+ annotation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1179
+ from: z.ZodOptional<z.ZodString>;
1180
+ data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1181
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
1182
+ calldata: z.ZodString;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ type: TransactionDataType.RAW_CALLDATA;
1185
+ calldata: string;
1186
+ }, {
1187
+ type: TransactionDataType.RAW_CALLDATA;
1188
+ calldata: string;
1189
+ }>, z.ZodObject<{
1190
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
1191
+ signature: z.ZodString;
1192
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ type: TransactionDataType.SIGNATURE;
1195
+ signature: string;
1196
+ args: string[];
1197
+ }, {
1198
+ type: TransactionDataType.SIGNATURE;
1199
+ signature: string;
1200
+ args?: string[] | undefined;
1201
+ }>]>>>;
1202
+ value: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1203
+ to: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1204
+ timeSkip: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1205
+ eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1206
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
1207
+ topic: z.ZodString;
1208
+ annotation: z.ZodOptional<z.ZodString>;
1209
+ }, "strip", z.ZodTypeAny, {
1210
+ type: EventAssertionType.RAW_TOPIC;
1211
+ topic: string;
1212
+ annotation?: string | undefined;
1213
+ }, {
1214
+ type: EventAssertionType.RAW_TOPIC;
1215
+ topic: string;
1216
+ annotation?: string | undefined;
1217
+ }>, z.ZodObject<{
1218
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
1219
+ signature: z.ZodString;
1220
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1221
+ annotation: z.ZodOptional<z.ZodString>;
1222
+ }, "strip", z.ZodTypeAny, {
1223
+ type: EventAssertionType.TOPIC_SIGNATURE;
1224
+ signature: string;
1225
+ args?: string[] | undefined;
1226
+ annotation?: string | undefined;
1227
+ }, {
1228
+ type: EventAssertionType.TOPIC_SIGNATURE;
1229
+ signature: string;
1230
+ args?: string[] | undefined;
1231
+ annotation?: string | undefined;
1232
+ }>]>, "many">>>;
1233
+ revertAssertion: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1234
+ type: z.ZodLiteral<RevertAssertionType>;
1235
+ reason: z.ZodString;
1236
+ annotation: z.ZodOptional<z.ZodString>;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ type: RevertAssertionType;
1239
+ reason: string;
1240
+ annotation?: string | undefined;
1241
+ }, {
1242
+ type: RevertAssertionType;
1243
+ reason: string;
1244
+ annotation?: string | undefined;
1245
+ }>]>>>;
1246
+ }, "strip", z.ZodTypeAny, {
1247
+ annotation?: string | undefined;
1248
+ from?: string | undefined;
1249
+ data?: {
1250
+ type: TransactionDataType.RAW_CALLDATA;
1251
+ calldata: string;
1252
+ } | {
1253
+ type: TransactionDataType.SIGNATURE;
1254
+ signature: string;
1255
+ args: string[];
1256
+ } | undefined;
1257
+ value?: string | undefined;
1258
+ to?: string | undefined;
1259
+ timeSkip?: number | undefined;
1260
+ eventAssertions?: ({
1261
+ type: EventAssertionType.RAW_TOPIC;
1262
+ topic: string;
1263
+ annotation?: string | undefined;
1264
+ } | {
1265
+ type: EventAssertionType.TOPIC_SIGNATURE;
1266
+ signature: string;
1267
+ args?: string[] | undefined;
1268
+ annotation?: string | undefined;
1269
+ })[] | undefined;
1270
+ revertAssertion?: {
1271
+ type: RevertAssertionType;
1272
+ reason: string;
1273
+ annotation?: string | undefined;
1274
+ } | undefined;
1275
+ }, {
1276
+ annotation?: string | undefined;
1277
+ from?: string | undefined;
1278
+ data?: {
1279
+ type: TransactionDataType.RAW_CALLDATA;
1280
+ calldata: string;
1281
+ } | {
1282
+ type: TransactionDataType.SIGNATURE;
1283
+ signature: string;
1284
+ args?: string[] | undefined;
1285
+ } | undefined;
1286
+ value?: string | undefined;
1287
+ to?: string | undefined;
1288
+ timeSkip?: number | undefined;
1289
+ eventAssertions?: ({
1290
+ type: EventAssertionType.RAW_TOPIC;
1291
+ topic: string;
1292
+ annotation?: string | undefined;
1293
+ } | {
1294
+ type: EventAssertionType.TOPIC_SIGNATURE;
1295
+ signature: string;
1296
+ args?: string[] | undefined;
1297
+ annotation?: string | undefined;
1298
+ })[] | undefined;
1299
+ revertAssertion?: {
1300
+ type: RevertAssertionType;
1301
+ reason: string;
1302
+ annotation?: string | undefined;
1303
+ } | undefined;
1304
+ }>>>;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ path: string;
1307
+ type: TransactionConfigType.FILE;
1308
+ defaultSender: string;
1309
+ overrides: Record<string, {
1310
+ annotation?: string | undefined;
1311
+ from?: string | undefined;
1312
+ data?: {
1313
+ type: TransactionDataType.RAW_CALLDATA;
1314
+ calldata: string;
1315
+ } | {
1316
+ type: TransactionDataType.SIGNATURE;
1317
+ signature: string;
1318
+ args: string[];
1319
+ } | undefined;
1320
+ value?: string | undefined;
1321
+ to?: string | undefined;
1322
+ timeSkip?: number | undefined;
1323
+ eventAssertions?: ({
1324
+ type: EventAssertionType.RAW_TOPIC;
1325
+ topic: string;
1326
+ annotation?: string | undefined;
1327
+ } | {
1328
+ type: EventAssertionType.TOPIC_SIGNATURE;
1329
+ signature: string;
1330
+ args?: string[] | undefined;
1331
+ annotation?: string | undefined;
1332
+ })[] | undefined;
1333
+ revertAssertion?: {
1334
+ type: RevertAssertionType;
1335
+ reason: string;
1336
+ annotation?: string | undefined;
1337
+ } | undefined;
1338
+ }>;
1339
+ }, {
1340
+ path: string;
1341
+ type: TransactionConfigType.FILE;
1342
+ defaultSender: string;
1343
+ overrides?: Record<string, {
1344
+ annotation?: string | undefined;
1345
+ from?: string | undefined;
1346
+ data?: {
1347
+ type: TransactionDataType.RAW_CALLDATA;
1348
+ calldata: string;
1349
+ } | {
1350
+ type: TransactionDataType.SIGNATURE;
1351
+ signature: string;
1352
+ args?: string[] | undefined;
1353
+ } | undefined;
1354
+ value?: string | undefined;
1355
+ to?: string | undefined;
1356
+ timeSkip?: number | undefined;
1357
+ eventAssertions?: ({
1358
+ type: EventAssertionType.RAW_TOPIC;
1359
+ topic: string;
1360
+ annotation?: string | undefined;
1361
+ } | {
1362
+ type: EventAssertionType.TOPIC_SIGNATURE;
1363
+ signature: string;
1364
+ args?: string[] | undefined;
1365
+ annotation?: string | undefined;
1366
+ })[] | undefined;
1367
+ revertAssertion?: {
1368
+ type: RevertAssertionType;
1369
+ reason: string;
1370
+ annotation?: string | undefined;
1371
+ } | undefined;
1372
+ }> | undefined;
1373
+ }>]>, "many">;
1374
+ }, "strip", z.ZodTypeAny, {
1375
+ transactions: ({
1376
+ type: TransactionConfigType.RAW_TRANSACTION;
1377
+ transactions: {
1378
+ from: string;
1379
+ eventAssertions: ({
1380
+ type: EventAssertionType.RAW_TOPIC;
1381
+ topic: string;
1382
+ annotation?: string | undefined;
1383
+ } | {
1384
+ type: EventAssertionType.TOPIC_SIGNATURE;
1385
+ signature: string;
1386
+ args?: string[] | undefined;
1387
+ annotation?: string | undefined;
1388
+ })[];
1389
+ annotation?: string | undefined;
1390
+ data?: {
1391
+ type: TransactionDataType.RAW_CALLDATA;
1392
+ calldata: string;
1393
+ } | {
1394
+ type: TransactionDataType.SIGNATURE;
1395
+ signature: string;
1396
+ args: string[];
1397
+ } | undefined;
1398
+ value?: string | undefined;
1399
+ to?: string | undefined;
1400
+ timeSkip?: number | undefined;
1401
+ revertAssertion?: {
1402
+ type: RevertAssertionType;
1403
+ reason: string;
1404
+ annotation?: string | undefined;
1405
+ } | undefined;
1406
+ }[];
1407
+ } | {
1408
+ path: string;
1409
+ type: TransactionConfigType.FILE;
1410
+ defaultSender: string;
1411
+ overrides: Record<string, {
1412
+ annotation?: string | undefined;
1413
+ from?: string | undefined;
1414
+ data?: {
1415
+ type: TransactionDataType.RAW_CALLDATA;
1416
+ calldata: string;
1417
+ } | {
1418
+ type: TransactionDataType.SIGNATURE;
1419
+ signature: string;
1420
+ args: string[];
1421
+ } | undefined;
1422
+ value?: string | undefined;
1423
+ to?: string | undefined;
1424
+ timeSkip?: number | undefined;
1425
+ eventAssertions?: ({
1426
+ type: EventAssertionType.RAW_TOPIC;
1427
+ topic: string;
1428
+ annotation?: string | undefined;
1429
+ } | {
1430
+ type: EventAssertionType.TOPIC_SIGNATURE;
1431
+ signature: string;
1432
+ args?: string[] | undefined;
1433
+ annotation?: string | undefined;
1434
+ })[] | undefined;
1435
+ revertAssertion?: {
1436
+ type: RevertAssertionType;
1437
+ reason: string;
1438
+ annotation?: string | undefined;
1439
+ } | undefined;
1440
+ }>;
1441
+ })[];
1442
+ impersonateAccounts: string[];
1443
+ }, {
1444
+ transactions: ({
1445
+ type: TransactionConfigType.RAW_TRANSACTION;
1446
+ transactions: {
1447
+ from: string;
1448
+ annotation?: string | undefined;
1449
+ data?: {
1450
+ type: TransactionDataType.RAW_CALLDATA;
1451
+ calldata: string;
1452
+ } | {
1453
+ type: TransactionDataType.SIGNATURE;
1454
+ signature: string;
1455
+ args?: string[] | undefined;
1456
+ } | undefined;
1457
+ value?: string | undefined;
1458
+ to?: string | undefined;
1459
+ timeSkip?: number | undefined;
1460
+ eventAssertions?: ({
1461
+ type: EventAssertionType.RAW_TOPIC;
1462
+ topic: string;
1463
+ annotation?: string | undefined;
1464
+ } | {
1465
+ type: EventAssertionType.TOPIC_SIGNATURE;
1466
+ signature: string;
1467
+ args?: string[] | undefined;
1468
+ annotation?: string | undefined;
1469
+ })[] | undefined;
1470
+ revertAssertion?: {
1471
+ type: RevertAssertionType;
1472
+ reason: string;
1473
+ annotation?: string | undefined;
1474
+ } | undefined;
1475
+ }[];
1476
+ } | {
1477
+ path: string;
1478
+ type: TransactionConfigType.FILE;
1479
+ defaultSender: string;
1480
+ overrides?: Record<string, {
1481
+ annotation?: string | undefined;
1482
+ from?: string | undefined;
1483
+ data?: {
1484
+ type: TransactionDataType.RAW_CALLDATA;
1485
+ calldata: string;
1486
+ } | {
1487
+ type: TransactionDataType.SIGNATURE;
1488
+ signature: string;
1489
+ args?: string[] | undefined;
1490
+ } | undefined;
1491
+ value?: string | undefined;
1492
+ to?: string | undefined;
1493
+ timeSkip?: number | undefined;
1494
+ eventAssertions?: ({
1495
+ type: EventAssertionType.RAW_TOPIC;
1496
+ topic: string;
1497
+ annotation?: string | undefined;
1498
+ } | {
1499
+ type: EventAssertionType.TOPIC_SIGNATURE;
1500
+ signature: string;
1501
+ args?: string[] | undefined;
1502
+ annotation?: string | undefined;
1503
+ })[] | undefined;
1504
+ revertAssertion?: {
1505
+ type: RevertAssertionType;
1506
+ reason: string;
1507
+ annotation?: string | undefined;
1508
+ } | undefined;
1509
+ }> | undefined;
1510
+ })[];
1511
+ impersonateAccounts?: string[] | undefined;
1512
+ }>;
1513
+ export type RawForkedChainConfig = z.infer<typeof RawForkedChainConfigSchema>;
1514
+ export declare const RawForkedChainConfigByChainSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1515
+ impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1516
+ transactions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1517
+ type: z.ZodLiteral<TransactionConfigType.RAW_TRANSACTION>;
1518
+ transactions: z.ZodArray<z.ZodObject<{
1519
+ annotation: z.ZodOptional<z.ZodString>;
1520
+ from: z.ZodString;
1521
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1522
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
1523
+ calldata: z.ZodString;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ type: TransactionDataType.RAW_CALLDATA;
1526
+ calldata: string;
1527
+ }, {
1528
+ type: TransactionDataType.RAW_CALLDATA;
1529
+ calldata: string;
1530
+ }>, z.ZodObject<{
1531
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
1532
+ signature: z.ZodString;
1533
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1534
+ }, "strip", z.ZodTypeAny, {
1535
+ type: TransactionDataType.SIGNATURE;
1536
+ signature: string;
1537
+ args: string[];
1538
+ }, {
1539
+ type: TransactionDataType.SIGNATURE;
1540
+ signature: string;
1541
+ args?: string[] | undefined;
1542
+ }>]>>;
1543
+ value: z.ZodOptional<z.ZodString>;
1544
+ to: z.ZodOptional<z.ZodString>;
1545
+ timeSkip: z.ZodOptional<z.ZodNumber>;
1546
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1547
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
1548
+ topic: z.ZodString;
1549
+ annotation: z.ZodOptional<z.ZodString>;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ type: EventAssertionType.RAW_TOPIC;
1552
+ topic: string;
1553
+ annotation?: string | undefined;
1554
+ }, {
1555
+ type: EventAssertionType.RAW_TOPIC;
1556
+ topic: string;
1557
+ annotation?: string | undefined;
1558
+ }>, z.ZodObject<{
1559
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
1560
+ signature: z.ZodString;
1561
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1562
+ annotation: z.ZodOptional<z.ZodString>;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ type: EventAssertionType.TOPIC_SIGNATURE;
1565
+ signature: string;
1566
+ args?: string[] | undefined;
1567
+ annotation?: string | undefined;
1568
+ }, {
1569
+ type: EventAssertionType.TOPIC_SIGNATURE;
1570
+ signature: string;
1571
+ args?: string[] | undefined;
1572
+ annotation?: string | undefined;
1573
+ }>]>, "many">>;
1574
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1575
+ type: z.ZodLiteral<RevertAssertionType>;
1576
+ reason: z.ZodString;
1577
+ annotation: z.ZodOptional<z.ZodString>;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ type: RevertAssertionType;
1580
+ reason: string;
1581
+ annotation?: string | undefined;
1582
+ }, {
1583
+ type: RevertAssertionType;
1584
+ reason: string;
1585
+ annotation?: string | undefined;
1586
+ }>]>>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ from: string;
1589
+ eventAssertions: ({
1590
+ type: EventAssertionType.RAW_TOPIC;
1591
+ topic: string;
1592
+ annotation?: string | undefined;
1593
+ } | {
1594
+ type: EventAssertionType.TOPIC_SIGNATURE;
1595
+ signature: string;
1596
+ args?: string[] | undefined;
1597
+ annotation?: string | undefined;
1598
+ })[];
1599
+ annotation?: string | undefined;
1600
+ data?: {
1601
+ type: TransactionDataType.RAW_CALLDATA;
1602
+ calldata: string;
1603
+ } | {
1604
+ type: TransactionDataType.SIGNATURE;
1605
+ signature: string;
1606
+ args: string[];
1607
+ } | undefined;
1608
+ value?: string | undefined;
1609
+ to?: string | undefined;
1610
+ timeSkip?: number | undefined;
1611
+ revertAssertion?: {
1612
+ type: RevertAssertionType;
1613
+ reason: string;
1614
+ annotation?: string | undefined;
1615
+ } | undefined;
1616
+ }, {
1617
+ from: string;
1618
+ annotation?: string | undefined;
1619
+ data?: {
1620
+ type: TransactionDataType.RAW_CALLDATA;
1621
+ calldata: string;
1622
+ } | {
1623
+ type: TransactionDataType.SIGNATURE;
1624
+ signature: string;
1625
+ args?: string[] | undefined;
1626
+ } | undefined;
1627
+ value?: string | undefined;
1628
+ to?: string | undefined;
1629
+ timeSkip?: number | undefined;
1630
+ eventAssertions?: ({
1631
+ type: EventAssertionType.RAW_TOPIC;
1632
+ topic: string;
1633
+ annotation?: string | undefined;
1634
+ } | {
1635
+ type: EventAssertionType.TOPIC_SIGNATURE;
1636
+ signature: string;
1637
+ args?: string[] | undefined;
1638
+ annotation?: string | undefined;
1639
+ })[] | undefined;
1640
+ revertAssertion?: {
1641
+ type: RevertAssertionType;
1642
+ reason: string;
1643
+ annotation?: string | undefined;
1644
+ } | undefined;
1645
+ }>, "many">;
1646
+ }, "strip", z.ZodTypeAny, {
1647
+ type: TransactionConfigType.RAW_TRANSACTION;
1648
+ transactions: {
1649
+ from: string;
1650
+ eventAssertions: ({
1651
+ type: EventAssertionType.RAW_TOPIC;
1652
+ topic: string;
1653
+ annotation?: string | undefined;
1654
+ } | {
1655
+ type: EventAssertionType.TOPIC_SIGNATURE;
1656
+ signature: string;
1657
+ args?: string[] | undefined;
1658
+ annotation?: string | undefined;
1659
+ })[];
1660
+ annotation?: string | undefined;
1661
+ data?: {
1662
+ type: TransactionDataType.RAW_CALLDATA;
1663
+ calldata: string;
1664
+ } | {
1665
+ type: TransactionDataType.SIGNATURE;
1666
+ signature: string;
1667
+ args: string[];
1668
+ } | undefined;
1669
+ value?: string | undefined;
1670
+ to?: string | undefined;
1671
+ timeSkip?: number | undefined;
1672
+ revertAssertion?: {
1673
+ type: RevertAssertionType;
1674
+ reason: string;
1675
+ annotation?: string | undefined;
1676
+ } | undefined;
1677
+ }[];
1678
+ }, {
1679
+ type: TransactionConfigType.RAW_TRANSACTION;
1680
+ transactions: {
1681
+ from: string;
1682
+ annotation?: string | undefined;
1683
+ data?: {
1684
+ type: TransactionDataType.RAW_CALLDATA;
1685
+ calldata: string;
1686
+ } | {
1687
+ type: TransactionDataType.SIGNATURE;
1688
+ signature: string;
1689
+ args?: string[] | undefined;
1690
+ } | undefined;
1691
+ value?: string | undefined;
1692
+ to?: string | undefined;
1693
+ timeSkip?: number | undefined;
1694
+ eventAssertions?: ({
1695
+ type: EventAssertionType.RAW_TOPIC;
1696
+ topic: string;
1697
+ annotation?: string | undefined;
1698
+ } | {
1699
+ type: EventAssertionType.TOPIC_SIGNATURE;
1700
+ signature: string;
1701
+ args?: string[] | undefined;
1702
+ annotation?: string | undefined;
1703
+ })[] | undefined;
1704
+ revertAssertion?: {
1705
+ type: RevertAssertionType;
1706
+ reason: string;
1707
+ annotation?: string | undefined;
1708
+ } | undefined;
1709
+ }[];
1710
+ }>, z.ZodObject<{
1711
+ type: z.ZodLiteral<TransactionConfigType.FILE>;
1712
+ path: z.ZodString;
1713
+ defaultSender: z.ZodString;
1714
+ overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1715
+ annotation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1716
+ from: z.ZodOptional<z.ZodString>;
1717
+ data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1718
+ type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
1719
+ calldata: z.ZodString;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ type: TransactionDataType.RAW_CALLDATA;
1722
+ calldata: string;
1723
+ }, {
1724
+ type: TransactionDataType.RAW_CALLDATA;
1725
+ calldata: string;
1726
+ }>, z.ZodObject<{
1727
+ type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
1728
+ signature: z.ZodString;
1729
+ args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1730
+ }, "strip", z.ZodTypeAny, {
1731
+ type: TransactionDataType.SIGNATURE;
1732
+ signature: string;
1733
+ args: string[];
1734
+ }, {
1735
+ type: TransactionDataType.SIGNATURE;
1736
+ signature: string;
1737
+ args?: string[] | undefined;
1738
+ }>]>>>;
1739
+ value: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1740
+ to: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1741
+ timeSkip: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1742
+ eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1743
+ type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
1744
+ topic: z.ZodString;
1745
+ annotation: z.ZodOptional<z.ZodString>;
1746
+ }, "strip", z.ZodTypeAny, {
1747
+ type: EventAssertionType.RAW_TOPIC;
1748
+ topic: string;
1749
+ annotation?: string | undefined;
1750
+ }, {
1751
+ type: EventAssertionType.RAW_TOPIC;
1752
+ topic: string;
1753
+ annotation?: string | undefined;
1754
+ }>, z.ZodObject<{
1755
+ type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
1756
+ signature: z.ZodString;
1757
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1758
+ annotation: z.ZodOptional<z.ZodString>;
1759
+ }, "strip", z.ZodTypeAny, {
1760
+ type: EventAssertionType.TOPIC_SIGNATURE;
1761
+ signature: string;
1762
+ args?: string[] | undefined;
1763
+ annotation?: string | undefined;
1764
+ }, {
1765
+ type: EventAssertionType.TOPIC_SIGNATURE;
1766
+ signature: string;
1767
+ args?: string[] | undefined;
1768
+ annotation?: string | undefined;
1769
+ }>]>, "many">>>;
1770
+ revertAssertion: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1771
+ type: z.ZodLiteral<RevertAssertionType>;
1772
+ reason: z.ZodString;
1773
+ annotation: z.ZodOptional<z.ZodString>;
1774
+ }, "strip", z.ZodTypeAny, {
1775
+ type: RevertAssertionType;
1776
+ reason: string;
1777
+ annotation?: string | undefined;
1778
+ }, {
1779
+ type: RevertAssertionType;
1780
+ reason: string;
1781
+ annotation?: string | undefined;
1782
+ }>]>>>;
1783
+ }, "strip", z.ZodTypeAny, {
1784
+ annotation?: string | undefined;
1785
+ from?: string | undefined;
1786
+ data?: {
1787
+ type: TransactionDataType.RAW_CALLDATA;
1788
+ calldata: string;
1789
+ } | {
1790
+ type: TransactionDataType.SIGNATURE;
1791
+ signature: string;
1792
+ args: string[];
1793
+ } | undefined;
1794
+ value?: string | undefined;
1795
+ to?: string | undefined;
1796
+ timeSkip?: number | undefined;
1797
+ eventAssertions?: ({
1798
+ type: EventAssertionType.RAW_TOPIC;
1799
+ topic: string;
1800
+ annotation?: string | undefined;
1801
+ } | {
1802
+ type: EventAssertionType.TOPIC_SIGNATURE;
1803
+ signature: string;
1804
+ args?: string[] | undefined;
1805
+ annotation?: string | undefined;
1806
+ })[] | undefined;
1807
+ revertAssertion?: {
1808
+ type: RevertAssertionType;
1809
+ reason: string;
1810
+ annotation?: string | undefined;
1811
+ } | undefined;
1812
+ }, {
1813
+ annotation?: string | undefined;
1814
+ from?: string | undefined;
1815
+ data?: {
1816
+ type: TransactionDataType.RAW_CALLDATA;
1817
+ calldata: string;
1818
+ } | {
1819
+ type: TransactionDataType.SIGNATURE;
1820
+ signature: string;
1821
+ args?: string[] | undefined;
1822
+ } | undefined;
1823
+ value?: string | undefined;
1824
+ to?: string | undefined;
1825
+ timeSkip?: number | undefined;
1826
+ eventAssertions?: ({
1827
+ type: EventAssertionType.RAW_TOPIC;
1828
+ topic: string;
1829
+ annotation?: string | undefined;
1830
+ } | {
1831
+ type: EventAssertionType.TOPIC_SIGNATURE;
1832
+ signature: string;
1833
+ args?: string[] | undefined;
1834
+ annotation?: string | undefined;
1835
+ })[] | undefined;
1836
+ revertAssertion?: {
1837
+ type: RevertAssertionType;
1838
+ reason: string;
1839
+ annotation?: string | undefined;
1840
+ } | undefined;
1841
+ }>>>;
1842
+ }, "strip", z.ZodTypeAny, {
1843
+ path: string;
1844
+ type: TransactionConfigType.FILE;
1845
+ defaultSender: string;
1846
+ overrides: Record<string, {
1847
+ annotation?: string | undefined;
1848
+ from?: string | undefined;
1849
+ data?: {
1850
+ type: TransactionDataType.RAW_CALLDATA;
1851
+ calldata: string;
1852
+ } | {
1853
+ type: TransactionDataType.SIGNATURE;
1854
+ signature: string;
1855
+ args: string[];
1856
+ } | undefined;
1857
+ value?: string | undefined;
1858
+ to?: string | undefined;
1859
+ timeSkip?: number | undefined;
1860
+ eventAssertions?: ({
1861
+ type: EventAssertionType.RAW_TOPIC;
1862
+ topic: string;
1863
+ annotation?: string | undefined;
1864
+ } | {
1865
+ type: EventAssertionType.TOPIC_SIGNATURE;
1866
+ signature: string;
1867
+ args?: string[] | undefined;
1868
+ annotation?: string | undefined;
1869
+ })[] | undefined;
1870
+ revertAssertion?: {
1871
+ type: RevertAssertionType;
1872
+ reason: string;
1873
+ annotation?: string | undefined;
1874
+ } | undefined;
1875
+ }>;
1876
+ }, {
1877
+ path: string;
1878
+ type: TransactionConfigType.FILE;
1879
+ defaultSender: string;
1880
+ overrides?: Record<string, {
1881
+ annotation?: string | undefined;
1882
+ from?: string | undefined;
1883
+ data?: {
1884
+ type: TransactionDataType.RAW_CALLDATA;
1885
+ calldata: string;
1886
+ } | {
1887
+ type: TransactionDataType.SIGNATURE;
1888
+ signature: string;
1889
+ args?: string[] | undefined;
1890
+ } | undefined;
1891
+ value?: string | undefined;
1892
+ to?: string | undefined;
1893
+ timeSkip?: number | undefined;
1894
+ eventAssertions?: ({
1895
+ type: EventAssertionType.RAW_TOPIC;
1896
+ topic: string;
1897
+ annotation?: string | undefined;
1898
+ } | {
1899
+ type: EventAssertionType.TOPIC_SIGNATURE;
1900
+ signature: string;
1901
+ args?: string[] | undefined;
1902
+ annotation?: string | undefined;
1903
+ })[] | undefined;
1904
+ revertAssertion?: {
1905
+ type: RevertAssertionType;
1906
+ reason: string;
1907
+ annotation?: string | undefined;
1908
+ } | undefined;
1909
+ }> | undefined;
1910
+ }>]>, "many">;
1911
+ }, "strip", z.ZodTypeAny, {
1912
+ transactions: ({
1913
+ type: TransactionConfigType.RAW_TRANSACTION;
1914
+ transactions: {
1915
+ from: string;
1916
+ eventAssertions: ({
1917
+ type: EventAssertionType.RAW_TOPIC;
1918
+ topic: string;
1919
+ annotation?: string | undefined;
1920
+ } | {
1921
+ type: EventAssertionType.TOPIC_SIGNATURE;
1922
+ signature: string;
1923
+ args?: string[] | undefined;
1924
+ annotation?: string | undefined;
1925
+ })[];
1926
+ annotation?: string | undefined;
1927
+ data?: {
1928
+ type: TransactionDataType.RAW_CALLDATA;
1929
+ calldata: string;
1930
+ } | {
1931
+ type: TransactionDataType.SIGNATURE;
1932
+ signature: string;
1933
+ args: string[];
1934
+ } | undefined;
1935
+ value?: string | undefined;
1936
+ to?: string | undefined;
1937
+ timeSkip?: number | undefined;
1938
+ revertAssertion?: {
1939
+ type: RevertAssertionType;
1940
+ reason: string;
1941
+ annotation?: string | undefined;
1942
+ } | undefined;
1943
+ }[];
1944
+ } | {
1945
+ path: string;
1946
+ type: TransactionConfigType.FILE;
1947
+ defaultSender: string;
1948
+ overrides: Record<string, {
1949
+ annotation?: string | undefined;
1950
+ from?: string | undefined;
1951
+ data?: {
1952
+ type: TransactionDataType.RAW_CALLDATA;
1953
+ calldata: string;
1954
+ } | {
1955
+ type: TransactionDataType.SIGNATURE;
1956
+ signature: string;
1957
+ args: string[];
1958
+ } | undefined;
1959
+ value?: string | undefined;
1960
+ to?: string | undefined;
1961
+ timeSkip?: number | undefined;
1962
+ eventAssertions?: ({
1963
+ type: EventAssertionType.RAW_TOPIC;
1964
+ topic: string;
1965
+ annotation?: string | undefined;
1966
+ } | {
1967
+ type: EventAssertionType.TOPIC_SIGNATURE;
1968
+ signature: string;
1969
+ args?: string[] | undefined;
1970
+ annotation?: string | undefined;
1971
+ })[] | undefined;
1972
+ revertAssertion?: {
1973
+ type: RevertAssertionType;
1974
+ reason: string;
1975
+ annotation?: string | undefined;
1976
+ } | undefined;
1977
+ }>;
1978
+ })[];
1979
+ impersonateAccounts: string[];
1980
+ }, {
1981
+ transactions: ({
1982
+ type: TransactionConfigType.RAW_TRANSACTION;
1983
+ transactions: {
1984
+ from: string;
1985
+ annotation?: string | undefined;
1986
+ data?: {
1987
+ type: TransactionDataType.RAW_CALLDATA;
1988
+ calldata: string;
1989
+ } | {
1990
+ type: TransactionDataType.SIGNATURE;
1991
+ signature: string;
1992
+ args?: string[] | undefined;
1993
+ } | undefined;
1994
+ value?: string | undefined;
1995
+ to?: string | undefined;
1996
+ timeSkip?: number | undefined;
1997
+ eventAssertions?: ({
1998
+ type: EventAssertionType.RAW_TOPIC;
1999
+ topic: string;
2000
+ annotation?: string | undefined;
2001
+ } | {
2002
+ type: EventAssertionType.TOPIC_SIGNATURE;
2003
+ signature: string;
2004
+ args?: string[] | undefined;
2005
+ annotation?: string | undefined;
2006
+ })[] | undefined;
2007
+ revertAssertion?: {
2008
+ type: RevertAssertionType;
2009
+ reason: string;
2010
+ annotation?: string | undefined;
2011
+ } | undefined;
2012
+ }[];
2013
+ } | {
2014
+ path: string;
2015
+ type: TransactionConfigType.FILE;
2016
+ defaultSender: string;
2017
+ overrides?: Record<string, {
2018
+ annotation?: string | undefined;
2019
+ from?: string | undefined;
2020
+ data?: {
2021
+ type: TransactionDataType.RAW_CALLDATA;
2022
+ calldata: string;
2023
+ } | {
2024
+ type: TransactionDataType.SIGNATURE;
2025
+ signature: string;
2026
+ args?: string[] | undefined;
2027
+ } | undefined;
2028
+ value?: string | undefined;
2029
+ to?: string | undefined;
2030
+ timeSkip?: number | undefined;
2031
+ eventAssertions?: ({
2032
+ type: EventAssertionType.RAW_TOPIC;
2033
+ topic: string;
2034
+ annotation?: string | undefined;
2035
+ } | {
2036
+ type: EventAssertionType.TOPIC_SIGNATURE;
2037
+ signature: string;
2038
+ args?: string[] | undefined;
2039
+ annotation?: string | undefined;
2040
+ })[] | undefined;
2041
+ revertAssertion?: {
2042
+ type: RevertAssertionType;
2043
+ reason: string;
2044
+ annotation?: string | undefined;
2045
+ } | undefined;
2046
+ }> | undefined;
2047
+ })[];
2048
+ impersonateAccounts?: string[] | undefined;
2049
+ }>>;
2050
+ export type RawForkedChainConfigByChain = z.infer<typeof RawForkedChainConfigByChainSchema>;
2051
+ export declare const SafeTxFileSchema: z.ZodObject<{
2052
+ version: z.ZodString;
2053
+ chainId: z.ZodString;
2054
+ transactions: z.ZodArray<z.ZodObject<{
2055
+ value: z.ZodOptional<z.ZodString>;
2056
+ to: z.ZodOptional<z.ZodString>;
2057
+ data: z.ZodOptional<z.ZodString>;
2058
+ }, "strip", z.ZodTypeAny, {
2059
+ value?: string | undefined;
2060
+ to?: string | undefined;
2061
+ data?: string | undefined;
2062
+ }, {
2063
+ value?: string | undefined;
2064
+ to?: string | undefined;
2065
+ data?: string | undefined;
2066
+ }>, "many">;
2067
+ }, "strip", z.ZodTypeAny, {
2068
+ chainId: string;
2069
+ version: string;
2070
+ transactions: {
2071
+ value?: string | undefined;
2072
+ to?: string | undefined;
2073
+ data?: string | undefined;
2074
+ }[];
2075
+ }, {
2076
+ chainId: string;
2077
+ version: string;
2078
+ transactions: {
2079
+ value?: string | undefined;
2080
+ to?: string | undefined;
2081
+ data?: string | undefined;
2082
+ }[];
2083
+ }>;
2084
+ export type SafeTx = z.infer<typeof SafeTxFileSchema>;
2085
+ export declare function forkedChainConfigByChainFromRaw(raw: RawForkedChainConfigByChain, fileReader: <T>(path: string) => T): ForkedChainConfigByChain;
2086
+ //# sourceMappingURL=types.d.ts.map