@aztec/stdlib 0.0.0-test.1 → 0.0.1-commit.017a351

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 (1763) hide show
  1. package/dest/abi/abi.d.ts +245 -608
  2. package/dest/abi/abi.d.ts.map +1 -1
  3. package/dest/abi/abi.js +118 -61
  4. package/dest/abi/authorization_selector.d.ts +49 -0
  5. package/dest/abi/authorization_selector.d.ts.map +1 -0
  6. package/dest/abi/authorization_selector.js +71 -0
  7. package/dest/abi/buffer.d.ts +15 -7
  8. package/dest/abi/buffer.d.ts.map +1 -1
  9. package/dest/abi/buffer.js +26 -5
  10. package/dest/abi/contract_artifact.d.ts +18 -5
  11. package/dest/abi/contract_artifact.d.ts.map +1 -1
  12. package/dest/abi/contract_artifact.js +89 -59
  13. package/dest/abi/decoder.d.ts +7 -46
  14. package/dest/abi/decoder.d.ts.map +1 -1
  15. package/dest/abi/decoder.js +24 -79
  16. package/dest/abi/encoder.d.ts +2 -2
  17. package/dest/abi/encoder.d.ts.map +1 -1
  18. package/dest/abi/encoder.js +132 -9
  19. package/dest/abi/event_metadata_definition.d.ts +10 -0
  20. package/dest/abi/event_metadata_definition.d.ts.map +1 -0
  21. package/dest/abi/event_metadata_definition.js +1 -0
  22. package/dest/abi/event_selector.d.ts +5 -10
  23. package/dest/abi/event_selector.d.ts.map +1 -1
  24. package/dest/abi/event_selector.js +2 -1
  25. package/dest/abi/function_call.d.ts +29 -12
  26. package/dest/abi/function_call.d.ts.map +1 -1
  27. package/dest/abi/function_call.js +26 -5
  28. package/dest/abi/function_selector.d.ts +5 -9
  29. package/dest/abi/function_selector.d.ts.map +1 -1
  30. package/dest/abi/function_selector.js +11 -5
  31. package/dest/abi/function_signature_decoder.d.ts +43 -0
  32. package/dest/abi/function_signature_decoder.d.ts.map +1 -0
  33. package/dest/abi/function_signature_decoder.js +66 -0
  34. package/dest/abi/index.d.ts +4 -1
  35. package/dest/abi/index.d.ts.map +1 -1
  36. package/dest/abi/index.js +3 -0
  37. package/dest/abi/note_selector.d.ts +5 -10
  38. package/dest/abi/note_selector.d.ts.map +1 -1
  39. package/dest/abi/note_selector.js +3 -5
  40. package/dest/abi/selector.d.ts +3 -6
  41. package/dest/abi/selector.d.ts.map +1 -1
  42. package/dest/abi/selector.js +5 -3
  43. package/dest/abi/utils.d.ts +26 -3
  44. package/dest/abi/utils.d.ts.map +1 -1
  45. package/dest/abi/utils.js +29 -0
  46. package/dest/auth_witness/auth_witness.d.ts +25 -6
  47. package/dest/auth_witness/auth_witness.d.ts.map +1 -1
  48. package/dest/auth_witness/auth_witness.js +30 -1
  49. package/dest/auth_witness/index.d.ts +1 -1
  50. package/dest/avm/avm.d.ts +3425 -3433
  51. package/dest/avm/avm.d.ts.map +1 -1
  52. package/dest/avm/avm.js +950 -132
  53. package/dest/avm/avm_accumulated_data.d.ts +104 -94
  54. package/dest/avm/avm_accumulated_data.d.ts.map +1 -1
  55. package/dest/avm/avm_accumulated_data.js +114 -13
  56. package/dest/avm/avm_circuit_public_inputs.d.ts +248 -928
  57. package/dest/avm/avm_circuit_public_inputs.d.ts.map +1 -1
  58. package/dest/avm/avm_circuit_public_inputs.js +73 -11
  59. package/dest/avm/avm_proving_request.d.ts +1117 -2428
  60. package/dest/avm/avm_proving_request.d.ts.map +1 -1
  61. package/dest/avm/contract_storage_read.d.ts +3 -5
  62. package/dest/avm/contract_storage_read.d.ts.map +1 -1
  63. package/dest/avm/contract_storage_read.js +1 -1
  64. package/dest/avm/contract_storage_update_request.d.ts +3 -5
  65. package/dest/avm/contract_storage_update_request.d.ts.map +1 -1
  66. package/dest/avm/contract_storage_update_request.js +1 -1
  67. package/dest/avm/index.d.ts +2 -2
  68. package/dest/avm/index.d.ts.map +1 -1
  69. package/dest/avm/index.js +1 -1
  70. package/dest/avm/message_pack.d.ts +2 -3
  71. package/dest/avm/message_pack.d.ts.map +1 -1
  72. package/dest/avm/message_pack.js +52 -9
  73. package/dest/avm/public_call_stack_item_compressed.d.ts +3 -5
  74. package/dest/avm/public_call_stack_item_compressed.d.ts.map +1 -1
  75. package/dest/avm/public_call_stack_item_compressed.js +1 -1
  76. package/dest/avm/public_data_read.d.ts +3 -5
  77. package/dest/avm/public_data_read.d.ts.map +1 -1
  78. package/dest/avm/public_data_read.js +1 -1
  79. package/dest/avm/public_data_update_request.d.ts +3 -6
  80. package/dest/avm/public_data_update_request.d.ts.map +1 -1
  81. package/dest/avm/public_data_update_request.js +4 -2
  82. package/dest/avm/public_data_write.d.ts +21 -17
  83. package/dest/avm/public_data_write.d.ts.map +1 -1
  84. package/dest/avm/public_data_write.js +32 -2
  85. package/dest/avm/public_inner_call_request.d.ts +3 -6
  86. package/dest/avm/public_inner_call_request.d.ts.map +1 -1
  87. package/dest/avm/public_inner_call_request.js +4 -2
  88. package/dest/avm/revert_code.d.ts +19 -14
  89. package/dest/avm/revert_code.d.ts.map +1 -1
  90. package/dest/avm/revert_code.js +37 -27
  91. package/dest/aztec-address/index.d.ts +18 -11
  92. package/dest/aztec-address/index.d.ts.map +1 -1
  93. package/dest/aztec-address/index.js +37 -9
  94. package/dest/block/attestation_info.d.ts +33 -0
  95. package/dest/block/attestation_info.d.ts.map +1 -0
  96. package/dest/block/attestation_info.js +44 -0
  97. package/dest/block/block_data.d.ts +27 -0
  98. package/dest/block/block_data.d.ts.map +1 -0
  99. package/dest/block/block_data.js +12 -0
  100. package/dest/block/block_hash.d.ts +20 -13
  101. package/dest/block/block_hash.d.ts.map +1 -1
  102. package/dest/block/block_hash.js +26 -12
  103. package/dest/block/block_parameter.d.ts +39 -0
  104. package/dest/block/block_parameter.d.ts.map +1 -0
  105. package/dest/block/block_parameter.js +59 -0
  106. package/dest/block/body.d.ts +10 -9
  107. package/dest/block/body.d.ts.map +1 -1
  108. package/dest/block/body.js +18 -32
  109. package/dest/block/in_block.d.ts +19 -26
  110. package/dest/block/in_block.d.ts.map +1 -1
  111. package/dest/block/in_block.js +21 -12
  112. package/dest/block/index.d.ts +8 -4
  113. package/dest/block/index.d.ts.map +1 -1
  114. package/dest/block/index.js +7 -3
  115. package/dest/block/l2_block.d.ts +64 -75
  116. package/dest/block/l2_block.d.ts.map +1 -1
  117. package/dest/block/l2_block.js +102 -77
  118. package/dest/block/l2_block_info.d.ts +27 -0
  119. package/dest/block/l2_block_info.d.ts.map +1 -0
  120. package/dest/block/l2_block_info.js +42 -0
  121. package/dest/block/l2_block_source.d.ts +343 -175
  122. package/dest/block/l2_block_source.d.ts.map +1 -1
  123. package/dest/block/l2_block_source.js +102 -12
  124. package/dest/block/l2_block_stream/index.d.ts +5 -0
  125. package/dest/block/l2_block_stream/index.d.ts.map +1 -0
  126. package/dest/block/l2_block_stream/index.js +4 -0
  127. package/dest/block/l2_block_stream/interfaces.d.ts +39 -0
  128. package/dest/block/l2_block_stream/interfaces.d.ts.map +1 -0
  129. package/dest/block/l2_block_stream/l2_block_stream.d.ts +40 -0
  130. package/dest/block/l2_block_stream/l2_block_stream.d.ts.map +1 -0
  131. package/dest/block/l2_block_stream/l2_block_stream.js +309 -0
  132. package/dest/block/l2_block_stream/l2_tips_memory_store.d.ts +29 -0
  133. package/dest/block/l2_block_stream/l2_tips_memory_store.d.ts.map +1 -0
  134. package/dest/block/l2_block_stream/l2_tips_memory_store.js +69 -0
  135. package/dest/block/l2_block_stream/l2_tips_store_base.d.ts +52 -0
  136. package/dest/block/l2_block_stream/l2_tips_store_base.d.ts.map +1 -0
  137. package/dest/block/l2_block_stream/l2_tips_store_base.js +211 -0
  138. package/dest/block/proposal/attestations_and_signers.d.ts +48 -0
  139. package/dest/block/proposal/attestations_and_signers.d.ts.map +1 -0
  140. package/dest/block/proposal/attestations_and_signers.js +121 -0
  141. package/dest/block/proposal/committee_attestation.d.ts +30 -0
  142. package/dest/block/proposal/committee_attestation.d.ts.map +1 -0
  143. package/dest/block/proposal/committee_attestation.js +101 -0
  144. package/dest/block/proposal/index.d.ts +3 -0
  145. package/dest/block/proposal/index.d.ts.map +1 -0
  146. package/dest/block/proposal/index.js +2 -0
  147. package/dest/block/test/index.d.ts +2 -0
  148. package/dest/block/test/index.d.ts.map +1 -0
  149. package/dest/block/test/index.js +1 -0
  150. package/dest/block/test/l2_tips_store_test_suite.d.ts +3 -0
  151. package/dest/block/test/l2_tips_store_test_suite.d.ts.map +1 -0
  152. package/dest/block/test/l2_tips_store_test_suite.js +546 -0
  153. package/dest/block/validate_block_result.d.ts +50 -0
  154. package/dest/block/validate_block_result.d.ts.map +1 -0
  155. package/dest/block/validate_block_result.js +85 -0
  156. package/dest/checkpoint/checkpoint.d.ts +112 -0
  157. package/dest/checkpoint/checkpoint.d.ts.map +1 -0
  158. package/dest/checkpoint/checkpoint.js +137 -0
  159. package/dest/checkpoint/checkpoint_data.d.ts +97 -0
  160. package/dest/checkpoint/checkpoint_data.d.ts.map +1 -0
  161. package/dest/checkpoint/checkpoint_data.js +38 -0
  162. package/dest/checkpoint/checkpoint_info.d.ts +22 -0
  163. package/dest/checkpoint/checkpoint_info.d.ts.map +1 -0
  164. package/dest/checkpoint/checkpoint_info.js +34 -0
  165. package/dest/checkpoint/checkpoint_reexecution_tracker.d.ts +60 -0
  166. package/dest/checkpoint/checkpoint_reexecution_tracker.d.ts.map +1 -0
  167. package/dest/checkpoint/checkpoint_reexecution_tracker.js +108 -0
  168. package/dest/checkpoint/digest.d.ts +18 -0
  169. package/dest/checkpoint/digest.d.ts.map +1 -0
  170. package/dest/checkpoint/digest.js +12 -0
  171. package/dest/checkpoint/index.d.ts +9 -0
  172. package/dest/checkpoint/index.d.ts.map +1 -0
  173. package/dest/checkpoint/index.js +8 -0
  174. package/dest/checkpoint/previous_checkpoint_out_hashes.d.ts +33 -0
  175. package/dest/checkpoint/previous_checkpoint_out_hashes.d.ts.map +1 -0
  176. package/dest/checkpoint/previous_checkpoint_out_hashes.js +45 -0
  177. package/dest/checkpoint/published_checkpoint.d.ts +103 -0
  178. package/dest/checkpoint/published_checkpoint.d.ts.map +1 -0
  179. package/dest/checkpoint/published_checkpoint.js +81 -0
  180. package/dest/checkpoint/validate.d.ts +36 -0
  181. package/dest/checkpoint/validate.d.ts.map +1 -0
  182. package/dest/checkpoint/validate.js +120 -0
  183. package/dest/config/chain-config.d.ts +14 -0
  184. package/dest/config/chain-config.d.ts.map +1 -0
  185. package/dest/config/chain-config.js +28 -0
  186. package/dest/config/index.d.ts +4 -2
  187. package/dest/config/index.d.ts.map +1 -1
  188. package/dest/config/index.js +3 -1
  189. package/dest/config/node-rpc-config.d.ts +13 -0
  190. package/dest/config/node-rpc-config.d.ts.map +1 -0
  191. package/dest/config/node-rpc-config.js +24 -0
  192. package/dest/config/sequencer-config.d.ts +14 -0
  193. package/dest/config/sequencer-config.d.ts.map +1 -0
  194. package/dest/config/sequencer-config.js +38 -0
  195. package/dest/contract/artifact_hash.d.ts +8 -10
  196. package/dest/contract/artifact_hash.d.ts.map +1 -1
  197. package/dest/contract/artifact_hash.js +13 -12
  198. package/dest/contract/complete_address.d.ts +4 -5
  199. package/dest/contract/complete_address.d.ts.map +1 -1
  200. package/dest/contract/complete_address.js +7 -3
  201. package/dest/contract/contract_address.d.ts +8 -8
  202. package/dest/contract/contract_address.d.ts.map +1 -1
  203. package/dest/contract/contract_address.js +12 -11
  204. package/dest/contract/contract_class.d.ts +3 -4
  205. package/dest/contract/contract_class.d.ts.map +1 -1
  206. package/dest/contract/contract_class.js +4 -20
  207. package/dest/contract/contract_class_id.d.ts +4 -6
  208. package/dest/contract/contract_class_id.d.ts.map +1 -1
  209. package/dest/contract/contract_class_id.js +13 -10
  210. package/dest/contract/contract_deployment_data.d.ts +73 -0
  211. package/dest/contract/contract_deployment_data.d.ts.map +1 -0
  212. package/dest/contract/contract_deployment_data.js +99 -0
  213. package/dest/contract/contract_function_dao.d.ts +1 -1
  214. package/dest/contract/contract_instance.d.ts +18 -17
  215. package/dest/contract/contract_instance.d.ts.map +1 -1
  216. package/dest/contract/contract_instance.js +18 -11
  217. package/dest/contract/contract_instance_update.d.ts +5 -6
  218. package/dest/contract/contract_instance_update.d.ts.map +1 -1
  219. package/dest/contract/contract_instance_update.js +7 -7
  220. package/dest/contract/deployment_info.d.ts +2 -2
  221. package/dest/contract/deployment_info.d.ts.map +1 -1
  222. package/dest/contract/index.d.ts +2 -3
  223. package/dest/contract/index.d.ts.map +1 -1
  224. package/dest/contract/index.js +1 -2
  225. package/dest/contract/interfaces/contract_class.d.ts +37 -477
  226. package/dest/contract/interfaces/contract_class.d.ts.map +1 -1
  227. package/dest/contract/interfaces/contract_class.js +24 -39
  228. package/dest/contract/interfaces/contract_data_source.d.ts +14 -21
  229. package/dest/contract/interfaces/contract_data_source.d.ts.map +1 -1
  230. package/dest/contract/interfaces/contract_instance.d.ts +64 -109
  231. package/dest/contract/interfaces/contract_instance.d.ts.map +1 -1
  232. package/dest/contract/interfaces/contract_instance.js +33 -6
  233. package/dest/contract/interfaces/contract_instance_update.d.ts +15 -35
  234. package/dest/contract/interfaces/contract_instance_update.d.ts.map +1 -1
  235. package/dest/contract/interfaces/contract_instance_update.js +6 -6
  236. package/dest/contract/interfaces/index.d.ts +1 -1
  237. package/dest/contract/interfaces/node-info.d.ts +5 -3
  238. package/dest/contract/interfaces/node-info.d.ts.map +1 -1
  239. package/dest/contract/interfaces/node-info.js +3 -2
  240. package/dest/contract/interfaces/protocol_contract_addresses.d.ts +7 -17
  241. package/dest/contract/interfaces/protocol_contract_addresses.d.ts.map +1 -1
  242. package/dest/contract/interfaces/protocol_contract_addresses.js +4 -4
  243. package/dest/contract/partial_address.d.ts +2 -2
  244. package/dest/contract/partial_address.d.ts.map +1 -1
  245. package/dest/contract/private_function.d.ts +2 -4
  246. package/dest/contract/private_function.d.ts.map +1 -1
  247. package/dest/contract/private_function.js +7 -9
  248. package/dest/database-version/database_version.d.ts +52 -0
  249. package/dest/database-version/database_version.d.ts.map +1 -0
  250. package/dest/database-version/database_version.js +69 -0
  251. package/dest/database-version/version_manager.d.ts +24 -49
  252. package/dest/database-version/version_manager.d.ts.map +1 -1
  253. package/dest/database-version/version_manager.js +44 -75
  254. package/dest/delayed_public_mutable/delayed_public_mutable_values.d.ts +20 -0
  255. package/dest/delayed_public_mutable/delayed_public_mutable_values.d.ts.map +1 -0
  256. package/dest/delayed_public_mutable/delayed_public_mutable_values.js +75 -0
  257. package/dest/delayed_public_mutable/delayed_public_mutable_values_with_hash.d.ts +15 -0
  258. package/dest/delayed_public_mutable/delayed_public_mutable_values_with_hash.d.ts.map +1 -0
  259. package/dest/delayed_public_mutable/delayed_public_mutable_values_with_hash.js +30 -0
  260. package/dest/delayed_public_mutable/index.d.ts +5 -0
  261. package/dest/delayed_public_mutable/index.d.ts.map +1 -0
  262. package/dest/delayed_public_mutable/index.js +4 -0
  263. package/dest/delayed_public_mutable/scheduled_delay_change.d.ts +10 -0
  264. package/dest/delayed_public_mutable/scheduled_delay_change.d.ts.map +1 -0
  265. package/dest/delayed_public_mutable/scheduled_delay_change.js +16 -0
  266. package/dest/delayed_public_mutable/scheduled_value_change.d.ts +12 -0
  267. package/dest/delayed_public_mutable/scheduled_value_change.d.ts.map +1 -0
  268. package/dest/delayed_public_mutable/scheduled_value_change.js +27 -0
  269. package/dest/deserialization/index.d.ts +11 -0
  270. package/dest/deserialization/index.d.ts.map +1 -0
  271. package/dest/deserialization/index.js +10 -0
  272. package/dest/epoch-helpers/index.d.ts +42 -21
  273. package/dest/epoch-helpers/index.d.ts.map +1 -1
  274. package/dest/epoch-helpers/index.js +62 -11
  275. package/dest/errors/index.d.ts +1 -1
  276. package/dest/errors/proving_error.d.ts +1 -1
  277. package/dest/errors/proving_error.d.ts.map +1 -1
  278. package/dest/errors/simulation_error.d.ts +2 -2
  279. package/dest/errors/simulation_error.d.ts.map +1 -1
  280. package/dest/errors/simulation_error.js +2 -2
  281. package/dest/fees/index.d.ts +1 -1
  282. package/dest/fees/transaction_fee.d.ts +7 -2
  283. package/dest/fees/transaction_fee.d.ts.map +1 -1
  284. package/dest/fees/transaction_fee.js +15 -5
  285. package/dest/file-store/factory.d.ts +8 -0
  286. package/dest/file-store/factory.d.ts.map +1 -0
  287. package/dest/file-store/factory.js +64 -0
  288. package/dest/file-store/gcs.d.ts +20 -0
  289. package/dest/file-store/gcs.d.ts.map +1 -0
  290. package/dest/file-store/gcs.js +115 -0
  291. package/dest/file-store/http.d.ts +21 -0
  292. package/dest/file-store/http.d.ts.map +1 -0
  293. package/dest/file-store/http.js +85 -0
  294. package/dest/file-store/index.d.ts +4 -0
  295. package/dest/file-store/index.d.ts.map +1 -0
  296. package/dest/file-store/index.js +2 -0
  297. package/dest/file-store/interface.d.ts +28 -0
  298. package/dest/file-store/interface.d.ts.map +1 -0
  299. package/dest/file-store/interface.js +1 -0
  300. package/dest/file-store/local.d.ts +14 -0
  301. package/dest/file-store/local.d.ts.map +1 -0
  302. package/dest/file-store/local.js +49 -0
  303. package/dest/file-store/s3.d.ts +26 -0
  304. package/dest/file-store/s3.d.ts.map +1 -0
  305. package/dest/file-store/s3.js +256 -0
  306. package/dest/gas/fee_math.d.ts +49 -0
  307. package/dest/gas/fee_math.d.ts.map +1 -0
  308. package/dest/gas/fee_math.js +80 -0
  309. package/dest/gas/gas.d.ts +18 -17
  310. package/dest/gas/gas.d.ts.map +1 -1
  311. package/dest/gas/gas.js +26 -6
  312. package/dest/gas/gas_fees.d.ts +30 -25
  313. package/dest/gas/gas_fees.d.ts.map +1 -1
  314. package/dest/gas/gas_fees.js +49 -20
  315. package/dest/gas/gas_settings.d.ts +78 -92
  316. package/dest/gas/gas_settings.d.ts.map +1 -1
  317. package/dest/gas/gas_settings.js +70 -11
  318. package/dest/gas/gas_used.d.ts +13 -2
  319. package/dest/gas/gas_used.d.ts.map +1 -1
  320. package/dest/gas/gas_used.js +19 -1
  321. package/dest/gas/index.d.ts +2 -1
  322. package/dest/gas/index.d.ts.map +1 -1
  323. package/dest/gas/index.js +1 -0
  324. package/dest/ha-signing/config.d.ts +72 -0
  325. package/dest/ha-signing/config.d.ts.map +1 -0
  326. package/dest/ha-signing/config.js +88 -0
  327. package/dest/ha-signing/index.d.ts +4 -0
  328. package/dest/ha-signing/index.d.ts.map +1 -0
  329. package/dest/ha-signing/index.js +3 -0
  330. package/dest/ha-signing/local_config.d.ts +32 -0
  331. package/dest/ha-signing/local_config.d.ts.map +1 -0
  332. package/dest/ha-signing/local_config.js +24 -0
  333. package/dest/ha-signing/types.d.ts +90 -0
  334. package/dest/ha-signing/types.d.ts.map +1 -0
  335. package/dest/ha-signing/types.js +39 -0
  336. package/dest/hash/hash.d.ts +64 -10
  337. package/dest/hash/hash.d.ts.map +1 -1
  338. package/dest/hash/hash.js +112 -34
  339. package/dest/hash/index.d.ts +1 -1
  340. package/dest/hash/map_slot.d.ts +2 -2
  341. package/dest/hash/map_slot.d.ts.map +1 -1
  342. package/dest/hash/map_slot.js +4 -3
  343. package/dest/interfaces/allowed_element.d.ts +34 -0
  344. package/dest/interfaces/allowed_element.d.ts.map +1 -0
  345. package/dest/interfaces/allowed_element.js +18 -0
  346. package/dest/interfaces/api_limit.d.ts +6 -0
  347. package/dest/interfaces/api_limit.d.ts.map +1 -0
  348. package/dest/interfaces/api_limit.js +5 -0
  349. package/dest/interfaces/archiver.d.ts +45 -3
  350. package/dest/interfaces/archiver.d.ts.map +1 -1
  351. package/dest/interfaces/archiver.js +228 -44
  352. package/dest/interfaces/aztec-node-admin.d.ts +202 -0
  353. package/dest/interfaces/aztec-node-admin.d.ts.map +1 -0
  354. package/dest/interfaces/aztec-node-admin.js +88 -0
  355. package/dest/interfaces/aztec-node-debug.d.ts +21 -0
  356. package/dest/interfaces/aztec-node-debug.d.ts.map +1 -0
  357. package/dest/interfaces/aztec-node-debug.js +21 -0
  358. package/dest/interfaces/aztec-node.d.ts +190 -171
  359. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  360. package/dest/interfaces/aztec-node.js +328 -75
  361. package/dest/interfaces/block-builder.d.ts +82 -7
  362. package/dest/interfaces/block-builder.d.ts.map +1 -1
  363. package/dest/interfaces/block-builder.js +23 -1
  364. package/dest/interfaces/block_response.d.ts +90 -0
  365. package/dest/interfaces/block_response.d.ts.map +1 -0
  366. package/dest/interfaces/block_response.js +30 -0
  367. package/dest/interfaces/chain_tips.d.ts +50 -0
  368. package/dest/interfaces/chain_tips.d.ts.map +1 -0
  369. package/dest/interfaces/chain_tips.js +11 -0
  370. package/dest/interfaces/checkpoint_parameter.d.ts +14 -0
  371. package/dest/interfaces/checkpoint_parameter.d.ts.map +1 -0
  372. package/dest/interfaces/checkpoint_parameter.js +18 -0
  373. package/dest/interfaces/checkpoint_response.d.ts +122 -0
  374. package/dest/interfaces/checkpoint_response.d.ts.map +1 -0
  375. package/dest/interfaces/checkpoint_response.js +26 -0
  376. package/dest/interfaces/client.d.ts +10 -3
  377. package/dest/interfaces/client.d.ts.map +1 -1
  378. package/dest/interfaces/client.js +9 -2
  379. package/dest/interfaces/configs.d.ts +137 -117
  380. package/dest/interfaces/configs.d.ts.map +1 -1
  381. package/dest/interfaces/configs.js +40 -24
  382. package/dest/interfaces/epoch-prover.d.ts +36 -17
  383. package/dest/interfaces/epoch-prover.d.ts.map +1 -1
  384. package/dest/interfaces/l1_publish_info.d.ts +29 -0
  385. package/dest/interfaces/l1_publish_info.d.ts.map +1 -0
  386. package/dest/interfaces/l1_publish_info.js +26 -0
  387. package/dest/interfaces/l2_logs_source.d.ts +16 -29
  388. package/dest/interfaces/l2_logs_source.d.ts.map +1 -1
  389. package/dest/interfaces/l2_logs_source.js +5 -0
  390. package/dest/interfaces/merkle_tree_operations.d.ts +40 -26
  391. package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
  392. package/dest/interfaces/p2p-bootstrap.d.ts +1 -1
  393. package/dest/interfaces/p2p-bootstrap.js +8 -2
  394. package/dest/interfaces/p2p.d.ts +28 -12
  395. package/dest/interfaces/p2p.d.ts.map +1 -1
  396. package/dest/interfaces/p2p.js +31 -5
  397. package/dest/interfaces/private_kernel_prover.d.ts +66 -7
  398. package/dest/interfaces/private_kernel_prover.d.ts.map +1 -1
  399. package/dest/interfaces/processed-tx-handler.d.ts +1 -1
  400. package/dest/interfaces/prover-agent.d.ts +14 -7
  401. package/dest/interfaces/prover-agent.d.ts.map +1 -1
  402. package/dest/interfaces/prover-agent.js +18 -6
  403. package/dest/interfaces/prover-broker.d.ts +16 -1
  404. package/dest/interfaces/prover-broker.d.ts.map +1 -1
  405. package/dest/interfaces/prover-broker.js +4 -1
  406. package/dest/interfaces/prover-client.d.ts +24 -24
  407. package/dest/interfaces/prover-client.d.ts.map +1 -1
  408. package/dest/interfaces/prover-client.js +27 -10
  409. package/dest/interfaces/prover-coordination.d.ts +5 -10
  410. package/dest/interfaces/prover-coordination.d.ts.map +1 -1
  411. package/dest/interfaces/prover-coordination.js +1 -7
  412. package/dest/interfaces/prover-node.d.ts +6 -3
  413. package/dest/interfaces/prover-node.d.ts.map +1 -1
  414. package/dest/interfaces/prover-node.js +28 -9
  415. package/dest/interfaces/proving-job-source.d.ts +1 -1
  416. package/dest/interfaces/proving-job-source.js +24 -4
  417. package/dest/interfaces/proving-job.d.ts +1295 -2749
  418. package/dest/interfaces/proving-job.d.ts.map +1 -1
  419. package/dest/interfaces/proving-job.js +140 -114
  420. package/dest/interfaces/public_state_source.d.ts +8 -0
  421. package/dest/interfaces/public_state_source.d.ts.map +1 -0
  422. package/dest/interfaces/public_state_source.js +1 -0
  423. package/dest/interfaces/public_storage_override.d.ts +22 -0
  424. package/dest/interfaces/public_storage_override.d.ts.map +1 -0
  425. package/dest/interfaces/public_storage_override.js +7 -0
  426. package/dest/interfaces/server.d.ts +17 -6
  427. package/dest/interfaces/server.d.ts.map +1 -1
  428. package/dest/interfaces/server.js +16 -5
  429. package/dest/interfaces/server_circuit_prover.d.ts +48 -36
  430. package/dest/interfaces/server_circuit_prover.d.ts.map +1 -1
  431. package/dest/interfaces/service.d.ts +4 -3
  432. package/dest/interfaces/service.d.ts.map +1 -1
  433. package/dest/interfaces/slasher.d.ts +54 -0
  434. package/dest/interfaces/slasher.d.ts.map +1 -0
  435. package/dest/interfaces/slasher.js +29 -0
  436. package/dest/interfaces/tx_provider.d.ts +29 -0
  437. package/dest/interfaces/tx_provider.d.ts.map +1 -0
  438. package/dest/interfaces/tx_provider.js +1 -0
  439. package/dest/interfaces/validator.d.ts +168 -0
  440. package/dest/interfaces/validator.d.ts.map +1 -0
  441. package/dest/interfaces/validator.js +32 -0
  442. package/dest/interfaces/world_state.d.ts +40 -45
  443. package/dest/interfaces/world_state.d.ts.map +1 -1
  444. package/dest/interfaces/world_state.js +4 -3
  445. package/dest/kernel/claimed_length_array.d.ts +34 -0
  446. package/dest/kernel/claimed_length_array.d.ts.map +1 -0
  447. package/dest/kernel/claimed_length_array.js +60 -0
  448. package/dest/kernel/hiding_kernel_private_inputs.d.ts +19 -0
  449. package/dest/kernel/hiding_kernel_private_inputs.d.ts.map +1 -0
  450. package/dest/kernel/hiding_kernel_private_inputs.js +34 -0
  451. package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts +10 -9
  452. package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts.map +1 -1
  453. package/dest/kernel/hints/build_note_hash_read_request_hints.js +42 -32
  454. package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts +12 -14
  455. package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts.map +1 -1
  456. package/dest/kernel/hints/build_nullifier_read_request_hints.js +38 -42
  457. package/dest/kernel/hints/build_transient_data_hints.d.ts +8 -4
  458. package/dest/kernel/hints/build_transient_data_hints.d.ts.map +1 -1
  459. package/dest/kernel/hints/build_transient_data_hints.js +18 -13
  460. package/dest/kernel/hints/find_private_kernel_reset_dimensions.d.ts +1 -1
  461. package/dest/kernel/hints/find_private_kernel_reset_dimensions.d.ts.map +1 -1
  462. package/dest/kernel/hints/find_private_kernel_reset_dimensions.js +2 -4
  463. package/dest/kernel/hints/index.d.ts +4 -5
  464. package/dest/kernel/hints/index.d.ts.map +1 -1
  465. package/dest/kernel/hints/index.js +3 -4
  466. package/dest/kernel/hints/key_validation_hint.d.ts +5 -11
  467. package/dest/kernel/hints/key_validation_hint.d.ts.map +1 -1
  468. package/dest/kernel/hints/key_validation_hint.js +6 -8
  469. package/dest/kernel/hints/key_validation_request.d.ts +15 -12
  470. package/dest/kernel/hints/key_validation_request.d.ts.map +1 -1
  471. package/dest/kernel/hints/key_validation_request.js +21 -18
  472. package/dest/kernel/hints/key_validation_request_and_separator.d.ts +24 -0
  473. package/dest/kernel/hints/key_validation_request_and_separator.d.ts.map +1 -0
  474. package/dest/kernel/hints/key_validation_request_and_separator.js +41 -0
  475. package/dest/kernel/hints/note_hash_read_request_hints.d.ts +2 -4
  476. package/dest/kernel/hints/note_hash_read_request_hints.d.ts.map +1 -1
  477. package/dest/kernel/hints/note_hash_read_request_hints.js +5 -5
  478. package/dest/kernel/hints/nullifier_read_request_hints.d.ts +5 -6
  479. package/dest/kernel/hints/nullifier_read_request_hints.d.ts.map +1 -1
  480. package/dest/kernel/hints/nullifier_read_request_hints.js +4 -4
  481. package/dest/kernel/hints/private_kernel_reset_hints.d.ts +10 -22
  482. package/dest/kernel/hints/private_kernel_reset_hints.d.ts.map +1 -1
  483. package/dest/kernel/hints/private_kernel_reset_hints.js +13 -14
  484. package/dest/kernel/hints/read_request.d.ts +2 -4
  485. package/dest/kernel/hints/read_request.d.ts.map +1 -1
  486. package/dest/kernel/hints/read_request.js +1 -1
  487. package/dest/kernel/hints/read_request_hints.d.ts +30 -32
  488. package/dest/kernel/hints/read_request_hints.d.ts.map +1 -1
  489. package/dest/kernel/hints/read_request_hints.js +28 -28
  490. package/dest/kernel/hints/scoped_key_validation_request_and_separator.d.ts +19 -0
  491. package/dest/kernel/hints/scoped_key_validation_request_and_separator.d.ts.map +1 -0
  492. package/dest/kernel/hints/scoped_key_validation_request_and_separator.js +41 -0
  493. package/dest/kernel/hints/scoped_value_cache.d.ts +2 -2
  494. package/dest/kernel/hints/scoped_value_cache.d.ts.map +1 -1
  495. package/dest/kernel/hints/transient_data_squashing_hint.d.ts +17 -0
  496. package/dest/kernel/hints/transient_data_squashing_hint.d.ts.map +1 -0
  497. package/dest/kernel/hints/transient_data_squashing_hint.js +42 -0
  498. package/dest/kernel/hints/tree_leaf_read_request.d.ts +2 -4
  499. package/dest/kernel/hints/tree_leaf_read_request.d.ts.map +1 -1
  500. package/dest/kernel/hints/tree_leaf_read_request.js +1 -1
  501. package/dest/kernel/index.d.ts +9 -3
  502. package/dest/kernel/index.d.ts.map +1 -1
  503. package/dest/kernel/index.js +8 -2
  504. package/dest/kernel/log_hash.d.ts +34 -12
  505. package/dest/kernel/log_hash.d.ts.map +1 -1
  506. package/dest/kernel/log_hash.js +92 -19
  507. package/dest/kernel/note_hash.d.ts +2 -4
  508. package/dest/kernel/note_hash.d.ts.map +1 -1
  509. package/dest/kernel/note_hash.js +1 -1
  510. package/dest/kernel/nullifier.d.ts +4 -6
  511. package/dest/kernel/nullifier.d.ts.map +1 -1
  512. package/dest/kernel/nullifier.js +12 -12
  513. package/dest/kernel/padded_side_effects.d.ts +26 -0
  514. package/dest/kernel/padded_side_effects.d.ts.map +1 -0
  515. package/dest/kernel/padded_side_effects.js +51 -0
  516. package/dest/kernel/private_accumulated_data.d.ts +20 -21
  517. package/dest/kernel/private_accumulated_data.d.ts.map +1 -1
  518. package/dest/kernel/private_accumulated_data.js +5 -5
  519. package/dest/kernel/private_call_data.d.ts +10 -32
  520. package/dest/kernel/private_call_data.d.ts.map +1 -1
  521. package/dest/kernel/private_call_data.js +7 -19
  522. package/dest/kernel/private_call_request.d.ts +3 -5
  523. package/dest/kernel/private_call_request.d.ts.map +1 -1
  524. package/dest/kernel/private_call_request.js +2 -2
  525. package/dest/kernel/private_circuit_public_inputs.d.ts +100 -85
  526. package/dest/kernel/private_circuit_public_inputs.d.ts.map +1 -1
  527. package/dest/kernel/private_circuit_public_inputs.js +96 -66
  528. package/dest/kernel/private_context_inputs.d.ts +4 -4
  529. package/dest/kernel/private_context_inputs.d.ts.map +1 -1
  530. package/dest/kernel/private_context_inputs.js +4 -4
  531. package/dest/kernel/private_kernel_circuit_public_inputs.d.ts +26 -11
  532. package/dest/kernel/private_kernel_circuit_public_inputs.d.ts.map +1 -1
  533. package/dest/kernel/private_kernel_circuit_public_inputs.js +15 -7
  534. package/dest/kernel/private_kernel_data.d.ts +8 -29
  535. package/dest/kernel/private_kernel_data.d.ts.map +1 -1
  536. package/dest/kernel/private_kernel_data.js +8 -21
  537. package/dest/kernel/private_kernel_init_2_circuit_private_inputs.d.ts +23 -0
  538. package/dest/kernel/private_kernel_init_2_circuit_private_inputs.d.ts.map +1 -0
  539. package/dest/kernel/private_kernel_init_2_circuit_private_inputs.js +35 -0
  540. package/dest/kernel/private_kernel_init_3_circuit_private_inputs.d.ts +24 -0
  541. package/dest/kernel/private_kernel_init_3_circuit_private_inputs.d.ts.map +1 -0
  542. package/dest/kernel/private_kernel_init_3_circuit_private_inputs.js +37 -0
  543. package/dest/kernel/private_kernel_init_circuit_private_inputs.d.ts +17 -10
  544. package/dest/kernel/private_kernel_init_circuit_private_inputs.d.ts.map +1 -1
  545. package/dest/kernel/private_kernel_init_circuit_private_inputs.js +13 -8
  546. package/dest/kernel/private_kernel_inner_2_circuit_private_inputs.d.ts +16 -0
  547. package/dest/kernel/private_kernel_inner_2_circuit_private_inputs.d.ts.map +1 -0
  548. package/dest/kernel/private_kernel_inner_2_circuit_private_inputs.js +23 -0
  549. package/dest/kernel/private_kernel_inner_3_circuit_private_inputs.d.ts +17 -0
  550. package/dest/kernel/private_kernel_inner_3_circuit_private_inputs.d.ts.map +1 -0
  551. package/dest/kernel/private_kernel_inner_3_circuit_private_inputs.js +25 -0
  552. package/dest/kernel/private_kernel_inner_circuit_private_inputs.d.ts +2 -4
  553. package/dest/kernel/private_kernel_inner_circuit_private_inputs.d.ts.map +1 -1
  554. package/dest/kernel/private_kernel_prover_output.d.ts +53 -0
  555. package/dest/kernel/private_kernel_prover_output.d.ts.map +1 -0
  556. package/dest/kernel/private_kernel_prover_output.js +28 -0
  557. package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts +10 -9
  558. package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts.map +1 -1
  559. package/dest/kernel/private_kernel_reset_circuit_private_inputs.js +10 -6
  560. package/dest/kernel/private_kernel_reset_dimensions.d.ts +12 -14
  561. package/dest/kernel/private_kernel_reset_dimensions.d.ts.map +1 -1
  562. package/dest/kernel/private_kernel_reset_dimensions.js +29 -29
  563. package/dest/kernel/private_kernel_simulated_output.d.ts +7 -13
  564. package/dest/kernel/private_kernel_simulated_output.d.ts.map +1 -1
  565. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +21 -5
  566. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
  567. package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +14 -6
  568. package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts +25 -13
  569. package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts.map +1 -1
  570. package/dest/kernel/private_kernel_tail_circuit_public_inputs.js +53 -27
  571. package/dest/kernel/private_log_data.d.ts +3 -6
  572. package/dest/kernel/private_log_data.d.ts.map +1 -1
  573. package/dest/kernel/private_log_data.js +9 -4
  574. package/dest/kernel/private_to_avm_accumulated_data.d.ts +43 -80
  575. package/dest/kernel/private_to_avm_accumulated_data.d.ts.map +1 -1
  576. package/dest/kernel/private_to_avm_accumulated_data.js +46 -8
  577. package/dest/kernel/private_to_public_accumulated_data.d.ts +5 -7
  578. package/dest/kernel/private_to_public_accumulated_data.d.ts.map +1 -1
  579. package/dest/kernel/private_to_public_accumulated_data.js +10 -5
  580. package/dest/kernel/private_to_public_accumulated_data_builder.d.ts +2 -2
  581. package/dest/kernel/private_to_public_accumulated_data_builder.d.ts.map +1 -1
  582. package/dest/kernel/private_to_public_accumulated_data_builder.js +1 -1
  583. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts +10 -9
  584. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts.map +1 -1
  585. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.js +24 -14
  586. package/dest/kernel/private_to_rollup_accumulated_data.d.ts +7 -9
  587. package/dest/kernel/private_to_rollup_accumulated_data.d.ts.map +1 -1
  588. package/dest/kernel/private_to_rollup_accumulated_data.js +10 -5
  589. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts +17 -18
  590. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts.map +1 -1
  591. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.js +19 -16
  592. package/dest/kernel/private_validation_requests.d.ts +11 -39
  593. package/dest/kernel/private_validation_requests.d.ts.map +1 -1
  594. package/dest/kernel/private_validation_requests.js +16 -34
  595. package/dest/kernel/public_call_request.d.ts +84 -37
  596. package/dest/kernel/public_call_request.d.ts.map +1 -1
  597. package/dest/kernel/public_call_request.js +114 -27
  598. package/dest/kernel/utils/index.d.ts +1 -1
  599. package/dest/kernel/utils/interfaces.d.ts +1 -1
  600. package/dest/kernel/utils/optional_number.d.ts +3 -5
  601. package/dest/kernel/utils/optional_number.d.ts.map +1 -1
  602. package/dest/kernel/utils/order_and_comparison.d.ts +1 -4
  603. package/dest/kernel/utils/order_and_comparison.d.ts.map +1 -1
  604. package/dest/kernel/utils/order_and_comparison.js +0 -19
  605. package/dest/keys/derivation.d.ts +11 -8
  606. package/dest/keys/derivation.d.ts.map +1 -1
  607. package/dest/keys/derivation.js +34 -34
  608. package/dest/keys/index.d.ts +1 -1
  609. package/dest/keys/key_types.d.ts +3 -3
  610. package/dest/keys/key_types.d.ts.map +1 -1
  611. package/dest/keys/public_key.d.ts +22 -3
  612. package/dest/keys/public_key.d.ts.map +1 -1
  613. package/dest/keys/public_key.js +20 -1
  614. package/dest/keys/public_keys.d.ts +60 -80
  615. package/dest/keys/public_keys.d.ts.map +1 -1
  616. package/dest/keys/public_keys.js +111 -71
  617. package/dest/keys/utils.d.ts +1 -1
  618. package/dest/keys/utils.d.ts.map +1 -1
  619. package/dest/keys/utils.js +8 -4
  620. package/dest/kv-store/config.d.ts +14 -0
  621. package/dest/kv-store/config.d.ts.map +1 -0
  622. package/dest/kv-store/config.js +21 -0
  623. package/dest/kv-store/index.d.ts +2 -0
  624. package/dest/kv-store/index.d.ts.map +1 -0
  625. package/dest/kv-store/index.js +1 -0
  626. package/dest/l1-contracts/index.d.ts +2 -0
  627. package/dest/l1-contracts/index.d.ts.map +1 -0
  628. package/dest/l1-contracts/index.js +1 -0
  629. package/dest/logs/app_tagging_secret.d.ts +46 -0
  630. package/dest/logs/app_tagging_secret.d.ts.map +1 -0
  631. package/dest/logs/app_tagging_secret.js +109 -0
  632. package/dest/logs/app_tagging_secret_kind.d.ts +7 -0
  633. package/dest/logs/app_tagging_secret_kind.d.ts.map +1 -0
  634. package/dest/logs/app_tagging_secret_kind.js +17 -0
  635. package/dest/logs/contract_class_log.d.ts +62 -26
  636. package/dest/logs/contract_class_log.d.ts.map +1 -1
  637. package/dest/logs/contract_class_log.js +143 -84
  638. package/dest/logs/debug_log.d.ts +21 -0
  639. package/dest/logs/debug_log.d.ts.map +1 -0
  640. package/dest/logs/debug_log.js +39 -0
  641. package/dest/logs/debug_log_store.d.ts +30 -0
  642. package/dest/logs/debug_log_store.d.ts.map +1 -0
  643. package/dest/logs/debug_log_store.js +30 -0
  644. package/dest/logs/index.d.ts +16 -9
  645. package/dest/logs/index.d.ts.map +1 -1
  646. package/dest/logs/index.js +15 -8
  647. package/dest/logs/log_cursor.d.ts +51 -0
  648. package/dest/logs/log_cursor.d.ts.map +1 -0
  649. package/dest/logs/log_cursor.js +82 -0
  650. package/dest/logs/log_result.d.ts +54 -0
  651. package/dest/logs/log_result.d.ts.map +1 -0
  652. package/dest/logs/log_result.js +56 -0
  653. package/dest/logs/logs_query.d.ts +82 -0
  654. package/dest/logs/logs_query.d.ts.map +1 -0
  655. package/dest/logs/logs_query.js +50 -0
  656. package/dest/logs/message_context.d.ts +27 -0
  657. package/dest/logs/message_context.d.ts.map +1 -0
  658. package/dest/logs/message_context.js +74 -0
  659. package/dest/logs/pending_tagged_log.d.ts +13 -0
  660. package/dest/logs/pending_tagged_log.d.ts.map +1 -0
  661. package/dest/logs/pending_tagged_log.js +34 -0
  662. package/dest/logs/pre_tag.d.ts +26 -0
  663. package/dest/logs/pre_tag.d.ts.map +1 -0
  664. package/dest/logs/pre_tag.js +7 -0
  665. package/dest/logs/private_log.d.ts +29 -18
  666. package/dest/logs/private_log.d.ts.map +1 -1
  667. package/dest/logs/private_log.js +69 -26
  668. package/dest/logs/public_log.d.ts +39 -15
  669. package/dest/logs/public_log.d.ts.map +1 -1
  670. package/dest/logs/public_log.js +145 -36
  671. package/dest/logs/query_all_logs_by_tags.d.ts +24 -0
  672. package/dest/logs/query_all_logs_by_tags.d.ts.map +1 -0
  673. package/dest/logs/query_all_logs_by_tags.js +64 -0
  674. package/dest/logs/shared_secret_derivation.d.ts +18 -0
  675. package/dest/logs/shared_secret_derivation.d.ts.map +1 -0
  676. package/dest/logs/shared_secret_derivation.js +25 -0
  677. package/dest/logs/siloed_tag.d.ts +26 -0
  678. package/dest/logs/siloed_tag.d.ts.map +1 -0
  679. package/dest/logs/siloed_tag.js +42 -0
  680. package/dest/logs/tag.d.ts +20 -0
  681. package/dest/logs/tag.d.ts.map +1 -0
  682. package/dest/logs/tag.js +34 -0
  683. package/dest/logs/tagging_index_range.d.ts +22 -0
  684. package/dest/logs/tagging_index_range.d.ts.map +1 -0
  685. package/dest/logs/tagging_index_range.js +8 -0
  686. package/dest/messaging/append_l1_to_l2_messages.d.ts +9 -0
  687. package/dest/messaging/append_l1_to_l2_messages.d.ts.map +1 -0
  688. package/dest/messaging/append_l1_to_l2_messages.js +12 -0
  689. package/dest/messaging/in_hash.d.ts +6 -0
  690. package/dest/messaging/in_hash.d.ts.map +1 -0
  691. package/dest/messaging/in_hash.js +10 -0
  692. package/dest/messaging/inbox_leaf.d.ts +11 -5
  693. package/dest/messaging/inbox_leaf.d.ts.map +1 -1
  694. package/dest/messaging/inbox_leaf.js +19 -4
  695. package/dest/messaging/index.d.ts +5 -1
  696. package/dest/messaging/index.d.ts.map +1 -1
  697. package/dest/messaging/index.js +4 -0
  698. package/dest/messaging/l1_actor.d.ts +2 -4
  699. package/dest/messaging/l1_actor.d.ts.map +1 -1
  700. package/dest/messaging/l1_actor.js +2 -2
  701. package/dest/messaging/l1_to_l2_message.d.ts +4 -5
  702. package/dest/messaging/l1_to_l2_message.d.ts.map +1 -1
  703. package/dest/messaging/l1_to_l2_message.js +13 -15
  704. package/dest/messaging/l1_to_l2_message_source.d.ts +12 -9
  705. package/dest/messaging/l1_to_l2_message_source.d.ts.map +1 -1
  706. package/dest/messaging/l2_actor.d.ts +2 -4
  707. package/dest/messaging/l2_actor.d.ts.map +1 -1
  708. package/dest/messaging/l2_actor.js +2 -2
  709. package/dest/messaging/l2_to_l1_membership.d.ts +160 -0
  710. package/dest/messaging/l2_to_l1_membership.d.ts.map +1 -0
  711. package/dest/messaging/l2_to_l1_membership.js +284 -0
  712. package/dest/messaging/l2_to_l1_message.d.ts +92 -57
  713. package/dest/messaging/l2_to_l1_message.d.ts.map +1 -1
  714. package/dest/messaging/l2_to_l1_message.js +116 -40
  715. package/dest/messaging/out_hash.d.ts +43 -0
  716. package/dest/messaging/out_hash.d.ts.map +1 -0
  717. package/dest/messaging/out_hash.js +63 -0
  718. package/dest/noir/index.d.ts +29 -10
  719. package/dest/noir/index.d.ts.map +1 -1
  720. package/dest/noir/index.js +6 -5
  721. package/dest/note/comparator.d.ts +1 -1
  722. package/dest/note/index.d.ts +2 -3
  723. package/dest/note/index.d.ts.map +1 -1
  724. package/dest/note/index.js +1 -2
  725. package/dest/note/note.d.ts +39 -21
  726. package/dest/note/note.d.ts.map +1 -1
  727. package/dest/note/note.js +55 -5
  728. package/dest/note/note_dao.d.ts +110 -0
  729. package/dest/note/note_dao.d.ts.map +1 -0
  730. package/dest/note/note_dao.js +112 -0
  731. package/dest/note/note_status.d.ts +1 -1
  732. package/dest/p2p/attestation_utils.d.ts +20 -0
  733. package/dest/p2p/attestation_utils.d.ts.map +1 -0
  734. package/dest/p2p/attestation_utils.js +66 -0
  735. package/dest/p2p/block_proposal.d.ts +140 -31
  736. package/dest/p2p/block_proposal.d.ts.map +1 -1
  737. package/dest/p2p/block_proposal.js +189 -44
  738. package/dest/p2p/checkpoint_attestation.d.ts +88 -0
  739. package/dest/p2p/checkpoint_attestation.d.ts.map +1 -0
  740. package/dest/p2p/checkpoint_attestation.js +103 -0
  741. package/dest/p2p/checkpoint_proposal.d.ts +193 -0
  742. package/dest/p2p/checkpoint_proposal.d.ts.map +1 -0
  743. package/dest/p2p/checkpoint_proposal.js +241 -0
  744. package/dest/p2p/client_type.d.ts +2 -5
  745. package/dest/p2p/client_type.d.ts.map +1 -1
  746. package/dest/p2p/client_type.js +0 -7
  747. package/dest/p2p/consensus_payload.d.ts +67 -34
  748. package/dest/p2p/consensus_payload.d.ts.map +1 -1
  749. package/dest/p2p/consensus_payload.js +69 -30
  750. package/dest/p2p/constants.d.ts +5 -0
  751. package/dest/p2p/constants.d.ts.map +1 -0
  752. package/dest/p2p/constants.js +3 -0
  753. package/dest/p2p/gossipable.d.ts +21 -18
  754. package/dest/p2p/gossipable.d.ts.map +1 -1
  755. package/dest/p2p/gossipable.js +52 -4
  756. package/dest/p2p/index.d.ts +6 -3
  757. package/dest/p2p/index.d.ts.map +1 -1
  758. package/dest/p2p/index.js +5 -2
  759. package/dest/p2p/interface.d.ts +1 -14
  760. package/dest/p2p/interface.d.ts.map +1 -1
  761. package/dest/p2p/interface.js +1 -19
  762. package/dest/p2p/message_validator.d.ts +18 -3
  763. package/dest/p2p/message_validator.d.ts.map +1 -1
  764. package/dest/p2p/message_validator.js +2 -1
  765. package/dest/p2p/peer_error.d.ts +3 -1
  766. package/dest/p2p/peer_error.d.ts.map +1 -1
  767. package/dest/p2p/peer_error.js +5 -0
  768. package/dest/p2p/signature_utils.d.ts +28 -18
  769. package/dest/p2p/signature_utils.d.ts.map +1 -1
  770. package/dest/p2p/signature_utils.js +119 -18
  771. package/dest/p2p/signed_txs.d.ts +44 -0
  772. package/dest/p2p/signed_txs.d.ts.map +1 -0
  773. package/dest/p2p/signed_txs.js +77 -0
  774. package/dest/p2p/topic_type.d.ts +10 -13
  775. package/dest/p2p/topic_type.d.ts.map +1 -1
  776. package/dest/p2p/topic_type.js +30 -20
  777. package/dest/parity/index.d.ts +3 -4
  778. package/dest/parity/index.d.ts.map +1 -1
  779. package/dest/parity/index.js +2 -3
  780. package/dest/parity/parity_base_private_inputs.d.ts +39 -0
  781. package/dest/parity/parity_base_private_inputs.d.ts.map +1 -0
  782. package/dest/parity/parity_base_private_inputs.js +51 -0
  783. package/dest/parity/parity_public_inputs.d.ts +11 -9
  784. package/dest/parity/parity_public_inputs.d.ts.map +1 -1
  785. package/dest/parity/parity_public_inputs.js +7 -4
  786. package/dest/parity/parity_root_private_inputs.d.ts +39 -0
  787. package/dest/parity/parity_root_private_inputs.d.ts.map +1 -0
  788. package/dest/parity/parity_root_private_inputs.js +46 -0
  789. package/dest/proofs/chonk_proof.d.ts +78 -0
  790. package/dest/proofs/chonk_proof.d.ts.map +1 -0
  791. package/dest/proofs/chonk_proof.js +203 -0
  792. package/dest/proofs/index.d.ts +3 -2
  793. package/dest/proofs/index.d.ts.map +1 -1
  794. package/dest/proofs/index.js +2 -1
  795. package/dest/proofs/proof.d.ts +7 -8
  796. package/dest/proofs/proof.d.ts.map +1 -1
  797. package/dest/proofs/proof.js +29 -21
  798. package/dest/proofs/proof_data.d.ts +33 -0
  799. package/dest/proofs/proof_data.d.ts.map +1 -0
  800. package/dest/proofs/proof_data.js +39 -0
  801. package/dest/proofs/proving_request_type.d.ts +18 -13
  802. package/dest/proofs/proving_request_type.d.ts.map +1 -1
  803. package/dest/proofs/proving_request_type.js +17 -11
  804. package/dest/proofs/recursive_proof.d.ts +5 -22
  805. package/dest/proofs/recursive_proof.d.ts.map +1 -1
  806. package/dest/proofs/recursive_proof.js +1 -1
  807. package/dest/rollup/avm_proof_data.d.ts +4 -16
  808. package/dest/rollup/avm_proof_data.d.ts.map +1 -1
  809. package/dest/rollup/avm_proof_data.js +1 -25
  810. package/dest/rollup/base_rollup_hints.d.ts +36 -37
  811. package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
  812. package/dest/rollup/base_rollup_hints.js +41 -40
  813. package/dest/rollup/block_constant_data.d.ts +51 -0
  814. package/dest/rollup/block_constant_data.d.ts.map +1 -0
  815. package/dest/rollup/block_constant_data.js +50 -0
  816. package/dest/rollup/block_headers_hash.d.ts +4 -0
  817. package/dest/rollup/block_headers_hash.d.ts.map +1 -0
  818. package/dest/rollup/block_headers_hash.js +15 -0
  819. package/dest/rollup/block_merge_rollup_private_inputs.d.ts +50 -0
  820. package/dest/rollup/block_merge_rollup_private_inputs.d.ts.map +1 -0
  821. package/dest/rollup/block_merge_rollup_private_inputs.js +51 -0
  822. package/dest/rollup/block_rollup_public_inputs.d.ts +138 -0
  823. package/dest/rollup/block_rollup_public_inputs.d.ts.map +1 -0
  824. package/dest/rollup/block_rollup_public_inputs.js +99 -0
  825. package/dest/rollup/block_root_rollup_private_inputs.d.ts +225 -0
  826. package/dest/rollup/block_root_rollup_private_inputs.d.ts.map +1 -0
  827. package/dest/rollup/block_root_rollup_private_inputs.js +249 -0
  828. package/dest/rollup/checkpoint_constant_data.d.ts +77 -0
  829. package/dest/rollup/checkpoint_constant_data.d.ts.map +1 -0
  830. package/dest/rollup/checkpoint_constant_data.js +82 -0
  831. package/dest/rollup/checkpoint_header.d.ts +119 -0
  832. package/dest/rollup/checkpoint_header.d.ts.map +1 -0
  833. package/dest/rollup/checkpoint_header.js +214 -0
  834. package/dest/rollup/checkpoint_merge_rollup_private_inputs.d.ts +30 -0
  835. package/dest/rollup/checkpoint_merge_rollup_private_inputs.d.ts.map +1 -0
  836. package/dest/rollup/checkpoint_merge_rollup_private_inputs.js +37 -0
  837. package/dest/rollup/checkpoint_rollup_public_inputs.d.ts +129 -0
  838. package/dest/rollup/checkpoint_rollup_public_inputs.d.ts.map +1 -0
  839. package/dest/rollup/checkpoint_rollup_public_inputs.js +125 -0
  840. package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts +141 -0
  841. package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts.map +1 -0
  842. package/dest/rollup/checkpoint_root_rollup_private_inputs.js +190 -0
  843. package/dest/rollup/epoch_constant_data.d.ts +56 -0
  844. package/dest/rollup/epoch_constant_data.d.ts.map +1 -0
  845. package/dest/rollup/epoch_constant_data.js +53 -0
  846. package/dest/rollup/index.d.ts +21 -17
  847. package/dest/rollup/index.d.ts.map +1 -1
  848. package/dest/rollup/index.js +20 -16
  849. package/dest/rollup/private_tx_base_rollup_private_inputs.d.ts +21 -0
  850. package/dest/rollup/private_tx_base_rollup_private_inputs.d.ts.map +1 -0
  851. package/dest/rollup/private_tx_base_rollup_private_inputs.js +42 -0
  852. package/dest/rollup/public_chonk_verifier_private_inputs.d.ts +21 -0
  853. package/dest/rollup/public_chonk_verifier_private_inputs.d.ts.map +1 -0
  854. package/dest/rollup/public_chonk_verifier_private_inputs.js +43 -0
  855. package/dest/rollup/public_chonk_verifier_public_inputs.d.ts +20 -0
  856. package/dest/rollup/public_chonk_verifier_public_inputs.d.ts.map +1 -0
  857. package/dest/rollup/public_chonk_verifier_public_inputs.js +42 -0
  858. package/dest/rollup/public_tx_base_rollup_private_inputs.d.ts +23 -0
  859. package/dest/rollup/public_tx_base_rollup_private_inputs.d.ts.map +1 -0
  860. package/dest/rollup/public_tx_base_rollup_private_inputs.js +46 -0
  861. package/dest/rollup/root_rollup_private_inputs.d.ts +67 -0
  862. package/dest/rollup/root_rollup_private_inputs.d.ts.map +1 -0
  863. package/dest/rollup/root_rollup_private_inputs.js +69 -0
  864. package/dest/rollup/root_rollup_public_inputs.d.ts +59 -0
  865. package/dest/rollup/root_rollup_public_inputs.d.ts.map +1 -0
  866. package/dest/rollup/root_rollup_public_inputs.js +77 -0
  867. package/dest/rollup/tree_snapshot_diff_hints.d.ts +87 -0
  868. package/dest/rollup/tree_snapshot_diff_hints.d.ts.map +1 -0
  869. package/dest/rollup/tree_snapshot_diff_hints.js +75 -0
  870. package/dest/rollup/tx_merge_rollup_private_inputs.d.ts +44 -0
  871. package/dest/rollup/tx_merge_rollup_private_inputs.d.ts.map +1 -0
  872. package/dest/rollup/tx_merge_rollup_private_inputs.js +51 -0
  873. package/dest/rollup/tx_rollup_public_inputs.d.ts +115 -0
  874. package/dest/rollup/tx_rollup_public_inputs.d.ts.map +1 -0
  875. package/dest/rollup/tx_rollup_public_inputs.js +87 -0
  876. package/dest/schemas/index.d.ts +1 -1
  877. package/dest/schemas/schemas.d.ts +53 -25
  878. package/dest/schemas/schemas.d.ts.map +1 -1
  879. package/dest/schemas/schemas.js +16 -3
  880. package/dest/slashing/helpers.d.ts +36 -0
  881. package/dest/slashing/helpers.d.ts.map +1 -0
  882. package/dest/slashing/helpers.js +100 -0
  883. package/dest/slashing/index.d.ts +6 -0
  884. package/dest/slashing/index.d.ts.map +1 -0
  885. package/dest/slashing/index.js +5 -0
  886. package/dest/slashing/interfaces.d.ts +12 -0
  887. package/dest/slashing/interfaces.d.ts.map +1 -0
  888. package/dest/slashing/interfaces.js +1 -0
  889. package/dest/slashing/serialization.d.ts +4 -0
  890. package/dest/slashing/serialization.d.ts.map +1 -0
  891. package/dest/slashing/serialization.js +18 -0
  892. package/dest/slashing/types.d.ts +71 -0
  893. package/dest/slashing/types.d.ts.map +1 -0
  894. package/dest/slashing/types.js +92 -0
  895. package/dest/slashing/votes.d.ts +29 -0
  896. package/dest/slashing/votes.d.ts.map +1 -0
  897. package/dest/slashing/votes.js +92 -0
  898. package/dest/snapshots/download.d.ts +9 -0
  899. package/dest/snapshots/download.d.ts.map +1 -0
  900. package/dest/snapshots/download.js +93 -0
  901. package/dest/snapshots/index.d.ts +4 -0
  902. package/dest/snapshots/index.d.ts.map +1 -0
  903. package/dest/snapshots/index.js +3 -0
  904. package/dest/snapshots/types.d.ts +57 -0
  905. package/dest/snapshots/types.d.ts.map +1 -0
  906. package/dest/snapshots/types.js +35 -0
  907. package/dest/snapshots/upload.d.ts +8 -0
  908. package/dest/snapshots/upload.d.ts.map +1 -0
  909. package/dest/snapshots/upload.js +42 -0
  910. package/dest/stats/index.d.ts +1 -1
  911. package/dest/stats/stats.d.ts +19 -17
  912. package/dest/stats/stats.d.ts.map +1 -1
  913. package/dest/tests/factories.d.ts +152 -145
  914. package/dest/tests/factories.d.ts.map +1 -1
  915. package/dest/tests/factories.js +511 -428
  916. package/dest/tests/fixtures.d.ts +1 -1
  917. package/dest/tests/index.d.ts +1 -1
  918. package/dest/tests/jest.d.ts +1 -1
  919. package/dest/tests/jest.js +1 -1
  920. package/dest/tests/mocks.d.ts +150 -23
  921. package/dest/tests/mocks.d.ts.map +1 -1
  922. package/dest/tests/mocks.js +351 -94
  923. package/dest/timetable/index.d.ts +84 -0
  924. package/dest/timetable/index.d.ts.map +1 -0
  925. package/dest/timetable/index.js +209 -0
  926. package/dest/trees/append_only_tree_snapshot.d.ts +20 -19
  927. package/dest/trees/append_only_tree_snapshot.d.ts.map +1 -1
  928. package/dest/trees/append_only_tree_snapshot.js +27 -7
  929. package/dest/trees/database_public_state_source.d.ts +11 -0
  930. package/dest/trees/database_public_state_source.d.ts.map +1 -0
  931. package/dest/trees/database_public_state_source.js +18 -0
  932. package/dest/trees/index.d.ts +2 -2
  933. package/dest/trees/index.d.ts.map +1 -1
  934. package/dest/trees/index.js +1 -1
  935. package/dest/trees/merkle_tree_id.d.ts +17 -9
  936. package/dest/trees/merkle_tree_id.d.ts.map +1 -1
  937. package/dest/trees/merkle_tree_id.js +10 -0
  938. package/dest/trees/nullifier_leaf.d.ts +52 -27
  939. package/dest/trees/nullifier_leaf.d.ts.map +1 -1
  940. package/dest/trees/nullifier_leaf.js +73 -23
  941. package/dest/trees/nullifier_membership_witness.d.ts +24 -72
  942. package/dest/trees/nullifier_membership_witness.d.ts.map +1 -1
  943. package/dest/trees/nullifier_membership_witness.js +10 -9
  944. package/dest/trees/public_data_leaf.d.ts +58 -41
  945. package/dest/trees/public_data_leaf.d.ts.map +1 -1
  946. package/dest/trees/public_data_leaf.js +70 -34
  947. package/dest/trees/public_data_witness.d.ts +27 -76
  948. package/dest/trees/public_data_witness.d.ts.map +1 -1
  949. package/dest/trees/public_data_witness.js +21 -5
  950. package/dest/tx/block_header.d.ts +35 -28
  951. package/dest/tx/block_header.d.ts.map +1 -1
  952. package/dest/tx/block_header.js +58 -28
  953. package/dest/tx/call_context.d.ts +7 -20
  954. package/dest/tx/call_context.d.ts.map +1 -1
  955. package/dest/tx/call_context.js +3 -1
  956. package/dest/tx/capsule.d.ts +11 -7
  957. package/dest/tx/capsule.d.ts.map +1 -1
  958. package/dest/tx/capsule.js +12 -4
  959. package/dest/tx/execution_payload.d.ts +45 -0
  960. package/dest/tx/execution_payload.d.ts.map +1 -0
  961. package/dest/tx/execution_payload.js +40 -0
  962. package/dest/tx/fee_provider.d.ts +10 -0
  963. package/dest/tx/fee_provider.d.ts.map +1 -0
  964. package/dest/tx/fee_provider.js +1 -0
  965. package/dest/tx/function_data.d.ts +5 -13
  966. package/dest/tx/function_data.d.ts.map +1 -1
  967. package/dest/tx/function_data.js +1 -1
  968. package/dest/tx/global_variable_builder.d.ts +8 -6
  969. package/dest/tx/global_variable_builder.d.ts.map +1 -1
  970. package/dest/tx/global_variables.d.ts +64 -65
  971. package/dest/tx/global_variables.d.ts.map +1 -1
  972. package/dest/tx/global_variables.js +69 -23
  973. package/dest/tx/hashed_values.d.ts +20 -9
  974. package/dest/tx/hashed_values.d.ts.map +1 -1
  975. package/dest/tx/hashed_values.js +33 -13
  976. package/dest/tx/in_tx.d.ts +14 -0
  977. package/dest/tx/in_tx.d.ts.map +1 -0
  978. package/dest/tx/in_tx.js +14 -0
  979. package/dest/tx/index.d.ts +12 -4
  980. package/dest/tx/index.d.ts.map +1 -1
  981. package/dest/tx/index.js +11 -3
  982. package/dest/tx/indexed_tx_effect.d.ts +20 -0
  983. package/dest/tx/indexed_tx_effect.d.ts.map +1 -0
  984. package/dest/tx/indexed_tx_effect.js +39 -0
  985. package/dest/tx/offchain_effect.d.ts +14 -0
  986. package/dest/tx/offchain_effect.d.ts.map +1 -0
  987. package/dest/tx/offchain_effect.js +4 -0
  988. package/dest/tx/partial_state_reference.d.ts +31 -67
  989. package/dest/tx/partial_state_reference.d.ts.map +1 -1
  990. package/dest/tx/partial_state_reference.js +28 -5
  991. package/dest/tx/private_execution_result.d.ts +69 -77
  992. package/dest/tx/private_execution_result.d.ts.map +1 -1
  993. package/dest/tx/private_execution_result.js +74 -100
  994. package/dest/tx/private_tx_constant_data.d.ts +60 -0
  995. package/dest/tx/private_tx_constant_data.d.ts.map +1 -0
  996. package/dest/tx/private_tx_constant_data.js +69 -0
  997. package/dest/tx/processed_tx.d.ts +10 -11
  998. package/dest/tx/processed_tx.d.ts.map +1 -1
  999. package/dest/tx/processed_tx.js +28 -25
  1000. package/dest/tx/profiling.d.ts +197 -0
  1001. package/dest/tx/profiling.d.ts.map +1 -0
  1002. package/dest/tx/profiling.js +177 -0
  1003. package/dest/tx/protocol_contracts.d.ts +33 -0
  1004. package/dest/tx/protocol_contracts.d.ts.map +1 -0
  1005. package/dest/tx/protocol_contracts.js +58 -0
  1006. package/dest/tx/proven_tx.d.ts +85 -0
  1007. package/dest/tx/proven_tx.d.ts.map +1 -0
  1008. package/dest/tx/proven_tx.js +51 -0
  1009. package/dest/tx/public_call_request_with_calldata.d.ts +47 -0
  1010. package/dest/tx/public_call_request_with_calldata.d.ts.map +1 -0
  1011. package/dest/tx/public_call_request_with_calldata.js +74 -0
  1012. package/dest/tx/public_simulation_output.d.ts +9 -5
  1013. package/dest/tx/public_simulation_output.d.ts.map +1 -1
  1014. package/dest/tx/public_simulation_output.js +21 -10
  1015. package/dest/tx/simulated_tx.d.ts +120 -48
  1016. package/dest/tx/simulated_tx.d.ts.map +1 -1
  1017. package/dest/tx/simulated_tx.js +58 -48
  1018. package/dest/tx/state_reference.d.ts +40 -121
  1019. package/dest/tx/state_reference.d.ts.map +1 -1
  1020. package/dest/tx/state_reference.js +46 -9
  1021. package/dest/tx/tree_snapshots.d.ts +39 -91
  1022. package/dest/tx/tree_snapshots.d.ts.map +1 -1
  1023. package/dest/tx/tree_snapshots.js +20 -7
  1024. package/dest/tx/tx.d.ts +93 -101
  1025. package/dest/tx/tx.d.ts.map +1 -1
  1026. package/dest/tx/tx.js +201 -169
  1027. package/dest/tx/tx_constant_data.d.ts +10 -43
  1028. package/dest/tx/tx_constant_data.d.ts.map +1 -1
  1029. package/dest/tx/tx_constant_data.js +18 -24
  1030. package/dest/tx/tx_context.d.ts +36 -137
  1031. package/dest/tx/tx_context.d.ts.map +1 -1
  1032. package/dest/tx/tx_context.js +7 -7
  1033. package/dest/tx/tx_effect.d.ts +22 -54
  1034. package/dest/tx/tx_effect.d.ts.map +1 -1
  1035. package/dest/tx/tx_effect.js +85 -275
  1036. package/dest/tx/tx_execution_request.d.ts +15 -8
  1037. package/dest/tx/tx_execution_request.d.ts.map +1 -1
  1038. package/dest/tx/tx_execution_request.js +23 -12
  1039. package/dest/tx/tx_hash.d.ts +15 -6
  1040. package/dest/tx/tx_hash.d.ts.map +1 -1
  1041. package/dest/tx/tx_hash.js +35 -8
  1042. package/dest/tx/tx_receipt.d.ts +164 -64
  1043. package/dest/tx/tx_receipt.d.ts.map +1 -1
  1044. package/dest/tx/tx_receipt.js +168 -52
  1045. package/dest/tx/tx_request.d.ts +13 -11
  1046. package/dest/tx/tx_request.d.ts.map +1 -1
  1047. package/dest/tx/tx_request.js +15 -12
  1048. package/dest/tx/validator/empty_validator.d.ts +2 -2
  1049. package/dest/tx/validator/empty_validator.d.ts.map +1 -1
  1050. package/dest/tx/validator/error_texts.d.ts +33 -0
  1051. package/dest/tx/validator/error_texts.d.ts.map +1 -0
  1052. package/dest/tx/validator/error_texts.js +43 -0
  1053. package/dest/tx/validator/tx_validator.d.ts +8 -31
  1054. package/dest/tx/validator/tx_validator.d.ts.map +1 -1
  1055. package/dest/tx/validator/tx_validator.js +7 -8
  1056. package/dest/types/index.d.ts +1 -1
  1057. package/dest/types/shared.d.ts +7 -17
  1058. package/dest/types/shared.d.ts.map +1 -1
  1059. package/dest/types/shared.js +6 -20
  1060. package/dest/update-checker/dev_version.d.ts +3 -0
  1061. package/dest/update-checker/dev_version.d.ts.map +1 -0
  1062. package/dest/update-checker/dev_version.js +1 -0
  1063. package/dest/update-checker/index.d.ts +4 -0
  1064. package/dest/update-checker/index.d.ts.map +1 -0
  1065. package/dest/update-checker/index.js +3 -0
  1066. package/dest/update-checker/package_version.d.ts +6 -0
  1067. package/dest/update-checker/package_version.d.ts.map +1 -0
  1068. package/dest/update-checker/package_version.js +13 -0
  1069. package/dest/update-checker/version_checker.d.ts +25 -0
  1070. package/dest/update-checker/version_checker.d.ts.map +1 -0
  1071. package/dest/update-checker/version_checker.js +50 -0
  1072. package/dest/validators/errors.d.ts +38 -0
  1073. package/dest/validators/errors.d.ts.map +1 -0
  1074. package/dest/validators/errors.js +52 -0
  1075. package/dest/validators/index.d.ts +4 -0
  1076. package/dest/validators/index.d.ts.map +1 -0
  1077. package/dest/validators/index.js +2 -0
  1078. package/dest/validators/schemas.d.ts +183 -0
  1079. package/dest/validators/schemas.d.ts.map +1 -0
  1080. package/dest/validators/schemas.js +55 -0
  1081. package/dest/validators/types.d.ts +70 -0
  1082. package/dest/validators/types.d.ts.map +1 -0
  1083. package/dest/validators/types.js +1 -0
  1084. package/dest/versioning/index.d.ts +1 -1
  1085. package/dest/versioning/versioning.d.ts +9 -7
  1086. package/dest/versioning/versioning.d.ts.map +1 -1
  1087. package/dest/versioning/versioning.js +28 -20
  1088. package/dest/vks/index.d.ts +2 -2
  1089. package/dest/vks/index.d.ts.map +1 -1
  1090. package/dest/vks/index.js +1 -1
  1091. package/dest/vks/verification_key.d.ts +11 -141
  1092. package/dest/vks/verification_key.d.ts.map +1 -1
  1093. package/dest/vks/verification_key.js +22 -125
  1094. package/dest/vks/vk_data.d.ts +30 -0
  1095. package/dest/vks/vk_data.d.ts.map +1 -0
  1096. package/dest/vks/vk_data.js +33 -0
  1097. package/dest/world-state/genesis_data.d.ts +13 -0
  1098. package/dest/world-state/genesis_data.d.ts.map +1 -0
  1099. package/dest/world-state/genesis_data.js +7 -0
  1100. package/dest/world-state/index.d.ts +3 -0
  1101. package/dest/world-state/index.d.ts.map +1 -0
  1102. package/dest/world-state/index.js +2 -0
  1103. package/dest/world-state/world_state_revision.d.ts +26 -0
  1104. package/dest/world-state/world_state_revision.d.ts.map +1 -0
  1105. package/dest/world-state/world_state_revision.js +30 -0
  1106. package/dest/zkpassport/index.d.ts +34 -0
  1107. package/dest/zkpassport/index.d.ts.map +1 -0
  1108. package/dest/zkpassport/index.js +82 -0
  1109. package/package.json +66 -27
  1110. package/src/abi/abi.ts +209 -116
  1111. package/src/abi/authorization_selector.ts +90 -0
  1112. package/src/abi/buffer.ts +26 -5
  1113. package/src/abi/contract_artifact.ts +109 -73
  1114. package/src/abi/decoder.ts +48 -89
  1115. package/src/abi/encoder.ts +173 -9
  1116. package/src/abi/event_metadata_definition.ts +10 -0
  1117. package/src/abi/event_selector.ts +5 -10
  1118. package/src/abi/function_call.ts +31 -5
  1119. package/src/abi/function_selector.ts +15 -15
  1120. package/src/abi/function_signature_decoder.ts +77 -0
  1121. package/src/abi/index.ts +3 -0
  1122. package/src/abi/note_selector.ts +5 -14
  1123. package/src/abi/selector.ts +2 -2
  1124. package/src/abi/utils.ts +59 -0
  1125. package/src/auth_witness/auth_witness.ts +30 -1
  1126. package/src/avm/avm.ts +1335 -127
  1127. package/src/avm/avm_accumulated_data.ts +170 -13
  1128. package/src/avm/avm_circuit_public_inputs.ts +121 -4
  1129. package/src/avm/contract_storage_read.ts +1 -1
  1130. package/src/avm/contract_storage_update_request.ts +1 -1
  1131. package/src/avm/index.ts +1 -1
  1132. package/src/avm/message_pack.ts +49 -5
  1133. package/src/avm/public_call_stack_item_compressed.ts +1 -1
  1134. package/src/avm/public_data_read.ts +1 -1
  1135. package/src/avm/public_data_update_request.ts +1 -1
  1136. package/src/avm/public_data_write.ts +37 -2
  1137. package/src/avm/public_inner_call_request.ts +2 -2
  1138. package/src/avm/revert_code.ts +47 -32
  1139. package/src/aztec-address/index.ts +43 -15
  1140. package/src/block/attestation_info.ts +72 -0
  1141. package/src/block/block_data.ts +25 -0
  1142. package/src/block/block_hash.ts +38 -16
  1143. package/src/block/block_parameter.ts +78 -0
  1144. package/src/block/body.ts +24 -39
  1145. package/src/block/in_block.ts +28 -15
  1146. package/src/block/index.ts +7 -3
  1147. package/src/block/l2_block.ts +143 -112
  1148. package/src/block/l2_block_info.ts +66 -0
  1149. package/src/block/l2_block_source.ts +374 -70
  1150. package/src/block/l2_block_stream/index.ts +4 -0
  1151. package/src/block/l2_block_stream/interfaces.ts +48 -0
  1152. package/src/block/l2_block_stream/l2_block_stream.ts +339 -0
  1153. package/src/block/l2_block_stream/l2_tips_memory_store.ts +89 -0
  1154. package/src/block/l2_block_stream/l2_tips_store_base.ts +260 -0
  1155. package/src/block/proposal/attestations_and_signers.ts +155 -0
  1156. package/src/block/proposal/committee_attestation.ts +120 -0
  1157. package/src/block/proposal/index.ts +2 -0
  1158. package/src/block/test/index.ts +1 -0
  1159. package/src/block/test/l2_tips_store_test_suite.ts +544 -0
  1160. package/src/block/validate_block_result.ts +129 -0
  1161. package/src/checkpoint/checkpoint.ts +195 -0
  1162. package/src/checkpoint/checkpoint_data.ts +91 -0
  1163. package/src/checkpoint/checkpoint_info.ts +52 -0
  1164. package/src/checkpoint/checkpoint_reexecution_tracker.ts +167 -0
  1165. package/src/checkpoint/digest.ts +28 -0
  1166. package/src/checkpoint/index.ts +8 -0
  1167. package/src/checkpoint/previous_checkpoint_out_hashes.ts +61 -0
  1168. package/src/checkpoint/published_checkpoint.ts +108 -0
  1169. package/src/checkpoint/validate.ts +230 -0
  1170. package/src/config/chain-config.ts +40 -0
  1171. package/src/config/index.ts +3 -1
  1172. package/src/config/node-rpc-config.ts +37 -0
  1173. package/src/config/sequencer-config.ts +65 -0
  1174. package/src/contract/artifact_hash.ts +16 -14
  1175. package/src/contract/complete_address.ts +8 -4
  1176. package/src/contract/contract_address.ts +13 -13
  1177. package/src/contract/contract_class.ts +12 -29
  1178. package/src/contract/contract_class_id.ts +17 -10
  1179. package/src/contract/contract_deployment_data.ts +125 -0
  1180. package/src/contract/contract_instance.ts +38 -20
  1181. package/src/contract/contract_instance_update.ts +8 -7
  1182. package/src/contract/deployment_info.ts +1 -1
  1183. package/src/contract/index.ts +1 -2
  1184. package/src/contract/interfaces/contract_class.ts +55 -116
  1185. package/src/contract/interfaces/contract_data_source.ts +14 -22
  1186. package/src/contract/interfaces/contract_instance.ts +53 -17
  1187. package/src/contract/interfaces/contract_instance_update.ts +15 -12
  1188. package/src/contract/interfaces/node-info.ts +6 -3
  1189. package/src/contract/interfaces/protocol_contract_addresses.ts +5 -10
  1190. package/src/contract/partial_address.ts +1 -1
  1191. package/src/contract/private_function.ts +10 -6
  1192. package/src/database-version/database_version.ts +87 -0
  1193. package/src/database-version/version_manager.ts +77 -83
  1194. package/src/delayed_public_mutable/delayed_public_mutable_values.ts +94 -0
  1195. package/src/delayed_public_mutable/delayed_public_mutable_values_with_hash.ts +38 -0
  1196. package/src/delayed_public_mutable/index.ts +4 -0
  1197. package/src/delayed_public_mutable/scheduled_delay_change.ts +17 -0
  1198. package/src/delayed_public_mutable/scheduled_value_change.ts +31 -0
  1199. package/src/deserialization/index.ts +21 -0
  1200. package/src/epoch-helpers/index.ts +127 -20
  1201. package/src/errors/proving_error.ts +5 -1
  1202. package/src/errors/simulation_error.ts +3 -3
  1203. package/src/fees/transaction_fee.ts +29 -9
  1204. package/src/file-store/factory.ts +85 -0
  1205. package/src/file-store/gcs.ts +121 -0
  1206. package/src/file-store/http.ts +89 -0
  1207. package/src/file-store/index.ts +3 -0
  1208. package/src/file-store/interface.ts +25 -0
  1209. package/src/file-store/local.ts +56 -0
  1210. package/src/file-store/s3.ts +259 -0
  1211. package/src/gas/README.md +154 -0
  1212. package/src/gas/fee_math.ts +120 -0
  1213. package/src/gas/gas.ts +32 -6
  1214. package/src/gas/gas_fees.ts +62 -25
  1215. package/src/gas/gas_settings.ts +94 -15
  1216. package/src/gas/gas_used.ts +22 -1
  1217. package/src/gas/index.ts +1 -0
  1218. package/src/ha-signing/config.ts +152 -0
  1219. package/src/ha-signing/index.ts +29 -0
  1220. package/src/ha-signing/local_config.ts +46 -0
  1221. package/src/ha-signing/types.ts +126 -0
  1222. package/src/hash/hash.ts +121 -37
  1223. package/src/hash/map_slot.ts +4 -3
  1224. package/src/interfaces/allowed_element.ts +43 -0
  1225. package/src/interfaces/api_limit.ts +5 -0
  1226. package/src/interfaces/archiver.ts +131 -62
  1227. package/src/interfaces/aztec-node-admin.ts +141 -0
  1228. package/src/interfaces/aztec-node-debug.ts +40 -0
  1229. package/src/interfaces/aztec-node.ts +427 -314
  1230. package/src/interfaces/block-builder.ts +132 -10
  1231. package/src/interfaces/block_response.ts +92 -0
  1232. package/src/interfaces/chain_tips.ts +24 -0
  1233. package/src/interfaces/checkpoint_parameter.ts +20 -0
  1234. package/src/interfaces/checkpoint_response.ts +84 -0
  1235. package/src/interfaces/client.ts +9 -2
  1236. package/src/interfaces/configs.ts +160 -42
  1237. package/src/interfaces/epoch-prover.ts +46 -17
  1238. package/src/interfaces/l1_publish_info.ts +40 -0
  1239. package/src/interfaces/l2_logs_source.ts +15 -30
  1240. package/src/interfaces/merkle_tree_operations.ts +47 -23
  1241. package/src/interfaces/p2p-bootstrap.ts +2 -2
  1242. package/src/interfaces/p2p.ts +52 -20
  1243. package/src/interfaces/private_kernel_prover.ts +101 -4
  1244. package/src/interfaces/prover-agent.ts +9 -10
  1245. package/src/interfaces/prover-broker.ts +22 -0
  1246. package/src/interfaces/prover-client.ts +53 -18
  1247. package/src/interfaces/prover-coordination.ts +6 -16
  1248. package/src/interfaces/prover-node.ts +15 -7
  1249. package/src/interfaces/proving-job-source.ts +4 -4
  1250. package/src/interfaces/proving-job.ts +246 -141
  1251. package/src/interfaces/public_state_source.ts +9 -0
  1252. package/src/interfaces/public_storage_override.ts +26 -0
  1253. package/src/interfaces/server.ts +16 -5
  1254. package/src/interfaces/server_circuit_prover.ts +111 -59
  1255. package/src/interfaces/service.ts +4 -2
  1256. package/src/interfaces/slasher.ts +63 -0
  1257. package/src/interfaces/tx_provider.ts +23 -0
  1258. package/src/interfaces/validator.ts +201 -0
  1259. package/src/interfaces/world_state.ts +47 -30
  1260. package/src/kernel/claimed_length_array.ts +104 -0
  1261. package/src/kernel/hiding_kernel_private_inputs.ts +37 -0
  1262. package/src/kernel/hints/build_note_hash_read_request_hints.ts +59 -57
  1263. package/src/kernel/hints/build_nullifier_read_request_hints.ts +61 -91
  1264. package/src/kernel/hints/build_transient_data_hints.ts +31 -18
  1265. package/src/kernel/hints/find_private_kernel_reset_dimensions.ts +5 -7
  1266. package/src/kernel/hints/index.ts +3 -4
  1267. package/src/kernel/hints/key_validation_hint.ts +5 -7
  1268. package/src/kernel/hints/key_validation_request.ts +19 -16
  1269. package/src/kernel/hints/key_validation_request_and_separator.ts +49 -0
  1270. package/src/kernel/hints/note_hash_read_request_hints.ts +9 -18
  1271. package/src/kernel/hints/nullifier_read_request_hints.ts +11 -20
  1272. package/src/kernel/hints/private_kernel_reset_hints.ts +37 -54
  1273. package/src/kernel/hints/read_request.ts +5 -2
  1274. package/src/kernel/hints/read_request_hints.ts +59 -38
  1275. package/src/kernel/hints/scoped_key_validation_request_and_separator.ts +54 -0
  1276. package/src/kernel/hints/scoped_value_cache.ts +1 -1
  1277. package/src/kernel/hints/transient_data_squashing_hint.ts +45 -0
  1278. package/src/kernel/hints/tree_leaf_read_request.ts +5 -2
  1279. package/src/kernel/index.ts +8 -2
  1280. package/src/kernel/log_hash.ts +111 -19
  1281. package/src/kernel/note_hash.ts +9 -3
  1282. package/src/kernel/nullifier.ts +17 -10
  1283. package/src/kernel/padded_side_effects.ts +73 -0
  1284. package/src/kernel/private_accumulated_data.ts +25 -25
  1285. package/src/kernel/private_call_data.ts +6 -25
  1286. package/src/kernel/private_call_request.ts +2 -2
  1287. package/src/kernel/private_circuit_public_inputs.ts +165 -121
  1288. package/src/kernel/private_context_inputs.ts +3 -3
  1289. package/src/kernel/private_kernel_circuit_public_inputs.ts +21 -6
  1290. package/src/kernel/private_kernel_data.ts +7 -31
  1291. package/src/kernel/private_kernel_init_2_circuit_private_inputs.ts +49 -0
  1292. package/src/kernel/private_kernel_init_3_circuit_private_inputs.ts +52 -0
  1293. package/src/kernel/private_kernel_init_circuit_private_inputs.ts +12 -5
  1294. package/src/kernel/private_kernel_inner_2_circuit_private_inputs.ts +29 -0
  1295. package/src/kernel/private_kernel_inner_3_circuit_private_inputs.ts +31 -0
  1296. package/src/kernel/private_kernel_prover_output.ts +70 -0
  1297. package/src/kernel/private_kernel_reset_circuit_private_inputs.ts +16 -13
  1298. package/src/kernel/private_kernel_reset_dimensions.ts +27 -27
  1299. package/src/kernel/private_kernel_simulated_output.ts +7 -16
  1300. package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +22 -5
  1301. package/src/kernel/private_kernel_tail_circuit_public_inputs.ts +78 -37
  1302. package/src/kernel/private_log_data.ts +14 -5
  1303. package/src/kernel/private_to_avm_accumulated_data.ts +70 -7
  1304. package/src/kernel/private_to_public_accumulated_data.ts +10 -4
  1305. package/src/kernel/private_to_public_accumulated_data_builder.ts +1 -1
  1306. package/src/kernel/private_to_public_kernel_circuit_public_inputs.ts +28 -13
  1307. package/src/kernel/private_to_rollup_accumulated_data.ts +9 -4
  1308. package/src/kernel/private_to_rollup_kernel_circuit_public_inputs.ts +21 -15
  1309. package/src/kernel/private_validation_requests.ts +22 -65
  1310. package/src/kernel/public_call_request.ts +140 -34
  1311. package/src/kernel/utils/optional_number.ts +1 -1
  1312. package/src/kernel/utils/order_and_comparison.ts +0 -25
  1313. package/src/keys/derivation.ts +40 -45
  1314. package/src/keys/key_types.ts +6 -2
  1315. package/src/keys/public_key.ts +26 -2
  1316. package/src/keys/public_keys.ts +138 -104
  1317. package/src/keys/utils.ts +8 -4
  1318. package/src/kv-store/config.ts +29 -0
  1319. package/src/kv-store/index.ts +1 -0
  1320. package/src/l1-contracts/index.ts +1 -0
  1321. package/src/logs/app_tagging_secret.ts +137 -0
  1322. package/src/logs/app_tagging_secret_kind.ts +21 -0
  1323. package/src/logs/contract_class_log.ts +177 -65
  1324. package/src/logs/debug_log.ts +51 -0
  1325. package/src/logs/debug_log_store.ts +54 -0
  1326. package/src/logs/index.ts +15 -8
  1327. package/src/logs/log_cursor.ts +110 -0
  1328. package/src/logs/log_result.ts +104 -0
  1329. package/src/logs/logs_query.ts +138 -0
  1330. package/src/logs/message_context.ts +76 -0
  1331. package/src/logs/pending_tagged_log.ts +39 -0
  1332. package/src/logs/pre_tag.ts +22 -0
  1333. package/src/logs/private_log.ts +86 -27
  1334. package/src/logs/public_log.ts +160 -37
  1335. package/src/logs/query_all_logs_by_tags.ts +98 -0
  1336. package/src/logs/shared_secret_derivation.ts +37 -0
  1337. package/src/logs/siloed_tag.ts +59 -0
  1338. package/src/logs/tag.ts +42 -0
  1339. package/src/logs/tagging_index_range.ts +18 -0
  1340. package/src/messaging/append_l1_to_l2_messages.ts +21 -0
  1341. package/src/messaging/in_hash.ts +12 -0
  1342. package/src/messaging/inbox_leaf.ts +20 -4
  1343. package/src/messaging/index.ts +4 -0
  1344. package/src/messaging/l1_actor.ts +2 -2
  1345. package/src/messaging/l1_to_l2_message.ts +14 -10
  1346. package/src/messaging/l1_to_l2_message_source.ts +12 -8
  1347. package/src/messaging/l2_actor.ts +2 -2
  1348. package/src/messaging/l2_to_l1_membership.ts +379 -0
  1349. package/src/messaging/l2_to_l1_message.ts +153 -39
  1350. package/src/messaging/out_hash.ts +77 -0
  1351. package/src/noir/index.ts +28 -9
  1352. package/src/note/index.ts +1 -2
  1353. package/src/note/note.ts +65 -6
  1354. package/src/note/note_dao.ts +184 -0
  1355. package/src/p2p/attestation_utils.ts +91 -0
  1356. package/src/p2p/block_proposal.ts +337 -51
  1357. package/src/p2p/checkpoint_attestation.ts +144 -0
  1358. package/src/p2p/checkpoint_proposal.ts +428 -0
  1359. package/src/p2p/client_type.ts +0 -6
  1360. package/src/p2p/consensus_payload.ts +103 -38
  1361. package/src/p2p/constants.ts +6 -0
  1362. package/src/p2p/gossipable.ts +60 -15
  1363. package/src/p2p/index.ts +5 -2
  1364. package/src/p2p/interface.ts +0 -24
  1365. package/src/p2p/message_validator.ts +14 -2
  1366. package/src/p2p/peer_error.ts +7 -0
  1367. package/src/p2p/signature_utils.ts +111 -25
  1368. package/src/p2p/signed_txs.ts +106 -0
  1369. package/src/p2p/topic_type.ts +32 -19
  1370. package/src/parity/index.ts +2 -3
  1371. package/src/parity/parity_base_private_inputs.ts +71 -0
  1372. package/src/parity/parity_public_inputs.ts +10 -3
  1373. package/src/parity/parity_root_private_inputs.ts +64 -0
  1374. package/src/proofs/chonk_proof.ts +242 -0
  1375. package/src/proofs/index.ts +2 -1
  1376. package/src/proofs/proof.ts +30 -22
  1377. package/src/proofs/proof_data.ts +60 -0
  1378. package/src/proofs/proving_request_type.ts +14 -9
  1379. package/src/proofs/recursive_proof.ts +1 -1
  1380. package/src/rollup/avm_proof_data.ts +3 -32
  1381. package/src/rollup/base_rollup_hints.ts +42 -41
  1382. package/src/rollup/block_constant_data.ts +73 -0
  1383. package/src/rollup/block_headers_hash.ts +21 -0
  1384. package/src/rollup/block_merge_rollup_private_inputs.ts +69 -0
  1385. package/src/rollup/block_rollup_public_inputs.ts +138 -0
  1386. package/src/rollup/block_root_rollup_private_inputs.ts +303 -0
  1387. package/src/rollup/checkpoint_constant_data.ts +124 -0
  1388. package/src/rollup/checkpoint_header.ts +297 -0
  1389. package/src/rollup/checkpoint_merge_rollup_private_inputs.ts +49 -0
  1390. package/src/rollup/checkpoint_rollup_public_inputs.ts +161 -0
  1391. package/src/rollup/checkpoint_root_rollup_private_inputs.ts +232 -0
  1392. package/src/rollup/epoch_constant_data.ts +62 -0
  1393. package/src/rollup/index.ts +20 -16
  1394. package/src/rollup/private_tx_base_rollup_private_inputs.ts +53 -0
  1395. package/src/rollup/public_chonk_verifier_private_inputs.ts +54 -0
  1396. package/src/rollup/public_chonk_verifier_public_inputs.ts +53 -0
  1397. package/src/rollup/public_tx_base_rollup_private_inputs.ts +57 -0
  1398. package/src/rollup/root_rollup_private_inputs.ts +90 -0
  1399. package/src/rollup/root_rollup_public_inputs.ts +108 -0
  1400. package/src/rollup/tree_snapshot_diff_hints.ts +111 -0
  1401. package/src/rollup/tx_merge_rollup_private_inputs.ts +66 -0
  1402. package/src/rollup/tx_rollup_public_inputs.ts +138 -0
  1403. package/src/schemas/schemas.ts +33 -2
  1404. package/src/slashing/helpers.ts +153 -0
  1405. package/src/slashing/index.ts +5 -0
  1406. package/src/slashing/interfaces.ts +13 -0
  1407. package/src/slashing/serialization.ts +23 -0
  1408. package/src/slashing/types.ts +145 -0
  1409. package/src/slashing/votes.ts +126 -0
  1410. package/src/snapshots/download.ts +123 -0
  1411. package/src/snapshots/index.ts +3 -0
  1412. package/src/snapshots/types.ts +74 -0
  1413. package/src/snapshots/upload.ts +64 -0
  1414. package/src/stats/stats.ts +42 -26
  1415. package/src/tests/factories.ts +919 -723
  1416. package/src/tests/jest.ts +1 -1
  1417. package/src/tests/mocks.ts +602 -153
  1418. package/src/timetable/index.ts +304 -0
  1419. package/src/trees/append_only_tree_snapshot.ts +26 -6
  1420. package/src/trees/database_public_state_source.ts +30 -0
  1421. package/src/trees/index.ts +1 -1
  1422. package/src/trees/merkle_tree_id.ts +12 -0
  1423. package/src/trees/nullifier_leaf.ts +85 -22
  1424. package/src/trees/nullifier_membership_witness.ts +14 -8
  1425. package/src/trees/public_data_leaf.ts +81 -32
  1426. package/src/trees/public_data_witness.ts +24 -5
  1427. package/src/tx/block_header.ts +76 -36
  1428. package/src/tx/call_context.ts +1 -1
  1429. package/src/tx/capsule.ts +13 -3
  1430. package/src/tx/execution_payload.ts +60 -0
  1431. package/src/tx/fee_provider.ts +10 -0
  1432. package/src/tx/function_data.ts +1 -1
  1433. package/src/tx/global_variable_builder.ts +14 -7
  1434. package/src/tx/global_variables.ts +100 -33
  1435. package/src/tx/hashed_values.ts +38 -13
  1436. package/src/tx/in_tx.ts +24 -0
  1437. package/src/tx/index.ts +11 -3
  1438. package/src/tx/indexed_tx_effect.ts +53 -0
  1439. package/src/tx/offchain_effect.ts +20 -0
  1440. package/src/tx/partial_state_reference.ts +38 -8
  1441. package/src/tx/private_execution_result.ts +76 -107
  1442. package/src/tx/private_tx_constant_data.ts +94 -0
  1443. package/src/tx/processed_tx.ts +58 -49
  1444. package/src/tx/profiling.ts +210 -0
  1445. package/src/tx/protocol_contracts.ts +86 -0
  1446. package/src/tx/proven_tx.ts +68 -0
  1447. package/src/tx/public_call_request_with_calldata.ts +94 -0
  1448. package/src/tx/public_simulation_output.ts +28 -7
  1449. package/src/tx/simulated_tx.ts +75 -77
  1450. package/src/tx/state_reference.ts +57 -9
  1451. package/src/tx/tree_snapshots.ts +38 -17
  1452. package/src/tx/tx.ts +226 -220
  1453. package/src/tx/tx_constant_data.ts +17 -25
  1454. package/src/tx/tx_context.ts +9 -4
  1455. package/src/tx/tx_effect.ts +138 -316
  1456. package/src/tx/tx_execution_request.ts +17 -4
  1457. package/src/tx/tx_hash.ts +44 -8
  1458. package/src/tx/tx_receipt.ts +296 -79
  1459. package/src/tx/tx_request.ts +20 -10
  1460. package/src/tx/validator/empty_validator.ts +1 -1
  1461. package/src/tx/validator/error_texts.ts +53 -0
  1462. package/src/tx/validator/tx_validator.ts +14 -11
  1463. package/src/types/shared.ts +12 -16
  1464. package/src/update-checker/dev_version.ts +2 -0
  1465. package/src/update-checker/index.ts +3 -0
  1466. package/src/update-checker/package_version.ts +17 -0
  1467. package/src/update-checker/version_checker.ts +65 -0
  1468. package/src/validators/errors.ts +67 -0
  1469. package/src/validators/index.ts +3 -0
  1470. package/src/validators/schemas.ts +90 -0
  1471. package/src/validators/types.ts +67 -0
  1472. package/src/versioning/versioning.ts +34 -35
  1473. package/src/vks/index.ts +1 -1
  1474. package/src/vks/verification_key.ts +32 -186
  1475. package/src/vks/vk_data.ts +43 -0
  1476. package/src/world-state/genesis_data.ts +27 -0
  1477. package/src/world-state/index.ts +2 -0
  1478. package/src/world-state/world_state_revision.ts +38 -0
  1479. package/src/zkpassport/index.ts +118 -0
  1480. package/dest/abi/mocked_keys.d.ts +0 -2
  1481. package/dest/abi/mocked_keys.d.ts.map +0 -1
  1482. package/dest/abi/mocked_keys.js +0 -1
  1483. package/dest/avm/public_data_hint.d.ts +0 -18
  1484. package/dest/avm/public_data_hint.d.ts.map +0 -1
  1485. package/dest/avm/public_data_hint.js +0 -27
  1486. package/dest/block/l2_block_code_to_purge.d.ts +0 -24
  1487. package/dest/block/l2_block_code_to_purge.d.ts.map +0 -1
  1488. package/dest/block/l2_block_code_to_purge.js +0 -51
  1489. package/dest/block/l2_block_downloader/index.d.ts +0 -3
  1490. package/dest/block/l2_block_downloader/index.d.ts.map +0 -1
  1491. package/dest/block/l2_block_downloader/index.js +0 -2
  1492. package/dest/block/l2_block_downloader/l2_block_downloader.d.ts +0 -58
  1493. package/dest/block/l2_block_downloader/l2_block_downloader.d.ts.map +0 -1
  1494. package/dest/block/l2_block_downloader/l2_block_downloader.js +0 -124
  1495. package/dest/block/l2_block_downloader/l2_block_stream.d.ts +0 -57
  1496. package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +0 -1
  1497. package/dest/block/l2_block_downloader/l2_block_stream.js +0 -137
  1498. package/dest/block/l2_block_number.d.ts +0 -5
  1499. package/dest/block/l2_block_number.d.ts.map +0 -1
  1500. package/dest/block/l2_block_number.js +0 -6
  1501. package/dest/block/nullifier_with_block_source.d.ts +0 -6
  1502. package/dest/block/nullifier_with_block_source.d.ts.map +0 -1
  1503. package/dest/config/config.d.ts +0 -18
  1504. package/dest/config/config.d.ts.map +0 -1
  1505. package/dest/config/config.js +0 -28
  1506. package/dest/contract/private_function_membership_proof.d.ts +0 -32
  1507. package/dest/contract/private_function_membership_proof.d.ts.map +0 -1
  1508. package/dest/contract/private_function_membership_proof.js +0 -124
  1509. package/dest/contract/unconstrained_function_membership_proof.d.ts +0 -27
  1510. package/dest/contract/unconstrained_function_membership_proof.d.ts.map +0 -1
  1511. package/dest/contract/unconstrained_function_membership_proof.js +0 -87
  1512. package/dest/database-version/index.d.ts +0 -2
  1513. package/dest/database-version/index.d.ts.map +0 -1
  1514. package/dest/database-version/index.js +0 -1
  1515. package/dest/event/event.d.ts +0 -24
  1516. package/dest/event/event.d.ts.map +0 -1
  1517. package/dest/event/event.js +0 -13
  1518. package/dest/event/event_metadata.d.ts +0 -38
  1519. package/dest/event/event_metadata.d.ts.map +0 -1
  1520. package/dest/event/event_metadata.js +0 -45
  1521. package/dest/event/index.d.ts +0 -4
  1522. package/dest/event/index.d.ts.map +0 -1
  1523. package/dest/event/index.js +0 -3
  1524. package/dest/event/l1_event_payload.d.ts +0 -52
  1525. package/dest/event/l1_event_payload.d.ts.map +0 -1
  1526. package/dest/event/l1_event_payload.js +0 -64
  1527. package/dest/interfaces/get_logs_response.d.ts +0 -73
  1528. package/dest/interfaces/get_logs_response.d.ts.map +0 -1
  1529. package/dest/interfaces/get_logs_response.js +0 -11
  1530. package/dest/interfaces/pxe.d.ts +0 -347
  1531. package/dest/interfaces/pxe.d.ts.map +0 -1
  1532. package/dest/interfaces/pxe.js +0 -104
  1533. package/dest/kernel/combined_constant_data.d.ts +0 -73
  1534. package/dest/kernel/combined_constant_data.d.ts.map +0 -1
  1535. package/dest/kernel/combined_constant_data.js +0 -73
  1536. package/dest/kernel/hints/key_validation_request_and_generator.d.ts +0 -32
  1537. package/dest/kernel/hints/key_validation_request_and_generator.d.ts.map +0 -1
  1538. package/dest/kernel/hints/key_validation_request_and_generator.js +0 -44
  1539. package/dest/kernel/hints/rollup_validation_requests.d.ts +0 -40
  1540. package/dest/kernel/hints/rollup_validation_requests.d.ts.map +0 -1
  1541. package/dest/kernel/hints/rollup_validation_requests.js +0 -57
  1542. package/dest/kernel/hints/scoped_key_validation_request_and_generator.d.ts +0 -21
  1543. package/dest/kernel/hints/scoped_key_validation_request_and_generator.d.ts.map +0 -1
  1544. package/dest/kernel/hints/scoped_key_validation_request_and_generator.js +0 -41
  1545. package/dest/kernel/hints/transient_data_index_hint.d.ts +0 -20
  1546. package/dest/kernel/hints/transient_data_index_hint.d.ts.map +0 -1
  1547. package/dest/kernel/hints/transient_data_index_hint.js +0 -40
  1548. package/dest/kernel/private_kernel_prover_profile_result.d.ts +0 -25
  1549. package/dest/kernel/private_kernel_prover_profile_result.d.ts.map +0 -1
  1550. package/dest/kernel/private_kernel_prover_profile_result.js +0 -7
  1551. package/dest/logs/extended_contract_class_log.d.ts +0 -53
  1552. package/dest/logs/extended_contract_class_log.d.ts.map +0 -1
  1553. package/dest/logs/extended_contract_class_log.js +0 -67
  1554. package/dest/logs/extended_public_log.d.ts +0 -94
  1555. package/dest/logs/extended_public_log.d.ts.map +0 -1
  1556. package/dest/logs/extended_public_log.js +0 -73
  1557. package/dest/logs/indexed_tagging_secret.d.ts +0 -28
  1558. package/dest/logs/indexed_tagging_secret.d.ts.map +0 -1
  1559. package/dest/logs/indexed_tagging_secret.js +0 -50
  1560. package/dest/logs/l1_payload/encrypted_log_payload.d.ts +0 -50
  1561. package/dest/logs/l1_payload/encrypted_log_payload.d.ts.map +0 -1
  1562. package/dest/logs/l1_payload/encrypted_log_payload.js +0 -140
  1563. package/dest/logs/l1_payload/encryption_util.d.ts +0 -24
  1564. package/dest/logs/l1_payload/encryption_util.d.ts.map +0 -1
  1565. package/dest/logs/l1_payload/encryption_util.js +0 -46
  1566. package/dest/logs/l1_payload/index.d.ts +0 -3
  1567. package/dest/logs/l1_payload/index.d.ts.map +0 -1
  1568. package/dest/logs/l1_payload/index.js +0 -2
  1569. package/dest/logs/l1_payload/l1_note_payload.d.ts +0 -82
  1570. package/dest/logs/l1_payload/l1_note_payload.d.ts.map +0 -1
  1571. package/dest/logs/l1_payload/l1_note_payload.js +0 -129
  1572. package/dest/logs/l1_payload/payload.d.ts +0 -60
  1573. package/dest/logs/l1_payload/payload.d.ts.map +0 -1
  1574. package/dest/logs/l1_payload/payload.js +0 -61
  1575. package/dest/logs/l1_payload/shared_secret_derivation.d.ts +0 -16
  1576. package/dest/logs/l1_payload/shared_secret_derivation.d.ts.map +0 -1
  1577. package/dest/logs/l1_payload/shared_secret_derivation.js +0 -23
  1578. package/dest/logs/log_filter.d.ts +0 -22
  1579. package/dest/logs/log_filter.d.ts.map +0 -1
  1580. package/dest/logs/log_filter.js +0 -11
  1581. package/dest/logs/log_id.d.ts +0 -72
  1582. package/dest/logs/log_id.d.ts.map +0 -1
  1583. package/dest/logs/log_id.js +0 -83
  1584. package/dest/logs/log_with_tx_data.d.ts +0 -11
  1585. package/dest/logs/log_with_tx_data.d.ts.map +0 -1
  1586. package/dest/logs/log_with_tx_data.js +0 -36
  1587. package/dest/logs/tx_scoped_l2_log.d.ts +0 -60
  1588. package/dest/logs/tx_scoped_l2_log.d.ts.map +0 -1
  1589. package/dest/logs/tx_scoped_l2_log.js +0 -58
  1590. package/dest/network/index.d.ts +0 -32
  1591. package/dest/network/index.d.ts.map +0 -1
  1592. package/dest/network/index.js +0 -30
  1593. package/dest/note/extended_note.d.ts +0 -124
  1594. package/dest/note/extended_note.d.ts.map +0 -1
  1595. package/dest/note/extended_note.js +0 -115
  1596. package/dest/note/notes_filter.d.ts +0 -27
  1597. package/dest/note/notes_filter.d.ts.map +0 -1
  1598. package/dest/note/notes_filter.js +0 -13
  1599. package/dest/p2p/block_attestation.d.ts +0 -49
  1600. package/dest/p2p/block_attestation.d.ts.map +0 -1
  1601. package/dest/p2p/block_attestation.js +0 -78
  1602. package/dest/parity/base_parity_inputs.d.ts +0 -37
  1603. package/dest/parity/base_parity_inputs.d.ts.map +0 -1
  1604. package/dest/parity/base_parity_inputs.js +0 -45
  1605. package/dest/parity/root_parity_input.d.ts +0 -54
  1606. package/dest/parity/root_parity_input.d.ts.map +0 -1
  1607. package/dest/parity/root_parity_input.js +0 -50
  1608. package/dest/parity/root_parity_inputs.d.ts +0 -39
  1609. package/dest/parity/root_parity_inputs.d.ts.map +0 -1
  1610. package/dest/parity/root_parity_inputs.js +0 -47
  1611. package/dest/proofs/client_ivc_proof.d.ts +0 -21
  1612. package/dest/proofs/client_ivc_proof.d.ts.map +0 -1
  1613. package/dest/proofs/client_ivc_proof.js +0 -44
  1614. package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts +0 -126
  1615. package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts.map +0 -1
  1616. package/dest/rollup/base_or_merge_rollup_public_inputs.js +0 -92
  1617. package/dest/rollup/block_merge_rollup.d.ts +0 -45
  1618. package/dest/rollup/block_merge_rollup.d.ts.map +0 -1
  1619. package/dest/rollup/block_merge_rollup.js +0 -50
  1620. package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts +0 -159
  1621. package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts.map +0 -1
  1622. package/dest/rollup/block_root_or_block_merge_public_inputs.js +0 -136
  1623. package/dest/rollup/block_root_rollup.d.ts +0 -262
  1624. package/dest/rollup/block_root_rollup.d.ts.map +0 -1
  1625. package/dest/rollup/block_root_rollup.js +0 -293
  1626. package/dest/rollup/constant_rollup_data.d.ts +0 -47
  1627. package/dest/rollup/constant_rollup_data.d.ts.map +0 -1
  1628. package/dest/rollup/constant_rollup_data.js +0 -45
  1629. package/dest/rollup/empty_block_root_rollup_inputs.d.ts +0 -54
  1630. package/dest/rollup/empty_block_root_rollup_inputs.d.ts.map +0 -1
  1631. package/dest/rollup/empty_block_root_rollup_inputs.js +0 -68
  1632. package/dest/rollup/merge_rollup.d.ts +0 -45
  1633. package/dest/rollup/merge_rollup.d.ts.map +0 -1
  1634. package/dest/rollup/merge_rollup.js +0 -50
  1635. package/dest/rollup/previous_rollup_block_data.d.ts +0 -58
  1636. package/dest/rollup/previous_rollup_block_data.d.ts.map +0 -1
  1637. package/dest/rollup/previous_rollup_block_data.js +0 -42
  1638. package/dest/rollup/previous_rollup_data.d.ts +0 -58
  1639. package/dest/rollup/previous_rollup_data.d.ts.map +0 -1
  1640. package/dest/rollup/previous_rollup_data.js +0 -42
  1641. package/dest/rollup/private_base_rollup_inputs.d.ts +0 -23
  1642. package/dest/rollup/private_base_rollup_inputs.d.ts.map +0 -1
  1643. package/dest/rollup/private_base_rollup_inputs.js +0 -44
  1644. package/dest/rollup/private_tube_data.d.ts +0 -17
  1645. package/dest/rollup/private_tube_data.d.ts.map +0 -1
  1646. package/dest/rollup/private_tube_data.js +0 -25
  1647. package/dest/rollup/public_base_rollup_inputs.d.ts +0 -25
  1648. package/dest/rollup/public_base_rollup_inputs.d.ts.map +0 -1
  1649. package/dest/rollup/public_base_rollup_inputs.js +0 -48
  1650. package/dest/rollup/public_tube_data.d.ts +0 -17
  1651. package/dest/rollup/public_tube_data.d.ts.map +0 -1
  1652. package/dest/rollup/public_tube_data.js +0 -25
  1653. package/dest/rollup/root_rollup.d.ts +0 -112
  1654. package/dest/rollup/root_rollup.d.ts.map +0 -1
  1655. package/dest/rollup/root_rollup.js +0 -158
  1656. package/dest/rollup/state_diff_hints.d.ts +0 -105
  1657. package/dest/rollup/state_diff_hints.d.ts.map +0 -1
  1658. package/dest/rollup/state_diff_hints.js +0 -85
  1659. package/dest/rollup/tube_inputs.d.ts +0 -40
  1660. package/dest/rollup/tube_inputs.d.ts.map +0 -1
  1661. package/dest/rollup/tube_inputs.js +0 -57
  1662. package/dest/shared_mutable/index.d.ts +0 -5
  1663. package/dest/shared_mutable/index.d.ts.map +0 -1
  1664. package/dest/shared_mutable/index.js +0 -4
  1665. package/dest/shared_mutable/scheduled_delay_change.d.ts +0 -10
  1666. package/dest/shared_mutable/scheduled_delay_change.d.ts.map +0 -1
  1667. package/dest/shared_mutable/scheduled_delay_change.js +0 -16
  1668. package/dest/shared_mutable/scheduled_value_change.d.ts +0 -11
  1669. package/dest/shared_mutable/scheduled_value_change.d.ts.map +0 -1
  1670. package/dest/shared_mutable/scheduled_value_change.js +0 -27
  1671. package/dest/shared_mutable/shared_mutable_values.d.ts +0 -22
  1672. package/dest/shared_mutable/shared_mutable_values.d.ts.map +0 -1
  1673. package/dest/shared_mutable/shared_mutable_values.js +0 -78
  1674. package/dest/shared_mutable/shared_mutable_values_with_hash.d.ts +0 -15
  1675. package/dest/shared_mutable/shared_mutable_values_with_hash.d.ts.map +0 -1
  1676. package/dest/shared_mutable/shared_mutable_values_with_hash.js +0 -30
  1677. package/dest/trees/protocol_contract_leaf.d.ts +0 -87
  1678. package/dest/trees/protocol_contract_leaf.d.ts.map +0 -1
  1679. package/dest/trees/protocol_contract_leaf.js +0 -103
  1680. package/dest/tx/content_commitment.d.ts +0 -105
  1681. package/dest/tx/content_commitment.d.ts.map +0 -1
  1682. package/dest/tx/content_commitment.js +0 -96
  1683. package/dest/tx/max_block_number.d.ts +0 -55
  1684. package/dest/tx/max_block_number.d.ts.map +0 -1
  1685. package/dest/tx/max_block_number.js +0 -65
  1686. package/dest/tx/public_execution_request.d.ts +0 -45
  1687. package/dest/tx/public_execution_request.d.ts.map +0 -1
  1688. package/dest/tx/public_execution_request.js +0 -72
  1689. package/dest/vks/vk_witness_data.d.ts +0 -32
  1690. package/dest/vks/vk_witness_data.d.ts.map +0 -1
  1691. package/dest/vks/vk_witness_data.js +0 -33
  1692. package/src/abi/mocked_keys.ts +0 -2
  1693. package/src/avm/public_data_hint.ts +0 -38
  1694. package/src/block/l2_block_code_to_purge.ts +0 -103
  1695. package/src/block/l2_block_downloader/index.ts +0 -2
  1696. package/src/block/l2_block_downloader/l2_block_downloader.ts +0 -149
  1697. package/src/block/l2_block_downloader/l2_block_stream.ts +0 -179
  1698. package/src/block/l2_block_number.ts +0 -8
  1699. package/src/block/nullifier_with_block_source.ts +0 -7
  1700. package/src/config/config.ts +0 -42
  1701. package/src/contract/private_function_membership_proof.ts +0 -167
  1702. package/src/contract/unconstrained_function_membership_proof.ts +0 -118
  1703. package/src/database-version/index.ts +0 -1
  1704. package/src/event/event.ts +0 -16
  1705. package/src/event/event_metadata.ts +0 -56
  1706. package/src/event/index.ts +0 -3
  1707. package/src/event/l1_event_payload.ts +0 -87
  1708. package/src/interfaces/get_logs_response.ts +0 -31
  1709. package/src/interfaces/pxe.ts +0 -536
  1710. package/src/kernel/combined_constant_data.ts +0 -128
  1711. package/src/kernel/hints/key_validation_request_and_generator.ts +0 -52
  1712. package/src/kernel/hints/rollup_validation_requests.ts +0 -73
  1713. package/src/kernel/hints/scoped_key_validation_request_and_generator.ts +0 -54
  1714. package/src/kernel/hints/transient_data_index_hint.ts +0 -42
  1715. package/src/kernel/private_kernel_prover_profile_result.ts +0 -7
  1716. package/src/logs/extended_contract_class_log.ts +0 -87
  1717. package/src/logs/extended_public_log.ts +0 -94
  1718. package/src/logs/indexed_tagging_secret.ts +0 -45
  1719. package/src/logs/l1_payload/encrypted_log_payload.ts +0 -202
  1720. package/src/logs/l1_payload/encryption_util.ts +0 -54
  1721. package/src/logs/l1_payload/index.ts +0 -2
  1722. package/src/logs/l1_payload/l1_note_payload.ts +0 -182
  1723. package/src/logs/l1_payload/payload.ts +0 -73
  1724. package/src/logs/l1_payload/shared_secret_derivation.ts +0 -35
  1725. package/src/logs/log_filter.ts +0 -31
  1726. package/src/logs/log_id.ts +0 -110
  1727. package/src/logs/log_with_tx_data.ts +0 -36
  1728. package/src/logs/tx_scoped_l2_log.ts +0 -83
  1729. package/src/network/index.ts +0 -32
  1730. package/src/note/extended_note.ts +0 -168
  1731. package/src/note/notes_filter.ts +0 -39
  1732. package/src/p2p/block_attestation.ts +0 -107
  1733. package/src/parity/base_parity_inputs.ts +0 -63
  1734. package/src/parity/root_parity_input.ts +0 -71
  1735. package/src/parity/root_parity_inputs.ts +0 -66
  1736. package/src/proofs/client_ivc_proof.ts +0 -61
  1737. package/src/rollup/base_or_merge_rollup_public_inputs.ts +0 -146
  1738. package/src/rollup/block_merge_rollup.ts +0 -65
  1739. package/src/rollup/block_root_or_block_merge_public_inputs.ts +0 -175
  1740. package/src/rollup/block_root_rollup.ts +0 -362
  1741. package/src/rollup/constant_rollup_data.ts +0 -54
  1742. package/src/rollup/empty_block_root_rollup_inputs.ts +0 -85
  1743. package/src/rollup/merge_rollup.ts +0 -62
  1744. package/src/rollup/previous_rollup_block_data.ts +0 -54
  1745. package/src/rollup/previous_rollup_data.ts +0 -54
  1746. package/src/rollup/private_base_rollup_inputs.ts +0 -50
  1747. package/src/rollup/private_tube_data.ts +0 -35
  1748. package/src/rollup/public_base_rollup_inputs.ts +0 -59
  1749. package/src/rollup/public_tube_data.ts +0 -35
  1750. package/src/rollup/root_rollup.ts +0 -206
  1751. package/src/rollup/state_diff_hints.ts +0 -126
  1752. package/src/rollup/tube_inputs.ts +0 -70
  1753. package/src/shared_mutable/index.ts +0 -4
  1754. package/src/shared_mutable/scheduled_delay_change.ts +0 -13
  1755. package/src/shared_mutable/scheduled_value_change.ts +0 -25
  1756. package/src/shared_mutable/shared_mutable_values.ts +0 -92
  1757. package/src/shared_mutable/shared_mutable_values_with_hash.ts +0 -38
  1758. package/src/trees/protocol_contract_leaf.ts +0 -132
  1759. package/src/tx/content_commitment.ts +0 -133
  1760. package/src/tx/max_block_number.ts +0 -79
  1761. package/src/tx/public_execution_request.ts +0 -97
  1762. package/src/vks/vk_witness_data.ts +0 -43
  1763. /package/dest/block/{nullifier_with_block_source.js → l2_block_stream/interfaces.js} +0 -0
@@ -1,1465 +1,1252 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
- /// <reference types="node" resolution-mode="require"/>
3
1
  import { z } from 'zod';
4
2
  import { ProvingRequestType } from '../proofs/proving_request_type.js';
5
3
  import { AvmCircuitInputs } from './avm.js';
6
4
  export type AvmProvingRequest = z.infer<typeof AvmProvingRequestSchema>;
7
5
  export declare const AvmProvingRequestSchema: z.ZodObject<{
8
6
  type: z.ZodLiteral<ProvingRequestType.PUBLIC_VM>;
9
- inputs: z.ZodEffects<z.ZodObject<{
10
- functionName: z.ZodString;
11
- calldata: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
12
- hints: z.ZodEffects<z.ZodObject<{
13
- enqueuedCalls: z.ZodArray<z.ZodEffects<z.ZodObject<{
14
- contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
15
- calldata: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
16
- }, "strip", z.ZodTypeAny, {
17
- contractAddress: import("../aztec-address/index.js").AztecAddress;
18
- calldata: import("@aztec/foundation/schemas").Fr[];
19
- }, {
20
- calldata: string[];
21
- contractAddress?: any;
22
- }>, import("./avm.js").AvmEnqueuedCallHint, {
23
- calldata: string[];
24
- contractAddress?: any;
25
- }>, "many">;
26
- contractInstances: z.ZodArray<z.ZodEffects<z.ZodObject<{
7
+ inputs: z.ZodPipe<z.ZodObject<{
8
+ hints: z.ZodPipe<z.ZodObject<{
9
+ globalVariables: z.ZodPipe<z.ZodObject<{
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.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodBigInt, z.ZodTransform<number, bigint>>, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<import("@aztec/foundation/branded-types").BlockNumber, number>>;
13
+ slotNumber: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").SlotNumber>;
14
+ timestamp: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
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
+ gasFees: z.ZodPipe<z.ZodObject<{
18
+ feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
19
+ feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
20
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_fees.js").GasFees, {
21
+ feePerDaGas: bigint;
22
+ feePerL2Gas: bigint;
23
+ }>>;
24
+ }, z.core.$strip>, z.ZodTransform<import("../tx/global_variables.js").GlobalVariables, {
25
+ chainId: import("@aztec/foundation/schemas").Fr;
26
+ version: import("@aztec/foundation/schemas").Fr;
27
+ blockNumber: import("@aztec/foundation/branded-types").BlockNumber;
28
+ slotNumber: import("@aztec/foundation/schemas").SlotNumber;
29
+ timestamp: bigint;
30
+ coinbase: import("@aztec/foundation/eth-address").EthAddress;
31
+ feeRecipient: import("../aztec-address/index.js").AztecAddress;
32
+ gasFees: import("../gas/gas_fees.js").GasFees;
33
+ }>>;
34
+ tx: z.ZodPipe<z.ZodObject<{
35
+ hash: z.ZodString;
36
+ gasSettings: z.ZodPipe<z.ZodObject<{
37
+ gasLimits: z.ZodPipe<z.ZodObject<{
38
+ daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
39
+ l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
40
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas.js").Gas, {
41
+ daGas: number;
42
+ l2Gas: number;
43
+ }>>;
44
+ teardownGasLimits: z.ZodPipe<z.ZodObject<{
45
+ daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
46
+ l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
47
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas.js").Gas, {
48
+ daGas: number;
49
+ l2Gas: number;
50
+ }>>;
51
+ maxFeesPerGas: z.ZodPipe<z.ZodObject<{
52
+ feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
53
+ feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
54
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_fees.js").GasFees, {
55
+ feePerDaGas: bigint;
56
+ feePerL2Gas: bigint;
57
+ }>>;
58
+ maxPriorityFeesPerGas: z.ZodPipe<z.ZodObject<{
59
+ feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
60
+ feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
61
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_fees.js").GasFees, {
62
+ feePerDaGas: bigint;
63
+ feePerL2Gas: bigint;
64
+ }>>;
65
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_settings.js").GasSettings, {
66
+ gasLimits: import("../gas/gas.js").Gas;
67
+ teardownGasLimits: import("../gas/gas.js").Gas;
68
+ maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
69
+ maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
70
+ }>>;
71
+ effectiveGasFees: z.ZodPipe<z.ZodObject<{
72
+ feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
73
+ feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
74
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_fees.js").GasFees, {
75
+ feePerDaGas: bigint;
76
+ feePerL2Gas: bigint;
77
+ }>>;
78
+ nonRevertibleContractDeploymentData: z.ZodPipe<z.ZodObject<{
79
+ contractClassLogs: z.ZodArray<z.ZodPipe<z.ZodObject<{
80
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
81
+ fields: z.ZodPipe<z.ZodObject<{
82
+ fields: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
83
+ }, z.core.$strip>, z.ZodTransform<import("../logs/contract_class_log.js").ContractClassLogFields, {
84
+ fields: import("@aztec/foundation/schemas").Fr[];
85
+ }>>;
86
+ emittedLength: z.ZodNumber;
87
+ }, z.core.$strip>, z.ZodTransform<import("../logs/contract_class_log.js").ContractClassLog, {
88
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
89
+ fields: import("../logs/contract_class_log.js").ContractClassLogFields;
90
+ emittedLength: number;
91
+ }>>>;
92
+ privateLogs: z.ZodArray<z.ZodPipe<z.ZodObject<{
93
+ fields: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
94
+ emittedLength: z.ZodNumber;
95
+ }, z.core.$strict>, z.ZodTransform<import("../logs/private_log.js").PrivateLog, {
96
+ fields: import("@aztec/foundation/schemas").Fr[];
97
+ emittedLength: number;
98
+ }>>>;
99
+ }, z.core.$strip>, z.ZodTransform<import("../contract/contract_deployment_data.js").ContractDeploymentData, {
100
+ contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
101
+ privateLogs: import("../logs/private_log.js").PrivateLog[];
102
+ }>>;
103
+ revertibleContractDeploymentData: z.ZodPipe<z.ZodObject<{
104
+ contractClassLogs: z.ZodArray<z.ZodPipe<z.ZodObject<{
105
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
106
+ fields: z.ZodPipe<z.ZodObject<{
107
+ fields: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
108
+ }, z.core.$strip>, z.ZodTransform<import("../logs/contract_class_log.js").ContractClassLogFields, {
109
+ fields: import("@aztec/foundation/schemas").Fr[];
110
+ }>>;
111
+ emittedLength: z.ZodNumber;
112
+ }, z.core.$strip>, z.ZodTransform<import("../logs/contract_class_log.js").ContractClassLog, {
113
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
114
+ fields: import("../logs/contract_class_log.js").ContractClassLogFields;
115
+ emittedLength: number;
116
+ }>>>;
117
+ privateLogs: z.ZodArray<z.ZodPipe<z.ZodObject<{
118
+ fields: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
119
+ emittedLength: z.ZodNumber;
120
+ }, z.core.$strict>, z.ZodTransform<import("../logs/private_log.js").PrivateLog, {
121
+ fields: import("@aztec/foundation/schemas").Fr[];
122
+ emittedLength: number;
123
+ }>>>;
124
+ }, z.core.$strip>, z.ZodTransform<import("../contract/contract_deployment_data.js").ContractDeploymentData, {
125
+ contractClassLogs: import("../logs/contract_class_log.js").ContractClassLog[];
126
+ privateLogs: import("../logs/private_log.js").PrivateLog[];
127
+ }>>;
128
+ nonRevertibleAccumulatedData: z.ZodObject<{
129
+ noteHashes: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
130
+ nullifiers: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
131
+ l2ToL1Messages: z.ZodArray<z.ZodPipe<z.ZodObject<{
132
+ message: z.ZodPipe<z.ZodObject<{
133
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, string, z.core.$ZodTypeInternals<import("@aztec/foundation/eth-address").EthAddress, string>>;
134
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
135
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
136
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
137
+ content: import("@aztec/foundation/schemas").Fr;
138
+ }>>;
139
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
140
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
141
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
142
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
143
+ }>>>;
144
+ }, z.core.$strip>;
145
+ revertibleAccumulatedData: z.ZodObject<{
146
+ noteHashes: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
147
+ nullifiers: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
148
+ l2ToL1Messages: z.ZodArray<z.ZodPipe<z.ZodObject<{
149
+ message: z.ZodPipe<z.ZodObject<{
150
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, string, z.core.$ZodTypeInternals<import("@aztec/foundation/eth-address").EthAddress, string>>;
151
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
152
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
153
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
154
+ content: import("@aztec/foundation/schemas").Fr;
155
+ }>>;
156
+ contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
157
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
158
+ message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
159
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
160
+ }>>>;
161
+ }, z.core.$strip>;
162
+ setupEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>>;
163
+ appLogicEnqueuedCalls: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>>;
164
+ teardownEnqueuedCall: z.ZodNullable<import("@aztec/foundation/schemas").ZodFor<import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata>>;
165
+ gasUsedByPrivate: z.ZodPipe<z.ZodObject<{
166
+ daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
167
+ l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
168
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas.js").Gas, {
169
+ daGas: number;
170
+ l2Gas: number;
171
+ }>>;
172
+ feePayer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
173
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmTxHint, {
174
+ hash: string;
175
+ gasSettings: import("../gas/gas_settings.js").GasSettings;
176
+ effectiveGasFees: import("../gas/gas_fees.js").GasFees;
177
+ nonRevertibleContractDeploymentData: import("../contract/contract_deployment_data.js").ContractDeploymentData;
178
+ revertibleContractDeploymentData: import("../contract/contract_deployment_data.js").ContractDeploymentData;
179
+ nonRevertibleAccumulatedData: {
180
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
181
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
182
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
183
+ };
184
+ revertibleAccumulatedData: {
185
+ noteHashes: import("@aztec/foundation/schemas").Fr[];
186
+ nullifiers: import("@aztec/foundation/schemas").Fr[];
187
+ l2ToL1Messages: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
188
+ };
189
+ setupEnqueuedCalls: import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata[];
190
+ appLogicEnqueuedCalls: import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata[];
191
+ teardownEnqueuedCall: import("../tx/public_call_request_with_calldata.js").PublicCallRequestWithCalldata | null;
192
+ gasUsedByPrivate: import("../gas/gas.js").Gas;
193
+ feePayer: import("../aztec-address/index.js").AztecAddress;
194
+ }>>;
195
+ protocolContracts: z.ZodPipe<z.ZodObject<{
196
+ derivedAddresses: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>>;
197
+ }, z.core.$strip>, z.ZodTransform<import("../tx/protocol_contracts.js").ProtocolContracts, {
198
+ derivedAddresses: import("../aztec-address/index.js").AztecAddress[];
199
+ }>>;
200
+ contractInstances: z.ZodArray<z.ZodPipe<z.ZodObject<{
201
+ hintKey: z.ZodNumber;
27
202
  address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
28
- exists: z.ZodBoolean;
29
- salt: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
203
+ salt: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
30
204
  deployer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
31
- currentContractClassId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
32
- originalContractClassId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
33
- initializationHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
34
- publicKeys: z.ZodEffects<z.ZodObject<{
35
- masterNullifierPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
36
- masterIncomingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
37
- masterOutgoingViewingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
38
- masterTaggingPublicKey: z.ZodType<import("@aztec/foundation/schemas").Point, any, string>;
39
- }, "strip", z.ZodTypeAny, {
40
- masterNullifierPublicKey: import("@aztec/foundation/schemas").Point;
41
- masterIncomingViewingPublicKey: import("@aztec/foundation/schemas").Point;
42
- masterOutgoingViewingPublicKey: import("@aztec/foundation/schemas").Point;
43
- masterTaggingPublicKey: import("@aztec/foundation/schemas").Point;
44
- }, {
45
- masterNullifierPublicKey: string;
46
- masterIncomingViewingPublicKey: string;
47
- masterOutgoingViewingPublicKey: string;
48
- masterTaggingPublicKey: string;
49
- }>, import("../keys/public_keys.js").PublicKeys, {
50
- masterNullifierPublicKey: string;
51
- masterIncomingViewingPublicKey: string;
52
- masterOutgoingViewingPublicKey: string;
53
- masterTaggingPublicKey: string;
54
- }>;
55
- updateMembershipHint: z.ZodEffects<z.ZodObject<{
56
- leafPreimage: z.ZodEffects<z.ZodObject<{
57
- slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
58
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
59
- nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
60
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
61
- }, "strip", z.ZodTypeAny, {
62
- value: import("@aztec/foundation/schemas").Fr;
63
- slot: import("@aztec/foundation/schemas").Fr;
64
- nextIndex: bigint;
65
- nextSlot: import("@aztec/foundation/schemas").Fr;
66
- }, {
67
- value: string;
68
- slot: string;
69
- nextIndex: string | number | bigint;
70
- nextSlot: string;
71
- }>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
72
- value: string;
73
- slot: string;
74
- nextIndex: string | number | bigint;
75
- nextSlot: string;
76
- }>;
77
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
78
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
79
- }, "strip", z.ZodTypeAny, {
80
- leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
81
- leafIndex: import("@aztec/foundation/schemas").Fr;
82
- siblingPath: import("@aztec/foundation/schemas").Fr[];
83
- }, {
84
- leafPreimage: {
85
- value: string;
86
- slot: string;
87
- nextIndex: string | number | bigint;
88
- nextSlot: string;
89
- };
90
- leafIndex: string;
91
- siblingPath: string[];
92
- }>, import("./avm.js").AvmPublicDataReadTreeHint, {
93
- leafPreimage: {
94
- value: string;
95
- slot: string;
96
- nextIndex: string | number | bigint;
97
- nextSlot: string;
98
- };
99
- leafIndex: string;
100
- siblingPath: string[];
101
- }>;
102
- updatePreimage: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
103
- }, "strip", z.ZodTypeAny, {
104
- exists: boolean;
205
+ currentContractClassId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
206
+ originalContractClassId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
207
+ initializationHash: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
208
+ immutablesHash: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
209
+ publicKeys: z.ZodPipe<z.ZodObject<{
210
+ npkMHash: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
211
+ ivpkM: z.ZodType<import("@aztec/foundation/schemas").Point, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Point, string>>;
212
+ ovpkMHash: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
213
+ tpkMHash: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
214
+ mspkMHash: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
215
+ fbpkMHash: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
216
+ }, z.core.$strip>, z.ZodTransform<import("../keys/public_keys.js").PublicKeys, {
217
+ npkMHash: import("@aztec/foundation/schemas").Fr;
218
+ ivpkM: import("@aztec/foundation/schemas").Point;
219
+ ovpkMHash: import("@aztec/foundation/schemas").Fr;
220
+ tpkMHash: import("@aztec/foundation/schemas").Fr;
221
+ mspkMHash: import("@aztec/foundation/schemas").Fr;
222
+ fbpkMHash: import("@aztec/foundation/schemas").Fr;
223
+ }>>;
224
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmContractInstanceHint, {
225
+ hintKey: number;
105
226
  address: import("../aztec-address/index.js").AztecAddress;
106
227
  salt: import("@aztec/foundation/schemas").Fr;
107
228
  deployer: import("../aztec-address/index.js").AztecAddress;
108
229
  currentContractClassId: import("@aztec/foundation/schemas").Fr;
109
230
  originalContractClassId: import("@aztec/foundation/schemas").Fr;
110
231
  initializationHash: import("@aztec/foundation/schemas").Fr;
232
+ immutablesHash: import("@aztec/foundation/schemas").Fr;
111
233
  publicKeys: import("../keys/public_keys.js").PublicKeys;
112
- updateMembershipHint: import("./avm.js").AvmPublicDataReadTreeHint;
113
- updatePreimage: import("@aztec/foundation/schemas").Fr[];
114
- }, {
115
- exists: boolean;
116
- salt: string;
117
- currentContractClassId: string;
118
- originalContractClassId: string;
119
- initializationHash: string;
120
- publicKeys: {
121
- masterNullifierPublicKey: string;
122
- masterIncomingViewingPublicKey: string;
123
- masterOutgoingViewingPublicKey: string;
124
- masterTaggingPublicKey: string;
125
- };
126
- updateMembershipHint: {
127
- leafPreimage: {
128
- value: string;
129
- slot: string;
130
- nextIndex: string | number | bigint;
131
- nextSlot: string;
132
- };
133
- leafIndex: string;
134
- siblingPath: string[];
135
- };
136
- updatePreimage: string[];
137
- address?: any;
138
- deployer?: any;
139
- }>, import("./avm.js").AvmContractInstanceHint, {
140
- exists: boolean;
141
- salt: string;
142
- currentContractClassId: string;
143
- originalContractClassId: string;
144
- initializationHash: string;
145
- publicKeys: {
146
- masterNullifierPublicKey: string;
147
- masterIncomingViewingPublicKey: string;
148
- masterOutgoingViewingPublicKey: string;
149
- masterTaggingPublicKey: string;
150
- };
151
- updateMembershipHint: {
152
- leafPreimage: {
153
- value: string;
154
- slot: string;
155
- nextIndex: string | number | bigint;
156
- nextSlot: string;
157
- };
158
- leafIndex: string;
159
- siblingPath: string[];
160
- };
161
- updatePreimage: string[];
162
- address?: any;
163
- deployer?: any;
164
- }>, "many">;
165
- contractClasses: z.ZodArray<z.ZodEffects<z.ZodObject<{
166
- classId: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
167
- exists: z.ZodBoolean;
168
- artifactHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
169
- privateFunctionsRoot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
170
- publicBytecodeCommitment: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
171
- packedBytecode: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Buffer, string>, z.ZodEffects<z.ZodObject<{
172
- type: z.ZodLiteral<"Buffer">;
173
- data: z.ZodArray<z.ZodNumber, "many">;
174
- }, "strip", z.ZodTypeAny, {
175
- type: "Buffer";
176
- data: number[];
177
- }, {
178
- type: "Buffer";
179
- data: number[];
180
- }>, Buffer, {
181
- type: "Buffer";
182
- data: number[];
183
- }>]>;
184
- }, "strip", z.ZodTypeAny, {
234
+ }>>>;
235
+ contractClasses: z.ZodArray<z.ZodPipe<z.ZodObject<{
236
+ hintKey: z.ZodNumber;
237
+ classId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
238
+ artifactHash: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
239
+ privateFunctionsRoot: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
240
+ packedBytecode: import("@aztec/foundation/schemas").ZodFor<Buffer<ArrayBufferLike>>;
241
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmContractClassHint, {
242
+ hintKey: number;
185
243
  classId: import("@aztec/foundation/schemas").Fr;
186
- exists: boolean;
187
244
  artifactHash: import("@aztec/foundation/schemas").Fr;
188
245
  privateFunctionsRoot: import("@aztec/foundation/schemas").Fr;
189
- publicBytecodeCommitment: import("@aztec/foundation/schemas").Fr;
190
- packedBytecode: Buffer;
246
+ packedBytecode: Buffer<ArrayBufferLike>;
247
+ }>>>;
248
+ bytecodeCommitments: z.ZodArray<z.ZodPipe<z.ZodObject<{
249
+ hintKey: z.ZodNumber;
250
+ classId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
251
+ commitment: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
252
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmBytecodeCommitmentHint, {
253
+ hintKey: number;
254
+ classId: import("@aztec/foundation/schemas").Fr;
255
+ commitment: import("@aztec/foundation/schemas").Fr;
256
+ }>>>;
257
+ debugFunctionNames: z.ZodArray<z.ZodPipe<z.ZodObject<{
258
+ address: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
259
+ selector: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
260
+ name: z.ZodString;
261
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmDebugFunctionNameHint, {
262
+ address: import("../aztec-address/index.js").AztecAddress;
263
+ selector: import("@aztec/foundation/schemas").Fr;
264
+ name: string;
265
+ }>>>;
266
+ contractDbCreateCheckpointHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
267
+ actionCounter: z.ZodNumber;
268
+ oldCheckpointId: z.ZodNumber;
269
+ newCheckpointId: z.ZodNumber;
270
+ }, z.core.$strip>, z.ZodTransform<{
271
+ readonly actionCounter: number;
272
+ readonly oldCheckpointId: number;
273
+ readonly newCheckpointId: number;
191
274
  }, {
192
- classId: string;
193
- exists: boolean;
194
- artifactHash: string;
195
- privateFunctionsRoot: string;
196
- publicBytecodeCommitment: string;
197
- packedBytecode: string | {
198
- type: "Buffer";
199
- data: number[];
200
- };
201
- }>, import("./avm.js").AvmContractClassHint, {
202
- classId: string;
203
- exists: boolean;
204
- artifactHash: string;
205
- privateFunctionsRoot: string;
206
- publicBytecodeCommitment: string;
207
- packedBytecode: string | {
208
- type: "Buffer";
209
- data: number[];
210
- };
211
- }>, "many">;
212
- publicDataReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
213
- leafPreimage: z.ZodEffects<z.ZodObject<{
214
- slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
215
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
216
- nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
217
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
218
- }, "strip", z.ZodTypeAny, {
219
- value: import("@aztec/foundation/schemas").Fr;
220
- slot: import("@aztec/foundation/schemas").Fr;
221
- nextIndex: bigint;
222
- nextSlot: import("@aztec/foundation/schemas").Fr;
223
- }, {
224
- value: string;
225
- slot: string;
226
- nextIndex: string | number | bigint;
227
- nextSlot: string;
228
- }>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
229
- value: string;
230
- slot: string;
231
- nextIndex: string | number | bigint;
232
- nextSlot: string;
233
- }>;
234
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
235
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
236
- }, "strip", z.ZodTypeAny, {
237
- leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
238
- leafIndex: import("@aztec/foundation/schemas").Fr;
239
- siblingPath: import("@aztec/foundation/schemas").Fr[];
275
+ actionCounter: number;
276
+ oldCheckpointId: number;
277
+ newCheckpointId: number;
278
+ }>>>;
279
+ contractDbCommitCheckpointHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
280
+ actionCounter: z.ZodNumber;
281
+ oldCheckpointId: z.ZodNumber;
282
+ newCheckpointId: z.ZodNumber;
283
+ }, z.core.$strip>, z.ZodTransform<{
284
+ readonly actionCounter: number;
285
+ readonly oldCheckpointId: number;
286
+ readonly newCheckpointId: number;
240
287
  }, {
241
- leafPreimage: {
242
- value: string;
243
- slot: string;
244
- nextIndex: string | number | bigint;
245
- nextSlot: string;
246
- };
247
- leafIndex: string;
248
- siblingPath: string[];
249
- }>, import("./avm.js").AvmPublicDataReadTreeHint, {
250
- leafPreimage: {
251
- value: string;
252
- slot: string;
253
- nextIndex: string | number | bigint;
254
- nextSlot: string;
255
- };
256
- leafIndex: string;
257
- siblingPath: string[];
258
- }>, "many">;
259
- publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
260
- lowLeafRead: z.ZodEffects<z.ZodObject<{
261
- leafPreimage: z.ZodEffects<z.ZodObject<{
262
- slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
263
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
264
- nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
265
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
266
- }, "strip", z.ZodTypeAny, {
267
- value: import("@aztec/foundation/schemas").Fr;
288
+ actionCounter: number;
289
+ oldCheckpointId: number;
290
+ newCheckpointId: number;
291
+ }>>>;
292
+ contractDbRevertCheckpointHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
293
+ actionCounter: z.ZodNumber;
294
+ oldCheckpointId: z.ZodNumber;
295
+ newCheckpointId: z.ZodNumber;
296
+ }, z.core.$strip>, z.ZodTransform<{
297
+ readonly actionCounter: number;
298
+ readonly oldCheckpointId: number;
299
+ readonly newCheckpointId: number;
300
+ }, {
301
+ actionCounter: number;
302
+ oldCheckpointId: number;
303
+ newCheckpointId: number;
304
+ }>>>;
305
+ startingTreeRoots: z.ZodPipe<z.ZodObject<{
306
+ l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
307
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
308
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
309
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
310
+ root: import("@aztec/foundation/schemas").Fr;
311
+ nextAvailableLeafIndex: number;
312
+ }>>;
313
+ noteHashTree: z.ZodPipe<z.ZodObject<{
314
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
315
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
316
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
317
+ root: import("@aztec/foundation/schemas").Fr;
318
+ nextAvailableLeafIndex: number;
319
+ }>>;
320
+ nullifierTree: z.ZodPipe<z.ZodObject<{
321
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
322
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
323
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
324
+ root: import("@aztec/foundation/schemas").Fr;
325
+ nextAvailableLeafIndex: number;
326
+ }>>;
327
+ publicDataTree: z.ZodPipe<z.ZodObject<{
328
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
329
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
330
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
331
+ root: import("@aztec/foundation/schemas").Fr;
332
+ nextAvailableLeafIndex: number;
333
+ }>>;
334
+ }, z.core.$strip>, z.ZodTransform<import("../tx/tree_snapshots.js").TreeSnapshots, {
335
+ l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
336
+ noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
337
+ nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
338
+ publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
339
+ }>>;
340
+ getSiblingPathHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
341
+ hintKey: z.ZodPipe<z.ZodObject<{
342
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
343
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
344
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
345
+ root: import("@aztec/foundation/schemas").Fr;
346
+ nextAvailableLeafIndex: number;
347
+ }>>;
348
+ treeId: z.ZodNumber;
349
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
350
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
351
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmGetSiblingPathHint, {
352
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
353
+ treeId: number;
354
+ index: bigint;
355
+ path: import("@aztec/foundation/schemas").Fr[];
356
+ }>>>;
357
+ getPreviousValueIndexHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
358
+ hintKey: z.ZodPipe<z.ZodObject<{
359
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
360
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
361
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
362
+ root: import("@aztec/foundation/schemas").Fr;
363
+ nextAvailableLeafIndex: number;
364
+ }>>;
365
+ treeId: z.ZodNumber;
366
+ value: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
367
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
368
+ alreadyPresent: z.ZodBoolean;
369
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmGetPreviousValueIndexHint, {
370
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
371
+ treeId: number;
372
+ value: import("@aztec/foundation/schemas").Fr;
373
+ index: bigint;
374
+ alreadyPresent: boolean;
375
+ }>>>;
376
+ getLeafPreimageHintsPublicDataTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
377
+ hintKey: z.ZodPipe<z.ZodObject<{
378
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
379
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
380
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
381
+ root: import("@aztec/foundation/schemas").Fr;
382
+ nextAvailableLeafIndex: number;
383
+ }>>;
384
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
385
+ leafPreimage: z.ZodPipe<z.ZodObject<{
386
+ leaf: z.ZodPipe<z.ZodObject<{
387
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
388
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeaf, {
389
+ nullifier: import("@aztec/foundation/schemas").Fr;
390
+ }>>;
391
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
392
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
393
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
394
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
395
+ nextKey: import("@aztec/foundation/schemas").Fr;
396
+ nextIndex: bigint;
397
+ }>> | z.ZodPipe<z.ZodObject<{
398
+ leaf: z.ZodPipe<z.ZodObject<{
399
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
400
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
401
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
268
402
  slot: import("@aztec/foundation/schemas").Fr;
269
- nextIndex: bigint;
270
- nextSlot: import("@aztec/foundation/schemas").Fr;
271
- }, {
272
- value: string;
273
- slot: string;
274
- nextIndex: string | number | bigint;
275
- nextSlot: string;
276
- }>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
277
- value: string;
278
- slot: string;
279
- nextIndex: string | number | bigint;
280
- nextSlot: string;
281
- }>;
282
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
283
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
284
- }, "strip", z.ZodTypeAny, {
285
- leafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
286
- leafIndex: import("@aztec/foundation/schemas").Fr;
287
- siblingPath: import("@aztec/foundation/schemas").Fr[];
288
- }, {
289
- leafPreimage: {
290
- value: string;
291
- slot: string;
292
- nextIndex: string | number | bigint;
293
- nextSlot: string;
294
- };
295
- leafIndex: string;
296
- siblingPath: string[];
297
- }>, import("./avm.js").AvmPublicDataReadTreeHint, {
298
- leafPreimage: {
299
- value: string;
300
- slot: string;
301
- nextIndex: string | number | bigint;
302
- nextSlot: string;
303
- };
304
- leafIndex: string;
305
- siblingPath: string[];
306
- }>;
307
- newLeafPreimage: z.ZodEffects<z.ZodObject<{
308
- slot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
309
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
310
- nextSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
311
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
312
- }, "strip", z.ZodTypeAny, {
313
- value: import("@aztec/foundation/schemas").Fr;
314
- slot: import("@aztec/foundation/schemas").Fr;
403
+ value: import("@aztec/foundation/schemas").Fr;
404
+ }>>;
405
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
406
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
407
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
408
+ leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
409
+ nextKey: import("@aztec/foundation/schemas").Fr;
315
410
  nextIndex: bigint;
316
- nextSlot: import("@aztec/foundation/schemas").Fr;
317
- }, {
318
- value: string;
319
- slot: string;
320
- nextIndex: string | number | bigint;
321
- nextSlot: string;
322
- }>, import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
323
- value: string;
324
- slot: string;
325
- nextIndex: string | number | bigint;
326
- nextSlot: string;
327
- }>;
328
- insertionPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
329
- }, "strip", z.ZodTypeAny, {
330
- lowLeafRead: import("./avm.js").AvmPublicDataReadTreeHint;
331
- insertionPath: import("@aztec/foundation/schemas").Fr[];
332
- newLeafPreimage: import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
411
+ }>>;
412
+ }, z.core.$strip>, z.ZodTransform<{
413
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
414
+ readonly index: bigint;
415
+ readonly leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
333
416
  }, {
334
- lowLeafRead: {
335
- leafPreimage: {
336
- value: string;
337
- slot: string;
338
- nextIndex: string | number | bigint;
339
- nextSlot: string;
340
- };
341
- leafIndex: string;
342
- siblingPath: string[];
343
- };
344
- insertionPath: string[];
345
- newLeafPreimage: {
346
- value: string;
347
- slot: string;
348
- nextIndex: string | number | bigint;
349
- nextSlot: string;
350
- };
351
- }>, import("./avm.js").AvmPublicDataWriteTreeHint, {
352
- lowLeafRead: {
353
- leafPreimage: {
354
- value: string;
355
- slot: string;
356
- nextIndex: string | number | bigint;
357
- nextSlot: string;
358
- };
359
- leafIndex: string;
360
- siblingPath: string[];
361
- };
362
- insertionPath: string[];
363
- newLeafPreimage: {
364
- value: string;
365
- slot: string;
366
- nextIndex: string | number | bigint;
367
- nextSlot: string;
368
- };
369
- }>, "many">;
370
- nullifierReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
371
- lowLeafPreimage: z.ZodEffects<z.ZodObject<{
372
- nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
373
- nextNullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
374
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
375
- }, "strip", z.ZodTypeAny, {
376
- nullifier: import("@aztec/foundation/schemas").Fr;
377
- nextNullifier: import("@aztec/foundation/schemas").Fr;
417
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
418
+ index: bigint;
419
+ leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
420
+ }>>>;
421
+ getLeafPreimageHintsNullifierTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
422
+ hintKey: z.ZodPipe<z.ZodObject<{
423
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
424
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
425
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
426
+ root: import("@aztec/foundation/schemas").Fr;
427
+ nextAvailableLeafIndex: number;
428
+ }>>;
429
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
430
+ leafPreimage: z.ZodPipe<z.ZodObject<{
431
+ leaf: z.ZodPipe<z.ZodObject<{
432
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
433
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeaf, {
434
+ nullifier: import("@aztec/foundation/schemas").Fr;
435
+ }>>;
436
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
437
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
438
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
439
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
440
+ nextKey: import("@aztec/foundation/schemas").Fr;
441
+ nextIndex: bigint;
442
+ }>> | z.ZodPipe<z.ZodObject<{
443
+ leaf: z.ZodPipe<z.ZodObject<{
444
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
445
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
446
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
447
+ slot: import("@aztec/foundation/schemas").Fr;
448
+ value: import("@aztec/foundation/schemas").Fr;
449
+ }>>;
450
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
451
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
452
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
453
+ leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
454
+ nextKey: import("@aztec/foundation/schemas").Fr;
378
455
  nextIndex: bigint;
379
- }, {
380
- nullifier: string;
381
- nextNullifier: string;
382
- nextIndex: string | number | bigint;
383
- }>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
384
- nullifier: string;
385
- nextNullifier: string;
386
- nextIndex: string | number | bigint;
387
- }>;
388
- lowLeafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
389
- lowLeafSiblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
390
- }, "strip", z.ZodTypeAny, {
391
- lowLeafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage;
392
- lowLeafIndex: import("@aztec/foundation/schemas").Fr;
393
- lowLeafSiblingPath: import("@aztec/foundation/schemas").Fr[];
456
+ }>>;
457
+ }, z.core.$strip>, z.ZodTransform<{
458
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
459
+ readonly index: bigint;
460
+ readonly leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
394
461
  }, {
395
- lowLeafPreimage: {
396
- nullifier: string;
397
- nextNullifier: string;
398
- nextIndex: string | number | bigint;
399
- };
400
- lowLeafIndex: string;
401
- lowLeafSiblingPath: string[];
402
- }>, import("./avm.js").AvmNullifierReadTreeHint, {
403
- lowLeafPreimage: {
404
- nullifier: string;
405
- nextNullifier: string;
406
- nextIndex: string | number | bigint;
407
- };
408
- lowLeafIndex: string;
409
- lowLeafSiblingPath: string[];
410
- }>, "many">;
411
- nullifierWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
412
- lowLeafRead: z.ZodEffects<z.ZodObject<{
413
- lowLeafPreimage: z.ZodEffects<z.ZodObject<{
414
- nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
415
- nextNullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
416
- nextIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
417
- }, "strip", z.ZodTypeAny, {
418
- nullifier: import("@aztec/foundation/schemas").Fr;
419
- nextNullifier: import("@aztec/foundation/schemas").Fr;
462
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
463
+ index: bigint;
464
+ leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
465
+ }>>>;
466
+ getLeafValueHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
467
+ hintKey: z.ZodPipe<z.ZodObject<{
468
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
469
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
470
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
471
+ root: import("@aztec/foundation/schemas").Fr;
472
+ nextAvailableLeafIndex: number;
473
+ }>>;
474
+ treeId: z.ZodNumber;
475
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
476
+ value: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
477
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmGetLeafValueHint, {
478
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
479
+ treeId: number;
480
+ index: bigint;
481
+ value: import("@aztec/foundation/schemas").Fr;
482
+ }>>>;
483
+ sequentialInsertHintsPublicDataTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
484
+ hintKey: z.ZodPipe<z.ZodObject<{
485
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
486
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
487
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
488
+ root: import("@aztec/foundation/schemas").Fr;
489
+ nextAvailableLeafIndex: number;
490
+ }>>;
491
+ stateAfter: z.ZodPipe<z.ZodObject<{
492
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
493
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
494
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
495
+ root: import("@aztec/foundation/schemas").Fr;
496
+ nextAvailableLeafIndex: number;
497
+ }>>;
498
+ treeId: z.ZodNumber;
499
+ leaf: z.ZodPipe<z.ZodObject<{
500
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
501
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeaf, {
502
+ nullifier: import("@aztec/foundation/schemas").Fr;
503
+ }>> | z.ZodPipe<z.ZodObject<{
504
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
505
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
506
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
507
+ slot: import("@aztec/foundation/schemas").Fr;
508
+ value: import("@aztec/foundation/schemas").Fr;
509
+ }>>;
510
+ lowLeavesWitnessData: z.ZodObject<{
511
+ leaf: z.ZodPipe<z.ZodObject<{
512
+ leaf: z.ZodPipe<z.ZodObject<{
513
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
514
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeaf, {
515
+ nullifier: import("@aztec/foundation/schemas").Fr;
516
+ }>>;
517
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
518
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
519
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
520
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
521
+ nextKey: import("@aztec/foundation/schemas").Fr;
420
522
  nextIndex: bigint;
421
- }, {
422
- nullifier: string;
423
- nextNullifier: string;
424
- nextIndex: string | number | bigint;
425
- }>, import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
426
- nullifier: string;
427
- nextNullifier: string;
428
- nextIndex: string | number | bigint;
429
- }>;
430
- lowLeafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
431
- lowLeafSiblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
432
- }, "strip", z.ZodTypeAny, {
433
- lowLeafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage;
434
- lowLeafIndex: import("@aztec/foundation/schemas").Fr;
435
- lowLeafSiblingPath: import("@aztec/foundation/schemas").Fr[];
436
- }, {
437
- lowLeafPreimage: {
438
- nullifier: string;
439
- nextNullifier: string;
440
- nextIndex: string | number | bigint;
441
- };
442
- lowLeafIndex: string;
443
- lowLeafSiblingPath: string[];
444
- }>, import("./avm.js").AvmNullifierReadTreeHint, {
445
- lowLeafPreimage: {
446
- nullifier: string;
447
- nextNullifier: string;
448
- nextIndex: string | number | bigint;
449
- };
450
- lowLeafIndex: string;
451
- lowLeafSiblingPath: string[];
452
- }>;
453
- insertionPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
454
- }, "strip", z.ZodTypeAny, {
455
- lowLeafRead: import("./avm.js").AvmNullifierReadTreeHint;
456
- insertionPath: import("@aztec/foundation/schemas").Fr[];
457
- }, {
458
- lowLeafRead: {
459
- lowLeafPreimage: {
460
- nullifier: string;
461
- nextNullifier: string;
462
- nextIndex: string | number | bigint;
463
- };
464
- lowLeafIndex: string;
465
- lowLeafSiblingPath: string[];
523
+ }>> | z.ZodPipe<z.ZodObject<{
524
+ leaf: z.ZodPipe<z.ZodObject<{
525
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
526
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
527
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
528
+ slot: import("@aztec/foundation/schemas").Fr;
529
+ value: import("@aztec/foundation/schemas").Fr;
530
+ }>>;
531
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
532
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
533
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
534
+ leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
535
+ nextKey: import("@aztec/foundation/schemas").Fr;
536
+ nextIndex: bigint;
537
+ }>>;
538
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
539
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
540
+ }, z.core.$strip>;
541
+ insertionWitnessData: z.ZodObject<{
542
+ leaf: z.ZodPipe<z.ZodObject<{
543
+ leaf: z.ZodPipe<z.ZodObject<{
544
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
545
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeaf, {
546
+ nullifier: import("@aztec/foundation/schemas").Fr;
547
+ }>>;
548
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
549
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
550
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
551
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
552
+ nextKey: import("@aztec/foundation/schemas").Fr;
553
+ nextIndex: bigint;
554
+ }>> | z.ZodPipe<z.ZodObject<{
555
+ leaf: z.ZodPipe<z.ZodObject<{
556
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
557
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
558
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
559
+ slot: import("@aztec/foundation/schemas").Fr;
560
+ value: import("@aztec/foundation/schemas").Fr;
561
+ }>>;
562
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
563
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
564
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
565
+ leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
566
+ nextKey: import("@aztec/foundation/schemas").Fr;
567
+ nextIndex: bigint;
568
+ }>>;
569
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
570
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
571
+ }, z.core.$strip>;
572
+ }, z.core.$strip>, z.ZodTransform<{
573
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
574
+ readonly stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
575
+ readonly treeId: import("../trees/merkle_tree_id.js").MerkleTreeId;
576
+ readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
577
+ readonly lowLeavesWitnessData: {
578
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
579
+ index: bigint;
580
+ path: import("@aztec/foundation/schemas").Fr[];
581
+ };
582
+ readonly insertionWitnessData: {
583
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
584
+ index: bigint;
585
+ path: import("@aztec/foundation/schemas").Fr[];
466
586
  };
467
- insertionPath: string[];
468
- }>, import("./avm.js").AvmNullifierWriteTreeHint, {
469
- lowLeafRead: {
470
- lowLeafPreimage: {
471
- nullifier: string;
472
- nextNullifier: string;
473
- nextIndex: string | number | bigint;
474
- };
475
- lowLeafIndex: string;
476
- lowLeafSiblingPath: string[];
587
+ }, {
588
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
589
+ stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
590
+ treeId: number;
591
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
592
+ lowLeavesWitnessData: {
593
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
594
+ index: bigint;
595
+ path: import("@aztec/foundation/schemas").Fr[];
596
+ };
597
+ insertionWitnessData: {
598
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
599
+ index: bigint;
600
+ path: import("@aztec/foundation/schemas").Fr[];
601
+ };
602
+ }>>>;
603
+ sequentialInsertHintsNullifierTree: z.ZodArray<z.ZodPipe<z.ZodObject<{
604
+ hintKey: z.ZodPipe<z.ZodObject<{
605
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
606
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
607
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
608
+ root: import("@aztec/foundation/schemas").Fr;
609
+ nextAvailableLeafIndex: number;
610
+ }>>;
611
+ stateAfter: z.ZodPipe<z.ZodObject<{
612
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
613
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
614
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
615
+ root: import("@aztec/foundation/schemas").Fr;
616
+ nextAvailableLeafIndex: number;
617
+ }>>;
618
+ treeId: z.ZodNumber;
619
+ leaf: z.ZodPipe<z.ZodObject<{
620
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
621
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeaf, {
622
+ nullifier: import("@aztec/foundation/schemas").Fr;
623
+ }>> | z.ZodPipe<z.ZodObject<{
624
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
625
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
626
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
627
+ slot: import("@aztec/foundation/schemas").Fr;
628
+ value: import("@aztec/foundation/schemas").Fr;
629
+ }>>;
630
+ lowLeavesWitnessData: z.ZodObject<{
631
+ leaf: z.ZodPipe<z.ZodObject<{
632
+ leaf: z.ZodPipe<z.ZodObject<{
633
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
634
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeaf, {
635
+ nullifier: import("@aztec/foundation/schemas").Fr;
636
+ }>>;
637
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
638
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
639
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
640
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
641
+ nextKey: import("@aztec/foundation/schemas").Fr;
642
+ nextIndex: bigint;
643
+ }>> | z.ZodPipe<z.ZodObject<{
644
+ leaf: z.ZodPipe<z.ZodObject<{
645
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
646
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
647
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
648
+ slot: import("@aztec/foundation/schemas").Fr;
649
+ value: import("@aztec/foundation/schemas").Fr;
650
+ }>>;
651
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
652
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
653
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
654
+ leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
655
+ nextKey: import("@aztec/foundation/schemas").Fr;
656
+ nextIndex: bigint;
657
+ }>>;
658
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
659
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
660
+ }, z.core.$strip>;
661
+ insertionWitnessData: z.ZodObject<{
662
+ leaf: z.ZodPipe<z.ZodObject<{
663
+ leaf: z.ZodPipe<z.ZodObject<{
664
+ nullifier: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
665
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeaf, {
666
+ nullifier: import("@aztec/foundation/schemas").Fr;
667
+ }>>;
668
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
669
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
670
+ }, z.core.$strip>, z.ZodTransform<import("../trees/nullifier_leaf.js").NullifierLeafPreimage, {
671
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeaf;
672
+ nextKey: import("@aztec/foundation/schemas").Fr;
673
+ nextIndex: bigint;
674
+ }>> | z.ZodPipe<z.ZodObject<{
675
+ leaf: z.ZodPipe<z.ZodObject<{
676
+ slot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
677
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
678
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeaf, {
679
+ slot: import("@aztec/foundation/schemas").Fr;
680
+ value: import("@aztec/foundation/schemas").Fr;
681
+ }>>;
682
+ nextKey: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
683
+ nextIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
684
+ }, z.core.$strip>, z.ZodTransform<import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage, {
685
+ leaf: import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
686
+ nextKey: import("@aztec/foundation/schemas").Fr;
687
+ nextIndex: bigint;
688
+ }>>;
689
+ index: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
690
+ path: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
691
+ }, z.core.$strip>;
692
+ }, z.core.$strip>, z.ZodTransform<{
693
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
694
+ readonly stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
695
+ readonly treeId: import("../trees/merkle_tree_id.js").MerkleTreeId;
696
+ readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
697
+ readonly lowLeavesWitnessData: {
698
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
699
+ index: bigint;
700
+ path: import("@aztec/foundation/schemas").Fr[];
701
+ };
702
+ readonly insertionWitnessData: {
703
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
704
+ index: bigint;
705
+ path: import("@aztec/foundation/schemas").Fr[];
477
706
  };
478
- insertionPath: string[];
479
- }>, "many">;
480
- noteHashReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
481
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
482
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
483
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
484
- }, "strip", z.ZodTypeAny, {
485
- value: import("@aztec/foundation/schemas").Fr;
486
- leafIndex: import("@aztec/foundation/schemas").Fr;
487
- siblingPath: import("@aztec/foundation/schemas").Fr[];
488
707
  }, {
489
- value: string;
490
- leafIndex: string;
491
- siblingPath: string[];
492
- }>, import("./avm.js").AvmAppendTreeHint, {
493
- value: string;
494
- leafIndex: string;
495
- siblingPath: string[];
496
- }>, "many">;
497
- noteHashWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
498
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
499
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
500
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
501
- }, "strip", z.ZodTypeAny, {
502
- value: import("@aztec/foundation/schemas").Fr;
503
- leafIndex: import("@aztec/foundation/schemas").Fr;
504
- siblingPath: import("@aztec/foundation/schemas").Fr[];
708
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
709
+ stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
710
+ treeId: number;
711
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
712
+ lowLeavesWitnessData: {
713
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
714
+ index: bigint;
715
+ path: import("@aztec/foundation/schemas").Fr[];
716
+ };
717
+ insertionWitnessData: {
718
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
719
+ index: bigint;
720
+ path: import("@aztec/foundation/schemas").Fr[];
721
+ };
722
+ }>>>;
723
+ appendLeavesHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
724
+ hintKey: z.ZodPipe<z.ZodObject<{
725
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
726
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
727
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
728
+ root: import("@aztec/foundation/schemas").Fr;
729
+ nextAvailableLeafIndex: number;
730
+ }>>;
731
+ stateAfter: z.ZodPipe<z.ZodObject<{
732
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
733
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
734
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
735
+ root: import("@aztec/foundation/schemas").Fr;
736
+ nextAvailableLeafIndex: number;
737
+ }>>;
738
+ treeId: z.ZodNumber;
739
+ leaves: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>>;
740
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmAppendLeavesHint, {
741
+ hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
742
+ stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
743
+ treeId: number;
744
+ leaves: import("@aztec/foundation/schemas").Fr[];
745
+ }>>>;
746
+ createCheckpointHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
747
+ actionCounter: z.ZodNumber;
748
+ oldCheckpointId: z.ZodNumber;
749
+ newCheckpointId: z.ZodNumber;
750
+ }, z.core.$strip>, z.ZodTransform<{
751
+ readonly actionCounter: number;
752
+ readonly oldCheckpointId: number;
753
+ readonly newCheckpointId: number;
505
754
  }, {
506
- value: string;
507
- leafIndex: string;
508
- siblingPath: string[];
509
- }>, import("./avm.js").AvmAppendTreeHint, {
510
- value: string;
511
- leafIndex: string;
512
- siblingPath: string[];
513
- }>, "many">;
514
- l1ToL2MessageReads: z.ZodArray<z.ZodEffects<z.ZodObject<{
515
- leafIndex: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
516
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
517
- siblingPath: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
518
- }, "strip", z.ZodTypeAny, {
519
- value: import("@aztec/foundation/schemas").Fr;
520
- leafIndex: import("@aztec/foundation/schemas").Fr;
521
- siblingPath: import("@aztec/foundation/schemas").Fr[];
755
+ actionCounter: number;
756
+ oldCheckpointId: number;
757
+ newCheckpointId: number;
758
+ }>>>;
759
+ commitCheckpointHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
760
+ actionCounter: z.ZodNumber;
761
+ oldCheckpointId: z.ZodNumber;
762
+ newCheckpointId: z.ZodNumber;
763
+ }, z.core.$strip>, z.ZodTransform<{
764
+ readonly actionCounter: number;
765
+ readonly oldCheckpointId: number;
766
+ readonly newCheckpointId: number;
522
767
  }, {
523
- value: string;
524
- leafIndex: string;
525
- siblingPath: string[];
526
- }>, import("./avm.js").AvmAppendTreeHint, {
527
- value: string;
528
- leafIndex: string;
529
- siblingPath: string[];
530
- }>, "many">;
531
- }, "strip", z.ZodTypeAny, {
532
- publicDataWrites: import("./avm.js").AvmPublicDataWriteTreeHint[];
533
- enqueuedCalls: import("./avm.js").AvmEnqueuedCallHint[];
768
+ actionCounter: number;
769
+ oldCheckpointId: number;
770
+ newCheckpointId: number;
771
+ }>>>;
772
+ revertCheckpointHints: z.ZodArray<z.ZodPipe<z.ZodObject<{
773
+ actionCounter: z.ZodNumber;
774
+ oldCheckpointId: z.ZodNumber;
775
+ newCheckpointId: z.ZodNumber;
776
+ stateBefore: z.ZodPipe<z.ZodObject<{
777
+ l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
778
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
779
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
780
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
781
+ root: import("@aztec/foundation/schemas").Fr;
782
+ nextAvailableLeafIndex: number;
783
+ }>>;
784
+ noteHashTree: z.ZodPipe<z.ZodObject<{
785
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
786
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
787
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
788
+ root: import("@aztec/foundation/schemas").Fr;
789
+ nextAvailableLeafIndex: number;
790
+ }>>;
791
+ nullifierTree: z.ZodPipe<z.ZodObject<{
792
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
793
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
794
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
795
+ root: import("@aztec/foundation/schemas").Fr;
796
+ nextAvailableLeafIndex: number;
797
+ }>>;
798
+ publicDataTree: z.ZodPipe<z.ZodObject<{
799
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
800
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
801
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
802
+ root: import("@aztec/foundation/schemas").Fr;
803
+ nextAvailableLeafIndex: number;
804
+ }>>;
805
+ }, z.core.$strip>, z.ZodTransform<import("../tx/tree_snapshots.js").TreeSnapshots, {
806
+ l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
807
+ noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
808
+ nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
809
+ publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
810
+ }>>;
811
+ stateAfter: z.ZodPipe<z.ZodObject<{
812
+ l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
813
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
814
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
815
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
816
+ root: import("@aztec/foundation/schemas").Fr;
817
+ nextAvailableLeafIndex: number;
818
+ }>>;
819
+ noteHashTree: z.ZodPipe<z.ZodObject<{
820
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
821
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
822
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
823
+ root: import("@aztec/foundation/schemas").Fr;
824
+ nextAvailableLeafIndex: number;
825
+ }>>;
826
+ nullifierTree: z.ZodPipe<z.ZodObject<{
827
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
828
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
829
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
830
+ root: import("@aztec/foundation/schemas").Fr;
831
+ nextAvailableLeafIndex: number;
832
+ }>>;
833
+ publicDataTree: z.ZodPipe<z.ZodObject<{
834
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
835
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
836
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
837
+ root: import("@aztec/foundation/schemas").Fr;
838
+ nextAvailableLeafIndex: number;
839
+ }>>;
840
+ }, z.core.$strip>, z.ZodTransform<import("../tx/tree_snapshots.js").TreeSnapshots, {
841
+ l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
842
+ noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
843
+ nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
844
+ publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
845
+ }>>;
846
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmRevertCheckpointHint, {
847
+ actionCounter: number;
848
+ oldCheckpointId: number;
849
+ newCheckpointId: number;
850
+ stateBefore: import("../tx/tree_snapshots.js").TreeSnapshots;
851
+ stateAfter: import("../tx/tree_snapshots.js").TreeSnapshots;
852
+ }>>>;
853
+ }, z.core.$strip>, z.ZodTransform<import("./avm.js").AvmExecutionHints, {
854
+ globalVariables: import("../tx/global_variables.js").GlobalVariables;
855
+ tx: import("./avm.js").AvmTxHint;
856
+ protocolContracts: import("../tx/protocol_contracts.js").ProtocolContracts;
534
857
  contractInstances: import("./avm.js").AvmContractInstanceHint[];
535
858
  contractClasses: import("./avm.js").AvmContractClassHint[];
536
- publicDataReads: import("./avm.js").AvmPublicDataReadTreeHint[];
537
- nullifierReads: import("./avm.js").AvmNullifierReadTreeHint[];
538
- nullifierWrites: import("./avm.js").AvmNullifierWriteTreeHint[];
539
- noteHashReads: import("./avm.js").AvmAppendTreeHint[];
540
- noteHashWrites: import("./avm.js").AvmAppendTreeHint[];
541
- l1ToL2MessageReads: import("./avm.js").AvmAppendTreeHint[];
542
- }, {
543
- publicDataWrites: {
544
- lowLeafRead: {
545
- leafPreimage: {
546
- value: string;
547
- slot: string;
548
- nextIndex: string | number | bigint;
549
- nextSlot: string;
550
- };
551
- leafIndex: string;
552
- siblingPath: string[];
553
- };
554
- insertionPath: string[];
555
- newLeafPreimage: {
556
- value: string;
557
- slot: string;
558
- nextIndex: string | number | bigint;
559
- nextSlot: string;
560
- };
561
- }[];
562
- enqueuedCalls: {
563
- calldata: string[];
564
- contractAddress?: any;
565
- }[];
566
- contractInstances: {
567
- exists: boolean;
568
- salt: string;
569
- currentContractClassId: string;
570
- originalContractClassId: string;
571
- initializationHash: string;
572
- publicKeys: {
573
- masterNullifierPublicKey: string;
574
- masterIncomingViewingPublicKey: string;
575
- masterOutgoingViewingPublicKey: string;
576
- masterTaggingPublicKey: string;
577
- };
578
- updateMembershipHint: {
579
- leafPreimage: {
580
- value: string;
581
- slot: string;
582
- nextIndex: string | number | bigint;
583
- nextSlot: string;
584
- };
585
- leafIndex: string;
586
- siblingPath: string[];
587
- };
588
- updatePreimage: string[];
589
- address?: any;
590
- deployer?: any;
859
+ bytecodeCommitments: import("./avm.js").AvmBytecodeCommitmentHint[];
860
+ debugFunctionNames: import("./avm.js").AvmDebugFunctionNameHint[];
861
+ contractDbCreateCheckpointHints: {
862
+ readonly actionCounter: number;
863
+ readonly oldCheckpointId: number;
864
+ readonly newCheckpointId: number;
591
865
  }[];
592
- contractClasses: {
593
- classId: string;
594
- exists: boolean;
595
- artifactHash: string;
596
- privateFunctionsRoot: string;
597
- publicBytecodeCommitment: string;
598
- packedBytecode: string | {
599
- type: "Buffer";
600
- data: number[];
601
- };
602
- }[];
603
- publicDataReads: {
604
- leafPreimage: {
605
- value: string;
606
- slot: string;
607
- nextIndex: string | number | bigint;
608
- nextSlot: string;
609
- };
610
- leafIndex: string;
611
- siblingPath: string[];
612
- }[];
613
- nullifierReads: {
614
- lowLeafPreimage: {
615
- nullifier: string;
616
- nextNullifier: string;
617
- nextIndex: string | number | bigint;
618
- };
619
- lowLeafIndex: string;
620
- lowLeafSiblingPath: string[];
866
+ contractDbCommitCheckpointHints: {
867
+ readonly actionCounter: number;
868
+ readonly oldCheckpointId: number;
869
+ readonly newCheckpointId: number;
621
870
  }[];
622
- nullifierWrites: {
623
- lowLeafRead: {
624
- lowLeafPreimage: {
625
- nullifier: string;
626
- nextNullifier: string;
627
- nextIndex: string | number | bigint;
628
- };
629
- lowLeafIndex: string;
630
- lowLeafSiblingPath: string[];
631
- };
632
- insertionPath: string[];
633
- }[];
634
- noteHashReads: {
635
- value: string;
636
- leafIndex: string;
637
- siblingPath: string[];
638
- }[];
639
- noteHashWrites: {
640
- value: string;
641
- leafIndex: string;
642
- siblingPath: string[];
643
- }[];
644
- l1ToL2MessageReads: {
645
- value: string;
646
- leafIndex: string;
647
- siblingPath: string[];
648
- }[];
649
- }>, import("./avm.js").AvmExecutionHints, {
650
- publicDataWrites: {
651
- lowLeafRead: {
652
- leafPreimage: {
653
- value: string;
654
- slot: string;
655
- nextIndex: string | number | bigint;
656
- nextSlot: string;
657
- };
658
- leafIndex: string;
659
- siblingPath: string[];
660
- };
661
- insertionPath: string[];
662
- newLeafPreimage: {
663
- value: string;
664
- slot: string;
665
- nextIndex: string | number | bigint;
666
- nextSlot: string;
667
- };
668
- }[];
669
- enqueuedCalls: {
670
- calldata: string[];
671
- contractAddress?: any;
672
- }[];
673
- contractInstances: {
674
- exists: boolean;
675
- salt: string;
676
- currentContractClassId: string;
677
- originalContractClassId: string;
678
- initializationHash: string;
679
- publicKeys: {
680
- masterNullifierPublicKey: string;
681
- masterIncomingViewingPublicKey: string;
682
- masterOutgoingViewingPublicKey: string;
683
- masterTaggingPublicKey: string;
684
- };
685
- updateMembershipHint: {
686
- leafPreimage: {
687
- value: string;
688
- slot: string;
689
- nextIndex: string | number | bigint;
690
- nextSlot: string;
691
- };
692
- leafIndex: string;
693
- siblingPath: string[];
694
- };
695
- updatePreimage: string[];
696
- address?: any;
697
- deployer?: any;
871
+ contractDbRevertCheckpointHints: {
872
+ readonly actionCounter: number;
873
+ readonly oldCheckpointId: number;
874
+ readonly newCheckpointId: number;
698
875
  }[];
699
- contractClasses: {
700
- classId: string;
701
- exists: boolean;
702
- artifactHash: string;
703
- privateFunctionsRoot: string;
704
- publicBytecodeCommitment: string;
705
- packedBytecode: string | {
706
- type: "Buffer";
707
- data: number[];
708
- };
876
+ startingTreeRoots: import("../tx/tree_snapshots.js").TreeSnapshots;
877
+ getSiblingPathHints: import("./avm.js").AvmGetSiblingPathHint[];
878
+ getPreviousValueIndexHints: import("./avm.js").AvmGetPreviousValueIndexHint[];
879
+ getLeafPreimageHintsPublicDataTree: {
880
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
881
+ readonly index: bigint;
882
+ readonly leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
709
883
  }[];
710
- publicDataReads: {
711
- leafPreimage: {
712
- value: string;
713
- slot: string;
714
- nextIndex: string | number | bigint;
715
- nextSlot: string;
716
- };
717
- leafIndex: string;
718
- siblingPath: string[];
884
+ getLeafPreimageHintsNullifierTree: {
885
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
886
+ readonly index: bigint;
887
+ readonly leafPreimage: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
719
888
  }[];
720
- nullifierReads: {
721
- lowLeafPreimage: {
722
- nullifier: string;
723
- nextNullifier: string;
724
- nextIndex: string | number | bigint;
889
+ getLeafValueHints: import("./avm.js").AvmGetLeafValueHint[];
890
+ sequentialInsertHintsPublicDataTree: {
891
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
892
+ readonly stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
893
+ readonly treeId: import("../trees/merkle_tree_id.js").MerkleTreeId;
894
+ readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
895
+ readonly lowLeavesWitnessData: {
896
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
897
+ index: bigint;
898
+ path: import("@aztec/foundation/schemas").Fr[];
899
+ };
900
+ readonly insertionWitnessData: {
901
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
902
+ index: bigint;
903
+ path: import("@aztec/foundation/schemas").Fr[];
725
904
  };
726
- lowLeafIndex: string;
727
- lowLeafSiblingPath: string[];
728
905
  }[];
729
- nullifierWrites: {
730
- lowLeafRead: {
731
- lowLeafPreimage: {
732
- nullifier: string;
733
- nextNullifier: string;
734
- nextIndex: string | number | bigint;
735
- };
736
- lowLeafIndex: string;
737
- lowLeafSiblingPath: string[];
906
+ sequentialInsertHintsNullifierTree: {
907
+ readonly hintKey: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
908
+ readonly stateAfter: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
909
+ readonly treeId: import("../trees/merkle_tree_id.js").MerkleTreeId;
910
+ readonly leaf: import("../trees/nullifier_leaf.js").NullifierLeaf | import("../trees/public_data_leaf.js").PublicDataTreeLeaf;
911
+ readonly lowLeavesWitnessData: {
912
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
913
+ index: bigint;
914
+ path: import("@aztec/foundation/schemas").Fr[];
915
+ };
916
+ readonly insertionWitnessData: {
917
+ leaf: import("../trees/nullifier_leaf.js").NullifierLeafPreimage | import("../trees/public_data_leaf.js").PublicDataTreeLeafPreimage;
918
+ index: bigint;
919
+ path: import("@aztec/foundation/schemas").Fr[];
738
920
  };
739
- insertionPath: string[];
740
921
  }[];
741
- noteHashReads: {
742
- value: string;
743
- leafIndex: string;
744
- siblingPath: string[];
922
+ appendLeavesHints: import("./avm.js").AvmAppendLeavesHint[];
923
+ createCheckpointHints: {
924
+ readonly actionCounter: number;
925
+ readonly oldCheckpointId: number;
926
+ readonly newCheckpointId: number;
745
927
  }[];
746
- noteHashWrites: {
747
- value: string;
748
- leafIndex: string;
749
- siblingPath: string[];
928
+ commitCheckpointHints: {
929
+ readonly actionCounter: number;
930
+ readonly oldCheckpointId: number;
931
+ readonly newCheckpointId: number;
750
932
  }[];
751
- l1ToL2MessageReads: {
752
- value: string;
753
- leafIndex: string;
754
- siblingPath: string[];
755
- }[];
756
- }>;
757
- publicInputs: z.ZodEffects<z.ZodObject<{
758
- globalVariables: z.ZodEffects<z.ZodObject<{
933
+ revertCheckpointHints: import("./avm.js").AvmRevertCheckpointHint[];
934
+ }>>;
935
+ publicInputs: z.ZodPipe<z.ZodObject<{
936
+ globalVariables: z.ZodPipe<z.ZodObject<{
759
937
  chainId: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
760
938
  version: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
761
- blockNumber: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
762
- slotNumber: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
763
- timestamp: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").Fr>;
764
- coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
939
+ blockNumber: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodBigInt, z.ZodTransform<number, bigint>>, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<import("@aztec/foundation/branded-types").BlockNumber, number>>;
940
+ slotNumber: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").SlotNumber>;
941
+ timestamp: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
942
+ coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/eth-address").EthAddress>;
765
943
  feeRecipient: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
766
- gasFees: z.ZodEffects<z.ZodObject<{
767
- feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
768
- feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
769
- }, "strip", z.ZodTypeAny, {
770
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
771
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
772
- }, {
773
- feePerDaGas: string;
774
- feePerL2Gas: string;
775
- }>, import("../gas/gas_fees.js").GasFees, {
776
- feePerDaGas: string;
777
- feePerL2Gas: string;
778
- }>;
779
- }, "strip", z.ZodTypeAny, {
944
+ gasFees: z.ZodPipe<z.ZodObject<{
945
+ feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
946
+ feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
947
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_fees.js").GasFees, {
948
+ feePerDaGas: bigint;
949
+ feePerL2Gas: bigint;
950
+ }>>;
951
+ }, z.core.$strip>, z.ZodTransform<import("../tx/global_variables.js").GlobalVariables, {
780
952
  chainId: import("@aztec/foundation/schemas").Fr;
781
953
  version: import("@aztec/foundation/schemas").Fr;
782
- blockNumber: import("@aztec/foundation/schemas").Fr;
783
- slotNumber: import("@aztec/foundation/schemas").Fr;
784
- timestamp: import("@aztec/foundation/schemas").Fr;
785
- coinbase: import("@aztec/foundation/schemas").EthAddress;
954
+ blockNumber: import("@aztec/foundation/branded-types").BlockNumber;
955
+ slotNumber: import("@aztec/foundation/schemas").SlotNumber;
956
+ timestamp: bigint;
957
+ coinbase: import("@aztec/foundation/eth-address").EthAddress;
786
958
  feeRecipient: import("../aztec-address/index.js").AztecAddress;
787
959
  gasFees: import("../gas/gas_fees.js").GasFees;
788
- }, {
789
- gasFees: {
790
- feePerDaGas: string;
791
- feePerL2Gas: string;
792
- };
793
- chainId?: any;
794
- version?: any;
795
- blockNumber?: any;
796
- slotNumber?: any;
797
- timestamp?: any;
798
- coinbase?: any;
799
- feeRecipient?: any;
800
- }>, import("../tx/global_variables.js").GlobalVariables, {
801
- gasFees: {
802
- feePerDaGas: string;
803
- feePerL2Gas: string;
804
- };
805
- chainId?: any;
806
- version?: any;
807
- blockNumber?: any;
808
- slotNumber?: any;
809
- timestamp?: any;
810
- coinbase?: any;
811
- feeRecipient?: any;
812
- }>;
813
- startTreeSnapshots: z.ZodEffects<z.ZodObject<{
814
- l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
815
- root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
816
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
817
- }, "strip", z.ZodTypeAny, {
960
+ }>>;
961
+ protocolContracts: z.ZodPipe<z.ZodObject<{
962
+ derivedAddresses: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>>;
963
+ }, z.core.$strip>, z.ZodTransform<import("../tx/protocol_contracts.js").ProtocolContracts, {
964
+ derivedAddresses: import("../aztec-address/index.js").AztecAddress[];
965
+ }>>;
966
+ startTreeSnapshots: z.ZodPipe<z.ZodObject<{
967
+ l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
968
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
969
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
970
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
818
971
  root: import("@aztec/foundation/schemas").Fr;
819
972
  nextAvailableLeafIndex: number;
820
- }, {
821
- root: string;
822
- nextAvailableLeafIndex: string | number | bigint;
823
- }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
824
- root: string;
825
- nextAvailableLeafIndex: string | number | bigint;
826
- }>;
827
- noteHashTree: z.ZodEffects<z.ZodObject<{
828
- root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
829
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
830
- }, "strip", z.ZodTypeAny, {
973
+ }>>;
974
+ noteHashTree: z.ZodPipe<z.ZodObject<{
975
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
976
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
977
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
831
978
  root: import("@aztec/foundation/schemas").Fr;
832
979
  nextAvailableLeafIndex: number;
833
- }, {
834
- root: string;
835
- nextAvailableLeafIndex: string | number | bigint;
836
- }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
837
- root: string;
838
- nextAvailableLeafIndex: string | number | bigint;
839
- }>;
840
- nullifierTree: z.ZodEffects<z.ZodObject<{
841
- root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
842
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
843
- }, "strip", z.ZodTypeAny, {
980
+ }>>;
981
+ nullifierTree: z.ZodPipe<z.ZodObject<{
982
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
983
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
984
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
844
985
  root: import("@aztec/foundation/schemas").Fr;
845
986
  nextAvailableLeafIndex: number;
846
- }, {
847
- root: string;
848
- nextAvailableLeafIndex: string | number | bigint;
849
- }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
850
- root: string;
851
- nextAvailableLeafIndex: string | number | bigint;
852
- }>;
853
- publicDataTree: z.ZodEffects<z.ZodObject<{
854
- root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
855
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
856
- }, "strip", z.ZodTypeAny, {
987
+ }>>;
988
+ publicDataTree: z.ZodPipe<z.ZodObject<{
989
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
990
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
991
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
857
992
  root: import("@aztec/foundation/schemas").Fr;
858
993
  nextAvailableLeafIndex: number;
859
- }, {
860
- root: string;
861
- nextAvailableLeafIndex: string | number | bigint;
862
- }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
863
- root: string;
864
- nextAvailableLeafIndex: string | number | bigint;
865
- }>;
866
- }, "strip", z.ZodTypeAny, {
994
+ }>>;
995
+ }, z.core.$strip>, z.ZodTransform<import("../tx/tree_snapshots.js").TreeSnapshots, {
867
996
  l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
868
997
  noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
869
998
  nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
870
999
  publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
871
- }, {
872
- l1ToL2MessageTree: {
873
- root: string;
874
- nextAvailableLeafIndex: string | number | bigint;
875
- };
876
- noteHashTree: {
877
- root: string;
878
- nextAvailableLeafIndex: string | number | bigint;
879
- };
880
- nullifierTree: {
881
- root: string;
882
- nextAvailableLeafIndex: string | number | bigint;
883
- };
884
- publicDataTree: {
885
- root: string;
886
- nextAvailableLeafIndex: string | number | bigint;
887
- };
888
- }>, import("../tx/tree_snapshots.js").TreeSnapshots, {
889
- l1ToL2MessageTree: {
890
- root: string;
891
- nextAvailableLeafIndex: string | number | bigint;
892
- };
893
- noteHashTree: {
894
- root: string;
895
- nextAvailableLeafIndex: string | number | bigint;
896
- };
897
- nullifierTree: {
898
- root: string;
899
- nextAvailableLeafIndex: string | number | bigint;
900
- };
901
- publicDataTree: {
902
- root: string;
903
- nextAvailableLeafIndex: string | number | bigint;
904
- };
905
- }>;
906
- startGasUsed: z.ZodEffects<z.ZodObject<{
907
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
908
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
909
- }, "strip", z.ZodTypeAny, {
1000
+ }>>;
1001
+ startGasUsed: z.ZodPipe<z.ZodObject<{
1002
+ daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1003
+ l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1004
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas.js").Gas, {
910
1005
  daGas: number;
911
1006
  l2Gas: number;
912
- }, {
913
- daGas: string | number | bigint;
914
- l2Gas: string | number | bigint;
915
- }>, import("../gas/gas.js").Gas, {
916
- daGas: string | number | bigint;
917
- l2Gas: string | number | bigint;
918
- }>;
919
- gasSettings: z.ZodEffects<z.ZodObject<{
920
- gasLimits: z.ZodEffects<z.ZodObject<{
921
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
922
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
923
- }, "strip", z.ZodTypeAny, {
1007
+ }>>;
1008
+ gasSettings: z.ZodPipe<z.ZodObject<{
1009
+ gasLimits: z.ZodPipe<z.ZodObject<{
1010
+ daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1011
+ l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1012
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas.js").Gas, {
924
1013
  daGas: number;
925
1014
  l2Gas: number;
926
- }, {
927
- daGas: string | number | bigint;
928
- l2Gas: string | number | bigint;
929
- }>, import("../gas/gas.js").Gas, {
930
- daGas: string | number | bigint;
931
- l2Gas: string | number | bigint;
932
- }>;
933
- teardownGasLimits: z.ZodEffects<z.ZodObject<{
934
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
935
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
936
- }, "strip", z.ZodTypeAny, {
1015
+ }>>;
1016
+ teardownGasLimits: z.ZodPipe<z.ZodObject<{
1017
+ daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1018
+ l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1019
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas.js").Gas, {
937
1020
  daGas: number;
938
1021
  l2Gas: number;
939
- }, {
940
- daGas: string | number | bigint;
941
- l2Gas: string | number | bigint;
942
- }>, import("../gas/gas.js").Gas, {
943
- daGas: string | number | bigint;
944
- l2Gas: string | number | bigint;
945
- }>;
946
- maxFeesPerGas: z.ZodEffects<z.ZodObject<{
947
- feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
948
- feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
949
- }, "strip", z.ZodTypeAny, {
950
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
951
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
952
- }, {
953
- feePerDaGas: string;
954
- feePerL2Gas: string;
955
- }>, import("../gas/gas_fees.js").GasFees, {
956
- feePerDaGas: string;
957
- feePerL2Gas: string;
958
- }>;
959
- maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
960
- feePerDaGas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
961
- feePerL2Gas: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
962
- }, "strip", z.ZodTypeAny, {
963
- feePerDaGas: import("@aztec/foundation/schemas").Fr;
964
- feePerL2Gas: import("@aztec/foundation/schemas").Fr;
965
- }, {
966
- feePerDaGas: string;
967
- feePerL2Gas: string;
968
- }>, import("../gas/gas_fees.js").GasFees, {
969
- feePerDaGas: string;
970
- feePerL2Gas: string;
971
- }>;
972
- }, "strip", z.ZodTypeAny, {
1022
+ }>>;
1023
+ maxFeesPerGas: z.ZodPipe<z.ZodObject<{
1024
+ feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
1025
+ feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
1026
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_fees.js").GasFees, {
1027
+ feePerDaGas: bigint;
1028
+ feePerL2Gas: bigint;
1029
+ }>>;
1030
+ maxPriorityFeesPerGas: z.ZodPipe<z.ZodObject<{
1031
+ feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
1032
+ feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
1033
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_fees.js").GasFees, {
1034
+ feePerDaGas: bigint;
1035
+ feePerL2Gas: bigint;
1036
+ }>>;
1037
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_settings.js").GasSettings, {
973
1038
  gasLimits: import("../gas/gas.js").Gas;
974
1039
  teardownGasLimits: import("../gas/gas.js").Gas;
975
1040
  maxFeesPerGas: import("../gas/gas_fees.js").GasFees;
976
1041
  maxPriorityFeesPerGas: import("../gas/gas_fees.js").GasFees;
977
- }, {
978
- gasLimits: {
979
- daGas: string | number | bigint;
980
- l2Gas: string | number | bigint;
981
- };
982
- teardownGasLimits: {
983
- daGas: string | number | bigint;
984
- l2Gas: string | number | bigint;
985
- };
986
- maxFeesPerGas: {
987
- feePerDaGas: string;
988
- feePerL2Gas: string;
989
- };
990
- maxPriorityFeesPerGas: {
991
- feePerDaGas: string;
992
- feePerL2Gas: string;
993
- };
994
- }>, import("../gas/gas_settings.js").GasSettings, {
995
- gasLimits: {
996
- daGas: string | number | bigint;
997
- l2Gas: string | number | bigint;
998
- };
999
- teardownGasLimits: {
1000
- daGas: string | number | bigint;
1001
- l2Gas: string | number | bigint;
1002
- };
1003
- maxFeesPerGas: {
1004
- feePerDaGas: string;
1005
- feePerL2Gas: string;
1006
- };
1007
- maxPriorityFeesPerGas: {
1008
- feePerDaGas: string;
1009
- feePerL2Gas: string;
1010
- };
1011
- }>;
1042
+ }>>;
1043
+ effectiveGasFees: z.ZodPipe<z.ZodObject<{
1044
+ feePerDaGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
1045
+ feePerL2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedBigInt<string | number | bigint>>;
1046
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas_fees.js").GasFees, {
1047
+ feePerDaGas: bigint;
1048
+ feePerL2Gas: bigint;
1049
+ }>>;
1012
1050
  feePayer: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1013
- publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
1051
+ proverId: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1052
+ publicCallRequestArrayLengths: z.ZodPipe<z.ZodObject<{
1053
+ setupCalls: z.ZodNumber;
1054
+ appLogicCalls: z.ZodNumber;
1055
+ teardownCall: z.ZodBoolean;
1056
+ }, z.core.$strip>, z.ZodTransform<import("../kernel/public_call_request.js").PublicCallRequestArrayLengths, {
1057
+ setupCalls: number;
1058
+ appLogicCalls: number;
1059
+ teardownCall: boolean;
1060
+ }>>;
1061
+ publicSetupCallRequests: z.ZodArray<z.ZodPipe<z.ZodObject<{
1014
1062
  msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1015
1063
  contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1016
- functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
1017
1064
  isStaticCall: z.ZodBoolean;
1018
- argsHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1019
- }, "strip", z.ZodTypeAny, {
1020
- contractAddress: import("../aztec-address/index.js").AztecAddress;
1065
+ calldataHash: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1066
+ }, z.core.$strip>, z.ZodTransform<import("../kernel/public_call_request.js").PublicCallRequest, {
1021
1067
  msgSender: import("../aztec-address/index.js").AztecAddress;
1022
- functionSelector: import("../abi/function_selector.js").FunctionSelector;
1023
- isStaticCall: boolean;
1024
- argsHash: import("@aztec/foundation/schemas").Fr;
1025
- }, {
1026
- isStaticCall: boolean;
1027
- argsHash: string;
1028
- contractAddress?: any;
1029
- msgSender?: any;
1030
- functionSelector?: any;
1031
- }>, import("../kernel/public_call_request.js").PublicCallRequest, {
1068
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
1032
1069
  isStaticCall: boolean;
1033
- argsHash: string;
1034
- contractAddress?: any;
1035
- msgSender?: any;
1036
- functionSelector?: any;
1037
- }>, "many">;
1038
- publicAppLogicCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
1070
+ calldataHash: import("@aztec/foundation/schemas").Fr;
1071
+ }>>>;
1072
+ publicAppLogicCallRequests: z.ZodArray<z.ZodPipe<z.ZodObject<{
1039
1073
  msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1040
1074
  contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1041
- functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
1042
1075
  isStaticCall: z.ZodBoolean;
1043
- argsHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1044
- }, "strip", z.ZodTypeAny, {
1045
- contractAddress: import("../aztec-address/index.js").AztecAddress;
1076
+ calldataHash: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1077
+ }, z.core.$strip>, z.ZodTransform<import("../kernel/public_call_request.js").PublicCallRequest, {
1046
1078
  msgSender: import("../aztec-address/index.js").AztecAddress;
1047
- functionSelector: import("../abi/function_selector.js").FunctionSelector;
1048
- isStaticCall: boolean;
1049
- argsHash: import("@aztec/foundation/schemas").Fr;
1050
- }, {
1051
- isStaticCall: boolean;
1052
- argsHash: string;
1053
- contractAddress?: any;
1054
- msgSender?: any;
1055
- functionSelector?: any;
1056
- }>, import("../kernel/public_call_request.js").PublicCallRequest, {
1079
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
1057
1080
  isStaticCall: boolean;
1058
- argsHash: string;
1059
- contractAddress?: any;
1060
- msgSender?: any;
1061
- functionSelector?: any;
1062
- }>, "many">;
1063
- publicTeardownCallRequest: z.ZodEffects<z.ZodObject<{
1081
+ calldataHash: import("@aztec/foundation/schemas").Fr;
1082
+ }>>>;
1083
+ publicTeardownCallRequest: z.ZodPipe<z.ZodObject<{
1064
1084
  msgSender: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1065
1085
  contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1066
- functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
1067
1086
  isStaticCall: z.ZodBoolean;
1068
- argsHash: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1069
- }, "strip", z.ZodTypeAny, {
1070
- contractAddress: import("../aztec-address/index.js").AztecAddress;
1087
+ calldataHash: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1088
+ }, z.core.$strip>, z.ZodTransform<import("../kernel/public_call_request.js").PublicCallRequest, {
1071
1089
  msgSender: import("../aztec-address/index.js").AztecAddress;
1072
- functionSelector: import("../abi/function_selector.js").FunctionSelector;
1073
- isStaticCall: boolean;
1074
- argsHash: import("@aztec/foundation/schemas").Fr;
1075
- }, {
1076
- isStaticCall: boolean;
1077
- argsHash: string;
1078
- contractAddress?: any;
1079
- msgSender?: any;
1080
- functionSelector?: any;
1081
- }>, import("../kernel/public_call_request.js").PublicCallRequest, {
1090
+ contractAddress: import("../aztec-address/index.js").AztecAddress;
1082
1091
  isStaticCall: boolean;
1083
- argsHash: string;
1084
- contractAddress?: any;
1085
- msgSender?: any;
1086
- functionSelector?: any;
1087
- }>;
1088
- previousNonRevertibleAccumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
1089
- noteHashes: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1090
- nullifiers: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1091
- l2ToL1Msgs: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1092
- }, "strip", z.ZodTypeAny, {
1092
+ calldataHash: import("@aztec/foundation/schemas").Fr;
1093
+ }>>;
1094
+ previousNonRevertibleAccumulatedDataArrayLengths: z.ZodPipe<z.ZodObject<{
1095
+ noteHashes: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1096
+ nullifiers: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1097
+ l2ToL1Msgs: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1098
+ }, z.core.$strip>, z.ZodTransform<import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths, {
1093
1099
  noteHashes: number;
1094
1100
  nullifiers: number;
1095
1101
  l2ToL1Msgs: number;
1096
- }, {
1097
- noteHashes: string | number | bigint;
1098
- nullifiers: string | number | bigint;
1099
- l2ToL1Msgs: string | number | bigint;
1100
- }>, import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths, {
1101
- noteHashes: string | number | bigint;
1102
- nullifiers: string | number | bigint;
1103
- l2ToL1Msgs: string | number | bigint;
1104
- }>;
1105
- previousRevertibleAccumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
1106
- noteHashes: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1107
- nullifiers: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1108
- l2ToL1Msgs: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1109
- }, "strip", z.ZodTypeAny, {
1102
+ }>>;
1103
+ previousRevertibleAccumulatedDataArrayLengths: z.ZodPipe<z.ZodObject<{
1104
+ noteHashes: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1105
+ nullifiers: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1106
+ l2ToL1Msgs: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1107
+ }, z.core.$strip>, z.ZodTransform<import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths, {
1110
1108
  noteHashes: number;
1111
1109
  nullifiers: number;
1112
1110
  l2ToL1Msgs: number;
1113
- }, {
1114
- noteHashes: string | number | bigint;
1115
- nullifiers: string | number | bigint;
1116
- l2ToL1Msgs: string | number | bigint;
1117
- }>, import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedDataArrayLengths, {
1118
- noteHashes: string | number | bigint;
1119
- nullifiers: string | number | bigint;
1120
- l2ToL1Msgs: string | number | bigint;
1121
- }>;
1122
- previousNonRevertibleAccumulatedData: z.ZodEffects<z.ZodObject<{
1123
- noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
1124
- nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
1125
- l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
1126
- message: z.ZodEffects<z.ZodObject<{
1127
- recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
1128
- content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1129
- counter: z.ZodNumber;
1130
- }, "strip", z.ZodTypeAny, {
1131
- counter: number;
1132
- recipient: import("@aztec/foundation/schemas").EthAddress;
1111
+ }>>;
1112
+ previousNonRevertibleAccumulatedData: z.ZodPipe<z.ZodObject<{
1113
+ noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
1114
+ nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
1115
+ l2ToL1Msgs: z.ZodArray<z.ZodPipe<z.ZodObject<{
1116
+ message: z.ZodPipe<z.ZodObject<{
1117
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, string, z.core.$ZodTypeInternals<import("@aztec/foundation/eth-address").EthAddress, string>>;
1118
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1119
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
1120
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
1133
1121
  content: import("@aztec/foundation/schemas").Fr;
1134
- }, {
1135
- counter: number;
1136
- recipient: string;
1137
- content: string;
1138
- }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
1139
- counter: number;
1140
- recipient: string;
1141
- content: string;
1142
- }>;
1122
+ }>>;
1143
1123
  contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1144
- }, "strip", z.ZodTypeAny, {
1124
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
1145
1125
  message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
1146
1126
  contractAddress: import("../aztec-address/index.js").AztecAddress;
1147
- }, {
1148
- message: {
1149
- counter: number;
1150
- recipient: string;
1151
- content: string;
1152
- };
1153
- contractAddress?: any;
1154
- }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
1155
- message: {
1156
- counter: number;
1157
- recipient: string;
1158
- content: string;
1159
- };
1160
- contractAddress?: any;
1161
- }>, "many">;
1162
- }, "strip", z.ZodTypeAny, {
1127
+ }>>>;
1128
+ }, z.core.$strip>, z.ZodTransform<import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData, {
1163
1129
  noteHashes: import("@aztec/foundation/schemas").Fr[];
1164
1130
  nullifiers: import("@aztec/foundation/schemas").Fr[];
1165
1131
  l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
1166
- }, {
1167
- noteHashes: string[];
1168
- nullifiers: string[];
1169
- l2ToL1Msgs: {
1170
- message: {
1171
- counter: number;
1172
- recipient: string;
1173
- content: string;
1174
- };
1175
- contractAddress?: any;
1176
- }[];
1177
- }>, import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData, {
1178
- noteHashes: string[];
1179
- nullifiers: string[];
1180
- l2ToL1Msgs: {
1181
- message: {
1182
- counter: number;
1183
- recipient: string;
1184
- content: string;
1185
- };
1186
- contractAddress?: any;
1187
- }[];
1188
- }>;
1189
- previousRevertibleAccumulatedData: z.ZodEffects<z.ZodObject<{
1190
- noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
1191
- nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
1192
- l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
1193
- message: z.ZodEffects<z.ZodObject<{
1194
- recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
1195
- content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1196
- counter: z.ZodNumber;
1197
- }, "strip", z.ZodTypeAny, {
1198
- counter: number;
1199
- recipient: import("@aztec/foundation/schemas").EthAddress;
1132
+ }>>;
1133
+ previousRevertibleAccumulatedData: z.ZodPipe<z.ZodObject<{
1134
+ noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
1135
+ nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
1136
+ l2ToL1Msgs: z.ZodArray<z.ZodPipe<z.ZodObject<{
1137
+ message: z.ZodPipe<z.ZodObject<{
1138
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, string, z.core.$ZodTypeInternals<import("@aztec/foundation/eth-address").EthAddress, string>>;
1139
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1140
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
1141
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
1200
1142
  content: import("@aztec/foundation/schemas").Fr;
1201
- }, {
1202
- counter: number;
1203
- recipient: string;
1204
- content: string;
1205
- }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
1206
- counter: number;
1207
- recipient: string;
1208
- content: string;
1209
- }>;
1143
+ }>>;
1210
1144
  contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1211
- }, "strip", z.ZodTypeAny, {
1145
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
1212
1146
  message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
1213
1147
  contractAddress: import("../aztec-address/index.js").AztecAddress;
1214
- }, {
1215
- message: {
1216
- counter: number;
1217
- recipient: string;
1218
- content: string;
1219
- };
1220
- contractAddress?: any;
1221
- }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
1222
- message: {
1223
- counter: number;
1224
- recipient: string;
1225
- content: string;
1226
- };
1227
- contractAddress?: any;
1228
- }>, "many">;
1229
- }, "strip", z.ZodTypeAny, {
1148
+ }>>>;
1149
+ }, z.core.$strip>, z.ZodTransform<import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData, {
1230
1150
  noteHashes: import("@aztec/foundation/schemas").Fr[];
1231
1151
  nullifiers: import("@aztec/foundation/schemas").Fr[];
1232
1152
  l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
1233
- }, {
1234
- noteHashes: string[];
1235
- nullifiers: string[];
1236
- l2ToL1Msgs: {
1237
- message: {
1238
- counter: number;
1239
- recipient: string;
1240
- content: string;
1241
- };
1242
- contractAddress?: any;
1243
- }[];
1244
- }>, import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData, {
1245
- noteHashes: string[];
1246
- nullifiers: string[];
1247
- l2ToL1Msgs: {
1248
- message: {
1249
- counter: number;
1250
- recipient: string;
1251
- content: string;
1252
- };
1253
- contractAddress?: any;
1254
- }[];
1255
- }>;
1256
- endTreeSnapshots: z.ZodEffects<z.ZodObject<{
1257
- l1ToL2MessageTree: z.ZodEffects<z.ZodObject<{
1258
- root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1259
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1260
- }, "strip", z.ZodTypeAny, {
1153
+ }>>;
1154
+ endTreeSnapshots: z.ZodPipe<z.ZodObject<{
1155
+ l1ToL2MessageTree: z.ZodPipe<z.ZodObject<{
1156
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1157
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1158
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
1261
1159
  root: import("@aztec/foundation/schemas").Fr;
1262
1160
  nextAvailableLeafIndex: number;
1263
- }, {
1264
- root: string;
1265
- nextAvailableLeafIndex: string | number | bigint;
1266
- }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
1267
- root: string;
1268
- nextAvailableLeafIndex: string | number | bigint;
1269
- }>;
1270
- noteHashTree: z.ZodEffects<z.ZodObject<{
1271
- root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1272
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1273
- }, "strip", z.ZodTypeAny, {
1161
+ }>>;
1162
+ noteHashTree: z.ZodPipe<z.ZodObject<{
1163
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1164
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1165
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
1274
1166
  root: import("@aztec/foundation/schemas").Fr;
1275
1167
  nextAvailableLeafIndex: number;
1276
- }, {
1277
- root: string;
1278
- nextAvailableLeafIndex: string | number | bigint;
1279
- }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
1280
- root: string;
1281
- nextAvailableLeafIndex: string | number | bigint;
1282
- }>;
1283
- nullifierTree: z.ZodEffects<z.ZodObject<{
1284
- root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1285
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1286
- }, "strip", z.ZodTypeAny, {
1168
+ }>>;
1169
+ nullifierTree: z.ZodPipe<z.ZodObject<{
1170
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1171
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1172
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
1287
1173
  root: import("@aztec/foundation/schemas").Fr;
1288
1174
  nextAvailableLeafIndex: number;
1289
- }, {
1290
- root: string;
1291
- nextAvailableLeafIndex: string | number | bigint;
1292
- }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
1293
- root: string;
1294
- nextAvailableLeafIndex: string | number | bigint;
1295
- }>;
1296
- publicDataTree: z.ZodEffects<z.ZodObject<{
1297
- root: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1298
- nextAvailableLeafIndex: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1299
- }, "strip", z.ZodTypeAny, {
1175
+ }>>;
1176
+ publicDataTree: z.ZodPipe<z.ZodObject<{
1177
+ root: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1178
+ nextAvailableLeafIndex: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1179
+ }, z.core.$strip>, z.ZodTransform<import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
1300
1180
  root: import("@aztec/foundation/schemas").Fr;
1301
1181
  nextAvailableLeafIndex: number;
1302
- }, {
1303
- root: string;
1304
- nextAvailableLeafIndex: string | number | bigint;
1305
- }>, import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot, {
1306
- root: string;
1307
- nextAvailableLeafIndex: string | number | bigint;
1308
- }>;
1309
- }, "strip", z.ZodTypeAny, {
1182
+ }>>;
1183
+ }, z.core.$strip>, z.ZodTransform<import("../tx/tree_snapshots.js").TreeSnapshots, {
1310
1184
  l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
1311
1185
  noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
1312
1186
  nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
1313
1187
  publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
1314
- }, {
1315
- l1ToL2MessageTree: {
1316
- root: string;
1317
- nextAvailableLeafIndex: string | number | bigint;
1318
- };
1319
- noteHashTree: {
1320
- root: string;
1321
- nextAvailableLeafIndex: string | number | bigint;
1322
- };
1323
- nullifierTree: {
1324
- root: string;
1325
- nextAvailableLeafIndex: string | number | bigint;
1326
- };
1327
- publicDataTree: {
1328
- root: string;
1329
- nextAvailableLeafIndex: string | number | bigint;
1330
- };
1331
- }>, import("../tx/tree_snapshots.js").TreeSnapshots, {
1332
- l1ToL2MessageTree: {
1333
- root: string;
1334
- nextAvailableLeafIndex: string | number | bigint;
1335
- };
1336
- noteHashTree: {
1337
- root: string;
1338
- nextAvailableLeafIndex: string | number | bigint;
1339
- };
1340
- nullifierTree: {
1341
- root: string;
1342
- nextAvailableLeafIndex: string | number | bigint;
1343
- };
1344
- publicDataTree: {
1345
- root: string;
1346
- nextAvailableLeafIndex: string | number | bigint;
1347
- };
1348
- }>;
1349
- endGasUsed: z.ZodEffects<z.ZodObject<{
1350
- daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1351
- l2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
1352
- }, "strip", z.ZodTypeAny, {
1188
+ }>>;
1189
+ endGasUsed: z.ZodPipe<z.ZodObject<{
1190
+ daGas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1191
+ l2Gas: z.ZodPipe<z.ZodUnion<readonly [z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodCoercedNumber<string | number | bigint>>;
1192
+ }, z.core.$strip>, z.ZodTransform<import("../gas/gas.js").Gas, {
1353
1193
  daGas: number;
1354
1194
  l2Gas: number;
1355
- }, {
1356
- daGas: string | number | bigint;
1357
- l2Gas: string | number | bigint;
1358
- }>, import("../gas/gas.js").Gas, {
1359
- daGas: string | number | bigint;
1360
- l2Gas: string | number | bigint;
1361
- }>;
1362
- accumulatedData: z.ZodEffects<z.ZodObject<{
1363
- noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
1364
- nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>, "many">;
1365
- l2ToL1Msgs: z.ZodArray<z.ZodEffects<z.ZodObject<{
1366
- message: z.ZodEffects<z.ZodObject<{
1367
- recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
1368
- content: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1369
- counter: z.ZodNumber;
1370
- }, "strip", z.ZodTypeAny, {
1371
- counter: number;
1372
- recipient: import("@aztec/foundation/schemas").EthAddress;
1195
+ }>>;
1196
+ accumulatedDataArrayLengths: z.ZodPipe<z.ZodObject<{
1197
+ noteHashes: z.ZodNumber;
1198
+ nullifiers: z.ZodNumber;
1199
+ l2ToL1Msgs: z.ZodNumber;
1200
+ publicDataWrites: z.ZodNumber;
1201
+ }, z.core.$strip>, z.ZodTransform<import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths, {
1202
+ noteHashes: number;
1203
+ nullifiers: number;
1204
+ l2ToL1Msgs: number;
1205
+ publicDataWrites: number;
1206
+ }>>;
1207
+ accumulatedData: z.ZodPipe<z.ZodObject<{
1208
+ noteHashes: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
1209
+ nullifiers: z.ZodArray<z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>>;
1210
+ l2ToL1Msgs: z.ZodArray<z.ZodPipe<z.ZodObject<{
1211
+ message: z.ZodPipe<z.ZodObject<{
1212
+ recipient: z.ZodType<import("@aztec/foundation/eth-address").EthAddress, string, z.core.$ZodTypeInternals<import("@aztec/foundation/eth-address").EthAddress, string>>;
1213
+ content: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1214
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
1215
+ recipient: import("@aztec/foundation/eth-address").EthAddress;
1373
1216
  content: import("@aztec/foundation/schemas").Fr;
1374
- }, {
1375
- counter: number;
1376
- recipient: string;
1377
- content: string;
1378
- }>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
1379
- counter: number;
1380
- recipient: string;
1381
- content: string;
1382
- }>;
1217
+ }>>;
1383
1218
  contractAddress: import("@aztec/foundation/schemas").ZodFor<import("../aztec-address/index.js").AztecAddress>;
1384
- }, "strip", z.ZodTypeAny, {
1219
+ }, z.core.$strip>, z.ZodTransform<import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
1385
1220
  message: import("../messaging/l2_to_l1_message.js").L2ToL1Message;
1386
1221
  contractAddress: import("../aztec-address/index.js").AztecAddress;
1387
- }, {
1388
- message: {
1389
- counter: number;
1390
- recipient: string;
1391
- content: string;
1392
- };
1393
- contractAddress?: any;
1394
- }>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
1395
- message: {
1396
- counter: number;
1397
- recipient: string;
1398
- content: string;
1399
- };
1400
- contractAddress?: any;
1401
- }>, "many">;
1402
- publicLogs: z.ZodArray<import("@aztec/foundation/schemas").ZodFor<import("../logs/public_log.js").PublicLog>, "many">;
1403
- publicDataWrites: z.ZodArray<z.ZodEffects<z.ZodObject<{
1404
- leafSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1405
- value: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1406
- }, "strip", z.ZodTypeAny, {
1407
- value: import("@aztec/foundation/schemas").Fr;
1222
+ }>>>;
1223
+ publicLogs: import("@aztec/foundation/schemas").ZodFor<import("../logs/public_log.js").FlatPublicLogs>;
1224
+ publicDataWrites: z.ZodArray<z.ZodPipe<z.ZodObject<{
1225
+ leafSlot: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1226
+ value: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1227
+ }, z.core.$strip>, z.ZodTransform<import("./public_data_write.js").PublicDataWrite, {
1408
1228
  leafSlot: import("@aztec/foundation/schemas").Fr;
1409
- }, {
1410
- value: string;
1411
- leafSlot: string;
1412
- }>, import("./public_data_write.js").PublicDataWrite, {
1413
- value: string;
1414
- leafSlot: string;
1415
- }>, "many">;
1416
- }, "strip", z.ZodTypeAny, {
1229
+ value: import("@aztec/foundation/schemas").Fr;
1230
+ }>>>;
1231
+ }, z.core.$strip>, z.ZodTransform<import("./avm_accumulated_data.js").AvmAccumulatedData, {
1417
1232
  noteHashes: import("@aztec/foundation/schemas").Fr[];
1418
1233
  nullifiers: import("@aztec/foundation/schemas").Fr[];
1419
1234
  l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
1420
- publicLogs: import("../logs/public_log.js").PublicLog[];
1235
+ publicLogs: import("../logs/public_log.js").FlatPublicLogs;
1421
1236
  publicDataWrites: import("./public_data_write.js").PublicDataWrite[];
1422
- }, {
1423
- noteHashes: string[];
1424
- nullifiers: string[];
1425
- l2ToL1Msgs: {
1426
- message: {
1427
- counter: number;
1428
- recipient: string;
1429
- content: string;
1430
- };
1431
- contractAddress?: any;
1432
- }[];
1433
- publicLogs: any[];
1434
- publicDataWrites: {
1435
- value: string;
1436
- leafSlot: string;
1437
- }[];
1438
- }>, import("./avm_accumulated_data.js").AvmAccumulatedData, {
1439
- noteHashes: string[];
1440
- nullifiers: string[];
1441
- l2ToL1Msgs: {
1442
- message: {
1443
- counter: number;
1444
- recipient: string;
1445
- content: string;
1446
- };
1447
- contractAddress?: any;
1448
- }[];
1449
- publicLogs: any[];
1450
- publicDataWrites: {
1451
- value: string;
1452
- leafSlot: string;
1453
- }[];
1454
- }>;
1455
- transactionFee: z.ZodType<import("@aztec/foundation/schemas").Fr, any, string>;
1237
+ }>>;
1238
+ transactionFee: z.ZodType<import("@aztec/foundation/schemas").Fr, string, z.core.$ZodTypeInternals<import("@aztec/foundation/schemas").Fr, string>>;
1456
1239
  reverted: z.ZodBoolean;
1457
- }, "strip", z.ZodTypeAny, {
1240
+ }, z.core.$strip>, z.ZodTransform<import("./avm_circuit_public_inputs.js").AvmCircuitPublicInputs, {
1458
1241
  globalVariables: import("../tx/global_variables.js").GlobalVariables;
1242
+ protocolContracts: import("../tx/protocol_contracts.js").ProtocolContracts;
1459
1243
  startTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
1460
1244
  startGasUsed: import("../gas/gas.js").Gas;
1461
1245
  gasSettings: import("../gas/gas_settings.js").GasSettings;
1246
+ effectiveGasFees: import("../gas/gas_fees.js").GasFees;
1462
1247
  feePayer: import("../aztec-address/index.js").AztecAddress;
1248
+ proverId: import("@aztec/foundation/schemas").Fr;
1249
+ publicCallRequestArrayLengths: import("../kernel/public_call_request.js").PublicCallRequestArrayLengths;
1463
1250
  publicSetupCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
1464
1251
  publicAppLogicCallRequests: import("../kernel/public_call_request.js").PublicCallRequest[];
1465
1252
  publicTeardownCallRequest: import("../kernel/public_call_request.js").PublicCallRequest;
@@ -1469,1112 +1256,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
1469
1256
  previousRevertibleAccumulatedData: import("../kernel/private_to_avm_accumulated_data.js").PrivateToAvmAccumulatedData;
1470
1257
  endTreeSnapshots: import("../tx/tree_snapshots.js").TreeSnapshots;
1471
1258
  endGasUsed: import("../gas/gas.js").Gas;
1259
+ accumulatedDataArrayLengths: import("./avm_accumulated_data.js").AvmAccumulatedDataArrayLengths;
1472
1260
  accumulatedData: import("./avm_accumulated_data.js").AvmAccumulatedData;
1473
1261
  transactionFee: import("@aztec/foundation/schemas").Fr;
1474
1262
  reverted: boolean;
1475
- }, {
1476
- globalVariables: {
1477
- gasFees: {
1478
- feePerDaGas: string;
1479
- feePerL2Gas: string;
1480
- };
1481
- chainId?: any;
1482
- version?: any;
1483
- blockNumber?: any;
1484
- slotNumber?: any;
1485
- timestamp?: any;
1486
- coinbase?: any;
1487
- feeRecipient?: any;
1488
- };
1489
- startTreeSnapshots: {
1490
- l1ToL2MessageTree: {
1491
- root: string;
1492
- nextAvailableLeafIndex: string | number | bigint;
1493
- };
1494
- noteHashTree: {
1495
- root: string;
1496
- nextAvailableLeafIndex: string | number | bigint;
1497
- };
1498
- nullifierTree: {
1499
- root: string;
1500
- nextAvailableLeafIndex: string | number | bigint;
1501
- };
1502
- publicDataTree: {
1503
- root: string;
1504
- nextAvailableLeafIndex: string | number | bigint;
1505
- };
1506
- };
1507
- startGasUsed: {
1508
- daGas: string | number | bigint;
1509
- l2Gas: string | number | bigint;
1510
- };
1511
- gasSettings: {
1512
- gasLimits: {
1513
- daGas: string | number | bigint;
1514
- l2Gas: string | number | bigint;
1515
- };
1516
- teardownGasLimits: {
1517
- daGas: string | number | bigint;
1518
- l2Gas: string | number | bigint;
1519
- };
1520
- maxFeesPerGas: {
1521
- feePerDaGas: string;
1522
- feePerL2Gas: string;
1523
- };
1524
- maxPriorityFeesPerGas: {
1525
- feePerDaGas: string;
1526
- feePerL2Gas: string;
1527
- };
1528
- };
1529
- publicSetupCallRequests: {
1530
- isStaticCall: boolean;
1531
- argsHash: string;
1532
- contractAddress?: any;
1533
- msgSender?: any;
1534
- functionSelector?: any;
1535
- }[];
1536
- publicAppLogicCallRequests: {
1537
- isStaticCall: boolean;
1538
- argsHash: string;
1539
- contractAddress?: any;
1540
- msgSender?: any;
1541
- functionSelector?: any;
1542
- }[];
1543
- publicTeardownCallRequest: {
1544
- isStaticCall: boolean;
1545
- argsHash: string;
1546
- contractAddress?: any;
1547
- msgSender?: any;
1548
- functionSelector?: any;
1549
- };
1550
- previousNonRevertibleAccumulatedDataArrayLengths: {
1551
- noteHashes: string | number | bigint;
1552
- nullifiers: string | number | bigint;
1553
- l2ToL1Msgs: string | number | bigint;
1554
- };
1555
- previousRevertibleAccumulatedDataArrayLengths: {
1556
- noteHashes: string | number | bigint;
1557
- nullifiers: string | number | bigint;
1558
- l2ToL1Msgs: string | number | bigint;
1559
- };
1560
- previousNonRevertibleAccumulatedData: {
1561
- noteHashes: string[];
1562
- nullifiers: string[];
1563
- l2ToL1Msgs: {
1564
- message: {
1565
- counter: number;
1566
- recipient: string;
1567
- content: string;
1568
- };
1569
- contractAddress?: any;
1570
- }[];
1571
- };
1572
- previousRevertibleAccumulatedData: {
1573
- noteHashes: string[];
1574
- nullifiers: string[];
1575
- l2ToL1Msgs: {
1576
- message: {
1577
- counter: number;
1578
- recipient: string;
1579
- content: string;
1580
- };
1581
- contractAddress?: any;
1582
- }[];
1583
- };
1584
- endTreeSnapshots: {
1585
- l1ToL2MessageTree: {
1586
- root: string;
1587
- nextAvailableLeafIndex: string | number | bigint;
1588
- };
1589
- noteHashTree: {
1590
- root: string;
1591
- nextAvailableLeafIndex: string | number | bigint;
1592
- };
1593
- nullifierTree: {
1594
- root: string;
1595
- nextAvailableLeafIndex: string | number | bigint;
1596
- };
1597
- publicDataTree: {
1598
- root: string;
1599
- nextAvailableLeafIndex: string | number | bigint;
1600
- };
1601
- };
1602
- endGasUsed: {
1603
- daGas: string | number | bigint;
1604
- l2Gas: string | number | bigint;
1605
- };
1606
- accumulatedData: {
1607
- noteHashes: string[];
1608
- nullifiers: string[];
1609
- l2ToL1Msgs: {
1610
- message: {
1611
- counter: number;
1612
- recipient: string;
1613
- content: string;
1614
- };
1615
- contractAddress?: any;
1616
- }[];
1617
- publicLogs: any[];
1618
- publicDataWrites: {
1619
- value: string;
1620
- leafSlot: string;
1621
- }[];
1622
- };
1623
- transactionFee: string;
1624
- reverted: boolean;
1625
- feePayer?: any;
1626
- }>, import("./avm_circuit_public_inputs.js").AvmCircuitPublicInputs, {
1627
- globalVariables: {
1628
- gasFees: {
1629
- feePerDaGas: string;
1630
- feePerL2Gas: string;
1631
- };
1632
- chainId?: any;
1633
- version?: any;
1634
- blockNumber?: any;
1635
- slotNumber?: any;
1636
- timestamp?: any;
1637
- coinbase?: any;
1638
- feeRecipient?: any;
1639
- };
1640
- startTreeSnapshots: {
1641
- l1ToL2MessageTree: {
1642
- root: string;
1643
- nextAvailableLeafIndex: string | number | bigint;
1644
- };
1645
- noteHashTree: {
1646
- root: string;
1647
- nextAvailableLeafIndex: string | number | bigint;
1648
- };
1649
- nullifierTree: {
1650
- root: string;
1651
- nextAvailableLeafIndex: string | number | bigint;
1652
- };
1653
- publicDataTree: {
1654
- root: string;
1655
- nextAvailableLeafIndex: string | number | bigint;
1656
- };
1657
- };
1658
- startGasUsed: {
1659
- daGas: string | number | bigint;
1660
- l2Gas: string | number | bigint;
1661
- };
1662
- gasSettings: {
1663
- gasLimits: {
1664
- daGas: string | number | bigint;
1665
- l2Gas: string | number | bigint;
1666
- };
1667
- teardownGasLimits: {
1668
- daGas: string | number | bigint;
1669
- l2Gas: string | number | bigint;
1670
- };
1671
- maxFeesPerGas: {
1672
- feePerDaGas: string;
1673
- feePerL2Gas: string;
1674
- };
1675
- maxPriorityFeesPerGas: {
1676
- feePerDaGas: string;
1677
- feePerL2Gas: string;
1678
- };
1679
- };
1680
- publicSetupCallRequests: {
1681
- isStaticCall: boolean;
1682
- argsHash: string;
1683
- contractAddress?: any;
1684
- msgSender?: any;
1685
- functionSelector?: any;
1686
- }[];
1687
- publicAppLogicCallRequests: {
1688
- isStaticCall: boolean;
1689
- argsHash: string;
1690
- contractAddress?: any;
1691
- msgSender?: any;
1692
- functionSelector?: any;
1693
- }[];
1694
- publicTeardownCallRequest: {
1695
- isStaticCall: boolean;
1696
- argsHash: string;
1697
- contractAddress?: any;
1698
- msgSender?: any;
1699
- functionSelector?: any;
1700
- };
1701
- previousNonRevertibleAccumulatedDataArrayLengths: {
1702
- noteHashes: string | number | bigint;
1703
- nullifiers: string | number | bigint;
1704
- l2ToL1Msgs: string | number | bigint;
1705
- };
1706
- previousRevertibleAccumulatedDataArrayLengths: {
1707
- noteHashes: string | number | bigint;
1708
- nullifiers: string | number | bigint;
1709
- l2ToL1Msgs: string | number | bigint;
1710
- };
1711
- previousNonRevertibleAccumulatedData: {
1712
- noteHashes: string[];
1713
- nullifiers: string[];
1714
- l2ToL1Msgs: {
1715
- message: {
1716
- counter: number;
1717
- recipient: string;
1718
- content: string;
1719
- };
1720
- contractAddress?: any;
1721
- }[];
1722
- };
1723
- previousRevertibleAccumulatedData: {
1724
- noteHashes: string[];
1725
- nullifiers: string[];
1726
- l2ToL1Msgs: {
1727
- message: {
1728
- counter: number;
1729
- recipient: string;
1730
- content: string;
1731
- };
1732
- contractAddress?: any;
1733
- }[];
1734
- };
1735
- endTreeSnapshots: {
1736
- l1ToL2MessageTree: {
1737
- root: string;
1738
- nextAvailableLeafIndex: string | number | bigint;
1739
- };
1740
- noteHashTree: {
1741
- root: string;
1742
- nextAvailableLeafIndex: string | number | bigint;
1743
- };
1744
- nullifierTree: {
1745
- root: string;
1746
- nextAvailableLeafIndex: string | number | bigint;
1747
- };
1748
- publicDataTree: {
1749
- root: string;
1750
- nextAvailableLeafIndex: string | number | bigint;
1751
- };
1752
- };
1753
- endGasUsed: {
1754
- daGas: string | number | bigint;
1755
- l2Gas: string | number | bigint;
1756
- };
1757
- accumulatedData: {
1758
- noteHashes: string[];
1759
- nullifiers: string[];
1760
- l2ToL1Msgs: {
1761
- message: {
1762
- counter: number;
1763
- recipient: string;
1764
- content: string;
1765
- };
1766
- contractAddress?: any;
1767
- }[];
1768
- publicLogs: any[];
1769
- publicDataWrites: {
1770
- value: string;
1771
- leafSlot: string;
1772
- }[];
1773
- };
1774
- transactionFee: string;
1775
- reverted: boolean;
1776
- feePayer?: any;
1777
- }>;
1778
- }, "strip", z.ZodTypeAny, {
1779
- calldata: import("@aztec/foundation/schemas").Fr[];
1780
- functionName: string;
1263
+ }>>;
1264
+ }, z.core.$strip>, z.ZodTransform<AvmCircuitInputs, {
1781
1265
  hints: import("./avm.js").AvmExecutionHints;
1782
1266
  publicInputs: import("./avm_circuit_public_inputs.js").AvmCircuitPublicInputs;
1783
- }, {
1784
- calldata: string[];
1785
- functionName: string;
1786
- hints: {
1787
- publicDataWrites: {
1788
- lowLeafRead: {
1789
- leafPreimage: {
1790
- value: string;
1791
- slot: string;
1792
- nextIndex: string | number | bigint;
1793
- nextSlot: string;
1794
- };
1795
- leafIndex: string;
1796
- siblingPath: string[];
1797
- };
1798
- insertionPath: string[];
1799
- newLeafPreimage: {
1800
- value: string;
1801
- slot: string;
1802
- nextIndex: string | number | bigint;
1803
- nextSlot: string;
1804
- };
1805
- }[];
1806
- enqueuedCalls: {
1807
- calldata: string[];
1808
- contractAddress?: any;
1809
- }[];
1810
- contractInstances: {
1811
- exists: boolean;
1812
- salt: string;
1813
- currentContractClassId: string;
1814
- originalContractClassId: string;
1815
- initializationHash: string;
1816
- publicKeys: {
1817
- masterNullifierPublicKey: string;
1818
- masterIncomingViewingPublicKey: string;
1819
- masterOutgoingViewingPublicKey: string;
1820
- masterTaggingPublicKey: string;
1821
- };
1822
- updateMembershipHint: {
1823
- leafPreimage: {
1824
- value: string;
1825
- slot: string;
1826
- nextIndex: string | number | bigint;
1827
- nextSlot: string;
1828
- };
1829
- leafIndex: string;
1830
- siblingPath: string[];
1831
- };
1832
- updatePreimage: string[];
1833
- address?: any;
1834
- deployer?: any;
1835
- }[];
1836
- contractClasses: {
1837
- classId: string;
1838
- exists: boolean;
1839
- artifactHash: string;
1840
- privateFunctionsRoot: string;
1841
- publicBytecodeCommitment: string;
1842
- packedBytecode: string | {
1843
- type: "Buffer";
1844
- data: number[];
1845
- };
1846
- }[];
1847
- publicDataReads: {
1848
- leafPreimage: {
1849
- value: string;
1850
- slot: string;
1851
- nextIndex: string | number | bigint;
1852
- nextSlot: string;
1853
- };
1854
- leafIndex: string;
1855
- siblingPath: string[];
1856
- }[];
1857
- nullifierReads: {
1858
- lowLeafPreimage: {
1859
- nullifier: string;
1860
- nextNullifier: string;
1861
- nextIndex: string | number | bigint;
1862
- };
1863
- lowLeafIndex: string;
1864
- lowLeafSiblingPath: string[];
1865
- }[];
1866
- nullifierWrites: {
1867
- lowLeafRead: {
1868
- lowLeafPreimage: {
1869
- nullifier: string;
1870
- nextNullifier: string;
1871
- nextIndex: string | number | bigint;
1872
- };
1873
- lowLeafIndex: string;
1874
- lowLeafSiblingPath: string[];
1875
- };
1876
- insertionPath: string[];
1877
- }[];
1878
- noteHashReads: {
1879
- value: string;
1880
- leafIndex: string;
1881
- siblingPath: string[];
1882
- }[];
1883
- noteHashWrites: {
1884
- value: string;
1885
- leafIndex: string;
1886
- siblingPath: string[];
1887
- }[];
1888
- l1ToL2MessageReads: {
1889
- value: string;
1890
- leafIndex: string;
1891
- siblingPath: string[];
1892
- }[];
1893
- };
1894
- publicInputs: {
1895
- globalVariables: {
1896
- gasFees: {
1897
- feePerDaGas: string;
1898
- feePerL2Gas: string;
1899
- };
1900
- chainId?: any;
1901
- version?: any;
1902
- blockNumber?: any;
1903
- slotNumber?: any;
1904
- timestamp?: any;
1905
- coinbase?: any;
1906
- feeRecipient?: any;
1907
- };
1908
- startTreeSnapshots: {
1909
- l1ToL2MessageTree: {
1910
- root: string;
1911
- nextAvailableLeafIndex: string | number | bigint;
1912
- };
1913
- noteHashTree: {
1914
- root: string;
1915
- nextAvailableLeafIndex: string | number | bigint;
1916
- };
1917
- nullifierTree: {
1918
- root: string;
1919
- nextAvailableLeafIndex: string | number | bigint;
1920
- };
1921
- publicDataTree: {
1922
- root: string;
1923
- nextAvailableLeafIndex: string | number | bigint;
1924
- };
1925
- };
1926
- startGasUsed: {
1927
- daGas: string | number | bigint;
1928
- l2Gas: string | number | bigint;
1929
- };
1930
- gasSettings: {
1931
- gasLimits: {
1932
- daGas: string | number | bigint;
1933
- l2Gas: string | number | bigint;
1934
- };
1935
- teardownGasLimits: {
1936
- daGas: string | number | bigint;
1937
- l2Gas: string | number | bigint;
1938
- };
1939
- maxFeesPerGas: {
1940
- feePerDaGas: string;
1941
- feePerL2Gas: string;
1942
- };
1943
- maxPriorityFeesPerGas: {
1944
- feePerDaGas: string;
1945
- feePerL2Gas: string;
1946
- };
1947
- };
1948
- publicSetupCallRequests: {
1949
- isStaticCall: boolean;
1950
- argsHash: string;
1951
- contractAddress?: any;
1952
- msgSender?: any;
1953
- functionSelector?: any;
1954
- }[];
1955
- publicAppLogicCallRequests: {
1956
- isStaticCall: boolean;
1957
- argsHash: string;
1958
- contractAddress?: any;
1959
- msgSender?: any;
1960
- functionSelector?: any;
1961
- }[];
1962
- publicTeardownCallRequest: {
1963
- isStaticCall: boolean;
1964
- argsHash: string;
1965
- contractAddress?: any;
1966
- msgSender?: any;
1967
- functionSelector?: any;
1968
- };
1969
- previousNonRevertibleAccumulatedDataArrayLengths: {
1970
- noteHashes: string | number | bigint;
1971
- nullifiers: string | number | bigint;
1972
- l2ToL1Msgs: string | number | bigint;
1973
- };
1974
- previousRevertibleAccumulatedDataArrayLengths: {
1975
- noteHashes: string | number | bigint;
1976
- nullifiers: string | number | bigint;
1977
- l2ToL1Msgs: string | number | bigint;
1978
- };
1979
- previousNonRevertibleAccumulatedData: {
1980
- noteHashes: string[];
1981
- nullifiers: string[];
1982
- l2ToL1Msgs: {
1983
- message: {
1984
- counter: number;
1985
- recipient: string;
1986
- content: string;
1987
- };
1988
- contractAddress?: any;
1989
- }[];
1990
- };
1991
- previousRevertibleAccumulatedData: {
1992
- noteHashes: string[];
1993
- nullifiers: string[];
1994
- l2ToL1Msgs: {
1995
- message: {
1996
- counter: number;
1997
- recipient: string;
1998
- content: string;
1999
- };
2000
- contractAddress?: any;
2001
- }[];
2002
- };
2003
- endTreeSnapshots: {
2004
- l1ToL2MessageTree: {
2005
- root: string;
2006
- nextAvailableLeafIndex: string | number | bigint;
2007
- };
2008
- noteHashTree: {
2009
- root: string;
2010
- nextAvailableLeafIndex: string | number | bigint;
2011
- };
2012
- nullifierTree: {
2013
- root: string;
2014
- nextAvailableLeafIndex: string | number | bigint;
2015
- };
2016
- publicDataTree: {
2017
- root: string;
2018
- nextAvailableLeafIndex: string | number | bigint;
2019
- };
2020
- };
2021
- endGasUsed: {
2022
- daGas: string | number | bigint;
2023
- l2Gas: string | number | bigint;
2024
- };
2025
- accumulatedData: {
2026
- noteHashes: string[];
2027
- nullifiers: string[];
2028
- l2ToL1Msgs: {
2029
- message: {
2030
- counter: number;
2031
- recipient: string;
2032
- content: string;
2033
- };
2034
- contractAddress?: any;
2035
- }[];
2036
- publicLogs: any[];
2037
- publicDataWrites: {
2038
- value: string;
2039
- leafSlot: string;
2040
- }[];
2041
- };
2042
- transactionFee: string;
2043
- reverted: boolean;
2044
- feePayer?: any;
2045
- };
2046
- }>, AvmCircuitInputs, {
2047
- calldata: string[];
2048
- functionName: string;
2049
- hints: {
2050
- publicDataWrites: {
2051
- lowLeafRead: {
2052
- leafPreimage: {
2053
- value: string;
2054
- slot: string;
2055
- nextIndex: string | number | bigint;
2056
- nextSlot: string;
2057
- };
2058
- leafIndex: string;
2059
- siblingPath: string[];
2060
- };
2061
- insertionPath: string[];
2062
- newLeafPreimage: {
2063
- value: string;
2064
- slot: string;
2065
- nextIndex: string | number | bigint;
2066
- nextSlot: string;
2067
- };
2068
- }[];
2069
- enqueuedCalls: {
2070
- calldata: string[];
2071
- contractAddress?: any;
2072
- }[];
2073
- contractInstances: {
2074
- exists: boolean;
2075
- salt: string;
2076
- currentContractClassId: string;
2077
- originalContractClassId: string;
2078
- initializationHash: string;
2079
- publicKeys: {
2080
- masterNullifierPublicKey: string;
2081
- masterIncomingViewingPublicKey: string;
2082
- masterOutgoingViewingPublicKey: string;
2083
- masterTaggingPublicKey: string;
2084
- };
2085
- updateMembershipHint: {
2086
- leafPreimage: {
2087
- value: string;
2088
- slot: string;
2089
- nextIndex: string | number | bigint;
2090
- nextSlot: string;
2091
- };
2092
- leafIndex: string;
2093
- siblingPath: string[];
2094
- };
2095
- updatePreimage: string[];
2096
- address?: any;
2097
- deployer?: any;
2098
- }[];
2099
- contractClasses: {
2100
- classId: string;
2101
- exists: boolean;
2102
- artifactHash: string;
2103
- privateFunctionsRoot: string;
2104
- publicBytecodeCommitment: string;
2105
- packedBytecode: string | {
2106
- type: "Buffer";
2107
- data: number[];
2108
- };
2109
- }[];
2110
- publicDataReads: {
2111
- leafPreimage: {
2112
- value: string;
2113
- slot: string;
2114
- nextIndex: string | number | bigint;
2115
- nextSlot: string;
2116
- };
2117
- leafIndex: string;
2118
- siblingPath: string[];
2119
- }[];
2120
- nullifierReads: {
2121
- lowLeafPreimage: {
2122
- nullifier: string;
2123
- nextNullifier: string;
2124
- nextIndex: string | number | bigint;
2125
- };
2126
- lowLeafIndex: string;
2127
- lowLeafSiblingPath: string[];
2128
- }[];
2129
- nullifierWrites: {
2130
- lowLeafRead: {
2131
- lowLeafPreimage: {
2132
- nullifier: string;
2133
- nextNullifier: string;
2134
- nextIndex: string | number | bigint;
2135
- };
2136
- lowLeafIndex: string;
2137
- lowLeafSiblingPath: string[];
2138
- };
2139
- insertionPath: string[];
2140
- }[];
2141
- noteHashReads: {
2142
- value: string;
2143
- leafIndex: string;
2144
- siblingPath: string[];
2145
- }[];
2146
- noteHashWrites: {
2147
- value: string;
2148
- leafIndex: string;
2149
- siblingPath: string[];
2150
- }[];
2151
- l1ToL2MessageReads: {
2152
- value: string;
2153
- leafIndex: string;
2154
- siblingPath: string[];
2155
- }[];
2156
- };
2157
- publicInputs: {
2158
- globalVariables: {
2159
- gasFees: {
2160
- feePerDaGas: string;
2161
- feePerL2Gas: string;
2162
- };
2163
- chainId?: any;
2164
- version?: any;
2165
- blockNumber?: any;
2166
- slotNumber?: any;
2167
- timestamp?: any;
2168
- coinbase?: any;
2169
- feeRecipient?: any;
2170
- };
2171
- startTreeSnapshots: {
2172
- l1ToL2MessageTree: {
2173
- root: string;
2174
- nextAvailableLeafIndex: string | number | bigint;
2175
- };
2176
- noteHashTree: {
2177
- root: string;
2178
- nextAvailableLeafIndex: string | number | bigint;
2179
- };
2180
- nullifierTree: {
2181
- root: string;
2182
- nextAvailableLeafIndex: string | number | bigint;
2183
- };
2184
- publicDataTree: {
2185
- root: string;
2186
- nextAvailableLeafIndex: string | number | bigint;
2187
- };
2188
- };
2189
- startGasUsed: {
2190
- daGas: string | number | bigint;
2191
- l2Gas: string | number | bigint;
2192
- };
2193
- gasSettings: {
2194
- gasLimits: {
2195
- daGas: string | number | bigint;
2196
- l2Gas: string | number | bigint;
2197
- };
2198
- teardownGasLimits: {
2199
- daGas: string | number | bigint;
2200
- l2Gas: string | number | bigint;
2201
- };
2202
- maxFeesPerGas: {
2203
- feePerDaGas: string;
2204
- feePerL2Gas: string;
2205
- };
2206
- maxPriorityFeesPerGas: {
2207
- feePerDaGas: string;
2208
- feePerL2Gas: string;
2209
- };
2210
- };
2211
- publicSetupCallRequests: {
2212
- isStaticCall: boolean;
2213
- argsHash: string;
2214
- contractAddress?: any;
2215
- msgSender?: any;
2216
- functionSelector?: any;
2217
- }[];
2218
- publicAppLogicCallRequests: {
2219
- isStaticCall: boolean;
2220
- argsHash: string;
2221
- contractAddress?: any;
2222
- msgSender?: any;
2223
- functionSelector?: any;
2224
- }[];
2225
- publicTeardownCallRequest: {
2226
- isStaticCall: boolean;
2227
- argsHash: string;
2228
- contractAddress?: any;
2229
- msgSender?: any;
2230
- functionSelector?: any;
2231
- };
2232
- previousNonRevertibleAccumulatedDataArrayLengths: {
2233
- noteHashes: string | number | bigint;
2234
- nullifiers: string | number | bigint;
2235
- l2ToL1Msgs: string | number | bigint;
2236
- };
2237
- previousRevertibleAccumulatedDataArrayLengths: {
2238
- noteHashes: string | number | bigint;
2239
- nullifiers: string | number | bigint;
2240
- l2ToL1Msgs: string | number | bigint;
2241
- };
2242
- previousNonRevertibleAccumulatedData: {
2243
- noteHashes: string[];
2244
- nullifiers: string[];
2245
- l2ToL1Msgs: {
2246
- message: {
2247
- counter: number;
2248
- recipient: string;
2249
- content: string;
2250
- };
2251
- contractAddress?: any;
2252
- }[];
2253
- };
2254
- previousRevertibleAccumulatedData: {
2255
- noteHashes: string[];
2256
- nullifiers: string[];
2257
- l2ToL1Msgs: {
2258
- message: {
2259
- counter: number;
2260
- recipient: string;
2261
- content: string;
2262
- };
2263
- contractAddress?: any;
2264
- }[];
2265
- };
2266
- endTreeSnapshots: {
2267
- l1ToL2MessageTree: {
2268
- root: string;
2269
- nextAvailableLeafIndex: string | number | bigint;
2270
- };
2271
- noteHashTree: {
2272
- root: string;
2273
- nextAvailableLeafIndex: string | number | bigint;
2274
- };
2275
- nullifierTree: {
2276
- root: string;
2277
- nextAvailableLeafIndex: string | number | bigint;
2278
- };
2279
- publicDataTree: {
2280
- root: string;
2281
- nextAvailableLeafIndex: string | number | bigint;
2282
- };
2283
- };
2284
- endGasUsed: {
2285
- daGas: string | number | bigint;
2286
- l2Gas: string | number | bigint;
2287
- };
2288
- accumulatedData: {
2289
- noteHashes: string[];
2290
- nullifiers: string[];
2291
- l2ToL1Msgs: {
2292
- message: {
2293
- counter: number;
2294
- recipient: string;
2295
- content: string;
2296
- };
2297
- contractAddress?: any;
2298
- }[];
2299
- publicLogs: any[];
2300
- publicDataWrites: {
2301
- value: string;
2302
- leafSlot: string;
2303
- }[];
2304
- };
2305
- transactionFee: string;
2306
- reverted: boolean;
2307
- feePayer?: any;
2308
- };
2309
- }>;
2310
- }, "strip", z.ZodTypeAny, {
2311
- type: ProvingRequestType.PUBLIC_VM;
2312
- inputs: AvmCircuitInputs;
2313
- }, {
2314
- type: ProvingRequestType.PUBLIC_VM;
2315
- inputs: {
2316
- calldata: string[];
2317
- functionName: string;
2318
- hints: {
2319
- publicDataWrites: {
2320
- lowLeafRead: {
2321
- leafPreimage: {
2322
- value: string;
2323
- slot: string;
2324
- nextIndex: string | number | bigint;
2325
- nextSlot: string;
2326
- };
2327
- leafIndex: string;
2328
- siblingPath: string[];
2329
- };
2330
- insertionPath: string[];
2331
- newLeafPreimage: {
2332
- value: string;
2333
- slot: string;
2334
- nextIndex: string | number | bigint;
2335
- nextSlot: string;
2336
- };
2337
- }[];
2338
- enqueuedCalls: {
2339
- calldata: string[];
2340
- contractAddress?: any;
2341
- }[];
2342
- contractInstances: {
2343
- exists: boolean;
2344
- salt: string;
2345
- currentContractClassId: string;
2346
- originalContractClassId: string;
2347
- initializationHash: string;
2348
- publicKeys: {
2349
- masterNullifierPublicKey: string;
2350
- masterIncomingViewingPublicKey: string;
2351
- masterOutgoingViewingPublicKey: string;
2352
- masterTaggingPublicKey: string;
2353
- };
2354
- updateMembershipHint: {
2355
- leafPreimage: {
2356
- value: string;
2357
- slot: string;
2358
- nextIndex: string | number | bigint;
2359
- nextSlot: string;
2360
- };
2361
- leafIndex: string;
2362
- siblingPath: string[];
2363
- };
2364
- updatePreimage: string[];
2365
- address?: any;
2366
- deployer?: any;
2367
- }[];
2368
- contractClasses: {
2369
- classId: string;
2370
- exists: boolean;
2371
- artifactHash: string;
2372
- privateFunctionsRoot: string;
2373
- publicBytecodeCommitment: string;
2374
- packedBytecode: string | {
2375
- type: "Buffer";
2376
- data: number[];
2377
- };
2378
- }[];
2379
- publicDataReads: {
2380
- leafPreimage: {
2381
- value: string;
2382
- slot: string;
2383
- nextIndex: string | number | bigint;
2384
- nextSlot: string;
2385
- };
2386
- leafIndex: string;
2387
- siblingPath: string[];
2388
- }[];
2389
- nullifierReads: {
2390
- lowLeafPreimage: {
2391
- nullifier: string;
2392
- nextNullifier: string;
2393
- nextIndex: string | number | bigint;
2394
- };
2395
- lowLeafIndex: string;
2396
- lowLeafSiblingPath: string[];
2397
- }[];
2398
- nullifierWrites: {
2399
- lowLeafRead: {
2400
- lowLeafPreimage: {
2401
- nullifier: string;
2402
- nextNullifier: string;
2403
- nextIndex: string | number | bigint;
2404
- };
2405
- lowLeafIndex: string;
2406
- lowLeafSiblingPath: string[];
2407
- };
2408
- insertionPath: string[];
2409
- }[];
2410
- noteHashReads: {
2411
- value: string;
2412
- leafIndex: string;
2413
- siblingPath: string[];
2414
- }[];
2415
- noteHashWrites: {
2416
- value: string;
2417
- leafIndex: string;
2418
- siblingPath: string[];
2419
- }[];
2420
- l1ToL2MessageReads: {
2421
- value: string;
2422
- leafIndex: string;
2423
- siblingPath: string[];
2424
- }[];
2425
- };
2426
- publicInputs: {
2427
- globalVariables: {
2428
- gasFees: {
2429
- feePerDaGas: string;
2430
- feePerL2Gas: string;
2431
- };
2432
- chainId?: any;
2433
- version?: any;
2434
- blockNumber?: any;
2435
- slotNumber?: any;
2436
- timestamp?: any;
2437
- coinbase?: any;
2438
- feeRecipient?: any;
2439
- };
2440
- startTreeSnapshots: {
2441
- l1ToL2MessageTree: {
2442
- root: string;
2443
- nextAvailableLeafIndex: string | number | bigint;
2444
- };
2445
- noteHashTree: {
2446
- root: string;
2447
- nextAvailableLeafIndex: string | number | bigint;
2448
- };
2449
- nullifierTree: {
2450
- root: string;
2451
- nextAvailableLeafIndex: string | number | bigint;
2452
- };
2453
- publicDataTree: {
2454
- root: string;
2455
- nextAvailableLeafIndex: string | number | bigint;
2456
- };
2457
- };
2458
- startGasUsed: {
2459
- daGas: string | number | bigint;
2460
- l2Gas: string | number | bigint;
2461
- };
2462
- gasSettings: {
2463
- gasLimits: {
2464
- daGas: string | number | bigint;
2465
- l2Gas: string | number | bigint;
2466
- };
2467
- teardownGasLimits: {
2468
- daGas: string | number | bigint;
2469
- l2Gas: string | number | bigint;
2470
- };
2471
- maxFeesPerGas: {
2472
- feePerDaGas: string;
2473
- feePerL2Gas: string;
2474
- };
2475
- maxPriorityFeesPerGas: {
2476
- feePerDaGas: string;
2477
- feePerL2Gas: string;
2478
- };
2479
- };
2480
- publicSetupCallRequests: {
2481
- isStaticCall: boolean;
2482
- argsHash: string;
2483
- contractAddress?: any;
2484
- msgSender?: any;
2485
- functionSelector?: any;
2486
- }[];
2487
- publicAppLogicCallRequests: {
2488
- isStaticCall: boolean;
2489
- argsHash: string;
2490
- contractAddress?: any;
2491
- msgSender?: any;
2492
- functionSelector?: any;
2493
- }[];
2494
- publicTeardownCallRequest: {
2495
- isStaticCall: boolean;
2496
- argsHash: string;
2497
- contractAddress?: any;
2498
- msgSender?: any;
2499
- functionSelector?: any;
2500
- };
2501
- previousNonRevertibleAccumulatedDataArrayLengths: {
2502
- noteHashes: string | number | bigint;
2503
- nullifiers: string | number | bigint;
2504
- l2ToL1Msgs: string | number | bigint;
2505
- };
2506
- previousRevertibleAccumulatedDataArrayLengths: {
2507
- noteHashes: string | number | bigint;
2508
- nullifiers: string | number | bigint;
2509
- l2ToL1Msgs: string | number | bigint;
2510
- };
2511
- previousNonRevertibleAccumulatedData: {
2512
- noteHashes: string[];
2513
- nullifiers: string[];
2514
- l2ToL1Msgs: {
2515
- message: {
2516
- counter: number;
2517
- recipient: string;
2518
- content: string;
2519
- };
2520
- contractAddress?: any;
2521
- }[];
2522
- };
2523
- previousRevertibleAccumulatedData: {
2524
- noteHashes: string[];
2525
- nullifiers: string[];
2526
- l2ToL1Msgs: {
2527
- message: {
2528
- counter: number;
2529
- recipient: string;
2530
- content: string;
2531
- };
2532
- contractAddress?: any;
2533
- }[];
2534
- };
2535
- endTreeSnapshots: {
2536
- l1ToL2MessageTree: {
2537
- root: string;
2538
- nextAvailableLeafIndex: string | number | bigint;
2539
- };
2540
- noteHashTree: {
2541
- root: string;
2542
- nextAvailableLeafIndex: string | number | bigint;
2543
- };
2544
- nullifierTree: {
2545
- root: string;
2546
- nextAvailableLeafIndex: string | number | bigint;
2547
- };
2548
- publicDataTree: {
2549
- root: string;
2550
- nextAvailableLeafIndex: string | number | bigint;
2551
- };
2552
- };
2553
- endGasUsed: {
2554
- daGas: string | number | bigint;
2555
- l2Gas: string | number | bigint;
2556
- };
2557
- accumulatedData: {
2558
- noteHashes: string[];
2559
- nullifiers: string[];
2560
- l2ToL1Msgs: {
2561
- message: {
2562
- counter: number;
2563
- recipient: string;
2564
- content: string;
2565
- };
2566
- contractAddress?: any;
2567
- }[];
2568
- publicLogs: any[];
2569
- publicDataWrites: {
2570
- value: string;
2571
- leafSlot: string;
2572
- }[];
2573
- };
2574
- transactionFee: string;
2575
- reverted: boolean;
2576
- feePayer?: any;
2577
- };
2578
- };
2579
- }>;
2580
- //# sourceMappingURL=avm_proving_request.d.ts.map
1267
+ }>>;
1268
+ }, z.core.$strip>;
1269
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZtX3Byb3ZpbmdfcmVxdWVzdC5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2F2bS9hdm1fcHJvdmluZ19yZXF1ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxDQUFDLEVBQUUsTUFBTSxLQUFLLENBQUM7QUFFeEIsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDdkUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRTVDLE1BQU0sTUFBTSxpQkFBaUIsR0FBRyxDQUFDLENBQUMsS0FBSyxDQUFDLE9BQU8sdUJBQXVCLENBQUMsQ0FBQztBQUV4RSxlQUFPLE1BQU0sdUJBQXVCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7aUJBR2xDLENBQUMifQ==