@hyperlane-xyz/sdk 42.0.0 → 44.0.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 (221) hide show
  1. package/dist/consts/multisigIsm.d.ts.map +1 -1
  2. package/dist/consts/multisigIsm.js +12 -0
  3. package/dist/consts/multisigIsm.js.map +1 -1
  4. package/dist/core/adapters/StarknetCoreAdapter.d.ts.map +1 -1
  5. package/dist/core/adapters/StarknetCoreAdapter.js +3 -3
  6. package/dist/core/adapters/StarknetCoreAdapter.js.map +1 -1
  7. package/dist/core/types.d.ts +47 -1635
  8. package/dist/core/types.d.ts.map +1 -1
  9. package/dist/core/types.js +2 -2
  10. package/dist/core/types.js.map +1 -1
  11. package/dist/deploy/HyperlaneDeployer.js +1 -1
  12. package/dist/deploy/proxy.d.ts +8 -40
  13. package/dist/deploy/proxy.d.ts.map +1 -1
  14. package/dist/deploy/proxy.js +4 -4
  15. package/dist/deploy/proxy.js.map +1 -1
  16. package/dist/deploy/types.d.ts +1 -19
  17. package/dist/deploy/types.d.ts.map +1 -1
  18. package/dist/fee/EvmTokenFeeDeployer.d.ts.map +1 -1
  19. package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js +68 -0
  20. package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js.map +1 -1
  21. package/dist/fee/EvmTokenFeeDeployer.js +18 -10
  22. package/dist/fee/EvmTokenFeeDeployer.js.map +1 -1
  23. package/dist/fee/EvmTokenFeeModule.d.ts.map +1 -1
  24. package/dist/fee/EvmTokenFeeModule.hardhat-test.js +18 -8
  25. package/dist/fee/EvmTokenFeeModule.hardhat-test.js.map +1 -1
  26. package/dist/fee/EvmTokenFeeModule.js +8 -1
  27. package/dist/fee/EvmTokenFeeModule.js.map +1 -1
  28. package/dist/fee/EvmTokenFeeReader.d.ts +2 -2
  29. package/dist/fee/EvmTokenFeeReader.d.ts.map +1 -1
  30. package/dist/fee/EvmTokenFeeReader.js.map +1 -1
  31. package/dist/fee/feeConfigMapping.d.ts.map +1 -1
  32. package/dist/fee/feeConfigMapping.js +1 -0
  33. package/dist/fee/feeConfigMapping.js.map +1 -1
  34. package/dist/fee/types.d.ts +147 -646
  35. package/dist/fee/types.d.ts.map +1 -1
  36. package/dist/fee/types.js +26 -17
  37. package/dist/fee/types.js.map +1 -1
  38. package/dist/fork/types.d.ts +125 -1924
  39. package/dist/fork/types.d.ts.map +1 -1
  40. package/dist/fork/types.js +3 -3
  41. package/dist/fork/types.js.map +1 -1
  42. package/dist/gas/oracle/types.d.ts +5 -56
  43. package/dist/gas/oracle/types.d.ts.map +1 -1
  44. package/dist/hook/EvmHookModule.d.ts.map +1 -1
  45. package/dist/hook/EvmHookModule.hardhat-test.js +12 -1
  46. package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
  47. package/dist/hook/EvmHookModule.js +3 -0
  48. package/dist/hook/EvmHookModule.js.map +1 -1
  49. package/dist/hook/HyperlaneHookDeployer.d.ts +12 -0
  50. package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
  51. package/dist/hook/HyperlaneHookDeployer.hardhat-test.d.ts +2 -0
  52. package/dist/hook/HyperlaneHookDeployer.hardhat-test.d.ts.map +1 -0
  53. package/dist/hook/HyperlaneHookDeployer.hardhat-test.js +322 -0
  54. package/dist/hook/HyperlaneHookDeployer.hardhat-test.js.map +1 -0
  55. package/dist/hook/HyperlaneHookDeployer.js +262 -5
  56. package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
  57. package/dist/hook/types.d.ts +44 -319
  58. package/dist/hook/types.d.ts.map +1 -1
  59. package/dist/hook/types.js +18 -11
  60. package/dist/hook/types.js.map +1 -1
  61. package/dist/ica/types.d.ts +35 -900
  62. package/dist/ica/types.d.ts.map +1 -1
  63. package/dist/ica/types.js +1 -1
  64. package/dist/ica/types.js.map +1 -1
  65. package/dist/index.d.ts +1 -1
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +1 -1
  68. package/dist/index.js.map +1 -1
  69. package/dist/ism/EvmIsmModule.d.ts +1 -1
  70. package/dist/ism/EvmIsmModule.d.ts.map +1 -1
  71. package/dist/ism/EvmIsmModule.hardhat-test.js +35 -1
  72. package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
  73. package/dist/ism/EvmIsmModule.js +15 -11
  74. package/dist/ism/EvmIsmModule.js.map +1 -1
  75. package/dist/ism/HyperlaneIsmFactory.d.ts +3 -1
  76. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  77. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +61 -3
  78. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
  79. package/dist/ism/HyperlaneIsmFactory.js +42 -6
  80. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  81. package/dist/ism/types.d.ts +48 -330
  82. package/dist/ism/types.d.ts.map +1 -1
  83. package/dist/ism/types.js +8 -10
  84. package/dist/ism/types.js.map +1 -1
  85. package/dist/metadata/agentConfig.d.ts +537 -10384
  86. package/dist/metadata/agentConfig.d.ts.map +1 -1
  87. package/dist/metadata/agentConfig.js +18 -18
  88. package/dist/metadata/agentConfig.js.map +1 -1
  89. package/dist/metadata/chainMetadataConversion.d.ts.map +1 -1
  90. package/dist/metadata/chainMetadataConversion.js +1 -0
  91. package/dist/metadata/chainMetadataConversion.js.map +1 -1
  92. package/dist/metadata/chainMetadataTypes.d.ts +70 -4678
  93. package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
  94. package/dist/metadata/chainMetadataTypes.js +8 -7
  95. package/dist/metadata/chainMetadataTypes.js.map +1 -1
  96. package/dist/metadata/customZodTypes.d.ts +5 -5
  97. package/dist/metadata/customZodTypes.d.ts.map +1 -1
  98. package/dist/metadata/customZodTypes.js +4 -5
  99. package/dist/metadata/customZodTypes.js.map +1 -1
  100. package/dist/metadata/deploymentArtifacts.d.ts +1 -13
  101. package/dist/metadata/deploymentArtifacts.d.ts.map +1 -1
  102. package/dist/metadata/matchingList.d.ts +12 -40
  103. package/dist/metadata/matchingList.d.ts.map +1 -1
  104. package/dist/metadata/warpRouteConfig.d.ts +8 -114
  105. package/dist/metadata/warpRouteConfig.d.ts.map +1 -1
  106. package/dist/metadata/warpRouteConfig.js +3 -3
  107. package/dist/metadata/warpRouteConfig.js.map +1 -1
  108. package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
  109. package/dist/middleware/account/InterchainAccount.js +12 -8
  110. package/dist/middleware/account/InterchainAccount.js.map +1 -1
  111. package/dist/middleware/account/InterchainAccount.test.js +22 -3
  112. package/dist/middleware/account/InterchainAccount.test.js.map +1 -1
  113. package/dist/middleware/account/icaCalls.d.ts +13 -145
  114. package/dist/middleware/account/icaCalls.d.ts.map +1 -1
  115. package/dist/middleware/account/types.d.ts +11 -105
  116. package/dist/middleware/account/types.d.ts.map +1 -1
  117. package/dist/predicate/PredicateApiClient.d.ts +1 -11
  118. package/dist/predicate/PredicateApiClient.d.ts.map +1 -1
  119. package/dist/providers/MultiProvider.d.ts.map +1 -1
  120. package/dist/providers/MultiProvider.js +3 -2
  121. package/dist/providers/MultiProvider.js.map +1 -1
  122. package/dist/providers/ProviderType.d.ts +4 -4
  123. package/dist/providers/ProviderType.d.ts.map +1 -1
  124. package/dist/providers/transactions/submitter/builder/types.d.ts +13 -280
  125. package/dist/providers/transactions/submitter/builder/types.d.ts.map +1 -1
  126. package/dist/providers/transactions/submitter/builder/types.js +2 -4
  127. package/dist/providers/transactions/submitter/builder/types.js.map +1 -1
  128. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +2 -0
  129. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
  130. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js +15 -7
  131. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
  132. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.test.d.ts +2 -0
  133. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.test.d.ts.map +1 -0
  134. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.test.js +145 -0
  135. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.test.js.map +1 -0
  136. package/dist/providers/transactions/submitter/ethersV5/types.d.ts +30 -102
  137. package/dist/providers/transactions/submitter/ethersV5/types.d.ts.map +1 -1
  138. package/dist/providers/transactions/submitter/ethersV5/types.js +3 -21
  139. package/dist/providers/transactions/submitter/ethersV5/types.js.map +1 -1
  140. package/dist/providers/transactions/submitter/types.d.ts +5 -51
  141. package/dist/providers/transactions/submitter/types.d.ts.map +1 -1
  142. package/dist/providers/transactions/types.d.ts +1 -9
  143. package/dist/providers/transactions/types.d.ts.map +1 -1
  144. package/dist/router/types.d.ts +33 -819
  145. package/dist/router/types.d.ts.map +1 -1
  146. package/dist/router/types.js +4 -4
  147. package/dist/router/types.js.map +1 -1
  148. package/dist/rpc/evm/EvmEventLogsReader.d.ts +19 -27
  149. package/dist/rpc/evm/EvmEventLogsReader.d.ts.map +1 -1
  150. package/dist/rpc/evm/EvmEventLogsReader.js +23 -0
  151. package/dist/rpc/evm/EvmEventLogsReader.js.map +1 -1
  152. package/dist/rpc/evm/EvmEventLogsReader.test.js +53 -1
  153. package/dist/rpc/evm/EvmEventLogsReader.test.js.map +1 -1
  154. package/dist/signers/starknet/starknetjs.d.ts.map +1 -1
  155. package/dist/signers/starknet/starknetjs.js +5 -1
  156. package/dist/signers/starknet/starknetjs.js.map +1 -1
  157. package/dist/signers/turnkeyClient.d.ts +1 -15
  158. package/dist/signers/turnkeyClient.d.ts.map +1 -1
  159. package/dist/timelock/types.d.ts +8 -32
  160. package/dist/timelock/types.d.ts.map +1 -1
  161. package/dist/token/EvmWarpRouteReader.d.ts.map +1 -1
  162. package/dist/token/EvmWarpRouteReader.js +36 -19
  163. package/dist/token/EvmWarpRouteReader.js.map +1 -1
  164. package/dist/token/EvmWarpRouteReader.test.js +219 -2
  165. package/dist/token/EvmWarpRouteReader.test.js.map +1 -1
  166. package/dist/token/EvmXERC20Reader.d.ts +9 -21
  167. package/dist/token/EvmXERC20Reader.d.ts.map +1 -1
  168. package/dist/token/EvmXERC20Reader.js +24 -48
  169. package/dist/token/EvmXERC20Reader.js.map +1 -1
  170. package/dist/token/EvmXERC20Reader.test.js +97 -0
  171. package/dist/token/EvmXERC20Reader.test.js.map +1 -1
  172. package/dist/token/ITokenMetadata.d.ts +12 -130
  173. package/dist/token/ITokenMetadata.d.ts.map +1 -1
  174. package/dist/token/ITokenMetadata.js +2 -2
  175. package/dist/token/ITokenMetadata.js.map +1 -1
  176. package/dist/token/TokenConnection.d.ts +3 -35
  177. package/dist/token/TokenConnection.d.ts.map +1 -1
  178. package/dist/token/adapters/StarknetTokenAdapter.js +10 -2
  179. package/dist/token/adapters/StarknetTokenAdapter.js.map +1 -1
  180. package/dist/token/configUtils.d.ts.map +1 -1
  181. package/dist/token/configUtils.js +16 -0
  182. package/dist/token/configUtils.js.map +1 -1
  183. package/dist/token/configUtils.test.js +57 -10
  184. package/dist/token/configUtils.test.js.map +1 -1
  185. package/dist/token/deploy.hardhat-test.js +165 -5
  186. package/dist/token/deploy.hardhat-test.js.map +1 -1
  187. package/dist/token/types.d.ts +4012 -22806
  188. package/dist/token/types.d.ts.map +1 -1
  189. package/dist/token/types.js +10 -12
  190. package/dist/token/types.js.map +1 -1
  191. package/dist/token/xerc20-abi.d.ts +31 -0
  192. package/dist/token/xerc20-abi.d.ts.map +1 -1
  193. package/dist/token/xerc20-abi.js +40 -0
  194. package/dist/token/xerc20-abi.js.map +1 -1
  195. package/dist/token/xerc20-limits.d.ts +63 -0
  196. package/dist/token/xerc20-limits.d.ts.map +1 -0
  197. package/dist/token/xerc20-limits.js +80 -0
  198. package/dist/token/xerc20-limits.js.map +1 -0
  199. package/dist/token/xerc20.d.ts +30 -1
  200. package/dist/token/xerc20.d.ts.map +1 -1
  201. package/dist/token/xerc20.js +137 -54
  202. package/dist/token/xerc20.js.map +1 -1
  203. package/dist/token/xerc20.test.js +461 -169
  204. package/dist/token/xerc20.test.js.map +1 -1
  205. package/dist/types.d.ts +6 -36
  206. package/dist/types.d.ts.map +1 -1
  207. package/dist/types.js +1 -1
  208. package/dist/types.js.map +1 -1
  209. package/dist/utils/cosmos.d.ts +113 -844
  210. package/dist/utils/cosmos.d.ts.map +1 -1
  211. package/dist/utils/cosmos.js +50 -91
  212. package/dist/utils/cosmos.js.map +1 -1
  213. package/dist/utils/schemas.d.ts +3 -3
  214. package/dist/utils/schemas.d.ts.map +1 -1
  215. package/dist/utils/schemas.js +2 -1
  216. package/dist/utils/schemas.js.map +1 -1
  217. package/dist/utils/starknet.js +5 -1
  218. package/dist/utils/starknet.js.map +1 -1
  219. package/dist/warp/types.d.ts +25 -367
  220. package/dist/warp/types.d.ts.map +1 -1
  221. package/package.json +14 -14
@@ -3,51 +3,25 @@ export declare enum EventAssertionType {
3
3
  RAW_TOPIC = "rawTopic",
4
4
  TOPIC_SIGNATURE = "topicSignature"
5
5
  }
6
- export declare const EventAssertionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6
+ export declare const EventAssertionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
7
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
8
8
  topic: z.ZodString;
9
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<{
10
+ }, z.core.$strip>, z.ZodObject<{
19
11
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
20
12
  signature: z.ZodString;
21
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
14
  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
- }>]>;
15
+ }, z.core.$strip>], "type">;
34
16
  export type EventAssertion = z.infer<typeof EventAssertionSchema>;
35
17
  export declare enum RevertAssertionType {
36
18
  ESTIMATE_GAS = "estimateGas"
37
19
  }
38
- export declare const RevertAssertionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
20
+ export declare const RevertAssertionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
39
21
  type: z.ZodLiteral<RevertAssertionType>;
40
22
  reason: z.ZodString;
41
23
  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
- }>]>;
24
+ }, z.core.$strip>], "type">;
51
25
  export type RevertAssertion = z.infer<typeof RevertAssertionSchema>;
52
26
  export declare enum TransactionDataType {
53
27
  RAW_CALLDATA = "rawCalldata",
@@ -56,2098 +30,325 @@ export declare enum TransactionDataType {
56
30
  export declare const ForkedChainTransactionConfigSchema: z.ZodObject<{
57
31
  annotation: z.ZodOptional<z.ZodString>;
58
32
  from: z.ZodString;
59
- data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
33
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
60
34
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
61
35
  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<{
36
+ }, z.core.$strip>, z.ZodObject<{
69
37
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
70
38
  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
- }>]>>;
39
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
40
+ }, z.core.$strip>], "type">>;
81
41
  value: z.ZodOptional<z.ZodString>;
82
42
  to: z.ZodOptional<z.ZodString>;
83
43
  timeSkip: z.ZodOptional<z.ZodNumber>;
84
- eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
44
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
85
45
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
86
46
  topic: z.ZodString;
87
47
  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<{
48
+ }, z.core.$strip>, z.ZodObject<{
97
49
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
98
50
  signature: z.ZodString;
99
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
100
52
  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<{
53
+ }, z.core.$strip>], "type">>>;
54
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
113
55
  type: z.ZodLiteral<RevertAssertionType>;
114
56
  reason: z.ZodString;
115
57
  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
- annotation?: string | undefined;
127
- from: string;
128
- data?: {
129
- type: TransactionDataType.RAW_CALLDATA;
130
- calldata: string;
131
- } | {
132
- type: TransactionDataType.SIGNATURE;
133
- signature: string;
134
- args: string[];
135
- } | undefined;
136
- value?: string | undefined;
137
- to?: string | undefined;
138
- timeSkip?: number | undefined;
139
- eventAssertions: ({
140
- type: EventAssertionType.RAW_TOPIC;
141
- topic: string;
142
- annotation?: string | undefined;
143
- } | {
144
- type: EventAssertionType.TOPIC_SIGNATURE;
145
- signature: string;
146
- args?: string[] | undefined;
147
- annotation?: string | undefined;
148
- })[];
149
- revertAssertion?: {
150
- type: RevertAssertionType;
151
- reason: string;
152
- annotation?: string | undefined;
153
- } | undefined;
154
- }, {
155
- annotation?: string | undefined;
156
- from: string;
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
- }>;
58
+ }, z.core.$strip>], "type">>;
59
+ }, z.core.$strip>;
184
60
  export type ForkedChainTransactionConfig = z.infer<typeof ForkedChainTransactionConfigSchema>;
185
61
  export declare const ForkedChainConfigSchema: z.ZodObject<{
186
- impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
62
+ impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString>>;
187
63
  transactions: z.ZodDefault<z.ZodArray<z.ZodObject<{
188
64
  annotation: z.ZodOptional<z.ZodString>;
189
65
  from: z.ZodString;
190
- data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
66
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
191
67
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
192
68
  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<{
69
+ }, z.core.$strip>, z.ZodObject<{
200
70
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
201
71
  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
- }>]>>;
72
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
73
+ }, z.core.$strip>], "type">>;
212
74
  value: z.ZodOptional<z.ZodString>;
213
75
  to: z.ZodOptional<z.ZodString>;
214
76
  timeSkip: z.ZodOptional<z.ZodNumber>;
215
- eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
77
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
216
78
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
217
79
  topic: z.ZodString;
218
80
  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<{
81
+ }, z.core.$strip>, z.ZodObject<{
228
82
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
229
83
  signature: z.ZodString;
230
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
84
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
231
85
  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<{
86
+ }, z.core.$strip>], "type">>>;
87
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
244
88
  type: z.ZodLiteral<RevertAssertionType>;
245
89
  reason: z.ZodString;
246
90
  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
- annotation?: string | undefined;
258
- from: string;
259
- data?: {
260
- type: TransactionDataType.RAW_CALLDATA;
261
- calldata: string;
262
- } | {
263
- type: TransactionDataType.SIGNATURE;
264
- signature: string;
265
- args: string[];
266
- } | undefined;
267
- value?: string | undefined;
268
- to?: string | undefined;
269
- timeSkip?: number | undefined;
270
- eventAssertions: ({
271
- type: EventAssertionType.RAW_TOPIC;
272
- topic: string;
273
- annotation?: string | undefined;
274
- } | {
275
- type: EventAssertionType.TOPIC_SIGNATURE;
276
- signature: string;
277
- args?: string[] | undefined;
278
- annotation?: string | undefined;
279
- })[];
280
- revertAssertion?: {
281
- type: RevertAssertionType;
282
- reason: string;
283
- annotation?: string | undefined;
284
- } | undefined;
285
- }, {
286
- annotation?: string | undefined;
287
- from: string;
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
- impersonateAccounts: string[];
317
- transactions: {
318
- annotation?: string | undefined;
319
- from: string;
320
- data?: {
321
- type: TransactionDataType.RAW_CALLDATA;
322
- calldata: string;
323
- } | {
324
- type: TransactionDataType.SIGNATURE;
325
- signature: string;
326
- args: string[];
327
- } | undefined;
328
- value?: string | undefined;
329
- to?: string | undefined;
330
- timeSkip?: number | undefined;
331
- eventAssertions: ({
332
- type: EventAssertionType.RAW_TOPIC;
333
- topic: string;
334
- annotation?: string | undefined;
335
- } | {
336
- type: EventAssertionType.TOPIC_SIGNATURE;
337
- signature: string;
338
- args?: string[] | undefined;
339
- annotation?: string | undefined;
340
- })[];
341
- revertAssertion?: {
342
- type: RevertAssertionType;
343
- reason: string;
344
- annotation?: string | undefined;
345
- } | undefined;
346
- }[];
347
- }, {
348
- impersonateAccounts?: string[] | undefined;
349
- transactions?: {
350
- annotation?: string | undefined;
351
- from: string;
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
- }>;
91
+ }, z.core.$strip>], "type">>;
92
+ }, z.core.$strip>>>;
93
+ }, z.core.$strip>;
380
94
  export type ForkedChainConfig = z.infer<typeof ForkedChainConfigSchema>;
381
95
  export declare const ForkedChainConfigByChainSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
382
- impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
96
+ impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString>>;
383
97
  transactions: z.ZodDefault<z.ZodArray<z.ZodObject<{
384
98
  annotation: z.ZodOptional<z.ZodString>;
385
99
  from: z.ZodString;
386
- data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
100
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
387
101
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
388
102
  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<{
103
+ }, z.core.$strip>, z.ZodObject<{
396
104
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
397
105
  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
- }>]>>;
106
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
107
+ }, z.core.$strip>], "type">>;
408
108
  value: z.ZodOptional<z.ZodString>;
409
109
  to: z.ZodOptional<z.ZodString>;
410
110
  timeSkip: z.ZodOptional<z.ZodNumber>;
411
- eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
111
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
412
112
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
413
113
  topic: z.ZodString;
414
114
  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<{
115
+ }, z.core.$strip>, z.ZodObject<{
424
116
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
425
117
  signature: z.ZodString;
426
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
118
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
427
119
  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<{
120
+ }, z.core.$strip>], "type">>>;
121
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
440
122
  type: z.ZodLiteral<RevertAssertionType>;
441
123
  reason: z.ZodString;
442
124
  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
- annotation?: string | undefined;
454
- from: string;
455
- data?: {
456
- type: TransactionDataType.RAW_CALLDATA;
457
- calldata: string;
458
- } | {
459
- type: TransactionDataType.SIGNATURE;
460
- signature: string;
461
- args: string[];
462
- } | undefined;
463
- value?: string | undefined;
464
- to?: string | undefined;
465
- timeSkip?: number | undefined;
466
- eventAssertions: ({
467
- type: EventAssertionType.RAW_TOPIC;
468
- topic: string;
469
- annotation?: string | undefined;
470
- } | {
471
- type: EventAssertionType.TOPIC_SIGNATURE;
472
- signature: string;
473
- args?: string[] | undefined;
474
- annotation?: string | undefined;
475
- })[];
476
- revertAssertion?: {
477
- type: RevertAssertionType;
478
- reason: string;
479
- annotation?: string | undefined;
480
- } | undefined;
481
- }, {
482
- annotation?: string | undefined;
483
- from: string;
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
- impersonateAccounts: string[];
513
- transactions: {
514
- annotation?: string | undefined;
515
- from: string;
516
- data?: {
517
- type: TransactionDataType.RAW_CALLDATA;
518
- calldata: string;
519
- } | {
520
- type: TransactionDataType.SIGNATURE;
521
- signature: string;
522
- args: string[];
523
- } | undefined;
524
- value?: string | undefined;
525
- to?: string | undefined;
526
- timeSkip?: number | undefined;
527
- eventAssertions: ({
528
- type: EventAssertionType.RAW_TOPIC;
529
- topic: string;
530
- annotation?: string | undefined;
531
- } | {
532
- type: EventAssertionType.TOPIC_SIGNATURE;
533
- signature: string;
534
- args?: string[] | undefined;
535
- annotation?: string | undefined;
536
- })[];
537
- revertAssertion?: {
538
- type: RevertAssertionType;
539
- reason: string;
540
- annotation?: string | undefined;
541
- } | undefined;
542
- }[];
543
- }, {
544
- impersonateAccounts?: string[] | undefined;
545
- transactions?: {
546
- annotation?: string | undefined;
547
- from: string;
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
- }>>;
125
+ }, z.core.$strip>], "type">>;
126
+ }, z.core.$strip>>>;
127
+ }, z.core.$strip>>;
576
128
  export type ForkedChainConfigByChain = z.infer<typeof ForkedChainConfigByChainSchema>;
577
129
  export declare enum TransactionConfigType {
578
130
  RAW_TRANSACTION = "rawTransaction",
579
131
  FILE = "file"
580
132
  }
581
- export declare const RawForkedChainTransactionConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
133
+ export declare const RawForkedChainTransactionConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
582
134
  type: z.ZodLiteral<TransactionConfigType.RAW_TRANSACTION>;
583
135
  transactions: z.ZodArray<z.ZodObject<{
584
136
  annotation: z.ZodOptional<z.ZodString>;
585
137
  from: z.ZodString;
586
- data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
138
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
587
139
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
588
140
  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<{
141
+ }, z.core.$strip>, z.ZodObject<{
596
142
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
597
143
  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
- }>]>>;
144
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
145
+ }, z.core.$strip>], "type">>;
608
146
  value: z.ZodOptional<z.ZodString>;
609
147
  to: z.ZodOptional<z.ZodString>;
610
148
  timeSkip: z.ZodOptional<z.ZodNumber>;
611
- eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
149
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
612
150
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
613
151
  topic: z.ZodString;
614
152
  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<{
153
+ }, z.core.$strip>, z.ZodObject<{
624
154
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
625
155
  signature: z.ZodString;
626
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
156
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
627
157
  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<{
158
+ }, z.core.$strip>], "type">>>;
159
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
640
160
  type: z.ZodLiteral<RevertAssertionType>;
641
161
  reason: z.ZodString;
642
162
  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
- annotation?: string | undefined;
654
- from: string;
655
- data?: {
656
- type: TransactionDataType.RAW_CALLDATA;
657
- calldata: string;
658
- } | {
659
- type: TransactionDataType.SIGNATURE;
660
- signature: string;
661
- args: string[];
662
- } | undefined;
663
- value?: string | undefined;
664
- to?: string | undefined;
665
- timeSkip?: number | undefined;
666
- eventAssertions: ({
667
- type: EventAssertionType.RAW_TOPIC;
668
- topic: string;
669
- annotation?: string | undefined;
670
- } | {
671
- type: EventAssertionType.TOPIC_SIGNATURE;
672
- signature: string;
673
- args?: string[] | undefined;
674
- annotation?: string | undefined;
675
- })[];
676
- revertAssertion?: {
677
- type: RevertAssertionType;
678
- reason: string;
679
- annotation?: string | undefined;
680
- } | undefined;
681
- }, {
682
- annotation?: string | undefined;
683
- from: string;
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
- annotation?: string | undefined;
715
- from: string;
716
- data?: {
717
- type: TransactionDataType.RAW_CALLDATA;
718
- calldata: string;
719
- } | {
720
- type: TransactionDataType.SIGNATURE;
721
- signature: string;
722
- args: string[];
723
- } | undefined;
724
- value?: string | undefined;
725
- to?: string | undefined;
726
- timeSkip?: number | undefined;
727
- eventAssertions: ({
728
- type: EventAssertionType.RAW_TOPIC;
729
- topic: string;
730
- annotation?: string | undefined;
731
- } | {
732
- type: EventAssertionType.TOPIC_SIGNATURE;
733
- signature: string;
734
- args?: string[] | undefined;
735
- annotation?: string | undefined;
736
- })[];
737
- revertAssertion?: {
738
- type: RevertAssertionType;
739
- reason: string;
740
- annotation?: string | undefined;
741
- } | undefined;
742
- }[];
743
- }, {
744
- type: TransactionConfigType.RAW_TRANSACTION;
745
- transactions: {
746
- annotation?: string | undefined;
747
- from: string;
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<{
163
+ }, z.core.$strip>], "type">>;
164
+ }, z.core.$strip>>;
165
+ }, z.core.$strip>, z.ZodObject<{
776
166
  type: z.ZodLiteral<TransactionConfigType.FILE>;
777
167
  path: z.ZodString;
778
168
  defaultSender: z.ZodString;
779
169
  overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
780
170
  annotation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
781
171
  from: z.ZodOptional<z.ZodString>;
782
- data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
172
+ data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
783
173
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
784
174
  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<{
175
+ }, z.core.$strip>, z.ZodObject<{
792
176
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
793
177
  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
- }>]>>>;
178
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
179
+ }, z.core.$strip>], "type">>>;
804
180
  value: z.ZodOptional<z.ZodOptional<z.ZodString>>;
805
181
  to: z.ZodOptional<z.ZodOptional<z.ZodString>>;
806
182
  timeSkip: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
807
- eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
183
+ eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
808
184
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
809
185
  topic: z.ZodString;
810
186
  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<{
187
+ }, z.core.$strip>, z.ZodObject<{
820
188
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
821
189
  signature: z.ZodString;
822
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
190
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
823
191
  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<{
192
+ }, z.core.$strip>], "type">>>>;
193
+ revertAssertion: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
836
194
  type: z.ZodLiteral<RevertAssertionType>;
837
195
  reason: z.ZodString;
838
196
  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
- type: TransactionConfigType.FILE;
909
- path: string;
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
- type: TransactionConfigType.FILE;
943
- path: string;
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
- }>]>;
197
+ }, z.core.$strip>], "type">>>;
198
+ }, z.core.$strip>>>;
199
+ }, z.core.$strip>], "type">;
976
200
  export type RawForkedChainTransactionConfig = z.infer<typeof RawForkedChainTransactionConfigSchema>;
977
201
  export declare const RawForkedChainConfigSchema: z.ZodObject<{
978
- impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
979
- transactions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
202
+ impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString>>;
203
+ transactions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
980
204
  type: z.ZodLiteral<TransactionConfigType.RAW_TRANSACTION>;
981
205
  transactions: z.ZodArray<z.ZodObject<{
982
206
  annotation: z.ZodOptional<z.ZodString>;
983
207
  from: z.ZodString;
984
- data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
208
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
985
209
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
986
210
  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<{
211
+ }, z.core.$strip>, z.ZodObject<{
994
212
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
995
213
  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
- }>]>>;
214
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
215
+ }, z.core.$strip>], "type">>;
1006
216
  value: z.ZodOptional<z.ZodString>;
1007
217
  to: z.ZodOptional<z.ZodString>;
1008
218
  timeSkip: z.ZodOptional<z.ZodNumber>;
1009
- eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
219
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1010
220
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
1011
221
  topic: z.ZodString;
1012
222
  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<{
223
+ }, z.core.$strip>, z.ZodObject<{
1022
224
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
1023
225
  signature: z.ZodString;
1024
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
226
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
1025
227
  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<{
228
+ }, z.core.$strip>], "type">>>;
229
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1038
230
  type: z.ZodLiteral<RevertAssertionType>;
1039
231
  reason: z.ZodString;
1040
232
  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
- annotation?: string | undefined;
1052
- from: string;
1053
- data?: {
1054
- type: TransactionDataType.RAW_CALLDATA;
1055
- calldata: string;
1056
- } | {
1057
- type: TransactionDataType.SIGNATURE;
1058
- signature: string;
1059
- args: string[];
1060
- } | undefined;
1061
- value?: string | undefined;
1062
- to?: string | undefined;
1063
- timeSkip?: number | undefined;
1064
- eventAssertions: ({
1065
- type: EventAssertionType.RAW_TOPIC;
1066
- topic: string;
1067
- annotation?: string | undefined;
1068
- } | {
1069
- type: EventAssertionType.TOPIC_SIGNATURE;
1070
- signature: string;
1071
- args?: string[] | undefined;
1072
- annotation?: string | undefined;
1073
- })[];
1074
- revertAssertion?: {
1075
- type: RevertAssertionType;
1076
- reason: string;
1077
- annotation?: string | undefined;
1078
- } | undefined;
1079
- }, {
1080
- annotation?: string | undefined;
1081
- from: string;
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
- annotation?: string | undefined;
1113
- from: string;
1114
- data?: {
1115
- type: TransactionDataType.RAW_CALLDATA;
1116
- calldata: string;
1117
- } | {
1118
- type: TransactionDataType.SIGNATURE;
1119
- signature: string;
1120
- args: string[];
1121
- } | undefined;
1122
- value?: string | undefined;
1123
- to?: string | undefined;
1124
- timeSkip?: number | undefined;
1125
- eventAssertions: ({
1126
- type: EventAssertionType.RAW_TOPIC;
1127
- topic: string;
1128
- annotation?: string | undefined;
1129
- } | {
1130
- type: EventAssertionType.TOPIC_SIGNATURE;
1131
- signature: string;
1132
- args?: string[] | undefined;
1133
- annotation?: string | undefined;
1134
- })[];
1135
- revertAssertion?: {
1136
- type: RevertAssertionType;
1137
- reason: string;
1138
- annotation?: string | undefined;
1139
- } | undefined;
1140
- }[];
1141
- }, {
1142
- type: TransactionConfigType.RAW_TRANSACTION;
1143
- transactions: {
1144
- annotation?: string | undefined;
1145
- from: string;
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<{
233
+ }, z.core.$strip>], "type">>;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>, z.ZodObject<{
1174
236
  type: z.ZodLiteral<TransactionConfigType.FILE>;
1175
237
  path: z.ZodString;
1176
238
  defaultSender: z.ZodString;
1177
239
  overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1178
240
  annotation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1179
241
  from: z.ZodOptional<z.ZodString>;
1180
- data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
242
+ data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1181
243
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
1182
244
  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<{
245
+ }, z.core.$strip>, z.ZodObject<{
1190
246
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
1191
247
  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
- }>]>>>;
248
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
249
+ }, z.core.$strip>], "type">>>;
1202
250
  value: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1203
251
  to: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1204
252
  timeSkip: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1205
- eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
253
+ eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1206
254
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
1207
255
  topic: z.ZodString;
1208
256
  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<{
257
+ }, z.core.$strip>, z.ZodObject<{
1218
258
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
1219
259
  signature: z.ZodString;
1220
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
260
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
1221
261
  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<{
262
+ }, z.core.$strip>], "type">>>>;
263
+ revertAssertion: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1234
264
  type: z.ZodLiteral<RevertAssertionType>;
1235
265
  reason: z.ZodString;
1236
266
  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
- type: TransactionConfigType.FILE;
1307
- path: string;
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
- type: TransactionConfigType.FILE;
1341
- path: string;
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
- impersonateAccounts: string[];
1376
- transactions: ({
1377
- type: TransactionConfigType.RAW_TRANSACTION;
1378
- transactions: {
1379
- annotation?: string | undefined;
1380
- from: string;
1381
- data?: {
1382
- type: TransactionDataType.RAW_CALLDATA;
1383
- calldata: string;
1384
- } | {
1385
- type: TransactionDataType.SIGNATURE;
1386
- signature: string;
1387
- args: string[];
1388
- } | undefined;
1389
- value?: string | undefined;
1390
- to?: string | undefined;
1391
- timeSkip?: number | undefined;
1392
- eventAssertions: ({
1393
- type: EventAssertionType.RAW_TOPIC;
1394
- topic: string;
1395
- annotation?: string | undefined;
1396
- } | {
1397
- type: EventAssertionType.TOPIC_SIGNATURE;
1398
- signature: string;
1399
- args?: string[] | undefined;
1400
- annotation?: string | undefined;
1401
- })[];
1402
- revertAssertion?: {
1403
- type: RevertAssertionType;
1404
- reason: string;
1405
- annotation?: string | undefined;
1406
- } | undefined;
1407
- }[];
1408
- } | {
1409
- type: TransactionConfigType.FILE;
1410
- path: string;
1411
- defaultSender: string;
1412
- overrides: Record<string, {
1413
- annotation?: string | undefined;
1414
- from?: string | undefined;
1415
- data?: {
1416
- type: TransactionDataType.RAW_CALLDATA;
1417
- calldata: string;
1418
- } | {
1419
- type: TransactionDataType.SIGNATURE;
1420
- signature: string;
1421
- args: string[];
1422
- } | undefined;
1423
- value?: string | undefined;
1424
- to?: string | undefined;
1425
- timeSkip?: number | undefined;
1426
- eventAssertions?: ({
1427
- type: EventAssertionType.RAW_TOPIC;
1428
- topic: string;
1429
- annotation?: string | undefined;
1430
- } | {
1431
- type: EventAssertionType.TOPIC_SIGNATURE;
1432
- signature: string;
1433
- args?: string[] | undefined;
1434
- annotation?: string | undefined;
1435
- })[] | undefined;
1436
- revertAssertion?: {
1437
- type: RevertAssertionType;
1438
- reason: string;
1439
- annotation?: string | undefined;
1440
- } | undefined;
1441
- }>;
1442
- })[];
1443
- }, {
1444
- impersonateAccounts?: string[] | undefined;
1445
- transactions: ({
1446
- type: TransactionConfigType.RAW_TRANSACTION;
1447
- transactions: {
1448
- annotation?: string | undefined;
1449
- from: string;
1450
- data?: {
1451
- type: TransactionDataType.RAW_CALLDATA;
1452
- calldata: string;
1453
- } | {
1454
- type: TransactionDataType.SIGNATURE;
1455
- signature: string;
1456
- args?: string[] | undefined;
1457
- } | undefined;
1458
- value?: string | undefined;
1459
- to?: string | undefined;
1460
- timeSkip?: number | undefined;
1461
- eventAssertions?: ({
1462
- type: EventAssertionType.RAW_TOPIC;
1463
- topic: string;
1464
- annotation?: string | undefined;
1465
- } | {
1466
- type: EventAssertionType.TOPIC_SIGNATURE;
1467
- signature: string;
1468
- args?: string[] | undefined;
1469
- annotation?: string | undefined;
1470
- })[] | undefined;
1471
- revertAssertion?: {
1472
- type: RevertAssertionType;
1473
- reason: string;
1474
- annotation?: string | undefined;
1475
- } | undefined;
1476
- }[];
1477
- } | {
1478
- type: TransactionConfigType.FILE;
1479
- path: string;
1480
- defaultSender: string;
1481
- overrides?: Record<string, {
1482
- annotation?: string | undefined;
1483
- from?: string | undefined;
1484
- data?: {
1485
- type: TransactionDataType.RAW_CALLDATA;
1486
- calldata: string;
1487
- } | {
1488
- type: TransactionDataType.SIGNATURE;
1489
- signature: string;
1490
- args?: string[] | undefined;
1491
- } | undefined;
1492
- value?: string | undefined;
1493
- to?: string | undefined;
1494
- timeSkip?: number | undefined;
1495
- eventAssertions?: ({
1496
- type: EventAssertionType.RAW_TOPIC;
1497
- topic: string;
1498
- annotation?: string | undefined;
1499
- } | {
1500
- type: EventAssertionType.TOPIC_SIGNATURE;
1501
- signature: string;
1502
- args?: string[] | undefined;
1503
- annotation?: string | undefined;
1504
- })[] | undefined;
1505
- revertAssertion?: {
1506
- type: RevertAssertionType;
1507
- reason: string;
1508
- annotation?: string | undefined;
1509
- } | undefined;
1510
- }> | undefined;
1511
- })[];
1512
- }>;
267
+ }, z.core.$strip>], "type">>>;
268
+ }, z.core.$strip>>>;
269
+ }, z.core.$strip>], "type">>;
270
+ }, z.core.$strip>;
1513
271
  export type RawForkedChainConfig = z.infer<typeof RawForkedChainConfigSchema>;
1514
272
  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<{
273
+ impersonateAccounts: z.ZodDefault<z.ZodArray<z.ZodString>>;
274
+ transactions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1517
275
  type: z.ZodLiteral<TransactionConfigType.RAW_TRANSACTION>;
1518
276
  transactions: z.ZodArray<z.ZodObject<{
1519
277
  annotation: z.ZodOptional<z.ZodString>;
1520
278
  from: z.ZodString;
1521
- data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
279
+ data: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1522
280
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
1523
281
  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<{
282
+ }, z.core.$strip>, z.ZodObject<{
1531
283
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
1532
284
  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
- }>]>>;
285
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
286
+ }, z.core.$strip>], "type">>;
1543
287
  value: z.ZodOptional<z.ZodString>;
1544
288
  to: z.ZodOptional<z.ZodString>;
1545
289
  timeSkip: z.ZodOptional<z.ZodNumber>;
1546
- eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
290
+ eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1547
291
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
1548
292
  topic: z.ZodString;
1549
293
  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<{
294
+ }, z.core.$strip>, z.ZodObject<{
1559
295
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
1560
296
  signature: z.ZodString;
1561
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
297
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
1562
298
  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<{
299
+ }, z.core.$strip>], "type">>>;
300
+ revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1575
301
  type: z.ZodLiteral<RevertAssertionType>;
1576
302
  reason: z.ZodString;
1577
303
  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
- annotation?: string | undefined;
1589
- from: string;
1590
- data?: {
1591
- type: TransactionDataType.RAW_CALLDATA;
1592
- calldata: string;
1593
- } | {
1594
- type: TransactionDataType.SIGNATURE;
1595
- signature: string;
1596
- args: string[];
1597
- } | undefined;
1598
- value?: string | undefined;
1599
- to?: string | undefined;
1600
- timeSkip?: number | undefined;
1601
- eventAssertions: ({
1602
- type: EventAssertionType.RAW_TOPIC;
1603
- topic: string;
1604
- annotation?: string | undefined;
1605
- } | {
1606
- type: EventAssertionType.TOPIC_SIGNATURE;
1607
- signature: string;
1608
- args?: string[] | undefined;
1609
- annotation?: string | undefined;
1610
- })[];
1611
- revertAssertion?: {
1612
- type: RevertAssertionType;
1613
- reason: string;
1614
- annotation?: string | undefined;
1615
- } | undefined;
1616
- }, {
1617
- annotation?: string | undefined;
1618
- from: string;
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
- annotation?: string | undefined;
1650
- from: string;
1651
- data?: {
1652
- type: TransactionDataType.RAW_CALLDATA;
1653
- calldata: string;
1654
- } | {
1655
- type: TransactionDataType.SIGNATURE;
1656
- signature: string;
1657
- args: string[];
1658
- } | undefined;
1659
- value?: string | undefined;
1660
- to?: string | undefined;
1661
- timeSkip?: number | undefined;
1662
- eventAssertions: ({
1663
- type: EventAssertionType.RAW_TOPIC;
1664
- topic: string;
1665
- annotation?: string | undefined;
1666
- } | {
1667
- type: EventAssertionType.TOPIC_SIGNATURE;
1668
- signature: string;
1669
- args?: string[] | undefined;
1670
- annotation?: string | undefined;
1671
- })[];
1672
- revertAssertion?: {
1673
- type: RevertAssertionType;
1674
- reason: string;
1675
- annotation?: string | undefined;
1676
- } | undefined;
1677
- }[];
1678
- }, {
1679
- type: TransactionConfigType.RAW_TRANSACTION;
1680
- transactions: {
1681
- annotation?: string | undefined;
1682
- from: string;
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<{
304
+ }, z.core.$strip>], "type">>;
305
+ }, z.core.$strip>>;
306
+ }, z.core.$strip>, z.ZodObject<{
1711
307
  type: z.ZodLiteral<TransactionConfigType.FILE>;
1712
308
  path: z.ZodString;
1713
309
  defaultSender: z.ZodString;
1714
310
  overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1715
311
  annotation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1716
312
  from: z.ZodOptional<z.ZodString>;
1717
- data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
313
+ data: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1718
314
  type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
1719
315
  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<{
316
+ }, z.core.$strip>, z.ZodObject<{
1727
317
  type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
1728
318
  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
- }>]>>>;
319
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
320
+ }, z.core.$strip>], "type">>>;
1739
321
  value: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1740
322
  to: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1741
323
  timeSkip: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1742
- eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
324
+ eventAssertions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1743
325
  type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
1744
326
  topic: z.ZodString;
1745
327
  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<{
328
+ }, z.core.$strip>, z.ZodObject<{
1755
329
  type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
1756
330
  signature: z.ZodString;
1757
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
331
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
1758
332
  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<{
333
+ }, z.core.$strip>], "type">>>>;
334
+ revertAssertion: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1771
335
  type: z.ZodLiteral<RevertAssertionType>;
1772
336
  reason: z.ZodString;
1773
337
  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
- type: TransactionConfigType.FILE;
1844
- path: string;
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
- type: TransactionConfigType.FILE;
1878
- path: string;
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
- impersonateAccounts: string[];
1913
- transactions: ({
1914
- type: TransactionConfigType.RAW_TRANSACTION;
1915
- transactions: {
1916
- annotation?: string | undefined;
1917
- from: string;
1918
- data?: {
1919
- type: TransactionDataType.RAW_CALLDATA;
1920
- calldata: string;
1921
- } | {
1922
- type: TransactionDataType.SIGNATURE;
1923
- signature: string;
1924
- args: string[];
1925
- } | undefined;
1926
- value?: string | undefined;
1927
- to?: string | undefined;
1928
- timeSkip?: number | undefined;
1929
- eventAssertions: ({
1930
- type: EventAssertionType.RAW_TOPIC;
1931
- topic: string;
1932
- annotation?: string | undefined;
1933
- } | {
1934
- type: EventAssertionType.TOPIC_SIGNATURE;
1935
- signature: string;
1936
- args?: string[] | undefined;
1937
- annotation?: string | undefined;
1938
- })[];
1939
- revertAssertion?: {
1940
- type: RevertAssertionType;
1941
- reason: string;
1942
- annotation?: string | undefined;
1943
- } | undefined;
1944
- }[];
1945
- } | {
1946
- type: TransactionConfigType.FILE;
1947
- path: string;
1948
- defaultSender: string;
1949
- overrides: Record<string, {
1950
- annotation?: string | undefined;
1951
- from?: string | undefined;
1952
- data?: {
1953
- type: TransactionDataType.RAW_CALLDATA;
1954
- calldata: string;
1955
- } | {
1956
- type: TransactionDataType.SIGNATURE;
1957
- signature: string;
1958
- args: string[];
1959
- } | undefined;
1960
- value?: string | undefined;
1961
- to?: string | undefined;
1962
- timeSkip?: number | undefined;
1963
- eventAssertions?: ({
1964
- type: EventAssertionType.RAW_TOPIC;
1965
- topic: string;
1966
- annotation?: string | undefined;
1967
- } | {
1968
- type: EventAssertionType.TOPIC_SIGNATURE;
1969
- signature: string;
1970
- args?: string[] | undefined;
1971
- annotation?: string | undefined;
1972
- })[] | undefined;
1973
- revertAssertion?: {
1974
- type: RevertAssertionType;
1975
- reason: string;
1976
- annotation?: string | undefined;
1977
- } | undefined;
1978
- }>;
1979
- })[];
1980
- }, {
1981
- impersonateAccounts?: string[] | undefined;
1982
- transactions: ({
1983
- type: TransactionConfigType.RAW_TRANSACTION;
1984
- transactions: {
1985
- annotation?: string | undefined;
1986
- from: string;
1987
- data?: {
1988
- type: TransactionDataType.RAW_CALLDATA;
1989
- calldata: string;
1990
- } | {
1991
- type: TransactionDataType.SIGNATURE;
1992
- signature: string;
1993
- args?: string[] | undefined;
1994
- } | undefined;
1995
- value?: string | undefined;
1996
- to?: string | undefined;
1997
- timeSkip?: number | undefined;
1998
- eventAssertions?: ({
1999
- type: EventAssertionType.RAW_TOPIC;
2000
- topic: string;
2001
- annotation?: string | undefined;
2002
- } | {
2003
- type: EventAssertionType.TOPIC_SIGNATURE;
2004
- signature: string;
2005
- args?: string[] | undefined;
2006
- annotation?: string | undefined;
2007
- })[] | undefined;
2008
- revertAssertion?: {
2009
- type: RevertAssertionType;
2010
- reason: string;
2011
- annotation?: string | undefined;
2012
- } | undefined;
2013
- }[];
2014
- } | {
2015
- type: TransactionConfigType.FILE;
2016
- path: string;
2017
- defaultSender: string;
2018
- overrides?: Record<string, {
2019
- annotation?: string | undefined;
2020
- from?: string | undefined;
2021
- data?: {
2022
- type: TransactionDataType.RAW_CALLDATA;
2023
- calldata: string;
2024
- } | {
2025
- type: TransactionDataType.SIGNATURE;
2026
- signature: string;
2027
- args?: string[] | undefined;
2028
- } | undefined;
2029
- value?: string | undefined;
2030
- to?: string | undefined;
2031
- timeSkip?: number | undefined;
2032
- eventAssertions?: ({
2033
- type: EventAssertionType.RAW_TOPIC;
2034
- topic: string;
2035
- annotation?: string | undefined;
2036
- } | {
2037
- type: EventAssertionType.TOPIC_SIGNATURE;
2038
- signature: string;
2039
- args?: string[] | undefined;
2040
- annotation?: string | undefined;
2041
- })[] | undefined;
2042
- revertAssertion?: {
2043
- type: RevertAssertionType;
2044
- reason: string;
2045
- annotation?: string | undefined;
2046
- } | undefined;
2047
- }> | undefined;
2048
- })[];
2049
- }>>;
338
+ }, z.core.$strip>], "type">>>;
339
+ }, z.core.$strip>>>;
340
+ }, z.core.$strip>], "type">>;
341
+ }, z.core.$strip>>;
2050
342
  export type RawForkedChainConfigByChain = z.infer<typeof RawForkedChainConfigByChainSchema>;
2051
343
  export declare const SafeTxFileSchema: z.ZodObject<{
2052
344
  version: z.ZodString;
2053
345
  chainId: z.ZodString;
2054
- transactions: z.ZodArray<z.ZodObject<Pick<{
2055
- annotation: z.ZodOptional<z.ZodString>;
2056
- from: z.ZodString;
2057
- data: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2058
- type: z.ZodLiteral<TransactionDataType.RAW_CALLDATA>;
2059
- calldata: z.ZodString;
2060
- }, "strip", z.ZodTypeAny, {
2061
- type: TransactionDataType.RAW_CALLDATA;
2062
- calldata: string;
2063
- }, {
2064
- type: TransactionDataType.RAW_CALLDATA;
2065
- calldata: string;
2066
- }>, z.ZodObject<{
2067
- type: z.ZodLiteral<TransactionDataType.SIGNATURE>;
2068
- signature: z.ZodString;
2069
- args: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2070
- }, "strip", z.ZodTypeAny, {
2071
- type: TransactionDataType.SIGNATURE;
2072
- signature: string;
2073
- args: string[];
2074
- }, {
2075
- type: TransactionDataType.SIGNATURE;
2076
- signature: string;
2077
- args?: string[] | undefined;
2078
- }>]>>;
346
+ transactions: z.ZodArray<z.ZodObject<{
2079
347
  value: z.ZodOptional<z.ZodString>;
2080
348
  to: z.ZodOptional<z.ZodString>;
2081
- timeSkip: z.ZodOptional<z.ZodNumber>;
2082
- eventAssertions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2083
- type: z.ZodLiteral<EventAssertionType.RAW_TOPIC>;
2084
- topic: z.ZodString;
2085
- annotation: z.ZodOptional<z.ZodString>;
2086
- }, "strip", z.ZodTypeAny, {
2087
- type: EventAssertionType.RAW_TOPIC;
2088
- topic: string;
2089
- annotation?: string | undefined;
2090
- }, {
2091
- type: EventAssertionType.RAW_TOPIC;
2092
- topic: string;
2093
- annotation?: string | undefined;
2094
- }>, z.ZodObject<{
2095
- type: z.ZodLiteral<EventAssertionType.TOPIC_SIGNATURE>;
2096
- signature: z.ZodString;
2097
- args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2098
- annotation: z.ZodOptional<z.ZodString>;
2099
- }, "strip", z.ZodTypeAny, {
2100
- type: EventAssertionType.TOPIC_SIGNATURE;
2101
- signature: string;
2102
- args?: string[] | undefined;
2103
- annotation?: string | undefined;
2104
- }, {
2105
- type: EventAssertionType.TOPIC_SIGNATURE;
2106
- signature: string;
2107
- args?: string[] | undefined;
2108
- annotation?: string | undefined;
2109
- }>]>, "many">>;
2110
- revertAssertion: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2111
- type: z.ZodLiteral<RevertAssertionType>;
2112
- reason: z.ZodString;
2113
- annotation: z.ZodOptional<z.ZodString>;
2114
- }, "strip", z.ZodTypeAny, {
2115
- type: RevertAssertionType;
2116
- reason: string;
2117
- annotation?: string | undefined;
2118
- }, {
2119
- type: RevertAssertionType;
2120
- reason: string;
2121
- annotation?: string | undefined;
2122
- }>]>>;
2123
- }, "to" | "value"> & {
2124
349
  data: z.ZodOptional<z.ZodString>;
2125
- }, "strip", z.ZodTypeAny, {
2126
- value?: string | undefined;
2127
- to?: string | undefined;
2128
- data?: string | undefined;
2129
- }, {
2130
- value?: string | undefined;
2131
- to?: string | undefined;
2132
- data?: string | undefined;
2133
- }>, "many">;
2134
- }, "strip", z.ZodTypeAny, {
2135
- version: string;
2136
- chainId: string;
2137
- transactions: {
2138
- value?: string | undefined;
2139
- to?: string | undefined;
2140
- data?: string | undefined;
2141
- }[];
2142
- }, {
2143
- version: string;
2144
- chainId: string;
2145
- transactions: {
2146
- value?: string | undefined;
2147
- to?: string | undefined;
2148
- data?: string | undefined;
2149
- }[];
2150
- }>;
350
+ }, z.core.$strip>>;
351
+ }, z.core.$strip>;
2151
352
  export type SafeTx = z.infer<typeof SafeTxFileSchema>;
2152
353
  export declare function forkedChainConfigByChainFromRaw(raw: RawForkedChainConfigByChain, fileReader: <T>(path: string) => T): ForkedChainConfigByChain;
2153
354
  //# sourceMappingURL=types.d.ts.map