@aztec/stdlib 0.0.1-commit.c7c42ec → 0.0.1-commit.c949de6bc

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 (769) hide show
  1. package/dest/abi/contract_artifact.d.ts +2 -2
  2. package/dest/abi/contract_artifact.d.ts.map +1 -1
  3. package/dest/abi/contract_artifact.js +1 -1
  4. package/dest/abi/decoder.d.ts +1 -1
  5. package/dest/abi/decoder.d.ts.map +1 -1
  6. package/dest/abi/decoder.js +1 -4
  7. package/dest/abi/encoder.d.ts +1 -1
  8. package/dest/abi/encoder.d.ts.map +1 -1
  9. package/dest/abi/encoder.js +9 -5
  10. package/dest/abi/function_call.d.ts +47 -9
  11. package/dest/abi/function_call.d.ts.map +1 -1
  12. package/dest/abi/function_call.js +20 -3
  13. package/dest/abi/selector.js +3 -1
  14. package/dest/abi/utils.d.ts +7 -1
  15. package/dest/abi/utils.d.ts.map +1 -1
  16. package/dest/abi/utils.js +7 -0
  17. package/dest/auth_witness/auth_witness.d.ts +2 -1
  18. package/dest/auth_witness/auth_witness.d.ts.map +1 -1
  19. package/dest/auth_witness/auth_witness.js +3 -3
  20. package/dest/avm/avm.d.ts +362 -362
  21. package/dest/avm/avm_accumulated_data.d.ts +30 -3
  22. package/dest/avm/avm_accumulated_data.d.ts.map +1 -1
  23. package/dest/avm/avm_accumulated_data.js +5 -2
  24. package/dest/avm/avm_circuit_public_inputs.d.ts +9 -9
  25. package/dest/avm/avm_circuit_public_inputs.js +3 -1
  26. package/dest/avm/avm_proving_request.d.ts +465 -465
  27. package/dest/avm/contract_storage_read.d.ts +13 -1
  28. package/dest/avm/contract_storage_read.d.ts.map +1 -1
  29. package/dest/avm/contract_storage_update_request.d.ts +13 -1
  30. package/dest/avm/contract_storage_update_request.d.ts.map +1 -1
  31. package/dest/avm/public_call_stack_item_compressed.d.ts +3 -1
  32. package/dest/avm/public_call_stack_item_compressed.d.ts.map +1 -1
  33. package/dest/avm/public_data_read.d.ts +10 -1
  34. package/dest/avm/public_data_read.d.ts.map +1 -1
  35. package/dest/avm/public_data_update_request.d.ts +10 -1
  36. package/dest/avm/public_data_update_request.d.ts.map +1 -1
  37. package/dest/avm/public_data_update_request.js +3 -1
  38. package/dest/avm/public_data_write.d.ts +7 -1
  39. package/dest/avm/public_data_write.d.ts.map +1 -1
  40. package/dest/avm/public_inner_call_request.d.ts +4 -1
  41. package/dest/avm/public_inner_call_request.d.ts.map +1 -1
  42. package/dest/avm/public_inner_call_request.js +3 -1
  43. package/dest/avm/revert_code.d.ts +19 -4
  44. package/dest/avm/revert_code.d.ts.map +1 -1
  45. package/dest/avm/revert_code.js +18 -6
  46. package/dest/aztec-address/index.js +4 -2
  47. package/dest/block/attestation_info.d.ts +5 -5
  48. package/dest/block/attestation_info.d.ts.map +1 -1
  49. package/dest/block/attestation_info.js +4 -4
  50. package/dest/block/block_data.d.ts +52 -0
  51. package/dest/block/block_data.d.ts.map +1 -0
  52. package/dest/block/block_data.js +12 -0
  53. package/dest/block/block_hash.d.ts +18 -14
  54. package/dest/block/block_hash.d.ts.map +1 -1
  55. package/dest/block/block_hash.js +22 -20
  56. package/dest/block/block_parameter.d.ts +4 -3
  57. package/dest/block/block_parameter.d.ts.map +1 -1
  58. package/dest/block/block_parameter.js +2 -0
  59. package/dest/block/body.d.ts +1 -1
  60. package/dest/block/body.d.ts.map +1 -1
  61. package/dest/block/body.js +5 -2
  62. package/dest/block/checkpointed_l2_block.d.ts +20 -137
  63. package/dest/block/checkpointed_l2_block.d.ts.map +1 -1
  64. package/dest/block/checkpointed_l2_block.js +7 -45
  65. package/dest/block/in_block.d.ts +9 -9
  66. package/dest/block/in_block.d.ts.map +1 -1
  67. package/dest/block/in_block.js +5 -5
  68. package/dest/block/index.d.ts +2 -3
  69. package/dest/block/index.d.ts.map +1 -1
  70. package/dest/block/index.js +1 -2
  71. package/dest/block/l2_block.d.ts +57 -57
  72. package/dest/block/l2_block.d.ts.map +1 -1
  73. package/dest/block/l2_block.js +64 -108
  74. package/dest/block/l2_block_source.d.ts +317 -68
  75. package/dest/block/l2_block_source.d.ts.map +1 -1
  76. package/dest/block/l2_block_source.js +25 -6
  77. package/dest/block/l2_block_stream/index.d.ts +2 -1
  78. package/dest/block/l2_block_stream/index.d.ts.map +1 -1
  79. package/dest/block/l2_block_stream/index.js +1 -0
  80. package/dest/block/l2_block_stream/interfaces.d.ts +15 -5
  81. package/dest/block/l2_block_stream/interfaces.d.ts.map +1 -1
  82. package/dest/block/l2_block_stream/l2_block_stream.d.ts +8 -3
  83. package/dest/block/l2_block_stream/l2_block_stream.d.ts.map +1 -1
  84. package/dest/block/l2_block_stream/l2_block_stream.js +116 -31
  85. package/dest/block/l2_block_stream/l2_tips_memory_store.d.ts +24 -16
  86. package/dest/block/l2_block_stream/l2_tips_memory_store.d.ts.map +1 -1
  87. package/dest/block/l2_block_stream/l2_tips_memory_store.js +55 -61
  88. package/dest/block/l2_block_stream/l2_tips_store_base.d.ts +49 -0
  89. package/dest/block/l2_block_stream/l2_tips_store_base.d.ts.map +1 -0
  90. package/dest/block/l2_block_stream/l2_tips_store_base.js +179 -0
  91. package/dest/block/test/l2_tips_store_test_suite.d.ts +1 -1
  92. package/dest/block/test/l2_tips_store_test_suite.d.ts.map +1 -1
  93. package/dest/block/test/l2_tips_store_test_suite.js +478 -38
  94. package/dest/block/validate_block_result.d.ts +24 -24
  95. package/dest/block/validate_block_result.d.ts.map +1 -1
  96. package/dest/block/validate_block_result.js +18 -17
  97. package/dest/checkpoint/checkpoint.d.ts +43 -19
  98. package/dest/checkpoint/checkpoint.d.ts.map +1 -1
  99. package/dest/checkpoint/checkpoint.js +38 -14
  100. package/dest/checkpoint/checkpoint_data.d.ts +120 -0
  101. package/dest/checkpoint/checkpoint_data.d.ts.map +1 -0
  102. package/dest/checkpoint/checkpoint_data.js +26 -0
  103. package/dest/checkpoint/checkpoint_info.d.ts +32 -3
  104. package/dest/checkpoint/checkpoint_info.d.ts.map +1 -1
  105. package/dest/checkpoint/checkpoint_info.js +34 -1
  106. package/dest/checkpoint/index.d.ts +3 -1
  107. package/dest/checkpoint/index.d.ts.map +1 -1
  108. package/dest/checkpoint/index.js +2 -0
  109. package/dest/checkpoint/published_checkpoint.d.ts +33 -16
  110. package/dest/checkpoint/published_checkpoint.d.ts.map +1 -1
  111. package/dest/checkpoint/published_checkpoint.js +5 -5
  112. package/dest/config/index.d.ts +2 -1
  113. package/dest/config/index.d.ts.map +1 -1
  114. package/dest/config/index.js +1 -0
  115. package/dest/config/node-rpc-config.js +1 -1
  116. package/dest/config/sequencer-config.d.ts +10 -0
  117. package/dest/config/sequencer-config.d.ts.map +1 -0
  118. package/dest/config/sequencer-config.js +18 -0
  119. package/dest/contract/complete_address.d.ts +4 -1
  120. package/dest/contract/complete_address.d.ts.map +1 -1
  121. package/dest/contract/contract_address.js +4 -4
  122. package/dest/contract/contract_class.d.ts +2 -3
  123. package/dest/contract/contract_class.d.ts.map +1 -1
  124. package/dest/contract/contract_class_id.d.ts +2 -2
  125. package/dest/contract/contract_class_id.d.ts.map +1 -1
  126. package/dest/contract/contract_class_id.js +6 -5
  127. package/dest/contract/contract_deployment_data.d.ts +5 -5
  128. package/dest/contract/index.d.ts +1 -3
  129. package/dest/contract/index.d.ts.map +1 -1
  130. package/dest/contract/index.js +0 -2
  131. package/dest/contract/interfaces/contract_instance.d.ts +16 -16
  132. package/dest/contract/interfaces/node-info.d.ts +3 -1
  133. package/dest/contract/interfaces/node-info.d.ts.map +1 -1
  134. package/dest/contract/interfaces/node-info.js +2 -1
  135. package/dest/contract/private_function.d.ts +1 -1
  136. package/dest/contract/private_function.d.ts.map +1 -1
  137. package/dest/contract/private_function.js +3 -4
  138. package/dest/contract/private_function_membership_proof.d.ts +1 -1
  139. package/dest/contract/private_function_membership_proof.js +1 -1
  140. package/dest/database-version/database_version.d.ts +58 -0
  141. package/dest/database-version/database_version.d.ts.map +1 -0
  142. package/dest/database-version/database_version.js +69 -0
  143. package/dest/database-version/version_manager.d.ts +3 -49
  144. package/dest/database-version/version_manager.d.ts.map +1 -1
  145. package/dest/database-version/version_manager.js +1 -64
  146. package/dest/delayed_public_mutable/delayed_public_mutable_values.d.ts +2 -2
  147. package/dest/delayed_public_mutable/delayed_public_mutable_values.d.ts.map +1 -1
  148. package/dest/delayed_public_mutable/delayed_public_mutable_values.js +7 -10
  149. package/dest/deserialization/index.d.ts +11 -0
  150. package/dest/deserialization/index.d.ts.map +1 -0
  151. package/dest/deserialization/index.js +10 -0
  152. package/dest/epoch-helpers/index.d.ts +7 -1
  153. package/dest/epoch-helpers/index.d.ts.map +1 -1
  154. package/dest/epoch-helpers/index.js +9 -3
  155. package/dest/errors/proving_error.d.ts +2 -2
  156. package/dest/errors/proving_error.d.ts.map +1 -1
  157. package/dest/file-store/local.d.ts +3 -3
  158. package/dest/file-store/local.d.ts.map +1 -1
  159. package/dest/file-store/local.js +13 -4
  160. package/dest/file-store/s3.d.ts +1 -1
  161. package/dest/file-store/s3.d.ts.map +1 -1
  162. package/dest/file-store/s3.js +11 -3
  163. package/dest/gas/gas.js +3 -1
  164. package/dest/gas/gas_fees.js +3 -1
  165. package/dest/ha-signing/config.d.ts +101 -0
  166. package/dest/ha-signing/config.d.ts.map +1 -0
  167. package/dest/ha-signing/config.js +92 -0
  168. package/dest/ha-signing/index.d.ts +3 -0
  169. package/dest/ha-signing/index.d.ts.map +1 -0
  170. package/dest/ha-signing/index.js +2 -0
  171. package/dest/ha-signing/types.d.ts +85 -0
  172. package/dest/ha-signing/types.d.ts.map +1 -0
  173. package/dest/ha-signing/types.js +32 -0
  174. package/dest/hash/hash.d.ts +2 -1
  175. package/dest/hash/hash.d.ts.map +1 -1
  176. package/dest/hash/hash.js +16 -10
  177. package/dest/hash/map_slot.d.ts +1 -1
  178. package/dest/hash/map_slot.d.ts.map +1 -1
  179. package/dest/hash/map_slot.js +4 -3
  180. package/dest/interfaces/api_limit.d.ts +3 -1
  181. package/dest/interfaces/api_limit.d.ts.map +1 -1
  182. package/dest/interfaces/api_limit.js +2 -0
  183. package/dest/interfaces/archiver.d.ts +6 -6
  184. package/dest/interfaces/archiver.d.ts.map +1 -1
  185. package/dest/interfaces/archiver.js +27 -17
  186. package/dest/interfaces/aztec-node-admin.d.ts +111 -32
  187. package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
  188. package/dest/interfaces/aztec-node-admin.js +14 -6
  189. package/dest/interfaces/aztec-node.d.ts +75 -77
  190. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  191. package/dest/interfaces/aztec-node.js +15 -16
  192. package/dest/interfaces/block-builder.d.ts +22 -14
  193. package/dest/interfaces/block-builder.d.ts.map +1 -1
  194. package/dest/interfaces/block-builder.js +7 -0
  195. package/dest/interfaces/configs.d.ts +28 -8
  196. package/dest/interfaces/configs.d.ts.map +1 -1
  197. package/dest/interfaces/configs.js +5 -1
  198. package/dest/interfaces/get_logs_response.d.ts +16 -9
  199. package/dest/interfaces/get_logs_response.d.ts.map +1 -1
  200. package/dest/interfaces/l2_logs_source.d.ts +14 -5
  201. package/dest/interfaces/l2_logs_source.d.ts.map +1 -1
  202. package/dest/interfaces/merkle_tree_operations.d.ts +2 -2
  203. package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
  204. package/dest/interfaces/p2p.d.ts +9 -16
  205. package/dest/interfaces/p2p.d.ts.map +1 -1
  206. package/dest/interfaces/p2p.js +3 -4
  207. package/dest/interfaces/prover-broker.d.ts +16 -1
  208. package/dest/interfaces/prover-broker.d.ts.map +1 -1
  209. package/dest/interfaces/prover-broker.js +4 -1
  210. package/dest/interfaces/prover-client.d.ts +15 -1
  211. package/dest/interfaces/prover-client.d.ts.map +1 -1
  212. package/dest/interfaces/prover-client.js +12 -1
  213. package/dest/interfaces/proving-job.d.ts +52 -52
  214. package/dest/interfaces/proving-job.d.ts.map +1 -1
  215. package/dest/interfaces/proving-job.js +1 -7
  216. package/dest/interfaces/server_circuit_prover.d.ts +4 -3
  217. package/dest/interfaces/server_circuit_prover.d.ts.map +1 -1
  218. package/dest/interfaces/slasher.d.ts +9 -1
  219. package/dest/interfaces/slasher.d.ts.map +1 -1
  220. package/dest/interfaces/slasher.js +2 -0
  221. package/dest/interfaces/tx_provider.d.ts +3 -3
  222. package/dest/interfaces/tx_provider.d.ts.map +1 -1
  223. package/dest/interfaces/validator.d.ts +155 -19
  224. package/dest/interfaces/validator.d.ts.map +1 -1
  225. package/dest/interfaces/validator.js +8 -3
  226. package/dest/kernel/claimed_length_array.js +3 -1
  227. package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts +7 -6
  228. package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts.map +1 -1
  229. package/dest/kernel/hints/build_note_hash_read_request_hints.js +31 -19
  230. package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts +4 -4
  231. package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts.map +1 -1
  232. package/dest/kernel/hints/build_nullifier_read_request_hints.js +28 -17
  233. package/dest/kernel/hints/build_transient_data_hints.d.ts +5 -2
  234. package/dest/kernel/hints/build_transient_data_hints.d.ts.map +1 -1
  235. package/dest/kernel/hints/build_transient_data_hints.js +9 -3
  236. package/dest/kernel/hints/index.d.ts +2 -2
  237. package/dest/kernel/hints/index.js +2 -2
  238. package/dest/kernel/hints/key_validation_hint.d.ts +2 -1
  239. package/dest/kernel/hints/key_validation_hint.d.ts.map +1 -1
  240. package/dest/kernel/hints/key_validation_request.d.ts +2 -1
  241. package/dest/kernel/hints/key_validation_request.d.ts.map +1 -1
  242. package/dest/kernel/hints/key_validation_request_and_separator.d.ts +24 -0
  243. package/dest/kernel/hints/key_validation_request_and_separator.d.ts.map +1 -0
  244. package/dest/kernel/hints/{key_validation_request_and_generator.js → key_validation_request_and_separator.js} +12 -15
  245. package/dest/kernel/hints/private_kernel_reset_hints.d.ts +13 -1
  246. package/dest/kernel/hints/private_kernel_reset_hints.d.ts.map +1 -1
  247. package/dest/kernel/hints/read_request.d.ts +7 -1
  248. package/dest/kernel/hints/read_request.d.ts.map +1 -1
  249. package/dest/kernel/hints/read_request_hints.d.ts +7 -1
  250. package/dest/kernel/hints/read_request_hints.d.ts.map +1 -1
  251. package/dest/kernel/hints/{scoped_key_validation_request_and_generator.d.ts → scoped_key_validation_request_and_separator.d.ts} +8 -8
  252. package/dest/kernel/hints/{scoped_key_validation_request_and_generator.d.ts.map → scoped_key_validation_request_and_separator.d.ts.map} +1 -1
  253. package/dest/kernel/hints/{scoped_key_validation_request_and_generator.js → scoped_key_validation_request_and_separator.js} +6 -6
  254. package/dest/kernel/hints/transient_data_squashing_hint.js +3 -1
  255. package/dest/kernel/log_hash.js +3 -1
  256. package/dest/kernel/private_accumulated_data.d.ts +23 -1
  257. package/dest/kernel/private_accumulated_data.d.ts.map +1 -1
  258. package/dest/kernel/private_call_data.d.ts +25 -1
  259. package/dest/kernel/private_call_data.d.ts.map +1 -1
  260. package/dest/kernel/private_call_request.d.ts +16 -1
  261. package/dest/kernel/private_call_request.d.ts.map +1 -1
  262. package/dest/kernel/private_circuit_public_inputs.d.ts +81 -8
  263. package/dest/kernel/private_circuit_public_inputs.d.ts.map +1 -1
  264. package/dest/kernel/private_circuit_public_inputs.js +16 -16
  265. package/dest/kernel/private_kernel_circuit_public_inputs.d.ts +33 -3
  266. package/dest/kernel/private_kernel_circuit_public_inputs.d.ts.map +1 -1
  267. package/dest/kernel/private_kernel_circuit_public_inputs.js +4 -4
  268. package/dest/kernel/private_kernel_data.d.ts +7 -1
  269. package/dest/kernel/private_kernel_data.d.ts.map +1 -1
  270. package/dest/kernel/private_kernel_init_circuit_private_inputs.d.ts +22 -1
  271. package/dest/kernel/private_kernel_init_circuit_private_inputs.d.ts.map +1 -1
  272. package/dest/kernel/private_kernel_inner_circuit_private_inputs.d.ts +7 -1
  273. package/dest/kernel/private_kernel_inner_circuit_private_inputs.d.ts.map +1 -1
  274. package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts +4 -1
  275. package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts.map +1 -1
  276. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +12 -3
  277. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
  278. package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +4 -4
  279. package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts +25 -3
  280. package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts.map +1 -1
  281. package/dest/kernel/private_kernel_tail_circuit_public_inputs.js +7 -7
  282. package/dest/kernel/private_log_data.js +5 -2
  283. package/dest/kernel/private_to_avm_accumulated_data.d.ts +2 -2
  284. package/dest/kernel/private_to_avm_accumulated_data.js +5 -2
  285. package/dest/kernel/private_to_public_accumulated_data.js +3 -1
  286. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts +3 -3
  287. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts.map +1 -1
  288. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.js +7 -7
  289. package/dest/kernel/private_to_rollup_accumulated_data.d.ts +17 -1
  290. package/dest/kernel/private_to_rollup_accumulated_data.d.ts.map +1 -1
  291. package/dest/kernel/private_to_rollup_accumulated_data.js +3 -1
  292. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts +18 -3
  293. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts.map +1 -1
  294. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.js +7 -7
  295. package/dest/kernel/private_validation_requests.d.ts +13 -4
  296. package/dest/kernel/private_validation_requests.d.ts.map +1 -1
  297. package/dest/kernel/private_validation_requests.js +12 -10
  298. package/dest/kernel/public_call_request.d.ts +22 -1
  299. package/dest/kernel/public_call_request.d.ts.map +1 -1
  300. package/dest/kernel/public_call_request.js +5 -2
  301. package/dest/kernel/utils/optional_number.d.ts +7 -1
  302. package/dest/kernel/utils/optional_number.d.ts.map +1 -1
  303. package/dest/keys/derivation.d.ts +3 -3
  304. package/dest/keys/derivation.js +15 -15
  305. package/dest/keys/key_types.d.ts +3 -3
  306. package/dest/keys/key_types.d.ts.map +1 -1
  307. package/dest/keys/public_keys.d.ts +5 -1
  308. package/dest/keys/public_keys.d.ts.map +1 -1
  309. package/dest/keys/public_keys.js +2 -2
  310. package/dest/keys/utils.d.ts +1 -1
  311. package/dest/keys/utils.d.ts.map +1 -1
  312. package/dest/keys/utils.js +8 -4
  313. package/dest/l1-contracts/slash_factory.d.ts +1 -1
  314. package/dest/l1-contracts/slash_factory.d.ts.map +1 -1
  315. package/dest/l1-contracts/slash_factory.js +1 -0
  316. package/dest/logs/contract_class_log.js +3 -1
  317. package/dest/logs/debug_log_store.d.ts +30 -0
  318. package/dest/logs/debug_log_store.d.ts.map +1 -0
  319. package/dest/logs/debug_log_store.js +30 -0
  320. package/dest/logs/extended_contract_class_log.d.ts +3 -1
  321. package/dest/logs/extended_contract_class_log.d.ts.map +1 -1
  322. package/dest/logs/extended_directional_app_tagging_secret.d.ts +47 -0
  323. package/dest/logs/extended_directional_app_tagging_secret.d.ts.map +1 -0
  324. package/dest/logs/{directional_app_tagging_secret.js → extended_directional_app_tagging_secret.js} +23 -15
  325. package/dest/logs/extended_public_log.d.ts +17 -9
  326. package/dest/logs/extended_public_log.d.ts.map +1 -1
  327. package/dest/logs/index.d.ts +3 -2
  328. package/dest/logs/index.d.ts.map +1 -1
  329. package/dest/logs/index.js +2 -1
  330. package/dest/logs/log_id.d.ts +21 -14
  331. package/dest/logs/log_id.d.ts.map +1 -1
  332. package/dest/logs/log_id.js +20 -17
  333. package/dest/logs/pre_tag.d.ts +16 -11
  334. package/dest/logs/pre_tag.d.ts.map +1 -1
  335. package/dest/logs/pre_tag.js +2 -2
  336. package/dest/logs/private_log.d.ts +2 -2
  337. package/dest/logs/private_log.d.ts.map +1 -1
  338. package/dest/logs/private_log.js +3 -1
  339. package/dest/logs/public_log.js +3 -1
  340. package/dest/logs/siloed_tag.d.ts +5 -3
  341. package/dest/logs/siloed_tag.d.ts.map +1 -1
  342. package/dest/logs/siloed_tag.js +8 -6
  343. package/dest/logs/tag.js +1 -1
  344. package/dest/messaging/in_hash.d.ts +4 -2
  345. package/dest/messaging/in_hash.d.ts.map +1 -1
  346. package/dest/messaging/in_hash.js +3 -1
  347. package/dest/messaging/inbox_leaf.d.ts +3 -1
  348. package/dest/messaging/inbox_leaf.d.ts.map +1 -1
  349. package/dest/messaging/l1_actor.d.ts +7 -1
  350. package/dest/messaging/l1_actor.d.ts.map +1 -1
  351. package/dest/messaging/l1_to_l2_message.d.ts +6 -1
  352. package/dest/messaging/l1_to_l2_message.d.ts.map +1 -1
  353. package/dest/messaging/l2_actor.d.ts +7 -1
  354. package/dest/messaging/l2_actor.d.ts.map +1 -1
  355. package/dest/messaging/l2_to_l1_membership.d.ts +88 -6
  356. package/dest/messaging/l2_to_l1_membership.d.ts.map +1 -1
  357. package/dest/messaging/l2_to_l1_membership.js +160 -42
  358. package/dest/messaging/out_hash.d.ts +41 -3
  359. package/dest/messaging/out_hash.d.ts.map +1 -1
  360. package/dest/messaging/out_hash.js +54 -19
  361. package/dest/note/index.d.ts +1 -2
  362. package/dest/note/index.d.ts.map +1 -1
  363. package/dest/note/index.js +0 -1
  364. package/dest/note/note_dao.d.ts +36 -5
  365. package/dest/note/note_dao.d.ts.map +1 -1
  366. package/dest/note/note_dao.js +15 -12
  367. package/dest/p2p/attestation_utils.d.ts +13 -3
  368. package/dest/p2p/attestation_utils.d.ts.map +1 -1
  369. package/dest/p2p/attestation_utils.js +46 -1
  370. package/dest/p2p/block_proposal.d.ts +102 -23
  371. package/dest/p2p/block_proposal.d.ts.map +1 -1
  372. package/dest/p2p/block_proposal.js +138 -39
  373. package/dest/p2p/checkpoint_attestation.d.ts +82 -0
  374. package/dest/p2p/checkpoint_attestation.d.ts.map +1 -0
  375. package/dest/p2p/{block_attestation.js → checkpoint_attestation.js} +22 -19
  376. package/dest/p2p/checkpoint_proposal.d.ts +179 -0
  377. package/dest/p2p/checkpoint_proposal.d.ts.map +1 -0
  378. package/dest/p2p/checkpoint_proposal.js +243 -0
  379. package/dest/p2p/client_type.d.ts +2 -5
  380. package/dest/p2p/client_type.d.ts.map +1 -1
  381. package/dest/p2p/client_type.js +0 -7
  382. package/dest/p2p/consensus_payload.d.ts +20 -11
  383. package/dest/p2p/consensus_payload.d.ts.map +1 -1
  384. package/dest/p2p/consensus_payload.js +24 -19
  385. package/dest/p2p/constants.d.ts +5 -0
  386. package/dest/p2p/constants.d.ts.map +1 -0
  387. package/dest/p2p/constants.js +3 -0
  388. package/dest/p2p/gossipable.d.ts +4 -3
  389. package/dest/p2p/gossipable.d.ts.map +1 -1
  390. package/dest/p2p/gossipable.js +16 -5
  391. package/dest/p2p/index.d.ts +5 -3
  392. package/dest/p2p/index.d.ts.map +1 -1
  393. package/dest/p2p/index.js +4 -2
  394. package/dest/p2p/message_validator.d.ts +18 -3
  395. package/dest/p2p/message_validator.d.ts.map +1 -1
  396. package/dest/p2p/message_validator.js +2 -1
  397. package/dest/p2p/signature_utils.d.ts +5 -3
  398. package/dest/p2p/signature_utils.d.ts.map +1 -1
  399. package/dest/p2p/signature_utils.js +3 -1
  400. package/dest/p2p/signed_txs.d.ts +42 -0
  401. package/dest/p2p/signed_txs.d.ts.map +1 -0
  402. package/dest/p2p/signed_txs.js +75 -0
  403. package/dest/p2p/topic_type.d.ts +5 -5
  404. package/dest/p2p/topic_type.d.ts.map +1 -1
  405. package/dest/p2p/topic_type.js +9 -19
  406. package/dest/parity/parity_base_private_inputs.d.ts +3 -1
  407. package/dest/parity/parity_base_private_inputs.d.ts.map +1 -1
  408. package/dest/parity/parity_public_inputs.d.ts +4 -1
  409. package/dest/parity/parity_public_inputs.d.ts.map +1 -1
  410. package/dest/parity/parity_root_private_inputs.d.ts +2 -1
  411. package/dest/parity/parity_root_private_inputs.d.ts.map +1 -1
  412. package/dest/proofs/chonk_proof.d.ts +1 -1
  413. package/dest/proofs/chonk_proof.d.ts.map +1 -1
  414. package/dest/proofs/chonk_proof.js +9 -4
  415. package/dest/proofs/proof.d.ts +4 -1
  416. package/dest/proofs/proof.d.ts.map +1 -1
  417. package/dest/proofs/recursive_proof.d.ts +10 -1
  418. package/dest/proofs/recursive_proof.d.ts.map +1 -1
  419. package/dest/rollup/base_rollup_hints.d.ts +34 -1
  420. package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
  421. package/dest/rollup/block_constant_data.d.ts +12 -1
  422. package/dest/rollup/block_constant_data.d.ts.map +1 -1
  423. package/dest/rollup/block_headers_hash.js +1 -1
  424. package/dest/rollup/block_merge_rollup_private_inputs.d.ts +4 -1
  425. package/dest/rollup/block_merge_rollup_private_inputs.d.ts.map +1 -1
  426. package/dest/rollup/block_rollup_public_inputs.d.ts +47 -11
  427. package/dest/rollup/block_rollup_public_inputs.d.ts.map +1 -1
  428. package/dest/rollup/block_rollup_public_inputs.js +8 -12
  429. package/dest/rollup/block_root_rollup_private_inputs.d.ts +64 -1
  430. package/dest/rollup/block_root_rollup_private_inputs.d.ts.map +1 -1
  431. package/dest/rollup/checkpoint_constant_data.d.ts +10 -1
  432. package/dest/rollup/checkpoint_constant_data.d.ts.map +1 -1
  433. package/dest/rollup/checkpoint_constant_data.js +3 -1
  434. package/dest/rollup/checkpoint_header.d.ts +43 -13
  435. package/dest/rollup/checkpoint_header.d.ts.map +1 -1
  436. package/dest/rollup/checkpoint_header.js +50 -20
  437. package/dest/rollup/checkpoint_merge_rollup_private_inputs.d.ts +4 -1
  438. package/dest/rollup/checkpoint_merge_rollup_private_inputs.d.ts.map +1 -1
  439. package/dest/rollup/checkpoint_rollup_public_inputs.d.ts +46 -6
  440. package/dest/rollup/checkpoint_rollup_public_inputs.d.ts.map +1 -1
  441. package/dest/rollup/checkpoint_rollup_public_inputs.js +11 -3
  442. package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts +44 -3
  443. package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts.map +1 -1
  444. package/dest/rollup/checkpoint_root_rollup_private_inputs.js +13 -2
  445. package/dest/rollup/epoch_constant_data.d.ts +16 -1
  446. package/dest/rollup/epoch_constant_data.d.ts.map +1 -1
  447. package/dest/rollup/root_rollup_private_inputs.d.ts +6 -1
  448. package/dest/rollup/root_rollup_private_inputs.d.ts.map +1 -1
  449. package/dest/rollup/root_rollup_public_inputs.d.ts +21 -6
  450. package/dest/rollup/root_rollup_public_inputs.d.ts.map +1 -1
  451. package/dest/rollup/root_rollup_public_inputs.js +10 -4
  452. package/dest/rollup/tree_snapshot_diff_hints.d.ts +24 -1
  453. package/dest/rollup/tree_snapshot_diff_hints.d.ts.map +1 -1
  454. package/dest/rollup/tx_merge_rollup_private_inputs.d.ts +4 -1
  455. package/dest/rollup/tx_merge_rollup_private_inputs.d.ts.map +1 -1
  456. package/dest/rollup/tx_rollup_public_inputs.d.ts +29 -1
  457. package/dest/rollup/tx_rollup_public_inputs.d.ts.map +1 -1
  458. package/dest/schemas/schemas.d.ts +1 -1
  459. package/dest/slashing/empire.d.ts +1 -1
  460. package/dest/slashing/empire.d.ts.map +1 -1
  461. package/dest/slashing/empire.js +2 -0
  462. package/dest/slashing/helpers.d.ts +2 -2
  463. package/dest/slashing/helpers.d.ts.map +1 -1
  464. package/dest/slashing/helpers.js +6 -0
  465. package/dest/slashing/tally.d.ts +2 -1
  466. package/dest/slashing/tally.d.ts.map +1 -1
  467. package/dest/slashing/tally.js +6 -2
  468. package/dest/slashing/types.d.ts +7 -3
  469. package/dest/slashing/types.d.ts.map +1 -1
  470. package/dest/slashing/types.js +13 -1
  471. package/dest/stats/stats.d.ts +1 -3
  472. package/dest/stats/stats.d.ts.map +1 -1
  473. package/dest/tests/factories.d.ts +18 -10
  474. package/dest/tests/factories.d.ts.map +1 -1
  475. package/dest/tests/factories.js +79 -36
  476. package/dest/tests/jest.js +1 -1
  477. package/dest/tests/mocks.d.ts +77 -19
  478. package/dest/tests/mocks.d.ts.map +1 -1
  479. package/dest/tests/mocks.js +136 -65
  480. package/dest/timetable/index.d.ts +37 -0
  481. package/dest/timetable/index.d.ts.map +1 -0
  482. package/dest/timetable/index.js +39 -0
  483. package/dest/trees/append_only_tree_snapshot.d.ts +13 -1
  484. package/dest/trees/append_only_tree_snapshot.d.ts.map +1 -1
  485. package/dest/trees/append_only_tree_snapshot.js +3 -1
  486. package/dest/trees/nullifier_leaf.d.ts +13 -1
  487. package/dest/trees/nullifier_leaf.d.ts.map +1 -1
  488. package/dest/trees/nullifier_membership_witness.d.ts +10 -1
  489. package/dest/trees/nullifier_membership_witness.d.ts.map +1 -1
  490. package/dest/trees/public_data_leaf.d.ts +17 -1
  491. package/dest/trees/public_data_leaf.d.ts.map +1 -1
  492. package/dest/trees/public_data_leaf.js +7 -6
  493. package/dest/trees/public_data_witness.d.ts +11 -1
  494. package/dest/trees/public_data_witness.d.ts.map +1 -1
  495. package/dest/tx/block_header.d.ts +14 -2
  496. package/dest/tx/block_header.d.ts.map +1 -1
  497. package/dest/tx/block_header.js +9 -3
  498. package/dest/tx/call_context.d.ts +13 -1
  499. package/dest/tx/call_context.d.ts.map +1 -1
  500. package/dest/tx/call_context.js +3 -1
  501. package/dest/tx/capsule.d.ts +4 -1
  502. package/dest/tx/capsule.d.ts.map +1 -1
  503. package/dest/tx/execution_payload.d.ts +9 -1
  504. package/dest/tx/execution_payload.d.ts.map +1 -1
  505. package/dest/tx/function_data.d.ts +4 -2
  506. package/dest/tx/function_data.d.ts.map +1 -1
  507. package/dest/tx/global_variable_builder.d.ts +2 -2
  508. package/dest/tx/global_variable_builder.d.ts.map +1 -1
  509. package/dest/tx/global_variables.d.ts +12 -4
  510. package/dest/tx/global_variables.d.ts.map +1 -1
  511. package/dest/tx/global_variables.js +3 -1
  512. package/dest/tx/hashed_values.d.ts +7 -1
  513. package/dest/tx/hashed_values.d.ts.map +1 -1
  514. package/dest/tx/in_tx.d.ts +4 -4
  515. package/dest/tx/index.d.ts +1 -2
  516. package/dest/tx/index.d.ts.map +1 -1
  517. package/dest/tx/index.js +0 -1
  518. package/dest/tx/indexed_tx_effect.d.ts +5 -5
  519. package/dest/tx/indexed_tx_effect.d.ts.map +1 -1
  520. package/dest/tx/indexed_tx_effect.js +3 -2
  521. package/dest/tx/partial_state_reference.d.ts +4 -1
  522. package/dest/tx/partial_state_reference.d.ts.map +1 -1
  523. package/dest/tx/private_execution_result.d.ts +23 -6
  524. package/dest/tx/private_execution_result.d.ts.map +1 -1
  525. package/dest/tx/private_execution_result.js +4 -21
  526. package/dest/tx/private_tx_constant_data.d.ts +16 -1
  527. package/dest/tx/private_tx_constant_data.d.ts.map +1 -1
  528. package/dest/tx/profiling.d.ts +152 -29
  529. package/dest/tx/profiling.d.ts.map +1 -1
  530. package/dest/tx/profiling.js +47 -10
  531. package/dest/tx/protocol_contracts.d.ts +2 -2
  532. package/dest/tx/protocol_contracts.d.ts.map +1 -1
  533. package/dest/tx/protocol_contracts.js +2 -2
  534. package/dest/tx/public_call_request_with_calldata.d.ts +7 -1
  535. package/dest/tx/public_call_request_with_calldata.d.ts.map +1 -1
  536. package/dest/tx/public_call_request_with_calldata.js +3 -1
  537. package/dest/tx/public_simulation_output.d.ts +4 -2
  538. package/dest/tx/public_simulation_output.d.ts.map +1 -1
  539. package/dest/tx/public_simulation_output.js +7 -3
  540. package/dest/tx/state_reference.d.ts +3 -1
  541. package/dest/tx/state_reference.d.ts.map +1 -1
  542. package/dest/tx/state_reference.js +3 -1
  543. package/dest/tx/tree_snapshots.js +3 -1
  544. package/dest/tx/tx.d.ts +24 -1
  545. package/dest/tx/tx.d.ts.map +1 -1
  546. package/dest/tx/tx.js +9 -4
  547. package/dest/tx/tx_context.d.ts +2 -1
  548. package/dest/tx/tx_context.d.ts.map +1 -1
  549. package/dest/tx/tx_effect.d.ts +32 -6
  550. package/dest/tx/tx_effect.d.ts.map +1 -1
  551. package/dest/tx/tx_effect.js +3 -8
  552. package/dest/tx/tx_execution_request.d.ts +30 -1
  553. package/dest/tx/tx_execution_request.d.ts.map +1 -1
  554. package/dest/tx/tx_execution_request.js +6 -2
  555. package/dest/tx/tx_hash.d.ts +2 -1
  556. package/dest/tx/tx_hash.d.ts.map +1 -1
  557. package/dest/tx/tx_receipt.d.ts +62 -14
  558. package/dest/tx/tx_receipt.d.ts.map +1 -1
  559. package/dest/tx/tx_receipt.js +55 -16
  560. package/dest/tx/tx_request.d.ts +6 -1
  561. package/dest/tx/tx_request.d.ts.map +1 -1
  562. package/dest/tx/tx_request.js +2 -2
  563. package/dest/tx/validator/empty_validator.d.ts +2 -2
  564. package/dest/tx/validator/empty_validator.d.ts.map +1 -1
  565. package/dest/tx/validator/error_texts.d.ts +3 -2
  566. package/dest/tx/validator/error_texts.d.ts.map +1 -1
  567. package/dest/tx/validator/error_texts.js +3 -1
  568. package/dest/tx/validator/tx_validator.d.ts +2 -2
  569. package/dest/tx/validator/tx_validator.d.ts.map +1 -1
  570. package/dest/types/shared.d.ts +4 -1
  571. package/dest/types/shared.d.ts.map +1 -1
  572. package/dest/validators/schemas.d.ts +38 -38
  573. package/dest/validators/schemas.d.ts.map +1 -1
  574. package/dest/validators/schemas.js +4 -3
  575. package/dest/validators/types.d.ts +3 -3
  576. package/dest/validators/types.d.ts.map +1 -1
  577. package/dest/vks/verification_key.d.ts +22 -1
  578. package/dest/vks/verification_key.d.ts.map +1 -1
  579. package/dest/vks/vk_data.d.ts +7 -1
  580. package/dest/vks/vk_data.d.ts.map +1 -1
  581. package/dest/zkpassport/index.d.ts +3 -4
  582. package/dest/zkpassport/index.d.ts.map +1 -1
  583. package/dest/zkpassport/index.js +9 -9
  584. package/package.json +28 -14
  585. package/src/abi/contract_artifact.ts +10 -10
  586. package/src/abi/decoder.ts +1 -4
  587. package/src/abi/encoder.ts +8 -5
  588. package/src/abi/function_call.ts +25 -3
  589. package/src/abi/utils.ts +17 -0
  590. package/src/auth_witness/auth_witness.ts +3 -3
  591. package/src/avm/revert_code.ts +15 -0
  592. package/src/block/attestation_info.ts +9 -6
  593. package/src/block/block_data.ts +26 -0
  594. package/src/block/block_hash.ts +26 -25
  595. package/src/block/block_parameter.ts +4 -2
  596. package/src/block/body.ts +2 -1
  597. package/src/block/checkpointed_l2_block.ts +8 -58
  598. package/src/block/in_block.ts +6 -6
  599. package/src/block/index.ts +1 -2
  600. package/src/block/l2_block.ts +102 -149
  601. package/src/block/l2_block_source.ts +145 -44
  602. package/src/block/l2_block_stream/index.ts +1 -0
  603. package/src/block/l2_block_stream/interfaces.ts +15 -4
  604. package/src/block/l2_block_stream/l2_block_stream.ts +151 -39
  605. package/src/block/l2_block_stream/l2_tips_memory_store.ts +62 -56
  606. package/src/block/l2_block_stream/l2_tips_store_base.ts +226 -0
  607. package/src/block/test/l2_tips_store_test_suite.ts +480 -36
  608. package/src/block/validate_block_result.ts +40 -35
  609. package/src/checkpoint/checkpoint.ts +62 -21
  610. package/src/checkpoint/checkpoint_data.ts +51 -0
  611. package/src/checkpoint/checkpoint_info.ts +45 -2
  612. package/src/checkpoint/index.ts +2 -0
  613. package/src/checkpoint/published_checkpoint.ts +7 -4
  614. package/src/config/index.ts +1 -0
  615. package/src/config/node-rpc-config.ts +1 -1
  616. package/src/config/sequencer-config.ts +29 -0
  617. package/src/contract/contract_address.ts +4 -4
  618. package/src/contract/contract_class.ts +3 -3
  619. package/src/contract/contract_class_id.ts +6 -5
  620. package/src/contract/index.ts +0 -2
  621. package/src/contract/interfaces/node-info.ts +3 -0
  622. package/src/contract/private_function.ts +3 -4
  623. package/src/contract/private_function_membership_proof.ts +1 -1
  624. package/src/database-version/database_version.ts +87 -0
  625. package/src/database-version/version_manager.ts +1 -77
  626. package/src/delayed_public_mutable/delayed_public_mutable_values.ts +9 -10
  627. package/src/deserialization/index.ts +21 -0
  628. package/src/epoch-helpers/index.ts +13 -1
  629. package/src/file-store/local.ts +15 -5
  630. package/src/file-store/s3.ts +12 -3
  631. package/src/ha-signing/config.ts +149 -0
  632. package/src/ha-signing/index.ts +18 -0
  633. package/src/ha-signing/types.ts +112 -0
  634. package/src/hash/hash.ts +14 -10
  635. package/src/hash/map_slot.ts +3 -2
  636. package/src/interfaces/api_limit.ts +2 -0
  637. package/src/interfaces/archiver.ts +31 -24
  638. package/src/interfaces/aztec-node-admin.ts +31 -4
  639. package/src/interfaces/aztec-node.ts +110 -129
  640. package/src/interfaces/block-builder.ts +41 -23
  641. package/src/interfaces/configs.ts +15 -1
  642. package/src/interfaces/l2_logs_source.ts +17 -4
  643. package/src/interfaces/merkle_tree_operations.ts +1 -1
  644. package/src/interfaces/p2p.ts +10 -25
  645. package/src/interfaces/prover-broker.ts +22 -0
  646. package/src/interfaces/prover-client.ts +22 -0
  647. package/src/interfaces/proving-job.ts +2 -11
  648. package/src/interfaces/server_circuit_prover.ts +3 -2
  649. package/src/interfaces/slasher.ts +4 -0
  650. package/src/interfaces/tx_provider.ts +2 -2
  651. package/src/interfaces/validator.ts +73 -15
  652. package/src/kernel/hints/build_note_hash_read_request_hints.ts +34 -30
  653. package/src/kernel/hints/build_nullifier_read_request_hints.ts +32 -32
  654. package/src/kernel/hints/build_transient_data_hints.ts +17 -2
  655. package/src/kernel/hints/index.ts +2 -2
  656. package/src/kernel/hints/{key_validation_request_and_generator.ts → key_validation_request_and_separator.ts} +12 -15
  657. package/src/kernel/hints/{scoped_key_validation_request_and_generator.ts → scoped_key_validation_request_and_separator.ts} +10 -10
  658. package/src/kernel/private_circuit_public_inputs.ts +14 -14
  659. package/src/kernel/private_kernel_circuit_public_inputs.ts +2 -2
  660. package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +2 -2
  661. package/src/kernel/private_kernel_tail_circuit_public_inputs.ts +5 -5
  662. package/src/kernel/private_to_public_kernel_circuit_public_inputs.ts +5 -5
  663. package/src/kernel/private_to_rollup_kernel_circuit_public_inputs.ts +5 -5
  664. package/src/kernel/private_validation_requests.ts +8 -8
  665. package/src/keys/derivation.ts +15 -15
  666. package/src/keys/key_types.ts +6 -2
  667. package/src/keys/public_keys.ts +2 -2
  668. package/src/keys/utils.ts +8 -4
  669. package/src/l1-contracts/slash_factory.ts +1 -0
  670. package/src/logs/debug_log_store.ts +54 -0
  671. package/src/logs/{directional_app_tagging_secret.ts → extended_directional_app_tagging_secret.ts} +24 -16
  672. package/src/logs/index.ts +2 -1
  673. package/src/logs/log_id.ts +22 -18
  674. package/src/logs/pre_tag.ts +5 -5
  675. package/src/logs/siloed_tag.ts +10 -4
  676. package/src/logs/tag.ts +1 -1
  677. package/src/messaging/in_hash.ts +3 -1
  678. package/src/messaging/l2_to_l1_membership.ts +178 -52
  679. package/src/messaging/out_hash.ts +62 -21
  680. package/src/note/index.ts +0 -1
  681. package/src/note/note_dao.ts +18 -13
  682. package/src/p2p/attestation_utils.ts +59 -3
  683. package/src/p2p/block_proposal.ts +211 -46
  684. package/src/p2p/{block_attestation.ts → checkpoint_attestation.ts} +36 -25
  685. package/src/p2p/checkpoint_proposal.ts +387 -0
  686. package/src/p2p/client_type.ts +0 -6
  687. package/src/p2p/consensus_payload.ts +29 -18
  688. package/src/p2p/constants.ts +6 -0
  689. package/src/p2p/gossipable.ts +14 -4
  690. package/src/p2p/index.ts +4 -2
  691. package/src/p2p/message_validator.ts +14 -2
  692. package/src/p2p/signature_utils.ts +3 -1
  693. package/src/p2p/signed_txs.ts +88 -0
  694. package/src/p2p/topic_type.ts +10 -16
  695. package/src/proofs/chonk_proof.ts +9 -5
  696. package/src/rollup/block_headers_hash.ts +1 -1
  697. package/src/rollup/block_rollup_public_inputs.ts +5 -11
  698. package/src/rollup/checkpoint_header.ts +64 -21
  699. package/src/rollup/checkpoint_rollup_public_inputs.ts +17 -5
  700. package/src/rollup/checkpoint_root_rollup_private_inputs.ts +14 -1
  701. package/src/rollup/root_rollup_public_inputs.ts +16 -7
  702. package/src/slashing/empire.ts +3 -1
  703. package/src/slashing/helpers.ts +8 -0
  704. package/src/slashing/tally.ts +8 -2
  705. package/src/slashing/types.ts +14 -0
  706. package/src/stats/stats.ts +0 -2
  707. package/src/tests/factories.ts +79 -54
  708. package/src/tests/jest.ts +1 -1
  709. package/src/tests/mocks.ts +235 -98
  710. package/src/timetable/index.ts +66 -0
  711. package/src/trees/public_data_leaf.ts +11 -5
  712. package/src/tx/block_header.ts +12 -4
  713. package/src/tx/global_variable_builder.ts +1 -1
  714. package/src/tx/global_variables.ts +3 -3
  715. package/src/tx/index.ts +0 -1
  716. package/src/tx/indexed_tx_effect.ts +3 -2
  717. package/src/tx/private_execution_result.ts +1 -16
  718. package/src/tx/profiling.ts +51 -9
  719. package/src/tx/protocol_contracts.ts +2 -2
  720. package/src/tx/public_simulation_output.ts +4 -0
  721. package/src/tx/tx.ts +10 -9
  722. package/src/tx/tx_effect.ts +0 -9
  723. package/src/tx/tx_execution_request.ts +2 -0
  724. package/src/tx/tx_receipt.ts +85 -18
  725. package/src/tx/tx_request.ts +2 -2
  726. package/src/tx/validator/empty_validator.ts +1 -1
  727. package/src/tx/validator/error_texts.ts +4 -1
  728. package/src/tx/validator/tx_validator.ts +1 -1
  729. package/src/validators/schemas.ts +8 -1
  730. package/src/validators/types.ts +5 -4
  731. package/src/zkpassport/index.ts +11 -12
  732. package/dest/block/l2_block_code_to_purge.d.ts +0 -12
  733. package/dest/block/l2_block_code_to_purge.d.ts.map +0 -1
  734. package/dest/block/l2_block_code_to_purge.js +0 -61
  735. package/dest/block/l2_block_header.d.ts +0 -98
  736. package/dest/block/l2_block_header.d.ts.map +0 -1
  737. package/dest/block/l2_block_header.js +0 -153
  738. package/dest/block/l2_block_new.d.ts +0 -135
  739. package/dest/block/l2_block_new.d.ts.map +0 -1
  740. package/dest/block/l2_block_new.js +0 -152
  741. package/dest/contract/contract_class_metadata.d.ts +0 -8
  742. package/dest/contract/contract_class_metadata.d.ts.map +0 -1
  743. package/dest/contract/contract_class_metadata.js +0 -1
  744. package/dest/contract/contract_metadata.d.ts +0 -7
  745. package/dest/contract/contract_metadata.d.ts.map +0 -1
  746. package/dest/contract/contract_metadata.js +0 -1
  747. package/dest/database-version/index.d.ts +0 -2
  748. package/dest/database-version/index.d.ts.map +0 -1
  749. package/dest/database-version/index.js +0 -1
  750. package/dest/kernel/hints/key_validation_request_and_generator.d.ts +0 -25
  751. package/dest/kernel/hints/key_validation_request_and_generator.d.ts.map +0 -1
  752. package/dest/logs/directional_app_tagging_secret.d.ts +0 -40
  753. package/dest/logs/directional_app_tagging_secret.d.ts.map +0 -1
  754. package/dest/note/notes_filter.d.ts +0 -27
  755. package/dest/note/notes_filter.d.ts.map +0 -1
  756. package/dest/note/notes_filter.js +0 -11
  757. package/dest/p2p/block_attestation.d.ts +0 -80
  758. package/dest/p2p/block_attestation.d.ts.map +0 -1
  759. package/dest/tx/content_commitment.d.ts +0 -49
  760. package/dest/tx/content_commitment.d.ts.map +0 -1
  761. package/dest/tx/content_commitment.js +0 -90
  762. package/src/block/l2_block_code_to_purge.ts +0 -88
  763. package/src/block/l2_block_header.ts +0 -246
  764. package/src/block/l2_block_new.ts +0 -207
  765. package/src/contract/contract_class_metadata.ts +0 -8
  766. package/src/contract/contract_metadata.ts +0 -7
  767. package/src/database-version/index.ts +0 -1
  768. package/src/note/notes_filter.ts +0 -38
  769. package/src/tx/content_commitment.ts +0 -113
@@ -7,13 +7,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
7
7
  inputs: z.ZodEffects<z.ZodObject<{
8
8
  hints: z.ZodEffects<z.ZodObject<{
9
9
  globalVariables: z.ZodEffects<z.ZodObject<{
10
- chainId: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
11
- version: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
12
- blockNumber: z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, import("../../../foundation/dest/branded-types/block_number.js").BlockNumber, string | number | bigint>;
13
- slotNumber: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/branded-types/slot.js").SlotNumber>;
10
+ chainId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
11
+ version: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
12
+ blockNumber: z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, import("@aztec/foundation/branded-types").BlockNumber, string | number | bigint>;
13
+ slotNumber: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").SlotNumber>;
14
14
  timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
15
- coinbase: import("../schemas/schemas.js").ZodFor<import("../block/index.js").EthAddress>;
16
- feeRecipient: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
15
+ coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/eth-address").EthAddress>;
16
+ feeRecipient: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
17
17
  gasFees: z.ZodEffects<z.ZodObject<{
18
18
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
19
19
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
@@ -28,8 +28,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
28
28
  feePerL2Gas: string | number | bigint;
29
29
  }>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- chainId: import("../../../foundation/dest/schemas/schemas.js").Fr;
32
- version: import("../../../foundation/dest/schemas/schemas.js").Fr;
31
+ chainId: import("@aztec/foundation/schemas").Fr;
32
+ version: import("@aztec/foundation/schemas").Fr;
33
33
  blockNumber: number & {
34
34
  _branding: "BlockNumber";
35
35
  };
@@ -37,7 +37,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
37
37
  _branding: "SlotNumber";
38
38
  };
39
39
  timestamp: bigint;
40
- coinbase: import("../block/index.js").EthAddress;
40
+ coinbase: import("@aztec/foundation/eth-address").EthAddress;
41
41
  feeRecipient: import("../aztec-address/index.js").AztecAddress;
42
42
  gasFees: import("../gas/gas_fees.js").GasFees;
43
43
  }, {
@@ -175,11 +175,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
175
175
  }>;
176
176
  nonRevertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
177
177
  contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
178
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
178
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
179
179
  fields: z.ZodEffects<z.ZodObject<{
180
- fields: z.ZodEffects<z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">, import("../../../foundation/dest/schemas/schemas.js").Fr[], string[]>;
180
+ fields: z.ZodEffects<z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">, import("@aztec/foundation/schemas").Fr[], string[]>;
181
181
  }, "strip", z.ZodTypeAny, {
182
- fields: import("../../../foundation/dest/schemas/schemas.js").Fr[];
182
+ fields: import("@aztec/foundation/schemas").Fr[];
183
183
  }, {
184
184
  fields: string[];
185
185
  }>, import("../logs/contract_class_log.js").ContractClassLogFields, {
@@ -204,10 +204,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
204
204
  emittedLength: number;
205
205
  }>, "many">;
206
206
  privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
207
- fields: z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">;
207
+ fields: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
208
208
  emittedLength: z.ZodNumber;
209
209
  }, "strict", z.ZodTypeAny, {
210
- fields: import("../../../foundation/dest/schemas/schemas.js").Fr[];
210
+ fields: import("@aztec/foundation/schemas").Fr[];
211
211
  emittedLength: number;
212
212
  }, {
213
213
  fields: string[];
@@ -246,11 +246,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
246
246
  }>;
247
247
  revertibleContractDeploymentData: z.ZodEffects<z.ZodObject<{
248
248
  contractClassLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
249
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
249
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
250
250
  fields: z.ZodEffects<z.ZodObject<{
251
- fields: z.ZodEffects<z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">, import("../../../foundation/dest/schemas/schemas.js").Fr[], string[]>;
251
+ fields: z.ZodEffects<z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">, import("@aztec/foundation/schemas").Fr[], string[]>;
252
252
  }, "strip", z.ZodTypeAny, {
253
- fields: import("../../../foundation/dest/schemas/schemas.js").Fr[];
253
+ fields: import("@aztec/foundation/schemas").Fr[];
254
254
  }, {
255
255
  fields: string[];
256
256
  }>, import("../logs/contract_class_log.js").ContractClassLogFields, {
@@ -275,10 +275,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
275
275
  emittedLength: number;
276
276
  }>, "many">;
277
277
  privateLogs: z.ZodArray<z.ZodEffects<z.ZodObject<{
278
- fields: z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">;
278
+ fields: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
279
279
  emittedLength: z.ZodNumber;
280
280
  }, "strict", z.ZodTypeAny, {
281
- fields: import("../../../foundation/dest/schemas/schemas.js").Fr[];
281
+ fields: import("@aztec/foundation/schemas").Fr[];
282
282
  emittedLength: number;
283
283
  }, {
284
284
  fields: string[];
@@ -316,15 +316,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
316
316
  }[];
317
317
  }>;
318
318
  nonRevertibleAccumulatedData: z.ZodObject<{
319
- noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
320
- nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
319
+ noteHashes: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
320
+ nullifiers: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
321
321
  l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
322
322
  message: z.ZodEffects<z.ZodObject<{
323
- recipient: z.ZodType<import("../block/index.js").EthAddress, any, string>;
324
- content: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
323
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, any, string>;
324
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
325
325
  }, "strip", z.ZodTypeAny, {
326
- recipient: import("../block/index.js").EthAddress;
327
- content: import("../../../foundation/dest/schemas/schemas.js").Fr;
326
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
327
+ content: import("@aztec/foundation/schemas").Fr;
328
328
  }, {
329
329
  recipient: string;
330
330
  content: string;
@@ -332,7 +332,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
332
332
  recipient: string;
333
333
  content: string;
334
334
  }>;
335
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
335
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
336
336
  }, "strip", z.ZodTypeAny, {
337
337
  message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
338
338
  contractAddress: import("../aztec-address/index.js").AztecAddress;
@@ -350,8 +350,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
350
350
  contractAddress?: any;
351
351
  }>, "many">;
352
352
  }, "strip", z.ZodTypeAny, {
353
- noteHashes: import("../../../foundation/dest/schemas/schemas.js").Fr[];
354
- nullifiers: import("../../../foundation/dest/schemas/schemas.js").Fr[];
353
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
354
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
355
355
  l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
356
356
  }, {
357
357
  noteHashes: any[];
@@ -365,15 +365,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
365
365
  }[];
366
366
  }>;
367
367
  revertibleAccumulatedData: z.ZodObject<{
368
- noteHashes: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
369
- nullifiers: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
368
+ noteHashes: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
369
+ nullifiers: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
370
370
  l2ToL1Messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
371
371
  message: z.ZodEffects<z.ZodObject<{
372
- recipient: z.ZodType<import("../block/index.js").EthAddress, any, string>;
373
- content: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
372
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, any, string>;
373
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
374
374
  }, "strip", z.ZodTypeAny, {
375
- recipient: import("../block/index.js").EthAddress;
376
- content: import("../../../foundation/dest/schemas/schemas.js").Fr;
375
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
376
+ content: import("@aztec/foundation/schemas").Fr;
377
377
  }, {
378
378
  recipient: string;
379
379
  content: string;
@@ -381,7 +381,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
381
381
  recipient: string;
382
382
  content: string;
383
383
  }>;
384
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
384
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
385
385
  }, "strip", z.ZodTypeAny, {
386
386
  message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
387
387
  contractAddress: import("../aztec-address/index.js").AztecAddress;
@@ -399,8 +399,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
399
399
  contractAddress?: any;
400
400
  }>, "many">;
401
401
  }, "strip", z.ZodTypeAny, {
402
- noteHashes: import("../../../foundation/dest/schemas/schemas.js").Fr[];
403
- nullifiers: import("../../../foundation/dest/schemas/schemas.js").Fr[];
402
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
403
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
404
404
  l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
405
405
  }, {
406
406
  noteHashes: any[];
@@ -413,9 +413,9 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
413
413
  contractAddress?: any;
414
414
  }[];
415
415
  }>;
416
- setupEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>, "many">;
417
- appLogicEnqueuedCalls: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>, "many">;
418
- teardownEnqueuedCall: z.ZodNullable<import("../schemas/schemas.js").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>>;
416
+ setupEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>, "many">;
417
+ appLogicEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>, "many">;
418
+ teardownEnqueuedCall: z.ZodNullable<import("@aztec/foundation/schemas").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>>;
419
419
  gasUsedByPrivate: z.ZodEffects<z.ZodObject<{
420
420
  daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
421
421
  l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
@@ -429,7 +429,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
429
429
  daGas: string | number | bigint;
430
430
  l2Gas: string | number | bigint;
431
431
  }>;
432
- feePayer: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
432
+ feePayer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
433
433
  }, "strip", z.ZodTypeAny, {
434
434
  hash: string;
435
435
  gasSettings: import("../gas/gas_settings.js").GasSettings;
@@ -437,13 +437,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
437
437
  nonRevertibleContractDeploymentData: import("../contract/contract_deployment_data.js").ContractDeploymentData;
438
438
  revertibleContractDeploymentData: import("../contract/contract_deployment_data.js").ContractDeploymentData;
439
439
  nonRevertibleAccumulatedData: {
440
- noteHashes: import("../../../foundation/dest/schemas/schemas.js").Fr[];
441
- nullifiers: import("../../../foundation/dest/schemas/schemas.js").Fr[];
440
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
441
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
442
442
  l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
443
443
  };
444
444
  revertibleAccumulatedData: {
445
- noteHashes: import("../../../foundation/dest/schemas/schemas.js").Fr[];
446
- nullifiers: import("../../../foundation/dest/schemas/schemas.js").Fr[];
445
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
446
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
447
447
  l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
448
448
  };
449
449
  setupEnqueuedCalls: import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata[];
@@ -613,7 +613,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
613
613
  feePayer?: any;
614
614
  }>;
615
615
  protocolContracts: z.ZodEffects<z.ZodObject<{
616
- derivedAddresses: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>, "many">;
616
+ derivedAddresses: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>, "many">;
617
617
  }, "strip", z.ZodTypeAny, {
618
618
  derivedAddresses: import("../aztec-address/index.js").AztecAddress[];
619
619
  }, {
@@ -623,22 +623,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
623
623
  }>;
624
624
  contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
625
625
  hintKey: z.ZodNumber;
626
- address: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
627
- salt: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
628
- deployer: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
629
- currentContractClassId: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
630
- originalContractClassId: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
631
- initializationHash: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
626
+ address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
627
+ salt: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
628
+ deployer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
629
+ currentContractClassId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
630
+ originalContractClassId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
631
+ initializationHash: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
632
632
  publicKeys: z.ZodEffects<z.ZodObject<{
633
- masterNullifierPublicKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Point, any, string>;
634
- masterIncomingViewingPublicKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Point, any, string>;
635
- masterOutgoingViewingPublicKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Point, any, string>;
636
- masterTaggingPublicKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Point, any, string>;
633
+ masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
634
+ masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
635
+ masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
636
+ masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
637
637
  }, "strip", z.ZodTypeAny, {
638
- masterNullifierPublicKey: import("../../../foundation/dest/schemas/schemas.js").Point;
639
- masterIncomingViewingPublicKey: import("../../../foundation/dest/schemas/schemas.js").Point;
640
- masterOutgoingViewingPublicKey: import("../../../foundation/dest/schemas/schemas.js").Point;
641
- masterTaggingPublicKey: import("../../../foundation/dest/schemas/schemas.js").Point;
638
+ masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
639
+ masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
640
+ masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
641
+ masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
642
642
  }, {
643
643
  masterNullifierPublicKey: string;
644
644
  masterIncomingViewingPublicKey: string;
@@ -653,11 +653,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
653
653
  }, "strip", z.ZodTypeAny, {
654
654
  hintKey: number;
655
655
  address: import("../aztec-address/index.js").AztecAddress;
656
- salt: import("../../../foundation/dest/schemas/schemas.js").Fr;
656
+ salt: import("@aztec/foundation/schemas").Fr;
657
657
  deployer: import("../aztec-address/index.js").AztecAddress;
658
- currentContractClassId: import("../../../foundation/dest/schemas/schemas.js").Fr;
659
- originalContractClassId: import("../../../foundation/dest/schemas/schemas.js").Fr;
660
- initializationHash: import("../../../foundation/dest/schemas/schemas.js").Fr;
658
+ currentContractClassId: import("@aztec/foundation/schemas").Fr;
659
+ originalContractClassId: import("@aztec/foundation/schemas").Fr;
660
+ initializationHash: import("@aztec/foundation/schemas").Fr;
661
661
  publicKeys: import("../keys/public_keys.js").PublicKeys;
662
662
  }, {
663
663
  hintKey: number;
@@ -690,15 +690,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
690
690
  }>, "many">;
691
691
  contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
692
692
  hintKey: z.ZodNumber;
693
- classId: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
694
- artifactHash: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
695
- privateFunctionsRoot: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
696
- packedBytecode: import("../schemas/schemas.js").ZodFor<Buffer<ArrayBufferLike>>;
693
+ classId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
694
+ artifactHash: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
695
+ privateFunctionsRoot: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
696
+ packedBytecode: import("@aztec/foundation/schemas").ZodFor<Buffer<ArrayBufferLike>>;
697
697
  }, "strip", z.ZodTypeAny, {
698
698
  hintKey: number;
699
- classId: import("../../../foundation/dest/schemas/schemas.js").Fr;
700
- artifactHash: import("../../../foundation/dest/schemas/schemas.js").Fr;
701
- privateFunctionsRoot: import("../../../foundation/dest/schemas/schemas.js").Fr;
699
+ classId: import("@aztec/foundation/schemas").Fr;
700
+ artifactHash: import("@aztec/foundation/schemas").Fr;
701
+ privateFunctionsRoot: import("@aztec/foundation/schemas").Fr;
702
702
  packedBytecode: Buffer<ArrayBufferLike>;
703
703
  }, {
704
704
  hintKey: number;
@@ -715,12 +715,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
715
715
  }>, "many">;
716
716
  bytecodeCommitments: z.ZodArray<z.ZodEffects<z.ZodObject<{
717
717
  hintKey: z.ZodNumber;
718
- classId: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
719
- commitment: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
718
+ classId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
719
+ commitment: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
720
720
  }, "strip", z.ZodTypeAny, {
721
721
  hintKey: number;
722
- classId: import("../../../foundation/dest/schemas/schemas.js").Fr;
723
- commitment: import("../../../foundation/dest/schemas/schemas.js").Fr;
722
+ classId: import("@aztec/foundation/schemas").Fr;
723
+ commitment: import("@aztec/foundation/schemas").Fr;
724
724
  }, {
725
725
  hintKey: number;
726
726
  classId?: any;
@@ -731,12 +731,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
731
731
  commitment?: any;
732
732
  }>, "many">;
733
733
  debugFunctionNames: z.ZodArray<z.ZodEffects<z.ZodObject<{
734
- address: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
735
- selector: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
734
+ address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
735
+ selector: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
736
736
  name: z.ZodString;
737
737
  }, "strip", z.ZodTypeAny, {
738
738
  address: import("../aztec-address/index.js").AztecAddress;
739
- selector: import("../../../foundation/dest/schemas/schemas.js").Fr;
739
+ selector: import("@aztec/foundation/schemas").Fr;
740
740
  name: string;
741
741
  }, {
742
742
  address?: any;
@@ -812,10 +812,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
812
812
  }>, "many">;
813
813
  startingTreeRoots: z.ZodEffects<z.ZodObject<{
814
814
  l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
815
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
815
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
816
816
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
817
817
  }, "strip", z.ZodTypeAny, {
818
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
818
+ root: import("@aztec/foundation/schemas").Fr;
819
819
  nextAvailableLeafIndex: number;
820
820
  }, {
821
821
  root: string;
@@ -825,10 +825,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
825
825
  nextAvailableLeafIndex: string | number | bigint;
826
826
  }>;
827
827
  noteHashTree: z.ZodEffects<z.ZodObject<{
828
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
828
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
829
829
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
830
830
  }, "strip", z.ZodTypeAny, {
831
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
831
+ root: import("@aztec/foundation/schemas").Fr;
832
832
  nextAvailableLeafIndex: number;
833
833
  }, {
834
834
  root: string;
@@ -838,10 +838,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
838
838
  nextAvailableLeafIndex: string | number | bigint;
839
839
  }>;
840
840
  nullifierTree: z.ZodEffects<z.ZodObject<{
841
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
841
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
842
842
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
843
843
  }, "strip", z.ZodTypeAny, {
844
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
844
+ root: import("@aztec/foundation/schemas").Fr;
845
845
  nextAvailableLeafIndex: number;
846
846
  }, {
847
847
  root: string;
@@ -851,10 +851,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
851
851
  nextAvailableLeafIndex: string | number | bigint;
852
852
  }>;
853
853
  publicDataTree: z.ZodEffects<z.ZodObject<{
854
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
854
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
855
855
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
856
856
  }, "strip", z.ZodTypeAny, {
857
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
857
+ root: import("@aztec/foundation/schemas").Fr;
858
858
  nextAvailableLeafIndex: number;
859
859
  }, {
860
860
  root: string;
@@ -905,10 +905,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
905
905
  }>;
906
906
  getSiblingPathHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
907
907
  hintKey: z.ZodEffects<z.ZodObject<{
908
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
908
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
909
909
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
910
910
  }, "strip", z.ZodTypeAny, {
911
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
911
+ root: import("@aztec/foundation/schemas").Fr;
912
912
  nextAvailableLeafIndex: number;
913
913
  }, {
914
914
  root: string;
@@ -919,12 +919,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
919
919
  }>;
920
920
  treeId: z.ZodNumber;
921
921
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
922
- path: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
922
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
923
923
  }, "strip", z.ZodTypeAny, {
924
924
  hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
925
925
  treeId: number;
926
926
  index: bigint;
927
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
927
+ path: import("@aztec/foundation/schemas").Fr[];
928
928
  }, {
929
929
  hintKey: {
930
930
  root: string;
@@ -944,10 +944,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
944
944
  }>, "many">;
945
945
  getPreviousValueIndexHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
946
946
  hintKey: z.ZodEffects<z.ZodObject<{
947
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
947
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
948
948
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
949
949
  }, "strip", z.ZodTypeAny, {
950
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
950
+ root: import("@aztec/foundation/schemas").Fr;
951
951
  nextAvailableLeafIndex: number;
952
952
  }, {
953
953
  root: string;
@@ -957,13 +957,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
957
957
  nextAvailableLeafIndex: string | number | bigint;
958
958
  }>;
959
959
  treeId: z.ZodNumber;
960
- value: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
960
+ value: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
961
961
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
962
962
  alreadyPresent: z.ZodBoolean;
963
963
  }, "strip", z.ZodTypeAny, {
964
964
  hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
965
965
  treeId: number;
966
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
966
+ value: import("@aztec/foundation/schemas").Fr;
967
967
  index: bigint;
968
968
  alreadyPresent: boolean;
969
969
  }, {
@@ -987,10 +987,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
987
987
  }>, "many">;
988
988
  getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
989
989
  hintKey: z.ZodEffects<z.ZodObject<{
990
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
990
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
991
991
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
992
992
  }, "strip", z.ZodTypeAny, {
993
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
993
+ root: import("@aztec/foundation/schemas").Fr;
994
994
  nextAvailableLeafIndex: number;
995
995
  }, {
996
996
  root: string;
@@ -1002,19 +1002,19 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1002
1002
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1003
1003
  leafPreimage: z.ZodEffects<z.ZodObject<{
1004
1004
  leaf: z.ZodEffects<z.ZodObject<{
1005
- nullifier: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1005
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1006
1006
  }, "strip", z.ZodTypeAny, {
1007
- nullifier: import("../../../foundation/dest/schemas/schemas.js").Fr;
1007
+ nullifier: import("@aztec/foundation/schemas").Fr;
1008
1008
  }, {
1009
1009
  nullifier: string;
1010
1010
  }>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
1011
1011
  nullifier: string;
1012
1012
  }>;
1013
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1013
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1014
1014
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1015
1015
  }, "strip", z.ZodTypeAny, {
1016
1016
  leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
1017
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1017
+ nextKey: import("@aztec/foundation/schemas").Fr;
1018
1018
  nextIndex: bigint;
1019
1019
  }, {
1020
1020
  leaf: {
@@ -1030,11 +1030,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1030
1030
  nextIndex: string | number | bigint;
1031
1031
  }> | z.ZodEffects<z.ZodObject<{
1032
1032
  leaf: z.ZodEffects<z.ZodObject<{
1033
- slot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1034
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1033
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1034
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1035
1035
  }, "strip", z.ZodTypeAny, {
1036
- slot: import("../../../foundation/dest/schemas/schemas.js").Fr;
1037
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1036
+ slot: import("@aztec/foundation/schemas").Fr;
1037
+ value: import("@aztec/foundation/schemas").Fr;
1038
1038
  }, {
1039
1039
  slot: string;
1040
1040
  value: string;
@@ -1042,11 +1042,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1042
1042
  slot: string;
1043
1043
  value: string;
1044
1044
  }>;
1045
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1045
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1046
1046
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1047
1047
  }, "strip", z.ZodTypeAny, {
1048
1048
  leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
1049
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1049
+ nextKey: import("@aztec/foundation/schemas").Fr;
1050
1050
  nextIndex: bigint;
1051
1051
  }, {
1052
1052
  leaf: {
@@ -1075,14 +1075,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1075
1075
  index: string | number | bigint;
1076
1076
  leafPreimage: {
1077
1077
  leaf: {
1078
- slot: string;
1079
- value: string;
1078
+ nullifier: string;
1080
1079
  };
1081
1080
  nextKey: string;
1082
1081
  nextIndex: string | number | bigint;
1083
1082
  } | {
1084
1083
  leaf: {
1085
- nullifier: string;
1084
+ slot: string;
1085
+ value: string;
1086
1086
  };
1087
1087
  nextKey: string;
1088
1088
  nextIndex: string | number | bigint;
@@ -1099,14 +1099,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1099
1099
  index: string | number | bigint;
1100
1100
  leafPreimage: {
1101
1101
  leaf: {
1102
- slot: string;
1103
- value: string;
1102
+ nullifier: string;
1104
1103
  };
1105
1104
  nextKey: string;
1106
1105
  nextIndex: string | number | bigint;
1107
1106
  } | {
1108
1107
  leaf: {
1109
- nullifier: string;
1108
+ slot: string;
1109
+ value: string;
1110
1110
  };
1111
1111
  nextKey: string;
1112
1112
  nextIndex: string | number | bigint;
@@ -1114,10 +1114,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1114
1114
  }>, "many">;
1115
1115
  getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
1116
1116
  hintKey: z.ZodEffects<z.ZodObject<{
1117
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1117
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1118
1118
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1119
1119
  }, "strip", z.ZodTypeAny, {
1120
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
1120
+ root: import("@aztec/foundation/schemas").Fr;
1121
1121
  nextAvailableLeafIndex: number;
1122
1122
  }, {
1123
1123
  root: string;
@@ -1129,19 +1129,19 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1129
1129
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1130
1130
  leafPreimage: z.ZodEffects<z.ZodObject<{
1131
1131
  leaf: z.ZodEffects<z.ZodObject<{
1132
- nullifier: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1132
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1133
1133
  }, "strip", z.ZodTypeAny, {
1134
- nullifier: import("../../../foundation/dest/schemas/schemas.js").Fr;
1134
+ nullifier: import("@aztec/foundation/schemas").Fr;
1135
1135
  }, {
1136
1136
  nullifier: string;
1137
1137
  }>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
1138
1138
  nullifier: string;
1139
1139
  }>;
1140
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1140
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1141
1141
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1142
1142
  }, "strip", z.ZodTypeAny, {
1143
1143
  leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
1144
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1144
+ nextKey: import("@aztec/foundation/schemas").Fr;
1145
1145
  nextIndex: bigint;
1146
1146
  }, {
1147
1147
  leaf: {
@@ -1157,11 +1157,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1157
1157
  nextIndex: string | number | bigint;
1158
1158
  }> | z.ZodEffects<z.ZodObject<{
1159
1159
  leaf: z.ZodEffects<z.ZodObject<{
1160
- slot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1161
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1160
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1161
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1162
1162
  }, "strip", z.ZodTypeAny, {
1163
- slot: import("../../../foundation/dest/schemas/schemas.js").Fr;
1164
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1163
+ slot: import("@aztec/foundation/schemas").Fr;
1164
+ value: import("@aztec/foundation/schemas").Fr;
1165
1165
  }, {
1166
1166
  slot: string;
1167
1167
  value: string;
@@ -1169,11 +1169,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1169
1169
  slot: string;
1170
1170
  value: string;
1171
1171
  }>;
1172
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1172
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1173
1173
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1174
1174
  }, "strip", z.ZodTypeAny, {
1175
1175
  leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
1176
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1176
+ nextKey: import("@aztec/foundation/schemas").Fr;
1177
1177
  nextIndex: bigint;
1178
1178
  }, {
1179
1179
  leaf: {
@@ -1202,14 +1202,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1202
1202
  index: string | number | bigint;
1203
1203
  leafPreimage: {
1204
1204
  leaf: {
1205
- slot: string;
1206
- value: string;
1205
+ nullifier: string;
1207
1206
  };
1208
1207
  nextKey: string;
1209
1208
  nextIndex: string | number | bigint;
1210
1209
  } | {
1211
1210
  leaf: {
1212
- nullifier: string;
1211
+ slot: string;
1212
+ value: string;
1213
1213
  };
1214
1214
  nextKey: string;
1215
1215
  nextIndex: string | number | bigint;
@@ -1226,14 +1226,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1226
1226
  index: string | number | bigint;
1227
1227
  leafPreimage: {
1228
1228
  leaf: {
1229
- slot: string;
1230
- value: string;
1229
+ nullifier: string;
1231
1230
  };
1232
1231
  nextKey: string;
1233
1232
  nextIndex: string | number | bigint;
1234
1233
  } | {
1235
1234
  leaf: {
1236
- nullifier: string;
1235
+ slot: string;
1236
+ value: string;
1237
1237
  };
1238
1238
  nextKey: string;
1239
1239
  nextIndex: string | number | bigint;
@@ -1241,10 +1241,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1241
1241
  }>, "many">;
1242
1242
  getLeafValueHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
1243
1243
  hintKey: z.ZodEffects<z.ZodObject<{
1244
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1244
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1245
1245
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1246
1246
  }, "strip", z.ZodTypeAny, {
1247
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
1247
+ root: import("@aztec/foundation/schemas").Fr;
1248
1248
  nextAvailableLeafIndex: number;
1249
1249
  }, {
1250
1250
  root: string;
@@ -1255,12 +1255,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1255
1255
  }>;
1256
1256
  treeId: z.ZodNumber;
1257
1257
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1258
- value: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
1258
+ value: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
1259
1259
  }, "strip", z.ZodTypeAny, {
1260
1260
  hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
1261
1261
  treeId: number;
1262
1262
  index: bigint;
1263
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1263
+ value: import("@aztec/foundation/schemas").Fr;
1264
1264
  }, {
1265
1265
  hintKey: {
1266
1266
  root: string;
@@ -1280,10 +1280,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1280
1280
  }>, "many">;
1281
1281
  sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
1282
1282
  hintKey: z.ZodEffects<z.ZodObject<{
1283
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1283
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1284
1284
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1285
1285
  }, "strip", z.ZodTypeAny, {
1286
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
1286
+ root: import("@aztec/foundation/schemas").Fr;
1287
1287
  nextAvailableLeafIndex: number;
1288
1288
  }, {
1289
1289
  root: string;
@@ -1293,10 +1293,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1293
1293
  nextAvailableLeafIndex: string | number | bigint;
1294
1294
  }>;
1295
1295
  stateAfter: z.ZodEffects<z.ZodObject<{
1296
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1296
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1297
1297
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1298
1298
  }, "strip", z.ZodTypeAny, {
1299
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
1299
+ root: import("@aztec/foundation/schemas").Fr;
1300
1300
  nextAvailableLeafIndex: number;
1301
1301
  }, {
1302
1302
  root: string;
@@ -1307,19 +1307,19 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1307
1307
  }>;
1308
1308
  treeId: z.ZodNumber;
1309
1309
  leaf: z.ZodEffects<z.ZodObject<{
1310
- nullifier: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1310
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1311
1311
  }, "strip", z.ZodTypeAny, {
1312
- nullifier: import("../../../foundation/dest/schemas/schemas.js").Fr;
1312
+ nullifier: import("@aztec/foundation/schemas").Fr;
1313
1313
  }, {
1314
1314
  nullifier: string;
1315
1315
  }>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
1316
1316
  nullifier: string;
1317
1317
  }> | z.ZodEffects<z.ZodObject<{
1318
- slot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1319
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1318
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1319
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1320
1320
  }, "strip", z.ZodTypeAny, {
1321
- slot: import("../../../foundation/dest/schemas/schemas.js").Fr;
1322
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1321
+ slot: import("@aztec/foundation/schemas").Fr;
1322
+ value: import("@aztec/foundation/schemas").Fr;
1323
1323
  }, {
1324
1324
  slot: string;
1325
1325
  value: string;
@@ -1330,19 +1330,19 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1330
1330
  lowLeavesWitnessData: z.ZodObject<{
1331
1331
  leaf: z.ZodEffects<z.ZodObject<{
1332
1332
  leaf: z.ZodEffects<z.ZodObject<{
1333
- nullifier: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1333
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1334
1334
  }, "strip", z.ZodTypeAny, {
1335
- nullifier: import("../../../foundation/dest/schemas/schemas.js").Fr;
1335
+ nullifier: import("@aztec/foundation/schemas").Fr;
1336
1336
  }, {
1337
1337
  nullifier: string;
1338
1338
  }>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
1339
1339
  nullifier: string;
1340
1340
  }>;
1341
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1341
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1342
1342
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1343
1343
  }, "strip", z.ZodTypeAny, {
1344
1344
  leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
1345
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1345
+ nextKey: import("@aztec/foundation/schemas").Fr;
1346
1346
  nextIndex: bigint;
1347
1347
  }, {
1348
1348
  leaf: {
@@ -1358,11 +1358,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1358
1358
  nextIndex: string | number | bigint;
1359
1359
  }> | z.ZodEffects<z.ZodObject<{
1360
1360
  leaf: z.ZodEffects<z.ZodObject<{
1361
- slot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1362
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1361
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1362
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1363
1363
  }, "strip", z.ZodTypeAny, {
1364
- slot: import("../../../foundation/dest/schemas/schemas.js").Fr;
1365
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1364
+ slot: import("@aztec/foundation/schemas").Fr;
1365
+ value: import("@aztec/foundation/schemas").Fr;
1366
1366
  }, {
1367
1367
  slot: string;
1368
1368
  value: string;
@@ -1370,11 +1370,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1370
1370
  slot: string;
1371
1371
  value: string;
1372
1372
  }>;
1373
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1373
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1374
1374
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1375
1375
  }, "strip", z.ZodTypeAny, {
1376
1376
  leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
1377
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1377
+ nextKey: import("@aztec/foundation/schemas").Fr;
1378
1378
  nextIndex: bigint;
1379
1379
  }, {
1380
1380
  leaf: {
@@ -1392,22 +1392,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1392
1392
  nextIndex: string | number | bigint;
1393
1393
  }>;
1394
1394
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1395
- path: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
1395
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
1396
1396
  }, "strip", z.ZodTypeAny, {
1397
1397
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1398
1398
  index: bigint;
1399
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1399
+ path: import("@aztec/foundation/schemas").Fr[];
1400
1400
  }, {
1401
1401
  leaf: {
1402
1402
  leaf: {
1403
- slot: string;
1404
- value: string;
1403
+ nullifier: string;
1405
1404
  };
1406
1405
  nextKey: string;
1407
1406
  nextIndex: string | number | bigint;
1408
1407
  } | {
1409
1408
  leaf: {
1410
- nullifier: string;
1409
+ slot: string;
1410
+ value: string;
1411
1411
  };
1412
1412
  nextKey: string;
1413
1413
  nextIndex: string | number | bigint;
@@ -1418,19 +1418,19 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1418
1418
  insertionWitnessData: z.ZodObject<{
1419
1419
  leaf: z.ZodEffects<z.ZodObject<{
1420
1420
  leaf: z.ZodEffects<z.ZodObject<{
1421
- nullifier: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1421
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1422
1422
  }, "strip", z.ZodTypeAny, {
1423
- nullifier: import("../../../foundation/dest/schemas/schemas.js").Fr;
1423
+ nullifier: import("@aztec/foundation/schemas").Fr;
1424
1424
  }, {
1425
1425
  nullifier: string;
1426
1426
  }>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
1427
1427
  nullifier: string;
1428
1428
  }>;
1429
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1429
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1430
1430
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1431
1431
  }, "strip", z.ZodTypeAny, {
1432
1432
  leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
1433
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1433
+ nextKey: import("@aztec/foundation/schemas").Fr;
1434
1434
  nextIndex: bigint;
1435
1435
  }, {
1436
1436
  leaf: {
@@ -1446,11 +1446,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1446
1446
  nextIndex: string | number | bigint;
1447
1447
  }> | z.ZodEffects<z.ZodObject<{
1448
1448
  leaf: z.ZodEffects<z.ZodObject<{
1449
- slot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1450
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1449
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1450
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1451
1451
  }, "strip", z.ZodTypeAny, {
1452
- slot: import("../../../foundation/dest/schemas/schemas.js").Fr;
1453
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1452
+ slot: import("@aztec/foundation/schemas").Fr;
1453
+ value: import("@aztec/foundation/schemas").Fr;
1454
1454
  }, {
1455
1455
  slot: string;
1456
1456
  value: string;
@@ -1458,11 +1458,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1458
1458
  slot: string;
1459
1459
  value: string;
1460
1460
  }>;
1461
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1461
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1462
1462
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1463
1463
  }, "strip", z.ZodTypeAny, {
1464
1464
  leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
1465
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1465
+ nextKey: import("@aztec/foundation/schemas").Fr;
1466
1466
  nextIndex: bigint;
1467
1467
  }, {
1468
1468
  leaf: {
@@ -1480,22 +1480,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1480
1480
  nextIndex: string | number | bigint;
1481
1481
  }>;
1482
1482
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1483
- path: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
1483
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
1484
1484
  }, "strip", z.ZodTypeAny, {
1485
1485
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1486
1486
  index: bigint;
1487
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1487
+ path: import("@aztec/foundation/schemas").Fr[];
1488
1488
  }, {
1489
1489
  leaf: {
1490
1490
  leaf: {
1491
- slot: string;
1492
- value: string;
1491
+ nullifier: string;
1493
1492
  };
1494
1493
  nextKey: string;
1495
1494
  nextIndex: string | number | bigint;
1496
1495
  } | {
1497
1496
  leaf: {
1498
- nullifier: string;
1497
+ slot: string;
1498
+ value: string;
1499
1499
  };
1500
1500
  nextKey: string;
1501
1501
  nextIndex: string | number | bigint;
@@ -1511,12 +1511,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1511
1511
  lowLeavesWitnessData: {
1512
1512
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1513
1513
  index: bigint;
1514
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1514
+ path: import("@aztec/foundation/schemas").Fr[];
1515
1515
  };
1516
1516
  insertionWitnessData: {
1517
1517
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1518
1518
  index: bigint;
1519
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1519
+ path: import("@aztec/foundation/schemas").Fr[];
1520
1520
  };
1521
1521
  }, {
1522
1522
  hintKey: {
@@ -1529,22 +1529,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1529
1529
  };
1530
1530
  treeId: number;
1531
1531
  leaf: {
1532
+ nullifier: string;
1533
+ } | {
1532
1534
  slot: string;
1533
1535
  value: string;
1534
- } | {
1535
- nullifier: string;
1536
1536
  };
1537
1537
  lowLeavesWitnessData: {
1538
1538
  leaf: {
1539
1539
  leaf: {
1540
- slot: string;
1541
- value: string;
1540
+ nullifier: string;
1542
1541
  };
1543
1542
  nextKey: string;
1544
1543
  nextIndex: string | number | bigint;
1545
1544
  } | {
1546
1545
  leaf: {
1547
- nullifier: string;
1546
+ slot: string;
1547
+ value: string;
1548
1548
  };
1549
1549
  nextKey: string;
1550
1550
  nextIndex: string | number | bigint;
@@ -1555,14 +1555,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1555
1555
  insertionWitnessData: {
1556
1556
  leaf: {
1557
1557
  leaf: {
1558
- slot: string;
1559
- value: string;
1558
+ nullifier: string;
1560
1559
  };
1561
1560
  nextKey: string;
1562
1561
  nextIndex: string | number | bigint;
1563
1562
  } | {
1564
1563
  leaf: {
1565
- nullifier: string;
1564
+ slot: string;
1565
+ value: string;
1566
1566
  };
1567
1567
  nextKey: string;
1568
1568
  nextIndex: string | number | bigint;
@@ -1578,12 +1578,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1578
1578
  readonly lowLeavesWitnessData: {
1579
1579
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1580
1580
  index: bigint;
1581
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1581
+ path: import("@aztec/foundation/schemas").Fr[];
1582
1582
  };
1583
1583
  readonly insertionWitnessData: {
1584
1584
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1585
1585
  index: bigint;
1586
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1586
+ path: import("@aztec/foundation/schemas").Fr[];
1587
1587
  };
1588
1588
  }, {
1589
1589
  hintKey: {
@@ -1596,22 +1596,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1596
1596
  };
1597
1597
  treeId: number;
1598
1598
  leaf: {
1599
+ nullifier: string;
1600
+ } | {
1599
1601
  slot: string;
1600
1602
  value: string;
1601
- } | {
1602
- nullifier: string;
1603
1603
  };
1604
1604
  lowLeavesWitnessData: {
1605
1605
  leaf: {
1606
1606
  leaf: {
1607
- slot: string;
1608
- value: string;
1607
+ nullifier: string;
1609
1608
  };
1610
1609
  nextKey: string;
1611
1610
  nextIndex: string | number | bigint;
1612
1611
  } | {
1613
1612
  leaf: {
1614
- nullifier: string;
1613
+ slot: string;
1614
+ value: string;
1615
1615
  };
1616
1616
  nextKey: string;
1617
1617
  nextIndex: string | number | bigint;
@@ -1622,14 +1622,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1622
1622
  insertionWitnessData: {
1623
1623
  leaf: {
1624
1624
  leaf: {
1625
- slot: string;
1626
- value: string;
1625
+ nullifier: string;
1627
1626
  };
1628
1627
  nextKey: string;
1629
1628
  nextIndex: string | number | bigint;
1630
1629
  } | {
1631
1630
  leaf: {
1632
- nullifier: string;
1631
+ slot: string;
1632
+ value: string;
1633
1633
  };
1634
1634
  nextKey: string;
1635
1635
  nextIndex: string | number | bigint;
@@ -1640,10 +1640,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1640
1640
  }>, "many">;
1641
1641
  sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodEffects<z.ZodObject<{
1642
1642
  hintKey: z.ZodEffects<z.ZodObject<{
1643
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1643
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1644
1644
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1645
1645
  }, "strip", z.ZodTypeAny, {
1646
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
1646
+ root: import("@aztec/foundation/schemas").Fr;
1647
1647
  nextAvailableLeafIndex: number;
1648
1648
  }, {
1649
1649
  root: string;
@@ -1653,10 +1653,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1653
1653
  nextAvailableLeafIndex: string | number | bigint;
1654
1654
  }>;
1655
1655
  stateAfter: z.ZodEffects<z.ZodObject<{
1656
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1656
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1657
1657
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1658
1658
  }, "strip", z.ZodTypeAny, {
1659
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
1659
+ root: import("@aztec/foundation/schemas").Fr;
1660
1660
  nextAvailableLeafIndex: number;
1661
1661
  }, {
1662
1662
  root: string;
@@ -1667,19 +1667,19 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1667
1667
  }>;
1668
1668
  treeId: z.ZodNumber;
1669
1669
  leaf: z.ZodEffects<z.ZodObject<{
1670
- nullifier: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1670
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1671
1671
  }, "strip", z.ZodTypeAny, {
1672
- nullifier: import("../../../foundation/dest/schemas/schemas.js").Fr;
1672
+ nullifier: import("@aztec/foundation/schemas").Fr;
1673
1673
  }, {
1674
1674
  nullifier: string;
1675
1675
  }>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
1676
1676
  nullifier: string;
1677
1677
  }> | z.ZodEffects<z.ZodObject<{
1678
- slot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1679
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1678
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1679
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1680
1680
  }, "strip", z.ZodTypeAny, {
1681
- slot: import("../../../foundation/dest/schemas/schemas.js").Fr;
1682
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1681
+ slot: import("@aztec/foundation/schemas").Fr;
1682
+ value: import("@aztec/foundation/schemas").Fr;
1683
1683
  }, {
1684
1684
  slot: string;
1685
1685
  value: string;
@@ -1690,19 +1690,19 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1690
1690
  lowLeavesWitnessData: z.ZodObject<{
1691
1691
  leaf: z.ZodEffects<z.ZodObject<{
1692
1692
  leaf: z.ZodEffects<z.ZodObject<{
1693
- nullifier: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1693
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1694
1694
  }, "strip", z.ZodTypeAny, {
1695
- nullifier: import("../../../foundation/dest/schemas/schemas.js").Fr;
1695
+ nullifier: import("@aztec/foundation/schemas").Fr;
1696
1696
  }, {
1697
1697
  nullifier: string;
1698
1698
  }>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
1699
1699
  nullifier: string;
1700
1700
  }>;
1701
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1701
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1702
1702
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1703
1703
  }, "strip", z.ZodTypeAny, {
1704
1704
  leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
1705
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1705
+ nextKey: import("@aztec/foundation/schemas").Fr;
1706
1706
  nextIndex: bigint;
1707
1707
  }, {
1708
1708
  leaf: {
@@ -1718,11 +1718,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1718
1718
  nextIndex: string | number | bigint;
1719
1719
  }> | z.ZodEffects<z.ZodObject<{
1720
1720
  leaf: z.ZodEffects<z.ZodObject<{
1721
- slot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1722
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1721
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1722
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1723
1723
  }, "strip", z.ZodTypeAny, {
1724
- slot: import("../../../foundation/dest/schemas/schemas.js").Fr;
1725
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1724
+ slot: import("@aztec/foundation/schemas").Fr;
1725
+ value: import("@aztec/foundation/schemas").Fr;
1726
1726
  }, {
1727
1727
  slot: string;
1728
1728
  value: string;
@@ -1730,11 +1730,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1730
1730
  slot: string;
1731
1731
  value: string;
1732
1732
  }>;
1733
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1733
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1734
1734
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1735
1735
  }, "strip", z.ZodTypeAny, {
1736
1736
  leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
1737
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1737
+ nextKey: import("@aztec/foundation/schemas").Fr;
1738
1738
  nextIndex: bigint;
1739
1739
  }, {
1740
1740
  leaf: {
@@ -1752,22 +1752,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1752
1752
  nextIndex: string | number | bigint;
1753
1753
  }>;
1754
1754
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1755
- path: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
1755
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
1756
1756
  }, "strip", z.ZodTypeAny, {
1757
1757
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1758
1758
  index: bigint;
1759
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1759
+ path: import("@aztec/foundation/schemas").Fr[];
1760
1760
  }, {
1761
1761
  leaf: {
1762
1762
  leaf: {
1763
- slot: string;
1764
- value: string;
1763
+ nullifier: string;
1765
1764
  };
1766
1765
  nextKey: string;
1767
1766
  nextIndex: string | number | bigint;
1768
1767
  } | {
1769
1768
  leaf: {
1770
- nullifier: string;
1769
+ slot: string;
1770
+ value: string;
1771
1771
  };
1772
1772
  nextKey: string;
1773
1773
  nextIndex: string | number | bigint;
@@ -1778,19 +1778,19 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1778
1778
  insertionWitnessData: z.ZodObject<{
1779
1779
  leaf: z.ZodEffects<z.ZodObject<{
1780
1780
  leaf: z.ZodEffects<z.ZodObject<{
1781
- nullifier: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1781
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1782
1782
  }, "strip", z.ZodTypeAny, {
1783
- nullifier: import("../../../foundation/dest/schemas/schemas.js").Fr;
1783
+ nullifier: import("@aztec/foundation/schemas").Fr;
1784
1784
  }, {
1785
1785
  nullifier: string;
1786
1786
  }>, import("../trees/nullifier_leaf.js").NullifierLeaf, {
1787
1787
  nullifier: string;
1788
1788
  }>;
1789
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1789
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1790
1790
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1791
1791
  }, "strip", z.ZodTypeAny, {
1792
1792
  leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
1793
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1793
+ nextKey: import("@aztec/foundation/schemas").Fr;
1794
1794
  nextIndex: bigint;
1795
1795
  }, {
1796
1796
  leaf: {
@@ -1806,11 +1806,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1806
1806
  nextIndex: string | number | bigint;
1807
1807
  }> | z.ZodEffects<z.ZodObject<{
1808
1808
  leaf: z.ZodEffects<z.ZodObject<{
1809
- slot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1810
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1809
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1810
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1811
1811
  }, "strip", z.ZodTypeAny, {
1812
- slot: import("../../../foundation/dest/schemas/schemas.js").Fr;
1813
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
1812
+ slot: import("@aztec/foundation/schemas").Fr;
1813
+ value: import("@aztec/foundation/schemas").Fr;
1814
1814
  }, {
1815
1815
  slot: string;
1816
1816
  value: string;
@@ -1818,11 +1818,11 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1818
1818
  slot: string;
1819
1819
  value: string;
1820
1820
  }>;
1821
- nextKey: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
1821
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1822
1822
  nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1823
1823
  }, "strip", z.ZodTypeAny, {
1824
1824
  leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
1825
- nextKey: import("../../../foundation/dest/schemas/schemas.js").Fr;
1825
+ nextKey: import("@aztec/foundation/schemas").Fr;
1826
1826
  nextIndex: bigint;
1827
1827
  }, {
1828
1828
  leaf: {
@@ -1840,22 +1840,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1840
1840
  nextIndex: string | number | bigint;
1841
1841
  }>;
1842
1842
  index: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
1843
- path: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
1843
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
1844
1844
  }, "strip", z.ZodTypeAny, {
1845
1845
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1846
1846
  index: bigint;
1847
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1847
+ path: import("@aztec/foundation/schemas").Fr[];
1848
1848
  }, {
1849
1849
  leaf: {
1850
1850
  leaf: {
1851
- slot: string;
1852
- value: string;
1851
+ nullifier: string;
1853
1852
  };
1854
1853
  nextKey: string;
1855
1854
  nextIndex: string | number | bigint;
1856
1855
  } | {
1857
1856
  leaf: {
1858
- nullifier: string;
1857
+ slot: string;
1858
+ value: string;
1859
1859
  };
1860
1860
  nextKey: string;
1861
1861
  nextIndex: string | number | bigint;
@@ -1871,12 +1871,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1871
1871
  lowLeavesWitnessData: {
1872
1872
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1873
1873
  index: bigint;
1874
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1874
+ path: import("@aztec/foundation/schemas").Fr[];
1875
1875
  };
1876
1876
  insertionWitnessData: {
1877
1877
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1878
1878
  index: bigint;
1879
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1879
+ path: import("@aztec/foundation/schemas").Fr[];
1880
1880
  };
1881
1881
  }, {
1882
1882
  hintKey: {
@@ -1889,22 +1889,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1889
1889
  };
1890
1890
  treeId: number;
1891
1891
  leaf: {
1892
+ nullifier: string;
1893
+ } | {
1892
1894
  slot: string;
1893
1895
  value: string;
1894
- } | {
1895
- nullifier: string;
1896
1896
  };
1897
1897
  lowLeavesWitnessData: {
1898
1898
  leaf: {
1899
1899
  leaf: {
1900
- slot: string;
1901
- value: string;
1900
+ nullifier: string;
1902
1901
  };
1903
1902
  nextKey: string;
1904
1903
  nextIndex: string | number | bigint;
1905
1904
  } | {
1906
1905
  leaf: {
1907
- nullifier: string;
1906
+ slot: string;
1907
+ value: string;
1908
1908
  };
1909
1909
  nextKey: string;
1910
1910
  nextIndex: string | number | bigint;
@@ -1915,14 +1915,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1915
1915
  insertionWitnessData: {
1916
1916
  leaf: {
1917
1917
  leaf: {
1918
- slot: string;
1919
- value: string;
1918
+ nullifier: string;
1920
1919
  };
1921
1920
  nextKey: string;
1922
1921
  nextIndex: string | number | bigint;
1923
1922
  } | {
1924
1923
  leaf: {
1925
- nullifier: string;
1924
+ slot: string;
1925
+ value: string;
1926
1926
  };
1927
1927
  nextKey: string;
1928
1928
  nextIndex: string | number | bigint;
@@ -1938,12 +1938,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1938
1938
  readonly lowLeavesWitnessData: {
1939
1939
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1940
1940
  index: bigint;
1941
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1941
+ path: import("@aztec/foundation/schemas").Fr[];
1942
1942
  };
1943
1943
  readonly insertionWitnessData: {
1944
1944
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
1945
1945
  index: bigint;
1946
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
1946
+ path: import("@aztec/foundation/schemas").Fr[];
1947
1947
  };
1948
1948
  }, {
1949
1949
  hintKey: {
@@ -1956,22 +1956,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1956
1956
  };
1957
1957
  treeId: number;
1958
1958
  leaf: {
1959
+ nullifier: string;
1960
+ } | {
1959
1961
  slot: string;
1960
1962
  value: string;
1961
- } | {
1962
- nullifier: string;
1963
1963
  };
1964
1964
  lowLeavesWitnessData: {
1965
1965
  leaf: {
1966
1966
  leaf: {
1967
- slot: string;
1968
- value: string;
1967
+ nullifier: string;
1969
1968
  };
1970
1969
  nextKey: string;
1971
1970
  nextIndex: string | number | bigint;
1972
1971
  } | {
1973
1972
  leaf: {
1974
- nullifier: string;
1973
+ slot: string;
1974
+ value: string;
1975
1975
  };
1976
1976
  nextKey: string;
1977
1977
  nextIndex: string | number | bigint;
@@ -1982,14 +1982,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1982
1982
  insertionWitnessData: {
1983
1983
  leaf: {
1984
1984
  leaf: {
1985
- slot: string;
1986
- value: string;
1985
+ nullifier: string;
1987
1986
  };
1988
1987
  nextKey: string;
1989
1988
  nextIndex: string | number | bigint;
1990
1989
  } | {
1991
1990
  leaf: {
1992
- nullifier: string;
1991
+ slot: string;
1992
+ value: string;
1993
1993
  };
1994
1994
  nextKey: string;
1995
1995
  nextIndex: string | number | bigint;
@@ -2000,10 +2000,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2000
2000
  }>, "many">;
2001
2001
  appendLeavesHints: z.ZodArray<z.ZodEffects<z.ZodObject<{
2002
2002
  hintKey: z.ZodEffects<z.ZodObject<{
2003
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2003
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2004
2004
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2005
2005
  }, "strip", z.ZodTypeAny, {
2006
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2006
+ root: import("@aztec/foundation/schemas").Fr;
2007
2007
  nextAvailableLeafIndex: number;
2008
2008
  }, {
2009
2009
  root: string;
@@ -2013,10 +2013,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2013
2013
  nextAvailableLeafIndex: string | number | bigint;
2014
2014
  }>;
2015
2015
  stateAfter: z.ZodEffects<z.ZodObject<{
2016
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2016
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2017
2017
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2018
2018
  }, "strip", z.ZodTypeAny, {
2019
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2019
+ root: import("@aztec/foundation/schemas").Fr;
2020
2020
  nextAvailableLeafIndex: number;
2021
2021
  }, {
2022
2022
  root: string;
@@ -2026,12 +2026,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2026
2026
  nextAvailableLeafIndex: string | number | bigint;
2027
2027
  }>;
2028
2028
  treeId: z.ZodNumber;
2029
- leaves: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>, "many">;
2029
+ leaves: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>, "many">;
2030
2030
  }, "strip", z.ZodTypeAny, {
2031
2031
  hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2032
2032
  stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
2033
2033
  treeId: number;
2034
- leaves: import("../../../foundation/dest/schemas/schemas.js").Fr[];
2034
+ leaves: import("@aztec/foundation/schemas").Fr[];
2035
2035
  }, {
2036
2036
  hintKey: {
2037
2037
  root: string;
@@ -2103,10 +2103,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2103
2103
  newCheckpointId: z.ZodNumber;
2104
2104
  stateBefore: z.ZodEffects<z.ZodObject<{
2105
2105
  l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
2106
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2106
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2107
2107
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2108
2108
  }, "strip", z.ZodTypeAny, {
2109
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2109
+ root: import("@aztec/foundation/schemas").Fr;
2110
2110
  nextAvailableLeafIndex: number;
2111
2111
  }, {
2112
2112
  root: string;
@@ -2116,10 +2116,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2116
2116
  nextAvailableLeafIndex: string | number | bigint;
2117
2117
  }>;
2118
2118
  noteHashTree: z.ZodEffects<z.ZodObject<{
2119
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2119
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2120
2120
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2121
2121
  }, "strip", z.ZodTypeAny, {
2122
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2122
+ root: import("@aztec/foundation/schemas").Fr;
2123
2123
  nextAvailableLeafIndex: number;
2124
2124
  }, {
2125
2125
  root: string;
@@ -2129,10 +2129,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2129
2129
  nextAvailableLeafIndex: string | number | bigint;
2130
2130
  }>;
2131
2131
  nullifierTree: z.ZodEffects<z.ZodObject<{
2132
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2132
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2133
2133
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2134
2134
  }, "strip", z.ZodTypeAny, {
2135
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2135
+ root: import("@aztec/foundation/schemas").Fr;
2136
2136
  nextAvailableLeafIndex: number;
2137
2137
  }, {
2138
2138
  root: string;
@@ -2142,10 +2142,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2142
2142
  nextAvailableLeafIndex: string | number | bigint;
2143
2143
  }>;
2144
2144
  publicDataTree: z.ZodEffects<z.ZodObject<{
2145
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2145
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2146
2146
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2147
2147
  }, "strip", z.ZodTypeAny, {
2148
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2148
+ root: import("@aztec/foundation/schemas").Fr;
2149
2149
  nextAvailableLeafIndex: number;
2150
2150
  }, {
2151
2151
  root: string;
@@ -2196,10 +2196,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2196
2196
  }>;
2197
2197
  stateAfter: z.ZodEffects<z.ZodObject<{
2198
2198
  l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
2199
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2199
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2200
2200
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2201
2201
  }, "strip", z.ZodTypeAny, {
2202
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2202
+ root: import("@aztec/foundation/schemas").Fr;
2203
2203
  nextAvailableLeafIndex: number;
2204
2204
  }, {
2205
2205
  root: string;
@@ -2209,10 +2209,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2209
2209
  nextAvailableLeafIndex: string | number | bigint;
2210
2210
  }>;
2211
2211
  noteHashTree: z.ZodEffects<z.ZodObject<{
2212
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2212
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2213
2213
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2214
2214
  }, "strip", z.ZodTypeAny, {
2215
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2215
+ root: import("@aztec/foundation/schemas").Fr;
2216
2216
  nextAvailableLeafIndex: number;
2217
2217
  }, {
2218
2218
  root: string;
@@ -2222,10 +2222,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2222
2222
  nextAvailableLeafIndex: string | number | bigint;
2223
2223
  }>;
2224
2224
  nullifierTree: z.ZodEffects<z.ZodObject<{
2225
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2225
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2226
2226
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2227
2227
  }, "strip", z.ZodTypeAny, {
2228
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2228
+ root: import("@aztec/foundation/schemas").Fr;
2229
2229
  nextAvailableLeafIndex: number;
2230
2230
  }, {
2231
2231
  root: string;
@@ -2235,10 +2235,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2235
2235
  nextAvailableLeafIndex: string | number | bigint;
2236
2236
  }>;
2237
2237
  publicDataTree: z.ZodEffects<z.ZodObject<{
2238
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
2238
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
2239
2239
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
2240
2240
  }, "strip", z.ZodTypeAny, {
2241
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
2241
+ root: import("@aztec/foundation/schemas").Fr;
2242
2242
  nextAvailableLeafIndex: number;
2243
2243
  }, {
2244
2244
  root: string;
@@ -2419,12 +2419,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2419
2419
  readonly lowLeavesWitnessData: {
2420
2420
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
2421
2421
  index: bigint;
2422
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
2422
+ path: import("@aztec/foundation/schemas").Fr[];
2423
2423
  };
2424
2424
  readonly insertionWitnessData: {
2425
2425
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
2426
2426
  index: bigint;
2427
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
2427
+ path: import("@aztec/foundation/schemas").Fr[];
2428
2428
  };
2429
2429
  }[];
2430
2430
  sequentialInsertHintsNullifierTree: {
@@ -2435,12 +2435,12 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2435
2435
  readonly lowLeavesWitnessData: {
2436
2436
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
2437
2437
  index: bigint;
2438
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
2438
+ path: import("@aztec/foundation/schemas").Fr[];
2439
2439
  };
2440
2440
  readonly insertionWitnessData: {
2441
2441
  leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
2442
2442
  index: bigint;
2443
- path: import("../../../foundation/dest/schemas/schemas.js").Fr[];
2443
+ path: import("@aztec/foundation/schemas").Fr[];
2444
2444
  };
2445
2445
  }[];
2446
2446
  appendLeavesHints: import("./avm.js").AvmAppendLeavesHint[];
@@ -2645,14 +2645,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2645
2645
  index: string | number | bigint;
2646
2646
  leafPreimage: {
2647
2647
  leaf: {
2648
- slot: string;
2649
- value: string;
2648
+ nullifier: string;
2650
2649
  };
2651
2650
  nextKey: string;
2652
2651
  nextIndex: string | number | bigint;
2653
2652
  } | {
2654
2653
  leaf: {
2655
- nullifier: string;
2654
+ slot: string;
2655
+ value: string;
2656
2656
  };
2657
2657
  nextKey: string;
2658
2658
  nextIndex: string | number | bigint;
@@ -2666,14 +2666,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2666
2666
  index: string | number | bigint;
2667
2667
  leafPreimage: {
2668
2668
  leaf: {
2669
- slot: string;
2670
- value: string;
2669
+ nullifier: string;
2671
2670
  };
2672
2671
  nextKey: string;
2673
2672
  nextIndex: string | number | bigint;
2674
2673
  } | {
2675
2674
  leaf: {
2676
- nullifier: string;
2675
+ slot: string;
2676
+ value: string;
2677
2677
  };
2678
2678
  nextKey: string;
2679
2679
  nextIndex: string | number | bigint;
@@ -2699,22 +2699,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2699
2699
  };
2700
2700
  treeId: number;
2701
2701
  leaf: {
2702
+ nullifier: string;
2703
+ } | {
2702
2704
  slot: string;
2703
2705
  value: string;
2704
- } | {
2705
- nullifier: string;
2706
2706
  };
2707
2707
  lowLeavesWitnessData: {
2708
2708
  leaf: {
2709
2709
  leaf: {
2710
- slot: string;
2711
- value: string;
2710
+ nullifier: string;
2712
2711
  };
2713
2712
  nextKey: string;
2714
2713
  nextIndex: string | number | bigint;
2715
2714
  } | {
2716
2715
  leaf: {
2717
- nullifier: string;
2716
+ slot: string;
2717
+ value: string;
2718
2718
  };
2719
2719
  nextKey: string;
2720
2720
  nextIndex: string | number | bigint;
@@ -2725,14 +2725,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2725
2725
  insertionWitnessData: {
2726
2726
  leaf: {
2727
2727
  leaf: {
2728
- slot: string;
2729
- value: string;
2728
+ nullifier: string;
2730
2729
  };
2731
2730
  nextKey: string;
2732
2731
  nextIndex: string | number | bigint;
2733
2732
  } | {
2734
2733
  leaf: {
2735
- nullifier: string;
2734
+ slot: string;
2735
+ value: string;
2736
2736
  };
2737
2737
  nextKey: string;
2738
2738
  nextIndex: string | number | bigint;
@@ -2752,22 +2752,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2752
2752
  };
2753
2753
  treeId: number;
2754
2754
  leaf: {
2755
+ nullifier: string;
2756
+ } | {
2755
2757
  slot: string;
2756
2758
  value: string;
2757
- } | {
2758
- nullifier: string;
2759
2759
  };
2760
2760
  lowLeavesWitnessData: {
2761
2761
  leaf: {
2762
2762
  leaf: {
2763
- slot: string;
2764
- value: string;
2763
+ nullifier: string;
2765
2764
  };
2766
2765
  nextKey: string;
2767
2766
  nextIndex: string | number | bigint;
2768
2767
  } | {
2769
2768
  leaf: {
2770
- nullifier: string;
2769
+ slot: string;
2770
+ value: string;
2771
2771
  };
2772
2772
  nextKey: string;
2773
2773
  nextIndex: string | number | bigint;
@@ -2778,14 +2778,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
2778
2778
  insertionWitnessData: {
2779
2779
  leaf: {
2780
2780
  leaf: {
2781
- slot: string;
2782
- value: string;
2781
+ nullifier: string;
2783
2782
  };
2784
2783
  nextKey: string;
2785
2784
  nextIndex: string | number | bigint;
2786
2785
  } | {
2787
2786
  leaf: {
2788
- nullifier: string;
2787
+ slot: string;
2788
+ value: string;
2789
2789
  };
2790
2790
  nextKey: string;
2791
2791
  nextIndex: string | number | bigint;
@@ -3047,14 +3047,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3047
3047
  index: string | number | bigint;
3048
3048
  leafPreimage: {
3049
3049
  leaf: {
3050
- slot: string;
3051
- value: string;
3050
+ nullifier: string;
3052
3051
  };
3053
3052
  nextKey: string;
3054
3053
  nextIndex: string | number | bigint;
3055
3054
  } | {
3056
3055
  leaf: {
3057
- nullifier: string;
3056
+ slot: string;
3057
+ value: string;
3058
3058
  };
3059
3059
  nextKey: string;
3060
3060
  nextIndex: string | number | bigint;
@@ -3068,14 +3068,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3068
3068
  index: string | number | bigint;
3069
3069
  leafPreimage: {
3070
3070
  leaf: {
3071
- slot: string;
3072
- value: string;
3071
+ nullifier: string;
3073
3072
  };
3074
3073
  nextKey: string;
3075
3074
  nextIndex: string | number | bigint;
3076
3075
  } | {
3077
3076
  leaf: {
3078
- nullifier: string;
3077
+ slot: string;
3078
+ value: string;
3079
3079
  };
3080
3080
  nextKey: string;
3081
3081
  nextIndex: string | number | bigint;
@@ -3101,22 +3101,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3101
3101
  };
3102
3102
  treeId: number;
3103
3103
  leaf: {
3104
+ nullifier: string;
3105
+ } | {
3104
3106
  slot: string;
3105
3107
  value: string;
3106
- } | {
3107
- nullifier: string;
3108
3108
  };
3109
3109
  lowLeavesWitnessData: {
3110
3110
  leaf: {
3111
3111
  leaf: {
3112
- slot: string;
3113
- value: string;
3112
+ nullifier: string;
3114
3113
  };
3115
3114
  nextKey: string;
3116
3115
  nextIndex: string | number | bigint;
3117
3116
  } | {
3118
3117
  leaf: {
3119
- nullifier: string;
3118
+ slot: string;
3119
+ value: string;
3120
3120
  };
3121
3121
  nextKey: string;
3122
3122
  nextIndex: string | number | bigint;
@@ -3127,14 +3127,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3127
3127
  insertionWitnessData: {
3128
3128
  leaf: {
3129
3129
  leaf: {
3130
- slot: string;
3131
- value: string;
3130
+ nullifier: string;
3132
3131
  };
3133
3132
  nextKey: string;
3134
3133
  nextIndex: string | number | bigint;
3135
3134
  } | {
3136
3135
  leaf: {
3137
- nullifier: string;
3136
+ slot: string;
3137
+ value: string;
3138
3138
  };
3139
3139
  nextKey: string;
3140
3140
  nextIndex: string | number | bigint;
@@ -3154,22 +3154,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3154
3154
  };
3155
3155
  treeId: number;
3156
3156
  leaf: {
3157
+ nullifier: string;
3158
+ } | {
3157
3159
  slot: string;
3158
3160
  value: string;
3159
- } | {
3160
- nullifier: string;
3161
3161
  };
3162
3162
  lowLeavesWitnessData: {
3163
3163
  leaf: {
3164
3164
  leaf: {
3165
- slot: string;
3166
- value: string;
3165
+ nullifier: string;
3167
3166
  };
3168
3167
  nextKey: string;
3169
3168
  nextIndex: string | number | bigint;
3170
3169
  } | {
3171
3170
  leaf: {
3172
- nullifier: string;
3171
+ slot: string;
3172
+ value: string;
3173
3173
  };
3174
3174
  nextKey: string;
3175
3175
  nextIndex: string | number | bigint;
@@ -3180,14 +3180,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3180
3180
  insertionWitnessData: {
3181
3181
  leaf: {
3182
3182
  leaf: {
3183
- slot: string;
3184
- value: string;
3183
+ nullifier: string;
3185
3184
  };
3186
3185
  nextKey: string;
3187
3186
  nextIndex: string | number | bigint;
3188
3187
  } | {
3189
3188
  leaf: {
3190
- nullifier: string;
3189
+ slot: string;
3190
+ value: string;
3191
3191
  };
3192
3192
  nextKey: string;
3193
3193
  nextIndex: string | number | bigint;
@@ -3262,13 +3262,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3262
3262
  }>;
3263
3263
  publicInputs: z.ZodEffects<z.ZodObject<{
3264
3264
  globalVariables: z.ZodEffects<z.ZodObject<{
3265
- chainId: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
3266
- version: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/schemas/schemas.js").Fr>;
3267
- blockNumber: z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, import("../../../foundation/dest/branded-types/block_number.js").BlockNumber, string | number | bigint>;
3268
- slotNumber: import("../schemas/schemas.js").ZodFor<import("../../../foundation/dest/branded-types/slot.js").SlotNumber>;
3265
+ chainId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
3266
+ version: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
3267
+ blockNumber: z.ZodEffects<z.ZodPipeline<z.ZodUnion<[z.ZodNumber, z.ZodBigInt, z.ZodString]>, z.ZodNumber>, import("@aztec/foundation/branded-types").BlockNumber, string | number | bigint>;
3268
+ slotNumber: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").SlotNumber>;
3269
3269
  timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3270
- coinbase: import("../schemas/schemas.js").ZodFor<import("../block/index.js").EthAddress>;
3271
- feeRecipient: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3270
+ coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/eth-address").EthAddress>;
3271
+ feeRecipient: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3272
3272
  gasFees: z.ZodEffects<z.ZodObject<{
3273
3273
  feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
3274
3274
  feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
@@ -3283,8 +3283,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3283
3283
  feePerL2Gas: string | number | bigint;
3284
3284
  }>;
3285
3285
  }, "strip", z.ZodTypeAny, {
3286
- chainId: import("../../../foundation/dest/schemas/schemas.js").Fr;
3287
- version: import("../../../foundation/dest/schemas/schemas.js").Fr;
3286
+ chainId: import("@aztec/foundation/schemas").Fr;
3287
+ version: import("@aztec/foundation/schemas").Fr;
3288
3288
  blockNumber: number & {
3289
3289
  _branding: "BlockNumber";
3290
3290
  };
@@ -3292,7 +3292,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3292
3292
  _branding: "SlotNumber";
3293
3293
  };
3294
3294
  timestamp: bigint;
3295
- coinbase: import("../block/index.js").EthAddress;
3295
+ coinbase: import("@aztec/foundation/eth-address").EthAddress;
3296
3296
  feeRecipient: import("../aztec-address/index.js").AztecAddress;
3297
3297
  gasFees: import("../gas/gas_fees.js").GasFees;
3298
3298
  }, {
@@ -3321,7 +3321,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3321
3321
  };
3322
3322
  }>;
3323
3323
  protocolContracts: z.ZodEffects<z.ZodObject<{
3324
- derivedAddresses: z.ZodArray<import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>, "many">;
3324
+ derivedAddresses: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>, "many">;
3325
3325
  }, "strip", z.ZodTypeAny, {
3326
3326
  derivedAddresses: import("../aztec-address/index.js").AztecAddress[];
3327
3327
  }, {
@@ -3331,10 +3331,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3331
3331
  }>;
3332
3332
  startTreeSnapshots: z.ZodEffects<z.ZodObject<{
3333
3333
  l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
3334
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3334
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3335
3335
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
3336
3336
  }, "strip", z.ZodTypeAny, {
3337
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
3337
+ root: import("@aztec/foundation/schemas").Fr;
3338
3338
  nextAvailableLeafIndex: number;
3339
3339
  }, {
3340
3340
  root: string;
@@ -3344,10 +3344,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3344
3344
  nextAvailableLeafIndex: string | number | bigint;
3345
3345
  }>;
3346
3346
  noteHashTree: z.ZodEffects<z.ZodObject<{
3347
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3347
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3348
3348
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
3349
3349
  }, "strip", z.ZodTypeAny, {
3350
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
3350
+ root: import("@aztec/foundation/schemas").Fr;
3351
3351
  nextAvailableLeafIndex: number;
3352
3352
  }, {
3353
3353
  root: string;
@@ -3357,10 +3357,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3357
3357
  nextAvailableLeafIndex: string | number | bigint;
3358
3358
  }>;
3359
3359
  nullifierTree: z.ZodEffects<z.ZodObject<{
3360
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3360
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3361
3361
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
3362
3362
  }, "strip", z.ZodTypeAny, {
3363
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
3363
+ root: import("@aztec/foundation/schemas").Fr;
3364
3364
  nextAvailableLeafIndex: number;
3365
3365
  }, {
3366
3366
  root: string;
@@ -3370,10 +3370,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3370
3370
  nextAvailableLeafIndex: string | number | bigint;
3371
3371
  }>;
3372
3372
  publicDataTree: z.ZodEffects<z.ZodObject<{
3373
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3373
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3374
3374
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
3375
3375
  }, "strip", z.ZodTypeAny, {
3376
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
3376
+ root: import("@aztec/foundation/schemas").Fr;
3377
3377
  nextAvailableLeafIndex: number;
3378
3378
  }, {
3379
3379
  root: string;
@@ -3541,8 +3541,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3541
3541
  feePerDaGas: string | number | bigint;
3542
3542
  feePerL2Gas: string | number | bigint;
3543
3543
  }>;
3544
- feePayer: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3545
- proverId: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3544
+ feePayer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3545
+ proverId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3546
3546
  publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
3547
3547
  setupCalls: z.ZodNumber;
3548
3548
  appLogicCalls: z.ZodNumber;
@@ -3561,15 +3561,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3561
3561
  teardownCall: boolean;
3562
3562
  }>;
3563
3563
  publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
3564
- msgSender: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3565
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3564
+ msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3565
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3566
3566
  isStaticCall: z.ZodBoolean;
3567
- calldataHash: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3567
+ calldataHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3568
3568
  }, "strip", z.ZodTypeAny, {
3569
3569
  msgSender: import("../aztec-address/index.js").AztecAddress;
3570
3570
  contractAddress: import("../aztec-address/index.js").AztecAddress;
3571
3571
  isStaticCall: boolean;
3572
- calldataHash: import("../../../foundation/dest/schemas/schemas.js").Fr;
3572
+ calldataHash: import("@aztec/foundation/schemas").Fr;
3573
3573
  }, {
3574
3574
  msgSender?: any;
3575
3575
  contractAddress?: any;
@@ -3582,15 +3582,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3582
3582
  calldataHash: string;
3583
3583
  }>, "many">;
3584
3584
  publicAppLogicCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
3585
- msgSender: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3586
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3585
+ msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3586
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3587
3587
  isStaticCall: z.ZodBoolean;
3588
- calldataHash: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3588
+ calldataHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3589
3589
  }, "strip", z.ZodTypeAny, {
3590
3590
  msgSender: import("../aztec-address/index.js").AztecAddress;
3591
3591
  contractAddress: import("../aztec-address/index.js").AztecAddress;
3592
3592
  isStaticCall: boolean;
3593
- calldataHash: import("../../../foundation/dest/schemas/schemas.js").Fr;
3593
+ calldataHash: import("@aztec/foundation/schemas").Fr;
3594
3594
  }, {
3595
3595
  msgSender?: any;
3596
3596
  contractAddress?: any;
@@ -3603,15 +3603,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3603
3603
  calldataHash: string;
3604
3604
  }>, "many">;
3605
3605
  publicTeardownCallRequest: z.ZodEffects<z.ZodObject<{
3606
- msgSender: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3607
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3606
+ msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3607
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3608
3608
  isStaticCall: z.ZodBoolean;
3609
- calldataHash: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3609
+ calldataHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3610
3610
  }, "strip", z.ZodTypeAny, {
3611
3611
  msgSender: import("../aztec-address/index.js").AztecAddress;
3612
3612
  contractAddress: import("../aztec-address/index.js").AztecAddress;
3613
3613
  isStaticCall: boolean;
3614
- calldataHash: import("../../../foundation/dest/schemas/schemas.js").Fr;
3614
+ calldataHash: import("@aztec/foundation/schemas").Fr;
3615
3615
  }, {
3616
3616
  msgSender?: any;
3617
3617
  contractAddress?: any;
@@ -3658,15 +3658,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3658
3658
  l2ToL1Msgs: string | number | bigint;
3659
3659
  }>;
3660
3660
  previousNonRevertibleAccumulatedData: z.ZodEffects<z.ZodObject<{
3661
- noteHashes: z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">;
3662
- nullifiers: z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">;
3661
+ noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3662
+ nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3663
3663
  l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
3664
3664
  message: z.ZodEffects<z.ZodObject<{
3665
- recipient: z.ZodType<import("../block/index.js").EthAddress, any, string>;
3666
- content: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3665
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, any, string>;
3666
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3667
3667
  }, "strip", z.ZodTypeAny, {
3668
- recipient: import("../block/index.js").EthAddress;
3669
- content: import("../../../foundation/dest/schemas/schemas.js").Fr;
3668
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
3669
+ content: import("@aztec/foundation/schemas").Fr;
3670
3670
  }, {
3671
3671
  recipient: string;
3672
3672
  content: string;
@@ -3674,7 +3674,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3674
3674
  recipient: string;
3675
3675
  content: string;
3676
3676
  }>;
3677
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3677
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3678
3678
  }, "strip", z.ZodTypeAny, {
3679
3679
  message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
3680
3680
  contractAddress: import("../aztec-address/index.js").AztecAddress;
@@ -3692,8 +3692,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3692
3692
  contractAddress?: any;
3693
3693
  }>, "many">;
3694
3694
  }, "strip", z.ZodTypeAny, {
3695
- noteHashes: import("../../../foundation/dest/schemas/schemas.js").Fr[];
3696
- nullifiers: import("../../../foundation/dest/schemas/schemas.js").Fr[];
3695
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
3696
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
3697
3697
  l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
3698
3698
  }, {
3699
3699
  noteHashes: string[];
@@ -3717,15 +3717,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3717
3717
  }[];
3718
3718
  }>;
3719
3719
  previousRevertibleAccumulatedData: z.ZodEffects<z.ZodObject<{
3720
- noteHashes: z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">;
3721
- nullifiers: z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">;
3720
+ noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3721
+ nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3722
3722
  l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
3723
3723
  message: z.ZodEffects<z.ZodObject<{
3724
- recipient: z.ZodType<import("../block/index.js").EthAddress, any, string>;
3725
- content: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3724
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, any, string>;
3725
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3726
3726
  }, "strip", z.ZodTypeAny, {
3727
- recipient: import("../block/index.js").EthAddress;
3728
- content: import("../../../foundation/dest/schemas/schemas.js").Fr;
3727
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
3728
+ content: import("@aztec/foundation/schemas").Fr;
3729
3729
  }, {
3730
3730
  recipient: string;
3731
3731
  content: string;
@@ -3733,7 +3733,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3733
3733
  recipient: string;
3734
3734
  content: string;
3735
3735
  }>;
3736
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3736
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3737
3737
  }, "strip", z.ZodTypeAny, {
3738
3738
  message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
3739
3739
  contractAddress: import("../aztec-address/index.js").AztecAddress;
@@ -3751,8 +3751,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3751
3751
  contractAddress?: any;
3752
3752
  }>, "many">;
3753
3753
  }, "strip", z.ZodTypeAny, {
3754
- noteHashes: import("../../../foundation/dest/schemas/schemas.js").Fr[];
3755
- nullifiers: import("../../../foundation/dest/schemas/schemas.js").Fr[];
3754
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
3755
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
3756
3756
  l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
3757
3757
  }, {
3758
3758
  noteHashes: string[];
@@ -3777,10 +3777,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3777
3777
  }>;
3778
3778
  endTreeSnapshots: z.ZodEffects<z.ZodObject<{
3779
3779
  l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
3780
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3780
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3781
3781
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
3782
3782
  }, "strip", z.ZodTypeAny, {
3783
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
3783
+ root: import("@aztec/foundation/schemas").Fr;
3784
3784
  nextAvailableLeafIndex: number;
3785
3785
  }, {
3786
3786
  root: string;
@@ -3790,10 +3790,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3790
3790
  nextAvailableLeafIndex: string | number | bigint;
3791
3791
  }>;
3792
3792
  noteHashTree: z.ZodEffects<z.ZodObject<{
3793
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3793
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3794
3794
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
3795
3795
  }, "strip", z.ZodTypeAny, {
3796
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
3796
+ root: import("@aztec/foundation/schemas").Fr;
3797
3797
  nextAvailableLeafIndex: number;
3798
3798
  }, {
3799
3799
  root: string;
@@ -3803,10 +3803,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3803
3803
  nextAvailableLeafIndex: string | number | bigint;
3804
3804
  }>;
3805
3805
  nullifierTree: z.ZodEffects<z.ZodObject<{
3806
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3806
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3807
3807
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
3808
3808
  }, "strip", z.ZodTypeAny, {
3809
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
3809
+ root: import("@aztec/foundation/schemas").Fr;
3810
3810
  nextAvailableLeafIndex: number;
3811
3811
  }, {
3812
3812
  root: string;
@@ -3816,10 +3816,10 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3816
3816
  nextAvailableLeafIndex: string | number | bigint;
3817
3817
  }>;
3818
3818
  publicDataTree: z.ZodEffects<z.ZodObject<{
3819
- root: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3819
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3820
3820
  nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
3821
3821
  }, "strip", z.ZodTypeAny, {
3822
- root: import("../../../foundation/dest/schemas/schemas.js").Fr;
3822
+ root: import("@aztec/foundation/schemas").Fr;
3823
3823
  nextAvailableLeafIndex: number;
3824
3824
  }, {
3825
3825
  root: string;
@@ -3903,15 +3903,15 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3903
3903
  publicDataWrites: number;
3904
3904
  }>;
3905
3905
  accumulatedData: z.ZodEffects<z.ZodObject<{
3906
- noteHashes: z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">;
3907
- nullifiers: z.ZodArray<z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>, "many">;
3906
+ noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3907
+ nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
3908
3908
  l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
3909
3909
  message: z.ZodEffects<z.ZodObject<{
3910
- recipient: z.ZodType<import("../block/index.js").EthAddress, any, string>;
3911
- content: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3910
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, any, string>;
3911
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3912
3912
  }, "strip", z.ZodTypeAny, {
3913
- recipient: import("../block/index.js").EthAddress;
3914
- content: import("../../../foundation/dest/schemas/schemas.js").Fr;
3913
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
3914
+ content: import("@aztec/foundation/schemas").Fr;
3915
3915
  }, {
3916
3916
  recipient: string;
3917
3917
  content: string;
@@ -3919,7 +3919,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3919
3919
  recipient: string;
3920
3920
  content: string;
3921
3921
  }>;
3922
- contractAddress: import("../schemas/schemas.js").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3922
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
3923
3923
  }, "strip", z.ZodTypeAny, {
3924
3924
  message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
3925
3925
  contractAddress: import("../aztec-address/index.js").AztecAddress;
@@ -3936,13 +3936,13 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3936
3936
  };
3937
3937
  contractAddress?: any;
3938
3938
  }>, "many">;
3939
- publicLogs: import("../schemas/schemas.js").ZodFor<import("../logs/public_log.js").FlatPublicLogs>;
3939
+ publicLogs: import("@aztec/foundation/schemas").ZodFor<import("../logs/public_log.js").FlatPublicLogs>;
3940
3940
  publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
3941
- leafSlot: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3942
- value: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3941
+ leafSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3942
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3943
3943
  }, "strip", z.ZodTypeAny, {
3944
- leafSlot: import("../../../foundation/dest/schemas/schemas.js").Fr;
3945
- value: import("../../../foundation/dest/schemas/schemas.js").Fr;
3944
+ leafSlot: import("@aztec/foundation/schemas").Fr;
3945
+ value: import("@aztec/foundation/schemas").Fr;
3946
3946
  }, {
3947
3947
  leafSlot: string;
3948
3948
  value: string;
@@ -3951,8 +3951,8 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3951
3951
  value: string;
3952
3952
  }>, "many">;
3953
3953
  }, "strip", z.ZodTypeAny, {
3954
- noteHashes: import("../../../foundation/dest/schemas/schemas.js").Fr[];
3955
- nullifiers: import("../../../foundation/dest/schemas/schemas.js").Fr[];
3954
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
3955
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
3956
3956
  l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
3957
3957
  publicLogs: import("../logs/public_log.js").FlatPublicLogs;
3958
3958
  publicDataWrites: import("./public_data_write.js").PublicDataWrite[];
@@ -3987,7 +3987,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3987
3987
  value: string;
3988
3988
  }[];
3989
3989
  }>;
3990
- transactionFee: z.ZodType<import("../../../foundation/dest/schemas/schemas.js").Fr, any, string>;
3990
+ transactionFee: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
3991
3991
  reverted: z.ZodBoolean;
3992
3992
  }, "strip", z.ZodTypeAny, {
3993
3993
  globalVariables: import("../tx/global_variables.js").GlobalVariables;
@@ -3997,7 +3997,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
3997
3997
  gasSettings: import("../gas/gas_settings.js").GasSettings;
3998
3998
  effectiveGasFees: import("../gas/gas_fees.js").GasFees;
3999
3999
  feePayer: import("../aztec-address/index.js").AztecAddress;
4000
- proverId: import("../../../foundation/dest/schemas/schemas.js").Fr;
4000
+ proverId: import("@aztec/foundation/schemas").Fr;
4001
4001
  publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
4002
4002
  publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
4003
4003
  publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
@@ -4010,7 +4010,7 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4010
4010
  endGasUsed: import("../gas/gas.js").Gas;
4011
4011
  accumulatedDataArrayLengths: import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
4012
4012
  accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
4013
- transactionFee: import("../../../foundation/dest/schemas/schemas.js").Fr;
4013
+ transactionFee: import("@aztec/foundation/schemas").Fr;
4014
4014
  reverted: boolean;
4015
4015
  }, {
4016
4016
  globalVariables: {
@@ -4535,14 +4535,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4535
4535
  index: string | number | bigint;
4536
4536
  leafPreimage: {
4537
4537
  leaf: {
4538
- slot: string;
4539
- value: string;
4538
+ nullifier: string;
4540
4539
  };
4541
4540
  nextKey: string;
4542
4541
  nextIndex: string | number | bigint;
4543
4542
  } | {
4544
4543
  leaf: {
4545
- nullifier: string;
4544
+ slot: string;
4545
+ value: string;
4546
4546
  };
4547
4547
  nextKey: string;
4548
4548
  nextIndex: string | number | bigint;
@@ -4556,14 +4556,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4556
4556
  index: string | number | bigint;
4557
4557
  leafPreimage: {
4558
4558
  leaf: {
4559
- slot: string;
4560
- value: string;
4559
+ nullifier: string;
4561
4560
  };
4562
4561
  nextKey: string;
4563
4562
  nextIndex: string | number | bigint;
4564
4563
  } | {
4565
4564
  leaf: {
4566
- nullifier: string;
4565
+ slot: string;
4566
+ value: string;
4567
4567
  };
4568
4568
  nextKey: string;
4569
4569
  nextIndex: string | number | bigint;
@@ -4589,22 +4589,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4589
4589
  };
4590
4590
  treeId: number;
4591
4591
  leaf: {
4592
+ nullifier: string;
4593
+ } | {
4592
4594
  slot: string;
4593
4595
  value: string;
4594
- } | {
4595
- nullifier: string;
4596
4596
  };
4597
4597
  lowLeavesWitnessData: {
4598
4598
  leaf: {
4599
4599
  leaf: {
4600
- slot: string;
4601
- value: string;
4600
+ nullifier: string;
4602
4601
  };
4603
4602
  nextKey: string;
4604
4603
  nextIndex: string | number | bigint;
4605
4604
  } | {
4606
4605
  leaf: {
4607
- nullifier: string;
4606
+ slot: string;
4607
+ value: string;
4608
4608
  };
4609
4609
  nextKey: string;
4610
4610
  nextIndex: string | number | bigint;
@@ -4615,14 +4615,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4615
4615
  insertionWitnessData: {
4616
4616
  leaf: {
4617
4617
  leaf: {
4618
- slot: string;
4619
- value: string;
4618
+ nullifier: string;
4620
4619
  };
4621
4620
  nextKey: string;
4622
4621
  nextIndex: string | number | bigint;
4623
4622
  } | {
4624
4623
  leaf: {
4625
- nullifier: string;
4624
+ slot: string;
4625
+ value: string;
4626
4626
  };
4627
4627
  nextKey: string;
4628
4628
  nextIndex: string | number | bigint;
@@ -4642,22 +4642,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4642
4642
  };
4643
4643
  treeId: number;
4644
4644
  leaf: {
4645
+ nullifier: string;
4646
+ } | {
4645
4647
  slot: string;
4646
4648
  value: string;
4647
- } | {
4648
- nullifier: string;
4649
4649
  };
4650
4650
  lowLeavesWitnessData: {
4651
4651
  leaf: {
4652
4652
  leaf: {
4653
- slot: string;
4654
- value: string;
4653
+ nullifier: string;
4655
4654
  };
4656
4655
  nextKey: string;
4657
4656
  nextIndex: string | number | bigint;
4658
4657
  } | {
4659
4658
  leaf: {
4660
- nullifier: string;
4659
+ slot: string;
4660
+ value: string;
4661
4661
  };
4662
4662
  nextKey: string;
4663
4663
  nextIndex: string | number | bigint;
@@ -4668,14 +4668,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
4668
4668
  insertionWitnessData: {
4669
4669
  leaf: {
4670
4670
  leaf: {
4671
- slot: string;
4672
- value: string;
4671
+ nullifier: string;
4673
4672
  };
4674
4673
  nextKey: string;
4675
4674
  nextIndex: string | number | bigint;
4676
4675
  } | {
4677
4676
  leaf: {
4678
- nullifier: string;
4677
+ slot: string;
4678
+ value: string;
4679
4679
  };
4680
4680
  nextKey: string;
4681
4681
  nextIndex: string | number | bigint;
@@ -5104,14 +5104,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5104
5104
  index: string | number | bigint;
5105
5105
  leafPreimage: {
5106
5106
  leaf: {
5107
- slot: string;
5108
- value: string;
5107
+ nullifier: string;
5109
5108
  };
5110
5109
  nextKey: string;
5111
5110
  nextIndex: string | number | bigint;
5112
5111
  } | {
5113
5112
  leaf: {
5114
- nullifier: string;
5113
+ slot: string;
5114
+ value: string;
5115
5115
  };
5116
5116
  nextKey: string;
5117
5117
  nextIndex: string | number | bigint;
@@ -5125,14 +5125,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5125
5125
  index: string | number | bigint;
5126
5126
  leafPreimage: {
5127
5127
  leaf: {
5128
- slot: string;
5129
- value: string;
5128
+ nullifier: string;
5130
5129
  };
5131
5130
  nextKey: string;
5132
5131
  nextIndex: string | number | bigint;
5133
5132
  } | {
5134
5133
  leaf: {
5135
- nullifier: string;
5134
+ slot: string;
5135
+ value: string;
5136
5136
  };
5137
5137
  nextKey: string;
5138
5138
  nextIndex: string | number | bigint;
@@ -5158,22 +5158,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5158
5158
  };
5159
5159
  treeId: number;
5160
5160
  leaf: {
5161
+ nullifier: string;
5162
+ } | {
5161
5163
  slot: string;
5162
5164
  value: string;
5163
- } | {
5164
- nullifier: string;
5165
5165
  };
5166
5166
  lowLeavesWitnessData: {
5167
5167
  leaf: {
5168
5168
  leaf: {
5169
- slot: string;
5170
- value: string;
5169
+ nullifier: string;
5171
5170
  };
5172
5171
  nextKey: string;
5173
5172
  nextIndex: string | number | bigint;
5174
5173
  } | {
5175
5174
  leaf: {
5176
- nullifier: string;
5175
+ slot: string;
5176
+ value: string;
5177
5177
  };
5178
5178
  nextKey: string;
5179
5179
  nextIndex: string | number | bigint;
@@ -5184,14 +5184,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5184
5184
  insertionWitnessData: {
5185
5185
  leaf: {
5186
5186
  leaf: {
5187
- slot: string;
5188
- value: string;
5187
+ nullifier: string;
5189
5188
  };
5190
5189
  nextKey: string;
5191
5190
  nextIndex: string | number | bigint;
5192
5191
  } | {
5193
5192
  leaf: {
5194
- nullifier: string;
5193
+ slot: string;
5194
+ value: string;
5195
5195
  };
5196
5196
  nextKey: string;
5197
5197
  nextIndex: string | number | bigint;
@@ -5211,22 +5211,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5211
5211
  };
5212
5212
  treeId: number;
5213
5213
  leaf: {
5214
+ nullifier: string;
5215
+ } | {
5214
5216
  slot: string;
5215
5217
  value: string;
5216
- } | {
5217
- nullifier: string;
5218
5218
  };
5219
5219
  lowLeavesWitnessData: {
5220
5220
  leaf: {
5221
5221
  leaf: {
5222
- slot: string;
5223
- value: string;
5222
+ nullifier: string;
5224
5223
  };
5225
5224
  nextKey: string;
5226
5225
  nextIndex: string | number | bigint;
5227
5226
  } | {
5228
5227
  leaf: {
5229
- nullifier: string;
5228
+ slot: string;
5229
+ value: string;
5230
5230
  };
5231
5231
  nextKey: string;
5232
5232
  nextIndex: string | number | bigint;
@@ -5237,14 +5237,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5237
5237
  insertionWitnessData: {
5238
5238
  leaf: {
5239
5239
  leaf: {
5240
- slot: string;
5241
- value: string;
5240
+ nullifier: string;
5242
5241
  };
5243
5242
  nextKey: string;
5244
5243
  nextIndex: string | number | bigint;
5245
5244
  } | {
5246
5245
  leaf: {
5247
- nullifier: string;
5246
+ slot: string;
5247
+ value: string;
5248
5248
  };
5249
5249
  nextKey: string;
5250
5250
  nextIndex: string | number | bigint;
@@ -5679,14 +5679,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5679
5679
  index: string | number | bigint;
5680
5680
  leafPreimage: {
5681
5681
  leaf: {
5682
- slot: string;
5683
- value: string;
5682
+ nullifier: string;
5684
5683
  };
5685
5684
  nextKey: string;
5686
5685
  nextIndex: string | number | bigint;
5687
5686
  } | {
5688
5687
  leaf: {
5689
- nullifier: string;
5688
+ slot: string;
5689
+ value: string;
5690
5690
  };
5691
5691
  nextKey: string;
5692
5692
  nextIndex: string | number | bigint;
@@ -5700,14 +5700,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5700
5700
  index: string | number | bigint;
5701
5701
  leafPreimage: {
5702
5702
  leaf: {
5703
- slot: string;
5704
- value: string;
5703
+ nullifier: string;
5705
5704
  };
5706
5705
  nextKey: string;
5707
5706
  nextIndex: string | number | bigint;
5708
5707
  } | {
5709
5708
  leaf: {
5710
- nullifier: string;
5709
+ slot: string;
5710
+ value: string;
5711
5711
  };
5712
5712
  nextKey: string;
5713
5713
  nextIndex: string | number | bigint;
@@ -5733,22 +5733,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5733
5733
  };
5734
5734
  treeId: number;
5735
5735
  leaf: {
5736
+ nullifier: string;
5737
+ } | {
5736
5738
  slot: string;
5737
5739
  value: string;
5738
- } | {
5739
- nullifier: string;
5740
5740
  };
5741
5741
  lowLeavesWitnessData: {
5742
5742
  leaf: {
5743
5743
  leaf: {
5744
- slot: string;
5745
- value: string;
5744
+ nullifier: string;
5746
5745
  };
5747
5746
  nextKey: string;
5748
5747
  nextIndex: string | number | bigint;
5749
5748
  } | {
5750
5749
  leaf: {
5751
- nullifier: string;
5750
+ slot: string;
5751
+ value: string;
5752
5752
  };
5753
5753
  nextKey: string;
5754
5754
  nextIndex: string | number | bigint;
@@ -5759,14 +5759,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5759
5759
  insertionWitnessData: {
5760
5760
  leaf: {
5761
5761
  leaf: {
5762
- slot: string;
5763
- value: string;
5762
+ nullifier: string;
5764
5763
  };
5765
5764
  nextKey: string;
5766
5765
  nextIndex: string | number | bigint;
5767
5766
  } | {
5768
5767
  leaf: {
5769
- nullifier: string;
5768
+ slot: string;
5769
+ value: string;
5770
5770
  };
5771
5771
  nextKey: string;
5772
5772
  nextIndex: string | number | bigint;
@@ -5786,22 +5786,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5786
5786
  };
5787
5787
  treeId: number;
5788
5788
  leaf: {
5789
+ nullifier: string;
5790
+ } | {
5789
5791
  slot: string;
5790
5792
  value: string;
5791
- } | {
5792
- nullifier: string;
5793
5793
  };
5794
5794
  lowLeavesWitnessData: {
5795
5795
  leaf: {
5796
5796
  leaf: {
5797
- slot: string;
5798
- value: string;
5797
+ nullifier: string;
5799
5798
  };
5800
5799
  nextKey: string;
5801
5800
  nextIndex: string | number | bigint;
5802
5801
  } | {
5803
5802
  leaf: {
5804
- nullifier: string;
5803
+ slot: string;
5804
+ value: string;
5805
5805
  };
5806
5806
  nextKey: string;
5807
5807
  nextIndex: string | number | bigint;
@@ -5812,14 +5812,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
5812
5812
  insertionWitnessData: {
5813
5813
  leaf: {
5814
5814
  leaf: {
5815
- slot: string;
5816
- value: string;
5815
+ nullifier: string;
5817
5816
  };
5818
5817
  nextKey: string;
5819
5818
  nextIndex: string | number | bigint;
5820
5819
  } | {
5821
5820
  leaf: {
5822
- nullifier: string;
5821
+ slot: string;
5822
+ value: string;
5823
5823
  };
5824
5824
  nextKey: string;
5825
5825
  nextIndex: string | number | bigint;