@hinkal/common 0.2.30 → 0.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. package/API/API.cjs +1 -1
  2. package/API/API.d.ts +26 -11
  3. package/API/API.mjs +103 -88
  4. package/API/callMonitor.cjs +1 -1
  5. package/API/callMonitor.d.ts +8 -0
  6. package/API/callMonitor.mjs +2 -2
  7. package/API/callRelayer.d.ts +4 -1
  8. package/API/dashboardAccountCalls.cjs +1 -0
  9. package/API/dashboardAccountCalls.d.ts +24 -0
  10. package/API/dashboardAccountCalls.mjs +10 -0
  11. package/API/dashboardAccountMemberCalls.cjs +1 -0
  12. package/API/dashboardAccountMemberCalls.d.ts +34 -0
  13. package/API/dashboardAccountMemberCalls.mjs +16 -0
  14. package/API/dashboardBalanceCalls.cjs +1 -0
  15. package/API/dashboardBalanceCalls.d.ts +12 -0
  16. package/API/dashboardBalanceCalls.mjs +13 -0
  17. package/API/dashboardContactCalls.cjs +1 -0
  18. package/API/dashboardContactCalls.d.ts +9 -0
  19. package/API/dashboardContactCalls.mjs +13 -0
  20. package/API/dashboardPayoutCalls.cjs +1 -0
  21. package/API/dashboardPayoutCalls.d.ts +14 -0
  22. package/API/dashboardPayoutCalls.mjs +13 -0
  23. package/API/dashboardTransactionCalls.cjs +1 -0
  24. package/API/dashboardTransactionCalls.d.ts +3 -0
  25. package/API/dashboardTransactionCalls.mjs +10 -0
  26. package/API/enclaveRecipientInfoCalls.cjs +1 -0
  27. package/API/enclaveRecipientInfoCalls.d.ts +14 -0
  28. package/API/enclaveRecipientInfoCalls.mjs +7 -0
  29. package/API/enclaveSignatureCalls.cjs +1 -1
  30. package/API/enclaveSignatureCalls.d.ts +3 -8
  31. package/API/enclaveSignatureCalls.mjs +6 -8
  32. package/API/enclaveUtxoCalls.cjs +1 -1
  33. package/API/enclaveUtxoCalls.d.ts +8 -2
  34. package/API/enclaveUtxoCalls.mjs +5 -3
  35. package/API/fetchCommitmentsCache.cjs +1 -1
  36. package/API/fetchCommitmentsCache.d.ts +1 -19
  37. package/API/fetchCommitmentsCache.mjs +9 -22
  38. package/API/getAnyRecipientInfo.d.ts +1 -0
  39. package/API/getServerURL.cjs +1 -1
  40. package/API/getServerURL.d.ts +3 -0
  41. package/API/getServerURL.mjs +15 -32
  42. package/API/getWebsiteURL.cjs +1 -1
  43. package/API/getWebsiteURL.d.ts +3 -2
  44. package/API/getWebsiteURL.mjs +12 -5
  45. package/API/index.cjs +1 -1
  46. package/API/index.d.ts +2 -0
  47. package/API/index.mjs +2 -0
  48. package/API/kycCalls.cjs +1 -1
  49. package/API/kycCalls.d.ts +0 -5
  50. package/API/kycCalls.mjs +3 -10
  51. package/API/privateSendRecipientInfoCalls.cjs +1 -1
  52. package/API/privateSendRecipientInfoCalls.d.ts +0 -10
  53. package/API/privateSendRecipientInfoCalls.mjs +2 -2
  54. package/API/scheduled-transactions-calls.cjs +1 -1
  55. package/API/scheduled-transactions-calls.d.ts +8 -2
  56. package/API/scheduled-transactions-calls.mjs +5 -4
  57. package/API/tenderly.api.cjs +1 -1
  58. package/API/tenderly.api.d.ts +1 -1
  59. package/API/tenderly.api.mjs +1 -1
  60. package/constants/addresses.constants.cjs +1 -1
  61. package/constants/addresses.constants.d.ts +10 -7
  62. package/constants/addresses.constants.mjs +11 -8
  63. package/constants/assets.constants.cjs +1 -1
  64. package/constants/assets.constants.mjs +1 -1
  65. package/constants/auth.constants.cjs +1 -0
  66. package/constants/auth.constants.d.ts +2 -0
  67. package/constants/auth.constants.mjs +4 -0
  68. package/constants/backend.constants.cjs +1 -1
  69. package/constants/backend.constants.d.ts +0 -1
  70. package/constants/backend.constants.mjs +0 -1
  71. package/constants/bridging.constants.cjs +1 -1
  72. package/constants/bridging.constants.d.ts +2 -0
  73. package/constants/bridging.constants.mjs +7 -3
  74. package/constants/chains.constants.cjs +1 -1
  75. package/constants/chains.constants.d.ts +25 -8
  76. package/constants/chains.constants.mjs +168 -127
  77. package/constants/coingecko.constants.cjs +1 -1
  78. package/constants/coingecko.constants.d.ts +5 -3
  79. package/constants/coingecko.constants.mjs +8 -5
  80. package/constants/contracts.constants.cjs +1 -1
  81. package/constants/contracts.constants.mjs +0 -4
  82. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  83. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +125 -850
  84. package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -1
  85. package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +97 -1013
  86. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  87. package/constants/deploy-data/deploy-data-base.json.mjs +132 -869
  88. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  89. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +132 -871
  90. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  91. package/constants/deploy-data/deploy-data-localhost.json.mjs +6 -808
  92. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  93. package/constants/deploy-data/deploy-data-optimism.json.mjs +132 -869
  94. package/constants/deploy-data/deploy-data-optimismTest.json.cjs +1 -0
  95. package/constants/deploy-data/deploy-data-optimismTest.json.mjs +3565 -0
  96. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  97. package/constants/deploy-data/deploy-data-polygon.json.mjs +132 -869
  98. package/constants/deploy-data/deploy-data-sepoliaTestnet.json.cjs +1 -0
  99. package/constants/deploy-data/deploy-data-sepoliaTestnet.json.mjs +3561 -0
  100. package/constants/deploy-data/deploy-data-solana.json.cjs +1 -1
  101. package/constants/deploy-data/deploy-data-solana.json.mjs +1 -1
  102. package/constants/deploy-data/deploy-data-tempo.json.cjs +1 -0
  103. package/constants/deploy-data/deploy-data-tempo.json.mjs +3563 -0
  104. package/constants/deploy-data/deploy-data-tronMainnet.json.cjs +1 -1
  105. package/constants/deploy-data/deploy-data-tronMainnet.json.mjs +133 -870
  106. package/constants/deploy-data/deploy-data-tronNile.json.cjs +1 -1
  107. package/constants/deploy-data/deploy-data-tronNile.json.mjs +133 -870
  108. package/constants/deploy-data/index.d.ts +4 -1
  109. package/constants/events.constants.cjs +1 -1
  110. package/constants/events.constants.mjs +4 -1
  111. package/constants/fees.constants.cjs +1 -1
  112. package/constants/fees.constants.d.ts +5 -1
  113. package/constants/fees.constants.mjs +9 -5
  114. package/constants/index.cjs +1 -1
  115. package/constants/index.d.ts +2 -1
  116. package/constants/index.mjs +6 -2
  117. package/constants/kyc.constants.cjs +1 -1
  118. package/constants/kyc.constants.d.ts +1 -1
  119. package/constants/kyc.constants.mjs +38 -37
  120. package/constants/lifi.constants.cjs +1 -1
  121. package/constants/lifi.constants.d.ts +2 -0
  122. package/constants/lifi.constants.mjs +7 -2
  123. package/constants/mediaUrls.constants.cjs +1 -1
  124. package/constants/mediaUrls.constants.d.ts +7 -1
  125. package/constants/mediaUrls.constants.mjs +9 -3
  126. package/constants/price-impact.constants.cjs +1 -0
  127. package/constants/price-impact.constants.d.ts +2 -0
  128. package/constants/price-impact.constants.mjs +4 -0
  129. package/constants/protocol.constants.cjs +1 -1
  130. package/constants/protocol.constants.d.ts +4 -1
  131. package/constants/protocol.constants.mjs +2 -2
  132. package/constants/reorg-depths.constants.cjs +1 -1
  133. package/constants/reorg-depths.constants.d.ts +3 -1
  134. package/constants/reorg-depths.constants.mjs +3 -1
  135. package/constants/save-depths.cjs +1 -1
  136. package/constants/save-depths.d.ts +3 -1
  137. package/constants/save-depths.mjs +3 -1
  138. package/constants/server.constants.cjs +1 -1
  139. package/constants/server.constants.d.ts +33 -8
  140. package/constants/server.constants.mjs +44 -24
  141. package/constants/token-data/ERC20Registry.cjs +1 -1
  142. package/constants/token-data/ERC20Registry.mjs +20 -9
  143. package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
  144. package/constants/token-data/arbMainnetRegistry.json.mjs +24 -24
  145. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  146. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +24 -24
  147. package/constants/token-data/arcTestnetRegistry.json.cjs +1 -1
  148. package/constants/token-data/arcTestnetRegistry.json.mjs +3 -3
  149. package/constants/token-data/baseRegistry.json.cjs +1 -1
  150. package/constants/token-data/baseRegistry.json.mjs +20 -12
  151. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  152. package/constants/token-data/baseRegistryFixed.json.mjs +18 -10
  153. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  154. package/constants/token-data/ethMainnetRegistry.json.mjs +38 -38
  155. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  156. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +38 -38
  157. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  158. package/constants/token-data/localhostRegistry.json.mjs +211 -211
  159. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  160. package/constants/token-data/optimismRegistry.json.mjs +36 -28
  161. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  162. package/constants/token-data/optimismRegistryFixed.json.mjs +36 -28
  163. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  164. package/constants/token-data/polygonRegistry.json.mjs +34 -26
  165. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  166. package/constants/token-data/polygonRegistryFixed.json.mjs +34 -26
  167. package/constants/token-data/sepoliaTestnetRegistry.json.cjs +1 -0
  168. package/constants/token-data/sepoliaTestnetRegistry.json.mjs +21 -0
  169. package/constants/token-data/solanaMainnetRegistry.json.cjs +1 -1
  170. package/constants/token-data/solanaMainnetRegistry.json.mjs +1 -1
  171. package/constants/token-data/tempoRegistry.json.cjs +1 -0
  172. package/constants/token-data/tempoRegistry.json.mjs +37 -0
  173. package/constants/token-data/tronMainnetRegistry.json.cjs +1 -1
  174. package/constants/token-data/tronMainnetRegistry.json.mjs +26 -15
  175. package/constants/token-data/tronNileRegistry.json.cjs +1 -1
  176. package/constants/token-data/tronNileRegistry.json.mjs +2 -2
  177. package/constants/tokens.constants.cjs +1 -1
  178. package/constants/tokens.constants.d.ts +1 -0
  179. package/constants/tokens.constants.mjs +10 -3
  180. package/constants/vite.constants.cjs +1 -1
  181. package/constants/vite.constants.mjs +23 -5
  182. package/constants/wallet.constants.cjs +1 -1
  183. package/constants/wallet.constants.d.ts +1 -1
  184. package/constants/wallet.constants.mjs +2 -18
  185. package/crypto/babyJub.d.ts +1 -1
  186. package/crypto/ecdh-dual-path.cjs +1 -0
  187. package/crypto/ecdh-dual-path.d.ts +13 -0
  188. package/crypto/ecdh-dual-path.mjs +39 -0
  189. package/crypto/ecdh-sealed-keys.cjs +1 -0
  190. package/crypto/ecdh-sealed-keys.d.ts +22 -0
  191. package/crypto/ecdh-sealed-keys.mjs +33 -0
  192. package/crypto/ecdh.cjs +1 -0
  193. package/crypto/ecdh.d.ts +2 -0
  194. package/crypto/ecdh.mjs +9 -0
  195. package/crypto/eddsa.cjs +1 -0
  196. package/crypto/eddsa.d.ts +8 -0
  197. package/crypto/eddsa.mjs +12 -0
  198. package/crypto/index.cjs +1 -1
  199. package/crypto/index.d.ts +4 -0
  200. package/crypto/index.mjs +4 -0
  201. package/crypto/preProcessing.cjs +1 -1
  202. package/crypto/preProcessing.d.ts +1 -1
  203. package/crypto/preProcessing.mjs +10 -8
  204. package/data-structures/AccountActions/AccountActions.cjs +1 -1
  205. package/data-structures/AccountActions/AccountActions.mjs +3 -2
  206. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs +1 -1
  207. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +2 -3
  208. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  209. package/data-structures/Hinkal/Hinkal.d.ts +16 -21
  210. package/data-structures/Hinkal/Hinkal.mjs +144 -160
  211. package/data-structures/Hinkal/IHinkal.d.ts +13 -19
  212. package/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -1
  213. package/data-structures/Hinkal/handleAutoDepositBack.mjs +15 -15
  214. package/data-structures/Hinkal/hinkalClaimUtxo.cjs +1 -1
  215. package/data-structures/Hinkal/hinkalClaimUtxo.d.ts +1 -2
  216. package/data-structures/Hinkal/hinkalClaimUtxo.mjs +49 -47
  217. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  218. package/data-structures/Hinkal/hinkalDeposit.d.ts +5 -3
  219. package/data-structures/Hinkal/hinkalDeposit.mjs +106 -50
  220. package/data-structures/Hinkal/hinkalDepositAndBridge.cjs +1 -1
  221. package/data-structures/Hinkal/hinkalDepositAndBridge.d.ts +1 -1
  222. package/data-structures/Hinkal/hinkalDepositAndBridge.mjs +94 -87
  223. package/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -1
  224. package/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +3 -2
  225. package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +48 -48
  226. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.cjs +1 -1
  227. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +41 -63
  228. package/data-structures/Hinkal/hinkalPalEvmDeposit.cjs +1 -0
  229. package/data-structures/Hinkal/hinkalPalEvmDeposit.d.ts +9 -0
  230. package/data-structures/Hinkal/hinkalPalEvmDeposit.mjs +19 -0
  231. package/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.cjs +1 -0
  232. package/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.d.ts +9 -0
  233. package/data-structures/Hinkal/hinkalPalSolanaDepositPrepare.mjs +18 -0
  234. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.cjs +1 -0
  235. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.d.ts +9 -0
  236. package/data-structures/Hinkal/hinkalPalTronDepositPrepare.mjs +17 -0
  237. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  238. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +46 -50
  239. package/data-structures/Hinkal/hinkalProoflessDeposit.cjs +1 -1
  240. package/data-structures/Hinkal/hinkalProoflessDeposit.d.ts +4 -1
  241. package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +84 -128
  242. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.cjs +1 -0
  243. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.d.ts +7 -0
  244. package/data-structures/Hinkal/hinkalProoflessDeposit.utils.mjs +51 -0
  245. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.cjs +1 -0
  246. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.d.ts +6 -0
  247. package/data-structures/Hinkal/hinkalProoflessDepositViaWrapper.mjs +128 -0
  248. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.cjs +1 -1
  249. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.d.ts +2 -2
  250. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +68 -69
  251. package/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -1
  252. package/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +4 -3
  253. package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +96 -57
  254. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -1
  255. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +20 -2
  256. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +114 -122
  257. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.cjs +1 -1
  258. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.d.ts +1 -1
  259. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs +12 -17
  260. package/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -1
  261. package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +38 -40
  262. package/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -1
  263. package/data-structures/Hinkal/hinkalSolanaProxySwap.d.ts +4 -3
  264. package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +68 -52
  265. package/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -1
  266. package/data-structures/Hinkal/hinkalSolanaSwap.d.ts +2 -2
  267. package/data-structures/Hinkal/hinkalSolanaSwap.mjs +67 -72
  268. package/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -1
  269. package/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +2 -1
  270. package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +56 -61
  271. package/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -1
  272. package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +38 -48
  273. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  274. package/data-structures/Hinkal/hinkalSwap.mjs +32 -42
  275. package/data-structures/Hinkal/hinkalTransfer.cjs +1 -1
  276. package/data-structures/Hinkal/hinkalTransfer.mjs +41 -54
  277. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  278. package/data-structures/Hinkal/hinkalWithdraw.mjs +43 -56
  279. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
  280. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +87 -108
  281. package/data-structures/Hinkal/index.cjs +1 -1
  282. package/data-structures/Hinkal/index.d.ts +5 -0
  283. package/data-structures/Hinkal/index.mjs +5 -0
  284. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.cjs +1 -0
  285. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.d.ts +22 -0
  286. package/data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.mjs +34 -0
  287. package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
  288. package/data-structures/Hinkal/resetMerkleTrees.mjs +33 -40
  289. package/data-structures/IndexedDB/activity-db.cjs +1 -1
  290. package/data-structures/IndexedDB/activity-db.mjs +25 -24
  291. package/data-structures/IndexedDB/contact-db.cjs +1 -1
  292. package/data-structures/IndexedDB/contact-db.d.ts +1 -0
  293. package/data-structures/IndexedDB/contact-db.mjs +30 -16
  294. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
  295. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +1 -1
  296. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +4 -4
  297. package/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +1 -1
  298. package/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +37 -34
  299. package/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -1
  300. package/data-structures/TokenDBs/EventsPublicTokensDB.d.ts +2 -0
  301. package/data-structures/TokenDBs/EventsPublicTokensDB.mjs +65 -50
  302. package/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -1
  303. package/data-structures/TokenDBs/PrivateTokensDB.mjs +2 -1
  304. package/data-structures/WalletManager/WalletManager.cjs +1 -0
  305. package/data-structures/WalletManager/WalletManager.d.ts +51 -0
  306. package/data-structures/WalletManager/WalletManager.mjs +99 -0
  307. package/data-structures/WalletManager/index.cjs +1 -0
  308. package/data-structures/WalletManager/index.d.ts +1 -0
  309. package/data-structures/WalletManager/index.mjs +1 -0
  310. package/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
  311. package/data-structures/crypto-keys/decodeUTXO.d.ts +5 -3
  312. package/data-structures/crypto-keys/decodeUTXO.mjs +49 -46
  313. package/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
  314. package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +32 -40
  315. package/data-structures/crypto-keys/keys.cjs +1 -1
  316. package/data-structures/crypto-keys/keys.d.ts +51 -24
  317. package/data-structures/crypto-keys/keys.mjs +104 -43
  318. package/data-structures/custom-token-registry/CustomTokenRegistry.cjs +1 -1
  319. package/data-structures/custom-token-registry/CustomTokenRegistry.mjs +2 -2
  320. package/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -1
  321. package/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +2 -2
  322. package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +4 -4
  323. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.cjs +1 -1
  324. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs +1 -1
  325. package/data-structures/event-service/helpers/ClientEventHelper.cjs +1 -1
  326. package/data-structures/event-service/helpers/ClientEventHelper.mjs +3 -3
  327. package/data-structures/event-service/helpers/PollingEventHelper.cjs +1 -1
  328. package/data-structures/event-service/helpers/PollingEventHelper.d.ts +2 -0
  329. package/data-structures/event-service/helpers/PollingEventHelper.mjs +7 -3
  330. package/data-structures/event-service/index.cjs +1 -1
  331. package/data-structures/event-service/index.d.ts +0 -3
  332. package/data-structures/event-service/index.mjs +0 -3
  333. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.cjs +1 -1
  334. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs +1 -1
  335. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.cjs +1 -1
  336. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +2 -2
  337. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +5 -5
  338. package/data-structures/index.cjs +1 -1
  339. package/data-structures/index.d.ts +1 -0
  340. package/data-structures/index.mjs +10 -10
  341. package/data-structures/merkle-tree/index.cjs +1 -1
  342. package/data-structures/merkle-tree/index.d.ts +0 -1
  343. package/data-structures/merkle-tree/index.mjs +0 -1
  344. package/data-structures/provider-adapter/IProviderAdapter.d.ts +6 -0
  345. package/data-structures/snapshot/SnapshotFetcherService.cjs +1 -1
  346. package/data-structures/snapshot/SnapshotFetcherService.d.ts +0 -2
  347. package/data-structures/snapshot/SnapshotFetcherService.mjs +0 -6
  348. package/data-structures/snapshot/index.cjs +1 -1
  349. package/data-structures/snapshot/index.d.ts +0 -3
  350. package/data-structures/snapshot/index.mjs +0 -3
  351. package/data-structures/utxo/Utxo.cjs +1 -1
  352. package/data-structures/utxo/Utxo.d.ts +16 -10
  353. package/data-structures/utxo/Utxo.mjs +40 -38
  354. package/error-handling/customErrors/HttpError.cjs +1 -0
  355. package/error-handling/customErrors/HttpError.d.ts +4 -0
  356. package/error-handling/customErrors/HttpError.mjs +8 -0
  357. package/error-handling/customErrors/index.cjs +1 -1
  358. package/error-handling/customErrors/index.d.ts +1 -0
  359. package/error-handling/customErrors/index.mjs +1 -0
  360. package/error-handling/error-codes.constants.cjs +1 -1
  361. package/error-handling/error-codes.constants.d.ts +11 -0
  362. package/error-handling/error-codes.constants.mjs +13 -2
  363. package/error-handling/index.cjs +1 -1
  364. package/error-handling/index.mjs +1 -0
  365. package/error-handling/retrySolanaError.cjs +1 -0
  366. package/error-handling/retrySolanaError.d.ts +1 -0
  367. package/error-handling/retrySolanaError.mjs +4 -0
  368. package/externalABIs/index.cjs +1 -1
  369. package/externalABIs/index.d.ts +1 -16
  370. package/externalABIs/index.mjs +4 -5
  371. package/functions/auto-deposit-back-helpers/get-gas-token-records.d.ts +1 -1
  372. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.d.ts +1 -1
  373. package/functions/index.cjs +1 -1
  374. package/functions/index.mjs +28 -19
  375. package/functions/kyc/checkTokenLimitsUSD.cjs +1 -1
  376. package/functions/kyc/checkTokenLimitsUSD.mjs +15 -15
  377. package/functions/kyc/index.cjs +1 -1
  378. package/functions/kyc/index.d.ts +0 -1
  379. package/functions/kyc/index.mjs +0 -1
  380. package/functions/pre-transaction/addressTableLookup.cjs +1 -1
  381. package/functions/pre-transaction/addressTableLookup.mjs +21 -18
  382. package/functions/pre-transaction/buildCommitmentValidationData.cjs +1 -0
  383. package/functions/pre-transaction/buildCommitmentValidationData.d.ts +4 -0
  384. package/functions/pre-transaction/buildCommitmentValidationData.mjs +58 -0
  385. package/functions/pre-transaction/calculateSolanaNullifierCount.cjs +1 -0
  386. package/functions/pre-transaction/calculateSolanaNullifierCount.d.ts +2 -0
  387. package/functions/pre-transaction/calculateSolanaNullifierCount.mjs +23 -0
  388. package/functions/pre-transaction/constructAdminData.cjs +1 -1
  389. package/functions/pre-transaction/constructAdminData.mjs +4 -4
  390. package/functions/pre-transaction/index.cjs +1 -1
  391. package/functions/pre-transaction/index.d.ts +2 -3
  392. package/functions/pre-transaction/index.mjs +3 -4
  393. package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
  394. package/functions/pre-transaction/outputUtxoProcessing.d.ts +1 -1
  395. package/functions/pre-transaction/outputUtxoProcessing.mjs +22 -19
  396. package/functions/pre-transaction/recipientUtxoProcessing.cjs +1 -1
  397. package/functions/pre-transaction/recipientUtxoProcessing.mjs +11 -9
  398. package/functions/pre-transaction/sendInitNullifiersTransaction.cjs +1 -1
  399. package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +9 -9
  400. package/functions/pre-transaction/sendV0Transaction.cjs +1 -1
  401. package/functions/pre-transaction/sendV0Transaction.mjs +45 -43
  402. package/functions/pre-transaction/solana-public-signals.cjs +1 -1
  403. package/functions/pre-transaction/solana-public-signals.d.ts +7 -6
  404. package/functions/pre-transaction/solana-public-signals.mjs +22 -19
  405. package/functions/pre-transaction/solana.cjs +1 -1
  406. package/functions/pre-transaction/solana.d.ts +0 -4
  407. package/functions/pre-transaction/solana.mjs +7 -27
  408. package/functions/pre-transaction/store-proof.cjs +1 -1
  409. package/functions/pre-transaction/store-proof.mjs +3 -3
  410. package/functions/private-wallet/emporium.helpers.cjs +1 -1
  411. package/functions/private-wallet/emporium.helpers.d.ts +14 -4
  412. package/functions/private-wallet/emporium.helpers.mjs +84 -74
  413. package/functions/private-wallet/emporium.swap.helpers.cjs +1 -1
  414. package/functions/private-wallet/emporium.swap.helpers.mjs +6 -6
  415. package/functions/snarkjs/common.snarkjs.cjs +1 -1
  416. package/functions/snarkjs/common.snarkjs.d.ts +8 -13
  417. package/functions/snarkjs/common.snarkjs.mjs +65 -74
  418. package/functions/snarkjs/constant.cjs +1 -1
  419. package/functions/snarkjs/constant.d.ts +146 -426
  420. package/functions/snarkjs/constant.mjs +149 -430
  421. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  422. package/functions/snarkjs/constructGeneralZkProof.d.ts +2 -3
  423. package/functions/snarkjs/constructGeneralZkProof.mjs +74 -57
  424. package/functions/snarkjs/constructSolanaZkProof.cjs +1 -1
  425. package/functions/snarkjs/constructSolanaZkProof.d.ts +1 -2
  426. package/functions/snarkjs/constructSolanaZkProof.mjs +65 -37
  427. package/functions/snarkjs/fetchMerkleTreeSiblings.cjs +1 -1
  428. package/functions/snarkjs/fetchMerkleTreeSiblings.d.ts +1 -1
  429. package/functions/snarkjs/fetchMerkleTreeSiblings.mjs +6 -10
  430. package/functions/snarkjs/fetchOnChainRootHashes.cjs +1 -1
  431. package/functions/snarkjs/fetchOnChainRootHashes.d.ts +0 -1
  432. package/functions/snarkjs/fetchOnChainRootHashes.mjs +22 -7
  433. package/functions/snarkjs/generateCircomData.cjs +1 -1
  434. package/functions/snarkjs/generateCircomData.d.ts +2 -2
  435. package/functions/snarkjs/generateCircomData.mjs +29 -31
  436. package/functions/snarkjs/generateZkProof.cjs +1 -1
  437. package/functions/snarkjs/generateZkProof.mjs +20 -10
  438. package/functions/snarkjs/generateZkProofEnclave.cjs +1 -1
  439. package/functions/snarkjs/generateZkProofEnclave.mjs +15 -18
  440. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.cjs +1 -1
  441. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +2 -9
  442. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +40 -94
  443. package/functions/snarkjs/getZKFiles.cjs +1 -1
  444. package/functions/snarkjs/getZKFiles.d.ts +1 -0
  445. package/functions/snarkjs/getZKFiles.mjs +2 -2
  446. package/functions/snarkjs/index.cjs +1 -1
  447. package/functions/snarkjs/index.d.ts +2 -1
  448. package/functions/snarkjs/index.mjs +2 -1
  449. package/functions/snarkjs/signedMessageHash.cjs +1 -0
  450. package/functions/snarkjs/signedMessageHash.d.ts +31 -0
  451. package/functions/snarkjs/signedMessageHash.mjs +49 -0
  452. package/functions/snarkjs/verifyCommitmentValidationData.cjs +1 -0
  453. package/functions/snarkjs/verifyCommitmentValidationData.d.ts +4 -0
  454. package/functions/snarkjs/verifyCommitmentValidationData.mjs +43 -0
  455. package/functions/utils/addresses.cjs +1 -1
  456. package/functions/utils/addresses.d.ts +2 -0
  457. package/functions/utils/addresses.mjs +12 -8
  458. package/functions/utils/aggregateTokenAmounts.cjs +1 -0
  459. package/functions/utils/aggregateTokenAmounts.d.ts +2 -0
  460. package/functions/utils/aggregateTokenAmounts.mjs +26 -0
  461. package/functions/utils/amounts.utils.cjs +1 -1
  462. package/functions/utils/amounts.utils.d.ts +0 -1
  463. package/functions/utils/amounts.utils.mjs +18 -18
  464. package/functions/utils/auth.utils.cjs +1 -0
  465. package/functions/utils/auth.utils.d.ts +5 -0
  466. package/functions/utils/auth.utils.mjs +7 -0
  467. package/functions/utils/bit.operations.cjs +1 -0
  468. package/functions/utils/bit.operations.d.ts +3 -0
  469. package/functions/utils/bit.operations.mjs +4 -0
  470. package/functions/utils/buildClaimableDepositPlan.cjs +1 -1
  471. package/functions/utils/buildClaimableDepositPlan.d.ts +3 -2
  472. package/functions/utils/buildClaimableDepositPlan.mjs +32 -24
  473. package/functions/utils/cacheFunctions.cjs +1 -1
  474. package/functions/utils/cacheFunctions.d.ts +0 -4
  475. package/functions/utils/cacheFunctions.mjs +33 -47
  476. package/functions/utils/create-provider.cjs +1 -1
  477. package/functions/utils/create-provider.d.ts +2 -3
  478. package/functions/utils/create-provider.mjs +9 -9
  479. package/functions/utils/customEnclaveFunctionsRegister.cjs +1 -0
  480. package/functions/utils/customEnclaveFunctionsRegister.d.ts +18 -0
  481. package/functions/utils/customEnclaveFunctionsRegister.mjs +8 -0
  482. package/functions/utils/deposit-claimable.utils.cjs +1 -0
  483. package/functions/utils/deposit-claimable.utils.d.ts +6 -0
  484. package/functions/utils/deposit-claimable.utils.mjs +106 -0
  485. package/functions/utils/dispatchBalanceRefreshes.cjs +1 -0
  486. package/functions/utils/dispatchBalanceRefreshes.d.ts +4 -0
  487. package/functions/utils/dispatchBalanceRefreshes.mjs +44 -0
  488. package/functions/utils/enclave-recipient-info-storage.cjs +1 -0
  489. package/functions/utils/enclave-recipient-info-storage.d.ts +2 -0
  490. package/functions/utils/enclave-recipient-info-storage.mjs +17 -0
  491. package/functions/utils/enclave-signature-storage.cjs +1 -1
  492. package/functions/utils/enclave-signature-storage.d.ts +1 -2
  493. package/functions/utils/enclave-signature-storage.mjs +6 -9
  494. package/functions/utils/enclave-utxo-storage.cjs +1 -1
  495. package/functions/utils/enclave-utxo-storage.d.ts +3 -2
  496. package/functions/utils/enclave-utxo-storage.mjs +18 -21
  497. package/functions/utils/encodeTokenWithId.cjs +1 -1
  498. package/functions/utils/encodeTokenWithId.mjs +1 -1
  499. package/functions/utils/encryptInputForEnclave.cjs +1 -1
  500. package/functions/utils/encryptInputForEnclave.mjs +17 -23
  501. package/functions/utils/enum.utils.cjs +1 -0
  502. package/functions/utils/enum.utils.mjs +12 -0
  503. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  504. package/functions/utils/erc20tokenFunctions.d.ts +2 -0
  505. package/functions/utils/erc20tokenFunctions.mjs +26 -16
  506. package/functions/utils/evmNetworkFunctions.d.ts +1 -2
  507. package/functions/utils/fees.utils.cjs +1 -1
  508. package/functions/utils/fees.utils.d.ts +2 -1
  509. package/functions/utils/fees.utils.mjs +30 -16
  510. package/functions/utils/formatter.cjs +1 -0
  511. package/functions/utils/formatter.d.ts +1 -0
  512. package/functions/utils/formatter.mjs +15 -0
  513. package/functions/utils/getBlockExplorerUrl.cjs +1 -1
  514. package/functions/utils/getBlockExplorerUrl.mjs +1 -1
  515. package/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -1
  516. package/functions/utils/getRecipientInfoFromUserKeys.d.ts +2 -0
  517. package/functions/utils/getRecipientInfoFromUserKeys.mjs +14 -9
  518. package/functions/utils/getUtxosFromReceipt.utils.cjs +1 -1
  519. package/functions/utils/getUtxosFromReceipt.utils.d.ts +1 -0
  520. package/functions/utils/getUtxosFromReceipt.utils.mjs +43 -27
  521. package/functions/utils/getUtxosFromReceiptSolana.cjs +1 -1
  522. package/functions/utils/getUtxosFromReceiptSolana.d.ts +1 -0
  523. package/functions/utils/getUtxosFromReceiptSolana.mjs +36 -21
  524. package/functions/utils/getWalletGroupKey.utils.cjs +1 -1
  525. package/functions/utils/getWalletGroupKey.utils.mjs +4 -1
  526. package/functions/utils/index.cjs +1 -1
  527. package/functions/utils/index.d.ts +14 -1
  528. package/functions/utils/index.mjs +21 -9
  529. package/functions/utils/lifi.utils.cjs +1 -0
  530. package/functions/utils/lifi.utils.d.ts +3 -0
  531. package/functions/utils/lifi.utils.mjs +30 -0
  532. package/functions/utils/mnemonics.cjs +1 -0
  533. package/functions/utils/mnemonics.d.ts +1 -0
  534. package/functions/utils/mnemonics.mjs +8 -0
  535. package/functions/utils/pay-routing.utils.cjs +1 -0
  536. package/functions/utils/pay-routing.utils.d.ts +4 -0
  537. package/functions/utils/pay-routing.utils.mjs +17 -0
  538. package/functions/utils/prepareHinkal.cjs +1 -1
  539. package/functions/utils/prepareHinkal.mjs +29 -29
  540. package/functions/utils/publicBalance.utils.cjs +1 -1
  541. package/functions/utils/publicBalance.utils.mjs +5 -5
  542. package/functions/utils/serialize-utxos.utils.cjs +1 -1
  543. package/functions/utils/serialize-utxos.utils.mjs +6 -2
  544. package/functions/utils/solana-memo.cjs +1 -0
  545. package/functions/utils/solana-memo.d.ts +3 -0
  546. package/functions/utils/solana-memo.mjs +15 -0
  547. package/functions/utils/solanaSendPreflight.utils.cjs +1 -0
  548. package/functions/utils/solanaSendPreflight.utils.d.ts +6 -0
  549. package/functions/utils/solanaSendPreflight.utils.mjs +21 -0
  550. package/functions/utils/string.utils.cjs +1 -1
  551. package/functions/utils/string.utils.mjs +1 -1
  552. package/functions/utils/time.utils.cjs +1 -1
  553. package/functions/utils/time.utils.d.ts +6 -0
  554. package/functions/utils/time.utils.mjs +23 -16
  555. package/functions/utils/token-check.utils.cjs +1 -1
  556. package/functions/utils/token-check.utils.d.ts +1 -0
  557. package/functions/utils/token-check.utils.mjs +9 -8
  558. package/functions/utils/transfer-claimable.utils.cjs +1 -0
  559. package/functions/utils/transfer-claimable.utils.d.ts +9 -0
  560. package/functions/utils/transfer-claimable.utils.mjs +93 -0
  561. package/functions/utils/tron.utils.cjs +1 -1
  562. package/functions/utils/tron.utils.d.ts +11 -1
  563. package/functions/utils/tron.utils.mjs +85 -40
  564. package/functions/utils/tx-confirmation.utils.cjs +1 -1
  565. package/functions/utils/tx-confirmation.utils.d.ts +1 -1
  566. package/functions/utils/tx-confirmation.utils.mjs +5 -5
  567. package/functions/utils/userAgent.cjs +1 -1
  568. package/functions/utils/userAgent.d.ts +1 -0
  569. package/functions/utils/userAgent.mjs +4 -1
  570. package/functions/web3/connectors.utils.cjs +1 -1
  571. package/functions/web3/connectors.utils.d.ts +1 -0
  572. package/functions/web3/connectors.utils.mjs +5 -2
  573. package/functions/web3/events/balanceChangedHandler.cjs +1 -1
  574. package/functions/web3/events/balanceChangedHandler.d.ts +2 -1
  575. package/functions/web3/events/balanceChangedHandler.mjs +3 -3
  576. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  577. package/functions/web3/events/getInputUtxoAndBalance.d.ts +1 -1
  578. package/functions/web3/events/getInputUtxoAndBalance.mjs +21 -20
  579. package/functions/web3/events/getInputUtxosEnclave.cjs +1 -1
  580. package/functions/web3/events/getInputUtxosEnclave.d.ts +2 -1
  581. package/functions/web3/events/getInputUtxosEnclave.mjs +25 -18
  582. package/functions/web3/events/getShieldedBalance.cjs +1 -1
  583. package/functions/web3/events/getShieldedBalance.mjs +15 -17
  584. package/functions/web3/events/getTransactionLogEvents.cjs +1 -1
  585. package/functions/web3/events/getTransactionLogEvents.d.ts +8 -5
  586. package/functions/web3/events/getTransactionLogEvents.mjs +1 -1
  587. package/functions/web3/events/index.cjs +1 -1
  588. package/functions/web3/events/index.d.ts +0 -2
  589. package/functions/web3/events/index.mjs +0 -2
  590. package/functions/web3/functionCalls/constructBatchCall.cjs +1 -1
  591. package/functions/web3/functionCalls/constructBatchCall.d.ts +1 -0
  592. package/functions/web3/functionCalls/constructBatchCall.mjs +10 -2
  593. package/functions/web3/functionCalls/transactCallDirectTron.cjs +1 -1
  594. package/functions/web3/functionCalls/transactCallDirectTron.d.ts +4 -1
  595. package/functions/web3/functionCalls/transactCallDirectTron.mjs +89 -55
  596. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  597. package/functions/web3/functionCalls/transactCallRelayer.d.ts +5 -4
  598. package/functions/web3/functionCalls/transactCallRelayer.mjs +17 -13
  599. package/functions/web3/getContractMetadata.cjs +1 -1
  600. package/functions/web3/getContractMetadata.mjs +1 -1
  601. package/functions/web3/getTokenHolder.cjs +1 -1
  602. package/functions/web3/getTokenHolder.mjs +1 -1
  603. package/functions/web3/index.cjs +1 -1
  604. package/functions/web3/index.d.ts +0 -1
  605. package/functions/web3/index.mjs +0 -3
  606. package/functions/web3/lifiAPI.cjs +1 -1
  607. package/functions/web3/lifiAPI.mjs +28 -19
  608. package/functions/web3/oneInchAPI.cjs +1 -1
  609. package/functions/web3/oneInchAPI.mjs +1 -1
  610. package/index.cjs +1 -1
  611. package/index.mjs +331 -309
  612. package/package.json +5 -2
  613. package/providers/EthersProviderAdapter.cjs +1 -1
  614. package/providers/EthersProviderAdapter.mjs +1 -1
  615. package/providers/SolanaProviderAdapter.cjs +1 -1
  616. package/providers/SolanaProviderAdapter.d.ts +10 -1
  617. package/providers/SolanaProviderAdapter.mjs +38 -2
  618. package/providers/TronProviderAdapter.cjs +1 -1
  619. package/providers/TronProviderAdapter.mjs +2 -2
  620. package/providers/WagmiProviderAdapter.cjs +1 -1
  621. package/providers/WagmiProviderAdapter.d.ts +3 -1
  622. package/providers/WagmiProviderAdapter.mjs +62 -52
  623. package/providers/prepareSolanaHinkal.cjs +1 -1
  624. package/providers/prepareSolanaHinkal.mjs +3 -3
  625. package/types/admin.types.cjs +1 -1
  626. package/types/admin.types.d.ts +1 -8
  627. package/types/admin.types.mjs +1 -1
  628. package/types/cache.types.cjs +1 -1
  629. package/types/cache.types.d.ts +2 -1
  630. package/types/cache.types.mjs +1 -1
  631. package/types/chains.types.cjs +1 -0
  632. package/types/chains.types.d.ts +11 -0
  633. package/types/chains.types.mjs +8 -0
  634. package/types/circom-data.types.d.ts +13 -0
  635. package/types/commitments.types.d.ts +0 -6
  636. package/types/contacts.types.d.ts +1 -0
  637. package/types/dashboard-account.cjs +1 -0
  638. package/types/dashboard-account.d.ts +101 -0
  639. package/types/dashboard-account.mjs +8 -0
  640. package/types/dashboard-payout.types.cjs +1 -0
  641. package/types/dashboard-payout.types.d.ts +29 -0
  642. package/types/dashboard-payout.types.mjs +8 -0
  643. package/types/dashboard-transaction.types.d.ts +22 -0
  644. package/types/ethereum-network.types.cjs +1 -1
  645. package/types/ethereum-network.types.d.ts +15 -18
  646. package/types/ethereum-network.types.mjs +1 -1
  647. package/types/events.types.cjs +1 -1
  648. package/types/events.types.d.ts +2 -3
  649. package/types/events.types.mjs +1 -1
  650. package/types/external-action.types.cjs +1 -1
  651. package/types/external-action.types.d.ts +2 -1
  652. package/types/external-action.types.mjs +1 -1
  653. package/types/hinkal.types.cjs +1 -1
  654. package/types/hinkal.types.d.ts +6 -17
  655. package/types/hinkal.types.mjs +16 -18
  656. package/types/index.cjs +1 -1
  657. package/types/index.d.ts +6 -0
  658. package/types/index.mjs +3 -0
  659. package/types/pay-activities.types.d.ts +3 -0
  660. package/types/pay-routing.types.d.ts +9 -0
  661. package/types/scheduled-transactions.types.d.ts +7 -0
  662. package/types/solana.types.d.ts +5 -6
  663. package/types/token-prices.types.d.ts +4 -0
  664. package/types/transaction.types.d.ts +1 -3
  665. package/webworker/WorkerWrapper.cjs +1 -0
  666. package/webworker/WorkerWrapper.d.ts +9 -0
  667. package/webworker/WorkerWrapper.mjs +22 -0
  668. package/webworker/logError-fCJ4HXQz.js +22 -0
  669. package/webworker/package.json +112 -0
  670. package/webworker/performTaskWithWorker.cjs +1 -1
  671. package/webworker/performTaskWithWorker.mjs +4 -4
  672. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
  673. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +1 -1
  674. package/webworker/snarkjsWorker/snarkjsWorkerLogic.d.ts +0 -3
  675. package/webworker/snarkjsWorker/snarkjsWorkerNode.d.ts +0 -0
  676. package/webworker/snarkjsWorkerNode.cjs +3 -0
  677. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
  678. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +1 -1
  679. package/webworker/utxoWorker/utxoWorkerLogic.d.ts +0 -3
  680. package/webworker/utxoWorker/utxoWorkerNode.d.ts +0 -0
  681. package/webworker/utxoWorkerNode.cjs +1 -0
  682. package/webworker/viteWorkerURL.constant.cjs +4 -4
  683. package/webworker/viteWorkerURL.constant.mjs +4 -4
  684. package/webworker/worker.registry.cjs +1 -1
  685. package/webworker/worker.registry.mjs +6 -3
  686. package/webworker/workerFactory.cjs +1 -1
  687. package/webworker/workerFactory.d.ts +4 -1
  688. package/webworker/workerFactory.mjs +31 -17
  689. package/webworker/workerProxy-BNBqYien.js +130 -0
  690. package/webworker/workerProxy.d.ts +1 -1
  691. package/webworker/workerThreadsPatch.d.ts +1 -0
  692. package/webworker/zkProofWorker/zkProofWorker.types.cjs +1 -1
  693. package/webworker/zkProofWorker/zkProofWorker.types.d.ts +3 -13
  694. package/webworker/zkProofWorker/zkProofWorker.types.mjs +1 -1
  695. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
  696. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +1 -1
  697. package/webworker/zkProofWorker/zkProofWorkerLogic.d.ts +1 -5
  698. package/webworker/zkProofWorker/zkProofWorkerNode.d.ts +0 -0
  699. package/webworker/zkProofWorkerNode.cjs +1 -0
  700. package/API/solana-calls.cjs +0 -1
  701. package/API/solana-calls.d.ts +0 -38
  702. package/API/solana-calls.mjs +0 -8
  703. package/constants/non-circular-tokens.constants.cjs +0 -1
  704. package/constants/non-circular-tokens.constants.d.ts +0 -1
  705. package/constants/non-circular-tokens.constants.mjs +0 -4
  706. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.cjs +0 -1
  707. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.d.ts +0 -3
  708. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.mjs +0 -15
  709. package/data-structures/Hinkal/hinkalCheckTokenRegistry.cjs +0 -1
  710. package/data-structures/Hinkal/hinkalCheckTokenRegistry.d.ts +0 -4
  711. package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +0 -18
  712. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.cjs +0 -1
  713. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.d.ts +0 -35
  714. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.mjs +0 -75
  715. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.cjs +0 -1
  716. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.d.ts +0 -30
  717. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.mjs +0 -81
  718. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.cjs +0 -1
  719. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.d.ts +0 -35
  720. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +0 -76
  721. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs +0 -1
  722. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.d.ts +0 -2
  723. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +0 -13
  724. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.cjs +0 -1
  725. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.d.ts +0 -8
  726. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs +0 -29
  727. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.cjs +0 -1
  728. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.d.ts +0 -8
  729. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +0 -30
  730. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.cjs +0 -1
  731. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.d.ts +0 -8
  732. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +0 -26
  733. package/externalABIs/transactionsProver.json.cjs +0 -1
  734. package/externalABIs/transactionsProver.json.mjs +0 -43
  735. package/functions/pre-transaction/getKycAndSignatureData.cjs +0 -1
  736. package/functions/pre-transaction/getKycAndSignatureData.d.ts +0 -5
  737. package/functions/pre-transaction/getKycAndSignatureData.mjs +0 -12
  738. package/functions/pre-transaction/getSignatureDataForTransact.cjs +0 -1
  739. package/functions/pre-transaction/getSignatureDataForTransact.d.ts +0 -3
  740. package/functions/pre-transaction/getSignatureDataForTransact.mjs +0 -6
  741. package/functions/pre-transaction/initTokenLimitIfNeeded.cjs +0 -1
  742. package/functions/pre-transaction/initTokenLimitIfNeeded.d.ts +0 -3
  743. package/functions/pre-transaction/initTokenLimitIfNeeded.mjs +0 -17
  744. package/functions/pre-transaction/outputApprovalDataProcessing.cjs +0 -1
  745. package/functions/pre-transaction/outputApprovalDataProcessing.d.ts +0 -10
  746. package/functions/pre-transaction/outputApprovalDataProcessing.mjs +0 -22
  747. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.cjs +0 -1
  748. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.d.ts +0 -6
  749. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.mjs +0 -11
  750. package/functions/snarkjs/constructEmporiumProof.cjs +0 -1
  751. package/functions/snarkjs/constructEmporiumProof.d.ts +0 -13
  752. package/functions/snarkjs/constructEmporiumProof.mjs +0 -74
  753. package/functions/utils/processUseApprovalUtxoData.cjs +0 -1
  754. package/functions/utils/processUseApprovalUtxoData.d.ts +0 -3
  755. package/functions/utils/processUseApprovalUtxoData.mjs +0 -13
  756. package/functions/web3/events/balanceChangedCustomHandler.cjs +0 -1
  757. package/functions/web3/events/balanceChangedCustomHandler.d.ts +0 -2
  758. package/functions/web3/events/balanceChangedCustomHandler.mjs +0 -9
  759. package/functions/web3/events/getApprovedBalance.cjs +0 -1
  760. package/functions/web3/events/getApprovedBalance.d.ts +0 -6
  761. package/functions/web3/events/getApprovedBalance.mjs +0 -37
  762. package/functions/web3/functionCalls/accessTokenCalls.cjs +0 -1
  763. package/functions/web3/functionCalls/accessTokenCalls.d.ts +0 -2
  764. package/functions/web3/functionCalls/accessTokenCalls.mjs +0 -19
  765. package/functions/web3/tron-wagmi-adapter.cjs +0 -1
  766. package/functions/web3/tron-wagmi-adapter.d.ts +0 -8
  767. package/functions/web3/tron-wagmi-adapter.mjs +0 -27
  768. package/providers/CustomEthersProvider.d.ts +0 -10
  769. package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +0 -1
  770. package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +0 -30
  771. package/webworker/utxoWorker/utxoWorkerLogic.cjs +0 -1
  772. package/webworker/utxoWorker/utxoWorkerLogic.mjs +0 -69
  773. package/webworker/workerProxy.cjs +0 -1
  774. package/webworker/workerProxy.mjs +0 -33
  775. package/webworker/zkProofWorker/zkProofWorkerLogic.cjs +0 -1
  776. package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +0 -45
@@ -1399,70 +1399,16 @@ var e = {
1399
1399
  type: "receive"
1400
1400
  }
1401
1401
  ],
1402
- hinkalHelperAddress: "0x97c2a7D8876e79d4dfAC05F8413624BC352A43EF",
1402
+ hinkalHelperAddress: "0x8DddA4bcd7D5daf9e7c9cB465Ffc127151fca4F6",
1403
1403
  hinkalHelperABI: [
1404
1404
  {
1405
- inputs: [
1406
- {
1407
- internalType: "bool",
1408
- name: "_enabled",
1409
- type: "bool"
1410
- },
1411
- {
1412
- internalType: "address",
1413
- name: "_accessToken",
1414
- type: "address"
1415
- },
1416
- {
1417
- internalType: "uint256[]",
1418
- name: "_stakeCircuitIds",
1419
- type: "uint256[]"
1420
- },
1421
- {
1422
- internalType: "address[]",
1423
- name: "_gasTokens",
1424
- type: "address[]"
1425
- },
1426
- {
1427
- internalType: "address[]",
1428
- name: "_initialRelays",
1429
- type: "address[]"
1430
- },
1431
- {
1432
- internalType: "address[]",
1433
- name: "_limitTokens",
1434
- type: "address[]"
1435
- },
1436
- {
1437
- internalType: "uint256[]",
1438
- name: "_tokenLimits",
1439
- type: "uint256[]"
1440
- }
1441
- ],
1442
- stateMutability: "nonpayable",
1443
- type: "constructor"
1444
- },
1445
- {
1446
- anonymous: !1,
1447
- inputs: [{
1448
- indexed: !1,
1449
- internalType: "address",
1450
- name: "erc20Token",
1451
- type: "address"
1452
- }],
1453
- name: "GasTokenAdded",
1454
- type: "event"
1455
- },
1456
- {
1457
- anonymous: !1,
1458
1405
  inputs: [{
1459
- indexed: !1,
1460
- internalType: "address",
1461
- name: "erc20Token",
1462
- type: "address"
1406
+ internalType: "address[]",
1407
+ name: "_initialRelays",
1408
+ type: "address[]"
1463
1409
  }],
1464
- name: "GasTokenRemoved",
1465
- type: "event"
1410
+ stateMutability: "nonpayable",
1411
+ type: "constructor"
1466
1412
  },
1467
1413
  {
1468
1414
  anonymous: !1,
@@ -1480,17 +1426,6 @@ var e = {
1480
1426
  name: "OwnershipTransferred",
1481
1427
  type: "event"
1482
1428
  },
1483
- {
1484
- anonymous: !1,
1485
- inputs: [{
1486
- indexed: !1,
1487
- internalType: "bool",
1488
- name: "isEnabled",
1489
- type: "bool"
1490
- }],
1491
- name: "RegistryStateChanged",
1492
- type: "event"
1493
- },
1494
1429
  {
1495
1430
  anonymous: !1,
1496
1431
  inputs: [{
@@ -1513,22 +1448,6 @@ var e = {
1513
1448
  name: "RelayRemoved",
1514
1449
  type: "event"
1515
1450
  },
1516
- {
1517
- anonymous: !1,
1518
- inputs: [{
1519
- indexed: !1,
1520
- internalType: "address",
1521
- name: "erc20Token",
1522
- type: "address"
1523
- }, {
1524
- indexed: !1,
1525
- internalType: "uint256",
1526
- name: "tokenLimit",
1527
- type: "uint256"
1528
- }],
1529
- name: "TokenLimit",
1530
- type: "event"
1531
- },
1532
1451
  {
1533
1452
  inputs: [],
1534
1453
  name: "MAX_AMOUNT",
@@ -1551,17 +1470,6 @@ var e = {
1551
1470
  stateMutability: "view",
1552
1471
  type: "function"
1553
1472
  },
1554
- {
1555
- inputs: [],
1556
- name: "accessToken",
1557
- outputs: [{
1558
- internalType: "contract IAccessToken",
1559
- name: "",
1560
- type: "address"
1561
- }],
1562
- stateMutability: "view",
1563
- type: "function"
1564
- },
1565
1473
  {
1566
1474
  inputs: [{
1567
1475
  internalType: "address",
@@ -1600,77 +1508,6 @@ var e = {
1600
1508
  stateMutability: "pure",
1601
1509
  type: "function"
1602
1510
  },
1603
- {
1604
- inputs: [{
1605
- internalType: "address[]",
1606
- name: "_gasTokens",
1607
- type: "address[]"
1608
- }, {
1609
- internalType: "bool[]",
1610
- name: "values",
1611
- type: "bool[]"
1612
- }],
1613
- name: "changeGasTokens",
1614
- outputs: [],
1615
- stateMutability: "nonpayable",
1616
- type: "function"
1617
- },
1618
- {
1619
- inputs: [{
1620
- internalType: "bool",
1621
- name: "_enabled",
1622
- type: "bool"
1623
- }],
1624
- name: "changeState",
1625
- outputs: [],
1626
- stateMutability: "nonpayable",
1627
- type: "function"
1628
- },
1629
- {
1630
- inputs: [{
1631
- internalType: "address[]",
1632
- name: "erc20TokenAddresses",
1633
- type: "address[]"
1634
- }, {
1635
- internalType: "int256[]",
1636
- name: "amountChanges",
1637
- type: "int256[]"
1638
- }],
1639
- name: "checkTokenRegistry",
1640
- outputs: [{
1641
- internalType: "bool",
1642
- name: "limitHit",
1643
- type: "bool"
1644
- }],
1645
- stateMutability: "view",
1646
- type: "function"
1647
- },
1648
- {
1649
- inputs: [],
1650
- name: "enabled",
1651
- outputs: [{
1652
- internalType: "bool",
1653
- name: "",
1654
- type: "bool"
1655
- }],
1656
- stateMutability: "view",
1657
- type: "function"
1658
- },
1659
- {
1660
- inputs: [{
1661
- internalType: "address",
1662
- name: "",
1663
- type: "address"
1664
- }],
1665
- name: "gasTokens",
1666
- outputs: [{
1667
- internalType: "bool",
1668
- name: "",
1669
- type: "bool"
1670
- }],
1671
- stateMutability: "view",
1672
- type: "function"
1673
- },
1674
1511
  {
1675
1512
  inputs: [{
1676
1513
  internalType: "uint256",
@@ -1712,21 +1549,6 @@ var e = {
1712
1549
  stateMutability: "view",
1713
1550
  type: "function"
1714
1551
  },
1715
- {
1716
- inputs: [{
1717
- internalType: "address",
1718
- name: "_token",
1719
- type: "address"
1720
- }],
1721
- name: "getTokenLimit",
1722
- outputs: [{
1723
- internalType: "uint256",
1724
- name: "",
1725
- type: "uint256"
1726
- }],
1727
- stateMutability: "view",
1728
- type: "function"
1729
- },
1730
1552
  {
1731
1553
  inputs: [],
1732
1554
  name: "hinkalAddress",
@@ -1738,21 +1560,6 @@ var e = {
1738
1560
  stateMutability: "view",
1739
1561
  type: "function"
1740
1562
  },
1741
- {
1742
- inputs: [{
1743
- internalType: "address",
1744
- name: "token",
1745
- type: "address"
1746
- }],
1747
- name: "isGasToken",
1748
- outputs: [{
1749
- internalType: "bool",
1750
- name: "",
1751
- type: "bool"
1752
- }],
1753
- stateMutability: "view",
1754
- type: "function"
1755
- },
1756
1563
  {
1757
1564
  inputs: [{
1758
1565
  internalType: "address",
@@ -2388,7 +2195,7 @@ var e = {
2388
2195
  }
2389
2196
  ],
2390
2197
  internalType: "struct CircomData",
2391
- name: "circomData",
2198
+ name: "",
2392
2199
  type: "tuple"
2393
2200
  }],
2394
2201
  name: "performSideEffects",
@@ -2447,10 +2254,10 @@ var e = {
2447
2254
  {
2448
2255
  inputs: [{
2449
2256
  internalType: "address",
2450
- name: "_accessToken",
2257
+ name: "_hinkalAddress",
2451
2258
  type: "address"
2452
2259
  }],
2453
- name: "setAccessToken",
2260
+ name: "setHinkalAddress",
2454
2261
  outputs: [],
2455
2262
  stateMutability: "nonpayable",
2456
2263
  type: "function"
@@ -2458,711 +2265,102 @@ var e = {
2458
2265
  {
2459
2266
  inputs: [{
2460
2267
  internalType: "address",
2461
- name: "_hinkalAddress",
2268
+ name: "newOwner",
2462
2269
  type: "address"
2463
2270
  }],
2464
- name: "setHinkalAddress",
2271
+ name: "transferOwnership",
2465
2272
  outputs: [],
2466
2273
  stateMutability: "nonpayable",
2467
2274
  type: "function"
2468
- },
2275
+ }
2276
+ ],
2277
+ uniswapExternalActionAddress: "0xe510A121004E6Ff19fFd9D858BA2Eaf7F65853b1",
2278
+ odosExternalActionInstanceAddress: "0x69f30d20E63cF9aA002586cF237A770Faaf0395D",
2279
+ oneInchExternalActionInstanceAddress: "0xB9b72545AFc179f9A6F1ADEAC45900924fF8F1e7",
2280
+ emporiumAddress: "0x5B0d61033Ea5B176e1B897C3Ed471fF3dC6272aC",
2281
+ hinkalWalletAddress: "0x5332C70a98ff45D16098E25F2d69971Ce46dE395",
2282
+ hinkalWrapperAddress: "0x0F5D2Cdaa5c8c01aa8D852F28676172ee2695c54",
2283
+ hinkalWrapperABI: [
2469
2284
  {
2470
2285
  inputs: [{
2471
- internalType: "address[]",
2472
- name: "_tokens",
2473
- type: "address[]"
2474
- }, {
2475
- internalType: "uint256[]",
2476
- name: "_tokenLimits",
2477
- type: "uint256[]"
2286
+ internalType: "address",
2287
+ name: "_hinkal",
2288
+ type: "address"
2478
2289
  }],
2479
- name: "setTokenLimits",
2480
- outputs: [],
2481
2290
  stateMutability: "nonpayable",
2482
- type: "function"
2291
+ type: "constructor"
2483
2292
  },
2484
2293
  {
2294
+ anonymous: !1,
2485
2295
  inputs: [{
2296
+ indexed: !0,
2486
2297
  internalType: "address",
2487
- name: "",
2298
+ name: "previousOwner",
2299
+ type: "address"
2300
+ }, {
2301
+ indexed: !0,
2302
+ internalType: "address",
2303
+ name: "newOwner",
2488
2304
  type: "address"
2489
2305
  }],
2490
- name: "tokenLimits",
2491
- outputs: [{
2492
- internalType: "uint256",
2493
- name: "",
2494
- type: "uint256"
2495
- }],
2496
- stateMutability: "view",
2497
- type: "function"
2306
+ name: "OwnershipTransferStarted",
2307
+ type: "event"
2498
2308
  },
2499
2309
  {
2310
+ anonymous: !1,
2500
2311
  inputs: [{
2312
+ indexed: !0,
2313
+ internalType: "address",
2314
+ name: "previousOwner",
2315
+ type: "address"
2316
+ }, {
2317
+ indexed: !0,
2501
2318
  internalType: "address",
2502
2319
  name: "newOwner",
2503
2320
  type: "address"
2504
2321
  }],
2505
- name: "transferOwnership",
2322
+ name: "OwnershipTransferred",
2323
+ type: "event"
2324
+ },
2325
+ {
2326
+ inputs: [],
2327
+ name: "acceptOwnership",
2506
2328
  outputs: [],
2507
2329
  stateMutability: "nonpayable",
2508
2330
  type: "function"
2509
2331
  },
2510
2332
  {
2511
- inputs: [{
2333
+ inputs: [],
2334
+ name: "getEth",
2335
+ outputs: [{
2512
2336
  internalType: "uint256",
2513
- name: "externalActionId",
2337
+ name: "",
2514
2338
  type: "uint256"
2515
- }, {
2516
- internalType: "bool",
2517
- name: "value",
2518
- type: "bool"
2519
2339
  }],
2520
- name: "updateStakeCircuits",
2521
- outputs: [],
2522
2340
  stateMutability: "nonpayable",
2523
2341
  type: "function"
2524
- }
2525
- ],
2526
- accessTokenAddress: "0x82C4B40BFb0eD6Af3675aDf3FBa655f01c132D33",
2527
- accessTokenABI: [
2342
+ },
2343
+ {
2344
+ inputs: [],
2345
+ name: "getSender",
2346
+ outputs: [{
2347
+ internalType: "address",
2348
+ name: "",
2349
+ type: "address"
2350
+ }],
2351
+ stateMutability: "view",
2352
+ type: "function"
2353
+ },
2528
2354
  {
2529
2355
  inputs: [
2530
2356
  {
2531
- internalType: "contract IAccessTokenStorage",
2532
- name: "_accessTokenStorage",
2357
+ internalType: "address",
2358
+ name: "",
2533
2359
  type: "address"
2534
2360
  },
2535
2361
  {
2536
2362
  internalType: "address",
2537
- name: "_axelarGateway",
2538
- type: "address"
2539
- },
2540
- {
2541
- internalType: "address",
2542
- name: "_gasService",
2543
- type: "address"
2544
- }
2545
- ],
2546
- stateMutability: "nonpayable",
2547
- type: "constructor"
2548
- },
2549
- {
2550
- inputs: [],
2551
- name: "InvalidAddress",
2552
- type: "error"
2553
- },
2554
- {
2555
- inputs: [],
2556
- name: "InvalidAddressString",
2557
- type: "error"
2558
- },
2559
- {
2560
- inputs: [],
2561
- name: "NotApprovedByGateway",
2562
- type: "error"
2563
- },
2564
- {
2565
- anonymous: !1,
2566
- inputs: [{
2567
- indexed: !1,
2568
- internalType: "uint256",
2569
- name: "blacklistedAccessKey",
2570
- type: "uint256"
2571
- }],
2572
- name: "AccessKeyBlacklisted",
2573
- type: "event"
2574
- },
2575
- {
2576
- anonymous: !1,
2577
- inputs: [{
2578
- indexed: !1,
2579
- internalType: "uint256",
2580
- name: "accessKey",
2581
- type: "uint256"
2582
- }, {
2583
- indexed: !1,
2584
- internalType: "string",
2585
- name: "sourceChain",
2586
- type: "string"
2587
- }],
2588
- name: "AccessKeyMigrationReceived",
2589
- type: "event"
2590
- },
2591
- {
2592
- anonymous: !1,
2593
- inputs: [{
2594
- indexed: !1,
2595
- internalType: "address",
2596
- name: "blacklistedAddress",
2597
- type: "address"
2598
- }],
2599
- name: "AddressBlacklisted",
2600
- type: "event"
2601
- },
2602
- {
2603
- anonymous: !1,
2604
- inputs: [{
2605
- indexed: !1,
2606
- internalType: "address",
2607
- name: "addressToRestore",
2608
- type: "address"
2609
- }],
2610
- name: "AddressRemovedFromBlacklist",
2611
- type: "event"
2612
- },
2613
- {
2614
- anonymous: !1,
2615
- inputs: [{
2616
- indexed: !1,
2617
- internalType: "uint256",
2618
- name: "newMintingFee",
2619
- type: "uint256"
2620
- }],
2621
- name: "MintingFeeChanged",
2622
- type: "event"
2623
- },
2624
- {
2625
- anonymous: !1,
2626
- inputs: [
2627
- {
2628
- indexed: !1,
2629
- internalType: "uint256",
2630
- name: "accessKey",
2631
- type: "uint256"
2632
- },
2633
- {
2634
- indexed: !1,
2635
- internalType: "uint256",
2636
- name: "index",
2637
- type: "uint256"
2638
- },
2639
- {
2640
- indexed: !1,
2641
- internalType: "address",
2642
- name: "senderAddress",
2643
- type: "address"
2644
- }
2645
- ],
2646
- name: "NewAccessKeyAdded",
2647
- type: "event"
2648
- },
2649
- {
2650
- anonymous: !1,
2651
- inputs: [{
2652
- indexed: !0,
2653
- internalType: "address",
2654
- name: "previousOwner",
2655
- type: "address"
2656
- }, {
2657
- indexed: !0,
2658
- internalType: "address",
2659
- name: "newOwner",
2660
- type: "address"
2661
- }],
2662
- name: "OwnershipTransferStarted",
2663
- type: "event"
2664
- },
2665
- {
2666
- anonymous: !1,
2667
- inputs: [{
2668
- indexed: !0,
2669
- internalType: "address",
2670
- name: "previousOwner",
2671
- type: "address"
2672
- }, {
2673
- indexed: !0,
2674
- internalType: "address",
2675
- name: "newOwner",
2676
- type: "address"
2677
- }],
2678
- name: "OwnershipTransferred",
2679
- type: "event"
2680
- },
2681
- {
2682
- inputs: [],
2683
- name: "acceptOwnership",
2684
- outputs: [],
2685
- stateMutability: "nonpayable",
2686
- type: "function"
2687
- },
2688
- {
2689
- inputs: [],
2690
- name: "accessTokenStorage",
2691
- outputs: [{
2692
- internalType: "contract IAccessTokenStorage",
2693
- name: "",
2694
- type: "address"
2695
- }],
2696
- stateMutability: "view",
2697
- type: "function"
2698
- },
2699
- {
2700
- inputs: [{
2701
- components: [
2702
- {
2703
- internalType: "uint8",
2704
- name: "v",
2705
- type: "uint8"
2706
- },
2707
- {
2708
- internalType: "bytes32",
2709
- name: "r",
2710
- type: "bytes32"
2711
- },
2712
- {
2713
- internalType: "bytes32",
2714
- name: "s",
2715
- type: "bytes32"
2716
- },
2717
- {
2718
- internalType: "uint256",
2719
- name: "accessKey",
2720
- type: "uint256"
2721
- },
2722
- {
2723
- internalType: "uint256",
2724
- name: "nonce",
2725
- type: "uint256"
2726
- },
2727
- {
2728
- internalType: "address",
2729
- name: "ethereumAddress",
2730
- type: "address"
2731
- }
2732
- ],
2733
- internalType: "struct SignatureData",
2734
- name: "signatureData",
2735
- type: "tuple"
2736
- }],
2737
- name: "addToken",
2738
- outputs: [],
2739
- stateMutability: "nonpayable",
2740
- type: "function"
2741
- },
2742
- {
2743
- inputs: [{
2744
- components: [{
2745
- internalType: "uint256",
2746
- name: "accessToken",
2747
- type: "uint256"
2748
- }, {
2749
- internalType: "address",
2750
- name: "ethAddress",
2751
- type: "address"
2752
- }],
2753
- internalType: "struct AccessTokenWithAddress[]",
2754
- name: "accessObjects",
2755
- type: "tuple[]"
2756
- }],
2757
- name: "approveTokens",
2758
- outputs: [],
2759
- stateMutability: "nonpayable",
2760
- type: "function"
2761
- },
2762
- {
2763
- inputs: [{
2764
- internalType: "uint256",
2765
- name: "accessKey",
2766
- type: "uint256"
2767
- }, {
2768
- internalType: "uint256",
2769
- name: "index",
2770
- type: "uint256"
2771
- }],
2772
- name: "blacklistAccessKey",
2773
- outputs: [],
2774
- stateMutability: "nonpayable",
2775
- type: "function"
2776
- },
2777
- {
2778
- inputs: [{
2779
- internalType: "address",
2780
- name: "_address",
2781
- type: "address"
2782
- }],
2783
- name: "blacklistAddress",
2784
- outputs: [],
2785
- stateMutability: "nonpayable",
2786
- type: "function"
2787
- },
2788
- {
2789
- inputs: [{
2790
- internalType: "uint256",
2791
- name: "rootHashAccessToken",
2792
- type: "uint256"
2793
- }, {
2794
- internalType: "address",
2795
- name: "sender",
2796
- type: "address"
2797
- }],
2798
- name: "checkForRootHash",
2799
- outputs: [{
2800
- internalType: "bool",
2801
- name: "",
2802
- type: "bool"
2803
- }],
2804
- stateMutability: "view",
2805
- type: "function"
2806
- },
2807
- {
2808
- inputs: [
2809
- {
2810
- internalType: "bytes32",
2811
- name: "commandId",
2812
- type: "bytes32"
2813
- },
2814
- {
2815
- internalType: "string",
2816
- name: "sourceChain",
2817
- type: "string"
2818
- },
2819
- {
2820
- internalType: "string",
2821
- name: "sourceAddress",
2822
- type: "string"
2823
- },
2824
- {
2825
- internalType: "bytes",
2826
- name: "payload",
2827
- type: "bytes"
2828
- }
2829
- ],
2830
- name: "execute",
2831
- outputs: [],
2832
- stateMutability: "nonpayable",
2833
- type: "function"
2834
- },
2835
- {
2836
- inputs: [
2837
- {
2838
- internalType: "bytes32",
2839
- name: "commandId",
2840
- type: "bytes32"
2841
- },
2842
- {
2843
- internalType: "string",
2844
- name: "sourceChain",
2845
- type: "string"
2846
- },
2847
- {
2848
- internalType: "string",
2849
- name: "sourceAddress",
2850
- type: "string"
2851
- },
2852
- {
2853
- internalType: "bytes",
2854
- name: "payload",
2855
- type: "bytes"
2856
- },
2857
- {
2858
- internalType: "string",
2859
- name: "tokenSymbol",
2860
- type: "string"
2861
- },
2862
- {
2863
- internalType: "uint256",
2864
- name: "amount",
2865
- type: "uint256"
2866
- }
2867
- ],
2868
- name: "executeWithToken",
2869
- outputs: [],
2870
- stateMutability: "nonpayable",
2871
- type: "function"
2872
- },
2873
- {
2874
- inputs: [],
2875
- name: "gasService",
2876
- outputs: [{
2877
- internalType: "contract IAxelarGasService",
2878
- name: "",
2879
- type: "address"
2880
- }],
2881
- stateMutability: "view",
2882
- type: "function"
2883
- },
2884
- {
2885
- inputs: [],
2886
- name: "gateway",
2887
- outputs: [{
2888
- internalType: "contract IAxelarGateway",
2889
- name: "",
2890
- type: "address"
2891
- }],
2892
- stateMutability: "view",
2893
- type: "function"
2894
- },
2895
- {
2896
- inputs: [],
2897
- name: "getRootHash",
2898
- outputs: [{
2899
- internalType: "uint256",
2900
- name: "",
2901
- type: "uint256"
2902
- }],
2903
- stateMutability: "view",
2904
- type: "function"
2905
- },
2906
- {
2907
- inputs: [{
2908
- internalType: "uint256",
2909
- name: "accessKey",
2910
- type: "uint256"
2911
- }],
2912
- name: "hasToken",
2913
- outputs: [{
2914
- internalType: "bool",
2915
- name: "",
2916
- type: "bool"
2917
- }],
2918
- stateMutability: "view",
2919
- type: "function"
2920
- },
2921
- {
2922
- inputs: [],
2923
- name: "hinkal",
2924
- outputs: [{
2925
- internalType: "address",
2926
- name: "",
2927
- type: "address"
2928
- }],
2929
- stateMutability: "view",
2930
- type: "function"
2931
- },
2932
- {
2933
- inputs: [{
2934
- components: [{
2935
- components: [
2936
- {
2937
- internalType: "string",
2938
- name: "destinationChain",
2939
- type: "string"
2940
- },
2941
- {
2942
- internalType: "string",
2943
- name: "destinationAddress",
2944
- type: "string"
2945
- },
2946
- {
2947
- internalType: "uint256",
2948
- name: "messageFee",
2949
- type: "uint256"
2950
- }
2951
- ],
2952
- internalType: "struct AxelarChainInfo[]",
2953
- name: "chains",
2954
- type: "tuple[]"
2955
- }, {
2956
- internalType: "uint256",
2957
- name: "totalMessageFees",
2958
- type: "uint256"
2959
- }],
2960
- internalType: "struct AxelarCapsule",
2961
- name: "capsule",
2962
- type: "tuple"
2963
- }, {
2964
- internalType: "uint256",
2965
- name: "accessKey",
2966
- type: "uint256"
2967
- }],
2968
- name: "migrateAccessToken",
2969
- outputs: [],
2970
- stateMutability: "payable",
2971
- type: "function"
2972
- },
2973
- {
2974
- inputs: [
2975
- {
2976
- internalType: "address",
2977
- name: "",
2978
- type: "address"
2979
- },
2980
- {
2981
- internalType: "address",
2982
- name: "",
2983
- type: "address"
2984
- },
2985
- {
2986
- internalType: "uint256",
2987
- name: "",
2988
- type: "uint256"
2989
- },
2990
- {
2991
- internalType: "bytes",
2992
- name: "",
2993
- type: "bytes"
2994
- }
2995
- ],
2996
- name: "onERC721Received",
2997
- outputs: [{
2998
- internalType: "bytes4",
2999
- name: "",
3000
- type: "bytes4"
3001
- }],
3002
- stateMutability: "pure",
3003
- type: "function"
3004
- },
3005
- {
3006
- inputs: [],
3007
- name: "owner",
3008
- outputs: [{
3009
- internalType: "address",
3010
- name: "",
3011
- type: "address"
3012
- }],
3013
- stateMutability: "view",
3014
- type: "function"
3015
- },
3016
- {
3017
- inputs: [],
3018
- name: "pendingOwner",
3019
- outputs: [{
3020
- internalType: "address",
3021
- name: "",
3022
- type: "address"
3023
- }],
3024
- stateMutability: "view",
3025
- type: "function"
3026
- },
3027
- {
3028
- inputs: [{
3029
- internalType: "address",
3030
- name: "sender",
3031
- type: "address"
3032
- }],
3033
- name: "registerCheck",
3034
- outputs: [],
3035
- stateMutability: "view",
3036
- type: "function"
3037
- },
3038
- {
3039
- inputs: [{
3040
- internalType: "address",
3041
- name: "_address",
3042
- type: "address"
3043
- }],
3044
- name: "removeAddressFromBlacklist",
3045
- outputs: [],
3046
- stateMutability: "nonpayable",
3047
- type: "function"
3048
- },
3049
- {
3050
- inputs: [],
3051
- name: "renounceOwnership",
3052
- outputs: [],
3053
- stateMutability: "view",
3054
- type: "function"
3055
- },
3056
- {
3057
- inputs: [{
3058
- internalType: "address",
3059
- name: "_gasService",
3060
- type: "address"
3061
- }],
3062
- name: "setAxelarGasService",
3063
- outputs: [],
3064
- stateMutability: "nonpayable",
3065
- type: "function"
3066
- },
3067
- {
3068
- inputs: [{
3069
- internalType: "address",
3070
- name: "newOwner",
3071
- type: "address"
3072
- }],
3073
- name: "transferOwnership",
3074
- outputs: [],
3075
- stateMutability: "nonpayable",
3076
- type: "function"
3077
- }
3078
- ],
3079
- uniswapExternalActionAddress: "0xbBDE21B38026D932BE6EDc44592378C09D28A003",
3080
- odosExternalActionInstanceAddress: "0x3E543A6f71a65F2E8A727a7ef147329F2AADbff9",
3081
- oneInchExternalActionInstanceAddress: "0x989176dB34bd5a6500dFFaD45ff212330Fe8fBD0",
3082
- emporiumAddress: "0x5B0d61033Ea5B176e1B897C3Ed471fF3dC6272aC",
3083
- hinkalWalletAddress: "0x5332C70a98ff45D16098E25F2d69971Ce46dE395",
3084
- hinkalWrapperAddress: "0xBAF68fea9e1C306Df3556BdcA871725A8500BE70",
3085
- hinkalWrapperABI: [
3086
- {
3087
- inputs: [{
3088
- internalType: "address",
3089
- name: "_hinkal",
3090
- type: "address"
3091
- }],
3092
- stateMutability: "nonpayable",
3093
- type: "constructor"
3094
- },
3095
- {
3096
- anonymous: !1,
3097
- inputs: [{
3098
- indexed: !0,
3099
- internalType: "address",
3100
- name: "previousOwner",
3101
- type: "address"
3102
- }, {
3103
- indexed: !0,
3104
- internalType: "address",
3105
- name: "newOwner",
3106
- type: "address"
3107
- }],
3108
- name: "OwnershipTransferStarted",
3109
- type: "event"
3110
- },
3111
- {
3112
- anonymous: !1,
3113
- inputs: [{
3114
- indexed: !0,
3115
- internalType: "address",
3116
- name: "previousOwner",
3117
- type: "address"
3118
- }, {
3119
- indexed: !0,
3120
- internalType: "address",
3121
- name: "newOwner",
3122
- type: "address"
3123
- }],
3124
- name: "OwnershipTransferred",
3125
- type: "event"
3126
- },
3127
- {
3128
- inputs: [],
3129
- name: "acceptOwnership",
3130
- outputs: [],
3131
- stateMutability: "nonpayable",
3132
- type: "function"
3133
- },
3134
- {
3135
- inputs: [],
3136
- name: "getEth",
3137
- outputs: [{
3138
- internalType: "uint256",
3139
- name: "",
3140
- type: "uint256"
3141
- }],
3142
- stateMutability: "nonpayable",
3143
- type: "function"
3144
- },
3145
- {
3146
- inputs: [],
3147
- name: "getSender",
3148
- outputs: [{
3149
- internalType: "address",
3150
- name: "",
3151
- type: "address"
3152
- }],
3153
- stateMutability: "view",
3154
- type: "function"
3155
- },
3156
- {
3157
- inputs: [
3158
- {
3159
- internalType: "address",
3160
- name: "",
3161
- type: "address"
3162
- },
3163
- {
3164
- internalType: "address",
3165
- name: "",
2363
+ name: "",
3166
2364
  type: "address"
3167
2365
  },
3168
2366
  {
@@ -3281,6 +2479,71 @@ var e = {
3281
2479
  stateMutability: "view",
3282
2480
  type: "function"
3283
2481
  },
2482
+ {
2483
+ inputs: [
2484
+ {
2485
+ internalType: "address",
2486
+ name: "feeRecipient",
2487
+ type: "address"
2488
+ },
2489
+ {
2490
+ internalType: "address",
2491
+ name: "feeToken",
2492
+ type: "address"
2493
+ },
2494
+ {
2495
+ internalType: "uint256",
2496
+ name: "feeAmount",
2497
+ type: "uint256"
2498
+ },
2499
+ {
2500
+ internalType: "address[]",
2501
+ name: "erc20Addresses",
2502
+ type: "address[]"
2503
+ },
2504
+ {
2505
+ internalType: "uint256[]",
2506
+ name: "amounts",
2507
+ type: "uint256[]"
2508
+ },
2509
+ {
2510
+ internalType: "uint256[]",
2511
+ name: "tokenIds",
2512
+ type: "uint256[]"
2513
+ },
2514
+ {
2515
+ components: [
2516
+ {
2517
+ internalType: "uint256",
2518
+ name: "extraRandomization",
2519
+ type: "uint256"
2520
+ },
2521
+ {
2522
+ internalType: "uint256",
2523
+ name: "stealthAddress",
2524
+ type: "uint256"
2525
+ },
2526
+ {
2527
+ internalType: "uint256",
2528
+ name: "H0",
2529
+ type: "uint256"
2530
+ },
2531
+ {
2532
+ internalType: "uint256",
2533
+ name: "H1",
2534
+ type: "uint256"
2535
+ }
2536
+ ],
2537
+ internalType: "struct StealthAddressStructure[]",
2538
+ name: "stealthAddressStructures",
2539
+ type: "tuple[]"
2540
+ }
2541
+ ],
2542
+ name: "prooflessDeposit",
2543
+ outputs: [],
2544
+ stateMutability: "payable",
2545
+ type: "function"
2546
+ },
3284
2547
  {
3285
2548
  inputs: [],
3286
2549
  name: "renounceOwnership",
@@ -3634,7 +2897,7 @@ var e = {
3634
2897
  type: "receive"
3635
2898
  }
3636
2899
  ],
3637
- depositOnChainUtxosExternalActionAddress: "0x414B2498C7236825A5c72acAe17aD3982Fb47574",
2900
+ depositOnChainUtxosExternalActionAddress: "0xC4EE2a2AA9119c8756229f619772870E003e92db",
3638
2901
  depositOnChainUtxosExternalActionABI: [
3639
2902
  {
3640
2903
  inputs: [{