@aztec/aztec.js 0.0.0-test.1 → 0.0.1-commit.0b941701

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 (446) 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 +4 -2
  85. package/dest/api/wallet.d.ts.map +1 -1
  86. package/dest/api/wallet.js +3 -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 +36 -0
  118. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -0
  119. package/dest/contract/protocol_contracts/auth-registry.js +963 -0
  120. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +35 -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 +784 -0
  123. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +31 -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 +858 -0
  126. package/dest/contract/protocol_contracts/fee-juice.d.ts +30 -0
  127. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -0
  128. package/dest/contract/protocol_contracts/fee-juice.js +827 -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 +563 -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 +579 -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/deploy_account_method.d.ts +80 -0
  200. package/dest/wallet/deploy_account_method.d.ts.map +1 -0
  201. package/dest/wallet/deploy_account_method.js +79 -0
  202. package/dest/wallet/index.d.ts +3 -17
  203. package/dest/wallet/index.d.ts.map +1 -1
  204. package/dest/wallet/index.js +2 -20
  205. package/dest/wallet/wallet.d.ts +1297 -0
  206. package/dest/wallet/wallet.d.ts.map +1 -0
  207. package/dest/wallet/wallet.js +172 -0
  208. package/package.json +47 -36
  209. package/src/account/account.ts +72 -0
  210. package/src/account/account_contract.ts +66 -0
  211. package/src/account/account_with_secret_key.ts +63 -0
  212. package/src/account/index.ts +5 -8
  213. package/src/account/signerless_account.ts +46 -0
  214. package/src/api/abi.ts +26 -0
  215. package/src/api/account.ts +8 -5
  216. package/src/api/addresses.ts +1 -0
  217. package/src/api/authorization.ts +15 -0
  218. package/src/api/block.ts +2 -0
  219. package/src/api/contract.ts +88 -0
  220. package/src/api/crypto.ts +1 -0
  221. package/src/api/deployment.ts +4 -3
  222. package/src/api/ethereum.ts +10 -0
  223. package/src/api/events.ts +44 -0
  224. package/src/api/fee.ts +1 -1
  225. package/src/api/fee_testing.ts +1 -0
  226. package/src/api/fields.ts +2 -1
  227. package/src/api/keys.ts +8 -0
  228. package/src/api/log.ts +1 -0
  229. package/src/api/messaging.ts +2 -0
  230. package/src/api/node.ts +24 -0
  231. package/src/api/note.ts +1 -0
  232. package/src/api/protocol.ts +9 -0
  233. package/src/api/trees.ts +2 -0
  234. package/src/api/tx.ts +15 -0
  235. package/src/api/utils.ts +14 -0
  236. package/src/api/wallet.ts +34 -5
  237. package/src/authorization/call_authorization_request.ts +63 -0
  238. package/src/contract/base_contract_interaction.ts +40 -171
  239. package/src/contract/batch_call.ts +108 -57
  240. package/src/contract/checker.ts +8 -3
  241. package/src/contract/contract.ts +14 -21
  242. package/src/contract/contract_base.ts +9 -26
  243. package/src/contract/contract_function_interaction.ts +135 -106
  244. package/src/contract/deploy_method.ts +307 -143
  245. package/src/contract/get_gas_limits.ts +15 -8
  246. package/src/contract/interaction_options.ts +208 -0
  247. package/src/contract/protocol_contracts/auth-registry.ts +545 -0
  248. package/src/contract/protocol_contracts/contract-class-registry.ts +433 -0
  249. package/src/contract/protocol_contracts/contract-instance-registry.ts +493 -0
  250. package/src/contract/protocol_contracts/fee-juice.ts +457 -0
  251. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +329 -0
  252. package/src/contract/protocol_contracts/public-checks.ts +315 -0
  253. package/src/contract/wait_for_proven.ts +38 -0
  254. package/src/contract/wait_opts.ts +21 -0
  255. package/src/deployment/broadcast_function.ts +58 -58
  256. package/src/deployment/contract_deployer.ts +4 -3
  257. package/src/deployment/publish_class.ts +34 -0
  258. package/src/deployment/publish_instance.ts +23 -0
  259. package/src/{api/ethereum → ethereum}/portal_manager.ts +166 -89
  260. package/src/fee/fee_juice_payment_method_with_claim.ts +49 -34
  261. package/src/fee/fee_payment_method.ts +11 -7
  262. package/src/fee/private_fee_payment_method.ts +80 -58
  263. package/src/fee/public_fee_payment_method.ts +94 -68
  264. package/src/fee/sponsored_fee_payment.ts +46 -0
  265. package/src/scripts/generate_protocol_contract_types.ts +150 -0
  266. package/src/utils/abi_types.ts +1 -1
  267. package/src/utils/authwit.ts +274 -54
  268. package/src/utils/cross_chain.ts +53 -0
  269. package/src/utils/fee_juice.ts +5 -5
  270. package/src/utils/field_compressed_string.ts +1 -1
  271. package/src/utils/node.ts +63 -1
  272. package/src/utils/pub_key.ts +3 -4
  273. package/src/wallet/account_entrypoint_meta_payment_method.ts +74 -0
  274. package/src/wallet/account_manager.ts +146 -0
  275. package/src/wallet/deploy_account_method.ts +150 -0
  276. package/src/wallet/index.ts +2 -33
  277. package/src/wallet/wallet.ts +417 -0
  278. package/dest/account/contract.d.ts +0 -37
  279. package/dest/account/contract.d.ts.map +0 -1
  280. package/dest/account/interface.d.ts +0 -31
  281. package/dest/account/interface.d.ts.map +0 -1
  282. package/dest/account/interface.js +0 -4
  283. package/dest/account/wallet.d.ts +0 -11
  284. package/dest/account/wallet.d.ts.map +0 -1
  285. package/dest/account/wallet.js +0 -3
  286. package/dest/account_manager/deploy_account_method.d.ts +0 -15
  287. package/dest/account_manager/deploy_account_method.d.ts.map +0 -1
  288. package/dest/account_manager/deploy_account_method.js +0 -43
  289. package/dest/account_manager/deploy_account_sent_tx.d.ts +0 -30
  290. package/dest/account_manager/deploy_account_sent_tx.d.ts.map +0 -1
  291. package/dest/account_manager/deploy_account_sent_tx.js +0 -29
  292. package/dest/account_manager/index.d.ts +0 -108
  293. package/dest/account_manager/index.d.ts.map +0 -1
  294. package/dest/account_manager/index.js +0 -159
  295. package/dest/api/cheat_codes.d.ts +0 -26
  296. package/dest/api/cheat_codes.d.ts.map +0 -1
  297. package/dest/api/cheat_codes.js +0 -25
  298. package/dest/api/entrypoint.d.ts +0 -2
  299. package/dest/api/entrypoint.d.ts.map +0 -1
  300. package/dest/api/entrypoint.js +0 -1
  301. package/dest/api/ethereum/anvil_test_watcher.d.ts +0 -32
  302. package/dest/api/ethereum/anvil_test_watcher.d.ts.map +0 -1
  303. package/dest/api/ethereum/anvil_test_watcher.js +0 -133
  304. package/dest/api/ethereum/chain_monitor.d.ts +0 -25
  305. package/dest/api/ethereum/chain_monitor.d.ts.map +0 -1
  306. package/dest/api/ethereum/chain_monitor.js +0 -74
  307. package/dest/api/ethereum/cheat_codes.d.ts +0 -63
  308. package/dest/api/ethereum/cheat_codes.d.ts.map +0 -1
  309. package/dest/api/ethereum/cheat_codes.js +0 -162
  310. package/dest/api/ethereum/index.d.ts +0 -7
  311. package/dest/api/ethereum/index.d.ts.map +0 -1
  312. package/dest/api/ethereum/index.js +0 -6
  313. package/dest/api/ethereum/l1_contracts.d.ts +0 -3
  314. package/dest/api/ethereum/l1_contracts.d.ts.map +0 -1
  315. package/dest/api/ethereum/l1_contracts.js +0 -13
  316. package/dest/api/ethereum/portal_manager.d.ts +0 -136
  317. package/dest/api/ethereum/portal_manager.d.ts.map +0 -1
  318. package/dest/api/ethereum/portal_manager.js +0 -286
  319. package/dest/api/interfaces/pxe.d.ts +0 -2
  320. package/dest/api/interfaces/pxe.d.ts.map +0 -1
  321. package/dest/api/interfaces/pxe.js +0 -1
  322. package/dest/api/log_id.d.ts +0 -2
  323. package/dest/api/log_id.d.ts.map +0 -1
  324. package/dest/api/log_id.js +0 -1
  325. package/dest/api/tx_hash.d.ts +0 -2
  326. package/dest/api/tx_hash.d.ts.map +0 -1
  327. package/dest/api/tx_hash.js +0 -1
  328. package/dest/contract/deploy_proven_tx.d.ts +0 -21
  329. package/dest/contract/deploy_proven_tx.d.ts.map +0 -1
  330. package/dest/contract/deploy_proven_tx.js +0 -19
  331. package/dest/contract/deploy_sent_tx.d.ts +0 -45
  332. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  333. package/dest/contract/deploy_sent_tx.js +0 -43
  334. package/dest/contract/index.d.ts +0 -45
  335. package/dest/contract/index.d.ts.map +0 -1
  336. package/dest/contract/index.js +0 -43
  337. package/dest/contract/protocol_contracts.d.ts +0 -9
  338. package/dest/contract/protocol_contracts.d.ts.map +0 -1
  339. package/dest/contract/protocol_contracts.js +0 -26
  340. package/dest/contract/proven_tx.d.ts +0 -17
  341. package/dest/contract/proven_tx.d.ts.map +0 -1
  342. package/dest/contract/proven_tx.js +0 -22
  343. package/dest/contract/sent_tx.d.ts +0 -61
  344. package/dest/contract/sent_tx.d.ts.map +0 -1
  345. package/dest/contract/sent_tx.js +0 -102
  346. package/dest/contract/unsafe_contract.d.ts +0 -15
  347. package/dest/contract/unsafe_contract.d.ts.map +0 -1
  348. package/dest/contract/unsafe_contract.js +0 -6
  349. package/dest/deployment/deploy_instance.d.ts +0 -10
  350. package/dest/deployment/deploy_instance.d.ts.map +0 -1
  351. package/dest/deployment/deploy_instance.js +0 -14
  352. package/dest/deployment/index.d.ts +0 -2
  353. package/dest/deployment/index.d.ts.map +0 -1
  354. package/dest/deployment/index.js +0 -1
  355. package/dest/deployment/register_class.d.ts +0 -6
  356. package/dest/deployment/register_class.d.ts.map +0 -1
  357. package/dest/deployment/register_class.js +0 -22
  358. package/dest/entrypoint/default_entrypoint.d.ts +0 -12
  359. package/dest/entrypoint/default_entrypoint.d.ts.map +0 -1
  360. package/dest/entrypoint/default_entrypoint.js +0 -28
  361. package/dest/entrypoint/default_multi_call_entrypoint.d.ts +0 -15
  362. package/dest/entrypoint/default_multi_call_entrypoint.d.ts.map +0 -1
  363. package/dest/entrypoint/default_multi_call_entrypoint.js +0 -130
  364. package/dest/entrypoint/entrypoint.d.ts +0 -35
  365. package/dest/entrypoint/entrypoint.d.ts.map +0 -1
  366. package/dest/entrypoint/entrypoint.js +0 -4
  367. package/dest/entrypoint/payload.d.ts +0 -128
  368. package/dest/entrypoint/payload.d.ts.map +0 -1
  369. package/dest/entrypoint/payload.js +0 -143
  370. package/dest/fee/fee_juice_payment_method.d.ts +0 -14
  371. package/dest/fee/fee_juice_payment_method.d.ts.map +0 -1
  372. package/dest/fee/fee_juice_payment_method.js +0 -20
  373. package/dest/index.d.ts +0 -66
  374. package/dest/index.d.ts.map +0 -1
  375. package/dest/index.js +0 -69
  376. package/dest/rpc_clients/index.d.ts +0 -3
  377. package/dest/rpc_clients/index.d.ts.map +0 -1
  378. package/dest/rpc_clients/index.js +0 -2
  379. package/dest/rpc_clients/node/index.d.ts +0 -12
  380. package/dest/rpc_clients/node/index.d.ts.map +0 -1
  381. package/dest/rpc_clients/node/index.js +0 -78
  382. package/dest/rpc_clients/pxe_client.d.ts +0 -10
  383. package/dest/rpc_clients/pxe_client.d.ts.map +0 -1
  384. package/dest/rpc_clients/pxe_client.js +0 -23
  385. package/dest/utils/aztec_cheatcodes.d.ts +0 -59
  386. package/dest/utils/aztec_cheatcodes.d.ts.map +0 -1
  387. package/dest/utils/aztec_cheatcodes.js +0 -62
  388. package/dest/utils/index.d.ts +0 -8
  389. package/dest/utils/index.d.ts.map +0 -1
  390. package/dest/utils/index.js +0 -6
  391. package/dest/utils/pxe.d.ts +0 -4
  392. package/dest/utils/pxe.d.ts.map +0 -1
  393. package/dest/utils/pxe.js +0 -14
  394. package/dest/wallet/account_wallet.d.ts +0 -76
  395. package/dest/wallet/account_wallet.d.ts.map +0 -1
  396. package/dest/wallet/account_wallet.js +0 -231
  397. package/dest/wallet/account_wallet_with_private_key.d.ts +0 -26
  398. package/dest/wallet/account_wallet_with_private_key.d.ts.map +0 -1
  399. package/dest/wallet/base_wallet.d.ts +0 -73
  400. package/dest/wallet/base_wallet.d.ts.map +0 -1
  401. package/dest/wallet/base_wallet.js +0 -123
  402. package/dest/wallet/signerless_wallet.d.ts +0 -25
  403. package/dest/wallet/signerless_wallet.d.ts.map +0 -1
  404. package/dest/wallet/signerless_wallet.js +0 -36
  405. package/src/account/contract.ts +0 -56
  406. package/src/account/interface.ts +0 -36
  407. package/src/account/wallet.ts +0 -13
  408. package/src/account_manager/deploy_account_method.ts +0 -86
  409. package/src/account_manager/deploy_account_sent_tx.ts +0 -42
  410. package/src/account_manager/index.ts +0 -229
  411. package/src/api/cheat_codes.ts +0 -35
  412. package/src/api/entrypoint.ts +0 -1
  413. package/src/api/ethereum/anvil_test_watcher.ts +0 -158
  414. package/src/api/ethereum/chain_monitor.ts +0 -88
  415. package/src/api/ethereum/cheat_codes.ts +0 -184
  416. package/src/api/ethereum/index.ts +0 -19
  417. package/src/api/ethereum/l1_contracts.ts +0 -21
  418. package/src/api/interfaces/pxe.ts +0 -1
  419. package/src/api/log_id.ts +0 -1
  420. package/src/api/tx_hash.ts +0 -1
  421. package/src/contract/deploy_proven_tx.ts +0 -34
  422. package/src/contract/deploy_sent_tx.ts +0 -74
  423. package/src/contract/index.ts +0 -48
  424. package/src/contract/protocol_contracts.ts +0 -35
  425. package/src/contract/proven_tx.ts +0 -42
  426. package/src/contract/sent_tx.ts +0 -141
  427. package/src/contract/unsafe_contract.ts +0 -19
  428. package/src/deployment/deploy_instance.ts +0 -31
  429. package/src/deployment/index.ts +0 -1
  430. package/src/deployment/register_class.ts +0 -44
  431. package/src/entrypoint/default_entrypoint.ts +0 -39
  432. package/src/entrypoint/default_multi_call_entrypoint.ts +0 -93
  433. package/src/entrypoint/entrypoint.ts +0 -39
  434. package/src/entrypoint/payload.ts +0 -238
  435. package/src/fee/fee_juice_payment_method.ts +0 -26
  436. package/src/index.ts +0 -106
  437. package/src/rpc_clients/index.ts +0 -2
  438. package/src/rpc_clients/node/index.ts +0 -77
  439. package/src/rpc_clients/pxe_client.ts +0 -25
  440. package/src/utils/aztec_cheatcodes.ts +0 -77
  441. package/src/utils/index.ts +0 -21
  442. package/src/utils/pxe.ts +0 -17
  443. package/src/wallet/account_wallet.ts +0 -242
  444. package/src/wallet/account_wallet_with_private_key.ts +0 -40
  445. package/src/wallet/base_wallet.ts +0 -198
  446. package/src/wallet/signerless_wallet.ts +0 -52
@@ -0,0 +1,1297 @@
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 { Capsule, HashedValues, TxHash, TxProfileResult, TxSimulationResult, UtilitySimulationResult } from '@aztec/stdlib/tx';
11
+ import type { ExecutionPayload, InTx } 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
+ /**
16
+ * A wrapper type that allows any item to be associated with an alias.
17
+ */
18
+ export type Aliased<T> = {
19
+ /**
20
+ * The alias
21
+ */
22
+ alias: string;
23
+ /**
24
+ * The item being aliased.
25
+ */
26
+ item: T;
27
+ };
28
+ /**
29
+ * Options for simulating interactions with the wallet. Overrides the fee settings of an interaction with
30
+ * a simplified version that only hints at the wallet whether the interaction contains a
31
+ * fee payment method or not
32
+ */
33
+ export type SimulateOptions = Omit<SimulateInteractionOptions, 'fee'> & {
34
+ /** The fee options */
35
+ fee?: GasSettingsOption & FeeEstimationOptions;
36
+ };
37
+ /**
38
+ * Options for profiling interactions with the wallet. Overrides the fee settings of an interaction with
39
+ * a simplified version that only hints at the wallet whether the interaction contains a
40
+ * fee payment method or not
41
+ */
42
+ export type ProfileOptions = Omit<ProfileInteractionOptions, 'fee'> & {
43
+ /** The fee options */
44
+ fee?: GasSettingsOption;
45
+ };
46
+ /**
47
+ * Options for sending/proving interactions with the wallet. Overrides the fee settings of an interaction with
48
+ * a simplified version that only hints at the wallet whether the interaction contains a
49
+ * fee payment method or not
50
+ */
51
+ export type SendOptions<W extends InteractionWaitOptions = undefined> = Omit<SendInteractionOptionsWithoutWait, 'fee'> & {
52
+ /** The fee options */
53
+ fee?: GasSettingsOption;
54
+ /** Whether to wait for the transaction to be mined */
55
+ wait?: W;
56
+ };
57
+ /**
58
+ * Helper type that represents all methods that can be batched (all methods except batch itself).
59
+ */
60
+ export type BatchableMethods = Omit<Wallet, 'batch'>;
61
+ /**
62
+ * A method call with its name and arguments.
63
+ */
64
+ type BatchedMethodInternal<T extends keyof BatchableMethods> = {
65
+ /** The method name */
66
+ name: T;
67
+ /** The method arguments */
68
+ args: Parameters<BatchableMethods[T]>;
69
+ };
70
+ /**
71
+ * Union of all possible batched method calls.
72
+ * This ensures type safety: the `args` must match the specific `name`.
73
+ */
74
+ export type BatchedMethod = {
75
+ [K in keyof BatchableMethods]: BatchedMethodInternal<K>;
76
+ }[keyof BatchableMethods];
77
+ /**
78
+ * Helper type to extract the return type of a batched method
79
+ */
80
+ export type BatchedMethodResult<T> = T extends BatchedMethodInternal<infer K> ? Awaited<ReturnType<BatchableMethods[K]>> : never;
81
+ /**
82
+ * Wrapper type for batch results that includes the method name for discriminated union deserialization.
83
+ * Each result is wrapped as \{ name: 'methodName', result: ActualResult \} to allow proper deserialization
84
+ * when AztecAddress and TxHash would otherwise be ambiguous (both are hex strings).
85
+ */
86
+ export type BatchedMethodResultWrapper<T extends BatchedMethod> = {
87
+ /** The method name */
88
+ name: T['name'];
89
+ /** The method result */
90
+ result: BatchedMethodResult<T>;
91
+ };
92
+ /**
93
+ * Maps a tuple of BatchedMethod to a tuple of their wrapped return types
94
+ */
95
+ export type BatchResults<T extends readonly BatchedMethod[]> = {
96
+ [K in keyof T]: BatchedMethodResultWrapper<T[K]>;
97
+ };
98
+ /**
99
+ * Filter options when querying private events.
100
+ */
101
+ export type PrivateEventFilter = {
102
+ /** The address of the contract that emitted the events. */
103
+ contractAddress: AztecAddress;
104
+ /** Addresses of accounts that are in scope for this filter. */
105
+ scopes: AztecAddress[];
106
+ /** Transaction in which the events were emitted. */
107
+ txHash?: TxHash;
108
+ /** The block number from which to start fetching events (inclusive).
109
+ * Optional. If provided, it must be greater or equal than 1.
110
+ * Defaults to the initial L2 block number (INITIAL_L2_BLOCK_NUM).
111
+ * */
112
+ fromBlock?: BlockNumber;
113
+ /** The block number until which to fetch logs (not inclusive).
114
+ * Optional. If provided, it must be greater than fromBlock.
115
+ * Defaults to the latest known block to PXE + 1.
116
+ */
117
+ toBlock?: BlockNumber;
118
+ };
119
+ /**
120
+ * An ABI decoded private event with associated metadata.
121
+ */
122
+ export type PrivateEvent<T> = {
123
+ /** The ABI decoded event */
124
+ event: T;
125
+ /** Metadata describing event context information such as tx and block */
126
+ metadata: InTx;
127
+ };
128
+ /**
129
+ * Contract metadata including deployment and registration status.
130
+ */
131
+ export type ContractMetadata = {
132
+ /** The contract instance */
133
+ instance?: ContractInstanceWithAddress;
134
+ /** Whether the contract has been initialized (init nullifier exists) */
135
+ isContractInitialized: boolean;
136
+ /** Whether the contract instance is publicly deployed on-chain */
137
+ isContractPublished: boolean;
138
+ /** Whether the contract has been updated to a different class */
139
+ isContractUpdated: boolean;
140
+ /** The updated contract class ID if the contract has been updated */
141
+ updatedContractClassId?: Fr | undefined;
142
+ };
143
+ /**
144
+ * Contract class metadata.
145
+ */
146
+ export type ContractClassMetadata = {
147
+ /** Whether the artifact is registered in the wallet */
148
+ isArtifactRegistered: boolean;
149
+ /** Whether the contract class is publicly registered on-chain */
150
+ isContractClassPubliclyRegistered: boolean;
151
+ };
152
+ /**
153
+ * The wallet interface.
154
+ */
155
+ export type Wallet = {
156
+ getPrivateEvents<T>(eventMetadata: EventMetadataDefinition, eventFilter: PrivateEventFilter): Promise<PrivateEvent<T>[]>;
157
+ getChainInfo(): Promise<ChainInfo>;
158
+ getContractMetadata(address: AztecAddress): Promise<ContractMetadata>;
159
+ getContractClassMetadata(id: Fr): Promise<ContractClassMetadata>;
160
+ registerSender(address: AztecAddress, alias?: string): Promise<AztecAddress>;
161
+ getAddressBook(): Promise<Aliased<AztecAddress>[]>;
162
+ getAccounts(): Promise<Aliased<AztecAddress>[]>;
163
+ registerContract(instance: ContractInstanceWithAddress, artifact?: ContractArtifact, secretKey?: Fr): Promise<ContractInstanceWithAddress>;
164
+ simulateTx(exec: ExecutionPayload, opts: SimulateOptions): Promise<TxSimulationResult>;
165
+ simulateUtility(call: FunctionCall, authwits?: AuthWitness[]): Promise<UtilitySimulationResult>;
166
+ profileTx(exec: ExecutionPayload, opts: ProfileOptions): Promise<TxProfileResult>;
167
+ sendTx<W extends InteractionWaitOptions = undefined>(exec: ExecutionPayload, opts: SendOptions<W>): Promise<SendReturn<W>>;
168
+ createAuthWit(from: AztecAddress, messageHashOrIntent: IntentInnerHash | CallIntent): Promise<AuthWitness>;
169
+ batch<const T extends readonly BatchedMethod[]>(methods: T): Promise<BatchResults<T>>;
170
+ };
171
+ export declare const FunctionCallSchema: z.ZodObject<{
172
+ name: z.ZodString;
173
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
174
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
175
+ type: z.ZodNativeEnum<typeof FunctionType>;
176
+ isStatic: z.ZodBoolean;
177
+ hideMsgSender: z.ZodBoolean;
178
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
179
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
180
+ }, "strip", z.ZodTypeAny, {
181
+ name: string;
182
+ to: AztecAddress;
183
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
184
+ type: FunctionType;
185
+ isStatic: boolean;
186
+ hideMsgSender: boolean;
187
+ args: Fr[];
188
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
189
+ }, {
190
+ name: string;
191
+ to?: any;
192
+ selector?: any;
193
+ type: FunctionType;
194
+ isStatic: boolean;
195
+ hideMsgSender: boolean;
196
+ args: any[];
197
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
198
+ }>;
199
+ export declare const ExecutionPayloadSchema: z.ZodObject<{
200
+ calls: z.ZodArray<z.ZodObject<{
201
+ name: z.ZodString;
202
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
203
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
204
+ type: z.ZodNativeEnum<typeof FunctionType>;
205
+ isStatic: z.ZodBoolean;
206
+ hideMsgSender: z.ZodBoolean;
207
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
208
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
209
+ }, "strip", z.ZodTypeAny, {
210
+ name: string;
211
+ to: AztecAddress;
212
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
213
+ type: FunctionType;
214
+ isStatic: boolean;
215
+ hideMsgSender: boolean;
216
+ args: Fr[];
217
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
218
+ }, {
219
+ name: string;
220
+ to?: any;
221
+ selector?: any;
222
+ type: FunctionType;
223
+ isStatic: boolean;
224
+ hideMsgSender: boolean;
225
+ args: any[];
226
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
227
+ }>, "many">;
228
+ authWitnesses: z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">;
229
+ capsules: z.ZodArray<z.ZodType<Capsule, any, string>, "many">;
230
+ extraHashedArgs: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<HashedValues>, "many">;
231
+ feePayer: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ calls: {
234
+ name: string;
235
+ to: AztecAddress;
236
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
237
+ type: FunctionType;
238
+ isStatic: boolean;
239
+ hideMsgSender: boolean;
240
+ args: Fr[];
241
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
242
+ }[];
243
+ authWitnesses: AuthWitness[];
244
+ capsules: Capsule[];
245
+ extraHashedArgs: HashedValues[];
246
+ feePayer?: AztecAddress | undefined;
247
+ }, {
248
+ calls: {
249
+ name: string;
250
+ to?: any;
251
+ selector?: any;
252
+ type: FunctionType;
253
+ isStatic: boolean;
254
+ hideMsgSender: boolean;
255
+ args: any[];
256
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
257
+ }[];
258
+ authWitnesses: string[];
259
+ capsules: string[];
260
+ extraHashedArgs: any[];
261
+ feePayer?: any;
262
+ }>;
263
+ export declare const GasSettingsOptionSchema: z.ZodObject<{
264
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
265
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
266
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
267
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
268
+ }, "strip", z.ZodTypeAny, {
269
+ daGas: number;
270
+ l2Gas: number;
271
+ }, {
272
+ daGas: string | number | bigint;
273
+ l2Gas: string | number | bigint;
274
+ }>, Gas, {
275
+ daGas: string | number | bigint;
276
+ l2Gas: string | number | bigint;
277
+ }>>;
278
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
279
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
280
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
281
+ }, "strip", z.ZodTypeAny, {
282
+ daGas: number;
283
+ l2Gas: number;
284
+ }, {
285
+ daGas: string | number | bigint;
286
+ l2Gas: string | number | bigint;
287
+ }>, Gas, {
288
+ daGas: string | number | bigint;
289
+ l2Gas: string | number | bigint;
290
+ }>>;
291
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
292
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
293
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
294
+ }, "strip", z.ZodTypeAny, {
295
+ feePerDaGas: bigint;
296
+ feePerL2Gas: bigint;
297
+ }, {
298
+ feePerDaGas: string | number | bigint;
299
+ feePerL2Gas: string | number | bigint;
300
+ }>>;
301
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
302
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
303
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ feePerDaGas: bigint;
306
+ feePerL2Gas: bigint;
307
+ }, {
308
+ feePerDaGas: string | number | bigint;
309
+ feePerL2Gas: string | number | bigint;
310
+ }>>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ gasLimits?: Gas | undefined;
313
+ teardownGasLimits?: Gas | undefined;
314
+ maxFeePerGas?: {
315
+ feePerDaGas: bigint;
316
+ feePerL2Gas: bigint;
317
+ } | undefined;
318
+ maxPriorityFeePerGas?: {
319
+ feePerDaGas: bigint;
320
+ feePerL2Gas: bigint;
321
+ } | undefined;
322
+ }, {
323
+ gasLimits?: {
324
+ daGas: string | number | bigint;
325
+ l2Gas: string | number | bigint;
326
+ } | undefined;
327
+ teardownGasLimits?: {
328
+ daGas: string | number | bigint;
329
+ l2Gas: string | number | bigint;
330
+ } | undefined;
331
+ maxFeePerGas?: {
332
+ feePerDaGas: string | number | bigint;
333
+ feePerL2Gas: string | number | bigint;
334
+ } | undefined;
335
+ maxPriorityFeePerGas?: {
336
+ feePerDaGas: string | number | bigint;
337
+ feePerL2Gas: string | number | bigint;
338
+ } | undefined;
339
+ }>>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ gasSettings?: {
342
+ gasLimits?: Gas | undefined;
343
+ teardownGasLimits?: Gas | undefined;
344
+ maxFeePerGas?: {
345
+ feePerDaGas: bigint;
346
+ feePerL2Gas: bigint;
347
+ } | undefined;
348
+ maxPriorityFeePerGas?: {
349
+ feePerDaGas: bigint;
350
+ feePerL2Gas: bigint;
351
+ } | undefined;
352
+ } | undefined;
353
+ }, {
354
+ gasSettings?: {
355
+ gasLimits?: {
356
+ daGas: string | number | bigint;
357
+ l2Gas: string | number | bigint;
358
+ } | undefined;
359
+ teardownGasLimits?: {
360
+ daGas: string | number | bigint;
361
+ l2Gas: string | number | bigint;
362
+ } | undefined;
363
+ maxFeePerGas?: {
364
+ feePerDaGas: string | number | bigint;
365
+ feePerL2Gas: string | number | bigint;
366
+ } | undefined;
367
+ maxPriorityFeePerGas?: {
368
+ feePerDaGas: string | number | bigint;
369
+ feePerL2Gas: string | number | bigint;
370
+ } | undefined;
371
+ } | undefined;
372
+ }>;
373
+ export declare const WalletSimulationFeeOptionSchema: z.ZodObject<{
374
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
375
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
376
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
377
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ daGas: number;
380
+ l2Gas: number;
381
+ }, {
382
+ daGas: string | number | bigint;
383
+ l2Gas: string | number | bigint;
384
+ }>, Gas, {
385
+ daGas: string | number | bigint;
386
+ l2Gas: string | number | bigint;
387
+ }>>;
388
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
389
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
390
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ daGas: number;
393
+ l2Gas: number;
394
+ }, {
395
+ daGas: string | number | bigint;
396
+ l2Gas: string | number | bigint;
397
+ }>, Gas, {
398
+ daGas: string | number | bigint;
399
+ l2Gas: string | number | bigint;
400
+ }>>;
401
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
402
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
403
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
404
+ }, "strip", z.ZodTypeAny, {
405
+ feePerDaGas: bigint;
406
+ feePerL2Gas: bigint;
407
+ }, {
408
+ feePerDaGas: string | number | bigint;
409
+ feePerL2Gas: string | number | bigint;
410
+ }>>;
411
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
412
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
413
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
414
+ }, "strip", z.ZodTypeAny, {
415
+ feePerDaGas: bigint;
416
+ feePerL2Gas: bigint;
417
+ }, {
418
+ feePerDaGas: string | number | bigint;
419
+ feePerL2Gas: string | number | bigint;
420
+ }>>;
421
+ }, "strip", z.ZodTypeAny, {
422
+ gasLimits?: Gas | undefined;
423
+ teardownGasLimits?: Gas | undefined;
424
+ maxFeePerGas?: {
425
+ feePerDaGas: bigint;
426
+ feePerL2Gas: bigint;
427
+ } | undefined;
428
+ maxPriorityFeePerGas?: {
429
+ feePerDaGas: bigint;
430
+ feePerL2Gas: bigint;
431
+ } | undefined;
432
+ }, {
433
+ gasLimits?: {
434
+ daGas: string | number | bigint;
435
+ l2Gas: string | number | bigint;
436
+ } | undefined;
437
+ teardownGasLimits?: {
438
+ daGas: string | number | bigint;
439
+ l2Gas: string | number | bigint;
440
+ } | undefined;
441
+ maxFeePerGas?: {
442
+ feePerDaGas: string | number | bigint;
443
+ feePerL2Gas: string | number | bigint;
444
+ } | undefined;
445
+ maxPriorityFeePerGas?: {
446
+ feePerDaGas: string | number | bigint;
447
+ feePerL2Gas: string | number | bigint;
448
+ } | undefined;
449
+ }>>;
450
+ } & {
451
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
452
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ gasSettings?: {
455
+ gasLimits?: Gas | undefined;
456
+ teardownGasLimits?: Gas | undefined;
457
+ maxFeePerGas?: {
458
+ feePerDaGas: bigint;
459
+ feePerL2Gas: bigint;
460
+ } | undefined;
461
+ maxPriorityFeePerGas?: {
462
+ feePerDaGas: bigint;
463
+ feePerL2Gas: bigint;
464
+ } | undefined;
465
+ } | undefined;
466
+ estimatedGasPadding?: number | undefined;
467
+ estimateGas?: boolean | undefined;
468
+ }, {
469
+ gasSettings?: {
470
+ gasLimits?: {
471
+ daGas: string | number | bigint;
472
+ l2Gas: string | number | bigint;
473
+ } | undefined;
474
+ teardownGasLimits?: {
475
+ daGas: string | number | bigint;
476
+ l2Gas: string | number | bigint;
477
+ } | undefined;
478
+ maxFeePerGas?: {
479
+ feePerDaGas: string | number | bigint;
480
+ feePerL2Gas: string | number | bigint;
481
+ } | undefined;
482
+ maxPriorityFeePerGas?: {
483
+ feePerDaGas: string | number | bigint;
484
+ feePerL2Gas: string | number | bigint;
485
+ } | undefined;
486
+ } | undefined;
487
+ estimatedGasPadding?: number | undefined;
488
+ estimateGas?: boolean | undefined;
489
+ }>;
490
+ export declare const WaitOptsSchema: z.ZodObject<{
491
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
492
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
493
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
494
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ ignoreDroppedReceiptsFor?: number | undefined;
497
+ timeout?: number | undefined;
498
+ interval?: number | undefined;
499
+ dontThrowOnRevert?: boolean | undefined;
500
+ }, {
501
+ ignoreDroppedReceiptsFor?: number | undefined;
502
+ timeout?: number | undefined;
503
+ interval?: number | undefined;
504
+ dontThrowOnRevert?: boolean | undefined;
505
+ }>;
506
+ export declare const SendOptionsSchema: z.ZodObject<{
507
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
508
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
509
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
510
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
511
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
512
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
513
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
514
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ daGas: number;
517
+ l2Gas: number;
518
+ }, {
519
+ daGas: string | number | bigint;
520
+ l2Gas: string | number | bigint;
521
+ }>, Gas, {
522
+ daGas: string | number | bigint;
523
+ l2Gas: string | number | bigint;
524
+ }>>;
525
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
526
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
527
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
528
+ }, "strip", z.ZodTypeAny, {
529
+ daGas: number;
530
+ l2Gas: number;
531
+ }, {
532
+ daGas: string | number | bigint;
533
+ l2Gas: string | number | bigint;
534
+ }>, Gas, {
535
+ daGas: string | number | bigint;
536
+ l2Gas: string | number | bigint;
537
+ }>>;
538
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
539
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
540
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
541
+ }, "strip", z.ZodTypeAny, {
542
+ feePerDaGas: bigint;
543
+ feePerL2Gas: bigint;
544
+ }, {
545
+ feePerDaGas: string | number | bigint;
546
+ feePerL2Gas: string | number | bigint;
547
+ }>>;
548
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
549
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
550
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
551
+ }, "strip", z.ZodTypeAny, {
552
+ feePerDaGas: bigint;
553
+ feePerL2Gas: bigint;
554
+ }, {
555
+ feePerDaGas: string | number | bigint;
556
+ feePerL2Gas: string | number | bigint;
557
+ }>>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ gasLimits?: Gas | undefined;
560
+ teardownGasLimits?: Gas | undefined;
561
+ maxFeePerGas?: {
562
+ feePerDaGas: bigint;
563
+ feePerL2Gas: bigint;
564
+ } | undefined;
565
+ maxPriorityFeePerGas?: {
566
+ feePerDaGas: bigint;
567
+ feePerL2Gas: bigint;
568
+ } | undefined;
569
+ }, {
570
+ gasLimits?: {
571
+ daGas: string | number | bigint;
572
+ l2Gas: string | number | bigint;
573
+ } | undefined;
574
+ teardownGasLimits?: {
575
+ daGas: string | number | bigint;
576
+ l2Gas: string | number | bigint;
577
+ } | undefined;
578
+ maxFeePerGas?: {
579
+ feePerDaGas: string | number | bigint;
580
+ feePerL2Gas: string | number | bigint;
581
+ } | undefined;
582
+ maxPriorityFeePerGas?: {
583
+ feePerDaGas: string | number | bigint;
584
+ feePerL2Gas: string | number | bigint;
585
+ } | undefined;
586
+ }>>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ gasSettings?: {
589
+ gasLimits?: Gas | undefined;
590
+ teardownGasLimits?: Gas | undefined;
591
+ maxFeePerGas?: {
592
+ feePerDaGas: bigint;
593
+ feePerL2Gas: bigint;
594
+ } | undefined;
595
+ maxPriorityFeePerGas?: {
596
+ feePerDaGas: bigint;
597
+ feePerL2Gas: bigint;
598
+ } | undefined;
599
+ } | undefined;
600
+ }, {
601
+ gasSettings?: {
602
+ gasLimits?: {
603
+ daGas: string | number | bigint;
604
+ l2Gas: string | number | bigint;
605
+ } | undefined;
606
+ teardownGasLimits?: {
607
+ daGas: string | number | bigint;
608
+ l2Gas: string | number | bigint;
609
+ } | undefined;
610
+ maxFeePerGas?: {
611
+ feePerDaGas: string | number | bigint;
612
+ feePerL2Gas: string | number | bigint;
613
+ } | undefined;
614
+ maxPriorityFeePerGas?: {
615
+ feePerDaGas: string | number | bigint;
616
+ feePerL2Gas: string | number | bigint;
617
+ } | undefined;
618
+ } | undefined;
619
+ }>>;
620
+ wait: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodLiteral<"NO_WAIT">, z.ZodObject<{
621
+ ignoreDroppedReceiptsFor: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
622
+ timeout: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
623
+ interval: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
624
+ dontThrowOnRevert: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ ignoreDroppedReceiptsFor?: number | undefined;
627
+ timeout?: number | undefined;
628
+ interval?: number | undefined;
629
+ dontThrowOnRevert?: boolean | undefined;
630
+ }, {
631
+ ignoreDroppedReceiptsFor?: number | undefined;
632
+ timeout?: number | undefined;
633
+ interval?: number | undefined;
634
+ dontThrowOnRevert?: boolean | undefined;
635
+ }>]>>;
636
+ }, "strip", z.ZodTypeAny, {
637
+ from: AztecAddress;
638
+ authWitnesses?: AuthWitness[] | undefined;
639
+ capsules?: Capsule[] | undefined;
640
+ fee?: {
641
+ gasSettings?: {
642
+ gasLimits?: Gas | undefined;
643
+ teardownGasLimits?: Gas | undefined;
644
+ maxFeePerGas?: {
645
+ feePerDaGas: bigint;
646
+ feePerL2Gas: bigint;
647
+ } | undefined;
648
+ maxPriorityFeePerGas?: {
649
+ feePerDaGas: bigint;
650
+ feePerL2Gas: bigint;
651
+ } | undefined;
652
+ } | undefined;
653
+ } | undefined;
654
+ wait?: "NO_WAIT" | {
655
+ ignoreDroppedReceiptsFor?: number | undefined;
656
+ timeout?: number | undefined;
657
+ interval?: number | undefined;
658
+ dontThrowOnRevert?: boolean | undefined;
659
+ } | undefined;
660
+ }, {
661
+ from?: any;
662
+ authWitnesses?: string[] | undefined;
663
+ capsules?: string[] | undefined;
664
+ fee?: {
665
+ gasSettings?: {
666
+ gasLimits?: {
667
+ daGas: string | number | bigint;
668
+ l2Gas: string | number | bigint;
669
+ } | undefined;
670
+ teardownGasLimits?: {
671
+ daGas: string | number | bigint;
672
+ l2Gas: string | number | bigint;
673
+ } | undefined;
674
+ maxFeePerGas?: {
675
+ feePerDaGas: string | number | bigint;
676
+ feePerL2Gas: string | number | bigint;
677
+ } | undefined;
678
+ maxPriorityFeePerGas?: {
679
+ feePerDaGas: string | number | bigint;
680
+ feePerL2Gas: string | number | bigint;
681
+ } | undefined;
682
+ } | undefined;
683
+ } | undefined;
684
+ wait?: "NO_WAIT" | {
685
+ ignoreDroppedReceiptsFor?: number | undefined;
686
+ timeout?: number | undefined;
687
+ interval?: number | undefined;
688
+ dontThrowOnRevert?: boolean | undefined;
689
+ } | undefined;
690
+ }>;
691
+ export declare const SimulateOptionsSchema: z.ZodObject<{
692
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
693
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
694
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
695
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
696
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
697
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
698
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
699
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ daGas: number;
702
+ l2Gas: number;
703
+ }, {
704
+ daGas: string | number | bigint;
705
+ l2Gas: string | number | bigint;
706
+ }>, Gas, {
707
+ daGas: string | number | bigint;
708
+ l2Gas: string | number | bigint;
709
+ }>>;
710
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
711
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
712
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
713
+ }, "strip", z.ZodTypeAny, {
714
+ daGas: number;
715
+ l2Gas: number;
716
+ }, {
717
+ daGas: string | number | bigint;
718
+ l2Gas: string | number | bigint;
719
+ }>, Gas, {
720
+ daGas: string | number | bigint;
721
+ l2Gas: string | number | bigint;
722
+ }>>;
723
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
724
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
725
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
726
+ }, "strip", z.ZodTypeAny, {
727
+ feePerDaGas: bigint;
728
+ feePerL2Gas: bigint;
729
+ }, {
730
+ feePerDaGas: string | number | bigint;
731
+ feePerL2Gas: string | number | bigint;
732
+ }>>;
733
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
734
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
735
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
736
+ }, "strip", z.ZodTypeAny, {
737
+ feePerDaGas: bigint;
738
+ feePerL2Gas: bigint;
739
+ }, {
740
+ feePerDaGas: string | number | bigint;
741
+ feePerL2Gas: string | number | bigint;
742
+ }>>;
743
+ }, "strip", z.ZodTypeAny, {
744
+ gasLimits?: Gas | undefined;
745
+ teardownGasLimits?: Gas | undefined;
746
+ maxFeePerGas?: {
747
+ feePerDaGas: bigint;
748
+ feePerL2Gas: bigint;
749
+ } | undefined;
750
+ maxPriorityFeePerGas?: {
751
+ feePerDaGas: bigint;
752
+ feePerL2Gas: bigint;
753
+ } | undefined;
754
+ }, {
755
+ gasLimits?: {
756
+ daGas: string | number | bigint;
757
+ l2Gas: string | number | bigint;
758
+ } | undefined;
759
+ teardownGasLimits?: {
760
+ daGas: string | number | bigint;
761
+ l2Gas: string | number | bigint;
762
+ } | undefined;
763
+ maxFeePerGas?: {
764
+ feePerDaGas: string | number | bigint;
765
+ feePerL2Gas: string | number | bigint;
766
+ } | undefined;
767
+ maxPriorityFeePerGas?: {
768
+ feePerDaGas: string | number | bigint;
769
+ feePerL2Gas: string | number | bigint;
770
+ } | undefined;
771
+ }>>;
772
+ } & {
773
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
774
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
775
+ }, "strip", z.ZodTypeAny, {
776
+ gasSettings?: {
777
+ gasLimits?: Gas | undefined;
778
+ teardownGasLimits?: Gas | undefined;
779
+ maxFeePerGas?: {
780
+ feePerDaGas: bigint;
781
+ feePerL2Gas: bigint;
782
+ } | undefined;
783
+ maxPriorityFeePerGas?: {
784
+ feePerDaGas: bigint;
785
+ feePerL2Gas: bigint;
786
+ } | undefined;
787
+ } | undefined;
788
+ estimatedGasPadding?: number | undefined;
789
+ estimateGas?: boolean | undefined;
790
+ }, {
791
+ gasSettings?: {
792
+ gasLimits?: {
793
+ daGas: string | number | bigint;
794
+ l2Gas: string | number | bigint;
795
+ } | undefined;
796
+ teardownGasLimits?: {
797
+ daGas: string | number | bigint;
798
+ l2Gas: string | number | bigint;
799
+ } | undefined;
800
+ maxFeePerGas?: {
801
+ feePerDaGas: string | number | bigint;
802
+ feePerL2Gas: string | number | bigint;
803
+ } | undefined;
804
+ maxPriorityFeePerGas?: {
805
+ feePerDaGas: string | number | bigint;
806
+ feePerL2Gas: string | number | bigint;
807
+ } | undefined;
808
+ } | undefined;
809
+ estimatedGasPadding?: number | undefined;
810
+ estimateGas?: boolean | undefined;
811
+ }>>;
812
+ skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
813
+ skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
814
+ includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ from: AztecAddress;
817
+ authWitnesses?: AuthWitness[] | undefined;
818
+ capsules?: Capsule[] | undefined;
819
+ fee?: {
820
+ gasSettings?: {
821
+ gasLimits?: Gas | undefined;
822
+ teardownGasLimits?: Gas | undefined;
823
+ maxFeePerGas?: {
824
+ feePerDaGas: bigint;
825
+ feePerL2Gas: bigint;
826
+ } | undefined;
827
+ maxPriorityFeePerGas?: {
828
+ feePerDaGas: bigint;
829
+ feePerL2Gas: bigint;
830
+ } | undefined;
831
+ } | undefined;
832
+ estimatedGasPadding?: number | undefined;
833
+ estimateGas?: boolean | undefined;
834
+ } | undefined;
835
+ skipTxValidation?: boolean | undefined;
836
+ skipFeeEnforcement?: boolean | undefined;
837
+ includeMetadata?: boolean | undefined;
838
+ }, {
839
+ from?: any;
840
+ authWitnesses?: string[] | undefined;
841
+ capsules?: string[] | undefined;
842
+ fee?: {
843
+ gasSettings?: {
844
+ gasLimits?: {
845
+ daGas: string | number | bigint;
846
+ l2Gas: string | number | bigint;
847
+ } | undefined;
848
+ teardownGasLimits?: {
849
+ daGas: string | number | bigint;
850
+ l2Gas: string | number | bigint;
851
+ } | undefined;
852
+ maxFeePerGas?: {
853
+ feePerDaGas: string | number | bigint;
854
+ feePerL2Gas: string | number | bigint;
855
+ } | undefined;
856
+ maxPriorityFeePerGas?: {
857
+ feePerDaGas: string | number | bigint;
858
+ feePerL2Gas: string | number | bigint;
859
+ } | undefined;
860
+ } | undefined;
861
+ estimatedGasPadding?: number | undefined;
862
+ estimateGas?: boolean | undefined;
863
+ } | undefined;
864
+ skipTxValidation?: boolean | undefined;
865
+ skipFeeEnforcement?: boolean | undefined;
866
+ includeMetadata?: boolean | undefined;
867
+ }>;
868
+ export declare const ProfileOptionsSchema: z.ZodObject<{
869
+ from: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
870
+ authWitnesses: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<AuthWitness, any, string>, "many">>;
871
+ capsules: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodType<Capsule, any, string>, "many">>;
872
+ fee: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
873
+ gasSettings: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
874
+ gasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
875
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
876
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ daGas: number;
879
+ l2Gas: number;
880
+ }, {
881
+ daGas: string | number | bigint;
882
+ l2Gas: string | number | bigint;
883
+ }>, Gas, {
884
+ daGas: string | number | bigint;
885
+ l2Gas: string | number | bigint;
886
+ }>>;
887
+ teardownGasLimits: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodObject<{
888
+ daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
889
+ l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
890
+ }, "strip", z.ZodTypeAny, {
891
+ daGas: number;
892
+ l2Gas: number;
893
+ }, {
894
+ daGas: string | number | bigint;
895
+ l2Gas: string | number | bigint;
896
+ }>, Gas, {
897
+ daGas: string | number | bigint;
898
+ l2Gas: string | number | bigint;
899
+ }>>;
900
+ maxFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
901
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
902
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
903
+ }, "strip", z.ZodTypeAny, {
904
+ feePerDaGas: bigint;
905
+ feePerL2Gas: bigint;
906
+ }, {
907
+ feePerDaGas: string | number | bigint;
908
+ feePerL2Gas: string | number | bigint;
909
+ }>>;
910
+ maxPriorityFeePerGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodObject<{
911
+ feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
912
+ feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
913
+ }, "strip", z.ZodTypeAny, {
914
+ feePerDaGas: bigint;
915
+ feePerL2Gas: bigint;
916
+ }, {
917
+ feePerDaGas: string | number | bigint;
918
+ feePerL2Gas: string | number | bigint;
919
+ }>>;
920
+ }, "strip", z.ZodTypeAny, {
921
+ gasLimits?: Gas | undefined;
922
+ teardownGasLimits?: Gas | undefined;
923
+ maxFeePerGas?: {
924
+ feePerDaGas: bigint;
925
+ feePerL2Gas: bigint;
926
+ } | undefined;
927
+ maxPriorityFeePerGas?: {
928
+ feePerDaGas: bigint;
929
+ feePerL2Gas: bigint;
930
+ } | undefined;
931
+ }, {
932
+ gasLimits?: {
933
+ daGas: string | number | bigint;
934
+ l2Gas: string | number | bigint;
935
+ } | undefined;
936
+ teardownGasLimits?: {
937
+ daGas: string | number | bigint;
938
+ l2Gas: string | number | bigint;
939
+ } | undefined;
940
+ maxFeePerGas?: {
941
+ feePerDaGas: string | number | bigint;
942
+ feePerL2Gas: string | number | bigint;
943
+ } | undefined;
944
+ maxPriorityFeePerGas?: {
945
+ feePerDaGas: string | number | bigint;
946
+ feePerL2Gas: string | number | bigint;
947
+ } | undefined;
948
+ }>>;
949
+ } & {
950
+ estimatedGasPadding: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodNumber>;
951
+ estimateGas: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
952
+ }, "strip", z.ZodTypeAny, {
953
+ gasSettings?: {
954
+ gasLimits?: Gas | undefined;
955
+ teardownGasLimits?: Gas | undefined;
956
+ maxFeePerGas?: {
957
+ feePerDaGas: bigint;
958
+ feePerL2Gas: bigint;
959
+ } | undefined;
960
+ maxPriorityFeePerGas?: {
961
+ feePerDaGas: bigint;
962
+ feePerL2Gas: bigint;
963
+ } | undefined;
964
+ } | undefined;
965
+ estimatedGasPadding?: number | undefined;
966
+ estimateGas?: boolean | undefined;
967
+ }, {
968
+ gasSettings?: {
969
+ gasLimits?: {
970
+ daGas: string | number | bigint;
971
+ l2Gas: string | number | bigint;
972
+ } | undefined;
973
+ teardownGasLimits?: {
974
+ daGas: string | number | bigint;
975
+ l2Gas: string | number | bigint;
976
+ } | undefined;
977
+ maxFeePerGas?: {
978
+ feePerDaGas: string | number | bigint;
979
+ feePerL2Gas: string | number | bigint;
980
+ } | undefined;
981
+ maxPriorityFeePerGas?: {
982
+ feePerDaGas: string | number | bigint;
983
+ feePerL2Gas: string | number | bigint;
984
+ } | undefined;
985
+ } | undefined;
986
+ estimatedGasPadding?: number | undefined;
987
+ estimateGas?: boolean | undefined;
988
+ }>>;
989
+ skipTxValidation: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
990
+ skipFeeEnforcement: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
991
+ includeMetadata: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
992
+ } & {
993
+ profileMode: z.ZodEnum<["gates", "execution-steps", "full"]>;
994
+ skipProofGeneration: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodBoolean>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ from: AztecAddress;
997
+ authWitnesses?: AuthWitness[] | undefined;
998
+ capsules?: Capsule[] | undefined;
999
+ fee?: {
1000
+ gasSettings?: {
1001
+ gasLimits?: Gas | undefined;
1002
+ teardownGasLimits?: Gas | undefined;
1003
+ maxFeePerGas?: {
1004
+ feePerDaGas: bigint;
1005
+ feePerL2Gas: bigint;
1006
+ } | undefined;
1007
+ maxPriorityFeePerGas?: {
1008
+ feePerDaGas: bigint;
1009
+ feePerL2Gas: bigint;
1010
+ } | undefined;
1011
+ } | undefined;
1012
+ estimatedGasPadding?: number | undefined;
1013
+ estimateGas?: boolean | undefined;
1014
+ } | undefined;
1015
+ skipTxValidation?: boolean | undefined;
1016
+ skipFeeEnforcement?: boolean | undefined;
1017
+ includeMetadata?: boolean | undefined;
1018
+ profileMode: "execution-steps" | "full" | "gates";
1019
+ skipProofGeneration?: boolean | undefined;
1020
+ }, {
1021
+ from?: any;
1022
+ authWitnesses?: string[] | undefined;
1023
+ capsules?: string[] | undefined;
1024
+ fee?: {
1025
+ gasSettings?: {
1026
+ gasLimits?: {
1027
+ daGas: string | number | bigint;
1028
+ l2Gas: string | number | bigint;
1029
+ } | undefined;
1030
+ teardownGasLimits?: {
1031
+ daGas: string | number | bigint;
1032
+ l2Gas: string | number | bigint;
1033
+ } | undefined;
1034
+ maxFeePerGas?: {
1035
+ feePerDaGas: string | number | bigint;
1036
+ feePerL2Gas: string | number | bigint;
1037
+ } | undefined;
1038
+ maxPriorityFeePerGas?: {
1039
+ feePerDaGas: string | number | bigint;
1040
+ feePerL2Gas: string | number | bigint;
1041
+ } | undefined;
1042
+ } | undefined;
1043
+ estimatedGasPadding?: number | undefined;
1044
+ estimateGas?: boolean | undefined;
1045
+ } | undefined;
1046
+ skipTxValidation?: boolean | undefined;
1047
+ skipFeeEnforcement?: boolean | undefined;
1048
+ includeMetadata?: boolean | undefined;
1049
+ profileMode: "execution-steps" | "full" | "gates";
1050
+ skipProofGeneration?: boolean | undefined;
1051
+ }>;
1052
+ export declare const MessageHashOrIntentSchema: z.ZodUnion<[z.ZodObject<{
1053
+ consumer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1054
+ innerHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ consumer: AztecAddress;
1057
+ innerHash: Fr;
1058
+ }, {
1059
+ consumer?: any;
1060
+ innerHash?: any;
1061
+ }>, z.ZodObject<{
1062
+ caller: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1063
+ call: z.ZodObject<{
1064
+ name: z.ZodString;
1065
+ to: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1066
+ selector: import("@aztec/stdlib/schemas").ZodFor<import("@aztec/stdlib/abi").FunctionSelector>;
1067
+ type: z.ZodNativeEnum<typeof FunctionType>;
1068
+ isStatic: z.ZodBoolean;
1069
+ hideMsgSender: z.ZodBoolean;
1070
+ args: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<Fr>, "many">;
1071
+ returnTypes: z.ZodArray<z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>, "many">;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ name: string;
1074
+ to: AztecAddress;
1075
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1076
+ type: FunctionType;
1077
+ isStatic: boolean;
1078
+ hideMsgSender: boolean;
1079
+ args: Fr[];
1080
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1081
+ }, {
1082
+ name: string;
1083
+ to?: any;
1084
+ selector?: any;
1085
+ type: FunctionType;
1086
+ isStatic: boolean;
1087
+ hideMsgSender: boolean;
1088
+ args: any[];
1089
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1090
+ }>;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ caller: AztecAddress;
1093
+ call: {
1094
+ name: string;
1095
+ to: AztecAddress;
1096
+ selector: import("@aztec/stdlib/abi").FunctionSelector;
1097
+ type: FunctionType;
1098
+ isStatic: boolean;
1099
+ hideMsgSender: boolean;
1100
+ args: Fr[];
1101
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1102
+ };
1103
+ }, {
1104
+ caller?: any;
1105
+ call: {
1106
+ name: string;
1107
+ to?: any;
1108
+ selector?: any;
1109
+ type: FunctionType;
1110
+ isStatic: boolean;
1111
+ hideMsgSender: boolean;
1112
+ args: any[];
1113
+ returnTypes: import("@aztec/stdlib/abi").AbiType[];
1114
+ };
1115
+ }>]>;
1116
+ export declare const EventMetadataDefinitionSchema: z.ZodObject<{
1117
+ eventSelector: z.ZodType<import("@aztec/stdlib/abi").EventSelector, any, string>;
1118
+ abiType: z.ZodType<import("@aztec/stdlib/abi").AbiType, z.ZodTypeDef, import("@aztec/stdlib/abi").AbiType>;
1119
+ fieldNames: z.ZodArray<z.ZodString, "many">;
1120
+ }, "strip", z.ZodTypeAny, {
1121
+ eventSelector: import("@aztec/stdlib/abi").EventSelector;
1122
+ abiType: import("@aztec/stdlib/abi").AbiType;
1123
+ fieldNames: string[];
1124
+ }, {
1125
+ eventSelector: string;
1126
+ abiType: import("@aztec/stdlib/abi").AbiType;
1127
+ fieldNames: string[];
1128
+ }>;
1129
+ export declare const PrivateEventSchema: z.ZodType<any>;
1130
+ export declare const PrivateEventFilterSchema: z.ZodObject<{
1131
+ contractAddress: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1132
+ scopes: z.ZodArray<import("@aztec/stdlib/schemas").ZodFor<AztecAddress>, "many">;
1133
+ 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>>;
1134
+ fromBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1135
+ toBlock: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, BlockNumber, string | number | bigint>>;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ contractAddress: AztecAddress;
1138
+ scopes: AztecAddress[];
1139
+ txHash?: TxHash | undefined;
1140
+ fromBlock?: BlockNumber | undefined;
1141
+ toBlock?: BlockNumber | undefined;
1142
+ }, {
1143
+ contractAddress?: any;
1144
+ scopes: any[];
1145
+ txHash?: string | undefined;
1146
+ fromBlock?: string | number | bigint | undefined;
1147
+ toBlock?: string | number | bigint | undefined;
1148
+ }>;
1149
+ export declare const ContractMetadataSchema: z.ZodObject<{
1150
+ instance: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodIntersection<z.ZodObject<{
1151
+ version: z.ZodLiteral<1>;
1152
+ salt: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1153
+ deployer: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1154
+ currentContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1155
+ originalContractClassId: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1156
+ initializationHash: import("@aztec/stdlib/schemas").ZodFor<Fr>;
1157
+ publicKeys: z.ZodEffects<z.ZodObject<{
1158
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1159
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1160
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1161
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
1162
+ }, "strip", z.ZodTypeAny, {
1163
+ masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
1164
+ masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1165
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
1166
+ masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
1167
+ }, {
1168
+ masterNullifierPublicKey: string;
1169
+ masterIncomingViewingPublicKey: string;
1170
+ masterOutgoingViewingPublicKey: string;
1171
+ masterTaggingPublicKey: string;
1172
+ }>, import("@aztec/stdlib/keys").PublicKeys, {
1173
+ masterNullifierPublicKey: string;
1174
+ masterIncomingViewingPublicKey: string;
1175
+ masterOutgoingViewingPublicKey: string;
1176
+ masterTaggingPublicKey: string;
1177
+ }>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ version: 1;
1180
+ salt: Fr;
1181
+ deployer: AztecAddress;
1182
+ currentContractClassId: Fr;
1183
+ originalContractClassId: Fr;
1184
+ initializationHash: Fr;
1185
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1186
+ }, {
1187
+ version: 1;
1188
+ salt?: any;
1189
+ deployer?: any;
1190
+ currentContractClassId?: any;
1191
+ originalContractClassId?: any;
1192
+ initializationHash?: any;
1193
+ publicKeys: {
1194
+ masterNullifierPublicKey: string;
1195
+ masterIncomingViewingPublicKey: string;
1196
+ masterOutgoingViewingPublicKey: string;
1197
+ masterTaggingPublicKey: string;
1198
+ };
1199
+ }>, z.ZodObject<{
1200
+ address: import("@aztec/stdlib/schemas").ZodFor<AztecAddress>;
1201
+ }, "strip", z.ZodTypeAny, {
1202
+ address: AztecAddress;
1203
+ }, {
1204
+ address?: any;
1205
+ }>>>;
1206
+ isContractInitialized: z.ZodBoolean;
1207
+ isContractPublished: z.ZodBoolean;
1208
+ isContractUpdated: z.ZodBoolean;
1209
+ updatedContractClassId: import("@aztec/foundation/schemas").ZodNullableOptional<import("@aztec/stdlib/schemas").ZodFor<Fr>>;
1210
+ }, "strip", z.ZodTypeAny, {
1211
+ instance?: ({
1212
+ version: 1;
1213
+ salt: Fr;
1214
+ deployer: AztecAddress;
1215
+ currentContractClassId: Fr;
1216
+ originalContractClassId: Fr;
1217
+ initializationHash: Fr;
1218
+ publicKeys: import("@aztec/stdlib/keys").PublicKeys;
1219
+ } & {
1220
+ address: AztecAddress;
1221
+ }) | undefined;
1222
+ isContractInitialized: boolean;
1223
+ isContractPublished: boolean;
1224
+ isContractUpdated: boolean;
1225
+ updatedContractClassId?: Fr | undefined;
1226
+ }, {
1227
+ instance?: ({
1228
+ version: 1;
1229
+ salt?: any;
1230
+ deployer?: any;
1231
+ currentContractClassId?: any;
1232
+ originalContractClassId?: any;
1233
+ initializationHash?: any;
1234
+ publicKeys: {
1235
+ masterNullifierPublicKey: string;
1236
+ masterIncomingViewingPublicKey: string;
1237
+ masterOutgoingViewingPublicKey: string;
1238
+ masterTaggingPublicKey: string;
1239
+ };
1240
+ } & {
1241
+ address?: any;
1242
+ }) | undefined;
1243
+ isContractInitialized: boolean;
1244
+ isContractPublished: boolean;
1245
+ isContractUpdated: boolean;
1246
+ updatedContractClassId?: any;
1247
+ }>;
1248
+ export declare const ContractClassMetadataSchema: z.ZodObject<{
1249
+ isArtifactRegistered: z.ZodBoolean;
1250
+ isContractClassPubliclyRegistered: z.ZodBoolean;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ isArtifactRegistered: boolean;
1253
+ isContractClassPubliclyRegistered: boolean;
1254
+ }, {
1255
+ isArtifactRegistered: boolean;
1256
+ isContractClassPubliclyRegistered: boolean;
1257
+ }>;
1258
+ declare const BatchedMethodSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1259
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1260
+ args: z.ZodTuple<any, any>;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1263
+ args: any[];
1264
+ }, {
1265
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1266
+ args: any[];
1267
+ }>, ...z.ZodObject<{
1268
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1269
+ args: z.ZodTuple<any, any>;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1272
+ args: any[];
1273
+ }, {
1274
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1275
+ args: any[];
1276
+ }>[]]>, BatchedResultSchema: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
1277
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1278
+ result: z.ZodTypeAny;
1279
+ }, "strip", z.ZodTypeAny, {
1280
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1281
+ result?: any;
1282
+ }, {
1283
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1284
+ result?: any;
1285
+ }>, ...z.ZodObject<{
1286
+ name: z.ZodLiteral<"createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility">;
1287
+ result: z.ZodTypeAny;
1288
+ }, "strip", z.ZodTypeAny, {
1289
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1290
+ result?: any;
1291
+ }, {
1292
+ name: "createAuthWit" | "getAccounts" | "getAddressBook" | "getChainInfo" | "getContractClassMetadata" | "getContractMetadata" | "getPrivateEvents" | "profileTx" | "registerContract" | "registerSender" | "sendTx" | "simulateTx" | "simulateUtility";
1293
+ result?: any;
1294
+ }>[]]>;
1295
+ export { BatchedMethodSchema, BatchedResultSchema };
1296
+ export declare const WalletSchema: ApiSchemaFor<Wallet>;
1297
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvd2FsbGV0L3dhbGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUMvRCxPQUFPLEVBQUUsV0FBVyxFQUE2QixNQUFNLGlDQUFpQyxDQUFDO0FBQ3pGLE9BQU8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