@hinkal/common 0.2.15 → 0.2.17

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 (1149) hide show
  1. package/API/API.cjs +1 -1
  2. package/API/API.d.ts +73 -34
  3. package/API/API.mjs +112 -59
  4. package/API/accessCodeCalls.cjs +1 -0
  5. package/API/accessCodeCalls.d.ts +23 -0
  6. package/API/accessCodeCalls.mjs +23 -0
  7. package/API/admin-calls.cjs +1 -0
  8. package/API/admin-calls.d.ts +2 -0
  9. package/API/admin-calls.mjs +8 -0
  10. package/API/ai-calls.cjs +1 -1
  11. package/API/ai-calls.d.ts +8 -0
  12. package/API/ai-calls.mjs +16 -8
  13. package/API/brotherhoodCalls.cjs +1 -0
  14. package/API/brotherhoodCalls.d.ts +82 -0
  15. package/API/brotherhoodCalls.mjs +59 -0
  16. package/API/callLifiAPI.cjs +1 -0
  17. package/API/callLifiAPI.d.ts +33 -0
  18. package/API/callLifiAPI.mjs +11 -0
  19. package/API/callMonitor.cjs +1 -1
  20. package/API/callMonitor.mjs +5 -2
  21. package/API/callOdosAPI.cjs +1 -1
  22. package/API/callOdosAPI.mjs +12 -13
  23. package/API/callOkxAPI.cjs +1 -0
  24. package/API/callOkxAPI.d.ts +10 -0
  25. package/API/callOkxAPI.mjs +13 -0
  26. package/API/callOneInchAPI.cjs +1 -1
  27. package/API/callOneInchAPI.mjs +9 -8
  28. package/API/callRelayer.cjs +1 -1
  29. package/API/callRelayer.d.ts +17 -0
  30. package/API/callRelayer.mjs +15 -6
  31. package/API/checkRisk.cjs +1 -1
  32. package/API/checkRisk.mjs +5 -4
  33. package/API/duneAPI.cjs +1 -1
  34. package/API/duneAPI.mjs +7 -5
  35. package/API/enclaveCalls.cjs +1 -0
  36. package/API/enclaveCalls.d.ts +9 -0
  37. package/API/enclaveCalls.mjs +11 -0
  38. package/API/fetchCommitmentsCache.cjs +1 -1
  39. package/API/fetchCommitmentsCache.d.ts +12 -4
  40. package/API/fetchCommitmentsCache.mjs +21 -7
  41. package/API/generate-trading-points.cjs +1 -0
  42. package/API/generate-trading-points.d.ts +27 -0
  43. package/API/generate-trading-points.mjs +45 -0
  44. package/API/get-token-data.cjs +1 -0
  45. package/API/get-token-data.d.ts +6 -0
  46. package/API/get-token-data.mjs +8 -0
  47. package/API/getBridgeProtocols.cjs +1 -0
  48. package/API/getBridgeProtocols.d.ts +7 -0
  49. package/API/getBridgeProtocols.mjs +8 -0
  50. package/API/getGasEstimates.cjs +1 -1
  51. package/API/getGasEstimates.d.ts +2 -2
  52. package/API/getGasEstimates.mjs +10 -10
  53. package/API/getLifiStatus.cjs +1 -0
  54. package/API/getLifiStatus.d.ts +24 -0
  55. package/API/getLifiStatus.mjs +15 -0
  56. package/API/getRelayerURL.cjs +1 -1
  57. package/API/getRelayerURL.mjs +6 -6
  58. package/API/getServerURL.cjs +1 -1
  59. package/API/getServerURL.d.ts +3 -1
  60. package/API/getServerURL.mjs +60 -29
  61. package/API/getTokenPrice.cjs +1 -1
  62. package/API/getTokenPrice.d.ts +0 -11
  63. package/API/getTokenPrice.mjs +8 -16
  64. package/API/getWebsiteURL.cjs +1 -0
  65. package/API/getWebsiteURL.d.ts +3 -0
  66. package/API/getWebsiteURL.mjs +56 -0
  67. package/API/index.d.ts +9 -3
  68. package/API/is-tx-stateless.cjs +1 -1
  69. package/API/is-tx-stateless.d.ts +4 -2
  70. package/API/is-tx-stateless.mjs +18 -7
  71. package/API/kycCalls.cjs +1 -1
  72. package/API/kycCalls.d.ts +4 -7
  73. package/API/kycCalls.mjs +34 -32
  74. package/API/leaderboardCalls.cjs +1 -0
  75. package/API/leaderboardCalls.d.ts +14 -0
  76. package/API/leaderboardCalls.mjs +16 -0
  77. package/API/proxyAccountsCalls.cjs +1 -0
  78. package/API/proxyAccountsCalls.d.ts +4 -0
  79. package/API/proxyAccountsCalls.mjs +26 -0
  80. package/API/referralsCalls.cjs +1 -0
  81. package/API/referralsCalls.d.ts +22 -0
  82. package/API/referralsCalls.mjs +22 -0
  83. package/API/relayCalls.cjs +1 -1
  84. package/API/relayCalls.d.ts +1 -1
  85. package/API/relayCalls.mjs +8 -5
  86. package/API/resolve-sns.cjs +1 -0
  87. package/API/resolve-sns.d.ts +1 -0
  88. package/API/resolve-sns.mjs +12 -0
  89. package/API/restoreSnapshots.cjs +1 -1
  90. package/API/restoreSnapshots.mjs +4 -3
  91. package/API/rewardsUserCalls.cjs +1 -0
  92. package/API/rewardsUserCalls.d.ts +51 -0
  93. package/API/rewardsUserCalls.mjs +44 -0
  94. package/API/scheduled-transactions-calls.cjs +1 -0
  95. package/API/scheduled-transactions-calls.d.ts +6 -0
  96. package/API/scheduled-transactions-calls.mjs +9 -0
  97. package/API/seedless-calls.cjs +1 -0
  98. package/API/seedless-calls.d.ts +53 -0
  99. package/API/seedless-calls.mjs +12 -0
  100. package/API/send-telegram-callback.cjs +1 -0
  101. package/API/send-telegram-callback.d.ts +7 -0
  102. package/API/send-telegram-callback.mjs +11 -0
  103. package/API/simulate-batch-tx.cjs +1 -0
  104. package/API/simulate-batch-tx.d.ts +3 -0
  105. package/API/simulate-batch-tx.mjs +13 -0
  106. package/API/solana-calls.cjs +1 -0
  107. package/API/solana-calls.d.ts +34 -0
  108. package/API/solana-calls.mjs +19 -0
  109. package/API/tenderly.api.cjs +1 -1
  110. package/API/tenderly.api.mjs +24 -22
  111. package/API/token-calls.cjs +1 -1
  112. package/API/token-calls.d.ts +1 -1
  113. package/API/token-calls.mjs +12 -7
  114. package/API/unspent-utxos-calls.cjs +1 -0
  115. package/API/unspent-utxos-calls.d.ts +26 -0
  116. package/API/unspent-utxos-calls.mjs +27 -0
  117. package/API/weeklyAnalyticCalls.cjs +1 -0
  118. package/API/weeklyAnalyticCalls.d.ts +22 -0
  119. package/API/weeklyAnalyticCalls.mjs +16 -0
  120. package/README.md +61 -0
  121. package/constants/activity.constants.cjs +1 -0
  122. package/constants/activity.constants.d.ts +2 -0
  123. package/constants/activity.constants.mjs +14 -0
  124. package/constants/addresses.constants.cjs +1 -1
  125. package/constants/addresses.constants.d.ts +9 -0
  126. package/constants/addresses.constants.mjs +71 -41
  127. package/constants/backend.constants.cjs +1 -1
  128. package/constants/backend.constants.d.ts +3 -1
  129. package/constants/backend.constants.mjs +6 -7
  130. package/constants/bridging.constants.cjs +1 -0
  131. package/constants/bridging.constants.d.ts +5 -0
  132. package/constants/bridging.constants.mjs +8 -0
  133. package/constants/chains.constants.cjs +1 -1
  134. package/constants/chains.constants.d.ts +8 -3
  135. package/constants/chains.constants.mjs +88 -79
  136. package/constants/coingecko.constants.cjs +1 -1
  137. package/constants/coingecko.constants.d.ts +4 -1
  138. package/constants/coingecko.constants.mjs +25 -15
  139. package/constants/contracts.constants.cjs +1 -1
  140. package/constants/contracts.constants.mjs +74 -252
  141. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  142. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +1487 -8687
  143. package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -0
  144. package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +7381 -0
  145. package/constants/deploy-data/deploy-data-avalanche.json.cjs +1 -1
  146. package/constants/deploy-data/deploy-data-avalanche.json.mjs +258 -8430
  147. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  148. package/constants/deploy-data/deploy-data-base.json.mjs +1491 -8681
  149. package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +1 -1
  150. package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +258 -7898
  151. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  152. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +1835 -8845
  153. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  154. package/constants/deploy-data/deploy-data-localhost.json.mjs +1209 -10210
  155. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  156. package/constants/deploy-data/deploy-data-optimism.json.mjs +1491 -8681
  157. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  158. package/constants/deploy-data/deploy-data-polygon.json.mjs +1491 -8681
  159. package/constants/deploy-data/deploy-data-solana.json.cjs +1 -0
  160. package/constants/deploy-data/deploy-data-solana.json.mjs +6111 -0
  161. package/constants/deploy-data/index.d.ts +3 -3
  162. package/constants/events.constants.cjs +1 -0
  163. package/constants/events.constants.d.ts +1 -0
  164. package/constants/events.constants.mjs +12 -0
  165. package/constants/fees.constants.cjs +1 -1
  166. package/constants/fees.constants.d.ts +1 -12
  167. package/constants/fees.constants.mjs +4 -35
  168. package/constants/function-signatures.constants.cjs +1 -0
  169. package/constants/function-signatures.constants.d.ts +5 -0
  170. package/constants/function-signatures.constants.mjs +8 -0
  171. package/constants/index.d.ts +11 -6
  172. package/constants/kyc.constants.cjs +1 -1
  173. package/constants/kyc.constants.mjs +23 -35
  174. package/constants/lifi.constants.cjs +1 -0
  175. package/constants/lifi.constants.d.ts +1 -0
  176. package/constants/lifi.constants.mjs +4 -0
  177. package/constants/link.constant.cjs +1 -0
  178. package/constants/link.constant.d.ts +1 -0
  179. package/constants/link.constant.mjs +4 -0
  180. package/constants/mediaUrls.constants.cjs +1 -1
  181. package/constants/mediaUrls.constants.d.ts +10 -0
  182. package/constants/mediaUrls.constants.mjs +14 -4
  183. package/constants/oauthUrls.constants.cjs +1 -0
  184. package/constants/oauthUrls.constants.d.ts +7 -0
  185. package/constants/oauthUrls.constants.mjs +10 -0
  186. package/constants/okx.constants.cjs +1 -0
  187. package/constants/okx.constants.d.ts +2 -0
  188. package/constants/okx.constants.mjs +5 -0
  189. package/constants/permit2.constants.cjs +1 -1
  190. package/constants/permit2.constants.d.ts +6 -0
  191. package/constants/permit2.constants.mjs +14 -2
  192. package/constants/presale.constants.cjs +1 -0
  193. package/constants/presale.constants.d.ts +78 -0
  194. package/{externalABIs/LidoWstEthAbi.json.mjs → constants/presale.constants.mjs} +242 -218
  195. package/constants/protocol.constants.cjs +1 -1
  196. package/constants/protocol.constants.d.ts +32 -11
  197. package/constants/protocol.constants.mjs +44 -36
  198. package/constants/reorg-depths.constants.cjs +1 -1
  199. package/constants/reorg-depths.constants.mjs +14 -11
  200. package/constants/rewards.constants.cjs +1 -1
  201. package/constants/rewards.constants.d.ts +3 -4
  202. package/constants/rewards.constants.mjs +14 -21
  203. package/constants/save-depths.cjs +1 -0
  204. package/constants/save-depths.d.ts +3 -0
  205. package/constants/save-depths.mjs +19 -0
  206. package/constants/server.constants.cjs +1 -1
  207. package/constants/server.constants.d.ts +103 -79
  208. package/constants/server.constants.mjs +195 -148
  209. package/constants/tasks.constants.cjs +1 -0
  210. package/constants/tasks.constants.d.ts +9 -0
  211. package/constants/tasks.constants.mjs +230 -0
  212. package/constants/token-data/ERC20Registry.cjs +1 -1
  213. package/constants/token-data/ERC20Registry.mjs +50 -33
  214. package/constants/token-data/arbMainnetRegistry.json.cjs +1 -1
  215. package/constants/token-data/arbMainnetRegistry.json.mjs +1185 -526
  216. package/constants/token-data/arbMainnetRegistryFixed.json.cjs +1 -1
  217. package/constants/token-data/arbMainnetRegistryFixed.json.mjs +1218 -463
  218. package/constants/token-data/arcTestnetRegistry.json.cjs +1 -0
  219. package/constants/token-data/arcTestnetRegistry.json.mjs +439 -0
  220. package/constants/token-data/avalancheRegistry.json.cjs +1 -1
  221. package/constants/token-data/avalancheRegistry.json.mjs +296 -322
  222. package/constants/token-data/avalancheRegistryFixed.json.cjs +1 -1
  223. package/constants/token-data/avalancheRegistryFixed.json.mjs +297 -323
  224. package/constants/token-data/baseRegistry.json.cjs +1 -1
  225. package/constants/token-data/baseRegistry.json.mjs +715 -232
  226. package/constants/token-data/baseRegistryFixed.json.cjs +1 -1
  227. package/constants/token-data/baseRegistryFixed.json.mjs +736 -217
  228. package/constants/token-data/bnbMainnetRegistry.json.cjs +1 -1
  229. package/constants/token-data/bnbMainnetRegistry.json.mjs +444 -516
  230. package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +1 -1
  231. package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +444 -516
  232. package/constants/token-data/ethMainnetRegistry.json.cjs +1 -1
  233. package/constants/token-data/ethMainnetRegistry.json.mjs +2710 -1798
  234. package/constants/token-data/ethMainnetRegistryFixed.json.cjs +1 -1
  235. package/constants/token-data/ethMainnetRegistryFixed.json.mjs +2894 -1494
  236. package/constants/token-data/index.cjs +1 -1
  237. package/constants/token-data/index.d.ts +228 -291
  238. package/constants/token-data/index.mjs +34 -28
  239. package/constants/token-data/localhostRegistry.json.cjs +1 -1
  240. package/constants/token-data/localhostRegistry.json.mjs +3 -3
  241. package/constants/token-data/optimismRegistry.json.cjs +1 -1
  242. package/constants/token-data/optimismRegistry.json.mjs +129 -1402
  243. package/constants/token-data/optimismRegistryFixed.json.cjs +1 -1
  244. package/constants/token-data/optimismRegistryFixed.json.mjs +129 -1322
  245. package/constants/token-data/polygonRegistry.json.cjs +1 -1
  246. package/constants/token-data/polygonRegistry.json.mjs +1395 -784
  247. package/constants/token-data/polygonRegistryFixed.json.cjs +1 -1
  248. package/constants/token-data/polygonRegistryFixed.json.mjs +1447 -746
  249. package/constants/token-data/solanaLocalnetRegistry.json.cjs +1 -0
  250. package/constants/token-data/solanaLocalnetRegistry.json.mjs +24 -0
  251. package/constants/token-data/solanaMainnetRegistry.json.cjs +1 -0
  252. package/constants/token-data/solanaMainnetRegistry.json.mjs +560 -0
  253. package/constants/token-data/tokenPricing.consts.d.ts +0 -3
  254. package/constants/vite.constants.cjs +1 -1
  255. package/constants/vite.constants.d.ts +7 -11
  256. package/constants/vite.constants.mjs +13 -38
  257. package/constants/wallet.constants.cjs +1 -0
  258. package/constants/wallet.constants.d.ts +7 -0
  259. package/constants/wallet.constants.mjs +10 -0
  260. package/crypto/preProcessing.cjs +1 -1
  261. package/crypto/preProcessing.mjs +3 -3
  262. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs +1 -0
  263. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.d.ts +18 -0
  264. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +175 -0
  265. package/data-structures/ApprovalDBs/index.d.ts +1 -0
  266. package/data-structures/Hinkal/Hinkal.cjs +1 -1
  267. package/data-structures/Hinkal/Hinkal.d.ts +40 -46
  268. package/data-structures/Hinkal/Hinkal.mjs +344 -191
  269. package/data-structures/Hinkal/IHinkal.d.ts +39 -45
  270. package/data-structures/Hinkal/handleAutoDepositBack.cjs +1 -0
  271. package/data-structures/Hinkal/handleAutoDepositBack.d.ts +5 -0
  272. package/data-structures/Hinkal/handleAutoDepositBack.mjs +108 -0
  273. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.cjs +1 -1
  274. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.d.ts +5 -1
  275. package/data-structures/Hinkal/hinkalActionFundApproveAndTransact.mjs +31 -50
  276. package/data-structures/Hinkal/hinkalActionReceive.cjs +1 -1
  277. package/data-structures/Hinkal/hinkalActionReceive.d.ts +4 -1
  278. package/data-structures/Hinkal/hinkalActionReceive.mjs +33 -31
  279. package/data-structures/Hinkal/hinkalApprove.cjs +1 -1
  280. package/data-structures/Hinkal/hinkalApprove.d.ts +2 -1
  281. package/data-structures/Hinkal/hinkalApprove.mjs +73 -78
  282. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.cjs +1 -0
  283. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.d.ts +3 -0
  284. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.mjs +28 -0
  285. package/data-structures/Hinkal/hinkalCheckTokenRegistry.cjs +1 -1
  286. package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +46 -7
  287. package/data-structures/Hinkal/hinkalDeposit.cjs +1 -1
  288. package/data-structures/Hinkal/hinkalDeposit.mjs +76 -62
  289. package/data-structures/Hinkal/hinkalDepositAndWithdraw.cjs +1 -0
  290. package/data-structures/Hinkal/hinkalDepositAndWithdraw.d.ts +4 -0
  291. package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +188 -0
  292. package/data-structures/Hinkal/hinkalGetRecipientInfo.cjs +1 -1
  293. package/data-structures/Hinkal/hinkalGetRecipientInfo.d.ts +1 -1
  294. package/data-structures/Hinkal/hinkalGetRecipientInfo.mjs +4 -4
  295. package/data-structures/Hinkal/hinkalGetZkMeProvider.d.ts +27 -2
  296. package/data-structures/Hinkal/hinkalInsideTransact.cjs +1 -1
  297. package/data-structures/Hinkal/hinkalInsideTransact.d.ts +3 -1
  298. package/data-structures/Hinkal/hinkalInsideTransact.mjs +84 -74
  299. package/data-structures/Hinkal/hinkalMultiSend.cjs +1 -1
  300. package/data-structures/Hinkal/hinkalMultiSend.mjs +6 -6
  301. package/data-structures/Hinkal/hinkalPrivateWallet.cjs +1 -1
  302. package/data-structures/Hinkal/hinkalPrivateWallet.d.ts +4 -1
  303. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +127 -73
  304. package/data-structures/Hinkal/hinkalProxySwap.cjs +1 -1
  305. package/data-structures/Hinkal/hinkalProxySwap.d.ts +4 -1
  306. package/data-structures/Hinkal/hinkalProxySwap.mjs +48 -24
  307. package/data-structures/Hinkal/hinkalProxyToPrivate.cjs +1 -0
  308. package/data-structures/Hinkal/hinkalProxyToPrivate.d.ts +6 -0
  309. package/data-structures/Hinkal/hinkalProxyToPrivate.mjs +45 -0
  310. package/data-structures/Hinkal/hinkalSignSubAccount.cjs +1 -1
  311. package/data-structures/Hinkal/hinkalSignSubAccount.d.ts +3 -2
  312. package/data-structures/Hinkal/hinkalSignSubAccount.mjs +19 -17
  313. package/data-structures/Hinkal/hinkalSolanaDeposit.cjs +1 -0
  314. package/data-structures/Hinkal/hinkalSolanaDeposit.d.ts +4 -0
  315. package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +133 -0
  316. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.cjs +1 -0
  317. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.d.ts +3 -0
  318. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +236 -0
  319. package/data-structures/Hinkal/hinkalSolanaProxySend.cjs +1 -0
  320. package/data-structures/Hinkal/hinkalSolanaProxySend.d.ts +6 -0
  321. package/data-structures/Hinkal/hinkalSolanaProxySend.mjs +55 -0
  322. package/data-structures/Hinkal/hinkalSolanaProxyShield.cjs +1 -0
  323. package/data-structures/Hinkal/hinkalSolanaProxyShield.d.ts +6 -0
  324. package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +99 -0
  325. package/data-structures/Hinkal/hinkalSolanaProxySwap.cjs +1 -0
  326. package/data-structures/Hinkal/hinkalSolanaProxySwap.d.ts +5 -0
  327. package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +96 -0
  328. package/data-structures/Hinkal/hinkalSolanaSwap.cjs +1 -0
  329. package/data-structures/Hinkal/hinkalSolanaSwap.d.ts +4 -0
  330. package/data-structures/Hinkal/hinkalSolanaSwap.mjs +119 -0
  331. package/data-structures/Hinkal/hinkalSolanaTransfer.cjs +1 -0
  332. package/data-structures/Hinkal/hinkalSolanaTransfer.d.ts +3 -0
  333. package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +89 -0
  334. package/data-structures/Hinkal/hinkalSolanaWithdraw.cjs +1 -0
  335. package/data-structures/Hinkal/hinkalSolanaWithdraw.d.ts +3 -0
  336. package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +105 -0
  337. package/data-structures/Hinkal/hinkalSwap.cjs +1 -1
  338. package/data-structures/Hinkal/hinkalSwap.d.ts +3 -1
  339. package/data-structures/Hinkal/hinkalSwap.mjs +103 -58
  340. package/data-structures/Hinkal/hinkalTransfer.cjs +1 -1
  341. package/data-structures/Hinkal/hinkalTransfer.d.ts +4 -1
  342. package/data-structures/Hinkal/hinkalTransfer.mjs +127 -2
  343. package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
  344. package/data-structures/Hinkal/hinkalWithdraw.d.ts +2 -2
  345. package/data-structures/Hinkal/hinkalWithdraw.mjs +95 -60
  346. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -0
  347. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.d.ts +4 -0
  348. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +147 -0
  349. package/data-structures/Hinkal/index.d.ts +5 -4
  350. package/data-structures/Hinkal/resetMerkleTrees.cjs +1 -1
  351. package/data-structures/Hinkal/resetMerkleTrees.mjs +59 -27
  352. package/data-structures/IndexedDB/activity-db.cjs +1 -1
  353. package/data-structures/IndexedDB/activity-db.d.ts +2 -3
  354. package/data-structures/IndexedDB/activity-db.mjs +146 -83
  355. package/data-structures/IndexedDB/balances-db.cjs +1 -1
  356. package/data-structures/IndexedDB/balances-db.d.ts +1 -1
  357. package/data-structures/IndexedDB/balances-db.mjs +59 -41
  358. package/data-structures/IndexedDB/contact-db.cjs +1 -1
  359. package/data-structures/IndexedDB/contact-db.mjs +83 -29
  360. package/data-structures/IndexedDB/index.d.ts +1 -0
  361. package/data-structures/IndexedDB/signatures-db.cjs +1 -0
  362. package/data-structures/IndexedDB/signatures-db.d.ts +10 -0
  363. package/data-structures/IndexedDB/signatures-db.mjs +63 -0
  364. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs +1 -1
  365. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.d.ts +2 -2
  366. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +32 -31
  367. package/data-structures/TokenDBs/AlchemyPublicTokensDB.cjs +1 -0
  368. package/data-structures/TokenDBs/AlchemyPublicTokensDB.d.ts +19 -0
  369. package/data-structures/TokenDBs/AlchemyPublicTokensDB.mjs +204 -0
  370. package/data-structures/TokenDBs/ArcPublicTokensDB.cjs +1 -0
  371. package/data-structures/TokenDBs/ArcPublicTokensDB.d.ts +11 -0
  372. package/data-structures/TokenDBs/ArcPublicTokensDB.mjs +112 -0
  373. package/data-structures/TokenDBs/EventsPublicTokensDB.cjs +1 -0
  374. package/data-structures/TokenDBs/EventsPublicTokensDB.d.ts +17 -0
  375. package/data-structures/TokenDBs/EventsPublicTokensDB.mjs +173 -0
  376. package/data-structures/TokenDBs/IPublicTokensDB.d.ts +6 -0
  377. package/data-structures/TokenDBs/PrivateTokensDB.cjs +1 -1
  378. package/data-structures/TokenDBs/PrivateTokensDB.mjs +48 -36
  379. package/data-structures/TokenDBs/PublicTokensDB.cjs +1 -1
  380. package/data-structures/TokenDBs/PublicTokensDB.d.ts +4 -8
  381. package/data-structures/TokenDBs/PublicTokensDB.mjs +21 -75
  382. package/data-structures/TokenDBs/index.d.ts +2 -0
  383. package/data-structures/TokenDBs/token-visibility-db.cjs +1 -0
  384. package/data-structures/TokenDBs/token-visibility-db.d.ts +17 -0
  385. package/data-structures/TokenDBs/token-visibility-db.mjs +96 -0
  386. package/data-structures/crypto-keys/decodeUTXO.cjs +1 -1
  387. package/data-structures/crypto-keys/decodeUTXO.d.ts +15 -3
  388. package/data-structures/crypto-keys/decodeUTXO.mjs +84 -26
  389. package/data-structures/crypto-keys/encryptDecryptUtxo.cjs +1 -1
  390. package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +36 -30
  391. package/data-structures/crypto-keys/keys.cjs +1 -1
  392. package/data-structures/crypto-keys/keys.d.ts +21 -0
  393. package/data-structures/crypto-keys/keys.mjs +118 -38
  394. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.cjs +1 -0
  395. package/data-structures/event-service/{AbstractAccessTokenSnapshotService.d.ts → evm/AbstractAccessTokenSnapshotService.d.ts} +4 -5
  396. package/data-structures/event-service/{AbstractAccessTokenSnapshotService.mjs → evm/AbstractAccessTokenSnapshotService.mjs} +12 -23
  397. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.cjs +1 -0
  398. package/data-structures/event-service/{AbstractApprovalsSnapshotService.d.ts → evm/AbstractApprovalsSnapshotService.d.ts} +4 -5
  399. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.mjs +92 -0
  400. package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.cjs +1 -0
  401. package/data-structures/event-service/{AbstractCommitmentsSnapshotService.d.ts → evm/AbstractCommitmentsSnapshotService.d.ts} +5 -6
  402. package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.mjs +86 -0
  403. package/data-structures/event-service/evm/AbstractEventService.cjs +1 -0
  404. package/data-structures/event-service/evm/AbstractEventService.d.ts +12 -0
  405. package/data-structures/event-service/evm/AbstractEventService.mjs +37 -0
  406. package/data-structures/event-service/evm/AbstractNullifierSnapshotService.cjs +1 -0
  407. package/data-structures/event-service/{AbstractNullifierSnapshotService.d.ts → evm/AbstractNullifierSnapshotService.d.ts} +4 -4
  408. package/data-structures/event-service/evm/AbstractNullifierSnapshotService.mjs +48 -0
  409. package/data-structures/event-service/evm/AbstractSnapshotService.cjs +1 -0
  410. package/data-structures/event-service/{AbstractSnapshotService.d.ts → evm/AbstractSnapshotService.d.ts} +6 -7
  411. package/data-structures/event-service/evm/AbstractSnapshotService.mjs +33 -0
  412. package/data-structures/event-service/evm/BlockchainEventEmitter.cjs +1 -0
  413. package/data-structures/event-service/evm/BlockchainEventEmitter.d.ts +26 -0
  414. package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +90 -0
  415. package/data-structures/event-service/index.d.ts +13 -6
  416. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.cjs +1 -0
  417. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.d.ts +34 -0
  418. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +87 -0
  419. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.cjs +1 -0
  420. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.d.ts +29 -0
  421. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +96 -0
  422. package/data-structures/event-service/solana/AbstractSolanaEventService.cjs +1 -0
  423. package/data-structures/event-service/solana/AbstractSolanaEventService.d.ts +22 -0
  424. package/data-structures/event-service/solana/AbstractSolanaEventService.mjs +33 -0
  425. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.cjs +1 -0
  426. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.d.ts +21 -0
  427. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs +49 -0
  428. package/data-structures/event-service/solana/AbstractSolanaSnapshotService.cjs +1 -0
  429. package/data-structures/event-service/solana/AbstractSolanaSnapshotService.d.ts +22 -0
  430. package/data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs +33 -0
  431. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.cjs +1 -0
  432. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.d.ts +41 -0
  433. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +154 -0
  434. package/data-structures/http/BasicHttpClient.cjs +1 -0
  435. package/data-structures/http/BasicHttpClient.d.ts +11 -0
  436. package/data-structures/http/BasicHttpClient.mjs +25 -0
  437. package/data-structures/http/HttpClient.cjs +1 -0
  438. package/data-structures/http/HttpClient.d.ts +10 -0
  439. package/data-structures/http/HttpClient.mjs +15 -0
  440. package/data-structures/http/index.d.ts +2 -0
  441. package/data-structures/index.d.ts +4 -1
  442. package/data-structures/presale/PresaleContractWrapper.cjs +1 -0
  443. package/data-structures/presale/PresaleContractWrapper.d.ts +23 -0
  444. package/data-structures/presale/PresaleContractWrapper.mjs +54 -0
  445. package/data-structures/presale/index.d.ts +1 -0
  446. package/data-structures/provider-adapter/IProviderAdapter.d.ts +4 -3
  447. package/data-structures/snapshot/SnapshotFetcherService.cjs +1 -0
  448. package/data-structures/snapshot/SnapshotFetcherService.d.ts +16 -0
  449. package/data-structures/snapshot/SnapshotFetcherService.mjs +42 -0
  450. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.cjs +1 -0
  451. package/data-structures/snapshot/{ClientAccessTokenSnapshotService.d.ts → evm-snapshots/ClientAccessTokenSnapshotService.d.ts} +4 -3
  452. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs +41 -0
  453. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.cjs +1 -0
  454. package/data-structures/snapshot/{ClientApprovalsSnapshotService.d.ts → evm-snapshots/ClientApprovalsSnapshotService.d.ts} +4 -4
  455. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +43 -0
  456. package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.cjs +1 -0
  457. package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.d.ts +8 -0
  458. package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs +35 -0
  459. package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.cjs +1 -0
  460. package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.d.ts +8 -0
  461. package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs +34 -0
  462. package/data-structures/snapshot/index.d.ts +8 -0
  463. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.cjs +1 -0
  464. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.d.ts +8 -0
  465. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +42 -0
  466. package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.cjs +1 -0
  467. package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.d.ts +8 -0
  468. package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs +34 -0
  469. package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.cjs +1 -0
  470. package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.d.ts +8 -0
  471. package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs +34 -0
  472. package/data-structures/token-price-fetcher/TokenChecker.cjs +1 -1
  473. package/data-structures/token-price-fetcher/TokenChecker.d.ts +1 -13
  474. package/data-structures/token-price-fetcher/TokenChecker.mjs +13 -26
  475. package/data-structures/transactions-manager/history/history.types.cjs +1 -1
  476. package/data-structures/transactions-manager/history/history.types.d.ts +2 -81
  477. package/data-structures/transactions-manager/history/history.types.mjs +2 -42
  478. package/data-structures/transactions-manager/index.d.ts +0 -1
  479. package/data-structures/utxo/Utxo.cjs +1 -1
  480. package/data-structures/utxo/Utxo.d.ts +6 -1
  481. package/data-structures/utxo/Utxo.mjs +37 -24
  482. package/error-handling/customErrors/ErrorWithTx.cjs +1 -0
  483. package/error-handling/customErrors/ErrorWithTx.d.ts +5 -0
  484. package/error-handling/customErrors/ErrorWithTx.mjs +9 -0
  485. package/error-handling/customErrors/SimulationFailureError.cjs +1 -0
  486. package/error-handling/customErrors/SimulationFailureError.d.ts +10 -0
  487. package/error-handling/customErrors/SimulationFailureError.mjs +9 -0
  488. package/error-handling/customErrors/index.d.ts +2 -0
  489. package/error-handling/error-codes.constants.cjs +2 -2
  490. package/error-handling/error-codes.constants.d.ts +19 -20
  491. package/error-handling/error-codes.constants.mjs +178 -179
  492. package/error-handling/get-error.message.cjs +1 -1
  493. package/error-handling/get-error.message.d.ts +2 -0
  494. package/error-handling/get-error.message.mjs +81 -36
  495. package/error-handling/index.d.ts +1 -2
  496. package/error-handling/types.cjs +1 -1
  497. package/error-handling/types.d.ts +4 -1
  498. package/error-handling/types.mjs +2 -2
  499. package/externalABIs/ERC1155.json.cjs +1 -0
  500. package/externalABIs/ERC1155.json.mjs +320 -0
  501. package/externalABIs/ERC721.json.cjs +1 -0
  502. package/externalABIs/{BeefyZapOneInchAbi.json.mjs → ERC721.json.mjs} +162 -167
  503. package/externalABIs/NodeInterfaceABI.json.cjs +1 -0
  504. package/externalABIs/NodeInterfaceABI.json.mjs +280 -0
  505. package/externalABIs/index.cjs +1 -1
  506. package/externalABIs/index.d.ts +25 -79
  507. package/externalABIs/index.mjs +18 -20
  508. package/externalABIs/swapAbi.cjs +1 -0
  509. package/externalABIs/{BeefyZapAbi.json.mjs → swapAbi.mjs} +161 -81
  510. package/functions/connectors.types.d.ts +14 -0
  511. package/functions/index.d.ts +1 -1
  512. package/functions/pre-transaction/addressTableLookup.cjs +1 -0
  513. package/functions/pre-transaction/addressTableLookup.d.ts +4 -0
  514. package/functions/pre-transaction/addressTableLookup.mjs +44 -0
  515. package/functions/pre-transaction/constructAdminData.cjs +1 -0
  516. package/functions/pre-transaction/constructAdminData.d.ts +3 -0
  517. package/functions/pre-transaction/constructAdminData.mjs +33 -0
  518. package/functions/pre-transaction/convert-okx-instructions.cjs +1 -0
  519. package/functions/pre-transaction/convert-okx-instructions.d.ts +12 -0
  520. package/functions/pre-transaction/convert-okx-instructions.mjs +30 -0
  521. package/functions/pre-transaction/getExternalSwapAddress.cjs +1 -1
  522. package/functions/pre-transaction/getExternalSwapAddress.mjs +9 -6
  523. package/functions/pre-transaction/getFeeStructure.cjs +1 -1
  524. package/functions/pre-transaction/getFeeStructure.d.ts +2 -2
  525. package/functions/pre-transaction/getFeeStructure.mjs +8 -9
  526. package/functions/pre-transaction/getFlatFees.cjs +1 -1
  527. package/functions/pre-transaction/getFlatFees.d.ts +2 -2
  528. package/functions/pre-transaction/getFlatFees.mjs +43 -166
  529. package/functions/pre-transaction/getSolanaCalldataHash.cjs +1 -0
  530. package/functions/pre-transaction/getSolanaCalldataHash.d.ts +4 -0
  531. package/functions/pre-transaction/getSolanaCalldataHash.mjs +36 -0
  532. package/functions/pre-transaction/getVolatileTransferAmount.cjs +1 -0
  533. package/functions/pre-transaction/getVolatileTransferAmount.d.ts +9 -0
  534. package/functions/pre-transaction/getVolatileTransferAmount.mjs +53 -0
  535. package/functions/pre-transaction/index.d.ts +12 -1
  536. package/functions/pre-transaction/initTokenLimitIfNeeded.cjs +1 -0
  537. package/functions/pre-transaction/initTokenLimitIfNeeded.d.ts +3 -0
  538. package/functions/pre-transaction/initTokenLimitIfNeeded.mjs +20 -0
  539. package/functions/pre-transaction/interaction-to-action.cjs +1 -1
  540. package/functions/pre-transaction/interaction-to-action.d.ts +2 -2
  541. package/functions/pre-transaction/interaction-to-action.mjs +6 -53
  542. package/functions/pre-transaction/merge-with-fee-structure-emporium.cjs +1 -0
  543. package/functions/pre-transaction/merge-with-fee-structure-emporium.d.ts +3 -0
  544. package/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +24 -0
  545. package/functions/pre-transaction/merge-with-fee-structure.cjs +1 -1
  546. package/functions/pre-transaction/merge-with-fee-structure.mjs +15 -17
  547. package/functions/pre-transaction/outputApprovalDataProcessing.cjs +1 -1
  548. package/functions/pre-transaction/outputApprovalDataProcessing.d.ts +1 -0
  549. package/functions/pre-transaction/outputApprovalDataProcessing.mjs +32 -35
  550. package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
  551. package/functions/pre-transaction/outputUtxoProcessing.d.ts +1 -1
  552. package/functions/pre-transaction/outputUtxoProcessing.mjs +31 -18
  553. package/functions/pre-transaction/process-gas-estimates.cjs +1 -1
  554. package/functions/pre-transaction/process-gas-estimates.d.ts +2 -2
  555. package/functions/pre-transaction/process-gas-estimates.mjs +9 -9
  556. package/functions/pre-transaction/recipientUtxoProcessing.cjs +1 -0
  557. package/functions/pre-transaction/recipientUtxoProcessing.d.ts +3 -0
  558. package/functions/pre-transaction/recipientUtxoProcessing.mjs +36 -0
  559. package/functions/pre-transaction/sendInitNullifiersTransaction.cjs +1 -0
  560. package/functions/pre-transaction/sendInitNullifiersTransaction.d.ts +11 -0
  561. package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +41 -0
  562. package/functions/pre-transaction/sendV0Transaction.cjs +1 -0
  563. package/functions/pre-transaction/sendV0Transaction.d.ts +22 -0
  564. package/functions/pre-transaction/sendV0Transaction.mjs +121 -0
  565. package/functions/pre-transaction/solana-public-signals.cjs +1 -0
  566. package/functions/pre-transaction/solana-public-signals.d.ts +19 -0
  567. package/functions/pre-transaction/solana-public-signals.mjs +60 -0
  568. package/functions/pre-transaction/solana.cjs +1 -0
  569. package/functions/pre-transaction/solana.d.ts +17 -0
  570. package/functions/pre-transaction/solana.mjs +96 -0
  571. package/functions/pre-transaction/solanaTransfer.utils.cjs +1 -0
  572. package/functions/pre-transaction/solanaTransfer.utils.d.ts +6 -0
  573. package/functions/pre-transaction/solanaTransfer.utils.mjs +38 -0
  574. package/functions/pre-transaction/store-instructions.cjs +1 -0
  575. package/functions/pre-transaction/store-instructions.d.ts +4 -0
  576. package/functions/pre-transaction/store-instructions.mjs +9 -0
  577. package/functions/pre-transaction/store-proof.cjs +1 -0
  578. package/functions/pre-transaction/store-proof.d.ts +7 -0
  579. package/functions/pre-transaction/store-proof.mjs +55 -0
  580. package/functions/private-wallet/emporium.helpers.cjs +1 -1
  581. package/functions/private-wallet/emporium.helpers.d.ts +20 -7
  582. package/functions/private-wallet/emporium.helpers.mjs +171 -95
  583. package/functions/private-wallet/emporium.swap.helpers.cjs +1 -1
  584. package/functions/private-wallet/emporium.swap.helpers.d.ts +3 -1
  585. package/functions/private-wallet/emporium.swap.helpers.mjs +134 -69
  586. package/functions/private-wallet/index.d.ts +0 -1
  587. package/functions/snarkjs/common.snarkjs.cjs +1 -1
  588. package/functions/snarkjs/common.snarkjs.d.ts +5 -1
  589. package/functions/snarkjs/common.snarkjs.mjs +70 -69
  590. package/functions/snarkjs/constant.cjs +1 -1
  591. package/functions/snarkjs/constant.d.ts +64 -6
  592. package/functions/snarkjs/constant.mjs +93 -29
  593. package/functions/snarkjs/constructEmporiumProof.cjs +1 -1
  594. package/functions/snarkjs/constructEmporiumProof.d.ts +7 -6
  595. package/functions/snarkjs/constructEmporiumProof.mjs +146 -149
  596. package/functions/snarkjs/constructGeneralZkProof.cjs +1 -1
  597. package/functions/snarkjs/constructGeneralZkProof.d.ts +4 -4
  598. package/functions/snarkjs/constructGeneralZkProof.mjs +115 -118
  599. package/functions/snarkjs/constructSolanaZkProof.cjs +1 -0
  600. package/functions/snarkjs/constructSolanaZkProof.d.ts +13 -0
  601. package/functions/snarkjs/constructSolanaZkProof.mjs +105 -0
  602. package/functions/snarkjs/fetchMerkleTreeSiblings.cjs +1 -0
  603. package/functions/snarkjs/fetchMerkleTreeSiblings.d.ts +11 -0
  604. package/functions/snarkjs/fetchMerkleTreeSiblings.mjs +22 -0
  605. package/functions/snarkjs/generateCircomData.cjs +1 -1
  606. package/functions/snarkjs/generateCircomData.d.ts +1 -1
  607. package/functions/snarkjs/generateCircomData.mjs +23 -23
  608. package/functions/snarkjs/generateZkProof.cjs +1 -1
  609. package/functions/snarkjs/generateZkProof.mjs +13 -4
  610. package/functions/snarkjs/generateZkProofEnclave.cjs +1 -1
  611. package/functions/snarkjs/generateZkProofEnclave.mjs +13 -12
  612. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.cjs +1 -0
  613. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.d.ts +13 -0
  614. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +92 -0
  615. package/functions/snarkjs/getZKFiles.cjs +1 -1
  616. package/functions/snarkjs/getZKFiles.mjs +13 -13
  617. package/functions/snarkjs/index.d.ts +1 -0
  618. package/functions/utils/addresses.cjs +1 -1
  619. package/functions/utils/addresses.d.ts +2 -1
  620. package/functions/utils/addresses.mjs +21 -15
  621. package/functions/utils/amounts.utils.cjs +1 -1
  622. package/functions/utils/amounts.utils.d.ts +3 -0
  623. package/functions/utils/amounts.utils.mjs +54 -28
  624. package/functions/utils/bytes32.utils.cjs +1 -0
  625. package/functions/utils/bytes32.utils.d.ts +2 -0
  626. package/functions/utils/bytes32.utils.mjs +10 -0
  627. package/functions/utils/cacheDevice.utils.cjs +1 -1
  628. package/functions/utils/cacheDevice.utils.mjs +8 -5
  629. package/functions/utils/cacheFunctions.cjs +1 -1
  630. package/functions/utils/cacheFunctions.mjs +53 -52
  631. package/functions/utils/caseInsensitive.utils.cjs +1 -1
  632. package/functions/utils/caseInsensitive.utils.d.ts +1 -1
  633. package/functions/utils/caseInsensitive.utils.mjs +3 -3
  634. package/functions/utils/convertEmporiumOpToCallInfo.cjs +1 -1
  635. package/functions/utils/convertEmporiumOpToCallInfo.d.ts +1 -1
  636. package/functions/utils/convertEmporiumOpToCallInfo.mjs +6 -5
  637. package/functions/utils/convertIntegrationProviderToExternalActionId.cjs +1 -1
  638. package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +5 -4
  639. package/functions/utils/create-provider.cjs +1 -1
  640. package/functions/utils/create-provider.d.ts +4 -0
  641. package/functions/utils/create-provider.mjs +9 -2
  642. package/functions/utils/encodeTokenWithId.cjs +1 -1
  643. package/functions/utils/encodeTokenWithId.d.ts +1 -1
  644. package/functions/utils/encodeTokenWithId.mjs +6 -2
  645. package/functions/utils/encryptInputForEnclave.cjs +1 -1
  646. package/functions/utils/encryptInputForEnclave.mjs +22 -21
  647. package/functions/utils/erc20tokenFunctions.cjs +1 -1
  648. package/functions/utils/erc20tokenFunctions.d.ts +7 -2
  649. package/functions/utils/erc20tokenFunctions.mjs +54 -21
  650. package/functions/utils/ethers-formatter.utils.cjs +1 -0
  651. package/functions/utils/ethers-formatter.utils.d.ts +5 -0
  652. package/functions/utils/ethers-formatter.utils.mjs +59 -0
  653. package/functions/utils/evmNetworkFunctions.cjs +1 -1
  654. package/functions/utils/evmNetworkFunctions.mjs +10 -7
  655. package/functions/utils/external-action.utils.cjs +1 -1
  656. package/functions/utils/external-action.utils.d.ts +0 -5
  657. package/functions/utils/external-action.utils.mjs +8 -56
  658. package/functions/utils/fees.utils.cjs +1 -1
  659. package/functions/utils/fees.utils.d.ts +3 -0
  660. package/functions/utils/fees.utils.mjs +29 -8
  661. package/functions/utils/get-hinkal-approvals.cjs +1 -0
  662. package/functions/utils/get-hinkal-approvals.d.ts +3 -0
  663. package/functions/utils/get-hinkal-approvals.mjs +38 -0
  664. package/functions/utils/get-signature-header.cjs +1 -0
  665. package/functions/utils/get-signature-header.d.ts +5 -0
  666. package/functions/utils/get-signature-header.mjs +8 -0
  667. package/functions/utils/getBlockExplorerUrl.cjs +1 -1
  668. package/functions/utils/getBlockExplorerUrl.mjs +3 -3
  669. package/functions/utils/getDataFromTransaction.cjs +1 -1
  670. package/functions/utils/getDataFromTransaction.d.ts +3 -4
  671. package/functions/utils/getDataFromTransaction.mjs +25 -44
  672. package/functions/utils/getRecipientInfoFromUserKeys.cjs +1 -1
  673. package/functions/utils/getRecipientInfoFromUserKeys.d.ts +0 -1
  674. package/functions/utils/getRecipientInfoFromUserKeys.mjs +10 -13
  675. package/functions/utils/getUtxosFromReceipt.utils.cjs +1 -0
  676. package/functions/utils/getUtxosFromReceipt.utils.d.ts +4 -0
  677. package/functions/utils/getUtxosFromReceipt.utils.mjs +29 -0
  678. package/functions/utils/getUtxosFromReceiptSolana.cjs +1 -0
  679. package/functions/utils/getUtxosFromReceiptSolana.d.ts +5 -0
  680. package/functions/utils/getUtxosFromReceiptSolana.mjs +19 -0
  681. package/functions/utils/inLogicMetadata.cjs +1 -0
  682. package/functions/utils/inLogicMetadata.d.ts +2 -0
  683. package/functions/utils/inLogicMetadata.mjs +8 -0
  684. package/functions/utils/index.d.ts +16 -2
  685. package/functions/utils/involves-permit2-op.cjs +1 -1
  686. package/functions/utils/involves-permit2-op.d.ts +8 -1
  687. package/functions/utils/involves-permit2-op.mjs +7 -3
  688. package/functions/utils/ipfs.cjs +1 -0
  689. package/functions/utils/ipfs.d.ts +8 -0
  690. package/functions/utils/ipfs.mjs +25 -0
  691. package/functions/utils/is-valid-url.cjs +1 -0
  692. package/functions/utils/is-valid-url.d.ts +1 -0
  693. package/functions/utils/is-valid-url.mjs +4 -0
  694. package/functions/utils/lifi.utils.d.ts +1 -0
  695. package/functions/utils/mutexes.utils.cjs +1 -0
  696. package/functions/utils/mutexes.utils.d.ts +2 -0
  697. package/functions/utils/mutexes.utils.mjs +5 -0
  698. package/functions/utils/networks.utils.cjs +1 -0
  699. package/functions/utils/networks.utils.d.ts +1 -0
  700. package/functions/utils/networks.utils.mjs +21 -0
  701. package/functions/utils/nftTokenFunctions.cjs +1 -0
  702. package/functions/utils/nftTokenFunctions.d.ts +2 -0
  703. package/functions/utils/nftTokenFunctions.mjs +40 -0
  704. package/functions/utils/postToOffscreen.cjs +1 -0
  705. package/functions/utils/postToOffscreen.d.ts +2 -0
  706. package/functions/utils/postToOffscreen.mjs +6 -0
  707. package/functions/utils/prepareHinkal.cjs +1 -0
  708. package/functions/utils/prepareHinkal.d.ts +14 -2
  709. package/functions/utils/prepareHinkal.mjs +88 -0
  710. package/functions/utils/publicBalance.utils.cjs +1 -1
  711. package/functions/utils/publicBalance.utils.d.ts +5 -3
  712. package/functions/utils/publicBalance.utils.mjs +95 -15
  713. package/functions/utils/solanaMint.utils.cjs +1 -0
  714. package/functions/utils/solanaMint.utils.d.ts +10 -0
  715. package/functions/utils/solanaMint.utils.mjs +14 -0
  716. package/functions/utils/string.utils.cjs +1 -1
  717. package/functions/utils/string.utils.d.ts +3 -0
  718. package/functions/utils/string.utils.mjs +10 -4
  719. package/functions/utils/time.utils.cjs +1 -1
  720. package/functions/utils/time.utils.d.ts +11 -0
  721. package/functions/utils/time.utils.mjs +52 -4
  722. package/functions/utils/trimFieldValues.cjs +1 -0
  723. package/functions/utils/trimFieldValues.d.ts +4 -0
  724. package/functions/utils/trimFieldValues.mjs +17 -0
  725. package/functions/utils/userAgent.cjs +1 -1
  726. package/functions/utils/userAgent.d.ts +2 -1
  727. package/functions/utils/userAgent.mjs +23 -11
  728. package/functions/utils/walletBalances.utils.cjs +1 -0
  729. package/functions/utils/walletBalances.utils.d.ts +17 -0
  730. package/functions/utils/walletBalances.utils.mjs +42 -0
  731. package/functions/web3/EIP-712.cjs +1 -0
  732. package/functions/web3/EIP-712.d.ts +23 -0
  733. package/functions/web3/EIP-712.mjs +113 -0
  734. package/functions/web3/connectors.utils.cjs +1 -0
  735. package/functions/web3/connectors.utils.d.ts +6 -0
  736. package/functions/web3/connectors.utils.mjs +23 -0
  737. package/functions/web3/events/balanceChangedCustomHandler.cjs +1 -1
  738. package/functions/web3/events/balanceChangedCustomHandler.mjs +2 -3
  739. package/functions/web3/events/balanceChangedHandler.cjs +1 -1
  740. package/functions/web3/events/balanceChangedHandler.mjs +4 -5
  741. package/functions/web3/events/getApprovedBalance.cjs +1 -1
  742. package/functions/web3/events/getApprovedBalance.mjs +42 -68
  743. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  744. package/functions/web3/events/getInputUtxoAndBalance.d.ts +7 -6
  745. package/functions/web3/events/getInputUtxoAndBalance.mjs +154 -119
  746. package/functions/web3/events/getInputUtxosEnclave.cjs +1 -0
  747. package/functions/web3/events/getInputUtxosEnclave.d.ts +8 -0
  748. package/functions/web3/events/getInputUtxosEnclave.mjs +47 -0
  749. package/functions/web3/events/getShieldedBalance.cjs +2 -2
  750. package/functions/web3/events/getShieldedBalance.d.ts +2 -2
  751. package/functions/web3/events/getShieldedBalance.mjs +78 -68
  752. package/functions/web3/events/getTransactionLogEvents.cjs +1 -0
  753. package/functions/web3/events/getTransactionLogEvents.d.ts +13 -0
  754. package/functions/web3/events/getTransactionLogEvents.mjs +75 -0
  755. package/functions/web3/events/index.d.ts +1 -0
  756. package/functions/web3/fetchSolanaMerkleTreeRootHash.cjs +1 -0
  757. package/functions/web3/fetchSolanaMerkleTreeRootHash.d.ts +4 -0
  758. package/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +45 -0
  759. package/functions/web3/functionCalls/accessTokenCalls.cjs +1 -1
  760. package/functions/web3/functionCalls/accessTokenCalls.d.ts +3 -2
  761. package/functions/web3/functionCalls/accessTokenCalls.mjs +24 -21
  762. package/functions/web3/functionCalls/approveToken.cjs +1 -1
  763. package/functions/web3/functionCalls/approveToken.mjs +21 -19
  764. package/functions/web3/functionCalls/constructBatchCall.cjs +1 -0
  765. package/functions/web3/functionCalls/constructBatchCall.d.ts +5 -0
  766. package/functions/web3/functionCalls/constructBatchCall.mjs +21 -0
  767. package/functions/web3/functionCalls/estimateGasRelayer.cjs +1 -1
  768. package/functions/web3/functionCalls/estimateGasRelayer.d.ts +2 -1
  769. package/functions/web3/functionCalls/estimateGasRelayer.mjs +15 -14
  770. package/functions/web3/functionCalls/transactCallDirect.cjs +1 -1
  771. package/functions/web3/functionCalls/transactCallDirect.mjs +38 -24
  772. package/functions/web3/functionCalls/transactCallRelayer.cjs +1 -1
  773. package/functions/web3/functionCalls/transactCallRelayer.d.ts +22 -2
  774. package/functions/web3/functionCalls/transactCallRelayer.mjs +86 -32
  775. package/functions/web3/getContractMetadata.cjs +1 -1
  776. package/functions/web3/getContractMetadata.mjs +24 -20
  777. package/functions/web3/getPublicAddressBalance.cjs +1 -0
  778. package/functions/web3/getPublicAddressBalance.d.ts +2 -0
  779. package/functions/web3/getPublicAddressBalance.mjs +9 -0
  780. package/functions/web3/getTokenHolder.cjs +1 -1
  781. package/functions/web3/getTokenHolder.mjs +71 -10
  782. package/functions/web3/index.d.ts +6 -0
  783. package/functions/web3/lifiAPI.cjs +1 -0
  784. package/functions/web3/lifiAPI.d.ts +6 -0
  785. package/functions/web3/lifiAPI.mjs +30 -0
  786. package/functions/web3/odosAPI.cjs +1 -1
  787. package/functions/web3/odosAPI.d.ts +1 -1
  788. package/functions/web3/odosAPI.mjs +30 -21
  789. package/functions/web3/okxAPI.cjs +1 -0
  790. package/functions/web3/okxAPI.d.ts +8 -0
  791. package/functions/web3/okxAPI.mjs +43 -0
  792. package/functions/web3/oneInchAPI.cjs +1 -1
  793. package/functions/web3/oneInchAPI.d.ts +1 -1
  794. package/functions/web3/oneInchAPI.mjs +30 -20
  795. package/functions/web3/runContractFunction.cjs +1 -1
  796. package/functions/web3/runContractFunction.mjs +33 -26
  797. package/functions/web3/signAndSendSerializedTransaction.cjs +1 -0
  798. package/functions/web3/signAndSendSerializedTransaction.d.ts +2 -0
  799. package/functions/web3/signAndSendSerializedTransaction.mjs +11 -0
  800. package/functions/web3/solana-wagmi-adapter.cjs +1 -0
  801. package/functions/web3/solana-wagmi-adapter.d.ts +3 -0
  802. package/functions/web3/solana-wagmi-adapter.mjs +29 -0
  803. package/functions/web3/uniswapAPI.cjs +1 -1
  804. package/functions/web3/uniswapAPI.mjs +36 -27
  805. package/index.cjs +1 -1
  806. package/index.d.ts +1 -0
  807. package/index.mjs +978 -787
  808. package/mutexes/index.d.ts +1 -0
  809. package/mutexes/mutex.cjs +1 -0
  810. package/mutexes/mutex.d.ts +2 -0
  811. package/mutexes/mutex.mjs +5 -0
  812. package/package.json +10 -3
  813. package/providers/CustomEthersProvider.cjs +1 -0
  814. package/providers/CustomEthersProvider.d.ts +10 -0
  815. package/providers/CustomEthersProvider.mjs +29 -0
  816. package/providers/CustomSolanaConnection.cjs +1 -0
  817. package/providers/CustomSolanaConnection.d.ts +4 -0
  818. package/providers/CustomSolanaConnection.mjs +33 -0
  819. package/providers/EthersProviderAdapter.cjs +1 -1
  820. package/providers/EthersProviderAdapter.d.ts +1 -2
  821. package/providers/EthersProviderAdapter.mjs +19 -21
  822. package/providers/SolanaProviderAdapter.cjs +1 -0
  823. package/providers/SolanaProviderAdapter.d.ts +44 -0
  824. package/providers/SolanaProviderAdapter.mjs +125 -0
  825. package/providers/WagmiProviderAdapter.cjs +1 -1
  826. package/providers/WagmiProviderAdapter.d.ts +5 -2
  827. package/providers/WagmiProviderAdapter.mjs +94 -47
  828. package/providers/prepareEthersHinkal.cjs +1 -1
  829. package/providers/prepareEthersHinkal.mjs +27 -15
  830. package/providers/prepareWagmiHinkal.cjs +1 -1
  831. package/providers/prepareWagmiHinkal.mjs +27 -15
  832. package/types/API.types.d.ts +0 -19
  833. package/types/IMultiThreadedUtxoUtils.d.ts +2 -2
  834. package/types/RewardUserEnums.cjs +1 -0
  835. package/types/RewardUserEnums.d.ts +11 -0
  836. package/types/RewardUserEnums.mjs +5 -0
  837. package/types/TransactionSimulator.types.d.ts +17 -3
  838. package/types/WeeklyAnalytics.types.d.ts +37 -0
  839. package/types/activities.types.cjs +1 -1
  840. package/types/activities.types.d.ts +34 -7
  841. package/types/activities.types.mjs +22 -10
  842. package/types/admin.types.cjs +1 -1
  843. package/types/admin.types.d.ts +42 -20
  844. package/types/admin.types.mjs +2 -3
  845. package/types/all-points.types.d.ts +7 -0
  846. package/types/approvals.types.cjs +1 -0
  847. package/types/approvals.types.d.ts +41 -0
  848. package/types/approvals.types.mjs +4 -0
  849. package/types/bridging.types.d.ts +29 -0
  850. package/types/brotherhood-user.types.d.ts +11 -0
  851. package/types/cache.types.cjs +1 -1
  852. package/types/cache.types.d.ts +26 -4
  853. package/types/cache.types.mjs +2 -2
  854. package/types/circom-data.types.d.ts +12 -0
  855. package/types/coingecko.types.d.ts +207 -0
  856. package/types/commitments.types.d.ts +12 -0
  857. package/types/confirmation-request.types.cjs +1 -0
  858. package/types/confirmation-request.types.d.ts +10 -0
  859. package/types/confirmation-request.types.mjs +4 -0
  860. package/types/connector.types.d.ts +4 -0
  861. package/types/contacts.types.d.ts +1 -0
  862. package/types/eip5792.types.cjs +1 -0
  863. package/types/eip5792.types.d.ts +33 -0
  864. package/types/eip5792.types.mjs +5 -0
  865. package/types/ethereum-network.types.cjs +1 -1
  866. package/types/ethereum-network.types.d.ts +21 -95
  867. package/types/ethereum-network.types.mjs +2 -2
  868. package/types/external-action.types.cjs +1 -1
  869. package/types/external-action.types.d.ts +4 -16
  870. package/types/external-action.types.mjs +2 -2
  871. package/types/generatePoints.cjs +1 -0
  872. package/types/generatePoints.d.ts +14 -0
  873. package/types/generatePoints.mjs +5 -0
  874. package/types/hinkal.types.cjs +1 -1
  875. package/types/hinkal.types.d.ts +24 -96
  876. package/types/hinkal.types.mjs +26 -33
  877. package/types/http.types.d.ts +8 -0
  878. package/types/index.d.ts +25 -8
  879. package/types/kyc.types.cjs +1 -1
  880. package/types/kyc.types.d.ts +5 -3
  881. package/types/kyc.types.mjs +3 -3
  882. package/types/message.types.d.ts +5 -0
  883. package/types/new-rewards.type.cjs +1 -0
  884. package/types/new-rewards.type.d.ts +156 -0
  885. package/types/new-rewards.type.mjs +7 -0
  886. package/types/offscreen.types.cjs +1 -0
  887. package/types/offscreen.types.d.ts +9 -0
  888. package/types/offscreen.types.mjs +4 -0
  889. package/types/okx.types.d.ts +57 -0
  890. package/types/presaleReferral.types.d.ts +4 -0
  891. package/types/proxy.types.d.ts +10 -0
  892. package/types/referral.types.d.ts +12 -0
  893. package/types/rewards.types.cjs +1 -1
  894. package/types/rewards.types.d.ts +15 -210
  895. package/types/rewards.types.mjs +3 -25
  896. package/types/routing.types.cjs +1 -0
  897. package/types/routing.types.d.ts +7 -0
  898. package/types/routing.types.mjs +4 -0
  899. package/types/sandbox.types.cjs +1 -1
  900. package/types/sandbox.types.d.ts +86 -21
  901. package/types/sandbox.types.mjs +2 -2
  902. package/types/scheduled-transactions.types.cjs +1 -0
  903. package/types/scheduled-transactions.types.d.ts +22 -0
  904. package/types/scheduled-transactions.types.mjs +4 -0
  905. package/types/session.types.d.ts +11 -0
  906. package/types/signature.types.d.ts +10 -0
  907. package/types/slippage.types.cjs +1 -1
  908. package/types/slippage.types.d.ts +1 -13
  909. package/types/slippage.types.mjs +2 -13
  910. package/types/solana.types.d.ts +75 -0
  911. package/types/tenderly.api.types.d.ts +37 -21
  912. package/types/token-prices.types.cjs +1 -0
  913. package/types/token-prices.types.d.ts +7 -0
  914. package/types/token-prices.types.mjs +9 -0
  915. package/types/token.types.d.ts +32 -8
  916. package/types/transactions.types.cjs +1 -1
  917. package/types/transactions.types.d.ts +12 -20
  918. package/types/transactions.types.mjs +5 -5
  919. package/types/wc.types.d.ts +4 -15
  920. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.cjs +1 -1
  921. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.mjs +1 -1
  922. package/webworker/snarkjsWorker/snarkjsWorkerLogic.cjs +1 -1
  923. package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +28 -21
  924. package/webworker/utxoWorker/utxoWorker.types.d.ts +2 -0
  925. package/webworker/utxoWorker/utxoWorkerLauncher.cjs +1 -1
  926. package/webworker/utxoWorker/utxoWorkerLauncher.mjs +1 -1
  927. package/webworker/utxoWorker/utxoWorkerLogic.cjs +1 -1
  928. package/webworker/utxoWorker/utxoWorkerLogic.mjs +33 -31
  929. package/webworker/viteWorkerURL.constant.cjs +3 -3
  930. package/webworker/viteWorkerURL.constant.mjs +3 -3
  931. package/webworker/zkProofWorker/zkProofWorkerLauncher.cjs +1 -1
  932. package/webworker/zkProofWorker/zkProofWorkerLauncher.mjs +1 -1
  933. package/API/HinkalPointsCalls.cjs +0 -1
  934. package/API/HinkalPointsCalls.d.ts +0 -20
  935. package/API/HinkalPointsCalls.mjs +0 -15
  936. package/API/callBeefyGraphAPI.cjs +0 -1
  937. package/API/callBeefyGraphAPI.d.ts +0 -2
  938. package/API/callBeefyGraphAPI.mjs +0 -14
  939. package/API/callCurveAPI.cjs +0 -1
  940. package/API/callCurveAPI.d.ts +0 -9
  941. package/API/callCurveAPI.mjs +0 -160
  942. package/API/dataServerCalls.cjs +0 -1
  943. package/API/dataServerCalls.d.ts +0 -6
  944. package/API/dataServerCalls.mjs +0 -13
  945. package/API/fetchNullifiers.cjs +0 -1
  946. package/API/fetchNullifiers.d.ts +0 -5
  947. package/API/fetchNullifiers.mjs +0 -7
  948. package/API/getAxelarGasEstimate.cjs +0 -1
  949. package/API/getAxelarGasEstimate.d.ts +0 -5
  950. package/API/getAxelarGasEstimate.mjs +0 -14
  951. package/API/getConnextReceiveFee.cjs +0 -1
  952. package/API/getConnextReceiveFee.d.ts +0 -2
  953. package/API/getConnextReceiveFee.mjs +0 -7
  954. package/API/referralProgramCalls.cjs +0 -1
  955. package/API/referralProgramCalls.d.ts +0 -36
  956. package/API/referralProgramCalls.mjs +0 -35
  957. package/API/rewardsPointsCalls.cjs +0 -1
  958. package/API/rewardsPointsCalls.d.ts +0 -10
  959. package/API/rewardsPointsCalls.mjs +0 -15
  960. package/API/userVerifyTransactions.cjs +0 -1
  961. package/API/userVerifyTransactions.d.ts +0 -19
  962. package/API/userVerifyTransactions.mjs +0 -21
  963. package/constants/axelar.constants.cjs +0 -1
  964. package/constants/axelar.constants.d.ts +0 -5
  965. package/constants/axelar.constants.mjs +0 -48
  966. package/constants/beefy.registry.cjs +0 -1
  967. package/constants/beefy.registry.d.ts +0 -8
  968. package/constants/beefy.registry.mjs +0 -24
  969. package/constants/crvCvx.registry.cjs +0 -1
  970. package/constants/crvCvx.registry.d.ts +0 -20
  971. package/constants/crvCvx.registry.mjs +0 -638
  972. package/constants/crvDynamic.registry.cjs +0 -1
  973. package/constants/crvDynamic.registry.d.ts +0 -1
  974. package/constants/crvDynamic.registry.mjs +0 -24
  975. package/constants/deploy-data/deploy-data-axelar1.json.cjs +0 -1
  976. package/constants/deploy-data/deploy-data-axelar1.json.mjs +0 -4329
  977. package/constants/deploy-data/deploy-data-axelar2.json.cjs +0 -1
  978. package/constants/deploy-data/deploy-data-axelar2.json.mjs +0 -4329
  979. package/constants/lido.constants.cjs +0 -1
  980. package/constants/lido.constants.d.ts +0 -10
  981. package/constants/lido.constants.mjs +0 -13
  982. package/constants/pendle.registry.cjs +0 -1
  983. package/constants/pendle.registry.d.ts +0 -21
  984. package/constants/pendle.registry.mjs +0 -253
  985. package/constants/token-data/tokenPricing.consts.cjs +0 -1
  986. package/constants/token-data/tokenPricing.consts.mjs +0 -6
  987. package/data-structures/Hinkal/hinkalActionBeefy.cjs +0 -1
  988. package/data-structures/Hinkal/hinkalActionBeefy.d.ts +0 -3
  989. package/data-structures/Hinkal/hinkalActionBeefy.mjs +0 -80
  990. package/data-structures/Hinkal/hinkalActionConvex.cjs +0 -1
  991. package/data-structures/Hinkal/hinkalActionConvex.d.ts +0 -12
  992. package/data-structures/Hinkal/hinkalActionConvex.mjs +0 -61
  993. package/data-structures/Hinkal/hinkalActionCurve.cjs +0 -1
  994. package/data-structures/Hinkal/hinkalActionCurve.d.ts +0 -12
  995. package/data-structures/Hinkal/hinkalActionCurve.mjs +0 -93
  996. package/data-structures/Hinkal/hinkalActionLidoEth.cjs +0 -1
  997. package/data-structures/Hinkal/hinkalActionLidoEth.d.ts +0 -4
  998. package/data-structures/Hinkal/hinkalActionLidoEth.mjs +0 -72
  999. package/data-structures/Hinkal/hinkalActionPendle.cjs +0 -1
  1000. package/data-structures/Hinkal/hinkalActionPendle.d.ts +0 -3
  1001. package/data-structures/Hinkal/hinkalActionPendle.mjs +0 -119
  1002. package/data-structures/Hinkal/hinkalActionPendleLP.cjs +0 -1
  1003. package/data-structures/Hinkal/hinkalActionPendleLP.d.ts +0 -7
  1004. package/data-structures/Hinkal/hinkalActionPendleLP.mjs +0 -81
  1005. package/data-structures/Hinkal/hinkalActionStake.cjs +0 -1
  1006. package/data-structures/Hinkal/hinkalActionStake.mjs +0 -122
  1007. package/data-structures/Hinkal/hinkalActionVolatile.cjs +0 -1
  1008. package/data-structures/Hinkal/hinkalActionVolatile.d.ts +0 -3
  1009. package/data-structures/Hinkal/hinkalActionVolatile.mjs +0 -89
  1010. package/data-structures/Hinkal/hinkalDeploySubAccount.cjs +0 -1
  1011. package/data-structures/Hinkal/hinkalDeploySubAccount.d.ts +0 -3
  1012. package/data-structures/Hinkal/hinkalDeploySubAccount.mjs +0 -15
  1013. package/data-structures/event-service/AbstractAccessTokenSnapshotService.cjs +0 -1
  1014. package/data-structures/event-service/AbstractApprovalsSnapshotService.cjs +0 -1
  1015. package/data-structures/event-service/AbstractApprovalsSnapshotService.mjs +0 -104
  1016. package/data-structures/event-service/AbstractCommitmentsSnapshotService.cjs +0 -1
  1017. package/data-structures/event-service/AbstractCommitmentsSnapshotService.mjs +0 -94
  1018. package/data-structures/event-service/AbstractEventService.cjs +0 -1
  1019. package/data-structures/event-service/AbstractEventService.d.ts +0 -31
  1020. package/data-structures/event-service/AbstractEventService.mjs +0 -95
  1021. package/data-structures/event-service/AbstractNullifierSnapshotService.cjs +0 -1
  1022. package/data-structures/event-service/AbstractNullifierSnapshotService.mjs +0 -59
  1023. package/data-structures/event-service/AbstractSnapshotService.cjs +0 -1
  1024. package/data-structures/event-service/AbstractSnapshotService.mjs +0 -35
  1025. package/data-structures/snapshot/ClientAccessTokenSnapshotService.cjs +0 -1
  1026. package/data-structures/snapshot/ClientAccessTokenSnapshotService.mjs +0 -32
  1027. package/data-structures/snapshot/ClientApprovalsSnapshotService.cjs +0 -1
  1028. package/data-structures/snapshot/ClientApprovalsSnapshotService.mjs +0 -23
  1029. package/data-structures/snapshot/ClientCommitmentsSnapshotService.cjs +0 -1
  1030. package/data-structures/snapshot/ClientCommitmentsSnapshotService.d.ts +0 -7
  1031. package/data-structures/snapshot/ClientCommitmentsSnapshotService.mjs +0 -31
  1032. package/data-structures/snapshot/ClientNullifierSnapshotService.cjs +0 -1
  1033. package/data-structures/snapshot/ClientNullifierSnapshotService.d.ts +0 -7
  1034. package/data-structures/snapshot/ClientNullifierSnapshotService.mjs +0 -28
  1035. package/data-structures/transactions-manager/TransactionsManager.cjs +0 -1
  1036. package/data-structures/transactions-manager/TransactionsManager.d.ts +0 -28
  1037. package/data-structures/transactions-manager/TransactionsManager.mjs +0 -180
  1038. package/data-structures/transactions-manager/history/getBeefyData.cjs +0 -1
  1039. package/data-structures/transactions-manager/history/getBeefyData.d.ts +0 -3
  1040. package/data-structures/transactions-manager/history/getBeefyData.mjs +0 -49
  1041. package/data-structures/transactions-manager/history/getConvexData.cjs +0 -1
  1042. package/data-structures/transactions-manager/history/getConvexData.d.ts +0 -6
  1043. package/data-structures/transactions-manager/history/getConvexData.mjs +0 -38
  1044. package/data-structures/transactions-manager/history/getCurveData.cjs +0 -1
  1045. package/data-structures/transactions-manager/history/getCurveData.d.ts +0 -6
  1046. package/data-structures/transactions-manager/history/getCurveData.mjs +0 -78
  1047. package/data-structures/transactions-manager/history/getDepositData.cjs +0 -1
  1048. package/data-structures/transactions-manager/history/getDepositData.d.ts +0 -2
  1049. package/data-structures/transactions-manager/history/getDepositData.mjs +0 -12
  1050. package/data-structures/transactions-manager/history/getLidoData.cjs +0 -1
  1051. package/data-structures/transactions-manager/history/getLidoData.d.ts +0 -10
  1052. package/data-structures/transactions-manager/history/getLidoData.mjs +0 -26
  1053. package/data-structures/transactions-manager/history/getPendleData.cjs +0 -1
  1054. package/data-structures/transactions-manager/history/getPendleData.d.ts +0 -3
  1055. package/data-structures/transactions-manager/history/getPendleData.mjs +0 -40
  1056. package/data-structures/transactions-manager/history/getSwapData.cjs +0 -1
  1057. package/data-structures/transactions-manager/history/getSwapData.d.ts +0 -3
  1058. package/data-structures/transactions-manager/history/getSwapData.mjs +0 -19
  1059. package/data-structures/transactions-manager/history/getTxDetails.cjs +0 -1
  1060. package/data-structures/transactions-manager/history/getTxDetails.d.ts +0 -3
  1061. package/data-structures/transactions-manager/history/getTxDetails.mjs +0 -57
  1062. package/data-structures/transactions-manager/history/getVolatileData.cjs +0 -1
  1063. package/data-structures/transactions-manager/history/getVolatileData.d.ts +0 -32
  1064. package/data-structures/transactions-manager/history/getVolatileData.mjs +0 -56
  1065. package/data-structures/transactions-manager/history/history.utils.cjs +0 -1
  1066. package/data-structures/transactions-manager/history/history.utils.d.ts +0 -8
  1067. package/data-structures/transactions-manager/history/history.utils.mjs +0 -8
  1068. package/data-structures/volatile-helper/VolatileHelper.cjs +0 -1
  1069. package/data-structures/volatile-helper/VolatileHelper.d.ts +0 -57
  1070. package/data-structures/volatile-helper/VolatileHelper.mjs +0 -161
  1071. package/data-structures/volatile-helper/index.d.ts +0 -1
  1072. package/externalABIs/BeefyRouterAbi.json.cjs +0 -1
  1073. package/externalABIs/BeefyRouterAbi.json.mjs +0 -1025
  1074. package/externalABIs/BeefyStrategyAbi.json.cjs +0 -1
  1075. package/externalABIs/BeefyStrategyAbi.json.mjs +0 -1426
  1076. package/externalABIs/BeefyVaultAbi.json.cjs +0 -1
  1077. package/externalABIs/BeefyVaultAbi.json.mjs +0 -573
  1078. package/externalABIs/BeefyZapAbi.json.cjs +0 -1
  1079. package/externalABIs/BeefyZapOneInchAbi.json.cjs +0 -1
  1080. package/externalABIs/ConvexBoosterAbi.json.cjs +0 -1
  1081. package/externalABIs/ConvexBoosterAbi.json.mjs +0 -677
  1082. package/externalABIs/ConvexBoosterAbiMainnet.json.cjs +0 -1
  1083. package/externalABIs/ConvexBoosterAbiMainnet.json.mjs +0 -1005
  1084. package/externalABIs/ConvexRewardPoolAbi.json.cjs +0 -1
  1085. package/externalABIs/ConvexRewardPoolAbi.json.mjs +0 -886
  1086. package/externalABIs/CurveReadingWrapperAbi.json.cjs +0 -1
  1087. package/externalABIs/CurveReadingWrapperAbi.json.mjs +0 -1425
  1088. package/externalABIs/CurveWrappedMainPool.json.cjs +0 -1
  1089. package/externalABIs/CurveWrappedMainPool.json.mjs +0 -1139
  1090. package/externalABIs/CurveZap.json.cjs +0 -1
  1091. package/externalABIs/CurveZap.json.mjs +0 -265
  1092. package/externalABIs/CvxCrvUtilities.json.cjs +0 -1
  1093. package/externalABIs/CvxCrvUtilities.json.mjs +0 -267
  1094. package/externalABIs/ERC20.d.ts +0 -1
  1095. package/externalABIs/LidoStEthAbi.json.cjs +0 -1
  1096. package/externalABIs/LidoStEthAbi.json.mjs +0 -1603
  1097. package/externalABIs/LidoStMaticAbi.json.cjs +0 -1
  1098. package/externalABIs/LidoStMaticAbi.json.mjs +0 -1764
  1099. package/externalABIs/LidoStakeManagerAbi.json.cjs +0 -1
  1100. package/externalABIs/LidoStakeManagerAbi.json.mjs +0 -2082
  1101. package/externalABIs/LidoWithdrawalQueueERC721Abi.json.cjs +0 -1
  1102. package/externalABIs/LidoWithdrawalQueueERC721Abi.json.mjs +0 -2030
  1103. package/externalABIs/LidoWstEthAbi.json.cjs +0 -1
  1104. package/externalABIs/PendleRouterAbi.json.cjs +0 -1
  1105. package/externalABIs/PendleRouterAbi.json.mjs +0 -176
  1106. package/externalABIs/PoLidoNftAbi.json.cjs +0 -1
  1107. package/externalABIs/PoLidoNftAbi.json.mjs +0 -701
  1108. package/externalABIs/crvFRAX.d.ts +0 -38
  1109. package/functions/pre-transaction/processAmountChanges.cjs +0 -1
  1110. package/functions/pre-transaction/processAmountChanges.d.ts +0 -12
  1111. package/functions/pre-transaction/processAmountChanges.mjs +0 -228
  1112. package/functions/private-wallet/smartContractWalletCalculator.cjs +0 -1
  1113. package/functions/private-wallet/smartContractWalletCalculator.d.ts +0 -5
  1114. package/functions/private-wallet/smartContractWalletCalculator.mjs +0 -25
  1115. package/functions/protocols/convex.protocols.cjs +0 -1
  1116. package/functions/protocols/convex.protocols.d.ts +0 -1
  1117. package/functions/protocols/convex.protocols.mjs +0 -28
  1118. package/functions/protocols/curve.protocols.cjs +0 -1
  1119. package/functions/protocols/curve.protocols.d.ts +0 -1
  1120. package/functions/protocols/curve.protocols.mjs +0 -22
  1121. package/functions/protocols/index.d.ts +0 -3
  1122. package/functions/protocols/pendle.helpers.cjs +0 -1
  1123. package/functions/protocols/pendle.helpers.d.ts +0 -8
  1124. package/functions/protocols/pendle.helpers.mjs +0 -112
  1125. package/functions/utils/axelar.utils.cjs +0 -1
  1126. package/functions/utils/axelar.utils.d.ts +0 -3
  1127. package/functions/utils/axelar.utils.mjs +0 -45
  1128. package/functions/utils/enum.utils.cjs +0 -1
  1129. package/functions/utils/enum.utils.mjs +0 -14
  1130. package/functions/utils/volatile-patcher.utils.cjs +0 -1
  1131. package/functions/utils/volatile-patcher.utils.d.ts +0 -1
  1132. package/functions/utils/volatile-patcher.utils.mjs +0 -18
  1133. package/types/axelar.types.d.ts +0 -14
  1134. package/types/beefy.types.cjs +0 -1
  1135. package/types/beefy.types.d.ts +0 -11
  1136. package/types/beefy.types.mjs +0 -21
  1137. package/types/connext.types.d.ts +0 -13
  1138. package/types/curve.types.cjs +0 -1
  1139. package/types/curve.types.d.ts +0 -133
  1140. package/types/curve.types.mjs +0 -24
  1141. package/types/earlyAccessCode.types.d.ts +0 -4
  1142. package/types/hinkalTvl.types.d.ts +0 -4
  1143. package/types/pendle.api.types.d.ts +0 -233
  1144. package/types/pendle.types.cjs +0 -1
  1145. package/types/pendle.types.d.ts +0 -222
  1146. package/types/pendle.types.mjs +0 -15
  1147. package/types/time.types.cjs +0 -1
  1148. package/types/time.types.d.ts +0 -31
  1149. package/types/time.types.mjs +0 -58
@@ -1,13 +1,25 @@
1
- import { IntegrationProvider as r } from "./hinkal.types.mjs";
2
- var I = /* @__PURE__ */ ((N) => (N.PENDING = "PENDING", N.CONFIRMED = "CONFIRMED", N.FAILED = "FAILED", N))(I || {}), n = /* @__PURE__ */ ((N) => (N.SHIELD = "Deposit", N.SWAP = "Swap", N.SEND = "Send", N.DAPP_INTERACTION = "Dapp Interaction", N.DAPP_INTERACTION_APPROVAL = "Dapp Interaction Approval", N.RECIEVE = "Shield", N.FUND = "Fund", N.UNKNOWN = "Unknown Transaction", N))(n || {});
3
- const E = [
4
- r.UNISWAP,
5
- r.ODOS,
6
- r.ONEINCH,
7
- r.NONE
8
- ];
1
+ import { IntegrationProvider as N } from "./hinkal.types.mjs";
2
+ var I = /* @__PURE__ */ ((E) => (E.PENDING = "PENDING", E.SUCCESSFUL = "SUCCESSFUL", E.FAILED = "FAILED", E))(I || {}), r = /* @__PURE__ */ ((E) => (E.SHIELD = "Shield", E.SWAP = "Swap", E.BRIDGE = "Bridge", E.SEND = "Send", E.DAPP_INTERACTION = "dApp interaction", E.DAPP_INTERACTION_APPROVAL = "dApp interaction approval", E.RECIEVE = "Receive", E.UNSHIELD = "Unshield", E.ONBOARDING_DEPOSIT = "Onboarding deposit", E.REVOKE = "Revoke", E.UNKNOWN = "Unknown transaction", E))(r || {}), O = /* @__PURE__ */ ((E) => (E.SPEND = "SPEND", E.RECEIVE = "RECEIVE", E.APPROVE = "APPROVE", E))(O || {});
3
+ const P = [
4
+ N.UNISWAP,
5
+ N.ODOS,
6
+ N.ONEINCH,
7
+ N.LIFI,
8
+ N.OKX,
9
+ N.NONE
10
+ ], o = {
11
+ [N.UNISWAP]: "Uniswap",
12
+ [N.ODOS]: "Odos",
13
+ [N.ONEINCH]: "1inch",
14
+ [N.LIFI]: "LI.FI",
15
+ [N.OKX]: "OKX",
16
+ [N.ALL]: "All",
17
+ [N.NONE]: "None"
18
+ };
9
19
  export {
10
20
  I as ActivityStatus,
11
- n as ActivityTypes,
12
- E as DexProviders
21
+ r as ActivityTypes,
22
+ P as DexProviders,
23
+ o as IntegrationProviderNames,
24
+ O as TokenChangeType
13
25
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a=(r=>(r.Internal="Internal",r.External="External",r))(a||{}),s=(r=>(r.Deposit="Deposit",r.WithdrawWithRelayer="Withdraw With Relayer",r.WithdrawWithoutRelayer="Withdraw Without Relayer",r.MintAccessToken="Mint Access Token",r.Aave="Aave",r.Odos="Odos",r.Uniswap="Uniswap",r.OneInch="1Inch",r.Curve="Curve",r.Convex="Convex",r.Transact="Transact",r.Beefy="Beefy",r.Volatile="Volatile",r.Lido="Lido",r.Pendle="Pendle",r.HinkalStake="HinkalStake",r))(s||{});exports.AdminActionType=a;exports.AdminDetailedActionType=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var _=(e=>(e.PrivateToPrivateSend="private_to_private_send",e.ProxyToPrivateSend="proxy_to_private_send",e.PrivateToPublicSend="private_to_public_send",e.PublicToPublicSend="public_to_public_send",e.PublicToPublicBridgeSend="public_to_public_bridge_send",e.PrivateSwap="private_swap",e.PublicSwap="public_swap",e.PublicBridgeSwap="public_bridge_swap",e.Unshield="unshield",e.Shield="shield",e.Onboarding="onboarding",e.PaymentLink="payment_link",e.FundApprove="fund_approve",e.FundApproveAndTransact="fund_approve_and_transact",e.PublicDappTransaction="public_dapp_transaction",e.PrivateDappTransaction="private_dapp_transaction",e))(_||{});exports.AdminTransactionType=_;
@@ -1,22 +1,44 @@
1
- export declare enum AdminActionType {
2
- Internal = "Internal",
3
- External = "External"
1
+ import { TokenChanges } from './token.types';
2
+ export interface SwapPair {
3
+ tokenIn: {
4
+ symbol: string;
5
+ address: string;
6
+ };
7
+ tokenOut: {
8
+ symbol: string;
9
+ address: string;
10
+ };
4
11
  }
5
- export declare enum AdminDetailedActionType {
6
- Deposit = "Deposit",
7
- WithdrawWithRelayer = "Withdraw With Relayer",
8
- WithdrawWithoutRelayer = "Withdraw Without Relayer",
9
- MintAccessToken = "Mint Access Token",
10
- Aave = "Aave",
11
- Odos = "Odos",
12
- Uniswap = "Uniswap",
13
- OneInch = "1Inch",
14
- Curve = "Curve",
15
- Convex = "Convex",
16
- Transact = "Transact",
17
- Beefy = "Beefy",
18
- Volatile = "Volatile",
19
- Lido = "Lido",
20
- Pendle = "Pendle",
21
- HinkalStake = "HinkalStake"
12
+ export interface AdminDataType {
13
+ hashedOwner: string;
14
+ chainId: number;
15
+ timestamp: number;
16
+ action: AdminTransactionType;
17
+ erc20TokenAddresses: string[];
18
+ erc20TokenAmount: string[];
19
+ swapPair?: SwapPair;
20
+ fundApproveAndTransactFundAmounts?: string[];
21
+ fundApproveAndTransactFundAddresses?: string[];
22
+ fundApproveAndTransactEmporiumChanges?: TokenChanges<string>[];
23
+ }
24
+ export interface AdminInterface extends AdminDataType {
25
+ erc20TokenPrices: string[];
26
+ }
27
+ export declare enum AdminTransactionType {
28
+ PrivateToPrivateSend = "private_to_private_send",
29
+ ProxyToPrivateSend = "proxy_to_private_send",
30
+ PrivateToPublicSend = "private_to_public_send",
31
+ PublicToPublicSend = "public_to_public_send",
32
+ PublicToPublicBridgeSend = "public_to_public_bridge_send",
33
+ PrivateSwap = "private_swap",
34
+ PublicSwap = "public_swap",
35
+ PublicBridgeSwap = "public_bridge_swap",
36
+ Unshield = "unshield",
37
+ Shield = "shield",
38
+ Onboarding = "onboarding",
39
+ PaymentLink = "payment_link",
40
+ FundApprove = "fund_approve",
41
+ FundApproveAndTransact = "fund_approve_and_transact",
42
+ PublicDappTransaction = "public_dapp_transaction",
43
+ PrivateDappTransaction = "private_dapp_transaction"
22
44
  }
@@ -1,5 +1,4 @@
1
- var a = /* @__PURE__ */ ((r) => (r.Internal = "Internal", r.External = "External", r))(a || {}), s = /* @__PURE__ */ ((r) => (r.Deposit = "Deposit", r.WithdrawWithRelayer = "Withdraw With Relayer", r.WithdrawWithoutRelayer = "Withdraw Without Relayer", r.MintAccessToken = "Mint Access Token", r.Aave = "Aave", r.Odos = "Odos", r.Uniswap = "Uniswap", r.OneInch = "1Inch", r.Curve = "Curve", r.Convex = "Convex", r.Transact = "Transact", r.Beefy = "Beefy", r.Volatile = "Volatile", r.Lido = "Lido", r.Pendle = "Pendle", r.HinkalStake = "HinkalStake", r))(s || {});
1
+ var p = /* @__PURE__ */ ((_) => (_.PrivateToPrivateSend = "private_to_private_send", _.ProxyToPrivateSend = "proxy_to_private_send", _.PrivateToPublicSend = "private_to_public_send", _.PublicToPublicSend = "public_to_public_send", _.PublicToPublicBridgeSend = "public_to_public_bridge_send", _.PrivateSwap = "private_swap", _.PublicSwap = "public_swap", _.PublicBridgeSwap = "public_bridge_swap", _.Unshield = "unshield", _.Shield = "shield", _.Onboarding = "onboarding", _.PaymentLink = "payment_link", _.FundApprove = "fund_approve", _.FundApproveAndTransact = "fund_approve_and_transact", _.PublicDappTransaction = "public_dapp_transaction", _.PrivateDappTransaction = "private_dapp_transaction", _))(p || {});
2
2
  export {
3
- a as AdminActionType,
4
- s as AdminDetailedActionType
3
+ p as AdminTransactionType
5
4
  };
@@ -0,0 +1,7 @@
1
+ export interface AllPoints {
2
+ aumPoints: number;
3
+ tradingPoints: number;
4
+ referralPoints: number;
5
+ questPoints: number;
6
+ totalPoints: number;
7
+ }
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=(r=>(r.ERC20="ERC20",r.tokenId="tokenId",r.approvedForAll="approvedForAll",r))(e||{});exports.RevokeType=e;
@@ -0,0 +1,41 @@
1
+ import { ERC20Token } from './token.types';
2
+ export interface AlchemyBatchRequest {
3
+ jsonrpc: '2.0';
4
+ id: number;
5
+ method: string;
6
+ params: any[];
7
+ }
8
+ export interface AlchemyBatchResponse {
9
+ jsonrpc: '2.0';
10
+ id: number;
11
+ result: string;
12
+ error?: {
13
+ code: number;
14
+ message: string;
15
+ };
16
+ }
17
+ export interface TokenApproval {
18
+ token: ERC20Token;
19
+ spenderAddress: string;
20
+ allowance: bigint;
21
+ tokenId?: string;
22
+ }
23
+ export interface ApprovalPair {
24
+ contractAddress: string;
25
+ spenderAddress: string;
26
+ tokenIds?: Set<string>;
27
+ }
28
+ export interface ApprovalsBySpender {
29
+ spenderAddress: string;
30
+ approvedAssets: TokenApproval[];
31
+ }
32
+ export declare enum RevokeType {
33
+ ERC20 = "ERC20",
34
+ tokenId = "tokenId",
35
+ approvedForAll = "approvedForAll"
36
+ }
37
+ export interface ApprovalRequestMetadata {
38
+ pairIndex: number;
39
+ type: RevokeType;
40
+ tokenId?: string;
41
+ }
@@ -0,0 +1,4 @@
1
+ var o = /* @__PURE__ */ ((r) => (r.ERC20 = "ERC20", r.tokenId = "tokenId", r.approvedForAll = "approvedForAll", r))(o || {});
2
+ export {
3
+ o as RevokeType
4
+ };
@@ -0,0 +1,29 @@
1
+ export interface BridgeProtocolQuery {
2
+ name?: string;
3
+ url?: string;
4
+ }
5
+ export interface Bridge {
6
+ name: string;
7
+ url: string;
8
+ }
9
+ export interface ChainlistRawEntry {
10
+ name: string;
11
+ chainId: number;
12
+ parent?: {
13
+ type?: string;
14
+ chain?: string;
15
+ bridges?: {
16
+ url: string;
17
+ }[];
18
+ };
19
+ }
20
+ export interface DefillamaRawEntry {
21
+ name?: string;
22
+ url?: string;
23
+ category?: string;
24
+ }
25
+ export interface JumperExchangeRawEntry {
26
+ bridges?: {
27
+ name?: string;
28
+ }[];
29
+ }
@@ -0,0 +1,11 @@
1
+ import { MemberStatus } from './RewardUserEnums';
2
+ import { AllPoints } from './all-points.types';
3
+ export interface BrotherhoodUserBase extends AllPoints {
4
+ ethereumAddress: string;
5
+ brotherhoodId: number;
6
+ memberStatus: MemberStatus;
7
+ }
8
+ export interface BrotherhoodUser extends BrotherhoodUserBase {
9
+ username: string;
10
+ profileImage: string;
11
+ }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var _=(E=>(E.LOCAL_STORAGE_KEY_USER_ANALYTICS_CONSENT="userAnalyticsConsentPref",E.PASSWORD_HASH="passwordHash",E.SELECTED_NETWORK_CHAIN_ID="selectedNetworkChainId",E.LAST_ADDRESS="lastAddress",E.AUTO_LOCK_TIME="autoLockTime",E.TOKEN_REGISTRY="tokenRegistry",E.IS_BALANCE_HIDDEN="isBalanceHidden",E.SANDBOX_TRANSACTION_STATUS="sandboxTransactionStatus",E.SELECTED_SUB_ACCOUNT_ADDRESS="selectedSubAccountAddress",E.GENERATE_PROOF_REMOTELY="generateProofRemotely",E.IS_RELAYER_OFF="isRelayerOff",E.ONBOARDING_SHOWN="onboardingShown",E.STARRED_PENDLE_MARKETS="starredPendleMarkets",E.STARRED_PENDLE_POOLS="starredPendlePools",E.CONNECT_WITH_HINKAL="connectWithHinkal",E.GAS_COST_TOKEN="gasCostToken",E.PRIVATE_TOKENS="privateTokens",E.PUBLIC_TOKENS="publicTokens",E.PUBLIC_TOKENS_LAST_PROCESSED_BLOCKS="publicTokensLastProcessedBlocks",E.ACCEPTED_TERMS_OF_SERVICES="acceptedTermsOfServices",E.SLIPPAGE_PERCENTAGE="slippagePercentage",E.IS_SLIPPAGE_PERCENTAGE_CUSTOM="isSlippagePercentageCustom",E.MNEMONIC_PHRASE="mnemonicPhrase",E.SOURCE_MNEMONIC_PHRASE="sourceMnemonicPhrase",E.SELECTED_WALLET_ENVIRONMENT="selectedWalletEnvironment",E))(_||{});exports.StorageKeys=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var E=(_=>(_.LAST_IGNORED_DEPOSIT_BALANCE_1K="lastIgnoredDepositBalance1K",_.LAST_IGNORED_DEPOSIT_BALANCE_10K="lastIgnoredDepositBalance10K",_.LAST_IGNORED_DEPOSIT_SCAM_TOKENS="lastIgnoredDepositScamTokens",_.LAST_IGNORED_DEPOSIT_TRANSACTIONS="lastIgnoredDepositTransactions",_.LOCAL_STORAGE_KEY_USER_ANALYTICS_CONSENT="userAnalyticsConsentPref",_.PASSWORD_HASH="passwordHash",_.SELECTED_NETWORK_CHAIN_ID="selectedNetworkChainId",_.LAST_ADDRESS="lastAddress",_.AUTO_LOCK_TIME="autoLockTime",_.TOKEN_REGISTRY="tokenRegistry",_.IS_BALANCE_HIDDEN="isBalanceHidden",_.SANDBOX_TRANSACTION_STATUS="sandboxTransactionStatus",_.SELECTED_SUB_ACCOUNT_ADDRESS="selectedSubAccountAddress",_.GENERATE_PROOF_REMOTELY="generateProofRemotely",_.IS_RELAYER_OFF="isRelayerOff",_.ONBOARDING_SHOWN="onboardingShown",_.CONNECT_WITH_HINKAL="connectWithHinkal",_.GAS_COST_TOKEN="gasCostToken",_.PRIVATE_TOKENS="privateTokens",_.ALCHEMY_PUBLIC_TOKENS="alchemyPublicTokens",_.EVENTS_PUBLIC_TOKENS="eventsPublicTokens",_.ARC_PUBLIC_TOKENS="arcPublicTokens",_.PUBLIC_TOKENS_LAST_PROCESSED_BLOCKS="publicTokensLastProcessedBlocks",_.ACCEPTED_TERMS_OF_SERVICES="acceptedTermsOfServices",_.SLIPPAGE_PERCENTAGE="slippagePercentage",_.IS_SLIPPAGE_PERCENTAGE_CUSTOM="isSlippagePercentageCustom",_.MNEMONIC_PHRASE="mnemonicPhrase",_.SOURCE_MNEMONIC_PHRASE="sourceMnemonicPhrase",_.SELECTED_WALLET_ENVIRONMENT="selectedWalletEnvironment",_.IS_TOOLTIPS_ON="isTooltipsOn",_.CONNECTED_ADDRESS="connectedAddress",_.CONNECTED_SOLANA_ADDRESS="connectedSolanaAddress",_.CONNECTED_SESSIONS="connectedSessions",_.TX_ACTIVITY="tx-activity",_.IS_TOR_ROUTING_ON="isTorRoutingOn",_.EVENTS_PUBLIC_APPROVALS="eventsPublicApprovals",_.PUBLIC_APPROVALS_LAST_PROCESSED_BLOCKS="publicApprovalsLastProcessedBlocks",_.ACTIVE_SUB_ACCOUNT="activeSubAccount",_.SIGNED_MESSAGES="signedMessages",_.AUTO_SHIELD_IS_ON="autoShieldIsOn",_.MAX_GAS_IN_DOLLAR="maxGasInDollar",_.PENDING_SOLANA_SIGNATURES="pendingSolanaSignatures",_.ONBOARDING_TEMPORARY_PASSWORD="onboardingTemporaryPassword",_.STORAGE_KEY_LAST_SEEN_VERSION="hinkalLastSeenVersion",_.X_REFERRAL_LAST_CLICK="xReferralLastClick",_.HINKAL_GOOGLE_SESSION="hinkalGoogleSession",_.IS_CREATE_NEW_PUBLIC_WALLET_ON="isCreateNewPublicWalletOn",_))(E||{});exports.StorageKeys=E;
@@ -1,4 +1,8 @@
1
1
  export declare enum StorageKeys {
2
+ LAST_IGNORED_DEPOSIT_BALANCE_1K = "lastIgnoredDepositBalance1K",
3
+ LAST_IGNORED_DEPOSIT_BALANCE_10K = "lastIgnoredDepositBalance10K",
4
+ LAST_IGNORED_DEPOSIT_SCAM_TOKENS = "lastIgnoredDepositScamTokens",
5
+ LAST_IGNORED_DEPOSIT_TRANSACTIONS = "lastIgnoredDepositTransactions",
2
6
  LOCAL_STORAGE_KEY_USER_ANALYTICS_CONSENT = "userAnalyticsConsentPref",
3
7
  PASSWORD_HASH = "passwordHash",
4
8
  SELECTED_NETWORK_CHAIN_ID = "selectedNetworkChainId",
@@ -11,17 +15,35 @@ export declare enum StorageKeys {
11
15
  GENERATE_PROOF_REMOTELY = "generateProofRemotely",
12
16
  IS_RELAYER_OFF = "isRelayerOff",
13
17
  ONBOARDING_SHOWN = "onboardingShown",
14
- STARRED_PENDLE_MARKETS = "starredPendleMarkets",
15
- STARRED_PENDLE_POOLS = "starredPendlePools",
16
18
  CONNECT_WITH_HINKAL = "connectWithHinkal",
17
19
  GAS_COST_TOKEN = "gasCostToken",
18
20
  PRIVATE_TOKENS = "privateTokens",
19
- PUBLIC_TOKENS = "publicTokens",
21
+ ALCHEMY_PUBLIC_TOKENS = "alchemyPublicTokens",
22
+ EVENTS_PUBLIC_TOKENS = "eventsPublicTokens",
23
+ ARC_PUBLIC_TOKENS = "arcPublicTokens",
20
24
  PUBLIC_TOKENS_LAST_PROCESSED_BLOCKS = "publicTokensLastProcessedBlocks",
21
25
  ACCEPTED_TERMS_OF_SERVICES = "acceptedTermsOfServices",
22
26
  SLIPPAGE_PERCENTAGE = "slippagePercentage",
23
27
  IS_SLIPPAGE_PERCENTAGE_CUSTOM = "isSlippagePercentageCustom",
24
28
  MNEMONIC_PHRASE = "mnemonicPhrase",
25
29
  SOURCE_MNEMONIC_PHRASE = "sourceMnemonicPhrase",
26
- SELECTED_WALLET_ENVIRONMENT = "selectedWalletEnvironment"
30
+ SELECTED_WALLET_ENVIRONMENT = "selectedWalletEnvironment",
31
+ IS_TOOLTIPS_ON = "isTooltipsOn",
32
+ CONNECTED_ADDRESS = "connectedAddress",
33
+ CONNECTED_SOLANA_ADDRESS = "connectedSolanaAddress",
34
+ CONNECTED_SESSIONS = "connectedSessions",
35
+ TX_ACTIVITY = "tx-activity",
36
+ IS_TOR_ROUTING_ON = "isTorRoutingOn",
37
+ EVENTS_PUBLIC_APPROVALS = "eventsPublicApprovals",
38
+ PUBLIC_APPROVALS_LAST_PROCESSED_BLOCKS = "publicApprovalsLastProcessedBlocks",
39
+ ACTIVE_SUB_ACCOUNT = "activeSubAccount",
40
+ SIGNED_MESSAGES = "signedMessages",
41
+ AUTO_SHIELD_IS_ON = "autoShieldIsOn",
42
+ MAX_GAS_IN_DOLLAR = "maxGasInDollar",
43
+ PENDING_SOLANA_SIGNATURES = "pendingSolanaSignatures",
44
+ ONBOARDING_TEMPORARY_PASSWORD = "onboardingTemporaryPassword",
45
+ STORAGE_KEY_LAST_SEEN_VERSION = "hinkalLastSeenVersion",
46
+ X_REFERRAL_LAST_CLICK = "xReferralLastClick",
47
+ HINKAL_GOOGLE_SESSION = "hinkalGoogleSession",
48
+ IS_CREATE_NEW_PUBLIC_WALLET_ON = "isCreateNewPublicWalletOn"
27
49
  }
@@ -1,4 +1,4 @@
1
- var _ = /* @__PURE__ */ ((E) => (E.LOCAL_STORAGE_KEY_USER_ANALYTICS_CONSENT = "userAnalyticsConsentPref", E.PASSWORD_HASH = "passwordHash", E.SELECTED_NETWORK_CHAIN_ID = "selectedNetworkChainId", E.LAST_ADDRESS = "lastAddress", E.AUTO_LOCK_TIME = "autoLockTime", E.TOKEN_REGISTRY = "tokenRegistry", E.IS_BALANCE_HIDDEN = "isBalanceHidden", E.SANDBOX_TRANSACTION_STATUS = "sandboxTransactionStatus", E.SELECTED_SUB_ACCOUNT_ADDRESS = "selectedSubAccountAddress", E.GENERATE_PROOF_REMOTELY = "generateProofRemotely", E.IS_RELAYER_OFF = "isRelayerOff", E.ONBOARDING_SHOWN = "onboardingShown", E.STARRED_PENDLE_MARKETS = "starredPendleMarkets", E.STARRED_PENDLE_POOLS = "starredPendlePools", E.CONNECT_WITH_HINKAL = "connectWithHinkal", E.GAS_COST_TOKEN = "gasCostToken", E.PRIVATE_TOKENS = "privateTokens", E.PUBLIC_TOKENS = "publicTokens", E.PUBLIC_TOKENS_LAST_PROCESSED_BLOCKS = "publicTokensLastProcessedBlocks", E.ACCEPTED_TERMS_OF_SERVICES = "acceptedTermsOfServices", E.SLIPPAGE_PERCENTAGE = "slippagePercentage", E.IS_SLIPPAGE_PERCENTAGE_CUSTOM = "isSlippagePercentageCustom", E.MNEMONIC_PHRASE = "mnemonicPhrase", E.SOURCE_MNEMONIC_PHRASE = "sourceMnemonicPhrase", E.SELECTED_WALLET_ENVIRONMENT = "selectedWalletEnvironment", E))(_ || {});
1
+ var E = /* @__PURE__ */ ((_) => (_.LAST_IGNORED_DEPOSIT_BALANCE_1K = "lastIgnoredDepositBalance1K", _.LAST_IGNORED_DEPOSIT_BALANCE_10K = "lastIgnoredDepositBalance10K", _.LAST_IGNORED_DEPOSIT_SCAM_TOKENS = "lastIgnoredDepositScamTokens", _.LAST_IGNORED_DEPOSIT_TRANSACTIONS = "lastIgnoredDepositTransactions", _.LOCAL_STORAGE_KEY_USER_ANALYTICS_CONSENT = "userAnalyticsConsentPref", _.PASSWORD_HASH = "passwordHash", _.SELECTED_NETWORK_CHAIN_ID = "selectedNetworkChainId", _.LAST_ADDRESS = "lastAddress", _.AUTO_LOCK_TIME = "autoLockTime", _.TOKEN_REGISTRY = "tokenRegistry", _.IS_BALANCE_HIDDEN = "isBalanceHidden", _.SANDBOX_TRANSACTION_STATUS = "sandboxTransactionStatus", _.SELECTED_SUB_ACCOUNT_ADDRESS = "selectedSubAccountAddress", _.GENERATE_PROOF_REMOTELY = "generateProofRemotely", _.IS_RELAYER_OFF = "isRelayerOff", _.ONBOARDING_SHOWN = "onboardingShown", _.CONNECT_WITH_HINKAL = "connectWithHinkal", _.GAS_COST_TOKEN = "gasCostToken", _.PRIVATE_TOKENS = "privateTokens", _.ALCHEMY_PUBLIC_TOKENS = "alchemyPublicTokens", _.EVENTS_PUBLIC_TOKENS = "eventsPublicTokens", _.ARC_PUBLIC_TOKENS = "arcPublicTokens", _.PUBLIC_TOKENS_LAST_PROCESSED_BLOCKS = "publicTokensLastProcessedBlocks", _.ACCEPTED_TERMS_OF_SERVICES = "acceptedTermsOfServices", _.SLIPPAGE_PERCENTAGE = "slippagePercentage", _.IS_SLIPPAGE_PERCENTAGE_CUSTOM = "isSlippagePercentageCustom", _.MNEMONIC_PHRASE = "mnemonicPhrase", _.SOURCE_MNEMONIC_PHRASE = "sourceMnemonicPhrase", _.SELECTED_WALLET_ENVIRONMENT = "selectedWalletEnvironment", _.IS_TOOLTIPS_ON = "isTooltipsOn", _.CONNECTED_ADDRESS = "connectedAddress", _.CONNECTED_SOLANA_ADDRESS = "connectedSolanaAddress", _.CONNECTED_SESSIONS = "connectedSessions", _.TX_ACTIVITY = "tx-activity", _.IS_TOR_ROUTING_ON = "isTorRoutingOn", _.EVENTS_PUBLIC_APPROVALS = "eventsPublicApprovals", _.PUBLIC_APPROVALS_LAST_PROCESSED_BLOCKS = "publicApprovalsLastProcessedBlocks", _.ACTIVE_SUB_ACCOUNT = "activeSubAccount", _.SIGNED_MESSAGES = "signedMessages", _.AUTO_SHIELD_IS_ON = "autoShieldIsOn", _.MAX_GAS_IN_DOLLAR = "maxGasInDollar", _.PENDING_SOLANA_SIGNATURES = "pendingSolanaSignatures", _.ONBOARDING_TEMPORARY_PASSWORD = "onboardingTemporaryPassword", _.STORAGE_KEY_LAST_SEEN_VERSION = "hinkalLastSeenVersion", _.X_REFERRAL_LAST_CLICK = "xReferralLastClick", _.HINKAL_GOOGLE_SESSION = "hinkalGoogleSession", _.IS_CREATE_NEW_PUBLIC_WALLET_ON = "isCreateNewPublicWalletOn", _))(E || {});
2
2
  export {
3
- _ as StorageKeys
3
+ E as StorageKeys
4
4
  };
@@ -1,5 +1,11 @@
1
+ import { ethers } from 'ethers';
1
2
  import { SignatureData } from './crypto.types';
2
3
  import { FeeStructure, HinkalLogicArgs } from './hinkal.types';
4
+ export interface TypedData {
5
+ domain: ethers.TypedDataDomain;
6
+ types: Record<string, Array<ethers.TypedDataField>>;
7
+ value: Record<string, any>;
8
+ }
3
9
  export interface CircomDataBaseType {
4
10
  rootHashHinkal: bigint | undefined;
5
11
  erc20TokenAddresses: string[];
@@ -75,6 +81,12 @@ export type StealthAddressStructure<T = bigint> = {
75
81
  H0: T;
76
82
  H1: T;
77
83
  };
84
+ export type AnchorStealthAddressStructure = {
85
+ extraRandomization: number[];
86
+ stealthAddress: number[];
87
+ h0: number[];
88
+ h1: number[];
89
+ };
78
90
  export declare const emptyStealthAddressStructure: {
79
91
  extraRandomization: string;
80
92
  stealthAddress: string;
@@ -6,3 +6,210 @@ export interface CoingeckoToken {
6
6
  [key: string]: string;
7
7
  };
8
8
  }
9
+ export interface CoinGeckoResponse {
10
+ id: string;
11
+ symbol: string;
12
+ name: string;
13
+ web_slug: string;
14
+ asset_platform_id: string;
15
+ platforms: {
16
+ [key: string]: string;
17
+ };
18
+ detail_platforms: {
19
+ [key: string]: {
20
+ decimal_place: number | null;
21
+ contract_address: string;
22
+ };
23
+ };
24
+ block_time_in_minutes: number;
25
+ hashing_algorithm: null;
26
+ categories: string[];
27
+ preview_listing: boolean;
28
+ public_notice: string;
29
+ additional_notices: any[];
30
+ localization: {
31
+ [key: string]: string;
32
+ };
33
+ description: {
34
+ [key: string]: string;
35
+ };
36
+ links: {
37
+ homepage: string[];
38
+ whitepaper: string;
39
+ blockchain_site: string[];
40
+ official_forum_url: string[];
41
+ chat_url: string[];
42
+ announcement_url: string[];
43
+ snapshot_url: null;
44
+ twitter_screen_name: string;
45
+ facebook_username: string;
46
+ bitcointalk_thread_identifier: null;
47
+ telegram_channel_identifier: string;
48
+ subreddit_url: string;
49
+ repos_url: {
50
+ github: string[];
51
+ bitbucket: any[];
52
+ };
53
+ };
54
+ image: {
55
+ thumb: string;
56
+ small: string;
57
+ large: string;
58
+ };
59
+ country_origin: string;
60
+ genesis_date: null;
61
+ contract_address: string;
62
+ sentiment_votes_up_percentage: number;
63
+ sentiment_votes_down_percentage: number;
64
+ watchlist_portfolio_users: number;
65
+ market_cap_rank: number;
66
+ market_data: {
67
+ current_price: {
68
+ [key: string]: number;
69
+ };
70
+ total_value_locked: null;
71
+ mcap_to_tvl_ratio: null;
72
+ fdv_to_tvl_ratio: null;
73
+ roi: null;
74
+ ath: {
75
+ [key: string]: number;
76
+ };
77
+ ath_change_percentage: {
78
+ [key: string]: number;
79
+ };
80
+ ath_date: {
81
+ [key: string]: string;
82
+ };
83
+ atl: {
84
+ [key: string]: number;
85
+ };
86
+ atl_change_percentage: {
87
+ [key: string]: number;
88
+ };
89
+ atl_date: {
90
+ [key: string]: string;
91
+ };
92
+ market_cap: {
93
+ [key: string]: number;
94
+ };
95
+ market_cap_rank: number;
96
+ fully_diluted_valuation: {
97
+ [key: string]: number;
98
+ };
99
+ market_cap_fdv_ratio: number;
100
+ total_volume: {
101
+ [key: string]: number;
102
+ };
103
+ high_24h: {
104
+ [key: string]: number;
105
+ };
106
+ low_24h: {
107
+ [key: string]: number;
108
+ };
109
+ price_change_24h: number;
110
+ price_change_percentage_24h: number;
111
+ price_change_percentage_7d: number;
112
+ price_change_percentage_14d: number;
113
+ price_change_percentage_30d: number;
114
+ price_change_percentage_60d: number;
115
+ price_change_percentage_200d: number;
116
+ price_change_percentage_1y: number;
117
+ market_cap_change_24h: number;
118
+ market_cap_change_percentage_24h: number;
119
+ price_change_24h_in_currency: {
120
+ [key: string]: number;
121
+ };
122
+ price_change_percentage_1h_in_currency: {
123
+ [key: string]: number;
124
+ };
125
+ price_change_percentage_24h_in_currency: {
126
+ [key: string]: number;
127
+ };
128
+ price_change_percentage_7d_in_currency: {
129
+ [key: string]: number;
130
+ };
131
+ price_change_percentage_14d_in_currency: {
132
+ [key: string]: number;
133
+ };
134
+ price_change_percentage_30d_in_currency: {
135
+ [key: string]: number;
136
+ };
137
+ price_change_percentage_60d_in_currency: {
138
+ [key: string]: number;
139
+ };
140
+ price_change_percentage_200d_in_currency: {
141
+ [key: string]: number;
142
+ };
143
+ price_change_percentage_1y_in_currency: {
144
+ [key: string]: number;
145
+ };
146
+ market_cap_change_24h_in_currency: {
147
+ [key: string]: number;
148
+ };
149
+ market_cap_change_percentage_24h_in_currency: {
150
+ [key: string]: number;
151
+ };
152
+ total_supply: number;
153
+ max_supply: null;
154
+ circulating_supply: number;
155
+ last_updated: string;
156
+ };
157
+ community_data: {
158
+ facebook_likes: null;
159
+ twitter_followers: number;
160
+ reddit_average_posts_48h: number;
161
+ reddit_average_comments_48h: number;
162
+ reddit_subscribers: number;
163
+ reddit_accounts_active_48h: number;
164
+ telegram_channel_user_count: null;
165
+ };
166
+ developer_data: {
167
+ forks: number;
168
+ stars: number;
169
+ subscribers: number;
170
+ total_issues: number;
171
+ closed_issues: number;
172
+ pull_requests_merged: number;
173
+ pull_request_contributors: number;
174
+ code_additions_deletions_4_weeks: {
175
+ additions: number;
176
+ deletions: number;
177
+ };
178
+ commit_count_4_weeks: number;
179
+ last_4_weeks_commit_activity_series: number[];
180
+ };
181
+ status_updates: any[];
182
+ last_updated: string;
183
+ tickers: {
184
+ base: string;
185
+ target: string;
186
+ market: {
187
+ name: string;
188
+ identifier: string;
189
+ has_trading_incentive: boolean;
190
+ };
191
+ last: number;
192
+ volume: number;
193
+ converted_last: {
194
+ btc: number;
195
+ eth: number;
196
+ usd: number;
197
+ };
198
+ converted_volume: {
199
+ btc: number;
200
+ eth: number;
201
+ usd: number;
202
+ };
203
+ trust_score: string;
204
+ bid_ask_spread_percentage: number;
205
+ timestamp: string;
206
+ last_traded_at: string;
207
+ last_fetch_at: string;
208
+ is_anomaly: boolean;
209
+ is_stale: boolean;
210
+ trade_url: string;
211
+ token_info_url: null;
212
+ coin_id: string;
213
+ target_coin_id: string;
214
+ }[];
215
+ }
@@ -2,6 +2,7 @@ import { BigIntable } from './big-intable.types';
2
2
  export interface EncryptedOutputWithSign<Sign = boolean> {
3
3
  value: string;
4
4
  isPositive: Sign;
5
+ isBlocked: boolean;
5
6
  }
6
7
  export interface OutputsWithSignAndLast<Sign = boolean> {
7
8
  additionalEncryptedOutputs: EncryptedOutputWithSign<Sign>[];
@@ -12,11 +13,22 @@ export interface CommitmentEvent<BN = BigIntable> {
12
13
  index: BN;
13
14
  encryptedOutput: string;
14
15
  }
16
+ export interface SolanaCommitmentEvent {
17
+ commitment: number[];
18
+ index: number[];
19
+ encrypted_output: number[];
20
+ on_chain_data: number[][];
21
+ }
15
22
  export interface AccessTokenEvent<BN = BigIntable> {
16
23
  accessKey: BN;
17
24
  index: BN;
18
25
  senderAddress: string;
19
26
  }
27
+ export interface SolanaAccessTokenEvent<BN, PublicKeyType> {
28
+ access_key: BN;
29
+ index: BN;
30
+ sender_address: PublicKeyType;
31
+ }
20
32
  export interface NullifierEvent<T> {
21
33
  nullifier: T;
22
34
  }
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var S=(N=>(N.CONNECT="CONNECT",N.PERSONAL_SIGN="PERSONAL_SIGN",N.SIGN_TYPE_V4="SIGN_TYPE_V4",N.SEND_TRANSACTION="SEND_TRANSACTION",N.SEND_BATCH_TRANSACTION="SEND_BATCH_TRANSACTION",N.UNSUPPORTED_NETWORK="UNSUPPORTED_NETWORK",N.UNSUPPORTED_METHOD="UNSUPPORTED_METHOD",N.BLACKLISTED_DAPP="BLACKLISTED_DAPP",N))(S||{});exports.ConfirmationRequestType=S;
@@ -0,0 +1,10 @@
1
+ export declare enum ConfirmationRequestType {
2
+ 'CONNECT' = "CONNECT",
3
+ 'PERSONAL_SIGN' = "PERSONAL_SIGN",
4
+ 'SIGN_TYPE_V4' = "SIGN_TYPE_V4",
5
+ 'SEND_TRANSACTION' = "SEND_TRANSACTION",
6
+ 'SEND_BATCH_TRANSACTION' = "SEND_BATCH_TRANSACTION",
7
+ 'UNSUPPORTED_NETWORK' = "UNSUPPORTED_NETWORK",
8
+ 'UNSUPPORTED_METHOD' = "UNSUPPORTED_METHOD",
9
+ 'BLACKLISTED_DAPP' = "BLACKLISTED_DAPP"
10
+ }
@@ -0,0 +1,4 @@
1
+ var E = /* @__PURE__ */ ((N) => (N.CONNECT = "CONNECT", N.PERSONAL_SIGN = "PERSONAL_SIGN", N.SIGN_TYPE_V4 = "SIGN_TYPE_V4", N.SEND_TRANSACTION = "SEND_TRANSACTION", N.SEND_BATCH_TRANSACTION = "SEND_BATCH_TRANSACTION", N.UNSUPPORTED_NETWORK = "UNSUPPORTED_NETWORK", N.UNSUPPORTED_METHOD = "UNSUPPORTED_METHOD", N.BLACKLISTED_DAPP = "BLACKLISTED_DAPP", N))(E || {});
2
+ export {
3
+ E as ConfirmationRequestType
4
+ };
@@ -0,0 +1,4 @@
1
+ export type ConnectorInfo = {
2
+ id: string;
3
+ icon?: string;
4
+ };
@@ -2,4 +2,5 @@ export interface Contact {
2
2
  ethereumAddress: string;
3
3
  nickname: string;
4
4
  profilePicture?: string;
5
+ ensName?: string;
5
6
  }
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var n=(i=>(i.Pending="pending",i.Confirmed="confirmed",i.Failed="failed",i.NotFound="not_found",i))(n||{}),r=(i=>(i[i.Pending=100]="Pending",i[i.Confirmed=200]="Confirmed",i[i.OffchainFailure=400]="OffchainFailure",i[i.ChainFailure=500]="ChainFailure",i[i.PartialFailure=600]="PartialFailure",i))(r||{});exports.CallsStatus=r;exports.GetCallsStatusCode=n;
@@ -0,0 +1,33 @@
1
+ type Capability = {
2
+ [key: string]: unknown;
3
+ optional?: boolean;
4
+ };
5
+ export type Call = {
6
+ to?: string;
7
+ data?: string;
8
+ value?: string;
9
+ capabilities?: Record<string, Capability>;
10
+ };
11
+ export type SendCallsParams = {
12
+ version: string;
13
+ id?: string;
14
+ from?: string;
15
+ chainId: string;
16
+ atomicRequired: boolean;
17
+ calls: Call[];
18
+ capabilities?: Record<string, Capability>;
19
+ };
20
+ export declare enum GetCallsStatusCode {
21
+ Pending = "pending",
22
+ Confirmed = "confirmed",
23
+ Failed = "failed",
24
+ NotFound = "not_found"
25
+ }
26
+ export declare enum CallsStatus {
27
+ Pending = 100,// Batch has been received but not completed execution onchain
28
+ Confirmed = 200,// Batch has been included onchain without reverts
29
+ OffchainFailure = 400,// Batch has not been included onchain and wallet will not retry
30
+ ChainFailure = 500,// Batch reverted completely onchain
31
+ PartialFailure = 600
32
+ }
33
+ export {};
@@ -0,0 +1,5 @@
1
+ var n = /* @__PURE__ */ ((i) => (i.Pending = "pending", i.Confirmed = "confirmed", i.Failed = "failed", i.NotFound = "not_found", i))(n || {}), r = /* @__PURE__ */ ((i) => (i[i.Pending = 100] = "Pending", i[i.Confirmed = 200] = "Confirmed", i[i.OffchainFailure = 400] = "OffchainFailure", i[i.ChainFailure = 500] = "ChainFailure", i[i.PartialFailure = 600] = "PartialFailure", i))(r || {});
2
+ export {
3
+ r as CallsStatus,
4
+ n as GetCallsStatusCode
5
+ };