@hinkal/common 0.2.40 → 0.3.2

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 (2297) hide show
  1. package/README.md +179 -155
  2. package/common/src/API/API.cjs +1 -0
  3. package/common/src/API/API.d.ts +97 -0
  4. package/common/src/API/API.mjs +99 -0
  5. package/common/src/API/TokenCallsCachedHelper.cjs +1 -0
  6. package/common/src/API/TokenCallsCachedHelper.d.ts +15 -0
  7. package/common/src/API/TokenCallsCachedHelper.mjs +62 -0
  8. package/common/src/API/admin-calls.cjs +1 -0
  9. package/common/src/API/admin-calls.mjs +8 -0
  10. package/common/src/API/callLifiAPI.d.ts +36 -0
  11. package/common/src/API/callMonitor.cjs +1 -0
  12. package/common/src/API/callMonitor.mjs +8 -0
  13. package/common/src/API/callNearIntentsAPI.cjs +1 -0
  14. package/common/src/API/callNearIntentsAPI.mjs +8 -0
  15. package/common/src/API/callOneInchAPI.cjs +1 -0
  16. package/common/src/API/callOneInchAPI.d.ts +24 -0
  17. package/common/src/API/callOneInchAPI.mjs +16 -0
  18. package/common/src/API/checkRisk.cjs +1 -0
  19. package/common/src/API/checkRisk.mjs +3 -0
  20. package/common/src/API/dashboardAccountMemberCalls.cjs +1 -0
  21. package/common/src/API/dashboardAccountMemberCalls.d.ts +49 -0
  22. package/common/src/API/dashboardAccountMemberCalls.mjs +19 -0
  23. package/common/src/API/dashboardPayoutCalls.cjs +1 -0
  24. package/common/src/API/dashboardPayoutCalls.d.ts +15 -0
  25. package/common/src/API/dashboardPayoutCalls.mjs +16 -0
  26. package/common/src/API/enclaveRecipientInfoCalls.cjs +1 -0
  27. package/common/src/API/enclaveRecipientInfoCalls.mjs +2 -0
  28. package/common/src/API/enclaveSignatureCalls.cjs +1 -0
  29. package/common/src/API/enclaveSignatureCalls.mjs +13 -0
  30. package/common/src/API/enclaveUtxoCalls.cjs +1 -0
  31. package/common/src/API/enclaveUtxoCalls.d.ts +54 -0
  32. package/common/src/API/enclaveUtxoCalls.mjs +23 -0
  33. package/common/src/API/getCoingeckoPrice.cjs +1 -0
  34. package/common/src/API/getCoingeckoPrice.mjs +2 -0
  35. package/common/src/API/getServerURL.cjs +1 -0
  36. package/common/src/API/getServerURL.mjs +22 -0
  37. package/common/src/API/getWebsiteURL.cjs +1 -0
  38. package/common/src/API/getWebsiteURL.d.ts +4 -0
  39. package/common/src/API/getWebsiteURL.mjs +1 -0
  40. package/common/src/API/index.cjs +1 -0
  41. package/common/src/API/index.d.ts +24 -0
  42. package/common/src/API/index.mjs +24 -0
  43. package/common/src/API/payoutNotificationStateCalls.cjs +1 -0
  44. package/common/src/API/payoutNotificationStateCalls.d.ts +10 -0
  45. package/common/src/API/payoutNotificationStateCalls.mjs +10 -0
  46. package/common/src/API/proxyAccountsCalls.cjs +1 -0
  47. package/common/src/API/proxyAccountsCalls.d.ts +5 -0
  48. package/common/src/API/proxyAccountsCalls.mjs +24 -0
  49. package/common/src/API/resolve-sns.cjs +1 -0
  50. package/common/src/API/resolve-sns.mjs +1 -0
  51. package/common/src/API/rewardsUserCalls.cjs +1 -0
  52. package/common/src/API/rewardsUserCalls.d.ts +23 -0
  53. package/common/src/API/rewardsUserCalls.mjs +9 -0
  54. package/common/src/API/scheduled-transactions-calls.d.ts +21 -0
  55. package/common/src/API/temporaryWalletCalls.cjs +1 -0
  56. package/common/src/API/temporaryWalletCalls.d.ts +15 -0
  57. package/common/src/API/temporaryWalletCalls.mjs +19 -0
  58. package/common/src/API/tenderly.api.cjs +1 -0
  59. package/common/src/API/tenderly.api.mjs +4 -0
  60. package/common/src/API/token-calls.cjs +1 -0
  61. package/common/src/API/token-calls.d.ts +4 -0
  62. package/common/src/API/token-calls.mjs +5 -0
  63. package/common/src/API/weeklyAnalyticCalls.cjs +1 -0
  64. package/common/src/API/weeklyAnalyticCalls.d.ts +12 -0
  65. package/common/src/API/weeklyAnalyticCalls.mjs +8 -0
  66. package/common/src/constants/activity.constants.cjs +1 -0
  67. package/common/src/constants/activity.constants.mjs +4 -0
  68. package/common/src/constants/addresses.constants.cjs +1 -0
  69. package/common/src/constants/addresses.constants.mjs +71 -0
  70. package/common/src/constants/auth.constants.cjs +1 -0
  71. package/common/src/constants/auth.constants.mjs +4 -0
  72. package/common/src/constants/bridging.constants.cjs +1 -0
  73. package/common/src/constants/bridging.constants.d.ts +33 -0
  74. package/common/src/constants/bridging.constants.mjs +25 -0
  75. package/common/src/constants/chains.constants.cjs +1 -0
  76. package/common/src/constants/chains.constants.d.ts +74 -0
  77. package/common/src/constants/chains.constants.mjs +285 -0
  78. package/common/src/constants/coingecko.constants.cjs +1 -0
  79. package/common/src/constants/coingecko.constants.d.ts +44 -0
  80. package/common/src/constants/coingecko.constants.mjs +6 -0
  81. package/common/src/constants/contracts.constants.cjs +1 -0
  82. package/common/src/constants/contracts.constants.mjs +36 -0
  83. package/common/src/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -0
  84. package/common/src/constants/deploy-data/deploy-data-arbMainnet.json.mjs +12 -0
  85. package/common/src/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -0
  86. package/common/src/constants/deploy-data/deploy-data-arcTestnet.json.mjs +10 -0
  87. package/common/src/constants/deploy-data/deploy-data-base.json.cjs +1 -0
  88. package/common/src/constants/deploy-data/deploy-data-base.json.mjs +12 -0
  89. package/common/src/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -0
  90. package/common/src/constants/deploy-data/deploy-data-ethMainnet.json.mjs +12 -0
  91. package/common/src/constants/deploy-data/deploy-data-localhost.json.cjs +1 -0
  92. package/common/src/constants/deploy-data/deploy-data-localhost.json.mjs +12 -0
  93. package/common/src/constants/deploy-data/deploy-data-optimism.json.cjs +1 -0
  94. package/common/src/constants/deploy-data/deploy-data-optimism.json.mjs +12 -0
  95. package/common/src/constants/deploy-data/deploy-data-optimismTest.json.cjs +1 -0
  96. package/common/src/constants/deploy-data/deploy-data-optimismTest.json.mjs +12 -0
  97. package/common/src/constants/deploy-data/deploy-data-polygon.json.cjs +1 -0
  98. package/common/src/constants/deploy-data/deploy-data-polygon.json.mjs +12 -0
  99. package/common/src/constants/deploy-data/deploy-data-sepoliaTestnet.json.cjs +1 -0
  100. package/common/src/constants/deploy-data/deploy-data-sepoliaTestnet.json.mjs +9 -0
  101. package/common/src/constants/deploy-data/deploy-data-solana.json.cjs +1 -0
  102. package/common/src/constants/deploy-data/deploy-data-solana.json.mjs +6 -0
  103. package/common/src/constants/deploy-data/deploy-data-tempo.json.cjs +1 -0
  104. package/common/src/constants/deploy-data/deploy-data-tempo.json.mjs +11 -0
  105. package/common/src/constants/deploy-data/deploy-data-tronMainnet.json.cjs +1 -0
  106. package/common/src/constants/deploy-data/deploy-data-tronMainnet.json.mjs +8 -0
  107. package/common/src/constants/deploy-data/deploy-data-tronNile.json.cjs +1 -0
  108. package/common/src/constants/deploy-data/deploy-data-tronNile.json.mjs +8 -0
  109. package/common/src/constants/deploy-data/index.cjs +1 -0
  110. package/common/src/constants/deploy-data/index.d.ts +14 -0
  111. package/common/src/constants/deploy-data/index.mjs +18 -0
  112. package/common/src/constants/deploy-data/mergeDeployData.cjs +1 -0
  113. package/common/src/constants/deploy-data/mergeDeployData.d.ts +4 -0
  114. package/common/src/constants/deploy-data/mergeDeployData.mjs +17 -0
  115. package/common/src/constants/deploy-data/shared-deploy-data-evm.json.cjs +1 -0
  116. package/common/src/constants/deploy-data/shared-deploy-data-evm.json.mjs +43 -0
  117. package/common/src/constants/deploy-data/shared-deploy-data-solana.json.cjs +1 -0
  118. package/common/src/constants/deploy-data/shared-deploy-data-solana.json.mjs +3 -0
  119. package/common/src/constants/deploy-data/shared-deploy-data-tron.json.cjs +1 -0
  120. package/common/src/constants/deploy-data/shared-deploy-data-tron.json.mjs +58 -0
  121. package/common/src/constants/enclaveAuth.constants.d.ts +5 -0
  122. package/common/src/constants/fees.constants.cjs +1 -0
  123. package/common/src/constants/fees.constants.mjs +14 -0
  124. package/common/src/constants/index.cjs +1 -0
  125. package/common/src/constants/index.d.ts +33 -0
  126. package/common/src/constants/index.mjs +20 -0
  127. package/common/src/constants/lifi.constants.cjs +1 -0
  128. package/common/src/constants/lifi.constants.mjs +9 -0
  129. package/common/src/constants/mediaUrls.constants.d.ts +43 -0
  130. package/common/src/constants/pay.constants.d.ts +2 -0
  131. package/common/src/constants/permit2.constants.cjs +1 -0
  132. package/common/src/constants/permit2.constants.mjs +10 -0
  133. package/common/src/constants/presale.constants.cjs +1 -0
  134. package/common/src/constants/presale.constants.mjs +3 -0
  135. package/common/src/constants/protocol.constants.cjs +2 -0
  136. package/common/src/constants/protocol.constants.d.ts +66 -0
  137. package/common/src/constants/protocol.constants.mjs +11 -0
  138. package/common/src/constants/rewards.constants.d.ts +2 -0
  139. package/common/src/constants/schedule.constants.cjs +1 -0
  140. package/common/src/constants/schedule.constants.mjs +3 -0
  141. package/common/src/constants/server.constants.cjs +1 -0
  142. package/common/src/constants/server.constants.d.ts +115 -0
  143. package/common/src/constants/server.constants.mjs +99 -0
  144. package/common/src/constants/tokens.constants.cjs +1 -0
  145. package/common/src/constants/tokens.constants.d.ts +5 -0
  146. package/common/src/constants/tokens.constants.mjs +6 -0
  147. package/common/src/constants/tx-confirmation.constants.cjs +1 -0
  148. package/common/src/constants/tx-confirmation.constants.mjs +4 -0
  149. package/common/src/constants/vite.constants.cjs +1 -0
  150. package/common/src/constants/vite.constants.d.ts +16 -0
  151. package/common/src/constants/vite.constants.mjs +8 -0
  152. package/common/src/crypto/babyJub.cjs +1 -0
  153. package/common/src/crypto/babyJub.mjs +13 -0
  154. package/common/src/crypto/ecdh-dual-path.cjs +1 -0
  155. package/common/src/crypto/ecdh-dual-path.mjs +6 -0
  156. package/common/src/crypto/ecdh-sealed-keys.cjs +1 -0
  157. package/common/src/crypto/ecdh.cjs +1 -0
  158. package/common/src/crypto/ecdh.mjs +2 -0
  159. package/common/src/crypto/eddsa.cjs +1 -0
  160. package/common/src/crypto/eddsa.mjs +13 -0
  161. package/common/src/crypto/index.cjs +1 -0
  162. package/common/src/crypto/index.mjs +7 -0
  163. package/common/src/crypto/poseidon.cjs +1 -0
  164. package/common/src/crypto/poseidon.mjs +23 -0
  165. package/common/src/crypto/preProcessing.cjs +1 -0
  166. package/common/src/crypto/preProcessing.mjs +17 -0
  167. package/common/src/data-structures/AccountActions/AccountActions.cjs +1 -0
  168. package/common/src/data-structures/Hinkal/Hinkal.cjs +1 -0
  169. package/common/src/data-structures/Hinkal/Hinkal.d.ts +122 -0
  170. package/common/src/data-structures/Hinkal/Hinkal.mjs +445 -0
  171. package/common/src/data-structures/Hinkal/IHinkal.d.ts +109 -0
  172. package/common/src/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -0
  173. package/common/src/data-structures/Hinkal/handleAutoDepositBack.mjs +93 -0
  174. package/common/src/data-structures/Hinkal/hinkalBridgePrivateToPrivate.cjs +1 -0
  175. package/common/src/data-structures/Hinkal/hinkalBridgePrivateToPrivate.d.ts +5 -0
  176. package/common/src/data-structures/Hinkal/hinkalBridgePrivateToPrivate.mjs +107 -0
  177. package/common/src/data-structures/Hinkal/hinkalClaimUtxo.cjs +1 -0
  178. package/common/src/data-structures/Hinkal/hinkalClaimUtxo.mjs +51 -0
  179. package/common/src/data-structures/Hinkal/hinkalDeposit.cjs +1 -0
  180. package/common/src/data-structures/Hinkal/hinkalDeposit.mjs +118 -0
  181. package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.cjs +1 -0
  182. package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.d.ts +4 -0
  183. package/common/src/data-structures/Hinkal/hinkalDepositAndBridge.mjs +118 -0
  184. package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -0
  185. package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +6 -0
  186. package/common/src/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +75 -0
  187. package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.cjs +1 -0
  188. package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.d.ts +8 -0
  189. package/common/src/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +44 -0
  190. package/common/src/data-structures/Hinkal/hinkalNearDepositAndBridge.cjs +1 -0
  191. package/common/src/data-structures/Hinkal/hinkalNearDepositAndBridge.mjs +43 -0
  192. package/common/src/data-structures/Hinkal/hinkalPalEvmDeposit.d.ts +9 -0
  193. package/common/src/data-structures/Hinkal/hinkalPalTronDepositPrepare.d.ts +9 -0
  194. package/common/src/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -0
  195. package/common/src/data-structures/Hinkal/hinkalPrivateWallet.mjs +48 -0
  196. package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -0
  197. package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +8 -0
  198. package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.mjs +136 -0
  199. package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.cjs +1 -0
  200. package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.d.ts +10 -0
  201. package/common/src/data-structures/Hinkal/hinkalProoflessDeposit.utils.mjs +63 -0
  202. package/common/src/data-structures/Hinkal/hinkalProxySwap.cjs +1 -0
  203. package/common/src/data-structures/Hinkal/hinkalProxySwap.mjs +24 -0
  204. package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.cjs +1 -0
  205. package/common/src/data-structures/Hinkal/hinkalProxyToPrivate.mjs +28 -0
  206. package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.cjs +1 -0
  207. package/common/src/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +86 -0
  208. package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -0
  209. package/common/src/data-structures/Hinkal/hinkalSolanaDeposit.mjs +96 -0
  210. package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -0
  211. package/common/src/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +164 -0
  212. package/common/src/data-structures/Hinkal/hinkalSolanaProxySend.cjs +1 -0
  213. package/common/src/data-structures/Hinkal/hinkalSolanaProxySend.mjs +36 -0
  214. package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -0
  215. package/common/src/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +69 -0
  216. package/common/src/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -0
  217. package/common/src/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +79 -0
  218. package/common/src/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -0
  219. package/common/src/data-structures/Hinkal/hinkalSolanaSwap.mjs +92 -0
  220. package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -0
  221. package/common/src/data-structures/Hinkal/hinkalSolanaTransfer.mjs +87 -0
  222. package/common/src/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -0
  223. package/common/src/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +68 -0
  224. package/common/src/data-structures/Hinkal/hinkalSwap.cjs +1 -0
  225. package/common/src/data-structures/Hinkal/hinkalSwap.mjs +42 -0
  226. package/common/src/data-structures/Hinkal/hinkalTransfer.cjs +1 -0
  227. package/common/src/data-structures/Hinkal/hinkalTransfer.mjs +49 -0
  228. package/common/src/data-structures/Hinkal/hinkalWithdraw.cjs +1 -0
  229. package/common/src/data-structures/Hinkal/hinkalWithdraw.mjs +50 -0
  230. package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -0
  231. package/common/src/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +113 -0
  232. package/common/src/data-structures/Hinkal/index.d.ts +24 -0
  233. package/common/src/data-structures/Hinkal/resetMerkleTrees.cjs +1 -0
  234. package/common/src/data-structures/Hinkal/resetMerkleTrees.mjs +54 -0
  235. package/common/src/data-structures/IndexedDB/activity-db.cjs +1 -0
  236. package/common/src/data-structures/IndexedDB/activity-db.mjs +110 -0
  237. package/common/src/data-structures/IndexedDB/balances-db.cjs +1 -0
  238. package/common/src/data-structures/IndexedDB/balances-db.mjs +47 -0
  239. package/common/src/data-structures/IndexedDB/contact-db.cjs +1 -0
  240. package/common/src/data-structures/IndexedDB/contact-db.d.ts +11 -0
  241. package/common/src/data-structures/IndexedDB/contact-db.mjs +45 -0
  242. package/common/src/data-structures/IndexedDB/index.cjs +1 -0
  243. package/common/src/data-structures/IndexedDB/index.d.ts +8 -0
  244. package/common/src/data-structures/IndexedDB/index.mjs +8 -0
  245. package/common/src/data-structures/IndexedDB/key-val-store.cjs +1 -0
  246. package/common/src/data-structures/IndexedDB/key-val-store.d.ts +8 -0
  247. package/common/src/data-structures/IndexedDB/key-val-store.mjs +57 -0
  248. package/common/src/data-structures/IndexedDB/pay-activity-db.cjs +1 -0
  249. package/common/src/data-structures/IndexedDB/pay-activity-db.mjs +21 -0
  250. package/common/src/data-structures/IndexedDB/prices-db.cjs +1 -0
  251. package/common/src/data-structures/IndexedDB/prices-db.mjs +54 -0
  252. package/common/src/data-structures/IndexedDB/private-balances-db.cjs +1 -0
  253. package/common/src/data-structures/IndexedDB/private-balances-db.d.ts +10 -0
  254. package/common/src/data-structures/IndexedDB/private-balances-db.mjs +24 -0
  255. package/common/src/data-structures/IndexedDB/signatures-db.cjs +1 -0
  256. package/common/src/data-structures/IndexedDB/signatures-db.mjs +40 -0
  257. package/common/src/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -0
  258. package/common/src/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +73 -0
  259. package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +1 -0
  260. package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.d.ts +19 -0
  261. package/common/src/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +172 -0
  262. package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.cjs +1 -0
  263. package/common/src/data-structures/TokenDBs/ArcPublicTokensDB.mjs +94 -0
  264. package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -0
  265. package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.d.ts +18 -0
  266. package/common/src/data-structures/TokenDBs/EventsPublicTokensDB.mjs +134 -0
  267. package/common/src/data-structures/TokenDBs/IPublicTokensDB.d.ts +6 -0
  268. package/common/src/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -0
  269. package/common/src/data-structures/TokenDBs/PrivateTokensDB.mjs +50 -0
  270. package/common/src/data-structures/TokenDBs/PublicTokensDB.cjs +1 -0
  271. package/common/src/data-structures/TokenDBs/PublicTokensDB.d.ts +9 -0
  272. package/common/src/data-structures/TokenDBs/PublicTokensDB.mjs +32 -0
  273. package/common/src/data-structures/TokenDBs/TempoPublicTokensDB.cjs +1 -0
  274. package/common/src/data-structures/TokenDBs/TempoPublicTokensDB.d.ts +9 -0
  275. package/common/src/data-structures/TokenDBs/TempoPublicTokensDB.mjs +41 -0
  276. package/common/src/data-structures/TokenDBs/TronPublicTokensDB.cjs +1 -0
  277. package/common/src/data-structures/TokenDBs/TronPublicTokensDB.d.ts +9 -0
  278. package/common/src/data-structures/TokenDBs/TronPublicTokensDB.mjs +47 -0
  279. package/common/src/data-structures/TokenDBs/token-visibility-db.cjs +1 -0
  280. package/common/src/data-structures/WalletManager/WalletManager.d.ts +52 -0
  281. package/common/src/data-structures/cacheDevices/BaseCacheDevice.cjs +1 -0
  282. package/common/src/data-structures/cacheDevices/BaseCacheDevice.d.ts +12 -0
  283. package/common/src/data-structures/cacheDevices/BaseCacheDevice.mjs +24 -0
  284. package/common/src/data-structures/cacheDevices/FileCacheDevice.cjs +1 -0
  285. package/common/src/data-structures/cacheDevices/FileCacheDevice.d.ts +13 -0
  286. package/common/src/data-structures/cacheDevices/FileCacheDevice.mjs +49 -0
  287. package/common/src/data-structures/crypto-keys/decodeUTXO.cjs +1 -0
  288. package/common/src/data-structures/crypto-keys/decodeUTXO.d.ts +27 -0
  289. package/common/src/data-structures/crypto-keys/decodeUTXO.mjs +68 -0
  290. package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -0
  291. package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.d.ts +17 -0
  292. package/common/src/data-structures/crypto-keys/encryptDecryptUtxo.mjs +43 -0
  293. package/common/src/data-structures/crypto-keys/index.cjs +1 -0
  294. package/common/src/data-structures/crypto-keys/index.mjs +4 -0
  295. package/common/src/data-structures/crypto-keys/keys.cjs +1 -0
  296. package/common/src/data-structures/crypto-keys/keys.d.ts +116 -0
  297. package/common/src/data-structures/crypto-keys/keys.mjs +146 -0
  298. package/common/src/data-structures/event-service/evm/AbstractNullifierSnapshotService.cjs +1 -0
  299. package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -0
  300. package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +36 -0
  301. package/common/src/data-structures/event-service/evm/BlockchainEventEmitter.mjs +98 -0
  302. package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.cjs +1 -0
  303. package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.d.ts +11 -0
  304. package/common/src/data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs +21 -0
  305. package/common/src/data-structures/event-service/evm/PollingBlockchainEventEmitter.cjs +1 -0
  306. package/common/src/data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs +1 -0
  307. package/common/src/data-structures/event-service/helpers/ClientEventHelper.cjs +1 -0
  308. package/common/src/data-structures/event-service/helpers/ClientEventHelper.mjs +28 -0
  309. package/common/src/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.cjs +1 -0
  310. package/common/src/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +98 -0
  311. package/common/src/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.cjs +1 -0
  312. package/common/src/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.d.ts +11 -0
  313. package/common/src/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.cjs +1 -0
  314. package/common/src/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs +1 -0
  315. package/common/src/data-structures/event-service/solana/SolanaBlockchainEventEmitter.cjs +1 -0
  316. package/common/src/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +42 -0
  317. package/common/src/data-structures/http/BasicHttpClient.cjs +1 -0
  318. package/common/src/data-structures/index.d.ts +22 -0
  319. package/common/src/data-structures/private-balances/BalanceChangedHandler.cjs +1 -0
  320. package/common/src/data-structures/private-balances/BalanceChangedHandler.d.ts +9 -0
  321. package/common/src/data-structures/private-balances/BalanceChangedHandler.mjs +12 -0
  322. package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.cjs +1 -0
  323. package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.d.ts +21 -0
  324. package/common/src/data-structures/private-balances/HinkalPrivateBalanceController.mjs +183 -0
  325. package/common/src/data-structures/private-balances/index.cjs +1 -0
  326. package/common/src/data-structures/private-balances/index.d.ts +3 -0
  327. package/common/src/data-structures/private-balances/index.mjs +3 -0
  328. package/common/src/data-structures/private-balances/privateBalancesReducer.cjs +1 -0
  329. package/common/src/data-structures/private-balances/privateBalancesReducer.d.ts +2 -0
  330. package/common/src/data-structures/private-balances/privateBalancesReducer.mjs +73 -0
  331. package/common/src/data-structures/provider-adapter/IProviderAdapter.d.ts +39 -0
  332. package/common/src/data-structures/token-price-fetcher/TokenChecker.cjs +1 -0
  333. package/common/src/data-structures/token-price-fetcher/TokenChecker.mjs +17 -0
  334. package/common/src/data-structures/utxo/Utxo.cjs +1 -0
  335. package/common/src/data-structures/utxo/Utxo.d.ts +66 -0
  336. package/common/src/data-structures/utxo/Utxo.mjs +106 -0
  337. package/common/src/error-handling/customErrors/customErrors.helpers.cjs +1 -0
  338. package/common/src/error-handling/customErrors/customErrors.helpers.mjs +14 -0
  339. package/common/src/error-handling/customErrors/index.cjs +1 -0
  340. package/common/src/error-handling/customErrors/index.mjs +4 -0
  341. package/common/src/error-handling/error-codes.constants.cjs +2 -0
  342. package/common/src/error-handling/error-codes.constants.d.ts +248 -0
  343. package/common/src/error-handling/error-codes.constants.mjs +238 -0
  344. package/common/src/error-handling/get-error.message.cjs +1 -0
  345. package/common/src/error-handling/get-error.message.mjs +75 -0
  346. package/common/src/error-handling/index.cjs +1 -0
  347. package/common/src/error-handling/index.d.ts +7 -0
  348. package/common/src/error-handling/index.mjs +11 -0
  349. package/common/src/externalABIs/index.cjs +1 -0
  350. package/common/src/externalABIs/index.mjs +11 -0
  351. package/common/src/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.cjs +1 -0
  352. package/common/src/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.mjs +21 -0
  353. package/common/src/functions/auto-deposit-back-helpers/select-gas-token.cjs +1 -0
  354. package/common/src/functions/auto-deposit-back-helpers/select-gas-token.mjs +34 -0
  355. package/common/src/functions/auto-deposit-back-helpers/update-hinkal.cjs +1 -0
  356. package/common/src/functions/auto-deposit-back-helpers/update-hinkal.d.ts +2 -0
  357. package/common/src/functions/auto-deposit-back-helpers/update-hinkal.mjs +22 -0
  358. package/common/src/functions/index.cjs +1 -0
  359. package/common/src/functions/index.d.ts +12 -0
  360. package/common/src/functions/index.mjs +86 -0
  361. package/common/src/functions/pre-transaction/addressTableLookup.cjs +1 -0
  362. package/common/src/functions/pre-transaction/addressTableLookup.mjs +2 -0
  363. package/common/src/functions/pre-transaction/buildCommitmentValidationData.cjs +1 -0
  364. package/common/src/functions/pre-transaction/buildCommitmentValidationData.mjs +64 -0
  365. package/common/src/functions/pre-transaction/calculateSolanaNullifierCount.cjs +1 -0
  366. package/common/src/functions/pre-transaction/calculateSolanaNullifierCount.mjs +5 -0
  367. package/common/src/functions/pre-transaction/convert-okx-instructions.cjs +1 -0
  368. package/common/src/functions/pre-transaction/ensureAmountChanges.cjs +1 -0
  369. package/common/src/functions/pre-transaction/getExternalSwapAddress.cjs +1 -0
  370. package/common/src/functions/pre-transaction/getExternalSwapAddress.mjs +27 -0
  371. package/common/src/functions/pre-transaction/getFeeStructure.cjs +1 -0
  372. package/common/src/functions/pre-transaction/getFeeStructure.mjs +20 -0
  373. package/common/src/functions/pre-transaction/getSolanaCalldataHash.cjs +1 -0
  374. package/common/src/functions/pre-transaction/getVolatileTransferAmount.cjs +1 -0
  375. package/common/src/functions/pre-transaction/getVolatileTransferAmount.mjs +32 -0
  376. package/common/src/functions/pre-transaction/index.cjs +1 -0
  377. package/common/src/functions/pre-transaction/index.d.ts +19 -0
  378. package/common/src/functions/pre-transaction/index.mjs +18 -0
  379. package/common/src/functions/pre-transaction/interaction-to-action.cjs +1 -0
  380. package/common/src/functions/pre-transaction/interaction-to-action.mjs +1 -0
  381. package/common/src/functions/pre-transaction/merge-with-fee-structure-emporium.cjs +1 -0
  382. package/common/src/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +16 -0
  383. package/common/src/functions/pre-transaction/merge-with-fee-structure.cjs +1 -0
  384. package/common/src/functions/pre-transaction/merge-with-fee-structure.d.ts +2 -0
  385. package/common/src/functions/pre-transaction/merge-with-fee-structure.mjs +24 -0
  386. package/common/src/functions/pre-transaction/outputUtxoProcessing.cjs +1 -0
  387. package/common/src/functions/pre-transaction/outputUtxoProcessing.mjs +31 -0
  388. package/common/src/functions/pre-transaction/process-gas-estimates.cjs +1 -0
  389. package/common/src/functions/pre-transaction/process-gas-estimates.mjs +25 -0
  390. package/common/src/functions/pre-transaction/recipientUtxoProcessing.cjs +1 -0
  391. package/common/src/functions/pre-transaction/recipientUtxoProcessing.mjs +30 -0
  392. package/common/src/functions/pre-transaction/sendInitNullifiersTransaction.cjs +1 -0
  393. package/common/src/functions/pre-transaction/sendInitNullifiersTransaction.mjs +3 -0
  394. package/common/src/functions/pre-transaction/sendV0Transaction.cjs +2 -0
  395. package/common/src/functions/pre-transaction/sendV0Transaction.mjs +99 -0
  396. package/common/src/functions/pre-transaction/solana-public-signals.d.ts +22 -0
  397. package/common/src/functions/pre-transaction/solana.cjs +1 -0
  398. package/common/src/functions/pre-transaction/solana.mjs +34 -0
  399. package/common/src/functions/pre-transaction/solanaTransfer.utils.cjs +1 -0
  400. package/common/src/functions/pre-transaction/store-instructions.cjs +1 -0
  401. package/common/src/functions/pre-transaction/store-instructions.mjs +2 -0
  402. package/common/src/functions/pre-transaction/store-proof.cjs +1 -0
  403. package/common/src/functions/pre-transaction/store-proof.mjs +3 -0
  404. package/common/src/functions/private-wallet/emporium.helpers.cjs +1 -0
  405. package/common/src/functions/private-wallet/emporium.helpers.d.ts +46 -0
  406. package/common/src/functions/private-wallet/emporium.helpers.mjs +165 -0
  407. package/common/src/functions/private-wallet/emporium.swap.helpers.cjs +1 -0
  408. package/common/src/functions/private-wallet/emporium.swap.helpers.mjs +107 -0
  409. package/common/src/functions/private-wallet/opProducer.cjs +1 -0
  410. package/common/src/functions/private-wallet/opProducer.mjs +3 -0
  411. package/common/src/functions/snarkjs/common.snarkjs.cjs +1 -0
  412. package/common/src/functions/snarkjs/common.snarkjs.d.ts +31 -0
  413. package/common/src/functions/snarkjs/common.snarkjs.mjs +91 -0
  414. package/common/src/functions/snarkjs/constant.cjs +1 -0
  415. package/common/src/functions/snarkjs/constant.d.ts +156 -0
  416. package/common/src/functions/snarkjs/constant.mjs +158 -0
  417. package/common/src/functions/snarkjs/constructGeneralZkProof.cjs +1 -0
  418. package/common/src/functions/snarkjs/constructGeneralZkProof.d.ts +13 -0
  419. package/common/src/functions/snarkjs/constructGeneralZkProof.mjs +81 -0
  420. package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.cjs +1 -0
  421. package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.d.ts +7 -0
  422. package/common/src/functions/snarkjs/constructSignatureFromMnemonicProofInput.mjs +2 -0
  423. package/common/src/functions/snarkjs/constructSolanaZkProof.cjs +1 -0
  424. package/common/src/functions/snarkjs/constructSolanaZkProof.mjs +69 -0
  425. package/common/src/functions/snarkjs/fetchMerkleTreeSiblings.d.ts +9 -0
  426. package/common/src/functions/snarkjs/fetchOnChainRootHashes.cjs +1 -0
  427. package/common/src/functions/snarkjs/fetchOnChainRootHashes.d.ts +4 -0
  428. package/common/src/functions/snarkjs/fetchOnChainRootHashes.mjs +36 -0
  429. package/common/src/functions/snarkjs/generateCircomData.cjs +1 -0
  430. package/common/src/functions/snarkjs/generateCircomData.d.ts +5 -0
  431. package/common/src/functions/snarkjs/generateCircomData.mjs +37 -0
  432. package/common/src/functions/snarkjs/generateSignatureFromMnemonicProof.cjs +1 -0
  433. package/common/src/functions/snarkjs/generateSignatureFromMnemonicProof.d.ts +2 -0
  434. package/common/src/functions/snarkjs/generateSignatureFromMnemonicProof.mjs +3 -0
  435. package/common/src/functions/snarkjs/generateZkProofEnclave.cjs +1 -0
  436. package/common/src/functions/snarkjs/generateZkProofEnclave.mjs +27 -0
  437. package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.cjs +1 -0
  438. package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +17 -0
  439. package/common/src/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +100 -0
  440. package/common/src/functions/snarkjs/getZKFiles.cjs +1 -0
  441. package/common/src/functions/snarkjs/getZKFiles.mjs +13 -0
  442. package/common/src/functions/snarkjs/index.cjs +1 -0
  443. package/common/src/functions/snarkjs/index.d.ts +10 -0
  444. package/common/src/functions/snarkjs/index.mjs +10 -0
  445. package/common/src/functions/snarkjs/signedMessageHash.cjs +1 -0
  446. package/common/src/functions/snarkjs/signedMessageHash.d.ts +32 -0
  447. package/common/src/functions/snarkjs/signedMessageHash.mjs +51 -0
  448. package/common/src/functions/snarkjs/verifyCommitmentValidationData.cjs +1 -0
  449. package/common/src/functions/snarkjs/verifyCommitmentValidationData.mjs +6 -0
  450. package/common/src/functions/utils/abi.utils.cjs +1 -0
  451. package/common/src/functions/utils/abi.utils.d.ts +3 -0
  452. package/common/src/functions/utils/abi.utils.mjs +5 -0
  453. package/common/src/functions/utils/addresses.cjs +1 -0
  454. package/common/src/functions/utils/addresses.d.ts +10 -0
  455. package/common/src/functions/utils/addresses.mjs +29 -0
  456. package/common/src/functions/utils/amounts.utils.cjs +1 -0
  457. package/common/src/functions/utils/amounts.utils.mjs +29 -0
  458. package/common/src/functions/utils/bridge-claimable.utils.cjs +1 -0
  459. package/common/src/functions/utils/bridge-claimable.utils.d.ts +16 -0
  460. package/common/src/functions/utils/bridge-claimable.utils.mjs +3 -0
  461. package/common/src/functions/utils/bridge-flow.utils.cjs +1 -0
  462. package/common/src/functions/utils/bridge-flow.utils.d.ts +4 -0
  463. package/common/src/functions/utils/bridge-flow.utils.mjs +2 -0
  464. package/common/src/functions/utils/buildClaimableDepositPlan.cjs +1 -0
  465. package/common/src/functions/utils/buildClaimableDepositPlan.d.ts +17 -0
  466. package/common/src/functions/utils/buildClaimableDepositPlan.mjs +4 -0
  467. package/common/src/functions/utils/bytes32.utils.cjs +1 -0
  468. package/common/src/functions/utils/bytes32.utils.mjs +9 -0
  469. package/common/src/functions/utils/cacheDevice.utils.mjs +17 -0
  470. package/common/src/functions/utils/cacheFunctions.cjs +1 -0
  471. package/common/src/functions/utils/cacheFunctions.mjs +25 -0
  472. package/common/src/functions/utils/caseInsensitive.utils.cjs +1 -0
  473. package/common/src/functions/utils/caseInsensitive.utils.mjs +4 -0
  474. package/common/src/functions/utils/convertEmporiumOpToCallInfo.cjs +1 -0
  475. package/common/src/functions/utils/convertEmporiumOpToCallInfo.mjs +14 -0
  476. package/common/src/functions/utils/convertIntegrationProviderToExternalActionId.cjs +1 -0
  477. package/common/src/functions/utils/convertIntegrationProviderToExternalActionId.mjs +4 -0
  478. package/common/src/functions/utils/create-provider.cjs +1 -0
  479. package/common/src/functions/utils/create-provider.d.ts +4 -0
  480. package/common/src/functions/utils/create-provider.mjs +11 -0
  481. package/common/src/functions/utils/customEnclaveFunctionsRegister.cjs +1 -0
  482. package/common/src/functions/utils/customEnclaveFunctionsRegister.mjs +4 -0
  483. package/common/src/functions/utils/deposit-claimable.utils.cjs +1 -0
  484. package/common/src/functions/utils/deposit-claimable.utils.mjs +10 -0
  485. package/common/src/functions/utils/dispatchBalanceRefreshes.cjs +1 -0
  486. package/common/src/functions/utils/dispatchBalanceRefreshes.mjs +4 -0
  487. package/common/src/functions/utils/enclave-recipient-info-storage.cjs +1 -0
  488. package/common/src/functions/utils/enclave-recipient-info-storage.mjs +2 -0
  489. package/common/src/functions/utils/enclave-utxo-storage.cjs +1 -0
  490. package/common/src/functions/utils/enclave-utxo-storage.d.ts +10 -0
  491. package/common/src/functions/utils/enclave-utxo-storage.mjs +4 -0
  492. package/common/src/functions/utils/enclaveHandshakeService.cjs +1 -0
  493. package/common/src/functions/utils/enclaveHandshakeService.mjs +22 -0
  494. package/common/src/functions/utils/enclaveSessionSigning.cjs +1 -0
  495. package/common/src/functions/utils/enclaveSessionSigning.d.ts +16 -0
  496. package/common/src/functions/utils/enclaveSessionSigning.mjs +2 -0
  497. package/common/src/functions/utils/encodeTokenWithId.cjs +1 -0
  498. package/common/src/functions/utils/encodeTokenWithId.d.ts +1 -0
  499. package/common/src/functions/utils/encodeTokenWithId.mjs +5 -0
  500. package/common/src/functions/utils/encryptInputForEnclave.cjs +1 -0
  501. package/common/src/functions/utils/erc20tokenFunctions.cjs +1 -0
  502. package/common/src/functions/utils/erc20tokenFunctions.d.ts +20 -0
  503. package/common/src/functions/utils/erc20tokenFunctions.mjs +37 -0
  504. package/common/src/functions/utils/evmNetworkFunctions.cjs +1 -0
  505. package/common/src/functions/utils/evmNetworkFunctions.d.ts +4 -0
  506. package/common/src/functions/utils/evmNetworkFunctions.mjs +5 -0
  507. package/common/src/functions/utils/external-action.utils.cjs +1 -0
  508. package/common/src/functions/utils/external-action.utils.mjs +6 -0
  509. package/common/src/functions/utils/fees.utils.cjs +1 -0
  510. package/common/src/functions/utils/fees.utils.d.ts +7 -0
  511. package/common/src/functions/utils/fees.utils.mjs +44 -0
  512. package/common/src/functions/utils/formatter.cjs +1 -0
  513. package/common/src/functions/utils/formatter.d.ts +2 -0
  514. package/common/src/functions/utils/formatter.mjs +1 -0
  515. package/common/src/functions/utils/getBlockExplorerUrl.cjs +1 -0
  516. package/common/src/functions/utils/getBlockExplorerUrl.mjs +1 -0
  517. package/common/src/functions/utils/getDataFromTransaction.d.ts +34 -0
  518. package/common/src/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -0
  519. package/common/src/functions/utils/getRecipientInfoFromUserKeys.mjs +19 -0
  520. package/common/src/functions/utils/getSignerFromContract.cjs +1 -0
  521. package/common/src/functions/utils/getUtxosFromReceipt.utils.cjs +1 -0
  522. package/common/src/functions/utils/getUtxosFromReceipt.utils.mjs +53 -0
  523. package/common/src/functions/utils/getUtxosFromReceiptSolana.cjs +1 -0
  524. package/common/src/functions/utils/getUtxosFromReceiptSolana.mjs +24 -0
  525. package/common/src/functions/utils/inLogicMetadata.cjs +1 -0
  526. package/common/src/functions/utils/inLogicMetadata.mjs +1 -0
  527. package/common/src/functions/utils/index.cjs +1 -0
  528. package/common/src/functions/utils/index.d.ts +82 -0
  529. package/common/src/functions/utils/index.mjs +85 -0
  530. package/common/src/functions/utils/ipfs.cjs +1 -0
  531. package/common/src/functions/utils/ipfs.mjs +1 -0
  532. package/common/src/functions/utils/legacyKeys.cjs +1 -0
  533. package/common/src/functions/utils/legacyKeys.d.ts +10 -0
  534. package/common/src/functions/utils/legacyKeys.mjs +8 -0
  535. package/common/src/functions/utils/lifi.utils.cjs +1 -0
  536. package/common/src/functions/utils/lifi.utils.d.ts +5 -0
  537. package/common/src/functions/utils/lifi.utils.mjs +6 -0
  538. package/common/src/functions/utils/map.utils.cjs +1 -0
  539. package/common/src/functions/utils/map.utils.d.ts +1 -0
  540. package/common/src/functions/utils/map.utils.mjs +9 -0
  541. package/common/src/functions/utils/mnemonics.cjs +1 -0
  542. package/common/src/functions/utils/mnemonics.mjs +6 -0
  543. package/common/src/functions/utils/mutexes.utils.cjs +1 -0
  544. package/common/src/functions/utils/mutexes.utils.d.ts +2 -0
  545. package/common/src/functions/utils/mutexes.utils.mjs +6 -0
  546. package/common/src/functions/utils/nearIntents.utils.cjs +1 -0
  547. package/common/src/functions/utils/nearIntents.utils.d.ts +11 -0
  548. package/common/src/functions/utils/nearIntents.utils.mjs +17 -0
  549. package/common/src/functions/utils/networks.utils.cjs +1 -0
  550. package/common/src/functions/utils/networks.utils.d.ts +2 -0
  551. package/common/src/functions/utils/networks.utils.mjs +1 -0
  552. package/common/src/functions/utils/nftTokenFunctions.cjs +1 -0
  553. package/common/src/functions/utils/nftTokenFunctions.mjs +2 -0
  554. package/common/src/functions/utils/prepareHinkal.cjs +1 -0
  555. package/common/src/functions/utils/prepareHinkal.d.ts +9 -0
  556. package/common/src/functions/utils/prepareHinkal.mjs +8 -0
  557. package/common/src/functions/utils/process.utils.cjs +1 -0
  558. package/common/src/functions/utils/process.utils.d.ts +14 -0
  559. package/common/src/functions/utils/process.utils.mjs +24 -0
  560. package/common/src/functions/utils/proxyAvatar.utils.cjs +1 -0
  561. package/common/src/functions/utils/proxyAvatar.utils.mjs +3 -0
  562. package/common/src/functions/utils/publicBalance.utils.cjs +1 -0
  563. package/common/src/functions/utils/publicBalance.utils.mjs +36 -0
  564. package/common/src/functions/utils/resolve-domain-address.cjs +1 -0
  565. package/common/src/functions/utils/resolve-domain-address.d.ts +4 -0
  566. package/common/src/functions/utils/resolve-domain-address.mjs +3 -0
  567. package/common/src/functions/utils/resolve-sync.utils.cjs +1 -0
  568. package/common/src/functions/utils/resolve-sync.utils.mjs +20 -0
  569. package/common/src/functions/utils/rpc-int-encode.cjs +1 -0
  570. package/common/src/functions/utils/rpc-int-encode.mjs +1 -0
  571. package/common/src/functions/utils/serialize-utxos.utils.cjs +1 -0
  572. package/common/src/functions/utils/serialize-utxos.utils.mjs +22 -0
  573. package/common/src/functions/utils/serialize.utils.cjs +1 -0
  574. package/common/src/functions/utils/serialize.utils.mjs +7 -0
  575. package/common/src/functions/utils/solana-memo.cjs +1 -0
  576. package/common/src/functions/utils/solana-memo.mjs +3 -0
  577. package/common/src/functions/utils/solanaMint.utils.cjs +1 -0
  578. package/common/src/functions/utils/solanaSendPreflight.utils.cjs +1 -0
  579. package/common/src/functions/utils/solanaSendPreflight.utils.mjs +1 -0
  580. package/common/src/functions/utils/string.utils.cjs +1 -0
  581. package/common/src/functions/utils/string.utils.mjs +18 -0
  582. package/common/src/functions/utils/temp-wallet.utils.cjs +1 -0
  583. package/common/src/functions/utils/temp-wallet.utils.d.ts +7 -0
  584. package/common/src/functions/utils/temp-wallet.utils.mjs +22 -0
  585. package/common/src/functions/utils/time.utils.cjs +1 -0
  586. package/common/src/functions/utils/time.utils.mjs +8 -0
  587. package/common/src/functions/utils/token-check.utils.cjs +1 -0
  588. package/common/src/functions/utils/token-check.utils.d.ts +4 -0
  589. package/common/src/functions/utils/token-check.utils.mjs +12 -0
  590. package/common/src/functions/utils/transfer-claimable.utils.cjs +1 -0
  591. package/common/src/functions/utils/transfer-claimable.utils.mjs +10 -0
  592. package/common/src/functions/utils/tron.utils.cjs +1 -0
  593. package/common/src/functions/utils/tron.utils.d.ts +44 -0
  594. package/common/src/functions/utils/tron.utils.mjs +179 -0
  595. package/common/src/functions/utils/tx-confirmation.utils.cjs +1 -0
  596. package/common/src/functions/utils/tx-confirmation.utils.mjs +34 -0
  597. package/common/src/functions/utils/userAgent.cjs +1 -0
  598. package/common/src/functions/utils/userAgent.mjs +3 -0
  599. package/common/src/functions/utils/validateWalletAddress.cjs +1 -0
  600. package/common/src/functions/utils/validateWalletAddress.d.ts +1 -0
  601. package/common/src/functions/utils/validateWalletAddress.mjs +2 -0
  602. package/common/src/functions/utils/voidWallets.utils.cjs +1 -0
  603. package/common/src/functions/utils/voidWallets.utils.d.ts +4 -0
  604. package/common/src/functions/utils/voidWallets.utils.mjs +1 -0
  605. package/common/src/functions/utils/walletBalances.utils.cjs +1 -0
  606. package/common/src/functions/utils/walletBalances.utils.mjs +1 -0
  607. package/common/src/functions/web3/EIP-712.cjs +1 -0
  608. package/common/src/functions/web3/EIP-712.mjs +1 -0
  609. package/common/src/functions/web3/connectors.utils.cjs +1 -0
  610. package/common/src/functions/web3/connectors.utils.d.ts +9 -0
  611. package/common/src/functions/web3/connectors.utils.mjs +1 -0
  612. package/common/src/functions/web3/etherFunctions.cjs +1 -0
  613. package/common/src/functions/web3/etherFunctions.d.ts +21 -0
  614. package/common/src/functions/web3/etherFunctions.mjs +21 -0
  615. package/common/src/functions/web3/events/getInputUtxoAndBalance.cjs +1 -0
  616. package/common/src/functions/web3/events/getInputUtxoAndBalance.d.ts +36 -0
  617. package/common/src/functions/web3/events/getInputUtxoAndBalance.mjs +105 -0
  618. package/common/src/functions/web3/events/getInputUtxosEnclave.cjs +1 -0
  619. package/common/src/functions/web3/events/getInputUtxosEnclave.mjs +56 -0
  620. package/common/src/functions/web3/events/getShieldedBalance.cjs +1 -0
  621. package/common/src/functions/web3/events/getShieldedBalance.d.ts +18 -0
  622. package/common/src/functions/web3/events/getShieldedBalance.mjs +106 -0
  623. package/common/src/functions/web3/events/getTransactionLogEvents.cjs +1 -0
  624. package/common/src/functions/web3/events/getTransactionLogEvents.mjs +2 -0
  625. package/common/src/functions/web3/events/index.cjs +1 -0
  626. package/common/src/functions/web3/events/index.d.ts +3 -0
  627. package/common/src/functions/web3/events/index.mjs +3 -0
  628. package/common/src/functions/web3/functionCalls/approveToken.cjs +1 -0
  629. package/common/src/functions/web3/functionCalls/approveToken.d.ts +4 -0
  630. package/common/src/functions/web3/functionCalls/approveToken.mjs +27 -0
  631. package/common/src/functions/web3/functionCalls/constructBatchCall.cjs +1 -0
  632. package/common/src/functions/web3/functionCalls/constructBatchCall.d.ts +7 -0
  633. package/common/src/functions/web3/functionCalls/constructBatchCall.mjs +64 -0
  634. package/common/src/functions/web3/functionCalls/recoverTransactionFromError.cjs +1 -0
  635. package/common/src/functions/web3/functionCalls/recoverTransactionFromError.mjs +18 -0
  636. package/common/src/functions/web3/functionCalls/transactCallDirect.cjs +1 -0
  637. package/common/src/functions/web3/functionCalls/transactCallDirect.mjs +60 -0
  638. package/common/src/functions/web3/functionCalls/transactCallDirectTron.cjs +1 -0
  639. package/common/src/functions/web3/functionCalls/transactCallDirectTron.mjs +125 -0
  640. package/common/src/functions/web3/functionCalls/transactCallRelayer.cjs +1 -0
  641. package/common/src/functions/web3/functionCalls/transactCallRelayer.mjs +63 -0
  642. package/common/src/functions/web3/functionCalls/waitForErc20Approvals.cjs +1 -0
  643. package/common/src/functions/web3/functionCalls/waitForErc20Approvals.mjs +41 -0
  644. package/common/src/functions/web3/getContractMetadata.cjs +1 -0
  645. package/common/src/functions/web3/getContractMetadata.mjs +23 -0
  646. package/common/src/functions/web3/getPublicAddressBalance.cjs +1 -0
  647. package/common/src/functions/web3/getPublicAddressBalance.mjs +10 -0
  648. package/common/src/functions/web3/getTokenHolder.cjs +1 -0
  649. package/common/src/functions/web3/getTokenHolder.mjs +7 -0
  650. package/common/src/functions/web3/index.cjs +1 -0
  651. package/common/src/functions/web3/index.mjs +15 -0
  652. package/common/src/functions/web3/lifiAPI.cjs +1 -0
  653. package/common/src/functions/web3/lifiAPI.mjs +38 -0
  654. package/common/src/functions/web3/odosAPI.cjs +1 -0
  655. package/common/src/functions/web3/odosAPI.mjs +35 -0
  656. package/common/src/functions/web3/okxAPI.cjs +1 -0
  657. package/common/src/functions/web3/oneInchAPI.cjs +1 -0
  658. package/common/src/functions/web3/oneInchAPI.mjs +44 -0
  659. package/common/src/functions/web3/runContractFunction.cjs +1 -0
  660. package/common/src/functions/web3/runContractFunction.mjs +1 -0
  661. package/common/src/functions/web3/signAndSendSerializedTransaction.cjs +1 -0
  662. package/common/src/functions/web3/signAndSendSerializedTransaction.mjs +1 -0
  663. package/common/src/functions/web3/uniswapAPI.cjs +1 -0
  664. package/common/src/functions/web3/uniswapAPI.mjs +60 -0
  665. package/common/src/index.d.ts +9 -0
  666. package/common/src/mutexes/chainBalanceRwLock.cjs +1 -0
  667. package/common/src/mutexes/chainBalanceRwLock.d.ts +18 -0
  668. package/common/src/mutexes/chainBalanceRwLock.mjs +31 -0
  669. package/common/src/mutexes/index.d.ts +2 -0
  670. package/common/src/mutexes/mutex.cjs +1 -0
  671. package/common/src/mutexes/mutex.mjs +3 -0
  672. package/common/src/providers/EthersProviderAdapter.cjs +1 -0
  673. package/common/src/providers/EthersProviderAdapter.d.ts +35 -0
  674. package/common/src/providers/EthersProviderAdapter.mjs +98 -0
  675. package/common/src/providers/SolanaProviderAdapter.cjs +1 -0
  676. package/common/src/providers/SolanaProviderAdapter.d.ts +51 -0
  677. package/common/src/providers/SolanaProviderAdapter.mjs +144 -0
  678. package/common/src/providers/TronProviderAdapter.cjs +1 -0
  679. package/common/src/providers/TronProviderAdapter.d.ts +38 -0
  680. package/common/src/providers/TronProviderAdapter.mjs +94 -0
  681. package/common/src/providers/WagmiProviderAdapter.cjs +1 -0
  682. package/common/src/providers/WagmiProviderAdapter.d.ts +47 -0
  683. package/common/src/providers/WagmiProviderAdapter.mjs +194 -0
  684. package/common/src/types/API.types.d.ts +21 -0
  685. package/common/src/types/WeeklyAnalytics.types.d.ts +12 -0
  686. package/common/src/types/activities.types.cjs +1 -0
  687. package/common/src/types/activities.types.mjs +10 -0
  688. package/common/src/types/admin.types.cjs +1 -0
  689. package/common/src/types/admin.types.d.ts +43 -0
  690. package/common/src/types/admin.types.mjs +6 -0
  691. package/common/src/types/balances.types.cjs +1 -0
  692. package/common/src/types/balances.types.d.ts +39 -0
  693. package/common/src/types/balances.types.mjs +6 -0
  694. package/common/src/types/bridging-tx.types.d.ts +35 -0
  695. package/common/src/types/cache.types.cjs +1 -0
  696. package/common/src/types/cache.types.d.ts +60 -0
  697. package/common/src/types/cache.types.mjs +6 -0
  698. package/common/src/types/circom-data.types.cjs +1 -0
  699. package/common/src/types/circom-data.types.d.ts +106 -0
  700. package/common/src/types/circom-data.types.mjs +10 -0
  701. package/common/src/types/dashboard-account.d.ts +116 -0
  702. package/common/src/types/dashboard-payout.types.d.ts +30 -0
  703. package/common/src/types/eip5792.types.cjs +1 -0
  704. package/common/src/types/eip5792.types.mjs +6 -0
  705. package/common/src/types/enclaveApi.types.d.ts +78 -0
  706. package/common/src/types/ethereum-network.types.cjs +1 -0
  707. package/common/src/types/ethereum-network.types.d.ts +52 -0
  708. package/common/src/types/ethereum-network.types.mjs +6 -0
  709. package/common/src/types/external-action.types.cjs +1 -0
  710. package/common/src/types/external-action.types.d.ts +16 -0
  711. package/common/src/types/external-action.types.mjs +6 -0
  712. package/common/src/types/fee.types.d.ts +13 -0
  713. package/common/src/types/hinkal.types.cjs +1 -0
  714. package/common/src/types/hinkal.types.d.ts +85 -0
  715. package/common/src/types/hinkal.types.mjs +20 -0
  716. package/common/src/types/index.cjs +1 -0
  717. package/common/src/types/index.d.ts +58 -0
  718. package/common/src/types/index.mjs +17 -0
  719. package/common/src/types/new-rewards.type.d.ts +82 -0
  720. package/common/src/types/payout-notification.types.d.ts +11 -0
  721. package/common/src/types/proxy-progress.types.d.ts +5 -0
  722. package/common/src/types/scheduled-transactions.types.cjs +1 -0
  723. package/common/src/types/scheduled-transactions.types.d.ts +54 -0
  724. package/common/src/types/scheduled-transactions.types.mjs +6 -0
  725. package/common/src/types/snark.types.d.ts +38 -0
  726. package/common/src/types/token.types.cjs +1 -0
  727. package/common/src/types/token.types.d.ts +97 -0
  728. package/common/src/types/token.types.mjs +6 -0
  729. package/common/src/types/transaction.types.d.ts +159 -0
  730. package/common/src/types/transactions.types.cjs +1 -0
  731. package/common/src/types/transactions.types.d.ts +78 -0
  732. package/common/src/types/transactions.types.mjs +8 -0
  733. package/common/src/webworker/logError-uy41lNp1.js +2 -0
  734. package/common/src/webworker/package.json +119 -0
  735. package/common/src/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -0
  736. package/common/src/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +4 -0
  737. package/common/src/webworker/snarkjsWorkerNode.cjs +1 -0
  738. package/common/src/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -0
  739. package/common/src/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +4 -0
  740. package/common/src/webworker/utxoWorkerNode.cjs +1 -0
  741. package/common/src/webworker/viteWorkerURL.constant.cjs +28 -0
  742. package/common/src/webworker/viteWorkerURL.constant.d.ts +10 -0
  743. package/common/src/webworker/viteWorkerURL.constant.fallback.cjs +1 -0
  744. package/common/src/webworker/viteWorkerURL.constant.fallback.d.ts +4 -0
  745. package/common/src/webworker/viteWorkerURL.constant.fallback.mjs +3 -0
  746. package/common/src/webworker/viteWorkerURL.constant.mjs +27 -0
  747. package/common/src/webworker/workerFactory.cjs +1 -0
  748. package/common/src/webworker/workerFactory.d.ts +11 -0
  749. package/common/src/webworker/workerFactory.mjs +48 -0
  750. package/common/src/webworker/workerProxy-MheXtWa4.js +1 -0
  751. package/common/src/webworker/zkProofWorker/zkProofWorkerLauncher.d.ts +1 -0
  752. package/common/src/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -0
  753. package/common/src/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +4 -0
  754. package/common/src/webworker/zkProofWorker/zkProofWorkerNode.d.ts +1 -0
  755. package/common/src/webworker/zkProofWorkerNode.cjs +1 -0
  756. package/index.cjs +1 -1
  757. package/index.d.ts +1 -8
  758. package/index.mjs +5 -344
  759. package/internal/monitorConnectedAddress.cjs +1 -0
  760. package/internal/monitorConnectedAddress.d.ts +2 -0
  761. package/internal/monitorConnectedAddress.mjs +8 -0
  762. package/internal/swapApi.cjs +1 -0
  763. package/internal/swapApi.d.ts +3 -0
  764. package/internal/swapApi.mjs +32 -0
  765. package/internal/token.utils.cjs +1 -0
  766. package/internal/token.utils.d.ts +4 -0
  767. package/internal/token.utils.mjs +17 -0
  768. package/package.json +17 -10
  769. package/providers/EthersProviderAdapter.cjs +1 -1
  770. package/providers/EthersProviderAdapter.d.ts +3 -36
  771. package/providers/EthersProviderAdapter.mjs +4 -100
  772. package/providers/SolanaProviderAdapter.cjs +1 -1
  773. package/providers/SolanaProviderAdapter.d.ts +2 -52
  774. package/providers/SolanaProviderAdapter.mjs +4 -146
  775. package/providers/TronProviderAdapter.cjs +1 -1
  776. package/providers/TronProviderAdapter.d.ts +2 -39
  777. package/providers/TronProviderAdapter.mjs +4 -96
  778. package/providers/WagmiProviderAdapter.cjs +1 -1
  779. package/providers/WagmiProviderAdapter.d.ts +3 -48
  780. package/providers/WagmiProviderAdapter.mjs +4 -197
  781. package/providers/prepareEthersHinkal.cjs +1 -1
  782. package/providers/prepareEthersHinkal.d.ts +4 -2
  783. package/providers/prepareEthersHinkal.mjs +11 -11
  784. package/providers/prepareSolanaHinkal.cjs +1 -1
  785. package/providers/prepareSolanaHinkal.d.ts +5 -3
  786. package/providers/prepareSolanaHinkal.mjs +12 -12
  787. package/providers/prepareTronHinkal.cjs +1 -1
  788. package/providers/prepareTronHinkal.d.ts +4 -2
  789. package/providers/prepareTronHinkal.mjs +12 -12
  790. package/providers/prepareWagmiHinkal.cjs +1 -1
  791. package/providers/prepareWagmiHinkal.d.ts +5 -2
  792. package/providers/prepareWagmiHinkal.mjs +11 -11
  793. package/services/Hinkal.cjs +1 -0
  794. package/services/Hinkal.d.ts +61 -0
  795. package/services/Hinkal.mjs +176 -0
  796. package/services/index.cjs +1 -0
  797. package/services/index.d.ts +1 -0
  798. package/services/index.mjs +1 -0
  799. package/types/IHinkal.d.ts +59 -0
  800. package/types/IProviderAdapter.d.ts +1 -0
  801. package/types/balances.types.cjs +1 -1
  802. package/types/balances.types.d.ts +14 -16
  803. package/types/balances.types.mjs +2 -6
  804. package/types/external-action.types.cjs +1 -1
  805. package/types/external-action.types.d.ts +1 -17
  806. package/types/external-action.types.mjs +2 -6
  807. package/types/fee.types.d.ts +1 -13
  808. package/types/index.cjs +1 -1
  809. package/types/index.d.ts +5 -58
  810. package/types/index.mjs +3 -28
  811. package/types/privateTypes.d.ts +5 -0
  812. package/types/swap.types.d.ts +25 -0
  813. package/types/token.types.d.ts +2 -85
  814. package/API/API.cjs +0 -1
  815. package/API/API.d.ts +0 -122
  816. package/API/API.mjs +0 -124
  817. package/API/accessCodeCalls.cjs +0 -1
  818. package/API/accessCodeCalls.d.ts +0 -23
  819. package/API/accessCodeCalls.mjs +0 -13
  820. package/API/admin-calls.cjs +0 -1
  821. package/API/admin-calls.mjs +0 -8
  822. package/API/brotherhoodCalls.cjs +0 -1
  823. package/API/brotherhoodCalls.d.ts +0 -82
  824. package/API/brotherhoodCalls.mjs +0 -17
  825. package/API/callLifiAPI.d.ts +0 -33
  826. package/API/callMonitor.cjs +0 -1
  827. package/API/callMonitor.mjs +0 -8
  828. package/API/callNearIntentsAPI.cjs +0 -1
  829. package/API/callNearIntentsAPI.mjs +0 -8
  830. package/API/callOneInchAPI.cjs +0 -1
  831. package/API/callOneInchAPI.d.ts +0 -18
  832. package/API/callOneInchAPI.mjs +0 -13
  833. package/API/checkRisk.cjs +0 -1
  834. package/API/checkRisk.mjs +0 -8
  835. package/API/dashboardAccountMemberCalls.cjs +0 -1
  836. package/API/dashboardAccountMemberCalls.d.ts +0 -34
  837. package/API/dashboardAccountMemberCalls.mjs +0 -16
  838. package/API/dashboardPayoutCalls.cjs +0 -1
  839. package/API/dashboardPayoutCalls.d.ts +0 -14
  840. package/API/dashboardPayoutCalls.mjs +0 -13
  841. package/API/enclaveRecipientInfoCalls.cjs +0 -1
  842. package/API/enclaveRecipientInfoCalls.mjs +0 -7
  843. package/API/enclaveSignatureCalls.cjs +0 -1
  844. package/API/enclaveSignatureCalls.mjs +0 -13
  845. package/API/enclaveUtxoCalls.cjs +0 -1
  846. package/API/enclaveUtxoCalls.d.ts +0 -46
  847. package/API/enclaveUtxoCalls.mjs +0 -23
  848. package/API/generate-trading-points.cjs +0 -1
  849. package/API/generate-trading-points.d.ts +0 -27
  850. package/API/generate-trading-points.mjs +0 -23
  851. package/API/getCoingeckoPrice.cjs +0 -1
  852. package/API/getCoingeckoPrice.mjs +0 -17
  853. package/API/getServerURL.cjs +0 -1
  854. package/API/getServerURL.mjs +0 -21
  855. package/API/getWebsiteURL.cjs +0 -1
  856. package/API/getWebsiteURL.d.ts +0 -5
  857. package/API/getWebsiteURL.mjs +0 -45
  858. package/API/index.cjs +0 -1
  859. package/API/index.d.ts +0 -25
  860. package/API/index.mjs +0 -25
  861. package/API/leaderboardCalls.cjs +0 -1
  862. package/API/leaderboardCalls.d.ts +0 -14
  863. package/API/leaderboardCalls.mjs +0 -8
  864. package/API/proxyAccountsCalls.cjs +0 -1
  865. package/API/proxyAccountsCalls.d.ts +0 -6
  866. package/API/proxyAccountsCalls.mjs +0 -23
  867. package/API/referralsCalls.cjs +0 -1
  868. package/API/referralsCalls.d.ts +0 -22
  869. package/API/referralsCalls.mjs +0 -11
  870. package/API/resolve-sns.cjs +0 -1
  871. package/API/resolve-sns.mjs +0 -12
  872. package/API/rewardsUserCalls.cjs +0 -1
  873. package/API/rewardsUserCalls.d.ts +0 -60
  874. package/API/rewardsUserCalls.mjs +0 -16
  875. package/API/scheduled-transactions-calls.d.ts +0 -20
  876. package/API/send-telegram-callback.cjs +0 -1
  877. package/API/send-telegram-callback.d.ts +0 -7
  878. package/API/send-telegram-callback.mjs +0 -11
  879. package/API/temporaryWalletCalls.cjs +0 -1
  880. package/API/temporaryWalletCalls.d.ts +0 -13
  881. package/API/temporaryWalletCalls.mjs +0 -16
  882. package/API/tenderly.api.cjs +0 -1
  883. package/API/tenderly.api.mjs +0 -37
  884. package/API/token-calls.cjs +0 -1
  885. package/API/token-calls.d.ts +0 -2
  886. package/API/token-calls.mjs +0 -12
  887. package/API/weeklyAnalyticCalls.cjs +0 -1
  888. package/API/weeklyAnalyticCalls.d.ts +0 -22
  889. package/API/weeklyAnalyticCalls.mjs +0 -11
  890. package/constants/activity.constants.cjs +0 -1
  891. package/constants/activity.constants.mjs +0 -14
  892. package/constants/addresses.constants.cjs +0 -1
  893. package/constants/addresses.constants.mjs +0 -71
  894. package/constants/auth.constants.cjs +0 -1
  895. package/constants/auth.constants.mjs +0 -4
  896. package/constants/backend.constants.cjs +0 -1
  897. package/constants/backend.constants.mjs +0 -15
  898. package/constants/balance.constants.cjs +0 -1
  899. package/constants/balance.constants.mjs +0 -4
  900. package/constants/bridging.constants.cjs +0 -1
  901. package/constants/bridging.constants.d.ts +0 -25
  902. package/constants/bridging.constants.mjs +0 -32
  903. package/constants/chains.constants.cjs +0 -1
  904. package/constants/chains.constants.d.ts +0 -70
  905. package/constants/chains.constants.mjs +0 -333
  906. package/constants/coingecko.constants.cjs +0 -1
  907. package/constants/coingecko.constants.d.ts +0 -43
  908. package/constants/coingecko.constants.mjs +0 -51
  909. package/constants/contracts.constants.cjs +0 -1
  910. package/constants/contracts.constants.mjs +0 -59
  911. package/constants/conversion.constants.cjs +0 -1
  912. package/constants/conversion.constants.mjs +0 -4
  913. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +0 -1
  914. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +0 -3491
  915. package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +0 -1
  916. package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +0 -3562
  917. package/constants/deploy-data/deploy-data-base.json.cjs +0 -1
  918. package/constants/deploy-data/deploy-data-base.json.mjs +0 -3491
  919. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +0 -1
  920. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +0 -3491
  921. package/constants/deploy-data/deploy-data-localhost.json.cjs +0 -1
  922. package/constants/deploy-data/deploy-data-localhost.json.mjs +0 -2285
  923. package/constants/deploy-data/deploy-data-optimism.json.cjs +0 -1
  924. package/constants/deploy-data/deploy-data-optimism.json.mjs +0 -3491
  925. package/constants/deploy-data/deploy-data-optimismTest.json.cjs +0 -1
  926. package/constants/deploy-data/deploy-data-optimismTest.json.mjs +0 -3565
  927. package/constants/deploy-data/deploy-data-polygon.json.cjs +0 -1
  928. package/constants/deploy-data/deploy-data-polygon.json.mjs +0 -3491
  929. package/constants/deploy-data/deploy-data-sepoliaTestnet.json.cjs +0 -1
  930. package/constants/deploy-data/deploy-data-sepoliaTestnet.json.mjs +0 -3561
  931. package/constants/deploy-data/deploy-data-solana.json.cjs +0 -1
  932. package/constants/deploy-data/deploy-data-solana.json.mjs +0 -7
  933. package/constants/deploy-data/deploy-data-tempo.json.cjs +0 -1
  934. package/constants/deploy-data/deploy-data-tempo.json.mjs +0 -3563
  935. package/constants/deploy-data/deploy-data-tronMainnet.json.cjs +0 -1
  936. package/constants/deploy-data/deploy-data-tronMainnet.json.mjs +0 -3530
  937. package/constants/deploy-data/deploy-data-tronNile.json.cjs +0 -1
  938. package/constants/deploy-data/deploy-data-tronNile.json.mjs +0 -3530
  939. package/constants/deploy-data/index.d.ts +0 -14
  940. package/constants/fees.constants.cjs +0 -1
  941. package/constants/fees.constants.mjs +0 -14
  942. package/constants/function-signatures.constants.cjs +0 -1
  943. package/constants/function-signatures.constants.mjs +0 -4
  944. package/constants/images.constants.cjs +0 -1
  945. package/constants/images.constants.mjs +0 -4
  946. package/constants/index.cjs +0 -1
  947. package/constants/index.d.ts +0 -36
  948. package/constants/index.mjs +0 -50
  949. package/constants/lifi.constants.cjs +0 -1
  950. package/constants/lifi.constants.mjs +0 -9
  951. package/constants/link.constant.cjs +0 -1
  952. package/constants/link.constant.mjs +0 -4
  953. package/constants/mediaUrls.constants.cjs +0 -1
  954. package/constants/mediaUrls.constants.d.ts +0 -44
  955. package/constants/mediaUrls.constants.mjs +0 -47
  956. package/constants/mystery-boxes.constants.d.ts +0 -0
  957. package/constants/oauthUrls.constants.cjs +0 -1
  958. package/constants/oauthUrls.constants.mjs +0 -7
  959. package/constants/okx.constants.cjs +0 -1
  960. package/constants/okx.constants.mjs +0 -4
  961. package/constants/pay.constants.cjs +0 -1
  962. package/constants/pay.constants.d.ts +0 -1
  963. package/constants/pay.constants.mjs +0 -4
  964. package/constants/permit2.constants.cjs +0 -1
  965. package/constants/permit2.constants.mjs +0 -10
  966. package/constants/presale.constants.cjs +0 -1
  967. package/constants/presale.constants.mjs +0 -449
  968. package/constants/price-impact.constants.cjs +0 -1
  969. package/constants/price-impact.constants.d.ts +0 -2
  970. package/constants/price-impact.constants.mjs +0 -4
  971. package/constants/protocol.constants.cjs +0 -1
  972. package/constants/protocol.constants.d.ts +0 -64
  973. package/constants/protocol.constants.mjs +0 -24
  974. package/constants/rewards.constants.cjs +0 -1
  975. package/constants/rewards.constants.d.ts +0 -15
  976. package/constants/rewards.constants.mjs +0 -8
  977. package/constants/schedule.constants.cjs +0 -1
  978. package/constants/schedule.constants.mjs +0 -10
  979. package/constants/server.constants.cjs +0 -1
  980. package/constants/server.constants.d.ts +0 -136
  981. package/constants/server.constants.mjs +0 -128
  982. package/constants/tasks.constants.cjs +0 -1
  983. package/constants/tasks.constants.d.ts +0 -9
  984. package/constants/tasks.constants.mjs +0 -267
  985. package/constants/token-data/ERC20Registry.cjs +0 -1
  986. package/constants/token-data/ERC20Registry.d.ts +0 -3
  987. package/constants/token-data/ERC20Registry.mjs +0 -117
  988. package/constants/token-data/arbMainnetRegistry.json.cjs +0 -1
  989. package/constants/token-data/arbMainnetRegistry.json.mjs +0 -1841
  990. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +0 -1
  991. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +0 -1841
  992. package/constants/token-data/arcTestnetRegistry.json.cjs +0 -1
  993. package/constants/token-data/arcTestnetRegistry.json.mjs +0 -435
  994. package/constants/token-data/avalancheRegistry.json.cjs +0 -1
  995. package/constants/token-data/avalancheRegistry.json.mjs +0 -44
  996. package/constants/token-data/baseRegistry.json.cjs +0 -1
  997. package/constants/token-data/baseRegistry.json.mjs +0 -1142
  998. package/constants/token-data/baseRegistryFixed.json.cjs +0 -1
  999. package/constants/token-data/baseRegistryFixed.json.mjs +0 -1142
  1000. package/constants/token-data/bnbMainnetRegistry.json.cjs +0 -1
  1001. package/constants/token-data/bnbMainnetRegistry.json.mjs +0 -44
  1002. package/constants/token-data/cronosRegistry.json.cjs +0 -1
  1003. package/constants/token-data/cronosRegistry.json.mjs +0 -44
  1004. package/constants/token-data/ethMainnetRegistry.json.cjs +0 -1
  1005. package/constants/token-data/ethMainnetRegistry.json.mjs +0 -4274
  1006. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +0 -1
  1007. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +0 -4274
  1008. package/constants/token-data/hyperEvmRegistry.json.cjs +0 -1
  1009. package/constants/token-data/hyperEvmRegistry.json.mjs +0 -36
  1010. package/constants/token-data/index.cjs +0 -1
  1011. package/constants/token-data/index.d.ts +0 -1206
  1012. package/constants/token-data/index.mjs +0 -27
  1013. package/constants/token-data/inkRegistry.json.cjs +0 -1
  1014. package/constants/token-data/inkRegistry.json.mjs +0 -28
  1015. package/constants/token-data/localhostRegistry.json.cjs +0 -1
  1016. package/constants/token-data/localhostRegistry.json.mjs +0 -2758
  1017. package/constants/token-data/monadRegistry.json.cjs +0 -1
  1018. package/constants/token-data/monadRegistry.json.mjs +0 -36
  1019. package/constants/token-data/optimismRegistry.json.cjs +0 -1
  1020. package/constants/token-data/optimismRegistry.json.mjs +0 -709
  1021. package/constants/token-data/optimismRegistryFixed.json.cjs +0 -1
  1022. package/constants/token-data/optimismRegistryFixed.json.mjs +0 -709
  1023. package/constants/token-data/plasmaRegistry.json.cjs +0 -1
  1024. package/constants/token-data/plasmaRegistry.json.mjs +0 -28
  1025. package/constants/token-data/polygonRegistry.json.cjs +0 -1
  1026. package/constants/token-data/polygonRegistry.json.mjs +0 -2317
  1027. package/constants/token-data/polygonRegistryFixed.json.cjs +0 -1
  1028. package/constants/token-data/polygonRegistryFixed.json.mjs +0 -2317
  1029. package/constants/token-data/popularNonRebasingTokens.cjs +0 -1
  1030. package/constants/token-data/popularNonRebasingTokens.d.ts +0 -2
  1031. package/constants/token-data/popularNonRebasingTokens.mjs +0 -11
  1032. package/constants/token-data/sepoliaTestnetRegistry.json.cjs +0 -1
  1033. package/constants/token-data/sepoliaTestnetRegistry.json.mjs +0 -21
  1034. package/constants/token-data/solanaLocalnetRegistry.json.cjs +0 -1
  1035. package/constants/token-data/solanaLocalnetRegistry.json.mjs +0 -17
  1036. package/constants/token-data/solanaMainnetRegistry.json.cjs +0 -1
  1037. package/constants/token-data/solanaMainnetRegistry.json.mjs +0 -625
  1038. package/constants/token-data/tempoRegistry.json.cjs +0 -1
  1039. package/constants/token-data/tempoRegistry.json.mjs +0 -37
  1040. package/constants/token-data/tronMainnetRegistry.json.cjs +0 -1
  1041. package/constants/token-data/tronMainnetRegistry.json.mjs +0 -28
  1042. package/constants/token-data/tronNileRegistry.json.cjs +0 -1
  1043. package/constants/token-data/tronNileRegistry.json.mjs +0 -17
  1044. package/constants/token.limits.constants.cjs +0 -1
  1045. package/constants/token.limits.constants.d.ts +0 -5
  1046. package/constants/token.limits.constants.mjs +0 -31
  1047. package/constants/tokens.constants.cjs +0 -1
  1048. package/constants/tokens.constants.d.ts +0 -4
  1049. package/constants/tokens.constants.mjs +0 -38
  1050. package/constants/tx-confirmation.constants.cjs +0 -1
  1051. package/constants/tx-confirmation.constants.mjs +0 -4
  1052. package/constants/vite.constants.cjs +0 -1
  1053. package/constants/vite.constants.d.ts +0 -15
  1054. package/constants/vite.constants.mjs +0 -8
  1055. package/constants/wallet.constants.cjs +0 -1
  1056. package/constants/wallet.constants.mjs +0 -4
  1057. package/crypto/babyJub.cjs +0 -1
  1058. package/crypto/babyJub.mjs +0 -12
  1059. package/crypto/ecdh-dual-path.cjs +0 -1
  1060. package/crypto/ecdh-dual-path.mjs +0 -39
  1061. package/crypto/ecdh-sealed-keys.cjs +0 -1
  1062. package/crypto/ecdh.cjs +0 -1
  1063. package/crypto/ecdh.mjs +0 -9
  1064. package/crypto/eddsa.cjs +0 -1
  1065. package/crypto/eddsa.mjs +0 -12
  1066. package/crypto/index.cjs +0 -1
  1067. package/crypto/index.mjs +0 -7
  1068. package/crypto/poseidon.cjs +0 -1
  1069. package/crypto/poseidon.mjs +0 -22
  1070. package/crypto/preProcessing.cjs +0 -1
  1071. package/crypto/preProcessing.mjs +0 -17
  1072. package/data-structures/AccountActions/AccountActions.cjs +0 -1
  1073. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs +0 -1
  1074. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +0 -199
  1075. package/data-structures/ApprovalDBs/index.cjs +0 -1
  1076. package/data-structures/ApprovalDBs/index.mjs +0 -1
  1077. package/data-structures/Hinkal/Hinkal.cjs +0 -1
  1078. package/data-structures/Hinkal/Hinkal.d.ts +0 -118
  1079. package/data-structures/Hinkal/Hinkal.mjs +0 -442
  1080. package/data-structures/Hinkal/IHinkal.d.ts +0 -106
  1081. package/data-structures/Hinkal/handleAutoDepositBack.cjs +0 -1
  1082. package/data-structures/Hinkal/handleAutoDepositBack.mjs +0 -93
  1083. package/data-structures/Hinkal/hinkalClaimUtxo.cjs +0 -1
  1084. package/data-structures/Hinkal/hinkalClaimUtxo.mjs +0 -54
  1085. package/data-structures/Hinkal/hinkalDeposit.cjs +0 -1
  1086. package/data-structures/Hinkal/hinkalDeposit.mjs +0 -121
  1087. package/data-structures/Hinkal/hinkalDepositAndBridge.cjs +0 -1
  1088. package/data-structures/Hinkal/hinkalDepositAndBridge.d.ts +0 -4
  1089. package/data-structures/Hinkal/hinkalDepositAndBridge.mjs +0 -120
  1090. package/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +0 -1
  1091. package/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +0 -6
  1092. package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +0 -79
  1093. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.cjs +0 -1
  1094. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.d.ts +0 -8
  1095. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +0 -54
  1096. package/data-structures/Hinkal/hinkalMultiSend.cjs +0 -1
  1097. package/data-structures/Hinkal/hinkalMultiSend.d.ts +0 -3
  1098. package/data-structures/Hinkal/hinkalMultiSend.mjs +0 -12
  1099. package/data-structures/Hinkal/hinkalNearDepositAndBridge.cjs +0 -1
  1100. package/data-structures/Hinkal/hinkalNearDepositAndBridge.mjs +0 -43
  1101. package/data-structures/Hinkal/hinkalPalEvmDeposit.cjs +0 -1
  1102. package/data-structures/Hinkal/hinkalPalEvmDeposit.d.ts +0 -9
  1103. package/data-structures/Hinkal/hinkalPalEvmDeposit.mjs +0 -19
  1104. package/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.cjs +0 -1
  1105. package/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.mjs +0 -18
  1106. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.cjs +0 -1
  1107. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.d.ts +0 -9
  1108. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.mjs +0 -17
  1109. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +0 -1
  1110. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +0 -48
  1111. package/data-structures/Hinkal/hinkalProoflessDeposit.cjs +0 -1
  1112. package/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +0 -8
  1113. package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +0 -123
  1114. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.cjs +0 -1
  1115. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.d.ts +0 -7
  1116. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.mjs +0 -51
  1117. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.cjs +0 -1
  1118. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.d.ts +0 -6
  1119. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.mjs +0 -128
  1120. package/data-structures/Hinkal/hinkalProxySwap.cjs +0 -1
  1121. package/data-structures/Hinkal/hinkalProxySwap.mjs +0 -24
  1122. package/data-structures/Hinkal/hinkalProxyToPrivate.cjs +0 -1
  1123. package/data-structures/Hinkal/hinkalProxyToPrivate.mjs +0 -28
  1124. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.cjs +0 -1
  1125. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +0 -91
  1126. package/data-structures/Hinkal/hinkalSolanaDeposit.cjs +0 -1
  1127. package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +0 -102
  1128. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +0 -1
  1129. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +0 -163
  1130. package/data-structures/Hinkal/hinkalSolanaProxySend.cjs +0 -1
  1131. package/data-structures/Hinkal/hinkalSolanaProxySend.mjs +0 -39
  1132. package/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +0 -1
  1133. package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +0 -72
  1134. package/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +0 -1
  1135. package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +0 -83
  1136. package/data-structures/Hinkal/hinkalSolanaSwap.cjs +0 -1
  1137. package/data-structures/Hinkal/hinkalSolanaSwap.mjs +0 -92
  1138. package/data-structures/Hinkal/hinkalSolanaTransfer.cjs +0 -1
  1139. package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +0 -87
  1140. package/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +0 -1
  1141. package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +0 -68
  1142. package/data-structures/Hinkal/hinkalSwap.cjs +0 -1
  1143. package/data-structures/Hinkal/hinkalSwap.mjs +0 -42
  1144. package/data-structures/Hinkal/hinkalTransfer.cjs +0 -1
  1145. package/data-structures/Hinkal/hinkalTransfer.mjs +0 -49
  1146. package/data-structures/Hinkal/hinkalWithdraw.cjs +0 -1
  1147. package/data-structures/Hinkal/hinkalWithdraw.mjs +0 -54
  1148. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +0 -1
  1149. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +0 -121
  1150. package/data-structures/Hinkal/index.cjs +0 -1
  1151. package/data-structures/Hinkal/index.d.ts +0 -24
  1152. package/data-structures/Hinkal/index.mjs +0 -23
  1153. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.cjs +0 -1
  1154. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.d.ts +0 -22
  1155. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.mjs +0 -34
  1156. package/data-structures/Hinkal/resetMerkleTrees.cjs +0 -1
  1157. package/data-structures/Hinkal/resetMerkleTrees.mjs +0 -56
  1158. package/data-structures/IndexedDB/activity-db.cjs +0 -1
  1159. package/data-structures/IndexedDB/activity-db.mjs +0 -110
  1160. package/data-structures/IndexedDB/balances-db.cjs +0 -1
  1161. package/data-structures/IndexedDB/balances-db.mjs +0 -48
  1162. package/data-structures/IndexedDB/contact-db.cjs +0 -1
  1163. package/data-structures/IndexedDB/contact-db.d.ts +0 -12
  1164. package/data-structures/IndexedDB/contact-db.mjs +0 -60
  1165. package/data-structures/IndexedDB/index.cjs +0 -1
  1166. package/data-structures/IndexedDB/index.d.ts +0 -7
  1167. package/data-structures/IndexedDB/index.mjs +0 -7
  1168. package/data-structures/IndexedDB/pay-activity-db.cjs +0 -1
  1169. package/data-structures/IndexedDB/pay-activity-db.mjs +0 -22
  1170. package/data-structures/IndexedDB/prices-db.cjs +0 -1
  1171. package/data-structures/IndexedDB/prices-db.mjs +0 -54
  1172. package/data-structures/IndexedDB/private-balances-db.cjs +0 -1
  1173. package/data-structures/IndexedDB/private-balances-db.d.ts +0 -9
  1174. package/data-structures/IndexedDB/private-balances-db.mjs +0 -23
  1175. package/data-structures/IndexedDB/signatures-db.cjs +0 -1
  1176. package/data-structures/IndexedDB/signatures-db.mjs +0 -41
  1177. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +0 -1
  1178. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +0 -73
  1179. package/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +0 -1
  1180. package/data-structures/TokenDBs/AlchemyPublicTokensDB.d.ts +0 -19
  1181. package/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +0 -172
  1182. package/data-structures/TokenDBs/ArcPublicTokensDB.cjs +0 -1
  1183. package/data-structures/TokenDBs/ArcPublicTokensDB.mjs +0 -94
  1184. package/data-structures/TokenDBs/EventsPublicTokensDB.cjs +0 -1
  1185. package/data-structures/TokenDBs/EventsPublicTokensDB.d.ts +0 -18
  1186. package/data-structures/TokenDBs/EventsPublicTokensDB.mjs +0 -135
  1187. package/data-structures/TokenDBs/IPublicTokensDB.d.ts +0 -6
  1188. package/data-structures/TokenDBs/PrivateTokensDB.cjs +0 -1
  1189. package/data-structures/TokenDBs/PrivateTokensDB.mjs +0 -50
  1190. package/data-structures/TokenDBs/PublicTokensDB.cjs +0 -1
  1191. package/data-structures/TokenDBs/PublicTokensDB.d.ts +0 -9
  1192. package/data-structures/TokenDBs/PublicTokensDB.mjs +0 -31
  1193. package/data-structures/TokenDBs/TempoPublicTokensDB.cjs +0 -1
  1194. package/data-structures/TokenDBs/TempoPublicTokensDB.d.ts +0 -9
  1195. package/data-structures/TokenDBs/TempoPublicTokensDB.mjs +0 -42
  1196. package/data-structures/TokenDBs/TronPublicTokensDB.cjs +0 -1
  1197. package/data-structures/TokenDBs/TronPublicTokensDB.d.ts +0 -9
  1198. package/data-structures/TokenDBs/TronPublicTokensDB.mjs +0 -47
  1199. package/data-structures/TokenDBs/token-visibility-db.cjs +0 -1
  1200. package/data-structures/ValueCache/ValueCache.cjs +0 -1
  1201. package/data-structures/ValueCache/ValueCache.mjs +0 -24
  1202. package/data-structures/WalletManager/WalletManager.cjs +0 -1
  1203. package/data-structures/WalletManager/WalletManager.d.ts +0 -51
  1204. package/data-structures/WalletManager/WalletManager.mjs +0 -99
  1205. package/data-structures/WalletManager/index.cjs +0 -1
  1206. package/data-structures/WalletManager/index.mjs +0 -1
  1207. package/data-structures/cacheDevices/BaseCacheDevice.cjs +0 -1
  1208. package/data-structures/cacheDevices/BaseCacheDevice.d.ts +0 -11
  1209. package/data-structures/cacheDevices/BaseCacheDevice.mjs +0 -21
  1210. package/data-structures/cacheDevices/FileCacheDevice.cjs +0 -1
  1211. package/data-structures/cacheDevices/FileCacheDevice.d.ts +0 -10
  1212. package/data-structures/cacheDevices/FileCacheDevice.mjs +0 -40
  1213. package/data-structures/crypto-keys/decodeUTXO.cjs +0 -1
  1214. package/data-structures/crypto-keys/decodeUTXO.d.ts +0 -28
  1215. package/data-structures/crypto-keys/decodeUTXO.mjs +0 -82
  1216. package/data-structures/crypto-keys/encryptDecryptUtxo.cjs +0 -1
  1217. package/data-structures/crypto-keys/encryptDecryptUtxo.d.ts +0 -18
  1218. package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +0 -40
  1219. package/data-structures/crypto-keys/index.cjs +0 -1
  1220. package/data-structures/crypto-keys/index.mjs +0 -4
  1221. package/data-structures/crypto-keys/keys.cjs +0 -1
  1222. package/data-structures/crypto-keys/keys.d.ts +0 -131
  1223. package/data-structures/crypto-keys/keys.mjs +0 -167
  1224. package/data-structures/custom-token-registry/CustomTokenRegistry.cjs +0 -1
  1225. package/data-structures/custom-token-registry/CustomTokenRegistry.mjs +0 -25
  1226. package/data-structures/event-service/evm/AbstractNullifierSnapshotService.cjs +0 -1
  1227. package/data-structures/event-service/evm/BlockchainEventEmitter.cjs +0 -1
  1228. package/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +0 -37
  1229. package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +0 -104
  1230. package/data-structures/event-service/evm/ClientBlockchainEventEmitter.cjs +0 -1
  1231. package/data-structures/event-service/evm/ClientBlockchainEventEmitter.d.ts +0 -11
  1232. package/data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs +0 -21
  1233. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.cjs +0 -1
  1234. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs +0 -16
  1235. package/data-structures/event-service/helpers/ClientEventHelper.cjs +0 -1
  1236. package/data-structures/event-service/helpers/ClientEventHelper.mjs +0 -28
  1237. package/data-structures/event-service/helpers/PollingEventHelper.cjs +0 -1
  1238. package/data-structures/event-service/helpers/PollingEventHelper.mjs +0 -18
  1239. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.cjs +0 -1
  1240. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +0 -98
  1241. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.cjs +0 -1
  1242. package/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.d.ts +0 -11
  1243. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.cjs +0 -1
  1244. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs +0 -16
  1245. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.cjs +0 -1
  1246. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +0 -42
  1247. package/data-structures/http/BasicHttpClient.cjs +0 -1
  1248. package/data-structures/index.cjs +0 -1
  1249. package/data-structures/index.d.ts +0 -21
  1250. package/data-structures/index.mjs +0 -90
  1251. package/data-structures/presale/PresaleContractWrapper.cjs +0 -1
  1252. package/data-structures/presale/PresaleContractWrapper.mjs +0 -57
  1253. package/data-structures/presale/index.cjs +0 -1
  1254. package/data-structures/presale/index.mjs +0 -1
  1255. package/data-structures/provider-adapter/IProviderAdapter.d.ts +0 -40
  1256. package/data-structures/token-price-fetcher/TokenChecker.cjs +0 -1
  1257. package/data-structures/token-price-fetcher/TokenChecker.mjs +0 -16
  1258. package/data-structures/token-price-fetcher/index.cjs +0 -1
  1259. package/data-structures/token-price-fetcher/index.mjs +0 -1
  1260. package/data-structures/transactions-manager/history/history.types.cjs +0 -1
  1261. package/data-structures/transactions-manager/history/history.types.mjs +0 -6
  1262. package/data-structures/utxo/Utxo.cjs +0 -1
  1263. package/data-structures/utxo/Utxo.d.ts +0 -69
  1264. package/data-structures/utxo/Utxo.mjs +0 -113
  1265. package/error-handling/customErrors/ErrorWithIndex.cjs +0 -1
  1266. package/error-handling/customErrors/ErrorWithIndex.mjs +0 -9
  1267. package/error-handling/customErrors/HttpError.cjs +0 -1
  1268. package/error-handling/customErrors/HttpError.mjs +0 -8
  1269. package/error-handling/customErrors/SimulationFailureError.cjs +0 -1
  1270. package/error-handling/customErrors/SimulationFailureError.mjs +0 -9
  1271. package/error-handling/customErrors/customErrors.helpers.cjs +0 -1
  1272. package/error-handling/customErrors/customErrors.helpers.mjs +0 -16
  1273. package/error-handling/customErrors/index.cjs +0 -1
  1274. package/error-handling/customErrors/index.mjs +0 -7
  1275. package/error-handling/error-codes.constants.cjs +0 -2
  1276. package/error-handling/error-codes.constants.d.ts +0 -247
  1277. package/error-handling/error-codes.constants.mjs +0 -242
  1278. package/error-handling/get-error.message.cjs +0 -1
  1279. package/error-handling/get-error.message.mjs +0 -75
  1280. package/error-handling/index.cjs +0 -1
  1281. package/error-handling/index.d.ts +0 -6
  1282. package/error-handling/index.mjs +0 -13
  1283. package/externalABIs/BUSD.cjs +0 -1
  1284. package/externalABIs/BUSD.mjs +0 -811
  1285. package/externalABIs/DAI.cjs +0 -1
  1286. package/externalABIs/DAI.mjs +0 -505
  1287. package/externalABIs/NodeInterfaceABI.json.cjs +0 -1
  1288. package/externalABIs/NodeInterfaceABI.json.mjs +0 -264
  1289. package/externalABIs/OptimismGasPriceOracle.json.cjs +0 -1
  1290. package/externalABIs/OptimismGasPriceOracle.json.mjs +0 -174
  1291. package/externalABIs/SanctionsList.cjs +0 -1
  1292. package/externalABIs/SanctionsList.mjs +0 -162
  1293. package/externalABIs/USDC.cjs +0 -1
  1294. package/externalABIs/USDC.mjs +0 -1082
  1295. package/externalABIs/USDR.cjs +0 -1
  1296. package/externalABIs/USDR.mjs +0 -695
  1297. package/externalABIs/USDR3CRV.cjs +0 -1
  1298. package/externalABIs/USDR3CRV.mjs +0 -1002
  1299. package/externalABIs/USDT.cjs +0 -1
  1300. package/externalABIs/USDT.mjs +0 -583
  1301. package/externalABIs/WETH.cjs +0 -1
  1302. package/externalABIs/WETH.mjs +0 -245
  1303. package/externalABIs/amToken.cjs +0 -1
  1304. package/externalABIs/amToken.mjs +0 -744
  1305. package/externalABIs/index.cjs +0 -1
  1306. package/externalABIs/index.mjs +0 -21
  1307. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.cjs +0 -1
  1308. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.mjs +0 -21
  1309. package/functions/auto-deposit-back-helpers/select-gas-token.cjs +0 -1
  1310. package/functions/auto-deposit-back-helpers/select-gas-token.mjs +0 -34
  1311. package/functions/auto-deposit-back-helpers/update-hinkal.cjs +0 -1
  1312. package/functions/auto-deposit-back-helpers/update-hinkal.d.ts +0 -3
  1313. package/functions/auto-deposit-back-helpers/update-hinkal.mjs +0 -22
  1314. package/functions/index.cjs +0 -1
  1315. package/functions/index.d.ts +0 -13
  1316. package/functions/index.mjs +0 -130
  1317. package/functions/pre-transaction/addressTableLookup.cjs +0 -1
  1318. package/functions/pre-transaction/addressTableLookup.mjs +0 -36
  1319. package/functions/pre-transaction/buildCommitmentValidationData.cjs +0 -1
  1320. package/functions/pre-transaction/buildCommitmentValidationData.mjs +0 -65
  1321. package/functions/pre-transaction/calculateSolanaNullifierCount.cjs +0 -1
  1322. package/functions/pre-transaction/calculateSolanaNullifierCount.mjs +0 -23
  1323. package/functions/pre-transaction/convert-okx-instructions.cjs +0 -1
  1324. package/functions/pre-transaction/ensureAmountChanges.cjs +0 -1
  1325. package/functions/pre-transaction/getExternalSwapAddress.cjs +0 -1
  1326. package/functions/pre-transaction/getExternalSwapAddress.mjs +0 -27
  1327. package/functions/pre-transaction/getFeeStructure.cjs +0 -1
  1328. package/functions/pre-transaction/getFeeStructure.mjs +0 -20
  1329. package/functions/pre-transaction/getFlatFees.cjs +0 -1
  1330. package/functions/pre-transaction/getFlatFees.d.ts +0 -11
  1331. package/functions/pre-transaction/getFlatFees.mjs +0 -52
  1332. package/functions/pre-transaction/getSolanaCalldataHash.cjs +0 -1
  1333. package/functions/pre-transaction/getVolatileTransferAmount.cjs +0 -1
  1334. package/functions/pre-transaction/getVolatileTransferAmount.mjs +0 -32
  1335. package/functions/pre-transaction/index.cjs +0 -1
  1336. package/functions/pre-transaction/index.d.ts +0 -20
  1337. package/functions/pre-transaction/index.mjs +0 -20
  1338. package/functions/pre-transaction/interaction-to-action.cjs +0 -1
  1339. package/functions/pre-transaction/interaction-to-action.mjs +0 -11
  1340. package/functions/pre-transaction/merge-with-fee-structure-emporium.cjs +0 -1
  1341. package/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +0 -16
  1342. package/functions/pre-transaction/merge-with-fee-structure.cjs +0 -1
  1343. package/functions/pre-transaction/merge-with-fee-structure.d.ts +0 -2
  1344. package/functions/pre-transaction/merge-with-fee-structure.mjs +0 -20
  1345. package/functions/pre-transaction/outputUtxoProcessing.cjs +0 -1
  1346. package/functions/pre-transaction/outputUtxoProcessing.mjs +0 -33
  1347. package/functions/pre-transaction/process-gas-estimates.cjs +0 -1
  1348. package/functions/pre-transaction/process-gas-estimates.mjs +0 -25
  1349. package/functions/pre-transaction/recipientUtxoProcessing.cjs +0 -1
  1350. package/functions/pre-transaction/recipientUtxoProcessing.mjs +0 -32
  1351. package/functions/pre-transaction/sendInitNullifiersTransaction.cjs +0 -1
  1352. package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +0 -44
  1353. package/functions/pre-transaction/sendV0Transaction.cjs +0 -2
  1354. package/functions/pre-transaction/sendV0Transaction.mjs +0 -133
  1355. package/functions/pre-transaction/solana-public-signals.cjs +0 -1
  1356. package/functions/pre-transaction/solana-public-signals.d.ts +0 -21
  1357. package/functions/pre-transaction/solana-public-signals.mjs +0 -59
  1358. package/functions/pre-transaction/solana.cjs +0 -1
  1359. package/functions/pre-transaction/solana.mjs +0 -72
  1360. package/functions/pre-transaction/solanaTransfer.utils.cjs +0 -1
  1361. package/functions/pre-transaction/store-instructions.cjs +0 -1
  1362. package/functions/pre-transaction/store-instructions.mjs +0 -13
  1363. package/functions/pre-transaction/store-proof.cjs +0 -1
  1364. package/functions/pre-transaction/store-proof.mjs +0 -30
  1365. package/functions/private-wallet/emporium.helpers.cjs +0 -1
  1366. package/functions/private-wallet/emporium.helpers.d.ts +0 -47
  1367. package/functions/private-wallet/emporium.helpers.mjs +0 -162
  1368. package/functions/private-wallet/emporium.swap.helpers.cjs +0 -1
  1369. package/functions/private-wallet/emporium.swap.helpers.mjs +0 -108
  1370. package/functions/private-wallet/opProducer.cjs +0 -1
  1371. package/functions/private-wallet/opProducer.mjs +0 -28
  1372. package/functions/snarkjs/common.snarkjs.cjs +0 -1
  1373. package/functions/snarkjs/common.snarkjs.d.ts +0 -23
  1374. package/functions/snarkjs/common.snarkjs.mjs +0 -133
  1375. package/functions/snarkjs/constant.cjs +0 -1
  1376. package/functions/snarkjs/constant.d.ts +0 -149
  1377. package/functions/snarkjs/constant.mjs +0 -152
  1378. package/functions/snarkjs/constructGeneralZkProof.cjs +0 -1
  1379. package/functions/snarkjs/constructGeneralZkProof.d.ts +0 -13
  1380. package/functions/snarkjs/constructGeneralZkProof.mjs +0 -82
  1381. package/functions/snarkjs/constructSolanaZkProof.cjs +0 -1
  1382. package/functions/snarkjs/constructSolanaZkProof.mjs +0 -73
  1383. package/functions/snarkjs/fetchMerkleTreeSiblings.d.ts +0 -11
  1384. package/functions/snarkjs/fetchOnChainRootHashes.cjs +0 -1
  1385. package/functions/snarkjs/fetchOnChainRootHashes.d.ts +0 -3
  1386. package/functions/snarkjs/fetchOnChainRootHashes.mjs +0 -27
  1387. package/functions/snarkjs/generateCircomData.cjs +0 -1
  1388. package/functions/snarkjs/generateCircomData.d.ts +0 -5
  1389. package/functions/snarkjs/generateCircomData.mjs +0 -33
  1390. package/functions/snarkjs/generateZkProofEnclave.cjs +0 -1
  1391. package/functions/snarkjs/generateZkProofEnclave.mjs +0 -27
  1392. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.cjs +0 -1
  1393. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +0 -16
  1394. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +0 -77
  1395. package/functions/snarkjs/getZKFiles.cjs +0 -1
  1396. package/functions/snarkjs/getZKFiles.mjs +0 -7
  1397. package/functions/snarkjs/index.cjs +0 -1
  1398. package/functions/snarkjs/index.d.ts +0 -8
  1399. package/functions/snarkjs/index.mjs +0 -8
  1400. package/functions/snarkjs/signedMessageHash.cjs +0 -1
  1401. package/functions/snarkjs/signedMessageHash.d.ts +0 -31
  1402. package/functions/snarkjs/signedMessageHash.mjs +0 -49
  1403. package/functions/snarkjs/verifyCommitmentValidationData.cjs +0 -1
  1404. package/functions/snarkjs/verifyCommitmentValidationData.mjs +0 -43
  1405. package/functions/utils/addresses.cjs +0 -1
  1406. package/functions/utils/addresses.d.ts +0 -11
  1407. package/functions/utils/addresses.mjs +0 -45
  1408. package/functions/utils/amounts.utils.cjs +0 -1
  1409. package/functions/utils/amounts.utils.mjs +0 -67
  1410. package/functions/utils/arraysMatch.cjs +0 -1
  1411. package/functions/utils/arraysMatch.mjs +0 -4
  1412. package/functions/utils/bit.operations.cjs +0 -1
  1413. package/functions/utils/bit.operations.d.ts +0 -3
  1414. package/functions/utils/bit.operations.mjs +0 -4
  1415. package/functions/utils/buildClaimableDepositPlan.cjs +0 -1
  1416. package/functions/utils/buildClaimableDepositPlan.d.ts +0 -16
  1417. package/functions/utils/buildClaimableDepositPlan.mjs +0 -39
  1418. package/functions/utils/bytes32.utils.cjs +0 -1
  1419. package/functions/utils/bytes32.utils.mjs +0 -9
  1420. package/functions/utils/cacheDevice.utils.mjs +0 -17
  1421. package/functions/utils/cacheFunctions.cjs +0 -1
  1422. package/functions/utils/cacheFunctions.mjs +0 -55
  1423. package/functions/utils/caseInsensitive.utils.cjs +0 -1
  1424. package/functions/utils/caseInsensitive.utils.mjs +0 -4
  1425. package/functions/utils/convertEmporiumOpToCallInfo.cjs +0 -1
  1426. package/functions/utils/convertEmporiumOpToCallInfo.mjs +0 -19
  1427. package/functions/utils/convertIntegrationProviderToExternalActionId.cjs +0 -1
  1428. package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +0 -14
  1429. package/functions/utils/create-provider.cjs +0 -1
  1430. package/functions/utils/create-provider.d.ts +0 -5
  1431. package/functions/utils/create-provider.mjs +0 -11
  1432. package/functions/utils/customEnclaveFunctionsRegister.cjs +0 -1
  1433. package/functions/utils/customEnclaveFunctionsRegister.mjs +0 -8
  1434. package/functions/utils/deposit-claimable.utils.cjs +0 -1
  1435. package/functions/utils/deposit-claimable.utils.mjs +0 -106
  1436. package/functions/utils/dispatchBalanceRefreshes.cjs +0 -1
  1437. package/functions/utils/dispatchBalanceRefreshes.mjs +0 -44
  1438. package/functions/utils/enclave-recipient-info-storage.cjs +0 -1
  1439. package/functions/utils/enclave-recipient-info-storage.mjs +0 -17
  1440. package/functions/utils/enclave-utxo-storage.cjs +0 -1
  1441. package/functions/utils/enclave-utxo-storage.d.ts +0 -7
  1442. package/functions/utils/enclave-utxo-storage.mjs +0 -30
  1443. package/functions/utils/enclaveHandshakeService.cjs +0 -1
  1444. package/functions/utils/enclaveHandshakeService.mjs +0 -22
  1445. package/functions/utils/encodeTokenWithId.cjs +0 -1
  1446. package/functions/utils/encodeTokenWithId.d.ts +0 -2
  1447. package/functions/utils/encodeTokenWithId.mjs +0 -8
  1448. package/functions/utils/encryptInputForEnclave.cjs +0 -1
  1449. package/functions/utils/erc20tokenFunctions.cjs +0 -1
  1450. package/functions/utils/erc20tokenFunctions.d.ts +0 -16
  1451. package/functions/utils/erc20tokenFunctions.mjs +0 -53
  1452. package/functions/utils/evmNetworkFunctions.cjs +0 -1
  1453. package/functions/utils/evmNetworkFunctions.d.ts +0 -3
  1454. package/functions/utils/evmNetworkFunctions.mjs +0 -6
  1455. package/functions/utils/external-action.utils.cjs +0 -1
  1456. package/functions/utils/external-action.utils.mjs +0 -7
  1457. package/functions/utils/fees.utils.cjs +0 -1
  1458. package/functions/utils/fees.utils.d.ts +0 -6
  1459. package/functions/utils/fees.utils.mjs +0 -43
  1460. package/functions/utils/formatter.cjs +0 -1
  1461. package/functions/utils/formatter.d.ts +0 -1
  1462. package/functions/utils/formatter.mjs +0 -15
  1463. package/functions/utils/getBlockExplorerUrl.cjs +0 -1
  1464. package/functions/utils/getBlockExplorerUrl.mjs +0 -6
  1465. package/functions/utils/getDataFromTransaction.cjs +0 -1
  1466. package/functions/utils/getDataFromTransaction.d.ts +0 -33
  1467. package/functions/utils/getDataFromTransaction.mjs +0 -42
  1468. package/functions/utils/getRecipientInfoFromUserKeys.cjs +0 -1
  1469. package/functions/utils/getRecipientInfoFromUserKeys.mjs +0 -20
  1470. package/functions/utils/getSignerFromContract.cjs +0 -1
  1471. package/functions/utils/getUtxosFromReceipt.utils.cjs +0 -1
  1472. package/functions/utils/getUtxosFromReceipt.utils.mjs +0 -68
  1473. package/functions/utils/getUtxosFromReceiptSolana.cjs +0 -1
  1474. package/functions/utils/getUtxosFromReceiptSolana.mjs +0 -44
  1475. package/functions/utils/getWalletGroupKey.utils.cjs +0 -1
  1476. package/functions/utils/getWalletGroupKey.utils.mjs +0 -7
  1477. package/functions/utils/inLogicMetadata.cjs +0 -1
  1478. package/functions/utils/inLogicMetadata.mjs +0 -15
  1479. package/functions/utils/index.cjs +0 -1
  1480. package/functions/utils/index.d.ts +0 -73
  1481. package/functions/utils/index.mjs +0 -93
  1482. package/functions/utils/ipfs.cjs +0 -1
  1483. package/functions/utils/ipfs.mjs +0 -22
  1484. package/functions/utils/is-valid-url.cjs +0 -1
  1485. package/functions/utils/is-valid-url.mjs +0 -4
  1486. package/functions/utils/lifi.utils.cjs +0 -1
  1487. package/functions/utils/lifi.utils.d.ts +0 -4
  1488. package/functions/utils/lifi.utils.mjs +0 -30
  1489. package/functions/utils/mnemonics.cjs +0 -1
  1490. package/functions/utils/mnemonics.mjs +0 -8
  1491. package/functions/utils/mutexes.utils.cjs +0 -1
  1492. package/functions/utils/mutexes.utils.d.ts +0 -2
  1493. package/functions/utils/mutexes.utils.mjs +0 -5
  1494. package/functions/utils/nearIntents.utils.cjs +0 -1
  1495. package/functions/utils/nearIntents.utils.d.ts +0 -11
  1496. package/functions/utils/nearIntents.utils.mjs +0 -36
  1497. package/functions/utils/networks.utils.cjs +0 -1
  1498. package/functions/utils/networks.utils.d.ts +0 -1
  1499. package/functions/utils/networks.utils.mjs +0 -9
  1500. package/functions/utils/nftTokenFunctions.cjs +0 -1
  1501. package/functions/utils/nftTokenFunctions.mjs +0 -19
  1502. package/functions/utils/nickname.utils.cjs +0 -1
  1503. package/functions/utils/nickname.utils.mjs +0 -4
  1504. package/functions/utils/pay-routing.utils.cjs +0 -1
  1505. package/functions/utils/pay-routing.utils.mjs +0 -17
  1506. package/functions/utils/prepareHinkal.cjs +0 -1
  1507. package/functions/utils/prepareHinkal.d.ts +0 -11
  1508. package/functions/utils/prepareHinkal.mjs +0 -42
  1509. package/functions/utils/process.utils.cjs +0 -1
  1510. package/functions/utils/process.utils.d.ts +0 -13
  1511. package/functions/utils/process.utils.mjs +0 -23
  1512. package/functions/utils/proxyAvatar.utils.cjs +0 -1
  1513. package/functions/utils/proxyAvatar.utils.mjs +0 -4
  1514. package/functions/utils/publicBalance.utils.cjs +0 -1
  1515. package/functions/utils/publicBalance.utils.mjs +0 -102
  1516. package/functions/utils/requireEnv.cjs +0 -1
  1517. package/functions/utils/requireEnv.mjs +0 -7
  1518. package/functions/utils/resolve-sync.utils.cjs +0 -1
  1519. package/functions/utils/resolve-sync.utils.mjs +0 -28
  1520. package/functions/utils/rpc-int-encode.cjs +0 -1
  1521. package/functions/utils/rpc-int-encode.mjs +0 -5
  1522. package/functions/utils/serialize-utxos.utils.cjs +0 -1
  1523. package/functions/utils/serialize-utxos.utils.mjs +0 -16
  1524. package/functions/utils/serialize.utils.cjs +0 -1
  1525. package/functions/utils/serialize.utils.mjs +0 -7
  1526. package/functions/utils/solana-memo.cjs +0 -1
  1527. package/functions/utils/solana-memo.mjs +0 -15
  1528. package/functions/utils/solanaMint.utils.cjs +0 -1
  1529. package/functions/utils/solanaSendPreflight.utils.cjs +0 -1
  1530. package/functions/utils/solanaSendPreflight.utils.mjs +0 -21
  1531. package/functions/utils/string.utils.cjs +0 -1
  1532. package/functions/utils/string.utils.mjs +0 -41
  1533. package/functions/utils/time.utils.cjs +0 -1
  1534. package/functions/utils/time.utils.mjs +0 -58
  1535. package/functions/utils/token-check.utils.cjs +0 -1
  1536. package/functions/utils/token-check.utils.d.ts +0 -5
  1537. package/functions/utils/token-check.utils.mjs +0 -18
  1538. package/functions/utils/transfer-claimable.utils.cjs +0 -1
  1539. package/functions/utils/transfer-claimable.utils.mjs +0 -93
  1540. package/functions/utils/trimFieldValues.cjs +0 -1
  1541. package/functions/utils/trimFieldValues.mjs +0 -23
  1542. package/functions/utils/tron.utils.cjs +0 -1
  1543. package/functions/utils/tron.utils.d.ts +0 -44
  1544. package/functions/utils/tron.utils.mjs +0 -197
  1545. package/functions/utils/tx-confirmation.utils.cjs +0 -1
  1546. package/functions/utils/tx-confirmation.utils.mjs +0 -34
  1547. package/functions/utils/userAgent.cjs +0 -1
  1548. package/functions/utils/userAgent.mjs +0 -11
  1549. package/functions/utils/validateUsername.cjs +0 -1
  1550. package/functions/utils/validateUsername.mjs +0 -22
  1551. package/functions/utils/walletBalances.utils.cjs +0 -1
  1552. package/functions/utils/walletBalances.utils.mjs +0 -11
  1553. package/functions/web3/EIP-712.cjs +0 -1
  1554. package/functions/web3/EIP-712.mjs +0 -110
  1555. package/functions/web3/connectors.utils.cjs +0 -1
  1556. package/functions/web3/connectors.utils.d.ts +0 -8
  1557. package/functions/web3/connectors.utils.mjs +0 -26
  1558. package/functions/web3/crypto.cjs +0 -1
  1559. package/functions/web3/crypto.mjs +0 -10
  1560. package/functions/web3/etherFunctions.cjs +0 -1
  1561. package/functions/web3/etherFunctions.d.ts +0 -20
  1562. package/functions/web3/etherFunctions.mjs +0 -36
  1563. package/functions/web3/events/balanceChangedHandler.cjs +0 -1
  1564. package/functions/web3/events/balanceChangedHandler.d.ts +0 -2
  1565. package/functions/web3/events/balanceChangedHandler.mjs +0 -9
  1566. package/functions/web3/events/getInputUtxoAndBalance.cjs +0 -1
  1567. package/functions/web3/events/getInputUtxoAndBalance.d.ts +0 -38
  1568. package/functions/web3/events/getInputUtxoAndBalance.mjs +0 -112
  1569. package/functions/web3/events/getInputUtxosEnclave.cjs +0 -1
  1570. package/functions/web3/events/getInputUtxosEnclave.mjs +0 -59
  1571. package/functions/web3/events/getShieldedBalance.cjs +0 -1
  1572. package/functions/web3/events/getShieldedBalance.d.ts +0 -18
  1573. package/functions/web3/events/getShieldedBalance.mjs +0 -96
  1574. package/functions/web3/events/getTransactionLogEvents.cjs +0 -1
  1575. package/functions/web3/events/getTransactionLogEvents.mjs +0 -36
  1576. package/functions/web3/events/index.cjs +0 -1
  1577. package/functions/web3/events/index.d.ts +0 -4
  1578. package/functions/web3/events/index.mjs +0 -4
  1579. package/functions/web3/functionCalls/approveToken.cjs +0 -1
  1580. package/functions/web3/functionCalls/approveToken.d.ts +0 -4
  1581. package/functions/web3/functionCalls/approveToken.mjs +0 -113
  1582. package/functions/web3/functionCalls/constructBatchCall.cjs +0 -1
  1583. package/functions/web3/functionCalls/constructBatchCall.d.ts +0 -7
  1584. package/functions/web3/functionCalls/constructBatchCall.mjs +0 -59
  1585. package/functions/web3/functionCalls/recoverTransactionFromError.cjs +0 -1
  1586. package/functions/web3/functionCalls/recoverTransactionFromError.mjs +0 -18
  1587. package/functions/web3/functionCalls/transactCallDirect.cjs +0 -1
  1588. package/functions/web3/functionCalls/transactCallDirect.mjs +0 -60
  1589. package/functions/web3/functionCalls/transactCallDirectTron.cjs +0 -1
  1590. package/functions/web3/functionCalls/transactCallDirectTron.mjs +0 -115
  1591. package/functions/web3/functionCalls/transactCallRelayer.cjs +0 -1
  1592. package/functions/web3/functionCalls/transactCallRelayer.mjs +0 -63
  1593. package/functions/web3/functionCalls/waitForErc20Approvals.cjs +0 -1
  1594. package/functions/web3/functionCalls/waitForErc20Approvals.mjs +0 -41
  1595. package/functions/web3/getContractMetadata.cjs +0 -1
  1596. package/functions/web3/getContractMetadata.mjs +0 -23
  1597. package/functions/web3/getPublicAddressBalance.cjs +0 -1
  1598. package/functions/web3/getPublicAddressBalance.mjs +0 -10
  1599. package/functions/web3/getTokenHolder.cjs +0 -1
  1600. package/functions/web3/getTokenHolder.mjs +0 -35
  1601. package/functions/web3/index.cjs +0 -1
  1602. package/functions/web3/index.mjs +0 -18
  1603. package/functions/web3/lifiAPI.cjs +0 -1
  1604. package/functions/web3/lifiAPI.mjs +0 -38
  1605. package/functions/web3/odosAPI.cjs +0 -1
  1606. package/functions/web3/odosAPI.mjs +0 -35
  1607. package/functions/web3/okxAPI.cjs +0 -1
  1608. package/functions/web3/oneInchAPI.cjs +0 -1
  1609. package/functions/web3/oneInchAPI.mjs +0 -34
  1610. package/functions/web3/runContractFunction.cjs +0 -1
  1611. package/functions/web3/runContractFunction.mjs +0 -55
  1612. package/functions/web3/signAndSendSerializedTransaction.cjs +0 -1
  1613. package/functions/web3/signAndSendSerializedTransaction.mjs +0 -14
  1614. package/functions/web3/uniswapAPI.cjs +0 -1
  1615. package/functions/web3/uniswapAPI.mjs +0 -60
  1616. package/mutexes/index.cjs +0 -1
  1617. package/mutexes/index.d.ts +0 -1
  1618. package/mutexes/index.mjs +0 -1
  1619. package/mutexes/mutex.cjs +0 -1
  1620. package/mutexes/mutex.mjs +0 -5
  1621. package/providers/CustomSolanaConnection.cjs +0 -1
  1622. package/providers/CustomSolanaConnection.d.ts +0 -4
  1623. package/providers/CustomSolanaConnection.mjs +0 -31
  1624. package/types/API.types.d.ts +0 -25
  1625. package/types/RewardUserEnums.cjs +0 -1
  1626. package/types/RewardUserEnums.mjs +0 -8
  1627. package/types/WeeklyAnalytics.types.d.ts +0 -37
  1628. package/types/activities.types.cjs +0 -1
  1629. package/types/activities.types.mjs +0 -26
  1630. package/types/admin.types.cjs +0 -1
  1631. package/types/admin.types.d.ts +0 -42
  1632. package/types/admin.types.mjs +0 -6
  1633. package/types/approvals.types.cjs +0 -1
  1634. package/types/approvals.types.mjs +0 -6
  1635. package/types/bridging-tx.types.d.ts +0 -17
  1636. package/types/brotherhood-user.types.d.ts +0 -11
  1637. package/types/cache.types.cjs +0 -1
  1638. package/types/cache.types.d.ts +0 -60
  1639. package/types/cache.types.mjs +0 -6
  1640. package/types/circom-data.types.cjs +0 -1
  1641. package/types/circom-data.types.d.ts +0 -107
  1642. package/types/circom-data.types.mjs +0 -19
  1643. package/types/confirmation-request.types.cjs +0 -1
  1644. package/types/confirmation-request.types.mjs +0 -6
  1645. package/types/crypto.types.d.ts +0 -8
  1646. package/types/dashboard-account.cjs +0 -1
  1647. package/types/dashboard-account.d.ts +0 -101
  1648. package/types/dashboard-account.mjs +0 -8
  1649. package/types/dashboard-payout.types.cjs +0 -1
  1650. package/types/dashboard-payout.types.d.ts +0 -29
  1651. package/types/dashboard-payout.types.mjs +0 -8
  1652. package/types/eip5792.types.cjs +0 -1
  1653. package/types/eip5792.types.mjs +0 -8
  1654. package/types/ethereum-network.types.cjs +0 -1
  1655. package/types/ethereum-network.types.d.ts +0 -62
  1656. package/types/ethereum-network.types.mjs +0 -6
  1657. package/types/generatePoints.cjs +0 -1
  1658. package/types/generatePoints.d.ts +0 -14
  1659. package/types/generatePoints.mjs +0 -8
  1660. package/types/hinkal.types.cjs +0 -1
  1661. package/types/hinkal.types.d.ts +0 -95
  1662. package/types/hinkal.types.mjs +0 -30
  1663. package/types/new-rewards.type.cjs +0 -1
  1664. package/types/new-rewards.type.d.ts +0 -152
  1665. package/types/new-rewards.type.mjs +0 -12
  1666. package/types/onramp.types.cjs +0 -1
  1667. package/types/onramp.types.mjs +0 -6
  1668. package/types/pay-activities.types.cjs +0 -1
  1669. package/types/pay-activities.types.mjs +0 -10
  1670. package/types/referral.types.d.ts +0 -12
  1671. package/types/rewards.types.cjs +0 -1
  1672. package/types/rewards.types.d.ts +0 -34
  1673. package/types/rewards.types.mjs +0 -8
  1674. package/types/scheduled-transactions.types.cjs +0 -1
  1675. package/types/scheduled-transactions.types.d.ts +0 -53
  1676. package/types/scheduled-transactions.types.mjs +0 -8
  1677. package/types/slippage.types.cjs +0 -1
  1678. package/types/slippage.types.mjs +0 -6
  1679. package/types/snark.types.d.ts +0 -40
  1680. package/types/token-prices.types.cjs +0 -1
  1681. package/types/token-prices.types.mjs +0 -11
  1682. package/types/token-with-id.types.d.ts +0 -4
  1683. package/types/token.types.cjs +0 -1
  1684. package/types/token.types.mjs +0 -6
  1685. package/types/transaction.types.d.ts +0 -160
  1686. package/types/transactions.types.cjs +0 -1
  1687. package/types/transactions.types.d.ts +0 -79
  1688. package/types/transactions.types.mjs +0 -40
  1689. package/webworker/logError-D7s4G7mb.js +0 -22
  1690. package/webworker/package.json +0 -112
  1691. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +0 -1
  1692. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +0 -4
  1693. package/webworker/snarkjsWorker/snarkjsWorkerNode.d.ts +0 -0
  1694. package/webworker/snarkjsWorkerNode.cjs +0 -3
  1695. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +0 -1
  1696. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +0 -4
  1697. package/webworker/utxoWorker/utxoWorkerNode.d.ts +0 -0
  1698. package/webworker/utxoWorkerNode.cjs +0 -1
  1699. package/webworker/viteWorkerURL.constant.cjs +0 -21
  1700. package/webworker/viteWorkerURL.constant.d.ts +0 -9
  1701. package/webworker/viteWorkerURL.constant.mjs +0 -21
  1702. package/webworker/workerFactory.cjs +0 -1
  1703. package/webworker/workerFactory.d.ts +0 -10
  1704. package/webworker/workerFactory.mjs +0 -42
  1705. package/webworker/workerProxy-C8hF6v0v.js +0 -128
  1706. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +0 -1
  1707. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +0 -4
  1708. package/webworker/zkProofWorker/zkProofWorkerNode.d.ts +0 -0
  1709. package/webworker/zkProofWorkerNode.cjs +0 -1
  1710. /package/{API → common/src/API}/admin-calls.d.ts +0 -0
  1711. /package/{API → common/src/API}/callLifiAPI.cjs +0 -0
  1712. /package/{API → common/src/API}/callLifiAPI.mjs +0 -0
  1713. /package/{API → common/src/API}/callMonitor.d.ts +0 -0
  1714. /package/{API → common/src/API}/callNearIntentsAPI.d.ts +0 -0
  1715. /package/{API → common/src/API}/callOdosAPI.cjs +0 -0
  1716. /package/{API → common/src/API}/callOdosAPI.d.ts +0 -0
  1717. /package/{API → common/src/API}/callOdosAPI.mjs +0 -0
  1718. /package/{API → common/src/API}/callOkxAPI.cjs +0 -0
  1719. /package/{API → common/src/API}/callOkxAPI.d.ts +0 -0
  1720. /package/{API → common/src/API}/callOkxAPI.mjs +0 -0
  1721. /package/{API → common/src/API}/callRelayer.cjs +0 -0
  1722. /package/{API → common/src/API}/callRelayer.d.ts +0 -0
  1723. /package/{API → common/src/API}/callRelayer.mjs +0 -0
  1724. /package/{API → common/src/API}/checkRisk.d.ts +0 -0
  1725. /package/{API → common/src/API}/dashboardAccountCalls.cjs +0 -0
  1726. /package/{API → common/src/API}/dashboardAccountCalls.d.ts +0 -0
  1727. /package/{API → common/src/API}/dashboardAccountCalls.mjs +0 -0
  1728. /package/{API → common/src/API}/dashboardBalanceCalls.cjs +0 -0
  1729. /package/{API → common/src/API}/dashboardBalanceCalls.d.ts +0 -0
  1730. /package/{API → common/src/API}/dashboardBalanceCalls.mjs +0 -0
  1731. /package/{API → common/src/API}/dashboardContactCalls.cjs +0 -0
  1732. /package/{API → common/src/API}/dashboardContactCalls.d.ts +0 -0
  1733. /package/{API → common/src/API}/dashboardContactCalls.mjs +0 -0
  1734. /package/{API → common/src/API}/dashboardTransactionCalls.cjs +0 -0
  1735. /package/{API → common/src/API}/dashboardTransactionCalls.d.ts +0 -0
  1736. /package/{API → common/src/API}/dashboardTransactionCalls.mjs +0 -0
  1737. /package/{API → common/src/API}/deposit-and-withdraw-status-calls.cjs +0 -0
  1738. /package/{API → common/src/API}/deposit-and-withdraw-status-calls.d.ts +0 -0
  1739. /package/{API → common/src/API}/deposit-and-withdraw-status-calls.mjs +0 -0
  1740. /package/{API → common/src/API}/enclaveRecipientInfoCalls.d.ts +0 -0
  1741. /package/{API → common/src/API}/enclaveSignatureCalls.d.ts +0 -0
  1742. /package/{API → common/src/API}/fetchCommitmentsCache.cjs +0 -0
  1743. /package/{API → common/src/API}/fetchCommitmentsCache.d.ts +0 -0
  1744. /package/{API → common/src/API}/fetchCommitmentsCache.mjs +0 -0
  1745. /package/{API → common/src/API}/get-token-data.cjs +0 -0
  1746. /package/{API → common/src/API}/get-token-data.d.ts +0 -0
  1747. /package/{API → common/src/API}/get-token-data.mjs +0 -0
  1748. /package/{API → common/src/API}/get-token-price-chart-data.cjs +0 -0
  1749. /package/{API → common/src/API}/get-token-price-chart-data.d.ts +0 -0
  1750. /package/{API → common/src/API}/get-token-price-chart-data.mjs +0 -0
  1751. /package/{API → common/src/API}/getAnyRecipientInfo.d.ts +0 -0
  1752. /package/{API → common/src/API}/getCoingeckoPrice.d.ts +0 -0
  1753. /package/{API → common/src/API}/getGasEstimates.cjs +0 -0
  1754. /package/{API → common/src/API}/getGasEstimates.d.ts +0 -0
  1755. /package/{API → common/src/API}/getGasEstimates.mjs +0 -0
  1756. /package/{API → common/src/API}/getServerURL.d.ts +0 -0
  1757. /package/{API → common/src/API}/getTokenPrice.cjs +0 -0
  1758. /package/{API → common/src/API}/getTokenPrice.d.ts +0 -0
  1759. /package/{API → common/src/API}/getTokenPrice.mjs +0 -0
  1760. /package/{API → common/src/API}/onrampCalls.cjs +0 -0
  1761. /package/{API → common/src/API}/onrampCalls.d.ts +0 -0
  1762. /package/{API → common/src/API}/onrampCalls.mjs +0 -0
  1763. /package/{API → common/src/API}/privacy-score-calls.cjs +0 -0
  1764. /package/{API → common/src/API}/privacy-score-calls.d.ts +0 -0
  1765. /package/{API → common/src/API}/privacy-score-calls.mjs +0 -0
  1766. /package/{API → common/src/API}/privateSendEmailNotificationsCalls.cjs +0 -0
  1767. /package/{API → common/src/API}/privateSendEmailNotificationsCalls.d.ts +0 -0
  1768. /package/{API → common/src/API}/privateSendEmailNotificationsCalls.mjs +0 -0
  1769. /package/{API → common/src/API}/privateSendNonceCalls.cjs +0 -0
  1770. /package/{API → common/src/API}/privateSendNonceCalls.d.ts +0 -0
  1771. /package/{API → common/src/API}/privateSendNonceCalls.mjs +0 -0
  1772. /package/{API → common/src/API}/privateSendRecipientInfoCalls.cjs +0 -0
  1773. /package/{API → common/src/API}/privateSendRecipientInfoCalls.d.ts +0 -0
  1774. /package/{API → common/src/API}/privateSendRecipientInfoCalls.mjs +0 -0
  1775. /package/{API → common/src/API}/relayCalls.cjs +0 -0
  1776. /package/{API → common/src/API}/relayCalls.d.ts +0 -0
  1777. /package/{API → common/src/API}/relayCalls.mjs +0 -0
  1778. /package/{API → common/src/API}/resolve-sns.d.ts +0 -0
  1779. /package/{API → common/src/API}/scheduled-transactions-calls.cjs +0 -0
  1780. /package/{API → common/src/API}/scheduled-transactions-calls.mjs +0 -0
  1781. /package/{API → common/src/API}/seedless-calls.cjs +0 -0
  1782. /package/{API → common/src/API}/seedless-calls.d.ts +0 -0
  1783. /package/{API → common/src/API}/seedless-calls.mjs +0 -0
  1784. /package/{API → common/src/API}/simulate-batch-tx.cjs +0 -0
  1785. /package/{API → common/src/API}/simulate-batch-tx.d.ts +0 -0
  1786. /package/{API → common/src/API}/simulate-batch-tx.mjs +0 -0
  1787. /package/{API → common/src/API}/simulate-transaction.cjs +0 -0
  1788. /package/{API → common/src/API}/simulate-transaction.d.ts +0 -0
  1789. /package/{API → common/src/API}/simulate-transaction.mjs +0 -0
  1790. /package/{API → common/src/API}/snapshot-event-calls.cjs +0 -0
  1791. /package/{API → common/src/API}/snapshot-event-calls.d.ts +0 -0
  1792. /package/{API → common/src/API}/snapshot-event-calls.mjs +0 -0
  1793. /package/{API → common/src/API}/tenderly.api.d.ts +0 -0
  1794. /package/{API → common/src/API}/tronSubsidyCalls.cjs +0 -0
  1795. /package/{API → common/src/API}/tronSubsidyCalls.d.ts +0 -0
  1796. /package/{API → common/src/API}/tronSubsidyCalls.mjs +0 -0
  1797. /package/{constants → common/src/constants}/activity.constants.d.ts +0 -0
  1798. /package/{constants → common/src/constants}/addresses.constants.d.ts +0 -0
  1799. /package/{constants → common/src/constants}/auth.constants.d.ts +0 -0
  1800. /package/{constants → common/src/constants}/backend.constants.d.ts +0 -0
  1801. /package/{constants → common/src/constants}/balance.constants.d.ts +0 -0
  1802. /package/{constants → common/src/constants}/contracts.constants.d.ts +0 -0
  1803. /package/{constants → common/src/constants}/conversion.constants.d.ts +0 -0
  1804. /package/{constants → common/src/constants}/events.constants.cjs +0 -0
  1805. /package/{constants → common/src/constants}/events.constants.d.ts +0 -0
  1806. /package/{constants → common/src/constants}/events.constants.mjs +0 -0
  1807. /package/{constants → common/src/constants}/fees.constants.d.ts +0 -0
  1808. /package/{constants → common/src/constants}/function-signatures.constants.d.ts +0 -0
  1809. /package/{constants → common/src/constants}/images.constants.d.ts +0 -0
  1810. /package/{constants → common/src/constants}/lifi.constants.d.ts +0 -0
  1811. /package/{constants → common/src/constants}/link.constant.d.ts +0 -0
  1812. /package/{constants → common/src/constants}/oauthUrls.constants.d.ts +0 -0
  1813. /package/{constants → common/src/constants}/okx.constants.d.ts +0 -0
  1814. /package/{constants → common/src/constants}/permit2.constants.d.ts +0 -0
  1815. /package/{constants → common/src/constants}/presale.constants.d.ts +0 -0
  1816. /package/{constants → common/src/constants}/reorg-depths.constants.cjs +0 -0
  1817. /package/{constants → common/src/constants}/reorg-depths.constants.d.ts +0 -0
  1818. /package/{constants → common/src/constants}/reorg-depths.constants.mjs +0 -0
  1819. /package/{constants → common/src/constants}/save-depths.cjs +0 -0
  1820. /package/{constants → common/src/constants}/save-depths.d.ts +0 -0
  1821. /package/{constants → common/src/constants}/save-depths.mjs +0 -0
  1822. /package/{constants → common/src/constants}/schedule.constants.d.ts +0 -0
  1823. /package/{constants → common/src/constants}/tx-confirmation.constants.d.ts +0 -0
  1824. /package/{constants → common/src/constants}/wallet.constants.d.ts +0 -0
  1825. /package/{crypto → common/src/crypto}/babyJub.d.ts +0 -0
  1826. /package/{crypto → common/src/crypto}/ecdh-dual-path.d.ts +0 -0
  1827. /package/{crypto → common/src/crypto}/ecdh-sealed-keys.d.ts +0 -0
  1828. /package/{crypto → common/src/crypto}/ecdh-sealed-keys.mjs +0 -0
  1829. /package/{crypto → common/src/crypto}/ecdh.d.ts +0 -0
  1830. /package/{crypto → common/src/crypto}/eddsa.d.ts +0 -0
  1831. /package/{crypto → common/src/crypto}/index.d.ts +0 -0
  1832. /package/{crypto → common/src/crypto}/poseidon.d.ts +0 -0
  1833. /package/{crypto → common/src/crypto}/preProcessing.d.ts +0 -0
  1834. /package/{data-structures → common/src/data-structures}/AccountActions/AccountActions.d.ts +0 -0
  1835. /package/{data-structures → common/src/data-structures}/AccountActions/AccountActions.mjs +0 -0
  1836. /package/{data-structures → common/src/data-structures}/AccountActions/index.cjs +0 -0
  1837. /package/{data-structures → common/src/data-structures}/AccountActions/index.d.ts +0 -0
  1838. /package/{data-structures → common/src/data-structures}/AccountActions/index.mjs +0 -0
  1839. /package/{data-structures → common/src/data-structures}/ApprovalDBs/EventsPublicApprovalsDB.d.ts +0 -0
  1840. /package/{data-structures → common/src/data-structures}/ApprovalDBs/index.d.ts +0 -0
  1841. /package/{data-structures → common/src/data-structures}/BlockchainEvent/BlockchainEvent.cjs +0 -0
  1842. /package/{data-structures → common/src/data-structures}/BlockchainEvent/BlockchainEvent.d.ts +0 -0
  1843. /package/{data-structures → common/src/data-structures}/BlockchainEvent/BlockchainEvent.mjs +0 -0
  1844. /package/{data-structures → common/src/data-structures}/Hinkal/handleAutoDepositBack.d.ts +0 -0
  1845. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalActionReceive.cjs +0 -0
  1846. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalActionReceive.d.ts +0 -0
  1847. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalActionReceive.mjs +0 -0
  1848. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalClaimUtxo.d.ts +0 -0
  1849. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalDeposit.d.ts +0 -0
  1850. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalGetRecipientInfo.cjs +0 -0
  1851. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalGetRecipientInfo.d.ts +0 -0
  1852. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalGetRecipientInfo.mjs +0 -0
  1853. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalNearDepositAndBridge.d.ts +0 -0
  1854. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalPalSolanaDepositPrepare.d.ts +0 -0
  1855. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalPrivateWallet.d.ts +0 -0
  1856. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalProxySwap.d.ts +0 -0
  1857. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalProxyToPrivate.d.ts +0 -0
  1858. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSignSubAccount.cjs +0 -0
  1859. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSignSubAccount.d.ts +0 -0
  1860. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSignSubAccount.mjs +0 -0
  1861. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaClaimUtxo.d.ts +0 -0
  1862. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaDeposit.d.ts +0 -0
  1863. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +0 -0
  1864. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaProoflessDeposit.cjs +0 -0
  1865. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaProoflessDeposit.d.ts +0 -0
  1866. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaProoflessDeposit.mjs +0 -0
  1867. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaProxySend.d.ts +0 -0
  1868. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaProxyShield.d.ts +0 -0
  1869. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaProxySwap.d.ts +0 -0
  1870. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaSwap.d.ts +0 -0
  1871. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaTransfer.d.ts +0 -0
  1872. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSolanaWithdraw.d.ts +0 -0
  1873. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalSwap.d.ts +0 -0
  1874. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalTransfer.d.ts +0 -0
  1875. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalWithdraw.d.ts +0 -0
  1876. /package/{data-structures → common/src/data-structures}/Hinkal/hinkalWithdrawStuckUtxos.d.ts +0 -0
  1877. /package/{data-structures → common/src/data-structures}/Hinkal/resetMerkleTrees.d.ts +0 -0
  1878. /package/{data-structures → common/src/data-structures}/IndexedDB/activity-db.d.ts +0 -0
  1879. /package/{data-structures → common/src/data-structures}/IndexedDB/balances-db.d.ts +0 -0
  1880. /package/{data-structures → common/src/data-structures}/IndexedDB/pay-activity-db.d.ts +0 -0
  1881. /package/{data-structures → common/src/data-structures}/IndexedDB/prices-db.d.ts +0 -0
  1882. /package/{data-structures → common/src/data-structures}/IndexedDB/signatures-db.d.ts +0 -0
  1883. /package/{data-structures → common/src/data-structures}/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +0 -0
  1884. /package/{data-structures → common/src/data-structures}/TokenDBs/ArcPublicTokensDB.d.ts +0 -0
  1885. /package/{data-structures → common/src/data-structures}/TokenDBs/PrivateTokensDB.d.ts +0 -0
  1886. /package/{data-structures → common/src/data-structures}/TokenDBs/index.cjs +0 -0
  1887. /package/{data-structures → common/src/data-structures}/TokenDBs/index.d.ts +0 -0
  1888. /package/{data-structures → common/src/data-structures}/TokenDBs/index.mjs +0 -0
  1889. /package/{data-structures → common/src/data-structures}/TokenDBs/token-visibility-db.d.ts +0 -0
  1890. /package/{data-structures → common/src/data-structures}/TokenDBs/token-visibility-db.mjs +0 -0
  1891. /package/{data-structures → common/src/data-structures}/ValueCache/ValueCache.d.ts +0 -0
  1892. /package/{data-structures → common/src/data-structures}/ValueCache/index.d.ts +0 -0
  1893. /package/{data-structures → common/src/data-structures}/WalletManager/index.d.ts +0 -0
  1894. /package/{data-structures → common/src/data-structures}/cacheDevices/AttachableMemoryCacheDevice.cjs +0 -0
  1895. /package/{data-structures → common/src/data-structures}/cacheDevices/AttachableMemoryCacheDevice.d.ts +0 -0
  1896. /package/{data-structures → common/src/data-structures}/cacheDevices/AttachableMemoryCacheDevice.mjs +0 -0
  1897. /package/{data-structures → common/src/data-structures}/cacheDevices/LocalStorageCacheDevice.cjs +0 -0
  1898. /package/{data-structures → common/src/data-structures}/cacheDevices/LocalStorageCacheDevice.d.ts +0 -0
  1899. /package/{data-structures → common/src/data-structures}/cacheDevices/LocalStorageCacheDevice.mjs +0 -0
  1900. /package/{data-structures → common/src/data-structures}/cacheDevices/index.cjs +0 -0
  1901. /package/{data-structures → common/src/data-structures}/cacheDevices/index.d.ts +0 -0
  1902. /package/{data-structures → common/src/data-structures}/cacheDevices/index.mjs +0 -0
  1903. /package/{data-structures → common/src/data-structures}/crypto-keys/index.d.ts +0 -0
  1904. /package/{data-structures → common/src/data-structures}/crypto-keys/keyUtils.cjs +0 -0
  1905. /package/{data-structures → common/src/data-structures}/crypto-keys/keyUtils.d.ts +0 -0
  1906. /package/{data-structures → common/src/data-structures}/crypto-keys/keyUtils.mjs +0 -0
  1907. /package/{data-structures → common/src/data-structures}/custom-token-registry/CustomTokenRegistry.d.ts +0 -0
  1908. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractCommitmentsSnapshotService.cjs +0 -0
  1909. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractCommitmentsSnapshotService.d.ts +0 -0
  1910. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractCommitmentsSnapshotService.mjs +0 -0
  1911. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractEventService.cjs +0 -0
  1912. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractEventService.d.ts +0 -0
  1913. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractEventService.mjs +0 -0
  1914. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractNullifierSnapshotService.d.ts +0 -0
  1915. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractNullifierSnapshotService.mjs +0 -0
  1916. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractSnapshotService.cjs +0 -0
  1917. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractSnapshotService.d.ts +0 -0
  1918. /package/{data-structures → common/src/data-structures}/event-service/evm/AbstractSnapshotService.mjs +0 -0
  1919. /package/{data-structures → common/src/data-structures}/event-service/evm/PollingBlockchainEventEmitter.d.ts +0 -0
  1920. /package/{data-structures → common/src/data-structures}/event-service/helpers/ClientEventHelper.d.ts +0 -0
  1921. /package/{data-structures → common/src/data-structures}/event-service/helpers/PollingEventHelper.d.ts +0 -0
  1922. /package/{data-structures → common/src/data-structures}/event-service/index.cjs +0 -0
  1923. /package/{data-structures → common/src/data-structures}/event-service/index.d.ts +0 -0
  1924. /package/{data-structures → common/src/data-structures}/event-service/index.mjs +0 -0
  1925. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaCommitmentsSnapshotService.d.ts +0 -0
  1926. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaEventService.cjs +0 -0
  1927. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaEventService.d.ts +0 -0
  1928. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaEventService.mjs +0 -0
  1929. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaNullifierSnapshotService.d.ts +0 -0
  1930. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs +0 -0
  1931. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaSnapshotService.cjs +0 -0
  1932. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaSnapshotService.d.ts +0 -0
  1933. /package/{data-structures → common/src/data-structures}/event-service/solana/AbstractSolanaSnapshotService.mjs +0 -0
  1934. /package/{data-structures → common/src/data-structures}/event-service/solana/ClientSolanaBlockchainEventEmitter.cjs +0 -0
  1935. /package/{data-structures → common/src/data-structures}/event-service/solana/ClientSolanaBlockchainEventEmitter.mjs +0 -0
  1936. /package/{data-structures → common/src/data-structures}/event-service/solana/PollingSolanaBlockchainEventEmitter.d.ts +0 -0
  1937. /package/{data-structures → common/src/data-structures}/event-service/solana/SolanaBlockchainEventEmitter.mjs +0 -0
  1938. /package/{data-structures → common/src/data-structures}/http/BasicHttpClient.d.ts +0 -0
  1939. /package/{data-structures → common/src/data-structures}/http/BasicHttpClient.mjs +0 -0
  1940. /package/{data-structures → common/src/data-structures}/http/HttpClient.cjs +0 -0
  1941. /package/{data-structures → common/src/data-structures}/http/HttpClient.d.ts +0 -0
  1942. /package/{data-structures → common/src/data-structures}/http/HttpClient.mjs +0 -0
  1943. /package/{data-structures → common/src/data-structures}/http/index.cjs +0 -0
  1944. /package/{data-structures → common/src/data-structures}/http/index.d.ts +0 -0
  1945. /package/{data-structures → common/src/data-structures}/http/index.mjs +0 -0
  1946. /package/{data-structures → common/src/data-structures}/merkle-tree/MerkleTree.cjs +0 -0
  1947. /package/{data-structures → common/src/data-structures}/merkle-tree/MerkleTree.d.ts +0 -0
  1948. /package/{data-structures → common/src/data-structures}/merkle-tree/MerkleTree.mjs +0 -0
  1949. /package/{data-structures → common/src/data-structures}/merkle-tree/MerkleTreeIncompleteError.cjs +0 -0
  1950. /package/{data-structures → common/src/data-structures}/merkle-tree/MerkleTreeIncompleteError.d.ts +0 -0
  1951. /package/{data-structures → common/src/data-structures}/merkle-tree/MerkleTreeIncompleteError.mjs +0 -0
  1952. /package/{data-structures → common/src/data-structures}/merkle-tree/index.cjs +0 -0
  1953. /package/{data-structures → common/src/data-structures}/merkle-tree/index.d.ts +0 -0
  1954. /package/{data-structures → common/src/data-structures}/merkle-tree/index.mjs +0 -0
  1955. /package/{data-structures → common/src/data-structures}/presale/PresaleContractWrapper.d.ts +0 -0
  1956. /package/{data-structures → common/src/data-structures}/presale/index.d.ts +0 -0
  1957. /package/{data-structures → common/src/data-structures}/snapshot/SnapshotFetcherService.cjs +0 -0
  1958. /package/{data-structures → common/src/data-structures}/snapshot/SnapshotFetcherService.d.ts +0 -0
  1959. /package/{data-structures → common/src/data-structures}/snapshot/SnapshotFetcherService.mjs +0 -0
  1960. /package/{data-structures → common/src/data-structures}/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.cjs +0 -0
  1961. /package/{data-structures → common/src/data-structures}/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.d.ts +0 -0
  1962. /package/{data-structures → common/src/data-structures}/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs +0 -0
  1963. /package/{data-structures → common/src/data-structures}/snapshot/evm-snapshots/ClientNullifierSnapshotService.cjs +0 -0
  1964. /package/{data-structures → common/src/data-structures}/snapshot/evm-snapshots/ClientNullifierSnapshotService.d.ts +0 -0
  1965. /package/{data-structures → common/src/data-structures}/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs +0 -0
  1966. /package/{data-structures → common/src/data-structures}/snapshot/index.cjs +0 -0
  1967. /package/{data-structures → common/src/data-structures}/snapshot/index.d.ts +0 -0
  1968. /package/{data-structures → common/src/data-structures}/snapshot/index.mjs +0 -0
  1969. /package/{data-structures → common/src/data-structures}/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.cjs +0 -0
  1970. /package/{data-structures → common/src/data-structures}/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.d.ts +0 -0
  1971. /package/{data-structures → common/src/data-structures}/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs +0 -0
  1972. /package/{data-structures → common/src/data-structures}/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.cjs +0 -0
  1973. /package/{data-structures → common/src/data-structures}/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.d.ts +0 -0
  1974. /package/{data-structures → common/src/data-structures}/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs +0 -0
  1975. /package/{data-structures → common/src/data-structures}/token-price-fetcher/TokenChecker.d.ts +0 -0
  1976. /package/{data-structures → common/src/data-structures}/token-price-fetcher/index.d.ts +0 -0
  1977. /package/{data-structures → common/src/data-structures}/transactions-manager/history/history.types.d.ts +0 -0
  1978. /package/{data-structures → common/src/data-structures}/transactions-manager/index.d.ts +0 -0
  1979. /package/{error-handling → common/src/error-handling}/customErrors/ErrorWithAmount.cjs +0 -0
  1980. /package/{error-handling → common/src/error-handling}/customErrors/ErrorWithAmount.d.ts +0 -0
  1981. /package/{error-handling → common/src/error-handling}/customErrors/ErrorWithAmount.mjs +0 -0
  1982. /package/{error-handling → common/src/error-handling}/customErrors/ErrorWithIndex.d.ts +0 -0
  1983. /package/{error-handling → common/src/error-handling}/customErrors/ErrorWithTx.cjs +0 -0
  1984. /package/{error-handling → common/src/error-handling}/customErrors/ErrorWithTx.d.ts +0 -0
  1985. /package/{error-handling → common/src/error-handling}/customErrors/ErrorWithTx.mjs +0 -0
  1986. /package/{error-handling → common/src/error-handling}/customErrors/FeeOverTransactionValueError.cjs +0 -0
  1987. /package/{error-handling → common/src/error-handling}/customErrors/FeeOverTransactionValueError.d.ts +0 -0
  1988. /package/{error-handling → common/src/error-handling}/customErrors/FeeOverTransactionValueError.mjs +0 -0
  1989. /package/{error-handling → common/src/error-handling}/customErrors/HttpError.d.ts +0 -0
  1990. /package/{error-handling → common/src/error-handling}/customErrors/SimulationFailureError.d.ts +0 -0
  1991. /package/{error-handling → common/src/error-handling}/customErrors/customErrors.helpers.d.ts +0 -0
  1992. /package/{error-handling → common/src/error-handling}/customErrors/index.d.ts +0 -0
  1993. /package/{error-handling → common/src/error-handling}/get-error.message.d.ts +0 -0
  1994. /package/{error-handling → common/src/error-handling}/isInsufficientFundsError.cjs +0 -0
  1995. /package/{error-handling → common/src/error-handling}/isInsufficientFundsError.d.ts +0 -0
  1996. /package/{error-handling → common/src/error-handling}/isInsufficientFundsError.mjs +0 -0
  1997. /package/{error-handling → common/src/error-handling}/logError.cjs +0 -0
  1998. /package/{error-handling → common/src/error-handling}/logError.d.ts +0 -0
  1999. /package/{error-handling → common/src/error-handling}/logError.mjs +0 -0
  2000. /package/{error-handling → common/src/error-handling}/logger.cjs +0 -0
  2001. /package/{error-handling → common/src/error-handling}/logger.d.ts +0 -0
  2002. /package/{error-handling → common/src/error-handling}/logger.mjs +0 -0
  2003. /package/{error-handling → common/src/error-handling}/retrySolanaError.cjs +0 -0
  2004. /package/{error-handling → common/src/error-handling}/retrySolanaError.d.ts +0 -0
  2005. /package/{error-handling → common/src/error-handling}/retrySolanaError.mjs +0 -0
  2006. /package/{error-handling → common/src/error-handling}/types.cjs +0 -0
  2007. /package/{error-handling → common/src/error-handling}/types.d.ts +0 -0
  2008. /package/{error-handling → common/src/error-handling}/types.mjs +0 -0
  2009. /package/{externalABIs → common/src/externalABIs}/BUSD.d.ts +0 -0
  2010. /package/{externalABIs → common/src/externalABIs}/DAI.d.ts +0 -0
  2011. /package/{externalABIs → common/src/externalABIs}/ERC1155.json.cjs +0 -0
  2012. /package/{externalABIs → common/src/externalABIs}/ERC1155.json.mjs +0 -0
  2013. /package/{externalABIs → common/src/externalABIs}/ERC20.json.cjs +0 -0
  2014. /package/{externalABIs → common/src/externalABIs}/ERC20.json.mjs +0 -0
  2015. /package/{externalABIs → common/src/externalABIs}/ERC721.json.cjs +0 -0
  2016. /package/{externalABIs → common/src/externalABIs}/ERC721.json.mjs +0 -0
  2017. /package/{externalABIs → common/src/externalABIs}/IQuoterV2.json.cjs +0 -0
  2018. /package/{externalABIs → common/src/externalABIs}/IQuoterV2.json.mjs +0 -0
  2019. /package/{externalABIs → common/src/externalABIs}/ISwapRouter.json.cjs +0 -0
  2020. /package/{externalABIs → common/src/externalABIs}/ISwapRouter.json.mjs +0 -0
  2021. /package/{externalABIs → common/src/externalABIs}/IUniswapV3Factory.json.cjs +0 -0
  2022. /package/{externalABIs → common/src/externalABIs}/IUniswapV3Factory.json.mjs +0 -0
  2023. /package/{externalABIs → common/src/externalABIs}/IUniswapV3Pool.json.cjs +0 -0
  2024. /package/{externalABIs → common/src/externalABIs}/IUniswapV3Pool.json.mjs +0 -0
  2025. /package/{externalABIs → common/src/externalABIs}/SanctionsList.d.ts +0 -0
  2026. /package/{externalABIs → common/src/externalABIs}/USDC.d.ts +0 -0
  2027. /package/{externalABIs → common/src/externalABIs}/USDR.d.ts +0 -0
  2028. /package/{externalABIs → common/src/externalABIs}/USDR3CRV.d.ts +0 -0
  2029. /package/{externalABIs → common/src/externalABIs}/USDT.d.ts +0 -0
  2030. /package/{externalABIs → common/src/externalABIs}/UniswapV2PoolAbi.json.cjs +0 -0
  2031. /package/{externalABIs → common/src/externalABIs}/UniswapV2PoolAbi.json.mjs +0 -0
  2032. /package/{externalABIs → common/src/externalABIs}/WETH.d.ts +0 -0
  2033. /package/{externalABIs → common/src/externalABIs}/amToken.d.ts +0 -0
  2034. /package/{externalABIs → common/src/externalABIs}/index.d.ts +0 -0
  2035. /package/{externalABIs → common/src/externalABIs}/swapAbi.cjs +0 -0
  2036. /package/{externalABIs → common/src/externalABIs}/swapAbi.d.ts +0 -0
  2037. /package/{externalABIs → common/src/externalABIs}/swapAbi.mjs +0 -0
  2038. /package/{functions → common/src/functions}/auto-deposit-back-helpers/get-gas-token-records.cjs +0 -0
  2039. /package/{functions → common/src/functions}/auto-deposit-back-helpers/get-gas-token-records.d.ts +0 -0
  2040. /package/{functions → common/src/functions}/auto-deposit-back-helpers/get-gas-token-records.mjs +0 -0
  2041. /package/{functions → common/src/functions}/auto-deposit-back-helpers/get-tokens-to-deposit-back.d.ts +0 -0
  2042. /package/{functions → common/src/functions}/auto-deposit-back-helpers/index.cjs +0 -0
  2043. /package/{functions → common/src/functions}/auto-deposit-back-helpers/index.d.ts +0 -0
  2044. /package/{functions → common/src/functions}/auto-deposit-back-helpers/index.mjs +0 -0
  2045. /package/{functions → common/src/functions}/auto-deposit-back-helpers/select-gas-token.d.ts +0 -0
  2046. /package/{functions → common/src/functions}/connectors.types.d.ts +0 -0
  2047. /package/{functions → common/src/functions}/pre-transaction/addressTableLookup.d.ts +0 -0
  2048. /package/{functions → common/src/functions}/pre-transaction/buildCommitmentValidationData.d.ts +0 -0
  2049. /package/{functions → common/src/functions}/pre-transaction/calculateSolanaNullifierCount.d.ts +0 -0
  2050. /package/{functions → common/src/functions}/pre-transaction/constructAdminData.cjs +0 -0
  2051. /package/{functions → common/src/functions}/pre-transaction/constructAdminData.d.ts +0 -0
  2052. /package/{functions → common/src/functions}/pre-transaction/constructAdminData.mjs +0 -0
  2053. /package/{functions → common/src/functions}/pre-transaction/convert-okx-instructions.d.ts +0 -0
  2054. /package/{functions → common/src/functions}/pre-transaction/convert-okx-instructions.mjs +0 -0
  2055. /package/{functions → common/src/functions}/pre-transaction/ensureAmountChanges.d.ts +0 -0
  2056. /package/{functions → common/src/functions}/pre-transaction/ensureAmountChanges.mjs +0 -0
  2057. /package/{functions → common/src/functions}/pre-transaction/getExternalSwapAddress.d.ts +0 -0
  2058. /package/{functions → common/src/functions}/pre-transaction/getFeeStructure.d.ts +0 -0
  2059. /package/{functions → common/src/functions}/pre-transaction/getSolanaCalldataHash.d.ts +0 -0
  2060. /package/{functions → common/src/functions}/pre-transaction/getSolanaCalldataHash.mjs +0 -0
  2061. /package/{functions → common/src/functions}/pre-transaction/getVolatileTransferAmount.d.ts +0 -0
  2062. /package/{functions → common/src/functions}/pre-transaction/interaction-to-action.d.ts +0 -0
  2063. /package/{functions → common/src/functions}/pre-transaction/merge-with-fee-structure-emporium.d.ts +0 -0
  2064. /package/{functions → common/src/functions}/pre-transaction/outputUtxoProcessing.d.ts +0 -0
  2065. /package/{functions → common/src/functions}/pre-transaction/process-gas-estimates.d.ts +0 -0
  2066. /package/{functions → common/src/functions}/pre-transaction/recipientUtxoProcessing.d.ts +0 -0
  2067. /package/{functions → common/src/functions}/pre-transaction/sendInitNullifiersTransaction.d.ts +0 -0
  2068. /package/{functions → common/src/functions}/pre-transaction/sendV0Transaction.d.ts +0 -0
  2069. /package/{functions → common/src/functions}/pre-transaction/solana.d.ts +0 -0
  2070. /package/{functions → common/src/functions}/pre-transaction/solanaTransfer.utils.d.ts +0 -0
  2071. /package/{functions → common/src/functions}/pre-transaction/solanaTransfer.utils.mjs +0 -0
  2072. /package/{functions → common/src/functions}/pre-transaction/store-instructions.d.ts +0 -0
  2073. /package/{functions → common/src/functions}/pre-transaction/store-proof.d.ts +0 -0
  2074. /package/{functions → common/src/functions}/pre-transaction/waitForDepositedUtxosInMerkleTree.cjs +0 -0
  2075. /package/{functions → common/src/functions}/pre-transaction/waitForDepositedUtxosInMerkleTree.d.ts +0 -0
  2076. /package/{functions → common/src/functions}/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs +0 -0
  2077. /package/{functions → common/src/functions}/private-wallet/emporium.swap.helpers.d.ts +0 -0
  2078. /package/{functions → common/src/functions}/private-wallet/index.cjs +0 -0
  2079. /package/{functions → common/src/functions}/private-wallet/index.d.ts +0 -0
  2080. /package/{functions → common/src/functions}/private-wallet/index.mjs +0 -0
  2081. /package/{functions → common/src/functions}/private-wallet/opProducer.d.ts +0 -0
  2082. /package/{functions → common/src/functions}/snarkjs/constructSolanaZkProof.d.ts +0 -0
  2083. /package/{functions → common/src/functions}/snarkjs/fetchMerkleTreeSiblings.cjs +0 -0
  2084. /package/{functions → common/src/functions}/snarkjs/fetchMerkleTreeSiblings.mjs +0 -0
  2085. /package/{functions → common/src/functions}/snarkjs/generateMainAndCommitmentZkProof.cjs +0 -0
  2086. /package/{functions → common/src/functions}/snarkjs/generateMainAndCommitmentZkProof.d.ts +0 -0
  2087. /package/{functions → common/src/functions}/snarkjs/generateMainAndCommitmentZkProof.mjs +0 -0
  2088. /package/{functions → common/src/functions}/snarkjs/generateZkProof.cjs +0 -0
  2089. /package/{functions → common/src/functions}/snarkjs/generateZkProof.d.ts +0 -0
  2090. /package/{functions → common/src/functions}/snarkjs/generateZkProof.mjs +0 -0
  2091. /package/{functions → common/src/functions}/snarkjs/generateZkProofEnclave.d.ts +0 -0
  2092. /package/{functions → common/src/functions}/snarkjs/generateZkProofSelf.cjs +0 -0
  2093. /package/{functions → common/src/functions}/snarkjs/generateZkProofSelf.d.ts +0 -0
  2094. /package/{functions → common/src/functions}/snarkjs/generateZkProofSelf.mjs +0 -0
  2095. /package/{functions → common/src/functions}/snarkjs/getOriginalSender.cjs +0 -0
  2096. /package/{functions → common/src/functions}/snarkjs/getOriginalSender.d.ts +0 -0
  2097. /package/{functions → common/src/functions}/snarkjs/getOriginalSender.mjs +0 -0
  2098. /package/{functions → common/src/functions}/snarkjs/getZKFiles.d.ts +0 -0
  2099. /package/{functions → common/src/functions}/snarkjs/verifyCommitmentValidationData.d.ts +0 -0
  2100. /package/{functions → common/src/functions}/utils/aggregateTokenAmounts.cjs +0 -0
  2101. /package/{functions → common/src/functions}/utils/aggregateTokenAmounts.d.ts +0 -0
  2102. /package/{functions → common/src/functions}/utils/aggregateTokenAmounts.mjs +0 -0
  2103. /package/{functions → common/src/functions}/utils/amounts.utils.d.ts +0 -0
  2104. /package/{functions → common/src/functions}/utils/arraysMatch.d.ts +0 -0
  2105. /package/{functions → common/src/functions}/utils/auth.utils.cjs +0 -0
  2106. /package/{functions → common/src/functions}/utils/auth.utils.d.ts +0 -0
  2107. /package/{functions → common/src/functions}/utils/auth.utils.mjs +0 -0
  2108. /package/{functions → common/src/functions}/utils/bytes32.utils.d.ts +0 -0
  2109. /package/{functions → common/src/functions}/utils/cacheDevice.utils.cjs +0 -0
  2110. /package/{functions → common/src/functions}/utils/cacheDevice.utils.d.ts +0 -0
  2111. /package/{functions → common/src/functions}/utils/cacheFunctions.d.ts +0 -0
  2112. /package/{functions → common/src/functions}/utils/caseInsensitive.utils.d.ts +0 -0
  2113. /package/{functions → common/src/functions}/utils/convertEmporiumOpToCallInfo.d.ts +0 -0
  2114. /package/{functions → common/src/functions}/utils/convertIntegrationProviderToExternalActionId.d.ts +0 -0
  2115. /package/{functions → common/src/functions}/utils/customEnclaveFunctionsRegister.d.ts +0 -0
  2116. /package/{functions → common/src/functions}/utils/deposit-claimable.utils.d.ts +0 -0
  2117. /package/{functions → common/src/functions}/utils/dispatchBalanceRefreshes.d.ts +0 -0
  2118. /package/{functions → common/src/functions}/utils/enclave-recipient-info-storage.d.ts +0 -0
  2119. /package/{functions → common/src/functions}/utils/enclave-signature-storage.cjs +0 -0
  2120. /package/{functions → common/src/functions}/utils/enclave-signature-storage.d.ts +0 -0
  2121. /package/{functions → common/src/functions}/utils/enclave-signature-storage.mjs +0 -0
  2122. /package/{functions → common/src/functions}/utils/enclaveHandshakeService.d.ts +0 -0
  2123. /package/{functions → common/src/functions}/utils/encryptInputForEnclave.d.ts +0 -0
  2124. /package/{functions → common/src/functions}/utils/encryptInputForEnclave.mjs +0 -0
  2125. /package/{functions → common/src/functions}/utils/enum.utils.d.ts +0 -0
  2126. /package/{functions → common/src/functions}/utils/external-action.utils.d.ts +0 -0
  2127. /package/{functions → common/src/functions}/utils/get-signature-header.cjs +0 -0
  2128. /package/{functions → common/src/functions}/utils/get-signature-header.d.ts +0 -0
  2129. /package/{functions → common/src/functions}/utils/get-signature-header.mjs +0 -0
  2130. /package/{functions → common/src/functions}/utils/getBlockExplorerUrl.d.ts +0 -0
  2131. /package/{functions → common/src/functions}/utils/getContractAddress.cjs +0 -0
  2132. /package/{functions → common/src/functions}/utils/getContractAddress.d.ts +0 -0
  2133. /package/{functions → common/src/functions}/utils/getContractAddress.mjs +0 -0
  2134. /package/{functions → common/src/functions}/utils/getRecipientInfoFromUserKeys.d.ts +0 -0
  2135. /package/{functions → common/src/functions}/utils/getSignerFromContract.d.ts +0 -0
  2136. /package/{functions → common/src/functions}/utils/getSignerFromContract.mjs +0 -0
  2137. /package/{functions → common/src/functions}/utils/getUtxosFromReceipt.utils.d.ts +0 -0
  2138. /package/{functions → common/src/functions}/utils/getUtxosFromReceiptSolana.d.ts +0 -0
  2139. /package/{functions → common/src/functions}/utils/getWalletGroupKey.utils.d.ts +0 -0
  2140. /package/{functions → common/src/functions}/utils/inLogicMetadata.d.ts +0 -0
  2141. /package/{functions → common/src/functions}/utils/involves-permit2-op.cjs +0 -0
  2142. /package/{functions → common/src/functions}/utils/involves-permit2-op.d.ts +0 -0
  2143. /package/{functions → common/src/functions}/utils/involves-permit2-op.mjs +0 -0
  2144. /package/{functions → common/src/functions}/utils/ipfs.d.ts +0 -0
  2145. /package/{functions → common/src/functions}/utils/is-valid-url.d.ts +0 -0
  2146. /package/{functions → common/src/functions}/utils/memoize.utils.d.ts +0 -0
  2147. /package/{functions → common/src/functions}/utils/merkleTree.utils.cjs +0 -0
  2148. /package/{functions → common/src/functions}/utils/merkleTree.utils.d.ts +0 -0
  2149. /package/{functions → common/src/functions}/utils/merkleTree.utils.mjs +0 -0
  2150. /package/{functions → common/src/functions}/utils/mnemonics.d.ts +0 -0
  2151. /package/{functions → common/src/functions}/utils/nftTokenFunctions.d.ts +0 -0
  2152. /package/{functions → common/src/functions}/utils/nickname.utils.d.ts +0 -0
  2153. /package/{functions → common/src/functions}/utils/pay-routing.utils.d.ts +0 -0
  2154. /package/{functions → common/src/functions}/utils/postToOffscreen.cjs +0 -0
  2155. /package/{functions → common/src/functions}/utils/postToOffscreen.d.ts +0 -0
  2156. /package/{functions → common/src/functions}/utils/postToOffscreen.mjs +0 -0
  2157. /package/{functions → common/src/functions}/utils/proxyAvatar.utils.d.ts +0 -0
  2158. /package/{functions → common/src/functions}/utils/publicBalance.utils.d.ts +0 -0
  2159. /package/{functions → common/src/functions}/utils/reloadPage.cjs +0 -0
  2160. /package/{functions → common/src/functions}/utils/reloadPage.d.ts +0 -0
  2161. /package/{functions → common/src/functions}/utils/reloadPage.mjs +0 -0
  2162. /package/{functions → common/src/functions}/utils/requireEnv.d.ts +0 -0
  2163. /package/{functions → common/src/functions}/utils/resolve-sync.utils.d.ts +0 -0
  2164. /package/{functions → common/src/functions}/utils/rpc-int-encode.d.ts +0 -0
  2165. /package/{functions → common/src/functions}/utils/serialize-utxos.utils.d.ts +0 -0
  2166. /package/{functions → common/src/functions}/utils/serialize.utils.d.ts +0 -0
  2167. /package/{functions → common/src/functions}/utils/solana-memo.d.ts +0 -0
  2168. /package/{functions → common/src/functions}/utils/solanaMint.utils.d.ts +0 -0
  2169. /package/{functions → common/src/functions}/utils/solanaMint.utils.mjs +0 -0
  2170. /package/{functions → common/src/functions}/utils/solanaSendPreflight.utils.d.ts +0 -0
  2171. /package/{functions → common/src/functions}/utils/string.utils.d.ts +0 -0
  2172. /package/{functions → common/src/functions}/utils/time.utils.d.ts +0 -0
  2173. /package/{functions → common/src/functions}/utils/transfer-claimable.utils.d.ts +0 -0
  2174. /package/{functions → common/src/functions}/utils/trimFieldValues.d.ts +0 -0
  2175. /package/{functions → common/src/functions}/utils/tronSimulation.utils.cjs +0 -0
  2176. /package/{functions → common/src/functions}/utils/tronSimulation.utils.d.ts +0 -0
  2177. /package/{functions → common/src/functions}/utils/tronSimulation.utils.mjs +0 -0
  2178. /package/{functions → common/src/functions}/utils/tx-confirmation.utils.d.ts +0 -0
  2179. /package/{functions → common/src/functions}/utils/upToDateState.cjs +0 -0
  2180. /package/{functions → common/src/functions}/utils/upToDateState.d.ts +0 -0
  2181. /package/{functions → common/src/functions}/utils/upToDateState.mjs +0 -0
  2182. /package/{functions → common/src/functions}/utils/userAgent.d.ts +0 -0
  2183. /package/{functions → common/src/functions}/utils/validateUsername.d.ts +0 -0
  2184. /package/{functions → common/src/functions}/utils/walletBalances.utils.d.ts +0 -0
  2185. /package/{functions → common/src/functions}/web3/EIP-712.d.ts +0 -0
  2186. /package/{functions → common/src/functions}/web3/crypto.d.ts +0 -0
  2187. /package/{functions → common/src/functions}/web3/events/getInputUtxosEnclave.d.ts +0 -0
  2188. /package/{functions → common/src/functions}/web3/events/getTransactionLogEvents.d.ts +0 -0
  2189. /package/{functions → common/src/functions}/web3/fetchSolanaMerkleTreeRootHash.cjs +0 -0
  2190. /package/{functions → common/src/functions}/web3/fetchSolanaMerkleTreeRootHash.d.ts +0 -0
  2191. /package/{functions → common/src/functions}/web3/fetchSolanaMerkleTreeRootHash.mjs +0 -0
  2192. /package/{functions → common/src/functions}/web3/functionCalls/approveTokensToHinkal.cjs +0 -0
  2193. /package/{functions → common/src/functions}/web3/functionCalls/approveTokensToHinkal.d.ts +0 -0
  2194. /package/{functions → common/src/functions}/web3/functionCalls/approveTokensToHinkal.mjs +0 -0
  2195. /package/{functions → common/src/functions}/web3/functionCalls/estimateGasRelayer.d.ts +0 -0
  2196. /package/{functions → common/src/functions}/web3/functionCalls/getRootHash.d.ts +0 -0
  2197. /package/{functions → common/src/functions}/web3/functionCalls/recoverTransactionFromError.d.ts +0 -0
  2198. /package/{functions → common/src/functions}/web3/functionCalls/relayFunctions.d.ts +0 -0
  2199. /package/{functions → common/src/functions}/web3/functionCalls/transactCallDirect.d.ts +0 -0
  2200. /package/{functions → common/src/functions}/web3/functionCalls/transactCallDirectTron.d.ts +0 -0
  2201. /package/{functions → common/src/functions}/web3/functionCalls/transactCallRelayer.d.ts +0 -0
  2202. /package/{functions → common/src/functions}/web3/functionCalls/waitForErc20Approvals.d.ts +0 -0
  2203. /package/{functions → common/src/functions}/web3/getContractMetadata.d.ts +0 -0
  2204. /package/{functions → common/src/functions}/web3/getPublicAddressBalance.d.ts +0 -0
  2205. /package/{functions → common/src/functions}/web3/getSolanaPriorityFee.cjs +0 -0
  2206. /package/{functions → common/src/functions}/web3/getSolanaPriorityFee.d.ts +0 -0
  2207. /package/{functions → common/src/functions}/web3/getSolanaPriorityFee.mjs +0 -0
  2208. /package/{functions → common/src/functions}/web3/getTokenHolder.d.ts +0 -0
  2209. /package/{functions → common/src/functions}/web3/index.d.ts +0 -0
  2210. /package/{functions → common/src/functions}/web3/lifiAPI.d.ts +0 -0
  2211. /package/{functions → common/src/functions}/web3/odosAPI.d.ts +0 -0
  2212. /package/{functions → common/src/functions}/web3/okxAPI.d.ts +0 -0
  2213. /package/{functions → common/src/functions}/web3/okxAPI.mjs +0 -0
  2214. /package/{functions → common/src/functions}/web3/oneInchAPI.d.ts +0 -0
  2215. /package/{functions → common/src/functions}/web3/runContractFunction.d.ts +0 -0
  2216. /package/{functions → common/src/functions}/web3/signAndSendSerializedTransaction.d.ts +0 -0
  2217. /package/{functions → common/src/functions}/web3/uniswapAPI.d.ts +0 -0
  2218. /package/{mutexes → common/src/mutexes}/mutex.d.ts +0 -0
  2219. /package/{providers → common/src/providers}/exportProviers.d.ts +0 -0
  2220. /package/{types → common/src/types}/ICacheDevice.d.ts +0 -0
  2221. /package/{types → common/src/types}/IMultiThreadedUtxoUtils.d.ts +0 -0
  2222. /package/{types → common/src/types}/RewardUserEnums.d.ts +0 -0
  2223. /package/{types → common/src/types}/TransactionSimulator.types.d.ts +0 -0
  2224. /package/{types → common/src/types}/activities.types.d.ts +0 -0
  2225. /package/{types → common/src/types}/all-points.types.d.ts +0 -0
  2226. /package/{types → common/src/types}/approvals.types.d.ts +0 -0
  2227. /package/{types → common/src/types}/big-intable.types.d.ts +0 -0
  2228. /package/{types → common/src/types}/chains.types.cjs +0 -0
  2229. /package/{types → common/src/types}/chains.types.d.ts +0 -0
  2230. /package/{types → common/src/types}/chains.types.mjs +0 -0
  2231. /package/{types → common/src/types}/coingecko.types.d.ts +0 -0
  2232. /package/{types → common/src/types}/commitments.types.d.ts +0 -0
  2233. /package/{types → common/src/types}/confirmation-request.types.d.ts +0 -0
  2234. /package/{types → common/src/types}/connector.types.d.ts +0 -0
  2235. /package/{types → common/src/types}/contacts.types.d.ts +0 -0
  2236. /package/{types → common/src/types}/dashboard-transaction.types.d.ts +0 -0
  2237. /package/{types → common/src/types}/eip5792.types.d.ts +0 -0
  2238. /package/{types → common/src/types}/events.types.cjs +0 -0
  2239. /package/{types → common/src/types}/events.types.d.ts +0 -0
  2240. /package/{types → common/src/types}/events.types.mjs +0 -0
  2241. /package/{types → common/src/types}/fee.types.cjs +0 -0
  2242. /package/{types → common/src/types}/fee.types.mjs +0 -0
  2243. /package/{types → common/src/types}/http.types.d.ts +0 -0
  2244. /package/{types → common/src/types}/message.types.d.ts +0 -0
  2245. /package/{types → common/src/types}/near-intents.types.d.ts +0 -0
  2246. /package/{types → common/src/types}/offscreen.types.cjs +0 -0
  2247. /package/{types → common/src/types}/offscreen.types.d.ts +0 -0
  2248. /package/{types → common/src/types}/offscreen.types.mjs +0 -0
  2249. /package/{types → common/src/types}/okx.types.d.ts +0 -0
  2250. /package/{types → common/src/types}/onramp.types.d.ts +0 -0
  2251. /package/{types → common/src/types}/pay-activities.types.d.ts +0 -0
  2252. /package/{types → common/src/types}/pay-routing.types.d.ts +0 -0
  2253. /package/{types → common/src/types}/presaleReferral.types.d.ts +0 -0
  2254. /package/{types → common/src/types}/proxy.types.d.ts +0 -0
  2255. /package/{types → common/src/types}/remote-proof.types.d.ts +0 -0
  2256. /package/{types → common/src/types}/schedule.types.cjs +0 -0
  2257. /package/{types → common/src/types}/schedule.types.d.ts +0 -0
  2258. /package/{types → common/src/types}/schedule.types.mjs +0 -0
  2259. /package/{types → common/src/types}/session.types.d.ts +0 -0
  2260. /package/{types → common/src/types}/signature.types.d.ts +0 -0
  2261. /package/{types → common/src/types}/slippage.types.d.ts +0 -0
  2262. /package/{types → common/src/types}/solana.types.d.ts +0 -0
  2263. /package/{types → common/src/types}/tenderly.api.types.d.ts +0 -0
  2264. /package/{types → common/src/types}/token-prices.types.d.ts +0 -0
  2265. /package/{types → common/src/types}/transaction.types.cjs +0 -0
  2266. /package/{types → common/src/types}/transaction.types.mjs +0 -0
  2267. /package/{types → common/src/types}/tron.types.d.ts +0 -0
  2268. /package/{types → common/src/types}/wc.types.d.ts +0 -0
  2269. /package/{types → common/src/types}/with-id.types.d.ts +0 -0
  2270. /package/{webworker → common/src/webworker}/WorkerWrapper.cjs +0 -0
  2271. /package/{webworker → common/src/webworker}/WorkerWrapper.d.ts +0 -0
  2272. /package/{webworker → common/src/webworker}/WorkerWrapper.mjs +0 -0
  2273. /package/{webworker → common/src/webworker}/performTaskWithWorker.cjs +0 -0
  2274. /package/{webworker → common/src/webworker}/performTaskWithWorker.d.ts +0 -0
  2275. /package/{webworker → common/src/webworker}/performTaskWithWorker.mjs +0 -0
  2276. /package/{webworker → common/src/webworker}/snarkjsWorker/snarkjsWorker.types.cjs +0 -0
  2277. /package/{webworker → common/src/webworker}/snarkjsWorker/snarkjsWorker.types.d.ts +0 -0
  2278. /package/{webworker → common/src/webworker}/snarkjsWorker/snarkjsWorker.types.mjs +0 -0
  2279. /package/{webworker → common/src/webworker}/snarkjsWorker/snarkjsWorkerLauncher.d.ts +0 -0
  2280. /package/{webworker → common/src/webworker}/snarkjsWorker/snarkjsWorkerLogic.d.ts +0 -0
  2281. /package/{webworker/utxoWorker/utxoWorkerLauncher.d.ts → common/src/webworker/snarkjsWorker/snarkjsWorkerNode.d.ts} +0 -0
  2282. /package/{webworker → common/src/webworker}/utxoWorker/utxoWorker.types.cjs +0 -0
  2283. /package/{webworker → common/src/webworker}/utxoWorker/utxoWorker.types.d.ts +0 -0
  2284. /package/{webworker → common/src/webworker}/utxoWorker/utxoWorker.types.mjs +0 -0
  2285. /package/{webworker/workerThreadsPatch.d.ts → common/src/webworker/utxoWorker/utxoWorkerLauncher.d.ts} +0 -0
  2286. /package/{webworker → common/src/webworker}/utxoWorker/utxoWorkerLogic.d.ts +0 -0
  2287. /package/{webworker/zkProofWorker/zkProofWorkerLauncher.d.ts → common/src/webworker/utxoWorker/utxoWorkerNode.d.ts} +0 -0
  2288. /package/{webworker → common/src/webworker}/worker.registry.cjs +0 -0
  2289. /package/{webworker → common/src/webworker}/worker.registry.d.ts +0 -0
  2290. /package/{webworker → common/src/webworker}/worker.registry.mjs +0 -0
  2291. /package/{webworker → common/src/webworker}/worker.types.d.ts +0 -0
  2292. /package/{webworker → common/src/webworker}/workerErrorHandler.d.ts +0 -0
  2293. /package/{webworker → common/src/webworker}/workerProxy.d.ts +0 -0
  2294. /package/{webworker → common/src/webworker}/zkProofWorker/zkProofWorker.types.cjs +0 -0
  2295. /package/{webworker → common/src/webworker}/zkProofWorker/zkProofWorker.types.d.ts +0 -0
  2296. /package/{webworker → common/src/webworker}/zkProofWorker/zkProofWorker.types.mjs +0 -0
  2297. /package/{webworker → common/src/webworker}/zkProofWorker/zkProofWorkerLogic.d.ts +0 -0
@@ -0,0 +1,91 @@
1
+ import { CIRCOM_P as e, zeroAddress as t } from "../../constants/protocol.constants.mjs";
2
+ import { UserKeys as n } from "../../data-structures/crypto-keys/keys.mjs";
3
+ import { defaultHookData as r } from "../../types/circom-data.types.mjs";
4
+ import { encryptEncryptionKeyAndStealthAddress as i, encryptUtxo as a } from "../../data-structures/crypto-keys/encryptDecryptUtxo.mjs";
5
+ import { getExternalActionIdHash as o } from "../utils/external-action.utils.mjs";
6
+ import { getOriginalSender as s } from "./getOriginalSender.mjs";
7
+ import { ethers as c } from "ethers";
8
+ //#region libs/shared/common/src/functions/snarkjs/common.snarkjs.ts
9
+ var l = (e) => {
10
+ if (e.H0?.[0] !== void 0 && e.H0[1] !== void 0) return [e.H0[0], e.H0[1]];
11
+ throw Error("UTXO missing H0 coordinates for proof input");
12
+ }, u = Array.from({ length: 25 }, () => "0"), d = (e) => e.length > 0 && e.every((e) => e.every((e) => BigInt(e.amount) === 0n)), f = (e) => ({
13
+ inCommitmentSiblings: e.map((e) => e.map(() => [...u])),
14
+ inCommitmentSiblingSides: e.map((e) => e.map(() => [...u])),
15
+ inNullifiers: e.map((e) => e.map(() => "0"))
16
+ }), p = (e) => e.map((e) => e.map((e) => e.amount === 0n ? "0" : e.getCommitment())), m = (t, n, r = !1) => {
17
+ let i = [];
18
+ for (let a = 0; a < t.length; a += 1) {
19
+ let o = 0n, s = 0n;
20
+ for (let e = 0; e < t[a].length; e += 1) o += t[a][e].amount;
21
+ for (let e = 0; e < n[a].length; e += 1) s += n[a][e].amount;
22
+ s - o < 0 ? r ? i.push(s - o) : i.push(e + (s - o)) : i.push(s - o);
23
+ }
24
+ return i;
25
+ }, h = (e) => e.map((e) => e >= 0n ? 0n : e), g = (e) => {
26
+ if (e.length === 0) return [];
27
+ let t = [[""]];
28
+ for (let n = 0; n < e.length; n += 1) n > 0 && t.push([""]), e[n].forEach((e, r) => {
29
+ t[n][r] = `0x${Buffer.from(a(e)).toString("hex")}`;
30
+ });
31
+ return t;
32
+ }, _ = (e, t) => `0x${Buffer.from(i(e, t.stealthAddress)).toString("hex")}`, v = (e) => {
33
+ let t = { ...e };
34
+ return t.amountChanges = e.amountChanges.map((e) => e.toString()), t.calldataHash = e.calldataHash.toString(), t.stealthAddressStructure.H0x = e.stealthAddressStructure.H0x.toString(), t.stealthAddressStructure.H0y = e.stealthAddressStructure.H0y.toString(), t.stealthAddressStructure.H1x = e.stealthAddressStructure.H1x.toString(), t.stealthAddressStructure.H1y = e.stealthAddressStructure.H1y.toString(), t.stealthAddressStructure.stealthAddress = e.stealthAddressStructure.stealthAddress.toString(), t.rootHashHinkal = e.rootHashHinkal?.toString(), t.rootHashHinkalIndex = e.rootHashHinkalIndex?.toString(), t.externalActionData = {
35
+ ...e.externalActionData,
36
+ externalActionId: e.externalActionData.externalActionId?.toString()
37
+ }, t.emporiumMessage = e.emporiumMessage?.toString(), t.slippageValues = e.slippageValues.map((e) => e.toString()), t.feeStructure.flatFee = e.feeStructure.flatFee.toString(), t.feeStructure.variableRate = e.feeStructure.variableRate.toString(), t;
38
+ }, y = (n, i, a, l, u, d, f, p, m, h, g, _, v, y = "0x") => {
39
+ let b = Object.values(m || r), x = a ?? t, S = v ?? s(x, i), C = typeof l == "bigint" ? l : o(l), w = c.AbiCoder.defaultAbiCoder().encode([
40
+ "uint16",
41
+ "address",
42
+ "uint256",
43
+ "tuple(address externalAddress, uint256 externalActionId, bytes externalActionMetadata)",
44
+ "int256[]"
45
+ ], [
46
+ n,
47
+ i,
48
+ u,
49
+ [
50
+ x,
51
+ C,
52
+ d
53
+ ],
54
+ h
55
+ ]), T = c.AbiCoder.defaultAbiCoder().encode([
56
+ "tuple(address, address, bytes, bytes)",
57
+ "bytes[][]",
58
+ "bytes",
59
+ "tuple(address, uint256, uint256)",
60
+ "bool[]",
61
+ "address",
62
+ "bytes"
63
+ ], [
64
+ b,
65
+ f,
66
+ p,
67
+ [
68
+ _.feeToken,
69
+ _.flatFee,
70
+ _.variableRate
71
+ ],
72
+ g,
73
+ S,
74
+ y
75
+ ]), E = BigInt(c.keccak256(w)), D = BigInt(c.keccak256(T)), O = c.AbiCoder.defaultAbiCoder().encode(["uint256", "uint256"], [E, D]);
76
+ return BigInt(c.keccak256(O)) % e;
77
+ }, b = (e, t, n, r, i) => e.startsWith("mainEVMCircuitMin0") ? 3 : 2 + t.length + n.length + 1 + r.flat().length + i.flat().length + 1 + 1 + 1 + 1 + 1 + 1 + 1, x = (e, t, r) => {
78
+ let i = n.getH1FromH0(e, t), a = BigInt(n.getStealthAddress(e, t, r));
79
+ return {
80
+ H0x: e[0],
81
+ H0y: e[1],
82
+ H1x: i[0],
83
+ H1y: i[1],
84
+ stealthAddress: a
85
+ };
86
+ }, S = (e, t, r) => {
87
+ let { H0: i } = n.getRandomizedStealthPair(e, t);
88
+ return x(i, t, r);
89
+ }, C = (e, t) => t.length === 0 ? "mainEVMCircuitMin0" : `mainEVMCircuit${e.length}x${e[0].length}x${t[0].length}`;
90
+ //#endregion
91
+ export { p as buildOutCommitments, f as buildZeroInputMerkleDataFromSerialized, m as calcAmountChanges, g as calcEncryptedOutputs, _ as calcOnchainEncryptedOutput, b as calcPublicSignalCount, S as calcStealthAddressStructure, x as calcStealthAddressStructureFromH0, y as createCallDataHash, h as getSlippageValues, l as getUtxoCircuitH0Coords, C as getZkProofVerifierName, d as hasOnlyZeroAmounts, v as serializeCircomData };
@@ -0,0 +1 @@
1
+ const e=require(`../../constants/vite.constants.cjs`),t=require(`../../API/getServerURL.cjs`);var n=e.isNotProduction?`https://enclave-staging-v2.hinkal.io`:`https://enclave-server.hinkal.io`,r=`${t.BACK_END_URL}/verifiers-v4/`,i={mainEVMCircuit1x2x1v4Wasm:`${r}mainEVMCircuit1x2x1-4.wasm`,mainEVMCircuit1x2x1v4Zkey:`${r}mainEVMCircuit1x2x1_final-4.zkey`,mainEVMCircuit1x6x1v4Wasm:`${r}mainEVMCircuit1x6x1-4.wasm`,mainEVMCircuit1x6x1v4Zkey:`${r}mainEVMCircuit1x6x1_final-4.zkey`,mainEVMCircuit2x2x1v4Wasm:`${r}mainEVMCircuit2x2x1-4.wasm`,mainEVMCircuit2x2x1v4Zkey:`${r}mainEVMCircuit2x2x1_final-4.zkey`,mainEVMCircuit2x6x1v4Wasm:`${r}mainEVMCircuit2x6x1-4.wasm`,mainEVMCircuit2x6x1v4Zkey:`${r}mainEVMCircuit2x6x1_final-4.zkey`,mainEVMCircuit3x2x1v4Wasm:`${r}mainEVMCircuit3x2x1-4.wasm`,mainEVMCircuit3x2x1v4Zkey:`${r}mainEVMCircuit3x2x1_final-4.zkey`,mainEVMCircuit3x6x1v4Wasm:`${r}mainEVMCircuit3x6x1-4.wasm`,mainEVMCircuit3x6x1v4Zkey:`${r}mainEVMCircuit3x6x1_final-4.zkey`,mainEVMCircuit4x2x1v4Wasm:`${r}mainEVMCircuit4x2x1-4.wasm`,mainEVMCircuit4x2x1v4Zkey:`${r}mainEVMCircuit4x2x1_final-4.zkey`,mainEVMCircuit4x6x1v4Wasm:`${r}mainEVMCircuit4x6x1-4.wasm`,mainEVMCircuit4x6x1v4Zkey:`${r}mainEVMCircuit4x6x1_final-4.zkey`,mainEVMCircuit5x2x1v4Wasm:`${r}mainEVMCircuit5x2x1-4.wasm`,mainEVMCircuit5x2x1v4Zkey:`${r}mainEVMCircuit5x2x1_final-4.zkey`,mainEVMCircuit5x6x1v4Wasm:`${r}mainEVMCircuit5x6x1-4.wasm`,mainEVMCircuit5x6x1v4Zkey:`${r}mainEVMCircuit5x6x1_final-4.zkey`,mainEVMCircuit1x2x2v4Wasm:`${r}mainEVMCircuit1x2x2-4.wasm`,mainEVMCircuit1x2x2v4Zkey:`${r}mainEVMCircuit1x2x2_final-4.zkey`,mainEVMCircuit1x6x2v4Wasm:`${r}mainEVMCircuit1x6x2-4.wasm`,mainEVMCircuit1x6x2v4Zkey:`${r}mainEVMCircuit1x6x2_final-4.zkey`,mainEVMCircuit2x2x2v4Wasm:`${r}mainEVMCircuit2x2x2-4.wasm`,mainEVMCircuit2x2x2v4Zkey:`${r}mainEVMCircuit2x2x2_final-4.zkey`,mainEVMCircuit2x6x2v4Wasm:`${r}mainEVMCircuit2x6x2-4.wasm`,mainEVMCircuit2x6x2v4Zkey:`${r}mainEVMCircuit2x6x2_final-4.zkey`,mainEVMCircuitMin0v4Wasm:`${r}mainEVMCircuitMin0-4.wasm`,mainEVMCircuitMin0v4Zkey:`${r}mainEVMCircuitMin0_final-4.zkey`,mainSolanaCircuit1x2x1v4Zkey:`${r}mainSolanaCircuit1x2x1_final-4.zkey`,mainSolanaCircuit1x2x1v4Wasm:`${r}mainSolanaCircuit1x2x1-4.wasm`,mainSolanaCircuit1x2x2v4Zkey:`${r}mainSolanaCircuit1x2x2_final-4.zkey`,mainSolanaCircuit1x2x2v4Wasm:`${r}mainSolanaCircuit1x2x2-4.wasm`,mainSolanaCircuit1x6x1v4Zkey:`${r}mainSolanaCircuit1x6x1_final-4.zkey`,mainSolanaCircuit1x6x1v4Wasm:`${r}mainSolanaCircuit1x6x1-4.wasm`,mainSolanaCircuit1x6x2v4Zkey:`${r}mainSolanaCircuit1x6x2_final-4.zkey`,mainSolanaCircuit1x6x2v4Wasm:`${r}mainSolanaCircuit1x6x2-4.wasm`,mainSolanaCircuit2x2x1v4Zkey:`${r}mainSolanaCircuit2x2x1_final-4.zkey`,mainSolanaCircuit2x2x1v4Wasm:`${r}mainSolanaCircuit2x2x1-4.wasm`,mainSolanaCircuit2x6x1v4Zkey:`${r}mainSolanaCircuit2x6x1_final-4.zkey`,mainSolanaCircuit2x6x1v4Wasm:`${r}mainSolanaCircuit2x6x1-4.wasm`,commitmentCalculator1x2v4Wasm:`${r}commitmentCalculator1x2-4.wasm`,commitmentCalculator1x2v4Zkey:`${r}commitmentCalculator1x2_final-4.zkey`,commitmentCalculator1x2v4VK:`${r}commitmentCalculator1x2_final-4_verification_key.json`,commitmentCalculator1x6v4Wasm:`${r}commitmentCalculator1x6-4.wasm`,commitmentCalculator1x6v4Zkey:`${r}commitmentCalculator1x6_final-4.zkey`,commitmentCalculator1x6v4VK:`${r}commitmentCalculator1x6_final-4_verification_key.json`,commitmentCalculator2x2v4Wasm:`${r}commitmentCalculator2x2-4.wasm`,commitmentCalculator2x2v4Zkey:`${r}commitmentCalculator2x2_final-4.zkey`,commitmentCalculator2x2v4VK:`${r}commitmentCalculator2x2_final-4_verification_key.json`,commitmentCalculator2x6v4Wasm:`${r}commitmentCalculator2x6-4.wasm`,commitmentCalculator2x6v4Zkey:`${r}commitmentCalculator2x6_final-4.zkey`,commitmentCalculator2x6v4VK:`${r}commitmentCalculator2x6_final-4_verification_key.json`,commitmentCalculator3x2v4Wasm:`${r}commitmentCalculator3x2-4.wasm`,commitmentCalculator3x2v4Zkey:`${r}commitmentCalculator3x2_final-4.zkey`,commitmentCalculator3x2v4VK:`${r}commitmentCalculator3x2_final-4_verification_key.json`,commitmentCalculator3x6v4Wasm:`${r}commitmentCalculator3x6-4.wasm`,commitmentCalculator3x6v4Zkey:`${r}commitmentCalculator3x6_final-4.zkey`,commitmentCalculator3x6v4VK:`${r}commitmentCalculator3x6_final-4_verification_key.json`,commitmentCalculator4x2v4Wasm:`${r}commitmentCalculator4x2-4.wasm`,commitmentCalculator4x2v4Zkey:`${r}commitmentCalculator4x2_final-4.zkey`,commitmentCalculator4x2v4VK:`${r}commitmentCalculator4x2_final-4_verification_key.json`,commitmentCalculator4x6v4Wasm:`${r}commitmentCalculator4x6-4.wasm`,commitmentCalculator4x6v4Zkey:`${r}commitmentCalculator4x6_final-4.zkey`,commitmentCalculator4x6v4VK:`${r}commitmentCalculator4x6_final-4_verification_key.json`,commitmentCalculator5x2v4Wasm:`${r}commitmentCalculator5x2-4.wasm`,commitmentCalculator5x2v4Zkey:`${r}commitmentCalculator5x2_final-4.zkey`,commitmentCalculator5x2v4VK:`${r}commitmentCalculator5x2_final-4_verification_key.json`,commitmentCalculator5x6v4Wasm:`${r}commitmentCalculator5x6-4.wasm`,commitmentCalculator5x6v4Zkey:`${r}commitmentCalculator5x6_final-4.zkey`,commitmentCalculator5x6v4VK:`${r}commitmentCalculator5x6_final-4_verification_key.json`,SignatureFromMnemonicv1x1Wasm:`${r}SignatureFromMnemonic-1.1.wasm`,SignatureFromMnemonicv1x1Zkey:`${r}SignatureFromMnemonic_final-1.1.zkey`,SignatureFromMnemonicv1x1VK:`${r}SignatureFromMnemonic_final-1.1_verification_key.json`},a={mainEVMCircuit1x2x1v4Wasm:`mainEVMCircuit1x2x1-4.wasm`,mainEVMCircuit1x2x1v4Zkey:`mainEVMCircuit1x2x1_final-4.zkey`,mainEVMCircuit1x6x1v4Wasm:`mainEVMCircuit1x6x1-4.wasm`,mainEVMCircuit1x6x1v4Zkey:`mainEVMCircuit1x6x1_final-4.zkey`,mainEVMCircuit2x2x1v4Wasm:`mainEVMCircuit2x2x1-4.wasm`,mainEVMCircuit2x2x1v4Zkey:`mainEVMCircuit2x2x1_final-4.zkey`,mainEVMCircuit2x6x1v4Wasm:`mainEVMCircuit2x6x1-4.wasm`,mainEVMCircuit2x6x1v4Zkey:`mainEVMCircuit2x6x1_final-4.zkey`,mainEVMCircuit3x2x1v4Wasm:`mainEVMCircuit3x2x1-4.wasm`,mainEVMCircuit3x2x1v4Zkey:`mainEVMCircuit3x2x1_final-4.zkey`,mainEVMCircuit3x6x1v4Wasm:`mainEVMCircuit3x6x1-4.wasm`,mainEVMCircuit3x6x1v4Zkey:`mainEVMCircuit3x6x1_final-4.zkey`,mainEVMCircuit4x2x1v4Wasm:`mainEVMCircuit4x2x1-4.wasm`,mainEVMCircuit4x2x1v4Zkey:`mainEVMCircuit4x2x1_final-4.zkey`,mainEVMCircuit4x6x1v4Wasm:`mainEVMCircuit4x6x1-4.wasm`,mainEVMCircuit4x6x1v4Zkey:`mainEVMCircuit4x6x1_final-4.zkey`,mainEVMCircuit5x2x1v4Wasm:`mainEVMCircuit5x2x1-4.wasm`,mainEVMCircuit5x2x1v4Zkey:`mainEVMCircuit5x2x1_final-4.zkey`,mainEVMCircuit5x6x1v4Wasm:`mainEVMCircuit5x6x1-4.wasm`,mainEVMCircuit5x6x1v4Zkey:`mainEVMCircuit5x6x1_final-4.zkey`,mainEVMCircuit1x2x2v4Wasm:`mainEVMCircuit1x2x2-4.wasm`,mainEVMCircuit1x2x2v4Zkey:`mainEVMCircuit1x2x2_final-4.zkey`,mainEVMCircuit1x6x2v4Wasm:`mainEVMCircuit1x6x2-4.wasm`,mainEVMCircuit1x6x2v4Zkey:`mainEVMCircuit1x6x2_final-4.zkey`,mainEVMCircuit2x2x2v4Wasm:`mainEVMCircuit2x2x2-4.wasm`,mainEVMCircuit2x2x2v4Zkey:`mainEVMCircuit2x2x2_final-4.zkey`,mainEVMCircuit2x6x2v4Wasm:`mainEVMCircuit2x6x2-4.wasm`,mainEVMCircuit2x6x2v4Zkey:`mainEVMCircuit2x6x2_final-4.zkey`,mainEVMCircuitMin0v4Wasm:`mainEVMCircuitMin0-4.wasm`,mainEVMCircuitMin0v4Zkey:`mainEVMCircuitMin0_final-4.zkey`,mainSolanaCircuit1x2x1v4Zkey:`mainSolanaCircuit1x2x1_final-4.zkey`,mainSolanaCircuit1x2x1v4Wasm:`mainSolanaCircuit1x2x1-4.wasm`,mainSolanaCircuit1x2x2v4Zkey:`mainSolanaCircuit1x2x2_final-4.zkey`,mainSolanaCircuit1x2x2v4Wasm:`mainSolanaCircuit1x2x2-4.wasm`,mainSolanaCircuit1x6x1v4Zkey:`mainSolanaCircuit1x6x1_final-4.zkey`,mainSolanaCircuit1x6x1v4Wasm:`mainSolanaCircuit1x6x1-4.wasm`,mainSolanaCircuit1x6x2v4Zkey:`mainSolanaCircuit1x6x2_final-4.zkey`,mainSolanaCircuit1x6x2v4Wasm:`mainSolanaCircuit1x6x2-4.wasm`,mainSolanaCircuit2x2x1v4Zkey:`mainSolanaCircuit2x2x1_final-4.zkey`,mainSolanaCircuit2x2x1v4Wasm:`mainSolanaCircuit2x2x1-4.wasm`,mainSolanaCircuit2x6x1v4Zkey:`mainSolanaCircuit2x6x1_final-4.zkey`,mainSolanaCircuit2x6x1v4Wasm:`mainSolanaCircuit2x6x1-4.wasm`,commitmentCalculator1x2v4Zkey:`commitmentCalculator1x2_final-4.zkey`,commitmentCalculator1x2v4Wasm:`commitmentCalculator1x2-4.wasm`,commitmentCalculator1x2v4VK:`commitmentCalculator1x2_final-4_verification_key.json`,commitmentCalculator1x6v4Zkey:`commitmentCalculator1x6_final-4.zkey`,commitmentCalculator1x6v4Wasm:`commitmentCalculator1x6-4.wasm`,commitmentCalculator1x6v4VK:`commitmentCalculator1x6_final-4_verification_key.json`,commitmentCalculator2x2v4Zkey:`commitmentCalculator2x2_final-4.zkey`,commitmentCalculator2x2v4Wasm:`commitmentCalculator2x2-4.wasm`,commitmentCalculator2x2v4VK:`commitmentCalculator2x2_final-4_verification_key.json`,commitmentCalculator2x6v4Zkey:`commitmentCalculator2x6_final-4.zkey`,commitmentCalculator2x6v4Wasm:`commitmentCalculator2x6-4.wasm`,commitmentCalculator2x6v4VK:`commitmentCalculator2x6_final-4_verification_key.json`,commitmentCalculator3x2v4Zkey:`commitmentCalculator3x2_final-4.zkey`,commitmentCalculator3x2v4Wasm:`commitmentCalculator3x2-4.wasm`,commitmentCalculator3x2v4VK:`commitmentCalculator3x2_final-4_verification_key.json`,commitmentCalculator3x6v4Zkey:`commitmentCalculator3x6_final-4.zkey`,commitmentCalculator3x6v4Wasm:`commitmentCalculator3x6-4.wasm`,commitmentCalculator3x6v4VK:`commitmentCalculator3x6_final-4_verification_key.json`,commitmentCalculator4x2v4Zkey:`commitmentCalculator4x2_final-4.zkey`,commitmentCalculator4x2v4Wasm:`commitmentCalculator4x2-4.wasm`,commitmentCalculator4x2v4VK:`commitmentCalculator4x2_final-4_verification_key.json`,commitmentCalculator4x6v4Zkey:`commitmentCalculator4x6_final-4.zkey`,commitmentCalculator4x6v4Wasm:`commitmentCalculator4x6-4.wasm`,commitmentCalculator4x6v4VK:`commitmentCalculator4x6_final-4_verification_key.json`,commitmentCalculator5x2v4Zkey:`commitmentCalculator5x2_final-4.zkey`,commitmentCalculator5x2v4Wasm:`commitmentCalculator5x2-4.wasm`,commitmentCalculator5x2v4VK:`commitmentCalculator5x2_final-4_verification_key.json`,commitmentCalculator5x6v4Zkey:`commitmentCalculator5x6_final-4.zkey`,commitmentCalculator5x6v4Wasm:`commitmentCalculator5x6-4.wasm`,commitmentCalculator5x6v4VK:`commitmentCalculator5x6_final-4_verification_key.json`,SignatureFromMnemonicv1x1Wasm:`SignatureFromMnemonic-1.1.wasm`,SignatureFromMnemonicv1x1Zkey:`SignatureFromMnemonic_final-1.1.zkey`,SignatureFromMnemonicv1x1VK:`SignatureFromMnemonic_final-1.1_verification_key.json`};exports.ENCLAVE_URL=n,exports.localVerifiers=a,exports.prodVerifiers=i;
@@ -0,0 +1,156 @@
1
+ export declare const ENCLAVE_URL: string;
2
+ export declare const ENCLAVE_LEGACY_URL = "https://enclave-legacy.hinkal.io";
3
+ export declare const prodVerifiers: {
4
+ mainEVMCircuit1x2x1v4Wasm: string;
5
+ mainEVMCircuit1x2x1v4Zkey: string;
6
+ mainEVMCircuit1x6x1v4Wasm: string;
7
+ mainEVMCircuit1x6x1v4Zkey: string;
8
+ mainEVMCircuit2x2x1v4Wasm: string;
9
+ mainEVMCircuit2x2x1v4Zkey: string;
10
+ mainEVMCircuit2x6x1v4Wasm: string;
11
+ mainEVMCircuit2x6x1v4Zkey: string;
12
+ mainEVMCircuit3x2x1v4Wasm: string;
13
+ mainEVMCircuit3x2x1v4Zkey: string;
14
+ mainEVMCircuit3x6x1v4Wasm: string;
15
+ mainEVMCircuit3x6x1v4Zkey: string;
16
+ mainEVMCircuit4x2x1v4Wasm: string;
17
+ mainEVMCircuit4x2x1v4Zkey: string;
18
+ mainEVMCircuit4x6x1v4Wasm: string;
19
+ mainEVMCircuit4x6x1v4Zkey: string;
20
+ mainEVMCircuit5x2x1v4Wasm: string;
21
+ mainEVMCircuit5x2x1v4Zkey: string;
22
+ mainEVMCircuit5x6x1v4Wasm: string;
23
+ mainEVMCircuit5x6x1v4Zkey: string;
24
+ mainEVMCircuit1x2x2v4Wasm: string;
25
+ mainEVMCircuit1x2x2v4Zkey: string;
26
+ mainEVMCircuit1x6x2v4Wasm: string;
27
+ mainEVMCircuit1x6x2v4Zkey: string;
28
+ mainEVMCircuit2x2x2v4Wasm: string;
29
+ mainEVMCircuit2x2x2v4Zkey: string;
30
+ mainEVMCircuit2x6x2v4Wasm: string;
31
+ mainEVMCircuit2x6x2v4Zkey: string;
32
+ mainEVMCircuitMin0v4Wasm: string;
33
+ mainEVMCircuitMin0v4Zkey: string;
34
+ mainSolanaCircuit1x2x1v4Zkey: string;
35
+ mainSolanaCircuit1x2x1v4Wasm: string;
36
+ mainSolanaCircuit1x2x2v4Zkey: string;
37
+ mainSolanaCircuit1x2x2v4Wasm: string;
38
+ mainSolanaCircuit1x6x1v4Zkey: string;
39
+ mainSolanaCircuit1x6x1v4Wasm: string;
40
+ mainSolanaCircuit1x6x2v4Zkey: string;
41
+ mainSolanaCircuit1x6x2v4Wasm: string;
42
+ mainSolanaCircuit2x2x1v4Zkey: string;
43
+ mainSolanaCircuit2x2x1v4Wasm: string;
44
+ mainSolanaCircuit2x6x1v4Zkey: string;
45
+ mainSolanaCircuit2x6x1v4Wasm: string;
46
+ commitmentCalculator1x2v4Wasm: string;
47
+ commitmentCalculator1x2v4Zkey: string;
48
+ commitmentCalculator1x2v4VK: string;
49
+ commitmentCalculator1x6v4Wasm: string;
50
+ commitmentCalculator1x6v4Zkey: string;
51
+ commitmentCalculator1x6v4VK: string;
52
+ commitmentCalculator2x2v4Wasm: string;
53
+ commitmentCalculator2x2v4Zkey: string;
54
+ commitmentCalculator2x2v4VK: string;
55
+ commitmentCalculator2x6v4Wasm: string;
56
+ commitmentCalculator2x6v4Zkey: string;
57
+ commitmentCalculator2x6v4VK: string;
58
+ commitmentCalculator3x2v4Wasm: string;
59
+ commitmentCalculator3x2v4Zkey: string;
60
+ commitmentCalculator3x2v4VK: string;
61
+ commitmentCalculator3x6v4Wasm: string;
62
+ commitmentCalculator3x6v4Zkey: string;
63
+ commitmentCalculator3x6v4VK: string;
64
+ commitmentCalculator4x2v4Wasm: string;
65
+ commitmentCalculator4x2v4Zkey: string;
66
+ commitmentCalculator4x2v4VK: string;
67
+ commitmentCalculator4x6v4Wasm: string;
68
+ commitmentCalculator4x6v4Zkey: string;
69
+ commitmentCalculator4x6v4VK: string;
70
+ commitmentCalculator5x2v4Wasm: string;
71
+ commitmentCalculator5x2v4Zkey: string;
72
+ commitmentCalculator5x2v4VK: string;
73
+ commitmentCalculator5x6v4Wasm: string;
74
+ commitmentCalculator5x6v4Zkey: string;
75
+ commitmentCalculator5x6v4VK: string;
76
+ SignatureFromMnemonicv1x1Wasm: string;
77
+ SignatureFromMnemonicv1x1Zkey: string;
78
+ SignatureFromMnemonicv1x1VK: string;
79
+ };
80
+ export declare const localVerifiers: {
81
+ mainEVMCircuit1x2x1v4Wasm: string;
82
+ mainEVMCircuit1x2x1v4Zkey: string;
83
+ mainEVMCircuit1x6x1v4Wasm: string;
84
+ mainEVMCircuit1x6x1v4Zkey: string;
85
+ mainEVMCircuit2x2x1v4Wasm: string;
86
+ mainEVMCircuit2x2x1v4Zkey: string;
87
+ mainEVMCircuit2x6x1v4Wasm: string;
88
+ mainEVMCircuit2x6x1v4Zkey: string;
89
+ mainEVMCircuit3x2x1v4Wasm: string;
90
+ mainEVMCircuit3x2x1v4Zkey: string;
91
+ mainEVMCircuit3x6x1v4Wasm: string;
92
+ mainEVMCircuit3x6x1v4Zkey: string;
93
+ mainEVMCircuit4x2x1v4Wasm: string;
94
+ mainEVMCircuit4x2x1v4Zkey: string;
95
+ mainEVMCircuit4x6x1v4Wasm: string;
96
+ mainEVMCircuit4x6x1v4Zkey: string;
97
+ mainEVMCircuit5x2x1v4Wasm: string;
98
+ mainEVMCircuit5x2x1v4Zkey: string;
99
+ mainEVMCircuit5x6x1v4Wasm: string;
100
+ mainEVMCircuit5x6x1v4Zkey: string;
101
+ mainEVMCircuit1x2x2v4Wasm: string;
102
+ mainEVMCircuit1x2x2v4Zkey: string;
103
+ mainEVMCircuit1x6x2v4Wasm: string;
104
+ mainEVMCircuit1x6x2v4Zkey: string;
105
+ mainEVMCircuit2x2x2v4Wasm: string;
106
+ mainEVMCircuit2x2x2v4Zkey: string;
107
+ mainEVMCircuit2x6x2v4Wasm: string;
108
+ mainEVMCircuit2x6x2v4Zkey: string;
109
+ mainEVMCircuitMin0v4Wasm: string;
110
+ mainEVMCircuitMin0v4Zkey: string;
111
+ mainSolanaCircuit1x2x1v4Zkey: string;
112
+ mainSolanaCircuit1x2x1v4Wasm: string;
113
+ mainSolanaCircuit1x2x2v4Zkey: string;
114
+ mainSolanaCircuit1x2x2v4Wasm: string;
115
+ mainSolanaCircuit1x6x1v4Zkey: string;
116
+ mainSolanaCircuit1x6x1v4Wasm: string;
117
+ mainSolanaCircuit1x6x2v4Zkey: string;
118
+ mainSolanaCircuit1x6x2v4Wasm: string;
119
+ mainSolanaCircuit2x2x1v4Zkey: string;
120
+ mainSolanaCircuit2x2x1v4Wasm: string;
121
+ mainSolanaCircuit2x6x1v4Zkey: string;
122
+ mainSolanaCircuit2x6x1v4Wasm: string;
123
+ commitmentCalculator1x2v4Zkey: string;
124
+ commitmentCalculator1x2v4Wasm: string;
125
+ commitmentCalculator1x2v4VK: string;
126
+ commitmentCalculator1x6v4Zkey: string;
127
+ commitmentCalculator1x6v4Wasm: string;
128
+ commitmentCalculator1x6v4VK: string;
129
+ commitmentCalculator2x2v4Zkey: string;
130
+ commitmentCalculator2x2v4Wasm: string;
131
+ commitmentCalculator2x2v4VK: string;
132
+ commitmentCalculator2x6v4Zkey: string;
133
+ commitmentCalculator2x6v4Wasm: string;
134
+ commitmentCalculator2x6v4VK: string;
135
+ commitmentCalculator3x2v4Zkey: string;
136
+ commitmentCalculator3x2v4Wasm: string;
137
+ commitmentCalculator3x2v4VK: string;
138
+ commitmentCalculator3x6v4Zkey: string;
139
+ commitmentCalculator3x6v4Wasm: string;
140
+ commitmentCalculator3x6v4VK: string;
141
+ commitmentCalculator4x2v4Zkey: string;
142
+ commitmentCalculator4x2v4Wasm: string;
143
+ commitmentCalculator4x2v4VK: string;
144
+ commitmentCalculator4x6v4Zkey: string;
145
+ commitmentCalculator4x6v4Wasm: string;
146
+ commitmentCalculator4x6v4VK: string;
147
+ commitmentCalculator5x2v4Zkey: string;
148
+ commitmentCalculator5x2v4Wasm: string;
149
+ commitmentCalculator5x2v4VK: string;
150
+ commitmentCalculator5x6v4Zkey: string;
151
+ commitmentCalculator5x6v4Wasm: string;
152
+ commitmentCalculator5x6v4VK: string;
153
+ SignatureFromMnemonicv1x1Wasm: string;
154
+ SignatureFromMnemonicv1x1Zkey: string;
155
+ SignatureFromMnemonicv1x1VK: string;
156
+ };
@@ -0,0 +1,158 @@
1
+ import { isNotProduction as e } from "../../constants/vite.constants.mjs";
2
+ import { BACK_END_URL as t } from "../../API/getServerURL.mjs";
3
+ //#region libs/shared/common/src/functions/snarkjs/constant.ts
4
+ var n = e ? "https://enclave-staging-v2.hinkal.io" : "https://enclave-server.hinkal.io", r = `${t}/verifiers-v4/`, i = {
5
+ mainEVMCircuit1x2x1v4Wasm: `${r}mainEVMCircuit1x2x1-4.wasm`,
6
+ mainEVMCircuit1x2x1v4Zkey: `${r}mainEVMCircuit1x2x1_final-4.zkey`,
7
+ mainEVMCircuit1x6x1v4Wasm: `${r}mainEVMCircuit1x6x1-4.wasm`,
8
+ mainEVMCircuit1x6x1v4Zkey: `${r}mainEVMCircuit1x6x1_final-4.zkey`,
9
+ mainEVMCircuit2x2x1v4Wasm: `${r}mainEVMCircuit2x2x1-4.wasm`,
10
+ mainEVMCircuit2x2x1v4Zkey: `${r}mainEVMCircuit2x2x1_final-4.zkey`,
11
+ mainEVMCircuit2x6x1v4Wasm: `${r}mainEVMCircuit2x6x1-4.wasm`,
12
+ mainEVMCircuit2x6x1v4Zkey: `${r}mainEVMCircuit2x6x1_final-4.zkey`,
13
+ mainEVMCircuit3x2x1v4Wasm: `${r}mainEVMCircuit3x2x1-4.wasm`,
14
+ mainEVMCircuit3x2x1v4Zkey: `${r}mainEVMCircuit3x2x1_final-4.zkey`,
15
+ mainEVMCircuit3x6x1v4Wasm: `${r}mainEVMCircuit3x6x1-4.wasm`,
16
+ mainEVMCircuit3x6x1v4Zkey: `${r}mainEVMCircuit3x6x1_final-4.zkey`,
17
+ mainEVMCircuit4x2x1v4Wasm: `${r}mainEVMCircuit4x2x1-4.wasm`,
18
+ mainEVMCircuit4x2x1v4Zkey: `${r}mainEVMCircuit4x2x1_final-4.zkey`,
19
+ mainEVMCircuit4x6x1v4Wasm: `${r}mainEVMCircuit4x6x1-4.wasm`,
20
+ mainEVMCircuit4x6x1v4Zkey: `${r}mainEVMCircuit4x6x1_final-4.zkey`,
21
+ mainEVMCircuit5x2x1v4Wasm: `${r}mainEVMCircuit5x2x1-4.wasm`,
22
+ mainEVMCircuit5x2x1v4Zkey: `${r}mainEVMCircuit5x2x1_final-4.zkey`,
23
+ mainEVMCircuit5x6x1v4Wasm: `${r}mainEVMCircuit5x6x1-4.wasm`,
24
+ mainEVMCircuit5x6x1v4Zkey: `${r}mainEVMCircuit5x6x1_final-4.zkey`,
25
+ mainEVMCircuit1x2x2v4Wasm: `${r}mainEVMCircuit1x2x2-4.wasm`,
26
+ mainEVMCircuit1x2x2v4Zkey: `${r}mainEVMCircuit1x2x2_final-4.zkey`,
27
+ mainEVMCircuit1x6x2v4Wasm: `${r}mainEVMCircuit1x6x2-4.wasm`,
28
+ mainEVMCircuit1x6x2v4Zkey: `${r}mainEVMCircuit1x6x2_final-4.zkey`,
29
+ mainEVMCircuit2x2x2v4Wasm: `${r}mainEVMCircuit2x2x2-4.wasm`,
30
+ mainEVMCircuit2x2x2v4Zkey: `${r}mainEVMCircuit2x2x2_final-4.zkey`,
31
+ mainEVMCircuit2x6x2v4Wasm: `${r}mainEVMCircuit2x6x2-4.wasm`,
32
+ mainEVMCircuit2x6x2v4Zkey: `${r}mainEVMCircuit2x6x2_final-4.zkey`,
33
+ mainEVMCircuitMin0v4Wasm: `${r}mainEVMCircuitMin0-4.wasm`,
34
+ mainEVMCircuitMin0v4Zkey: `${r}mainEVMCircuitMin0_final-4.zkey`,
35
+ mainSolanaCircuit1x2x1v4Zkey: `${r}mainSolanaCircuit1x2x1_final-4.zkey`,
36
+ mainSolanaCircuit1x2x1v4Wasm: `${r}mainSolanaCircuit1x2x1-4.wasm`,
37
+ mainSolanaCircuit1x2x2v4Zkey: `${r}mainSolanaCircuit1x2x2_final-4.zkey`,
38
+ mainSolanaCircuit1x2x2v4Wasm: `${r}mainSolanaCircuit1x2x2-4.wasm`,
39
+ mainSolanaCircuit1x6x1v4Zkey: `${r}mainSolanaCircuit1x6x1_final-4.zkey`,
40
+ mainSolanaCircuit1x6x1v4Wasm: `${r}mainSolanaCircuit1x6x1-4.wasm`,
41
+ mainSolanaCircuit1x6x2v4Zkey: `${r}mainSolanaCircuit1x6x2_final-4.zkey`,
42
+ mainSolanaCircuit1x6x2v4Wasm: `${r}mainSolanaCircuit1x6x2-4.wasm`,
43
+ mainSolanaCircuit2x2x1v4Zkey: `${r}mainSolanaCircuit2x2x1_final-4.zkey`,
44
+ mainSolanaCircuit2x2x1v4Wasm: `${r}mainSolanaCircuit2x2x1-4.wasm`,
45
+ mainSolanaCircuit2x6x1v4Zkey: `${r}mainSolanaCircuit2x6x1_final-4.zkey`,
46
+ mainSolanaCircuit2x6x1v4Wasm: `${r}mainSolanaCircuit2x6x1-4.wasm`,
47
+ commitmentCalculator1x2v4Wasm: `${r}commitmentCalculator1x2-4.wasm`,
48
+ commitmentCalculator1x2v4Zkey: `${r}commitmentCalculator1x2_final-4.zkey`,
49
+ commitmentCalculator1x2v4VK: `${r}commitmentCalculator1x2_final-4_verification_key.json`,
50
+ commitmentCalculator1x6v4Wasm: `${r}commitmentCalculator1x6-4.wasm`,
51
+ commitmentCalculator1x6v4Zkey: `${r}commitmentCalculator1x6_final-4.zkey`,
52
+ commitmentCalculator1x6v4VK: `${r}commitmentCalculator1x6_final-4_verification_key.json`,
53
+ commitmentCalculator2x2v4Wasm: `${r}commitmentCalculator2x2-4.wasm`,
54
+ commitmentCalculator2x2v4Zkey: `${r}commitmentCalculator2x2_final-4.zkey`,
55
+ commitmentCalculator2x2v4VK: `${r}commitmentCalculator2x2_final-4_verification_key.json`,
56
+ commitmentCalculator2x6v4Wasm: `${r}commitmentCalculator2x6-4.wasm`,
57
+ commitmentCalculator2x6v4Zkey: `${r}commitmentCalculator2x6_final-4.zkey`,
58
+ commitmentCalculator2x6v4VK: `${r}commitmentCalculator2x6_final-4_verification_key.json`,
59
+ commitmentCalculator3x2v4Wasm: `${r}commitmentCalculator3x2-4.wasm`,
60
+ commitmentCalculator3x2v4Zkey: `${r}commitmentCalculator3x2_final-4.zkey`,
61
+ commitmentCalculator3x2v4VK: `${r}commitmentCalculator3x2_final-4_verification_key.json`,
62
+ commitmentCalculator3x6v4Wasm: `${r}commitmentCalculator3x6-4.wasm`,
63
+ commitmentCalculator3x6v4Zkey: `${r}commitmentCalculator3x6_final-4.zkey`,
64
+ commitmentCalculator3x6v4VK: `${r}commitmentCalculator3x6_final-4_verification_key.json`,
65
+ commitmentCalculator4x2v4Wasm: `${r}commitmentCalculator4x2-4.wasm`,
66
+ commitmentCalculator4x2v4Zkey: `${r}commitmentCalculator4x2_final-4.zkey`,
67
+ commitmentCalculator4x2v4VK: `${r}commitmentCalculator4x2_final-4_verification_key.json`,
68
+ commitmentCalculator4x6v4Wasm: `${r}commitmentCalculator4x6-4.wasm`,
69
+ commitmentCalculator4x6v4Zkey: `${r}commitmentCalculator4x6_final-4.zkey`,
70
+ commitmentCalculator4x6v4VK: `${r}commitmentCalculator4x6_final-4_verification_key.json`,
71
+ commitmentCalculator5x2v4Wasm: `${r}commitmentCalculator5x2-4.wasm`,
72
+ commitmentCalculator5x2v4Zkey: `${r}commitmentCalculator5x2_final-4.zkey`,
73
+ commitmentCalculator5x2v4VK: `${r}commitmentCalculator5x2_final-4_verification_key.json`,
74
+ commitmentCalculator5x6v4Wasm: `${r}commitmentCalculator5x6-4.wasm`,
75
+ commitmentCalculator5x6v4Zkey: `${r}commitmentCalculator5x6_final-4.zkey`,
76
+ commitmentCalculator5x6v4VK: `${r}commitmentCalculator5x6_final-4_verification_key.json`,
77
+ SignatureFromMnemonicv1x1Wasm: `${r}SignatureFromMnemonic-1.1.wasm`,
78
+ SignatureFromMnemonicv1x1Zkey: `${r}SignatureFromMnemonic_final-1.1.zkey`,
79
+ SignatureFromMnemonicv1x1VK: `${r}SignatureFromMnemonic_final-1.1_verification_key.json`
80
+ }, a = {
81
+ mainEVMCircuit1x2x1v4Wasm: "mainEVMCircuit1x2x1-4.wasm",
82
+ mainEVMCircuit1x2x1v4Zkey: "mainEVMCircuit1x2x1_final-4.zkey",
83
+ mainEVMCircuit1x6x1v4Wasm: "mainEVMCircuit1x6x1-4.wasm",
84
+ mainEVMCircuit1x6x1v4Zkey: "mainEVMCircuit1x6x1_final-4.zkey",
85
+ mainEVMCircuit2x2x1v4Wasm: "mainEVMCircuit2x2x1-4.wasm",
86
+ mainEVMCircuit2x2x1v4Zkey: "mainEVMCircuit2x2x1_final-4.zkey",
87
+ mainEVMCircuit2x6x1v4Wasm: "mainEVMCircuit2x6x1-4.wasm",
88
+ mainEVMCircuit2x6x1v4Zkey: "mainEVMCircuit2x6x1_final-4.zkey",
89
+ mainEVMCircuit3x2x1v4Wasm: "mainEVMCircuit3x2x1-4.wasm",
90
+ mainEVMCircuit3x2x1v4Zkey: "mainEVMCircuit3x2x1_final-4.zkey",
91
+ mainEVMCircuit3x6x1v4Wasm: "mainEVMCircuit3x6x1-4.wasm",
92
+ mainEVMCircuit3x6x1v4Zkey: "mainEVMCircuit3x6x1_final-4.zkey",
93
+ mainEVMCircuit4x2x1v4Wasm: "mainEVMCircuit4x2x1-4.wasm",
94
+ mainEVMCircuit4x2x1v4Zkey: "mainEVMCircuit4x2x1_final-4.zkey",
95
+ mainEVMCircuit4x6x1v4Wasm: "mainEVMCircuit4x6x1-4.wasm",
96
+ mainEVMCircuit4x6x1v4Zkey: "mainEVMCircuit4x6x1_final-4.zkey",
97
+ mainEVMCircuit5x2x1v4Wasm: "mainEVMCircuit5x2x1-4.wasm",
98
+ mainEVMCircuit5x2x1v4Zkey: "mainEVMCircuit5x2x1_final-4.zkey",
99
+ mainEVMCircuit5x6x1v4Wasm: "mainEVMCircuit5x6x1-4.wasm",
100
+ mainEVMCircuit5x6x1v4Zkey: "mainEVMCircuit5x6x1_final-4.zkey",
101
+ mainEVMCircuit1x2x2v4Wasm: "mainEVMCircuit1x2x2-4.wasm",
102
+ mainEVMCircuit1x2x2v4Zkey: "mainEVMCircuit1x2x2_final-4.zkey",
103
+ mainEVMCircuit1x6x2v4Wasm: "mainEVMCircuit1x6x2-4.wasm",
104
+ mainEVMCircuit1x6x2v4Zkey: "mainEVMCircuit1x6x2_final-4.zkey",
105
+ mainEVMCircuit2x2x2v4Wasm: "mainEVMCircuit2x2x2-4.wasm",
106
+ mainEVMCircuit2x2x2v4Zkey: "mainEVMCircuit2x2x2_final-4.zkey",
107
+ mainEVMCircuit2x6x2v4Wasm: "mainEVMCircuit2x6x2-4.wasm",
108
+ mainEVMCircuit2x6x2v4Zkey: "mainEVMCircuit2x6x2_final-4.zkey",
109
+ mainEVMCircuitMin0v4Wasm: "mainEVMCircuitMin0-4.wasm",
110
+ mainEVMCircuitMin0v4Zkey: "mainEVMCircuitMin0_final-4.zkey",
111
+ mainSolanaCircuit1x2x1v4Zkey: "mainSolanaCircuit1x2x1_final-4.zkey",
112
+ mainSolanaCircuit1x2x1v4Wasm: "mainSolanaCircuit1x2x1-4.wasm",
113
+ mainSolanaCircuit1x2x2v4Zkey: "mainSolanaCircuit1x2x2_final-4.zkey",
114
+ mainSolanaCircuit1x2x2v4Wasm: "mainSolanaCircuit1x2x2-4.wasm",
115
+ mainSolanaCircuit1x6x1v4Zkey: "mainSolanaCircuit1x6x1_final-4.zkey",
116
+ mainSolanaCircuit1x6x1v4Wasm: "mainSolanaCircuit1x6x1-4.wasm",
117
+ mainSolanaCircuit1x6x2v4Zkey: "mainSolanaCircuit1x6x2_final-4.zkey",
118
+ mainSolanaCircuit1x6x2v4Wasm: "mainSolanaCircuit1x6x2-4.wasm",
119
+ mainSolanaCircuit2x2x1v4Zkey: "mainSolanaCircuit2x2x1_final-4.zkey",
120
+ mainSolanaCircuit2x2x1v4Wasm: "mainSolanaCircuit2x2x1-4.wasm",
121
+ mainSolanaCircuit2x6x1v4Zkey: "mainSolanaCircuit2x6x1_final-4.zkey",
122
+ mainSolanaCircuit2x6x1v4Wasm: "mainSolanaCircuit2x6x1-4.wasm",
123
+ commitmentCalculator1x2v4Zkey: "commitmentCalculator1x2_final-4.zkey",
124
+ commitmentCalculator1x2v4Wasm: "commitmentCalculator1x2-4.wasm",
125
+ commitmentCalculator1x2v4VK: "commitmentCalculator1x2_final-4_verification_key.json",
126
+ commitmentCalculator1x6v4Zkey: "commitmentCalculator1x6_final-4.zkey",
127
+ commitmentCalculator1x6v4Wasm: "commitmentCalculator1x6-4.wasm",
128
+ commitmentCalculator1x6v4VK: "commitmentCalculator1x6_final-4_verification_key.json",
129
+ commitmentCalculator2x2v4Zkey: "commitmentCalculator2x2_final-4.zkey",
130
+ commitmentCalculator2x2v4Wasm: "commitmentCalculator2x2-4.wasm",
131
+ commitmentCalculator2x2v4VK: "commitmentCalculator2x2_final-4_verification_key.json",
132
+ commitmentCalculator2x6v4Zkey: "commitmentCalculator2x6_final-4.zkey",
133
+ commitmentCalculator2x6v4Wasm: "commitmentCalculator2x6-4.wasm",
134
+ commitmentCalculator2x6v4VK: "commitmentCalculator2x6_final-4_verification_key.json",
135
+ commitmentCalculator3x2v4Zkey: "commitmentCalculator3x2_final-4.zkey",
136
+ commitmentCalculator3x2v4Wasm: "commitmentCalculator3x2-4.wasm",
137
+ commitmentCalculator3x2v4VK: "commitmentCalculator3x2_final-4_verification_key.json",
138
+ commitmentCalculator3x6v4Zkey: "commitmentCalculator3x6_final-4.zkey",
139
+ commitmentCalculator3x6v4Wasm: "commitmentCalculator3x6-4.wasm",
140
+ commitmentCalculator3x6v4VK: "commitmentCalculator3x6_final-4_verification_key.json",
141
+ commitmentCalculator4x2v4Zkey: "commitmentCalculator4x2_final-4.zkey",
142
+ commitmentCalculator4x2v4Wasm: "commitmentCalculator4x2-4.wasm",
143
+ commitmentCalculator4x2v4VK: "commitmentCalculator4x2_final-4_verification_key.json",
144
+ commitmentCalculator4x6v4Zkey: "commitmentCalculator4x6_final-4.zkey",
145
+ commitmentCalculator4x6v4Wasm: "commitmentCalculator4x6-4.wasm",
146
+ commitmentCalculator4x6v4VK: "commitmentCalculator4x6_final-4_verification_key.json",
147
+ commitmentCalculator5x2v4Zkey: "commitmentCalculator5x2_final-4.zkey",
148
+ commitmentCalculator5x2v4Wasm: "commitmentCalculator5x2-4.wasm",
149
+ commitmentCalculator5x2v4VK: "commitmentCalculator5x2_final-4_verification_key.json",
150
+ commitmentCalculator5x6v4Zkey: "commitmentCalculator5x6_final-4.zkey",
151
+ commitmentCalculator5x6v4Wasm: "commitmentCalculator5x6-4.wasm",
152
+ commitmentCalculator5x6v4VK: "commitmentCalculator5x6_final-4_verification_key.json",
153
+ SignatureFromMnemonicv1x1Wasm: "SignatureFromMnemonic-1.1.wasm",
154
+ SignatureFromMnemonicv1x1Zkey: "SignatureFromMnemonic_final-1.1.zkey",
155
+ SignatureFromMnemonicv1x1VK: "SignatureFromMnemonic_final-1.1_verification_key.json"
156
+ };
157
+ //#endregion
158
+ export { n as ENCLAVE_URL, a as localVerifiers, i as prodVerifiers };
@@ -0,0 +1 @@
1
+ const e=require(`../../constants/chains.constants.cjs`),t=require(`../../constants/protocol.constants.cjs`),ee=require(`../../crypto/poseidon.cjs`),n=require(`../web3/etherFunctions.cjs`),r=require(`../../data-structures/crypto-keys/keys.cjs`),i=require(`../utils/time.utils.cjs`),a=require(`../../error-handling/logger.cjs`);require(`../../types/circom-data.types.cjs`);const te=require(`../../types/external-action.types.cjs`),o=require(`./common.snarkjs.cjs`),s=require(`./signedMessageHash.cjs`),c=require(`./generateCircomData.cjs`),l=require(`../../data-structures/AccountActions/AccountActions.cjs`),u=require(`./generateMainAndCommitmentZkProof.cjs`),d=require(`./getMerkleTreeSiblingsAndRootHashes.cjs`),f=require(`../private-wallet/emporium.helpers.cjs`);var p=async(p,m,h,g,_,v,y,b,x,S=t.zeroAddress,C=e.chainIds.localhost,w=m.map(()=>!1),T=void 0,E,D,O=`0x`)=>{let k=o.getZkProofVerifierName(m,h),A=o.calcAmountChanges(m,h),j=m.map(e=>e[0].erc20TokenAddress),M=o.calcEncryptedOutputs(h),N=g.getShieldedPrivateKey(),{pubSpendingBJJPoint:P}=g.getSpendingKeyPair(),F=o.calcStealthAddressStructure(r.UserKeys.findCorrectRandomization(n.randomBigInt(31),N),N,g.getSpendingKeyPair().pubSpendingBJJPoint),I=o.calcOnchainEncryptedOutput(r.UserKeys.getEncryptionKeyPair(N).publicKey,F),{inCommitmentSiblings:ne,inCommitmentSiblingSides:re,rootHashHinkal:L,rootHashHinkalIndex:R,inNullifiers:z}=await d.getDataFromWorkers(C,p,m.map(e=>e.map(e=>e.getConstructableParams()))),B=o.buildOutCommitments(h),V=n.randomBigInt(31),H=ee.poseidonFunction(V),U=BigInt(h.length>0?h[0][0].timeStamp:i.getCurrentTimeInSeconds()),W={rootHashHinkal:L,spendingPublicKey:P,nullifyingPrivateKey:N,erc20TokenAddresses:j,amountChanges:A,inAmounts:m.map(e=>e.map(e=>e.amount.toString())),inH0Ax:m.map(e=>e.map(e=>o.getUtxoCircuitH0Coords(e)[0].toString())),inH0Ay:m.map(e=>e.map(e=>o.getUtxoCircuitH0Coords(e)[1].toString())),inTimeStamps:m.map(e=>e.map(e=>e.timeStamp)),inNullifiers:z,inCommitmentSiblings:ne,inCommitmentSiblingSides:re,outAmounts:h.map(e=>e.map(e=>e.amount.toString())),outTimeStamp:U,outPublicKeys:h.map(e=>e.map(e=>e.getStealthAddress())),outCommitments:B,calldataHash:0n,messageSeed:V,H0Ax:F.H0x,H0Ay:F.H0y},G=o.calcPublicSignalCount(k,W.erc20TokenAddresses,W.amountChanges,W.inNullifiers,W.outCommitments),K=o.calcAmountChanges(m,h,!0),q=o.getSlippageValues(K);a.Logger.log({publicSignalCount:G});let J=Array.isArray(y)?y:[y],Y=e.getOnchainChainId(C),ie=D?l.AccountActions.getSignerAddressFromPrivateKey(Y,D):void 0,X;X=_===te.ExternalActionId.Emporium?await f.encodeEmporiumMetadata(C,v??t.zeroAddress,D,J,H,ie):_===0n?`0x`:J[0]??`0x`,W.calldataHash=o.createCallDataHash(G,S,v,_,H,X,M,I,T,q,w,x,E,O);let Z=s.computeSignedMessageHashEvm({rootHashHinkal:L,erc20TokenAddresses:j,amountChanges:A,outTimeStamp:U,inNullifiers:z,outCommitments:B,calldataHash:W.calldataHash,message:H,outH1Ax:F.H1x,outH1Ay:F.H1y,H0Ax:W.H0Ax,H0Ay:F.H0y}),{R8:Q,S:ae}=g.signEddsa(Z);W.eddsaSignature=[Q[0],Q[1],ae],W.signedMessageHash=Z;let $=k.startsWith(`mainEVMCircuitMin0`),oe={outTimeStamp:U,calldataHash:W.calldataHash,messageSeed:V},{zkCallData:se,commitmentValidationData:ce}=await u.generateMainAndCommitmentZkProof(C,g,j,m,k,$?oe:W,b);return{zkCallData:se,circomData:c.generateCircomData(B,z,L,R,K,j,h,M,I,G,_,v,H,X,S,W.calldataHash,F,w,T,$?Number(U):void 0,q,x,E,O),dimData:{tokenNumber:m.length,nullifierAmount:m.length>0?m[0].length:0,outputAmount:h.length>0?h[0].length:0},encryptedOutputs:M,commitmentValidationData:ce}};exports.constructZkProof=p;
@@ -0,0 +1,13 @@
1
+ import { MerkleTree } from '../../data-structures/merkle-tree';
2
+ import { UserKeys } from '../../data-structures/crypto-keys/keys';
3
+ import { Utxo } from '../../data-structures/utxo/Utxo';
4
+ import { CircomDataType, DimDataType, HookDataType } from '../../types/circom-data.types';
5
+ import { ExternalActionId } from '../../types/external-action.types';
6
+ import { FeeStructure } from '../../types/hinkal.types';
7
+ export declare const constructZkProof: <T = CircomDataType>(merkleTree: MerkleTree<bigint>, inputUtxos: Utxo[][], outputUtxos: Utxo[][], userKeys: UserKeys, externalActionId: ExternalActionId | 0n, externalAddress: string | undefined, externalActionMetadata: string | string[], generateProofRemotely: boolean, feeStructure: FeeStructure, relay?: string, chainId?: number, onChainCreation?: boolean[], hookData?: HookDataType | undefined, originalSender?: string, subAccountPrivateKey?: string, extraData?: string) => Promise<{
8
+ zkCallData: import('../..').NewZkCallDataType;
9
+ circomData: T;
10
+ dimData: DimDataType;
11
+ encryptedOutputs: string[][];
12
+ commitmentValidationData: import('../..').CommitmentValidationDataType | undefined;
13
+ }>;
@@ -0,0 +1,81 @@
1
+ import { chainIds as e, getOnchainChainId as t } from "../../constants/chains.constants.mjs";
2
+ import { zeroAddress as n } from "../../constants/protocol.constants.mjs";
3
+ import { poseidonFunction as ee } from "../../crypto/poseidon.mjs";
4
+ import { randomBigInt as r } from "../web3/etherFunctions.mjs";
5
+ import { UserKeys as i } from "../../data-structures/crypto-keys/keys.mjs";
6
+ import { getCurrentTimeInSeconds as te } from "../utils/time.utils.mjs";
7
+ import { Logger as a } from "../../error-handling/logger.mjs";
8
+ import "../../types/circom-data.types.mjs";
9
+ import { ExternalActionId as ne } from "../../types/external-action.types.mjs";
10
+ import { buildOutCommitments as re, calcAmountChanges as o, calcEncryptedOutputs as ie, calcOnchainEncryptedOutput as s, calcPublicSignalCount as c, calcStealthAddressStructure as l, createCallDataHash as u, getSlippageValues as d, getUtxoCircuitH0Coords as f, getZkProofVerifierName as ae } from "./common.snarkjs.mjs";
11
+ import { computeSignedMessageHashEvm as oe } from "./signedMessageHash.mjs";
12
+ import { generateCircomData as se } from "./generateCircomData.mjs";
13
+ import { AccountActions as ce } from "../../data-structures/AccountActions/AccountActions.mjs";
14
+ import { generateMainAndCommitmentZkProof as le } from "./generateMainAndCommitmentZkProof.mjs";
15
+ import { getDataFromWorkers as ue } from "./getMerkleTreeSiblingsAndRootHashes.mjs";
16
+ import { encodeEmporiumMetadata as de } from "../private-wallet/emporium.helpers.mjs";
17
+ //#region libs/shared/common/src/functions/snarkjs/constructGeneralZkProof.ts
18
+ var p = async (p, m, h, g, _, v, y, fe, b, x = n, S = e.localhost, C = m.map(() => !1), w = void 0, T, E, D = "0x") => {
19
+ let O = ae(m, h), k = o(m, h), A = m.map((e) => e[0].erc20TokenAddress), j = ie(h), M = g.getShieldedPrivateKey(), { pubSpendingBJJPoint: N } = g.getSpendingKeyPair(), P = l(i.findCorrectRandomization(r(31), M), M, g.getSpendingKeyPair().pubSpendingBJJPoint), F = s(i.getEncryptionKeyPair(M).publicKey, P), { inCommitmentSiblings: I, inCommitmentSiblingSides: L, rootHashHinkal: R, rootHashHinkalIndex: z, inNullifiers: B } = await ue(S, p, m.map((e) => e.map((e) => e.getConstructableParams()))), V = re(h), H = r(31), U = ee(H), W = BigInt(h.length > 0 ? h[0][0].timeStamp : te()), G = {
20
+ rootHashHinkal: R,
21
+ spendingPublicKey: N,
22
+ nullifyingPrivateKey: M,
23
+ erc20TokenAddresses: A,
24
+ amountChanges: k,
25
+ inAmounts: m.map((e) => e.map((e) => e.amount.toString())),
26
+ inH0Ax: m.map((e) => e.map((e) => f(e)[0].toString())),
27
+ inH0Ay: m.map((e) => e.map((e) => f(e)[1].toString())),
28
+ inTimeStamps: m.map((e) => e.map((e) => e.timeStamp)),
29
+ inNullifiers: B,
30
+ inCommitmentSiblings: I,
31
+ inCommitmentSiblingSides: L,
32
+ outAmounts: h.map((e) => e.map((e) => e.amount.toString())),
33
+ outTimeStamp: W,
34
+ outPublicKeys: h.map((e) => e.map((e) => e.getStealthAddress())),
35
+ outCommitments: V,
36
+ calldataHash: 0n,
37
+ messageSeed: H,
38
+ H0Ax: P.H0x,
39
+ H0Ay: P.H0y
40
+ }, K = c(O, G.erc20TokenAddresses, G.amountChanges, G.inNullifiers, G.outCommitments), q = o(m, h, !0), J = d(q);
41
+ a.log({ publicSignalCount: K });
42
+ let Y = Array.isArray(y) ? y : [y], pe = t(S), me = E ? ce.getSignerAddressFromPrivateKey(pe, E) : void 0, X;
43
+ X = _ === ne.Emporium ? await de(S, v ?? n, E, Y, U, me) : _ === 0n ? "0x" : Y[0] ?? "0x", G.calldataHash = u(K, x, v, _, U, X, j, F, w, J, C, b, T, D);
44
+ let Z = oe({
45
+ rootHashHinkal: R,
46
+ erc20TokenAddresses: A,
47
+ amountChanges: k,
48
+ outTimeStamp: W,
49
+ inNullifiers: B,
50
+ outCommitments: V,
51
+ calldataHash: G.calldataHash,
52
+ message: U,
53
+ outH1Ax: P.H1x,
54
+ outH1Ay: P.H1y,
55
+ H0Ax: G.H0Ax,
56
+ H0Ay: P.H0y
57
+ }), { R8: Q, S: he } = g.signEddsa(Z);
58
+ G.eddsaSignature = [
59
+ Q[0],
60
+ Q[1],
61
+ he
62
+ ], G.signedMessageHash = Z;
63
+ let $ = O.startsWith("mainEVMCircuitMin0"), ge = {
64
+ outTimeStamp: W,
65
+ calldataHash: G.calldataHash,
66
+ messageSeed: H
67
+ }, { zkCallData: _e, commitmentValidationData: ve } = await le(S, g, A, m, O, $ ? ge : G, fe);
68
+ return {
69
+ zkCallData: _e,
70
+ circomData: se(V, B, R, z, q, A, h, j, F, K, _, v, U, X, x, G.calldataHash, P, C, w, $ ? Number(W) : void 0, J, b, T, D),
71
+ dimData: {
72
+ tokenNumber: m.length,
73
+ nullifierAmount: m.length > 0 ? m[0].length : 0,
74
+ outputAmount: h.length > 0 ? h[0].length : 0
75
+ },
76
+ encryptedOutputs: j,
77
+ commitmentValidationData: ve
78
+ };
79
+ };
80
+ //#endregion
81
+ export { p as constructZkProof };
@@ -0,0 +1 @@
1
+ require(`../../constants/protocol.constants.cjs`),require(`ethers`);
@@ -0,0 +1,7 @@
1
+ export interface SignatureFromMnemonicProofInput {
2
+ mnemonicBytes: string[];
3
+ actualLen: string;
4
+ withdrawalAddress: string;
5
+ signature: string;
6
+ }
7
+ export declare const constructSignatureFromMnemonicProofInput: (mnemonic: string[], withdrawalAddress: string) => SignatureFromMnemonicProofInput;
@@ -0,0 +1,2 @@
1
+ import "../../constants/protocol.constants.mjs";
2
+ import "ethers";
@@ -0,0 +1 @@
1
+ require(`../../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../constants/chains.constants.cjs`),t=require(`../../crypto/poseidon.cjs`),n=require(`../web3/etherFunctions.cjs`),r=require(`../utils/solanaMint.utils.cjs`),i=require(`./common.snarkjs.cjs`),a=require(`../pre-transaction/solana.cjs`),o=require(`./signedMessageHash.cjs`);require(`../pre-transaction/index.cjs`);const s=require(`./generateMainAndCommitmentZkProof.cjs`),c=require(`./getMerkleTreeSiblingsAndRootHashes.cjs`),l=require(`../pre-transaction/getSolanaCalldataHash.cjs`);require(`../web3/index.cjs`);let u=require(`@solana/web3.js`);var d=async(d,f,p,m,h,g,_,v,y,b,x,S,C,w=e.chainIds.solanaLocalnet,T=[],E=[],D=0n)=>{let O=new u.PublicKey(b),k=new u.PublicKey(x),A=p.getShieldedPrivateKey(),{pubSpendingBJJPoint:j}=p.getSpendingKeyPair(),M=i.calcStealthAddressStructure(_,A,p.getSpendingKeyPair().pubSpendingBJJPoint),N=n.randomBigInt(31),P=t.poseidonFunction(N),F=t.poseidonFunction(D),I=m.map(e=>r.formatMintAddress(e)),L=I.map(e=>e.mintAccountPart1),R=I.map(e=>e.mintAccountPart2),z=l.getSolanaCalldataHash(S,O,k,C,v,y,T,E),B=`${S.tokenNumber}x${S.nullifierAmount}x${S.outputAmount}`,V=i.calcAmountChanges(h,g),{inCommitmentSiblings:H,inCommitmentSiblingSides:U,rootHashHinkal:W,inNullifiers:G}=await c.getDataFromWorkers(w,f,h.map(e=>e.map(e=>e.getConstructableParams()))),K=i.buildOutCommitments(g),q=M.H0x,J=M.H0y,Y=o.computeSignedMessageHashSolana({rootHashHinkal:W,mintAccountPart1:L,mintAccountPart2:R,amountChanges:V,outTimeStamp:BigInt(g[0][0].timeStamp),inNullifiers:G,outCommitments:K,calldataHash:z,message:P,swapperAccountAdditionalSeed:F,outH1Ay:M.H1y,H0Ax:q,H0Ay:J}),{R8:X,S:Z}=p.signEddsa(Y),Q={rootHashHinkal:W,spendingPublicKey:j,eddsaSignature:[X[0],X[1],Z],signedMessageHash:Y,nullifyingPrivateKey:A,mintAccountPart1:L,mintAccountPart2:R,amountChanges:V,inAmounts:h.map(e=>e.map(e=>e.amount.toString())),inH0Ax:h.map(e=>e.map(e=>i.getUtxoCircuitH0Coords(e)[0].toString())),inH0Ay:h.map(e=>e.map(e=>i.getUtxoCircuitH0Coords(e)[1].toString())),inTimeStamps:h.map(e=>e.map(e=>e.timeStamp)),inNullifiers:G,inCommitmentSiblings:H,inCommitmentSiblingSides:U,outAmounts:g.map(e=>e.map(e=>e.amount.toString())),outTimeStamp:BigInt(g[0][0].timeStamp),outPublicKeys:g.map(e=>e.map(e=>e.getStealthAddress())),outCommitments:K,calldataHash:z,messageSeed:N,swapperAccountSalt:D,H0Ax:q,H0Ay:J},{zkCallData:$,publicSignals:ee,commitmentValidationData:te}=await s.generateMainAndCommitmentZkProof(w,p,m,h,`mainSolanaCircuit${B}`,Q,d),[ne,re,ie]=$;return{proofAArr:ne.map(BigInt).map(a.encodeToByte32Array).flat(),proofBArr:re.flat().map(BigInt).map(a.encodeToByte32Array).flat(),proofCArr:ie.map(BigInt).map(a.encodeToByte32Array).flat(),publicInputsArr:ee.map(BigInt).map(a.encodeToByte32Array),commitmentValidationData:te}};exports.constructSolanaZkProof=d;
@@ -0,0 +1,69 @@
1
+ import { chainIds as e } from "../../constants/chains.constants.mjs";
2
+ import { poseidonFunction as t } from "../../crypto/poseidon.mjs";
3
+ import { randomBigInt as n } from "../web3/etherFunctions.mjs";
4
+ import { formatMintAddress as r } from "../utils/solanaMint.utils.mjs";
5
+ import { buildOutCommitments as i, calcAmountChanges as a, calcStealthAddressStructure as o, getUtxoCircuitH0Coords as s } from "./common.snarkjs.mjs";
6
+ import { encodeToByte32Array as c } from "../pre-transaction/solana.mjs";
7
+ import { computeSignedMessageHashSolana as l } from "./signedMessageHash.mjs";
8
+ import "../pre-transaction/index.mjs";
9
+ import { generateMainAndCommitmentZkProof as u } from "./generateMainAndCommitmentZkProof.mjs";
10
+ import { getDataFromWorkers as d } from "./getMerkleTreeSiblingsAndRootHashes.mjs";
11
+ import { getSolanaCalldataHash as f } from "../pre-transaction/getSolanaCalldataHash.mjs";
12
+ import "../web3/index.mjs";
13
+ import { PublicKey as p } from "@solana/web3.js";
14
+ //#region libs/shared/common/src/functions/snarkjs/constructSolanaZkProof.ts
15
+ var m = async (m, h, g, _, v, y, b, x, S, C, w, T, E, D = e.solanaLocalnet, O = [], k = [], A = 0n) => {
16
+ let j = new p(C), M = new p(w), N = g.getShieldedPrivateKey(), { pubSpendingBJJPoint: P } = g.getSpendingKeyPair(), F = o(b, N, g.getSpendingKeyPair().pubSpendingBJJPoint), I = n(31), L = t(I), R = t(A), z = _.map((e) => r(e)), B = z.map((e) => e.mintAccountPart1), V = z.map((e) => e.mintAccountPart2), H = f(T, j, M, E, x, S, O, k), U = `${T.tokenNumber}x${T.nullifierAmount}x${T.outputAmount}`, W = a(v, y), { inCommitmentSiblings: ee, inCommitmentSiblingSides: G, rootHashHinkal: K, inNullifiers: q } = await d(D, h, v.map((e) => e.map((e) => e.getConstructableParams()))), J = i(y), Y = F.H0x, X = F.H0y, Z = l({
17
+ rootHashHinkal: K,
18
+ mintAccountPart1: B,
19
+ mintAccountPart2: V,
20
+ amountChanges: W,
21
+ outTimeStamp: BigInt(y[0][0].timeStamp),
22
+ inNullifiers: q,
23
+ outCommitments: J,
24
+ calldataHash: H,
25
+ message: L,
26
+ swapperAccountAdditionalSeed: R,
27
+ outH1Ay: F.H1y,
28
+ H0Ax: Y,
29
+ H0Ay: X
30
+ }), { R8: Q, S: $ } = g.signEddsa(Z), te = {
31
+ rootHashHinkal: K,
32
+ spendingPublicKey: P,
33
+ eddsaSignature: [
34
+ Q[0],
35
+ Q[1],
36
+ $
37
+ ],
38
+ signedMessageHash: Z,
39
+ nullifyingPrivateKey: N,
40
+ mintAccountPart1: B,
41
+ mintAccountPart2: V,
42
+ amountChanges: W,
43
+ inAmounts: v.map((e) => e.map((e) => e.amount.toString())),
44
+ inH0Ax: v.map((e) => e.map((e) => s(e)[0].toString())),
45
+ inH0Ay: v.map((e) => e.map((e) => s(e)[1].toString())),
46
+ inTimeStamps: v.map((e) => e.map((e) => e.timeStamp)),
47
+ inNullifiers: q,
48
+ inCommitmentSiblings: ee,
49
+ inCommitmentSiblingSides: G,
50
+ outAmounts: y.map((e) => e.map((e) => e.amount.toString())),
51
+ outTimeStamp: BigInt(y[0][0].timeStamp),
52
+ outPublicKeys: y.map((e) => e.map((e) => e.getStealthAddress())),
53
+ outCommitments: J,
54
+ calldataHash: H,
55
+ messageSeed: I,
56
+ swapperAccountSalt: A,
57
+ H0Ax: Y,
58
+ H0Ay: X
59
+ }, { zkCallData: ne, publicSignals: re, commitmentValidationData: ie } = await u(D, g, _, v, `mainSolanaCircuit${U}`, te, m), [ae, oe, se] = ne;
60
+ return {
61
+ proofAArr: ae.map(BigInt).map(c).flat(),
62
+ proofBArr: oe.flat().map(BigInt).map(c).flat(),
63
+ proofCArr: se.map(BigInt).map(c).flat(),
64
+ publicInputsArr: re.map(BigInt).map(c),
65
+ commitmentValidationData: ie
66
+ };
67
+ };
68
+ //#endregion
69
+ export { m as constructSolanaZkProof };
@@ -0,0 +1,9 @@
1
+ import { IUtxoConstructor } from '../../data-structures/utxo/Utxo';
2
+ interface MerkleTreeSiblingsResponse {
3
+ inCommitmentSiblings: string[][][];
4
+ inCommitmentSiblingSides: string[][][];
5
+ rootHashHinkal: string;
6
+ rootHashHinkalIndex: string;
7
+ }
8
+ export declare const fetchMerkleTreeSiblings: (chainId: number, inputUtxosSerialized: IUtxoConstructor[][]) => Promise<MerkleTreeSiblingsResponse>;
9
+ export {};