@aztec/bb.js 3.0.0-canary.a9708bd → 3.0.0-manual.20251030

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 (410) hide show
  1. package/README.md +13 -79
  2. package/dest/browser/barretenberg/backend.d.ts +2 -2
  3. package/dest/browser/barretenberg/backend.d.ts.map +1 -1
  4. package/dest/browser/barretenberg/backend.js +40 -25
  5. package/dest/browser/barretenberg/index.d.ts +45 -44
  6. package/dest/browser/barretenberg/index.d.ts.map +1 -1
  7. package/dest/browser/barretenberg/index.js +131 -80
  8. package/dest/browser/barretenberg_wasm/barretenberg_wasm_base/index.d.ts +1 -1
  9. package/dest/browser/barretenberg_wasm/barretenberg_wasm_base/index.d.ts.map +1 -1
  10. package/dest/browser/barretenberg_wasm/barretenberg_wasm_base/index.js +2 -2
  11. package/dest/browser/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.d.ts +4 -4
  12. package/dest/browser/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.d.ts.map +1 -1
  13. package/dest/browser/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.js +18 -10
  14. package/dest/browser/barretenberg_wasm/barretenberg_wasm_main/index.d.ts +3 -0
  15. package/dest/browser/barretenberg_wasm/barretenberg_wasm_main/index.d.ts.map +1 -1
  16. package/dest/browser/barretenberg_wasm/barretenberg_wasm_main/index.js +55 -14
  17. package/dest/browser/barretenberg_wasm/fetch_code/browser/barretenberg-threads.js +1 -1
  18. package/dest/browser/barretenberg_wasm/fetch_code/browser/barretenberg.js +1 -1
  19. package/dest/browser/bb_backends/browser/index.d.ts +11 -0
  20. package/dest/browser/bb_backends/browser/index.d.ts.map +1 -0
  21. package/dest/browser/bb_backends/browser/index.js +39 -0
  22. package/dest/browser/bb_backends/index.d.ts +45 -0
  23. package/dest/browser/bb_backends/index.d.ts.map +1 -0
  24. package/dest/browser/bb_backends/index.js +15 -0
  25. package/dest/browser/bb_backends/interface.d.ts +33 -0
  26. package/dest/browser/bb_backends/interface.d.ts.map +1 -0
  27. package/dest/browser/bb_backends/interface.js +2 -0
  28. package/dest/browser/bb_backends/sync_to_async_adapter.d.ts +15 -0
  29. package/dest/browser/bb_backends/sync_to_async_adapter.d.ts.map +1 -0
  30. package/dest/browser/bb_backends/sync_to_async_adapter.js +20 -0
  31. package/dest/browser/bb_backends/wasm.d.ts +49 -0
  32. package/dest/browser/bb_backends/wasm.d.ts.map +1 -0
  33. package/dest/browser/bb_backends/wasm.js +83 -0
  34. package/dest/browser/bbapi_exception.d.ts +7 -0
  35. package/dest/browser/bbapi_exception.d.ts.map +1 -0
  36. package/dest/browser/bbapi_exception.js +14 -0
  37. package/dest/browser/cbind/generate.js +94 -7
  38. package/dest/browser/cbind/generated/api_types.d.ts +1640 -227
  39. package/dest/browser/cbind/generated/api_types.d.ts.map +1 -1
  40. package/dest/browser/cbind/generated/api_types.js +2366 -478
  41. package/dest/browser/cbind/generated/async.d.ts +52 -13
  42. package/dest/browser/cbind/generated/async.d.ts.map +1 -1
  43. package/dest/browser/cbind/generated/async.js +586 -72
  44. package/dest/browser/cbind/generated/curve_constants.d.ts +45 -0
  45. package/dest/browser/cbind/generated/curve_constants.d.ts.map +1 -0
  46. package/dest/browser/cbind/generated/curve_constants.js +45 -0
  47. package/dest/browser/cbind/generated/sync.d.ts +53 -14
  48. package/dest/browser/cbind/generated/sync.d.ts.map +1 -1
  49. package/dest/browser/cbind/generated/sync.js +548 -72
  50. package/dest/browser/cbind/schema_compiler.d.ts +2 -4
  51. package/dest/browser/cbind/schema_compiler.d.ts.map +1 -1
  52. package/dest/browser/cbind/schema_compiler.js +97 -181
  53. package/dest/browser/index.d.ts +4 -2
  54. package/dest/browser/index.d.ts.map +1 -1
  55. package/dest/browser/index.js +5 -3
  56. package/dest/browser/serialize/index.d.ts +0 -2
  57. package/dest/browser/serialize/index.d.ts.map +1 -1
  58. package/dest/browser/serialize/index.js +1 -3
  59. package/dest/browser/serialize/serialize.d.ts +0 -35
  60. package/dest/browser/serialize/serialize.d.ts.map +1 -1
  61. package/dest/browser/serialize/serialize.js +1 -68
  62. package/dest/browser/types/fields.d.ts +6 -26
  63. package/dest/browser/types/fields.d.ts.map +1 -1
  64. package/dest/browser/types/fields.js +16 -57
  65. package/dest/browser/types/index.d.ts +0 -3
  66. package/dest/browser/types/index.d.ts.map +1 -1
  67. package/dest/browser/types/index.js +1 -4
  68. package/dest/browser/types/point.d.ts +8 -6
  69. package/dest/browser/types/point.d.ts.map +1 -1
  70. package/dest/browser/types/point.js +12 -15
  71. package/dest/node/barretenberg/__snapshots__/pedersen.test.js.snap +2 -2
  72. package/dest/node/barretenberg/__snapshots__/poseidon.test.js.snap +3 -3
  73. package/dest/node/barretenberg/backend.d.ts +2 -2
  74. package/dest/node/barretenberg/backend.d.ts.map +1 -1
  75. package/dest/node/barretenberg/backend.js +40 -25
  76. package/dest/node/barretenberg/blake2s.test.js +21 -18
  77. package/dest/node/barretenberg/index.d.ts +45 -44
  78. package/dest/node/barretenberg/index.d.ts.map +1 -1
  79. package/dest/node/barretenberg/index.js +131 -80
  80. package/dest/node/barretenberg/pedersen.test.js +24 -17
  81. package/dest/node/barretenberg/poseidon.bench.test.d.ts +2 -0
  82. package/dest/node/barretenberg/poseidon.bench.test.d.ts.map +1 -0
  83. package/dest/node/barretenberg/poseidon.bench.test.js +217 -0
  84. package/dest/node/barretenberg/poseidon.test.js +15 -15
  85. package/dest/node/barretenberg_wasm/barretenberg-threads.wasm.gz +0 -0
  86. package/dest/node/barretenberg_wasm/barretenberg_wasm_base/index.d.ts +1 -1
  87. package/dest/node/barretenberg_wasm/barretenberg_wasm_base/index.d.ts.map +1 -1
  88. package/dest/node/barretenberg_wasm/barretenberg_wasm_base/index.js +2 -2
  89. package/dest/node/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.d.ts +4 -4
  90. package/dest/node/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.d.ts.map +1 -1
  91. package/dest/node/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.js +18 -10
  92. package/dest/node/barretenberg_wasm/barretenberg_wasm_main/index.d.ts +3 -0
  93. package/dest/node/barretenberg_wasm/barretenberg_wasm_main/index.d.ts.map +1 -1
  94. package/dest/node/barretenberg_wasm/barretenberg_wasm_main/index.js +55 -14
  95. package/dest/node/barretenberg_wasm/index.test.js +11 -10
  96. package/dest/node/bb_backends/browser/index.d.ts +11 -0
  97. package/dest/node/bb_backends/browser/index.d.ts.map +1 -0
  98. package/dest/node/bb_backends/browser/index.js +39 -0
  99. package/dest/node/bb_backends/index.d.ts +45 -0
  100. package/dest/node/bb_backends/index.d.ts.map +1 -0
  101. package/dest/node/bb_backends/index.js +15 -0
  102. package/dest/node/bb_backends/interface.d.ts +33 -0
  103. package/dest/node/bb_backends/interface.d.ts.map +1 -0
  104. package/dest/node/bb_backends/interface.js +2 -0
  105. package/dest/node/bb_backends/node/index.d.ts +11 -0
  106. package/dest/node/bb_backends/node/index.d.ts.map +1 -0
  107. package/dest/node/bb_backends/node/index.js +80 -0
  108. package/dest/node/bb_backends/node/native_pipe.d.ts +25 -0
  109. package/dest/node/bb_backends/node/native_pipe.d.ts.map +1 -0
  110. package/dest/node/bb_backends/node/native_pipe.js +113 -0
  111. package/dest/node/bb_backends/node/native_shm.d.ts +28 -0
  112. package/dest/node/bb_backends/node/native_shm.d.ts.map +1 -0
  113. package/dest/node/bb_backends/node/native_shm.js +150 -0
  114. package/dest/node/bb_backends/node/native_socket.d.ts +34 -0
  115. package/dest/node/bb_backends/node/native_socket.d.ts.map +1 -0
  116. package/dest/node/bb_backends/node/native_socket.js +269 -0
  117. package/dest/node/bb_backends/node/platform.d.ts +27 -0
  118. package/dest/node/bb_backends/node/platform.d.ts.map +1 -0
  119. package/dest/node/bb_backends/node/platform.js +124 -0
  120. package/dest/node/bb_backends/sync_to_async_adapter.d.ts +15 -0
  121. package/dest/node/bb_backends/sync_to_async_adapter.d.ts.map +1 -0
  122. package/dest/node/bb_backends/sync_to_async_adapter.js +20 -0
  123. package/dest/node/bb_backends/wasm.d.ts +49 -0
  124. package/dest/node/bb_backends/wasm.d.ts.map +1 -0
  125. package/dest/node/bb_backends/wasm.js +83 -0
  126. package/dest/node/bbapi_exception.d.ts +7 -0
  127. package/dest/node/bbapi_exception.d.ts.map +1 -0
  128. package/dest/node/bbapi_exception.js +14 -0
  129. package/dest/node/cbind/generate.js +94 -7
  130. package/dest/node/cbind/generated/api_types.d.ts +1640 -227
  131. package/dest/node/cbind/generated/api_types.d.ts.map +1 -1
  132. package/dest/node/cbind/generated/api_types.js +2366 -478
  133. package/dest/node/cbind/generated/async.d.ts +52 -13
  134. package/dest/node/cbind/generated/async.d.ts.map +1 -1
  135. package/dest/node/cbind/generated/async.js +586 -72
  136. package/dest/node/cbind/generated/curve_constants.d.ts +45 -0
  137. package/dest/node/cbind/generated/curve_constants.d.ts.map +1 -0
  138. package/dest/node/cbind/generated/curve_constants.js +45 -0
  139. package/dest/node/cbind/generated/sync.d.ts +53 -14
  140. package/dest/node/cbind/generated/sync.d.ts.map +1 -1
  141. package/dest/node/cbind/generated/sync.js +548 -72
  142. package/dest/node/cbind/schema_compiler.d.ts +2 -4
  143. package/dest/node/cbind/schema_compiler.d.ts.map +1 -1
  144. package/dest/node/cbind/schema_compiler.js +97 -181
  145. package/dest/node/index.d.ts +4 -2
  146. package/dest/node/index.d.ts.map +1 -1
  147. package/dest/node/index.js +5 -3
  148. package/dest/node/serialize/index.d.ts +0 -2
  149. package/dest/node/serialize/index.d.ts.map +1 -1
  150. package/dest/node/serialize/index.js +1 -3
  151. package/dest/node/serialize/serialize.d.ts +0 -35
  152. package/dest/node/serialize/serialize.d.ts.map +1 -1
  153. package/dest/node/serialize/serialize.js +1 -68
  154. package/dest/node/types/fields.d.ts +6 -26
  155. package/dest/node/types/fields.d.ts.map +1 -1
  156. package/dest/node/types/fields.js +16 -57
  157. package/dest/node/types/index.d.ts +0 -3
  158. package/dest/node/types/index.d.ts.map +1 -1
  159. package/dest/node/types/index.js +1 -4
  160. package/dest/node/types/point.d.ts +8 -6
  161. package/dest/node/types/point.d.ts.map +1 -1
  162. package/dest/node/types/point.js +12 -15
  163. package/dest/node-cjs/barretenberg/backend.d.ts +2 -2
  164. package/dest/node-cjs/barretenberg/backend.d.ts.map +1 -1
  165. package/dest/node-cjs/barretenberg/backend.js +38 -23
  166. package/dest/node-cjs/barretenberg/blake2s.test.js +19 -16
  167. package/dest/node-cjs/barretenberg/index.d.ts +45 -44
  168. package/dest/node-cjs/barretenberg/index.d.ts.map +1 -1
  169. package/dest/node-cjs/barretenberg/index.js +137 -85
  170. package/dest/node-cjs/barretenberg/pedersen.test.js +24 -17
  171. package/dest/node-cjs/barretenberg/poseidon.bench.test.d.ts +2 -0
  172. package/dest/node-cjs/barretenberg/poseidon.bench.test.d.ts.map +1 -0
  173. package/dest/node-cjs/barretenberg/poseidon.bench.test.js +219 -0
  174. package/dest/node-cjs/barretenberg/poseidon.test.js +15 -15
  175. package/dest/node-cjs/barretenberg_wasm/barretenberg-threads.wasm.gz +0 -0
  176. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_base/index.d.ts +1 -1
  177. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_base/index.d.ts.map +1 -1
  178. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_base/index.js +2 -2
  179. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.d.ts +4 -4
  180. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.d.ts.map +1 -1
  181. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.js +18 -10
  182. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_main/index.d.ts +3 -0
  183. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_main/index.d.ts.map +1 -1
  184. package/dest/node-cjs/barretenberg_wasm/barretenberg_wasm_main/index.js +55 -14
  185. package/dest/node-cjs/barretenberg_wasm/index.test.js +11 -10
  186. package/dest/node-cjs/bb_backends/browser/index.d.ts +11 -0
  187. package/dest/node-cjs/bb_backends/browser/index.d.ts.map +1 -0
  188. package/dest/node-cjs/bb_backends/browser/index.js +43 -0
  189. package/dest/node-cjs/bb_backends/index.d.ts +45 -0
  190. package/dest/node-cjs/bb_backends/index.d.ts.map +1 -0
  191. package/dest/node-cjs/bb_backends/index.js +18 -0
  192. package/dest/node-cjs/bb_backends/interface.d.ts +33 -0
  193. package/dest/node-cjs/bb_backends/interface.d.ts.map +1 -0
  194. package/dest/node-cjs/bb_backends/interface.js +3 -0
  195. package/dest/node-cjs/bb_backends/node/index.d.ts +11 -0
  196. package/dest/node-cjs/bb_backends/node/index.d.ts.map +1 -0
  197. package/dest/node-cjs/bb_backends/node/index.js +84 -0
  198. package/dest/node-cjs/bb_backends/node/native_pipe.d.ts +25 -0
  199. package/dest/node-cjs/bb_backends/node/native_pipe.d.ts.map +1 -0
  200. package/dest/node-cjs/bb_backends/node/native_pipe.js +117 -0
  201. package/dest/node-cjs/bb_backends/node/native_shm.d.ts +28 -0
  202. package/dest/node-cjs/bb_backends/node/native_shm.d.ts.map +1 -0
  203. package/dest/node-cjs/bb_backends/node/native_shm.js +154 -0
  204. package/dest/node-cjs/bb_backends/node/native_socket.d.ts +34 -0
  205. package/dest/node-cjs/bb_backends/node/native_socket.d.ts.map +1 -0
  206. package/dest/node-cjs/bb_backends/node/native_socket.js +274 -0
  207. package/dest/node-cjs/bb_backends/node/platform.d.ts +27 -0
  208. package/dest/node-cjs/bb_backends/node/platform.d.ts.map +1 -0
  209. package/dest/node-cjs/bb_backends/node/platform.js +131 -0
  210. package/dest/node-cjs/bb_backends/sync_to_async_adapter.d.ts +15 -0
  211. package/dest/node-cjs/bb_backends/sync_to_async_adapter.d.ts.map +1 -0
  212. package/dest/node-cjs/bb_backends/sync_to_async_adapter.js +24 -0
  213. package/dest/node-cjs/bb_backends/wasm.d.ts +49 -0
  214. package/dest/node-cjs/bb_backends/wasm.d.ts.map +1 -0
  215. package/dest/node-cjs/bb_backends/wasm.js +88 -0
  216. package/dest/node-cjs/bbapi_exception.d.ts +7 -0
  217. package/dest/node-cjs/bbapi_exception.d.ts.map +1 -0
  218. package/dest/node-cjs/bbapi_exception.js +18 -0
  219. package/dest/node-cjs/cbind/generate.js +93 -6
  220. package/dest/node-cjs/cbind/generated/api_types.d.ts +1640 -227
  221. package/dest/node-cjs/cbind/generated/api_types.d.ts.map +1 -1
  222. package/dest/node-cjs/cbind/generated/api_types.js +2572 -516
  223. package/dest/node-cjs/cbind/generated/async.d.ts +52 -13
  224. package/dest/node-cjs/cbind/generated/async.d.ts.map +1 -1
  225. package/dest/node-cjs/cbind/generated/async.js +585 -71
  226. package/dest/node-cjs/cbind/generated/curve_constants.d.ts +45 -0
  227. package/dest/node-cjs/cbind/generated/curve_constants.d.ts.map +1 -0
  228. package/dest/node-cjs/cbind/generated/curve_constants.js +48 -0
  229. package/dest/node-cjs/cbind/generated/sync.d.ts +53 -14
  230. package/dest/node-cjs/cbind/generated/sync.d.ts.map +1 -1
  231. package/dest/node-cjs/cbind/generated/sync.js +547 -71
  232. package/dest/node-cjs/cbind/schema_compiler.d.ts +2 -4
  233. package/dest/node-cjs/cbind/schema_compiler.d.ts.map +1 -1
  234. package/dest/node-cjs/cbind/schema_compiler.js +97 -182
  235. package/dest/node-cjs/index.d.ts +4 -2
  236. package/dest/node-cjs/index.d.ts.map +1 -1
  237. package/dest/node-cjs/index.js +24 -9
  238. package/dest/node-cjs/serialize/index.d.ts +0 -2
  239. package/dest/node-cjs/serialize/index.d.ts.map +1 -1
  240. package/dest/node-cjs/serialize/index.js +1 -3
  241. package/dest/node-cjs/serialize/serialize.d.ts +0 -35
  242. package/dest/node-cjs/serialize/serialize.d.ts.map +1 -1
  243. package/dest/node-cjs/serialize/serialize.js +1 -79
  244. package/dest/node-cjs/types/fields.d.ts +6 -26
  245. package/dest/node-cjs/types/fields.d.ts.map +1 -1
  246. package/dest/node-cjs/types/fields.js +16 -58
  247. package/dest/node-cjs/types/index.d.ts +0 -3
  248. package/dest/node-cjs/types/index.d.ts.map +1 -1
  249. package/dest/node-cjs/types/index.js +1 -4
  250. package/dest/node-cjs/types/point.d.ts +8 -6
  251. package/dest/node-cjs/types/point.d.ts.map +1 -1
  252. package/dest/node-cjs/types/point.js +13 -16
  253. package/package.json +6 -6
  254. package/src/barretenberg/__snapshots__/pedersen.test.ts.snap +2 -2
  255. package/src/barretenberg/__snapshots__/poseidon.test.ts.snap +3 -3
  256. package/src/barretenberg/backend.ts +54 -42
  257. package/src/barretenberg/blake2s.test.ts +20 -21
  258. package/src/barretenberg/index.ts +137 -118
  259. package/src/barretenberg/pedersen.test.ts +23 -16
  260. package/src/barretenberg/poseidon.bench.test.ts +268 -0
  261. package/src/barretenberg/poseidon.test.ts +14 -14
  262. package/src/barretenberg_wasm/barretenberg_wasm_base/index.ts +3 -3
  263. package/src/barretenberg_wasm/barretenberg_wasm_main/heap_allocator.ts +17 -9
  264. package/src/barretenberg_wasm/barretenberg_wasm_main/index.ts +67 -16
  265. package/src/barretenberg_wasm/index.test.ts +12 -11
  266. package/src/bb_backends/browser/index.ts +50 -0
  267. package/src/bb_backends/index.ts +49 -0
  268. package/src/bb_backends/interface.ts +35 -0
  269. package/src/bb_backends/node/index.ts +94 -0
  270. package/src/bb_backends/node/native_pipe.ts +127 -0
  271. package/src/bb_backends/node/native_shm.ts +171 -0
  272. package/src/bb_backends/node/native_socket.ts +312 -0
  273. package/src/bb_backends/node/platform.ts +151 -0
  274. package/src/bb_backends/sync_to_async_adapter.ts +21 -0
  275. package/src/bb_backends/wasm.ts +103 -0
  276. package/src/bbapi_exception.ts +13 -0
  277. package/src/cbind/README.md +1 -1
  278. package/src/cbind/generate.ts +99 -6
  279. package/src/cbind/schema_compiler.ts +156 -244
  280. package/src/index.ts +29 -1
  281. package/src/serialize/index.ts +0 -2
  282. package/src/serialize/serialize.ts +0 -82
  283. package/src/types/fields.ts +15 -64
  284. package/src/types/index.ts +0 -3
  285. package/src/types/point.ts +13 -19
  286. package/dest/browser/barretenberg_api/index.d.ts +0 -109
  287. package/dest/browser/barretenberg_api/index.d.ts.map +0 -1
  288. package/dest/browser/barretenberg_api/index.js +0 -699
  289. package/dest/browser/cbind/generated/native.d.ts +0 -31
  290. package/dest/browser/cbind/generated/native.d.ts.map +0 -1
  291. package/dest/browser/cbind/generated/native.js +0 -234
  292. package/dest/browser/serialize/buffer_reader.d.ts +0 -28
  293. package/dest/browser/serialize/buffer_reader.d.ts.map +0 -1
  294. package/dest/browser/serialize/buffer_reader.js +0 -66
  295. package/dest/browser/serialize/output_type.d.ts +0 -11
  296. package/dest/browser/serialize/output_type.d.ts.map +0 -1
  297. package/dest/browser/serialize/output_type.js +0 -44
  298. package/dest/browser/types/fixed_size_buffer.d.ts +0 -26
  299. package/dest/browser/types/fixed_size_buffer.d.ts.map +0 -1
  300. package/dest/browser/types/fixed_size_buffer.js +0 -51
  301. package/dest/browser/types/ptr.d.ts +0 -13
  302. package/dest/browser/types/ptr.d.ts.map +0 -1
  303. package/dest/browser/types/ptr.js +0 -19
  304. package/dest/browser/types/raw_buffer.d.ts +0 -3
  305. package/dest/browser/types/raw_buffer.d.ts.map +0 -1
  306. package/dest/browser/types/raw_buffer.js +0 -5
  307. package/dest/node/barretenberg/common.test.d.ts +0 -2
  308. package/dest/node/barretenberg/common.test.d.ts.map +0 -1
  309. package/dest/node/barretenberg/common.test.js +0 -20
  310. package/dest/node/barretenberg_api/index.d.ts +0 -109
  311. package/dest/node/barretenberg_api/index.d.ts.map +0 -1
  312. package/dest/node/barretenberg_api/index.js +0 -699
  313. package/dest/node/bindgen/function_declaration.d.ts +0 -11
  314. package/dest/node/bindgen/function_declaration.d.ts.map +0 -1
  315. package/dest/node/bindgen/function_declaration.js +0 -2
  316. package/dest/node/bindgen/index.d.ts +0 -2
  317. package/dest/node/bindgen/index.d.ts.map +0 -1
  318. package/dest/node/bindgen/index.js +0 -15
  319. package/dest/node/bindgen/mappings.d.ts +0 -4
  320. package/dest/node/bindgen/mappings.d.ts.map +0 -1
  321. package/dest/node/bindgen/mappings.js +0 -64
  322. package/dest/node/bindgen/rust.d.ts +0 -2
  323. package/dest/node/bindgen/rust.d.ts.map +0 -1
  324. package/dest/node/bindgen/rust.js +0 -43
  325. package/dest/node/bindgen/to_camel_case.d.ts +0 -2
  326. package/dest/node/bindgen/to_camel_case.d.ts.map +0 -1
  327. package/dest/node/bindgen/to_camel_case.js +0 -11
  328. package/dest/node/bindgen/typescript.d.ts +0 -2
  329. package/dest/node/bindgen/typescript.d.ts.map +0 -1
  330. package/dest/node/bindgen/typescript.js +0 -100
  331. package/dest/node/cbind/generated/native.d.ts +0 -31
  332. package/dest/node/cbind/generated/native.d.ts.map +0 -1
  333. package/dest/node/cbind/generated/native.js +0 -234
  334. package/dest/node/main.d.ts +0 -13
  335. package/dest/node/main.d.ts.map +0 -1
  336. package/dest/node/main.js +0 -459
  337. package/dest/node/serialize/buffer_reader.d.ts +0 -28
  338. package/dest/node/serialize/buffer_reader.d.ts.map +0 -1
  339. package/dest/node/serialize/buffer_reader.js +0 -66
  340. package/dest/node/serialize/output_type.d.ts +0 -11
  341. package/dest/node/serialize/output_type.d.ts.map +0 -1
  342. package/dest/node/serialize/output_type.js +0 -44
  343. package/dest/node/types/fixed_size_buffer.d.ts +0 -26
  344. package/dest/node/types/fixed_size_buffer.d.ts.map +0 -1
  345. package/dest/node/types/fixed_size_buffer.js +0 -51
  346. package/dest/node/types/ptr.d.ts +0 -13
  347. package/dest/node/types/ptr.d.ts.map +0 -1
  348. package/dest/node/types/ptr.js +0 -19
  349. package/dest/node/types/raw_buffer.d.ts +0 -3
  350. package/dest/node/types/raw_buffer.d.ts.map +0 -1
  351. package/dest/node/types/raw_buffer.js +0 -5
  352. package/dest/node-cjs/barretenberg/common.test.d.ts +0 -2
  353. package/dest/node-cjs/barretenberg/common.test.d.ts.map +0 -1
  354. package/dest/node-cjs/barretenberg/common.test.js +0 -22
  355. package/dest/node-cjs/barretenberg_api/index.d.ts +0 -109
  356. package/dest/node-cjs/barretenberg_api/index.d.ts.map +0 -1
  357. package/dest/node-cjs/barretenberg_api/index.js +0 -704
  358. package/dest/node-cjs/bindgen/function_declaration.d.ts +0 -11
  359. package/dest/node-cjs/bindgen/function_declaration.d.ts.map +0 -1
  360. package/dest/node-cjs/bindgen/function_declaration.js +0 -3
  361. package/dest/node-cjs/bindgen/index.d.ts +0 -2
  362. package/dest/node-cjs/bindgen/index.d.ts.map +0 -1
  363. package/dest/node-cjs/bindgen/index.js +0 -17
  364. package/dest/node-cjs/bindgen/mappings.d.ts +0 -4
  365. package/dest/node-cjs/bindgen/mappings.d.ts.map +0 -1
  366. package/dest/node-cjs/bindgen/mappings.js +0 -69
  367. package/dest/node-cjs/bindgen/rust.d.ts +0 -2
  368. package/dest/node-cjs/bindgen/rust.d.ts.map +0 -1
  369. package/dest/node-cjs/bindgen/rust.js +0 -47
  370. package/dest/node-cjs/bindgen/to_camel_case.d.ts +0 -2
  371. package/dest/node-cjs/bindgen/to_camel_case.d.ts.map +0 -1
  372. package/dest/node-cjs/bindgen/to_camel_case.js +0 -14
  373. package/dest/node-cjs/bindgen/typescript.d.ts +0 -2
  374. package/dest/node-cjs/bindgen/typescript.d.ts.map +0 -1
  375. package/dest/node-cjs/bindgen/typescript.js +0 -104
  376. package/dest/node-cjs/cbind/generated/native.d.ts +0 -31
  377. package/dest/node-cjs/cbind/generated/native.d.ts.map +0 -1
  378. package/dest/node-cjs/cbind/generated/native.js +0 -238
  379. package/dest/node-cjs/main.d.ts +0 -13
  380. package/dest/node-cjs/main.d.ts.map +0 -1
  381. package/dest/node-cjs/main.js +0 -470
  382. package/dest/node-cjs/serialize/buffer_reader.d.ts +0 -28
  383. package/dest/node-cjs/serialize/buffer_reader.d.ts.map +0 -1
  384. package/dest/node-cjs/serialize/buffer_reader.js +0 -70
  385. package/dest/node-cjs/serialize/output_type.d.ts +0 -11
  386. package/dest/node-cjs/serialize/output_type.d.ts.map +0 -1
  387. package/dest/node-cjs/serialize/output_type.js +0 -51
  388. package/dest/node-cjs/types/fixed_size_buffer.d.ts +0 -26
  389. package/dest/node-cjs/types/fixed_size_buffer.d.ts.map +0 -1
  390. package/dest/node-cjs/types/fixed_size_buffer.js +0 -57
  391. package/dest/node-cjs/types/ptr.d.ts +0 -13
  392. package/dest/node-cjs/types/ptr.d.ts.map +0 -1
  393. package/dest/node-cjs/types/ptr.js +0 -23
  394. package/dest/node-cjs/types/raw_buffer.d.ts +0 -3
  395. package/dest/node-cjs/types/raw_buffer.d.ts.map +0 -1
  396. package/dest/node-cjs/types/raw_buffer.js +0 -9
  397. package/src/barretenberg/common.test.ts +0 -23
  398. package/src/barretenberg_api/index.ts +0 -1216
  399. package/src/bindgen/function_declaration.ts +0 -11
  400. package/src/bindgen/index.ts +0 -17
  401. package/src/bindgen/mappings.ts +0 -67
  402. package/src/bindgen/rust.ts +0 -52
  403. package/src/bindgen/to_camel_case.ts +0 -10
  404. package/src/bindgen/typescript.ts +0 -116
  405. package/src/main.ts +0 -534
  406. package/src/serialize/buffer_reader.ts +0 -85
  407. package/src/serialize/output_type.ts +0 -53
  408. package/src/types/fixed_size_buffer.ts +0 -59
  409. package/src/types/ptr.ts +0 -20
  410. package/src/types/raw_buffer.ts +0 -3
@@ -1,5 +1,287 @@
1
+ export type Field2 = [Uint8Array, Uint8Array];
2
+ export type Fq = Uint8Array;
1
3
  export type Fr = Uint8Array;
4
+ export type Secp256k1Fq = Uint8Array;
5
+ export type Secp256k1Fr = Uint8Array;
6
+ export type Secp256r1Fq = Uint8Array;
7
+ export type Secp256r1Fr = Uint8Array;
2
8
  export type Uint256T = Uint8Array;
9
+ export interface AesDecrypt {
10
+ ciphertext: Uint8Array;
11
+ iv: Uint8Array;
12
+ key: Uint8Array;
13
+ length: number;
14
+ }
15
+ interface MsgpackAesDecrypt {
16
+ ciphertext: Uint8Array;
17
+ iv: Uint8Array;
18
+ key: Uint8Array;
19
+ length: number;
20
+ }
21
+ export interface AesDecryptResponse {
22
+ plaintext: Uint8Array;
23
+ }
24
+ interface MsgpackAesDecryptResponse {
25
+ plaintext: Uint8Array;
26
+ }
27
+ export interface AesEncrypt {
28
+ plaintext: Uint8Array;
29
+ iv: Uint8Array;
30
+ key: Uint8Array;
31
+ length: number;
32
+ }
33
+ interface MsgpackAesEncrypt {
34
+ plaintext: Uint8Array;
35
+ iv: Uint8Array;
36
+ key: Uint8Array;
37
+ length: number;
38
+ }
39
+ export interface AesEncryptResponse {
40
+ ciphertext: Uint8Array;
41
+ }
42
+ interface MsgpackAesEncryptResponse {
43
+ ciphertext: Uint8Array;
44
+ }
45
+ export interface Blake2s {
46
+ data: Uint8Array;
47
+ }
48
+ interface MsgpackBlake2s {
49
+ data: Uint8Array;
50
+ }
51
+ export interface Blake2sResponse {
52
+ hash: Uint8Array;
53
+ }
54
+ interface MsgpackBlake2sResponse {
55
+ hash: Uint8Array;
56
+ }
57
+ export interface Blake2sToField {
58
+ data: Uint8Array;
59
+ }
60
+ interface MsgpackBlake2sToField {
61
+ data: Uint8Array;
62
+ }
63
+ export interface Blake2sToFieldResponse {
64
+ field: Fr;
65
+ }
66
+ interface MsgpackBlake2sToFieldResponse {
67
+ field: Uint8Array;
68
+ }
69
+ export interface Bn254FqSqrt {
70
+ input: Fq;
71
+ }
72
+ interface MsgpackBn254FqSqrt {
73
+ input: Uint8Array;
74
+ }
75
+ export interface Bn254FqSqrtResponse {
76
+ isSquareRoot: boolean;
77
+ value: Fq;
78
+ }
79
+ interface MsgpackBn254FqSqrtResponse {
80
+ is_square_root: boolean;
81
+ value: Uint8Array;
82
+ }
83
+ export interface Bn254FrSqrt {
84
+ input: Fr;
85
+ }
86
+ interface MsgpackBn254FrSqrt {
87
+ input: Uint8Array;
88
+ }
89
+ export interface Bn254FrSqrtResponse {
90
+ isSquareRoot: boolean;
91
+ value: Fr;
92
+ }
93
+ interface MsgpackBn254FrSqrtResponse {
94
+ is_square_root: boolean;
95
+ value: Uint8Array;
96
+ }
97
+ export interface Bn254G1FromCompressed {
98
+ compressed: Uint8Array;
99
+ }
100
+ interface MsgpackBn254G1FromCompressed {
101
+ compressed: Uint8Array;
102
+ }
103
+ export interface Bn254G1FromCompressedResponse {
104
+ point: Bn254G1Point;
105
+ }
106
+ interface MsgpackBn254G1FromCompressedResponse {
107
+ point: MsgpackBn254G1Point;
108
+ }
109
+ export interface Bn254G1IsOnCurve {
110
+ point: Bn254G1Point;
111
+ }
112
+ interface MsgpackBn254G1IsOnCurve {
113
+ point: MsgpackBn254G1Point;
114
+ }
115
+ export interface Bn254G1IsOnCurveResponse {
116
+ isOnCurve: boolean;
117
+ }
118
+ interface MsgpackBn254G1IsOnCurveResponse {
119
+ is_on_curve: boolean;
120
+ }
121
+ export interface Bn254G1Mul {
122
+ point: Bn254G1Point;
123
+ scalar: Fr;
124
+ }
125
+ interface MsgpackBn254G1Mul {
126
+ point: MsgpackBn254G1Point;
127
+ scalar: Uint8Array;
128
+ }
129
+ export interface Bn254G1MulResponse {
130
+ point: Bn254G1Point;
131
+ }
132
+ interface MsgpackBn254G1MulResponse {
133
+ point: MsgpackBn254G1Point;
134
+ }
135
+ export interface Bn254G1Point {
136
+ x: Fq;
137
+ y: Fq;
138
+ }
139
+ interface MsgpackBn254G1Point {
140
+ x: Uint8Array;
141
+ y: Uint8Array;
142
+ }
143
+ export interface Bn254G2Mul {
144
+ point: Bn254G2Point;
145
+ scalar: Fr;
146
+ }
147
+ interface MsgpackBn254G2Mul {
148
+ point: MsgpackBn254G2Point;
149
+ scalar: Uint8Array;
150
+ }
151
+ export interface Bn254G2MulResponse {
152
+ point: Bn254G2Point;
153
+ }
154
+ interface MsgpackBn254G2MulResponse {
155
+ point: MsgpackBn254G2Point;
156
+ }
157
+ export interface Bn254G2Point {
158
+ x: Field2;
159
+ y: Field2;
160
+ }
161
+ interface MsgpackBn254G2Point {
162
+ x: [Uint8Array, Uint8Array];
163
+ y: [Uint8Array, Uint8Array];
164
+ }
165
+ export interface ChonkAccumulate {
166
+ witness: Uint8Array;
167
+ }
168
+ interface MsgpackChonkAccumulate {
169
+ witness: Uint8Array;
170
+ }
171
+ export interface ChonkAccumulateResponse {
172
+ }
173
+ interface MsgpackChonkAccumulateResponse {
174
+ }
175
+ export interface ChonkCheckPrecomputedVk {
176
+ circuit: CircuitInput;
177
+ }
178
+ interface MsgpackChonkCheckPrecomputedVk {
179
+ circuit: MsgpackCircuitInput;
180
+ }
181
+ export interface ChonkCheckPrecomputedVkResponse {
182
+ valid: boolean;
183
+ actualVk: Uint8Array;
184
+ }
185
+ interface MsgpackChonkCheckPrecomputedVkResponse {
186
+ valid: boolean;
187
+ actual_vk: Uint8Array;
188
+ }
189
+ export interface ChonkComputeIvcVk {
190
+ circuit: CircuitInputNoVK;
191
+ }
192
+ interface MsgpackChonkComputeIvcVk {
193
+ circuit: MsgpackCircuitInputNoVK;
194
+ }
195
+ export interface ChonkComputeIvcVkResponse {
196
+ bytes: Uint8Array;
197
+ }
198
+ interface MsgpackChonkComputeIvcVkResponse {
199
+ bytes: Uint8Array;
200
+ }
201
+ export interface ChonkComputeStandaloneVk {
202
+ circuit: CircuitInputNoVK;
203
+ }
204
+ interface MsgpackChonkComputeStandaloneVk {
205
+ circuit: MsgpackCircuitInputNoVK;
206
+ }
207
+ export interface ChonkComputeStandaloneVkResponse {
208
+ bytes: Uint8Array;
209
+ fields: Fr[];
210
+ }
211
+ interface MsgpackChonkComputeStandaloneVkResponse {
212
+ bytes: Uint8Array;
213
+ fields: Uint8Array[];
214
+ }
215
+ export interface ChonkLoad {
216
+ circuit: CircuitInput;
217
+ }
218
+ interface MsgpackChonkLoad {
219
+ circuit: MsgpackCircuitInput;
220
+ }
221
+ export interface ChonkLoadResponse {
222
+ }
223
+ interface MsgpackChonkLoadResponse {
224
+ }
225
+ export interface ChonkProof {
226
+ megaProof: Fr[];
227
+ goblinProof: GoblinProof;
228
+ }
229
+ interface MsgpackChonkProof {
230
+ mega_proof: Uint8Array[];
231
+ goblin_proof: MsgpackGoblinProof;
232
+ }
233
+ export interface ChonkProve {
234
+ }
235
+ interface MsgpackChonkProve {
236
+ }
237
+ export interface ChonkProveResponse {
238
+ proof: ChonkProof;
239
+ }
240
+ interface MsgpackChonkProveResponse {
241
+ proof: MsgpackChonkProof;
242
+ }
243
+ export interface ChonkStart {
244
+ numCircuits: number;
245
+ }
246
+ interface MsgpackChonkStart {
247
+ num_circuits: number;
248
+ }
249
+ export interface ChonkStartResponse {
250
+ }
251
+ interface MsgpackChonkStartResponse {
252
+ }
253
+ export interface ChonkStats {
254
+ circuit: CircuitInputNoVK;
255
+ includeGatesPerOpcode: boolean;
256
+ }
257
+ interface MsgpackChonkStats {
258
+ circuit: MsgpackCircuitInputNoVK;
259
+ include_gates_per_opcode: boolean;
260
+ }
261
+ export interface ChonkStatsResponse {
262
+ acirOpcodes: number;
263
+ circuitSize: number;
264
+ gatesPerOpcode: number[];
265
+ }
266
+ interface MsgpackChonkStatsResponse {
267
+ acir_opcodes: number;
268
+ circuit_size: number;
269
+ gates_per_opcode: number[];
270
+ }
271
+ export interface ChonkVerify {
272
+ proof: ChonkProof;
273
+ vk: Uint8Array;
274
+ }
275
+ interface MsgpackChonkVerify {
276
+ proof: MsgpackChonkProof;
277
+ vk: Uint8Array;
278
+ }
279
+ export interface ChonkVerifyResponse {
280
+ valid: boolean;
281
+ }
282
+ interface MsgpackChonkVerifyResponse {
283
+ valid: boolean;
284
+ }
3
285
  export interface CircuitComputeVk {
4
286
  circuit: CircuitInputNoVK;
5
287
  settings: ProofSystemSettings;
@@ -110,168 +392,768 @@ export interface CircuitWriteSolidityVerifierResponse {
110
392
  interface MsgpackCircuitWriteSolidityVerifierResponse {
111
393
  solidity_code: string;
112
394
  }
113
- export interface ClientIvcAccumulate {
395
+ export interface ECCVMProof {
396
+ preIpaProof: Fr[];
397
+ ipaProof: Fr[];
398
+ }
399
+ interface MsgpackECCVMProof {
400
+ pre_ipa_proof: Uint8Array[];
401
+ ipa_proof: Uint8Array[];
402
+ }
403
+ export interface EcdsaSecp256k1ComputePublicKey {
404
+ privateKey: Secp256k1Fr;
405
+ }
406
+ interface MsgpackEcdsaSecp256k1ComputePublicKey {
407
+ private_key: Uint8Array;
408
+ }
409
+ export interface EcdsaSecp256k1ComputePublicKeyResponse {
410
+ publicKey: Secp256k1Point;
411
+ }
412
+ interface MsgpackEcdsaSecp256k1ComputePublicKeyResponse {
413
+ public_key: MsgpackSecp256k1Point;
414
+ }
415
+ export interface EcdsaSecp256k1ConstructSignature {
416
+ message: Uint8Array;
417
+ privateKey: Secp256k1Fr;
418
+ }
419
+ interface MsgpackEcdsaSecp256k1ConstructSignature {
420
+ message: Uint8Array;
421
+ private_key: Uint8Array;
422
+ }
423
+ export interface EcdsaSecp256k1ConstructSignatureResponse {
424
+ r: Uint8Array;
425
+ s: Uint8Array;
426
+ v: number;
427
+ }
428
+ interface MsgpackEcdsaSecp256k1ConstructSignatureResponse {
429
+ r: Uint8Array;
430
+ s: Uint8Array;
431
+ v: number;
432
+ }
433
+ export interface EcdsaSecp256k1RecoverPublicKey {
434
+ message: Uint8Array;
435
+ r: Uint8Array;
436
+ s: Uint8Array;
437
+ v: number;
438
+ }
439
+ interface MsgpackEcdsaSecp256k1RecoverPublicKey {
440
+ message: Uint8Array;
441
+ r: Uint8Array;
442
+ s: Uint8Array;
443
+ v: number;
444
+ }
445
+ export interface EcdsaSecp256k1RecoverPublicKeyResponse {
446
+ publicKey: Secp256k1Point;
447
+ }
448
+ interface MsgpackEcdsaSecp256k1RecoverPublicKeyResponse {
449
+ public_key: MsgpackSecp256k1Point;
450
+ }
451
+ export interface EcdsaSecp256k1VerifySignature {
452
+ message: Uint8Array;
453
+ publicKey: Secp256k1Point;
454
+ r: Uint8Array;
455
+ s: Uint8Array;
456
+ v: number;
457
+ }
458
+ interface MsgpackEcdsaSecp256k1VerifySignature {
459
+ message: Uint8Array;
460
+ public_key: MsgpackSecp256k1Point;
461
+ r: Uint8Array;
462
+ s: Uint8Array;
463
+ v: number;
464
+ }
465
+ export interface EcdsaSecp256k1VerifySignatureResponse {
466
+ verified: boolean;
467
+ }
468
+ interface MsgpackEcdsaSecp256k1VerifySignatureResponse {
469
+ verified: boolean;
470
+ }
471
+ export interface EcdsaSecp256r1ComputePublicKey {
472
+ privateKey: Secp256r1Fr;
473
+ }
474
+ interface MsgpackEcdsaSecp256r1ComputePublicKey {
475
+ private_key: Uint8Array;
476
+ }
477
+ export interface EcdsaSecp256r1ComputePublicKeyResponse {
478
+ publicKey: Secp256r1Point;
479
+ }
480
+ interface MsgpackEcdsaSecp256r1ComputePublicKeyResponse {
481
+ public_key: MsgpackSecp256r1Point;
482
+ }
483
+ export interface EcdsaSecp256r1ConstructSignature {
484
+ message: Uint8Array;
485
+ privateKey: Secp256r1Fr;
486
+ }
487
+ interface MsgpackEcdsaSecp256r1ConstructSignature {
488
+ message: Uint8Array;
489
+ private_key: Uint8Array;
490
+ }
491
+ export interface EcdsaSecp256r1ConstructSignatureResponse {
492
+ r: Uint8Array;
493
+ s: Uint8Array;
494
+ v: number;
495
+ }
496
+ interface MsgpackEcdsaSecp256r1ConstructSignatureResponse {
497
+ r: Uint8Array;
498
+ s: Uint8Array;
499
+ v: number;
500
+ }
501
+ export interface EcdsaSecp256r1RecoverPublicKey {
502
+ message: Uint8Array;
503
+ r: Uint8Array;
504
+ s: Uint8Array;
505
+ v: number;
506
+ }
507
+ interface MsgpackEcdsaSecp256r1RecoverPublicKey {
508
+ message: Uint8Array;
509
+ r: Uint8Array;
510
+ s: Uint8Array;
511
+ v: number;
512
+ }
513
+ export interface EcdsaSecp256r1RecoverPublicKeyResponse {
514
+ publicKey: Secp256r1Point;
515
+ }
516
+ interface MsgpackEcdsaSecp256r1RecoverPublicKeyResponse {
517
+ public_key: MsgpackSecp256r1Point;
518
+ }
519
+ export interface EcdsaSecp256r1VerifySignature {
520
+ message: Uint8Array;
521
+ publicKey: Secp256r1Point;
522
+ r: Uint8Array;
523
+ s: Uint8Array;
524
+ v: number;
525
+ }
526
+ interface MsgpackEcdsaSecp256r1VerifySignature {
527
+ message: Uint8Array;
528
+ public_key: MsgpackSecp256r1Point;
529
+ r: Uint8Array;
530
+ s: Uint8Array;
531
+ v: number;
532
+ }
533
+ export interface EcdsaSecp256r1VerifySignatureResponse {
534
+ verified: boolean;
535
+ }
536
+ interface MsgpackEcdsaSecp256r1VerifySignatureResponse {
537
+ verified: boolean;
538
+ }
539
+ export interface ErrorResponse {
540
+ message: string;
541
+ }
542
+ interface MsgpackErrorResponse {
543
+ message: string;
544
+ }
545
+ export interface GoblinProof {
546
+ mergeProof: Fr[];
547
+ eccvmProof: ECCVMProof;
548
+ translatorProof: Fr[];
549
+ }
550
+ interface MsgpackGoblinProof {
551
+ merge_proof: Uint8Array[];
552
+ eccvm_proof: MsgpackECCVMProof;
553
+ translator_proof: Uint8Array[];
554
+ }
555
+ export interface GrumpkinAdd {
556
+ pointA: GrumpkinPoint;
557
+ pointB: GrumpkinPoint;
558
+ }
559
+ interface MsgpackGrumpkinAdd {
560
+ point_a: MsgpackGrumpkinPoint;
561
+ point_b: MsgpackGrumpkinPoint;
562
+ }
563
+ export interface GrumpkinAddResponse {
564
+ point: GrumpkinPoint;
565
+ }
566
+ interface MsgpackGrumpkinAddResponse {
567
+ point: MsgpackGrumpkinPoint;
568
+ }
569
+ export interface GrumpkinBatchMul {
570
+ points: GrumpkinPoint[];
571
+ scalar: Fq;
572
+ }
573
+ interface MsgpackGrumpkinBatchMul {
574
+ points: MsgpackGrumpkinPoint[];
575
+ scalar: Uint8Array;
576
+ }
577
+ export interface GrumpkinBatchMulResponse {
578
+ points: GrumpkinPoint[];
579
+ }
580
+ interface MsgpackGrumpkinBatchMulResponse {
581
+ points: MsgpackGrumpkinPoint[];
582
+ }
583
+ export interface GrumpkinGetRandomFr {
584
+ dummy: number;
585
+ }
586
+ interface MsgpackGrumpkinGetRandomFr {
587
+ dummy: number;
588
+ }
589
+ export interface GrumpkinGetRandomFrResponse {
590
+ value: Fr;
591
+ }
592
+ interface MsgpackGrumpkinGetRandomFrResponse {
593
+ value: Uint8Array;
594
+ }
595
+ export interface GrumpkinMul {
596
+ point: GrumpkinPoint;
597
+ scalar: Fq;
598
+ }
599
+ interface MsgpackGrumpkinMul {
600
+ point: MsgpackGrumpkinPoint;
601
+ scalar: Uint8Array;
602
+ }
603
+ export interface GrumpkinMulResponse {
604
+ point: GrumpkinPoint;
605
+ }
606
+ interface MsgpackGrumpkinMulResponse {
607
+ point: MsgpackGrumpkinPoint;
608
+ }
609
+ export interface GrumpkinPoint {
610
+ x: Fr;
611
+ y: Fr;
612
+ }
613
+ interface MsgpackGrumpkinPoint {
614
+ x: Uint8Array;
615
+ y: Uint8Array;
616
+ }
617
+ export interface GrumpkinReduce512 {
618
+ input: Uint8Array;
619
+ }
620
+ interface MsgpackGrumpkinReduce512 {
621
+ input: Uint8Array;
622
+ }
623
+ export interface GrumpkinReduce512Response {
624
+ value: Fr;
625
+ }
626
+ interface MsgpackGrumpkinReduce512Response {
627
+ value: Uint8Array;
628
+ }
629
+ export interface MegaVkAsFields {
630
+ verificationKey: Uint8Array;
631
+ }
632
+ interface MsgpackMegaVkAsFields {
633
+ verification_key: Uint8Array;
634
+ }
635
+ export interface MegaVkAsFieldsResponse {
636
+ fields: Fr[];
637
+ }
638
+ interface MsgpackMegaVkAsFieldsResponse {
639
+ fields: Uint8Array[];
640
+ }
641
+ export interface PedersenCommit {
642
+ inputs: Fr[];
643
+ hashIndex: number;
644
+ }
645
+ interface MsgpackPedersenCommit {
646
+ inputs: Uint8Array[];
647
+ hash_index: number;
648
+ }
649
+ export interface PedersenCommitResponse {
650
+ point: GrumpkinPoint;
651
+ }
652
+ interface MsgpackPedersenCommitResponse {
653
+ point: MsgpackGrumpkinPoint;
654
+ }
655
+ export interface PedersenHash {
656
+ inputs: Fr[];
657
+ hashIndex: number;
658
+ }
659
+ interface MsgpackPedersenHash {
660
+ inputs: Uint8Array[];
661
+ hash_index: number;
662
+ }
663
+ export interface PedersenHashBuffer {
664
+ input: Uint8Array;
665
+ hashIndex: number;
666
+ }
667
+ interface MsgpackPedersenHashBuffer {
668
+ input: Uint8Array;
669
+ hash_index: number;
670
+ }
671
+ export interface PedersenHashBufferResponse {
672
+ hash: Fr;
673
+ }
674
+ interface MsgpackPedersenHashBufferResponse {
675
+ hash: Uint8Array;
676
+ }
677
+ export interface PedersenHashResponse {
678
+ hash: Fr;
679
+ }
680
+ interface MsgpackPedersenHashResponse {
681
+ hash: Uint8Array;
682
+ }
683
+ export interface Poseidon2Hash {
684
+ inputs: Fr[];
685
+ }
686
+ interface MsgpackPoseidon2Hash {
687
+ inputs: Uint8Array[];
688
+ }
689
+ export interface Poseidon2HashAccumulate {
690
+ inputs: Fr[];
691
+ }
692
+ interface MsgpackPoseidon2HashAccumulate {
693
+ inputs: Uint8Array[];
694
+ }
695
+ export interface Poseidon2HashAccumulateResponse {
696
+ hash: Fr;
697
+ }
698
+ interface MsgpackPoseidon2HashAccumulateResponse {
699
+ hash: Uint8Array;
700
+ }
701
+ export interface Poseidon2HashResponse {
702
+ hash: Fr;
703
+ }
704
+ interface MsgpackPoseidon2HashResponse {
705
+ hash: Uint8Array;
706
+ }
707
+ export interface Poseidon2Permutation {
708
+ inputs: Fr[];
709
+ }
710
+ interface MsgpackPoseidon2Permutation {
711
+ inputs: Uint8Array[];
712
+ }
713
+ export interface Poseidon2PermutationResponse {
714
+ outputs: Fr[];
715
+ }
716
+ interface MsgpackPoseidon2PermutationResponse {
717
+ outputs: Uint8Array[];
718
+ }
719
+ export interface ProofSystemSettings {
720
+ ipaAccumulation: boolean;
721
+ oracleHashType: string;
722
+ disableZk: boolean;
723
+ optimizedSolidityVerifier: boolean;
724
+ }
725
+ interface MsgpackProofSystemSettings {
726
+ ipa_accumulation: boolean;
727
+ oracle_hash_type: string;
728
+ disable_zk: boolean;
729
+ optimized_solidity_verifier: boolean;
730
+ }
731
+ export interface SchnorrComputePublicKey {
732
+ privateKey: Fq;
733
+ }
734
+ interface MsgpackSchnorrComputePublicKey {
735
+ private_key: Uint8Array;
736
+ }
737
+ export interface SchnorrComputePublicKeyResponse {
738
+ publicKey: GrumpkinPoint;
739
+ }
740
+ interface MsgpackSchnorrComputePublicKeyResponse {
741
+ public_key: MsgpackGrumpkinPoint;
742
+ }
743
+ export interface SchnorrConstructSignature {
744
+ message: Uint8Array;
745
+ privateKey: Fq;
746
+ }
747
+ interface MsgpackSchnorrConstructSignature {
748
+ message: Uint8Array;
749
+ private_key: Uint8Array;
750
+ }
751
+ export interface SchnorrConstructSignatureResponse {
752
+ s: Uint8Array;
753
+ e: Uint8Array;
754
+ }
755
+ interface MsgpackSchnorrConstructSignatureResponse {
756
+ s: Uint8Array;
757
+ e: Uint8Array;
758
+ }
759
+ export interface SchnorrVerifySignature {
760
+ message: Uint8Array;
761
+ publicKey: GrumpkinPoint;
762
+ s: Uint8Array;
763
+ e: Uint8Array;
764
+ }
765
+ interface MsgpackSchnorrVerifySignature {
766
+ message: Uint8Array;
767
+ public_key: MsgpackGrumpkinPoint;
768
+ s: Uint8Array;
769
+ e: Uint8Array;
770
+ }
771
+ export interface SchnorrVerifySignatureResponse {
772
+ verified: boolean;
773
+ }
774
+ interface MsgpackSchnorrVerifySignatureResponse {
775
+ verified: boolean;
776
+ }
777
+ export interface Secp256k1GetRandomFr {
778
+ dummy: number;
779
+ }
780
+ interface MsgpackSecp256k1GetRandomFr {
781
+ dummy: number;
782
+ }
783
+ export interface Secp256k1GetRandomFrResponse {
784
+ value: Secp256k1Fr;
785
+ }
786
+ interface MsgpackSecp256k1GetRandomFrResponse {
787
+ value: Uint8Array;
788
+ }
789
+ export interface Secp256k1Mul {
790
+ point: Secp256k1Point;
791
+ scalar: Secp256k1Fr;
792
+ }
793
+ interface MsgpackSecp256k1Mul {
794
+ point: MsgpackSecp256k1Point;
795
+ scalar: Uint8Array;
796
+ }
797
+ export interface Secp256k1MulResponse {
798
+ point: Secp256k1Point;
799
+ }
800
+ interface MsgpackSecp256k1MulResponse {
801
+ point: MsgpackSecp256k1Point;
802
+ }
803
+ export interface Secp256k1Point {
804
+ x: Secp256k1Fq;
805
+ y: Secp256k1Fq;
806
+ }
807
+ interface MsgpackSecp256k1Point {
808
+ x: Uint8Array;
809
+ y: Uint8Array;
810
+ }
811
+ export interface Secp256k1Reduce512 {
812
+ input: Uint8Array;
813
+ }
814
+ interface MsgpackSecp256k1Reduce512 {
815
+ input: Uint8Array;
816
+ }
817
+ export interface Secp256k1Reduce512Response {
818
+ value: Secp256k1Fr;
819
+ }
820
+ interface MsgpackSecp256k1Reduce512Response {
821
+ value: Uint8Array;
822
+ }
823
+ export interface Secp256r1Point {
824
+ x: Secp256r1Fq;
825
+ y: Secp256r1Fq;
826
+ }
827
+ interface MsgpackSecp256r1Point {
828
+ x: Uint8Array;
829
+ y: Uint8Array;
830
+ }
831
+ export interface Shutdown {
832
+ }
833
+ interface MsgpackShutdown {
834
+ }
835
+ export interface ShutdownResponse {
836
+ }
837
+ interface MsgpackShutdownResponse {
838
+ }
839
+ export interface SrsInitGrumpkinSrs {
840
+ pointsBuf: Uint8Array;
841
+ numPoints: number;
842
+ }
843
+ interface MsgpackSrsInitGrumpkinSrs {
844
+ points_buf: Uint8Array;
845
+ num_points: number;
846
+ }
847
+ export interface SrsInitGrumpkinSrsResponse {
848
+ dummy: number;
849
+ }
850
+ interface MsgpackSrsInitGrumpkinSrsResponse {
851
+ dummy: number;
852
+ }
853
+ export interface SrsInitSrs {
854
+ pointsBuf: Uint8Array;
855
+ numPoints: number;
856
+ g2Point: Uint8Array;
857
+ }
858
+ interface MsgpackSrsInitSrs {
859
+ points_buf: Uint8Array;
860
+ num_points: number;
861
+ g2_point: Uint8Array;
862
+ }
863
+ export interface SrsInitSrsResponse {
864
+ dummy: number;
865
+ }
866
+ interface MsgpackSrsInitSrsResponse {
867
+ dummy: number;
868
+ }
869
+ export interface VkAsFields {
870
+ verificationKey: Uint8Array;
871
+ }
872
+ interface MsgpackVkAsFields {
873
+ verification_key: Uint8Array;
874
+ }
875
+ export interface VkAsFieldsResponse {
876
+ fields: Fr[];
877
+ }
878
+ interface MsgpackVkAsFieldsResponse {
879
+ fields: Uint8Array[];
880
+ }
881
+ export interface AesDecrypt {
882
+ ciphertext: Uint8Array;
883
+ iv: Uint8Array;
884
+ key: Uint8Array;
885
+ length: number;
886
+ }
887
+ interface MsgpackAesDecrypt {
888
+ ciphertext: Uint8Array;
889
+ iv: Uint8Array;
890
+ key: Uint8Array;
891
+ length: number;
892
+ }
893
+ export interface AesDecryptResponse {
894
+ plaintext: Uint8Array;
895
+ }
896
+ interface MsgpackAesDecryptResponse {
897
+ plaintext: Uint8Array;
898
+ }
899
+ export interface AesEncrypt {
900
+ plaintext: Uint8Array;
901
+ iv: Uint8Array;
902
+ key: Uint8Array;
903
+ length: number;
904
+ }
905
+ interface MsgpackAesEncrypt {
906
+ plaintext: Uint8Array;
907
+ iv: Uint8Array;
908
+ key: Uint8Array;
909
+ length: number;
910
+ }
911
+ export interface AesEncryptResponse {
912
+ ciphertext: Uint8Array;
913
+ }
914
+ interface MsgpackAesEncryptResponse {
915
+ ciphertext: Uint8Array;
916
+ }
917
+ export interface Blake2s {
918
+ data: Uint8Array;
919
+ }
920
+ interface MsgpackBlake2s {
921
+ data: Uint8Array;
922
+ }
923
+ export interface Blake2sResponse {
924
+ hash: Uint8Array;
925
+ }
926
+ interface MsgpackBlake2sResponse {
927
+ hash: Uint8Array;
928
+ }
929
+ export interface Blake2sToField {
930
+ data: Uint8Array;
931
+ }
932
+ interface MsgpackBlake2sToField {
933
+ data: Uint8Array;
934
+ }
935
+ export interface Blake2sToFieldResponse {
936
+ field: Fr;
937
+ }
938
+ interface MsgpackBlake2sToFieldResponse {
939
+ field: Uint8Array;
940
+ }
941
+ export interface Bn254FqSqrt {
942
+ input: Fq;
943
+ }
944
+ interface MsgpackBn254FqSqrt {
945
+ input: Uint8Array;
946
+ }
947
+ export interface Bn254FqSqrtResponse {
948
+ isSquareRoot: boolean;
949
+ value: Fq;
950
+ }
951
+ interface MsgpackBn254FqSqrtResponse {
952
+ is_square_root: boolean;
953
+ value: Uint8Array;
954
+ }
955
+ export interface Bn254FrSqrt {
956
+ input: Fr;
957
+ }
958
+ interface MsgpackBn254FrSqrt {
959
+ input: Uint8Array;
960
+ }
961
+ export interface Bn254FrSqrtResponse {
962
+ isSquareRoot: boolean;
963
+ value: Fr;
964
+ }
965
+ interface MsgpackBn254FrSqrtResponse {
966
+ is_square_root: boolean;
967
+ value: Uint8Array;
968
+ }
969
+ export interface Bn254G1FromCompressed {
970
+ compressed: Uint8Array;
971
+ }
972
+ interface MsgpackBn254G1FromCompressed {
973
+ compressed: Uint8Array;
974
+ }
975
+ export interface Bn254G1FromCompressedResponse {
976
+ point: Bn254G1Point;
977
+ }
978
+ interface MsgpackBn254G1FromCompressedResponse {
979
+ point: MsgpackBn254G1Point;
980
+ }
981
+ export interface Bn254G1IsOnCurve {
982
+ point: Bn254G1Point;
983
+ }
984
+ interface MsgpackBn254G1IsOnCurve {
985
+ point: MsgpackBn254G1Point;
986
+ }
987
+ export interface Bn254G1IsOnCurveResponse {
988
+ isOnCurve: boolean;
989
+ }
990
+ interface MsgpackBn254G1IsOnCurveResponse {
991
+ is_on_curve: boolean;
992
+ }
993
+ export interface Bn254G1Mul {
994
+ point: Bn254G1Point;
995
+ scalar: Fr;
996
+ }
997
+ interface MsgpackBn254G1Mul {
998
+ point: MsgpackBn254G1Point;
999
+ scalar: Uint8Array;
1000
+ }
1001
+ export interface Bn254G1MulResponse {
1002
+ point: Bn254G1Point;
1003
+ }
1004
+ interface MsgpackBn254G1MulResponse {
1005
+ point: MsgpackBn254G1Point;
1006
+ }
1007
+ export interface Bn254G1Point {
1008
+ x: Fq;
1009
+ y: Fq;
1010
+ }
1011
+ interface MsgpackBn254G1Point {
1012
+ x: Uint8Array;
1013
+ y: Uint8Array;
1014
+ }
1015
+ export interface Bn254G2Mul {
1016
+ point: Bn254G2Point;
1017
+ scalar: Fr;
1018
+ }
1019
+ interface MsgpackBn254G2Mul {
1020
+ point: MsgpackBn254G2Point;
1021
+ scalar: Uint8Array;
1022
+ }
1023
+ export interface Bn254G2MulResponse {
1024
+ point: Bn254G2Point;
1025
+ }
1026
+ interface MsgpackBn254G2MulResponse {
1027
+ point: MsgpackBn254G2Point;
1028
+ }
1029
+ export interface Bn254G2Point {
1030
+ x: Field2;
1031
+ y: Field2;
1032
+ }
1033
+ interface MsgpackBn254G2Point {
1034
+ x: [Uint8Array, Uint8Array];
1035
+ y: [Uint8Array, Uint8Array];
1036
+ }
1037
+ export interface ChonkAccumulate {
114
1038
  witness: Uint8Array;
115
1039
  }
116
- interface MsgpackClientIvcAccumulate {
1040
+ interface MsgpackChonkAccumulate {
117
1041
  witness: Uint8Array;
118
1042
  }
119
- export interface ClientIvcAccumulateResponse {
1043
+ export interface ChonkAccumulateResponse {
120
1044
  }
121
- interface MsgpackClientIvcAccumulateResponse {
1045
+ interface MsgpackChonkAccumulateResponse {
122
1046
  }
123
- export interface ClientIvcCheckPrecomputedVk {
1047
+ export interface ChonkCheckPrecomputedVk {
124
1048
  circuit: CircuitInput;
125
1049
  }
126
- interface MsgpackClientIvcCheckPrecomputedVk {
1050
+ interface MsgpackChonkCheckPrecomputedVk {
127
1051
  circuit: MsgpackCircuitInput;
128
1052
  }
129
- export interface ClientIvcCheckPrecomputedVkResponse {
1053
+ export interface ChonkCheckPrecomputedVkResponse {
130
1054
  valid: boolean;
131
1055
  actualVk: Uint8Array;
132
1056
  }
133
- interface MsgpackClientIvcCheckPrecomputedVkResponse {
1057
+ interface MsgpackChonkCheckPrecomputedVkResponse {
134
1058
  valid: boolean;
135
1059
  actual_vk: Uint8Array;
136
1060
  }
137
- export interface ClientIvcComputeIvcVk {
1061
+ export interface ChonkComputeIvcVk {
138
1062
  circuit: CircuitInputNoVK;
139
1063
  }
140
- interface MsgpackClientIvcComputeIvcVk {
1064
+ interface MsgpackChonkComputeIvcVk {
141
1065
  circuit: MsgpackCircuitInputNoVK;
142
1066
  }
143
- export interface ClientIvcComputeIvcVkResponse {
1067
+ export interface ChonkComputeIvcVkResponse {
144
1068
  bytes: Uint8Array;
145
1069
  }
146
- interface MsgpackClientIvcComputeIvcVkResponse {
1070
+ interface MsgpackChonkComputeIvcVkResponse {
147
1071
  bytes: Uint8Array;
148
1072
  }
149
- export interface ClientIvcComputeStandaloneVk {
1073
+ export interface ChonkComputeStandaloneVk {
150
1074
  circuit: CircuitInputNoVK;
151
1075
  }
152
- interface MsgpackClientIvcComputeStandaloneVk {
1076
+ interface MsgpackChonkComputeStandaloneVk {
153
1077
  circuit: MsgpackCircuitInputNoVK;
154
1078
  }
155
- export interface ClientIvcComputeStandaloneVkResponse {
1079
+ export interface ChonkComputeStandaloneVkResponse {
156
1080
  bytes: Uint8Array;
157
1081
  fields: Fr[];
158
1082
  }
159
- interface MsgpackClientIvcComputeStandaloneVkResponse {
1083
+ interface MsgpackChonkComputeStandaloneVkResponse {
160
1084
  bytes: Uint8Array;
161
1085
  fields: Uint8Array[];
162
1086
  }
163
- export interface ClientIvcLoad {
1087
+ export interface ChonkLoad {
164
1088
  circuit: CircuitInput;
165
1089
  }
166
- interface MsgpackClientIvcLoad {
1090
+ interface MsgpackChonkLoad {
167
1091
  circuit: MsgpackCircuitInput;
168
1092
  }
169
- export interface ClientIvcLoadResponse {
1093
+ export interface ChonkLoadResponse {
170
1094
  }
171
- interface MsgpackClientIvcLoadResponse {
1095
+ interface MsgpackChonkLoadResponse {
172
1096
  }
173
- export interface ClientIVCProof {
1097
+ export interface ChonkProof {
174
1098
  megaProof: Fr[];
175
1099
  goblinProof: GoblinProof;
176
1100
  }
177
- interface MsgpackClientIVCProof {
1101
+ interface MsgpackChonkProof {
178
1102
  mega_proof: Uint8Array[];
179
1103
  goblin_proof: MsgpackGoblinProof;
180
1104
  }
181
- export interface ClientIvcProve {
1105
+ export interface ChonkProve {
182
1106
  }
183
- interface MsgpackClientIvcProve {
1107
+ interface MsgpackChonkProve {
184
1108
  }
185
- export interface ClientIvcProveResponse {
186
- proof: ClientIVCProof;
1109
+ export interface ChonkProveResponse {
1110
+ proof: ChonkProof;
187
1111
  }
188
- interface MsgpackClientIvcProveResponse {
189
- proof: MsgpackClientIVCProof;
1112
+ interface MsgpackChonkProveResponse {
1113
+ proof: MsgpackChonkProof;
190
1114
  }
191
- export interface ClientIvcStart {
1115
+ export interface ChonkStart {
192
1116
  numCircuits: number;
193
1117
  }
194
- interface MsgpackClientIvcStart {
1118
+ interface MsgpackChonkStart {
195
1119
  num_circuits: number;
196
1120
  }
197
- export interface ClientIvcStartResponse {
1121
+ export interface ChonkStartResponse {
198
1122
  }
199
- interface MsgpackClientIvcStartResponse {
1123
+ interface MsgpackChonkStartResponse {
200
1124
  }
201
- export interface ClientIvcStats {
1125
+ export interface ChonkStats {
202
1126
  circuit: CircuitInputNoVK;
203
1127
  includeGatesPerOpcode: boolean;
204
1128
  }
205
- interface MsgpackClientIvcStats {
1129
+ interface MsgpackChonkStats {
206
1130
  circuit: MsgpackCircuitInputNoVK;
207
1131
  include_gates_per_opcode: boolean;
208
1132
  }
209
- export interface ClientIvcStatsResponse {
1133
+ export interface ChonkStatsResponse {
210
1134
  acirOpcodes: number;
211
1135
  circuitSize: number;
212
1136
  gatesPerOpcode: number[];
213
1137
  }
214
- interface MsgpackClientIvcStatsResponse {
1138
+ interface MsgpackChonkStatsResponse {
215
1139
  acir_opcodes: number;
216
1140
  circuit_size: number;
217
1141
  gates_per_opcode: number[];
218
1142
  }
219
- export interface ClientIvcVerify {
220
- proof: ClientIVCProof;
1143
+ export interface ChonkVerify {
1144
+ proof: ChonkProof;
221
1145
  vk: Uint8Array;
222
1146
  }
223
- interface MsgpackClientIvcVerify {
224
- proof: MsgpackClientIVCProof;
1147
+ interface MsgpackChonkVerify {
1148
+ proof: MsgpackChonkProof;
225
1149
  vk: Uint8Array;
226
1150
  }
227
- export interface ClientIvcVerifyResponse {
1151
+ export interface ChonkVerifyResponse {
228
1152
  valid: boolean;
229
1153
  }
230
- interface MsgpackClientIvcVerifyResponse {
1154
+ interface MsgpackChonkVerifyResponse {
231
1155
  valid: boolean;
232
1156
  }
233
- export interface ECCVMProof {
234
- preIpaProof: Fr[];
235
- ipaProof: Fr[];
236
- }
237
- interface MsgpackECCVMProof {
238
- pre_ipa_proof: Uint8Array[];
239
- ipa_proof: Uint8Array[];
240
- }
241
- export interface GoblinProof {
242
- mergeProof: Fr[];
243
- eccvmProof: ECCVMProof;
244
- translatorProof: Fr[];
245
- }
246
- interface MsgpackGoblinProof {
247
- merge_proof: Uint8Array[];
248
- eccvm_proof: MsgpackECCVMProof;
249
- translator_proof: Uint8Array[];
250
- }
251
- export interface ProofSystemSettings {
252
- ipaAccumulation: boolean;
253
- oracleHashType: string;
254
- disableZk: boolean;
255
- optimizedSolidityVerifier: boolean;
256
- }
257
- interface MsgpackProofSystemSettings {
258
- ipa_accumulation: boolean;
259
- oracle_hash_type: string;
260
- disable_zk: boolean;
261
- optimized_solidity_verifier: boolean;
262
- }
263
- export interface VkAsFields {
264
- verificationKey: Uint8Array;
265
- }
266
- interface MsgpackVkAsFields {
267
- verification_key: Uint8Array;
268
- }
269
- export interface VkAsFieldsResponse {
270
- fields: Fr[];
271
- }
272
- interface MsgpackVkAsFieldsResponse {
273
- fields: Uint8Array[];
274
- }
275
1157
  export interface CircuitComputeVk {
276
1158
  circuit: CircuitInputNoVK;
277
1159
  settings: ProofSystemSettings;
@@ -382,143 +1264,329 @@ export interface CircuitWriteSolidityVerifierResponse {
382
1264
  interface MsgpackCircuitWriteSolidityVerifierResponse {
383
1265
  solidity_code: string;
384
1266
  }
385
- export interface ClientIvcAccumulate {
386
- witness: Uint8Array;
1267
+ export interface ECCVMProof {
1268
+ preIpaProof: Fr[];
1269
+ ipaProof: Fr[];
387
1270
  }
388
- interface MsgpackClientIvcAccumulate {
389
- witness: Uint8Array;
1271
+ interface MsgpackECCVMProof {
1272
+ pre_ipa_proof: Uint8Array[];
1273
+ ipa_proof: Uint8Array[];
390
1274
  }
391
- export interface ClientIvcAccumulateResponse {
1275
+ export interface EcdsaSecp256k1ComputePublicKey {
1276
+ privateKey: Secp256k1Fr;
1277
+ }
1278
+ interface MsgpackEcdsaSecp256k1ComputePublicKey {
1279
+ private_key: Uint8Array;
1280
+ }
1281
+ export interface EcdsaSecp256k1ComputePublicKeyResponse {
1282
+ publicKey: Secp256k1Point;
1283
+ }
1284
+ interface MsgpackEcdsaSecp256k1ComputePublicKeyResponse {
1285
+ public_key: MsgpackSecp256k1Point;
1286
+ }
1287
+ export interface EcdsaSecp256k1ConstructSignature {
1288
+ message: Uint8Array;
1289
+ privateKey: Secp256k1Fr;
1290
+ }
1291
+ interface MsgpackEcdsaSecp256k1ConstructSignature {
1292
+ message: Uint8Array;
1293
+ private_key: Uint8Array;
1294
+ }
1295
+ export interface EcdsaSecp256k1ConstructSignatureResponse {
1296
+ r: Uint8Array;
1297
+ s: Uint8Array;
1298
+ v: number;
1299
+ }
1300
+ interface MsgpackEcdsaSecp256k1ConstructSignatureResponse {
1301
+ r: Uint8Array;
1302
+ s: Uint8Array;
1303
+ v: number;
1304
+ }
1305
+ export interface EcdsaSecp256k1RecoverPublicKey {
1306
+ message: Uint8Array;
1307
+ r: Uint8Array;
1308
+ s: Uint8Array;
1309
+ v: number;
1310
+ }
1311
+ interface MsgpackEcdsaSecp256k1RecoverPublicKey {
1312
+ message: Uint8Array;
1313
+ r: Uint8Array;
1314
+ s: Uint8Array;
1315
+ v: number;
1316
+ }
1317
+ export interface EcdsaSecp256k1RecoverPublicKeyResponse {
1318
+ publicKey: Secp256k1Point;
1319
+ }
1320
+ interface MsgpackEcdsaSecp256k1RecoverPublicKeyResponse {
1321
+ public_key: MsgpackSecp256k1Point;
1322
+ }
1323
+ export interface EcdsaSecp256k1VerifySignature {
1324
+ message: Uint8Array;
1325
+ publicKey: Secp256k1Point;
1326
+ r: Uint8Array;
1327
+ s: Uint8Array;
1328
+ v: number;
1329
+ }
1330
+ interface MsgpackEcdsaSecp256k1VerifySignature {
1331
+ message: Uint8Array;
1332
+ public_key: MsgpackSecp256k1Point;
1333
+ r: Uint8Array;
1334
+ s: Uint8Array;
1335
+ v: number;
1336
+ }
1337
+ export interface EcdsaSecp256k1VerifySignatureResponse {
1338
+ verified: boolean;
392
1339
  }
393
- interface MsgpackClientIvcAccumulateResponse {
1340
+ interface MsgpackEcdsaSecp256k1VerifySignatureResponse {
1341
+ verified: boolean;
394
1342
  }
395
- export interface ClientIvcCheckPrecomputedVk {
396
- circuit: CircuitInput;
1343
+ export interface EcdsaSecp256r1ComputePublicKey {
1344
+ privateKey: Secp256r1Fr;
1345
+ }
1346
+ interface MsgpackEcdsaSecp256r1ComputePublicKey {
1347
+ private_key: Uint8Array;
1348
+ }
1349
+ export interface EcdsaSecp256r1ComputePublicKeyResponse {
1350
+ publicKey: Secp256r1Point;
1351
+ }
1352
+ interface MsgpackEcdsaSecp256r1ComputePublicKeyResponse {
1353
+ public_key: MsgpackSecp256r1Point;
1354
+ }
1355
+ export interface EcdsaSecp256r1ConstructSignature {
1356
+ message: Uint8Array;
1357
+ privateKey: Secp256r1Fr;
1358
+ }
1359
+ interface MsgpackEcdsaSecp256r1ConstructSignature {
1360
+ message: Uint8Array;
1361
+ private_key: Uint8Array;
1362
+ }
1363
+ export interface EcdsaSecp256r1ConstructSignatureResponse {
1364
+ r: Uint8Array;
1365
+ s: Uint8Array;
1366
+ v: number;
1367
+ }
1368
+ interface MsgpackEcdsaSecp256r1ConstructSignatureResponse {
1369
+ r: Uint8Array;
1370
+ s: Uint8Array;
1371
+ v: number;
1372
+ }
1373
+ export interface EcdsaSecp256r1RecoverPublicKey {
1374
+ message: Uint8Array;
1375
+ r: Uint8Array;
1376
+ s: Uint8Array;
1377
+ v: number;
1378
+ }
1379
+ interface MsgpackEcdsaSecp256r1RecoverPublicKey {
1380
+ message: Uint8Array;
1381
+ r: Uint8Array;
1382
+ s: Uint8Array;
1383
+ v: number;
1384
+ }
1385
+ export interface EcdsaSecp256r1RecoverPublicKeyResponse {
1386
+ publicKey: Secp256r1Point;
1387
+ }
1388
+ interface MsgpackEcdsaSecp256r1RecoverPublicKeyResponse {
1389
+ public_key: MsgpackSecp256r1Point;
1390
+ }
1391
+ export interface EcdsaSecp256r1VerifySignature {
1392
+ message: Uint8Array;
1393
+ publicKey: Secp256r1Point;
1394
+ r: Uint8Array;
1395
+ s: Uint8Array;
1396
+ v: number;
1397
+ }
1398
+ interface MsgpackEcdsaSecp256r1VerifySignature {
1399
+ message: Uint8Array;
1400
+ public_key: MsgpackSecp256r1Point;
1401
+ r: Uint8Array;
1402
+ s: Uint8Array;
1403
+ v: number;
1404
+ }
1405
+ export interface EcdsaSecp256r1VerifySignatureResponse {
1406
+ verified: boolean;
397
1407
  }
398
- interface MsgpackClientIvcCheckPrecomputedVk {
399
- circuit: MsgpackCircuitInput;
1408
+ interface MsgpackEcdsaSecp256r1VerifySignatureResponse {
1409
+ verified: boolean;
400
1410
  }
401
- export interface ClientIvcCheckPrecomputedVkResponse {
402
- valid: boolean;
403
- actualVk: Uint8Array;
1411
+ export interface ErrorResponse {
1412
+ message: string;
404
1413
  }
405
- interface MsgpackClientIvcCheckPrecomputedVkResponse {
406
- valid: boolean;
407
- actual_vk: Uint8Array;
1414
+ interface MsgpackErrorResponse {
1415
+ message: string;
408
1416
  }
409
- export interface ClientIvcComputeIvcVk {
410
- circuit: CircuitInputNoVK;
1417
+ export interface GoblinProof {
1418
+ mergeProof: Fr[];
1419
+ eccvmProof: ECCVMProof;
1420
+ translatorProof: Fr[];
411
1421
  }
412
- interface MsgpackClientIvcComputeIvcVk {
413
- circuit: MsgpackCircuitInputNoVK;
1422
+ interface MsgpackGoblinProof {
1423
+ merge_proof: Uint8Array[];
1424
+ eccvm_proof: MsgpackECCVMProof;
1425
+ translator_proof: Uint8Array[];
414
1426
  }
415
- export interface ClientIvcComputeIvcVkResponse {
416
- bytes: Uint8Array;
1427
+ export interface GrumpkinAdd {
1428
+ pointA: GrumpkinPoint;
1429
+ pointB: GrumpkinPoint;
417
1430
  }
418
- interface MsgpackClientIvcComputeIvcVkResponse {
419
- bytes: Uint8Array;
1431
+ interface MsgpackGrumpkinAdd {
1432
+ point_a: MsgpackGrumpkinPoint;
1433
+ point_b: MsgpackGrumpkinPoint;
420
1434
  }
421
- export interface ClientIvcComputeStandaloneVk {
422
- circuit: CircuitInputNoVK;
1435
+ export interface GrumpkinAddResponse {
1436
+ point: GrumpkinPoint;
423
1437
  }
424
- interface MsgpackClientIvcComputeStandaloneVk {
425
- circuit: MsgpackCircuitInputNoVK;
1438
+ interface MsgpackGrumpkinAddResponse {
1439
+ point: MsgpackGrumpkinPoint;
426
1440
  }
427
- export interface ClientIvcComputeStandaloneVkResponse {
428
- bytes: Uint8Array;
429
- fields: Fr[];
1441
+ export interface GrumpkinBatchMul {
1442
+ points: GrumpkinPoint[];
1443
+ scalar: Fq;
430
1444
  }
431
- interface MsgpackClientIvcComputeStandaloneVkResponse {
432
- bytes: Uint8Array;
433
- fields: Uint8Array[];
1445
+ interface MsgpackGrumpkinBatchMul {
1446
+ points: MsgpackGrumpkinPoint[];
1447
+ scalar: Uint8Array;
434
1448
  }
435
- export interface ClientIvcLoad {
436
- circuit: CircuitInput;
1449
+ export interface GrumpkinBatchMulResponse {
1450
+ points: GrumpkinPoint[];
437
1451
  }
438
- interface MsgpackClientIvcLoad {
439
- circuit: MsgpackCircuitInput;
1452
+ interface MsgpackGrumpkinBatchMulResponse {
1453
+ points: MsgpackGrumpkinPoint[];
440
1454
  }
441
- export interface ClientIvcLoadResponse {
1455
+ export interface GrumpkinGetRandomFr {
1456
+ dummy: number;
442
1457
  }
443
- interface MsgpackClientIvcLoadResponse {
1458
+ interface MsgpackGrumpkinGetRandomFr {
1459
+ dummy: number;
444
1460
  }
445
- export interface ClientIVCProof {
446
- megaProof: Fr[];
447
- goblinProof: GoblinProof;
1461
+ export interface GrumpkinGetRandomFrResponse {
1462
+ value: Fr;
448
1463
  }
449
- interface MsgpackClientIVCProof {
450
- mega_proof: Uint8Array[];
451
- goblin_proof: MsgpackGoblinProof;
1464
+ interface MsgpackGrumpkinGetRandomFrResponse {
1465
+ value: Uint8Array;
452
1466
  }
453
- export interface ClientIvcProve {
1467
+ export interface GrumpkinMul {
1468
+ point: GrumpkinPoint;
1469
+ scalar: Fq;
454
1470
  }
455
- interface MsgpackClientIvcProve {
1471
+ interface MsgpackGrumpkinMul {
1472
+ point: MsgpackGrumpkinPoint;
1473
+ scalar: Uint8Array;
456
1474
  }
457
- export interface ClientIvcProveResponse {
458
- proof: ClientIVCProof;
1475
+ export interface GrumpkinMulResponse {
1476
+ point: GrumpkinPoint;
459
1477
  }
460
- interface MsgpackClientIvcProveResponse {
461
- proof: MsgpackClientIVCProof;
1478
+ interface MsgpackGrumpkinMulResponse {
1479
+ point: MsgpackGrumpkinPoint;
462
1480
  }
463
- export interface ClientIvcStart {
464
- numCircuits: number;
1481
+ export interface GrumpkinPoint {
1482
+ x: Fr;
1483
+ y: Fr;
465
1484
  }
466
- interface MsgpackClientIvcStart {
467
- num_circuits: number;
1485
+ interface MsgpackGrumpkinPoint {
1486
+ x: Uint8Array;
1487
+ y: Uint8Array;
468
1488
  }
469
- export interface ClientIvcStartResponse {
1489
+ export interface GrumpkinReduce512 {
1490
+ input: Uint8Array;
470
1491
  }
471
- interface MsgpackClientIvcStartResponse {
1492
+ interface MsgpackGrumpkinReduce512 {
1493
+ input: Uint8Array;
472
1494
  }
473
- export interface ClientIvcStats {
474
- circuit: CircuitInputNoVK;
475
- includeGatesPerOpcode: boolean;
1495
+ export interface GrumpkinReduce512Response {
1496
+ value: Fr;
476
1497
  }
477
- interface MsgpackClientIvcStats {
478
- circuit: MsgpackCircuitInputNoVK;
479
- include_gates_per_opcode: boolean;
1498
+ interface MsgpackGrumpkinReduce512Response {
1499
+ value: Uint8Array;
480
1500
  }
481
- export interface ClientIvcStatsResponse {
482
- acirOpcodes: number;
483
- circuitSize: number;
484
- gatesPerOpcode: number[];
1501
+ export interface MegaVkAsFields {
1502
+ verificationKey: Uint8Array;
485
1503
  }
486
- interface MsgpackClientIvcStatsResponse {
487
- acir_opcodes: number;
488
- circuit_size: number;
489
- gates_per_opcode: number[];
1504
+ interface MsgpackMegaVkAsFields {
1505
+ verification_key: Uint8Array;
490
1506
  }
491
- export interface ClientIvcVerify {
492
- proof: ClientIVCProof;
493
- vk: Uint8Array;
1507
+ export interface MegaVkAsFieldsResponse {
1508
+ fields: Fr[];
494
1509
  }
495
- interface MsgpackClientIvcVerify {
496
- proof: MsgpackClientIVCProof;
497
- vk: Uint8Array;
1510
+ interface MsgpackMegaVkAsFieldsResponse {
1511
+ fields: Uint8Array[];
498
1512
  }
499
- export interface ClientIvcVerifyResponse {
500
- valid: boolean;
1513
+ export interface PedersenCommit {
1514
+ inputs: Fr[];
1515
+ hashIndex: number;
501
1516
  }
502
- interface MsgpackClientIvcVerifyResponse {
503
- valid: boolean;
1517
+ interface MsgpackPedersenCommit {
1518
+ inputs: Uint8Array[];
1519
+ hash_index: number;
504
1520
  }
505
- export interface ECCVMProof {
506
- preIpaProof: Fr[];
507
- ipaProof: Fr[];
1521
+ export interface PedersenCommitResponse {
1522
+ point: GrumpkinPoint;
508
1523
  }
509
- interface MsgpackECCVMProof {
510
- pre_ipa_proof: Uint8Array[];
511
- ipa_proof: Uint8Array[];
1524
+ interface MsgpackPedersenCommitResponse {
1525
+ point: MsgpackGrumpkinPoint;
512
1526
  }
513
- export interface GoblinProof {
514
- mergeProof: Fr[];
515
- eccvmProof: ECCVMProof;
516
- translatorProof: Fr[];
1527
+ export interface PedersenHash {
1528
+ inputs: Fr[];
1529
+ hashIndex: number;
517
1530
  }
518
- interface MsgpackGoblinProof {
519
- merge_proof: Uint8Array[];
520
- eccvm_proof: MsgpackECCVMProof;
521
- translator_proof: Uint8Array[];
1531
+ interface MsgpackPedersenHash {
1532
+ inputs: Uint8Array[];
1533
+ hash_index: number;
1534
+ }
1535
+ export interface PedersenHashBuffer {
1536
+ input: Uint8Array;
1537
+ hashIndex: number;
1538
+ }
1539
+ interface MsgpackPedersenHashBuffer {
1540
+ input: Uint8Array;
1541
+ hash_index: number;
1542
+ }
1543
+ export interface PedersenHashBufferResponse {
1544
+ hash: Fr;
1545
+ }
1546
+ interface MsgpackPedersenHashBufferResponse {
1547
+ hash: Uint8Array;
1548
+ }
1549
+ export interface PedersenHashResponse {
1550
+ hash: Fr;
1551
+ }
1552
+ interface MsgpackPedersenHashResponse {
1553
+ hash: Uint8Array;
1554
+ }
1555
+ export interface Poseidon2Hash {
1556
+ inputs: Fr[];
1557
+ }
1558
+ interface MsgpackPoseidon2Hash {
1559
+ inputs: Uint8Array[];
1560
+ }
1561
+ export interface Poseidon2HashAccumulate {
1562
+ inputs: Fr[];
1563
+ }
1564
+ interface MsgpackPoseidon2HashAccumulate {
1565
+ inputs: Uint8Array[];
1566
+ }
1567
+ export interface Poseidon2HashAccumulateResponse {
1568
+ hash: Fr;
1569
+ }
1570
+ interface MsgpackPoseidon2HashAccumulateResponse {
1571
+ hash: Uint8Array;
1572
+ }
1573
+ export interface Poseidon2HashResponse {
1574
+ hash: Fr;
1575
+ }
1576
+ interface MsgpackPoseidon2HashResponse {
1577
+ hash: Uint8Array;
1578
+ }
1579
+ export interface Poseidon2Permutation {
1580
+ inputs: Fr[];
1581
+ }
1582
+ interface MsgpackPoseidon2Permutation {
1583
+ inputs: Uint8Array[];
1584
+ }
1585
+ export interface Poseidon2PermutationResponse {
1586
+ outputs: Fr[];
1587
+ }
1588
+ interface MsgpackPoseidon2PermutationResponse {
1589
+ outputs: Uint8Array[];
522
1590
  }
523
1591
  export interface ProofSystemSettings {
524
1592
  ipaAccumulation: boolean;
@@ -532,6 +1600,144 @@ interface MsgpackProofSystemSettings {
532
1600
  disable_zk: boolean;
533
1601
  optimized_solidity_verifier: boolean;
534
1602
  }
1603
+ export interface SchnorrComputePublicKey {
1604
+ privateKey: Fq;
1605
+ }
1606
+ interface MsgpackSchnorrComputePublicKey {
1607
+ private_key: Uint8Array;
1608
+ }
1609
+ export interface SchnorrComputePublicKeyResponse {
1610
+ publicKey: GrumpkinPoint;
1611
+ }
1612
+ interface MsgpackSchnorrComputePublicKeyResponse {
1613
+ public_key: MsgpackGrumpkinPoint;
1614
+ }
1615
+ export interface SchnorrConstructSignature {
1616
+ message: Uint8Array;
1617
+ privateKey: Fq;
1618
+ }
1619
+ interface MsgpackSchnorrConstructSignature {
1620
+ message: Uint8Array;
1621
+ private_key: Uint8Array;
1622
+ }
1623
+ export interface SchnorrConstructSignatureResponse {
1624
+ s: Uint8Array;
1625
+ e: Uint8Array;
1626
+ }
1627
+ interface MsgpackSchnorrConstructSignatureResponse {
1628
+ s: Uint8Array;
1629
+ e: Uint8Array;
1630
+ }
1631
+ export interface SchnorrVerifySignature {
1632
+ message: Uint8Array;
1633
+ publicKey: GrumpkinPoint;
1634
+ s: Uint8Array;
1635
+ e: Uint8Array;
1636
+ }
1637
+ interface MsgpackSchnorrVerifySignature {
1638
+ message: Uint8Array;
1639
+ public_key: MsgpackGrumpkinPoint;
1640
+ s: Uint8Array;
1641
+ e: Uint8Array;
1642
+ }
1643
+ export interface SchnorrVerifySignatureResponse {
1644
+ verified: boolean;
1645
+ }
1646
+ interface MsgpackSchnorrVerifySignatureResponse {
1647
+ verified: boolean;
1648
+ }
1649
+ export interface Secp256k1GetRandomFr {
1650
+ dummy: number;
1651
+ }
1652
+ interface MsgpackSecp256k1GetRandomFr {
1653
+ dummy: number;
1654
+ }
1655
+ export interface Secp256k1GetRandomFrResponse {
1656
+ value: Secp256k1Fr;
1657
+ }
1658
+ interface MsgpackSecp256k1GetRandomFrResponse {
1659
+ value: Uint8Array;
1660
+ }
1661
+ export interface Secp256k1Mul {
1662
+ point: Secp256k1Point;
1663
+ scalar: Secp256k1Fr;
1664
+ }
1665
+ interface MsgpackSecp256k1Mul {
1666
+ point: MsgpackSecp256k1Point;
1667
+ scalar: Uint8Array;
1668
+ }
1669
+ export interface Secp256k1MulResponse {
1670
+ point: Secp256k1Point;
1671
+ }
1672
+ interface MsgpackSecp256k1MulResponse {
1673
+ point: MsgpackSecp256k1Point;
1674
+ }
1675
+ export interface Secp256k1Point {
1676
+ x: Secp256k1Fq;
1677
+ y: Secp256k1Fq;
1678
+ }
1679
+ interface MsgpackSecp256k1Point {
1680
+ x: Uint8Array;
1681
+ y: Uint8Array;
1682
+ }
1683
+ export interface Secp256k1Reduce512 {
1684
+ input: Uint8Array;
1685
+ }
1686
+ interface MsgpackSecp256k1Reduce512 {
1687
+ input: Uint8Array;
1688
+ }
1689
+ export interface Secp256k1Reduce512Response {
1690
+ value: Secp256k1Fr;
1691
+ }
1692
+ interface MsgpackSecp256k1Reduce512Response {
1693
+ value: Uint8Array;
1694
+ }
1695
+ export interface Secp256r1Point {
1696
+ x: Secp256r1Fq;
1697
+ y: Secp256r1Fq;
1698
+ }
1699
+ interface MsgpackSecp256r1Point {
1700
+ x: Uint8Array;
1701
+ y: Uint8Array;
1702
+ }
1703
+ export interface Shutdown {
1704
+ }
1705
+ interface MsgpackShutdown {
1706
+ }
1707
+ export interface ShutdownResponse {
1708
+ }
1709
+ interface MsgpackShutdownResponse {
1710
+ }
1711
+ export interface SrsInitGrumpkinSrs {
1712
+ pointsBuf: Uint8Array;
1713
+ numPoints: number;
1714
+ }
1715
+ interface MsgpackSrsInitGrumpkinSrs {
1716
+ points_buf: Uint8Array;
1717
+ num_points: number;
1718
+ }
1719
+ export interface SrsInitGrumpkinSrsResponse {
1720
+ dummy: number;
1721
+ }
1722
+ interface MsgpackSrsInitGrumpkinSrsResponse {
1723
+ dummy: number;
1724
+ }
1725
+ export interface SrsInitSrs {
1726
+ pointsBuf: Uint8Array;
1727
+ numPoints: number;
1728
+ g2Point: Uint8Array;
1729
+ }
1730
+ interface MsgpackSrsInitSrs {
1731
+ points_buf: Uint8Array;
1732
+ num_points: number;
1733
+ g2_point: Uint8Array;
1734
+ }
1735
+ export interface SrsInitSrsResponse {
1736
+ dummy: number;
1737
+ }
1738
+ interface MsgpackSrsInitSrsResponse {
1739
+ dummy: number;
1740
+ }
535
1741
  export interface VkAsFields {
536
1742
  verificationKey: Uint8Array;
537
1743
  }
@@ -544,6 +1750,88 @@ export interface VkAsFieldsResponse {
544
1750
  interface MsgpackVkAsFieldsResponse {
545
1751
  fields: Uint8Array[];
546
1752
  }
1753
+ export declare function toAesDecrypt(o: MsgpackAesDecrypt): AesDecrypt;
1754
+ export declare function fromAesDecrypt(o: AesDecrypt): MsgpackAesDecrypt;
1755
+ export declare function toAesDecryptResponse(o: MsgpackAesDecryptResponse): AesDecryptResponse;
1756
+ export declare function fromAesDecryptResponse(o: AesDecryptResponse): MsgpackAesDecryptResponse;
1757
+ export declare function toAesEncrypt(o: MsgpackAesEncrypt): AesEncrypt;
1758
+ export declare function fromAesEncrypt(o: AesEncrypt): MsgpackAesEncrypt;
1759
+ export declare function toAesEncryptResponse(o: MsgpackAesEncryptResponse): AesEncryptResponse;
1760
+ export declare function fromAesEncryptResponse(o: AesEncryptResponse): MsgpackAesEncryptResponse;
1761
+ export declare function toBlake2s(o: MsgpackBlake2s): Blake2s;
1762
+ export declare function fromBlake2s(o: Blake2s): MsgpackBlake2s;
1763
+ export declare function toBlake2sResponse(o: MsgpackBlake2sResponse): Blake2sResponse;
1764
+ export declare function fromBlake2sResponse(o: Blake2sResponse): MsgpackBlake2sResponse;
1765
+ export declare function toBlake2sToField(o: MsgpackBlake2sToField): Blake2sToField;
1766
+ export declare function fromBlake2sToField(o: Blake2sToField): MsgpackBlake2sToField;
1767
+ export declare function toBlake2sToFieldResponse(o: MsgpackBlake2sToFieldResponse): Blake2sToFieldResponse;
1768
+ export declare function fromBlake2sToFieldResponse(o: Blake2sToFieldResponse): MsgpackBlake2sToFieldResponse;
1769
+ export declare function toBn254FqSqrt(o: MsgpackBn254FqSqrt): Bn254FqSqrt;
1770
+ export declare function fromBn254FqSqrt(o: Bn254FqSqrt): MsgpackBn254FqSqrt;
1771
+ export declare function toBn254FqSqrtResponse(o: MsgpackBn254FqSqrtResponse): Bn254FqSqrtResponse;
1772
+ export declare function fromBn254FqSqrtResponse(o: Bn254FqSqrtResponse): MsgpackBn254FqSqrtResponse;
1773
+ export declare function toBn254FrSqrt(o: MsgpackBn254FrSqrt): Bn254FrSqrt;
1774
+ export declare function fromBn254FrSqrt(o: Bn254FrSqrt): MsgpackBn254FrSqrt;
1775
+ export declare function toBn254FrSqrtResponse(o: MsgpackBn254FrSqrtResponse): Bn254FrSqrtResponse;
1776
+ export declare function fromBn254FrSqrtResponse(o: Bn254FrSqrtResponse): MsgpackBn254FrSqrtResponse;
1777
+ export declare function toBn254G1FromCompressed(o: MsgpackBn254G1FromCompressed): Bn254G1FromCompressed;
1778
+ export declare function fromBn254G1FromCompressed(o: Bn254G1FromCompressed): MsgpackBn254G1FromCompressed;
1779
+ export declare function toBn254G1FromCompressedResponse(o: MsgpackBn254G1FromCompressedResponse): Bn254G1FromCompressedResponse;
1780
+ export declare function fromBn254G1FromCompressedResponse(o: Bn254G1FromCompressedResponse): MsgpackBn254G1FromCompressedResponse;
1781
+ export declare function toBn254G1IsOnCurve(o: MsgpackBn254G1IsOnCurve): Bn254G1IsOnCurve;
1782
+ export declare function fromBn254G1IsOnCurve(o: Bn254G1IsOnCurve): MsgpackBn254G1IsOnCurve;
1783
+ export declare function toBn254G1IsOnCurveResponse(o: MsgpackBn254G1IsOnCurveResponse): Bn254G1IsOnCurveResponse;
1784
+ export declare function fromBn254G1IsOnCurveResponse(o: Bn254G1IsOnCurveResponse): MsgpackBn254G1IsOnCurveResponse;
1785
+ export declare function toBn254G1Mul(o: MsgpackBn254G1Mul): Bn254G1Mul;
1786
+ export declare function fromBn254G1Mul(o: Bn254G1Mul): MsgpackBn254G1Mul;
1787
+ export declare function toBn254G1MulResponse(o: MsgpackBn254G1MulResponse): Bn254G1MulResponse;
1788
+ export declare function fromBn254G1MulResponse(o: Bn254G1MulResponse): MsgpackBn254G1MulResponse;
1789
+ export declare function toBn254G1Point(o: MsgpackBn254G1Point): Bn254G1Point;
1790
+ export declare function fromBn254G1Point(o: Bn254G1Point): MsgpackBn254G1Point;
1791
+ export declare function toBn254G2Mul(o: MsgpackBn254G2Mul): Bn254G2Mul;
1792
+ export declare function fromBn254G2Mul(o: Bn254G2Mul): MsgpackBn254G2Mul;
1793
+ export declare function toBn254G2MulResponse(o: MsgpackBn254G2MulResponse): Bn254G2MulResponse;
1794
+ export declare function fromBn254G2MulResponse(o: Bn254G2MulResponse): MsgpackBn254G2MulResponse;
1795
+ export declare function toBn254G2Point(o: MsgpackBn254G2Point): Bn254G2Point;
1796
+ export declare function fromBn254G2Point(o: Bn254G2Point): MsgpackBn254G2Point;
1797
+ export declare function toChonkAccumulate(o: MsgpackChonkAccumulate): ChonkAccumulate;
1798
+ export declare function fromChonkAccumulate(o: ChonkAccumulate): MsgpackChonkAccumulate;
1799
+ export declare function toChonkAccumulateResponse(o: MsgpackChonkAccumulateResponse): ChonkAccumulateResponse;
1800
+ export declare function fromChonkAccumulateResponse(o: ChonkAccumulateResponse): MsgpackChonkAccumulateResponse;
1801
+ export declare function toChonkCheckPrecomputedVk(o: MsgpackChonkCheckPrecomputedVk): ChonkCheckPrecomputedVk;
1802
+ export declare function fromChonkCheckPrecomputedVk(o: ChonkCheckPrecomputedVk): MsgpackChonkCheckPrecomputedVk;
1803
+ export declare function toChonkCheckPrecomputedVkResponse(o: MsgpackChonkCheckPrecomputedVkResponse): ChonkCheckPrecomputedVkResponse;
1804
+ export declare function fromChonkCheckPrecomputedVkResponse(o: ChonkCheckPrecomputedVkResponse): MsgpackChonkCheckPrecomputedVkResponse;
1805
+ export declare function toChonkComputeIvcVk(o: MsgpackChonkComputeIvcVk): ChonkComputeIvcVk;
1806
+ export declare function fromChonkComputeIvcVk(o: ChonkComputeIvcVk): MsgpackChonkComputeIvcVk;
1807
+ export declare function toChonkComputeIvcVkResponse(o: MsgpackChonkComputeIvcVkResponse): ChonkComputeIvcVkResponse;
1808
+ export declare function fromChonkComputeIvcVkResponse(o: ChonkComputeIvcVkResponse): MsgpackChonkComputeIvcVkResponse;
1809
+ export declare function toChonkComputeStandaloneVk(o: MsgpackChonkComputeStandaloneVk): ChonkComputeStandaloneVk;
1810
+ export declare function fromChonkComputeStandaloneVk(o: ChonkComputeStandaloneVk): MsgpackChonkComputeStandaloneVk;
1811
+ export declare function toChonkComputeStandaloneVkResponse(o: MsgpackChonkComputeStandaloneVkResponse): ChonkComputeStandaloneVkResponse;
1812
+ export declare function fromChonkComputeStandaloneVkResponse(o: ChonkComputeStandaloneVkResponse): MsgpackChonkComputeStandaloneVkResponse;
1813
+ export declare function toChonkLoad(o: MsgpackChonkLoad): ChonkLoad;
1814
+ export declare function fromChonkLoad(o: ChonkLoad): MsgpackChonkLoad;
1815
+ export declare function toChonkLoadResponse(o: MsgpackChonkLoadResponse): ChonkLoadResponse;
1816
+ export declare function fromChonkLoadResponse(o: ChonkLoadResponse): MsgpackChonkLoadResponse;
1817
+ export declare function toChonkProof(o: MsgpackChonkProof): ChonkProof;
1818
+ export declare function fromChonkProof(o: ChonkProof): MsgpackChonkProof;
1819
+ export declare function toChonkProve(o: MsgpackChonkProve): ChonkProve;
1820
+ export declare function fromChonkProve(o: ChonkProve): MsgpackChonkProve;
1821
+ export declare function toChonkProveResponse(o: MsgpackChonkProveResponse): ChonkProveResponse;
1822
+ export declare function fromChonkProveResponse(o: ChonkProveResponse): MsgpackChonkProveResponse;
1823
+ export declare function toChonkStart(o: MsgpackChonkStart): ChonkStart;
1824
+ export declare function fromChonkStart(o: ChonkStart): MsgpackChonkStart;
1825
+ export declare function toChonkStartResponse(o: MsgpackChonkStartResponse): ChonkStartResponse;
1826
+ export declare function fromChonkStartResponse(o: ChonkStartResponse): MsgpackChonkStartResponse;
1827
+ export declare function toChonkStats(o: MsgpackChonkStats): ChonkStats;
1828
+ export declare function fromChonkStats(o: ChonkStats): MsgpackChonkStats;
1829
+ export declare function toChonkStatsResponse(o: MsgpackChonkStatsResponse): ChonkStatsResponse;
1830
+ export declare function fromChonkStatsResponse(o: ChonkStatsResponse): MsgpackChonkStatsResponse;
1831
+ export declare function toChonkVerify(o: MsgpackChonkVerify): ChonkVerify;
1832
+ export declare function fromChonkVerify(o: ChonkVerify): MsgpackChonkVerify;
1833
+ export declare function toChonkVerifyResponse(o: MsgpackChonkVerifyResponse): ChonkVerifyResponse;
1834
+ export declare function fromChonkVerifyResponse(o: ChonkVerifyResponse): MsgpackChonkVerifyResponse;
547
1835
  export declare function toCircuitComputeVk(o: MsgpackCircuitComputeVk): CircuitComputeVk;
548
1836
  export declare function fromCircuitComputeVk(o: CircuitComputeVk): MsgpackCircuitComputeVk;
549
1837
  export declare function toCircuitComputeVkResponse(o: MsgpackCircuitComputeVkResponse): CircuitComputeVkResponse;
@@ -568,50 +1856,136 @@ export declare function toCircuitWriteSolidityVerifier(o: MsgpackCircuitWriteSol
568
1856
  export declare function fromCircuitWriteSolidityVerifier(o: CircuitWriteSolidityVerifier): MsgpackCircuitWriteSolidityVerifier;
569
1857
  export declare function toCircuitWriteSolidityVerifierResponse(o: MsgpackCircuitWriteSolidityVerifierResponse): CircuitWriteSolidityVerifierResponse;
570
1858
  export declare function fromCircuitWriteSolidityVerifierResponse(o: CircuitWriteSolidityVerifierResponse): MsgpackCircuitWriteSolidityVerifierResponse;
571
- export declare function toClientIvcAccumulate(o: MsgpackClientIvcAccumulate): ClientIvcAccumulate;
572
- export declare function fromClientIvcAccumulate(o: ClientIvcAccumulate): MsgpackClientIvcAccumulate;
573
- export declare function toClientIvcAccumulateResponse(o: MsgpackClientIvcAccumulateResponse): ClientIvcAccumulateResponse;
574
- export declare function fromClientIvcAccumulateResponse(o: ClientIvcAccumulateResponse): MsgpackClientIvcAccumulateResponse;
575
- export declare function toClientIvcCheckPrecomputedVk(o: MsgpackClientIvcCheckPrecomputedVk): ClientIvcCheckPrecomputedVk;
576
- export declare function fromClientIvcCheckPrecomputedVk(o: ClientIvcCheckPrecomputedVk): MsgpackClientIvcCheckPrecomputedVk;
577
- export declare function toClientIvcCheckPrecomputedVkResponse(o: MsgpackClientIvcCheckPrecomputedVkResponse): ClientIvcCheckPrecomputedVkResponse;
578
- export declare function fromClientIvcCheckPrecomputedVkResponse(o: ClientIvcCheckPrecomputedVkResponse): MsgpackClientIvcCheckPrecomputedVkResponse;
579
- export declare function toClientIvcComputeIvcVk(o: MsgpackClientIvcComputeIvcVk): ClientIvcComputeIvcVk;
580
- export declare function fromClientIvcComputeIvcVk(o: ClientIvcComputeIvcVk): MsgpackClientIvcComputeIvcVk;
581
- export declare function toClientIvcComputeIvcVkResponse(o: MsgpackClientIvcComputeIvcVkResponse): ClientIvcComputeIvcVkResponse;
582
- export declare function fromClientIvcComputeIvcVkResponse(o: ClientIvcComputeIvcVkResponse): MsgpackClientIvcComputeIvcVkResponse;
583
- export declare function toClientIvcComputeStandaloneVk(o: MsgpackClientIvcComputeStandaloneVk): ClientIvcComputeStandaloneVk;
584
- export declare function fromClientIvcComputeStandaloneVk(o: ClientIvcComputeStandaloneVk): MsgpackClientIvcComputeStandaloneVk;
585
- export declare function toClientIvcComputeStandaloneVkResponse(o: MsgpackClientIvcComputeStandaloneVkResponse): ClientIvcComputeStandaloneVkResponse;
586
- export declare function fromClientIvcComputeStandaloneVkResponse(o: ClientIvcComputeStandaloneVkResponse): MsgpackClientIvcComputeStandaloneVkResponse;
587
- export declare function toClientIvcLoad(o: MsgpackClientIvcLoad): ClientIvcLoad;
588
- export declare function fromClientIvcLoad(o: ClientIvcLoad): MsgpackClientIvcLoad;
589
- export declare function toClientIvcLoadResponse(o: MsgpackClientIvcLoadResponse): ClientIvcLoadResponse;
590
- export declare function fromClientIvcLoadResponse(o: ClientIvcLoadResponse): MsgpackClientIvcLoadResponse;
591
- export declare function toClientIVCProof(o: MsgpackClientIVCProof): ClientIVCProof;
592
- export declare function fromClientIVCProof(o: ClientIVCProof): MsgpackClientIVCProof;
593
- export declare function toClientIvcProve(o: MsgpackClientIvcProve): ClientIvcProve;
594
- export declare function fromClientIvcProve(o: ClientIvcProve): MsgpackClientIvcProve;
595
- export declare function toClientIvcProveResponse(o: MsgpackClientIvcProveResponse): ClientIvcProveResponse;
596
- export declare function fromClientIvcProveResponse(o: ClientIvcProveResponse): MsgpackClientIvcProveResponse;
597
- export declare function toClientIvcStart(o: MsgpackClientIvcStart): ClientIvcStart;
598
- export declare function fromClientIvcStart(o: ClientIvcStart): MsgpackClientIvcStart;
599
- export declare function toClientIvcStartResponse(o: MsgpackClientIvcStartResponse): ClientIvcStartResponse;
600
- export declare function fromClientIvcStartResponse(o: ClientIvcStartResponse): MsgpackClientIvcStartResponse;
601
- export declare function toClientIvcStats(o: MsgpackClientIvcStats): ClientIvcStats;
602
- export declare function fromClientIvcStats(o: ClientIvcStats): MsgpackClientIvcStats;
603
- export declare function toClientIvcStatsResponse(o: MsgpackClientIvcStatsResponse): ClientIvcStatsResponse;
604
- export declare function fromClientIvcStatsResponse(o: ClientIvcStatsResponse): MsgpackClientIvcStatsResponse;
605
- export declare function toClientIvcVerify(o: MsgpackClientIvcVerify): ClientIvcVerify;
606
- export declare function fromClientIvcVerify(o: ClientIvcVerify): MsgpackClientIvcVerify;
607
- export declare function toClientIvcVerifyResponse(o: MsgpackClientIvcVerifyResponse): ClientIvcVerifyResponse;
608
- export declare function fromClientIvcVerifyResponse(o: ClientIvcVerifyResponse): MsgpackClientIvcVerifyResponse;
609
1859
  export declare function toECCVMProof(o: MsgpackECCVMProof): ECCVMProof;
610
1860
  export declare function fromECCVMProof(o: ECCVMProof): MsgpackECCVMProof;
1861
+ export declare function toEcdsaSecp256k1ComputePublicKey(o: MsgpackEcdsaSecp256k1ComputePublicKey): EcdsaSecp256k1ComputePublicKey;
1862
+ export declare function fromEcdsaSecp256k1ComputePublicKey(o: EcdsaSecp256k1ComputePublicKey): MsgpackEcdsaSecp256k1ComputePublicKey;
1863
+ export declare function toEcdsaSecp256k1ComputePublicKeyResponse(o: MsgpackEcdsaSecp256k1ComputePublicKeyResponse): EcdsaSecp256k1ComputePublicKeyResponse;
1864
+ export declare function fromEcdsaSecp256k1ComputePublicKeyResponse(o: EcdsaSecp256k1ComputePublicKeyResponse): MsgpackEcdsaSecp256k1ComputePublicKeyResponse;
1865
+ export declare function toEcdsaSecp256k1ConstructSignature(o: MsgpackEcdsaSecp256k1ConstructSignature): EcdsaSecp256k1ConstructSignature;
1866
+ export declare function fromEcdsaSecp256k1ConstructSignature(o: EcdsaSecp256k1ConstructSignature): MsgpackEcdsaSecp256k1ConstructSignature;
1867
+ export declare function toEcdsaSecp256k1ConstructSignatureResponse(o: MsgpackEcdsaSecp256k1ConstructSignatureResponse): EcdsaSecp256k1ConstructSignatureResponse;
1868
+ export declare function fromEcdsaSecp256k1ConstructSignatureResponse(o: EcdsaSecp256k1ConstructSignatureResponse): MsgpackEcdsaSecp256k1ConstructSignatureResponse;
1869
+ export declare function toEcdsaSecp256k1RecoverPublicKey(o: MsgpackEcdsaSecp256k1RecoverPublicKey): EcdsaSecp256k1RecoverPublicKey;
1870
+ export declare function fromEcdsaSecp256k1RecoverPublicKey(o: EcdsaSecp256k1RecoverPublicKey): MsgpackEcdsaSecp256k1RecoverPublicKey;
1871
+ export declare function toEcdsaSecp256k1RecoverPublicKeyResponse(o: MsgpackEcdsaSecp256k1RecoverPublicKeyResponse): EcdsaSecp256k1RecoverPublicKeyResponse;
1872
+ export declare function fromEcdsaSecp256k1RecoverPublicKeyResponse(o: EcdsaSecp256k1RecoverPublicKeyResponse): MsgpackEcdsaSecp256k1RecoverPublicKeyResponse;
1873
+ export declare function toEcdsaSecp256k1VerifySignature(o: MsgpackEcdsaSecp256k1VerifySignature): EcdsaSecp256k1VerifySignature;
1874
+ export declare function fromEcdsaSecp256k1VerifySignature(o: EcdsaSecp256k1VerifySignature): MsgpackEcdsaSecp256k1VerifySignature;
1875
+ export declare function toEcdsaSecp256k1VerifySignatureResponse(o: MsgpackEcdsaSecp256k1VerifySignatureResponse): EcdsaSecp256k1VerifySignatureResponse;
1876
+ export declare function fromEcdsaSecp256k1VerifySignatureResponse(o: EcdsaSecp256k1VerifySignatureResponse): MsgpackEcdsaSecp256k1VerifySignatureResponse;
1877
+ export declare function toEcdsaSecp256r1ComputePublicKey(o: MsgpackEcdsaSecp256r1ComputePublicKey): EcdsaSecp256r1ComputePublicKey;
1878
+ export declare function fromEcdsaSecp256r1ComputePublicKey(o: EcdsaSecp256r1ComputePublicKey): MsgpackEcdsaSecp256r1ComputePublicKey;
1879
+ export declare function toEcdsaSecp256r1ComputePublicKeyResponse(o: MsgpackEcdsaSecp256r1ComputePublicKeyResponse): EcdsaSecp256r1ComputePublicKeyResponse;
1880
+ export declare function fromEcdsaSecp256r1ComputePublicKeyResponse(o: EcdsaSecp256r1ComputePublicKeyResponse): MsgpackEcdsaSecp256r1ComputePublicKeyResponse;
1881
+ export declare function toEcdsaSecp256r1ConstructSignature(o: MsgpackEcdsaSecp256r1ConstructSignature): EcdsaSecp256r1ConstructSignature;
1882
+ export declare function fromEcdsaSecp256r1ConstructSignature(o: EcdsaSecp256r1ConstructSignature): MsgpackEcdsaSecp256r1ConstructSignature;
1883
+ export declare function toEcdsaSecp256r1ConstructSignatureResponse(o: MsgpackEcdsaSecp256r1ConstructSignatureResponse): EcdsaSecp256r1ConstructSignatureResponse;
1884
+ export declare function fromEcdsaSecp256r1ConstructSignatureResponse(o: EcdsaSecp256r1ConstructSignatureResponse): MsgpackEcdsaSecp256r1ConstructSignatureResponse;
1885
+ export declare function toEcdsaSecp256r1RecoverPublicKey(o: MsgpackEcdsaSecp256r1RecoverPublicKey): EcdsaSecp256r1RecoverPublicKey;
1886
+ export declare function fromEcdsaSecp256r1RecoverPublicKey(o: EcdsaSecp256r1RecoverPublicKey): MsgpackEcdsaSecp256r1RecoverPublicKey;
1887
+ export declare function toEcdsaSecp256r1RecoverPublicKeyResponse(o: MsgpackEcdsaSecp256r1RecoverPublicKeyResponse): EcdsaSecp256r1RecoverPublicKeyResponse;
1888
+ export declare function fromEcdsaSecp256r1RecoverPublicKeyResponse(o: EcdsaSecp256r1RecoverPublicKeyResponse): MsgpackEcdsaSecp256r1RecoverPublicKeyResponse;
1889
+ export declare function toEcdsaSecp256r1VerifySignature(o: MsgpackEcdsaSecp256r1VerifySignature): EcdsaSecp256r1VerifySignature;
1890
+ export declare function fromEcdsaSecp256r1VerifySignature(o: EcdsaSecp256r1VerifySignature): MsgpackEcdsaSecp256r1VerifySignature;
1891
+ export declare function toEcdsaSecp256r1VerifySignatureResponse(o: MsgpackEcdsaSecp256r1VerifySignatureResponse): EcdsaSecp256r1VerifySignatureResponse;
1892
+ export declare function fromEcdsaSecp256r1VerifySignatureResponse(o: EcdsaSecp256r1VerifySignatureResponse): MsgpackEcdsaSecp256r1VerifySignatureResponse;
1893
+ export declare function toErrorResponse(o: MsgpackErrorResponse): ErrorResponse;
1894
+ export declare function fromErrorResponse(o: ErrorResponse): MsgpackErrorResponse;
611
1895
  export declare function toGoblinProof(o: MsgpackGoblinProof): GoblinProof;
612
1896
  export declare function fromGoblinProof(o: GoblinProof): MsgpackGoblinProof;
1897
+ export declare function toGrumpkinAdd(o: MsgpackGrumpkinAdd): GrumpkinAdd;
1898
+ export declare function fromGrumpkinAdd(o: GrumpkinAdd): MsgpackGrumpkinAdd;
1899
+ export declare function toGrumpkinAddResponse(o: MsgpackGrumpkinAddResponse): GrumpkinAddResponse;
1900
+ export declare function fromGrumpkinAddResponse(o: GrumpkinAddResponse): MsgpackGrumpkinAddResponse;
1901
+ export declare function toGrumpkinBatchMul(o: MsgpackGrumpkinBatchMul): GrumpkinBatchMul;
1902
+ export declare function fromGrumpkinBatchMul(o: GrumpkinBatchMul): MsgpackGrumpkinBatchMul;
1903
+ export declare function toGrumpkinBatchMulResponse(o: MsgpackGrumpkinBatchMulResponse): GrumpkinBatchMulResponse;
1904
+ export declare function fromGrumpkinBatchMulResponse(o: GrumpkinBatchMulResponse): MsgpackGrumpkinBatchMulResponse;
1905
+ export declare function toGrumpkinGetRandomFr(o: MsgpackGrumpkinGetRandomFr): GrumpkinGetRandomFr;
1906
+ export declare function fromGrumpkinGetRandomFr(o: GrumpkinGetRandomFr): MsgpackGrumpkinGetRandomFr;
1907
+ export declare function toGrumpkinGetRandomFrResponse(o: MsgpackGrumpkinGetRandomFrResponse): GrumpkinGetRandomFrResponse;
1908
+ export declare function fromGrumpkinGetRandomFrResponse(o: GrumpkinGetRandomFrResponse): MsgpackGrumpkinGetRandomFrResponse;
1909
+ export declare function toGrumpkinMul(o: MsgpackGrumpkinMul): GrumpkinMul;
1910
+ export declare function fromGrumpkinMul(o: GrumpkinMul): MsgpackGrumpkinMul;
1911
+ export declare function toGrumpkinMulResponse(o: MsgpackGrumpkinMulResponse): GrumpkinMulResponse;
1912
+ export declare function fromGrumpkinMulResponse(o: GrumpkinMulResponse): MsgpackGrumpkinMulResponse;
1913
+ export declare function toGrumpkinPoint(o: MsgpackGrumpkinPoint): GrumpkinPoint;
1914
+ export declare function fromGrumpkinPoint(o: GrumpkinPoint): MsgpackGrumpkinPoint;
1915
+ export declare function toGrumpkinReduce512(o: MsgpackGrumpkinReduce512): GrumpkinReduce512;
1916
+ export declare function fromGrumpkinReduce512(o: GrumpkinReduce512): MsgpackGrumpkinReduce512;
1917
+ export declare function toGrumpkinReduce512Response(o: MsgpackGrumpkinReduce512Response): GrumpkinReduce512Response;
1918
+ export declare function fromGrumpkinReduce512Response(o: GrumpkinReduce512Response): MsgpackGrumpkinReduce512Response;
1919
+ export declare function toMegaVkAsFields(o: MsgpackMegaVkAsFields): MegaVkAsFields;
1920
+ export declare function fromMegaVkAsFields(o: MegaVkAsFields): MsgpackMegaVkAsFields;
1921
+ export declare function toMegaVkAsFieldsResponse(o: MsgpackMegaVkAsFieldsResponse): MegaVkAsFieldsResponse;
1922
+ export declare function fromMegaVkAsFieldsResponse(o: MegaVkAsFieldsResponse): MsgpackMegaVkAsFieldsResponse;
1923
+ export declare function toPedersenCommit(o: MsgpackPedersenCommit): PedersenCommit;
1924
+ export declare function fromPedersenCommit(o: PedersenCommit): MsgpackPedersenCommit;
1925
+ export declare function toPedersenCommitResponse(o: MsgpackPedersenCommitResponse): PedersenCommitResponse;
1926
+ export declare function fromPedersenCommitResponse(o: PedersenCommitResponse): MsgpackPedersenCommitResponse;
1927
+ export declare function toPedersenHash(o: MsgpackPedersenHash): PedersenHash;
1928
+ export declare function fromPedersenHash(o: PedersenHash): MsgpackPedersenHash;
1929
+ export declare function toPedersenHashBuffer(o: MsgpackPedersenHashBuffer): PedersenHashBuffer;
1930
+ export declare function fromPedersenHashBuffer(o: PedersenHashBuffer): MsgpackPedersenHashBuffer;
1931
+ export declare function toPedersenHashBufferResponse(o: MsgpackPedersenHashBufferResponse): PedersenHashBufferResponse;
1932
+ export declare function fromPedersenHashBufferResponse(o: PedersenHashBufferResponse): MsgpackPedersenHashBufferResponse;
1933
+ export declare function toPedersenHashResponse(o: MsgpackPedersenHashResponse): PedersenHashResponse;
1934
+ export declare function fromPedersenHashResponse(o: PedersenHashResponse): MsgpackPedersenHashResponse;
1935
+ export declare function toPoseidon2Hash(o: MsgpackPoseidon2Hash): Poseidon2Hash;
1936
+ export declare function fromPoseidon2Hash(o: Poseidon2Hash): MsgpackPoseidon2Hash;
1937
+ export declare function toPoseidon2HashAccumulate(o: MsgpackPoseidon2HashAccumulate): Poseidon2HashAccumulate;
1938
+ export declare function fromPoseidon2HashAccumulate(o: Poseidon2HashAccumulate): MsgpackPoseidon2HashAccumulate;
1939
+ export declare function toPoseidon2HashAccumulateResponse(o: MsgpackPoseidon2HashAccumulateResponse): Poseidon2HashAccumulateResponse;
1940
+ export declare function fromPoseidon2HashAccumulateResponse(o: Poseidon2HashAccumulateResponse): MsgpackPoseidon2HashAccumulateResponse;
1941
+ export declare function toPoseidon2HashResponse(o: MsgpackPoseidon2HashResponse): Poseidon2HashResponse;
1942
+ export declare function fromPoseidon2HashResponse(o: Poseidon2HashResponse): MsgpackPoseidon2HashResponse;
1943
+ export declare function toPoseidon2Permutation(o: MsgpackPoseidon2Permutation): Poseidon2Permutation;
1944
+ export declare function fromPoseidon2Permutation(o: Poseidon2Permutation): MsgpackPoseidon2Permutation;
1945
+ export declare function toPoseidon2PermutationResponse(o: MsgpackPoseidon2PermutationResponse): Poseidon2PermutationResponse;
1946
+ export declare function fromPoseidon2PermutationResponse(o: Poseidon2PermutationResponse): MsgpackPoseidon2PermutationResponse;
613
1947
  export declare function toProofSystemSettings(o: MsgpackProofSystemSettings): ProofSystemSettings;
614
1948
  export declare function fromProofSystemSettings(o: ProofSystemSettings): MsgpackProofSystemSettings;
1949
+ export declare function toSchnorrComputePublicKey(o: MsgpackSchnorrComputePublicKey): SchnorrComputePublicKey;
1950
+ export declare function fromSchnorrComputePublicKey(o: SchnorrComputePublicKey): MsgpackSchnorrComputePublicKey;
1951
+ export declare function toSchnorrComputePublicKeyResponse(o: MsgpackSchnorrComputePublicKeyResponse): SchnorrComputePublicKeyResponse;
1952
+ export declare function fromSchnorrComputePublicKeyResponse(o: SchnorrComputePublicKeyResponse): MsgpackSchnorrComputePublicKeyResponse;
1953
+ export declare function toSchnorrConstructSignature(o: MsgpackSchnorrConstructSignature): SchnorrConstructSignature;
1954
+ export declare function fromSchnorrConstructSignature(o: SchnorrConstructSignature): MsgpackSchnorrConstructSignature;
1955
+ export declare function toSchnorrConstructSignatureResponse(o: MsgpackSchnorrConstructSignatureResponse): SchnorrConstructSignatureResponse;
1956
+ export declare function fromSchnorrConstructSignatureResponse(o: SchnorrConstructSignatureResponse): MsgpackSchnorrConstructSignatureResponse;
1957
+ export declare function toSchnorrVerifySignature(o: MsgpackSchnorrVerifySignature): SchnorrVerifySignature;
1958
+ export declare function fromSchnorrVerifySignature(o: SchnorrVerifySignature): MsgpackSchnorrVerifySignature;
1959
+ export declare function toSchnorrVerifySignatureResponse(o: MsgpackSchnorrVerifySignatureResponse): SchnorrVerifySignatureResponse;
1960
+ export declare function fromSchnorrVerifySignatureResponse(o: SchnorrVerifySignatureResponse): MsgpackSchnorrVerifySignatureResponse;
1961
+ export declare function toSecp256k1GetRandomFr(o: MsgpackSecp256k1GetRandomFr): Secp256k1GetRandomFr;
1962
+ export declare function fromSecp256k1GetRandomFr(o: Secp256k1GetRandomFr): MsgpackSecp256k1GetRandomFr;
1963
+ export declare function toSecp256k1GetRandomFrResponse(o: MsgpackSecp256k1GetRandomFrResponse): Secp256k1GetRandomFrResponse;
1964
+ export declare function fromSecp256k1GetRandomFrResponse(o: Secp256k1GetRandomFrResponse): MsgpackSecp256k1GetRandomFrResponse;
1965
+ export declare function toSecp256k1Mul(o: MsgpackSecp256k1Mul): Secp256k1Mul;
1966
+ export declare function fromSecp256k1Mul(o: Secp256k1Mul): MsgpackSecp256k1Mul;
1967
+ export declare function toSecp256k1MulResponse(o: MsgpackSecp256k1MulResponse): Secp256k1MulResponse;
1968
+ export declare function fromSecp256k1MulResponse(o: Secp256k1MulResponse): MsgpackSecp256k1MulResponse;
1969
+ export declare function toSecp256k1Point(o: MsgpackSecp256k1Point): Secp256k1Point;
1970
+ export declare function fromSecp256k1Point(o: Secp256k1Point): MsgpackSecp256k1Point;
1971
+ export declare function toSecp256k1Reduce512(o: MsgpackSecp256k1Reduce512): Secp256k1Reduce512;
1972
+ export declare function fromSecp256k1Reduce512(o: Secp256k1Reduce512): MsgpackSecp256k1Reduce512;
1973
+ export declare function toSecp256k1Reduce512Response(o: MsgpackSecp256k1Reduce512Response): Secp256k1Reduce512Response;
1974
+ export declare function fromSecp256k1Reduce512Response(o: Secp256k1Reduce512Response): MsgpackSecp256k1Reduce512Response;
1975
+ export declare function toSecp256r1Point(o: MsgpackSecp256r1Point): Secp256r1Point;
1976
+ export declare function fromSecp256r1Point(o: Secp256r1Point): MsgpackSecp256r1Point;
1977
+ export declare function toShutdown(o: MsgpackShutdown): Shutdown;
1978
+ export declare function fromShutdown(o: Shutdown): MsgpackShutdown;
1979
+ export declare function toShutdownResponse(o: MsgpackShutdownResponse): ShutdownResponse;
1980
+ export declare function fromShutdownResponse(o: ShutdownResponse): MsgpackShutdownResponse;
1981
+ export declare function toSrsInitGrumpkinSrs(o: MsgpackSrsInitGrumpkinSrs): SrsInitGrumpkinSrs;
1982
+ export declare function fromSrsInitGrumpkinSrs(o: SrsInitGrumpkinSrs): MsgpackSrsInitGrumpkinSrs;
1983
+ export declare function toSrsInitGrumpkinSrsResponse(o: MsgpackSrsInitGrumpkinSrsResponse): SrsInitGrumpkinSrsResponse;
1984
+ export declare function fromSrsInitGrumpkinSrsResponse(o: SrsInitGrumpkinSrsResponse): MsgpackSrsInitGrumpkinSrsResponse;
1985
+ export declare function toSrsInitSrs(o: MsgpackSrsInitSrs): SrsInitSrs;
1986
+ export declare function fromSrsInitSrs(o: SrsInitSrs): MsgpackSrsInitSrs;
1987
+ export declare function toSrsInitSrsResponse(o: MsgpackSrsInitSrsResponse): SrsInitSrsResponse;
1988
+ export declare function fromSrsInitSrsResponse(o: SrsInitSrsResponse): MsgpackSrsInitSrsResponse;
615
1989
  export declare function toVkAsFields(o: MsgpackVkAsFields): VkAsFields;
616
1990
  export declare function fromVkAsFields(o: VkAsFields): MsgpackVkAsFields;
617
1991
  export declare function toVkAsFieldsResponse(o: MsgpackVkAsFieldsResponse): VkAsFieldsResponse;
@@ -621,17 +1995,56 @@ export interface BbApiBase {
621
1995
  circuitComputeVk(command: CircuitComputeVk): Promise<CircuitComputeVkResponse>;
622
1996
  circuitStats(command: CircuitStats): Promise<CircuitInfoResponse>;
623
1997
  circuitVerify(command: CircuitVerify): Promise<CircuitVerifyResponse>;
624
- clientIvcComputeStandaloneVk(command: ClientIvcComputeStandaloneVk): Promise<ClientIvcComputeStandaloneVkResponse>;
625
- clientIvcComputeIvcVk(command: ClientIvcComputeIvcVk): Promise<ClientIvcComputeIvcVkResponse>;
626
- clientIvcStart(command: ClientIvcStart): Promise<ClientIvcStartResponse>;
627
- clientIvcLoad(command: ClientIvcLoad): Promise<ClientIvcLoadResponse>;
628
- clientIvcAccumulate(command: ClientIvcAccumulate): Promise<ClientIvcAccumulateResponse>;
629
- clientIvcProve(command: ClientIvcProve): Promise<ClientIvcProveResponse>;
630
- clientIvcVerify(command: ClientIvcVerify): Promise<ClientIvcVerifyResponse>;
1998
+ chonkComputeStandaloneVk(command: ChonkComputeStandaloneVk): Promise<ChonkComputeStandaloneVkResponse>;
1999
+ chonkComputeIvcVk(command: ChonkComputeIvcVk): Promise<ChonkComputeIvcVkResponse>;
2000
+ chonkStart(command: ChonkStart): Promise<ChonkStartResponse>;
2001
+ chonkLoad(command: ChonkLoad): Promise<ChonkLoadResponse>;
2002
+ chonkAccumulate(command: ChonkAccumulate): Promise<ChonkAccumulateResponse>;
2003
+ chonkProve(command: ChonkProve): Promise<ChonkProveResponse>;
2004
+ chonkVerify(command: ChonkVerify): Promise<ChonkVerifyResponse>;
631
2005
  vkAsFields(command: VkAsFields): Promise<VkAsFieldsResponse>;
2006
+ megaVkAsFields(command: MegaVkAsFields): Promise<MegaVkAsFieldsResponse>;
632
2007
  circuitWriteSolidityVerifier(command: CircuitWriteSolidityVerifier): Promise<CircuitWriteSolidityVerifierResponse>;
633
- clientIvcCheckPrecomputedVk(command: ClientIvcCheckPrecomputedVk): Promise<ClientIvcCheckPrecomputedVkResponse>;
634
- clientIvcStats(command: ClientIvcStats): Promise<ClientIvcStatsResponse>;
2008
+ chonkCheckPrecomputedVk(command: ChonkCheckPrecomputedVk): Promise<ChonkCheckPrecomputedVkResponse>;
2009
+ chonkStats(command: ChonkStats): Promise<ChonkStatsResponse>;
2010
+ poseidon2Hash(command: Poseidon2Hash): Promise<Poseidon2HashResponse>;
2011
+ poseidon2Permutation(command: Poseidon2Permutation): Promise<Poseidon2PermutationResponse>;
2012
+ poseidon2HashAccumulate(command: Poseidon2HashAccumulate): Promise<Poseidon2HashAccumulateResponse>;
2013
+ pedersenCommit(command: PedersenCommit): Promise<PedersenCommitResponse>;
2014
+ pedersenHash(command: PedersenHash): Promise<PedersenHashResponse>;
2015
+ pedersenHashBuffer(command: PedersenHashBuffer): Promise<PedersenHashBufferResponse>;
2016
+ blake2s(command: Blake2s): Promise<Blake2sResponse>;
2017
+ blake2sToField(command: Blake2sToField): Promise<Blake2sToFieldResponse>;
2018
+ aesEncrypt(command: AesEncrypt): Promise<AesEncryptResponse>;
2019
+ aesDecrypt(command: AesDecrypt): Promise<AesDecryptResponse>;
2020
+ grumpkinMul(command: GrumpkinMul): Promise<GrumpkinMulResponse>;
2021
+ grumpkinAdd(command: GrumpkinAdd): Promise<GrumpkinAddResponse>;
2022
+ grumpkinBatchMul(command: GrumpkinBatchMul): Promise<GrumpkinBatchMulResponse>;
2023
+ grumpkinGetRandomFr(command: GrumpkinGetRandomFr): Promise<GrumpkinGetRandomFrResponse>;
2024
+ grumpkinReduce512(command: GrumpkinReduce512): Promise<GrumpkinReduce512Response>;
2025
+ secp256k1Mul(command: Secp256k1Mul): Promise<Secp256k1MulResponse>;
2026
+ secp256k1GetRandomFr(command: Secp256k1GetRandomFr): Promise<Secp256k1GetRandomFrResponse>;
2027
+ secp256k1Reduce512(command: Secp256k1Reduce512): Promise<Secp256k1Reduce512Response>;
2028
+ bn254FrSqrt(command: Bn254FrSqrt): Promise<Bn254FrSqrtResponse>;
2029
+ bn254FqSqrt(command: Bn254FqSqrt): Promise<Bn254FqSqrtResponse>;
2030
+ bn254G1Mul(command: Bn254G1Mul): Promise<Bn254G1MulResponse>;
2031
+ bn254G2Mul(command: Bn254G2Mul): Promise<Bn254G2MulResponse>;
2032
+ bn254G1IsOnCurve(command: Bn254G1IsOnCurve): Promise<Bn254G1IsOnCurveResponse>;
2033
+ bn254G1FromCompressed(command: Bn254G1FromCompressed): Promise<Bn254G1FromCompressedResponse>;
2034
+ schnorrComputePublicKey(command: SchnorrComputePublicKey): Promise<SchnorrComputePublicKeyResponse>;
2035
+ schnorrConstructSignature(command: SchnorrConstructSignature): Promise<SchnorrConstructSignatureResponse>;
2036
+ schnorrVerifySignature(command: SchnorrVerifySignature): Promise<SchnorrVerifySignatureResponse>;
2037
+ ecdsaSecp256k1ComputePublicKey(command: EcdsaSecp256k1ComputePublicKey): Promise<EcdsaSecp256k1ComputePublicKeyResponse>;
2038
+ ecdsaSecp256r1ComputePublicKey(command: EcdsaSecp256r1ComputePublicKey): Promise<EcdsaSecp256r1ComputePublicKeyResponse>;
2039
+ ecdsaSecp256k1ConstructSignature(command: EcdsaSecp256k1ConstructSignature): Promise<EcdsaSecp256k1ConstructSignatureResponse>;
2040
+ ecdsaSecp256r1ConstructSignature(command: EcdsaSecp256r1ConstructSignature): Promise<EcdsaSecp256r1ConstructSignatureResponse>;
2041
+ ecdsaSecp256k1RecoverPublicKey(command: EcdsaSecp256k1RecoverPublicKey): Promise<EcdsaSecp256k1RecoverPublicKeyResponse>;
2042
+ ecdsaSecp256r1RecoverPublicKey(command: EcdsaSecp256r1RecoverPublicKey): Promise<EcdsaSecp256r1RecoverPublicKeyResponse>;
2043
+ ecdsaSecp256k1VerifySignature(command: EcdsaSecp256k1VerifySignature): Promise<EcdsaSecp256k1VerifySignatureResponse>;
2044
+ ecdsaSecp256r1VerifySignature(command: EcdsaSecp256r1VerifySignature): Promise<EcdsaSecp256r1VerifySignatureResponse>;
2045
+ srsInitSrs(command: SrsInitSrs): Promise<SrsInitSrsResponse>;
2046
+ srsInitGrumpkinSrs(command: SrsInitGrumpkinSrs): Promise<SrsInitGrumpkinSrsResponse>;
2047
+ shutdown(command: Shutdown): Promise<ShutdownResponse>;
635
2048
  destroy(): Promise<void>;
636
2049
  }
637
2050
  export {};