@hinkal/common 0.2.40 → 0.3.2

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