@aztec/aztec.js 0.0.0-test.0 → 0.0.1-commit.023c3e5

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 (450) hide show
  1. package/README.md +1 -1
  2. package/dest/account/account.d.ts +44 -0
  3. package/dest/account/account.d.ts.map +1 -0
  4. package/dest/account/account.js +31 -0
  5. package/dest/account/account_contract.d.ts +42 -0
  6. package/dest/account/account_contract.d.ts.map +1 -0
  7. package/dest/account/{contract.js → account_contract.js} +7 -4
  8. package/dest/account/account_with_secret_key.d.ts +36 -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} +22 -5
  11. package/dest/account/index.d.ts +6 -9
  12. package/dest/account/index.d.ts.map +1 -1
  13. package/dest/account/index.js +4 -6
  14. package/dest/account/signerless_account.d.ts +22 -0
  15. package/dest/account/signerless_account.d.ts.map +1 -0
  16. package/dest/account/signerless_account.js +24 -0
  17. package/dest/api/abi.d.ts +3 -2
  18. package/dest/api/abi.d.ts.map +1 -1
  19. package/dest/api/abi.js +1 -1
  20. package/dest/api/account.d.ts +5 -3
  21. package/dest/api/account.d.ts.map +1 -1
  22. package/dest/api/account.js +3 -2
  23. package/dest/api/addresses.d.ts +2 -1
  24. package/dest/api/addresses.d.ts.map +1 -1
  25. package/dest/api/addresses.js +1 -0
  26. package/dest/api/authorization.d.ts +5 -0
  27. package/dest/api/authorization.d.ts.map +1 -0
  28. package/dest/api/authorization.js +4 -0
  29. package/dest/api/block.d.ts +3 -0
  30. package/dest/api/block.d.ts.map +1 -0
  31. package/dest/api/block.js +2 -0
  32. package/dest/api/contract.d.ts +55 -0
  33. package/dest/api/contract.d.ts.map +1 -0
  34. package/dest/api/contract.js +53 -0
  35. package/dest/api/crypto.d.ts +2 -0
  36. package/dest/api/crypto.d.ts.map +1 -0
  37. package/dest/api/crypto.js +1 -0
  38. package/dest/api/deployment.d.ts +5 -4
  39. package/dest/api/deployment.d.ts.map +1 -1
  40. package/dest/api/deployment.js +4 -3
  41. package/dest/api/eth_address.d.ts +1 -1
  42. package/dest/api/ethereum.d.ts +2 -0
  43. package/dest/api/ethereum.d.ts.map +1 -0
  44. package/dest/api/ethereum.js +1 -0
  45. package/dest/api/events.d.ts +12 -0
  46. package/dest/api/events.d.ts.map +1 -0
  47. package/dest/api/events.js +30 -0
  48. package/dest/api/fee.d.ts +2 -2
  49. package/dest/api/fee.d.ts.map +1 -1
  50. package/dest/api/fee.js +1 -1
  51. package/dest/api/fee_testing.d.ts +2 -0
  52. package/dest/api/fee_testing.d.ts.map +1 -0
  53. package/dest/api/fee_testing.js +1 -0
  54. package/dest/api/fields.d.ts +3 -2
  55. package/dest/api/fields.d.ts.map +1 -1
  56. package/dest/api/fields.js +2 -1
  57. package/dest/api/keys.d.ts +4 -0
  58. package/dest/api/keys.d.ts.map +1 -0
  59. package/dest/api/keys.js +3 -0
  60. package/dest/api/log.d.ts +2 -1
  61. package/dest/api/log.d.ts.map +1 -1
  62. package/dest/api/log.js +1 -0
  63. package/dest/api/messaging.d.ts +3 -0
  64. package/dest/api/messaging.d.ts.map +1 -0
  65. package/dest/api/messaging.js +2 -0
  66. package/dest/api/node.d.ts +25 -0
  67. package/dest/api/node.d.ts.map +1 -0
  68. package/dest/api/node.js +22 -0
  69. package/dest/api/note.d.ts +2 -0
  70. package/dest/api/note.d.ts.map +1 -0
  71. package/dest/api/note.js +1 -0
  72. package/dest/api/protocol.d.ts +9 -0
  73. package/dest/api/protocol.d.ts.map +1 -0
  74. package/dest/api/protocol.js +8 -0
  75. package/dest/api/trees.d.ts +3 -0
  76. package/dest/api/trees.d.ts.map +1 -0
  77. package/dest/api/trees.js +2 -0
  78. package/dest/api/tx.d.ts +2 -0
  79. package/dest/api/tx.d.ts.map +1 -0
  80. package/dest/api/tx.js +1 -0
  81. package/dest/api/utils.d.ts +13 -0
  82. package/dest/api/utils.d.ts.map +1 -0
  83. package/dest/api/utils.js +12 -0
  84. package/dest/api/wallet.d.ts +5 -2
  85. package/dest/api/wallet.d.ts.map +1 -1
  86. package/dest/api/wallet.js +4 -1
  87. package/dest/authorization/call_authorization_request.d.ts +67 -0
  88. package/dest/authorization/call_authorization_request.d.ts.map +1 -0
  89. package/dest/authorization/call_authorization_request.js +49 -0
  90. package/dest/contract/base_contract_interaction.d.ts +18 -84
  91. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  92. package/dest/contract/base_contract_interaction.js +11 -136
  93. package/dest/contract/batch_call.d.ts +19 -21
  94. package/dest/contract/batch_call.d.ts.map +1 -1
  95. package/dest/contract/batch_call.js +89 -69
  96. package/dest/contract/checker.d.ts +2 -2
  97. package/dest/contract/checker.d.ts.map +1 -1
  98. package/dest/contract/checker.js +2 -2
  99. package/dest/contract/contract.d.ts +9 -8
  100. package/dest/contract/contract.d.ts.map +1 -1
  101. package/dest/contract/contract.js +10 -20
  102. package/dest/contract/contract_base.d.ts +8 -18
  103. package/dest/contract/contract_base.d.ts.map +1 -1
  104. package/dest/contract/contract_base.js +7 -14
  105. package/dest/contract/contract_function_interaction.d.ts +53 -45
  106. package/dest/contract/contract_function_interaction.d.ts.map +1 -1
  107. package/dest/contract/contract_function_interaction.js +78 -74
  108. package/dest/contract/deploy_method.d.ts +155 -62
  109. package/dest/contract/deploy_method.d.ts.map +1 -1
  110. package/dest/contract/deploy_method.js +152 -142
  111. package/dest/contract/get_gas_limits.d.ts +6 -7
  112. package/dest/contract/get_gas_limits.d.ts.map +1 -1
  113. package/dest/contract/get_gas_limits.js +9 -3
  114. package/dest/contract/interaction_options.d.ts +151 -0
  115. package/dest/contract/interaction_options.d.ts.map +1 -0
  116. package/dest/contract/interaction_options.js +53 -0
  117. package/dest/contract/protocol_contracts/auth-registry.d.ts +27 -0
  118. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -0
  119. package/dest/contract/protocol_contracts/auth-registry.js +558 -0
  120. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +26 -0
  121. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -0
  122. package/dest/contract/protocol_contracts/contract-class-registry.js +385 -0
  123. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +22 -0
  124. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -0
  125. package/dest/contract/protocol_contracts/contract-instance-registry.js +465 -0
  126. package/dest/contract/protocol_contracts/fee-juice.d.ts +21 -0
  127. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -0
  128. package/dest/contract/protocol_contracts/fee-juice.js +426 -0
  129. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +34 -0
  130. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -0
  131. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +575 -0
  132. package/dest/contract/protocol_contracts/public-checks.d.ts +26 -0
  133. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -0
  134. package/dest/contract/protocol_contracts/public-checks.js +583 -0
  135. package/dest/contract/wait_for_proven.d.ts +17 -0
  136. package/dest/contract/wait_for_proven.d.ts.map +1 -0
  137. package/dest/contract/wait_for_proven.js +17 -0
  138. package/dest/contract/wait_opts.d.ts +16 -0
  139. package/dest/contract/wait_opts.d.ts.map +1 -0
  140. package/dest/contract/wait_opts.js +5 -0
  141. package/dest/deployment/broadcast_function.d.ts +4 -4
  142. package/dest/deployment/broadcast_function.d.ts.map +1 -1
  143. package/dest/deployment/broadcast_function.js +28 -24
  144. package/dest/deployment/contract_deployer.d.ts +2 -2
  145. package/dest/deployment/contract_deployer.d.ts.map +1 -1
  146. package/dest/deployment/contract_deployer.js +1 -1
  147. package/dest/deployment/publish_class.d.ts +6 -0
  148. package/dest/deployment/publish_class.d.ts.map +1 -0
  149. package/dest/deployment/publish_class.js +17 -0
  150. package/dest/deployment/publish_instance.d.ts +10 -0
  151. package/dest/deployment/publish_instance.d.ts.map +1 -0
  152. package/dest/deployment/publish_instance.js +11 -0
  153. package/dest/ethereum/portal_manager.d.ts +141 -0
  154. package/dest/ethereum/portal_manager.d.ts.map +1 -0
  155. package/dest/ethereum/portal_manager.js +345 -0
  156. package/dest/fee/fee_juice_payment_method_with_claim.d.ts +17 -12
  157. package/dest/fee/fee_juice_payment_method_with_claim.d.ts.map +1 -1
  158. package/dest/fee/fee_juice_payment_method_with_claim.js +27 -17
  159. package/dest/fee/fee_payment_method.d.ts +12 -8
  160. package/dest/fee/fee_payment_method.d.ts.map +1 -1
  161. package/dest/fee/private_fee_payment_method.d.ts +26 -9
  162. package/dest/fee/private_fee_payment_method.d.ts.map +1 -1
  163. package/dest/fee/private_fee_payment_method.js +45 -23
  164. package/dest/fee/public_fee_payment_method.d.ts +27 -10
  165. package/dest/fee/public_fee_payment_method.d.ts.map +1 -1
  166. package/dest/fee/public_fee_payment_method.js +47 -25
  167. package/dest/fee/sponsored_fee_payment.d.ts +17 -0
  168. package/dest/fee/sponsored_fee_payment.d.ts.map +1 -0
  169. package/dest/fee/sponsored_fee_payment.js +34 -0
  170. package/dest/scripts/generate_protocol_contract_types.d.ts +2 -0
  171. package/dest/scripts/generate_protocol_contract_types.d.ts.map +1 -0
  172. package/dest/scripts/generate_protocol_contract_types.js +120 -0
  173. package/dest/utils/abi_types.d.ts +2 -4
  174. package/dest/utils/abi_types.d.ts.map +1 -1
  175. package/dest/utils/authwit.d.ts +85 -26
  176. package/dest/utils/authwit.d.ts.map +1 -1
  177. package/dest/utils/authwit.js +234 -41
  178. package/dest/utils/cross_chain.d.ts +24 -0
  179. package/dest/utils/cross_chain.d.ts.map +1 -0
  180. package/dest/utils/cross_chain.js +30 -0
  181. package/dest/utils/fee_juice.d.ts +4 -3
  182. package/dest/utils/fee_juice.d.ts.map +1 -1
  183. package/dest/utils/fee_juice.js +4 -3
  184. package/dest/utils/field_compressed_string.d.ts +1 -1
  185. package/dest/utils/field_compressed_string.d.ts.map +1 -1
  186. package/dest/utils/field_compressed_string.js +1 -1
  187. package/dest/utils/node.d.ts +13 -2
  188. package/dest/utils/node.d.ts.map +1 -1
  189. package/dest/utils/node.js +47 -1
  190. package/dest/utils/pub_key.d.ts +2 -2
  191. package/dest/utils/pub_key.d.ts.map +1 -1
  192. package/dest/utils/pub_key.js +2 -3
  193. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +31 -0
  194. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -0
  195. package/dest/wallet/account_entrypoint_meta_payment_method.js +61 -0
  196. package/dest/wallet/account_manager.d.ts +63 -0
  197. package/dest/wallet/account_manager.d.ts.map +1 -0
  198. package/dest/wallet/account_manager.js +107 -0
  199. package/dest/wallet/capabilities.d.ts +444 -0
  200. package/dest/wallet/capabilities.d.ts.map +1 -0
  201. package/dest/wallet/capabilities.js +3 -0
  202. package/dest/wallet/deploy_account_method.d.ts +80 -0
  203. package/dest/wallet/deploy_account_method.d.ts.map +1 -0
  204. package/dest/wallet/deploy_account_method.js +79 -0
  205. package/dest/wallet/index.d.ts +4 -17
  206. package/dest/wallet/index.d.ts.map +1 -1
  207. package/dest/wallet/index.js +3 -20
  208. package/dest/wallet/wallet.d.ts +2590 -0
  209. package/dest/wallet/wallet.d.ts.map +1 -0
  210. package/dest/wallet/wallet.js +291 -0
  211. package/package.json +47 -36
  212. package/src/account/account.ts +72 -0
  213. package/src/account/account_contract.ts +66 -0
  214. package/src/account/account_with_secret_key.ts +63 -0
  215. package/src/account/index.ts +5 -8
  216. package/src/account/signerless_account.ts +46 -0
  217. package/src/api/abi.ts +26 -0
  218. package/src/api/account.ts +8 -5
  219. package/src/api/addresses.ts +1 -0
  220. package/src/api/authorization.ts +15 -0
  221. package/src/api/block.ts +2 -0
  222. package/src/api/contract.ts +88 -0
  223. package/src/api/crypto.ts +1 -0
  224. package/src/api/deployment.ts +4 -3
  225. package/src/api/ethereum.ts +10 -0
  226. package/src/api/events.ts +44 -0
  227. package/src/api/fee.ts +1 -1
  228. package/src/api/fee_testing.ts +1 -0
  229. package/src/api/fields.ts +2 -1
  230. package/src/api/keys.ts +8 -0
  231. package/src/api/log.ts +1 -0
  232. package/src/api/messaging.ts +2 -0
  233. package/src/api/node.ts +24 -0
  234. package/src/api/note.ts +1 -0
  235. package/src/api/protocol.ts +9 -0
  236. package/src/api/trees.ts +2 -0
  237. package/src/api/tx.ts +15 -0
  238. package/src/api/utils.ts +14 -0
  239. package/src/api/wallet.ts +72 -5
  240. package/src/authorization/call_authorization_request.ts +63 -0
  241. package/src/contract/base_contract_interaction.ts +40 -171
  242. package/src/contract/batch_call.ts +108 -57
  243. package/src/contract/checker.ts +8 -3
  244. package/src/contract/contract.ts +14 -21
  245. package/src/contract/contract_base.ts +9 -26
  246. package/src/contract/contract_function_interaction.ts +135 -106
  247. package/src/contract/deploy_method.ts +307 -143
  248. package/src/contract/get_gas_limits.ts +15 -8
  249. package/src/contract/interaction_options.ts +208 -0
  250. package/src/contract/protocol_contracts/auth-registry.ts +351 -0
  251. package/src/contract/protocol_contracts/contract-class-registry.ts +241 -0
  252. package/src/contract/protocol_contracts/contract-instance-registry.ts +302 -0
  253. package/src/contract/protocol_contracts/fee-juice.ts +264 -0
  254. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +332 -0
  255. package/src/contract/protocol_contracts/public-checks.ts +316 -0
  256. package/src/contract/wait_for_proven.ts +38 -0
  257. package/src/contract/wait_opts.ts +21 -0
  258. package/src/deployment/broadcast_function.ts +58 -58
  259. package/src/deployment/contract_deployer.ts +4 -3
  260. package/src/deployment/publish_class.ts +34 -0
  261. package/src/deployment/publish_instance.ts +23 -0
  262. package/src/{api/ethereum → ethereum}/portal_manager.ts +166 -89
  263. package/src/fee/fee_juice_payment_method_with_claim.ts +49 -34
  264. package/src/fee/fee_payment_method.ts +11 -7
  265. package/src/fee/private_fee_payment_method.ts +80 -58
  266. package/src/fee/public_fee_payment_method.ts +94 -68
  267. package/src/fee/sponsored_fee_payment.ts +46 -0
  268. package/src/scripts/generate_protocol_contract_types.ts +150 -0
  269. package/src/utils/abi_types.ts +1 -1
  270. package/src/utils/authwit.ts +274 -54
  271. package/src/utils/cross_chain.ts +53 -0
  272. package/src/utils/fee_juice.ts +5 -5
  273. package/src/utils/field_compressed_string.ts +1 -1
  274. package/src/utils/node.ts +63 -1
  275. package/src/utils/pub_key.ts +3 -4
  276. package/src/wallet/account_entrypoint_meta_payment_method.ts +74 -0
  277. package/src/wallet/account_manager.ts +146 -0
  278. package/src/wallet/capabilities.ts +491 -0
  279. package/src/wallet/deploy_account_method.ts +150 -0
  280. package/src/wallet/index.ts +3 -33
  281. package/src/wallet/wallet.ts +533 -0
  282. package/dest/account/contract.d.ts +0 -37
  283. package/dest/account/contract.d.ts.map +0 -1
  284. package/dest/account/interface.d.ts +0 -31
  285. package/dest/account/interface.d.ts.map +0 -1
  286. package/dest/account/interface.js +0 -4
  287. package/dest/account/wallet.d.ts +0 -11
  288. package/dest/account/wallet.d.ts.map +0 -1
  289. package/dest/account/wallet.js +0 -3
  290. package/dest/account_manager/deploy_account_method.d.ts +0 -15
  291. package/dest/account_manager/deploy_account_method.d.ts.map +0 -1
  292. package/dest/account_manager/deploy_account_method.js +0 -43
  293. package/dest/account_manager/deploy_account_sent_tx.d.ts +0 -30
  294. package/dest/account_manager/deploy_account_sent_tx.d.ts.map +0 -1
  295. package/dest/account_manager/deploy_account_sent_tx.js +0 -29
  296. package/dest/account_manager/index.d.ts +0 -108
  297. package/dest/account_manager/index.d.ts.map +0 -1
  298. package/dest/account_manager/index.js +0 -159
  299. package/dest/api/cheat_codes.d.ts +0 -26
  300. package/dest/api/cheat_codes.d.ts.map +0 -1
  301. package/dest/api/cheat_codes.js +0 -25
  302. package/dest/api/entrypoint.d.ts +0 -2
  303. package/dest/api/entrypoint.d.ts.map +0 -1
  304. package/dest/api/entrypoint.js +0 -1
  305. package/dest/api/ethereum/anvil_test_watcher.d.ts +0 -32
  306. package/dest/api/ethereum/anvil_test_watcher.d.ts.map +0 -1
  307. package/dest/api/ethereum/anvil_test_watcher.js +0 -133
  308. package/dest/api/ethereum/chain_monitor.d.ts +0 -25
  309. package/dest/api/ethereum/chain_monitor.d.ts.map +0 -1
  310. package/dest/api/ethereum/chain_monitor.js +0 -74
  311. package/dest/api/ethereum/cheat_codes.d.ts +0 -63
  312. package/dest/api/ethereum/cheat_codes.d.ts.map +0 -1
  313. package/dest/api/ethereum/cheat_codes.js +0 -162
  314. package/dest/api/ethereum/index.d.ts +0 -7
  315. package/dest/api/ethereum/index.d.ts.map +0 -1
  316. package/dest/api/ethereum/index.js +0 -6
  317. package/dest/api/ethereum/l1_contracts.d.ts +0 -3
  318. package/dest/api/ethereum/l1_contracts.d.ts.map +0 -1
  319. package/dest/api/ethereum/l1_contracts.js +0 -13
  320. package/dest/api/ethereum/portal_manager.d.ts +0 -136
  321. package/dest/api/ethereum/portal_manager.d.ts.map +0 -1
  322. package/dest/api/ethereum/portal_manager.js +0 -286
  323. package/dest/api/interfaces/pxe.d.ts +0 -2
  324. package/dest/api/interfaces/pxe.d.ts.map +0 -1
  325. package/dest/api/interfaces/pxe.js +0 -1
  326. package/dest/api/log_id.d.ts +0 -2
  327. package/dest/api/log_id.d.ts.map +0 -1
  328. package/dest/api/log_id.js +0 -1
  329. package/dest/api/tx_hash.d.ts +0 -2
  330. package/dest/api/tx_hash.d.ts.map +0 -1
  331. package/dest/api/tx_hash.js +0 -1
  332. package/dest/contract/deploy_proven_tx.d.ts +0 -21
  333. package/dest/contract/deploy_proven_tx.d.ts.map +0 -1
  334. package/dest/contract/deploy_proven_tx.js +0 -19
  335. package/dest/contract/deploy_sent_tx.d.ts +0 -45
  336. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  337. package/dest/contract/deploy_sent_tx.js +0 -43
  338. package/dest/contract/index.d.ts +0 -45
  339. package/dest/contract/index.d.ts.map +0 -1
  340. package/dest/contract/index.js +0 -43
  341. package/dest/contract/protocol_contracts.d.ts +0 -9
  342. package/dest/contract/protocol_contracts.d.ts.map +0 -1
  343. package/dest/contract/protocol_contracts.js +0 -26
  344. package/dest/contract/proven_tx.d.ts +0 -17
  345. package/dest/contract/proven_tx.d.ts.map +0 -1
  346. package/dest/contract/proven_tx.js +0 -22
  347. package/dest/contract/sent_tx.d.ts +0 -61
  348. package/dest/contract/sent_tx.d.ts.map +0 -1
  349. package/dest/contract/sent_tx.js +0 -102
  350. package/dest/contract/unsafe_contract.d.ts +0 -15
  351. package/dest/contract/unsafe_contract.d.ts.map +0 -1
  352. package/dest/contract/unsafe_contract.js +0 -6
  353. package/dest/deployment/deploy_instance.d.ts +0 -10
  354. package/dest/deployment/deploy_instance.d.ts.map +0 -1
  355. package/dest/deployment/deploy_instance.js +0 -14
  356. package/dest/deployment/index.d.ts +0 -2
  357. package/dest/deployment/index.d.ts.map +0 -1
  358. package/dest/deployment/index.js +0 -1
  359. package/dest/deployment/register_class.d.ts +0 -6
  360. package/dest/deployment/register_class.d.ts.map +0 -1
  361. package/dest/deployment/register_class.js +0 -22
  362. package/dest/entrypoint/default_entrypoint.d.ts +0 -12
  363. package/dest/entrypoint/default_entrypoint.d.ts.map +0 -1
  364. package/dest/entrypoint/default_entrypoint.js +0 -28
  365. package/dest/entrypoint/default_multi_call_entrypoint.d.ts +0 -15
  366. package/dest/entrypoint/default_multi_call_entrypoint.d.ts.map +0 -1
  367. package/dest/entrypoint/default_multi_call_entrypoint.js +0 -130
  368. package/dest/entrypoint/entrypoint.d.ts +0 -35
  369. package/dest/entrypoint/entrypoint.d.ts.map +0 -1
  370. package/dest/entrypoint/entrypoint.js +0 -4
  371. package/dest/entrypoint/payload.d.ts +0 -128
  372. package/dest/entrypoint/payload.d.ts.map +0 -1
  373. package/dest/entrypoint/payload.js +0 -143
  374. package/dest/fee/fee_juice_payment_method.d.ts +0 -14
  375. package/dest/fee/fee_juice_payment_method.d.ts.map +0 -1
  376. package/dest/fee/fee_juice_payment_method.js +0 -20
  377. package/dest/index.d.ts +0 -66
  378. package/dest/index.d.ts.map +0 -1
  379. package/dest/index.js +0 -69
  380. package/dest/rpc_clients/index.d.ts +0 -3
  381. package/dest/rpc_clients/index.d.ts.map +0 -1
  382. package/dest/rpc_clients/index.js +0 -2
  383. package/dest/rpc_clients/node/index.d.ts +0 -12
  384. package/dest/rpc_clients/node/index.d.ts.map +0 -1
  385. package/dest/rpc_clients/node/index.js +0 -78
  386. package/dest/rpc_clients/pxe_client.d.ts +0 -10
  387. package/dest/rpc_clients/pxe_client.d.ts.map +0 -1
  388. package/dest/rpc_clients/pxe_client.js +0 -23
  389. package/dest/utils/aztec_cheatcodes.d.ts +0 -59
  390. package/dest/utils/aztec_cheatcodes.d.ts.map +0 -1
  391. package/dest/utils/aztec_cheatcodes.js +0 -62
  392. package/dest/utils/index.d.ts +0 -8
  393. package/dest/utils/index.d.ts.map +0 -1
  394. package/dest/utils/index.js +0 -6
  395. package/dest/utils/pxe.d.ts +0 -4
  396. package/dest/utils/pxe.d.ts.map +0 -1
  397. package/dest/utils/pxe.js +0 -14
  398. package/dest/wallet/account_wallet.d.ts +0 -76
  399. package/dest/wallet/account_wallet.d.ts.map +0 -1
  400. package/dest/wallet/account_wallet.js +0 -231
  401. package/dest/wallet/account_wallet_with_private_key.d.ts +0 -26
  402. package/dest/wallet/account_wallet_with_private_key.d.ts.map +0 -1
  403. package/dest/wallet/base_wallet.d.ts +0 -73
  404. package/dest/wallet/base_wallet.d.ts.map +0 -1
  405. package/dest/wallet/base_wallet.js +0 -123
  406. package/dest/wallet/signerless_wallet.d.ts +0 -25
  407. package/dest/wallet/signerless_wallet.d.ts.map +0 -1
  408. package/dest/wallet/signerless_wallet.js +0 -36
  409. package/src/account/contract.ts +0 -56
  410. package/src/account/interface.ts +0 -36
  411. package/src/account/wallet.ts +0 -13
  412. package/src/account_manager/deploy_account_method.ts +0 -86
  413. package/src/account_manager/deploy_account_sent_tx.ts +0 -42
  414. package/src/account_manager/index.ts +0 -229
  415. package/src/api/cheat_codes.ts +0 -35
  416. package/src/api/entrypoint.ts +0 -1
  417. package/src/api/ethereum/anvil_test_watcher.ts +0 -158
  418. package/src/api/ethereum/chain_monitor.ts +0 -88
  419. package/src/api/ethereum/cheat_codes.ts +0 -184
  420. package/src/api/ethereum/index.ts +0 -19
  421. package/src/api/ethereum/l1_contracts.ts +0 -21
  422. package/src/api/interfaces/pxe.ts +0 -1
  423. package/src/api/log_id.ts +0 -1
  424. package/src/api/tx_hash.ts +0 -1
  425. package/src/contract/deploy_proven_tx.ts +0 -34
  426. package/src/contract/deploy_sent_tx.ts +0 -74
  427. package/src/contract/index.ts +0 -48
  428. package/src/contract/protocol_contracts.ts +0 -35
  429. package/src/contract/proven_tx.ts +0 -42
  430. package/src/contract/sent_tx.ts +0 -141
  431. package/src/contract/unsafe_contract.ts +0 -19
  432. package/src/deployment/deploy_instance.ts +0 -31
  433. package/src/deployment/index.ts +0 -1
  434. package/src/deployment/register_class.ts +0 -44
  435. package/src/entrypoint/default_entrypoint.ts +0 -39
  436. package/src/entrypoint/default_multi_call_entrypoint.ts +0 -93
  437. package/src/entrypoint/entrypoint.ts +0 -39
  438. package/src/entrypoint/payload.ts +0 -238
  439. package/src/fee/fee_juice_payment_method.ts +0 -26
  440. package/src/index.ts +0 -106
  441. package/src/rpc_clients/index.ts +0 -2
  442. package/src/rpc_clients/node/index.ts +0 -77
  443. package/src/rpc_clients/pxe_client.ts +0 -25
  444. package/src/utils/aztec_cheatcodes.ts +0 -77
  445. package/src/utils/index.ts +0 -21
  446. package/src/utils/pxe.ts +0 -17
  447. package/src/wallet/account_wallet.ts +0 -242
  448. package/src/wallet/account_wallet_with_private_key.ts +0 -40
  449. package/src/wallet/base_wallet.ts +0 -198
  450. package/src/wallet/signerless_wallet.ts +0 -52
@@ -0,0 +1,2590 @@
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 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 ContractInstanceWithAddress } from '@aztec/stdlib/contract';
8
+ import { Gas } from '@aztec/stdlib/gas';
9
+ import { type ApiSchemaFor } from '@aztec/stdlib/schemas';
10
+ import type { ExecutionPayload, InTx } from '@aztec/stdlib/tx';
11
+ import { Capsule, HashedValues, TxHash, TxProfileResult, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
12
+ import { z } from 'zod';
13
+ import { type FeeEstimationOptions, type GasSettingsOption, type InteractionWaitOptions, type ProfileInteractionOptions, type SendInteractionOptionsWithoutWait, type SendReturn, type SimulateInteractionOptions } from '../contract/interaction_options.js';
14
+ import type { CallIntent, IntentInnerHash } from '../utils/authwit.js';
15
+ import type { AppCapabilities, WalletCapabilities } from './capabilities.js';
16
+ /**
17
+ * A wrapper type that allows any item to be associated with an alias.
18
+ */
19
+ export type Aliased<T> = {
20
+ /**
21
+ * The alias
22
+ */
23
+ alias: string;
24
+ /**
25
+ * The item being aliased.
26
+ */
27
+ item: T;
28
+ };
29
+ /**
30
+ * Options for simulating interactions with the wallet. Overrides the fee settings of an interaction with
31
+ * a simplified version that only hints at the wallet whether the interaction contains a
32
+ * fee payment method or not
33
+ */
34
+ export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
35
+ /** The fee options */
36
+ fee?: GasSettingsOption & FeeEstimationOptions;
37
+ };
38
+ /**
39
+ * Options for profiling interactions with the wallet. Overrides the fee settings of an interaction with
40
+ * a simplified version that only hints at the wallet whether the interaction contains a
41
+ * fee payment method or not
42
+ */
43
+ export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
44
+ /** The fee options */
45
+ fee?: GasSettingsOption;
46
+ };
47
+ /**
48
+ * Options for sending/proving interactions with the wallet. Overrides the fee settings of an interaction with
49
+ * a simplified version that only hints at the wallet whether the interaction contains a
50
+ * fee payment method or not
51
+ */
52
+ export type SendOptions<W extends InteractionWaitOptions = undefined> = Omit<SendInteractionOptionsWithoutWait, 'fee'> & {
53
+ /** The fee options */
54
+ fee?: GasSettingsOption;
55
+ /** Whether to wait for the transaction to be mined */
56
+ wait?: W;
57
+ };
58
+ /**
59
+ * Helper type that represents all methods that can be batched (all methods except batch itself).
60
+ */
61
+ export type BatchableMethods = Omit<Wallet, 'batch'>;
62
+ /**
63
+ * A method call with its name and arguments.
64
+ */
65
+ type BatchedMethodInternal<T extends keyof BatchableMethods> = {
66
+ /** The method name */
67
+ name: T;
68
+ /** The method arguments */
69
+ args: Parameters<BatchableMethods[T]>;
70
+ };
71
+ /**
72
+ * Union of all possible batched method calls.
73
+ * This ensures type safety: the `args` must match the specific `name`.
74
+ */
75
+ export type BatchedMethod = {
76
+ [K in keyof BatchableMethods]: BatchedMethodInternal<K>;
77
+ }[keyof BatchableMethods];
78
+ /**
79
+ * Helper type to extract the return type of a batched method
80
+ */
81
+ export type BatchedMethodResult<T> = T extends BatchedMethodInternal<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
82
+ /**
83
+ * Wrapper type for batch results that includes the method name for discriminated union deserialization.
84
+ * Each result is wrapped as \{ name: 'methodName', result: ActualResult \} to allow proper deserialization
85
+ * when AztecAddress and TxHash would otherwise be ambiguous (both are hex strings).
86
+ */
87
+ export type BatchedMethodResultWrapper<T extends BatchedMethod> = {
88
+ /** The method name */
89
+ name: T['name'];
90
+ /** The method result */
91
+ result: BatchedMethodResult<T>;
92
+ };
93
+ /**
94
+ * Maps a tuple of BatchedMethod to a tuple of their wrapped return types
95
+ */
96
+ export type BatchResults<T extends readonly BatchedMethod[]> = {
97
+ [K in keyof T]: BatchedMethodResultWrapper<T[K]>;
98
+ };
99
+ /**
100
+ * Filter options when querying private events.
101
+ */
102
+ export type PrivateEventFilter = {
103
+ /** The address of the contract that emitted the events. */
104
+ contractAddress: AztecAddress;
105
+ /** Addresses of accounts that are in scope for this filter. */
106
+ scopes: AztecAddress[];
107
+ /** Transaction in which the events were emitted. */
108
+ txHash?: TxHash;
109
+ /** The block number from which to start fetching events (inclusive).
110
+ * Optional. If provided, it must be greater or equal than 1.
111
+ * Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
112
+ * */
113
+ fromBlock?: BlockNumber;
114
+ /** The block number until which to fetch logs (not inclusive).
115
+ * Optional. If provided, it must be greater than fromBlock.
116
+ * Defaults to the latest known block to PXE + 1.
117
+ */
118
+ toBlock?: BlockNumber;
119
+ };
120
+ /**
121
+ * An ABI decoded private event with associated metadata.
122
+ */
123
+ export type PrivateEvent<T> = {
124
+ /** The ABI decoded event */
125
+ event: T;
126
+ /** Metadata describing event context information such as tx and block */
127
+ metadata: InTx;
128
+ };
129
+ /**
130
+ * Contract metadata including deployment and registration status.
131
+ */
132
+ export type ContractMetadata = {
133
+ /** The contract instance */
134
+ instance?: ContractInstanceWithAddress;
135
+ /** Whether the contract has been initialized (init nullifier exists) */
136
+ isContractInitialized: boolean;
137
+ /** Whether the contract instance is publicly deployed on-chain */
138
+ isContractPublished: boolean;
139
+ /** Whether the contract has been updated to a different class */
140
+ isContractUpdated: boolean;
141
+ /** The updated contract class ID if the contract has been updated */
142
+ updatedContractClassId?: Fr | undefined;
143
+ };
144
+ /**
145
+ * Contract class metadata.
146
+ */
147
+ export type ContractClassMetadata = {
148
+ /** Whether the artifact is registered in the wallet */
149
+ isArtifactRegistered: boolean;
150
+ /** Whether the contract class is publicly registered on-chain */
151
+ isContractClassPubliclyRegistered: boolean;
152
+ };
153
+ /**
154
+ * The wallet interface.
155
+ */
156
+ export type Wallet = {
157
+ getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
158
+ getChainInfo(): Promise<ChainInfo>;
159
+ getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
160
+ getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
161
+ registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
162
+ getAddressBook(): Promise<Aliased<AztecAddress>[]>;
163
+ getAccounts(): Promise<Aliased<AztecAddress>[]>;
164
+ registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
165
+ simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
166
+ simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
167
+ profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
168
+ sendTx<W extends InteractionWaitOptions = undefined>(exec: ExecutionPayload, opts: SendOptions<W>): Promise<SendReturn<W>>;
169
+ createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
170
+ requestCapabilities(manifest: AppCapabilities): Promise<WalletCapabilities>;
171
+ batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
172
+ };
173
+ export declare const FunctionCallSchema: z.ZodObject<{
174
+ name: z.ZodString;
175
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
176
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
177
+ type: z.ZodNativeEnum<typeof FunctionType>;
178
+ isStatic: z.ZodBoolean;
179
+ hideMsgSender: z.ZodBoolean;
180
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
181
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
182
+ }, "strip", z.ZodTypeAny, {
183
+ name: string;
184
+ to: AztecAddress;
185
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
186
+ type: FunctionType;
187
+ isStatic: boolean;
188
+ hideMsgSender: boolean;
189
+ args: Fr[];
190
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
191
+ }, {
192
+ name: string;
193
+ to?: any;
194
+ selector?: any;
195
+ type: FunctionType;
196
+ isStatic: boolean;
197
+ hideMsgSender: boolean;
198
+ args: any[];
199
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
200
+ }>;
201
+ export declare const ExecutionPayloadSchema: z.ZodObject<{
202
+ calls: z.ZodArray<z.ZodObject<{
203
+ name: z.ZodString;
204
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
205
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
206
+ type: z.ZodNativeEnum<typeof FunctionType>;
207
+ isStatic: z.ZodBoolean;
208
+ hideMsgSender: z.ZodBoolean;
209
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
210
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
211
+ }, "strip", z.ZodTypeAny, {
212
+ name: string;
213
+ to: AztecAddress;
214
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
215
+ type: FunctionType;
216
+ isStatic: boolean;
217
+ hideMsgSender: boolean;
218
+ args: Fr[];
219
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
220
+ }, {
221
+ name: string;
222
+ to?: any;
223
+ selector?: any;
224
+ type: FunctionType;
225
+ isStatic: boolean;
226
+ hideMsgSender: boolean;
227
+ args: any[];
228
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
229
+ }>, "many">;
230
+ authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
231
+ capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
232
+ extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
233
+ feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ calls: {
236
+ name: string;
237
+ to: AztecAddress;
238
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
239
+ type: FunctionType;
240
+ isStatic: boolean;
241
+ hideMsgSender: boolean;
242
+ args: Fr[];
243
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
244
+ }[];
245
+ authWitnesses: AuthWitness[];
246
+ capsules: Capsule[];
247
+ extraHashedArgs: HashedValues[];
248
+ feePayer?: AztecAddress | undefined;
249
+ }, {
250
+ calls: {
251
+ name: string;
252
+ to?: any;
253
+ selector?: any;
254
+ type: FunctionType;
255
+ isStatic: boolean;
256
+ hideMsgSender: boolean;
257
+ args: any[];
258
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
259
+ }[];
260
+ authWitnesses: string[];
261
+ capsules: string[];
262
+ extraHashedArgs: any[];
263
+ feePayer?: any;
264
+ }>;
265
+ export declare const GasSettingsOptionSchema: z.ZodObject<{
266
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
267
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
268
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
269
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ daGas: number;
272
+ l2Gas: number;
273
+ }, {
274
+ daGas: string | number | bigint;
275
+ l2Gas: string | number | bigint;
276
+ }>, Gas, {
277
+ daGas: string | number | bigint;
278
+ l2Gas: string | number | bigint;
279
+ }>>;
280
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
281
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
282
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ daGas: number;
285
+ l2Gas: number;
286
+ }, {
287
+ daGas: string | number | bigint;
288
+ l2Gas: string | number | bigint;
289
+ }>, Gas, {
290
+ daGas: string | number | bigint;
291
+ l2Gas: string | number | bigint;
292
+ }>>;
293
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
294
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
295
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
296
+ }, "strip", z.ZodTypeAny, {
297
+ feePerDaGas: bigint;
298
+ feePerL2Gas: bigint;
299
+ }, {
300
+ feePerDaGas: string | number | bigint;
301
+ feePerL2Gas: string | number | bigint;
302
+ }>>;
303
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
304
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
305
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ feePerDaGas: bigint;
308
+ feePerL2Gas: bigint;
309
+ }, {
310
+ feePerDaGas: string | number | bigint;
311
+ feePerL2Gas: string | number | bigint;
312
+ }>>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ gasLimits?: Gas | undefined;
315
+ teardownGasLimits?: Gas | undefined;
316
+ maxFeePerGas?: {
317
+ feePerDaGas: bigint;
318
+ feePerL2Gas: bigint;
319
+ } | undefined;
320
+ maxPriorityFeePerGas?: {
321
+ feePerDaGas: bigint;
322
+ feePerL2Gas: bigint;
323
+ } | undefined;
324
+ }, {
325
+ gasLimits?: {
326
+ daGas: string | number | bigint;
327
+ l2Gas: string | number | bigint;
328
+ } | undefined;
329
+ teardownGasLimits?: {
330
+ daGas: string | number | bigint;
331
+ l2Gas: string | number | bigint;
332
+ } | undefined;
333
+ maxFeePerGas?: {
334
+ feePerDaGas: string | number | bigint;
335
+ feePerL2Gas: string | number | bigint;
336
+ } | undefined;
337
+ maxPriorityFeePerGas?: {
338
+ feePerDaGas: string | number | bigint;
339
+ feePerL2Gas: string | number | bigint;
340
+ } | undefined;
341
+ }>>;
342
+ }, "strip", z.ZodTypeAny, {
343
+ gasSettings?: {
344
+ gasLimits?: Gas | undefined;
345
+ teardownGasLimits?: Gas | undefined;
346
+ maxFeePerGas?: {
347
+ feePerDaGas: bigint;
348
+ feePerL2Gas: bigint;
349
+ } | undefined;
350
+ maxPriorityFeePerGas?: {
351
+ feePerDaGas: bigint;
352
+ feePerL2Gas: bigint;
353
+ } | undefined;
354
+ } | undefined;
355
+ }, {
356
+ gasSettings?: {
357
+ gasLimits?: {
358
+ daGas: string | number | bigint;
359
+ l2Gas: string | number | bigint;
360
+ } | undefined;
361
+ teardownGasLimits?: {
362
+ daGas: string | number | bigint;
363
+ l2Gas: string | number | bigint;
364
+ } | undefined;
365
+ maxFeePerGas?: {
366
+ feePerDaGas: string | number | bigint;
367
+ feePerL2Gas: string | number | bigint;
368
+ } | undefined;
369
+ maxPriorityFeePerGas?: {
370
+ feePerDaGas: string | number | bigint;
371
+ feePerL2Gas: string | number | bigint;
372
+ } | undefined;
373
+ } | undefined;
374
+ }>;
375
+ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
376
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
377
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
378
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
379
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
380
+ }, "strip", z.ZodTypeAny, {
381
+ daGas: number;
382
+ l2Gas: number;
383
+ }, {
384
+ daGas: string | number | bigint;
385
+ l2Gas: string | number | bigint;
386
+ }>, Gas, {
387
+ daGas: string | number | bigint;
388
+ l2Gas: string | number | bigint;
389
+ }>>;
390
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
391
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
392
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ daGas: number;
395
+ l2Gas: number;
396
+ }, {
397
+ daGas: string | number | bigint;
398
+ l2Gas: string | number | bigint;
399
+ }>, Gas, {
400
+ daGas: string | number | bigint;
401
+ l2Gas: string | number | bigint;
402
+ }>>;
403
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
404
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
405
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ feePerDaGas: bigint;
408
+ feePerL2Gas: bigint;
409
+ }, {
410
+ feePerDaGas: string | number | bigint;
411
+ feePerL2Gas: string | number | bigint;
412
+ }>>;
413
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
414
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
415
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
416
+ }, "strip", z.ZodTypeAny, {
417
+ feePerDaGas: bigint;
418
+ feePerL2Gas: bigint;
419
+ }, {
420
+ feePerDaGas: string | number | bigint;
421
+ feePerL2Gas: string | number | bigint;
422
+ }>>;
423
+ }, "strip", z.ZodTypeAny, {
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
+ }, {
435
+ gasLimits?: {
436
+ daGas: string | number | bigint;
437
+ l2Gas: string | number | bigint;
438
+ } | undefined;
439
+ teardownGasLimits?: {
440
+ daGas: string | number | bigint;
441
+ l2Gas: string | number | bigint;
442
+ } | undefined;
443
+ maxFeePerGas?: {
444
+ feePerDaGas: string | number | bigint;
445
+ feePerL2Gas: string | number | bigint;
446
+ } | undefined;
447
+ maxPriorityFeePerGas?: {
448
+ feePerDaGas: string | number | bigint;
449
+ feePerL2Gas: string | number | bigint;
450
+ } | undefined;
451
+ }>>;
452
+ } & {
453
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
454
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
455
+ }, "strip", z.ZodTypeAny, {
456
+ gasSettings?: {
457
+ gasLimits?: Gas | undefined;
458
+ teardownGasLimits?: Gas | undefined;
459
+ maxFeePerGas?: {
460
+ feePerDaGas: bigint;
461
+ feePerL2Gas: bigint;
462
+ } | undefined;
463
+ maxPriorityFeePerGas?: {
464
+ feePerDaGas: bigint;
465
+ feePerL2Gas: bigint;
466
+ } | undefined;
467
+ } | undefined;
468
+ estimatedGasPadding?: number | undefined;
469
+ estimateGas?: boolean | undefined;
470
+ }, {
471
+ gasSettings?: {
472
+ gasLimits?: {
473
+ daGas: string | number | bigint;
474
+ l2Gas: string | number | bigint;
475
+ } | undefined;
476
+ teardownGasLimits?: {
477
+ daGas: string | number | bigint;
478
+ l2Gas: string | number | bigint;
479
+ } | undefined;
480
+ maxFeePerGas?: {
481
+ feePerDaGas: string | number | bigint;
482
+ feePerL2Gas: string | number | bigint;
483
+ } | undefined;
484
+ maxPriorityFeePerGas?: {
485
+ feePerDaGas: string | number | bigint;
486
+ feePerL2Gas: string | number | bigint;
487
+ } | undefined;
488
+ } | undefined;
489
+ estimatedGasPadding?: number | undefined;
490
+ estimateGas?: boolean | undefined;
491
+ }>;
492
+ export declare const WaitOptsSchema: z.ZodObject<{
493
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
494
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
495
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
496
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ ignoreDroppedReceiptsFor?: number | undefined;
499
+ timeout?: number | undefined;
500
+ interval?: number | undefined;
501
+ dontThrowOnRevert?: boolean | undefined;
502
+ }, {
503
+ ignoreDroppedReceiptsFor?: number | undefined;
504
+ timeout?: number | undefined;
505
+ interval?: number | undefined;
506
+ dontThrowOnRevert?: boolean | undefined;
507
+ }>;
508
+ export declare const SendOptionsSchema: z.ZodObject<{
509
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
510
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
511
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
512
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
513
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
514
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
515
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
516
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ daGas: number;
519
+ l2Gas: number;
520
+ }, {
521
+ daGas: string | number | bigint;
522
+ l2Gas: string | number | bigint;
523
+ }>, Gas, {
524
+ daGas: string | number | bigint;
525
+ l2Gas: string | number | bigint;
526
+ }>>;
527
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
528
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
529
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
530
+ }, "strip", z.ZodTypeAny, {
531
+ daGas: number;
532
+ l2Gas: number;
533
+ }, {
534
+ daGas: string | number | bigint;
535
+ l2Gas: string | number | bigint;
536
+ }>, Gas, {
537
+ daGas: string | number | bigint;
538
+ l2Gas: string | number | bigint;
539
+ }>>;
540
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
541
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
542
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ feePerDaGas: bigint;
545
+ feePerL2Gas: bigint;
546
+ }, {
547
+ feePerDaGas: string | number | bigint;
548
+ feePerL2Gas: string | number | bigint;
549
+ }>>;
550
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
551
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
552
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ feePerDaGas: bigint;
555
+ feePerL2Gas: bigint;
556
+ }, {
557
+ feePerDaGas: string | number | bigint;
558
+ feePerL2Gas: string | number | bigint;
559
+ }>>;
560
+ }, "strip", z.ZodTypeAny, {
561
+ gasLimits?: Gas | undefined;
562
+ teardownGasLimits?: Gas | undefined;
563
+ maxFeePerGas?: {
564
+ feePerDaGas: bigint;
565
+ feePerL2Gas: bigint;
566
+ } | undefined;
567
+ maxPriorityFeePerGas?: {
568
+ feePerDaGas: bigint;
569
+ feePerL2Gas: bigint;
570
+ } | undefined;
571
+ }, {
572
+ gasLimits?: {
573
+ daGas: string | number | bigint;
574
+ l2Gas: string | number | bigint;
575
+ } | undefined;
576
+ teardownGasLimits?: {
577
+ daGas: string | number | bigint;
578
+ l2Gas: string | number | bigint;
579
+ } | undefined;
580
+ maxFeePerGas?: {
581
+ feePerDaGas: string | number | bigint;
582
+ feePerL2Gas: string | number | bigint;
583
+ } | undefined;
584
+ maxPriorityFeePerGas?: {
585
+ feePerDaGas: string | number | bigint;
586
+ feePerL2Gas: string | number | bigint;
587
+ } | undefined;
588
+ }>>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ gasSettings?: {
591
+ gasLimits?: Gas | undefined;
592
+ teardownGasLimits?: Gas | undefined;
593
+ maxFeePerGas?: {
594
+ feePerDaGas: bigint;
595
+ feePerL2Gas: bigint;
596
+ } | undefined;
597
+ maxPriorityFeePerGas?: {
598
+ feePerDaGas: bigint;
599
+ feePerL2Gas: bigint;
600
+ } | undefined;
601
+ } | undefined;
602
+ }, {
603
+ gasSettings?: {
604
+ gasLimits?: {
605
+ daGas: string | number | bigint;
606
+ l2Gas: string | number | bigint;
607
+ } | undefined;
608
+ teardownGasLimits?: {
609
+ daGas: string | number | bigint;
610
+ l2Gas: string | number | bigint;
611
+ } | undefined;
612
+ maxFeePerGas?: {
613
+ feePerDaGas: string | number | bigint;
614
+ feePerL2Gas: string | number | bigint;
615
+ } | undefined;
616
+ maxPriorityFeePerGas?: {
617
+ feePerDaGas: string | number | bigint;
618
+ feePerL2Gas: string | number | bigint;
619
+ } | undefined;
620
+ } | undefined;
621
+ }>>;
622
+ wait: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
623
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
624
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
625
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
626
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
627
+ }, "strip", z.ZodTypeAny, {
628
+ ignoreDroppedReceiptsFor?: number | undefined;
629
+ timeout?: number | undefined;
630
+ interval?: number | undefined;
631
+ dontThrowOnRevert?: boolean | undefined;
632
+ }, {
633
+ ignoreDroppedReceiptsFor?: number | undefined;
634
+ timeout?: number | undefined;
635
+ interval?: number | undefined;
636
+ dontThrowOnRevert?: boolean | undefined;
637
+ }>]>>;
638
+ }, "strip", z.ZodTypeAny, {
639
+ from: AztecAddress;
640
+ authWitnesses?: AuthWitness[] | undefined;
641
+ capsules?: Capsule[] | undefined;
642
+ fee?: {
643
+ gasSettings?: {
644
+ gasLimits?: Gas | undefined;
645
+ teardownGasLimits?: Gas | undefined;
646
+ maxFeePerGas?: {
647
+ feePerDaGas: bigint;
648
+ feePerL2Gas: bigint;
649
+ } | undefined;
650
+ maxPriorityFeePerGas?: {
651
+ feePerDaGas: bigint;
652
+ feePerL2Gas: bigint;
653
+ } | undefined;
654
+ } | undefined;
655
+ } | undefined;
656
+ wait?: "NO_WAIT" | {
657
+ ignoreDroppedReceiptsFor?: number | undefined;
658
+ timeout?: number | undefined;
659
+ interval?: number | undefined;
660
+ dontThrowOnRevert?: boolean | undefined;
661
+ } | undefined;
662
+ }, {
663
+ from?: any;
664
+ authWitnesses?: string[] | undefined;
665
+ capsules?: string[] | undefined;
666
+ fee?: {
667
+ gasSettings?: {
668
+ gasLimits?: {
669
+ daGas: string | number | bigint;
670
+ l2Gas: string | number | bigint;
671
+ } | undefined;
672
+ teardownGasLimits?: {
673
+ daGas: string | number | bigint;
674
+ l2Gas: string | number | bigint;
675
+ } | undefined;
676
+ maxFeePerGas?: {
677
+ feePerDaGas: string | number | bigint;
678
+ feePerL2Gas: string | number | bigint;
679
+ } | undefined;
680
+ maxPriorityFeePerGas?: {
681
+ feePerDaGas: string | number | bigint;
682
+ feePerL2Gas: string | number | bigint;
683
+ } | undefined;
684
+ } | undefined;
685
+ } | undefined;
686
+ wait?: "NO_WAIT" | {
687
+ ignoreDroppedReceiptsFor?: number | undefined;
688
+ timeout?: number | undefined;
689
+ interval?: number | undefined;
690
+ dontThrowOnRevert?: boolean | undefined;
691
+ } | undefined;
692
+ }>;
693
+ export declare const SimulateOptionsSchema: z.ZodObject<{
694
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
695
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
696
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
697
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
698
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
699
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
700
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
701
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
702
+ }, "strip", z.ZodTypeAny, {
703
+ daGas: number;
704
+ l2Gas: number;
705
+ }, {
706
+ daGas: string | number | bigint;
707
+ l2Gas: string | number | bigint;
708
+ }>, Gas, {
709
+ daGas: string | number | bigint;
710
+ l2Gas: string | number | bigint;
711
+ }>>;
712
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
713
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
714
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ daGas: number;
717
+ l2Gas: number;
718
+ }, {
719
+ daGas: string | number | bigint;
720
+ l2Gas: string | number | bigint;
721
+ }>, Gas, {
722
+ daGas: string | number | bigint;
723
+ l2Gas: string | number | bigint;
724
+ }>>;
725
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
726
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
727
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ feePerDaGas: bigint;
730
+ feePerL2Gas: bigint;
731
+ }, {
732
+ feePerDaGas: string | number | bigint;
733
+ feePerL2Gas: string | number | bigint;
734
+ }>>;
735
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
736
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
737
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
738
+ }, "strip", z.ZodTypeAny, {
739
+ feePerDaGas: bigint;
740
+ feePerL2Gas: bigint;
741
+ }, {
742
+ feePerDaGas: string | number | bigint;
743
+ feePerL2Gas: string | number | bigint;
744
+ }>>;
745
+ }, "strip", z.ZodTypeAny, {
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
+ }, {
757
+ gasLimits?: {
758
+ daGas: string | number | bigint;
759
+ l2Gas: string | number | bigint;
760
+ } | undefined;
761
+ teardownGasLimits?: {
762
+ daGas: string | number | bigint;
763
+ l2Gas: string | number | bigint;
764
+ } | undefined;
765
+ maxFeePerGas?: {
766
+ feePerDaGas: string | number | bigint;
767
+ feePerL2Gas: string | number | bigint;
768
+ } | undefined;
769
+ maxPriorityFeePerGas?: {
770
+ feePerDaGas: string | number | bigint;
771
+ feePerL2Gas: string | number | bigint;
772
+ } | undefined;
773
+ }>>;
774
+ } & {
775
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
776
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
777
+ }, "strip", z.ZodTypeAny, {
778
+ gasSettings?: {
779
+ gasLimits?: Gas | undefined;
780
+ teardownGasLimits?: Gas | undefined;
781
+ maxFeePerGas?: {
782
+ feePerDaGas: bigint;
783
+ feePerL2Gas: bigint;
784
+ } | undefined;
785
+ maxPriorityFeePerGas?: {
786
+ feePerDaGas: bigint;
787
+ feePerL2Gas: bigint;
788
+ } | undefined;
789
+ } | undefined;
790
+ estimatedGasPadding?: number | undefined;
791
+ estimateGas?: boolean | undefined;
792
+ }, {
793
+ gasSettings?: {
794
+ gasLimits?: {
795
+ daGas: string | number | bigint;
796
+ l2Gas: string | number | bigint;
797
+ } | undefined;
798
+ teardownGasLimits?: {
799
+ daGas: string | number | bigint;
800
+ l2Gas: string | number | bigint;
801
+ } | undefined;
802
+ maxFeePerGas?: {
803
+ feePerDaGas: string | number | bigint;
804
+ feePerL2Gas: string | number | bigint;
805
+ } | undefined;
806
+ maxPriorityFeePerGas?: {
807
+ feePerDaGas: string | number | bigint;
808
+ feePerL2Gas: string | number | bigint;
809
+ } | undefined;
810
+ } | undefined;
811
+ estimatedGasPadding?: number | undefined;
812
+ estimateGas?: boolean | undefined;
813
+ }>>;
814
+ skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
815
+ skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
816
+ includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
817
+ }, "strip", z.ZodTypeAny, {
818
+ from: AztecAddress;
819
+ authWitnesses?: AuthWitness[] | undefined;
820
+ capsules?: Capsule[] | undefined;
821
+ fee?: {
822
+ gasSettings?: {
823
+ gasLimits?: Gas | undefined;
824
+ teardownGasLimits?: Gas | undefined;
825
+ maxFeePerGas?: {
826
+ feePerDaGas: bigint;
827
+ feePerL2Gas: bigint;
828
+ } | undefined;
829
+ maxPriorityFeePerGas?: {
830
+ feePerDaGas: bigint;
831
+ feePerL2Gas: bigint;
832
+ } | undefined;
833
+ } | undefined;
834
+ estimatedGasPadding?: number | undefined;
835
+ estimateGas?: boolean | undefined;
836
+ } | undefined;
837
+ skipTxValidation?: boolean | undefined;
838
+ skipFeeEnforcement?: boolean | undefined;
839
+ includeMetadata?: boolean | undefined;
840
+ }, {
841
+ from?: any;
842
+ authWitnesses?: string[] | undefined;
843
+ capsules?: string[] | undefined;
844
+ fee?: {
845
+ gasSettings?: {
846
+ gasLimits?: {
847
+ daGas: string | number | bigint;
848
+ l2Gas: string | number | bigint;
849
+ } | undefined;
850
+ teardownGasLimits?: {
851
+ daGas: string | number | bigint;
852
+ l2Gas: string | number | bigint;
853
+ } | undefined;
854
+ maxFeePerGas?: {
855
+ feePerDaGas: string | number | bigint;
856
+ feePerL2Gas: string | number | bigint;
857
+ } | undefined;
858
+ maxPriorityFeePerGas?: {
859
+ feePerDaGas: string | number | bigint;
860
+ feePerL2Gas: string | number | bigint;
861
+ } | undefined;
862
+ } | undefined;
863
+ estimatedGasPadding?: number | undefined;
864
+ estimateGas?: boolean | undefined;
865
+ } | undefined;
866
+ skipTxValidation?: boolean | undefined;
867
+ skipFeeEnforcement?: boolean | undefined;
868
+ includeMetadata?: boolean | undefined;
869
+ }>;
870
+ export declare const ProfileOptionsSchema: z.ZodObject<{
871
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
872
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
873
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
874
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
875
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
876
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
877
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
878
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
879
+ }, "strip", z.ZodTypeAny, {
880
+ daGas: number;
881
+ l2Gas: number;
882
+ }, {
883
+ daGas: string | number | bigint;
884
+ l2Gas: string | number | bigint;
885
+ }>, Gas, {
886
+ daGas: string | number | bigint;
887
+ l2Gas: string | number | bigint;
888
+ }>>;
889
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
890
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
891
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
892
+ }, "strip", z.ZodTypeAny, {
893
+ daGas: number;
894
+ l2Gas: number;
895
+ }, {
896
+ daGas: string | number | bigint;
897
+ l2Gas: string | number | bigint;
898
+ }>, Gas, {
899
+ daGas: string | number | bigint;
900
+ l2Gas: string | number | bigint;
901
+ }>>;
902
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
903
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
904
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
905
+ }, "strip", z.ZodTypeAny, {
906
+ feePerDaGas: bigint;
907
+ feePerL2Gas: bigint;
908
+ }, {
909
+ feePerDaGas: string | number | bigint;
910
+ feePerL2Gas: string | number | bigint;
911
+ }>>;
912
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
913
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
914
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
915
+ }, "strip", z.ZodTypeAny, {
916
+ feePerDaGas: bigint;
917
+ feePerL2Gas: bigint;
918
+ }, {
919
+ feePerDaGas: string | number | bigint;
920
+ feePerL2Gas: string | number | bigint;
921
+ }>>;
922
+ }, "strip", z.ZodTypeAny, {
923
+ gasLimits?: Gas | undefined;
924
+ teardownGasLimits?: Gas | undefined;
925
+ maxFeePerGas?: {
926
+ feePerDaGas: bigint;
927
+ feePerL2Gas: bigint;
928
+ } | undefined;
929
+ maxPriorityFeePerGas?: {
930
+ feePerDaGas: bigint;
931
+ feePerL2Gas: bigint;
932
+ } | undefined;
933
+ }, {
934
+ gasLimits?: {
935
+ daGas: string | number | bigint;
936
+ l2Gas: string | number | bigint;
937
+ } | undefined;
938
+ teardownGasLimits?: {
939
+ daGas: string | number | bigint;
940
+ l2Gas: string | number | bigint;
941
+ } | undefined;
942
+ maxFeePerGas?: {
943
+ feePerDaGas: string | number | bigint;
944
+ feePerL2Gas: string | number | bigint;
945
+ } | undefined;
946
+ maxPriorityFeePerGas?: {
947
+ feePerDaGas: string | number | bigint;
948
+ feePerL2Gas: string | number | bigint;
949
+ } | undefined;
950
+ }>>;
951
+ } & {
952
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
953
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
954
+ }, "strip", z.ZodTypeAny, {
955
+ gasSettings?: {
956
+ gasLimits?: Gas | undefined;
957
+ teardownGasLimits?: Gas | undefined;
958
+ maxFeePerGas?: {
959
+ feePerDaGas: bigint;
960
+ feePerL2Gas: bigint;
961
+ } | undefined;
962
+ maxPriorityFeePerGas?: {
963
+ feePerDaGas: bigint;
964
+ feePerL2Gas: bigint;
965
+ } | undefined;
966
+ } | undefined;
967
+ estimatedGasPadding?: number | undefined;
968
+ estimateGas?: boolean | undefined;
969
+ }, {
970
+ gasSettings?: {
971
+ gasLimits?: {
972
+ daGas: string | number | bigint;
973
+ l2Gas: string | number | bigint;
974
+ } | undefined;
975
+ teardownGasLimits?: {
976
+ daGas: string | number | bigint;
977
+ l2Gas: string | number | bigint;
978
+ } | undefined;
979
+ maxFeePerGas?: {
980
+ feePerDaGas: string | number | bigint;
981
+ feePerL2Gas: string | number | bigint;
982
+ } | undefined;
983
+ maxPriorityFeePerGas?: {
984
+ feePerDaGas: string | number | bigint;
985
+ feePerL2Gas: string | number | bigint;
986
+ } | undefined;
987
+ } | undefined;
988
+ estimatedGasPadding?: number | undefined;
989
+ estimateGas?: boolean | undefined;
990
+ }>>;
991
+ skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
992
+ skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
993
+ includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
994
+ } & {
995
+ profileMode: z.ZodEnum<["gates", "execution-steps", "full"]>;
996
+ skipProofGeneration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
997
+ }, "strip", z.ZodTypeAny, {
998
+ from: AztecAddress;
999
+ authWitnesses?: AuthWitness[] | undefined;
1000
+ capsules?: Capsule[] | undefined;
1001
+ fee?: {
1002
+ gasSettings?: {
1003
+ gasLimits?: Gas | undefined;
1004
+ teardownGasLimits?: Gas | undefined;
1005
+ maxFeePerGas?: {
1006
+ feePerDaGas: bigint;
1007
+ feePerL2Gas: bigint;
1008
+ } | undefined;
1009
+ maxPriorityFeePerGas?: {
1010
+ feePerDaGas: bigint;
1011
+ feePerL2Gas: bigint;
1012
+ } | undefined;
1013
+ } | undefined;
1014
+ estimatedGasPadding?: number | undefined;
1015
+ estimateGas?: boolean | undefined;
1016
+ } | undefined;
1017
+ skipTxValidation?: boolean | undefined;
1018
+ skipFeeEnforcement?: boolean | undefined;
1019
+ includeMetadata?: boolean | undefined;
1020
+ profileMode: "execution-steps" | "full" | "gates";
1021
+ skipProofGeneration?: boolean | undefined;
1022
+ }, {
1023
+ from?: any;
1024
+ authWitnesses?: string[] | undefined;
1025
+ capsules?: string[] | undefined;
1026
+ fee?: {
1027
+ gasSettings?: {
1028
+ gasLimits?: {
1029
+ daGas: string | number | bigint;
1030
+ l2Gas: string | number | bigint;
1031
+ } | undefined;
1032
+ teardownGasLimits?: {
1033
+ daGas: string | number | bigint;
1034
+ l2Gas: string | number | bigint;
1035
+ } | undefined;
1036
+ maxFeePerGas?: {
1037
+ feePerDaGas: string | number | bigint;
1038
+ feePerL2Gas: string | number | bigint;
1039
+ } | undefined;
1040
+ maxPriorityFeePerGas?: {
1041
+ feePerDaGas: string | number | bigint;
1042
+ feePerL2Gas: string | number | bigint;
1043
+ } | undefined;
1044
+ } | undefined;
1045
+ estimatedGasPadding?: number | undefined;
1046
+ estimateGas?: boolean | undefined;
1047
+ } | undefined;
1048
+ skipTxValidation?: boolean | undefined;
1049
+ skipFeeEnforcement?: boolean | undefined;
1050
+ includeMetadata?: boolean | undefined;
1051
+ profileMode: "execution-steps" | "full" | "gates";
1052
+ skipProofGeneration?: boolean | undefined;
1053
+ }>;
1054
+ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
1055
+ consumer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1056
+ innerHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1057
+ }, "strip", z.ZodTypeAny, {
1058
+ consumer: AztecAddress;
1059
+ innerHash: Fr;
1060
+ }, {
1061
+ consumer?: any;
1062
+ innerHash?: any;
1063
+ }>, z.ZodObject<{
1064
+ caller: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1065
+ call: z.ZodObject<{
1066
+ name: z.ZodString;
1067
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1068
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1069
+ type: z.ZodNativeEnum<typeof FunctionType>;
1070
+ isStatic: z.ZodBoolean;
1071
+ hideMsgSender: z.ZodBoolean;
1072
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
1073
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1074
+ }, "strip", z.ZodTypeAny, {
1075
+ name: string;
1076
+ to: AztecAddress;
1077
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1078
+ type: FunctionType;
1079
+ isStatic: boolean;
1080
+ hideMsgSender: boolean;
1081
+ args: Fr[];
1082
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1083
+ }, {
1084
+ name: string;
1085
+ to?: any;
1086
+ selector?: any;
1087
+ type: FunctionType;
1088
+ isStatic: boolean;
1089
+ hideMsgSender: boolean;
1090
+ args: any[];
1091
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1092
+ }>;
1093
+ }, "strip", z.ZodTypeAny, {
1094
+ caller: AztecAddress;
1095
+ call: {
1096
+ name: string;
1097
+ to: AztecAddress;
1098
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1099
+ type: FunctionType;
1100
+ isStatic: boolean;
1101
+ hideMsgSender: boolean;
1102
+ args: Fr[];
1103
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1104
+ };
1105
+ }, {
1106
+ caller?: any;
1107
+ call: {
1108
+ name: string;
1109
+ to?: any;
1110
+ selector?: any;
1111
+ type: FunctionType;
1112
+ isStatic: boolean;
1113
+ hideMsgSender: boolean;
1114
+ args: any[];
1115
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1116
+ };
1117
+ }>]>;
1118
+ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
1119
+ eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
1120
+ abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1121
+ fieldNames: z.ZodArray<z.ZodString, "many">;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ eventSelector: import("@aztec/stdlib/abi").EventSelector;
1124
+ abiType: import("@aztec/stdlib/abi").AbiType;
1125
+ fieldNames: string[];
1126
+ }, {
1127
+ eventSelector: string;
1128
+ abiType: import("@aztec/stdlib/abi").AbiType;
1129
+ fieldNames: string[];
1130
+ }>;
1131
+ export declare const PrivateEventSchema: z.ZodType<any>;
1132
+ export declare const PrivateEventFilterSchema: z.ZodObject<{
1133
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1134
+ scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
1135
+ txHash: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, Buffer<ArrayBuffer>, string>, TxHash, string>>;
1136
+ fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1137
+ toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ contractAddress: AztecAddress;
1140
+ scopes: AztecAddress[];
1141
+ txHash?: TxHash | undefined;
1142
+ fromBlock?: BlockNumber | undefined;
1143
+ toBlock?: BlockNumber | undefined;
1144
+ }, {
1145
+ contractAddress?: any;
1146
+ scopes: any[];
1147
+ txHash?: string | undefined;
1148
+ fromBlock?: string | number | bigint | undefined;
1149
+ toBlock?: string | number | bigint | undefined;
1150
+ }>;
1151
+ export declare const ContractMetadataSchema: z.ZodObject<{
1152
+ instance: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodIntersection<z.ZodObject<{
1153
+ version: z.ZodLiteral<1>;
1154
+ salt: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1155
+ deployer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1156
+ currentContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1157
+ originalContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1158
+ initializationHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1159
+ publicKeys: z.ZodEffects<z.ZodObject<{
1160
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1161
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1162
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1163
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
1166
+ masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1167
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1168
+ masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
1169
+ }, {
1170
+ masterNullifierPublicKey: string;
1171
+ masterIncomingViewingPublicKey: string;
1172
+ masterOutgoingViewingPublicKey: string;
1173
+ masterTaggingPublicKey: string;
1174
+ }>, import("@aztec/stdlib/keys").PublicKeys, {
1175
+ masterNullifierPublicKey: string;
1176
+ masterIncomingViewingPublicKey: string;
1177
+ masterOutgoingViewingPublicKey: string;
1178
+ masterTaggingPublicKey: string;
1179
+ }>;
1180
+ }, "strip", z.ZodTypeAny, {
1181
+ version: 1;
1182
+ salt: Fr;
1183
+ deployer: AztecAddress;
1184
+ currentContractClassId: Fr;
1185
+ originalContractClassId: Fr;
1186
+ initializationHash: Fr;
1187
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1188
+ }, {
1189
+ version: 1;
1190
+ salt?: any;
1191
+ deployer?: any;
1192
+ currentContractClassId?: any;
1193
+ originalContractClassId?: any;
1194
+ initializationHash?: any;
1195
+ publicKeys: {
1196
+ masterNullifierPublicKey: string;
1197
+ masterIncomingViewingPublicKey: string;
1198
+ masterOutgoingViewingPublicKey: string;
1199
+ masterTaggingPublicKey: string;
1200
+ };
1201
+ }>, z.ZodObject<{
1202
+ address: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ address: AztecAddress;
1205
+ }, {
1206
+ address?: any;
1207
+ }>>>;
1208
+ isContractInitialized: z.ZodBoolean;
1209
+ isContractPublished: z.ZodBoolean;
1210
+ isContractUpdated: z.ZodBoolean;
1211
+ updatedContractClassId: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<Fr>>;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ instance?: ({
1214
+ version: 1;
1215
+ salt: Fr;
1216
+ deployer: AztecAddress;
1217
+ currentContractClassId: Fr;
1218
+ originalContractClassId: Fr;
1219
+ initializationHash: Fr;
1220
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1221
+ } & {
1222
+ address: AztecAddress;
1223
+ }) | undefined;
1224
+ isContractInitialized: boolean;
1225
+ isContractPublished: boolean;
1226
+ isContractUpdated: boolean;
1227
+ updatedContractClassId?: Fr | undefined;
1228
+ }, {
1229
+ instance?: ({
1230
+ version: 1;
1231
+ salt?: any;
1232
+ deployer?: any;
1233
+ currentContractClassId?: any;
1234
+ originalContractClassId?: any;
1235
+ initializationHash?: any;
1236
+ publicKeys: {
1237
+ masterNullifierPublicKey: string;
1238
+ masterIncomingViewingPublicKey: string;
1239
+ masterOutgoingViewingPublicKey: string;
1240
+ masterTaggingPublicKey: string;
1241
+ };
1242
+ } & {
1243
+ address?: any;
1244
+ }) | undefined;
1245
+ isContractInitialized: boolean;
1246
+ isContractPublished: boolean;
1247
+ isContractUpdated: boolean;
1248
+ updatedContractClassId?: any;
1249
+ }>;
1250
+ export declare const ContractClassMetadataSchema: z.ZodObject<{
1251
+ isArtifactRegistered: z.ZodBoolean;
1252
+ isContractClassPubliclyRegistered: z.ZodBoolean;
1253
+ }, "strip", z.ZodTypeAny, {
1254
+ isArtifactRegistered: boolean;
1255
+ isContractClassPubliclyRegistered: boolean;
1256
+ }, {
1257
+ isArtifactRegistered: boolean;
1258
+ isContractClassPubliclyRegistered: boolean;
1259
+ }>;
1260
+ export declare const ContractFunctionPatternSchema: z.ZodObject<{
1261
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1262
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1263
+ }, "strip", z.ZodTypeAny, {
1264
+ contract: "*" | AztecAddress;
1265
+ function: string;
1266
+ }, {
1267
+ contract?: any;
1268
+ function: string;
1269
+ }>;
1270
+ export declare const AccountsCapabilitySchema: z.ZodObject<{
1271
+ type: z.ZodLiteral<"accounts">;
1272
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1273
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ type: "accounts";
1276
+ canGet?: boolean | undefined;
1277
+ canCreateAuthWit?: boolean | undefined;
1278
+ }, {
1279
+ type: "accounts";
1280
+ canGet?: boolean | undefined;
1281
+ canCreateAuthWit?: boolean | undefined;
1282
+ }>;
1283
+ export declare const GrantedAccountsCapabilitySchema: z.ZodObject<{
1284
+ type: z.ZodLiteral<"accounts">;
1285
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1286
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1287
+ } & {
1288
+ accounts: z.ZodArray<z.ZodObject<{
1289
+ alias: z.ZodString;
1290
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1291
+ }, "strip", z.ZodTypeAny, {
1292
+ alias: string;
1293
+ item: AztecAddress;
1294
+ }, {
1295
+ alias: string;
1296
+ item?: any;
1297
+ }>, "many">;
1298
+ }, "strip", z.ZodTypeAny, {
1299
+ type: "accounts";
1300
+ canGet?: boolean | undefined;
1301
+ canCreateAuthWit?: boolean | undefined;
1302
+ accounts: {
1303
+ alias: string;
1304
+ item: AztecAddress;
1305
+ }[];
1306
+ }, {
1307
+ type: "accounts";
1308
+ canGet?: boolean | undefined;
1309
+ canCreateAuthWit?: boolean | undefined;
1310
+ accounts: {
1311
+ alias: string;
1312
+ item?: any;
1313
+ }[];
1314
+ }>;
1315
+ export declare const ContractsCapabilitySchema: z.ZodObject<{
1316
+ type: z.ZodLiteral<"contracts">;
1317
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1318
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1319
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1320
+ }, "strip", z.ZodTypeAny, {
1321
+ type: "contracts";
1322
+ contracts: "*" | AztecAddress[];
1323
+ canRegister?: boolean | undefined;
1324
+ canGetMetadata?: boolean | undefined;
1325
+ }, {
1326
+ type: "contracts";
1327
+ contracts: "*" | any[];
1328
+ canRegister?: boolean | undefined;
1329
+ canGetMetadata?: boolean | undefined;
1330
+ }>;
1331
+ export declare const GrantedContractsCapabilitySchema: z.ZodObject<{
1332
+ type: z.ZodLiteral<"contracts">;
1333
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1334
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1335
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ type: "contracts";
1338
+ contracts: "*" | AztecAddress[];
1339
+ canRegister?: boolean | undefined;
1340
+ canGetMetadata?: boolean | undefined;
1341
+ }, {
1342
+ type: "contracts";
1343
+ contracts: "*" | any[];
1344
+ canRegister?: boolean | undefined;
1345
+ canGetMetadata?: boolean | undefined;
1346
+ }>;
1347
+ export declare const ContractClassesCapabilitySchema: z.ZodObject<{
1348
+ type: z.ZodLiteral<"contractClasses">;
1349
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1350
+ canGetMetadata: z.ZodBoolean;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ type: "contractClasses";
1353
+ classes: "*" | Fr[];
1354
+ canGetMetadata: boolean;
1355
+ }, {
1356
+ type: "contractClasses";
1357
+ classes: "*" | any[];
1358
+ canGetMetadata: boolean;
1359
+ }>;
1360
+ export declare const GrantedContractClassesCapabilitySchema: z.ZodObject<{
1361
+ type: z.ZodLiteral<"contractClasses">;
1362
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1363
+ canGetMetadata: z.ZodBoolean;
1364
+ }, "strip", z.ZodTypeAny, {
1365
+ type: "contractClasses";
1366
+ classes: "*" | Fr[];
1367
+ canGetMetadata: boolean;
1368
+ }, {
1369
+ type: "contractClasses";
1370
+ classes: "*" | any[];
1371
+ canGetMetadata: boolean;
1372
+ }>;
1373
+ export declare const SimulationCapabilitySchema: z.ZodObject<{
1374
+ type: z.ZodLiteral<"simulation">;
1375
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1376
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1377
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1378
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ contract: "*" | AztecAddress;
1381
+ function: string;
1382
+ }, {
1383
+ contract?: any;
1384
+ function: string;
1385
+ }>, "many">]>;
1386
+ }, "strip", z.ZodTypeAny, {
1387
+ scope: "*" | {
1388
+ contract: "*" | AztecAddress;
1389
+ function: string;
1390
+ }[];
1391
+ }, {
1392
+ scope: "*" | {
1393
+ contract?: any;
1394
+ function: string;
1395
+ }[];
1396
+ }>>;
1397
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1398
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1399
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1400
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1401
+ }, "strip", z.ZodTypeAny, {
1402
+ contract: "*" | AztecAddress;
1403
+ function: string;
1404
+ }, {
1405
+ contract?: any;
1406
+ function: string;
1407
+ }>, "many">]>;
1408
+ }, "strip", z.ZodTypeAny, {
1409
+ scope: "*" | {
1410
+ contract: "*" | AztecAddress;
1411
+ function: string;
1412
+ }[];
1413
+ }, {
1414
+ scope: "*" | {
1415
+ contract?: any;
1416
+ function: string;
1417
+ }[];
1418
+ }>>;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ type: "simulation";
1421
+ transactions?: {
1422
+ scope: "*" | {
1423
+ contract: "*" | AztecAddress;
1424
+ function: string;
1425
+ }[];
1426
+ } | undefined;
1427
+ utilities?: {
1428
+ scope: "*" | {
1429
+ contract: "*" | AztecAddress;
1430
+ function: string;
1431
+ }[];
1432
+ } | undefined;
1433
+ }, {
1434
+ type: "simulation";
1435
+ transactions?: {
1436
+ scope: "*" | {
1437
+ contract?: any;
1438
+ function: string;
1439
+ }[];
1440
+ } | undefined;
1441
+ utilities?: {
1442
+ scope: "*" | {
1443
+ contract?: any;
1444
+ function: string;
1445
+ }[];
1446
+ } | undefined;
1447
+ }>;
1448
+ export declare const GrantedSimulationCapabilitySchema: z.ZodObject<{
1449
+ type: z.ZodLiteral<"simulation">;
1450
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1451
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1452
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1453
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ contract: "*" | AztecAddress;
1456
+ function: string;
1457
+ }, {
1458
+ contract?: any;
1459
+ function: string;
1460
+ }>, "many">]>;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ scope: "*" | {
1463
+ contract: "*" | AztecAddress;
1464
+ function: string;
1465
+ }[];
1466
+ }, {
1467
+ scope: "*" | {
1468
+ contract?: any;
1469
+ function: string;
1470
+ }[];
1471
+ }>>;
1472
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1473
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1474
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1475
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ contract: "*" | AztecAddress;
1478
+ function: string;
1479
+ }, {
1480
+ contract?: any;
1481
+ function: string;
1482
+ }>, "many">]>;
1483
+ }, "strip", z.ZodTypeAny, {
1484
+ scope: "*" | {
1485
+ contract: "*" | AztecAddress;
1486
+ function: string;
1487
+ }[];
1488
+ }, {
1489
+ scope: "*" | {
1490
+ contract?: any;
1491
+ function: string;
1492
+ }[];
1493
+ }>>;
1494
+ }, "strip", z.ZodTypeAny, {
1495
+ type: "simulation";
1496
+ transactions?: {
1497
+ scope: "*" | {
1498
+ contract: "*" | AztecAddress;
1499
+ function: string;
1500
+ }[];
1501
+ } | undefined;
1502
+ utilities?: {
1503
+ scope: "*" | {
1504
+ contract: "*" | AztecAddress;
1505
+ function: string;
1506
+ }[];
1507
+ } | undefined;
1508
+ }, {
1509
+ type: "simulation";
1510
+ transactions?: {
1511
+ scope: "*" | {
1512
+ contract?: any;
1513
+ function: string;
1514
+ }[];
1515
+ } | undefined;
1516
+ utilities?: {
1517
+ scope: "*" | {
1518
+ contract?: any;
1519
+ function: string;
1520
+ }[];
1521
+ } | undefined;
1522
+ }>;
1523
+ export declare const TransactionCapabilitySchema: z.ZodObject<{
1524
+ type: z.ZodLiteral<"transaction">;
1525
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1526
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1527
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ contract: "*" | AztecAddress;
1530
+ function: string;
1531
+ }, {
1532
+ contract?: any;
1533
+ function: string;
1534
+ }>, "many">]>;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ type: "transaction";
1537
+ scope: "*" | {
1538
+ contract: "*" | AztecAddress;
1539
+ function: string;
1540
+ }[];
1541
+ }, {
1542
+ type: "transaction";
1543
+ scope: "*" | {
1544
+ contract?: any;
1545
+ function: string;
1546
+ }[];
1547
+ }>;
1548
+ export declare const GrantedTransactionCapabilitySchema: z.ZodObject<{
1549
+ type: z.ZodLiteral<"transaction">;
1550
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1551
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1552
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1553
+ }, "strip", z.ZodTypeAny, {
1554
+ contract: "*" | AztecAddress;
1555
+ function: string;
1556
+ }, {
1557
+ contract?: any;
1558
+ function: string;
1559
+ }>, "many">]>;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ type: "transaction";
1562
+ scope: "*" | {
1563
+ contract: "*" | AztecAddress;
1564
+ function: string;
1565
+ }[];
1566
+ }, {
1567
+ type: "transaction";
1568
+ scope: "*" | {
1569
+ contract?: any;
1570
+ function: string;
1571
+ }[];
1572
+ }>;
1573
+ export declare const DataCapabilitySchema: z.ZodObject<{
1574
+ type: z.ZodLiteral<"data">;
1575
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1576
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1577
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ contracts: "*" | AztecAddress[];
1580
+ }, {
1581
+ contracts: "*" | any[];
1582
+ }>>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ type: "data";
1585
+ addressBook?: boolean | undefined;
1586
+ privateEvents?: {
1587
+ contracts: "*" | AztecAddress[];
1588
+ } | undefined;
1589
+ }, {
1590
+ type: "data";
1591
+ addressBook?: boolean | undefined;
1592
+ privateEvents?: {
1593
+ contracts: "*" | any[];
1594
+ } | undefined;
1595
+ }>;
1596
+ export declare const GrantedDataCapabilitySchema: z.ZodObject<{
1597
+ type: z.ZodLiteral<"data">;
1598
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1599
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1600
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1601
+ }, "strip", z.ZodTypeAny, {
1602
+ contracts: "*" | AztecAddress[];
1603
+ }, {
1604
+ contracts: "*" | any[];
1605
+ }>>;
1606
+ }, "strip", z.ZodTypeAny, {
1607
+ type: "data";
1608
+ addressBook?: boolean | undefined;
1609
+ privateEvents?: {
1610
+ contracts: "*" | AztecAddress[];
1611
+ } | undefined;
1612
+ }, {
1613
+ type: "data";
1614
+ addressBook?: boolean | undefined;
1615
+ privateEvents?: {
1616
+ contracts: "*" | any[];
1617
+ } | undefined;
1618
+ }>;
1619
+ export declare const CapabilitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1620
+ type: z.ZodLiteral<"accounts">;
1621
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1622
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1623
+ }, "strip", z.ZodTypeAny, {
1624
+ type: "accounts";
1625
+ canGet?: boolean | undefined;
1626
+ canCreateAuthWit?: boolean | undefined;
1627
+ }, {
1628
+ type: "accounts";
1629
+ canGet?: boolean | undefined;
1630
+ canCreateAuthWit?: boolean | undefined;
1631
+ }>, z.ZodObject<{
1632
+ type: z.ZodLiteral<"contracts">;
1633
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1634
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1635
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1636
+ }, "strip", z.ZodTypeAny, {
1637
+ type: "contracts";
1638
+ contracts: "*" | AztecAddress[];
1639
+ canRegister?: boolean | undefined;
1640
+ canGetMetadata?: boolean | undefined;
1641
+ }, {
1642
+ type: "contracts";
1643
+ contracts: "*" | any[];
1644
+ canRegister?: boolean | undefined;
1645
+ canGetMetadata?: boolean | undefined;
1646
+ }>, z.ZodObject<{
1647
+ type: z.ZodLiteral<"contractClasses">;
1648
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1649
+ canGetMetadata: z.ZodBoolean;
1650
+ }, "strip", z.ZodTypeAny, {
1651
+ type: "contractClasses";
1652
+ classes: "*" | Fr[];
1653
+ canGetMetadata: boolean;
1654
+ }, {
1655
+ type: "contractClasses";
1656
+ classes: "*" | any[];
1657
+ canGetMetadata: boolean;
1658
+ }>, z.ZodObject<{
1659
+ type: z.ZodLiteral<"simulation">;
1660
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1661
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1662
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1663
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ contract: "*" | AztecAddress;
1666
+ function: string;
1667
+ }, {
1668
+ contract?: any;
1669
+ function: string;
1670
+ }>, "many">]>;
1671
+ }, "strip", z.ZodTypeAny, {
1672
+ scope: "*" | {
1673
+ contract: "*" | AztecAddress;
1674
+ function: string;
1675
+ }[];
1676
+ }, {
1677
+ scope: "*" | {
1678
+ contract?: any;
1679
+ function: string;
1680
+ }[];
1681
+ }>>;
1682
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1683
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1684
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1685
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ contract: "*" | AztecAddress;
1688
+ function: string;
1689
+ }, {
1690
+ contract?: any;
1691
+ function: string;
1692
+ }>, "many">]>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ scope: "*" | {
1695
+ contract: "*" | AztecAddress;
1696
+ function: string;
1697
+ }[];
1698
+ }, {
1699
+ scope: "*" | {
1700
+ contract?: any;
1701
+ function: string;
1702
+ }[];
1703
+ }>>;
1704
+ }, "strip", z.ZodTypeAny, {
1705
+ type: "simulation";
1706
+ transactions?: {
1707
+ scope: "*" | {
1708
+ contract: "*" | AztecAddress;
1709
+ function: string;
1710
+ }[];
1711
+ } | undefined;
1712
+ utilities?: {
1713
+ scope: "*" | {
1714
+ contract: "*" | AztecAddress;
1715
+ function: string;
1716
+ }[];
1717
+ } | undefined;
1718
+ }, {
1719
+ type: "simulation";
1720
+ transactions?: {
1721
+ scope: "*" | {
1722
+ contract?: any;
1723
+ function: string;
1724
+ }[];
1725
+ } | undefined;
1726
+ utilities?: {
1727
+ scope: "*" | {
1728
+ contract?: any;
1729
+ function: string;
1730
+ }[];
1731
+ } | undefined;
1732
+ }>, z.ZodObject<{
1733
+ type: z.ZodLiteral<"transaction">;
1734
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1735
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1736
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1737
+ }, "strip", z.ZodTypeAny, {
1738
+ contract: "*" | AztecAddress;
1739
+ function: string;
1740
+ }, {
1741
+ contract?: any;
1742
+ function: string;
1743
+ }>, "many">]>;
1744
+ }, "strip", z.ZodTypeAny, {
1745
+ type: "transaction";
1746
+ scope: "*" | {
1747
+ contract: "*" | AztecAddress;
1748
+ function: string;
1749
+ }[];
1750
+ }, {
1751
+ type: "transaction";
1752
+ scope: "*" | {
1753
+ contract?: any;
1754
+ function: string;
1755
+ }[];
1756
+ }>, z.ZodObject<{
1757
+ type: z.ZodLiteral<"data">;
1758
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1759
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1760
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1761
+ }, "strip", z.ZodTypeAny, {
1762
+ contracts: "*" | AztecAddress[];
1763
+ }, {
1764
+ contracts: "*" | any[];
1765
+ }>>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ type: "data";
1768
+ addressBook?: boolean | undefined;
1769
+ privateEvents?: {
1770
+ contracts: "*" | AztecAddress[];
1771
+ } | undefined;
1772
+ }, {
1773
+ type: "data";
1774
+ addressBook?: boolean | undefined;
1775
+ privateEvents?: {
1776
+ contracts: "*" | any[];
1777
+ } | undefined;
1778
+ }>]>;
1779
+ export declare const GrantedCapabilitySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1780
+ type: z.ZodLiteral<"accounts">;
1781
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1782
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1783
+ } & {
1784
+ accounts: z.ZodArray<z.ZodObject<{
1785
+ alias: z.ZodString;
1786
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1787
+ }, "strip", z.ZodTypeAny, {
1788
+ alias: string;
1789
+ item: AztecAddress;
1790
+ }, {
1791
+ alias: string;
1792
+ item?: any;
1793
+ }>, "many">;
1794
+ }, "strip", z.ZodTypeAny, {
1795
+ type: "accounts";
1796
+ canGet?: boolean | undefined;
1797
+ canCreateAuthWit?: boolean | undefined;
1798
+ accounts: {
1799
+ alias: string;
1800
+ item: AztecAddress;
1801
+ }[];
1802
+ }, {
1803
+ type: "accounts";
1804
+ canGet?: boolean | undefined;
1805
+ canCreateAuthWit?: boolean | undefined;
1806
+ accounts: {
1807
+ alias: string;
1808
+ item?: any;
1809
+ }[];
1810
+ }>, z.ZodObject<{
1811
+ type: z.ZodLiteral<"contracts">;
1812
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1813
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1814
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1815
+ }, "strip", z.ZodTypeAny, {
1816
+ type: "contracts";
1817
+ contracts: "*" | AztecAddress[];
1818
+ canRegister?: boolean | undefined;
1819
+ canGetMetadata?: boolean | undefined;
1820
+ }, {
1821
+ type: "contracts";
1822
+ contracts: "*" | any[];
1823
+ canRegister?: boolean | undefined;
1824
+ canGetMetadata?: boolean | undefined;
1825
+ }>, z.ZodObject<{
1826
+ type: z.ZodLiteral<"contractClasses">;
1827
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
1828
+ canGetMetadata: z.ZodBoolean;
1829
+ }, "strip", z.ZodTypeAny, {
1830
+ type: "contractClasses";
1831
+ classes: "*" | Fr[];
1832
+ canGetMetadata: boolean;
1833
+ }, {
1834
+ type: "contractClasses";
1835
+ classes: "*" | any[];
1836
+ canGetMetadata: boolean;
1837
+ }>, z.ZodObject<{
1838
+ type: z.ZodLiteral<"simulation">;
1839
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1840
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1841
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1842
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1843
+ }, "strip", z.ZodTypeAny, {
1844
+ contract: "*" | AztecAddress;
1845
+ function: string;
1846
+ }, {
1847
+ contract?: any;
1848
+ function: string;
1849
+ }>, "many">]>;
1850
+ }, "strip", z.ZodTypeAny, {
1851
+ scope: "*" | {
1852
+ contract: "*" | AztecAddress;
1853
+ function: string;
1854
+ }[];
1855
+ }, {
1856
+ scope: "*" | {
1857
+ contract?: any;
1858
+ function: string;
1859
+ }[];
1860
+ }>>;
1861
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1862
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1863
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1864
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1865
+ }, "strip", z.ZodTypeAny, {
1866
+ contract: "*" | AztecAddress;
1867
+ function: string;
1868
+ }, {
1869
+ contract?: any;
1870
+ function: string;
1871
+ }>, "many">]>;
1872
+ }, "strip", z.ZodTypeAny, {
1873
+ scope: "*" | {
1874
+ contract: "*" | AztecAddress;
1875
+ function: string;
1876
+ }[];
1877
+ }, {
1878
+ scope: "*" | {
1879
+ contract?: any;
1880
+ function: string;
1881
+ }[];
1882
+ }>>;
1883
+ }, "strip", z.ZodTypeAny, {
1884
+ type: "simulation";
1885
+ transactions?: {
1886
+ scope: "*" | {
1887
+ contract: "*" | AztecAddress;
1888
+ function: string;
1889
+ }[];
1890
+ } | undefined;
1891
+ utilities?: {
1892
+ scope: "*" | {
1893
+ contract: "*" | AztecAddress;
1894
+ function: string;
1895
+ }[];
1896
+ } | undefined;
1897
+ }, {
1898
+ type: "simulation";
1899
+ transactions?: {
1900
+ scope: "*" | {
1901
+ contract?: any;
1902
+ function: string;
1903
+ }[];
1904
+ } | undefined;
1905
+ utilities?: {
1906
+ scope: "*" | {
1907
+ contract?: any;
1908
+ function: string;
1909
+ }[];
1910
+ } | undefined;
1911
+ }>, z.ZodObject<{
1912
+ type: z.ZodLiteral<"transaction">;
1913
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
1914
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
1915
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ contract: "*" | AztecAddress;
1918
+ function: string;
1919
+ }, {
1920
+ contract?: any;
1921
+ function: string;
1922
+ }>, "many">]>;
1923
+ }, "strip", z.ZodTypeAny, {
1924
+ type: "transaction";
1925
+ scope: "*" | {
1926
+ contract: "*" | AztecAddress;
1927
+ function: string;
1928
+ }[];
1929
+ }, {
1930
+ type: "transaction";
1931
+ scope: "*" | {
1932
+ contract?: any;
1933
+ function: string;
1934
+ }[];
1935
+ }>, z.ZodObject<{
1936
+ type: z.ZodLiteral<"data">;
1937
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1938
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
1939
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ contracts: "*" | AztecAddress[];
1942
+ }, {
1943
+ contracts: "*" | any[];
1944
+ }>>;
1945
+ }, "strip", z.ZodTypeAny, {
1946
+ type: "data";
1947
+ addressBook?: boolean | undefined;
1948
+ privateEvents?: {
1949
+ contracts: "*" | AztecAddress[];
1950
+ } | undefined;
1951
+ }, {
1952
+ type: "data";
1953
+ addressBook?: boolean | undefined;
1954
+ privateEvents?: {
1955
+ contracts: "*" | any[];
1956
+ } | undefined;
1957
+ }>]>;
1958
+ export declare const AppCapabilitiesSchema: z.ZodObject<{
1959
+ version: z.ZodLiteral<"1.0">;
1960
+ metadata: z.ZodObject<{
1961
+ name: z.ZodString;
1962
+ version: z.ZodString;
1963
+ description: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
1964
+ url: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
1965
+ icon: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ name: string;
1968
+ version: string;
1969
+ description?: string | undefined;
1970
+ url?: string | undefined;
1971
+ icon?: string | undefined;
1972
+ }, {
1973
+ name: string;
1974
+ version: string;
1975
+ description?: string | undefined;
1976
+ url?: string | undefined;
1977
+ icon?: string | undefined;
1978
+ }>;
1979
+ capabilities: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1980
+ type: z.ZodLiteral<"accounts">;
1981
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1982
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1983
+ }, "strip", z.ZodTypeAny, {
1984
+ type: "accounts";
1985
+ canGet?: boolean | undefined;
1986
+ canCreateAuthWit?: boolean | undefined;
1987
+ }, {
1988
+ type: "accounts";
1989
+ canGet?: boolean | undefined;
1990
+ canCreateAuthWit?: boolean | undefined;
1991
+ }>, z.ZodObject<{
1992
+ type: z.ZodLiteral<"contracts">;
1993
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
1994
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1995
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
1996
+ }, "strip", z.ZodTypeAny, {
1997
+ type: "contracts";
1998
+ contracts: "*" | AztecAddress[];
1999
+ canRegister?: boolean | undefined;
2000
+ canGetMetadata?: boolean | undefined;
2001
+ }, {
2002
+ type: "contracts";
2003
+ contracts: "*" | any[];
2004
+ canRegister?: boolean | undefined;
2005
+ canGetMetadata?: boolean | undefined;
2006
+ }>, z.ZodObject<{
2007
+ type: z.ZodLiteral<"contractClasses">;
2008
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
2009
+ canGetMetadata: z.ZodBoolean;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ type: "contractClasses";
2012
+ classes: "*" | Fr[];
2013
+ canGetMetadata: boolean;
2014
+ }, {
2015
+ type: "contractClasses";
2016
+ classes: "*" | any[];
2017
+ canGetMetadata: boolean;
2018
+ }>, z.ZodObject<{
2019
+ type: z.ZodLiteral<"simulation">;
2020
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2021
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2022
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2023
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ contract: "*" | AztecAddress;
2026
+ function: string;
2027
+ }, {
2028
+ contract?: any;
2029
+ function: string;
2030
+ }>, "many">]>;
2031
+ }, "strip", z.ZodTypeAny, {
2032
+ scope: "*" | {
2033
+ contract: "*" | AztecAddress;
2034
+ function: string;
2035
+ }[];
2036
+ }, {
2037
+ scope: "*" | {
2038
+ contract?: any;
2039
+ function: string;
2040
+ }[];
2041
+ }>>;
2042
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2043
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2044
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2045
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2046
+ }, "strip", z.ZodTypeAny, {
2047
+ contract: "*" | AztecAddress;
2048
+ function: string;
2049
+ }, {
2050
+ contract?: any;
2051
+ function: string;
2052
+ }>, "many">]>;
2053
+ }, "strip", z.ZodTypeAny, {
2054
+ scope: "*" | {
2055
+ contract: "*" | AztecAddress;
2056
+ function: string;
2057
+ }[];
2058
+ }, {
2059
+ scope: "*" | {
2060
+ contract?: any;
2061
+ function: string;
2062
+ }[];
2063
+ }>>;
2064
+ }, "strip", z.ZodTypeAny, {
2065
+ type: "simulation";
2066
+ transactions?: {
2067
+ scope: "*" | {
2068
+ contract: "*" | AztecAddress;
2069
+ function: string;
2070
+ }[];
2071
+ } | undefined;
2072
+ utilities?: {
2073
+ scope: "*" | {
2074
+ contract: "*" | AztecAddress;
2075
+ function: string;
2076
+ }[];
2077
+ } | undefined;
2078
+ }, {
2079
+ type: "simulation";
2080
+ transactions?: {
2081
+ scope: "*" | {
2082
+ contract?: any;
2083
+ function: string;
2084
+ }[];
2085
+ } | undefined;
2086
+ utilities?: {
2087
+ scope: "*" | {
2088
+ contract?: any;
2089
+ function: string;
2090
+ }[];
2091
+ } | undefined;
2092
+ }>, z.ZodObject<{
2093
+ type: z.ZodLiteral<"transaction">;
2094
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2095
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2096
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2097
+ }, "strip", z.ZodTypeAny, {
2098
+ contract: "*" | AztecAddress;
2099
+ function: string;
2100
+ }, {
2101
+ contract?: any;
2102
+ function: string;
2103
+ }>, "many">]>;
2104
+ }, "strip", z.ZodTypeAny, {
2105
+ type: "transaction";
2106
+ scope: "*" | {
2107
+ contract: "*" | AztecAddress;
2108
+ function: string;
2109
+ }[];
2110
+ }, {
2111
+ type: "transaction";
2112
+ scope: "*" | {
2113
+ contract?: any;
2114
+ function: string;
2115
+ }[];
2116
+ }>, z.ZodObject<{
2117
+ type: z.ZodLiteral<"data">;
2118
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2119
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2120
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ contracts: "*" | AztecAddress[];
2123
+ }, {
2124
+ contracts: "*" | any[];
2125
+ }>>;
2126
+ }, "strip", z.ZodTypeAny, {
2127
+ type: "data";
2128
+ addressBook?: boolean | undefined;
2129
+ privateEvents?: {
2130
+ contracts: "*" | AztecAddress[];
2131
+ } | undefined;
2132
+ }, {
2133
+ type: "data";
2134
+ addressBook?: boolean | undefined;
2135
+ privateEvents?: {
2136
+ contracts: "*" | any[];
2137
+ } | undefined;
2138
+ }>]>, "many">;
2139
+ behavior: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2140
+ mode: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEnum<["strict", "permissive"]>>;
2141
+ expiration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
2142
+ }, "strip", z.ZodTypeAny, {
2143
+ mode?: "permissive" | "strict" | undefined;
2144
+ expiration?: number | undefined;
2145
+ }, {
2146
+ mode?: "permissive" | "strict" | undefined;
2147
+ expiration?: number | undefined;
2148
+ }>>;
2149
+ }, "strip", z.ZodTypeAny, {
2150
+ version: "1.0";
2151
+ metadata: {
2152
+ name: string;
2153
+ version: string;
2154
+ description?: string | undefined;
2155
+ url?: string | undefined;
2156
+ icon?: string | undefined;
2157
+ };
2158
+ capabilities: ({
2159
+ type: "accounts";
2160
+ canGet?: boolean | undefined;
2161
+ canCreateAuthWit?: boolean | undefined;
2162
+ } | {
2163
+ type: "contracts";
2164
+ contracts: "*" | AztecAddress[];
2165
+ canRegister?: boolean | undefined;
2166
+ canGetMetadata?: boolean | undefined;
2167
+ } | {
2168
+ type: "contractClasses";
2169
+ classes: "*" | Fr[];
2170
+ canGetMetadata: boolean;
2171
+ } | {
2172
+ type: "simulation";
2173
+ transactions?: {
2174
+ scope: "*" | {
2175
+ contract: "*" | AztecAddress;
2176
+ function: string;
2177
+ }[];
2178
+ } | undefined;
2179
+ utilities?: {
2180
+ scope: "*" | {
2181
+ contract: "*" | AztecAddress;
2182
+ function: string;
2183
+ }[];
2184
+ } | undefined;
2185
+ } | {
2186
+ type: "transaction";
2187
+ scope: "*" | {
2188
+ contract: "*" | AztecAddress;
2189
+ function: string;
2190
+ }[];
2191
+ } | {
2192
+ type: "data";
2193
+ addressBook?: boolean | undefined;
2194
+ privateEvents?: {
2195
+ contracts: "*" | AztecAddress[];
2196
+ } | undefined;
2197
+ })[];
2198
+ behavior?: {
2199
+ mode?: "permissive" | "strict" | undefined;
2200
+ expiration?: number | undefined;
2201
+ } | undefined;
2202
+ }, {
2203
+ version: "1.0";
2204
+ metadata: {
2205
+ name: string;
2206
+ version: string;
2207
+ description?: string | undefined;
2208
+ url?: string | undefined;
2209
+ icon?: string | undefined;
2210
+ };
2211
+ capabilities: ({
2212
+ type: "accounts";
2213
+ canGet?: boolean | undefined;
2214
+ canCreateAuthWit?: boolean | undefined;
2215
+ } | {
2216
+ type: "contracts";
2217
+ contracts: "*" | any[];
2218
+ canRegister?: boolean | undefined;
2219
+ canGetMetadata?: boolean | undefined;
2220
+ } | {
2221
+ type: "contractClasses";
2222
+ classes: "*" | any[];
2223
+ canGetMetadata: boolean;
2224
+ } | {
2225
+ type: "simulation";
2226
+ transactions?: {
2227
+ scope: "*" | {
2228
+ contract?: any;
2229
+ function: string;
2230
+ }[];
2231
+ } | undefined;
2232
+ utilities?: {
2233
+ scope: "*" | {
2234
+ contract?: any;
2235
+ function: string;
2236
+ }[];
2237
+ } | undefined;
2238
+ } | {
2239
+ type: "transaction";
2240
+ scope: "*" | {
2241
+ contract?: any;
2242
+ function: string;
2243
+ }[];
2244
+ } | {
2245
+ type: "data";
2246
+ addressBook?: boolean | undefined;
2247
+ privateEvents?: {
2248
+ contracts: "*" | any[];
2249
+ } | undefined;
2250
+ })[];
2251
+ behavior?: {
2252
+ mode?: "permissive" | "strict" | undefined;
2253
+ expiration?: number | undefined;
2254
+ } | undefined;
2255
+ }>;
2256
+ export declare const WalletCapabilitiesSchema: z.ZodObject<{
2257
+ version: z.ZodLiteral<"1.0">;
2258
+ granted: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2259
+ type: z.ZodLiteral<"accounts">;
2260
+ canGet: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2261
+ canCreateAuthWit: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2262
+ } & {
2263
+ accounts: z.ZodArray<z.ZodObject<{
2264
+ alias: z.ZodString;
2265
+ item: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
2266
+ }, "strip", z.ZodTypeAny, {
2267
+ alias: string;
2268
+ item: AztecAddress;
2269
+ }, {
2270
+ alias: string;
2271
+ item?: any;
2272
+ }>, "many">;
2273
+ }, "strip", z.ZodTypeAny, {
2274
+ type: "accounts";
2275
+ canGet?: boolean | undefined;
2276
+ canCreateAuthWit?: boolean | undefined;
2277
+ accounts: {
2278
+ alias: string;
2279
+ item: AztecAddress;
2280
+ }[];
2281
+ }, {
2282
+ type: "accounts";
2283
+ canGet?: boolean | undefined;
2284
+ canCreateAuthWit?: boolean | undefined;
2285
+ accounts: {
2286
+ alias: string;
2287
+ item?: any;
2288
+ }[];
2289
+ }>, z.ZodObject<{
2290
+ type: z.ZodLiteral<"contracts">;
2291
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2292
+ canRegister: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2293
+ canGetMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2294
+ }, "strip", z.ZodTypeAny, {
2295
+ type: "contracts";
2296
+ contracts: "*" | AztecAddress[];
2297
+ canRegister?: boolean | undefined;
2298
+ canGetMetadata?: boolean | undefined;
2299
+ }, {
2300
+ type: "contracts";
2301
+ contracts: "*" | any[];
2302
+ canRegister?: boolean | undefined;
2303
+ canGetMetadata?: boolean | undefined;
2304
+ }>, z.ZodObject<{
2305
+ type: z.ZodLiteral<"contractClasses">;
2306
+ classes: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">]>;
2307
+ canGetMetadata: z.ZodBoolean;
2308
+ }, "strip", z.ZodTypeAny, {
2309
+ type: "contractClasses";
2310
+ classes: "*" | Fr[];
2311
+ canGetMetadata: boolean;
2312
+ }, {
2313
+ type: "contractClasses";
2314
+ classes: "*" | any[];
2315
+ canGetMetadata: boolean;
2316
+ }>, z.ZodObject<{
2317
+ type: z.ZodLiteral<"simulation">;
2318
+ transactions: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2319
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2320
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2321
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2322
+ }, "strip", z.ZodTypeAny, {
2323
+ contract: "*" | AztecAddress;
2324
+ function: string;
2325
+ }, {
2326
+ contract?: any;
2327
+ function: string;
2328
+ }>, "many">]>;
2329
+ }, "strip", z.ZodTypeAny, {
2330
+ scope: "*" | {
2331
+ contract: "*" | AztecAddress;
2332
+ function: string;
2333
+ }[];
2334
+ }, {
2335
+ scope: "*" | {
2336
+ contract?: any;
2337
+ function: string;
2338
+ }[];
2339
+ }>>;
2340
+ utilities: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2341
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2342
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2343
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2344
+ }, "strip", z.ZodTypeAny, {
2345
+ contract: "*" | AztecAddress;
2346
+ function: string;
2347
+ }, {
2348
+ contract?: any;
2349
+ function: string;
2350
+ }>, "many">]>;
2351
+ }, "strip", z.ZodTypeAny, {
2352
+ scope: "*" | {
2353
+ contract: "*" | AztecAddress;
2354
+ function: string;
2355
+ }[];
2356
+ }, {
2357
+ scope: "*" | {
2358
+ contract?: any;
2359
+ function: string;
2360
+ }[];
2361
+ }>>;
2362
+ }, "strip", z.ZodTypeAny, {
2363
+ type: "simulation";
2364
+ transactions?: {
2365
+ scope: "*" | {
2366
+ contract: "*" | AztecAddress;
2367
+ function: string;
2368
+ }[];
2369
+ } | undefined;
2370
+ utilities?: {
2371
+ scope: "*" | {
2372
+ contract: "*" | AztecAddress;
2373
+ function: string;
2374
+ }[];
2375
+ } | undefined;
2376
+ }, {
2377
+ type: "simulation";
2378
+ transactions?: {
2379
+ scope: "*" | {
2380
+ contract?: any;
2381
+ function: string;
2382
+ }[];
2383
+ } | undefined;
2384
+ utilities?: {
2385
+ scope: "*" | {
2386
+ contract?: any;
2387
+ function: string;
2388
+ }[];
2389
+ } | undefined;
2390
+ }>, z.ZodObject<{
2391
+ type: z.ZodLiteral<"transaction">;
2392
+ scope: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
2393
+ contract: z.ZodUnion<[import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, z.ZodLiteral<"*">]>;
2394
+ function: z.ZodUnion<[z.ZodString, z.ZodLiteral<"*">]>;
2395
+ }, "strip", z.ZodTypeAny, {
2396
+ contract: "*" | AztecAddress;
2397
+ function: string;
2398
+ }, {
2399
+ contract?: any;
2400
+ function: string;
2401
+ }>, "many">]>;
2402
+ }, "strip", z.ZodTypeAny, {
2403
+ type: "transaction";
2404
+ scope: "*" | {
2405
+ contract: "*" | AztecAddress;
2406
+ function: string;
2407
+ }[];
2408
+ }, {
2409
+ type: "transaction";
2410
+ scope: "*" | {
2411
+ contract?: any;
2412
+ function: string;
2413
+ }[];
2414
+ }>, z.ZodObject<{
2415
+ type: z.ZodLiteral<"data">;
2416
+ addressBook: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
2417
+ privateEvents: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
2418
+ contracts: z.ZodUnion<[z.ZodLiteral<"*">, z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">]>;
2419
+ }, "strip", z.ZodTypeAny, {
2420
+ contracts: "*" | AztecAddress[];
2421
+ }, {
2422
+ contracts: "*" | any[];
2423
+ }>>;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ type: "data";
2426
+ addressBook?: boolean | undefined;
2427
+ privateEvents?: {
2428
+ contracts: "*" | AztecAddress[];
2429
+ } | undefined;
2430
+ }, {
2431
+ type: "data";
2432
+ addressBook?: boolean | undefined;
2433
+ privateEvents?: {
2434
+ contracts: "*" | any[];
2435
+ } | undefined;
2436
+ }>]>, "many">;
2437
+ wallet: z.ZodObject<{
2438
+ name: z.ZodString;
2439
+ version: z.ZodString;
2440
+ }, "strip", z.ZodTypeAny, {
2441
+ name: string;
2442
+ version: string;
2443
+ }, {
2444
+ name: string;
2445
+ version: string;
2446
+ }>;
2447
+ expiresAt: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
2448
+ }, "strip", z.ZodTypeAny, {
2449
+ version: "1.0";
2450
+ granted: ({
2451
+ type: "accounts";
2452
+ canGet?: boolean | undefined;
2453
+ canCreateAuthWit?: boolean | undefined;
2454
+ accounts: {
2455
+ alias: string;
2456
+ item: AztecAddress;
2457
+ }[];
2458
+ } | {
2459
+ type: "contracts";
2460
+ contracts: "*" | AztecAddress[];
2461
+ canRegister?: boolean | undefined;
2462
+ canGetMetadata?: boolean | undefined;
2463
+ } | {
2464
+ type: "contractClasses";
2465
+ classes: "*" | Fr[];
2466
+ canGetMetadata: boolean;
2467
+ } | {
2468
+ type: "simulation";
2469
+ transactions?: {
2470
+ scope: "*" | {
2471
+ contract: "*" | AztecAddress;
2472
+ function: string;
2473
+ }[];
2474
+ } | undefined;
2475
+ utilities?: {
2476
+ scope: "*" | {
2477
+ contract: "*" | AztecAddress;
2478
+ function: string;
2479
+ }[];
2480
+ } | undefined;
2481
+ } | {
2482
+ type: "transaction";
2483
+ scope: "*" | {
2484
+ contract: "*" | AztecAddress;
2485
+ function: string;
2486
+ }[];
2487
+ } | {
2488
+ type: "data";
2489
+ addressBook?: boolean | undefined;
2490
+ privateEvents?: {
2491
+ contracts: "*" | AztecAddress[];
2492
+ } | undefined;
2493
+ })[];
2494
+ wallet: {
2495
+ name: string;
2496
+ version: string;
2497
+ };
2498
+ expiresAt?: number | undefined;
2499
+ }, {
2500
+ version: "1.0";
2501
+ granted: ({
2502
+ type: "accounts";
2503
+ canGet?: boolean | undefined;
2504
+ canCreateAuthWit?: boolean | undefined;
2505
+ accounts: {
2506
+ alias: string;
2507
+ item?: any;
2508
+ }[];
2509
+ } | {
2510
+ type: "contracts";
2511
+ contracts: "*" | any[];
2512
+ canRegister?: boolean | undefined;
2513
+ canGetMetadata?: boolean | undefined;
2514
+ } | {
2515
+ type: "contractClasses";
2516
+ classes: "*" | any[];
2517
+ canGetMetadata: boolean;
2518
+ } | {
2519
+ type: "simulation";
2520
+ transactions?: {
2521
+ scope: "*" | {
2522
+ contract?: any;
2523
+ function: string;
2524
+ }[];
2525
+ } | undefined;
2526
+ utilities?: {
2527
+ scope: "*" | {
2528
+ contract?: any;
2529
+ function: string;
2530
+ }[];
2531
+ } | undefined;
2532
+ } | {
2533
+ type: "transaction";
2534
+ scope: "*" | {
2535
+ contract?: any;
2536
+ function: string;
2537
+ }[];
2538
+ } | {
2539
+ type: "data";
2540
+ addressBook?: boolean | undefined;
2541
+ privateEvents?: {
2542
+ contracts: "*" | any[];
2543
+ } | undefined;
2544
+ })[];
2545
+ wallet: {
2546
+ name: string;
2547
+ version: string;
2548
+ };
2549
+ expiresAt?: number | undefined;
2550
+ }>;
2551
+ declare const BatchedMethodSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2552
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility">;
2553
+ args: z.ZodTuple<any, any>;
2554
+ }, "strip", z.ZodTypeAny, {
2555
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2556
+ args: any[];
2557
+ }, {
2558
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2559
+ args: any[];
2560
+ }>, ...z.ZodObject<{
2561
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility">;
2562
+ args: z.ZodTuple<any, any>;
2563
+ }, "strip", z.ZodTypeAny, {
2564
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2565
+ args: any[];
2566
+ }, {
2567
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2568
+ args: any[];
2569
+ }>[]]>, BatchedResultSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2570
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility">;
2571
+ result: z.ZodTypeAny;
2572
+ }, "strip", z.ZodTypeAny, {
2573
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2574
+ result?: any;
2575
+ }, {
2576
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2577
+ result?: any;
2578
+ }>, ...z.ZodObject<{
2579
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility">;
2580
+ result: z.ZodTypeAny;
2581
+ }, "strip", z.ZodTypeAny, {
2582
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2583
+ result?: any;
2584
+ }, {
2585
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "requestCapabilities" | "sendTx" | "simulateTx" | "simulateUtility";
2586
+ result?: any;
2587
+ }>[]]>;
2588
+ export { BatchedMethodSchema, BatchedResultSchema };
2589
+ export declare const WalletSchema: ApiSchemaFor<Wallet>;
2590
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLGlDQUFpQyxDQUFDO0FBQ3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