@aztec/aztec.js 3.0.0-canary.a9708bd → 3.0.0-devnet.2-patch.1

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 (326) hide show
  1. package/README.md +1 -1
  2. package/dest/account/account.d.ts +59 -0
  3. package/dest/account/account.d.ts.map +1 -0
  4. package/dest/account/account.js +59 -0
  5. package/dest/account/account_contract.d.ts +7 -7
  6. package/dest/account/account_contract.d.ts.map +1 -1
  7. package/dest/account/account_contract.js +0 -1
  8. package/dest/account/account_with_secret_key.d.ts +24 -0
  9. package/dest/account/account_with_secret_key.d.ts.map +1 -0
  10. package/dest/{wallet/account_wallet_with_private_key.js → account/account_with_secret_key.js} +5 -5
  11. package/dest/account/index.d.ts +3 -6
  12. package/dest/account/index.d.ts.map +1 -1
  13. package/dest/account/index.js +1 -4
  14. package/dest/account/interface.d.ts +2 -2
  15. package/dest/account/interface.d.ts.map +1 -1
  16. package/dest/account/signerless_account.d.ts +23 -0
  17. package/dest/account/signerless_account.d.ts.map +1 -0
  18. package/dest/account/signerless_account.js +27 -0
  19. package/dest/api/abi.d.ts +2 -1
  20. package/dest/api/abi.d.ts.map +1 -1
  21. package/dest/api/account.d.ts +6 -3
  22. package/dest/api/account.d.ts.map +1 -1
  23. package/dest/api/account.js +4 -1
  24. package/dest/api/addresses.d.ts +2 -1
  25. package/dest/api/addresses.d.ts.map +1 -1
  26. package/dest/api/addresses.js +1 -0
  27. package/dest/api/authorization.d.ts +3 -1
  28. package/dest/api/authorization.d.ts.map +1 -1
  29. package/dest/api/authorization.js +2 -0
  30. package/dest/api/block.d.ts +3 -0
  31. package/dest/api/block.d.ts.map +1 -0
  32. package/dest/api/block.js +2 -0
  33. package/dest/api/contract.d.ts +8 -9
  34. package/dest/api/contract.d.ts.map +1 -1
  35. package/dest/api/contract.js +6 -6
  36. package/dest/api/crypto.d.ts +2 -0
  37. package/dest/api/crypto.d.ts.map +1 -0
  38. package/dest/api/crypto.js +1 -0
  39. package/dest/api/deployment.d.ts +1 -1
  40. package/dest/api/eth_address.d.ts +1 -1
  41. package/dest/api/ethereum.d.ts +1 -2
  42. package/dest/api/ethereum.d.ts.map +1 -1
  43. package/dest/api/ethereum.js +0 -1
  44. package/dest/api/events.d.ts +12 -0
  45. package/dest/api/events.d.ts.map +1 -0
  46. package/dest/api/events.js +30 -0
  47. package/dest/api/fee.d.ts +2 -3
  48. package/dest/api/fee.d.ts.map +1 -1
  49. package/dest/api/fee.js +0 -1
  50. package/dest/api/fee_testing.d.ts +1 -1
  51. package/dest/api/fields.d.ts +3 -2
  52. package/dest/api/fields.d.ts.map +1 -1
  53. package/dest/api/fields.js +2 -1
  54. package/dest/api/keys.d.ts +4 -0
  55. package/dest/api/keys.d.ts.map +1 -0
  56. package/dest/api/keys.js +3 -0
  57. package/dest/api/log.d.ts +2 -1
  58. package/dest/api/log.d.ts.map +1 -1
  59. package/dest/api/log.js +1 -0
  60. package/dest/api/messaging.d.ts +3 -0
  61. package/dest/api/messaging.d.ts.map +1 -0
  62. package/dest/api/messaging.js +2 -0
  63. package/dest/api/node.d.ts +21 -0
  64. package/dest/api/node.d.ts.map +1 -0
  65. package/dest/api/node.js +18 -0
  66. package/dest/api/note.d.ts +2 -0
  67. package/dest/api/note.d.ts.map +1 -0
  68. package/dest/api/note.js +1 -0
  69. package/dest/api/protocol.d.ts +3 -0
  70. package/dest/api/protocol.d.ts.map +1 -0
  71. package/dest/api/protocol.js +2 -0
  72. package/dest/api/trees.d.ts +3 -0
  73. package/dest/api/trees.d.ts.map +1 -0
  74. package/dest/api/trees.js +2 -0
  75. package/dest/api/tx.d.ts +2 -0
  76. package/dest/api/tx.d.ts.map +1 -0
  77. package/dest/api/tx.js +1 -0
  78. package/dest/api/utils.d.ts +11 -7
  79. package/dest/api/utils.d.ts.map +1 -1
  80. package/dest/api/utils.js +10 -5
  81. package/dest/api/wallet.d.ts +4 -2
  82. package/dest/api/wallet.d.ts.map +1 -1
  83. package/dest/api/wallet.js +3 -1
  84. package/dest/authorization/call_authorization_request.d.ts +2 -23
  85. package/dest/authorization/call_authorization_request.d.ts.map +1 -1
  86. package/dest/contract/base_contract_interaction.d.ts +7 -50
  87. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  88. package/dest/contract/base_contract_interaction.js +6 -106
  89. package/dest/contract/batch_call.d.ts +14 -23
  90. package/dest/contract/batch_call.d.ts.map +1 -1
  91. package/dest/contract/batch_call.js +72 -64
  92. package/dest/contract/checker.d.ts +1 -1
  93. package/dest/contract/contract.d.ts +3 -3
  94. package/dest/contract/contract.d.ts.map +1 -1
  95. package/dest/contract/contract.js +5 -16
  96. package/dest/contract/contract_base.d.ts +5 -12
  97. package/dest/contract/contract_base.d.ts.map +1 -1
  98. package/dest/contract/contract_base.js +5 -12
  99. package/dest/contract/contract_function_interaction.d.ts +32 -43
  100. package/dest/contract/contract_function_interaction.d.ts.map +1 -1
  101. package/dest/contract/contract_function_interaction.js +47 -56
  102. package/dest/contract/deploy_method.d.ts +69 -61
  103. package/dest/contract/deploy_method.d.ts.map +1 -1
  104. package/dest/contract/deploy_method.js +72 -88
  105. package/dest/contract/deploy_sent_tx.d.ts +12 -8
  106. package/dest/contract/deploy_sent_tx.d.ts.map +1 -1
  107. package/dest/contract/deploy_sent_tx.js +15 -12
  108. package/dest/contract/get_gas_limits.d.ts +1 -1
  109. package/dest/contract/interaction_options.d.ts +76 -21
  110. package/dest/contract/interaction_options.d.ts.map +1 -1
  111. package/dest/contract/interaction_options.js +45 -3
  112. package/dest/contract/protocol_contracts.d.ts +1 -1
  113. package/dest/contract/sent_tx.d.ts +5 -6
  114. package/dest/contract/sent_tx.d.ts.map +1 -1
  115. package/dest/contract/sent_tx.js +6 -6
  116. package/dest/contract/unsafe_contract.d.ts +1 -1
  117. package/dest/contract/unsafe_contract.d.ts.map +1 -1
  118. package/dest/contract/unsafe_contract.js +1 -1
  119. package/dest/contract/wait_for_proven.d.ts +4 -4
  120. package/dest/contract/wait_for_proven.d.ts.map +1 -1
  121. package/dest/contract/wait_for_proven.js +2 -2
  122. package/dest/deployment/broadcast_function.d.ts +1 -1
  123. package/dest/deployment/broadcast_function.js +1 -1
  124. package/dest/deployment/contract_deployer.d.ts +1 -1
  125. package/dest/deployment/contract_deployer.d.ts.map +1 -1
  126. package/dest/deployment/contract_deployer.js +1 -1
  127. package/dest/deployment/publish_class.d.ts +1 -1
  128. package/dest/deployment/publish_class.js +1 -1
  129. package/dest/deployment/publish_instance.d.ts +2 -2
  130. package/dest/deployment/publish_instance.d.ts.map +1 -1
  131. package/dest/deployment/publish_instance.js +2 -5
  132. package/dest/ethereum/portal_manager.d.ts +7 -10
  133. package/dest/ethereum/portal_manager.d.ts.map +1 -1
  134. package/dest/ethereum/portal_manager.js +43 -19
  135. package/dest/fee/fee_juice_payment_method_with_claim.d.ts +14 -9
  136. package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -1
  137. package/dest/fee/fee_juice_payment_method_with_claim.js +24 -15
  138. package/dest/fee/fee_payment_method.d.ts +26 -0
  139. package/dest/fee/fee_payment_method.d.ts.map +1 -0
  140. package/dest/fee/fee_payment_method.js +3 -0
  141. package/dest/fee/private_fee_payment_method.d.ts +24 -7
  142. package/dest/fee/private_fee_payment_method.d.ts.map +1 -1
  143. package/dest/fee/private_fee_payment_method.js +38 -17
  144. package/dest/fee/public_fee_payment_method.d.ts +24 -7
  145. package/dest/fee/public_fee_payment_method.d.ts.map +1 -1
  146. package/dest/fee/public_fee_payment_method.js +41 -18
  147. package/dest/fee/sponsored_fee_payment.d.ts +4 -2
  148. package/dest/fee/sponsored_fee_payment.d.ts.map +1 -1
  149. package/dest/fee/sponsored_fee_payment.js +6 -2
  150. package/dest/utils/abi_types.d.ts +2 -2
  151. package/dest/utils/abi_types.d.ts.map +1 -1
  152. package/dest/utils/authwit.d.ts +80 -28
  153. package/dest/utils/authwit.d.ts.map +1 -1
  154. package/dest/utils/authwit.js +231 -25
  155. package/dest/utils/cross_chain.d.ts +24 -0
  156. package/dest/utils/cross_chain.d.ts.map +1 -0
  157. package/dest/utils/cross_chain.js +30 -0
  158. package/dest/utils/fee_juice.d.ts +4 -3
  159. package/dest/utils/fee_juice.d.ts.map +1 -1
  160. package/dest/utils/fee_juice.js +4 -3
  161. package/dest/utils/field_compressed_string.d.ts +1 -1
  162. package/dest/utils/field_compressed_string.d.ts.map +1 -1
  163. package/dest/utils/field_compressed_string.js +1 -1
  164. package/dest/utils/node.d.ts +2 -2
  165. package/dest/utils/node.d.ts.map +1 -1
  166. package/dest/utils/pub_key.d.ts +2 -2
  167. package/dest/utils/pub_key.d.ts.map +1 -1
  168. package/dest/utils/pub_key.js +2 -3
  169. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +34 -0
  170. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -0
  171. package/dest/wallet/account_entrypoint_meta_payment_method.js +76 -0
  172. package/dest/wallet/account_manager.d.ts +66 -0
  173. package/dest/wallet/account_manager.d.ts.map +1 -0
  174. package/dest/wallet/account_manager.js +113 -0
  175. package/dest/wallet/deploy_account_method.d.ts +52 -0
  176. package/dest/wallet/deploy_account_method.d.ts.map +1 -0
  177. package/dest/wallet/deploy_account_method.js +77 -0
  178. package/dest/wallet/index.d.ts +2 -16
  179. package/dest/wallet/index.d.ts.map +1 -1
  180. package/dest/wallet/index.js +1 -19
  181. package/dest/wallet/wallet.d.ts +2012 -7
  182. package/dest/wallet/wallet.d.ts.map +1 -1
  183. package/dest/wallet/wallet.js +198 -3
  184. package/package.json +29 -24
  185. package/src/account/account.ts +96 -0
  186. package/src/account/account_contract.ts +5 -7
  187. package/src/{wallet/account_wallet_with_private_key.ts → account/account_with_secret_key.ts} +7 -9
  188. package/src/account/index.ts +2 -5
  189. package/src/account/interface.ts +1 -1
  190. package/src/account/signerless_account.ts +45 -0
  191. package/src/api/abi.ts +11 -0
  192. package/src/api/account.ts +5 -2
  193. package/src/api/addresses.ts +1 -0
  194. package/src/api/authorization.ts +11 -0
  195. package/src/api/block.ts +2 -0
  196. package/src/api/contract.ts +20 -11
  197. package/src/api/crypto.ts +1 -0
  198. package/src/api/ethereum.ts +0 -1
  199. package/src/api/events.ts +44 -0
  200. package/src/api/fee.ts +1 -2
  201. package/src/api/fields.ts +2 -1
  202. package/src/api/keys.ts +8 -0
  203. package/src/api/log.ts +1 -0
  204. package/src/api/messaging.ts +2 -0
  205. package/src/api/node.ts +20 -0
  206. package/src/api/note.ts +1 -0
  207. package/src/api/protocol.ts +2 -0
  208. package/src/api/trees.ts +2 -0
  209. package/src/api/tx.ts +13 -0
  210. package/src/api/utils.ts +12 -19
  211. package/src/api/wallet.ts +31 -5
  212. package/src/authorization/call_authorization_request.ts +1 -1
  213. package/src/contract/base_contract_interaction.ts +9 -139
  214. package/src/contract/batch_call.ts +87 -79
  215. package/src/contract/contract.ts +8 -16
  216. package/src/contract/contract_base.ts +5 -15
  217. package/src/contract/contract_function_interaction.ts +72 -105
  218. package/src/contract/deploy_method.ts +123 -104
  219. package/src/contract/deploy_sent_tx.ts +19 -18
  220. package/src/contract/interaction_options.ts +121 -25
  221. package/src/contract/sent_tx.ts +6 -7
  222. package/src/contract/unsafe_contract.ts +1 -1
  223. package/src/contract/wait_for_proven.ts +4 -4
  224. package/src/deployment/broadcast_function.ts +1 -1
  225. package/src/deployment/contract_deployer.ts +3 -2
  226. package/src/deployment/publish_class.ts +1 -1
  227. package/src/deployment/publish_instance.ts +3 -8
  228. package/src/ethereum/portal_manager.ts +62 -40
  229. package/src/fee/fee_juice_payment_method_with_claim.ts +30 -19
  230. package/src/fee/fee_payment_method.ts +26 -0
  231. package/src/fee/private_fee_payment_method.ts +64 -43
  232. package/src/fee/public_fee_payment_method.ts +77 -51
  233. package/src/fee/sponsored_fee_payment.ts +9 -1
  234. package/src/utils/abi_types.ts +1 -1
  235. package/src/utils/authwit.ts +257 -39
  236. package/src/utils/cross_chain.ts +53 -0
  237. package/src/utils/fee_juice.ts +5 -4
  238. package/src/utils/field_compressed_string.ts +1 -1
  239. package/src/utils/pub_key.ts +3 -4
  240. package/src/wallet/account_entrypoint_meta_payment_method.ts +106 -0
  241. package/src/wallet/account_manager.ts +154 -0
  242. package/src/wallet/deploy_account_method.ts +126 -0
  243. package/src/wallet/index.ts +1 -32
  244. package/src/wallet/wallet.ts +358 -29
  245. package/dest/account_manager/account_manager.d.ts +0 -119
  246. package/dest/account_manager/account_manager.d.ts.map +0 -1
  247. package/dest/account_manager/account_manager.js +0 -202
  248. package/dest/account_manager/deploy_account_sent_tx.d.ts +0 -30
  249. package/dest/account_manager/deploy_account_sent_tx.d.ts.map +0 -1
  250. package/dest/account_manager/deploy_account_sent_tx.js +0 -29
  251. package/dest/account_manager/index.d.ts +0 -3
  252. package/dest/account_manager/index.d.ts.map +0 -1
  253. package/dest/account_manager/index.js +0 -2
  254. package/dest/api/interfaces.d.ts +0 -2
  255. package/dest/api/interfaces.d.ts.map +0 -1
  256. package/dest/api/interfaces.js +0 -1
  257. package/dest/api/log_id.d.ts +0 -2
  258. package/dest/api/log_id.d.ts.map +0 -1
  259. package/dest/api/log_id.js +0 -1
  260. package/dest/api/rpc.d.ts +0 -3
  261. package/dest/api/rpc.d.ts.map +0 -1
  262. package/dest/api/rpc.js +0 -2
  263. package/dest/api/tx_hash.d.ts +0 -2
  264. package/dest/api/tx_hash.d.ts.map +0 -1
  265. package/dest/api/tx_hash.js +0 -1
  266. package/dest/contract/deploy_proven_tx.d.ts +0 -21
  267. package/dest/contract/deploy_proven_tx.d.ts.map +0 -1
  268. package/dest/contract/deploy_proven_tx.js +0 -21
  269. package/dest/contract/proven_tx.d.ts +0 -21
  270. package/dest/contract/proven_tx.d.ts.map +0 -1
  271. package/dest/contract/proven_tx.js +0 -23
  272. package/dest/ethereum/l1_contracts.d.ts +0 -3
  273. package/dest/ethereum/l1_contracts.d.ts.map +0 -1
  274. package/dest/ethereum/l1_contracts.js +0 -13
  275. package/dest/fee/account_entrypoint_meta_payment_method.d.ts +0 -31
  276. package/dest/fee/account_entrypoint_meta_payment_method.d.ts.map +0 -1
  277. package/dest/fee/account_entrypoint_meta_payment_method.js +0 -64
  278. package/dest/fee/fee_juice_payment_method.d.ts +0 -14
  279. package/dest/fee/fee_juice_payment_method.d.ts.map +0 -1
  280. package/dest/fee/fee_juice_payment_method.js +0 -21
  281. package/dest/fee/utils.d.ts +0 -13
  282. package/dest/fee/utils.d.ts.map +0 -1
  283. package/dest/fee/utils.js +0 -32
  284. package/dest/index.d.ts +0 -59
  285. package/dest/index.d.ts.map +0 -1
  286. package/dest/index.js +0 -62
  287. package/dest/rpc_clients/node/index.d.ts +0 -12
  288. package/dest/rpc_clients/node/index.d.ts.map +0 -1
  289. package/dest/rpc_clients/node/index.js +0 -72
  290. package/dest/rpc_clients/pxe_client.d.ts +0 -10
  291. package/dest/rpc_clients/pxe_client.d.ts.map +0 -1
  292. package/dest/rpc_clients/pxe_client.js +0 -23
  293. package/dest/utils/pxe.d.ts +0 -4
  294. package/dest/utils/pxe.d.ts.map +0 -1
  295. package/dest/utils/pxe.js +0 -14
  296. package/dest/wallet/account_wallet.d.ts +0 -74
  297. package/dest/wallet/account_wallet.d.ts.map +0 -1
  298. package/dest/wallet/account_wallet.js +0 -232
  299. package/dest/wallet/account_wallet_with_private_key.d.ts +0 -26
  300. package/dest/wallet/account_wallet_with_private_key.d.ts.map +0 -1
  301. package/dest/wallet/base_wallet.d.ts +0 -48
  302. package/dest/wallet/base_wallet.d.ts.map +0 -1
  303. package/dest/wallet/base_wallet.js +0 -70
  304. package/dest/wallet/signerless_wallet.d.ts +0 -23
  305. package/dest/wallet/signerless_wallet.d.ts.map +0 -1
  306. package/dest/wallet/signerless_wallet.js +0 -33
  307. package/src/account_manager/account_manager.ts +0 -276
  308. package/src/account_manager/deploy_account_sent_tx.ts +0 -46
  309. package/src/account_manager/index.ts +0 -2
  310. package/src/api/interfaces.ts +0 -1
  311. package/src/api/log_id.ts +0 -1
  312. package/src/api/rpc.ts +0 -2
  313. package/src/api/tx_hash.ts +0 -1
  314. package/src/contract/deploy_proven_tx.ts +0 -45
  315. package/src/contract/proven_tx.ts +0 -36
  316. package/src/ethereum/l1_contracts.ts +0 -21
  317. package/src/fee/account_entrypoint_meta_payment_method.ts +0 -89
  318. package/src/fee/fee_juice_payment_method.ts +0 -25
  319. package/src/fee/utils.ts +0 -39
  320. package/src/index.ts +0 -85
  321. package/src/rpc_clients/node/index.ts +0 -77
  322. package/src/rpc_clients/pxe_client.ts +0 -25
  323. package/src/utils/pxe.ts +0 -17
  324. package/src/wallet/account_wallet.ts +0 -246
  325. package/src/wallet/base_wallet.ts +0 -141
  326. package/src/wallet/signerless_wallet.ts +0 -56
@@ -1,11 +1,2016 @@
1
- import type { AuthWitness } from '@aztec/stdlib/auth-witness';
2
- import type { PXE } from '@aztec/stdlib/interfaces/client';
3
- import type { AccountInterface } from '../account/interface.js';
4
- import type { IntentAction, IntentInnerHash } from '../utils/authwit.js';
1
+ import type { ChainInfo } from '@aztec/entrypoints/interfaces';
2
+ import { BlockNumber } from '@aztec/foundation/branded-types';
3
+ import type { Fr } from '@aztec/foundation/curves/bn254';
4
+ import { type AbiDecoded, type ContractArtifact, type EventMetadataDefinition, type FunctionCall, FunctionType } from '@aztec/stdlib/abi';
5
+ import { AuthWitness } from '@aztec/stdlib/auth-witness';
6
+ import type { AztecAddress } from '@aztec/stdlib/aztec-address';
7
+ import { type ContractClassMetadata, type ContractInstanceWithAddress, type ContractMetadata } from '@aztec/stdlib/contract';
8
+ import { Gas } from '@aztec/stdlib/gas';
9
+ import { type ApiSchemaFor, type ZodFor } from '@aztec/stdlib/schemas';
10
+ import { Capsule, HashedValues, TxHash, TxProfileResult, TxReceipt, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
11
+ import type { ExecutionPayload, InTx } from '@aztec/stdlib/tx';
12
+ import { z } from 'zod';
13
+ import type { FeeEstimationOptions, GasSettingsOption, ProfileInteractionOptions, SendInteractionOptions, SimulateInteractionOptions } from '../contract/interaction_options.js';
14
+ import type { CallIntent, IntentInnerHash } from '../utils/authwit.js';
15
+ /**
16
+ * A wrapper type that allows any item to be associated with an alias.
17
+ */
18
+ export type Aliased<T> = {
19
+ /**
20
+ * The alias
21
+ */
22
+ alias: string;
23
+ /**
24
+ * The item being aliased.
25
+ */
26
+ item: T;
27
+ };
28
+ /**
29
+ * Options for simulating interactions with the wallet. Overrides the fee settings of an interaction with
30
+ * a simplified version that only hints at the wallet wether the interaction contains a
31
+ * fee payment method or not
32
+ */
33
+ export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
34
+ /** The fee options */
35
+ fee?: GasSettingsOption & FeeEstimationOptions;
36
+ };
37
+ /**
38
+ * Options for profiling interactions with the wallet. Overrides the fee settings of an interaction with
39
+ * a simplified version that only hints at the wallet wether the interaction contains a
40
+ * fee payment method or not
41
+ */
42
+ export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
43
+ /** The fee options */
44
+ fee?: GasSettingsOption;
45
+ };
46
+ /**
47
+ * Options for sending/proving interactions with the wallet. Overrides the fee settings of an interaction with
48
+ * a simplified version that only hints at the wallet wether the interaction contains a
49
+ * fee payment method or not
50
+ */
51
+ export type SendOptions = Omit<SendInteractionOptions, 'fee'> & {
52
+ /** The fee options */
53
+ fee?: GasSettingsOption;
54
+ };
55
+ /**
56
+ * Helper type that represents all methods that can be batched.
57
+ */
58
+ export type BatchableMethods = Pick<Wallet, 'registerContract' | 'sendTx' | 'registerSender' | 'simulateUtility' | 'simulateTx'>;
59
+ /**
60
+ * From the batchable methods, we create a type that represents a method call with its name and arguments.
61
+ * This is what the wallet will accept as arguments to the `batch` method.
62
+ */
63
+ export type BatchedMethod<T extends keyof BatchableMethods> = {
64
+ /** The method name */
65
+ name: T;
66
+ /** The method arguments */
67
+ args: Parameters<BatchableMethods[T]>;
68
+ };
69
+ /**
70
+ * Helper type to extract the return type of a batched method
71
+ */
72
+ export type BatchedMethodResult<T> = T extends BatchedMethod<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
73
+ /**
74
+ * Wrapper type for batch results that includes the method name for discriminated union deserialization.
75
+ * Each result is wrapped as \{ name: 'methodName', result: ActualResult \} to allow proper deserialization
76
+ * when AztecAddress and TxHash would otherwise be ambiguous (both are hex strings).
77
+ */
78
+ export type BatchedMethodResultWrapper<T extends BatchedMethod<keyof BatchableMethods>> = {
79
+ /** The method name */
80
+ name: T['name'];
81
+ /** The method result */
82
+ result: BatchedMethodResult<T>;
83
+ };
84
+ /**
85
+ * Maps a tuple of BatchedMethod to a tuple of their wrapped return types
86
+ */
87
+ export type BatchResults<T extends readonly BatchedMethod<keyof BatchableMethods>[]> = {
88
+ [K in keyof T]: BatchedMethodResultWrapper<T[K]>;
89
+ };
90
+ /**
91
+ * Filter options when querying private events.
92
+ */
93
+ export type PrivateEventFilter = {
94
+ /** The address of the contract that emitted the events. */
95
+ contractAddress: AztecAddress;
96
+ /** Addresses of accounts that are in scope for this filter. */
97
+ scopes: AztecAddress[];
98
+ /** Transaction in which the events were emitted. */
99
+ txHash?: TxHash;
100
+ /** The block number from which to start fetching events (inclusive).
101
+ * Optional. If provided, it must be greater or equal than 1.
102
+ * Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
103
+ * */
104
+ fromBlock?: BlockNumber;
105
+ /** The block number until which to fetch logs (not inclusive).
106
+ * Optional. If provided, it must be greater than fromBlock.
107
+ * Defaults to the latest known block to PXE + 1.
108
+ */
109
+ toBlock?: BlockNumber;
110
+ };
111
+ /**
112
+ * An ABI decoded private event with associated metadata.
113
+ */
114
+ export type PrivateEvent<T> = {
115
+ /** The ABI decoded event */
116
+ event: T;
117
+ /** Metadata describing event context information such as tx and block */
118
+ metadata: InTx;
119
+ };
5
120
  /**
6
121
  * The wallet interface.
7
122
  */
8
- export type Wallet = AccountInterface & Pick<PXE, 'simulateTx' | 'simulateUtility' | 'profileTx' | 'sendTx' | 'getContractClassMetadata' | 'getContractMetadata' | 'registerContract' | 'registerContractClass' | 'proveTx' | 'getNodeInfo' | 'getPXEInfo' | 'getCurrentBaseFees' | 'updateContract' | 'registerSender' | 'getSenders' | 'removeSender' | 'getTxReceipt' | 'getPrivateEvents' | 'getPublicEvents'> & {
9
- createAuthWit(intent: IntentInnerHash | IntentAction): Promise<AuthWitness>;
123
+ export type Wallet = {
124
+ getContractClassMetadata(id: Fr, includeArtifact?: boolean): Promise<ContractClassMetadata>;
125
+ getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
126
+ getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
127
+ getChainInfo(): Promise<ChainInfo>;
128
+ getTxReceipt(txHash: TxHash): Promise<TxReceipt>;
129
+ registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
130
+ getAddressBook(): Promise<Aliased<AztecAddress>[]>;
131
+ getAccounts(): Promise<Aliased<AztecAddress>[]>;
132
+ registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
133
+ simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
134
+ simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
135
+ profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
136
+ sendTx(exec: ExecutionPayload, opts: SendOptions): Promise<TxHash>;
137
+ createAuthWit(from: AztecAddress, messageHashOrIntent: Fr | IntentInnerHash | CallIntent): Promise<AuthWitness>;
138
+ batch<const T extends readonly BatchedMethod<keyof BatchableMethods>[]>(methods: T): Promise<BatchResults<T>>;
10
139
  };
11
- //# sourceMappingURL=wallet.d.ts.map
140
+ export declare const FunctionCallSchema: z.ZodObject<{
141
+ name: z.ZodString;
142
+ to: ZodFor<AztecAddress>;
143
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
144
+ type: z.ZodNativeEnum<typeof FunctionType>;
145
+ isStatic: z.ZodBoolean;
146
+ hideMsgSender: z.ZodBoolean;
147
+ args: z.ZodArray<ZodFor<Fr>, "many">;
148
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
149
+ }, "strip", z.ZodTypeAny, {
150
+ name: string;
151
+ to: AztecAddress;
152
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
153
+ type: FunctionType;
154
+ isStatic: boolean;
155
+ hideMsgSender: boolean;
156
+ args: Fr[];
157
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
158
+ }, {
159
+ name: string;
160
+ to?: any;
161
+ selector?: any;
162
+ type: FunctionType;
163
+ isStatic: boolean;
164
+ hideMsgSender: boolean;
165
+ args: any[];
166
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
167
+ }>;
168
+ export declare const ExecutionPayloadSchema: z.ZodObject<{
169
+ calls: z.ZodArray<z.ZodObject<{
170
+ name: z.ZodString;
171
+ to: ZodFor<AztecAddress>;
172
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
173
+ type: z.ZodNativeEnum<typeof FunctionType>;
174
+ isStatic: z.ZodBoolean;
175
+ hideMsgSender: z.ZodBoolean;
176
+ args: z.ZodArray<ZodFor<Fr>, "many">;
177
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
178
+ }, "strip", z.ZodTypeAny, {
179
+ name: string;
180
+ to: AztecAddress;
181
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
182
+ type: FunctionType;
183
+ isStatic: boolean;
184
+ hideMsgSender: boolean;
185
+ args: Fr[];
186
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
187
+ }, {
188
+ name: string;
189
+ to?: any;
190
+ selector?: any;
191
+ type: FunctionType;
192
+ isStatic: boolean;
193
+ hideMsgSender: boolean;
194
+ args: any[];
195
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
196
+ }>, "many">;
197
+ authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
198
+ capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
199
+ extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
200
+ feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<AztecAddress>>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ calls: {
203
+ name: string;
204
+ to: AztecAddress;
205
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
206
+ type: FunctionType;
207
+ isStatic: boolean;
208
+ hideMsgSender: boolean;
209
+ args: Fr[];
210
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
211
+ }[];
212
+ authWitnesses: AuthWitness[];
213
+ capsules: Capsule[];
214
+ extraHashedArgs: HashedValues[];
215
+ feePayer?: AztecAddress | undefined;
216
+ }, {
217
+ calls: {
218
+ name: string;
219
+ to?: any;
220
+ selector?: any;
221
+ type: FunctionType;
222
+ isStatic: boolean;
223
+ hideMsgSender: boolean;
224
+ args: any[];
225
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
226
+ }[];
227
+ authWitnesses: string[];
228
+ capsules: string[];
229
+ extraHashedArgs: any[];
230
+ feePayer?: any;
231
+ }>;
232
+ export declare const GasSettingsOptionSchema: z.ZodObject<{
233
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
234
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
235
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
236
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ daGas: number;
239
+ l2Gas: number;
240
+ }, {
241
+ daGas: string | number | bigint;
242
+ l2Gas: string | number | bigint;
243
+ }>, Gas, {
244
+ daGas: string | number | bigint;
245
+ l2Gas: string | number | bigint;
246
+ }>>;
247
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
248
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
249
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ daGas: number;
252
+ l2Gas: number;
253
+ }, {
254
+ daGas: string | number | bigint;
255
+ l2Gas: string | number | bigint;
256
+ }>, Gas, {
257
+ daGas: string | number | bigint;
258
+ l2Gas: string | number | bigint;
259
+ }>>;
260
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
261
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
262
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ feePerDaGas: bigint;
265
+ feePerL2Gas: bigint;
266
+ }, {
267
+ feePerDaGas: string | number | bigint;
268
+ feePerL2Gas: string | number | bigint;
269
+ }>>;
270
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
271
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
272
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
273
+ }, "strip", z.ZodTypeAny, {
274
+ feePerDaGas: bigint;
275
+ feePerL2Gas: bigint;
276
+ }, {
277
+ feePerDaGas: string | number | bigint;
278
+ feePerL2Gas: string | number | bigint;
279
+ }>>;
280
+ }, "strip", z.ZodTypeAny, {
281
+ gasLimits?: Gas | undefined;
282
+ teardownGasLimits?: Gas | undefined;
283
+ maxFeePerGas?: {
284
+ feePerDaGas: bigint;
285
+ feePerL2Gas: bigint;
286
+ } | undefined;
287
+ maxPriorityFeePerGas?: {
288
+ feePerDaGas: bigint;
289
+ feePerL2Gas: bigint;
290
+ } | undefined;
291
+ }, {
292
+ gasLimits?: {
293
+ daGas: string | number | bigint;
294
+ l2Gas: string | number | bigint;
295
+ } | undefined;
296
+ teardownGasLimits?: {
297
+ daGas: string | number | bigint;
298
+ l2Gas: string | number | bigint;
299
+ } | undefined;
300
+ maxFeePerGas?: {
301
+ feePerDaGas: string | number | bigint;
302
+ feePerL2Gas: string | number | bigint;
303
+ } | undefined;
304
+ maxPriorityFeePerGas?: {
305
+ feePerDaGas: string | number | bigint;
306
+ feePerL2Gas: string | number | bigint;
307
+ } | undefined;
308
+ }>>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ gasSettings?: {
311
+ gasLimits?: Gas | undefined;
312
+ teardownGasLimits?: Gas | undefined;
313
+ maxFeePerGas?: {
314
+ feePerDaGas: bigint;
315
+ feePerL2Gas: bigint;
316
+ } | undefined;
317
+ maxPriorityFeePerGas?: {
318
+ feePerDaGas: bigint;
319
+ feePerL2Gas: bigint;
320
+ } | undefined;
321
+ } | undefined;
322
+ }, {
323
+ gasSettings?: {
324
+ gasLimits?: {
325
+ daGas: string | number | bigint;
326
+ l2Gas: string | number | bigint;
327
+ } | undefined;
328
+ teardownGasLimits?: {
329
+ daGas: string | number | bigint;
330
+ l2Gas: string | number | bigint;
331
+ } | undefined;
332
+ maxFeePerGas?: {
333
+ feePerDaGas: string | number | bigint;
334
+ feePerL2Gas: string | number | bigint;
335
+ } | undefined;
336
+ maxPriorityFeePerGas?: {
337
+ feePerDaGas: string | number | bigint;
338
+ feePerL2Gas: string | number | bigint;
339
+ } | undefined;
340
+ } | undefined;
341
+ }>;
342
+ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
343
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
344
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
345
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
346
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ daGas: number;
349
+ l2Gas: number;
350
+ }, {
351
+ daGas: string | number | bigint;
352
+ l2Gas: string | number | bigint;
353
+ }>, Gas, {
354
+ daGas: string | number | bigint;
355
+ l2Gas: string | number | bigint;
356
+ }>>;
357
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
358
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
359
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ daGas: number;
362
+ l2Gas: number;
363
+ }, {
364
+ daGas: string | number | bigint;
365
+ l2Gas: string | number | bigint;
366
+ }>, Gas, {
367
+ daGas: string | number | bigint;
368
+ l2Gas: string | number | bigint;
369
+ }>>;
370
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
371
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
372
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
373
+ }, "strip", z.ZodTypeAny, {
374
+ feePerDaGas: bigint;
375
+ feePerL2Gas: bigint;
376
+ }, {
377
+ feePerDaGas: string | number | bigint;
378
+ feePerL2Gas: string | number | bigint;
379
+ }>>;
380
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
381
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
382
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
383
+ }, "strip", z.ZodTypeAny, {
384
+ feePerDaGas: bigint;
385
+ feePerL2Gas: bigint;
386
+ }, {
387
+ feePerDaGas: string | number | bigint;
388
+ feePerL2Gas: string | number | bigint;
389
+ }>>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ gasLimits?: Gas | undefined;
392
+ teardownGasLimits?: Gas | undefined;
393
+ maxFeePerGas?: {
394
+ feePerDaGas: bigint;
395
+ feePerL2Gas: bigint;
396
+ } | undefined;
397
+ maxPriorityFeePerGas?: {
398
+ feePerDaGas: bigint;
399
+ feePerL2Gas: bigint;
400
+ } | undefined;
401
+ }, {
402
+ gasLimits?: {
403
+ daGas: string | number | bigint;
404
+ l2Gas: string | number | bigint;
405
+ } | undefined;
406
+ teardownGasLimits?: {
407
+ daGas: string | number | bigint;
408
+ l2Gas: string | number | bigint;
409
+ } | undefined;
410
+ maxFeePerGas?: {
411
+ feePerDaGas: string | number | bigint;
412
+ feePerL2Gas: string | number | bigint;
413
+ } | undefined;
414
+ maxPriorityFeePerGas?: {
415
+ feePerDaGas: string | number | bigint;
416
+ feePerL2Gas: string | number | bigint;
417
+ } | undefined;
418
+ }>>;
419
+ } & {
420
+ estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
421
+ estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
422
+ }, "strip", z.ZodTypeAny, {
423
+ gasSettings?: {
424
+ gasLimits?: Gas | undefined;
425
+ teardownGasLimits?: Gas | undefined;
426
+ maxFeePerGas?: {
427
+ feePerDaGas: bigint;
428
+ feePerL2Gas: bigint;
429
+ } | undefined;
430
+ maxPriorityFeePerGas?: {
431
+ feePerDaGas: bigint;
432
+ feePerL2Gas: bigint;
433
+ } | undefined;
434
+ } | undefined;
435
+ estimatedGasPadding?: number | undefined;
436
+ estimateGas?: boolean | undefined;
437
+ }, {
438
+ gasSettings?: {
439
+ gasLimits?: {
440
+ daGas: string | number | bigint;
441
+ l2Gas: string | number | bigint;
442
+ } | undefined;
443
+ teardownGasLimits?: {
444
+ daGas: string | number | bigint;
445
+ l2Gas: string | number | bigint;
446
+ } | undefined;
447
+ maxFeePerGas?: {
448
+ feePerDaGas: string | number | bigint;
449
+ feePerL2Gas: string | number | bigint;
450
+ } | undefined;
451
+ maxPriorityFeePerGas?: {
452
+ feePerDaGas: string | number | bigint;
453
+ feePerL2Gas: string | number | bigint;
454
+ } | undefined;
455
+ } | undefined;
456
+ estimatedGasPadding?: number | undefined;
457
+ estimateGas?: boolean | undefined;
458
+ }>;
459
+ export declare const SendOptionsSchema: z.ZodObject<{
460
+ from: ZodFor<AztecAddress>;
461
+ authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
462
+ capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
463
+ fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
464
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
465
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
466
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
467
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
468
+ }, "strip", z.ZodTypeAny, {
469
+ daGas: number;
470
+ l2Gas: number;
471
+ }, {
472
+ daGas: string | number | bigint;
473
+ l2Gas: string | number | bigint;
474
+ }>, Gas, {
475
+ daGas: string | number | bigint;
476
+ l2Gas: string | number | bigint;
477
+ }>>;
478
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
479
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
480
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ daGas: number;
483
+ l2Gas: number;
484
+ }, {
485
+ daGas: string | number | bigint;
486
+ l2Gas: string | number | bigint;
487
+ }>, Gas, {
488
+ daGas: string | number | bigint;
489
+ l2Gas: string | number | bigint;
490
+ }>>;
491
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
492
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
493
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ feePerDaGas: bigint;
496
+ feePerL2Gas: bigint;
497
+ }, {
498
+ feePerDaGas: string | number | bigint;
499
+ feePerL2Gas: string | number | bigint;
500
+ }>>;
501
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
502
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
503
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ feePerDaGas: bigint;
506
+ feePerL2Gas: bigint;
507
+ }, {
508
+ feePerDaGas: string | number | bigint;
509
+ feePerL2Gas: string | number | bigint;
510
+ }>>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ gasLimits?: Gas | undefined;
513
+ teardownGasLimits?: Gas | undefined;
514
+ maxFeePerGas?: {
515
+ feePerDaGas: bigint;
516
+ feePerL2Gas: bigint;
517
+ } | undefined;
518
+ maxPriorityFeePerGas?: {
519
+ feePerDaGas: bigint;
520
+ feePerL2Gas: bigint;
521
+ } | undefined;
522
+ }, {
523
+ gasLimits?: {
524
+ daGas: string | number | bigint;
525
+ l2Gas: string | number | bigint;
526
+ } | undefined;
527
+ teardownGasLimits?: {
528
+ daGas: string | number | bigint;
529
+ l2Gas: string | number | bigint;
530
+ } | undefined;
531
+ maxFeePerGas?: {
532
+ feePerDaGas: string | number | bigint;
533
+ feePerL2Gas: string | number | bigint;
534
+ } | undefined;
535
+ maxPriorityFeePerGas?: {
536
+ feePerDaGas: string | number | bigint;
537
+ feePerL2Gas: string | number | bigint;
538
+ } | undefined;
539
+ }>>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ gasSettings?: {
542
+ gasLimits?: Gas | undefined;
543
+ teardownGasLimits?: Gas | undefined;
544
+ maxFeePerGas?: {
545
+ feePerDaGas: bigint;
546
+ feePerL2Gas: bigint;
547
+ } | undefined;
548
+ maxPriorityFeePerGas?: {
549
+ feePerDaGas: bigint;
550
+ feePerL2Gas: bigint;
551
+ } | undefined;
552
+ } | undefined;
553
+ }, {
554
+ gasSettings?: {
555
+ gasLimits?: {
556
+ daGas: string | number | bigint;
557
+ l2Gas: string | number | bigint;
558
+ } | undefined;
559
+ teardownGasLimits?: {
560
+ daGas: string | number | bigint;
561
+ l2Gas: string | number | bigint;
562
+ } | undefined;
563
+ maxFeePerGas?: {
564
+ feePerDaGas: string | number | bigint;
565
+ feePerL2Gas: string | number | bigint;
566
+ } | undefined;
567
+ maxPriorityFeePerGas?: {
568
+ feePerDaGas: string | number | bigint;
569
+ feePerL2Gas: string | number | bigint;
570
+ } | undefined;
571
+ } | undefined;
572
+ }>>;
573
+ }, "strip", z.ZodTypeAny, {
574
+ from: AztecAddress;
575
+ authWitnesses?: AuthWitness[] | undefined;
576
+ capsules?: Capsule[] | undefined;
577
+ fee?: {
578
+ gasSettings?: {
579
+ gasLimits?: Gas | undefined;
580
+ teardownGasLimits?: Gas | undefined;
581
+ maxFeePerGas?: {
582
+ feePerDaGas: bigint;
583
+ feePerL2Gas: bigint;
584
+ } | undefined;
585
+ maxPriorityFeePerGas?: {
586
+ feePerDaGas: bigint;
587
+ feePerL2Gas: bigint;
588
+ } | undefined;
589
+ } | undefined;
590
+ } | undefined;
591
+ }, {
592
+ from?: any;
593
+ authWitnesses?: string[] | undefined;
594
+ capsules?: string[] | undefined;
595
+ fee?: {
596
+ gasSettings?: {
597
+ gasLimits?: {
598
+ daGas: string | number | bigint;
599
+ l2Gas: string | number | bigint;
600
+ } | undefined;
601
+ teardownGasLimits?: {
602
+ daGas: string | number | bigint;
603
+ l2Gas: string | number | bigint;
604
+ } | undefined;
605
+ maxFeePerGas?: {
606
+ feePerDaGas: string | number | bigint;
607
+ feePerL2Gas: string | number | bigint;
608
+ } | undefined;
609
+ maxPriorityFeePerGas?: {
610
+ feePerDaGas: string | number | bigint;
611
+ feePerL2Gas: string | number | bigint;
612
+ } | undefined;
613
+ } | undefined;
614
+ } | undefined;
615
+ }>;
616
+ export declare const SimulateOptionsSchema: z.ZodObject<{
617
+ from: ZodFor<AztecAddress>;
618
+ authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
619
+ capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
620
+ fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
621
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
622
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
623
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
624
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ daGas: number;
627
+ l2Gas: number;
628
+ }, {
629
+ daGas: string | number | bigint;
630
+ l2Gas: string | number | bigint;
631
+ }>, Gas, {
632
+ daGas: string | number | bigint;
633
+ l2Gas: string | number | bigint;
634
+ }>>;
635
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
636
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
637
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
638
+ }, "strip", z.ZodTypeAny, {
639
+ daGas: number;
640
+ l2Gas: number;
641
+ }, {
642
+ daGas: string | number | bigint;
643
+ l2Gas: string | number | bigint;
644
+ }>, Gas, {
645
+ daGas: string | number | bigint;
646
+ l2Gas: string | number | bigint;
647
+ }>>;
648
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
649
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
650
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
651
+ }, "strip", z.ZodTypeAny, {
652
+ feePerDaGas: bigint;
653
+ feePerL2Gas: bigint;
654
+ }, {
655
+ feePerDaGas: string | number | bigint;
656
+ feePerL2Gas: string | number | bigint;
657
+ }>>;
658
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
659
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
660
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ feePerDaGas: bigint;
663
+ feePerL2Gas: bigint;
664
+ }, {
665
+ feePerDaGas: string | number | bigint;
666
+ feePerL2Gas: string | number | bigint;
667
+ }>>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ gasLimits?: Gas | undefined;
670
+ teardownGasLimits?: Gas | undefined;
671
+ maxFeePerGas?: {
672
+ feePerDaGas: bigint;
673
+ feePerL2Gas: bigint;
674
+ } | undefined;
675
+ maxPriorityFeePerGas?: {
676
+ feePerDaGas: bigint;
677
+ feePerL2Gas: bigint;
678
+ } | undefined;
679
+ }, {
680
+ gasLimits?: {
681
+ daGas: string | number | bigint;
682
+ l2Gas: string | number | bigint;
683
+ } | undefined;
684
+ teardownGasLimits?: {
685
+ daGas: string | number | bigint;
686
+ l2Gas: string | number | bigint;
687
+ } | undefined;
688
+ maxFeePerGas?: {
689
+ feePerDaGas: string | number | bigint;
690
+ feePerL2Gas: string | number | bigint;
691
+ } | undefined;
692
+ maxPriorityFeePerGas?: {
693
+ feePerDaGas: string | number | bigint;
694
+ feePerL2Gas: string | number | bigint;
695
+ } | undefined;
696
+ }>>;
697
+ } & {
698
+ estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
699
+ estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ gasSettings?: {
702
+ gasLimits?: Gas | undefined;
703
+ teardownGasLimits?: Gas | undefined;
704
+ maxFeePerGas?: {
705
+ feePerDaGas: bigint;
706
+ feePerL2Gas: bigint;
707
+ } | undefined;
708
+ maxPriorityFeePerGas?: {
709
+ feePerDaGas: bigint;
710
+ feePerL2Gas: bigint;
711
+ } | undefined;
712
+ } | undefined;
713
+ estimatedGasPadding?: number | undefined;
714
+ estimateGas?: boolean | undefined;
715
+ }, {
716
+ gasSettings?: {
717
+ gasLimits?: {
718
+ daGas: string | number | bigint;
719
+ l2Gas: string | number | bigint;
720
+ } | undefined;
721
+ teardownGasLimits?: {
722
+ daGas: string | number | bigint;
723
+ l2Gas: string | number | bigint;
724
+ } | undefined;
725
+ maxFeePerGas?: {
726
+ feePerDaGas: string | number | bigint;
727
+ feePerL2Gas: string | number | bigint;
728
+ } | undefined;
729
+ maxPriorityFeePerGas?: {
730
+ feePerDaGas: string | number | bigint;
731
+ feePerL2Gas: string | number | bigint;
732
+ } | undefined;
733
+ } | undefined;
734
+ estimatedGasPadding?: number | undefined;
735
+ estimateGas?: boolean | undefined;
736
+ }>>;
737
+ skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
738
+ skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
739
+ includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
740
+ }, "strip", z.ZodTypeAny, {
741
+ from: AztecAddress;
742
+ authWitnesses?: AuthWitness[] | undefined;
743
+ capsules?: Capsule[] | undefined;
744
+ fee?: {
745
+ gasSettings?: {
746
+ gasLimits?: Gas | undefined;
747
+ teardownGasLimits?: Gas | undefined;
748
+ maxFeePerGas?: {
749
+ feePerDaGas: bigint;
750
+ feePerL2Gas: bigint;
751
+ } | undefined;
752
+ maxPriorityFeePerGas?: {
753
+ feePerDaGas: bigint;
754
+ feePerL2Gas: bigint;
755
+ } | undefined;
756
+ } | undefined;
757
+ estimatedGasPadding?: number | undefined;
758
+ estimateGas?: boolean | undefined;
759
+ } | undefined;
760
+ skipTxValidation?: boolean | undefined;
761
+ skipFeeEnforcement?: boolean | undefined;
762
+ includeMetadata?: boolean | undefined;
763
+ }, {
764
+ from?: any;
765
+ authWitnesses?: string[] | undefined;
766
+ capsules?: string[] | undefined;
767
+ fee?: {
768
+ gasSettings?: {
769
+ gasLimits?: {
770
+ daGas: string | number | bigint;
771
+ l2Gas: string | number | bigint;
772
+ } | undefined;
773
+ teardownGasLimits?: {
774
+ daGas: string | number | bigint;
775
+ l2Gas: string | number | bigint;
776
+ } | undefined;
777
+ maxFeePerGas?: {
778
+ feePerDaGas: string | number | bigint;
779
+ feePerL2Gas: string | number | bigint;
780
+ } | undefined;
781
+ maxPriorityFeePerGas?: {
782
+ feePerDaGas: string | number | bigint;
783
+ feePerL2Gas: string | number | bigint;
784
+ } | undefined;
785
+ } | undefined;
786
+ estimatedGasPadding?: number | undefined;
787
+ estimateGas?: boolean | undefined;
788
+ } | undefined;
789
+ skipTxValidation?: boolean | undefined;
790
+ skipFeeEnforcement?: boolean | undefined;
791
+ includeMetadata?: boolean | undefined;
792
+ }>;
793
+ export declare const ProfileOptionsSchema: z.ZodObject<{
794
+ from: ZodFor<AztecAddress>;
795
+ authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
796
+ capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
797
+ fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
798
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
799
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
800
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
801
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
802
+ }, "strip", z.ZodTypeAny, {
803
+ daGas: number;
804
+ l2Gas: number;
805
+ }, {
806
+ daGas: string | number | bigint;
807
+ l2Gas: string | number | bigint;
808
+ }>, Gas, {
809
+ daGas: string | number | bigint;
810
+ l2Gas: string | number | bigint;
811
+ }>>;
812
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
813
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
814
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ daGas: number;
817
+ l2Gas: number;
818
+ }, {
819
+ daGas: string | number | bigint;
820
+ l2Gas: string | number | bigint;
821
+ }>, Gas, {
822
+ daGas: string | number | bigint;
823
+ l2Gas: string | number | bigint;
824
+ }>>;
825
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
826
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
827
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
828
+ }, "strip", z.ZodTypeAny, {
829
+ feePerDaGas: bigint;
830
+ feePerL2Gas: bigint;
831
+ }, {
832
+ feePerDaGas: string | number | bigint;
833
+ feePerL2Gas: string | number | bigint;
834
+ }>>;
835
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
836
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
837
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
838
+ }, "strip", z.ZodTypeAny, {
839
+ feePerDaGas: bigint;
840
+ feePerL2Gas: bigint;
841
+ }, {
842
+ feePerDaGas: string | number | bigint;
843
+ feePerL2Gas: string | number | bigint;
844
+ }>>;
845
+ }, "strip", z.ZodTypeAny, {
846
+ gasLimits?: Gas | undefined;
847
+ teardownGasLimits?: Gas | undefined;
848
+ maxFeePerGas?: {
849
+ feePerDaGas: bigint;
850
+ feePerL2Gas: bigint;
851
+ } | undefined;
852
+ maxPriorityFeePerGas?: {
853
+ feePerDaGas: bigint;
854
+ feePerL2Gas: bigint;
855
+ } | undefined;
856
+ }, {
857
+ gasLimits?: {
858
+ daGas: string | number | bigint;
859
+ l2Gas: string | number | bigint;
860
+ } | undefined;
861
+ teardownGasLimits?: {
862
+ daGas: string | number | bigint;
863
+ l2Gas: string | number | bigint;
864
+ } | undefined;
865
+ maxFeePerGas?: {
866
+ feePerDaGas: string | number | bigint;
867
+ feePerL2Gas: string | number | bigint;
868
+ } | undefined;
869
+ maxPriorityFeePerGas?: {
870
+ feePerDaGas: string | number | bigint;
871
+ feePerL2Gas: string | number | bigint;
872
+ } | undefined;
873
+ }>>;
874
+ } & {
875
+ estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
876
+ estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ gasSettings?: {
879
+ gasLimits?: Gas | undefined;
880
+ teardownGasLimits?: Gas | undefined;
881
+ maxFeePerGas?: {
882
+ feePerDaGas: bigint;
883
+ feePerL2Gas: bigint;
884
+ } | undefined;
885
+ maxPriorityFeePerGas?: {
886
+ feePerDaGas: bigint;
887
+ feePerL2Gas: bigint;
888
+ } | undefined;
889
+ } | undefined;
890
+ estimatedGasPadding?: number | undefined;
891
+ estimateGas?: boolean | undefined;
892
+ }, {
893
+ gasSettings?: {
894
+ gasLimits?: {
895
+ daGas: string | number | bigint;
896
+ l2Gas: string | number | bigint;
897
+ } | undefined;
898
+ teardownGasLimits?: {
899
+ daGas: string | number | bigint;
900
+ l2Gas: string | number | bigint;
901
+ } | undefined;
902
+ maxFeePerGas?: {
903
+ feePerDaGas: string | number | bigint;
904
+ feePerL2Gas: string | number | bigint;
905
+ } | undefined;
906
+ maxPriorityFeePerGas?: {
907
+ feePerDaGas: string | number | bigint;
908
+ feePerL2Gas: string | number | bigint;
909
+ } | undefined;
910
+ } | undefined;
911
+ estimatedGasPadding?: number | undefined;
912
+ estimateGas?: boolean | undefined;
913
+ }>>;
914
+ skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
915
+ skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
916
+ includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
917
+ } & {
918
+ profileMode: z.ZodEnum<["gates", "execution-steps", "full"]>;
919
+ skipProofGeneration: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
920
+ }, "strip", z.ZodTypeAny, {
921
+ from: AztecAddress;
922
+ authWitnesses?: AuthWitness[] | undefined;
923
+ capsules?: Capsule[] | undefined;
924
+ fee?: {
925
+ gasSettings?: {
926
+ gasLimits?: Gas | undefined;
927
+ teardownGasLimits?: Gas | undefined;
928
+ maxFeePerGas?: {
929
+ feePerDaGas: bigint;
930
+ feePerL2Gas: bigint;
931
+ } | undefined;
932
+ maxPriorityFeePerGas?: {
933
+ feePerDaGas: bigint;
934
+ feePerL2Gas: bigint;
935
+ } | undefined;
936
+ } | undefined;
937
+ estimatedGasPadding?: number | undefined;
938
+ estimateGas?: boolean | undefined;
939
+ } | undefined;
940
+ skipTxValidation?: boolean | undefined;
941
+ skipFeeEnforcement?: boolean | undefined;
942
+ includeMetadata?: boolean | undefined;
943
+ profileMode: "execution-steps" | "full" | "gates";
944
+ skipProofGeneration?: boolean | undefined;
945
+ }, {
946
+ from?: any;
947
+ authWitnesses?: string[] | undefined;
948
+ capsules?: string[] | undefined;
949
+ fee?: {
950
+ gasSettings?: {
951
+ gasLimits?: {
952
+ daGas: string | number | bigint;
953
+ l2Gas: string | number | bigint;
954
+ } | undefined;
955
+ teardownGasLimits?: {
956
+ daGas: string | number | bigint;
957
+ l2Gas: string | number | bigint;
958
+ } | undefined;
959
+ maxFeePerGas?: {
960
+ feePerDaGas: string | number | bigint;
961
+ feePerL2Gas: string | number | bigint;
962
+ } | undefined;
963
+ maxPriorityFeePerGas?: {
964
+ feePerDaGas: string | number | bigint;
965
+ feePerL2Gas: string | number | bigint;
966
+ } | undefined;
967
+ } | undefined;
968
+ estimatedGasPadding?: number | undefined;
969
+ estimateGas?: boolean | undefined;
970
+ } | undefined;
971
+ skipTxValidation?: boolean | undefined;
972
+ skipFeeEnforcement?: boolean | undefined;
973
+ includeMetadata?: boolean | undefined;
974
+ profileMode: "execution-steps" | "full" | "gates";
975
+ skipProofGeneration?: boolean | undefined;
976
+ }>;
977
+ export declare const MessageHashOrIntentSchema: z.ZodUnion<[ZodFor<Fr>, z.ZodObject<{
978
+ consumer: ZodFor<AztecAddress>;
979
+ innerHash: ZodFor<Fr>;
980
+ }, "strip", z.ZodTypeAny, {
981
+ consumer: AztecAddress;
982
+ innerHash: Fr;
983
+ }, {
984
+ consumer?: any;
985
+ innerHash?: any;
986
+ }>, z.ZodObject<{
987
+ caller: ZodFor<AztecAddress>;
988
+ call: z.ZodObject<{
989
+ name: z.ZodString;
990
+ to: ZodFor<AztecAddress>;
991
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
992
+ type: z.ZodNativeEnum<typeof FunctionType>;
993
+ isStatic: z.ZodBoolean;
994
+ hideMsgSender: z.ZodBoolean;
995
+ args: z.ZodArray<ZodFor<Fr>, "many">;
996
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
997
+ }, "strip", z.ZodTypeAny, {
998
+ name: string;
999
+ to: AztecAddress;
1000
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1001
+ type: FunctionType;
1002
+ isStatic: boolean;
1003
+ hideMsgSender: boolean;
1004
+ args: Fr[];
1005
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1006
+ }, {
1007
+ name: string;
1008
+ to?: any;
1009
+ selector?: any;
1010
+ type: FunctionType;
1011
+ isStatic: boolean;
1012
+ hideMsgSender: boolean;
1013
+ args: any[];
1014
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1015
+ }>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ caller: AztecAddress;
1018
+ call: {
1019
+ name: string;
1020
+ to: AztecAddress;
1021
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1022
+ type: FunctionType;
1023
+ isStatic: boolean;
1024
+ hideMsgSender: boolean;
1025
+ args: Fr[];
1026
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1027
+ };
1028
+ }, {
1029
+ caller?: any;
1030
+ call: {
1031
+ name: string;
1032
+ to?: any;
1033
+ selector?: any;
1034
+ type: FunctionType;
1035
+ isStatic: boolean;
1036
+ hideMsgSender: boolean;
1037
+ args: any[];
1038
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1039
+ };
1040
+ }>]>;
1041
+ export declare const BatchedMethodSchema: z.ZodUnion<[z.ZodObject<{
1042
+ name: z.ZodLiteral<"registerSender">;
1043
+ args: z.ZodTuple<[ZodFor<AztecAddress>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodString>], null>;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ name: "registerSender";
1046
+ args: [AztecAddress, string | undefined];
1047
+ }, {
1048
+ name: "registerSender";
1049
+ args: [any, string | undefined];
1050
+ }>, z.ZodObject<{
1051
+ name: z.ZodLiteral<"registerContract">;
1052
+ args: z.ZodTuple<[z.ZodIntersection<z.ZodObject<{
1053
+ version: z.ZodLiteral<1>;
1054
+ salt: ZodFor<Fr>;
1055
+ deployer: ZodFor<AztecAddress>;
1056
+ currentContractClassId: ZodFor<Fr>;
1057
+ originalContractClassId: ZodFor<Fr>;
1058
+ initializationHash: ZodFor<Fr>;
1059
+ publicKeys: z.ZodEffects<z.ZodObject<{
1060
+ masterNullifierPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1061
+ masterIncomingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1062
+ masterOutgoingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1063
+ masterTaggingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1064
+ }, "strip", z.ZodTypeAny, {
1065
+ masterNullifierPublicKey: import("../api/fields.js").Point;
1066
+ masterIncomingViewingPublicKey: import("../api/fields.js").Point;
1067
+ masterOutgoingViewingPublicKey: import("../api/fields.js").Point;
1068
+ masterTaggingPublicKey: import("../api/fields.js").Point;
1069
+ }, {
1070
+ masterNullifierPublicKey: string;
1071
+ masterIncomingViewingPublicKey: string;
1072
+ masterOutgoingViewingPublicKey: string;
1073
+ masterTaggingPublicKey: string;
1074
+ }>, import("../api/keys.js").PublicKeys, {
1075
+ masterNullifierPublicKey: string;
1076
+ masterIncomingViewingPublicKey: string;
1077
+ masterOutgoingViewingPublicKey: string;
1078
+ masterTaggingPublicKey: string;
1079
+ }>;
1080
+ }, "strip", z.ZodTypeAny, {
1081
+ version: 1;
1082
+ salt: Fr;
1083
+ deployer: AztecAddress;
1084
+ currentContractClassId: Fr;
1085
+ originalContractClassId: Fr;
1086
+ initializationHash: Fr;
1087
+ publicKeys: import("../api/keys.js").PublicKeys;
1088
+ }, {
1089
+ version: 1;
1090
+ salt?: any;
1091
+ deployer?: any;
1092
+ currentContractClassId?: any;
1093
+ originalContractClassId?: any;
1094
+ initializationHash?: any;
1095
+ publicKeys: {
1096
+ masterNullifierPublicKey: string;
1097
+ masterIncomingViewingPublicKey: string;
1098
+ masterOutgoingViewingPublicKey: string;
1099
+ masterTaggingPublicKey: string;
1100
+ };
1101
+ }>, z.ZodObject<{
1102
+ address: ZodFor<AztecAddress>;
1103
+ }, "strip", z.ZodTypeAny, {
1104
+ address: AztecAddress;
1105
+ }, {
1106
+ address?: any;
1107
+ }>>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<ContractArtifact>>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<Fr>>], null>;
1108
+ }, "strip", z.ZodTypeAny, {
1109
+ name: "registerContract";
1110
+ args: [{
1111
+ version: 1;
1112
+ salt: Fr;
1113
+ deployer: AztecAddress;
1114
+ currentContractClassId: Fr;
1115
+ originalContractClassId: Fr;
1116
+ initializationHash: Fr;
1117
+ publicKeys: import("../api/keys.js").PublicKeys;
1118
+ } & {
1119
+ address: AztecAddress;
1120
+ }, ContractArtifact | undefined, Fr | undefined];
1121
+ }, {
1122
+ name: "registerContract";
1123
+ args: [{
1124
+ version: 1;
1125
+ salt?: any;
1126
+ deployer?: any;
1127
+ currentContractClassId?: any;
1128
+ originalContractClassId?: any;
1129
+ initializationHash?: any;
1130
+ publicKeys: {
1131
+ masterNullifierPublicKey: string;
1132
+ masterIncomingViewingPublicKey: string;
1133
+ masterOutgoingViewingPublicKey: string;
1134
+ masterTaggingPublicKey: string;
1135
+ };
1136
+ } & {
1137
+ address?: any;
1138
+ }, any, any];
1139
+ }>, z.ZodObject<{
1140
+ name: z.ZodLiteral<"sendTx">;
1141
+ args: z.ZodTuple<[z.ZodObject<{
1142
+ calls: z.ZodArray<z.ZodObject<{
1143
+ name: z.ZodString;
1144
+ to: ZodFor<AztecAddress>;
1145
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1146
+ type: z.ZodNativeEnum<typeof FunctionType>;
1147
+ isStatic: z.ZodBoolean;
1148
+ hideMsgSender: z.ZodBoolean;
1149
+ args: z.ZodArray<ZodFor<Fr>, "many">;
1150
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1151
+ }, "strip", z.ZodTypeAny, {
1152
+ name: string;
1153
+ to: AztecAddress;
1154
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1155
+ type: FunctionType;
1156
+ isStatic: boolean;
1157
+ hideMsgSender: boolean;
1158
+ args: Fr[];
1159
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1160
+ }, {
1161
+ name: string;
1162
+ to?: any;
1163
+ selector?: any;
1164
+ type: FunctionType;
1165
+ isStatic: boolean;
1166
+ hideMsgSender: boolean;
1167
+ args: any[];
1168
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1169
+ }>, "many">;
1170
+ authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
1171
+ capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
1172
+ extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
1173
+ feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<AztecAddress>>;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ calls: {
1176
+ name: string;
1177
+ to: AztecAddress;
1178
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1179
+ type: FunctionType;
1180
+ isStatic: boolean;
1181
+ hideMsgSender: boolean;
1182
+ args: Fr[];
1183
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1184
+ }[];
1185
+ authWitnesses: AuthWitness[];
1186
+ capsules: Capsule[];
1187
+ extraHashedArgs: HashedValues[];
1188
+ feePayer?: AztecAddress | undefined;
1189
+ }, {
1190
+ calls: {
1191
+ name: string;
1192
+ to?: any;
1193
+ selector?: any;
1194
+ type: FunctionType;
1195
+ isStatic: boolean;
1196
+ hideMsgSender: boolean;
1197
+ args: any[];
1198
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1199
+ }[];
1200
+ authWitnesses: string[];
1201
+ capsules: string[];
1202
+ extraHashedArgs: any[];
1203
+ feePayer?: any;
1204
+ }>, z.ZodObject<{
1205
+ from: ZodFor<AztecAddress>;
1206
+ authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
1207
+ capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
1208
+ fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1209
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1210
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1211
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1212
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ daGas: number;
1215
+ l2Gas: number;
1216
+ }, {
1217
+ daGas: string | number | bigint;
1218
+ l2Gas: string | number | bigint;
1219
+ }>, Gas, {
1220
+ daGas: string | number | bigint;
1221
+ l2Gas: string | number | bigint;
1222
+ }>>;
1223
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1224
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1225
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ daGas: number;
1228
+ l2Gas: number;
1229
+ }, {
1230
+ daGas: string | number | bigint;
1231
+ l2Gas: string | number | bigint;
1232
+ }>, Gas, {
1233
+ daGas: string | number | bigint;
1234
+ l2Gas: string | number | bigint;
1235
+ }>>;
1236
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1237
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1238
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ feePerDaGas: bigint;
1241
+ feePerL2Gas: bigint;
1242
+ }, {
1243
+ feePerDaGas: string | number | bigint;
1244
+ feePerL2Gas: string | number | bigint;
1245
+ }>>;
1246
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1247
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1248
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1249
+ }, "strip", z.ZodTypeAny, {
1250
+ feePerDaGas: bigint;
1251
+ feePerL2Gas: bigint;
1252
+ }, {
1253
+ feePerDaGas: string | number | bigint;
1254
+ feePerL2Gas: string | number | bigint;
1255
+ }>>;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ gasLimits?: Gas | undefined;
1258
+ teardownGasLimits?: Gas | undefined;
1259
+ maxFeePerGas?: {
1260
+ feePerDaGas: bigint;
1261
+ feePerL2Gas: bigint;
1262
+ } | undefined;
1263
+ maxPriorityFeePerGas?: {
1264
+ feePerDaGas: bigint;
1265
+ feePerL2Gas: bigint;
1266
+ } | undefined;
1267
+ }, {
1268
+ gasLimits?: {
1269
+ daGas: string | number | bigint;
1270
+ l2Gas: string | number | bigint;
1271
+ } | undefined;
1272
+ teardownGasLimits?: {
1273
+ daGas: string | number | bigint;
1274
+ l2Gas: string | number | bigint;
1275
+ } | undefined;
1276
+ maxFeePerGas?: {
1277
+ feePerDaGas: string | number | bigint;
1278
+ feePerL2Gas: string | number | bigint;
1279
+ } | undefined;
1280
+ maxPriorityFeePerGas?: {
1281
+ feePerDaGas: string | number | bigint;
1282
+ feePerL2Gas: string | number | bigint;
1283
+ } | undefined;
1284
+ }>>;
1285
+ }, "strip", z.ZodTypeAny, {
1286
+ gasSettings?: {
1287
+ gasLimits?: Gas | undefined;
1288
+ teardownGasLimits?: Gas | undefined;
1289
+ maxFeePerGas?: {
1290
+ feePerDaGas: bigint;
1291
+ feePerL2Gas: bigint;
1292
+ } | undefined;
1293
+ maxPriorityFeePerGas?: {
1294
+ feePerDaGas: bigint;
1295
+ feePerL2Gas: bigint;
1296
+ } | undefined;
1297
+ } | undefined;
1298
+ }, {
1299
+ gasSettings?: {
1300
+ gasLimits?: {
1301
+ daGas: string | number | bigint;
1302
+ l2Gas: string | number | bigint;
1303
+ } | undefined;
1304
+ teardownGasLimits?: {
1305
+ daGas: string | number | bigint;
1306
+ l2Gas: string | number | bigint;
1307
+ } | undefined;
1308
+ maxFeePerGas?: {
1309
+ feePerDaGas: string | number | bigint;
1310
+ feePerL2Gas: string | number | bigint;
1311
+ } | undefined;
1312
+ maxPriorityFeePerGas?: {
1313
+ feePerDaGas: string | number | bigint;
1314
+ feePerL2Gas: string | number | bigint;
1315
+ } | undefined;
1316
+ } | undefined;
1317
+ }>>;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ from: AztecAddress;
1320
+ authWitnesses?: AuthWitness[] | undefined;
1321
+ capsules?: Capsule[] | undefined;
1322
+ fee?: {
1323
+ gasSettings?: {
1324
+ gasLimits?: Gas | undefined;
1325
+ teardownGasLimits?: Gas | undefined;
1326
+ maxFeePerGas?: {
1327
+ feePerDaGas: bigint;
1328
+ feePerL2Gas: bigint;
1329
+ } | undefined;
1330
+ maxPriorityFeePerGas?: {
1331
+ feePerDaGas: bigint;
1332
+ feePerL2Gas: bigint;
1333
+ } | undefined;
1334
+ } | undefined;
1335
+ } | undefined;
1336
+ }, {
1337
+ from?: any;
1338
+ authWitnesses?: string[] | undefined;
1339
+ capsules?: string[] | undefined;
1340
+ fee?: {
1341
+ gasSettings?: {
1342
+ gasLimits?: {
1343
+ daGas: string | number | bigint;
1344
+ l2Gas: string | number | bigint;
1345
+ } | undefined;
1346
+ teardownGasLimits?: {
1347
+ daGas: string | number | bigint;
1348
+ l2Gas: string | number | bigint;
1349
+ } | undefined;
1350
+ maxFeePerGas?: {
1351
+ feePerDaGas: string | number | bigint;
1352
+ feePerL2Gas: string | number | bigint;
1353
+ } | undefined;
1354
+ maxPriorityFeePerGas?: {
1355
+ feePerDaGas: string | number | bigint;
1356
+ feePerL2Gas: string | number | bigint;
1357
+ } | undefined;
1358
+ } | undefined;
1359
+ } | undefined;
1360
+ }>], null>;
1361
+ }, "strip", z.ZodTypeAny, {
1362
+ name: "sendTx";
1363
+ args: [{
1364
+ calls: {
1365
+ name: string;
1366
+ to: AztecAddress;
1367
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1368
+ type: FunctionType;
1369
+ isStatic: boolean;
1370
+ hideMsgSender: boolean;
1371
+ args: Fr[];
1372
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1373
+ }[];
1374
+ authWitnesses: AuthWitness[];
1375
+ capsules: Capsule[];
1376
+ extraHashedArgs: HashedValues[];
1377
+ feePayer?: AztecAddress | undefined;
1378
+ }, {
1379
+ from: AztecAddress;
1380
+ authWitnesses?: AuthWitness[] | undefined;
1381
+ capsules?: Capsule[] | undefined;
1382
+ fee?: {
1383
+ gasSettings?: {
1384
+ gasLimits?: Gas | undefined;
1385
+ teardownGasLimits?: Gas | undefined;
1386
+ maxFeePerGas?: {
1387
+ feePerDaGas: bigint;
1388
+ feePerL2Gas: bigint;
1389
+ } | undefined;
1390
+ maxPriorityFeePerGas?: {
1391
+ feePerDaGas: bigint;
1392
+ feePerL2Gas: bigint;
1393
+ } | undefined;
1394
+ } | undefined;
1395
+ } | undefined;
1396
+ }];
1397
+ }, {
1398
+ name: "sendTx";
1399
+ args: [{
1400
+ calls: {
1401
+ name: string;
1402
+ to?: any;
1403
+ selector?: any;
1404
+ type: FunctionType;
1405
+ isStatic: boolean;
1406
+ hideMsgSender: boolean;
1407
+ args: any[];
1408
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1409
+ }[];
1410
+ authWitnesses: string[];
1411
+ capsules: string[];
1412
+ extraHashedArgs: any[];
1413
+ feePayer?: any;
1414
+ }, {
1415
+ from?: any;
1416
+ authWitnesses?: string[] | undefined;
1417
+ capsules?: string[] | undefined;
1418
+ fee?: {
1419
+ gasSettings?: {
1420
+ gasLimits?: {
1421
+ daGas: string | number | bigint;
1422
+ l2Gas: string | number | bigint;
1423
+ } | undefined;
1424
+ teardownGasLimits?: {
1425
+ daGas: string | number | bigint;
1426
+ l2Gas: string | number | bigint;
1427
+ } | undefined;
1428
+ maxFeePerGas?: {
1429
+ feePerDaGas: string | number | bigint;
1430
+ feePerL2Gas: string | number | bigint;
1431
+ } | undefined;
1432
+ maxPriorityFeePerGas?: {
1433
+ feePerDaGas: string | number | bigint;
1434
+ feePerL2Gas: string | number | bigint;
1435
+ } | undefined;
1436
+ } | undefined;
1437
+ } | undefined;
1438
+ }];
1439
+ }>, z.ZodObject<{
1440
+ name: z.ZodLiteral<"simulateUtility">;
1441
+ args: z.ZodTuple<[z.ZodObject<{
1442
+ name: z.ZodString;
1443
+ to: ZodFor<AztecAddress>;
1444
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1445
+ type: z.ZodNativeEnum<typeof FunctionType>;
1446
+ isStatic: z.ZodBoolean;
1447
+ hideMsgSender: z.ZodBoolean;
1448
+ args: z.ZodArray<ZodFor<Fr>, "many">;
1449
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1450
+ }, "strip", z.ZodTypeAny, {
1451
+ name: string;
1452
+ to: AztecAddress;
1453
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1454
+ type: FunctionType;
1455
+ isStatic: boolean;
1456
+ hideMsgSender: boolean;
1457
+ args: Fr[];
1458
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1459
+ }, {
1460
+ name: string;
1461
+ to?: any;
1462
+ selector?: any;
1463
+ type: FunctionType;
1464
+ isStatic: boolean;
1465
+ hideMsgSender: boolean;
1466
+ args: any[];
1467
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1468
+ }>, import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>], null>;
1469
+ }, "strip", z.ZodTypeAny, {
1470
+ name: "simulateUtility";
1471
+ args: [{
1472
+ name: string;
1473
+ to: AztecAddress;
1474
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1475
+ type: FunctionType;
1476
+ isStatic: boolean;
1477
+ hideMsgSender: boolean;
1478
+ args: Fr[];
1479
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1480
+ }, AuthWitness[] | undefined];
1481
+ }, {
1482
+ name: "simulateUtility";
1483
+ args: [{
1484
+ name: string;
1485
+ to?: any;
1486
+ selector?: any;
1487
+ type: FunctionType;
1488
+ isStatic: boolean;
1489
+ hideMsgSender: boolean;
1490
+ args: any[];
1491
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1492
+ }, string[] | undefined];
1493
+ }>, z.ZodObject<{
1494
+ name: z.ZodLiteral<"simulateTx">;
1495
+ args: z.ZodTuple<[z.ZodObject<{
1496
+ calls: z.ZodArray<z.ZodObject<{
1497
+ name: z.ZodString;
1498
+ to: ZodFor<AztecAddress>;
1499
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1500
+ type: z.ZodNativeEnum<typeof FunctionType>;
1501
+ isStatic: z.ZodBoolean;
1502
+ hideMsgSender: z.ZodBoolean;
1503
+ args: z.ZodArray<ZodFor<Fr>, "many">;
1504
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ name: string;
1507
+ to: AztecAddress;
1508
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1509
+ type: FunctionType;
1510
+ isStatic: boolean;
1511
+ hideMsgSender: boolean;
1512
+ args: Fr[];
1513
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1514
+ }, {
1515
+ name: string;
1516
+ to?: any;
1517
+ selector?: any;
1518
+ type: FunctionType;
1519
+ isStatic: boolean;
1520
+ hideMsgSender: boolean;
1521
+ args: any[];
1522
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1523
+ }>, "many">;
1524
+ authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
1525
+ capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
1526
+ extraHashedArgs: z.ZodArray<ZodFor<HashedValues>, "many">;
1527
+ feePayer: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<ZodFor<AztecAddress>>;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ calls: {
1530
+ name: string;
1531
+ to: AztecAddress;
1532
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1533
+ type: FunctionType;
1534
+ isStatic: boolean;
1535
+ hideMsgSender: boolean;
1536
+ args: Fr[];
1537
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1538
+ }[];
1539
+ authWitnesses: AuthWitness[];
1540
+ capsules: Capsule[];
1541
+ extraHashedArgs: HashedValues[];
1542
+ feePayer?: AztecAddress | undefined;
1543
+ }, {
1544
+ calls: {
1545
+ name: string;
1546
+ to?: any;
1547
+ selector?: any;
1548
+ type: FunctionType;
1549
+ isStatic: boolean;
1550
+ hideMsgSender: boolean;
1551
+ args: any[];
1552
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1553
+ }[];
1554
+ authWitnesses: string[];
1555
+ capsules: string[];
1556
+ extraHashedArgs: any[];
1557
+ feePayer?: any;
1558
+ }>, z.ZodObject<{
1559
+ from: ZodFor<AztecAddress>;
1560
+ authWitnesses: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
1561
+ capsules: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
1562
+ fee: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1563
+ gasSettings: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1564
+ gasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1565
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1566
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ daGas: number;
1569
+ l2Gas: number;
1570
+ }, {
1571
+ daGas: string | number | bigint;
1572
+ l2Gas: string | number | bigint;
1573
+ }>, Gas, {
1574
+ daGas: string | number | bigint;
1575
+ l2Gas: string | number | bigint;
1576
+ }>>;
1577
+ teardownGasLimits: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
1578
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1579
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1580
+ }, "strip", z.ZodTypeAny, {
1581
+ daGas: number;
1582
+ l2Gas: number;
1583
+ }, {
1584
+ daGas: string | number | bigint;
1585
+ l2Gas: string | number | bigint;
1586
+ }>, Gas, {
1587
+ daGas: string | number | bigint;
1588
+ l2Gas: string | number | bigint;
1589
+ }>>;
1590
+ maxFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1591
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1592
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1593
+ }, "strip", z.ZodTypeAny, {
1594
+ feePerDaGas: bigint;
1595
+ feePerL2Gas: bigint;
1596
+ }, {
1597
+ feePerDaGas: string | number | bigint;
1598
+ feePerL2Gas: string | number | bigint;
1599
+ }>>;
1600
+ maxPriorityFeePerGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodObject<{
1601
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1602
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1603
+ }, "strip", z.ZodTypeAny, {
1604
+ feePerDaGas: bigint;
1605
+ feePerL2Gas: bigint;
1606
+ }, {
1607
+ feePerDaGas: string | number | bigint;
1608
+ feePerL2Gas: string | number | bigint;
1609
+ }>>;
1610
+ }, "strip", z.ZodTypeAny, {
1611
+ gasLimits?: Gas | undefined;
1612
+ teardownGasLimits?: Gas | undefined;
1613
+ maxFeePerGas?: {
1614
+ feePerDaGas: bigint;
1615
+ feePerL2Gas: bigint;
1616
+ } | undefined;
1617
+ maxPriorityFeePerGas?: {
1618
+ feePerDaGas: bigint;
1619
+ feePerL2Gas: bigint;
1620
+ } | undefined;
1621
+ }, {
1622
+ gasLimits?: {
1623
+ daGas: string | number | bigint;
1624
+ l2Gas: string | number | bigint;
1625
+ } | undefined;
1626
+ teardownGasLimits?: {
1627
+ daGas: string | number | bigint;
1628
+ l2Gas: string | number | bigint;
1629
+ } | undefined;
1630
+ maxFeePerGas?: {
1631
+ feePerDaGas: string | number | bigint;
1632
+ feePerL2Gas: string | number | bigint;
1633
+ } | undefined;
1634
+ maxPriorityFeePerGas?: {
1635
+ feePerDaGas: string | number | bigint;
1636
+ feePerL2Gas: string | number | bigint;
1637
+ } | undefined;
1638
+ }>>;
1639
+ } & {
1640
+ estimatedGasPadding: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodNumber>;
1641
+ estimateGas: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ gasSettings?: {
1644
+ gasLimits?: Gas | undefined;
1645
+ teardownGasLimits?: Gas | undefined;
1646
+ maxFeePerGas?: {
1647
+ feePerDaGas: bigint;
1648
+ feePerL2Gas: bigint;
1649
+ } | undefined;
1650
+ maxPriorityFeePerGas?: {
1651
+ feePerDaGas: bigint;
1652
+ feePerL2Gas: bigint;
1653
+ } | undefined;
1654
+ } | undefined;
1655
+ estimatedGasPadding?: number | undefined;
1656
+ estimateGas?: boolean | undefined;
1657
+ }, {
1658
+ gasSettings?: {
1659
+ gasLimits?: {
1660
+ daGas: string | number | bigint;
1661
+ l2Gas: string | number | bigint;
1662
+ } | undefined;
1663
+ teardownGasLimits?: {
1664
+ daGas: string | number | bigint;
1665
+ l2Gas: string | number | bigint;
1666
+ } | undefined;
1667
+ maxFeePerGas?: {
1668
+ feePerDaGas: string | number | bigint;
1669
+ feePerL2Gas: string | number | bigint;
1670
+ } | undefined;
1671
+ maxPriorityFeePerGas?: {
1672
+ feePerDaGas: string | number | bigint;
1673
+ feePerL2Gas: string | number | bigint;
1674
+ } | undefined;
1675
+ } | undefined;
1676
+ estimatedGasPadding?: number | undefined;
1677
+ estimateGas?: boolean | undefined;
1678
+ }>>;
1679
+ skipTxValidation: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
1680
+ skipFeeEnforcement: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
1681
+ includeMetadata: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodBoolean>;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ from: AztecAddress;
1684
+ authWitnesses?: AuthWitness[] | undefined;
1685
+ capsules?: Capsule[] | undefined;
1686
+ fee?: {
1687
+ gasSettings?: {
1688
+ gasLimits?: Gas | undefined;
1689
+ teardownGasLimits?: Gas | undefined;
1690
+ maxFeePerGas?: {
1691
+ feePerDaGas: bigint;
1692
+ feePerL2Gas: bigint;
1693
+ } | undefined;
1694
+ maxPriorityFeePerGas?: {
1695
+ feePerDaGas: bigint;
1696
+ feePerL2Gas: bigint;
1697
+ } | undefined;
1698
+ } | undefined;
1699
+ estimatedGasPadding?: number | undefined;
1700
+ estimateGas?: boolean | undefined;
1701
+ } | undefined;
1702
+ skipTxValidation?: boolean | undefined;
1703
+ skipFeeEnforcement?: boolean | undefined;
1704
+ includeMetadata?: boolean | undefined;
1705
+ }, {
1706
+ from?: any;
1707
+ authWitnesses?: string[] | undefined;
1708
+ capsules?: string[] | undefined;
1709
+ fee?: {
1710
+ gasSettings?: {
1711
+ gasLimits?: {
1712
+ daGas: string | number | bigint;
1713
+ l2Gas: string | number | bigint;
1714
+ } | undefined;
1715
+ teardownGasLimits?: {
1716
+ daGas: string | number | bigint;
1717
+ l2Gas: string | number | bigint;
1718
+ } | undefined;
1719
+ maxFeePerGas?: {
1720
+ feePerDaGas: string | number | bigint;
1721
+ feePerL2Gas: string | number | bigint;
1722
+ } | undefined;
1723
+ maxPriorityFeePerGas?: {
1724
+ feePerDaGas: string | number | bigint;
1725
+ feePerL2Gas: string | number | bigint;
1726
+ } | undefined;
1727
+ } | undefined;
1728
+ estimatedGasPadding?: number | undefined;
1729
+ estimateGas?: boolean | undefined;
1730
+ } | undefined;
1731
+ skipTxValidation?: boolean | undefined;
1732
+ skipFeeEnforcement?: boolean | undefined;
1733
+ includeMetadata?: boolean | undefined;
1734
+ }>], null>;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ name: "simulateTx";
1737
+ args: [{
1738
+ calls: {
1739
+ name: string;
1740
+ to: AztecAddress;
1741
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1742
+ type: FunctionType;
1743
+ isStatic: boolean;
1744
+ hideMsgSender: boolean;
1745
+ args: Fr[];
1746
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1747
+ }[];
1748
+ authWitnesses: AuthWitness[];
1749
+ capsules: Capsule[];
1750
+ extraHashedArgs: HashedValues[];
1751
+ feePayer?: AztecAddress | undefined;
1752
+ }, {
1753
+ from: AztecAddress;
1754
+ authWitnesses?: AuthWitness[] | undefined;
1755
+ capsules?: Capsule[] | undefined;
1756
+ fee?: {
1757
+ gasSettings?: {
1758
+ gasLimits?: Gas | undefined;
1759
+ teardownGasLimits?: Gas | undefined;
1760
+ maxFeePerGas?: {
1761
+ feePerDaGas: bigint;
1762
+ feePerL2Gas: bigint;
1763
+ } | undefined;
1764
+ maxPriorityFeePerGas?: {
1765
+ feePerDaGas: bigint;
1766
+ feePerL2Gas: bigint;
1767
+ } | undefined;
1768
+ } | undefined;
1769
+ estimatedGasPadding?: number | undefined;
1770
+ estimateGas?: boolean | undefined;
1771
+ } | undefined;
1772
+ skipTxValidation?: boolean | undefined;
1773
+ skipFeeEnforcement?: boolean | undefined;
1774
+ includeMetadata?: boolean | undefined;
1775
+ }];
1776
+ }, {
1777
+ name: "simulateTx";
1778
+ args: [{
1779
+ calls: {
1780
+ name: string;
1781
+ to?: any;
1782
+ selector?: any;
1783
+ type: FunctionType;
1784
+ isStatic: boolean;
1785
+ hideMsgSender: boolean;
1786
+ args: any[];
1787
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1788
+ }[];
1789
+ authWitnesses: string[];
1790
+ capsules: string[];
1791
+ extraHashedArgs: any[];
1792
+ feePayer?: any;
1793
+ }, {
1794
+ from?: any;
1795
+ authWitnesses?: string[] | undefined;
1796
+ capsules?: string[] | undefined;
1797
+ fee?: {
1798
+ gasSettings?: {
1799
+ gasLimits?: {
1800
+ daGas: string | number | bigint;
1801
+ l2Gas: string | number | bigint;
1802
+ } | undefined;
1803
+ teardownGasLimits?: {
1804
+ daGas: string | number | bigint;
1805
+ l2Gas: string | number | bigint;
1806
+ } | undefined;
1807
+ maxFeePerGas?: {
1808
+ feePerDaGas: string | number | bigint;
1809
+ feePerL2Gas: string | number | bigint;
1810
+ } | undefined;
1811
+ maxPriorityFeePerGas?: {
1812
+ feePerDaGas: string | number | bigint;
1813
+ feePerL2Gas: string | number | bigint;
1814
+ } | undefined;
1815
+ } | undefined;
1816
+ estimatedGasPadding?: number | undefined;
1817
+ estimateGas?: boolean | undefined;
1818
+ } | undefined;
1819
+ skipTxValidation?: boolean | undefined;
1820
+ skipFeeEnforcement?: boolean | undefined;
1821
+ includeMetadata?: boolean | undefined;
1822
+ }];
1823
+ }>]>;
1824
+ export declare const ContractMetadataSchema: z.ZodObject<{
1825
+ contractInstance: z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
1826
+ version: z.ZodLiteral<1>;
1827
+ salt: ZodFor<Fr>;
1828
+ deployer: ZodFor<AztecAddress>;
1829
+ currentContractClassId: ZodFor<Fr>;
1830
+ originalContractClassId: ZodFor<Fr>;
1831
+ initializationHash: ZodFor<Fr>;
1832
+ publicKeys: z.ZodEffects<z.ZodObject<{
1833
+ masterNullifierPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1834
+ masterIncomingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1835
+ masterOutgoingViewingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1836
+ masterTaggingPublicKey: z.ZodType<import("../api/fields.js").Point, any, string>;
1837
+ }, "strip", z.ZodTypeAny, {
1838
+ masterNullifierPublicKey: import("../api/fields.js").Point;
1839
+ masterIncomingViewingPublicKey: import("../api/fields.js").Point;
1840
+ masterOutgoingViewingPublicKey: import("../api/fields.js").Point;
1841
+ masterTaggingPublicKey: import("../api/fields.js").Point;
1842
+ }, {
1843
+ masterNullifierPublicKey: string;
1844
+ masterIncomingViewingPublicKey: string;
1845
+ masterOutgoingViewingPublicKey: string;
1846
+ masterTaggingPublicKey: string;
1847
+ }>, import("../api/keys.js").PublicKeys, {
1848
+ masterNullifierPublicKey: string;
1849
+ masterIncomingViewingPublicKey: string;
1850
+ masterOutgoingViewingPublicKey: string;
1851
+ masterTaggingPublicKey: string;
1852
+ }>;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ version: 1;
1855
+ salt: Fr;
1856
+ deployer: AztecAddress;
1857
+ currentContractClassId: Fr;
1858
+ originalContractClassId: Fr;
1859
+ initializationHash: Fr;
1860
+ publicKeys: import("../api/keys.js").PublicKeys;
1861
+ }, {
1862
+ version: 1;
1863
+ salt?: any;
1864
+ deployer?: any;
1865
+ currentContractClassId?: any;
1866
+ originalContractClassId?: any;
1867
+ initializationHash?: any;
1868
+ publicKeys: {
1869
+ masterNullifierPublicKey: string;
1870
+ masterIncomingViewingPublicKey: string;
1871
+ masterOutgoingViewingPublicKey: string;
1872
+ masterTaggingPublicKey: string;
1873
+ };
1874
+ }>, z.ZodObject<{
1875
+ address: ZodFor<AztecAddress>;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ address: AztecAddress;
1878
+ }, {
1879
+ address?: any;
1880
+ }>>, z.ZodUndefined]>;
1881
+ isContractInitialized: z.ZodBoolean;
1882
+ isContractPublished: z.ZodBoolean;
1883
+ }, "strip", z.ZodTypeAny, {
1884
+ contractInstance?: ({
1885
+ version: 1;
1886
+ salt: Fr;
1887
+ deployer: AztecAddress;
1888
+ currentContractClassId: Fr;
1889
+ originalContractClassId: Fr;
1890
+ initializationHash: Fr;
1891
+ publicKeys: import("../api/keys.js").PublicKeys;
1892
+ } & {
1893
+ address: AztecAddress;
1894
+ }) | undefined;
1895
+ isContractInitialized: boolean;
1896
+ isContractPublished: boolean;
1897
+ }, {
1898
+ contractInstance?: ({
1899
+ version: 1;
1900
+ salt?: any;
1901
+ deployer?: any;
1902
+ currentContractClassId?: any;
1903
+ originalContractClassId?: any;
1904
+ initializationHash?: any;
1905
+ publicKeys: {
1906
+ masterNullifierPublicKey: string;
1907
+ masterIncomingViewingPublicKey: string;
1908
+ masterOutgoingViewingPublicKey: string;
1909
+ masterTaggingPublicKey: string;
1910
+ };
1911
+ } & {
1912
+ address?: any;
1913
+ }) | undefined;
1914
+ isContractInitialized: boolean;
1915
+ isContractPublished: boolean;
1916
+ }>;
1917
+ export declare const ContractClassMetadataSchema: z.ZodObject<{
1918
+ contractClass: z.ZodUnion<[z.ZodObject<{
1919
+ version: z.ZodLiteral<1>;
1920
+ artifactHash: z.ZodType<Fr, any, string>;
1921
+ privateFunctions: z.ZodArray<z.ZodObject<{
1922
+ selector: ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1923
+ vkHash: z.ZodType<Fr, any, string>;
1924
+ }, "strip", z.ZodTypeAny, {
1925
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1926
+ vkHash: Fr;
1927
+ }, {
1928
+ selector?: any;
1929
+ vkHash: string;
1930
+ }>, "many">;
1931
+ packedBytecode: ZodFor<Buffer<ArrayBufferLike>>;
1932
+ } & {
1933
+ id: z.ZodType<Fr, any, string>;
1934
+ }, "strip", z.ZodTypeAny, {
1935
+ version: 1;
1936
+ artifactHash: Fr;
1937
+ privateFunctions: {
1938
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1939
+ vkHash: Fr;
1940
+ }[];
1941
+ packedBytecode: Buffer<ArrayBufferLike>;
1942
+ id: Fr;
1943
+ }, {
1944
+ version: 1;
1945
+ artifactHash: string;
1946
+ privateFunctions: {
1947
+ selector?: any;
1948
+ vkHash: string;
1949
+ }[];
1950
+ packedBytecode?: any;
1951
+ id: string;
1952
+ }>, z.ZodUndefined]>;
1953
+ isContractClassPubliclyRegistered: z.ZodBoolean;
1954
+ artifact: z.ZodUnion<[ZodFor<ContractArtifact>, z.ZodUndefined]>;
1955
+ }, "strip", z.ZodTypeAny, {
1956
+ contractClass?: {
1957
+ version: 1;
1958
+ artifactHash: Fr;
1959
+ privateFunctions: {
1960
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1961
+ vkHash: Fr;
1962
+ }[];
1963
+ packedBytecode: Buffer<ArrayBufferLike>;
1964
+ id: Fr;
1965
+ } | undefined;
1966
+ isContractClassPubliclyRegistered: boolean;
1967
+ artifact?: ContractArtifact | undefined;
1968
+ }, {
1969
+ contractClass?: {
1970
+ version: 1;
1971
+ artifactHash: string;
1972
+ privateFunctions: {
1973
+ selector?: any;
1974
+ vkHash: string;
1975
+ }[];
1976
+ packedBytecode?: any;
1977
+ id: string;
1978
+ } | undefined;
1979
+ isContractClassPubliclyRegistered: boolean;
1980
+ artifact?: any;
1981
+ }>;
1982
+ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
1983
+ eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
1984
+ abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1985
+ fieldNames: z.ZodArray<z.ZodString, "many">;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ eventSelector: import("@aztec/stdlib/abi").EventSelector;
1988
+ abiType: import("@aztec/stdlib/abi").AbiType;
1989
+ fieldNames: string[];
1990
+ }, {
1991
+ eventSelector: string;
1992
+ abiType: import("@aztec/stdlib/abi").AbiType;
1993
+ fieldNames: string[];
1994
+ }>;
1995
+ export declare const PrivateEventSchema: ZodFor<PrivateEvent<AbiDecoded>>;
1996
+ export declare const PrivateEventFilterSchema: z.ZodObject<{
1997
+ contractAddress: ZodFor<AztecAddress>;
1998
+ scopes: z.ZodArray<ZodFor<AztecAddress>, "many">;
1999
+ txHash: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, TxHash, string>>;
2000
+ fromBlock: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
2001
+ toBlock: import("../../../foundation/dest/schemas/utils.js").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
2002
+ }, "strip", z.ZodTypeAny, {
2003
+ contractAddress: AztecAddress;
2004
+ scopes: AztecAddress[];
2005
+ txHash?: TxHash | undefined;
2006
+ fromBlock?: BlockNumber | undefined;
2007
+ toBlock?: BlockNumber | undefined;
2008
+ }, {
2009
+ contractAddress?: any;
2010
+ scopes: any[];
2011
+ txHash?: string | undefined;
2012
+ fromBlock?: string | number | bigint | undefined;
2013
+ toBlock?: string | number | bigint | undefined;
2014
+ }>;
2015
+ export declare const WalletSchema: ApiSchemaFor<Wallet>;
2016
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLGlDQUFpQyxDQUFDO0FBQ3pGLE9BQU8sS0FBSyxFQUFFLEVBQUUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3pELE9BQU8sRUFDTCxLQUFLLFVBQVUsRUFFZixLQUFLLGdCQUFnQixFQUVyQixLQUFLLHVCQUF1QixFQUM1QixLQ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