@hinkal/common 0.2.31 → 0.2.33

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 (776) hide show
  1. package/API/API.cjs +1 -1
  2. package/API/API.d.ts +26 -11
  3. package/API/API.mjs +103 -88
  4. package/API/callMonitor.cjs +1 -1
  5. package/API/callMonitor.d.ts +8 -0
  6. package/API/callMonitor.mjs +2 -2
  7. package/API/callRelayer.d.ts +4 -1
  8. package/API/dashboardAccountCalls.cjs +1 -0
  9. package/API/dashboardAccountCalls.d.ts +24 -0
  10. package/API/dashboardAccountCalls.mjs +10 -0
  11. package/API/dashboardAccountMemberCalls.cjs +1 -0
  12. package/API/dashboardAccountMemberCalls.d.ts +34 -0
  13. package/API/dashboardAccountMemberCalls.mjs +16 -0
  14. package/API/dashboardBalanceCalls.cjs +1 -0
  15. package/API/dashboardBalanceCalls.d.ts +12 -0
  16. package/API/dashboardBalanceCalls.mjs +13 -0
  17. package/API/dashboardContactCalls.cjs +1 -0
  18. package/API/dashboardContactCalls.d.ts +9 -0
  19. package/API/dashboardContactCalls.mjs +13 -0
  20. package/API/dashboardPayoutCalls.cjs +1 -0
  21. package/API/dashboardPayoutCalls.d.ts +14 -0
  22. package/API/dashboardPayoutCalls.mjs +13 -0
  23. package/API/dashboardTransactionCalls.cjs +1 -0
  24. package/API/dashboardTransactionCalls.d.ts +3 -0
  25. package/API/dashboardTransactionCalls.mjs +10 -0
  26. package/API/enclaveRecipientInfoCalls.cjs +1 -0
  27. package/API/enclaveRecipientInfoCalls.d.ts +14 -0
  28. package/API/enclaveRecipientInfoCalls.mjs +7 -0
  29. package/API/enclaveSignatureCalls.cjs +1 -1
  30. package/API/enclaveSignatureCalls.d.ts +3 -8
  31. package/API/enclaveSignatureCalls.mjs +6 -8
  32. package/API/enclaveUtxoCalls.cjs +1 -1
  33. package/API/enclaveUtxoCalls.d.ts +8 -2
  34. package/API/enclaveUtxoCalls.mjs +5 -3
  35. package/API/fetchCommitmentsCache.cjs +1 -1
  36. package/API/fetchCommitmentsCache.d.ts +1 -19
  37. package/API/fetchCommitmentsCache.mjs +9 -22
  38. package/API/getAnyRecipientInfo.d.ts +1 -0
  39. package/API/getServerURL.cjs +1 -1
  40. package/API/getServerURL.d.ts +3 -0
  41. package/API/getServerURL.mjs +15 -32
  42. package/API/getWebsiteURL.cjs +1 -1
  43. package/API/getWebsiteURL.d.ts +3 -2
  44. package/API/getWebsiteURL.mjs +12 -5
  45. package/API/index.cjs +1 -1
  46. package/API/index.d.ts +2 -0
  47. package/API/index.mjs +2 -0
  48. package/API/kycCalls.cjs +1 -1
  49. package/API/kycCalls.d.ts +0 -5
  50. package/API/kycCalls.mjs +3 -10
  51. package/API/privateSendRecipientInfoCalls.cjs +1 -1
  52. package/API/privateSendRecipientInfoCalls.d.ts +0 -10
  53. package/API/privateSendRecipientInfoCalls.mjs +2 -2
  54. package/API/scheduled-transactions-calls.cjs +1 -1
  55. package/API/scheduled-transactions-calls.d.ts +8 -2
  56. package/API/scheduled-transactions-calls.mjs +5 -4
  57. package/API/tenderly.api.cjs +1 -1
  58. package/API/tenderly.api.d.ts +1 -1
  59. package/API/tenderly.api.mjs +1 -1
  60. package/constants/addresses.constants.cjs +1 -1
  61. package/constants/addresses.constants.d.ts +10 -7
  62. package/constants/addresses.constants.mjs +11 -8
  63. package/constants/assets.constants.cjs +1 -1
  64. package/constants/assets.constants.mjs +1 -1
  65. package/constants/auth.constants.cjs +1 -0
  66. package/constants/auth.constants.d.ts +2 -0
  67. package/constants/auth.constants.mjs +4 -0
  68. package/constants/backend.constants.cjs +1 -1
  69. package/constants/backend.constants.d.ts +0 -1
  70. package/constants/backend.constants.mjs +0 -1
  71. package/constants/bridging.constants.cjs +1 -1
  72. package/constants/bridging.constants.d.ts +2 -0
  73. package/constants/bridging.constants.mjs +7 -3
  74. package/constants/chains.constants.cjs +1 -1
  75. package/constants/chains.constants.d.ts +25 -8
  76. package/constants/chains.constants.mjs +168 -127
  77. package/constants/coingecko.constants.cjs +1 -1
  78. package/constants/coingecko.constants.d.ts +5 -3
  79. package/constants/coingecko.constants.mjs +8 -5
  80. package/constants/contracts.constants.cjs +1 -1
  81. package/constants/contracts.constants.mjs +0 -4
  82. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  83. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +125 -850
  84. package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -1
  85. package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +97 -1013
  86. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  87. package/constants/deploy-data/deploy-data-base.json.mjs +132 -869
  88. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  89. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +132 -871
  90. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  91. package/constants/deploy-data/deploy-data-localhost.json.mjs +6 -808
  92. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  93. package/constants/deploy-data/deploy-data-optimism.json.mjs +132 -869
  94. package/constants/deploy-data/deploy-data-optimismTest.json.cjs +1 -0
  95. package/constants/deploy-data/deploy-data-optimismTest.json.mjs +3565 -0
  96. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  97. package/constants/deploy-data/deploy-data-polygon.json.mjs +132 -869
  98. package/constants/deploy-data/deploy-data-sepoliaTestnet.json.cjs +1 -0
  99. package/constants/deploy-data/deploy-data-sepoliaTestnet.json.mjs +3561 -0
  100. package/constants/deploy-data/deploy-data-solana.json.cjs +1 -1
  101. package/constants/deploy-data/deploy-data-solana.json.mjs +1 -1
  102. package/constants/deploy-data/deploy-data-tempo.json.cjs +1 -0
  103. package/constants/deploy-data/deploy-data-tempo.json.mjs +3563 -0
  104. package/constants/deploy-data/deploy-data-tronMainnet.json.cjs +1 -1
  105. package/constants/deploy-data/deploy-data-tronMainnet.json.mjs +133 -870
  106. package/constants/deploy-data/deploy-data-tronNile.json.cjs +1 -1
  107. package/constants/deploy-data/deploy-data-tronNile.json.mjs +133 -870
  108. package/constants/deploy-data/index.d.ts +4 -1
  109. package/constants/events.constants.cjs +1 -1
  110. package/constants/events.constants.mjs +4 -1
  111. package/constants/fees.constants.cjs +1 -1
  112. package/constants/fees.constants.d.ts +5 -1
  113. package/constants/fees.constants.mjs +9 -5
  114. package/constants/index.cjs +1 -1
  115. package/constants/index.d.ts +2 -1
  116. package/constants/index.mjs +6 -2
  117. package/constants/kyc.constants.cjs +1 -1
  118. package/constants/kyc.constants.d.ts +1 -1
  119. package/constants/kyc.constants.mjs +38 -37
  120. package/constants/lifi.constants.cjs +1 -1
  121. package/constants/lifi.constants.d.ts +2 -0
  122. package/constants/lifi.constants.mjs +7 -2
  123. package/constants/mediaUrls.constants.cjs +1 -1
  124. package/constants/mediaUrls.constants.d.ts +7 -1
  125. package/constants/mediaUrls.constants.mjs +9 -3
  126. package/constants/price-impact.constants.cjs +1 -0
  127. package/constants/price-impact.constants.d.ts +2 -0
  128. package/constants/price-impact.constants.mjs +4 -0
  129. package/constants/protocol.constants.cjs +1 -1
  130. package/constants/protocol.constants.d.ts +4 -1
  131. package/constants/protocol.constants.mjs +2 -2
  132. package/constants/reorg-depths.constants.cjs +1 -1
  133. package/constants/reorg-depths.constants.d.ts +3 -1
  134. package/constants/reorg-depths.constants.mjs +3 -1
  135. package/constants/save-depths.cjs +1 -1
  136. package/constants/save-depths.d.ts +3 -1
  137. package/constants/save-depths.mjs +3 -1
  138. package/constants/server.constants.cjs +1 -1
  139. package/constants/server.constants.d.ts +33 -8
  140. package/constants/server.constants.mjs +44 -24
  141. package/constants/token-data/ERC20Registry.cjs +1 -1
  142. package/constants/token-data/ERC20Registry.mjs +20 -9
  143. package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
  144. package/constants/token-data/arbMainnetRegistry.json.mjs +24 -24
  145. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  146. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +24 -24
  147. package/constants/token-data/arcTestnetRegistry.json.cjs +1 -1
  148. package/constants/token-data/arcTestnetRegistry.json.mjs +3 -3
  149. package/constants/token-data/baseRegistry.json.cjs +1 -1
  150. package/constants/token-data/baseRegistry.json.mjs +20 -12
  151. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  152. package/constants/token-data/baseRegistryFixed.json.mjs +18 -10
  153. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  154. package/constants/token-data/ethMainnetRegistry.json.mjs +38 -38
  155. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  156. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +38 -38
  157. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  158. package/constants/token-data/localhostRegistry.json.mjs +211 -211
  159. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  160. package/constants/token-data/optimismRegistry.json.mjs +36 -28
  161. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  162. package/constants/token-data/optimismRegistryFixed.json.mjs +36 -28
  163. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  164. package/constants/token-data/polygonRegistry.json.mjs +34 -26
  165. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  166. package/constants/token-data/polygonRegistryFixed.json.mjs +34 -26
  167. package/constants/token-data/sepoliaTestnetRegistry.json.cjs +1 -0
  168. package/constants/token-data/sepoliaTestnetRegistry.json.mjs +21 -0
  169. package/constants/token-data/solanaMainnetRegistry.json.cjs +1 -1
  170. package/constants/token-data/solanaMainnetRegistry.json.mjs +1 -1
  171. package/constants/token-data/tempoRegistry.json.cjs +1 -0
  172. package/constants/token-data/tempoRegistry.json.mjs +37 -0
  173. package/constants/token-data/tronMainnetRegistry.json.cjs +1 -1
  174. package/constants/token-data/tronMainnetRegistry.json.mjs +26 -15
  175. package/constants/token-data/tronNileRegistry.json.cjs +1 -1
  176. package/constants/token-data/tronNileRegistry.json.mjs +2 -2
  177. package/constants/tokens.constants.cjs +1 -1
  178. package/constants/tokens.constants.d.ts +1 -0
  179. package/constants/tokens.constants.mjs +10 -3
  180. package/constants/vite.constants.cjs +1 -1
  181. package/constants/vite.constants.mjs +23 -5
  182. package/constants/wallet.constants.cjs +1 -1
  183. package/constants/wallet.constants.d.ts +1 -1
  184. package/constants/wallet.constants.mjs +2 -18
  185. package/crypto/babyJub.d.ts +1 -1
  186. package/crypto/ecdh-dual-path.cjs +1 -0
  187. package/crypto/ecdh-dual-path.d.ts +13 -0
  188. package/crypto/ecdh-dual-path.mjs +39 -0
  189. package/crypto/ecdh-sealed-keys.cjs +1 -0
  190. package/crypto/ecdh-sealed-keys.d.ts +22 -0
  191. package/crypto/ecdh-sealed-keys.mjs +33 -0
  192. package/crypto/ecdh.cjs +1 -0
  193. package/crypto/ecdh.d.ts +2 -0
  194. package/crypto/ecdh.mjs +9 -0
  195. package/crypto/eddsa.cjs +1 -0
  196. package/crypto/eddsa.d.ts +8 -0
  197. package/crypto/eddsa.mjs +12 -0
  198. package/crypto/index.cjs +1 -1
  199. package/crypto/index.d.ts +4 -0
  200. package/crypto/index.mjs +4 -0
  201. package/crypto/preProcessing.cjs +1 -1
  202. package/crypto/preProcessing.d.ts +1 -1
  203. package/crypto/preProcessing.mjs +10 -8
  204. package/data-structures/AccountActions/AccountActions.cjs +1 -1
  205. package/data-structures/AccountActions/AccountActions.mjs +3 -2
  206. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs +1 -1
  207. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +2 -3
  208. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  209. package/data-structures/Hinkal/Hinkal.d.ts +16 -21
  210. package/data-structures/Hinkal/Hinkal.mjs +144 -160
  211. package/data-structures/Hinkal/IHinkal.d.ts +13 -19
  212. package/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -1
  213. package/data-structures/Hinkal/handleAutoDepositBack.mjs +15 -15
  214. package/data-structures/Hinkal/hinkalClaimUtxo.cjs +1 -1
  215. package/data-structures/Hinkal/hinkalClaimUtxo.d.ts +1 -2
  216. package/data-structures/Hinkal/hinkalClaimUtxo.mjs +49 -47
  217. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  218. package/data-structures/Hinkal/hinkalDeposit.d.ts +5 -3
  219. package/data-structures/Hinkal/hinkalDeposit.mjs +106 -50
  220. package/data-structures/Hinkal/hinkalDepositAndBridge.cjs +1 -1
  221. package/data-structures/Hinkal/hinkalDepositAndBridge.d.ts +1 -1
  222. package/data-structures/Hinkal/hinkalDepositAndBridge.mjs +94 -87
  223. package/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -1
  224. package/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +3 -2
  225. package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +48 -48
  226. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.cjs +1 -1
  227. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +41 -63
  228. package/data-structures/Hinkal/hinkalPalEvmDeposit.cjs +1 -0
  229. package/data-structures/Hinkal/hinkalPalEvmDeposit.d.ts +9 -0
  230. package/data-structures/Hinkal/hinkalPalEvmDeposit.mjs +19 -0
  231. package/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.cjs +1 -0
  232. package/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.d.ts +9 -0
  233. package/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.mjs +18 -0
  234. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.cjs +1 -0
  235. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.d.ts +9 -0
  236. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.mjs +17 -0
  237. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  238. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +46 -50
  239. package/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -1
  240. package/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +4 -1
  241. package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +84 -128
  242. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.cjs +1 -0
  243. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.d.ts +7 -0
  244. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.mjs +51 -0
  245. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.cjs +1 -0
  246. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.d.ts +6 -0
  247. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.mjs +128 -0
  248. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.cjs +1 -1
  249. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.d.ts +2 -2
  250. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +68 -69
  251. package/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -1
  252. package/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +4 -3
  253. package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +96 -57
  254. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -1
  255. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +20 -2
  256. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +114 -122
  257. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.cjs +1 -1
  258. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.d.ts +1 -1
  259. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs +12 -17
  260. package/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -1
  261. package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +38 -40
  262. package/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -1
  263. package/data-structures/Hinkal/hinkalSolanaProxySwap.d.ts +4 -3
  264. package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +68 -52
  265. package/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -1
  266. package/data-structures/Hinkal/hinkalSolanaSwap.d.ts +2 -2
  267. package/data-structures/Hinkal/hinkalSolanaSwap.mjs +67 -72
  268. package/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -1
  269. package/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +2 -1
  270. package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +56 -61
  271. package/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -1
  272. package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +38 -48
  273. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  274. package/data-structures/Hinkal/hinkalSwap.mjs +32 -42
  275. package/data-structures/Hinkal/hinkalTransfer.cjs +1 -1
  276. package/data-structures/Hinkal/hinkalTransfer.mjs +41 -54
  277. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  278. package/data-structures/Hinkal/hinkalWithdraw.mjs +43 -56
  279. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
  280. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +87 -108
  281. package/data-structures/Hinkal/index.cjs +1 -1
  282. package/data-structures/Hinkal/index.d.ts +5 -0
  283. package/data-structures/Hinkal/index.mjs +5 -0
  284. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.cjs +1 -0
  285. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.d.ts +22 -0
  286. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.mjs +34 -0
  287. package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
  288. package/data-structures/Hinkal/resetMerkleTrees.mjs +33 -40
  289. package/data-structures/IndexedDB/activity-db.cjs +1 -1
  290. package/data-structures/IndexedDB/activity-db.mjs +25 -24
  291. package/data-structures/IndexedDB/contact-db.cjs +1 -1
  292. package/data-structures/IndexedDB/contact-db.d.ts +1 -0
  293. package/data-structures/IndexedDB/contact-db.mjs +30 -16
  294. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
  295. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +1 -1
  296. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +4 -4
  297. package/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +1 -1
  298. package/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +37 -34
  299. package/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -1
  300. package/data-structures/TokenDBs/EventsPublicTokensDB.d.ts +2 -0
  301. package/data-structures/TokenDBs/EventsPublicTokensDB.mjs +65 -50
  302. package/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -1
  303. package/data-structures/TokenDBs/PrivateTokensDB.mjs +2 -1
  304. package/data-structures/WalletManager/WalletManager.cjs +1 -0
  305. package/data-structures/WalletManager/WalletManager.d.ts +51 -0
  306. package/data-structures/WalletManager/WalletManager.mjs +99 -0
  307. package/data-structures/WalletManager/index.cjs +1 -0
  308. package/data-structures/WalletManager/index.d.ts +1 -0
  309. package/data-structures/WalletManager/index.mjs +1 -0
  310. package/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
  311. package/data-structures/crypto-keys/decodeUTXO.d.ts +5 -3
  312. package/data-structures/crypto-keys/decodeUTXO.mjs +49 -46
  313. package/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
  314. package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +32 -40
  315. package/data-structures/crypto-keys/keys.cjs +1 -1
  316. package/data-structures/crypto-keys/keys.d.ts +51 -24
  317. package/data-structures/crypto-keys/keys.mjs +104 -43
  318. package/data-structures/custom-token-registry/CustomTokenRegistry.cjs +1 -1
  319. package/data-structures/custom-token-registry/CustomTokenRegistry.mjs +2 -2
  320. package/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -1
  321. package/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +2 -2
  322. package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +4 -4
  323. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.cjs +1 -1
  324. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs +1 -1
  325. package/data-structures/event-service/helpers/ClientEventHelper.cjs +1 -1
  326. package/data-structures/event-service/helpers/ClientEventHelper.mjs +3 -3
  327. package/data-structures/event-service/helpers/PollingEventHelper.cjs +1 -1
  328. package/data-structures/event-service/helpers/PollingEventHelper.d.ts +2 -0
  329. package/data-structures/event-service/helpers/PollingEventHelper.mjs +7 -3
  330. package/data-structures/event-service/index.cjs +1 -1
  331. package/data-structures/event-service/index.d.ts +0 -3
  332. package/data-structures/event-service/index.mjs +0 -3
  333. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.cjs +1 -1
  334. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs +1 -1
  335. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.cjs +1 -1
  336. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +2 -2
  337. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +5 -5
  338. package/data-structures/index.cjs +1 -1
  339. package/data-structures/index.d.ts +1 -0
  340. package/data-structures/index.mjs +10 -10
  341. package/data-structures/merkle-tree/index.cjs +1 -1
  342. package/data-structures/merkle-tree/index.d.ts +0 -1
  343. package/data-structures/merkle-tree/index.mjs +0 -1
  344. package/data-structures/provider-adapter/IProviderAdapter.d.ts +6 -0
  345. package/data-structures/snapshot/SnapshotFetcherService.cjs +1 -1
  346. package/data-structures/snapshot/SnapshotFetcherService.d.ts +0 -2
  347. package/data-structures/snapshot/SnapshotFetcherService.mjs +0 -6
  348. package/data-structures/snapshot/index.cjs +1 -1
  349. package/data-structures/snapshot/index.d.ts +0 -3
  350. package/data-structures/snapshot/index.mjs +0 -3
  351. package/data-structures/utxo/Utxo.cjs +1 -1
  352. package/data-structures/utxo/Utxo.d.ts +16 -10
  353. package/data-structures/utxo/Utxo.mjs +40 -38
  354. package/error-handling/customErrors/HttpError.cjs +1 -0
  355. package/error-handling/customErrors/HttpError.d.ts +4 -0
  356. package/error-handling/customErrors/HttpError.mjs +8 -0
  357. package/error-handling/customErrors/index.cjs +1 -1
  358. package/error-handling/customErrors/index.d.ts +1 -0
  359. package/error-handling/customErrors/index.mjs +1 -0
  360. package/error-handling/error-codes.constants.cjs +1 -1
  361. package/error-handling/error-codes.constants.d.ts +11 -0
  362. package/error-handling/error-codes.constants.mjs +13 -2
  363. package/error-handling/index.cjs +1 -1
  364. package/error-handling/index.mjs +1 -0
  365. package/error-handling/retrySolanaError.cjs +1 -0
  366. package/error-handling/retrySolanaError.d.ts +1 -0
  367. package/error-handling/retrySolanaError.mjs +4 -0
  368. package/externalABIs/index.cjs +1 -1
  369. package/externalABIs/index.d.ts +1 -16
  370. package/externalABIs/index.mjs +4 -5
  371. package/functions/auto-deposit-back-helpers/get-gas-token-records.d.ts +1 -1
  372. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.d.ts +1 -1
  373. package/functions/index.cjs +1 -1
  374. package/functions/index.mjs +28 -19
  375. package/functions/kyc/checkTokenLimitsUSD.cjs +1 -1
  376. package/functions/kyc/checkTokenLimitsUSD.mjs +15 -15
  377. package/functions/kyc/index.cjs +1 -1
  378. package/functions/kyc/index.d.ts +0 -1
  379. package/functions/kyc/index.mjs +0 -1
  380. package/functions/pre-transaction/addressTableLookup.cjs +1 -1
  381. package/functions/pre-transaction/addressTableLookup.mjs +21 -18
  382. package/functions/pre-transaction/buildCommitmentValidationData.cjs +1 -0
  383. package/functions/pre-transaction/buildCommitmentValidationData.d.ts +4 -0
  384. package/functions/pre-transaction/buildCommitmentValidationData.mjs +58 -0
  385. package/functions/pre-transaction/calculateSolanaNullifierCount.cjs +1 -0
  386. package/functions/pre-transaction/calculateSolanaNullifierCount.d.ts +2 -0
  387. package/functions/pre-transaction/calculateSolanaNullifierCount.mjs +23 -0
  388. package/functions/pre-transaction/constructAdminData.cjs +1 -1
  389. package/functions/pre-transaction/constructAdminData.mjs +4 -4
  390. package/functions/pre-transaction/index.cjs +1 -1
  391. package/functions/pre-transaction/index.d.ts +2 -3
  392. package/functions/pre-transaction/index.mjs +3 -4
  393. package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
  394. package/functions/pre-transaction/outputUtxoProcessing.d.ts +1 -1
  395. package/functions/pre-transaction/outputUtxoProcessing.mjs +22 -19
  396. package/functions/pre-transaction/recipientUtxoProcessing.cjs +1 -1
  397. package/functions/pre-transaction/recipientUtxoProcessing.mjs +11 -9
  398. package/functions/pre-transaction/sendInitNullifiersTransaction.cjs +1 -1
  399. package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +9 -9
  400. package/functions/pre-transaction/sendV0Transaction.cjs +1 -1
  401. package/functions/pre-transaction/sendV0Transaction.mjs +45 -43
  402. package/functions/pre-transaction/solana-public-signals.cjs +1 -1
  403. package/functions/pre-transaction/solana-public-signals.d.ts +7 -6
  404. package/functions/pre-transaction/solana-public-signals.mjs +22 -19
  405. package/functions/pre-transaction/solana.cjs +1 -1
  406. package/functions/pre-transaction/solana.d.ts +0 -4
  407. package/functions/pre-transaction/solana.mjs +7 -27
  408. package/functions/pre-transaction/store-proof.cjs +1 -1
  409. package/functions/pre-transaction/store-proof.mjs +3 -3
  410. package/functions/private-wallet/emporium.helpers.cjs +1 -1
  411. package/functions/private-wallet/emporium.helpers.d.ts +13 -3
  412. package/functions/private-wallet/emporium.helpers.mjs +84 -74
  413. package/functions/private-wallet/emporium.swap.helpers.cjs +1 -1
  414. package/functions/private-wallet/emporium.swap.helpers.mjs +6 -6
  415. package/functions/snarkjs/common.snarkjs.cjs +1 -1
  416. package/functions/snarkjs/common.snarkjs.d.ts +8 -13
  417. package/functions/snarkjs/common.snarkjs.mjs +65 -74
  418. package/functions/snarkjs/constant.cjs +1 -1
  419. package/functions/snarkjs/constant.d.ts +146 -426
  420. package/functions/snarkjs/constant.mjs +149 -430
  421. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  422. package/functions/snarkjs/constructGeneralZkProof.d.ts +2 -3
  423. package/functions/snarkjs/constructGeneralZkProof.mjs +74 -57
  424. package/functions/snarkjs/constructSolanaZkProof.cjs +1 -1
  425. package/functions/snarkjs/constructSolanaZkProof.d.ts +1 -2
  426. package/functions/snarkjs/constructSolanaZkProof.mjs +65 -37
  427. package/functions/snarkjs/fetchMerkleTreeSiblings.cjs +1 -1
  428. package/functions/snarkjs/fetchMerkleTreeSiblings.d.ts +1 -1
  429. package/functions/snarkjs/fetchMerkleTreeSiblings.mjs +6 -10
  430. package/functions/snarkjs/fetchOnChainRootHashes.cjs +1 -1
  431. package/functions/snarkjs/fetchOnChainRootHashes.d.ts +0 -1
  432. package/functions/snarkjs/fetchOnChainRootHashes.mjs +22 -7
  433. package/functions/snarkjs/generateCircomData.cjs +1 -1
  434. package/functions/snarkjs/generateCircomData.d.ts +2 -2
  435. package/functions/snarkjs/generateCircomData.mjs +29 -31
  436. package/functions/snarkjs/generateZkProof.cjs +1 -1
  437. package/functions/snarkjs/generateZkProof.mjs +20 -10
  438. package/functions/snarkjs/generateZkProofEnclave.cjs +1 -1
  439. package/functions/snarkjs/generateZkProofEnclave.mjs +15 -18
  440. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.cjs +1 -1
  441. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +2 -9
  442. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +40 -94
  443. package/functions/snarkjs/getZKFiles.cjs +1 -1
  444. package/functions/snarkjs/getZKFiles.d.ts +1 -0
  445. package/functions/snarkjs/getZKFiles.mjs +2 -2
  446. package/functions/snarkjs/index.cjs +1 -1
  447. package/functions/snarkjs/index.d.ts +2 -1
  448. package/functions/snarkjs/index.mjs +2 -1
  449. package/functions/snarkjs/signedMessageHash.cjs +1 -0
  450. package/functions/snarkjs/signedMessageHash.d.ts +31 -0
  451. package/functions/snarkjs/signedMessageHash.mjs +49 -0
  452. package/functions/snarkjs/verifyCommitmentValidationData.cjs +1 -0
  453. package/functions/snarkjs/verifyCommitmentValidationData.d.ts +4 -0
  454. package/functions/snarkjs/verifyCommitmentValidationData.mjs +43 -0
  455. package/functions/utils/addresses.cjs +1 -1
  456. package/functions/utils/addresses.d.ts +2 -0
  457. package/functions/utils/addresses.mjs +12 -8
  458. package/functions/utils/aggregateTokenAmounts.cjs +1 -0
  459. package/functions/utils/aggregateTokenAmounts.d.ts +2 -0
  460. package/functions/utils/aggregateTokenAmounts.mjs +26 -0
  461. package/functions/utils/amounts.utils.cjs +1 -1
  462. package/functions/utils/amounts.utils.d.ts +0 -1
  463. package/functions/utils/amounts.utils.mjs +18 -18
  464. package/functions/utils/auth.utils.cjs +1 -0
  465. package/functions/utils/auth.utils.d.ts +5 -0
  466. package/functions/utils/auth.utils.mjs +7 -0
  467. package/functions/utils/bit.operations.cjs +1 -0
  468. package/functions/utils/bit.operations.d.ts +3 -0
  469. package/functions/utils/bit.operations.mjs +4 -0
  470. package/functions/utils/buildClaimableDepositPlan.cjs +1 -1
  471. package/functions/utils/buildClaimableDepositPlan.d.ts +3 -2
  472. package/functions/utils/buildClaimableDepositPlan.mjs +32 -24
  473. package/functions/utils/cacheFunctions.cjs +1 -1
  474. package/functions/utils/cacheFunctions.d.ts +0 -4
  475. package/functions/utils/cacheFunctions.mjs +33 -47
  476. package/functions/utils/create-provider.cjs +1 -1
  477. package/functions/utils/create-provider.d.ts +2 -3
  478. package/functions/utils/create-provider.mjs +8 -10
  479. package/functions/utils/customEnclaveFunctionsRegister.cjs +1 -0
  480. package/functions/utils/customEnclaveFunctionsRegister.d.ts +18 -0
  481. package/functions/utils/customEnclaveFunctionsRegister.mjs +8 -0
  482. package/functions/utils/deposit-claimable.utils.cjs +1 -0
  483. package/functions/utils/deposit-claimable.utils.d.ts +6 -0
  484. package/functions/utils/deposit-claimable.utils.mjs +106 -0
  485. package/functions/utils/dispatchBalanceRefreshes.cjs +1 -0
  486. package/functions/utils/dispatchBalanceRefreshes.d.ts +4 -0
  487. package/functions/utils/dispatchBalanceRefreshes.mjs +44 -0
  488. package/functions/utils/enclave-recipient-info-storage.cjs +1 -0
  489. package/functions/utils/enclave-recipient-info-storage.d.ts +2 -0
  490. package/functions/utils/enclave-recipient-info-storage.mjs +17 -0
  491. package/functions/utils/enclave-signature-storage.cjs +1 -1
  492. package/functions/utils/enclave-signature-storage.d.ts +1 -2
  493. package/functions/utils/enclave-signature-storage.mjs +6 -9
  494. package/functions/utils/enclave-utxo-storage.cjs +1 -1
  495. package/functions/utils/enclave-utxo-storage.d.ts +3 -2
  496. package/functions/utils/enclave-utxo-storage.mjs +18 -21
  497. package/functions/utils/encodeTokenWithId.cjs +1 -1
  498. package/functions/utils/encodeTokenWithId.mjs +1 -1
  499. package/functions/utils/encryptInputForEnclave.cjs +1 -1
  500. package/functions/utils/encryptInputForEnclave.mjs +17 -23
  501. package/functions/utils/enum.utils.cjs +1 -0
  502. package/functions/utils/enum.utils.mjs +12 -0
  503. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  504. package/functions/utils/erc20tokenFunctions.d.ts +2 -0
  505. package/functions/utils/erc20tokenFunctions.mjs +26 -16
  506. package/functions/utils/evmNetworkFunctions.d.ts +1 -2
  507. package/functions/utils/fees.utils.cjs +1 -1
  508. package/functions/utils/fees.utils.d.ts +2 -1
  509. package/functions/utils/fees.utils.mjs +30 -16
  510. package/functions/utils/formatter.cjs +1 -0
  511. package/functions/utils/formatter.d.ts +1 -0
  512. package/functions/utils/formatter.mjs +15 -0
  513. package/functions/utils/getBlockExplorerUrl.cjs +1 -1
  514. package/functions/utils/getBlockExplorerUrl.mjs +1 -1
  515. package/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -1
  516. package/functions/utils/getRecipientInfoFromUserKeys.d.ts +2 -0
  517. package/functions/utils/getRecipientInfoFromUserKeys.mjs +14 -9
  518. package/functions/utils/getUtxosFromReceipt.utils.cjs +1 -1
  519. package/functions/utils/getUtxosFromReceipt.utils.d.ts +1 -0
  520. package/functions/utils/getUtxosFromReceipt.utils.mjs +43 -27
  521. package/functions/utils/getUtxosFromReceiptSolana.cjs +1 -1
  522. package/functions/utils/getUtxosFromReceiptSolana.d.ts +1 -0
  523. package/functions/utils/getUtxosFromReceiptSolana.mjs +36 -21
  524. package/functions/utils/getWalletGroupKey.utils.cjs +1 -1
  525. package/functions/utils/getWalletGroupKey.utils.mjs +4 -1
  526. package/functions/utils/index.cjs +1 -1
  527. package/functions/utils/index.d.ts +14 -1
  528. package/functions/utils/index.mjs +21 -9
  529. package/functions/utils/lifi.utils.cjs +1 -0
  530. package/functions/utils/lifi.utils.d.ts +3 -0
  531. package/functions/utils/lifi.utils.mjs +30 -0
  532. package/functions/utils/mnemonics.cjs +1 -0
  533. package/functions/utils/mnemonics.d.ts +1 -0
  534. package/functions/utils/mnemonics.mjs +8 -0
  535. package/functions/utils/pay-routing.utils.cjs +1 -0
  536. package/functions/utils/pay-routing.utils.d.ts +4 -0
  537. package/functions/utils/pay-routing.utils.mjs +17 -0
  538. package/functions/utils/prepareHinkal.cjs +1 -1
  539. package/functions/utils/prepareHinkal.mjs +29 -29
  540. package/functions/utils/publicBalance.utils.cjs +1 -1
  541. package/functions/utils/publicBalance.utils.mjs +5 -5
  542. package/functions/utils/serialize-utxos.utils.cjs +1 -1
  543. package/functions/utils/serialize-utxos.utils.mjs +6 -2
  544. package/functions/utils/solana-memo.cjs +1 -0
  545. package/functions/utils/solana-memo.d.ts +3 -0
  546. package/functions/utils/solana-memo.mjs +15 -0
  547. package/functions/utils/solanaSendPreflight.utils.cjs +1 -0
  548. package/functions/utils/solanaSendPreflight.utils.d.ts +6 -0
  549. package/functions/utils/solanaSendPreflight.utils.mjs +21 -0
  550. package/functions/utils/string.utils.cjs +1 -1
  551. package/functions/utils/string.utils.mjs +1 -1
  552. package/functions/utils/time.utils.cjs +1 -1
  553. package/functions/utils/time.utils.d.ts +6 -0
  554. package/functions/utils/time.utils.mjs +23 -16
  555. package/functions/utils/token-check.utils.cjs +1 -1
  556. package/functions/utils/token-check.utils.d.ts +1 -0
  557. package/functions/utils/token-check.utils.mjs +9 -8
  558. package/functions/utils/transfer-claimable.utils.cjs +1 -0
  559. package/functions/utils/transfer-claimable.utils.d.ts +9 -0
  560. package/functions/utils/transfer-claimable.utils.mjs +93 -0
  561. package/functions/utils/tron.utils.cjs +1 -1
  562. package/functions/utils/tron.utils.d.ts +11 -1
  563. package/functions/utils/tron.utils.mjs +85 -40
  564. package/functions/utils/tx-confirmation.utils.cjs +1 -1
  565. package/functions/utils/tx-confirmation.utils.mjs +5 -5
  566. package/functions/utils/userAgent.cjs +1 -1
  567. package/functions/utils/userAgent.d.ts +1 -0
  568. package/functions/utils/userAgent.mjs +4 -1
  569. package/functions/web3/connectors.utils.cjs +1 -1
  570. package/functions/web3/connectors.utils.d.ts +1 -0
  571. package/functions/web3/connectors.utils.mjs +5 -2
  572. package/functions/web3/events/balanceChangedHandler.cjs +1 -1
  573. package/functions/web3/events/balanceChangedHandler.d.ts +2 -1
  574. package/functions/web3/events/balanceChangedHandler.mjs +3 -3
  575. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  576. package/functions/web3/events/getInputUtxoAndBalance.d.ts +1 -1
  577. package/functions/web3/events/getInputUtxoAndBalance.mjs +21 -20
  578. package/functions/web3/events/getInputUtxosEnclave.cjs +1 -1
  579. package/functions/web3/events/getInputUtxosEnclave.d.ts +2 -1
  580. package/functions/web3/events/getInputUtxosEnclave.mjs +25 -18
  581. package/functions/web3/events/getShieldedBalance.cjs +1 -1
  582. package/functions/web3/events/getShieldedBalance.mjs +15 -17
  583. package/functions/web3/events/getTransactionLogEvents.cjs +1 -1
  584. package/functions/web3/events/getTransactionLogEvents.mjs +1 -1
  585. package/functions/web3/events/index.cjs +1 -1
  586. package/functions/web3/events/index.d.ts +0 -2
  587. package/functions/web3/events/index.mjs +0 -2
  588. package/functions/web3/functionCalls/constructBatchCall.cjs +1 -1
  589. package/functions/web3/functionCalls/constructBatchCall.d.ts +1 -0
  590. package/functions/web3/functionCalls/constructBatchCall.mjs +10 -2
  591. package/functions/web3/functionCalls/transactCallDirectTron.cjs +1 -1
  592. package/functions/web3/functionCalls/transactCallDirectTron.d.ts +4 -1
  593. package/functions/web3/functionCalls/transactCallDirectTron.mjs +89 -55
  594. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  595. package/functions/web3/functionCalls/transactCallRelayer.d.ts +5 -4
  596. package/functions/web3/functionCalls/transactCallRelayer.mjs +17 -13
  597. package/functions/web3/getContractMetadata.cjs +1 -1
  598. package/functions/web3/getContractMetadata.mjs +1 -1
  599. package/functions/web3/getTokenHolder.cjs +1 -1
  600. package/functions/web3/getTokenHolder.mjs +1 -1
  601. package/functions/web3/index.cjs +1 -1
  602. package/functions/web3/index.d.ts +0 -1
  603. package/functions/web3/index.mjs +0 -3
  604. package/functions/web3/lifiAPI.cjs +1 -1
  605. package/functions/web3/lifiAPI.mjs +28 -19
  606. package/functions/web3/oneInchAPI.cjs +1 -1
  607. package/functions/web3/oneInchAPI.mjs +1 -1
  608. package/index.cjs +1 -1
  609. package/index.mjs +331 -309
  610. package/package.json +5 -2
  611. package/providers/EthersProviderAdapter.cjs +1 -1
  612. package/providers/EthersProviderAdapter.mjs +1 -1
  613. package/providers/SolanaProviderAdapter.cjs +1 -1
  614. package/providers/SolanaProviderAdapter.d.ts +10 -1
  615. package/providers/SolanaProviderAdapter.mjs +38 -2
  616. package/providers/TronProviderAdapter.cjs +1 -1
  617. package/providers/TronProviderAdapter.mjs +2 -2
  618. package/providers/WagmiProviderAdapter.cjs +1 -1
  619. package/providers/WagmiProviderAdapter.d.ts +3 -1
  620. package/providers/WagmiProviderAdapter.mjs +62 -52
  621. package/providers/prepareSolanaHinkal.cjs +1 -1
  622. package/providers/prepareSolanaHinkal.mjs +3 -3
  623. package/types/admin.types.cjs +1 -1
  624. package/types/admin.types.d.ts +1 -8
  625. package/types/admin.types.mjs +1 -1
  626. package/types/cache.types.cjs +1 -1
  627. package/types/cache.types.d.ts +2 -1
  628. package/types/cache.types.mjs +1 -1
  629. package/types/chains.types.cjs +1 -0
  630. package/types/chains.types.d.ts +11 -0
  631. package/types/chains.types.mjs +8 -0
  632. package/types/circom-data.types.d.ts +13 -0
  633. package/types/commitments.types.d.ts +0 -6
  634. package/types/contacts.types.d.ts +1 -0
  635. package/types/dashboard-account.cjs +1 -0
  636. package/types/dashboard-account.d.ts +101 -0
  637. package/types/dashboard-account.mjs +8 -0
  638. package/types/dashboard-payout.types.cjs +1 -0
  639. package/types/dashboard-payout.types.d.ts +29 -0
  640. package/types/dashboard-payout.types.mjs +8 -0
  641. package/types/dashboard-transaction.types.d.ts +22 -0
  642. package/types/ethereum-network.types.cjs +1 -1
  643. package/types/ethereum-network.types.d.ts +15 -18
  644. package/types/ethereum-network.types.mjs +1 -1
  645. package/types/events.types.cjs +1 -1
  646. package/types/events.types.d.ts +2 -3
  647. package/types/events.types.mjs +1 -1
  648. package/types/external-action.types.cjs +1 -1
  649. package/types/external-action.types.d.ts +2 -1
  650. package/types/external-action.types.mjs +1 -1
  651. package/types/hinkal.types.cjs +1 -1
  652. package/types/hinkal.types.d.ts +6 -17
  653. package/types/hinkal.types.mjs +16 -18
  654. package/types/index.cjs +1 -1
  655. package/types/index.d.ts +6 -0
  656. package/types/index.mjs +3 -0
  657. package/types/pay-activities.types.d.ts +3 -0
  658. package/types/pay-routing.types.d.ts +9 -0
  659. package/types/scheduled-transactions.types.d.ts +7 -0
  660. package/types/solana.types.d.ts +5 -6
  661. package/types/token-prices.types.d.ts +4 -0
  662. package/types/transaction.types.d.ts +1 -3
  663. package/webworker/WorkerWrapper.cjs +1 -0
  664. package/webworker/WorkerWrapper.d.ts +9 -0
  665. package/webworker/WorkerWrapper.mjs +22 -0
  666. package/webworker/logError-fCJ4HXQz.js +22 -0
  667. package/webworker/package.json +112 -0
  668. package/webworker/performTaskWithWorker.cjs +1 -1
  669. package/webworker/performTaskWithWorker.mjs +4 -4
  670. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
  671. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +1 -1
  672. package/webworker/snarkjsWorker/snarkjsWorkerLogic.d.ts +0 -3
  673. package/webworker/snarkjsWorker/snarkjsWorkerNode.d.ts +0 -0
  674. package/webworker/snarkjsWorkerNode.cjs +3 -0
  675. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
  676. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +1 -1
  677. package/webworker/utxoWorker/utxoWorkerLogic.d.ts +0 -3
  678. package/webworker/utxoWorker/utxoWorkerNode.d.ts +0 -0
  679. package/webworker/utxoWorkerNode.cjs +1 -0
  680. package/webworker/viteWorkerURL.constant.cjs +4 -4
  681. package/webworker/viteWorkerURL.constant.mjs +4 -4
  682. package/webworker/worker.registry.cjs +1 -1
  683. package/webworker/worker.registry.mjs +6 -3
  684. package/webworker/workerFactory.cjs +1 -1
  685. package/webworker/workerFactory.d.ts +4 -1
  686. package/webworker/workerFactory.mjs +31 -17
  687. package/webworker/workerProxy-BNBqYien.js +130 -0
  688. package/webworker/workerProxy.d.ts +1 -1
  689. package/webworker/workerThreadsPatch.d.ts +1 -0
  690. package/webworker/zkProofWorker/zkProofWorker.types.cjs +1 -1
  691. package/webworker/zkProofWorker/zkProofWorker.types.d.ts +3 -13
  692. package/webworker/zkProofWorker/zkProofWorker.types.mjs +1 -1
  693. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
  694. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +1 -1
  695. package/webworker/zkProofWorker/zkProofWorkerLogic.d.ts +1 -5
  696. package/webworker/zkProofWorker/zkProofWorkerNode.d.ts +0 -0
  697. package/webworker/zkProofWorkerNode.cjs +1 -0
  698. package/API/solana-calls.cjs +0 -1
  699. package/API/solana-calls.d.ts +0 -38
  700. package/API/solana-calls.mjs +0 -8
  701. package/constants/non-circular-tokens.constants.cjs +0 -1
  702. package/constants/non-circular-tokens.constants.d.ts +0 -1
  703. package/constants/non-circular-tokens.constants.mjs +0 -4
  704. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.cjs +0 -1
  705. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.d.ts +0 -3
  706. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.mjs +0 -15
  707. package/data-structures/Hinkal/hinkalCheckTokenRegistry.cjs +0 -1
  708. package/data-structures/Hinkal/hinkalCheckTokenRegistry.d.ts +0 -4
  709. package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +0 -18
  710. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.cjs +0 -1
  711. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.d.ts +0 -35
  712. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.mjs +0 -75
  713. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.cjs +0 -1
  714. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.d.ts +0 -30
  715. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.mjs +0 -81
  716. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.cjs +0 -1
  717. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.d.ts +0 -35
  718. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +0 -76
  719. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +0 -1
  720. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +0 -2
  721. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +0 -13
  722. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.cjs +0 -1
  723. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.d.ts +0 -8
  724. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs +0 -29
  725. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.cjs +0 -1
  726. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.d.ts +0 -8
  727. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +0 -30
  728. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.cjs +0 -1
  729. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.d.ts +0 -8
  730. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +0 -26
  731. package/externalABIs/transactionsProver.json.cjs +0 -1
  732. package/externalABIs/transactionsProver.json.mjs +0 -43
  733. package/functions/pre-transaction/getKycAndSignatureData.cjs +0 -1
  734. package/functions/pre-transaction/getKycAndSignatureData.d.ts +0 -5
  735. package/functions/pre-transaction/getKycAndSignatureData.mjs +0 -12
  736. package/functions/pre-transaction/getSignatureDataForTransact.cjs +0 -1
  737. package/functions/pre-transaction/getSignatureDataForTransact.d.ts +0 -3
  738. package/functions/pre-transaction/getSignatureDataForTransact.mjs +0 -6
  739. package/functions/pre-transaction/initTokenLimitIfNeeded.cjs +0 -1
  740. package/functions/pre-transaction/initTokenLimitIfNeeded.d.ts +0 -3
  741. package/functions/pre-transaction/initTokenLimitIfNeeded.mjs +0 -17
  742. package/functions/pre-transaction/outputApprovalDataProcessing.cjs +0 -1
  743. package/functions/pre-transaction/outputApprovalDataProcessing.d.ts +0 -10
  744. package/functions/pre-transaction/outputApprovalDataProcessing.mjs +0 -22
  745. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.cjs +0 -1
  746. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.d.ts +0 -6
  747. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.mjs +0 -11
  748. package/functions/snarkjs/constructEmporiumProof.cjs +0 -1
  749. package/functions/snarkjs/constructEmporiumProof.d.ts +0 -13
  750. package/functions/snarkjs/constructEmporiumProof.mjs +0 -74
  751. package/functions/utils/processUseApprovalUtxoData.cjs +0 -1
  752. package/functions/utils/processUseApprovalUtxoData.d.ts +0 -3
  753. package/functions/utils/processUseApprovalUtxoData.mjs +0 -13
  754. package/functions/web3/events/balanceChangedCustomHandler.cjs +0 -1
  755. package/functions/web3/events/balanceChangedCustomHandler.d.ts +0 -2
  756. package/functions/web3/events/balanceChangedCustomHandler.mjs +0 -9
  757. package/functions/web3/events/getApprovedBalance.cjs +0 -1
  758. package/functions/web3/events/getApprovedBalance.d.ts +0 -6
  759. package/functions/web3/events/getApprovedBalance.mjs +0 -37
  760. package/functions/web3/functionCalls/accessTokenCalls.cjs +0 -1
  761. package/functions/web3/functionCalls/accessTokenCalls.d.ts +0 -2
  762. package/functions/web3/functionCalls/accessTokenCalls.mjs +0 -19
  763. package/functions/web3/tron-wagmi-adapter.cjs +0 -1
  764. package/functions/web3/tron-wagmi-adapter.d.ts +0 -8
  765. package/functions/web3/tron-wagmi-adapter.mjs +0 -27
  766. package/providers/CustomEthersProvider.cjs +0 -1
  767. package/providers/CustomEthersProvider.d.ts +0 -10
  768. package/providers/CustomEthersProvider.mjs +0 -28
  769. package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +0 -1
  770. package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +0 -30
  771. package/webworker/utxoWorker/utxoWorkerLogic.cjs +0 -1
  772. package/webworker/utxoWorker/utxoWorkerLogic.mjs +0 -69
  773. package/webworker/workerProxy.cjs +0 -1
  774. package/webworker/workerProxy.mjs +0 -33
  775. package/webworker/zkProofWorker/zkProofWorkerLogic.cjs +0 -1
  776. package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +0 -45
@@ -0,0 +1,3561 @@
1
+ var e = {
2
+ hinkalAddress: "0x1858c7E127877430EbEc27D112F319C7091add33",
3
+ hinkalABI: [
4
+ {
5
+ inputs: [
6
+ {
7
+ components: [
8
+ {
9
+ internalType: "uint128",
10
+ name: "levels",
11
+ type: "uint128"
12
+ },
13
+ {
14
+ internalType: "address",
15
+ name: "poseidon2",
16
+ type: "address"
17
+ },
18
+ {
19
+ internalType: "address",
20
+ name: "poseidon4",
21
+ type: "address"
22
+ },
23
+ {
24
+ internalType: "address",
25
+ name: "poseidon5",
26
+ type: "address"
27
+ }
28
+ ],
29
+ internalType: "struct IMerkle.MerkleConstructorArgs",
30
+ name: "constructorArgs",
31
+ type: "tuple"
32
+ },
33
+ {
34
+ internalType: "address",
35
+ name: "_hinkalHelper",
36
+ type: "address"
37
+ },
38
+ {
39
+ internalType: "address",
40
+ name: "_hinkalInLogic",
41
+ type: "address"
42
+ },
43
+ {
44
+ internalType: "address",
45
+ name: "_hinkalHelperManager",
46
+ type: "address"
47
+ }
48
+ ],
49
+ stateMutability: "nonpayable",
50
+ type: "constructor"
51
+ },
52
+ {
53
+ anonymous: !1,
54
+ inputs: [
55
+ {
56
+ indexed: !1,
57
+ internalType: "address",
58
+ name: "approvalTarget",
59
+ type: "address"
60
+ },
61
+ {
62
+ indexed: !1,
63
+ internalType: "address",
64
+ name: "tokenAddress",
65
+ type: "address"
66
+ },
67
+ {
68
+ indexed: !1,
69
+ internalType: "uint256",
70
+ name: "inHinkalAddress",
71
+ type: "uint256"
72
+ }
73
+ ],
74
+ name: "BufferReleased",
75
+ type: "event"
76
+ },
77
+ {
78
+ anonymous: !1,
79
+ inputs: [{
80
+ indexed: !1,
81
+ internalType: "address",
82
+ name: "externalActionAddress",
83
+ type: "address"
84
+ }],
85
+ name: "ExternalActionRegistered",
86
+ type: "event"
87
+ },
88
+ {
89
+ anonymous: !1,
90
+ inputs: [
91
+ {
92
+ indexed: !1,
93
+ internalType: "address",
94
+ name: "approveTo",
95
+ type: "address"
96
+ },
97
+ {
98
+ indexed: !1,
99
+ internalType: "address",
100
+ name: "tokenAddress",
101
+ type: "address"
102
+ },
103
+ {
104
+ indexed: !1,
105
+ internalType: "int256",
106
+ name: "amount",
107
+ type: "int256"
108
+ },
109
+ {
110
+ indexed: !1,
111
+ internalType: "uint256",
112
+ name: "inHinkalAddress",
113
+ type: "uint256"
114
+ }
115
+ ],
116
+ name: "NewApprovedUtxo",
117
+ type: "event"
118
+ },
119
+ {
120
+ anonymous: !1,
121
+ inputs: [
122
+ {
123
+ indexed: !1,
124
+ internalType: "address",
125
+ name: "approvalTarget",
126
+ type: "address"
127
+ },
128
+ {
129
+ indexed: !1,
130
+ internalType: "address",
131
+ name: "tokenAddress",
132
+ type: "address"
133
+ },
134
+ {
135
+ indexed: !1,
136
+ internalType: "uint256",
137
+ name: "amount",
138
+ type: "uint256"
139
+ },
140
+ {
141
+ indexed: !1,
142
+ internalType: "uint256",
143
+ name: "inHinkalAddress",
144
+ type: "uint256"
145
+ }
146
+ ],
147
+ name: "NewBufferEntry",
148
+ type: "event"
149
+ },
150
+ {
151
+ anonymous: !1,
152
+ inputs: [
153
+ {
154
+ indexed: !1,
155
+ internalType: "uint256",
156
+ name: "commitment",
157
+ type: "uint256"
158
+ },
159
+ {
160
+ indexed: !1,
161
+ internalType: "int256",
162
+ name: "index",
163
+ type: "int256"
164
+ },
165
+ {
166
+ indexed: !1,
167
+ internalType: "bytes",
168
+ name: "encryptedOutput",
169
+ type: "bytes"
170
+ }
171
+ ],
172
+ name: "NewCommitment",
173
+ type: "event"
174
+ },
175
+ {
176
+ anonymous: !1,
177
+ inputs: [
178
+ {
179
+ indexed: !1,
180
+ internalType: "address",
181
+ name: "sender",
182
+ type: "address"
183
+ },
184
+ {
185
+ indexed: !1,
186
+ internalType: "uint256",
187
+ name: "timestamp",
188
+ type: "uint256"
189
+ },
190
+ {
191
+ indexed: !1,
192
+ internalType: "address",
193
+ name: "erc20TokenAddress",
194
+ type: "address"
195
+ },
196
+ {
197
+ indexed: !1,
198
+ internalType: "int256",
199
+ name: "publicAmount",
200
+ type: "int256"
201
+ }
202
+ ],
203
+ name: "NewTransaction",
204
+ type: "event"
205
+ },
206
+ {
207
+ anonymous: !1,
208
+ inputs: [
209
+ {
210
+ indexed: !1,
211
+ internalType: "uint256",
212
+ name: "amount",
213
+ type: "uint256"
214
+ },
215
+ {
216
+ indexed: !1,
217
+ internalType: "address",
218
+ name: "erc20Address",
219
+ type: "address"
220
+ },
221
+ {
222
+ indexed: !1,
223
+ internalType: "uint256",
224
+ name: "randomization",
225
+ type: "uint256"
226
+ },
227
+ {
228
+ indexed: !1,
229
+ internalType: "uint256",
230
+ name: "stealthAddress",
231
+ type: "uint256"
232
+ },
233
+ {
234
+ indexed: !1,
235
+ internalType: "uint256",
236
+ name: "timeStamp",
237
+ type: "uint256"
238
+ },
239
+ {
240
+ indexed: !1,
241
+ internalType: "uint256",
242
+ name: "tokenId",
243
+ type: "uint256"
244
+ }
245
+ ],
246
+ name: "NewUtxo",
247
+ type: "event"
248
+ },
249
+ {
250
+ anonymous: !1,
251
+ inputs: [{
252
+ indexed: !1,
253
+ internalType: "uint256",
254
+ name: "nullifier",
255
+ type: "uint256"
256
+ }],
257
+ name: "Nullified",
258
+ type: "event"
259
+ },
260
+ {
261
+ anonymous: !1,
262
+ inputs: [{
263
+ indexed: !0,
264
+ internalType: "address",
265
+ name: "previousOwner",
266
+ type: "address"
267
+ }, {
268
+ indexed: !0,
269
+ internalType: "address",
270
+ name: "newOwner",
271
+ type: "address"
272
+ }],
273
+ name: "OwnershipTransferStarted",
274
+ type: "event"
275
+ },
276
+ {
277
+ anonymous: !1,
278
+ inputs: [{
279
+ indexed: !0,
280
+ internalType: "address",
281
+ name: "previousOwner",
282
+ type: "address"
283
+ }, {
284
+ indexed: !0,
285
+ internalType: "address",
286
+ name: "newOwner",
287
+ type: "address"
288
+ }],
289
+ name: "OwnershipTransferred",
290
+ type: "event"
291
+ },
292
+ {
293
+ anonymous: !1,
294
+ inputs: [
295
+ {
296
+ indexed: !0,
297
+ internalType: "bytes32",
298
+ name: "role",
299
+ type: "bytes32"
300
+ },
301
+ {
302
+ indexed: !0,
303
+ internalType: "bytes32",
304
+ name: "previousAdminRole",
305
+ type: "bytes32"
306
+ },
307
+ {
308
+ indexed: !0,
309
+ internalType: "bytes32",
310
+ name: "newAdminRole",
311
+ type: "bytes32"
312
+ }
313
+ ],
314
+ name: "RoleAdminChanged",
315
+ type: "event"
316
+ },
317
+ {
318
+ anonymous: !1,
319
+ inputs: [
320
+ {
321
+ indexed: !0,
322
+ internalType: "bytes32",
323
+ name: "role",
324
+ type: "bytes32"
325
+ },
326
+ {
327
+ indexed: !0,
328
+ internalType: "address",
329
+ name: "account",
330
+ type: "address"
331
+ },
332
+ {
333
+ indexed: !0,
334
+ internalType: "address",
335
+ name: "sender",
336
+ type: "address"
337
+ }
338
+ ],
339
+ name: "RoleGranted",
340
+ type: "event"
341
+ },
342
+ {
343
+ anonymous: !1,
344
+ inputs: [
345
+ {
346
+ indexed: !0,
347
+ internalType: "bytes32",
348
+ name: "role",
349
+ type: "bytes32"
350
+ },
351
+ {
352
+ indexed: !0,
353
+ internalType: "address",
354
+ name: "account",
355
+ type: "address"
356
+ },
357
+ {
358
+ indexed: !0,
359
+ internalType: "address",
360
+ name: "sender",
361
+ type: "address"
362
+ }
363
+ ],
364
+ name: "RoleRevoked",
365
+ type: "event"
366
+ },
367
+ {
368
+ anonymous: !1,
369
+ inputs: [{
370
+ indexed: !1,
371
+ internalType: "uint256",
372
+ name: "verifierId",
373
+ type: "uint256"
374
+ }, {
375
+ indexed: !1,
376
+ internalType: "address",
377
+ name: "verifierAddress",
378
+ type: "address"
379
+ }],
380
+ name: "VerifierRegistered",
381
+ type: "event"
382
+ },
383
+ {
384
+ anonymous: !1,
385
+ inputs: [{
386
+ indexed: !1,
387
+ internalType: "uint256",
388
+ name: "verifierId",
389
+ type: "uint256"
390
+ }],
391
+ name: "VerifierRemoved",
392
+ type: "event"
393
+ },
394
+ {
395
+ inputs: [],
396
+ name: "DEFAULT_ADMIN_ROLE",
397
+ outputs: [{
398
+ internalType: "bytes32",
399
+ name: "",
400
+ type: "bytes32"
401
+ }],
402
+ stateMutability: "view",
403
+ type: "function"
404
+ },
405
+ {
406
+ inputs: [],
407
+ name: "HINKAL_HELPER_MANAGER",
408
+ outputs: [{
409
+ internalType: "bytes32",
410
+ name: "",
411
+ type: "bytes32"
412
+ }],
413
+ stateMutability: "view",
414
+ type: "function"
415
+ },
416
+ {
417
+ inputs: [],
418
+ name: "acceptOwnership",
419
+ outputs: [],
420
+ stateMutability: "nonpayable",
421
+ type: "function"
422
+ },
423
+ {
424
+ inputs: [{
425
+ internalType: "address[]",
426
+ name: "approvalTargets",
427
+ type: "address[]"
428
+ }, {
429
+ internalType: "uint256[][]",
430
+ name: "indexes",
431
+ type: "uint256[][]"
432
+ }],
433
+ name: "bufferApprovals",
434
+ outputs: [],
435
+ stateMutability: "nonpayable",
436
+ type: "function"
437
+ },
438
+ {
439
+ inputs: [{
440
+ components: [
441
+ {
442
+ internalType: "uint16",
443
+ name: "tokenNumber",
444
+ type: "uint16"
445
+ },
446
+ {
447
+ internalType: "uint16",
448
+ name: "nullifierAmount",
449
+ type: "uint16"
450
+ },
451
+ {
452
+ internalType: "uint16",
453
+ name: "outputAmount",
454
+ type: "uint16"
455
+ }
456
+ ],
457
+ internalType: "struct Dimensions",
458
+ name: "dimensions",
459
+ type: "tuple"
460
+ }, {
461
+ internalType: "uint256",
462
+ name: "externalActionId",
463
+ type: "uint256"
464
+ }],
465
+ name: "buildVerifierId",
466
+ outputs: [{
467
+ internalType: "uint256",
468
+ name: "",
469
+ type: "uint256"
470
+ }],
471
+ stateMutability: "pure",
472
+ type: "function"
473
+ },
474
+ {
475
+ inputs: [{
476
+ internalType: "uint256",
477
+ name: "",
478
+ type: "uint256"
479
+ }],
480
+ name: "externalActionMap",
481
+ outputs: [{
482
+ internalType: "address",
483
+ name: "",
484
+ type: "address"
485
+ }],
486
+ stateMutability: "view",
487
+ type: "function"
488
+ },
489
+ {
490
+ inputs: [
491
+ {
492
+ internalType: "address",
493
+ name: "approveTo",
494
+ type: "address"
495
+ },
496
+ {
497
+ internalType: "address",
498
+ name: "tokenAddress",
499
+ type: "address"
500
+ },
501
+ {
502
+ internalType: "uint256",
503
+ name: "inHinkalAddress",
504
+ type: "uint256"
505
+ }
506
+ ],
507
+ name: "getBufferEntry",
508
+ outputs: [{
509
+ internalType: "uint256",
510
+ name: "",
511
+ type: "uint256"
512
+ }],
513
+ stateMutability: "nonpayable",
514
+ type: "function"
515
+ },
516
+ {
517
+ inputs: [{
518
+ internalType: "address",
519
+ name: "interaction",
520
+ type: "address"
521
+ }],
522
+ name: "getInteractionApprovals",
523
+ outputs: [{
524
+ components: [
525
+ {
526
+ internalType: "address",
527
+ name: "tokenAddress",
528
+ type: "address"
529
+ },
530
+ {
531
+ internalType: "uint256",
532
+ name: "amount",
533
+ type: "uint256"
534
+ },
535
+ {
536
+ internalType: "uint256",
537
+ name: "inHinkalAddress",
538
+ type: "uint256"
539
+ }
540
+ ],
541
+ internalType: "struct ApprovedUtxo[]",
542
+ name: "approvedUtxos",
543
+ type: "tuple[]"
544
+ }],
545
+ stateMutability: "nonpayable",
546
+ type: "function"
547
+ },
548
+ {
549
+ inputs: [{
550
+ internalType: "bytes32",
551
+ name: "role",
552
+ type: "bytes32"
553
+ }],
554
+ name: "getRoleAdmin",
555
+ outputs: [{
556
+ internalType: "bytes32",
557
+ name: "",
558
+ type: "bytes32"
559
+ }],
560
+ stateMutability: "view",
561
+ type: "function"
562
+ },
563
+ {
564
+ inputs: [],
565
+ name: "getRootHash",
566
+ outputs: [{
567
+ internalType: "uint256",
568
+ name: "",
569
+ type: "uint256"
570
+ }],
571
+ stateMutability: "view",
572
+ type: "function"
573
+ },
574
+ {
575
+ inputs: [{
576
+ internalType: "bytes32",
577
+ name: "role",
578
+ type: "bytes32"
579
+ }, {
580
+ internalType: "address",
581
+ name: "account",
582
+ type: "address"
583
+ }],
584
+ name: "grantRole",
585
+ outputs: [],
586
+ stateMutability: "nonpayable",
587
+ type: "function"
588
+ },
589
+ {
590
+ inputs: [{
591
+ internalType: "bytes32",
592
+ name: "role",
593
+ type: "bytes32"
594
+ }, {
595
+ internalType: "address",
596
+ name: "account",
597
+ type: "address"
598
+ }],
599
+ name: "hasRole",
600
+ outputs: [{
601
+ internalType: "bool",
602
+ name: "",
603
+ type: "bool"
604
+ }],
605
+ stateMutability: "view",
606
+ type: "function"
607
+ },
608
+ {
609
+ inputs: [{
610
+ internalType: "uint256",
611
+ name: "a",
612
+ type: "uint256"
613
+ }, {
614
+ internalType: "uint256",
615
+ name: "b",
616
+ type: "uint256"
617
+ }],
618
+ name: "hash2",
619
+ outputs: [{
620
+ internalType: "uint256",
621
+ name: "poseidonHash",
622
+ type: "uint256"
623
+ }],
624
+ stateMutability: "view",
625
+ type: "function"
626
+ },
627
+ {
628
+ inputs: [
629
+ {
630
+ internalType: "uint256",
631
+ name: "a0",
632
+ type: "uint256"
633
+ },
634
+ {
635
+ internalType: "uint256",
636
+ name: "a1",
637
+ type: "uint256"
638
+ },
639
+ {
640
+ internalType: "uint256",
641
+ name: "a2",
642
+ type: "uint256"
643
+ },
644
+ {
645
+ internalType: "uint256",
646
+ name: "a3",
647
+ type: "uint256"
648
+ }
649
+ ],
650
+ name: "hash4",
651
+ outputs: [{
652
+ internalType: "uint256",
653
+ name: "poseidonHash",
654
+ type: "uint256"
655
+ }],
656
+ stateMutability: "view",
657
+ type: "function"
658
+ },
659
+ {
660
+ inputs: [
661
+ {
662
+ internalType: "uint256",
663
+ name: "a0",
664
+ type: "uint256"
665
+ },
666
+ {
667
+ internalType: "uint256",
668
+ name: "a1",
669
+ type: "uint256"
670
+ },
671
+ {
672
+ internalType: "uint256",
673
+ name: "a2",
674
+ type: "uint256"
675
+ },
676
+ {
677
+ internalType: "uint256",
678
+ name: "a3",
679
+ type: "uint256"
680
+ },
681
+ {
682
+ internalType: "uint256",
683
+ name: "a4",
684
+ type: "uint256"
685
+ }
686
+ ],
687
+ name: "hash5",
688
+ outputs: [{
689
+ internalType: "uint256",
690
+ name: "poseidonHash",
691
+ type: "uint256"
692
+ }],
693
+ stateMutability: "view",
694
+ type: "function"
695
+ },
696
+ {
697
+ inputs: [],
698
+ name: "hinkalHelper",
699
+ outputs: [{
700
+ internalType: "contract IHinkalHelper",
701
+ name: "",
702
+ type: "address"
703
+ }],
704
+ stateMutability: "view",
705
+ type: "function"
706
+ },
707
+ {
708
+ inputs: [],
709
+ name: "hinkalInLogic",
710
+ outputs: [{
711
+ internalType: "contract IHinkalInLogic",
712
+ name: "",
713
+ type: "address"
714
+ }],
715
+ stateMutability: "view",
716
+ type: "function"
717
+ },
718
+ {
719
+ inputs: [{
720
+ internalType: "uint256",
721
+ name: "x",
722
+ type: "uint256"
723
+ }],
724
+ name: "logarithm2",
725
+ outputs: [{
726
+ internalType: "uint256",
727
+ name: "y",
728
+ type: "uint256"
729
+ }],
730
+ stateMutability: "pure",
731
+ type: "function"
732
+ },
733
+ {
734
+ inputs: [],
735
+ name: "m_index",
736
+ outputs: [{
737
+ internalType: "uint256",
738
+ name: "",
739
+ type: "uint256"
740
+ }],
741
+ stateMutability: "view",
742
+ type: "function"
743
+ },
744
+ {
745
+ inputs: [{
746
+ internalType: "uint256",
747
+ name: "",
748
+ type: "uint256"
749
+ }],
750
+ name: "nullifiers",
751
+ outputs: [{
752
+ internalType: "bool",
753
+ name: "",
754
+ type: "bool"
755
+ }],
756
+ stateMutability: "view",
757
+ type: "function"
758
+ },
759
+ {
760
+ inputs: [
761
+ {
762
+ internalType: "address",
763
+ name: "",
764
+ type: "address"
765
+ },
766
+ {
767
+ internalType: "address",
768
+ name: "",
769
+ type: "address"
770
+ },
771
+ {
772
+ internalType: "uint256[]",
773
+ name: "",
774
+ type: "uint256[]"
775
+ },
776
+ {
777
+ internalType: "uint256[]",
778
+ name: "",
779
+ type: "uint256[]"
780
+ },
781
+ {
782
+ internalType: "bytes",
783
+ name: "",
784
+ type: "bytes"
785
+ }
786
+ ],
787
+ name: "onERC1155BatchReceived",
788
+ outputs: [{
789
+ internalType: "bytes4",
790
+ name: "",
791
+ type: "bytes4"
792
+ }],
793
+ stateMutability: "pure",
794
+ type: "function"
795
+ },
796
+ {
797
+ inputs: [
798
+ {
799
+ internalType: "address",
800
+ name: "",
801
+ type: "address"
802
+ },
803
+ {
804
+ internalType: "address",
805
+ name: "",
806
+ type: "address"
807
+ },
808
+ {
809
+ internalType: "uint256",
810
+ name: "",
811
+ type: "uint256"
812
+ },
813
+ {
814
+ internalType: "uint256",
815
+ name: "",
816
+ type: "uint256"
817
+ },
818
+ {
819
+ internalType: "bytes",
820
+ name: "",
821
+ type: "bytes"
822
+ }
823
+ ],
824
+ name: "onERC1155Received",
825
+ outputs: [{
826
+ internalType: "bytes4",
827
+ name: "",
828
+ type: "bytes4"
829
+ }],
830
+ stateMutability: "pure",
831
+ type: "function"
832
+ },
833
+ {
834
+ inputs: [
835
+ {
836
+ internalType: "address",
837
+ name: "",
838
+ type: "address"
839
+ },
840
+ {
841
+ internalType: "address",
842
+ name: "",
843
+ type: "address"
844
+ },
845
+ {
846
+ internalType: "uint256",
847
+ name: "",
848
+ type: "uint256"
849
+ },
850
+ {
851
+ internalType: "bytes",
852
+ name: "",
853
+ type: "bytes"
854
+ }
855
+ ],
856
+ name: "onERC721Received",
857
+ outputs: [{
858
+ internalType: "bytes4",
859
+ name: "",
860
+ type: "bytes4"
861
+ }],
862
+ stateMutability: "pure",
863
+ type: "function"
864
+ },
865
+ {
866
+ inputs: [],
867
+ name: "owner",
868
+ outputs: [{
869
+ internalType: "address",
870
+ name: "",
871
+ type: "address"
872
+ }],
873
+ stateMutability: "view",
874
+ type: "function"
875
+ },
876
+ {
877
+ inputs: [],
878
+ name: "pendingOwner",
879
+ outputs: [{
880
+ internalType: "address",
881
+ name: "",
882
+ type: "address"
883
+ }],
884
+ stateMutability: "view",
885
+ type: "function"
886
+ },
887
+ {
888
+ inputs: [],
889
+ name: "poseidon2",
890
+ outputs: [{
891
+ internalType: "contract IPoseidon2",
892
+ name: "",
893
+ type: "address"
894
+ }],
895
+ stateMutability: "view",
896
+ type: "function"
897
+ },
898
+ {
899
+ inputs: [],
900
+ name: "poseidon4",
901
+ outputs: [{
902
+ internalType: "contract IPoseidon4",
903
+ name: "",
904
+ type: "address"
905
+ }],
906
+ stateMutability: "view",
907
+ type: "function"
908
+ },
909
+ {
910
+ inputs: [],
911
+ name: "poseidon5",
912
+ outputs: [{
913
+ internalType: "contract IPoseidon5",
914
+ name: "",
915
+ type: "address"
916
+ }],
917
+ stateMutability: "view",
918
+ type: "function"
919
+ },
920
+ {
921
+ inputs: [
922
+ {
923
+ internalType: "address[]",
924
+ name: "erc20Addresses",
925
+ type: "address[]"
926
+ },
927
+ {
928
+ internalType: "uint256[]",
929
+ name: "amounts",
930
+ type: "uint256[]"
931
+ },
932
+ {
933
+ internalType: "uint256[]",
934
+ name: "tokenIds",
935
+ type: "uint256[]"
936
+ },
937
+ {
938
+ components: [
939
+ {
940
+ internalType: "uint256",
941
+ name: "extraRandomization",
942
+ type: "uint256"
943
+ },
944
+ {
945
+ internalType: "uint256",
946
+ name: "stealthAddress",
947
+ type: "uint256"
948
+ },
949
+ {
950
+ internalType: "uint256",
951
+ name: "H0",
952
+ type: "uint256"
953
+ },
954
+ {
955
+ internalType: "uint256",
956
+ name: "H1",
957
+ type: "uint256"
958
+ }
959
+ ],
960
+ internalType: "struct StealthAddressStructure[]",
961
+ name: "stealthAddressStructures",
962
+ type: "tuple[]"
963
+ }
964
+ ],
965
+ name: "prooflessDeposit",
966
+ outputs: [],
967
+ stateMutability: "payable",
968
+ type: "function"
969
+ },
970
+ {
971
+ inputs: [{
972
+ internalType: "uint256",
973
+ name: "externalActionId",
974
+ type: "uint256"
975
+ }, {
976
+ internalType: "address",
977
+ name: "externalActionAddress",
978
+ type: "address"
979
+ }],
980
+ name: "registerExternalAction",
981
+ outputs: [],
982
+ stateMutability: "nonpayable",
983
+ type: "function"
984
+ },
985
+ {
986
+ inputs: [{
987
+ internalType: "uint256[]",
988
+ name: "verifierIds",
989
+ type: "uint256[]"
990
+ }, {
991
+ internalType: "address[]",
992
+ name: "verifierAddresses",
993
+ type: "address[]"
994
+ }],
995
+ name: "registerVerifiers",
996
+ outputs: [],
997
+ stateMutability: "nonpayable",
998
+ type: "function"
999
+ },
1000
+ {
1001
+ inputs: [{
1002
+ internalType: "uint256",
1003
+ name: "verifierId",
1004
+ type: "uint256"
1005
+ }],
1006
+ name: "removeVerifier",
1007
+ outputs: [],
1008
+ stateMutability: "nonpayable",
1009
+ type: "function"
1010
+ },
1011
+ {
1012
+ inputs: [],
1013
+ name: "renounceOwnership",
1014
+ outputs: [],
1015
+ stateMutability: "view",
1016
+ type: "function"
1017
+ },
1018
+ {
1019
+ inputs: [{
1020
+ internalType: "bytes32",
1021
+ name: "role",
1022
+ type: "bytes32"
1023
+ }, {
1024
+ internalType: "address",
1025
+ name: "account",
1026
+ type: "address"
1027
+ }],
1028
+ name: "renounceRole",
1029
+ outputs: [],
1030
+ stateMutability: "nonpayable",
1031
+ type: "function"
1032
+ },
1033
+ {
1034
+ inputs: [{
1035
+ internalType: "bytes32",
1036
+ name: "role",
1037
+ type: "bytes32"
1038
+ }, {
1039
+ internalType: "address",
1040
+ name: "account",
1041
+ type: "address"
1042
+ }],
1043
+ name: "revokeRole",
1044
+ outputs: [],
1045
+ stateMutability: "nonpayable",
1046
+ type: "function"
1047
+ },
1048
+ {
1049
+ inputs: [{
1050
+ internalType: "uint256",
1051
+ name: "_root",
1052
+ type: "uint256"
1053
+ }],
1054
+ name: "rootHashExists",
1055
+ outputs: [{
1056
+ internalType: "bool",
1057
+ name: "",
1058
+ type: "bool"
1059
+ }],
1060
+ stateMutability: "view",
1061
+ type: "function"
1062
+ },
1063
+ {
1064
+ inputs: [],
1065
+ name: "rootIndex",
1066
+ outputs: [{
1067
+ internalType: "uint256",
1068
+ name: "",
1069
+ type: "uint256"
1070
+ }],
1071
+ stateMutability: "view",
1072
+ type: "function"
1073
+ },
1074
+ {
1075
+ inputs: [{
1076
+ internalType: "uint256",
1077
+ name: "",
1078
+ type: "uint256"
1079
+ }],
1080
+ name: "roots",
1081
+ outputs: [{
1082
+ internalType: "uint256",
1083
+ name: "",
1084
+ type: "uint256"
1085
+ }],
1086
+ stateMutability: "view",
1087
+ type: "function"
1088
+ },
1089
+ {
1090
+ inputs: [{
1091
+ internalType: "address",
1092
+ name: "_hinkalHelper",
1093
+ type: "address"
1094
+ }],
1095
+ name: "setHinkalHelper",
1096
+ outputs: [],
1097
+ stateMutability: "nonpayable",
1098
+ type: "function"
1099
+ },
1100
+ {
1101
+ inputs: [{
1102
+ internalType: "address",
1103
+ name: "_hinkalLogic",
1104
+ type: "address"
1105
+ }],
1106
+ name: "setHinkalLogic",
1107
+ outputs: [],
1108
+ stateMutability: "nonpayable",
1109
+ type: "function"
1110
+ },
1111
+ {
1112
+ inputs: [{
1113
+ internalType: "bytes4",
1114
+ name: "interfaceId",
1115
+ type: "bytes4"
1116
+ }],
1117
+ name: "supportsInterface",
1118
+ outputs: [{
1119
+ internalType: "bool",
1120
+ name: "",
1121
+ type: "bool"
1122
+ }],
1123
+ stateMutability: "view",
1124
+ type: "function"
1125
+ },
1126
+ {
1127
+ inputs: [
1128
+ {
1129
+ internalType: "uint256[2]",
1130
+ name: "a",
1131
+ type: "uint256[2]"
1132
+ },
1133
+ {
1134
+ internalType: "uint256[2][2]",
1135
+ name: "b",
1136
+ type: "uint256[2][2]"
1137
+ },
1138
+ {
1139
+ internalType: "uint256[2]",
1140
+ name: "c",
1141
+ type: "uint256[2]"
1142
+ },
1143
+ {
1144
+ components: [
1145
+ {
1146
+ internalType: "uint16",
1147
+ name: "tokenNumber",
1148
+ type: "uint16"
1149
+ },
1150
+ {
1151
+ internalType: "uint16",
1152
+ name: "nullifierAmount",
1153
+ type: "uint16"
1154
+ },
1155
+ {
1156
+ internalType: "uint16",
1157
+ name: "outputAmount",
1158
+ type: "uint16"
1159
+ }
1160
+ ],
1161
+ internalType: "struct Dimensions",
1162
+ name: "dimensions",
1163
+ type: "tuple"
1164
+ },
1165
+ {
1166
+ components: [
1167
+ {
1168
+ internalType: "uint256",
1169
+ name: "rootHashHinkal",
1170
+ type: "uint256"
1171
+ },
1172
+ {
1173
+ internalType: "address[]",
1174
+ name: "erc20TokenAddresses",
1175
+ type: "address[]"
1176
+ },
1177
+ {
1178
+ internalType: "uint256[]",
1179
+ name: "tokenIds",
1180
+ type: "uint256[]"
1181
+ },
1182
+ {
1183
+ internalType: "int256[]",
1184
+ name: "amountChanges",
1185
+ type: "int256[]"
1186
+ },
1187
+ {
1188
+ internalType: "bool[]",
1189
+ name: "onChainCreation",
1190
+ type: "bool[]"
1191
+ },
1192
+ {
1193
+ internalType: "int256[]",
1194
+ name: "slippageValues",
1195
+ type: "int256[]"
1196
+ },
1197
+ {
1198
+ internalType: "uint256[][]",
1199
+ name: "inputNullifiers",
1200
+ type: "uint256[][]"
1201
+ },
1202
+ {
1203
+ internalType: "uint256[][]",
1204
+ name: "outCommitments",
1205
+ type: "uint256[][]"
1206
+ },
1207
+ {
1208
+ internalType: "bytes[][]",
1209
+ name: "encryptedOutputs",
1210
+ type: "bytes[][]"
1211
+ },
1212
+ {
1213
+ components: [
1214
+ {
1215
+ internalType: "address",
1216
+ name: "feeToken",
1217
+ type: "address"
1218
+ },
1219
+ {
1220
+ internalType: "uint256",
1221
+ name: "flatFee",
1222
+ type: "uint256"
1223
+ },
1224
+ {
1225
+ internalType: "uint256",
1226
+ name: "variableRate",
1227
+ type: "uint256"
1228
+ }
1229
+ ],
1230
+ internalType: "struct FeeStructure",
1231
+ name: "feeStructure",
1232
+ type: "tuple"
1233
+ },
1234
+ {
1235
+ internalType: "uint256",
1236
+ name: "timeStamp",
1237
+ type: "uint256"
1238
+ },
1239
+ {
1240
+ components: [
1241
+ {
1242
+ internalType: "uint256",
1243
+ name: "extraRandomization",
1244
+ type: "uint256"
1245
+ },
1246
+ {
1247
+ internalType: "uint256",
1248
+ name: "stealthAddress",
1249
+ type: "uint256"
1250
+ },
1251
+ {
1252
+ internalType: "uint256",
1253
+ name: "H0",
1254
+ type: "uint256"
1255
+ },
1256
+ {
1257
+ internalType: "uint256",
1258
+ name: "H1",
1259
+ type: "uint256"
1260
+ }
1261
+ ],
1262
+ internalType: "struct StealthAddressStructure",
1263
+ name: "stealthAddressStructure",
1264
+ type: "tuple"
1265
+ },
1266
+ {
1267
+ internalType: "uint256",
1268
+ name: "rootHashAccessToken",
1269
+ type: "uint256"
1270
+ },
1271
+ {
1272
+ internalType: "uint256",
1273
+ name: "calldataHash",
1274
+ type: "uint256"
1275
+ },
1276
+ {
1277
+ internalType: "uint16",
1278
+ name: "publicSignalCount",
1279
+ type: "uint16"
1280
+ },
1281
+ {
1282
+ internalType: "address",
1283
+ name: "relay",
1284
+ type: "address"
1285
+ },
1286
+ {
1287
+ internalType: "address",
1288
+ name: "externalAddress",
1289
+ type: "address"
1290
+ },
1291
+ {
1292
+ internalType: "uint256",
1293
+ name: "externalActionId",
1294
+ type: "uint256"
1295
+ },
1296
+ {
1297
+ internalType: "bytes",
1298
+ name: "externalActionMetadata",
1299
+ type: "bytes"
1300
+ },
1301
+ {
1302
+ components: [
1303
+ {
1304
+ internalType: "uint256",
1305
+ name: "hinkalLogicAction",
1306
+ type: "uint256"
1307
+ },
1308
+ {
1309
+ internalType: "uint256",
1310
+ name: "inHinkalAddress",
1311
+ type: "uint256"
1312
+ },
1313
+ {
1314
+ internalType: "int256[]",
1315
+ name: "executeApprovalChanges",
1316
+ type: "int256[]"
1317
+ },
1318
+ {
1319
+ internalType: "bool",
1320
+ name: "doPreTxApproval",
1321
+ type: "bool"
1322
+ },
1323
+ {
1324
+ components: [
1325
+ {
1326
+ internalType: "int256[]",
1327
+ name: "approvalChanges",
1328
+ type: "int256[]"
1329
+ },
1330
+ {
1331
+ internalType: "address[]",
1332
+ name: "externalApprovalAddresses",
1333
+ type: "address[]"
1334
+ },
1335
+ {
1336
+ internalType: "uint256[]",
1337
+ name: "conversionInHinkalAddress",
1338
+ type: "uint256[]"
1339
+ }
1340
+ ],
1341
+ internalType: "struct UseApprovalUTXOData[]",
1342
+ name: "useApprovalUtxoData",
1343
+ type: "tuple[]"
1344
+ }
1345
+ ],
1346
+ internalType: "struct HinkalLogicArgs",
1347
+ name: "hinkalLogicArgs",
1348
+ type: "tuple"
1349
+ },
1350
+ {
1351
+ components: [
1352
+ {
1353
+ internalType: "address",
1354
+ name: "preHookContract",
1355
+ type: "address"
1356
+ },
1357
+ {
1358
+ internalType: "address",
1359
+ name: "hookContract",
1360
+ type: "address"
1361
+ },
1362
+ {
1363
+ internalType: "bytes",
1364
+ name: "preHookMetadata",
1365
+ type: "bytes"
1366
+ },
1367
+ {
1368
+ internalType: "bytes",
1369
+ name: "postHookMetadata",
1370
+ type: "bytes"
1371
+ }
1372
+ ],
1373
+ internalType: "struct HookData",
1374
+ name: "hookData",
1375
+ type: "tuple"
1376
+ },
1377
+ {
1378
+ components: [
1379
+ {
1380
+ internalType: "uint8",
1381
+ name: "v",
1382
+ type: "uint8"
1383
+ },
1384
+ {
1385
+ internalType: "bytes32",
1386
+ name: "r",
1387
+ type: "bytes32"
1388
+ },
1389
+ {
1390
+ internalType: "bytes32",
1391
+ name: "s",
1392
+ type: "bytes32"
1393
+ },
1394
+ {
1395
+ internalType: "uint256",
1396
+ name: "accessKey",
1397
+ type: "uint256"
1398
+ },
1399
+ {
1400
+ internalType: "uint256",
1401
+ name: "nonce",
1402
+ type: "uint256"
1403
+ },
1404
+ {
1405
+ internalType: "address",
1406
+ name: "ethereumAddress",
1407
+ type: "address"
1408
+ }
1409
+ ],
1410
+ internalType: "struct SignatureData",
1411
+ name: "signatureData",
1412
+ type: "tuple"
1413
+ },
1414
+ {
1415
+ internalType: "address",
1416
+ name: "originalSender",
1417
+ type: "address"
1418
+ }
1419
+ ],
1420
+ internalType: "struct CircomData",
1421
+ name: "circomData",
1422
+ type: "tuple"
1423
+ }
1424
+ ],
1425
+ name: "transact",
1426
+ outputs: [],
1427
+ stateMutability: "payable",
1428
+ type: "function"
1429
+ },
1430
+ {
1431
+ inputs: [{
1432
+ internalType: "address",
1433
+ name: "newOwner",
1434
+ type: "address"
1435
+ }],
1436
+ name: "transferOwnership",
1437
+ outputs: [],
1438
+ stateMutability: "nonpayable",
1439
+ type: "function"
1440
+ },
1441
+ {
1442
+ inputs: [{
1443
+ internalType: "uint256",
1444
+ name: "",
1445
+ type: "uint256"
1446
+ }],
1447
+ name: "tree",
1448
+ outputs: [{
1449
+ internalType: "uint256",
1450
+ name: "",
1451
+ type: "uint256"
1452
+ }],
1453
+ stateMutability: "view",
1454
+ type: "function"
1455
+ },
1456
+ {
1457
+ inputs: [{
1458
+ internalType: "uint256",
1459
+ name: "",
1460
+ type: "uint256"
1461
+ }],
1462
+ name: "verifierMap",
1463
+ outputs: [{
1464
+ internalType: "contract IVerifier",
1465
+ name: "",
1466
+ type: "address"
1467
+ }],
1468
+ stateMutability: "view",
1469
+ type: "function"
1470
+ },
1471
+ {
1472
+ stateMutability: "payable",
1473
+ type: "receive"
1474
+ }
1475
+ ],
1476
+ hinkalHelperAddress: "0x83927CF3049DEA065dB50e6B08aA5A136b70C95b",
1477
+ hinkalHelperABI: [
1478
+ {
1479
+ inputs: [{
1480
+ internalType: "address[]",
1481
+ name: "_initialRelays",
1482
+ type: "address[]"
1483
+ }],
1484
+ stateMutability: "nonpayable",
1485
+ type: "constructor"
1486
+ },
1487
+ {
1488
+ anonymous: !1,
1489
+ inputs: [{
1490
+ indexed: !0,
1491
+ internalType: "address",
1492
+ name: "previousOwner",
1493
+ type: "address"
1494
+ }, {
1495
+ indexed: !0,
1496
+ internalType: "address",
1497
+ name: "newOwner",
1498
+ type: "address"
1499
+ }],
1500
+ name: "OwnershipTransferred",
1501
+ type: "event"
1502
+ },
1503
+ {
1504
+ anonymous: !1,
1505
+ inputs: [{
1506
+ indexed: !1,
1507
+ internalType: "address",
1508
+ name: "relayAddress",
1509
+ type: "address"
1510
+ }],
1511
+ name: "RelayAdded",
1512
+ type: "event"
1513
+ },
1514
+ {
1515
+ anonymous: !1,
1516
+ inputs: [{
1517
+ indexed: !1,
1518
+ internalType: "address",
1519
+ name: "relayAddress",
1520
+ type: "address"
1521
+ }],
1522
+ name: "RelayRemoved",
1523
+ type: "event"
1524
+ },
1525
+ {
1526
+ inputs: [],
1527
+ name: "MAX_AMOUNT",
1528
+ outputs: [{
1529
+ internalType: "int256",
1530
+ name: "",
1531
+ type: "int256"
1532
+ }],
1533
+ stateMutability: "view",
1534
+ type: "function"
1535
+ },
1536
+ {
1537
+ inputs: [],
1538
+ name: "POINTER_SEPARATOR",
1539
+ outputs: [{
1540
+ internalType: "uint256",
1541
+ name: "",
1542
+ type: "uint256"
1543
+ }],
1544
+ stateMutability: "view",
1545
+ type: "function"
1546
+ },
1547
+ {
1548
+ inputs: [{
1549
+ internalType: "address",
1550
+ name: "_relayAddress",
1551
+ type: "address"
1552
+ }],
1553
+ name: "addRelay",
1554
+ outputs: [],
1555
+ stateMutability: "nonpayable",
1556
+ type: "function"
1557
+ },
1558
+ {
1559
+ inputs: [
1560
+ {
1561
+ internalType: "uint256",
1562
+ name: "balance",
1563
+ type: "uint256"
1564
+ },
1565
+ {
1566
+ internalType: "uint256",
1567
+ name: "flatFee",
1568
+ type: "uint256"
1569
+ },
1570
+ {
1571
+ internalType: "uint256",
1572
+ name: "variableRate",
1573
+ type: "uint256"
1574
+ }
1575
+ ],
1576
+ name: "calculateRelayFee",
1577
+ outputs: [{
1578
+ internalType: "uint256",
1579
+ name: "relayFee",
1580
+ type: "uint256"
1581
+ }],
1582
+ stateMutability: "pure",
1583
+ type: "function"
1584
+ },
1585
+ {
1586
+ inputs: [{
1587
+ internalType: "uint256",
1588
+ name: "H",
1589
+ type: "uint256"
1590
+ }],
1591
+ name: "getPointSign",
1592
+ outputs: [{
1593
+ internalType: "uint256",
1594
+ name: "",
1595
+ type: "uint256"
1596
+ }],
1597
+ stateMutability: "pure",
1598
+ type: "function"
1599
+ },
1600
+ {
1601
+ inputs: [{
1602
+ internalType: "uint256",
1603
+ name: "H",
1604
+ type: "uint256"
1605
+ }],
1606
+ name: "getPointY",
1607
+ outputs: [{
1608
+ internalType: "uint256",
1609
+ name: "",
1610
+ type: "uint256"
1611
+ }],
1612
+ stateMutability: "pure",
1613
+ type: "function"
1614
+ },
1615
+ {
1616
+ inputs: [],
1617
+ name: "getRelayStore",
1618
+ outputs: [{
1619
+ internalType: "address[]",
1620
+ name: "",
1621
+ type: "address[]"
1622
+ }],
1623
+ stateMutability: "view",
1624
+ type: "function"
1625
+ },
1626
+ {
1627
+ inputs: [],
1628
+ name: "hinkalAddress",
1629
+ outputs: [{
1630
+ internalType: "address",
1631
+ name: "",
1632
+ type: "address"
1633
+ }],
1634
+ stateMutability: "view",
1635
+ type: "function"
1636
+ },
1637
+ {
1638
+ inputs: [{
1639
+ internalType: "address",
1640
+ name: "relayAddress",
1641
+ type: "address"
1642
+ }],
1643
+ name: "isRelayInList",
1644
+ outputs: [{
1645
+ internalType: "bool",
1646
+ name: "",
1647
+ type: "bool"
1648
+ }],
1649
+ stateMutability: "view",
1650
+ type: "function"
1651
+ },
1652
+ {
1653
+ inputs: [],
1654
+ name: "owner",
1655
+ outputs: [{
1656
+ internalType: "address",
1657
+ name: "",
1658
+ type: "address"
1659
+ }],
1660
+ stateMutability: "view",
1661
+ type: "function"
1662
+ },
1663
+ {
1664
+ inputs: [
1665
+ {
1666
+ components: [
1667
+ {
1668
+ internalType: "uint256",
1669
+ name: "rootHashHinkal",
1670
+ type: "uint256"
1671
+ },
1672
+ {
1673
+ internalType: "address[]",
1674
+ name: "erc20TokenAddresses",
1675
+ type: "address[]"
1676
+ },
1677
+ {
1678
+ internalType: "uint256[]",
1679
+ name: "tokenIds",
1680
+ type: "uint256[]"
1681
+ },
1682
+ {
1683
+ internalType: "int256[]",
1684
+ name: "amountChanges",
1685
+ type: "int256[]"
1686
+ },
1687
+ {
1688
+ internalType: "bool[]",
1689
+ name: "onChainCreation",
1690
+ type: "bool[]"
1691
+ },
1692
+ {
1693
+ internalType: "int256[]",
1694
+ name: "slippageValues",
1695
+ type: "int256[]"
1696
+ },
1697
+ {
1698
+ internalType: "uint256[][]",
1699
+ name: "inputNullifiers",
1700
+ type: "uint256[][]"
1701
+ },
1702
+ {
1703
+ internalType: "uint256[][]",
1704
+ name: "outCommitments",
1705
+ type: "uint256[][]"
1706
+ },
1707
+ {
1708
+ internalType: "bytes[][]",
1709
+ name: "encryptedOutputs",
1710
+ type: "bytes[][]"
1711
+ },
1712
+ {
1713
+ components: [
1714
+ {
1715
+ internalType: "address",
1716
+ name: "feeToken",
1717
+ type: "address"
1718
+ },
1719
+ {
1720
+ internalType: "uint256",
1721
+ name: "flatFee",
1722
+ type: "uint256"
1723
+ },
1724
+ {
1725
+ internalType: "uint256",
1726
+ name: "variableRate",
1727
+ type: "uint256"
1728
+ }
1729
+ ],
1730
+ internalType: "struct FeeStructure",
1731
+ name: "feeStructure",
1732
+ type: "tuple"
1733
+ },
1734
+ {
1735
+ internalType: "uint256",
1736
+ name: "timeStamp",
1737
+ type: "uint256"
1738
+ },
1739
+ {
1740
+ components: [
1741
+ {
1742
+ internalType: "uint256",
1743
+ name: "extraRandomization",
1744
+ type: "uint256"
1745
+ },
1746
+ {
1747
+ internalType: "uint256",
1748
+ name: "stealthAddress",
1749
+ type: "uint256"
1750
+ },
1751
+ {
1752
+ internalType: "uint256",
1753
+ name: "H0",
1754
+ type: "uint256"
1755
+ },
1756
+ {
1757
+ internalType: "uint256",
1758
+ name: "H1",
1759
+ type: "uint256"
1760
+ }
1761
+ ],
1762
+ internalType: "struct StealthAddressStructure",
1763
+ name: "stealthAddressStructure",
1764
+ type: "tuple"
1765
+ },
1766
+ {
1767
+ internalType: "uint256",
1768
+ name: "rootHashAccessToken",
1769
+ type: "uint256"
1770
+ },
1771
+ {
1772
+ internalType: "uint256",
1773
+ name: "calldataHash",
1774
+ type: "uint256"
1775
+ },
1776
+ {
1777
+ internalType: "uint16",
1778
+ name: "publicSignalCount",
1779
+ type: "uint16"
1780
+ },
1781
+ {
1782
+ internalType: "address",
1783
+ name: "relay",
1784
+ type: "address"
1785
+ },
1786
+ {
1787
+ internalType: "address",
1788
+ name: "externalAddress",
1789
+ type: "address"
1790
+ },
1791
+ {
1792
+ internalType: "uint256",
1793
+ name: "externalActionId",
1794
+ type: "uint256"
1795
+ },
1796
+ {
1797
+ internalType: "bytes",
1798
+ name: "externalActionMetadata",
1799
+ type: "bytes"
1800
+ },
1801
+ {
1802
+ components: [
1803
+ {
1804
+ internalType: "uint256",
1805
+ name: "hinkalLogicAction",
1806
+ type: "uint256"
1807
+ },
1808
+ {
1809
+ internalType: "uint256",
1810
+ name: "inHinkalAddress",
1811
+ type: "uint256"
1812
+ },
1813
+ {
1814
+ internalType: "int256[]",
1815
+ name: "executeApprovalChanges",
1816
+ type: "int256[]"
1817
+ },
1818
+ {
1819
+ internalType: "bool",
1820
+ name: "doPreTxApproval",
1821
+ type: "bool"
1822
+ },
1823
+ {
1824
+ components: [
1825
+ {
1826
+ internalType: "int256[]",
1827
+ name: "approvalChanges",
1828
+ type: "int256[]"
1829
+ },
1830
+ {
1831
+ internalType: "address[]",
1832
+ name: "externalApprovalAddresses",
1833
+ type: "address[]"
1834
+ },
1835
+ {
1836
+ internalType: "uint256[]",
1837
+ name: "conversionInHinkalAddress",
1838
+ type: "uint256[]"
1839
+ }
1840
+ ],
1841
+ internalType: "struct UseApprovalUTXOData[]",
1842
+ name: "useApprovalUtxoData",
1843
+ type: "tuple[]"
1844
+ }
1845
+ ],
1846
+ internalType: "struct HinkalLogicArgs",
1847
+ name: "hinkalLogicArgs",
1848
+ type: "tuple"
1849
+ },
1850
+ {
1851
+ components: [
1852
+ {
1853
+ internalType: "address",
1854
+ name: "preHookContract",
1855
+ type: "address"
1856
+ },
1857
+ {
1858
+ internalType: "address",
1859
+ name: "hookContract",
1860
+ type: "address"
1861
+ },
1862
+ {
1863
+ internalType: "bytes",
1864
+ name: "preHookMetadata",
1865
+ type: "bytes"
1866
+ },
1867
+ {
1868
+ internalType: "bytes",
1869
+ name: "postHookMetadata",
1870
+ type: "bytes"
1871
+ }
1872
+ ],
1873
+ internalType: "struct HookData",
1874
+ name: "hookData",
1875
+ type: "tuple"
1876
+ },
1877
+ {
1878
+ components: [
1879
+ {
1880
+ internalType: "uint8",
1881
+ name: "v",
1882
+ type: "uint8"
1883
+ },
1884
+ {
1885
+ internalType: "bytes32",
1886
+ name: "r",
1887
+ type: "bytes32"
1888
+ },
1889
+ {
1890
+ internalType: "bytes32",
1891
+ name: "s",
1892
+ type: "bytes32"
1893
+ },
1894
+ {
1895
+ internalType: "uint256",
1896
+ name: "accessKey",
1897
+ type: "uint256"
1898
+ },
1899
+ {
1900
+ internalType: "uint256",
1901
+ name: "nonce",
1902
+ type: "uint256"
1903
+ },
1904
+ {
1905
+ internalType: "address",
1906
+ name: "ethereumAddress",
1907
+ type: "address"
1908
+ }
1909
+ ],
1910
+ internalType: "struct SignatureData",
1911
+ name: "signatureData",
1912
+ type: "tuple"
1913
+ },
1914
+ {
1915
+ internalType: "address",
1916
+ name: "originalSender",
1917
+ type: "address"
1918
+ }
1919
+ ],
1920
+ internalType: "struct CircomData",
1921
+ name: "circomData",
1922
+ type: "tuple"
1923
+ },
1924
+ {
1925
+ components: [
1926
+ {
1927
+ internalType: "uint16",
1928
+ name: "tokenNumber",
1929
+ type: "uint16"
1930
+ },
1931
+ {
1932
+ internalType: "uint16",
1933
+ name: "nullifierAmount",
1934
+ type: "uint16"
1935
+ },
1936
+ {
1937
+ internalType: "uint16",
1938
+ name: "outputAmount",
1939
+ type: "uint16"
1940
+ }
1941
+ ],
1942
+ internalType: "struct Dimensions",
1943
+ name: "dimensions",
1944
+ type: "tuple"
1945
+ },
1946
+ {
1947
+ internalType: "address",
1948
+ name: "sender",
1949
+ type: "address"
1950
+ }
1951
+ ],
1952
+ name: "performHinkalChecks",
1953
+ outputs: [{
1954
+ internalType: "uint256[]",
1955
+ name: "",
1956
+ type: "uint256[]"
1957
+ }],
1958
+ stateMutability: "view",
1959
+ type: "function"
1960
+ },
1961
+ {
1962
+ inputs: [
1963
+ {
1964
+ internalType: "address[]",
1965
+ name: "erc20Addresses",
1966
+ type: "address[]"
1967
+ },
1968
+ {
1969
+ internalType: "uint256[]",
1970
+ name: "amounts",
1971
+ type: "uint256[]"
1972
+ },
1973
+ {
1974
+ internalType: "uint256[]",
1975
+ name: "tokenIds",
1976
+ type: "uint256[]"
1977
+ },
1978
+ {
1979
+ components: [
1980
+ {
1981
+ internalType: "uint256",
1982
+ name: "extraRandomization",
1983
+ type: "uint256"
1984
+ },
1985
+ {
1986
+ internalType: "uint256",
1987
+ name: "stealthAddress",
1988
+ type: "uint256"
1989
+ },
1990
+ {
1991
+ internalType: "uint256",
1992
+ name: "H0",
1993
+ type: "uint256"
1994
+ },
1995
+ {
1996
+ internalType: "uint256",
1997
+ name: "H1",
1998
+ type: "uint256"
1999
+ }
2000
+ ],
2001
+ internalType: "struct StealthAddressStructure[]",
2002
+ name: "stealthAddressStructures",
2003
+ type: "tuple[]"
2004
+ }
2005
+ ],
2006
+ name: "performProoflessDepositChecks",
2007
+ outputs: [{
2008
+ internalType: "bool",
2009
+ name: "",
2010
+ type: "bool"
2011
+ }],
2012
+ stateMutability: "view",
2013
+ type: "function"
2014
+ },
2015
+ {
2016
+ inputs: [{
2017
+ components: [
2018
+ {
2019
+ internalType: "uint256",
2020
+ name: "rootHashHinkal",
2021
+ type: "uint256"
2022
+ },
2023
+ {
2024
+ internalType: "address[]",
2025
+ name: "erc20TokenAddresses",
2026
+ type: "address[]"
2027
+ },
2028
+ {
2029
+ internalType: "uint256[]",
2030
+ name: "tokenIds",
2031
+ type: "uint256[]"
2032
+ },
2033
+ {
2034
+ internalType: "int256[]",
2035
+ name: "amountChanges",
2036
+ type: "int256[]"
2037
+ },
2038
+ {
2039
+ internalType: "bool[]",
2040
+ name: "onChainCreation",
2041
+ type: "bool[]"
2042
+ },
2043
+ {
2044
+ internalType: "int256[]",
2045
+ name: "slippageValues",
2046
+ type: "int256[]"
2047
+ },
2048
+ {
2049
+ internalType: "uint256[][]",
2050
+ name: "inputNullifiers",
2051
+ type: "uint256[][]"
2052
+ },
2053
+ {
2054
+ internalType: "uint256[][]",
2055
+ name: "outCommitments",
2056
+ type: "uint256[][]"
2057
+ },
2058
+ {
2059
+ internalType: "bytes[][]",
2060
+ name: "encryptedOutputs",
2061
+ type: "bytes[][]"
2062
+ },
2063
+ {
2064
+ components: [
2065
+ {
2066
+ internalType: "address",
2067
+ name: "feeToken",
2068
+ type: "address"
2069
+ },
2070
+ {
2071
+ internalType: "uint256",
2072
+ name: "flatFee",
2073
+ type: "uint256"
2074
+ },
2075
+ {
2076
+ internalType: "uint256",
2077
+ name: "variableRate",
2078
+ type: "uint256"
2079
+ }
2080
+ ],
2081
+ internalType: "struct FeeStructure",
2082
+ name: "feeStructure",
2083
+ type: "tuple"
2084
+ },
2085
+ {
2086
+ internalType: "uint256",
2087
+ name: "timeStamp",
2088
+ type: "uint256"
2089
+ },
2090
+ {
2091
+ components: [
2092
+ {
2093
+ internalType: "uint256",
2094
+ name: "extraRandomization",
2095
+ type: "uint256"
2096
+ },
2097
+ {
2098
+ internalType: "uint256",
2099
+ name: "stealthAddress",
2100
+ type: "uint256"
2101
+ },
2102
+ {
2103
+ internalType: "uint256",
2104
+ name: "H0",
2105
+ type: "uint256"
2106
+ },
2107
+ {
2108
+ internalType: "uint256",
2109
+ name: "H1",
2110
+ type: "uint256"
2111
+ }
2112
+ ],
2113
+ internalType: "struct StealthAddressStructure",
2114
+ name: "stealthAddressStructure",
2115
+ type: "tuple"
2116
+ },
2117
+ {
2118
+ internalType: "uint256",
2119
+ name: "rootHashAccessToken",
2120
+ type: "uint256"
2121
+ },
2122
+ {
2123
+ internalType: "uint256",
2124
+ name: "calldataHash",
2125
+ type: "uint256"
2126
+ },
2127
+ {
2128
+ internalType: "uint16",
2129
+ name: "publicSignalCount",
2130
+ type: "uint16"
2131
+ },
2132
+ {
2133
+ internalType: "address",
2134
+ name: "relay",
2135
+ type: "address"
2136
+ },
2137
+ {
2138
+ internalType: "address",
2139
+ name: "externalAddress",
2140
+ type: "address"
2141
+ },
2142
+ {
2143
+ internalType: "uint256",
2144
+ name: "externalActionId",
2145
+ type: "uint256"
2146
+ },
2147
+ {
2148
+ internalType: "bytes",
2149
+ name: "externalActionMetadata",
2150
+ type: "bytes"
2151
+ },
2152
+ {
2153
+ components: [
2154
+ {
2155
+ internalType: "uint256",
2156
+ name: "hinkalLogicAction",
2157
+ type: "uint256"
2158
+ },
2159
+ {
2160
+ internalType: "uint256",
2161
+ name: "inHinkalAddress",
2162
+ type: "uint256"
2163
+ },
2164
+ {
2165
+ internalType: "int256[]",
2166
+ name: "executeApprovalChanges",
2167
+ type: "int256[]"
2168
+ },
2169
+ {
2170
+ internalType: "bool",
2171
+ name: "doPreTxApproval",
2172
+ type: "bool"
2173
+ },
2174
+ {
2175
+ components: [
2176
+ {
2177
+ internalType: "int256[]",
2178
+ name: "approvalChanges",
2179
+ type: "int256[]"
2180
+ },
2181
+ {
2182
+ internalType: "address[]",
2183
+ name: "externalApprovalAddresses",
2184
+ type: "address[]"
2185
+ },
2186
+ {
2187
+ internalType: "uint256[]",
2188
+ name: "conversionInHinkalAddress",
2189
+ type: "uint256[]"
2190
+ }
2191
+ ],
2192
+ internalType: "struct UseApprovalUTXOData[]",
2193
+ name: "useApprovalUtxoData",
2194
+ type: "tuple[]"
2195
+ }
2196
+ ],
2197
+ internalType: "struct HinkalLogicArgs",
2198
+ name: "hinkalLogicArgs",
2199
+ type: "tuple"
2200
+ },
2201
+ {
2202
+ components: [
2203
+ {
2204
+ internalType: "address",
2205
+ name: "preHookContract",
2206
+ type: "address"
2207
+ },
2208
+ {
2209
+ internalType: "address",
2210
+ name: "hookContract",
2211
+ type: "address"
2212
+ },
2213
+ {
2214
+ internalType: "bytes",
2215
+ name: "preHookMetadata",
2216
+ type: "bytes"
2217
+ },
2218
+ {
2219
+ internalType: "bytes",
2220
+ name: "postHookMetadata",
2221
+ type: "bytes"
2222
+ }
2223
+ ],
2224
+ internalType: "struct HookData",
2225
+ name: "hookData",
2226
+ type: "tuple"
2227
+ },
2228
+ {
2229
+ components: [
2230
+ {
2231
+ internalType: "uint8",
2232
+ name: "v",
2233
+ type: "uint8"
2234
+ },
2235
+ {
2236
+ internalType: "bytes32",
2237
+ name: "r",
2238
+ type: "bytes32"
2239
+ },
2240
+ {
2241
+ internalType: "bytes32",
2242
+ name: "s",
2243
+ type: "bytes32"
2244
+ },
2245
+ {
2246
+ internalType: "uint256",
2247
+ name: "accessKey",
2248
+ type: "uint256"
2249
+ },
2250
+ {
2251
+ internalType: "uint256",
2252
+ name: "nonce",
2253
+ type: "uint256"
2254
+ },
2255
+ {
2256
+ internalType: "address",
2257
+ name: "ethereumAddress",
2258
+ type: "address"
2259
+ }
2260
+ ],
2261
+ internalType: "struct SignatureData",
2262
+ name: "signatureData",
2263
+ type: "tuple"
2264
+ },
2265
+ {
2266
+ internalType: "address",
2267
+ name: "originalSender",
2268
+ type: "address"
2269
+ }
2270
+ ],
2271
+ internalType: "struct CircomData",
2272
+ name: "",
2273
+ type: "tuple"
2274
+ }],
2275
+ name: "performSideEffects",
2276
+ outputs: [],
2277
+ stateMutability: "nonpayable",
2278
+ type: "function"
2279
+ },
2280
+ {
2281
+ inputs: [{
2282
+ internalType: "address",
2283
+ name: "",
2284
+ type: "address"
2285
+ }],
2286
+ name: "relayList",
2287
+ outputs: [{
2288
+ internalType: "bool",
2289
+ name: "",
2290
+ type: "bool"
2291
+ }],
2292
+ stateMutability: "view",
2293
+ type: "function"
2294
+ },
2295
+ {
2296
+ inputs: [{
2297
+ internalType: "uint256",
2298
+ name: "",
2299
+ type: "uint256"
2300
+ }],
2301
+ name: "relayStore",
2302
+ outputs: [{
2303
+ internalType: "address",
2304
+ name: "",
2305
+ type: "address"
2306
+ }],
2307
+ stateMutability: "view",
2308
+ type: "function"
2309
+ },
2310
+ {
2311
+ inputs: [{
2312
+ internalType: "address",
2313
+ name: "_relayAddress",
2314
+ type: "address"
2315
+ }],
2316
+ name: "removeRelay",
2317
+ outputs: [],
2318
+ stateMutability: "nonpayable",
2319
+ type: "function"
2320
+ },
2321
+ {
2322
+ inputs: [],
2323
+ name: "renounceOwnership",
2324
+ outputs: [],
2325
+ stateMutability: "nonpayable",
2326
+ type: "function"
2327
+ },
2328
+ {
2329
+ inputs: [{
2330
+ internalType: "address",
2331
+ name: "_hinkalAddress",
2332
+ type: "address"
2333
+ }],
2334
+ name: "setHinkalAddress",
2335
+ outputs: [],
2336
+ stateMutability: "nonpayable",
2337
+ type: "function"
2338
+ },
2339
+ {
2340
+ inputs: [{
2341
+ internalType: "address",
2342
+ name: "newOwner",
2343
+ type: "address"
2344
+ }],
2345
+ name: "transferOwnership",
2346
+ outputs: [],
2347
+ stateMutability: "nonpayable",
2348
+ type: "function"
2349
+ }
2350
+ ],
2351
+ uniswapExternalActionAddress: "0x56139c0504A28CA44eF9470F42Bd6342818d7489",
2352
+ depositOnChainUtxosExternalActionAddress: "0xFA3164c6beA5c21d86E14348854d51B08032da2A",
2353
+ depositOnChainUtxosExternalActionABI: [
2354
+ {
2355
+ inputs: [{
2356
+ internalType: "address[]",
2357
+ name: "_allowedRecipients",
2358
+ type: "address[]"
2359
+ }, {
2360
+ internalType: "address",
2361
+ name: "_hinkalWrapper",
2362
+ type: "address"
2363
+ }],
2364
+ stateMutability: "nonpayable",
2365
+ type: "constructor"
2366
+ },
2367
+ {
2368
+ anonymous: !1,
2369
+ inputs: [
2370
+ {
2371
+ indexed: !1,
2372
+ internalType: "address",
2373
+ name: "sender",
2374
+ type: "address"
2375
+ },
2376
+ {
2377
+ indexed: !1,
2378
+ internalType: "address",
2379
+ name: "tokenAddress",
2380
+ type: "address"
2381
+ },
2382
+ {
2383
+ indexed: !1,
2384
+ internalType: "uint256",
2385
+ name: "amount",
2386
+ type: "uint256"
2387
+ }
2388
+ ],
2389
+ name: "BlockedUtxosCreated",
2390
+ type: "event"
2391
+ },
2392
+ {
2393
+ anonymous: !1,
2394
+ inputs: [{
2395
+ indexed: !0,
2396
+ internalType: "address",
2397
+ name: "previousOwner",
2398
+ type: "address"
2399
+ }, {
2400
+ indexed: !0,
2401
+ internalType: "address",
2402
+ name: "newOwner",
2403
+ type: "address"
2404
+ }],
2405
+ name: "OwnershipTransferStarted",
2406
+ type: "event"
2407
+ },
2408
+ {
2409
+ anonymous: !1,
2410
+ inputs: [{
2411
+ indexed: !0,
2412
+ internalType: "address",
2413
+ name: "previousOwner",
2414
+ type: "address"
2415
+ }, {
2416
+ indexed: !0,
2417
+ internalType: "address",
2418
+ name: "newOwner",
2419
+ type: "address"
2420
+ }],
2421
+ name: "OwnershipTransferred",
2422
+ type: "event"
2423
+ },
2424
+ {
2425
+ inputs: [],
2426
+ name: "acceptOwnership",
2427
+ outputs: [],
2428
+ stateMutability: "nonpayable",
2429
+ type: "function"
2430
+ },
2431
+ {
2432
+ inputs: [
2433
+ {
2434
+ internalType: "address",
2435
+ name: "",
2436
+ type: "address"
2437
+ },
2438
+ {
2439
+ internalType: "address",
2440
+ name: "",
2441
+ type: "address"
2442
+ },
2443
+ {
2444
+ internalType: "uint256[]",
2445
+ name: "",
2446
+ type: "uint256[]"
2447
+ },
2448
+ {
2449
+ internalType: "uint256[]",
2450
+ name: "",
2451
+ type: "uint256[]"
2452
+ },
2453
+ {
2454
+ internalType: "bytes",
2455
+ name: "",
2456
+ type: "bytes"
2457
+ }
2458
+ ],
2459
+ name: "onERC1155BatchReceived",
2460
+ outputs: [{
2461
+ internalType: "bytes4",
2462
+ name: "",
2463
+ type: "bytes4"
2464
+ }],
2465
+ stateMutability: "pure",
2466
+ type: "function"
2467
+ },
2468
+ {
2469
+ inputs: [
2470
+ {
2471
+ internalType: "address",
2472
+ name: "",
2473
+ type: "address"
2474
+ },
2475
+ {
2476
+ internalType: "address",
2477
+ name: "",
2478
+ type: "address"
2479
+ },
2480
+ {
2481
+ internalType: "uint256",
2482
+ name: "",
2483
+ type: "uint256"
2484
+ },
2485
+ {
2486
+ internalType: "uint256",
2487
+ name: "",
2488
+ type: "uint256"
2489
+ },
2490
+ {
2491
+ internalType: "bytes",
2492
+ name: "",
2493
+ type: "bytes"
2494
+ }
2495
+ ],
2496
+ name: "onERC1155Received",
2497
+ outputs: [{
2498
+ internalType: "bytes4",
2499
+ name: "",
2500
+ type: "bytes4"
2501
+ }],
2502
+ stateMutability: "pure",
2503
+ type: "function"
2504
+ },
2505
+ {
2506
+ inputs: [
2507
+ {
2508
+ internalType: "address",
2509
+ name: "",
2510
+ type: "address"
2511
+ },
2512
+ {
2513
+ internalType: "address",
2514
+ name: "",
2515
+ type: "address"
2516
+ },
2517
+ {
2518
+ internalType: "uint256",
2519
+ name: "",
2520
+ type: "uint256"
2521
+ },
2522
+ {
2523
+ internalType: "bytes",
2524
+ name: "",
2525
+ type: "bytes"
2526
+ }
2527
+ ],
2528
+ name: "onERC721Received",
2529
+ outputs: [{
2530
+ internalType: "bytes4",
2531
+ name: "",
2532
+ type: "bytes4"
2533
+ }],
2534
+ stateMutability: "pure",
2535
+ type: "function"
2536
+ },
2537
+ {
2538
+ inputs: [],
2539
+ name: "owner",
2540
+ outputs: [{
2541
+ internalType: "address",
2542
+ name: "",
2543
+ type: "address"
2544
+ }],
2545
+ stateMutability: "view",
2546
+ type: "function"
2547
+ },
2548
+ {
2549
+ inputs: [],
2550
+ name: "pendingOwner",
2551
+ outputs: [{
2552
+ internalType: "address",
2553
+ name: "",
2554
+ type: "address"
2555
+ }],
2556
+ stateMutability: "view",
2557
+ type: "function"
2558
+ },
2559
+ {
2560
+ inputs: [],
2561
+ name: "renounceOwnership",
2562
+ outputs: [],
2563
+ stateMutability: "view",
2564
+ type: "function"
2565
+ },
2566
+ {
2567
+ inputs: [{
2568
+ components: [
2569
+ {
2570
+ internalType: "uint256",
2571
+ name: "rootHashHinkal",
2572
+ type: "uint256"
2573
+ },
2574
+ {
2575
+ internalType: "address[]",
2576
+ name: "erc20TokenAddresses",
2577
+ type: "address[]"
2578
+ },
2579
+ {
2580
+ internalType: "uint256[]",
2581
+ name: "tokenIds",
2582
+ type: "uint256[]"
2583
+ },
2584
+ {
2585
+ internalType: "int256[]",
2586
+ name: "amountChanges",
2587
+ type: "int256[]"
2588
+ },
2589
+ {
2590
+ internalType: "bool[]",
2591
+ name: "onChainCreation",
2592
+ type: "bool[]"
2593
+ },
2594
+ {
2595
+ internalType: "int256[]",
2596
+ name: "slippageValues",
2597
+ type: "int256[]"
2598
+ },
2599
+ {
2600
+ internalType: "uint256[][]",
2601
+ name: "inputNullifiers",
2602
+ type: "uint256[][]"
2603
+ },
2604
+ {
2605
+ internalType: "uint256[][]",
2606
+ name: "outCommitments",
2607
+ type: "uint256[][]"
2608
+ },
2609
+ {
2610
+ internalType: "bytes[][]",
2611
+ name: "encryptedOutputs",
2612
+ type: "bytes[][]"
2613
+ },
2614
+ {
2615
+ components: [
2616
+ {
2617
+ internalType: "address",
2618
+ name: "feeToken",
2619
+ type: "address"
2620
+ },
2621
+ {
2622
+ internalType: "uint256",
2623
+ name: "flatFee",
2624
+ type: "uint256"
2625
+ },
2626
+ {
2627
+ internalType: "uint256",
2628
+ name: "variableRate",
2629
+ type: "uint256"
2630
+ }
2631
+ ],
2632
+ internalType: "struct FeeStructure",
2633
+ name: "feeStructure",
2634
+ type: "tuple"
2635
+ },
2636
+ {
2637
+ internalType: "uint256",
2638
+ name: "timeStamp",
2639
+ type: "uint256"
2640
+ },
2641
+ {
2642
+ components: [
2643
+ {
2644
+ internalType: "uint256",
2645
+ name: "extraRandomization",
2646
+ type: "uint256"
2647
+ },
2648
+ {
2649
+ internalType: "uint256",
2650
+ name: "stealthAddress",
2651
+ type: "uint256"
2652
+ },
2653
+ {
2654
+ internalType: "uint256",
2655
+ name: "H0",
2656
+ type: "uint256"
2657
+ },
2658
+ {
2659
+ internalType: "uint256",
2660
+ name: "H1",
2661
+ type: "uint256"
2662
+ }
2663
+ ],
2664
+ internalType: "struct StealthAddressStructure",
2665
+ name: "stealthAddressStructure",
2666
+ type: "tuple"
2667
+ },
2668
+ {
2669
+ internalType: "uint256",
2670
+ name: "rootHashAccessToken",
2671
+ type: "uint256"
2672
+ },
2673
+ {
2674
+ internalType: "uint256",
2675
+ name: "calldataHash",
2676
+ type: "uint256"
2677
+ },
2678
+ {
2679
+ internalType: "uint16",
2680
+ name: "publicSignalCount",
2681
+ type: "uint16"
2682
+ },
2683
+ {
2684
+ internalType: "address",
2685
+ name: "relay",
2686
+ type: "address"
2687
+ },
2688
+ {
2689
+ internalType: "address",
2690
+ name: "externalAddress",
2691
+ type: "address"
2692
+ },
2693
+ {
2694
+ internalType: "uint256",
2695
+ name: "externalActionId",
2696
+ type: "uint256"
2697
+ },
2698
+ {
2699
+ internalType: "bytes",
2700
+ name: "externalActionMetadata",
2701
+ type: "bytes"
2702
+ },
2703
+ {
2704
+ components: [
2705
+ {
2706
+ internalType: "uint256",
2707
+ name: "hinkalLogicAction",
2708
+ type: "uint256"
2709
+ },
2710
+ {
2711
+ internalType: "uint256",
2712
+ name: "inHinkalAddress",
2713
+ type: "uint256"
2714
+ },
2715
+ {
2716
+ internalType: "int256[]",
2717
+ name: "executeApprovalChanges",
2718
+ type: "int256[]"
2719
+ },
2720
+ {
2721
+ internalType: "bool",
2722
+ name: "doPreTxApproval",
2723
+ type: "bool"
2724
+ },
2725
+ {
2726
+ components: [
2727
+ {
2728
+ internalType: "int256[]",
2729
+ name: "approvalChanges",
2730
+ type: "int256[]"
2731
+ },
2732
+ {
2733
+ internalType: "address[]",
2734
+ name: "externalApprovalAddresses",
2735
+ type: "address[]"
2736
+ },
2737
+ {
2738
+ internalType: "uint256[]",
2739
+ name: "conversionInHinkalAddress",
2740
+ type: "uint256[]"
2741
+ }
2742
+ ],
2743
+ internalType: "struct UseApprovalUTXOData[]",
2744
+ name: "useApprovalUtxoData",
2745
+ type: "tuple[]"
2746
+ }
2747
+ ],
2748
+ internalType: "struct HinkalLogicArgs",
2749
+ name: "hinkalLogicArgs",
2750
+ type: "tuple"
2751
+ },
2752
+ {
2753
+ components: [
2754
+ {
2755
+ internalType: "address",
2756
+ name: "preHookContract",
2757
+ type: "address"
2758
+ },
2759
+ {
2760
+ internalType: "address",
2761
+ name: "hookContract",
2762
+ type: "address"
2763
+ },
2764
+ {
2765
+ internalType: "bytes",
2766
+ name: "preHookMetadata",
2767
+ type: "bytes"
2768
+ },
2769
+ {
2770
+ internalType: "bytes",
2771
+ name: "postHookMetadata",
2772
+ type: "bytes"
2773
+ }
2774
+ ],
2775
+ internalType: "struct HookData",
2776
+ name: "hookData",
2777
+ type: "tuple"
2778
+ },
2779
+ {
2780
+ components: [
2781
+ {
2782
+ internalType: "uint8",
2783
+ name: "v",
2784
+ type: "uint8"
2785
+ },
2786
+ {
2787
+ internalType: "bytes32",
2788
+ name: "r",
2789
+ type: "bytes32"
2790
+ },
2791
+ {
2792
+ internalType: "bytes32",
2793
+ name: "s",
2794
+ type: "bytes32"
2795
+ },
2796
+ {
2797
+ internalType: "uint256",
2798
+ name: "accessKey",
2799
+ type: "uint256"
2800
+ },
2801
+ {
2802
+ internalType: "uint256",
2803
+ name: "nonce",
2804
+ type: "uint256"
2805
+ },
2806
+ {
2807
+ internalType: "address",
2808
+ name: "ethereumAddress",
2809
+ type: "address"
2810
+ }
2811
+ ],
2812
+ internalType: "struct SignatureData",
2813
+ name: "signatureData",
2814
+ type: "tuple"
2815
+ },
2816
+ {
2817
+ internalType: "address",
2818
+ name: "originalSender",
2819
+ type: "address"
2820
+ }
2821
+ ],
2822
+ internalType: "struct CircomData",
2823
+ name: "circomData",
2824
+ type: "tuple"
2825
+ }, {
2826
+ internalType: "int256[]",
2827
+ name: "deltaAmounts",
2828
+ type: "int256[]"
2829
+ }],
2830
+ name: "runAction",
2831
+ outputs: [{
2832
+ components: [
2833
+ {
2834
+ internalType: "uint256",
2835
+ name: "amount",
2836
+ type: "uint256"
2837
+ },
2838
+ {
2839
+ internalType: "address",
2840
+ name: "erc20Address",
2841
+ type: "address"
2842
+ },
2843
+ {
2844
+ components: [
2845
+ {
2846
+ internalType: "uint256",
2847
+ name: "extraRandomization",
2848
+ type: "uint256"
2849
+ },
2850
+ {
2851
+ internalType: "uint256",
2852
+ name: "stealthAddress",
2853
+ type: "uint256"
2854
+ },
2855
+ {
2856
+ internalType: "uint256",
2857
+ name: "H0",
2858
+ type: "uint256"
2859
+ },
2860
+ {
2861
+ internalType: "uint256",
2862
+ name: "H1",
2863
+ type: "uint256"
2864
+ }
2865
+ ],
2866
+ internalType: "struct StealthAddressStructure",
2867
+ name: "stealthAddressStructure",
2868
+ type: "tuple"
2869
+ },
2870
+ {
2871
+ internalType: "uint256",
2872
+ name: "timeStamp",
2873
+ type: "uint256"
2874
+ },
2875
+ {
2876
+ internalType: "uint256",
2877
+ name: "tokenId",
2878
+ type: "uint256"
2879
+ }
2880
+ ],
2881
+ internalType: "struct UTXO[]",
2882
+ name: "",
2883
+ type: "tuple[]"
2884
+ }],
2885
+ stateMutability: "nonpayable",
2886
+ type: "function"
2887
+ },
2888
+ {
2889
+ inputs: [{
2890
+ internalType: "address[]",
2891
+ name: "recipients",
2892
+ type: "address[]"
2893
+ }],
2894
+ name: "setAllowedRecipients",
2895
+ outputs: [],
2896
+ stateMutability: "nonpayable",
2897
+ type: "function"
2898
+ },
2899
+ {
2900
+ inputs: [{
2901
+ internalType: "address",
2902
+ name: "_hinkalWrapper",
2903
+ type: "address"
2904
+ }],
2905
+ name: "setHinkalWrapper",
2906
+ outputs: [],
2907
+ stateMutability: "nonpayable",
2908
+ type: "function"
2909
+ },
2910
+ {
2911
+ inputs: [{
2912
+ internalType: "bytes4",
2913
+ name: "_interfaceId",
2914
+ type: "bytes4"
2915
+ }],
2916
+ name: "supportsInterface",
2917
+ outputs: [{
2918
+ internalType: "bool",
2919
+ name: "",
2920
+ type: "bool"
2921
+ }],
2922
+ stateMutability: "view",
2923
+ type: "function"
2924
+ },
2925
+ {
2926
+ inputs: [{
2927
+ internalType: "address",
2928
+ name: "newOwner",
2929
+ type: "address"
2930
+ }],
2931
+ name: "transferOwnership",
2932
+ outputs: [],
2933
+ stateMutability: "nonpayable",
2934
+ type: "function"
2935
+ },
2936
+ {
2937
+ stateMutability: "payable",
2938
+ type: "receive"
2939
+ }
2940
+ ],
2941
+ hinkalWrapperAddress: "0x74aFF37065ae1044158A3535248402Ff8FcF90e9",
2942
+ hinkalWrapperABI: [
2943
+ {
2944
+ inputs: [{
2945
+ internalType: "address",
2946
+ name: "_hinkal",
2947
+ type: "address"
2948
+ }],
2949
+ stateMutability: "nonpayable",
2950
+ type: "constructor"
2951
+ },
2952
+ {
2953
+ anonymous: !1,
2954
+ inputs: [{
2955
+ indexed: !0,
2956
+ internalType: "address",
2957
+ name: "previousOwner",
2958
+ type: "address"
2959
+ }, {
2960
+ indexed: !0,
2961
+ internalType: "address",
2962
+ name: "newOwner",
2963
+ type: "address"
2964
+ }],
2965
+ name: "OwnershipTransferStarted",
2966
+ type: "event"
2967
+ },
2968
+ {
2969
+ anonymous: !1,
2970
+ inputs: [{
2971
+ indexed: !0,
2972
+ internalType: "address",
2973
+ name: "previousOwner",
2974
+ type: "address"
2975
+ }, {
2976
+ indexed: !0,
2977
+ internalType: "address",
2978
+ name: "newOwner",
2979
+ type: "address"
2980
+ }],
2981
+ name: "OwnershipTransferred",
2982
+ type: "event"
2983
+ },
2984
+ {
2985
+ inputs: [],
2986
+ name: "acceptOwnership",
2987
+ outputs: [],
2988
+ stateMutability: "nonpayable",
2989
+ type: "function"
2990
+ },
2991
+ {
2992
+ inputs: [],
2993
+ name: "getEth",
2994
+ outputs: [{
2995
+ internalType: "uint256",
2996
+ name: "",
2997
+ type: "uint256"
2998
+ }],
2999
+ stateMutability: "nonpayable",
3000
+ type: "function"
3001
+ },
3002
+ {
3003
+ inputs: [],
3004
+ name: "getSender",
3005
+ outputs: [{
3006
+ internalType: "address",
3007
+ name: "",
3008
+ type: "address"
3009
+ }],
3010
+ stateMutability: "view",
3011
+ type: "function"
3012
+ },
3013
+ {
3014
+ inputs: [
3015
+ {
3016
+ internalType: "address",
3017
+ name: "",
3018
+ type: "address"
3019
+ },
3020
+ {
3021
+ internalType: "address",
3022
+ name: "",
3023
+ type: "address"
3024
+ },
3025
+ {
3026
+ internalType: "uint256[]",
3027
+ name: "",
3028
+ type: "uint256[]"
3029
+ },
3030
+ {
3031
+ internalType: "uint256[]",
3032
+ name: "",
3033
+ type: "uint256[]"
3034
+ },
3035
+ {
3036
+ internalType: "bytes",
3037
+ name: "",
3038
+ type: "bytes"
3039
+ }
3040
+ ],
3041
+ name: "onERC1155BatchReceived",
3042
+ outputs: [{
3043
+ internalType: "bytes4",
3044
+ name: "",
3045
+ type: "bytes4"
3046
+ }],
3047
+ stateMutability: "pure",
3048
+ type: "function"
3049
+ },
3050
+ {
3051
+ inputs: [
3052
+ {
3053
+ internalType: "address",
3054
+ name: "",
3055
+ type: "address"
3056
+ },
3057
+ {
3058
+ internalType: "address",
3059
+ name: "",
3060
+ type: "address"
3061
+ },
3062
+ {
3063
+ internalType: "uint256",
3064
+ name: "",
3065
+ type: "uint256"
3066
+ },
3067
+ {
3068
+ internalType: "uint256",
3069
+ name: "",
3070
+ type: "uint256"
3071
+ },
3072
+ {
3073
+ internalType: "bytes",
3074
+ name: "",
3075
+ type: "bytes"
3076
+ }
3077
+ ],
3078
+ name: "onERC1155Received",
3079
+ outputs: [{
3080
+ internalType: "bytes4",
3081
+ name: "",
3082
+ type: "bytes4"
3083
+ }],
3084
+ stateMutability: "pure",
3085
+ type: "function"
3086
+ },
3087
+ {
3088
+ inputs: [
3089
+ {
3090
+ internalType: "address",
3091
+ name: "",
3092
+ type: "address"
3093
+ },
3094
+ {
3095
+ internalType: "address",
3096
+ name: "",
3097
+ type: "address"
3098
+ },
3099
+ {
3100
+ internalType: "uint256",
3101
+ name: "",
3102
+ type: "uint256"
3103
+ },
3104
+ {
3105
+ internalType: "bytes",
3106
+ name: "",
3107
+ type: "bytes"
3108
+ }
3109
+ ],
3110
+ name: "onERC721Received",
3111
+ outputs: [{
3112
+ internalType: "bytes4",
3113
+ name: "",
3114
+ type: "bytes4"
3115
+ }],
3116
+ stateMutability: "pure",
3117
+ type: "function"
3118
+ },
3119
+ {
3120
+ inputs: [],
3121
+ name: "owner",
3122
+ outputs: [{
3123
+ internalType: "address",
3124
+ name: "",
3125
+ type: "address"
3126
+ }],
3127
+ stateMutability: "view",
3128
+ type: "function"
3129
+ },
3130
+ {
3131
+ inputs: [],
3132
+ name: "pendingOwner",
3133
+ outputs: [{
3134
+ internalType: "address",
3135
+ name: "",
3136
+ type: "address"
3137
+ }],
3138
+ stateMutability: "view",
3139
+ type: "function"
3140
+ },
3141
+ {
3142
+ inputs: [
3143
+ {
3144
+ internalType: "address",
3145
+ name: "feeRecipient",
3146
+ type: "address"
3147
+ },
3148
+ {
3149
+ internalType: "address",
3150
+ name: "feeToken",
3151
+ type: "address"
3152
+ },
3153
+ {
3154
+ internalType: "uint256",
3155
+ name: "feeAmount",
3156
+ type: "uint256"
3157
+ },
3158
+ {
3159
+ internalType: "address[]",
3160
+ name: "erc20Addresses",
3161
+ type: "address[]"
3162
+ },
3163
+ {
3164
+ internalType: "uint256[]",
3165
+ name: "amounts",
3166
+ type: "uint256[]"
3167
+ },
3168
+ {
3169
+ internalType: "uint256[]",
3170
+ name: "tokenIds",
3171
+ type: "uint256[]"
3172
+ },
3173
+ {
3174
+ components: [
3175
+ {
3176
+ internalType: "uint256",
3177
+ name: "extraRandomization",
3178
+ type: "uint256"
3179
+ },
3180
+ {
3181
+ internalType: "uint256",
3182
+ name: "stealthAddress",
3183
+ type: "uint256"
3184
+ },
3185
+ {
3186
+ internalType: "uint256",
3187
+ name: "H0",
3188
+ type: "uint256"
3189
+ },
3190
+ {
3191
+ internalType: "uint256",
3192
+ name: "H1",
3193
+ type: "uint256"
3194
+ }
3195
+ ],
3196
+ internalType: "struct StealthAddressStructure[]",
3197
+ name: "stealthAddressStructures",
3198
+ type: "tuple[]"
3199
+ }
3200
+ ],
3201
+ name: "prooflessDeposit",
3202
+ outputs: [],
3203
+ stateMutability: "payable",
3204
+ type: "function"
3205
+ },
3206
+ {
3207
+ inputs: [],
3208
+ name: "renounceOwnership",
3209
+ outputs: [],
3210
+ stateMutability: "view",
3211
+ type: "function"
3212
+ },
3213
+ {
3214
+ inputs: [{
3215
+ internalType: "address",
3216
+ name: "_hinkal",
3217
+ type: "address"
3218
+ }],
3219
+ name: "setHinkalAddress",
3220
+ outputs: [],
3221
+ stateMutability: "nonpayable",
3222
+ type: "function"
3223
+ },
3224
+ {
3225
+ inputs: [{
3226
+ internalType: "bytes4",
3227
+ name: "_interfaceId",
3228
+ type: "bytes4"
3229
+ }],
3230
+ name: "supportsInterface",
3231
+ outputs: [{
3232
+ internalType: "bool",
3233
+ name: "",
3234
+ type: "bool"
3235
+ }],
3236
+ stateMutability: "view",
3237
+ type: "function"
3238
+ },
3239
+ {
3240
+ inputs: [
3241
+ {
3242
+ internalType: "uint256[2]",
3243
+ name: "a",
3244
+ type: "uint256[2]"
3245
+ },
3246
+ {
3247
+ internalType: "uint256[2][2]",
3248
+ name: "b",
3249
+ type: "uint256[2][2]"
3250
+ },
3251
+ {
3252
+ internalType: "uint256[2]",
3253
+ name: "c",
3254
+ type: "uint256[2]"
3255
+ },
3256
+ {
3257
+ components: [
3258
+ {
3259
+ internalType: "uint16",
3260
+ name: "tokenNumber",
3261
+ type: "uint16"
3262
+ },
3263
+ {
3264
+ internalType: "uint16",
3265
+ name: "nullifierAmount",
3266
+ type: "uint16"
3267
+ },
3268
+ {
3269
+ internalType: "uint16",
3270
+ name: "outputAmount",
3271
+ type: "uint16"
3272
+ }
3273
+ ],
3274
+ internalType: "struct Dimensions",
3275
+ name: "dimensions",
3276
+ type: "tuple"
3277
+ },
3278
+ {
3279
+ components: [
3280
+ {
3281
+ internalType: "uint256",
3282
+ name: "rootHashHinkal",
3283
+ type: "uint256"
3284
+ },
3285
+ {
3286
+ internalType: "address[]",
3287
+ name: "erc20TokenAddresses",
3288
+ type: "address[]"
3289
+ },
3290
+ {
3291
+ internalType: "uint256[]",
3292
+ name: "tokenIds",
3293
+ type: "uint256[]"
3294
+ },
3295
+ {
3296
+ internalType: "int256[]",
3297
+ name: "amountChanges",
3298
+ type: "int256[]"
3299
+ },
3300
+ {
3301
+ internalType: "bool[]",
3302
+ name: "onChainCreation",
3303
+ type: "bool[]"
3304
+ },
3305
+ {
3306
+ internalType: "int256[]",
3307
+ name: "slippageValues",
3308
+ type: "int256[]"
3309
+ },
3310
+ {
3311
+ internalType: "uint256[][]",
3312
+ name: "inputNullifiers",
3313
+ type: "uint256[][]"
3314
+ },
3315
+ {
3316
+ internalType: "uint256[][]",
3317
+ name: "outCommitments",
3318
+ type: "uint256[][]"
3319
+ },
3320
+ {
3321
+ internalType: "bytes[][]",
3322
+ name: "encryptedOutputs",
3323
+ type: "bytes[][]"
3324
+ },
3325
+ {
3326
+ components: [
3327
+ {
3328
+ internalType: "address",
3329
+ name: "feeToken",
3330
+ type: "address"
3331
+ },
3332
+ {
3333
+ internalType: "uint256",
3334
+ name: "flatFee",
3335
+ type: "uint256"
3336
+ },
3337
+ {
3338
+ internalType: "uint256",
3339
+ name: "variableRate",
3340
+ type: "uint256"
3341
+ }
3342
+ ],
3343
+ internalType: "struct FeeStructure",
3344
+ name: "feeStructure",
3345
+ type: "tuple"
3346
+ },
3347
+ {
3348
+ internalType: "uint256",
3349
+ name: "timeStamp",
3350
+ type: "uint256"
3351
+ },
3352
+ {
3353
+ components: [
3354
+ {
3355
+ internalType: "uint256",
3356
+ name: "extraRandomization",
3357
+ type: "uint256"
3358
+ },
3359
+ {
3360
+ internalType: "uint256",
3361
+ name: "stealthAddress",
3362
+ type: "uint256"
3363
+ },
3364
+ {
3365
+ internalType: "uint256",
3366
+ name: "H0",
3367
+ type: "uint256"
3368
+ },
3369
+ {
3370
+ internalType: "uint256",
3371
+ name: "H1",
3372
+ type: "uint256"
3373
+ }
3374
+ ],
3375
+ internalType: "struct StealthAddressStructure",
3376
+ name: "stealthAddressStructure",
3377
+ type: "tuple"
3378
+ },
3379
+ {
3380
+ internalType: "uint256",
3381
+ name: "rootHashAccessToken",
3382
+ type: "uint256"
3383
+ },
3384
+ {
3385
+ internalType: "uint256",
3386
+ name: "calldataHash",
3387
+ type: "uint256"
3388
+ },
3389
+ {
3390
+ internalType: "uint16",
3391
+ name: "publicSignalCount",
3392
+ type: "uint16"
3393
+ },
3394
+ {
3395
+ internalType: "address",
3396
+ name: "relay",
3397
+ type: "address"
3398
+ },
3399
+ {
3400
+ internalType: "address",
3401
+ name: "externalAddress",
3402
+ type: "address"
3403
+ },
3404
+ {
3405
+ internalType: "uint256",
3406
+ name: "externalActionId",
3407
+ type: "uint256"
3408
+ },
3409
+ {
3410
+ internalType: "bytes",
3411
+ name: "externalActionMetadata",
3412
+ type: "bytes"
3413
+ },
3414
+ {
3415
+ components: [
3416
+ {
3417
+ internalType: "uint256",
3418
+ name: "hinkalLogicAction",
3419
+ type: "uint256"
3420
+ },
3421
+ {
3422
+ internalType: "uint256",
3423
+ name: "inHinkalAddress",
3424
+ type: "uint256"
3425
+ },
3426
+ {
3427
+ internalType: "int256[]",
3428
+ name: "executeApprovalChanges",
3429
+ type: "int256[]"
3430
+ },
3431
+ {
3432
+ internalType: "bool",
3433
+ name: "doPreTxApproval",
3434
+ type: "bool"
3435
+ },
3436
+ {
3437
+ components: [
3438
+ {
3439
+ internalType: "int256[]",
3440
+ name: "approvalChanges",
3441
+ type: "int256[]"
3442
+ },
3443
+ {
3444
+ internalType: "address[]",
3445
+ name: "externalApprovalAddresses",
3446
+ type: "address[]"
3447
+ },
3448
+ {
3449
+ internalType: "uint256[]",
3450
+ name: "conversionInHinkalAddress",
3451
+ type: "uint256[]"
3452
+ }
3453
+ ],
3454
+ internalType: "struct UseApprovalUTXOData[]",
3455
+ name: "useApprovalUtxoData",
3456
+ type: "tuple[]"
3457
+ }
3458
+ ],
3459
+ internalType: "struct HinkalLogicArgs",
3460
+ name: "hinkalLogicArgs",
3461
+ type: "tuple"
3462
+ },
3463
+ {
3464
+ components: [
3465
+ {
3466
+ internalType: "address",
3467
+ name: "preHookContract",
3468
+ type: "address"
3469
+ },
3470
+ {
3471
+ internalType: "address",
3472
+ name: "hookContract",
3473
+ type: "address"
3474
+ },
3475
+ {
3476
+ internalType: "bytes",
3477
+ name: "preHookMetadata",
3478
+ type: "bytes"
3479
+ },
3480
+ {
3481
+ internalType: "bytes",
3482
+ name: "postHookMetadata",
3483
+ type: "bytes"
3484
+ }
3485
+ ],
3486
+ internalType: "struct HookData",
3487
+ name: "hookData",
3488
+ type: "tuple"
3489
+ },
3490
+ {
3491
+ components: [
3492
+ {
3493
+ internalType: "uint8",
3494
+ name: "v",
3495
+ type: "uint8"
3496
+ },
3497
+ {
3498
+ internalType: "bytes32",
3499
+ name: "r",
3500
+ type: "bytes32"
3501
+ },
3502
+ {
3503
+ internalType: "bytes32",
3504
+ name: "s",
3505
+ type: "bytes32"
3506
+ },
3507
+ {
3508
+ internalType: "uint256",
3509
+ name: "accessKey",
3510
+ type: "uint256"
3511
+ },
3512
+ {
3513
+ internalType: "uint256",
3514
+ name: "nonce",
3515
+ type: "uint256"
3516
+ },
3517
+ {
3518
+ internalType: "address",
3519
+ name: "ethereumAddress",
3520
+ type: "address"
3521
+ }
3522
+ ],
3523
+ internalType: "struct SignatureData",
3524
+ name: "signatureData",
3525
+ type: "tuple"
3526
+ },
3527
+ {
3528
+ internalType: "address",
3529
+ name: "originalSender",
3530
+ type: "address"
3531
+ }
3532
+ ],
3533
+ internalType: "struct CircomData",
3534
+ name: "circomData",
3535
+ type: "tuple"
3536
+ }
3537
+ ],
3538
+ name: "transact",
3539
+ outputs: [],
3540
+ stateMutability: "payable",
3541
+ type: "function"
3542
+ },
3543
+ {
3544
+ inputs: [{
3545
+ internalType: "address",
3546
+ name: "newOwner",
3547
+ type: "address"
3548
+ }],
3549
+ name: "transferOwnership",
3550
+ outputs: [],
3551
+ stateMutability: "nonpayable",
3552
+ type: "function"
3553
+ },
3554
+ {
3555
+ stateMutability: "payable",
3556
+ type: "receive"
3557
+ }
3558
+ ]
3559
+ };
3560
+ //#endregion
3561
+ export { e as default };