@hinkal/common 0.2.26 → 0.2.28

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 (846) hide show
  1. package/API/API.cjs +1 -1
  2. package/API/API.d.ts +35 -17
  3. package/API/API.mjs +100 -80
  4. package/API/admin-calls.cjs +1 -1
  5. package/API/admin-calls.d.ts +8 -1
  6. package/API/admin-calls.mjs +6 -5
  7. package/API/callLifiAPI.cjs +1 -1
  8. package/API/callLifiAPI.d.ts +1 -1
  9. package/API/callLifiAPI.mjs +5 -5
  10. package/API/callMonitor.cjs +1 -1
  11. package/API/callMonitor.d.ts +1 -1
  12. package/API/callMonitor.mjs +7 -7
  13. package/API/callOdosAPI.cjs +1 -1
  14. package/API/callOdosAPI.mjs +11 -11
  15. package/API/callOkxAPI.cjs +1 -1
  16. package/API/callOkxAPI.d.ts +1 -1
  17. package/API/callOkxAPI.mjs +5 -5
  18. package/API/callOneInchAPI.cjs +1 -1
  19. package/API/callOneInchAPI.mjs +10 -11
  20. package/API/callRelayer.cjs +1 -1
  21. package/API/callRelayer.d.ts +14 -6
  22. package/API/callRelayer.mjs +11 -11
  23. package/API/checkRisk.cjs +1 -1
  24. package/API/checkRisk.d.ts +1 -1
  25. package/API/checkRisk.mjs +4 -4
  26. package/API/deposit-and-withdraw-status-calls.cjs +1 -1
  27. package/API/deposit-and-withdraw-status-calls.d.ts +3 -2
  28. package/API/deposit-and-withdraw-status-calls.mjs +8 -8
  29. package/API/enclaveSignatureCalls.cjs +1 -0
  30. package/API/enclaveSignatureCalls.d.ts +10 -0
  31. package/API/enclaveSignatureCalls.mjs +16 -0
  32. package/API/enclaveUtxoCalls.cjs +1 -0
  33. package/API/enclaveUtxoCalls.d.ts +40 -0
  34. package/API/enclaveUtxoCalls.mjs +24 -0
  35. package/API/fetchCommitmentsCache.cjs +1 -1
  36. package/API/fetchCommitmentsCache.d.ts +2 -1
  37. package/API/fetchCommitmentsCache.mjs +9 -9
  38. package/API/get-token-data.cjs +1 -1
  39. package/API/get-token-data.d.ts +1 -1
  40. package/API/get-token-data.mjs +5 -5
  41. package/API/get-token-price-chart-data.cjs +1 -0
  42. package/API/get-token-price-chart-data.d.ts +16 -0
  43. package/API/get-token-price-chart-data.mjs +13 -0
  44. package/API/getCoingeckoPrice.cjs +1 -1
  45. package/API/getCoingeckoPrice.d.ts +0 -1
  46. package/API/getCoingeckoPrice.mjs +15 -16
  47. package/API/getGasEstimates.cjs +1 -1
  48. package/API/getGasEstimates.mjs +9 -9
  49. package/API/getServerURL.cjs +1 -1
  50. package/API/getServerURL.d.ts +3 -3
  51. package/API/getServerURL.mjs +51 -67
  52. package/API/getTokenPrice.cjs +1 -1
  53. package/API/getTokenPrice.d.ts +5 -0
  54. package/API/getTokenPrice.mjs +14 -7
  55. package/API/getWebsiteURL.cjs +1 -1
  56. package/API/getWebsiteURL.d.ts +1 -0
  57. package/API/getWebsiteURL.mjs +25 -10
  58. package/API/index.d.ts +3 -3
  59. package/API/kycCalls.cjs +1 -1
  60. package/API/kycCalls.d.ts +4 -8
  61. package/API/kycCalls.mjs +23 -26
  62. package/API/onrampCalls.cjs +1 -0
  63. package/API/onrampCalls.d.ts +20 -0
  64. package/API/onrampCalls.mjs +15 -0
  65. package/API/privacy-score-calls.cjs +1 -0
  66. package/API/privacy-score-calls.d.ts +17 -0
  67. package/API/privacy-score-calls.mjs +29 -0
  68. package/API/privateSendEmailNotificationsCalls.cjs +1 -0
  69. package/API/privateSendEmailNotificationsCalls.d.ts +8 -0
  70. package/API/privateSendEmailNotificationsCalls.mjs +11 -0
  71. package/API/privateSendNonceCalls.cjs +1 -0
  72. package/API/privateSendNonceCalls.d.ts +13 -0
  73. package/API/privateSendNonceCalls.mjs +15 -0
  74. package/API/privateSendRecipientInfoCalls.cjs +1 -0
  75. package/API/privateSendRecipientInfoCalls.d.ts +21 -0
  76. package/API/privateSendRecipientInfoCalls.mjs +15 -0
  77. package/API/proxyAccountsCalls.cjs +1 -1
  78. package/API/proxyAccountsCalls.d.ts +4 -2
  79. package/API/proxyAccountsCalls.mjs +18 -20
  80. package/API/relayCalls.cjs +1 -1
  81. package/API/relayCalls.mjs +4 -4
  82. package/API/rewardsUserCalls.cjs +1 -1
  83. package/API/rewardsUserCalls.d.ts +9 -0
  84. package/API/rewardsUserCalls.mjs +28 -22
  85. package/API/scheduled-transactions-calls.cjs +1 -1
  86. package/API/scheduled-transactions-calls.d.ts +2 -2
  87. package/API/scheduled-transactions-calls.mjs +9 -8
  88. package/API/simulate-batch-tx.cjs +1 -1
  89. package/API/simulate-batch-tx.d.ts +2 -2
  90. package/API/simulate-batch-tx.mjs +7 -6
  91. package/API/simulate-transaction.cjs +1 -0
  92. package/API/{is-tx-stateless.d.ts → simulate-transaction.d.ts} +1 -1
  93. package/API/simulate-transaction.mjs +18 -0
  94. package/API/snapshot-event-calls.cjs +1 -0
  95. package/API/snapshot-event-calls.d.ts +7 -0
  96. package/API/snapshot-event-calls.mjs +13 -0
  97. package/API/solana-calls.cjs +1 -1
  98. package/API/solana-calls.d.ts +8 -4
  99. package/API/solana-calls.mjs +15 -15
  100. package/API/temporaryWalletCalls.cjs +1 -1
  101. package/API/temporaryWalletCalls.mjs +13 -19
  102. package/API/token-calls.cjs +1 -1
  103. package/API/token-calls.mjs +6 -5
  104. package/API/tronSubsidyCalls.cjs +1 -0
  105. package/API/tronSubsidyCalls.d.ts +13 -0
  106. package/API/tronSubsidyCalls.mjs +11 -0
  107. package/README.md +20 -13
  108. package/constants/activity.constants.cjs +1 -1
  109. package/constants/activity.constants.mjs +4 -2
  110. package/constants/addresses.constants.cjs +1 -1
  111. package/constants/addresses.constants.mjs +1 -1
  112. package/constants/bridging.constants.cjs +1 -1
  113. package/constants/bridging.constants.d.ts +4 -0
  114. package/constants/bridging.constants.mjs +6 -2
  115. package/constants/chains.constants.cjs +1 -1
  116. package/constants/chains.constants.d.ts +6 -6
  117. package/constants/chains.constants.mjs +112 -69
  118. package/constants/coingecko.constants.cjs +1 -1
  119. package/constants/coingecko.constants.d.ts +2 -1
  120. package/constants/coingecko.constants.mjs +49 -38
  121. package/constants/deploy-data/deploy-data-solana.json.cjs +1 -1
  122. package/constants/deploy-data/deploy-data-solana.json.mjs +390 -9
  123. package/constants/deploy-data/deploy-data-tronMainnet.json.cjs +1 -0
  124. package/constants/deploy-data/deploy-data-tronMainnet.json.mjs +4638 -0
  125. package/constants/deploy-data/deploy-data-tronNile.json.cjs +1 -0
  126. package/constants/deploy-data/deploy-data-tronNile.json.mjs +4638 -0
  127. package/constants/deploy-data/index.d.ts +3 -1
  128. package/constants/fees.constants.cjs +1 -1
  129. package/constants/fees.constants.d.ts +4 -1
  130. package/constants/fees.constants.mjs +8 -4
  131. package/constants/function-signatures.constants.cjs +1 -1
  132. package/constants/function-signatures.constants.d.ts +0 -1
  133. package/constants/function-signatures.constants.mjs +3 -4
  134. package/constants/images.constants.cjs +1 -0
  135. package/constants/images.constants.d.ts +1 -0
  136. package/constants/images.constants.mjs +4 -0
  137. package/constants/index.d.ts +6 -0
  138. package/constants/kyc.constants.cjs +1 -1
  139. package/constants/kyc.constants.mjs +39 -40
  140. package/constants/mediaUrls.constants.cjs +1 -1
  141. package/constants/mediaUrls.constants.d.ts +5 -1
  142. package/constants/mediaUrls.constants.mjs +6 -2
  143. package/constants/non-circular-tokens.constants.cjs +1 -0
  144. package/constants/non-circular-tokens.constants.d.ts +1 -0
  145. package/constants/non-circular-tokens.constants.mjs +4 -0
  146. package/constants/pay.constants.cjs +1 -0
  147. package/constants/pay.constants.d.ts +1 -0
  148. package/constants/pay.constants.mjs +4 -0
  149. package/constants/permit2.constants.cjs +1 -1
  150. package/constants/permit2.constants.d.ts +0 -1
  151. package/constants/permit2.constants.mjs +10 -11
  152. package/constants/protocol.constants.cjs +1 -1
  153. package/constants/protocol.constants.d.ts +6 -1
  154. package/constants/protocol.constants.mjs +38 -33
  155. package/constants/reorg-depths.constants.cjs +1 -1
  156. package/constants/reorg-depths.constants.mjs +3 -0
  157. package/constants/save-depths.cjs +1 -1
  158. package/constants/save-depths.mjs +6 -3
  159. package/constants/schedule.constants.cjs +1 -0
  160. package/constants/schedule.constants.d.ts +2 -0
  161. package/constants/schedule.constants.mjs +14 -0
  162. package/constants/server.constants.cjs +1 -1
  163. package/constants/server.constants.d.ts +31 -123
  164. package/constants/server.constants.mjs +65 -156
  165. package/constants/tasks.constants.cjs +1 -1
  166. package/constants/tasks.constants.mjs +5 -4
  167. package/constants/token-data/ERC20Registry.cjs +1 -1
  168. package/constants/token-data/ERC20Registry.mjs +48 -34
  169. package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
  170. package/constants/token-data/arbMainnetRegistry.json.mjs +1 -1
  171. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  172. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +1 -1
  173. package/constants/token-data/arcTestnetRegistry.json.cjs +1 -1
  174. package/constants/token-data/arcTestnetRegistry.json.mjs +2 -2
  175. package/constants/token-data/avalancheRegistry.json.cjs +1 -1
  176. package/constants/token-data/avalancheRegistry.json.mjs +1 -1
  177. package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
  178. package/constants/token-data/avalancheRegistryFixed.json.mjs +1 -1
  179. package/constants/token-data/baseRegistry.json.cjs +1 -1
  180. package/constants/token-data/baseRegistry.json.mjs +3 -3
  181. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  182. package/constants/token-data/baseRegistryFixed.json.mjs +1 -1
  183. package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
  184. package/constants/token-data/bnbMainnetRegistry.json.mjs +2 -2
  185. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
  186. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +2 -2
  187. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  188. package/constants/token-data/ethMainnetRegistry.json.mjs +1 -1
  189. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  190. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +1 -1
  191. package/constants/token-data/index.d.ts +2 -2
  192. package/constants/token-data/solanaMainnetRegistry.json.cjs +1 -1
  193. package/constants/token-data/solanaMainnetRegistry.json.mjs +143 -74
  194. package/constants/token-data/tronMainnetRegistry.json.cjs +1 -0
  195. package/constants/token-data/tronMainnetRegistry.json.mjs +24 -0
  196. package/constants/token-data/tronNileRegistry.json.cjs +1 -0
  197. package/constants/token-data/tronNileRegistry.json.mjs +24 -0
  198. package/constants/tokens.constants.cjs +1 -0
  199. package/constants/tokens.constants.d.ts +3 -0
  200. package/constants/tokens.constants.mjs +15 -0
  201. package/constants/tx-confirmation.constants.cjs +1 -0
  202. package/constants/tx-confirmation.constants.d.ts +4 -0
  203. package/constants/tx-confirmation.constants.mjs +7 -0
  204. package/constants/wallet.constants.cjs +1 -1
  205. package/constants/wallet.constants.d.ts +1 -7
  206. package/constants/wallet.constants.mjs +18 -8
  207. package/crypto/poseidon.cjs +1 -1
  208. package/crypto/poseidon.mjs +5 -5
  209. package/data-structures/AccountActions/AccountActions.cjs +1 -0
  210. package/data-structures/AccountActions/AccountActions.d.ts +17 -0
  211. package/data-structures/AccountActions/AccountActions.mjs +67 -0
  212. package/data-structures/AccountActions/index.d.ts +1 -0
  213. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs +1 -1
  214. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +106 -109
  215. package/data-structures/BlockchainEvent/BlockchainEvent.cjs +1 -0
  216. package/data-structures/BlockchainEvent/BlockchainEvent.d.ts +14 -0
  217. package/data-structures/BlockchainEvent/BlockchainEvent.mjs +45 -0
  218. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  219. package/data-structures/Hinkal/Hinkal.d.ts +66 -74
  220. package/data-structures/Hinkal/Hinkal.mjs +366 -392
  221. package/data-structures/Hinkal/IHinkal.d.ts +61 -71
  222. package/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -1
  223. package/data-structures/Hinkal/handleAutoDepositBack.d.ts +2 -4
  224. package/data-structures/Hinkal/handleAutoDepositBack.mjs +146 -79
  225. package/data-structures/Hinkal/hinkalActionReceive.cjs +1 -1
  226. package/data-structures/Hinkal/hinkalActionReceive.d.ts +1 -2
  227. package/data-structures/Hinkal/hinkalActionReceive.mjs +26 -22
  228. package/data-structures/Hinkal/hinkalCheckTokenRegistry.cjs +1 -1
  229. package/data-structures/Hinkal/hinkalCheckTokenRegistry.d.ts +1 -0
  230. package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +34 -22
  231. package/data-structures/Hinkal/hinkalClaimUtxo.cjs +1 -0
  232. package/data-structures/Hinkal/hinkalClaimUtxo.d.ts +6 -0
  233. package/data-structures/Hinkal/hinkalClaimUtxo.mjs +119 -0
  234. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  235. package/data-structures/Hinkal/hinkalDeposit.d.ts +2 -2
  236. package/data-structures/Hinkal/hinkalDeposit.mjs +101 -92
  237. package/data-structures/Hinkal/hinkalDepositAndBridge.cjs +1 -0
  238. package/data-structures/Hinkal/{hinkalDepostAndBridge.d.ts → hinkalDepositAndBridge.d.ts} +2 -2
  239. package/data-structures/Hinkal/hinkalDepositAndBridge.mjs +259 -0
  240. package/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -1
  241. package/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +2 -2
  242. package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +159 -102
  243. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.cjs +1 -1
  244. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.d.ts +1 -1
  245. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +131 -92
  246. package/data-structures/Hinkal/hinkalGetZkMeProvider.cjs +1 -1
  247. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +4 -5
  248. package/data-structures/Hinkal/hinkalMultiSend.cjs +1 -1
  249. package/data-structures/Hinkal/hinkalMultiSend.d.ts +1 -1
  250. package/data-structures/Hinkal/hinkalMultiSend.mjs +4 -4
  251. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  252. package/data-structures/Hinkal/hinkalPrivateWallet.d.ts +2 -2
  253. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +121 -125
  254. package/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -1
  255. package/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +2 -1
  256. package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +188 -38
  257. package/data-structures/Hinkal/hinkalProxySwap.cjs +1 -1
  258. package/data-structures/Hinkal/hinkalProxySwap.d.ts +1 -2
  259. package/data-structures/Hinkal/hinkalProxySwap.mjs +34 -31
  260. package/data-structures/Hinkal/hinkalProxyToPrivate.cjs +1 -1
  261. package/data-structures/Hinkal/hinkalProxyToPrivate.d.ts +1 -1
  262. package/data-structures/Hinkal/hinkalProxyToPrivate.mjs +32 -28
  263. package/data-structures/Hinkal/hinkalSignSubAccount.cjs +1 -1
  264. package/data-structures/Hinkal/hinkalSignSubAccount.d.ts +1 -2
  265. package/data-structures/Hinkal/hinkalSignSubAccount.mjs +17 -15
  266. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.cjs +1 -0
  267. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.d.ts +5 -0
  268. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +130 -0
  269. package/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -1
  270. package/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +6 -3
  271. package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +98 -110
  272. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -1
  273. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +3 -1
  274. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +228 -197
  275. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.cjs +1 -0
  276. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.d.ts +5 -0
  277. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs +28 -0
  278. package/data-structures/Hinkal/hinkalSolanaProxySend.cjs +1 -1
  279. package/data-structures/Hinkal/hinkalSolanaProxySend.d.ts +4 -4
  280. package/data-structures/Hinkal/hinkalSolanaProxySend.mjs +44 -43
  281. package/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -1
  282. package/data-structures/Hinkal/hinkalSolanaProxyShield.d.ts +2 -2
  283. package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +73 -71
  284. package/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -1
  285. package/data-structures/Hinkal/hinkalSolanaProxySwap.d.ts +3 -3
  286. package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +79 -64
  287. package/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -1
  288. package/data-structures/Hinkal/hinkalSolanaSwap.d.ts +1 -1
  289. package/data-structures/Hinkal/hinkalSolanaSwap.mjs +122 -100
  290. package/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -1
  291. package/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +29 -2
  292. package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +132 -70
  293. package/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -1
  294. package/data-structures/Hinkal/hinkalSolanaWithdraw.d.ts +3 -2
  295. package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +113 -75
  296. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  297. package/data-structures/Hinkal/hinkalSwap.d.ts +1 -1
  298. package/data-structures/Hinkal/hinkalSwap.mjs +71 -103
  299. package/data-structures/Hinkal/hinkalTransfer.cjs +1 -1
  300. package/data-structures/Hinkal/hinkalTransfer.d.ts +1 -1
  301. package/data-structures/Hinkal/hinkalTransfer.mjs +96 -96
  302. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  303. package/data-structures/Hinkal/hinkalWithdraw.d.ts +2 -1
  304. package/data-structures/Hinkal/hinkalWithdraw.mjs +97 -99
  305. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
  306. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.d.ts +1 -2
  307. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +204 -113
  308. package/data-structures/Hinkal/index.d.ts +4 -0
  309. package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
  310. package/data-structures/Hinkal/resetMerkleTrees.d.ts +1 -1
  311. package/data-structures/Hinkal/resetMerkleTrees.mjs +109 -54
  312. package/data-structures/IndexedDB/activity-db.cjs +1 -1
  313. package/data-structures/IndexedDB/activity-db.d.ts +4 -5
  314. package/data-structures/IndexedDB/activity-db.mjs +124 -131
  315. package/data-structures/IndexedDB/balances-db.cjs +1 -1
  316. package/data-structures/IndexedDB/balances-db.mjs +45 -38
  317. package/data-structures/IndexedDB/contact-db.cjs +1 -1
  318. package/data-structures/IndexedDB/contact-db.mjs +43 -36
  319. package/data-structures/IndexedDB/index.d.ts +1 -0
  320. package/data-structures/IndexedDB/pay-activity-db.cjs +1 -0
  321. package/data-structures/IndexedDB/pay-activity-db.d.ts +9 -0
  322. package/data-structures/IndexedDB/pay-activity-db.mjs +26 -0
  323. package/data-structures/IndexedDB/prices-db.cjs +1 -1
  324. package/data-structures/IndexedDB/prices-db.mjs +1 -1
  325. package/data-structures/IndexedDB/signatures-db.cjs +1 -1
  326. package/data-structures/IndexedDB/signatures-db.mjs +26 -40
  327. package/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -1
  328. package/data-structures/TokenDBs/EventsPublicTokensDB.mjs +82 -79
  329. package/data-structures/TokenDBs/token-visibility-db.cjs +1 -1
  330. package/data-structures/TokenDBs/token-visibility-db.mjs +22 -36
  331. package/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
  332. package/data-structures/crypto-keys/decodeUTXO.mjs +1 -1
  333. package/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
  334. package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +29 -30
  335. package/data-structures/crypto-keys/keys.cjs +1 -1
  336. package/data-structures/crypto-keys/keys.d.ts +9 -11
  337. package/data-structures/crypto-keys/keys.mjs +65 -110
  338. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.cjs +1 -1
  339. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.d.ts +3 -2
  340. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.mjs +9 -9
  341. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.cjs +1 -1
  342. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.d.ts +3 -2
  343. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.mjs +5 -5
  344. package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.cjs +1 -1
  345. package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.d.ts +9 -4
  346. package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.mjs +65 -48
  347. package/data-structures/event-service/evm/AbstractEventService.cjs +1 -1
  348. package/data-structures/event-service/evm/AbstractEventService.d.ts +4 -2
  349. package/data-structures/event-service/evm/AbstractEventService.mjs +13 -13
  350. package/data-structures/event-service/evm/AbstractNullifierSnapshotService.cjs +1 -1
  351. package/data-structures/event-service/evm/AbstractNullifierSnapshotService.d.ts +3 -2
  352. package/data-structures/event-service/evm/AbstractNullifierSnapshotService.mjs +5 -5
  353. package/data-structures/event-service/evm/AbstractSnapshotService.cjs +1 -1
  354. package/data-structures/event-service/evm/AbstractSnapshotService.d.ts +2 -2
  355. package/data-structures/event-service/evm/AbstractSnapshotService.mjs +5 -6
  356. package/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -1
  357. package/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +18 -7
  358. package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +75 -49
  359. package/data-structures/event-service/evm/ClientBlockchainEventEmitter.cjs +1 -0
  360. package/data-structures/event-service/evm/ClientBlockchainEventEmitter.d.ts +11 -0
  361. package/data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs +25 -0
  362. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.cjs +1 -0
  363. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.d.ts +6 -0
  364. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs +16 -0
  365. package/data-structures/event-service/helpers/ClientEventHelper.cjs +1 -0
  366. package/data-structures/event-service/helpers/ClientEventHelper.d.ts +10 -0
  367. package/data-structures/event-service/helpers/ClientEventHelper.mjs +38 -0
  368. package/data-structures/event-service/helpers/PollingEventHelper.cjs +1 -0
  369. package/data-structures/event-service/helpers/PollingEventHelper.d.ts +5 -0
  370. package/data-structures/event-service/helpers/PollingEventHelper.mjs +14 -0
  371. package/data-structures/event-service/index.d.ts +4 -0
  372. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.cjs +1 -1
  373. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.d.ts +3 -2
  374. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +6 -6
  375. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.cjs +1 -1
  376. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.d.ts +9 -4
  377. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +65 -48
  378. package/data-structures/event-service/solana/AbstractSolanaEventService.cjs +1 -1
  379. package/data-structures/event-service/solana/AbstractSolanaEventService.d.ts +5 -10
  380. package/data-structures/event-service/solana/AbstractSolanaEventService.mjs +13 -7
  381. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.cjs +1 -1
  382. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.d.ts +3 -2
  383. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs +4 -4
  384. package/data-structures/event-service/solana/AbstractSolanaSnapshotService.cjs +1 -1
  385. package/data-structures/event-service/solana/AbstractSolanaSnapshotService.d.ts +1 -2
  386. package/data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs +1 -2
  387. package/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.cjs +1 -0
  388. package/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.d.ts +11 -0
  389. package/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.mjs +26 -0
  390. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.cjs +1 -0
  391. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.d.ts +6 -0
  392. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs +16 -0
  393. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.cjs +1 -1
  394. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +20 -19
  395. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +126 -76
  396. package/data-structures/index.d.ts +2 -0
  397. package/data-structures/merkle-tree/MerkleTree.cjs +1 -1
  398. package/data-structures/merkle-tree/MerkleTree.d.ts +3 -2
  399. package/data-structures/merkle-tree/MerkleTree.mjs +27 -17
  400. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +1 -1
  401. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +1 -2
  402. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +6 -6
  403. package/data-structures/presale/PresaleContractWrapper.d.ts +1 -1
  404. package/data-structures/provider-adapter/IProviderAdapter.d.ts +9 -13
  405. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.cjs +1 -1
  406. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs +23 -18
  407. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.cjs +1 -1
  408. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +12 -7
  409. package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.cjs +1 -1
  410. package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs +11 -5
  411. package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.cjs +1 -1
  412. package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs +9 -4
  413. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.cjs +1 -1
  414. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +9 -4
  415. package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.cjs +1 -1
  416. package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs +12 -6
  417. package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.cjs +1 -1
  418. package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs +10 -5
  419. package/error-handling/customErrors/ErrorWithIndex.cjs +1 -0
  420. package/error-handling/customErrors/ErrorWithIndex.d.ts +4 -0
  421. package/error-handling/customErrors/ErrorWithIndex.mjs +9 -0
  422. package/error-handling/customErrors/ErrorWithTx.cjs +1 -1
  423. package/error-handling/customErrors/ErrorWithTx.d.ts +2 -3
  424. package/error-handling/customErrors/ErrorWithTx.mjs +5 -5
  425. package/error-handling/customErrors/index.d.ts +1 -0
  426. package/error-handling/error-codes.constants.cjs +2 -2
  427. package/error-handling/error-codes.constants.d.ts +29 -0
  428. package/error-handling/error-codes.constants.mjs +51 -22
  429. package/error-handling/get-error.message.cjs +1 -1
  430. package/error-handling/get-error.message.mjs +46 -47
  431. package/error-handling/index.d.ts +0 -1
  432. package/error-handling/isInsufficientFundsError.cjs +1 -0
  433. package/error-handling/isInsufficientFundsError.d.ts +1 -0
  434. package/error-handling/isInsufficientFundsError.mjs +19 -0
  435. package/functions/auto-deposit-back-helpers/get-gas-token-records.cjs +1 -0
  436. package/functions/auto-deposit-back-helpers/get-gas-token-records.d.ts +9 -0
  437. package/functions/auto-deposit-back-helpers/get-gas-token-records.mjs +74 -0
  438. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.cjs +1 -0
  439. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.d.ts +3 -0
  440. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.mjs +61 -0
  441. package/functions/auto-deposit-back-helpers/index.d.ts +4 -0
  442. package/functions/auto-deposit-back-helpers/select-gas-token.cjs +1 -0
  443. package/functions/auto-deposit-back-helpers/select-gas-token.d.ts +13 -0
  444. package/functions/auto-deposit-back-helpers/select-gas-token.mjs +79 -0
  445. package/functions/auto-deposit-back-helpers/update-hinkal.cjs +1 -0
  446. package/functions/auto-deposit-back-helpers/update-hinkal.d.ts +3 -0
  447. package/functions/auto-deposit-back-helpers/update-hinkal.mjs +18 -0
  448. package/functions/connectors.types.d.ts +11 -3
  449. package/functions/index.d.ts +1 -0
  450. package/functions/kyc/zkMeHelper.cjs +1 -1
  451. package/functions/kyc/zkMeHelper.mjs +17 -16
  452. package/functions/pre-transaction/addressTableLookup.cjs +1 -1
  453. package/functions/pre-transaction/addressTableLookup.mjs +1 -1
  454. package/functions/pre-transaction/constructAdminData.cjs +1 -1
  455. package/functions/pre-transaction/constructAdminData.d.ts +2 -2
  456. package/functions/pre-transaction/constructAdminData.mjs +12 -18
  457. package/functions/pre-transaction/convert-okx-instructions.cjs +1 -1
  458. package/functions/pre-transaction/convert-okx-instructions.mjs +20 -16
  459. package/functions/pre-transaction/ensureAmountChanges.cjs +1 -0
  460. package/functions/pre-transaction/ensureAmountChanges.d.ts +2 -0
  461. package/functions/pre-transaction/ensureAmountChanges.mjs +11 -0
  462. package/functions/pre-transaction/getExternalSwapAddress.cjs +1 -1
  463. package/functions/pre-transaction/getExternalSwapAddress.d.ts +1 -2
  464. package/functions/pre-transaction/getExternalSwapAddress.mjs +8 -8
  465. package/functions/pre-transaction/getFeeStructure.cjs +1 -1
  466. package/functions/pre-transaction/getFeeStructure.d.ts +2 -1
  467. package/functions/pre-transaction/getFeeStructure.mjs +13 -12
  468. package/functions/pre-transaction/getKycAndSignatureData.cjs +1 -0
  469. package/functions/pre-transaction/getKycAndSignatureData.d.ts +5 -0
  470. package/functions/pre-transaction/getKycAndSignatureData.mjs +20 -0
  471. package/functions/pre-transaction/getVolatileTransferAmount.cjs +1 -1
  472. package/functions/pre-transaction/getVolatileTransferAmount.mjs +22 -36
  473. package/functions/pre-transaction/index.d.ts +4 -0
  474. package/functions/pre-transaction/merge-with-fee-structure-emporium.cjs +1 -1
  475. package/functions/pre-transaction/merge-with-fee-structure-emporium.d.ts +1 -1
  476. package/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +17 -17
  477. package/functions/pre-transaction/outputApprovalDataProcessing.cjs +1 -1
  478. package/functions/pre-transaction/outputApprovalDataProcessing.d.ts +1 -9
  479. package/functions/pre-transaction/outputApprovalDataProcessing.mjs +19 -34
  480. package/functions/pre-transaction/sendV0Transaction.cjs +1 -1
  481. package/functions/pre-transaction/sendV0Transaction.d.ts +4 -8
  482. package/functions/pre-transaction/sendV0Transaction.mjs +150 -86
  483. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.cjs +1 -1
  484. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.d.ts +1 -1
  485. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.mjs +7 -4
  486. package/functions/pre-transaction/store-instructions.cjs +1 -1
  487. package/functions/pre-transaction/store-instructions.mjs +11 -6
  488. package/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.cjs +1 -0
  489. package/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.d.ts +3 -0
  490. package/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs +33 -0
  491. package/functions/private-wallet/emporium.helpers.cjs +1 -1
  492. package/functions/private-wallet/emporium.helpers.d.ts +12 -7
  493. package/functions/private-wallet/emporium.helpers.mjs +105 -131
  494. package/functions/private-wallet/emporium.swap.helpers.cjs +1 -1
  495. package/functions/private-wallet/emporium.swap.helpers.d.ts +1 -4
  496. package/functions/private-wallet/emporium.swap.helpers.mjs +98 -100
  497. package/functions/snarkjs/common.snarkjs.cjs +1 -1
  498. package/functions/snarkjs/common.snarkjs.d.ts +4 -5
  499. package/functions/snarkjs/common.snarkjs.mjs +113 -111
  500. package/functions/snarkjs/constant.cjs +1 -1
  501. package/functions/snarkjs/constant.mjs +7 -1
  502. package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
  503. package/functions/snarkjs/constructEmporiumProof.d.ts +4 -4
  504. package/functions/snarkjs/constructEmporiumProof.mjs +111 -121
  505. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  506. package/functions/snarkjs/constructGeneralZkProof.d.ts +2 -2
  507. package/functions/snarkjs/constructGeneralZkProof.mjs +104 -124
  508. package/functions/snarkjs/constructSolanaZkProof.cjs +1 -1
  509. package/functions/snarkjs/constructSolanaZkProof.d.ts +1 -1
  510. package/functions/snarkjs/constructSolanaZkProof.mjs +58 -64
  511. package/functions/snarkjs/fetchMerkleTreeSiblings.cjs +1 -1
  512. package/functions/snarkjs/fetchMerkleTreeSiblings.mjs +11 -10
  513. package/functions/snarkjs/fetchOnChainRootHashes.cjs +1 -0
  514. package/functions/snarkjs/fetchOnChainRootHashes.d.ts +4 -0
  515. package/functions/snarkjs/fetchOnChainRootHashes.mjs +15 -0
  516. package/functions/snarkjs/generateCircomData.cjs +1 -1
  517. package/functions/snarkjs/generateCircomData.d.ts +3 -3
  518. package/functions/snarkjs/generateCircomData.mjs +29 -31
  519. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.cjs +1 -1
  520. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +12 -1
  521. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +161 -65
  522. package/functions/snarkjs/getZKFiles.cjs +1 -1
  523. package/functions/snarkjs/getZKFiles.mjs +8 -11
  524. package/functions/snarkjs/index.d.ts +1 -0
  525. package/functions/utils/addresses.cjs +1 -1
  526. package/functions/utils/addresses.d.ts +3 -0
  527. package/functions/utils/addresses.mjs +32 -17
  528. package/functions/utils/amounts.utils.cjs +1 -1
  529. package/functions/utils/amounts.utils.d.ts +1 -1
  530. package/functions/utils/amounts.utils.mjs +2 -2
  531. package/functions/utils/buildClaimableDepositPlan.cjs +1 -0
  532. package/functions/utils/buildClaimableDepositPlan.d.ts +15 -0
  533. package/functions/utils/buildClaimableDepositPlan.mjs +40 -0
  534. package/functions/utils/cacheDevice.utils.cjs +1 -1
  535. package/functions/utils/cacheDevice.utils.mjs +8 -6
  536. package/functions/utils/cacheFunctions.cjs +1 -1
  537. package/functions/utils/cacheFunctions.mjs +2 -2
  538. package/functions/utils/create-provider.cjs +1 -1
  539. package/functions/utils/create-provider.d.ts +1 -1
  540. package/functions/utils/create-provider.mjs +11 -7
  541. package/functions/utils/enclave-signature-storage.cjs +1 -0
  542. package/functions/utils/enclave-signature-storage.d.ts +2 -0
  543. package/functions/utils/enclave-signature-storage.mjs +13 -0
  544. package/functions/utils/enclave-utxo-storage.cjs +1 -0
  545. package/functions/utils/enclave-utxo-storage.d.ts +6 -0
  546. package/functions/utils/enclave-utxo-storage.mjs +34 -0
  547. package/functions/utils/encryptInputForEnclave.cjs +1 -1
  548. package/functions/utils/encryptInputForEnclave.mjs +21 -21
  549. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  550. package/functions/utils/erc20tokenFunctions.mjs +35 -35
  551. package/functions/utils/evmNetworkFunctions.cjs +1 -1
  552. package/functions/utils/evmNetworkFunctions.mjs +5 -3
  553. package/functions/utils/fees.utils.cjs +1 -1
  554. package/functions/utils/fees.utils.mjs +31 -29
  555. package/functions/utils/getBlockExplorerUrl.cjs +1 -1
  556. package/functions/utils/getBlockExplorerUrl.mjs +3 -3
  557. package/functions/utils/getDataFromTransaction.d.ts +1 -1
  558. package/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -1
  559. package/functions/utils/getRecipientInfoFromUserKeys.mjs +1 -1
  560. package/functions/utils/getUtxosFromReceipt.utils.cjs +1 -1
  561. package/functions/utils/getUtxosFromReceipt.utils.d.ts +2 -1
  562. package/functions/utils/getUtxosFromReceipt.utils.mjs +44 -15
  563. package/functions/utils/getUtxosFromReceiptSolana.cjs +1 -1
  564. package/functions/utils/getUtxosFromReceiptSolana.d.ts +2 -1
  565. package/functions/utils/getUtxosFromReceiptSolana.mjs +27 -16
  566. package/functions/utils/index.d.ts +12 -2
  567. package/functions/utils/involves-permit2-op.cjs +1 -1
  568. package/functions/utils/involves-permit2-op.d.ts +0 -1
  569. package/functions/utils/involves-permit2-op.mjs +4 -6
  570. package/functions/utils/mutexes.utils.cjs +1 -1
  571. package/functions/utils/mutexes.utils.d.ts +1 -1
  572. package/functions/utils/mutexes.utils.mjs +3 -3
  573. package/functions/utils/networks.utils.cjs +1 -1
  574. package/functions/utils/networks.utils.mjs +4 -2
  575. package/functions/utils/nftTokenFunctions.cjs +1 -1
  576. package/functions/utils/nftTokenFunctions.mjs +9 -23
  577. package/functions/utils/prepareHinkal.cjs +1 -1
  578. package/functions/utils/prepareHinkal.d.ts +6 -13
  579. package/functions/utils/prepareHinkal.mjs +44 -71
  580. package/functions/utils/process.utils.cjs +1 -1
  581. package/functions/utils/process.utils.d.ts +6 -0
  582. package/functions/utils/process.utils.mjs +22 -10
  583. package/functions/utils/proxyAvatar.utils.cjs +1 -0
  584. package/functions/utils/proxyAvatar.utils.d.ts +2 -0
  585. package/functions/utils/proxyAvatar.utils.mjs +5 -0
  586. package/functions/utils/publicBalance.utils.cjs +1 -1
  587. package/functions/utils/publicBalance.utils.d.ts +1 -1
  588. package/functions/utils/publicBalance.utils.mjs +55 -53
  589. package/functions/utils/serialize-utxos.utils.cjs +1 -0
  590. package/functions/utils/serialize-utxos.utils.d.ts +3 -0
  591. package/functions/utils/serialize-utxos.utils.mjs +13 -0
  592. package/functions/utils/string.utils.cjs +1 -1
  593. package/functions/utils/string.utils.d.ts +2 -0
  594. package/functions/utils/string.utils.mjs +35 -27
  595. package/functions/utils/time.utils.cjs +1 -1
  596. package/functions/utils/time.utils.mjs +1 -1
  597. package/functions/utils/token-check.utils.cjs +1 -1
  598. package/functions/utils/token-check.utils.d.ts +3 -0
  599. package/functions/utils/token-check.utils.mjs +18 -7
  600. package/functions/utils/tron.utils.cjs +1 -0
  601. package/functions/utils/tron.utils.d.ts +25 -0
  602. package/functions/utils/tron.utils.mjs +128 -0
  603. package/functions/utils/tronSimulation.utils.cjs +1 -0
  604. package/functions/utils/tronSimulation.utils.d.ts +1 -0
  605. package/functions/utils/tronSimulation.utils.mjs +30 -0
  606. package/functions/utils/tx-confirmation.utils.cjs +1 -0
  607. package/functions/utils/tx-confirmation.utils.d.ts +10 -0
  608. package/functions/utils/tx-confirmation.utils.mjs +50 -0
  609. package/functions/utils/upToDateState.cjs +1 -1
  610. package/functions/utils/upToDateState.d.ts +1 -1
  611. package/functions/utils/upToDateState.mjs +4 -4
  612. package/functions/utils/userAgent.cjs +1 -1
  613. package/functions/utils/userAgent.d.ts +0 -2
  614. package/functions/utils/userAgent.mjs +4 -23
  615. package/functions/utils/validateUsername.cjs +1 -0
  616. package/functions/utils/validateUsername.d.ts +5 -0
  617. package/functions/utils/validateUsername.mjs +16 -0
  618. package/functions/utils/walletBalances.utils.cjs +1 -1
  619. package/functions/utils/walletBalances.utils.d.ts +2 -17
  620. package/functions/utils/walletBalances.utils.mjs +5 -36
  621. package/functions/web3/connectors.utils.cjs +1 -1
  622. package/functions/web3/connectors.utils.d.ts +1 -0
  623. package/functions/web3/connectors.utils.mjs +14 -12
  624. package/functions/web3/crypto.cjs +1 -0
  625. package/functions/web3/crypto.d.ts +1 -0
  626. package/functions/web3/crypto.mjs +7 -0
  627. package/functions/web3/etherFunctions.cjs +1 -1
  628. package/functions/web3/etherFunctions.d.ts +1 -1
  629. package/functions/web3/etherFunctions.mjs +12 -15
  630. package/functions/web3/events/getApprovedBalance.cjs +1 -1
  631. package/functions/web3/events/getApprovedBalance.d.ts +3 -4
  632. package/functions/web3/events/getApprovedBalance.mjs +39 -44
  633. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  634. package/functions/web3/events/getInputUtxoAndBalance.d.ts +1 -1
  635. package/functions/web3/events/getInputUtxoAndBalance.mjs +127 -132
  636. package/functions/web3/events/getShieldedBalance.cjs +1 -2
  637. package/functions/web3/events/getShieldedBalance.d.ts +1 -1
  638. package/functions/web3/events/getShieldedBalance.mjs +72 -69
  639. package/functions/web3/events/getTransactionLogEvents.cjs +1 -1
  640. package/functions/web3/events/getTransactionLogEvents.mjs +40 -36
  641. package/functions/web3/fetchSolanaMerkleTreeRootHash.cjs +1 -1
  642. package/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +17 -10
  643. package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
  644. package/functions/web3/functionCalls/accessTokenCalls.d.ts +1 -6
  645. package/functions/web3/functionCalls/accessTokenCalls.mjs +19 -25
  646. package/functions/web3/functionCalls/approveToken.cjs +1 -1
  647. package/functions/web3/functionCalls/approveToken.d.ts +1 -1
  648. package/functions/web3/functionCalls/approveToken.mjs +68 -63
  649. package/functions/web3/functionCalls/approveTokensToHinkal.cjs +1 -1
  650. package/functions/web3/functionCalls/approveTokensToHinkal.d.ts +1 -1
  651. package/functions/web3/functionCalls/approveTokensToHinkal.mjs +6 -6
  652. package/functions/web3/functionCalls/constructBatchCall.cjs +1 -1
  653. package/functions/web3/functionCalls/constructBatchCall.d.ts +3 -2
  654. package/functions/web3/functionCalls/constructBatchCall.mjs +53 -16
  655. package/functions/web3/functionCalls/estimateGasRelayer.d.ts +2 -3
  656. package/functions/web3/functionCalls/recoverTransactionFromError.cjs +1 -1
  657. package/functions/web3/functionCalls/recoverTransactionFromError.mjs +8 -7
  658. package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
  659. package/functions/web3/functionCalls/transactCallDirect.d.ts +2 -2
  660. package/functions/web3/functionCalls/transactCallDirect.mjs +58 -48
  661. package/functions/web3/functionCalls/transactCallDirectTron.cjs +1 -0
  662. package/functions/web3/functionCalls/transactCallDirectTron.d.ts +6 -0
  663. package/functions/web3/functionCalls/transactCallDirectTron.mjs +63 -0
  664. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  665. package/functions/web3/functionCalls/transactCallRelayer.d.ts +15 -6
  666. package/functions/web3/functionCalls/transactCallRelayer.mjs +72 -67
  667. package/functions/web3/functionCalls/waitForErc20Approvals.cjs +1 -0
  668. package/functions/web3/functionCalls/waitForErc20Approvals.d.ts +9 -0
  669. package/functions/web3/functionCalls/waitForErc20Approvals.mjs +54 -0
  670. package/functions/web3/getContractMetadata.cjs +1 -1
  671. package/functions/web3/getContractMetadata.mjs +14 -18
  672. package/functions/web3/getPublicAddressBalance.cjs +1 -1
  673. package/functions/web3/getPublicAddressBalance.d.ts +1 -1
  674. package/functions/web3/getPublicAddressBalance.mjs +7 -7
  675. package/functions/web3/getSolanaPriorityFee.cjs +1 -0
  676. package/functions/web3/getSolanaPriorityFee.d.ts +3 -0
  677. package/functions/web3/getSolanaPriorityFee.mjs +32 -0
  678. package/functions/web3/getTokenHolder.cjs +1 -1
  679. package/functions/web3/getTokenHolder.mjs +35 -31
  680. package/functions/web3/index.d.ts +3 -0
  681. package/functions/web3/lifiAPI.cjs +1 -1
  682. package/functions/web3/lifiAPI.d.ts +1 -1
  683. package/functions/web3/lifiAPI.mjs +12 -12
  684. package/functions/web3/odosAPI.cjs +1 -1
  685. package/functions/web3/odosAPI.mjs +4 -15
  686. package/functions/web3/okxAPI.cjs +1 -1
  687. package/functions/web3/okxAPI.mjs +13 -13
  688. package/functions/web3/oneInchAPI.cjs +1 -1
  689. package/functions/web3/oneInchAPI.mjs +9 -20
  690. package/functions/web3/runContractFunction.cjs +1 -1
  691. package/functions/web3/runContractFunction.mjs +38 -50
  692. package/functions/web3/tron-wagmi-adapter.cjs +1 -0
  693. package/functions/web3/tron-wagmi-adapter.d.ts +8 -0
  694. package/functions/web3/tron-wagmi-adapter.mjs +31 -0
  695. package/functions/web3/uniswapAPI.cjs +1 -1
  696. package/functions/web3/uniswapAPI.mjs +24 -34
  697. package/index.cjs +1 -1
  698. package/index.mjs +1079 -958
  699. package/package.json +4 -2
  700. package/providers/EthersProviderAdapter.cjs +1 -1
  701. package/providers/EthersProviderAdapter.d.ts +11 -17
  702. package/providers/EthersProviderAdapter.mjs +53 -82
  703. package/providers/SolanaProviderAdapter.cjs +1 -1
  704. package/providers/SolanaProviderAdapter.d.ts +8 -11
  705. package/providers/SolanaProviderAdapter.mjs +20 -32
  706. package/providers/TronProviderAdapter.cjs +1 -0
  707. package/providers/TronProviderAdapter.d.ts +37 -0
  708. package/providers/TronProviderAdapter.mjs +145 -0
  709. package/providers/WagmiProviderAdapter.cjs +1 -1
  710. package/providers/WagmiProviderAdapter.d.ts +14 -19
  711. package/providers/WagmiProviderAdapter.mjs +104 -130
  712. package/providers/prepareEthersHinkal.cjs +1 -1
  713. package/providers/prepareEthersHinkal.d.ts +2 -2
  714. package/providers/prepareEthersHinkal.mjs +17 -10
  715. package/providers/prepareWagmiHinkal.cjs +1 -1
  716. package/providers/prepareWagmiHinkal.mjs +21 -13
  717. package/types/TransactionSimulator.types.d.ts +2 -9
  718. package/types/activities.types.cjs +1 -1
  719. package/types/activities.types.d.ts +13 -7
  720. package/types/activities.types.mjs +18 -18
  721. package/types/admin.types.cjs +1 -1
  722. package/types/admin.types.d.ts +11 -8
  723. package/types/admin.types.mjs +2 -2
  724. package/types/balances.types.d.ts +1 -1
  725. package/types/cache.types.cjs +1 -1
  726. package/types/cache.types.d.ts +12 -4
  727. package/types/cache.types.mjs +2 -2
  728. package/types/circom-data.types.d.ts +6 -14
  729. package/types/coingecko.types.d.ts +5 -0
  730. package/types/commitments.types.d.ts +4 -0
  731. package/types/connector.types.d.ts +1 -0
  732. package/types/ethereum-network.types.d.ts +1 -1
  733. package/types/events.types.cjs +1 -0
  734. package/types/events.types.d.ts +6 -0
  735. package/types/events.types.mjs +4 -0
  736. package/types/fee.types.cjs +1 -0
  737. package/types/fee.types.d.ts +4 -0
  738. package/types/fee.types.mjs +4 -0
  739. package/types/hinkal.types.cjs +1 -1
  740. package/types/hinkal.types.d.ts +5 -1
  741. package/types/hinkal.types.mjs +14 -13
  742. package/types/index.d.ts +5 -4
  743. package/types/onramp.types.cjs +1 -0
  744. package/types/onramp.types.d.ts +58 -0
  745. package/types/onramp.types.mjs +4 -0
  746. package/types/pay-activities.types.cjs +1 -0
  747. package/types/pay-activities.types.d.ts +29 -0
  748. package/types/pay-activities.types.mjs +6 -0
  749. package/types/proxy.types.d.ts +7 -3
  750. package/types/rewards.types.d.ts +1 -1
  751. package/types/sandbox.types.cjs +1 -1
  752. package/types/sandbox.types.d.ts +12 -72
  753. package/types/sandbox.types.mjs +2 -2
  754. package/types/schedule.types.cjs +1 -0
  755. package/types/schedule.types.d.ts +7 -0
  756. package/types/schedule.types.mjs +4 -0
  757. package/types/scheduled-transactions.types.d.ts +14 -0
  758. package/types/session.types.d.ts +2 -0
  759. package/types/solana.types.d.ts +10 -0
  760. package/types/token-prices.types.cjs +1 -1
  761. package/types/token-prices.types.d.ts +7 -0
  762. package/types/token-prices.types.mjs +4 -2
  763. package/types/transactions.types.d.ts +2 -2
  764. package/types/tron.types.d.ts +10 -0
  765. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -1
  766. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +1 -1
  767. package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +1 -1
  768. package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +31 -27
  769. package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
  770. package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
  771. package/webworker/utxoWorker/utxoWorkerLogic.cjs +1 -1
  772. package/webworker/utxoWorker/utxoWorkerLogic.mjs +1 -1
  773. package/webworker/viteWorkerURL.constant.cjs +3 -3
  774. package/webworker/viteWorkerURL.constant.mjs +3 -3
  775. package/webworker/zkProofWorker/zkProofWorker.types.d.ts +1 -2
  776. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  777. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
  778. package/webworker/zkProofWorker/zkProofWorkerLogic.cjs +1 -1
  779. package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +27 -28
  780. package/API/ai-calls.cjs +0 -1
  781. package/API/ai-calls.d.ts +0 -17
  782. package/API/ai-calls.mjs +0 -21
  783. package/API/duneAPI.cjs +0 -1
  784. package/API/duneAPI.d.ts +0 -11
  785. package/API/duneAPI.mjs +0 -25
  786. package/API/enclaveCalls.cjs +0 -1
  787. package/API/enclaveCalls.d.ts +0 -9
  788. package/API/enclaveCalls.mjs +0 -11
  789. package/API/getBridgeProtocols.cjs +0 -1
  790. package/API/getBridgeProtocols.d.ts +0 -7
  791. package/API/getBridgeProtocols.mjs +0 -8
  792. package/API/getLifiStatus.cjs +0 -1
  793. package/API/getLifiStatus.d.ts +0 -24
  794. package/API/getLifiStatus.mjs +0 -15
  795. package/API/getRelayerURL.cjs +0 -1
  796. package/API/getRelayerURL.d.ts +0 -1
  797. package/API/getRelayerURL.mjs +0 -10
  798. package/API/is-tx-stateless.cjs +0 -1
  799. package/API/is-tx-stateless.mjs +0 -20
  800. package/API/passwordCalls.cjs +0 -1
  801. package/API/passwordCalls.d.ts +0 -9
  802. package/API/passwordCalls.mjs +0 -13
  803. package/API/restoreSnapshots.cjs +0 -1
  804. package/API/restoreSnapshots.d.ts +0 -1
  805. package/API/restoreSnapshots.mjs +0 -10
  806. package/constants/token-data/popularTokens.constants.cjs +0 -1
  807. package/constants/token-data/popularTokens.constants.d.ts +0 -3
  808. package/constants/token-data/popularTokens.constants.mjs +0 -13
  809. package/constants/token-data/tokenPricing.consts.d.ts +0 -2
  810. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.cjs +0 -1
  811. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.d.ts +0 -7
  812. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.mjs +0 -42
  813. package/data-structures/Hinkal/hinkalApprove.cjs +0 -1
  814. package/data-structures/Hinkal/hinkalApprove.d.ts +0 -3
  815. package/data-structures/Hinkal/hinkalApprove.mjs +0 -114
  816. package/data-structures/Hinkal/hinkalDepostAndBridge.cjs +0 -1
  817. package/data-structures/Hinkal/hinkalDepostAndBridge.mjs +0 -230
  818. package/data-structures/Hinkal/hinkalInsideTransact.cjs +0 -1
  819. package/data-structures/Hinkal/hinkalInsideTransact.d.ts +0 -4
  820. package/data-structures/Hinkal/hinkalInsideTransact.mjs +0 -120
  821. package/error-handling/handleErrorRestore.cjs +0 -1
  822. package/error-handling/handleErrorRestore.d.ts +0 -2
  823. package/error-handling/handleErrorRestore.mjs +0 -11
  824. package/functions/kyc/authentoHelper.cjs +0 -1
  825. package/functions/kyc/authentoHelper.d.ts +0 -12
  826. package/functions/kyc/authentoHelper.mjs +0 -30
  827. package/functions/utils/ethers-formatter.utils.cjs +0 -1
  828. package/functions/utils/ethers-formatter.utils.d.ts +0 -5
  829. package/functions/utils/ethers-formatter.utils.mjs +0 -59
  830. package/functions/utils/get-hinkal-approvals.cjs +0 -1
  831. package/functions/utils/get-hinkal-approvals.d.ts +0 -3
  832. package/functions/utils/get-hinkal-approvals.mjs +0 -38
  833. package/functions/utils/replaceAddressInCalldata.cjs +0 -1
  834. package/functions/utils/replaceAddressInCalldata.d.ts +0 -1
  835. package/functions/utils/replaceAddressInCalldata.mjs +0 -7
  836. package/functions/web3/functionCalls/estimateGasRelayer.cjs +0 -1
  837. package/functions/web3/functionCalls/estimateGasRelayer.mjs +0 -22
  838. package/functions/web3/functionCalls/inHinkalApprovalCalls.cjs +0 -1
  839. package/functions/web3/functionCalls/inHinkalApprovalCalls.d.ts +0 -5
  840. package/functions/web3/functionCalls/inHinkalApprovalCalls.mjs +0 -29
  841. package/types/bridging.types.d.ts +0 -29
  842. package/types/duneAPI.types.d.ts +0 -9
  843. package/types/relayer.types.d.ts +0 -25
  844. package/types/routing.types.cjs +0 -1
  845. package/types/routing.types.d.ts +0 -7
  846. package/types/routing.types.mjs +0 -4
@@ -0,0 +1,4638 @@
1
+ const e = "0x4a4f166f07ee0e867dc6d02b4083da87713539d3", t = "0x239525705162c7fe10fa6beae29592f1e678945d", n = "0x675818f7740f68e7244310eb764a65e4e4a57769", a = "0x27243d36027c3bd454af52b25d9f4923e392fa5f", i = "0x7d0bedd640a63bb33167898b2dc1c43a23762e20", s = [
2
+ {
3
+ inputs: [
4
+ {
5
+ components: [
6
+ {
7
+ internalType: "uint128",
8
+ name: "levels",
9
+ type: "uint128"
10
+ },
11
+ {
12
+ internalType: "address",
13
+ name: "poseidon2",
14
+ type: "address"
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "poseidon4",
19
+ type: "address"
20
+ },
21
+ {
22
+ internalType: "address",
23
+ name: "poseidon5",
24
+ type: "address"
25
+ }
26
+ ],
27
+ internalType: "struct IMerkle.MerkleConstructorArgs",
28
+ name: "constructorArgs",
29
+ type: "tuple"
30
+ },
31
+ {
32
+ internalType: "address",
33
+ name: "_hinkalHelper",
34
+ type: "address"
35
+ },
36
+ {
37
+ internalType: "address",
38
+ name: "_hinkalInLogic",
39
+ type: "address"
40
+ },
41
+ {
42
+ internalType: "address",
43
+ name: "_hinkalHelperManager",
44
+ type: "address"
45
+ }
46
+ ],
47
+ stateMutability: "nonpayable",
48
+ type: "constructor"
49
+ },
50
+ {
51
+ anonymous: !1,
52
+ inputs: [
53
+ {
54
+ indexed: !1,
55
+ internalType: "address",
56
+ name: "approvalTarget",
57
+ type: "address"
58
+ },
59
+ {
60
+ indexed: !1,
61
+ internalType: "address",
62
+ name: "tokenAddress",
63
+ type: "address"
64
+ },
65
+ {
66
+ indexed: !1,
67
+ internalType: "uint256",
68
+ name: "inHinkalAddress",
69
+ type: "uint256"
70
+ }
71
+ ],
72
+ name: "BufferReleased",
73
+ type: "event"
74
+ },
75
+ {
76
+ anonymous: !1,
77
+ inputs: [
78
+ {
79
+ indexed: !1,
80
+ internalType: "address",
81
+ name: "externalActionAddress",
82
+ type: "address"
83
+ }
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
+ {
253
+ indexed: !1,
254
+ internalType: "uint256",
255
+ name: "nullifier",
256
+ type: "uint256"
257
+ }
258
+ ],
259
+ name: "Nullified",
260
+ type: "event"
261
+ },
262
+ {
263
+ anonymous: !1,
264
+ inputs: [
265
+ {
266
+ indexed: !0,
267
+ internalType: "address",
268
+ name: "previousOwner",
269
+ type: "address"
270
+ },
271
+ {
272
+ indexed: !0,
273
+ internalType: "address",
274
+ name: "newOwner",
275
+ type: "address"
276
+ }
277
+ ],
278
+ name: "OwnershipTransferStarted",
279
+ type: "event"
280
+ },
281
+ {
282
+ anonymous: !1,
283
+ inputs: [
284
+ {
285
+ indexed: !0,
286
+ internalType: "address",
287
+ name: "previousOwner",
288
+ type: "address"
289
+ },
290
+ {
291
+ indexed: !0,
292
+ internalType: "address",
293
+ name: "newOwner",
294
+ type: "address"
295
+ }
296
+ ],
297
+ name: "OwnershipTransferred",
298
+ type: "event"
299
+ },
300
+ {
301
+ anonymous: !1,
302
+ inputs: [
303
+ {
304
+ indexed: !0,
305
+ internalType: "bytes32",
306
+ name: "role",
307
+ type: "bytes32"
308
+ },
309
+ {
310
+ indexed: !0,
311
+ internalType: "bytes32",
312
+ name: "previousAdminRole",
313
+ type: "bytes32"
314
+ },
315
+ {
316
+ indexed: !0,
317
+ internalType: "bytes32",
318
+ name: "newAdminRole",
319
+ type: "bytes32"
320
+ }
321
+ ],
322
+ name: "RoleAdminChanged",
323
+ type: "event"
324
+ },
325
+ {
326
+ anonymous: !1,
327
+ inputs: [
328
+ {
329
+ indexed: !0,
330
+ internalType: "bytes32",
331
+ name: "role",
332
+ type: "bytes32"
333
+ },
334
+ {
335
+ indexed: !0,
336
+ internalType: "address",
337
+ name: "account",
338
+ type: "address"
339
+ },
340
+ {
341
+ indexed: !0,
342
+ internalType: "address",
343
+ name: "sender",
344
+ type: "address"
345
+ }
346
+ ],
347
+ name: "RoleGranted",
348
+ type: "event"
349
+ },
350
+ {
351
+ anonymous: !1,
352
+ inputs: [
353
+ {
354
+ indexed: !0,
355
+ internalType: "bytes32",
356
+ name: "role",
357
+ type: "bytes32"
358
+ },
359
+ {
360
+ indexed: !0,
361
+ internalType: "address",
362
+ name: "account",
363
+ type: "address"
364
+ },
365
+ {
366
+ indexed: !0,
367
+ internalType: "address",
368
+ name: "sender",
369
+ type: "address"
370
+ }
371
+ ],
372
+ name: "RoleRevoked",
373
+ type: "event"
374
+ },
375
+ {
376
+ anonymous: !1,
377
+ inputs: [
378
+ {
379
+ indexed: !1,
380
+ internalType: "uint256",
381
+ name: "verifierId",
382
+ type: "uint256"
383
+ },
384
+ {
385
+ indexed: !1,
386
+ internalType: "address",
387
+ name: "verifierAddress",
388
+ type: "address"
389
+ }
390
+ ],
391
+ name: "VerifierRegistered",
392
+ type: "event"
393
+ },
394
+ {
395
+ anonymous: !1,
396
+ inputs: [
397
+ {
398
+ indexed: !1,
399
+ internalType: "uint256",
400
+ name: "verifierId",
401
+ type: "uint256"
402
+ }
403
+ ],
404
+ name: "VerifierRemoved",
405
+ type: "event"
406
+ },
407
+ {
408
+ inputs: [],
409
+ name: "DEFAULT_ADMIN_ROLE",
410
+ outputs: [
411
+ {
412
+ internalType: "bytes32",
413
+ name: "",
414
+ type: "bytes32"
415
+ }
416
+ ],
417
+ stateMutability: "view",
418
+ type: "function"
419
+ },
420
+ {
421
+ inputs: [],
422
+ name: "HINKAL_HELPER_MANAGER",
423
+ outputs: [
424
+ {
425
+ internalType: "bytes32",
426
+ name: "",
427
+ type: "bytes32"
428
+ }
429
+ ],
430
+ stateMutability: "view",
431
+ type: "function"
432
+ },
433
+ {
434
+ inputs: [],
435
+ name: "acceptOwnership",
436
+ outputs: [],
437
+ stateMutability: "nonpayable",
438
+ type: "function"
439
+ },
440
+ {
441
+ inputs: [
442
+ {
443
+ internalType: "address[]",
444
+ name: "approvalTargets",
445
+ type: "address[]"
446
+ },
447
+ {
448
+ internalType: "uint256[][]",
449
+ name: "indexes",
450
+ type: "uint256[][]"
451
+ }
452
+ ],
453
+ name: "bufferApprovals",
454
+ outputs: [],
455
+ stateMutability: "nonpayable",
456
+ type: "function"
457
+ },
458
+ {
459
+ inputs: [
460
+ {
461
+ components: [
462
+ {
463
+ internalType: "uint16",
464
+ name: "tokenNumber",
465
+ type: "uint16"
466
+ },
467
+ {
468
+ internalType: "uint16",
469
+ name: "nullifierAmount",
470
+ type: "uint16"
471
+ },
472
+ {
473
+ internalType: "uint16",
474
+ name: "outputAmount",
475
+ type: "uint16"
476
+ }
477
+ ],
478
+ internalType: "struct Dimensions",
479
+ name: "dimensions",
480
+ type: "tuple"
481
+ },
482
+ {
483
+ internalType: "uint256",
484
+ name: "externalActionId",
485
+ type: "uint256"
486
+ }
487
+ ],
488
+ name: "buildVerifierId",
489
+ outputs: [
490
+ {
491
+ internalType: "uint256",
492
+ name: "",
493
+ type: "uint256"
494
+ }
495
+ ],
496
+ stateMutability: "pure",
497
+ type: "function"
498
+ },
499
+ {
500
+ inputs: [
501
+ {
502
+ internalType: "uint256",
503
+ name: "",
504
+ type: "uint256"
505
+ }
506
+ ],
507
+ name: "externalActionMap",
508
+ outputs: [
509
+ {
510
+ internalType: "address",
511
+ name: "",
512
+ type: "address"
513
+ }
514
+ ],
515
+ stateMutability: "view",
516
+ type: "function"
517
+ },
518
+ {
519
+ inputs: [
520
+ {
521
+ internalType: "address",
522
+ name: "approveTo",
523
+ type: "address"
524
+ },
525
+ {
526
+ internalType: "address",
527
+ name: "tokenAddress",
528
+ type: "address"
529
+ },
530
+ {
531
+ internalType: "uint256",
532
+ name: "inHinkalAddress",
533
+ type: "uint256"
534
+ }
535
+ ],
536
+ name: "getBufferEntry",
537
+ outputs: [
538
+ {
539
+ internalType: "uint256",
540
+ name: "",
541
+ type: "uint256"
542
+ }
543
+ ],
544
+ stateMutability: "nonpayable",
545
+ type: "function"
546
+ },
547
+ {
548
+ inputs: [
549
+ {
550
+ internalType: "address",
551
+ name: "interaction",
552
+ type: "address"
553
+ }
554
+ ],
555
+ name: "getInteractionApprovals",
556
+ outputs: [
557
+ {
558
+ components: [
559
+ {
560
+ internalType: "address",
561
+ name: "tokenAddress",
562
+ type: "address"
563
+ },
564
+ {
565
+ internalType: "uint256",
566
+ name: "amount",
567
+ type: "uint256"
568
+ },
569
+ {
570
+ internalType: "uint256",
571
+ name: "inHinkalAddress",
572
+ type: "uint256"
573
+ }
574
+ ],
575
+ internalType: "struct ApprovedUtxo[]",
576
+ name: "approvedUtxos",
577
+ type: "tuple[]"
578
+ }
579
+ ],
580
+ stateMutability: "nonpayable",
581
+ type: "function"
582
+ },
583
+ {
584
+ inputs: [
585
+ {
586
+ internalType: "bytes32",
587
+ name: "role",
588
+ type: "bytes32"
589
+ }
590
+ ],
591
+ name: "getRoleAdmin",
592
+ outputs: [
593
+ {
594
+ internalType: "bytes32",
595
+ name: "",
596
+ type: "bytes32"
597
+ }
598
+ ],
599
+ stateMutability: "view",
600
+ type: "function"
601
+ },
602
+ {
603
+ inputs: [],
604
+ name: "getRootHash",
605
+ outputs: [
606
+ {
607
+ internalType: "uint256",
608
+ name: "",
609
+ type: "uint256"
610
+ }
611
+ ],
612
+ stateMutability: "view",
613
+ type: "function"
614
+ },
615
+ {
616
+ inputs: [
617
+ {
618
+ internalType: "bytes32",
619
+ name: "role",
620
+ type: "bytes32"
621
+ },
622
+ {
623
+ internalType: "address",
624
+ name: "account",
625
+ type: "address"
626
+ }
627
+ ],
628
+ name: "grantRole",
629
+ outputs: [],
630
+ stateMutability: "nonpayable",
631
+ type: "function"
632
+ },
633
+ {
634
+ inputs: [
635
+ {
636
+ internalType: "bytes32",
637
+ name: "role",
638
+ type: "bytes32"
639
+ },
640
+ {
641
+ internalType: "address",
642
+ name: "account",
643
+ type: "address"
644
+ }
645
+ ],
646
+ name: "hasRole",
647
+ outputs: [
648
+ {
649
+ internalType: "bool",
650
+ name: "",
651
+ type: "bool"
652
+ }
653
+ ],
654
+ stateMutability: "view",
655
+ type: "function"
656
+ },
657
+ {
658
+ inputs: [
659
+ {
660
+ internalType: "uint256",
661
+ name: "a",
662
+ type: "uint256"
663
+ },
664
+ {
665
+ internalType: "uint256",
666
+ name: "b",
667
+ type: "uint256"
668
+ }
669
+ ],
670
+ name: "hash2",
671
+ outputs: [
672
+ {
673
+ internalType: "uint256",
674
+ name: "poseidonHash",
675
+ type: "uint256"
676
+ }
677
+ ],
678
+ stateMutability: "view",
679
+ type: "function"
680
+ },
681
+ {
682
+ inputs: [
683
+ {
684
+ internalType: "uint256",
685
+ name: "a0",
686
+ type: "uint256"
687
+ },
688
+ {
689
+ internalType: "uint256",
690
+ name: "a1",
691
+ type: "uint256"
692
+ },
693
+ {
694
+ internalType: "uint256",
695
+ name: "a2",
696
+ type: "uint256"
697
+ },
698
+ {
699
+ internalType: "uint256",
700
+ name: "a3",
701
+ type: "uint256"
702
+ }
703
+ ],
704
+ name: "hash4",
705
+ outputs: [
706
+ {
707
+ internalType: "uint256",
708
+ name: "poseidonHash",
709
+ type: "uint256"
710
+ }
711
+ ],
712
+ stateMutability: "view",
713
+ type: "function"
714
+ },
715
+ {
716
+ inputs: [
717
+ {
718
+ internalType: "uint256",
719
+ name: "a0",
720
+ type: "uint256"
721
+ },
722
+ {
723
+ internalType: "uint256",
724
+ name: "a1",
725
+ type: "uint256"
726
+ },
727
+ {
728
+ internalType: "uint256",
729
+ name: "a2",
730
+ type: "uint256"
731
+ },
732
+ {
733
+ internalType: "uint256",
734
+ name: "a3",
735
+ type: "uint256"
736
+ },
737
+ {
738
+ internalType: "uint256",
739
+ name: "a4",
740
+ type: "uint256"
741
+ }
742
+ ],
743
+ name: "hash5",
744
+ outputs: [
745
+ {
746
+ internalType: "uint256",
747
+ name: "poseidonHash",
748
+ type: "uint256"
749
+ }
750
+ ],
751
+ stateMutability: "view",
752
+ type: "function"
753
+ },
754
+ {
755
+ inputs: [],
756
+ name: "hinkalHelper",
757
+ outputs: [
758
+ {
759
+ internalType: "contract IHinkalHelper",
760
+ name: "",
761
+ type: "address"
762
+ }
763
+ ],
764
+ stateMutability: "view",
765
+ type: "function"
766
+ },
767
+ {
768
+ inputs: [],
769
+ name: "hinkalInLogic",
770
+ outputs: [
771
+ {
772
+ internalType: "contract IHinkalInLogic",
773
+ name: "",
774
+ type: "address"
775
+ }
776
+ ],
777
+ stateMutability: "view",
778
+ type: "function"
779
+ },
780
+ {
781
+ inputs: [
782
+ {
783
+ internalType: "uint256",
784
+ name: "x",
785
+ type: "uint256"
786
+ }
787
+ ],
788
+ name: "logarithm2",
789
+ outputs: [
790
+ {
791
+ internalType: "uint256",
792
+ name: "y",
793
+ type: "uint256"
794
+ }
795
+ ],
796
+ stateMutability: "pure",
797
+ type: "function"
798
+ },
799
+ {
800
+ inputs: [],
801
+ name: "m_index",
802
+ outputs: [
803
+ {
804
+ internalType: "uint256",
805
+ name: "",
806
+ type: "uint256"
807
+ }
808
+ ],
809
+ stateMutability: "view",
810
+ type: "function"
811
+ },
812
+ {
813
+ inputs: [
814
+ {
815
+ internalType: "uint256",
816
+ name: "",
817
+ type: "uint256"
818
+ }
819
+ ],
820
+ name: "nullifiers",
821
+ outputs: [
822
+ {
823
+ internalType: "bool",
824
+ name: "",
825
+ type: "bool"
826
+ }
827
+ ],
828
+ stateMutability: "view",
829
+ type: "function"
830
+ },
831
+ {
832
+ inputs: [
833
+ {
834
+ internalType: "address",
835
+ name: "",
836
+ type: "address"
837
+ },
838
+ {
839
+ internalType: "address",
840
+ name: "",
841
+ type: "address"
842
+ },
843
+ {
844
+ internalType: "uint256",
845
+ name: "",
846
+ type: "uint256"
847
+ },
848
+ {
849
+ internalType: "bytes",
850
+ name: "",
851
+ type: "bytes"
852
+ }
853
+ ],
854
+ name: "onERC721Received",
855
+ outputs: [
856
+ {
857
+ internalType: "bytes4",
858
+ name: "",
859
+ type: "bytes4"
860
+ }
861
+ ],
862
+ stateMutability: "pure",
863
+ type: "function"
864
+ },
865
+ {
866
+ inputs: [],
867
+ name: "owner",
868
+ outputs: [
869
+ {
870
+ internalType: "address",
871
+ name: "",
872
+ type: "address"
873
+ }
874
+ ],
875
+ stateMutability: "view",
876
+ type: "function"
877
+ },
878
+ {
879
+ inputs: [],
880
+ name: "pendingOwner",
881
+ outputs: [
882
+ {
883
+ internalType: "address",
884
+ name: "",
885
+ type: "address"
886
+ }
887
+ ],
888
+ stateMutability: "view",
889
+ type: "function"
890
+ },
891
+ {
892
+ inputs: [],
893
+ name: "poseidon2",
894
+ outputs: [
895
+ {
896
+ internalType: "contract IPoseidon2",
897
+ name: "",
898
+ type: "address"
899
+ }
900
+ ],
901
+ stateMutability: "view",
902
+ type: "function"
903
+ },
904
+ {
905
+ inputs: [],
906
+ name: "poseidon4",
907
+ outputs: [
908
+ {
909
+ internalType: "contract IPoseidon4",
910
+ name: "",
911
+ type: "address"
912
+ }
913
+ ],
914
+ stateMutability: "view",
915
+ type: "function"
916
+ },
917
+ {
918
+ inputs: [],
919
+ name: "poseidon5",
920
+ outputs: [
921
+ {
922
+ internalType: "contract IPoseidon5",
923
+ name: "",
924
+ type: "address"
925
+ }
926
+ ],
927
+ stateMutability: "view",
928
+ type: "function"
929
+ },
930
+ {
931
+ inputs: [
932
+ {
933
+ internalType: "address[]",
934
+ name: "erc20Addresses",
935
+ type: "address[]"
936
+ },
937
+ {
938
+ internalType: "uint256[]",
939
+ name: "amounts",
940
+ type: "uint256[]"
941
+ },
942
+ {
943
+ internalType: "uint256[]",
944
+ name: "tokenIds",
945
+ type: "uint256[]"
946
+ },
947
+ {
948
+ components: [
949
+ {
950
+ internalType: "uint256",
951
+ name: "extraRandomization",
952
+ type: "uint256"
953
+ },
954
+ {
955
+ internalType: "uint256",
956
+ name: "stealthAddress",
957
+ type: "uint256"
958
+ },
959
+ {
960
+ internalType: "uint256",
961
+ name: "H0",
962
+ type: "uint256"
963
+ },
964
+ {
965
+ internalType: "uint256",
966
+ name: "H1",
967
+ type: "uint256"
968
+ }
969
+ ],
970
+ internalType: "struct StealthAddressStructure[]",
971
+ name: "stealthAddressStructures",
972
+ type: "tuple[]"
973
+ }
974
+ ],
975
+ name: "prooflessDeposit",
976
+ outputs: [],
977
+ stateMutability: "payable",
978
+ type: "function"
979
+ },
980
+ {
981
+ inputs: [
982
+ {
983
+ internalType: "uint256",
984
+ name: "externalActionId",
985
+ type: "uint256"
986
+ },
987
+ {
988
+ internalType: "address",
989
+ name: "externalActionAddress",
990
+ type: "address"
991
+ }
992
+ ],
993
+ name: "registerExternalAction",
994
+ outputs: [],
995
+ stateMutability: "nonpayable",
996
+ type: "function"
997
+ },
998
+ {
999
+ inputs: [
1000
+ {
1001
+ internalType: "uint256[]",
1002
+ name: "verifierIds",
1003
+ type: "uint256[]"
1004
+ },
1005
+ {
1006
+ internalType: "address[]",
1007
+ name: "verifierAddresses",
1008
+ type: "address[]"
1009
+ }
1010
+ ],
1011
+ name: "registerVerifiers",
1012
+ outputs: [],
1013
+ stateMutability: "nonpayable",
1014
+ type: "function"
1015
+ },
1016
+ {
1017
+ inputs: [
1018
+ {
1019
+ internalType: "uint256",
1020
+ name: "verifierId",
1021
+ type: "uint256"
1022
+ }
1023
+ ],
1024
+ name: "removeVerifier",
1025
+ outputs: [],
1026
+ stateMutability: "nonpayable",
1027
+ type: "function"
1028
+ },
1029
+ {
1030
+ inputs: [],
1031
+ name: "renounceOwnership",
1032
+ outputs: [],
1033
+ stateMutability: "view",
1034
+ type: "function"
1035
+ },
1036
+ {
1037
+ inputs: [
1038
+ {
1039
+ internalType: "bytes32",
1040
+ name: "role",
1041
+ type: "bytes32"
1042
+ },
1043
+ {
1044
+ internalType: "address",
1045
+ name: "account",
1046
+ type: "address"
1047
+ }
1048
+ ],
1049
+ name: "renounceRole",
1050
+ outputs: [],
1051
+ stateMutability: "nonpayable",
1052
+ type: "function"
1053
+ },
1054
+ {
1055
+ inputs: [
1056
+ {
1057
+ internalType: "bytes32",
1058
+ name: "role",
1059
+ type: "bytes32"
1060
+ },
1061
+ {
1062
+ internalType: "address",
1063
+ name: "account",
1064
+ type: "address"
1065
+ }
1066
+ ],
1067
+ name: "revokeRole",
1068
+ outputs: [],
1069
+ stateMutability: "nonpayable",
1070
+ type: "function"
1071
+ },
1072
+ {
1073
+ inputs: [
1074
+ {
1075
+ internalType: "uint256",
1076
+ name: "_root",
1077
+ type: "uint256"
1078
+ }
1079
+ ],
1080
+ name: "rootHashExists",
1081
+ outputs: [
1082
+ {
1083
+ internalType: "bool",
1084
+ name: "",
1085
+ type: "bool"
1086
+ }
1087
+ ],
1088
+ stateMutability: "view",
1089
+ type: "function"
1090
+ },
1091
+ {
1092
+ inputs: [],
1093
+ name: "rootIndex",
1094
+ outputs: [
1095
+ {
1096
+ internalType: "uint256",
1097
+ name: "",
1098
+ type: "uint256"
1099
+ }
1100
+ ],
1101
+ stateMutability: "view",
1102
+ type: "function"
1103
+ },
1104
+ {
1105
+ inputs: [
1106
+ {
1107
+ internalType: "uint256",
1108
+ name: "",
1109
+ type: "uint256"
1110
+ }
1111
+ ],
1112
+ name: "roots",
1113
+ outputs: [
1114
+ {
1115
+ internalType: "uint256",
1116
+ name: "",
1117
+ type: "uint256"
1118
+ }
1119
+ ],
1120
+ stateMutability: "view",
1121
+ type: "function"
1122
+ },
1123
+ {
1124
+ inputs: [
1125
+ {
1126
+ internalType: "address",
1127
+ name: "_hinkalHelper",
1128
+ type: "address"
1129
+ }
1130
+ ],
1131
+ name: "setHinkalHelper",
1132
+ outputs: [],
1133
+ stateMutability: "nonpayable",
1134
+ type: "function"
1135
+ },
1136
+ {
1137
+ inputs: [
1138
+ {
1139
+ internalType: "address",
1140
+ name: "_hinkalLogic",
1141
+ type: "address"
1142
+ }
1143
+ ],
1144
+ name: "setHinkalLogic",
1145
+ outputs: [],
1146
+ stateMutability: "nonpayable",
1147
+ type: "function"
1148
+ },
1149
+ {
1150
+ inputs: [
1151
+ {
1152
+ internalType: "bytes4",
1153
+ name: "interfaceId",
1154
+ type: "bytes4"
1155
+ }
1156
+ ],
1157
+ name: "supportsInterface",
1158
+ outputs: [
1159
+ {
1160
+ internalType: "bool",
1161
+ name: "",
1162
+ type: "bool"
1163
+ }
1164
+ ],
1165
+ stateMutability: "view",
1166
+ type: "function"
1167
+ },
1168
+ {
1169
+ inputs: [
1170
+ {
1171
+ components: [
1172
+ {
1173
+ internalType: "uint8",
1174
+ name: "v",
1175
+ type: "uint8"
1176
+ },
1177
+ {
1178
+ internalType: "bytes32",
1179
+ name: "r",
1180
+ type: "bytes32"
1181
+ },
1182
+ {
1183
+ internalType: "bytes32",
1184
+ name: "s",
1185
+ type: "bytes32"
1186
+ }
1187
+ ],
1188
+ internalType: "struct Signature",
1189
+ name: "proofSignature",
1190
+ type: "tuple"
1191
+ },
1192
+ {
1193
+ internalType: "uint256[2]",
1194
+ name: "a",
1195
+ type: "uint256[2]"
1196
+ },
1197
+ {
1198
+ internalType: "uint256[2][2]",
1199
+ name: "b",
1200
+ type: "uint256[2][2]"
1201
+ },
1202
+ {
1203
+ internalType: "uint256[2]",
1204
+ name: "c",
1205
+ type: "uint256[2]"
1206
+ },
1207
+ {
1208
+ components: [
1209
+ {
1210
+ internalType: "uint16",
1211
+ name: "tokenNumber",
1212
+ type: "uint16"
1213
+ },
1214
+ {
1215
+ internalType: "uint16",
1216
+ name: "nullifierAmount",
1217
+ type: "uint16"
1218
+ },
1219
+ {
1220
+ internalType: "uint16",
1221
+ name: "outputAmount",
1222
+ type: "uint16"
1223
+ }
1224
+ ],
1225
+ internalType: "struct Dimensions",
1226
+ name: "dimensions",
1227
+ type: "tuple"
1228
+ },
1229
+ {
1230
+ components: [
1231
+ {
1232
+ internalType: "uint256",
1233
+ name: "rootHashHinkal",
1234
+ type: "uint256"
1235
+ },
1236
+ {
1237
+ internalType: "address[]",
1238
+ name: "erc20TokenAddresses",
1239
+ type: "address[]"
1240
+ },
1241
+ {
1242
+ internalType: "uint256[]",
1243
+ name: "tokenIds",
1244
+ type: "uint256[]"
1245
+ },
1246
+ {
1247
+ internalType: "int256[]",
1248
+ name: "amountChanges",
1249
+ type: "int256[]"
1250
+ },
1251
+ {
1252
+ internalType: "bool[]",
1253
+ name: "onChainCreation",
1254
+ type: "bool[]"
1255
+ },
1256
+ {
1257
+ internalType: "int256[]",
1258
+ name: "slippageValues",
1259
+ type: "int256[]"
1260
+ },
1261
+ {
1262
+ internalType: "uint256[][]",
1263
+ name: "inputNullifiers",
1264
+ type: "uint256[][]"
1265
+ },
1266
+ {
1267
+ internalType: "uint256[][]",
1268
+ name: "outCommitments",
1269
+ type: "uint256[][]"
1270
+ },
1271
+ {
1272
+ internalType: "bytes[][]",
1273
+ name: "encryptedOutputs",
1274
+ type: "bytes[][]"
1275
+ },
1276
+ {
1277
+ components: [
1278
+ {
1279
+ internalType: "address",
1280
+ name: "feeToken",
1281
+ type: "address"
1282
+ },
1283
+ {
1284
+ internalType: "uint256",
1285
+ name: "flatFee",
1286
+ type: "uint256"
1287
+ },
1288
+ {
1289
+ internalType: "uint256",
1290
+ name: "variableRate",
1291
+ type: "uint256"
1292
+ }
1293
+ ],
1294
+ internalType: "struct FeeStructure",
1295
+ name: "feeStructure",
1296
+ type: "tuple"
1297
+ },
1298
+ {
1299
+ internalType: "uint256",
1300
+ name: "timeStamp",
1301
+ type: "uint256"
1302
+ },
1303
+ {
1304
+ components: [
1305
+ {
1306
+ internalType: "uint256",
1307
+ name: "extraRandomization",
1308
+ type: "uint256"
1309
+ },
1310
+ {
1311
+ internalType: "uint256",
1312
+ name: "stealthAddress",
1313
+ type: "uint256"
1314
+ },
1315
+ {
1316
+ internalType: "uint256",
1317
+ name: "H0",
1318
+ type: "uint256"
1319
+ },
1320
+ {
1321
+ internalType: "uint256",
1322
+ name: "H1",
1323
+ type: "uint256"
1324
+ }
1325
+ ],
1326
+ internalType: "struct StealthAddressStructure",
1327
+ name: "stealthAddressStructure",
1328
+ type: "tuple"
1329
+ },
1330
+ {
1331
+ internalType: "uint256",
1332
+ name: "rootHashAccessToken",
1333
+ type: "uint256"
1334
+ },
1335
+ {
1336
+ internalType: "uint256",
1337
+ name: "calldataHash",
1338
+ type: "uint256"
1339
+ },
1340
+ {
1341
+ internalType: "uint16",
1342
+ name: "publicSignalCount",
1343
+ type: "uint16"
1344
+ },
1345
+ {
1346
+ internalType: "address",
1347
+ name: "relay",
1348
+ type: "address"
1349
+ },
1350
+ {
1351
+ internalType: "address",
1352
+ name: "externalAddress",
1353
+ type: "address"
1354
+ },
1355
+ {
1356
+ internalType: "uint256",
1357
+ name: "externalActionId",
1358
+ type: "uint256"
1359
+ },
1360
+ {
1361
+ internalType: "bytes",
1362
+ name: "externalActionMetadata",
1363
+ type: "bytes"
1364
+ },
1365
+ {
1366
+ components: [
1367
+ {
1368
+ internalType: "uint256",
1369
+ name: "hinkalLogicAction",
1370
+ type: "uint256"
1371
+ },
1372
+ {
1373
+ internalType: "uint256",
1374
+ name: "inHinkalAddress",
1375
+ type: "uint256"
1376
+ },
1377
+ {
1378
+ internalType: "int256[]",
1379
+ name: "executeApprovalChanges",
1380
+ type: "int256[]"
1381
+ },
1382
+ {
1383
+ internalType: "bool",
1384
+ name: "doPreTxApproval",
1385
+ type: "bool"
1386
+ },
1387
+ {
1388
+ components: [
1389
+ {
1390
+ internalType: "int256[]",
1391
+ name: "approvalChanges",
1392
+ type: "int256[]"
1393
+ },
1394
+ {
1395
+ internalType: "address[]",
1396
+ name: "externalApprovalAddresses",
1397
+ type: "address[]"
1398
+ },
1399
+ {
1400
+ internalType: "uint256[]",
1401
+ name: "conversionInHinkalAddress",
1402
+ type: "uint256[]"
1403
+ }
1404
+ ],
1405
+ internalType: "struct UseApprovalUTXOData[]",
1406
+ name: "useApprovalUtxoData",
1407
+ type: "tuple[]"
1408
+ }
1409
+ ],
1410
+ internalType: "struct HinkalLogicArgs",
1411
+ name: "hinkalLogicArgs",
1412
+ type: "tuple"
1413
+ },
1414
+ {
1415
+ components: [
1416
+ {
1417
+ internalType: "address",
1418
+ name: "preHookContract",
1419
+ type: "address"
1420
+ },
1421
+ {
1422
+ internalType: "address",
1423
+ name: "hookContract",
1424
+ type: "address"
1425
+ },
1426
+ {
1427
+ internalType: "bytes",
1428
+ name: "preHookMetadata",
1429
+ type: "bytes"
1430
+ },
1431
+ {
1432
+ internalType: "bytes",
1433
+ name: "postHookMetadata",
1434
+ type: "bytes"
1435
+ }
1436
+ ],
1437
+ internalType: "struct HookData",
1438
+ name: "hookData",
1439
+ type: "tuple"
1440
+ },
1441
+ {
1442
+ components: [
1443
+ {
1444
+ internalType: "uint8",
1445
+ name: "v",
1446
+ type: "uint8"
1447
+ },
1448
+ {
1449
+ internalType: "bytes32",
1450
+ name: "r",
1451
+ type: "bytes32"
1452
+ },
1453
+ {
1454
+ internalType: "bytes32",
1455
+ name: "s",
1456
+ type: "bytes32"
1457
+ },
1458
+ {
1459
+ internalType: "uint256",
1460
+ name: "accessKey",
1461
+ type: "uint256"
1462
+ },
1463
+ {
1464
+ internalType: "uint256",
1465
+ name: "nonce",
1466
+ type: "uint256"
1467
+ },
1468
+ {
1469
+ internalType: "address",
1470
+ name: "ethereumAddress",
1471
+ type: "address"
1472
+ }
1473
+ ],
1474
+ internalType: "struct SignatureData",
1475
+ name: "signatureData",
1476
+ type: "tuple"
1477
+ },
1478
+ {
1479
+ internalType: "address",
1480
+ name: "originalSender",
1481
+ type: "address"
1482
+ }
1483
+ ],
1484
+ internalType: "struct CircomData",
1485
+ name: "circomData",
1486
+ type: "tuple"
1487
+ }
1488
+ ],
1489
+ name: "transact",
1490
+ outputs: [],
1491
+ stateMutability: "payable",
1492
+ type: "function"
1493
+ },
1494
+ {
1495
+ inputs: [
1496
+ {
1497
+ internalType: "address",
1498
+ name: "newOwner",
1499
+ type: "address"
1500
+ }
1501
+ ],
1502
+ name: "transferOwnership",
1503
+ outputs: [],
1504
+ stateMutability: "nonpayable",
1505
+ type: "function"
1506
+ },
1507
+ {
1508
+ inputs: [
1509
+ {
1510
+ internalType: "uint256",
1511
+ name: "",
1512
+ type: "uint256"
1513
+ }
1514
+ ],
1515
+ name: "tree",
1516
+ outputs: [
1517
+ {
1518
+ internalType: "uint256",
1519
+ name: "",
1520
+ type: "uint256"
1521
+ }
1522
+ ],
1523
+ stateMutability: "view",
1524
+ type: "function"
1525
+ },
1526
+ {
1527
+ inputs: [
1528
+ {
1529
+ internalType: "uint256",
1530
+ name: "",
1531
+ type: "uint256"
1532
+ }
1533
+ ],
1534
+ name: "verifierMap",
1535
+ outputs: [
1536
+ {
1537
+ internalType: "contract IVerifier",
1538
+ name: "",
1539
+ type: "address"
1540
+ }
1541
+ ],
1542
+ stateMutability: "view",
1543
+ type: "function"
1544
+ },
1545
+ {
1546
+ stateMutability: "payable",
1547
+ type: "receive"
1548
+ }
1549
+ ], p = [
1550
+ {
1551
+ inputs: [
1552
+ {
1553
+ internalType: "bool",
1554
+ name: "_enabled",
1555
+ type: "bool"
1556
+ },
1557
+ {
1558
+ internalType: "address",
1559
+ name: "_accessToken",
1560
+ type: "address"
1561
+ },
1562
+ {
1563
+ internalType: "uint256[]",
1564
+ name: "_stakeCircuitIds",
1565
+ type: "uint256[]"
1566
+ },
1567
+ {
1568
+ internalType: "address[]",
1569
+ name: "_gasTokens",
1570
+ type: "address[]"
1571
+ },
1572
+ {
1573
+ internalType: "address[]",
1574
+ name: "_initialRelays",
1575
+ type: "address[]"
1576
+ },
1577
+ {
1578
+ internalType: "address[]",
1579
+ name: "_limitTokens",
1580
+ type: "address[]"
1581
+ },
1582
+ {
1583
+ internalType: "uint256[]",
1584
+ name: "_tokenLimits",
1585
+ type: "uint256[]"
1586
+ }
1587
+ ],
1588
+ stateMutability: "nonpayable",
1589
+ type: "constructor"
1590
+ },
1591
+ {
1592
+ anonymous: !1,
1593
+ inputs: [
1594
+ {
1595
+ indexed: !1,
1596
+ internalType: "address",
1597
+ name: "erc20Token",
1598
+ type: "address"
1599
+ }
1600
+ ],
1601
+ name: "GasTokenAdded",
1602
+ type: "event"
1603
+ },
1604
+ {
1605
+ anonymous: !1,
1606
+ inputs: [
1607
+ {
1608
+ indexed: !1,
1609
+ internalType: "address",
1610
+ name: "erc20Token",
1611
+ type: "address"
1612
+ }
1613
+ ],
1614
+ name: "GasTokenRemoved",
1615
+ type: "event"
1616
+ },
1617
+ {
1618
+ anonymous: !1,
1619
+ inputs: [
1620
+ {
1621
+ indexed: !0,
1622
+ internalType: "address",
1623
+ name: "previousOwner",
1624
+ type: "address"
1625
+ },
1626
+ {
1627
+ indexed: !0,
1628
+ internalType: "address",
1629
+ name: "newOwner",
1630
+ type: "address"
1631
+ }
1632
+ ],
1633
+ name: "OwnershipTransferred",
1634
+ type: "event"
1635
+ },
1636
+ {
1637
+ anonymous: !1,
1638
+ inputs: [
1639
+ {
1640
+ indexed: !1,
1641
+ internalType: "bool",
1642
+ name: "isEnabled",
1643
+ type: "bool"
1644
+ }
1645
+ ],
1646
+ name: "RegistryStateChanged",
1647
+ type: "event"
1648
+ },
1649
+ {
1650
+ anonymous: !1,
1651
+ inputs: [
1652
+ {
1653
+ indexed: !1,
1654
+ internalType: "address",
1655
+ name: "relayAddress",
1656
+ type: "address"
1657
+ }
1658
+ ],
1659
+ name: "RelayAdded",
1660
+ type: "event"
1661
+ },
1662
+ {
1663
+ anonymous: !1,
1664
+ inputs: [
1665
+ {
1666
+ indexed: !1,
1667
+ internalType: "address",
1668
+ name: "relayAddress",
1669
+ type: "address"
1670
+ }
1671
+ ],
1672
+ name: "RelayRemoved",
1673
+ type: "event"
1674
+ },
1675
+ {
1676
+ anonymous: !1,
1677
+ inputs: [
1678
+ {
1679
+ indexed: !1,
1680
+ internalType: "address",
1681
+ name: "erc20Token",
1682
+ type: "address"
1683
+ },
1684
+ {
1685
+ indexed: !1,
1686
+ internalType: "uint256",
1687
+ name: "tokenLimit",
1688
+ type: "uint256"
1689
+ }
1690
+ ],
1691
+ name: "TokenLimit",
1692
+ type: "event"
1693
+ },
1694
+ {
1695
+ inputs: [],
1696
+ name: "MAX_AMOUNT",
1697
+ outputs: [
1698
+ {
1699
+ internalType: "int256",
1700
+ name: "",
1701
+ type: "int256"
1702
+ }
1703
+ ],
1704
+ stateMutability: "view",
1705
+ type: "function"
1706
+ },
1707
+ {
1708
+ inputs: [],
1709
+ name: "POINTER_SEPARATOR",
1710
+ outputs: [
1711
+ {
1712
+ internalType: "uint256",
1713
+ name: "",
1714
+ type: "uint256"
1715
+ }
1716
+ ],
1717
+ stateMutability: "view",
1718
+ type: "function"
1719
+ },
1720
+ {
1721
+ inputs: [],
1722
+ name: "accessToken",
1723
+ outputs: [
1724
+ {
1725
+ internalType: "contract IAccessToken",
1726
+ name: "",
1727
+ type: "address"
1728
+ }
1729
+ ],
1730
+ stateMutability: "view",
1731
+ type: "function"
1732
+ },
1733
+ {
1734
+ inputs: [
1735
+ {
1736
+ internalType: "address",
1737
+ name: "_relayAddress",
1738
+ type: "address"
1739
+ }
1740
+ ],
1741
+ name: "addRelay",
1742
+ outputs: [],
1743
+ stateMutability: "nonpayable",
1744
+ type: "function"
1745
+ },
1746
+ {
1747
+ inputs: [
1748
+ {
1749
+ internalType: "uint256",
1750
+ name: "balance",
1751
+ type: "uint256"
1752
+ },
1753
+ {
1754
+ internalType: "uint256",
1755
+ name: "flatFee",
1756
+ type: "uint256"
1757
+ },
1758
+ {
1759
+ internalType: "uint256",
1760
+ name: "variableRate",
1761
+ type: "uint256"
1762
+ }
1763
+ ],
1764
+ name: "calculateRelayFee",
1765
+ outputs: [
1766
+ {
1767
+ internalType: "uint256",
1768
+ name: "relayFee",
1769
+ type: "uint256"
1770
+ }
1771
+ ],
1772
+ stateMutability: "pure",
1773
+ type: "function"
1774
+ },
1775
+ {
1776
+ inputs: [
1777
+ {
1778
+ internalType: "address[]",
1779
+ name: "_gasTokens",
1780
+ type: "address[]"
1781
+ },
1782
+ {
1783
+ internalType: "bool[]",
1784
+ name: "values",
1785
+ type: "bool[]"
1786
+ }
1787
+ ],
1788
+ name: "changeGasTokens",
1789
+ outputs: [],
1790
+ stateMutability: "nonpayable",
1791
+ type: "function"
1792
+ },
1793
+ {
1794
+ inputs: [
1795
+ {
1796
+ internalType: "bool",
1797
+ name: "_enabled",
1798
+ type: "bool"
1799
+ }
1800
+ ],
1801
+ name: "changeState",
1802
+ outputs: [],
1803
+ stateMutability: "nonpayable",
1804
+ type: "function"
1805
+ },
1806
+ {
1807
+ inputs: [
1808
+ {
1809
+ internalType: "address[]",
1810
+ name: "erc20TokenAddresses",
1811
+ type: "address[]"
1812
+ },
1813
+ {
1814
+ internalType: "int256[]",
1815
+ name: "amountChanges",
1816
+ type: "int256[]"
1817
+ }
1818
+ ],
1819
+ name: "checkTokenRegistry",
1820
+ outputs: [
1821
+ {
1822
+ internalType: "bool",
1823
+ name: "limitHit",
1824
+ type: "bool"
1825
+ }
1826
+ ],
1827
+ stateMutability: "view",
1828
+ type: "function"
1829
+ },
1830
+ {
1831
+ inputs: [],
1832
+ name: "enabled",
1833
+ outputs: [
1834
+ {
1835
+ internalType: "bool",
1836
+ name: "",
1837
+ type: "bool"
1838
+ }
1839
+ ],
1840
+ stateMutability: "view",
1841
+ type: "function"
1842
+ },
1843
+ {
1844
+ inputs: [
1845
+ {
1846
+ internalType: "address",
1847
+ name: "",
1848
+ type: "address"
1849
+ }
1850
+ ],
1851
+ name: "gasTokens",
1852
+ outputs: [
1853
+ {
1854
+ internalType: "bool",
1855
+ name: "",
1856
+ type: "bool"
1857
+ }
1858
+ ],
1859
+ stateMutability: "view",
1860
+ type: "function"
1861
+ },
1862
+ {
1863
+ inputs: [
1864
+ {
1865
+ internalType: "uint256",
1866
+ name: "H",
1867
+ type: "uint256"
1868
+ }
1869
+ ],
1870
+ name: "getPointSign",
1871
+ outputs: [
1872
+ {
1873
+ internalType: "uint256",
1874
+ name: "",
1875
+ type: "uint256"
1876
+ }
1877
+ ],
1878
+ stateMutability: "pure",
1879
+ type: "function"
1880
+ },
1881
+ {
1882
+ inputs: [
1883
+ {
1884
+ internalType: "uint256",
1885
+ name: "H",
1886
+ type: "uint256"
1887
+ }
1888
+ ],
1889
+ name: "getPointY",
1890
+ outputs: [
1891
+ {
1892
+ internalType: "uint256",
1893
+ name: "",
1894
+ type: "uint256"
1895
+ }
1896
+ ],
1897
+ stateMutability: "pure",
1898
+ type: "function"
1899
+ },
1900
+ {
1901
+ inputs: [],
1902
+ name: "getRelayStore",
1903
+ outputs: [
1904
+ {
1905
+ internalType: "address[]",
1906
+ name: "",
1907
+ type: "address[]"
1908
+ }
1909
+ ],
1910
+ stateMutability: "view",
1911
+ type: "function"
1912
+ },
1913
+ {
1914
+ inputs: [
1915
+ {
1916
+ internalType: "address",
1917
+ name: "_token",
1918
+ type: "address"
1919
+ }
1920
+ ],
1921
+ name: "getTokenLimit",
1922
+ outputs: [
1923
+ {
1924
+ internalType: "uint256",
1925
+ name: "",
1926
+ type: "uint256"
1927
+ }
1928
+ ],
1929
+ stateMutability: "view",
1930
+ type: "function"
1931
+ },
1932
+ {
1933
+ inputs: [],
1934
+ name: "hinkalAddress",
1935
+ outputs: [
1936
+ {
1937
+ internalType: "address",
1938
+ name: "",
1939
+ type: "address"
1940
+ }
1941
+ ],
1942
+ stateMutability: "view",
1943
+ type: "function"
1944
+ },
1945
+ {
1946
+ inputs: [
1947
+ {
1948
+ internalType: "address",
1949
+ name: "token",
1950
+ type: "address"
1951
+ }
1952
+ ],
1953
+ name: "isGasToken",
1954
+ outputs: [
1955
+ {
1956
+ internalType: "bool",
1957
+ name: "",
1958
+ type: "bool"
1959
+ }
1960
+ ],
1961
+ stateMutability: "view",
1962
+ type: "function"
1963
+ },
1964
+ {
1965
+ inputs: [
1966
+ {
1967
+ internalType: "address",
1968
+ name: "relayAddress",
1969
+ type: "address"
1970
+ }
1971
+ ],
1972
+ name: "isRelayInList",
1973
+ outputs: [
1974
+ {
1975
+ internalType: "bool",
1976
+ name: "",
1977
+ type: "bool"
1978
+ }
1979
+ ],
1980
+ stateMutability: "view",
1981
+ type: "function"
1982
+ },
1983
+ {
1984
+ inputs: [],
1985
+ name: "owner",
1986
+ outputs: [
1987
+ {
1988
+ internalType: "address",
1989
+ name: "",
1990
+ type: "address"
1991
+ }
1992
+ ],
1993
+ stateMutability: "view",
1994
+ type: "function"
1995
+ },
1996
+ {
1997
+ inputs: [
1998
+ {
1999
+ components: [
2000
+ {
2001
+ internalType: "uint256",
2002
+ name: "rootHashHinkal",
2003
+ type: "uint256"
2004
+ },
2005
+ {
2006
+ internalType: "address[]",
2007
+ name: "erc20TokenAddresses",
2008
+ type: "address[]"
2009
+ },
2010
+ {
2011
+ internalType: "uint256[]",
2012
+ name: "tokenIds",
2013
+ type: "uint256[]"
2014
+ },
2015
+ {
2016
+ internalType: "int256[]",
2017
+ name: "amountChanges",
2018
+ type: "int256[]"
2019
+ },
2020
+ {
2021
+ internalType: "bool[]",
2022
+ name: "onChainCreation",
2023
+ type: "bool[]"
2024
+ },
2025
+ {
2026
+ internalType: "int256[]",
2027
+ name: "slippageValues",
2028
+ type: "int256[]"
2029
+ },
2030
+ {
2031
+ internalType: "uint256[][]",
2032
+ name: "inputNullifiers",
2033
+ type: "uint256[][]"
2034
+ },
2035
+ {
2036
+ internalType: "uint256[][]",
2037
+ name: "outCommitments",
2038
+ type: "uint256[][]"
2039
+ },
2040
+ {
2041
+ internalType: "bytes[][]",
2042
+ name: "encryptedOutputs",
2043
+ type: "bytes[][]"
2044
+ },
2045
+ {
2046
+ components: [
2047
+ {
2048
+ internalType: "address",
2049
+ name: "feeToken",
2050
+ type: "address"
2051
+ },
2052
+ {
2053
+ internalType: "uint256",
2054
+ name: "flatFee",
2055
+ type: "uint256"
2056
+ },
2057
+ {
2058
+ internalType: "uint256",
2059
+ name: "variableRate",
2060
+ type: "uint256"
2061
+ }
2062
+ ],
2063
+ internalType: "struct FeeStructure",
2064
+ name: "feeStructure",
2065
+ type: "tuple"
2066
+ },
2067
+ {
2068
+ internalType: "uint256",
2069
+ name: "timeStamp",
2070
+ type: "uint256"
2071
+ },
2072
+ {
2073
+ components: [
2074
+ {
2075
+ internalType: "uint256",
2076
+ name: "extraRandomization",
2077
+ type: "uint256"
2078
+ },
2079
+ {
2080
+ internalType: "uint256",
2081
+ name: "stealthAddress",
2082
+ type: "uint256"
2083
+ },
2084
+ {
2085
+ internalType: "uint256",
2086
+ name: "H0",
2087
+ type: "uint256"
2088
+ },
2089
+ {
2090
+ internalType: "uint256",
2091
+ name: "H1",
2092
+ type: "uint256"
2093
+ }
2094
+ ],
2095
+ internalType: "struct StealthAddressStructure",
2096
+ name: "stealthAddressStructure",
2097
+ type: "tuple"
2098
+ },
2099
+ {
2100
+ internalType: "uint256",
2101
+ name: "rootHashAccessToken",
2102
+ type: "uint256"
2103
+ },
2104
+ {
2105
+ internalType: "uint256",
2106
+ name: "calldataHash",
2107
+ type: "uint256"
2108
+ },
2109
+ {
2110
+ internalType: "uint16",
2111
+ name: "publicSignalCount",
2112
+ type: "uint16"
2113
+ },
2114
+ {
2115
+ internalType: "address",
2116
+ name: "relay",
2117
+ type: "address"
2118
+ },
2119
+ {
2120
+ internalType: "address",
2121
+ name: "externalAddress",
2122
+ type: "address"
2123
+ },
2124
+ {
2125
+ internalType: "uint256",
2126
+ name: "externalActionId",
2127
+ type: "uint256"
2128
+ },
2129
+ {
2130
+ internalType: "bytes",
2131
+ name: "externalActionMetadata",
2132
+ type: "bytes"
2133
+ },
2134
+ {
2135
+ components: [
2136
+ {
2137
+ internalType: "uint256",
2138
+ name: "hinkalLogicAction",
2139
+ type: "uint256"
2140
+ },
2141
+ {
2142
+ internalType: "uint256",
2143
+ name: "inHinkalAddress",
2144
+ type: "uint256"
2145
+ },
2146
+ {
2147
+ internalType: "int256[]",
2148
+ name: "executeApprovalChanges",
2149
+ type: "int256[]"
2150
+ },
2151
+ {
2152
+ internalType: "bool",
2153
+ name: "doPreTxApproval",
2154
+ type: "bool"
2155
+ },
2156
+ {
2157
+ components: [
2158
+ {
2159
+ internalType: "int256[]",
2160
+ name: "approvalChanges",
2161
+ type: "int256[]"
2162
+ },
2163
+ {
2164
+ internalType: "address[]",
2165
+ name: "externalApprovalAddresses",
2166
+ type: "address[]"
2167
+ },
2168
+ {
2169
+ internalType: "uint256[]",
2170
+ name: "conversionInHinkalAddress",
2171
+ type: "uint256[]"
2172
+ }
2173
+ ],
2174
+ internalType: "struct UseApprovalUTXOData[]",
2175
+ name: "useApprovalUtxoData",
2176
+ type: "tuple[]"
2177
+ }
2178
+ ],
2179
+ internalType: "struct HinkalLogicArgs",
2180
+ name: "hinkalLogicArgs",
2181
+ type: "tuple"
2182
+ },
2183
+ {
2184
+ components: [
2185
+ {
2186
+ internalType: "address",
2187
+ name: "preHookContract",
2188
+ type: "address"
2189
+ },
2190
+ {
2191
+ internalType: "address",
2192
+ name: "hookContract",
2193
+ type: "address"
2194
+ },
2195
+ {
2196
+ internalType: "bytes",
2197
+ name: "preHookMetadata",
2198
+ type: "bytes"
2199
+ },
2200
+ {
2201
+ internalType: "bytes",
2202
+ name: "postHookMetadata",
2203
+ type: "bytes"
2204
+ }
2205
+ ],
2206
+ internalType: "struct HookData",
2207
+ name: "hookData",
2208
+ type: "tuple"
2209
+ },
2210
+ {
2211
+ components: [
2212
+ {
2213
+ internalType: "uint8",
2214
+ name: "v",
2215
+ type: "uint8"
2216
+ },
2217
+ {
2218
+ internalType: "bytes32",
2219
+ name: "r",
2220
+ type: "bytes32"
2221
+ },
2222
+ {
2223
+ internalType: "bytes32",
2224
+ name: "s",
2225
+ type: "bytes32"
2226
+ },
2227
+ {
2228
+ internalType: "uint256",
2229
+ name: "accessKey",
2230
+ type: "uint256"
2231
+ },
2232
+ {
2233
+ internalType: "uint256",
2234
+ name: "nonce",
2235
+ type: "uint256"
2236
+ },
2237
+ {
2238
+ internalType: "address",
2239
+ name: "ethereumAddress",
2240
+ type: "address"
2241
+ }
2242
+ ],
2243
+ internalType: "struct SignatureData",
2244
+ name: "signatureData",
2245
+ type: "tuple"
2246
+ },
2247
+ {
2248
+ internalType: "address",
2249
+ name: "originalSender",
2250
+ type: "address"
2251
+ }
2252
+ ],
2253
+ internalType: "struct CircomData",
2254
+ name: "circomData",
2255
+ type: "tuple"
2256
+ },
2257
+ {
2258
+ components: [
2259
+ {
2260
+ internalType: "uint16",
2261
+ name: "tokenNumber",
2262
+ type: "uint16"
2263
+ },
2264
+ {
2265
+ internalType: "uint16",
2266
+ name: "nullifierAmount",
2267
+ type: "uint16"
2268
+ },
2269
+ {
2270
+ internalType: "uint16",
2271
+ name: "outputAmount",
2272
+ type: "uint16"
2273
+ }
2274
+ ],
2275
+ internalType: "struct Dimensions",
2276
+ name: "dimensions",
2277
+ type: "tuple"
2278
+ },
2279
+ {
2280
+ internalType: "address",
2281
+ name: "sender",
2282
+ type: "address"
2283
+ }
2284
+ ],
2285
+ name: "performHinkalChecks",
2286
+ outputs: [
2287
+ {
2288
+ internalType: "uint256[]",
2289
+ name: "",
2290
+ type: "uint256[]"
2291
+ }
2292
+ ],
2293
+ stateMutability: "view",
2294
+ type: "function"
2295
+ },
2296
+ {
2297
+ inputs: [
2298
+ {
2299
+ internalType: "address[]",
2300
+ name: "erc20Addresses",
2301
+ type: "address[]"
2302
+ },
2303
+ {
2304
+ internalType: "uint256[]",
2305
+ name: "amounts",
2306
+ type: "uint256[]"
2307
+ },
2308
+ {
2309
+ internalType: "uint256[]",
2310
+ name: "tokenIds",
2311
+ type: "uint256[]"
2312
+ },
2313
+ {
2314
+ components: [
2315
+ {
2316
+ internalType: "uint256",
2317
+ name: "extraRandomization",
2318
+ type: "uint256"
2319
+ },
2320
+ {
2321
+ internalType: "uint256",
2322
+ name: "stealthAddress",
2323
+ type: "uint256"
2324
+ },
2325
+ {
2326
+ internalType: "uint256",
2327
+ name: "H0",
2328
+ type: "uint256"
2329
+ },
2330
+ {
2331
+ internalType: "uint256",
2332
+ name: "H1",
2333
+ type: "uint256"
2334
+ }
2335
+ ],
2336
+ internalType: "struct StealthAddressStructure[]",
2337
+ name: "stealthAddressStructures",
2338
+ type: "tuple[]"
2339
+ }
2340
+ ],
2341
+ name: "performProoflessDepositChecks",
2342
+ outputs: [
2343
+ {
2344
+ internalType: "bool",
2345
+ name: "",
2346
+ type: "bool"
2347
+ }
2348
+ ],
2349
+ stateMutability: "view",
2350
+ type: "function"
2351
+ },
2352
+ {
2353
+ inputs: [
2354
+ {
2355
+ components: [
2356
+ {
2357
+ internalType: "uint256",
2358
+ name: "rootHashHinkal",
2359
+ type: "uint256"
2360
+ },
2361
+ {
2362
+ internalType: "address[]",
2363
+ name: "erc20TokenAddresses",
2364
+ type: "address[]"
2365
+ },
2366
+ {
2367
+ internalType: "uint256[]",
2368
+ name: "tokenIds",
2369
+ type: "uint256[]"
2370
+ },
2371
+ {
2372
+ internalType: "int256[]",
2373
+ name: "amountChanges",
2374
+ type: "int256[]"
2375
+ },
2376
+ {
2377
+ internalType: "bool[]",
2378
+ name: "onChainCreation",
2379
+ type: "bool[]"
2380
+ },
2381
+ {
2382
+ internalType: "int256[]",
2383
+ name: "slippageValues",
2384
+ type: "int256[]"
2385
+ },
2386
+ {
2387
+ internalType: "uint256[][]",
2388
+ name: "inputNullifiers",
2389
+ type: "uint256[][]"
2390
+ },
2391
+ {
2392
+ internalType: "uint256[][]",
2393
+ name: "outCommitments",
2394
+ type: "uint256[][]"
2395
+ },
2396
+ {
2397
+ internalType: "bytes[][]",
2398
+ name: "encryptedOutputs",
2399
+ type: "bytes[][]"
2400
+ },
2401
+ {
2402
+ components: [
2403
+ {
2404
+ internalType: "address",
2405
+ name: "feeToken",
2406
+ type: "address"
2407
+ },
2408
+ {
2409
+ internalType: "uint256",
2410
+ name: "flatFee",
2411
+ type: "uint256"
2412
+ },
2413
+ {
2414
+ internalType: "uint256",
2415
+ name: "variableRate",
2416
+ type: "uint256"
2417
+ }
2418
+ ],
2419
+ internalType: "struct FeeStructure",
2420
+ name: "feeStructure",
2421
+ type: "tuple"
2422
+ },
2423
+ {
2424
+ internalType: "uint256",
2425
+ name: "timeStamp",
2426
+ type: "uint256"
2427
+ },
2428
+ {
2429
+ components: [
2430
+ {
2431
+ internalType: "uint256",
2432
+ name: "extraRandomization",
2433
+ type: "uint256"
2434
+ },
2435
+ {
2436
+ internalType: "uint256",
2437
+ name: "stealthAddress",
2438
+ type: "uint256"
2439
+ },
2440
+ {
2441
+ internalType: "uint256",
2442
+ name: "H0",
2443
+ type: "uint256"
2444
+ },
2445
+ {
2446
+ internalType: "uint256",
2447
+ name: "H1",
2448
+ type: "uint256"
2449
+ }
2450
+ ],
2451
+ internalType: "struct StealthAddressStructure",
2452
+ name: "stealthAddressStructure",
2453
+ type: "tuple"
2454
+ },
2455
+ {
2456
+ internalType: "uint256",
2457
+ name: "rootHashAccessToken",
2458
+ type: "uint256"
2459
+ },
2460
+ {
2461
+ internalType: "uint256",
2462
+ name: "calldataHash",
2463
+ type: "uint256"
2464
+ },
2465
+ {
2466
+ internalType: "uint16",
2467
+ name: "publicSignalCount",
2468
+ type: "uint16"
2469
+ },
2470
+ {
2471
+ internalType: "address",
2472
+ name: "relay",
2473
+ type: "address"
2474
+ },
2475
+ {
2476
+ internalType: "address",
2477
+ name: "externalAddress",
2478
+ type: "address"
2479
+ },
2480
+ {
2481
+ internalType: "uint256",
2482
+ name: "externalActionId",
2483
+ type: "uint256"
2484
+ },
2485
+ {
2486
+ internalType: "bytes",
2487
+ name: "externalActionMetadata",
2488
+ type: "bytes"
2489
+ },
2490
+ {
2491
+ components: [
2492
+ {
2493
+ internalType: "uint256",
2494
+ name: "hinkalLogicAction",
2495
+ type: "uint256"
2496
+ },
2497
+ {
2498
+ internalType: "uint256",
2499
+ name: "inHinkalAddress",
2500
+ type: "uint256"
2501
+ },
2502
+ {
2503
+ internalType: "int256[]",
2504
+ name: "executeApprovalChanges",
2505
+ type: "int256[]"
2506
+ },
2507
+ {
2508
+ internalType: "bool",
2509
+ name: "doPreTxApproval",
2510
+ type: "bool"
2511
+ },
2512
+ {
2513
+ components: [
2514
+ {
2515
+ internalType: "int256[]",
2516
+ name: "approvalChanges",
2517
+ type: "int256[]"
2518
+ },
2519
+ {
2520
+ internalType: "address[]",
2521
+ name: "externalApprovalAddresses",
2522
+ type: "address[]"
2523
+ },
2524
+ {
2525
+ internalType: "uint256[]",
2526
+ name: "conversionInHinkalAddress",
2527
+ type: "uint256[]"
2528
+ }
2529
+ ],
2530
+ internalType: "struct UseApprovalUTXOData[]",
2531
+ name: "useApprovalUtxoData",
2532
+ type: "tuple[]"
2533
+ }
2534
+ ],
2535
+ internalType: "struct HinkalLogicArgs",
2536
+ name: "hinkalLogicArgs",
2537
+ type: "tuple"
2538
+ },
2539
+ {
2540
+ components: [
2541
+ {
2542
+ internalType: "address",
2543
+ name: "preHookContract",
2544
+ type: "address"
2545
+ },
2546
+ {
2547
+ internalType: "address",
2548
+ name: "hookContract",
2549
+ type: "address"
2550
+ },
2551
+ {
2552
+ internalType: "bytes",
2553
+ name: "preHookMetadata",
2554
+ type: "bytes"
2555
+ },
2556
+ {
2557
+ internalType: "bytes",
2558
+ name: "postHookMetadata",
2559
+ type: "bytes"
2560
+ }
2561
+ ],
2562
+ internalType: "struct HookData",
2563
+ name: "hookData",
2564
+ type: "tuple"
2565
+ },
2566
+ {
2567
+ components: [
2568
+ {
2569
+ internalType: "uint8",
2570
+ name: "v",
2571
+ type: "uint8"
2572
+ },
2573
+ {
2574
+ internalType: "bytes32",
2575
+ name: "r",
2576
+ type: "bytes32"
2577
+ },
2578
+ {
2579
+ internalType: "bytes32",
2580
+ name: "s",
2581
+ type: "bytes32"
2582
+ },
2583
+ {
2584
+ internalType: "uint256",
2585
+ name: "accessKey",
2586
+ type: "uint256"
2587
+ },
2588
+ {
2589
+ internalType: "uint256",
2590
+ name: "nonce",
2591
+ type: "uint256"
2592
+ },
2593
+ {
2594
+ internalType: "address",
2595
+ name: "ethereumAddress",
2596
+ type: "address"
2597
+ }
2598
+ ],
2599
+ internalType: "struct SignatureData",
2600
+ name: "signatureData",
2601
+ type: "tuple"
2602
+ },
2603
+ {
2604
+ internalType: "address",
2605
+ name: "originalSender",
2606
+ type: "address"
2607
+ }
2608
+ ],
2609
+ internalType: "struct CircomData",
2610
+ name: "circomData",
2611
+ type: "tuple"
2612
+ }
2613
+ ],
2614
+ name: "performSideEffects",
2615
+ outputs: [],
2616
+ stateMutability: "nonpayable",
2617
+ type: "function"
2618
+ },
2619
+ {
2620
+ inputs: [
2621
+ {
2622
+ internalType: "address",
2623
+ name: "",
2624
+ type: "address"
2625
+ }
2626
+ ],
2627
+ name: "relayList",
2628
+ outputs: [
2629
+ {
2630
+ internalType: "bool",
2631
+ name: "",
2632
+ type: "bool"
2633
+ }
2634
+ ],
2635
+ stateMutability: "view",
2636
+ type: "function"
2637
+ },
2638
+ {
2639
+ inputs: [
2640
+ {
2641
+ internalType: "uint256",
2642
+ name: "",
2643
+ type: "uint256"
2644
+ }
2645
+ ],
2646
+ name: "relayStore",
2647
+ outputs: [
2648
+ {
2649
+ internalType: "address",
2650
+ name: "",
2651
+ type: "address"
2652
+ }
2653
+ ],
2654
+ stateMutability: "view",
2655
+ type: "function"
2656
+ },
2657
+ {
2658
+ inputs: [
2659
+ {
2660
+ internalType: "address",
2661
+ name: "_relayAddress",
2662
+ type: "address"
2663
+ }
2664
+ ],
2665
+ name: "removeRelay",
2666
+ outputs: [],
2667
+ stateMutability: "nonpayable",
2668
+ type: "function"
2669
+ },
2670
+ {
2671
+ inputs: [],
2672
+ name: "renounceOwnership",
2673
+ outputs: [],
2674
+ stateMutability: "nonpayable",
2675
+ type: "function"
2676
+ },
2677
+ {
2678
+ inputs: [
2679
+ {
2680
+ internalType: "address",
2681
+ name: "_accessToken",
2682
+ type: "address"
2683
+ }
2684
+ ],
2685
+ name: "setAccessToken",
2686
+ outputs: [],
2687
+ stateMutability: "nonpayable",
2688
+ type: "function"
2689
+ },
2690
+ {
2691
+ inputs: [
2692
+ {
2693
+ internalType: "address",
2694
+ name: "_hinkalAddress",
2695
+ type: "address"
2696
+ }
2697
+ ],
2698
+ name: "setHinkalAddress",
2699
+ outputs: [],
2700
+ stateMutability: "nonpayable",
2701
+ type: "function"
2702
+ },
2703
+ {
2704
+ inputs: [
2705
+ {
2706
+ internalType: "address[]",
2707
+ name: "_tokens",
2708
+ type: "address[]"
2709
+ },
2710
+ {
2711
+ internalType: "uint256[]",
2712
+ name: "_tokenLimits",
2713
+ type: "uint256[]"
2714
+ }
2715
+ ],
2716
+ name: "setTokenLimits",
2717
+ outputs: [],
2718
+ stateMutability: "nonpayable",
2719
+ type: "function"
2720
+ },
2721
+ {
2722
+ inputs: [
2723
+ {
2724
+ internalType: "address",
2725
+ name: "",
2726
+ type: "address"
2727
+ }
2728
+ ],
2729
+ name: "tokenLimits",
2730
+ outputs: [
2731
+ {
2732
+ internalType: "uint256",
2733
+ name: "",
2734
+ type: "uint256"
2735
+ }
2736
+ ],
2737
+ stateMutability: "view",
2738
+ type: "function"
2739
+ },
2740
+ {
2741
+ inputs: [
2742
+ {
2743
+ internalType: "address",
2744
+ name: "newOwner",
2745
+ type: "address"
2746
+ }
2747
+ ],
2748
+ name: "transferOwnership",
2749
+ outputs: [],
2750
+ stateMutability: "nonpayable",
2751
+ type: "function"
2752
+ },
2753
+ {
2754
+ inputs: [
2755
+ {
2756
+ internalType: "uint256",
2757
+ name: "externalActionId",
2758
+ type: "uint256"
2759
+ },
2760
+ {
2761
+ internalType: "bool",
2762
+ name: "value",
2763
+ type: "bool"
2764
+ }
2765
+ ],
2766
+ name: "updateStakeCircuits",
2767
+ outputs: [],
2768
+ stateMutability: "nonpayable",
2769
+ type: "function"
2770
+ }
2771
+ ], y = [
2772
+ {
2773
+ inputs: [
2774
+ {
2775
+ internalType: "contract IAccessTokenStorage",
2776
+ name: "_accessTokenStorage",
2777
+ type: "address"
2778
+ },
2779
+ {
2780
+ internalType: "address",
2781
+ name: "_axelarGateway",
2782
+ type: "address"
2783
+ },
2784
+ {
2785
+ internalType: "address",
2786
+ name: "_gasService",
2787
+ type: "address"
2788
+ }
2789
+ ],
2790
+ stateMutability: "nonpayable",
2791
+ type: "constructor"
2792
+ },
2793
+ {
2794
+ inputs: [],
2795
+ name: "InvalidAddress",
2796
+ type: "error"
2797
+ },
2798
+ {
2799
+ inputs: [],
2800
+ name: "InvalidAddressString",
2801
+ type: "error"
2802
+ },
2803
+ {
2804
+ inputs: [],
2805
+ name: "NotApprovedByGateway",
2806
+ type: "error"
2807
+ },
2808
+ {
2809
+ anonymous: !1,
2810
+ inputs: [
2811
+ {
2812
+ indexed: !1,
2813
+ internalType: "uint256",
2814
+ name: "blacklistedAccessKey",
2815
+ type: "uint256"
2816
+ }
2817
+ ],
2818
+ name: "AccessKeyBlacklisted",
2819
+ type: "event"
2820
+ },
2821
+ {
2822
+ anonymous: !1,
2823
+ inputs: [
2824
+ {
2825
+ indexed: !1,
2826
+ internalType: "uint256",
2827
+ name: "accessKey",
2828
+ type: "uint256"
2829
+ },
2830
+ {
2831
+ indexed: !1,
2832
+ internalType: "string",
2833
+ name: "sourceChain",
2834
+ type: "string"
2835
+ }
2836
+ ],
2837
+ name: "AccessKeyMigrationReceived",
2838
+ type: "event"
2839
+ },
2840
+ {
2841
+ anonymous: !1,
2842
+ inputs: [
2843
+ {
2844
+ indexed: !1,
2845
+ internalType: "address",
2846
+ name: "blacklistedAddress",
2847
+ type: "address"
2848
+ }
2849
+ ],
2850
+ name: "AddressBlacklisted",
2851
+ type: "event"
2852
+ },
2853
+ {
2854
+ anonymous: !1,
2855
+ inputs: [
2856
+ {
2857
+ indexed: !1,
2858
+ internalType: "address",
2859
+ name: "addressToRestore",
2860
+ type: "address"
2861
+ }
2862
+ ],
2863
+ name: "AddressRemovedFromBlacklist",
2864
+ type: "event"
2865
+ },
2866
+ {
2867
+ anonymous: !1,
2868
+ inputs: [
2869
+ {
2870
+ indexed: !1,
2871
+ internalType: "uint256",
2872
+ name: "newMintingFee",
2873
+ type: "uint256"
2874
+ }
2875
+ ],
2876
+ name: "MintingFeeChanged",
2877
+ type: "event"
2878
+ },
2879
+ {
2880
+ anonymous: !1,
2881
+ inputs: [
2882
+ {
2883
+ indexed: !1,
2884
+ internalType: "uint256",
2885
+ name: "accessKey",
2886
+ type: "uint256"
2887
+ },
2888
+ {
2889
+ indexed: !1,
2890
+ internalType: "uint256",
2891
+ name: "index",
2892
+ type: "uint256"
2893
+ },
2894
+ {
2895
+ indexed: !1,
2896
+ internalType: "address",
2897
+ name: "senderAddress",
2898
+ type: "address"
2899
+ }
2900
+ ],
2901
+ name: "NewAccessKeyAdded",
2902
+ type: "event"
2903
+ },
2904
+ {
2905
+ anonymous: !1,
2906
+ inputs: [
2907
+ {
2908
+ indexed: !0,
2909
+ internalType: "address",
2910
+ name: "previousOwner",
2911
+ type: "address"
2912
+ },
2913
+ {
2914
+ indexed: !0,
2915
+ internalType: "address",
2916
+ name: "newOwner",
2917
+ type: "address"
2918
+ }
2919
+ ],
2920
+ name: "OwnershipTransferStarted",
2921
+ type: "event"
2922
+ },
2923
+ {
2924
+ anonymous: !1,
2925
+ inputs: [
2926
+ {
2927
+ indexed: !0,
2928
+ internalType: "address",
2929
+ name: "previousOwner",
2930
+ type: "address"
2931
+ },
2932
+ {
2933
+ indexed: !0,
2934
+ internalType: "address",
2935
+ name: "newOwner",
2936
+ type: "address"
2937
+ }
2938
+ ],
2939
+ name: "OwnershipTransferred",
2940
+ type: "event"
2941
+ },
2942
+ {
2943
+ inputs: [],
2944
+ name: "acceptOwnership",
2945
+ outputs: [],
2946
+ stateMutability: "nonpayable",
2947
+ type: "function"
2948
+ },
2949
+ {
2950
+ inputs: [],
2951
+ name: "accessTokenStorage",
2952
+ outputs: [
2953
+ {
2954
+ internalType: "contract IAccessTokenStorage",
2955
+ name: "",
2956
+ type: "address"
2957
+ }
2958
+ ],
2959
+ stateMutability: "view",
2960
+ type: "function"
2961
+ },
2962
+ {
2963
+ inputs: [
2964
+ {
2965
+ components: [
2966
+ {
2967
+ internalType: "uint8",
2968
+ name: "v",
2969
+ type: "uint8"
2970
+ },
2971
+ {
2972
+ internalType: "bytes32",
2973
+ name: "r",
2974
+ type: "bytes32"
2975
+ },
2976
+ {
2977
+ internalType: "bytes32",
2978
+ name: "s",
2979
+ type: "bytes32"
2980
+ },
2981
+ {
2982
+ internalType: "uint256",
2983
+ name: "accessKey",
2984
+ type: "uint256"
2985
+ },
2986
+ {
2987
+ internalType: "uint256",
2988
+ name: "nonce",
2989
+ type: "uint256"
2990
+ },
2991
+ {
2992
+ internalType: "address",
2993
+ name: "ethereumAddress",
2994
+ type: "address"
2995
+ }
2996
+ ],
2997
+ internalType: "struct SignatureData",
2998
+ name: "signatureData",
2999
+ type: "tuple"
3000
+ }
3001
+ ],
3002
+ name: "addToken",
3003
+ outputs: [],
3004
+ stateMutability: "nonpayable",
3005
+ type: "function"
3006
+ },
3007
+ {
3008
+ inputs: [
3009
+ {
3010
+ components: [
3011
+ {
3012
+ internalType: "uint256",
3013
+ name: "accessToken",
3014
+ type: "uint256"
3015
+ },
3016
+ {
3017
+ internalType: "address",
3018
+ name: "ethAddress",
3019
+ type: "address"
3020
+ }
3021
+ ],
3022
+ internalType: "struct AccessTokenWithAddress[]",
3023
+ name: "accessObjects",
3024
+ type: "tuple[]"
3025
+ }
3026
+ ],
3027
+ name: "approveTokens",
3028
+ outputs: [],
3029
+ stateMutability: "nonpayable",
3030
+ type: "function"
3031
+ },
3032
+ {
3033
+ inputs: [
3034
+ {
3035
+ internalType: "uint256",
3036
+ name: "accessKey",
3037
+ type: "uint256"
3038
+ },
3039
+ {
3040
+ internalType: "uint256",
3041
+ name: "index",
3042
+ type: "uint256"
3043
+ }
3044
+ ],
3045
+ name: "blacklistAccessKey",
3046
+ outputs: [],
3047
+ stateMutability: "nonpayable",
3048
+ type: "function"
3049
+ },
3050
+ {
3051
+ inputs: [
3052
+ {
3053
+ internalType: "address",
3054
+ name: "_address",
3055
+ type: "address"
3056
+ }
3057
+ ],
3058
+ name: "blacklistAddress",
3059
+ outputs: [],
3060
+ stateMutability: "nonpayable",
3061
+ type: "function"
3062
+ },
3063
+ {
3064
+ inputs: [
3065
+ {
3066
+ internalType: "uint256",
3067
+ name: "rootHashAccessToken",
3068
+ type: "uint256"
3069
+ },
3070
+ {
3071
+ internalType: "address",
3072
+ name: "sender",
3073
+ type: "address"
3074
+ }
3075
+ ],
3076
+ name: "checkForRootHash",
3077
+ outputs: [
3078
+ {
3079
+ internalType: "bool",
3080
+ name: "",
3081
+ type: "bool"
3082
+ }
3083
+ ],
3084
+ stateMutability: "view",
3085
+ type: "function"
3086
+ },
3087
+ {
3088
+ inputs: [
3089
+ {
3090
+ internalType: "bytes32",
3091
+ name: "commandId",
3092
+ type: "bytes32"
3093
+ },
3094
+ {
3095
+ internalType: "string",
3096
+ name: "sourceChain",
3097
+ type: "string"
3098
+ },
3099
+ {
3100
+ internalType: "string",
3101
+ name: "sourceAddress",
3102
+ type: "string"
3103
+ },
3104
+ {
3105
+ internalType: "bytes",
3106
+ name: "payload",
3107
+ type: "bytes"
3108
+ }
3109
+ ],
3110
+ name: "execute",
3111
+ outputs: [],
3112
+ stateMutability: "nonpayable",
3113
+ type: "function"
3114
+ },
3115
+ {
3116
+ inputs: [
3117
+ {
3118
+ internalType: "bytes32",
3119
+ name: "commandId",
3120
+ type: "bytes32"
3121
+ },
3122
+ {
3123
+ internalType: "string",
3124
+ name: "sourceChain",
3125
+ type: "string"
3126
+ },
3127
+ {
3128
+ internalType: "string",
3129
+ name: "sourceAddress",
3130
+ type: "string"
3131
+ },
3132
+ {
3133
+ internalType: "bytes",
3134
+ name: "payload",
3135
+ type: "bytes"
3136
+ },
3137
+ {
3138
+ internalType: "string",
3139
+ name: "tokenSymbol",
3140
+ type: "string"
3141
+ },
3142
+ {
3143
+ internalType: "uint256",
3144
+ name: "amount",
3145
+ type: "uint256"
3146
+ }
3147
+ ],
3148
+ name: "executeWithToken",
3149
+ outputs: [],
3150
+ stateMutability: "nonpayable",
3151
+ type: "function"
3152
+ },
3153
+ {
3154
+ inputs: [],
3155
+ name: "gasService",
3156
+ outputs: [
3157
+ {
3158
+ internalType: "contract IAxelarGasService",
3159
+ name: "",
3160
+ type: "address"
3161
+ }
3162
+ ],
3163
+ stateMutability: "view",
3164
+ type: "function"
3165
+ },
3166
+ {
3167
+ inputs: [],
3168
+ name: "gateway",
3169
+ outputs: [
3170
+ {
3171
+ internalType: "contract IAxelarGateway",
3172
+ name: "",
3173
+ type: "address"
3174
+ }
3175
+ ],
3176
+ stateMutability: "view",
3177
+ type: "function"
3178
+ },
3179
+ {
3180
+ inputs: [],
3181
+ name: "getRootHash",
3182
+ outputs: [
3183
+ {
3184
+ internalType: "uint256",
3185
+ name: "",
3186
+ type: "uint256"
3187
+ }
3188
+ ],
3189
+ stateMutability: "view",
3190
+ type: "function"
3191
+ },
3192
+ {
3193
+ inputs: [
3194
+ {
3195
+ internalType: "uint256",
3196
+ name: "accessKey",
3197
+ type: "uint256"
3198
+ }
3199
+ ],
3200
+ name: "hasToken",
3201
+ outputs: [
3202
+ {
3203
+ internalType: "bool",
3204
+ name: "",
3205
+ type: "bool"
3206
+ }
3207
+ ],
3208
+ stateMutability: "view",
3209
+ type: "function"
3210
+ },
3211
+ {
3212
+ inputs: [],
3213
+ name: "hinkal",
3214
+ outputs: [
3215
+ {
3216
+ internalType: "address",
3217
+ name: "",
3218
+ type: "address"
3219
+ }
3220
+ ],
3221
+ stateMutability: "view",
3222
+ type: "function"
3223
+ },
3224
+ {
3225
+ inputs: [
3226
+ {
3227
+ components: [
3228
+ {
3229
+ components: [
3230
+ {
3231
+ internalType: "string",
3232
+ name: "destinationChain",
3233
+ type: "string"
3234
+ },
3235
+ {
3236
+ internalType: "string",
3237
+ name: "destinationAddress",
3238
+ type: "string"
3239
+ },
3240
+ {
3241
+ internalType: "uint256",
3242
+ name: "messageFee",
3243
+ type: "uint256"
3244
+ }
3245
+ ],
3246
+ internalType: "struct AxelarChainInfo[]",
3247
+ name: "chains",
3248
+ type: "tuple[]"
3249
+ },
3250
+ {
3251
+ internalType: "uint256",
3252
+ name: "totalMessageFees",
3253
+ type: "uint256"
3254
+ }
3255
+ ],
3256
+ internalType: "struct AxelarCapsule",
3257
+ name: "capsule",
3258
+ type: "tuple"
3259
+ },
3260
+ {
3261
+ internalType: "uint256",
3262
+ name: "accessKey",
3263
+ type: "uint256"
3264
+ }
3265
+ ],
3266
+ name: "migrateAccessToken",
3267
+ outputs: [],
3268
+ stateMutability: "payable",
3269
+ type: "function"
3270
+ },
3271
+ {
3272
+ inputs: [
3273
+ {
3274
+ internalType: "address",
3275
+ name: "",
3276
+ type: "address"
3277
+ },
3278
+ {
3279
+ internalType: "address",
3280
+ name: "",
3281
+ type: "address"
3282
+ },
3283
+ {
3284
+ internalType: "uint256",
3285
+ name: "",
3286
+ type: "uint256"
3287
+ },
3288
+ {
3289
+ internalType: "bytes",
3290
+ name: "",
3291
+ type: "bytes"
3292
+ }
3293
+ ],
3294
+ name: "onERC721Received",
3295
+ outputs: [
3296
+ {
3297
+ internalType: "bytes4",
3298
+ name: "",
3299
+ type: "bytes4"
3300
+ }
3301
+ ],
3302
+ stateMutability: "pure",
3303
+ type: "function"
3304
+ },
3305
+ {
3306
+ inputs: [],
3307
+ name: "owner",
3308
+ outputs: [
3309
+ {
3310
+ internalType: "address",
3311
+ name: "",
3312
+ type: "address"
3313
+ }
3314
+ ],
3315
+ stateMutability: "view",
3316
+ type: "function"
3317
+ },
3318
+ {
3319
+ inputs: [],
3320
+ name: "pendingOwner",
3321
+ outputs: [
3322
+ {
3323
+ internalType: "address",
3324
+ name: "",
3325
+ type: "address"
3326
+ }
3327
+ ],
3328
+ stateMutability: "view",
3329
+ type: "function"
3330
+ },
3331
+ {
3332
+ inputs: [
3333
+ {
3334
+ internalType: "address",
3335
+ name: "sender",
3336
+ type: "address"
3337
+ }
3338
+ ],
3339
+ name: "registerCheck",
3340
+ outputs: [],
3341
+ stateMutability: "view",
3342
+ type: "function"
3343
+ },
3344
+ {
3345
+ inputs: [
3346
+ {
3347
+ internalType: "address",
3348
+ name: "_address",
3349
+ type: "address"
3350
+ }
3351
+ ],
3352
+ name: "removeAddressFromBlacklist",
3353
+ outputs: [],
3354
+ stateMutability: "nonpayable",
3355
+ type: "function"
3356
+ },
3357
+ {
3358
+ inputs: [],
3359
+ name: "renounceOwnership",
3360
+ outputs: [],
3361
+ stateMutability: "view",
3362
+ type: "function"
3363
+ },
3364
+ {
3365
+ inputs: [
3366
+ {
3367
+ internalType: "address",
3368
+ name: "_gasService",
3369
+ type: "address"
3370
+ }
3371
+ ],
3372
+ name: "setAxelarGasService",
3373
+ outputs: [],
3374
+ stateMutability: "nonpayable",
3375
+ type: "function"
3376
+ },
3377
+ {
3378
+ inputs: [
3379
+ {
3380
+ internalType: "address",
3381
+ name: "newOwner",
3382
+ type: "address"
3383
+ }
3384
+ ],
3385
+ name: "transferOwnership",
3386
+ outputs: [],
3387
+ stateMutability: "nonpayable",
3388
+ type: "function"
3389
+ }
3390
+ ], r = [
3391
+ {
3392
+ inputs: [
3393
+ {
3394
+ internalType: "address[]",
3395
+ name: "_allowedRecipients",
3396
+ type: "address[]"
3397
+ },
3398
+ {
3399
+ internalType: "address",
3400
+ name: "_hinkalWrapper",
3401
+ type: "address"
3402
+ }
3403
+ ],
3404
+ stateMutability: "nonpayable",
3405
+ type: "constructor"
3406
+ },
3407
+ {
3408
+ anonymous: !1,
3409
+ inputs: [
3410
+ {
3411
+ indexed: !1,
3412
+ internalType: "address",
3413
+ name: "sender",
3414
+ type: "address"
3415
+ },
3416
+ {
3417
+ indexed: !1,
3418
+ internalType: "address",
3419
+ name: "tokenAddress",
3420
+ type: "address"
3421
+ },
3422
+ {
3423
+ indexed: !1,
3424
+ internalType: "uint256",
3425
+ name: "amount",
3426
+ type: "uint256"
3427
+ }
3428
+ ],
3429
+ name: "BlockedUtxosCreated",
3430
+ type: "event"
3431
+ },
3432
+ {
3433
+ anonymous: !1,
3434
+ inputs: [
3435
+ {
3436
+ indexed: !0,
3437
+ internalType: "address",
3438
+ name: "previousOwner",
3439
+ type: "address"
3440
+ },
3441
+ {
3442
+ indexed: !0,
3443
+ internalType: "address",
3444
+ name: "newOwner",
3445
+ type: "address"
3446
+ }
3447
+ ],
3448
+ name: "OwnershipTransferStarted",
3449
+ type: "event"
3450
+ },
3451
+ {
3452
+ anonymous: !1,
3453
+ inputs: [
3454
+ {
3455
+ indexed: !0,
3456
+ internalType: "address",
3457
+ name: "previousOwner",
3458
+ type: "address"
3459
+ },
3460
+ {
3461
+ indexed: !0,
3462
+ internalType: "address",
3463
+ name: "newOwner",
3464
+ type: "address"
3465
+ }
3466
+ ],
3467
+ name: "OwnershipTransferred",
3468
+ type: "event"
3469
+ },
3470
+ {
3471
+ inputs: [],
3472
+ name: "acceptOwnership",
3473
+ outputs: [],
3474
+ stateMutability: "nonpayable",
3475
+ type: "function"
3476
+ },
3477
+ {
3478
+ inputs: [
3479
+ {
3480
+ internalType: "address",
3481
+ name: "",
3482
+ type: "address"
3483
+ },
3484
+ {
3485
+ internalType: "address",
3486
+ name: "",
3487
+ type: "address"
3488
+ },
3489
+ {
3490
+ internalType: "uint256[]",
3491
+ name: "",
3492
+ type: "uint256[]"
3493
+ },
3494
+ {
3495
+ internalType: "uint256[]",
3496
+ name: "",
3497
+ type: "uint256[]"
3498
+ },
3499
+ {
3500
+ internalType: "bytes",
3501
+ name: "",
3502
+ type: "bytes"
3503
+ }
3504
+ ],
3505
+ name: "onERC1155BatchReceived",
3506
+ outputs: [
3507
+ {
3508
+ internalType: "bytes4",
3509
+ name: "",
3510
+ type: "bytes4"
3511
+ }
3512
+ ],
3513
+ stateMutability: "pure",
3514
+ type: "function"
3515
+ },
3516
+ {
3517
+ inputs: [
3518
+ {
3519
+ internalType: "address",
3520
+ name: "",
3521
+ type: "address"
3522
+ },
3523
+ {
3524
+ internalType: "address",
3525
+ name: "",
3526
+ type: "address"
3527
+ },
3528
+ {
3529
+ internalType: "uint256",
3530
+ name: "",
3531
+ type: "uint256"
3532
+ },
3533
+ {
3534
+ internalType: "uint256",
3535
+ name: "",
3536
+ type: "uint256"
3537
+ },
3538
+ {
3539
+ internalType: "bytes",
3540
+ name: "",
3541
+ type: "bytes"
3542
+ }
3543
+ ],
3544
+ name: "onERC1155Received",
3545
+ outputs: [
3546
+ {
3547
+ internalType: "bytes4",
3548
+ name: "",
3549
+ type: "bytes4"
3550
+ }
3551
+ ],
3552
+ stateMutability: "pure",
3553
+ type: "function"
3554
+ },
3555
+ {
3556
+ inputs: [
3557
+ {
3558
+ internalType: "address",
3559
+ name: "",
3560
+ type: "address"
3561
+ },
3562
+ {
3563
+ internalType: "address",
3564
+ name: "",
3565
+ type: "address"
3566
+ },
3567
+ {
3568
+ internalType: "uint256",
3569
+ name: "",
3570
+ type: "uint256"
3571
+ },
3572
+ {
3573
+ internalType: "bytes",
3574
+ name: "",
3575
+ type: "bytes"
3576
+ }
3577
+ ],
3578
+ name: "onERC721Received",
3579
+ outputs: [
3580
+ {
3581
+ internalType: "bytes4",
3582
+ name: "",
3583
+ type: "bytes4"
3584
+ }
3585
+ ],
3586
+ stateMutability: "pure",
3587
+ type: "function"
3588
+ },
3589
+ {
3590
+ inputs: [],
3591
+ name: "owner",
3592
+ outputs: [
3593
+ {
3594
+ internalType: "address",
3595
+ name: "",
3596
+ type: "address"
3597
+ }
3598
+ ],
3599
+ stateMutability: "view",
3600
+ type: "function"
3601
+ },
3602
+ {
3603
+ inputs: [],
3604
+ name: "pendingOwner",
3605
+ outputs: [
3606
+ {
3607
+ internalType: "address",
3608
+ name: "",
3609
+ type: "address"
3610
+ }
3611
+ ],
3612
+ stateMutability: "view",
3613
+ type: "function"
3614
+ },
3615
+ {
3616
+ inputs: [],
3617
+ name: "renounceOwnership",
3618
+ outputs: [],
3619
+ stateMutability: "view",
3620
+ type: "function"
3621
+ },
3622
+ {
3623
+ inputs: [
3624
+ {
3625
+ components: [
3626
+ {
3627
+ internalType: "uint256",
3628
+ name: "rootHashHinkal",
3629
+ type: "uint256"
3630
+ },
3631
+ {
3632
+ internalType: "address[]",
3633
+ name: "erc20TokenAddresses",
3634
+ type: "address[]"
3635
+ },
3636
+ {
3637
+ internalType: "uint256[]",
3638
+ name: "tokenIds",
3639
+ type: "uint256[]"
3640
+ },
3641
+ {
3642
+ internalType: "int256[]",
3643
+ name: "amountChanges",
3644
+ type: "int256[]"
3645
+ },
3646
+ {
3647
+ internalType: "bool[]",
3648
+ name: "onChainCreation",
3649
+ type: "bool[]"
3650
+ },
3651
+ {
3652
+ internalType: "int256[]",
3653
+ name: "slippageValues",
3654
+ type: "int256[]"
3655
+ },
3656
+ {
3657
+ internalType: "uint256[][]",
3658
+ name: "inputNullifiers",
3659
+ type: "uint256[][]"
3660
+ },
3661
+ {
3662
+ internalType: "uint256[][]",
3663
+ name: "outCommitments",
3664
+ type: "uint256[][]"
3665
+ },
3666
+ {
3667
+ internalType: "bytes[][]",
3668
+ name: "encryptedOutputs",
3669
+ type: "bytes[][]"
3670
+ },
3671
+ {
3672
+ components: [
3673
+ {
3674
+ internalType: "address",
3675
+ name: "feeToken",
3676
+ type: "address"
3677
+ },
3678
+ {
3679
+ internalType: "uint256",
3680
+ name: "flatFee",
3681
+ type: "uint256"
3682
+ },
3683
+ {
3684
+ internalType: "uint256",
3685
+ name: "variableRate",
3686
+ type: "uint256"
3687
+ }
3688
+ ],
3689
+ internalType: "struct FeeStructure",
3690
+ name: "feeStructure",
3691
+ type: "tuple"
3692
+ },
3693
+ {
3694
+ internalType: "uint256",
3695
+ name: "timeStamp",
3696
+ type: "uint256"
3697
+ },
3698
+ {
3699
+ components: [
3700
+ {
3701
+ internalType: "uint256",
3702
+ name: "extraRandomization",
3703
+ type: "uint256"
3704
+ },
3705
+ {
3706
+ internalType: "uint256",
3707
+ name: "stealthAddress",
3708
+ type: "uint256"
3709
+ },
3710
+ {
3711
+ internalType: "uint256",
3712
+ name: "H0",
3713
+ type: "uint256"
3714
+ },
3715
+ {
3716
+ internalType: "uint256",
3717
+ name: "H1",
3718
+ type: "uint256"
3719
+ }
3720
+ ],
3721
+ internalType: "struct StealthAddressStructure",
3722
+ name: "stealthAddressStructure",
3723
+ type: "tuple"
3724
+ },
3725
+ {
3726
+ internalType: "uint256",
3727
+ name: "rootHashAccessToken",
3728
+ type: "uint256"
3729
+ },
3730
+ {
3731
+ internalType: "uint256",
3732
+ name: "calldataHash",
3733
+ type: "uint256"
3734
+ },
3735
+ {
3736
+ internalType: "uint16",
3737
+ name: "publicSignalCount",
3738
+ type: "uint16"
3739
+ },
3740
+ {
3741
+ internalType: "address",
3742
+ name: "relay",
3743
+ type: "address"
3744
+ },
3745
+ {
3746
+ internalType: "address",
3747
+ name: "externalAddress",
3748
+ type: "address"
3749
+ },
3750
+ {
3751
+ internalType: "uint256",
3752
+ name: "externalActionId",
3753
+ type: "uint256"
3754
+ },
3755
+ {
3756
+ internalType: "bytes",
3757
+ name: "externalActionMetadata",
3758
+ type: "bytes"
3759
+ },
3760
+ {
3761
+ components: [
3762
+ {
3763
+ internalType: "uint256",
3764
+ name: "hinkalLogicAction",
3765
+ type: "uint256"
3766
+ },
3767
+ {
3768
+ internalType: "uint256",
3769
+ name: "inHinkalAddress",
3770
+ type: "uint256"
3771
+ },
3772
+ {
3773
+ internalType: "int256[]",
3774
+ name: "executeApprovalChanges",
3775
+ type: "int256[]"
3776
+ },
3777
+ {
3778
+ internalType: "bool",
3779
+ name: "doPreTxApproval",
3780
+ type: "bool"
3781
+ },
3782
+ {
3783
+ components: [
3784
+ {
3785
+ internalType: "int256[]",
3786
+ name: "approvalChanges",
3787
+ type: "int256[]"
3788
+ },
3789
+ {
3790
+ internalType: "address[]",
3791
+ name: "externalApprovalAddresses",
3792
+ type: "address[]"
3793
+ },
3794
+ {
3795
+ internalType: "uint256[]",
3796
+ name: "conversionInHinkalAddress",
3797
+ type: "uint256[]"
3798
+ }
3799
+ ],
3800
+ internalType: "struct UseApprovalUTXOData[]",
3801
+ name: "useApprovalUtxoData",
3802
+ type: "tuple[]"
3803
+ }
3804
+ ],
3805
+ internalType: "struct HinkalLogicArgs",
3806
+ name: "hinkalLogicArgs",
3807
+ type: "tuple"
3808
+ },
3809
+ {
3810
+ components: [
3811
+ {
3812
+ internalType: "address",
3813
+ name: "preHookContract",
3814
+ type: "address"
3815
+ },
3816
+ {
3817
+ internalType: "address",
3818
+ name: "hookContract",
3819
+ type: "address"
3820
+ },
3821
+ {
3822
+ internalType: "bytes",
3823
+ name: "preHookMetadata",
3824
+ type: "bytes"
3825
+ },
3826
+ {
3827
+ internalType: "bytes",
3828
+ name: "postHookMetadata",
3829
+ type: "bytes"
3830
+ }
3831
+ ],
3832
+ internalType: "struct HookData",
3833
+ name: "hookData",
3834
+ type: "tuple"
3835
+ },
3836
+ {
3837
+ components: [
3838
+ {
3839
+ internalType: "uint8",
3840
+ name: "v",
3841
+ type: "uint8"
3842
+ },
3843
+ {
3844
+ internalType: "bytes32",
3845
+ name: "r",
3846
+ type: "bytes32"
3847
+ },
3848
+ {
3849
+ internalType: "bytes32",
3850
+ name: "s",
3851
+ type: "bytes32"
3852
+ },
3853
+ {
3854
+ internalType: "uint256",
3855
+ name: "accessKey",
3856
+ type: "uint256"
3857
+ },
3858
+ {
3859
+ internalType: "uint256",
3860
+ name: "nonce",
3861
+ type: "uint256"
3862
+ },
3863
+ {
3864
+ internalType: "address",
3865
+ name: "ethereumAddress",
3866
+ type: "address"
3867
+ }
3868
+ ],
3869
+ internalType: "struct SignatureData",
3870
+ name: "signatureData",
3871
+ type: "tuple"
3872
+ },
3873
+ {
3874
+ internalType: "address",
3875
+ name: "originalSender",
3876
+ type: "address"
3877
+ }
3878
+ ],
3879
+ internalType: "struct CircomData",
3880
+ name: "circomData",
3881
+ type: "tuple"
3882
+ },
3883
+ {
3884
+ internalType: "int256[]",
3885
+ name: "deltaAmounts",
3886
+ type: "int256[]"
3887
+ }
3888
+ ],
3889
+ name: "runAction",
3890
+ outputs: [
3891
+ {
3892
+ components: [
3893
+ {
3894
+ internalType: "uint256",
3895
+ name: "amount",
3896
+ type: "uint256"
3897
+ },
3898
+ {
3899
+ internalType: "address",
3900
+ name: "erc20Address",
3901
+ type: "address"
3902
+ },
3903
+ {
3904
+ components: [
3905
+ {
3906
+ internalType: "uint256",
3907
+ name: "extraRandomization",
3908
+ type: "uint256"
3909
+ },
3910
+ {
3911
+ internalType: "uint256",
3912
+ name: "stealthAddress",
3913
+ type: "uint256"
3914
+ },
3915
+ {
3916
+ internalType: "uint256",
3917
+ name: "H0",
3918
+ type: "uint256"
3919
+ },
3920
+ {
3921
+ internalType: "uint256",
3922
+ name: "H1",
3923
+ type: "uint256"
3924
+ }
3925
+ ],
3926
+ internalType: "struct StealthAddressStructure",
3927
+ name: "stealthAddressStructure",
3928
+ type: "tuple"
3929
+ },
3930
+ {
3931
+ internalType: "uint256",
3932
+ name: "timeStamp",
3933
+ type: "uint256"
3934
+ },
3935
+ {
3936
+ internalType: "uint256",
3937
+ name: "tokenId",
3938
+ type: "uint256"
3939
+ }
3940
+ ],
3941
+ internalType: "struct UTXO[]",
3942
+ name: "",
3943
+ type: "tuple[]"
3944
+ }
3945
+ ],
3946
+ stateMutability: "nonpayable",
3947
+ type: "function"
3948
+ },
3949
+ {
3950
+ inputs: [
3951
+ {
3952
+ internalType: "address[]",
3953
+ name: "recipients",
3954
+ type: "address[]"
3955
+ }
3956
+ ],
3957
+ name: "setAllowedRecipients",
3958
+ outputs: [],
3959
+ stateMutability: "nonpayable",
3960
+ type: "function"
3961
+ },
3962
+ {
3963
+ inputs: [
3964
+ {
3965
+ internalType: "address",
3966
+ name: "_hinkalWrapper",
3967
+ type: "address"
3968
+ }
3969
+ ],
3970
+ name: "setHinkalWrapper",
3971
+ outputs: [],
3972
+ stateMutability: "nonpayable",
3973
+ type: "function"
3974
+ },
3975
+ {
3976
+ inputs: [
3977
+ {
3978
+ internalType: "bytes4",
3979
+ name: "_interfaceId",
3980
+ type: "bytes4"
3981
+ }
3982
+ ],
3983
+ name: "supportsInterface",
3984
+ outputs: [
3985
+ {
3986
+ internalType: "bool",
3987
+ name: "",
3988
+ type: "bool"
3989
+ }
3990
+ ],
3991
+ stateMutability: "view",
3992
+ type: "function"
3993
+ },
3994
+ {
3995
+ inputs: [
3996
+ {
3997
+ internalType: "address",
3998
+ name: "newOwner",
3999
+ type: "address"
4000
+ }
4001
+ ],
4002
+ name: "transferOwnership",
4003
+ outputs: [],
4004
+ stateMutability: "nonpayable",
4005
+ type: "function"
4006
+ },
4007
+ {
4008
+ stateMutability: "payable",
4009
+ type: "receive"
4010
+ }
4011
+ ], u = [
4012
+ {
4013
+ inputs: [
4014
+ {
4015
+ internalType: "address",
4016
+ name: "_hinkal",
4017
+ type: "address"
4018
+ }
4019
+ ],
4020
+ stateMutability: "nonpayable",
4021
+ type: "constructor"
4022
+ },
4023
+ {
4024
+ anonymous: !1,
4025
+ inputs: [
4026
+ {
4027
+ indexed: !0,
4028
+ internalType: "address",
4029
+ name: "previousOwner",
4030
+ type: "address"
4031
+ },
4032
+ {
4033
+ indexed: !0,
4034
+ internalType: "address",
4035
+ name: "newOwner",
4036
+ type: "address"
4037
+ }
4038
+ ],
4039
+ name: "OwnershipTransferStarted",
4040
+ type: "event"
4041
+ },
4042
+ {
4043
+ anonymous: !1,
4044
+ inputs: [
4045
+ {
4046
+ indexed: !0,
4047
+ internalType: "address",
4048
+ name: "previousOwner",
4049
+ type: "address"
4050
+ },
4051
+ {
4052
+ indexed: !0,
4053
+ internalType: "address",
4054
+ name: "newOwner",
4055
+ type: "address"
4056
+ }
4057
+ ],
4058
+ name: "OwnershipTransferred",
4059
+ type: "event"
4060
+ },
4061
+ {
4062
+ inputs: [],
4063
+ name: "acceptOwnership",
4064
+ outputs: [],
4065
+ stateMutability: "nonpayable",
4066
+ type: "function"
4067
+ },
4068
+ {
4069
+ inputs: [],
4070
+ name: "getEth",
4071
+ outputs: [
4072
+ {
4073
+ internalType: "uint256",
4074
+ name: "",
4075
+ type: "uint256"
4076
+ }
4077
+ ],
4078
+ stateMutability: "nonpayable",
4079
+ type: "function"
4080
+ },
4081
+ {
4082
+ inputs: [],
4083
+ name: "getSender",
4084
+ outputs: [
4085
+ {
4086
+ internalType: "address",
4087
+ name: "",
4088
+ type: "address"
4089
+ }
4090
+ ],
4091
+ stateMutability: "view",
4092
+ type: "function"
4093
+ },
4094
+ {
4095
+ inputs: [
4096
+ {
4097
+ internalType: "address",
4098
+ name: "",
4099
+ type: "address"
4100
+ },
4101
+ {
4102
+ internalType: "address",
4103
+ name: "",
4104
+ type: "address"
4105
+ },
4106
+ {
4107
+ internalType: "uint256[]",
4108
+ name: "",
4109
+ type: "uint256[]"
4110
+ },
4111
+ {
4112
+ internalType: "uint256[]",
4113
+ name: "",
4114
+ type: "uint256[]"
4115
+ },
4116
+ {
4117
+ internalType: "bytes",
4118
+ name: "",
4119
+ type: "bytes"
4120
+ }
4121
+ ],
4122
+ name: "onERC1155BatchReceived",
4123
+ outputs: [
4124
+ {
4125
+ internalType: "bytes4",
4126
+ name: "",
4127
+ type: "bytes4"
4128
+ }
4129
+ ],
4130
+ stateMutability: "pure",
4131
+ type: "function"
4132
+ },
4133
+ {
4134
+ inputs: [
4135
+ {
4136
+ internalType: "address",
4137
+ name: "",
4138
+ type: "address"
4139
+ },
4140
+ {
4141
+ internalType: "address",
4142
+ name: "",
4143
+ type: "address"
4144
+ },
4145
+ {
4146
+ internalType: "uint256",
4147
+ name: "",
4148
+ type: "uint256"
4149
+ },
4150
+ {
4151
+ internalType: "uint256",
4152
+ name: "",
4153
+ type: "uint256"
4154
+ },
4155
+ {
4156
+ internalType: "bytes",
4157
+ name: "",
4158
+ type: "bytes"
4159
+ }
4160
+ ],
4161
+ name: "onERC1155Received",
4162
+ outputs: [
4163
+ {
4164
+ internalType: "bytes4",
4165
+ name: "",
4166
+ type: "bytes4"
4167
+ }
4168
+ ],
4169
+ stateMutability: "pure",
4170
+ type: "function"
4171
+ },
4172
+ {
4173
+ inputs: [
4174
+ {
4175
+ internalType: "address",
4176
+ name: "",
4177
+ type: "address"
4178
+ },
4179
+ {
4180
+ internalType: "address",
4181
+ name: "",
4182
+ type: "address"
4183
+ },
4184
+ {
4185
+ internalType: "uint256",
4186
+ name: "",
4187
+ type: "uint256"
4188
+ },
4189
+ {
4190
+ internalType: "bytes",
4191
+ name: "",
4192
+ type: "bytes"
4193
+ }
4194
+ ],
4195
+ name: "onERC721Received",
4196
+ outputs: [
4197
+ {
4198
+ internalType: "bytes4",
4199
+ name: "",
4200
+ type: "bytes4"
4201
+ }
4202
+ ],
4203
+ stateMutability: "pure",
4204
+ type: "function"
4205
+ },
4206
+ {
4207
+ inputs: [],
4208
+ name: "owner",
4209
+ outputs: [
4210
+ {
4211
+ internalType: "address",
4212
+ name: "",
4213
+ type: "address"
4214
+ }
4215
+ ],
4216
+ stateMutability: "view",
4217
+ type: "function"
4218
+ },
4219
+ {
4220
+ inputs: [],
4221
+ name: "pendingOwner",
4222
+ outputs: [
4223
+ {
4224
+ internalType: "address",
4225
+ name: "",
4226
+ type: "address"
4227
+ }
4228
+ ],
4229
+ stateMutability: "view",
4230
+ type: "function"
4231
+ },
4232
+ {
4233
+ inputs: [],
4234
+ name: "renounceOwnership",
4235
+ outputs: [],
4236
+ stateMutability: "view",
4237
+ type: "function"
4238
+ },
4239
+ {
4240
+ inputs: [
4241
+ {
4242
+ internalType: "address",
4243
+ name: "_hinkal",
4244
+ type: "address"
4245
+ }
4246
+ ],
4247
+ name: "setHinkalAddress",
4248
+ outputs: [],
4249
+ stateMutability: "nonpayable",
4250
+ type: "function"
4251
+ },
4252
+ {
4253
+ inputs: [
4254
+ {
4255
+ internalType: "bytes4",
4256
+ name: "_interfaceId",
4257
+ type: "bytes4"
4258
+ }
4259
+ ],
4260
+ name: "supportsInterface",
4261
+ outputs: [
4262
+ {
4263
+ internalType: "bool",
4264
+ name: "",
4265
+ type: "bool"
4266
+ }
4267
+ ],
4268
+ stateMutability: "view",
4269
+ type: "function"
4270
+ },
4271
+ {
4272
+ inputs: [
4273
+ {
4274
+ components: [
4275
+ {
4276
+ internalType: "uint8",
4277
+ name: "v",
4278
+ type: "uint8"
4279
+ },
4280
+ {
4281
+ internalType: "bytes32",
4282
+ name: "r",
4283
+ type: "bytes32"
4284
+ },
4285
+ {
4286
+ internalType: "bytes32",
4287
+ name: "s",
4288
+ type: "bytes32"
4289
+ }
4290
+ ],
4291
+ internalType: "struct Signature",
4292
+ name: "proofSignature",
4293
+ type: "tuple"
4294
+ },
4295
+ {
4296
+ internalType: "uint256[2]",
4297
+ name: "a",
4298
+ type: "uint256[2]"
4299
+ },
4300
+ {
4301
+ internalType: "uint256[2][2]",
4302
+ name: "b",
4303
+ type: "uint256[2][2]"
4304
+ },
4305
+ {
4306
+ internalType: "uint256[2]",
4307
+ name: "c",
4308
+ type: "uint256[2]"
4309
+ },
4310
+ {
4311
+ components: [
4312
+ {
4313
+ internalType: "uint16",
4314
+ name: "tokenNumber",
4315
+ type: "uint16"
4316
+ },
4317
+ {
4318
+ internalType: "uint16",
4319
+ name: "nullifierAmount",
4320
+ type: "uint16"
4321
+ },
4322
+ {
4323
+ internalType: "uint16",
4324
+ name: "outputAmount",
4325
+ type: "uint16"
4326
+ }
4327
+ ],
4328
+ internalType: "struct Dimensions",
4329
+ name: "dimensions",
4330
+ type: "tuple"
4331
+ },
4332
+ {
4333
+ components: [
4334
+ {
4335
+ internalType: "uint256",
4336
+ name: "rootHashHinkal",
4337
+ type: "uint256"
4338
+ },
4339
+ {
4340
+ internalType: "address[]",
4341
+ name: "erc20TokenAddresses",
4342
+ type: "address[]"
4343
+ },
4344
+ {
4345
+ internalType: "uint256[]",
4346
+ name: "tokenIds",
4347
+ type: "uint256[]"
4348
+ },
4349
+ {
4350
+ internalType: "int256[]",
4351
+ name: "amountChanges",
4352
+ type: "int256[]"
4353
+ },
4354
+ {
4355
+ internalType: "bool[]",
4356
+ name: "onChainCreation",
4357
+ type: "bool[]"
4358
+ },
4359
+ {
4360
+ internalType: "int256[]",
4361
+ name: "slippageValues",
4362
+ type: "int256[]"
4363
+ },
4364
+ {
4365
+ internalType: "uint256[][]",
4366
+ name: "inputNullifiers",
4367
+ type: "uint256[][]"
4368
+ },
4369
+ {
4370
+ internalType: "uint256[][]",
4371
+ name: "outCommitments",
4372
+ type: "uint256[][]"
4373
+ },
4374
+ {
4375
+ internalType: "bytes[][]",
4376
+ name: "encryptedOutputs",
4377
+ type: "bytes[][]"
4378
+ },
4379
+ {
4380
+ components: [
4381
+ {
4382
+ internalType: "address",
4383
+ name: "feeToken",
4384
+ type: "address"
4385
+ },
4386
+ {
4387
+ internalType: "uint256",
4388
+ name: "flatFee",
4389
+ type: "uint256"
4390
+ },
4391
+ {
4392
+ internalType: "uint256",
4393
+ name: "variableRate",
4394
+ type: "uint256"
4395
+ }
4396
+ ],
4397
+ internalType: "struct FeeStructure",
4398
+ name: "feeStructure",
4399
+ type: "tuple"
4400
+ },
4401
+ {
4402
+ internalType: "uint256",
4403
+ name: "timeStamp",
4404
+ type: "uint256"
4405
+ },
4406
+ {
4407
+ components: [
4408
+ {
4409
+ internalType: "uint256",
4410
+ name: "extraRandomization",
4411
+ type: "uint256"
4412
+ },
4413
+ {
4414
+ internalType: "uint256",
4415
+ name: "stealthAddress",
4416
+ type: "uint256"
4417
+ },
4418
+ {
4419
+ internalType: "uint256",
4420
+ name: "H0",
4421
+ type: "uint256"
4422
+ },
4423
+ {
4424
+ internalType: "uint256",
4425
+ name: "H1",
4426
+ type: "uint256"
4427
+ }
4428
+ ],
4429
+ internalType: "struct StealthAddressStructure",
4430
+ name: "stealthAddressStructure",
4431
+ type: "tuple"
4432
+ },
4433
+ {
4434
+ internalType: "uint256",
4435
+ name: "rootHashAccessToken",
4436
+ type: "uint256"
4437
+ },
4438
+ {
4439
+ internalType: "uint256",
4440
+ name: "calldataHash",
4441
+ type: "uint256"
4442
+ },
4443
+ {
4444
+ internalType: "uint16",
4445
+ name: "publicSignalCount",
4446
+ type: "uint16"
4447
+ },
4448
+ {
4449
+ internalType: "address",
4450
+ name: "relay",
4451
+ type: "address"
4452
+ },
4453
+ {
4454
+ internalType: "address",
4455
+ name: "externalAddress",
4456
+ type: "address"
4457
+ },
4458
+ {
4459
+ internalType: "uint256",
4460
+ name: "externalActionId",
4461
+ type: "uint256"
4462
+ },
4463
+ {
4464
+ internalType: "bytes",
4465
+ name: "externalActionMetadata",
4466
+ type: "bytes"
4467
+ },
4468
+ {
4469
+ components: [
4470
+ {
4471
+ internalType: "uint256",
4472
+ name: "hinkalLogicAction",
4473
+ type: "uint256"
4474
+ },
4475
+ {
4476
+ internalType: "uint256",
4477
+ name: "inHinkalAddress",
4478
+ type: "uint256"
4479
+ },
4480
+ {
4481
+ internalType: "int256[]",
4482
+ name: "executeApprovalChanges",
4483
+ type: "int256[]"
4484
+ },
4485
+ {
4486
+ internalType: "bool",
4487
+ name: "doPreTxApproval",
4488
+ type: "bool"
4489
+ },
4490
+ {
4491
+ components: [
4492
+ {
4493
+ internalType: "int256[]",
4494
+ name: "approvalChanges",
4495
+ type: "int256[]"
4496
+ },
4497
+ {
4498
+ internalType: "address[]",
4499
+ name: "externalApprovalAddresses",
4500
+ type: "address[]"
4501
+ },
4502
+ {
4503
+ internalType: "uint256[]",
4504
+ name: "conversionInHinkalAddress",
4505
+ type: "uint256[]"
4506
+ }
4507
+ ],
4508
+ internalType: "struct UseApprovalUTXOData[]",
4509
+ name: "useApprovalUtxoData",
4510
+ type: "tuple[]"
4511
+ }
4512
+ ],
4513
+ internalType: "struct HinkalLogicArgs",
4514
+ name: "hinkalLogicArgs",
4515
+ type: "tuple"
4516
+ },
4517
+ {
4518
+ components: [
4519
+ {
4520
+ internalType: "address",
4521
+ name: "preHookContract",
4522
+ type: "address"
4523
+ },
4524
+ {
4525
+ internalType: "address",
4526
+ name: "hookContract",
4527
+ type: "address"
4528
+ },
4529
+ {
4530
+ internalType: "bytes",
4531
+ name: "preHookMetadata",
4532
+ type: "bytes"
4533
+ },
4534
+ {
4535
+ internalType: "bytes",
4536
+ name: "postHookMetadata",
4537
+ type: "bytes"
4538
+ }
4539
+ ],
4540
+ internalType: "struct HookData",
4541
+ name: "hookData",
4542
+ type: "tuple"
4543
+ },
4544
+ {
4545
+ components: [
4546
+ {
4547
+ internalType: "uint8",
4548
+ name: "v",
4549
+ type: "uint8"
4550
+ },
4551
+ {
4552
+ internalType: "bytes32",
4553
+ name: "r",
4554
+ type: "bytes32"
4555
+ },
4556
+ {
4557
+ internalType: "bytes32",
4558
+ name: "s",
4559
+ type: "bytes32"
4560
+ },
4561
+ {
4562
+ internalType: "uint256",
4563
+ name: "accessKey",
4564
+ type: "uint256"
4565
+ },
4566
+ {
4567
+ internalType: "uint256",
4568
+ name: "nonce",
4569
+ type: "uint256"
4570
+ },
4571
+ {
4572
+ internalType: "address",
4573
+ name: "ethereumAddress",
4574
+ type: "address"
4575
+ }
4576
+ ],
4577
+ internalType: "struct SignatureData",
4578
+ name: "signatureData",
4579
+ type: "tuple"
4580
+ },
4581
+ {
4582
+ internalType: "address",
4583
+ name: "originalSender",
4584
+ type: "address"
4585
+ }
4586
+ ],
4587
+ internalType: "struct CircomData",
4588
+ name: "circomData",
4589
+ type: "tuple"
4590
+ }
4591
+ ],
4592
+ name: "transact",
4593
+ outputs: [],
4594
+ stateMutability: "payable",
4595
+ type: "function"
4596
+ },
4597
+ {
4598
+ inputs: [
4599
+ {
4600
+ internalType: "address",
4601
+ name: "newOwner",
4602
+ type: "address"
4603
+ }
4604
+ ],
4605
+ name: "transferOwnership",
4606
+ outputs: [],
4607
+ stateMutability: "nonpayable",
4608
+ type: "function"
4609
+ },
4610
+ {
4611
+ stateMutability: "payable",
4612
+ type: "receive"
4613
+ }
4614
+ ], l = {
4615
+ hinkalAddress: e,
4616
+ hinkalHelperAddress: t,
4617
+ accessTokenAddress: n,
4618
+ depositOnChainUtxosExternalActionAddress: a,
4619
+ hinkalWrapperAddress: i,
4620
+ hinkalABI: s,
4621
+ hinkalHelperABI: p,
4622
+ accessTokenABI: y,
4623
+ depositOnChainUtxosExternalActionABI: r,
4624
+ hinkalWrapperABI: u
4625
+ };
4626
+ export {
4627
+ y as accessTokenABI,
4628
+ n as accessTokenAddress,
4629
+ l as default,
4630
+ r as depositOnChainUtxosExternalActionABI,
4631
+ a as depositOnChainUtxosExternalActionAddress,
4632
+ s as hinkalABI,
4633
+ e as hinkalAddress,
4634
+ p as hinkalHelperABI,
4635
+ t as hinkalHelperAddress,
4636
+ u as hinkalWrapperABI,
4637
+ i as hinkalWrapperAddress
4638
+ };