zkcloudworker 0.17.7 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (364) hide show
  1. package/lib/ts/cloud/config.js.map +1 -0
  2. package/lib/ts/cloud/index.d.ts +4 -0
  3. package/lib/ts/cloud/index.js +5 -0
  4. package/lib/ts/cloud/index.js.map +1 -0
  5. package/lib/ts/cloud/networks.js.map +1 -0
  6. package/lib/ts/cloud/utils/base64.js.map +1 -0
  7. package/lib/ts/cloud/utils/graphql.js.map +1 -0
  8. package/lib/ts/cloud/utils/index.d.ts +3 -0
  9. package/lib/ts/cloud/utils/index.js +4 -0
  10. package/lib/ts/cloud/utils/index.js.map +1 -0
  11. package/lib/ts/cloud/utils/utils.js.map +1 -0
  12. package/lib/{web/src → ts}/cloud/worker/cloud.d.ts +3 -3
  13. package/lib/ts/cloud/worker/cloud.js.map +1 -0
  14. package/lib/ts/cloud/worker/index.d.ts +5 -0
  15. package/lib/ts/cloud/worker/index.js +6 -0
  16. package/lib/ts/cloud/worker/index.js.map +1 -0
  17. package/lib/{web/src → ts}/cloud/worker/job.d.ts +1 -1
  18. package/lib/{web/src → ts}/cloud/worker/job.js.map +1 -1
  19. package/lib/{web/src → ts}/cloud/worker/task.d.ts +1 -1
  20. package/lib/{web/src → ts}/cloud/worker/task.js.map +1 -1
  21. package/lib/ts/cloud/worker/transaction.js.map +1 -0
  22. package/lib/{web/src → ts}/cloud/worker/worker.d.ts +1 -1
  23. package/lib/ts/cloud/worker/worker.js.map +1 -0
  24. package/lib/ts/index.d.ts +2 -0
  25. package/lib/ts/index.js +3 -0
  26. package/lib/ts/index.js.map +1 -0
  27. package/lib/ts/{src/mina → mina}/api/api.d.ts +2 -2
  28. package/lib/{web/src → ts}/mina/api/api.js +3 -3
  29. package/lib/ts/mina/api/api.js.map +1 -0
  30. package/lib/ts/mina/index.d.ts +7 -0
  31. package/lib/ts/mina/index.js +9 -0
  32. package/lib/ts/mina/index.js.map +1 -0
  33. package/lib/ts/{src/mina → mina}/local/local.d.ts +2 -2
  34. package/lib/{web/src → ts}/mina/local/local.js +1 -1
  35. package/lib/ts/mina/local/local.js.map +1 -0
  36. package/lib/ts/mina/storage/index.d.ts +3 -0
  37. package/lib/ts/mina/storage/index.js +4 -0
  38. package/lib/ts/mina/storage/index.js.map +1 -0
  39. package/lib/ts/mina/storage/ipfs.js.map +1 -0
  40. package/lib/ts/mina/storage/pinata.js.map +1 -0
  41. package/lib/{web/src → ts}/mina/storage/storage.d.ts +12 -12
  42. package/lib/ts/mina/storage/storage.js.map +1 -0
  43. package/lib/ts/{src/mina → mina}/token/FungibleToken.d.ts +21 -21
  44. package/lib/ts/mina/token/FungibleToken.js.map +1 -0
  45. package/lib/ts/{src/mina → mina}/token/FungibleTokenAdmin.d.ts +2 -2
  46. package/lib/ts/mina/token/FungibleTokenAdmin.js.map +1 -0
  47. package/lib/{web/src → ts}/mina/token/api.d.ts +3 -3
  48. package/lib/{web/src → ts}/mina/token/api.js +1 -1
  49. package/lib/ts/mina/token/api.js.map +1 -0
  50. package/lib/ts/mina/token/index.d.ts +5 -0
  51. package/lib/ts/mina/token/index.js +6 -0
  52. package/lib/ts/mina/token/index.js.map +1 -0
  53. package/lib/ts/mina/token/vk.js.map +1 -0
  54. package/lib/{web/src → ts}/mina/token/whitelist.d.ts +28 -28
  55. package/lib/{web/src → ts}/mina/token/whitelist.js +1 -1
  56. package/lib/{web/src → ts}/mina/token/whitelist.js.map +1 -1
  57. package/lib/{web/src → ts}/mina/transactions/account.js +1 -1
  58. package/lib/ts/mina/transactions/account.js.map +1 -0
  59. package/lib/{web/src → ts}/mina/transactions/blockberry.d.ts +1 -1
  60. package/lib/ts/mina/transactions/blockberry.js.map +1 -0
  61. package/lib/ts/mina/transactions/chain.js.map +1 -0
  62. package/lib/ts/mina/transactions/index.d.ts +8 -0
  63. package/lib/ts/mina/transactions/index.js +9 -0
  64. package/lib/ts/mina/transactions/index.js.map +1 -0
  65. package/lib/ts/{src/mina → mina}/transactions/nonce.d.ts +2 -2
  66. package/lib/{web/src → ts}/mina/transactions/nonce.js +2 -2
  67. package/lib/ts/mina/transactions/nonce.js.map +1 -0
  68. package/lib/{web/src → ts}/mina/transactions/send.d.ts +1 -1
  69. package/lib/{web/src → ts}/mina/transactions/send.js +2 -2
  70. package/lib/ts/mina/transactions/send.js.map +1 -0
  71. package/lib/ts/{src/mina → mina}/transactions/tiny-contract.d.ts +1 -1
  72. package/lib/ts/mina/transactions/tiny-contract.js.map +1 -0
  73. package/lib/{web/src → ts}/mina/transactions/transaction.js +1 -1
  74. package/lib/ts/mina/transactions/transaction.js.map +1 -0
  75. package/lib/ts/{src/mina → mina}/transactions/txstatus.d.ts +1 -1
  76. package/lib/{web/src → ts}/mina/transactions/txstatus.js +1 -1
  77. package/lib/ts/mina/transactions/txstatus.js.map +1 -0
  78. package/lib/{web/src → ts}/mina/utils/base64.js +1 -1
  79. package/lib/ts/mina/utils/base64.js.map +1 -0
  80. package/lib/{web/src → ts}/mina/utils/fee.js +1 -1
  81. package/lib/ts/mina/utils/fee.js.map +1 -0
  82. package/lib/{web/src → ts}/mina/utils/fetch.d.ts +1 -1
  83. package/lib/{web/src → ts}/mina/utils/fetch.js +1 -1
  84. package/lib/ts/mina/utils/fetch.js.map +1 -0
  85. package/lib/{web/src → ts}/mina/utils/fields.js +1 -1
  86. package/lib/ts/mina/utils/fields.js.map +1 -0
  87. package/lib/ts/mina/utils/index.d.ts +6 -0
  88. package/lib/ts/mina/utils/index.js +7 -0
  89. package/lib/ts/mina/utils/index.js.map +1 -0
  90. package/lib/ts/{src/mina → mina}/utils/indexed-map.d.ts +2 -2
  91. package/lib/{web/src → ts}/mina/utils/indexed-map.js +2 -2
  92. package/lib/ts/mina/utils/indexed-map.js.map +1 -0
  93. package/lib/ts/{src/mina → mina}/utils/mina.d.ts +1 -1
  94. package/lib/{web/src → ts}/mina/utils/mina.js +1 -1
  95. package/lib/ts/mina/utils/mina.js.map +1 -0
  96. package/lib/ts/mina/verification/index.d.ts +1 -0
  97. package/lib/ts/mina/verification/index.js +2 -0
  98. package/lib/ts/mina/verification/index.js.map +1 -0
  99. package/lib/{web/src → ts}/mina/verification/verification.d.ts +1 -1
  100. package/lib/ts/mina/verification/verification.js.map +1 -0
  101. package/lib/tsconfig.web.tsbuildinfo +1 -0
  102. package/lib/{ts/src → web}/cloud/config.js +2 -3
  103. package/lib/web/cloud/config.js.map +1 -0
  104. package/lib/web/cloud/index.d.ts +4 -0
  105. package/lib/web/cloud/index.js +5 -0
  106. package/lib/web/cloud/index.js.map +1 -0
  107. package/lib/{ts/src → web}/cloud/networks.js +2 -9
  108. package/lib/web/cloud/networks.js.map +1 -0
  109. package/lib/{ts/src → web}/cloud/utils/base64.js +7 -14
  110. package/lib/web/cloud/utils/base64.js.map +1 -0
  111. package/lib/{ts/src → web}/cloud/utils/graphql.js +6 -10
  112. package/lib/web/cloud/utils/graphql.js.map +1 -0
  113. package/lib/web/cloud/utils/index.d.ts +3 -0
  114. package/lib/web/cloud/utils/index.js +4 -0
  115. package/lib/web/cloud/utils/index.js.map +1 -0
  116. package/lib/{ts/src → web}/cloud/utils/utils.js +5 -11
  117. package/lib/web/cloud/utils/utils.js.map +1 -0
  118. package/lib/{ts/src → web}/cloud/worker/cloud.d.ts +3 -3
  119. package/lib/{ts/src → web}/cloud/worker/cloud.js +2 -5
  120. package/lib/web/cloud/worker/cloud.js.map +1 -0
  121. package/lib/web/cloud/worker/index.d.ts +5 -0
  122. package/lib/web/cloud/worker/index.js +6 -0
  123. package/lib/web/cloud/worker/index.js.map +1 -0
  124. package/lib/{ts/src → web}/cloud/worker/job.d.ts +1 -1
  125. package/lib/web/cloud/worker/job.js +2 -0
  126. package/lib/web/cloud/worker/job.js.map +1 -0
  127. package/lib/{ts/src → web}/cloud/worker/task.d.ts +1 -1
  128. package/lib/web/cloud/worker/task.js +2 -0
  129. package/lib/web/cloud/worker/task.js.map +1 -0
  130. package/lib/{ts/src → web}/cloud/worker/transaction.js +2 -2
  131. package/lib/web/cloud/worker/transaction.js.map +1 -0
  132. package/lib/{ts/src → web}/cloud/worker/worker.d.ts +1 -1
  133. package/lib/{ts/src → web}/cloud/worker/worker.js +2 -5
  134. package/lib/web/cloud/worker/worker.js.map +1 -0
  135. package/lib/web/index.d.ts +2 -0
  136. package/lib/web/index.js +3 -0
  137. package/lib/web/index.js.map +1 -0
  138. package/lib/web/{src/mina → mina}/api/api.d.ts +2 -2
  139. package/lib/{ts/src → web}/mina/api/api.js +17 -23
  140. package/lib/web/mina/api/api.js.map +1 -0
  141. package/lib/web/mina/index.d.ts +7 -0
  142. package/lib/web/mina/index.js +9 -0
  143. package/lib/web/mina/index.js.map +1 -0
  144. package/lib/web/{src/mina → mina}/local/local.d.ts +2 -2
  145. package/lib/{ts/src → web}/mina/local/local.js +5 -9
  146. package/lib/web/mina/local/local.js.map +1 -0
  147. package/lib/web/mina/storage/index.d.ts +3 -0
  148. package/lib/web/mina/storage/index.js +4 -0
  149. package/lib/web/mina/storage/index.js.map +1 -0
  150. package/lib/{ts/src → web}/mina/storage/ipfs.js +2 -4
  151. package/lib/web/mina/storage/ipfs.js.map +1 -0
  152. package/lib/{ts/src → web}/mina/storage/pinata.js +2 -4
  153. package/lib/web/mina/storage/pinata.js.map +1 -0
  154. package/lib/{ts/src → web}/mina/storage/storage.d.ts +12 -12
  155. package/lib/{ts/src → web}/mina/storage/storage.js +6 -9
  156. package/lib/web/mina/storage/storage.js.map +1 -0
  157. package/lib/web/{src/mina → mina}/token/FungibleToken.d.ts +21 -21
  158. package/lib/{ts/src → web}/mina/token/FungibleToken.js +87 -103
  159. package/lib/web/mina/token/FungibleToken.js.map +1 -0
  160. package/lib/web/{src/mina → mina}/token/FungibleTokenAdmin.d.ts +2 -2
  161. package/lib/{ts/src → web}/mina/token/FungibleTokenAdmin.js +24 -35
  162. package/lib/web/mina/token/FungibleTokenAdmin.js.map +1 -0
  163. package/lib/{ts/src → web}/mina/token/api.d.ts +3 -3
  164. package/lib/{ts/src → web}/mina/token/api.js +4 -7
  165. package/lib/web/mina/token/api.js.map +1 -0
  166. package/lib/web/mina/token/index.d.ts +5 -0
  167. package/lib/web/mina/token/index.js +6 -0
  168. package/lib/web/mina/token/index.js.map +1 -0
  169. package/lib/{ts/src → web}/mina/token/vk.js +2 -4
  170. package/lib/web/mina/token/vk.js.map +1 -0
  171. package/lib/{ts/src → web}/mina/token/whitelist.d.ts +28 -28
  172. package/lib/{ts/src → web}/mina/token/whitelist.js +34 -41
  173. package/lib/web/mina/token/whitelist.js.map +1 -0
  174. package/lib/web/mina/transactions/account.js +44 -0
  175. package/lib/web/mina/transactions/account.js.map +1 -0
  176. package/lib/{ts/src → web}/mina/transactions/blockberry.d.ts +1 -1
  177. package/lib/{ts/src → web}/mina/transactions/blockberry.js +5 -10
  178. package/lib/web/mina/transactions/blockberry.js.map +1 -0
  179. package/lib/web/mina/transactions/chain.js +2 -0
  180. package/lib/web/mina/transactions/chain.js.map +1 -0
  181. package/lib/web/mina/transactions/index.d.ts +8 -0
  182. package/lib/web/mina/transactions/index.js +9 -0
  183. package/lib/web/mina/transactions/index.js.map +1 -0
  184. package/lib/web/{src/mina → mina}/transactions/nonce.d.ts +2 -2
  185. package/lib/{ts/src → web}/mina/transactions/nonce.js +15 -18
  186. package/lib/web/mina/transactions/nonce.js.map +1 -0
  187. package/lib/{ts/src → web}/mina/transactions/send.d.ts +1 -1
  188. package/lib/{ts/src → web}/mina/transactions/send.js +12 -15
  189. package/lib/web/mina/transactions/send.js.map +1 -0
  190. package/lib/web/{src/mina → mina}/transactions/tiny-contract.d.ts +1 -1
  191. package/lib/web/mina/transactions/tiny-contract.js +22 -0
  192. package/lib/web/mina/transactions/tiny-contract.js.map +1 -0
  193. package/lib/{ts/src → web}/mina/transactions/transaction.js +18 -22
  194. package/lib/web/mina/transactions/transaction.js.map +1 -0
  195. package/lib/web/{src/mina → mina}/transactions/txstatus.d.ts +1 -1
  196. package/lib/{ts/src → web}/mina/transactions/txstatus.js +4 -6
  197. package/lib/web/mina/transactions/txstatus.js.map +1 -0
  198. package/lib/web/mina/utils/base64.js +29 -0
  199. package/lib/web/mina/utils/base64.js.map +1 -0
  200. package/lib/web/mina/utils/fee.js +11 -0
  201. package/lib/web/mina/utils/fee.js.map +1 -0
  202. package/lib/{ts/src → web}/mina/utils/fetch.d.ts +1 -1
  203. package/lib/{ts/src → web}/mina/utils/fetch.js +11 -15
  204. package/lib/web/mina/utils/fetch.js.map +1 -0
  205. package/lib/{ts/src → web}/mina/utils/fields.js +11 -14
  206. package/lib/web/mina/utils/fields.js.map +1 -0
  207. package/lib/web/mina/utils/index.d.ts +6 -0
  208. package/lib/web/mina/utils/index.js +7 -0
  209. package/lib/web/mina/utils/index.js.map +1 -0
  210. package/lib/web/{src/mina → mina}/utils/indexed-map.d.ts +2 -2
  211. package/lib/{ts/src → web}/mina/utils/indexed-map.js +24 -30
  212. package/lib/web/mina/utils/indexed-map.js.map +1 -0
  213. package/lib/web/{src/mina → mina}/utils/mina.d.ts +1 -1
  214. package/lib/{ts/src → web}/mina/utils/mina.js +21 -29
  215. package/lib/web/mina/utils/mina.js.map +1 -0
  216. package/lib/web/mina/verification/index.d.ts +1 -0
  217. package/lib/web/mina/verification/index.js +2 -0
  218. package/lib/web/mina/verification/index.js.map +1 -0
  219. package/lib/{ts/src → web}/mina/verification/verification.d.ts +1 -1
  220. package/lib/web/mina/verification/verification.js +2 -0
  221. package/lib/web/mina/verification/verification.js.map +1 -0
  222. package/package.json +6 -2
  223. package/lib/ts/src/cloud/index.d.ts +0 -4
  224. package/lib/ts/src/cloud/index.js +0 -20
  225. package/lib/ts/src/cloud/utils/index.d.ts +0 -3
  226. package/lib/ts/src/cloud/utils/index.js +0 -19
  227. package/lib/ts/src/cloud/worker/index.d.ts +0 -5
  228. package/lib/ts/src/cloud/worker/index.js +0 -21
  229. package/lib/ts/src/cloud/worker/job.js +0 -2
  230. package/lib/ts/src/cloud/worker/task.js +0 -2
  231. package/lib/ts/src/index.d.ts +0 -2
  232. package/lib/ts/src/index.js +0 -18
  233. package/lib/ts/src/mina/index.d.ts +0 -7
  234. package/lib/ts/src/mina/index.js +0 -24
  235. package/lib/ts/src/mina/storage/index.d.ts +0 -3
  236. package/lib/ts/src/mina/storage/index.js +0 -19
  237. package/lib/ts/src/mina/token/index.d.ts +0 -5
  238. package/lib/ts/src/mina/token/index.js +0 -21
  239. package/lib/ts/src/mina/transactions/account.js +0 -48
  240. package/lib/ts/src/mina/transactions/chain.js +0 -2
  241. package/lib/ts/src/mina/transactions/index.d.ts +0 -8
  242. package/lib/ts/src/mina/transactions/index.js +0 -24
  243. package/lib/ts/src/mina/transactions/tiny-contract.js +0 -33
  244. package/lib/ts/src/mina/utils/base64.js +0 -34
  245. package/lib/ts/src/mina/utils/fee.js +0 -16
  246. package/lib/ts/src/mina/utils/index.d.ts +0 -6
  247. package/lib/ts/src/mina/utils/index.js +0 -22
  248. package/lib/ts/src/mina/verification/index.d.ts +0 -1
  249. package/lib/ts/src/mina/verification/index.js +0 -17
  250. package/lib/ts/src/mina/verification/verification.js +0 -2
  251. package/lib/ts/tsconfig.tsbuildinfo +0 -1
  252. package/lib/web/src/cloud/config.js.map +0 -1
  253. package/lib/web/src/cloud/index.d.ts +0 -4
  254. package/lib/web/src/cloud/index.js +0 -5
  255. package/lib/web/src/cloud/index.js.map +0 -1
  256. package/lib/web/src/cloud/networks.js.map +0 -1
  257. package/lib/web/src/cloud/utils/base64.js.map +0 -1
  258. package/lib/web/src/cloud/utils/graphql.js.map +0 -1
  259. package/lib/web/src/cloud/utils/index.d.ts +0 -3
  260. package/lib/web/src/cloud/utils/index.js +0 -4
  261. package/lib/web/src/cloud/utils/index.js.map +0 -1
  262. package/lib/web/src/cloud/utils/utils.js.map +0 -1
  263. package/lib/web/src/cloud/worker/cloud.js.map +0 -1
  264. package/lib/web/src/cloud/worker/index.d.ts +0 -5
  265. package/lib/web/src/cloud/worker/index.js +0 -6
  266. package/lib/web/src/cloud/worker/index.js.map +0 -1
  267. package/lib/web/src/cloud/worker/transaction.js.map +0 -1
  268. package/lib/web/src/cloud/worker/worker.js.map +0 -1
  269. package/lib/web/src/index.d.ts +0 -2
  270. package/lib/web/src/index.js +0 -3
  271. package/lib/web/src/index.js.map +0 -1
  272. package/lib/web/src/mina/api/api.js.map +0 -1
  273. package/lib/web/src/mina/index.d.ts +0 -7
  274. package/lib/web/src/mina/index.js +0 -9
  275. package/lib/web/src/mina/index.js.map +0 -1
  276. package/lib/web/src/mina/local/local.js.map +0 -1
  277. package/lib/web/src/mina/storage/index.d.ts +0 -3
  278. package/lib/web/src/mina/storage/index.js +0 -4
  279. package/lib/web/src/mina/storage/index.js.map +0 -1
  280. package/lib/web/src/mina/storage/ipfs.js.map +0 -1
  281. package/lib/web/src/mina/storage/pinata.js.map +0 -1
  282. package/lib/web/src/mina/storage/storage.js.map +0 -1
  283. package/lib/web/src/mina/token/FungibleToken.js.map +0 -1
  284. package/lib/web/src/mina/token/FungibleTokenAdmin.js.map +0 -1
  285. package/lib/web/src/mina/token/api.js.map +0 -1
  286. package/lib/web/src/mina/token/index.d.ts +0 -5
  287. package/lib/web/src/mina/token/index.js +0 -6
  288. package/lib/web/src/mina/token/index.js.map +0 -1
  289. package/lib/web/src/mina/token/vk.js.map +0 -1
  290. package/lib/web/src/mina/transactions/account.js.map +0 -1
  291. package/lib/web/src/mina/transactions/blockberry.js.map +0 -1
  292. package/lib/web/src/mina/transactions/chain.js.map +0 -1
  293. package/lib/web/src/mina/transactions/index.d.ts +0 -8
  294. package/lib/web/src/mina/transactions/index.js +0 -9
  295. package/lib/web/src/mina/transactions/index.js.map +0 -1
  296. package/lib/web/src/mina/transactions/nonce.js.map +0 -1
  297. package/lib/web/src/mina/transactions/send.js.map +0 -1
  298. package/lib/web/src/mina/transactions/tiny-contract.js.map +0 -1
  299. package/lib/web/src/mina/transactions/transaction.js.map +0 -1
  300. package/lib/web/src/mina/transactions/txstatus.js.map +0 -1
  301. package/lib/web/src/mina/utils/base64.js.map +0 -1
  302. package/lib/web/src/mina/utils/fee.js.map +0 -1
  303. package/lib/web/src/mina/utils/fetch.js.map +0 -1
  304. package/lib/web/src/mina/utils/fields.js.map +0 -1
  305. package/lib/web/src/mina/utils/index.d.ts +0 -6
  306. package/lib/web/src/mina/utils/index.js +0 -7
  307. package/lib/web/src/mina/utils/index.js.map +0 -1
  308. package/lib/web/src/mina/utils/indexed-map.js.map +0 -1
  309. package/lib/web/src/mina/utils/mina.js.map +0 -1
  310. package/lib/web/src/mina/verification/index.d.ts +0 -1
  311. package/lib/web/src/mina/verification/index.js +0 -2
  312. package/lib/web/src/mina/verification/index.js.map +0 -1
  313. package/lib/web/src/mina/verification/verification.js.map +0 -1
  314. package/lib/web/tsconfig.web.tsbuildinfo +0 -1
  315. /package/lib/ts/{src/cloud → cloud}/config.d.ts +0 -0
  316. /package/lib/{web/src → ts}/cloud/config.js +0 -0
  317. /package/lib/ts/{src/cloud → cloud}/networks.d.ts +0 -0
  318. /package/lib/{web/src → ts}/cloud/networks.js +0 -0
  319. /package/lib/ts/{src/cloud → cloud}/utils/base64.d.ts +0 -0
  320. /package/lib/{web/src → ts}/cloud/utils/base64.js +0 -0
  321. /package/lib/ts/{src/cloud → cloud}/utils/graphql.d.ts +0 -0
  322. /package/lib/{web/src → ts}/cloud/utils/graphql.js +0 -0
  323. /package/lib/ts/{src/cloud → cloud}/utils/utils.d.ts +0 -0
  324. /package/lib/{web/src → ts}/cloud/utils/utils.js +0 -0
  325. /package/lib/{web/src → ts}/cloud/worker/cloud.js +0 -0
  326. /package/lib/{web/src → ts}/cloud/worker/job.js +0 -0
  327. /package/lib/{web/src → ts}/cloud/worker/task.js +0 -0
  328. /package/lib/ts/{src/cloud → cloud}/worker/transaction.d.ts +0 -0
  329. /package/lib/{web/src → ts}/cloud/worker/transaction.js +0 -0
  330. /package/lib/{web/src → ts}/cloud/worker/worker.js +0 -0
  331. /package/lib/ts/{src/mina → mina}/storage/ipfs.d.ts +0 -0
  332. /package/lib/{web/src → ts}/mina/storage/ipfs.js +0 -0
  333. /package/lib/ts/{src/mina → mina}/storage/pinata.d.ts +0 -0
  334. /package/lib/{web/src → ts}/mina/storage/pinata.js +0 -0
  335. /package/lib/{web/src → ts}/mina/storage/storage.js +0 -0
  336. /package/lib/{web/src → ts}/mina/token/FungibleToken.js +0 -0
  337. /package/lib/{web/src → ts}/mina/token/FungibleTokenAdmin.js +0 -0
  338. /package/lib/ts/{src/mina → mina}/token/vk.d.ts +0 -0
  339. /package/lib/{web/src → ts}/mina/token/vk.js +0 -0
  340. /package/lib/ts/{src/mina → mina}/transactions/account.d.ts +0 -0
  341. /package/lib/{web/src → ts}/mina/transactions/blockberry.js +0 -0
  342. /package/lib/ts/{src/mina → mina}/transactions/chain.d.ts +0 -0
  343. /package/lib/{web/src → ts}/mina/transactions/chain.js +0 -0
  344. /package/lib/{web/src → ts}/mina/transactions/tiny-contract.js +0 -0
  345. /package/lib/ts/{src/mina → mina}/transactions/transaction.d.ts +0 -0
  346. /package/lib/ts/{src/mina → mina}/utils/base64.d.ts +0 -0
  347. /package/lib/ts/{src/mina → mina}/utils/fee.d.ts +0 -0
  348. /package/lib/ts/{src/mina → mina}/utils/fields.d.ts +0 -0
  349. /package/lib/{web/src → ts}/mina/verification/verification.js +0 -0
  350. /package/lib/web/{src/cloud → cloud}/config.d.ts +0 -0
  351. /package/lib/web/{src/cloud → cloud}/networks.d.ts +0 -0
  352. /package/lib/web/{src/cloud → cloud}/utils/base64.d.ts +0 -0
  353. /package/lib/web/{src/cloud → cloud}/utils/graphql.d.ts +0 -0
  354. /package/lib/web/{src/cloud → cloud}/utils/utils.d.ts +0 -0
  355. /package/lib/web/{src/cloud → cloud}/worker/transaction.d.ts +0 -0
  356. /package/lib/web/{src/mina → mina}/storage/ipfs.d.ts +0 -0
  357. /package/lib/web/{src/mina → mina}/storage/pinata.d.ts +0 -0
  358. /package/lib/web/{src/mina → mina}/token/vk.d.ts +0 -0
  359. /package/lib/web/{src/mina → mina}/transactions/account.d.ts +0 -0
  360. /package/lib/web/{src/mina → mina}/transactions/chain.d.ts +0 -0
  361. /package/lib/web/{src/mina → mina}/transactions/transaction.d.ts +0 -0
  362. /package/lib/web/{src/mina → mina}/utils/base64.d.ts +0 -0
  363. /package/lib/web/{src/mina → mina}/utils/fee.d.ts +0 -0
  364. /package/lib/web/{src/mina → mina}/utils/fields.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local.js","sourceRoot":"","sources":["../../../../../src/mina/local/local.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAQV,KAAK,GAGN,MAAM,sBAAsB,CAAC;AAG9B;;;;;;GAMG;AACH,MAAM,OAAO,UAAW,SAAQ,KAAK;IAGnC;;;;;;;;OAQG;IACH,YAAY,MAMX;QACC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAE1D,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GACxE,GAAG,CAAC;QACN,KAAK,CAAC;YACJ,EAAE,EAAE,EAAE;YACN,KAAK,EAAE,KAAK;YACZ,MAAM,EAAE,MAAM,IAAI,QAAQ;YAC1B,MAAM,EAAE,MAAM,IAAI,QAAQ;YAC1B,KAAK,EAAE,KAAK,IAAI,SAAS;YACzB,SAAS,EAAE,SAAS;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;YAClB,YAAY,EAAE,IAAI;YAClB,KAAK;SACN,CAAC,CAAC;QACH,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,WAAW;QACtB,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC;QACpD,MAAM,S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AACR,iBAAI,GAA8B,EAAE,CAAC;AAE5C,gBAAgB;AACT,kBAAK,GAA8B,EAAE,CAAC;AAE7C,uBAAuB;AAChB,yBAAY,GAEf,EAAE,CAAC;AAEP,gBAAgB;AACT,kBAAK,GAAgC,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./ipfs.js";
2
+ export * from "./pinata.js";
3
+ export * from "./storage.js";
@@ -0,0 +1,4 @@
1
+ export * from "./ipfs.js";
2
+ export * from "./pinata.js";
3
+ export * from "./storage.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mina/storage/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createIpfsURL = createIpfsURL;
4
- function createIpfsURL(params) {
1
+ export function createIpfsURL(params) {
5
2
  let { hash, gateway, apiToken } = params;
6
3
  gateway ??=
7
4
  process.env.PINATA_IPFS_GATEWAY ??
@@ -16,3 +13,4 @@ function createIpfsURL(params) {
16
13
  }
17
14
  return gateway + hash + (apiToken ? "?pinataGatewayToken=" + apiToken : "");
18
15
  }
16
+ //# sourceMappingURL=ipfs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ipfs.js","sourceRoot":"","sources":["../../../../../src/mina/storage/ipfs.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,aAAa,CAAC,MAI7B;IACC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;IACzC,OAAO;QACL,OAAO,CAAC,GAAG,CAAC,mBAAmB;YAC/B,OAAO,CAAC,GAAG,CAAC,+BAA+B;YAC3C,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;IAC5C,QAAQ;QACN,OAAO,CAAC,GAAG,CAAC,oBAAoB;YAChC,OAAO,CAAC,GAAG,CAAC,gCAAgC;YAC5C,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;IAE7C,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,GAAG,oCAAoC,CAAC;IACjD,CAAC;IACD,OAAO,OAAO,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,sBAAsB,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAC9E,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.pinJSON = pinJSON;
4
- async function pinJSON(params) {
1
+ export async function pinJSON(params) {
5
2
  const { data, name = "data.json", keyvalues = [{ key: "library", value: "zkcloudworker" }], } = params;
6
3
  const auth = params.auth ??
7
4
  process.env.PINATA_JWT ??
@@ -38,3 +35,4 @@ async function pinJSON(params) {
38
35
  return undefined;
39
36
  }
40
37
  }
38
+ //# sourceMappingURL=pinata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pinata.js","sourceRoot":"","sources":["../../../../../src/mina/storage/pinata.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,OAAO,CAAC,MAK7B;IACC,MAAM,EACJ,IAAI,EACJ,IAAI,GAAG,WAAW,EAClB,SAAS,GAAG,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,GACzD,GAAG,MAAM,CAAC;IACX,MAAM,IAAI,GACR,MAAM,CAAC,IAAI;QACX,OAAO,CAAC,GAAG,CAAC,UAAU;QACtB,OAAO,CAAC,GAAG,CAAC,sBAAsB;QAClC,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC;IAEnC,IAAI,CAAC;QACH,MAAM,UAAU,GAAG;YACjB,aAAa,EAAE;gBACb,UAAU,EAAE,CAAC;aACd;YACD,cAAc,EAAE;gBACd,IAAI;gBACJ,SAAS;aACV;YACD,aAAa,EAAE,IAAI;SACpB,CAAC;QAEF,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,gDAAgD,EAAE;YACxE,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;gBAClC,aAAa,EAAE,SAAS,GAAG,IAAI;aAChC;YACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;SACjC,CAAC,CAAC;QAEH,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;YACZ,MAAM,IAAI,KAAK,CAAC,yBAAyB,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;QAC3E,CAAC;QAED,MAAM,YAAY,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;QACtC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,YAAY,CAAC,CAAC;QAChD,OACE,YACD,EAAE,QAAQ,CAAC;IACd,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;QACnD,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"}
@@ -1,42 +1,42 @@
1
1
  import { Field, Bool } from "o1js";
2
2
  declare const Storage_base: (new (value: {
3
- url: import("o1js/dist/node/lib/provable/field").Field[];
3
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
4
4
  }) => {
5
- url: import("o1js/dist/node/lib/provable/field").Field[];
5
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
6
6
  }) & {
7
7
  _isStruct: true;
8
- } & Omit<import("o1js/dist/node/lib/provable/types/provable-intf").Provable<{
9
- url: import("o1js/dist/node/lib/provable/field").Field[];
8
+ } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
9
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
10
10
  }, {
11
11
  url: bigint[];
12
12
  }>, "fromFields"> & {
13
- fromFields: (fields: import("o1js/dist/node/lib/provable/field").Field[]) => {
14
- url: import("o1js/dist/node/lib/provable/field").Field[];
13
+ fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
14
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
15
15
  };
16
16
  } & {
17
17
  fromValue: (value: {
18
- url: import("o1js/dist/node/lib/provable/field").Field[] | bigint[];
18
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[] | bigint[];
19
19
  }) => {
20
- url: import("o1js/dist/node/lib/provable/field").Field[];
20
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
21
21
  };
22
22
  toInput: (x: {
23
- url: import("o1js/dist/node/lib/provable/field").Field[];
23
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
24
24
  }) => {
25
25
  fields?: Field[] | undefined;
26
26
  packed?: [Field, number][] | undefined;
27
27
  };
28
28
  toJSON: (x: {
29
- url: import("o1js/dist/node/lib/provable/field").Field[];
29
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
30
30
  }) => {
31
31
  url: string[];
32
32
  };
33
33
  fromJSON: (x: {
34
34
  url: string[];
35
35
  }) => {
36
- url: import("o1js/dist/node/lib/provable/field").Field[];
36
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
37
37
  };
38
38
  empty: () => {
39
- url: import("o1js/dist/node/lib/provable/field").Field[];
39
+ url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
40
40
  };
41
41
  };
42
42
  /**
@@ -1,13 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Storage = void 0;
4
- const o1js_1 = require("o1js");
1
+ import { Field, Struct, Encoding, Provable } from "o1js";
5
2
  /**
6
3
  * Represents the off-chain storage information,
7
4
  * such as an IPFS hash.
8
5
  */
9
- class Storage extends (0, o1js_1.Struct)({
10
- url: o1js_1.Provable.Array(o1js_1.Field, 2),
6
+ export class Storage extends Struct({
7
+ url: Provable.Array(Field, 2),
11
8
  }) {
12
9
  constructor(value) {
13
10
  super(value);
@@ -36,7 +33,7 @@ class Storage extends (0, o1js_1.Struct)({
36
33
  * @returns A new Storage instance.
37
34
  */
38
35
  static fromString(url) {
39
- const fields = o1js_1.Encoding.stringToFields(url);
36
+ const fields = Encoding.stringToFields(url);
40
37
  if (fields.length !== 2)
41
38
  throw new Error("Invalid string length");
42
39
  return new Storage({ url: [fields[0], fields[1]] });
@@ -49,7 +46,7 @@ class Storage extends (0, o1js_1.Struct)({
49
46
  if (this.url[0].toBigInt() === 0n && this.url[1].toBigInt() === 0n) {
50
47
  throw new Error("Invalid string");
51
48
  }
52
- return o1js_1.Encoding.stringFromFields([this.url[0], this.url[1]]);
49
+ return Encoding.stringFromFields([this.url[0], this.url[1]]);
53
50
  }
54
51
  }
55
- exports.Storage = Storage;
52
+ //# sourceMappingURL=storage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storage.js","sourceRoot":"","sources":["../../../../../src/mina/storage/storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAQ,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAE/D;;;GAGG;AACH,MAAM,OAAO,OAAQ,SAAQ,MAAM,CAAC;IAClC,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;CAC9B,CAAC;IACA,YAAY,KAA8B;QACxC,KAAK,CAAC,KAAK,CAAC,CAAC;IACf,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,YAAY,CAAC,CAAU,EAAE,CAAU;QACxC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAChC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,MAAM,CAAC,CAAU,EAAE,CAAU;QAClC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,UAAU,CAAC,GAAW;QAC3B,MAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;QAC5C,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAClE,OAAO,IAAI,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACtD,CAAC;IAED;;;OAGG;IACH,QAAQ;QACN,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC;YACnE,MAAM,IAAI,KAAK,CAAC,gBAAgB,CAAC,CAAC;QACpC,CAAC;QACD,OAAO,QAAQ,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/D,CAAC;CACF"}
@@ -22,7 +22,7 @@ export declare const FungibleTokenErrors: {
22
22
  export declare class FungibleToken extends TokenContract {
23
23
  decimals: State<UInt8>;
24
24
  admin: State<PublicKey>;
25
- paused: State<import("o1js/dist/node/lib/provable/bool.js").Bool>;
25
+ paused: State<import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool>;
26
26
  static AdminContract: new (...args: any) => FungibleTokenAdminBase;
27
27
  readonly events: {
28
28
  SetAdmin: typeof SetAdminEvent;
@@ -68,7 +68,7 @@ declare const SetAdminEvent_base: (new (value: {
68
68
  adminKey: PublicKey;
69
69
  }) & {
70
70
  _isStruct: true;
71
- } & Omit<import("o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
71
+ } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
72
72
  adminKey: PublicKey;
73
73
  }, {
74
74
  adminKey: {
@@ -76,7 +76,7 @@ declare const SetAdminEvent_base: (new (value: {
76
76
  isOdd: boolean;
77
77
  };
78
78
  }>, "fromFields"> & {
79
- fromFields: (fields: import("o1js/dist/node/lib/provable/field.js").Field[]) => {
79
+ fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
80
80
  adminKey: PublicKey;
81
81
  };
82
82
  } & {
@@ -111,43 +111,43 @@ declare const SetAdminEvent_base: (new (value: {
111
111
  export declare class SetAdminEvent extends SetAdminEvent_base {
112
112
  }
113
113
  declare const PauseEvent_base: (new (value: {
114
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
114
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
115
115
  }) => {
116
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
116
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
117
117
  }) & {
118
118
  _isStruct: true;
119
- } & Omit<import("o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
120
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
119
+ } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
120
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
121
121
  }, {
122
122
  isPaused: boolean;
123
123
  }>, "fromFields"> & {
124
- fromFields: (fields: import("o1js/dist/node/lib/provable/field.js").Field[]) => {
125
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
124
+ fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
125
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
126
126
  };
127
127
  } & {
128
128
  fromValue: (value: {
129
- isPaused: boolean | import("o1js/dist/node/lib/provable/bool.js").Bool;
129
+ isPaused: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
130
130
  }) => {
131
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
131
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
132
132
  };
133
133
  toInput: (x: {
134
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
134
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
135
135
  }) => {
136
136
  fields?: Field[] | undefined;
137
137
  packed?: [Field, number][] | undefined;
138
138
  };
139
139
  toJSON: (x: {
140
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
140
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
141
141
  }) => {
142
142
  isPaused: boolean;
143
143
  };
144
144
  fromJSON: (x: {
145
145
  isPaused: boolean;
146
146
  }) => {
147
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
147
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
148
148
  };
149
149
  empty: () => {
150
- isPaused: import("o1js/dist/node/lib/provable/bool.js").Bool;
150
+ isPaused: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
151
151
  };
152
152
  };
153
153
  export declare class PauseEvent extends PauseEvent_base {
@@ -160,7 +160,7 @@ declare const MintEvent_base: (new (value: {
160
160
  amount: Types.UInt64;
161
161
  }) & {
162
162
  _isStruct: true;
163
- } & Omit<import("o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
163
+ } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
164
164
  recipient: PublicKey;
165
165
  amount: Types.UInt64;
166
166
  }, {
@@ -170,7 +170,7 @@ declare const MintEvent_base: (new (value: {
170
170
  };
171
171
  amount: bigint;
172
172
  }>, "fromFields"> & {
173
- fromFields: (fields: import("o1js/dist/node/lib/provable/field.js").Field[]) => {
173
+ fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
174
174
  recipient: PublicKey;
175
175
  amount: Types.UInt64;
176
176
  };
@@ -221,7 +221,7 @@ declare const BurnEvent_base: (new (value: {
221
221
  amount: Types.UInt64;
222
222
  }) & {
223
223
  _isStruct: true;
224
- } & Omit<import("o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
224
+ } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
225
225
  from: PublicKey;
226
226
  amount: Types.UInt64;
227
227
  }, {
@@ -231,7 +231,7 @@ declare const BurnEvent_base: (new (value: {
231
231
  };
232
232
  amount: bigint;
233
233
  }>, "fromFields"> & {
234
- fromFields: (fields: import("o1js/dist/node/lib/provable/field.js").Field[]) => {
234
+ fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
235
235
  from: PublicKey;
236
236
  amount: Types.UInt64;
237
237
  };
@@ -282,7 +282,7 @@ declare const BalanceChangeEvent_base: (new (value: {
282
282
  amount: Int64;
283
283
  }) & {
284
284
  _isStruct: true;
285
- } & Omit<import("o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
285
+ } & Omit<import("node_modules/o1js/dist/node/lib/provable/types/provable-intf.js").Provable<{
286
286
  address: PublicKey;
287
287
  amount: Int64;
288
288
  }, {
@@ -292,7 +292,7 @@ declare const BalanceChangeEvent_base: (new (value: {
292
292
  };
293
293
  amount: any;
294
294
  }>, "fromFields"> & {
295
- fromFields: (fields: import("o1js/dist/node/lib/provable/field.js").Field[]) => {
295
+ fromFields: (fields: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[]) => {
296
296
  address: PublicKey;
297
297
  amount: Int64;
298
298
  };