@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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var l=(e=>(e[e.HinkalContract=0]="HinkalContract",e[e.HinkalHelperContract=1]="HinkalHelperContract",e[e.AccessTokenContract=2]="AccessTokenContract",e[e.UniswapV3FactoryContract=3]="UniswapV3FactoryContract",e[e.UniswapV3PoolContract=4]="UniswapV3PoolContract",e[e.UniswapV3QuoterContract=5]="UniswapV3QuoterContract",e[e.ERC20Contract=6]="ERC20Contract",e[e.WATokenContract=7]="WATokenContract",e[e.OneInchExternalActionContract=8]="OneInchExternalActionContract",e[e.MerkleTreeContract=9]="MerkleTreeContract",e[e.ContractWithNonces=10]="ContractWithNonces",e[e.PermitterContract=11]="PermitterContract",e[e.CurveWrappedMainPool=12]="CurveWrappedMainPool",e[e.CurveReadingWrapper=13]="CurveReadingWrapper",e[e.CurvePoolLPTokenAmountCalculator2=14]="CurvePoolLPTokenAmountCalculator2",e[e.CurvePoolLPTokenAmountCalculator3=15]="CurvePoolLPTokenAmountCalculator3",e[e.CurvePoolLPTokenAmountCalculator4=16]="CurvePoolLPTokenAmountCalculator4",e[e.CurvePoolLPTokenAmountCalculatorDynamic=17]="CurvePoolLPTokenAmountCalculatorDynamic",e[e.CurvePoolLPTokenAmountCalculator2OneArg=18]="CurvePoolLPTokenAmountCalculator2OneArg",e[e.CurvePoolLPTokenAmountCalculator3OneArg=19]="CurvePoolLPTokenAmountCalculator3OneArg",e[e.CurvePoolLPTokenAmountCalculator4OneArg=20]="CurvePoolLPTokenAmountCalculator4OneArg",e[e.CurvePoolWithIntCoins=21]="CurvePoolWithIntCoins",e[e.CurveExternalAction=22]="CurveExternalAction",e[e.WrappedStakedCurveLp=23]="WrappedStakedCurveLp",e[e.WrappedStakedRewardsCurveLp=24]="WrappedStakedRewardsCurveLp",e[e.CurveGauge=25]="CurveGauge",e[e.ConvexBooster=26]="ConvexBooster",e[e.ConvexBoosterMainnet=27]="ConvexBoosterMainnet",e[e.ConvexRewardPool=28]="ConvexRewardPool",e[e.ConvexCvxLocker=29]="ConvexCvxLocker",e[e.ConvexStakePool=30]="ConvexStakePool",e[e.ConvexCvxCRVWrapper=31]="ConvexCvxCRVWrapper",e[e.ConvexCxvCrvUtillities=32]="ConvexCxvCrvUtillities",e[e.ConvexExternalAction=33]="ConvexExternalAction",e[e.WrappedStakedConvexLp=34]="WrappedStakedConvexLp",e[e.CurvePoolWithIntBalances=35]="CurvePoolWithIntBalances",e[e.CurveZaps=36]="CurveZaps",e[e.BeefyVault=37]="BeefyVault",e[e.BeefyZap=38]="BeefyZap",e[e.BeefyRouter=39]="BeefyRouter",e[e.BeefyZapOneInch=40]="BeefyZapOneInch",e[e.BeefyExternalAction=41]="BeefyExternalAction",e[e.BeefyStakeExternalAction=42]="BeefyStakeExternalAction",e[e.BeefyStrategy=43]="BeefyStrategy",e[e.WrappedStakedBeefyLp=44]="WrappedStakedBeefyLp",e[e.UniswapV2PoolContract=45]="UniswapV2PoolContract",e[e.LidoWstEther=46]="LidoWstEther",e[e.LidoStEther=47]="LidoStEther",e[e.LidoStMatic=48]="LidoStMatic",e[e.LidoWithdrawalQueueERC721=49]="LidoWithdrawalQueueERC721",e[e.LidoStakeManager=50]="LidoStakeManager",e[e.PoLidoNFT=51]="PoLidoNFT",e[e.PendleGeneralExternalAction=52]="PendleGeneralExternalAction",e[e.PendleRouter=53]="PendleRouter",e[e.WstPendleLPToken=54]="WstPendleLPToken",e[e.WstYtToken=55]="WstYtToken",e[e.VolatileVault=56]="VolatileVault",e[e.VolatileTokenAction=57]="VolatileTokenAction",e[e.HinkalWrapper=58]="HinkalWrapper",e[e.HinkalWrapper2=59]="HinkalWrapper2",e[e.HinkalStakeExternalAction=60]="HinkalStakeExternalAction",e[e.HToken=61]="HToken",e[e.HinkalWalletFactory=62]="HinkalWalletFactory",e))(l||{});exports.ContractType=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i=(n=>(n[n.HinkalContract=0]="HinkalContract",n[n.HinkalHelperContract=1]="HinkalHelperContract",n[n.AccessTokenContract=2]="AccessTokenContract",n[n.UniswapV3FactoryContract=3]="UniswapV3FactoryContract",n[n.UniswapV3PoolContract=4]="UniswapV3PoolContract",n[n.UniswapV3QuoterContract=5]="UniswapV3QuoterContract",n[n.ERC20Contract=6]="ERC20Contract",n[n.ERC721Contract=7]="ERC721Contract",n[n.ERC1155Contract=8]="ERC1155Contract",n[n.WATokenContract=9]="WATokenContract",n[n.OneInchExternalActionContract=10]="OneInchExternalActionContract",n[n.MerkleTreeContract=11]="MerkleTreeContract",n[n.ContractWithNonces=12]="ContractWithNonces",n[n.PermitterContract=13]="PermitterContract",n[n.UniswapV2PoolContract=14]="UniswapV2PoolContract",n[n.HinkalWrapper=15]="HinkalWrapper",n[n.HinkalWrapper2=16]="HinkalWrapper2",n[n.HinkalStakeExternalAction=17]="HinkalStakeExternalAction",n[n.HToken=18]="HToken",n[n.DepositOnChainUtxos=19]="DepositOnChainUtxos",n))(i||{});exports.ContractType=i;
@@ -1,4 +1,5 @@
1
1
  import { ContractInterface } from 'ethers';
2
+ import type { Idl } from '@coral-xyz/anchor';
2
3
  export type ContractMetadata = {
3
4
  abi?: ContractInterface;
4
5
  address?: string;
@@ -11,123 +12,48 @@ export declare enum ContractType {
11
12
  UniswapV3PoolContract = 4,
12
13
  UniswapV3QuoterContract = 5,
13
14
  ERC20Contract = 6,
14
- WATokenContract = 7,
15
- OneInchExternalActionContract = 8,
16
- MerkleTreeContract = 9,
17
- ContractWithNonces = 10,
18
- PermitterContract = 11,
19
- CurveWrappedMainPool = 12,
20
- CurveReadingWrapper = 13,
21
- CurvePoolLPTokenAmountCalculator2 = 14,
22
- CurvePoolLPTokenAmountCalculator3 = 15,
23
- CurvePoolLPTokenAmountCalculator4 = 16,
24
- CurvePoolLPTokenAmountCalculatorDynamic = 17,
25
- CurvePoolLPTokenAmountCalculator2OneArg = 18,
26
- CurvePoolLPTokenAmountCalculator3OneArg = 19,
27
- CurvePoolLPTokenAmountCalculator4OneArg = 20,
28
- CurvePoolWithIntCoins = 21,
29
- CurveExternalAction = 22,
30
- WrappedStakedCurveLp = 23,
31
- WrappedStakedRewardsCurveLp = 24,
32
- CurveGauge = 25,
33
- ConvexBooster = 26,
34
- ConvexBoosterMainnet = 27,
35
- ConvexRewardPool = 28,
36
- ConvexCvxLocker = 29,
37
- ConvexStakePool = 30,
38
- ConvexCvxCRVWrapper = 31,
39
- ConvexCxvCrvUtillities = 32,
40
- ConvexExternalAction = 33,
41
- WrappedStakedConvexLp = 34,
42
- CurvePoolWithIntBalances = 35,
43
- CurveZaps = 36,
44
- BeefyVault = 37,
45
- BeefyZap = 38,
46
- BeefyRouter = 39,
47
- BeefyZapOneInch = 40,
48
- BeefyExternalAction = 41,
49
- BeefyStakeExternalAction = 42,
50
- BeefyStrategy = 43,
51
- WrappedStakedBeefyLp = 44,
52
- UniswapV2PoolContract = 45,
53
- LidoWstEther = 46,
54
- LidoStEther = 47,
55
- LidoStMatic = 48,
56
- LidoWithdrawalQueueERC721 = 49,
57
- LidoStakeManager = 50,
58
- PoLidoNFT = 51,
59
- PendleGeneralExternalAction = 52,
60
- PendleRouter = 53,
61
- WstPendleLPToken = 54,
62
- WstYtToken = 55,
63
- VolatileVault = 56,
64
- VolatileTokenAction = 57,
65
- HinkalWrapper = 58,
66
- HinkalWrapper2 = 59,
67
- HinkalStakeExternalAction = 60,
68
- HToken = 61,
69
- HinkalWalletFactory = 62
15
+ ERC721Contract = 7,
16
+ ERC1155Contract = 8,
17
+ WATokenContract = 9,
18
+ OneInchExternalActionContract = 10,
19
+ MerkleTreeContract = 11,
20
+ ContractWithNonces = 12,
21
+ PermitterContract = 13,
22
+ UniswapV2PoolContract = 14,
23
+ HinkalWrapper = 15,
24
+ HinkalWrapper2 = 16,
25
+ HinkalStakeExternalAction = 17,
26
+ HToken = 18,
27
+ DepositOnChainUtxos = 19
70
28
  }
71
29
  export interface ContractData {
72
30
  hinkalAddress: string;
73
- hinkalABI: ContractInterface;
31
+ hinkalABI?: ContractInterface;
32
+ hinkalIdl?: Idl;
74
33
  hinkalHelperAddress?: string;
75
34
  hinkalHelperABI?: ContractInterface;
76
35
  accessTokenAddress?: string;
77
36
  accessTokenABI?: ContractInterface;
78
- crossChainAccessTokenAddress?: string;
79
- crossChainAccessTokenABI?: ContractInterface;
80
- crossChainAccessTokenManagerAddress?: string;
81
- crossChainAccessTokenManagerABI?: ContractInterface;
82
37
  permitterAddress?: string;
83
38
  permitterABI?: ContractInterface;
84
39
  uniswapExternalActionAddress?: string;
85
40
  odosExternalActionInstanceAddress?: string;
86
41
  oneInchExternalActionInstanceAddress?: string;
87
42
  waTokenABI?: ContractInterface;
88
- curveWrappedMainPoolAbi?: ContractInterface;
89
- curveReadingWrapperAbi?: ContractInterface;
90
- CurvePoolWithIntCoins?: ContractInterface;
91
- curveExternalActionInstanceAddress?: string;
92
- curveExternalActionABI?: ContractInterface;
93
- curveExternalActionDynamicInstanceAddress?: string;
94
- curveStakeExternalActionInstanceAddress?: string;
95
- curveExternalActionDynamicABI?: ContractInterface;
96
- wrappedStakedCurveLpABI?: ContractInterface;
97
- wrappedStrakedRewardsCurveLpABI?: ContractInterface;
98
- convexExternalActionInstanceAddress?: string;
99
- convexExternalActionABI?: ContractInterface;
100
- wrappedStakedConvexLpABI?: ContractInterface;
101
- beefyExternalActionInstanceAddress?: string;
102
- beefyStakeExternalActionInstanceAddress?: string;
103
- BeefyExternalActionABI?: ContractInterface;
104
- BeefyStakeExternalActionABI?: ContractInterface;
105
- WrappedStakedBeefyLpABI: ContractInterface;
106
- lidoExternalActionEthAddress?: string;
107
- lidoExternalActionMaticAddress?: string;
108
- pendleExternalActionABI?: ContractInterface;
109
- pendleExternalActionInstanceAddress?: string;
110
- pendleLPExternalActionABI?: ContractInterface;
111
- pendleLPExternalActionInstanceAddress?: string;
112
- WstYtTokenABI?: ContractInterface;
113
- volatileVaultInstanceAddress?: string;
114
- VolatileVaultABI?: ContractInterface;
115
- volatileTokenActionInstanceAddress?: string;
116
- VolatileTokenActionABI?: ContractInterface;
117
43
  hinkalWrapperAddress?: string;
118
44
  hinkalWrapper2Address?: string;
119
- HinkalWrapperABI?: ContractInterface;
45
+ hinkalWrapperABI?: ContractInterface;
120
46
  HinkalWrapper2ABI?: ContractInterface;
121
- WstPendleLPABI?: ContractInterface;
122
47
  hinkalStakeExternalActionAddress?: string;
123
48
  HinkalStakeExternalActionABI?: ContractInterface;
124
49
  HTokenABI?: ContractInterface;
125
50
  hETHOracleAddress?: string;
126
51
  HTokenOracleABI?: ContractInterface;
127
52
  emporiumAddress?: string;
128
- hinkalWalletFactoryAddress?: string;
129
- hinkalWalletBeaconAddress?: string;
130
- hinkalWalletFactoryABI?: ContractInterface;
53
+ hinkalWalletAddress?: string;
54
+ originalDeployer?: string;
55
+ depositOnChainUtxosExternalActionAddress?: string;
56
+ depositOnChainUtxosExternalActionABI?: ContractInterface;
131
57
  }
132
58
  export interface EthereumNetwork {
133
59
  name: string;
@@ -1,4 +1,4 @@
1
- var l = /* @__PURE__ */ ((e) => (e[e.HinkalContract = 0] = "HinkalContract", e[e.HinkalHelperContract = 1] = "HinkalHelperContract", e[e.AccessTokenContract = 2] = "AccessTokenContract", e[e.UniswapV3FactoryContract = 3] = "UniswapV3FactoryContract", e[e.UniswapV3PoolContract = 4] = "UniswapV3PoolContract", e[e.UniswapV3QuoterContract = 5] = "UniswapV3QuoterContract", e[e.ERC20Contract = 6] = "ERC20Contract", e[e.WATokenContract = 7] = "WATokenContract", e[e.OneInchExternalActionContract = 8] = "OneInchExternalActionContract", e[e.MerkleTreeContract = 9] = "MerkleTreeContract", e[e.ContractWithNonces = 10] = "ContractWithNonces", e[e.PermitterContract = 11] = "PermitterContract", e[e.CurveWrappedMainPool = 12] = "CurveWrappedMainPool", e[e.CurveReadingWrapper = 13] = "CurveReadingWrapper", e[e.CurvePoolLPTokenAmountCalculator2 = 14] = "CurvePoolLPTokenAmountCalculator2", e[e.CurvePoolLPTokenAmountCalculator3 = 15] = "CurvePoolLPTokenAmountCalculator3", e[e.CurvePoolLPTokenAmountCalculator4 = 16] = "CurvePoolLPTokenAmountCalculator4", e[e.CurvePoolLPTokenAmountCalculatorDynamic = 17] = "CurvePoolLPTokenAmountCalculatorDynamic", e[e.CurvePoolLPTokenAmountCalculator2OneArg = 18] = "CurvePoolLPTokenAmountCalculator2OneArg", e[e.CurvePoolLPTokenAmountCalculator3OneArg = 19] = "CurvePoolLPTokenAmountCalculator3OneArg", e[e.CurvePoolLPTokenAmountCalculator4OneArg = 20] = "CurvePoolLPTokenAmountCalculator4OneArg", e[e.CurvePoolWithIntCoins = 21] = "CurvePoolWithIntCoins", e[e.CurveExternalAction = 22] = "CurveExternalAction", e[e.WrappedStakedCurveLp = 23] = "WrappedStakedCurveLp", e[e.WrappedStakedRewardsCurveLp = 24] = "WrappedStakedRewardsCurveLp", e[e.CurveGauge = 25] = "CurveGauge", e[e.ConvexBooster = 26] = "ConvexBooster", e[e.ConvexBoosterMainnet = 27] = "ConvexBoosterMainnet", e[e.ConvexRewardPool = 28] = "ConvexRewardPool", e[e.ConvexCvxLocker = 29] = "ConvexCvxLocker", e[e.ConvexStakePool = 30] = "ConvexStakePool", e[e.ConvexCvxCRVWrapper = 31] = "ConvexCvxCRVWrapper", e[e.ConvexCxvCrvUtillities = 32] = "ConvexCxvCrvUtillities", e[e.ConvexExternalAction = 33] = "ConvexExternalAction", e[e.WrappedStakedConvexLp = 34] = "WrappedStakedConvexLp", e[e.CurvePoolWithIntBalances = 35] = "CurvePoolWithIntBalances", e[e.CurveZaps = 36] = "CurveZaps", e[e.BeefyVault = 37] = "BeefyVault", e[e.BeefyZap = 38] = "BeefyZap", e[e.BeefyRouter = 39] = "BeefyRouter", e[e.BeefyZapOneInch = 40] = "BeefyZapOneInch", e[e.BeefyExternalAction = 41] = "BeefyExternalAction", e[e.BeefyStakeExternalAction = 42] = "BeefyStakeExternalAction", e[e.BeefyStrategy = 43] = "BeefyStrategy", e[e.WrappedStakedBeefyLp = 44] = "WrappedStakedBeefyLp", e[e.UniswapV2PoolContract = 45] = "UniswapV2PoolContract", e[e.LidoWstEther = 46] = "LidoWstEther", e[e.LidoStEther = 47] = "LidoStEther", e[e.LidoStMatic = 48] = "LidoStMatic", e[e.LidoWithdrawalQueueERC721 = 49] = "LidoWithdrawalQueueERC721", e[e.LidoStakeManager = 50] = "LidoStakeManager", e[e.PoLidoNFT = 51] = "PoLidoNFT", e[e.PendleGeneralExternalAction = 52] = "PendleGeneralExternalAction", e[e.PendleRouter = 53] = "PendleRouter", e[e.WstPendleLPToken = 54] = "WstPendleLPToken", e[e.WstYtToken = 55] = "WstYtToken", e[e.VolatileVault = 56] = "VolatileVault", e[e.VolatileTokenAction = 57] = "VolatileTokenAction", e[e.HinkalWrapper = 58] = "HinkalWrapper", e[e.HinkalWrapper2 = 59] = "HinkalWrapper2", e[e.HinkalStakeExternalAction = 60] = "HinkalStakeExternalAction", e[e.HToken = 61] = "HToken", e[e.HinkalWalletFactory = 62] = "HinkalWalletFactory", e))(l || {});
1
+ var i = /* @__PURE__ */ ((n) => (n[n.HinkalContract = 0] = "HinkalContract", n[n.HinkalHelperContract = 1] = "HinkalHelperContract", n[n.AccessTokenContract = 2] = "AccessTokenContract", n[n.UniswapV3FactoryContract = 3] = "UniswapV3FactoryContract", n[n.UniswapV3PoolContract = 4] = "UniswapV3PoolContract", n[n.UniswapV3QuoterContract = 5] = "UniswapV3QuoterContract", n[n.ERC20Contract = 6] = "ERC20Contract", n[n.ERC721Contract = 7] = "ERC721Contract", n[n.ERC1155Contract = 8] = "ERC1155Contract", n[n.WATokenContract = 9] = "WATokenContract", n[n.OneInchExternalActionContract = 10] = "OneInchExternalActionContract", n[n.MerkleTreeContract = 11] = "MerkleTreeContract", n[n.ContractWithNonces = 12] = "ContractWithNonces", n[n.PermitterContract = 13] = "PermitterContract", n[n.UniswapV2PoolContract = 14] = "UniswapV2PoolContract", n[n.HinkalWrapper = 15] = "HinkalWrapper", n[n.HinkalWrapper2 = 16] = "HinkalWrapper2", n[n.HinkalStakeExternalAction = 17] = "HinkalStakeExternalAction", n[n.HToken = 18] = "HToken", n[n.DepositOnChainUtxos = 19] = "DepositOnChainUtxos", n))(i || {});
2
2
  export {
3
- l as ContractType
3
+ i as ContractType
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var C=(e=>(e.Transact="Transact",e.Uniswap="Uniswap",e.Odos="Odos",e.OneInch="OneInch",e.Curve="Curve",e.CurveDynamic="CurveDynamic",e.CurveCRV="CurveCRV",e.CurveCRVRewards="CurveCRVRewards",e.Convex="Convex",e.Beefy="Beefy",e.BeefyStake="BeefyStake",e.Volatile="Volatile",e.LidoETH="LidoETH",e.LidoMATIC="LidoMATIC",e.LidoETHNFT="LidoETHNFT",e.LidoMATICNFT="LidoMATICNFT",e.Pendle="Pendle",e.PendleLP="PendleLP",e.HinkalStake="HinkalStake",e.Connext="Connext",e.Emporium="Emporium",e.Wallet="Wallet",e))(C||{});exports.ExternalActionId=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a=(s=>(s.Transact="Transact",s.Uniswap="Uniswap",s.Odos="Odos",s.OneInch="OneInch",s.Lifi="Lifi",s.Okx="Okx",s.HinkalStake="HinkalStake",s.Emporium="Emporium",s.Wallet="Wallet",s.DepositOnChainUtxos="DepositOnChainUtxos",s))(a||{});exports.ExternalActionId=a;
@@ -3,24 +3,12 @@ export declare enum ExternalActionId {
3
3
  Uniswap = "Uniswap",
4
4
  Odos = "Odos",
5
5
  OneInch = "OneInch",
6
- Curve = "Curve",
7
- CurveDynamic = "CurveDynamic",
8
- CurveCRV = "CurveCRV",
9
- CurveCRVRewards = "CurveCRVRewards",
10
- Convex = "Convex",
11
- Beefy = "Beefy",
12
- BeefyStake = "BeefyStake",
13
- Volatile = "Volatile",
14
- LidoETH = "LidoETH",
15
- LidoMATIC = "LidoMATIC",
16
- LidoETHNFT = "LidoETHNFT",
17
- LidoMATICNFT = "LidoMATICNFT",
18
- Pendle = "Pendle",
19
- PendleLP = "PendleLP",
6
+ Lifi = "Lifi",// Note: not an actual external action, added to handle lifi in hinkal.proxySwap
7
+ Okx = "Okx",// Note: not an actual external action
20
8
  HinkalStake = "HinkalStake",
21
- Connext = "Connext",
22
9
  Emporium = "Emporium",
23
- Wallet = "Wallet"
10
+ Wallet = "Wallet",
11
+ DepositOnChainUtxos = "DepositOnChainUtxos"
24
12
  }
25
13
  export interface ExternalActionData {
26
14
  externalActionId: 0n | ExternalActionId;
@@ -1,4 +1,4 @@
1
- var C = /* @__PURE__ */ ((e) => (e.Transact = "Transact", e.Uniswap = "Uniswap", e.Odos = "Odos", e.OneInch = "OneInch", e.Curve = "Curve", e.CurveDynamic = "CurveDynamic", e.CurveCRV = "CurveCRV", e.CurveCRVRewards = "CurveCRVRewards", e.Convex = "Convex", e.Beefy = "Beefy", e.BeefyStake = "BeefyStake", e.Volatile = "Volatile", e.LidoETH = "LidoETH", e.LidoMATIC = "LidoMATIC", e.LidoETHNFT = "LidoETHNFT", e.LidoMATICNFT = "LidoMATICNFT", e.Pendle = "Pendle", e.PendleLP = "PendleLP", e.HinkalStake = "HinkalStake", e.Connext = "Connext", e.Emporium = "Emporium", e.Wallet = "Wallet", e))(C || {});
1
+ var O = /* @__PURE__ */ ((s) => (s.Transact = "Transact", s.Uniswap = "Uniswap", s.Odos = "Odos", s.OneInch = "OneInch", s.Lifi = "Lifi", s.Okx = "Okx", s.HinkalStake = "HinkalStake", s.Emporium = "Emporium", s.Wallet = "Wallet", s.DepositOnChainUtxos = "DepositOnChainUtxos", s))(O || {});
2
2
  export {
3
- C as ExternalActionId
3
+ O as ExternalActionId
4
4
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=(r=>(r[r.Swap=0]="Swap",r[r.DApp=1]="DApp",r[r.Shield=2]="Shield",r[r.Unshield=3]="Unshield",r[r.PrivateSend=4]="PrivateSend",r))(e||{}),l=(r=>(r[r.Trading=0]="Trading",r[r.Quests=1]="Quests",r[r.Aum=2]="Aum",r[r.Referral=3]="Referral",r[r.MysteryBox=4]="MysteryBox",r))(l||{});exports.PointsType=l;exports.TradingType=e;
@@ -0,0 +1,14 @@
1
+ export declare enum TradingType {
2
+ Swap = 0,
3
+ DApp = 1,
4
+ Shield = 2,
5
+ Unshield = 3,
6
+ PrivateSend = 4
7
+ }
8
+ export declare enum PointsType {
9
+ Trading = 0,
10
+ Quests = 1,
11
+ Aum = 2,
12
+ Referral = 3,
13
+ MysteryBox = 4
14
+ }
@@ -0,0 +1,5 @@
1
+ var l = /* @__PURE__ */ ((r) => (r[r.Swap = 0] = "Swap", r[r.DApp = 1] = "DApp", r[r.Shield = 2] = "Shield", r[r.Unshield = 3] = "Unshield", r[r.PrivateSend = 4] = "PrivateSend", r))(l || {}), u = /* @__PURE__ */ ((r) => (r[r.Trading = 0] = "Trading", r[r.Quests = 1] = "Quests", r[r.Aum = 2] = "Aum", r[r.Referral = 3] = "Referral", r[r.MysteryBox = 4] = "MysteryBox", r))(u || {});
2
+ export {
3
+ u as PointsType,
4
+ l as TradingType
5
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("../constants/conversion.constants.cjs"),R=require("../constants/fees.constants.cjs"),e=require("../constants/protocol.constants.cjs");var E=(a=>(a.BalanceChange="BalanceChange",a.NetworkChange="NetworkChange",a.KycNeeded="KycNeeded",a.AccountChanged="AccountChanged",a.ShowConnect="ShowConnect",a.ShowNetworkPopup="ShowNetworkPopup",a.MerkleTreeUpdated="MerkleTreeUpdated",a.MerkleTreeResetStarted="MerkleTreeResetStarted",a.MerkleTreeResetFinished="MerkleTreeResetFinished",a))(E||{}),s=(a=>(a[a.UNISWAP=1]="UNISWAP",a[a.ODOS=2]="ODOS",a[a.ONEINCH=3]="ONEINCH",a[a.PENDLE=4]="PENDLE",a[a.ALL=5]="ALL",a[a.NONE=6]="NONE",a))(s||{}),S=(a=>(a[a.CurveAavePool=0]="CurveAavePool",a))(S||{}),D=(a=>(a[a.Deposit=0]="Deposit",a[a.WithdrawInt=11]="WithdrawInt",a[a.WithdrawUint=12]="WithdrawUint",a[a.WithdrawImbalance=13]="WithdrawImbalance",a[a.Stake=2]="Stake",a[a.Unstake=3]="Unstake",a[a.GetCRV=4]="GetCRV",a))(D||{}),_=(a=>(a[a.StakeLP=0]="StakeLP",a[a.UnStakeLP=1]="UnStakeLP",a[a.ClaimRewardsLP=2]="ClaimRewardsLP",a))(_||{}),h=(a=>(a[a.Deposit=0]="Deposit",a[a.DepositRegular=1]="DepositRegular",a[a.DepositOneInchSingle=2]="DepositOneInchSingle",a[a.DepositOneInchUniswap=3]="DepositOneInchUniswap",a[a.DepositOneInchSolidly=4]="DepositOneInchSolidly",a[a.Withdraw=5]="Withdraw",a[a.WithdrawRegular=6]="WithdrawRegular",a[a.WithdrawOneInchSingle=7]="WithdrawOneInchSingle",a[a.WithdrawOneInchUniswapAndSolidly=8]="WithdrawOneInchUniswapAndSolidly",a[a.WithdrawBoth=9]="WithdrawBoth",a[a.Stake=10]="Stake",a[a.Unstake=11]="Unstake",a[a.GetRewards=12]="GetRewards",a))(h||{}),t=(a=>(a.Ethereum="Ethereum",a.Polygon="Polygon",a))(t||{}),L=(a=>(a[a.Stake=0]="Stake",a[a.Request=1]="Request",a[a.Claim=2]="Claim",a))(L||{}),p=(a=>(a[a.Deposit=0]="Deposit",a[a.Withdraw=1]="Withdraw",a[a.SwapFromYt=2]="SwapFromYt",a[a.SwapToYt=3]="SwapToYt",a[a.SwapPt=4]="SwapPt",a[a.Mint=5]="Mint",a[a.Redeem=6]="Redeem",a[a.Checkpoint=7]="Checkpoint",a[a.PoolRemove=8]="PoolRemove",a))(p||{}),W=(a=>(a[a.AddOrRemoveLiquidity=0]="AddOrRemoveLiquidity",a[a.Checkpoint=1]="Checkpoint",a[a.Invalid=99]="Invalid",a))(W||{}),U=(a=>(a[a.Persist=0]="Persist",a[a.Deposit=1]="Deposit",a[a.Withdraw=2]="Withdraw",a[a.Swap=3]="Swap",a))(U||{}),w=(a=>(a[a.DepositOrStake=0]="DepositOrStake",a[a.Unstake=1]="Unstake",a))(w||{}),d=(a=>(a.WITHDRAW="WITHDRAW",a.SWAP="SWAP",a.CURVE_DEPOSIT="CURVE_DEPOSIT",a.CURVE_WITHDRAW="CURVE_WITHDRAW",a.CURVE_WITHDRAW_INBALANCED="CURVE_WITHDRAW_INBALANCED",a.STAKING="STAKING",a.UNSTAKING="UNSTAKING",a.CLAIMING="CLAIMING",a.BEEFY="BEEFY",a.BEEFY_STAKE="BEEFY_STAKE",a.BEEFY_UNSTAKE="BEEFY_UNSTAKE",a.BEEFY_GET_REWARDS="BEEFY_GET_REWARDS",a.LIDO_STAKE="LIDO_STAKE",a.LIDO_REQUEST="LIDO_REQUEST",a.LIDO_CLAIM="LIDO_CLAIM",a.PENDLE_TRANSACT="PENDLE_TRANSACT",a.PENDLE_YT_IN_SWAP="PENDLE_YT_IN_SWAP",a.PENDLE_YT_OUT_SWAP="PENDLE_YT_OUT_SWAP",a.PENDLE_PT_SWAP="PENDLE_PT_SWAP",a.PENDLE_MINT="PENDLE_MINT",a.PENDLE_REDEEM="PENDLE_REDEEM",a.PENDLE_CLAIM="PENDLE_CLAIM",a.PENDLE_LP="PENDLE_LP",a.PENDLE_LP_CLAIM="PENDLE_LP_CLAIM",a.VOLATILE_WITHDRAW="VOLATILE_WITHDRAW",a.VOLATILE_SWAP="VOLATILE_SWAP",a.EMPORIUM="EMPORIUM",a.NONE="NONE",a))(d||{}),l=(a=>(a[a.NONE=0]="NONE",a[a.APPROVE=1]="APPROVE",a[a.RELEASE_BUFFER=2]="RELEASE_BUFFER",a[a.EXECUTE=3]="EXECUTE",a))(l||{});const u=(a,r)=>({approvalChanges:Array.from({length:a}).fill(r),externalApprovalAddresses:Array.from({length:a}).fill(e.zeroAddress),conversionInHinkalAddress:Array.from({length:a}).fill(r)}),k=(a,r)=>({hinkalLogicAction:0,inHinkalAddress:r.getInHinkalAddress(e.zeroAddress),executeApprovalChanges:Array.from({length:a}).fill(0n),doPreTxApproval:!1,useApprovalUtxoData:Array.from({length:a}).map(()=>u(P.APPROVED_UTXO_CONVERSION_COUNT,0n)),interactionAddress:e.zeroAddress}),O={feeToken:R.defaultFeeToken,flatFee:0n,variableRate:0n};exports.BeefyAction=h;exports.ConvexAction=_;exports.CurveAction=D;exports.EventType=E;exports.HinkalLogicAction=l;exports.HinkalStakeAction=w;exports.INTERACTION=d;exports.IntegrationProvider=s;exports.LidoAction=L;exports.LidoVariant=t;exports.PendleAction=p;exports.PendleLPAction=W;exports.StakeProvider=S;exports.VolatileAction=U;exports.defaultFeeStructure=O;exports.defaultHinkalLogicArgs=k;exports.defaultUseApprovalUTXOData=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../constants/conversion.constants.cjs"),S=require("../constants/fees.constants.cjs"),r=require("../constants/protocol.constants.cjs");var l=(e=>(e.BalanceChange="BalanceChange",e.NetworkChange="NetworkChange",e.KycNeeded="KycNeeded",e.AccountChanged="AccountChanged",e.ShowConnect="ShowConnect",e.ShowNetworkPopup="ShowNetworkPopup",e.MerkleTreeUpdated="MerkleTreeUpdated",e.MerkleTreeResetStarted="MerkleTreeResetStarted",e.MerkleTreeResetFinished="MerkleTreeResetFinished",e))(l||{}),t=(e=>(e[e.UNISWAP=1]="UNISWAP",e[e.ODOS=2]="ODOS",e[e.ONEINCH=3]="ONEINCH",e[e.LIFI=4]="LIFI",e[e.OKX=5]="OKX",e[e.ALL=6]="ALL",e[e.NONE=7]="NONE",e))(t||{}),A=(e=>(e[e.DepositOrStake=0]="DepositOrStake",e[e.Unstake=1]="Unstake",e))(A||{}),s=(e=>(e.WITHDRAW="WITHDRAW",e.SWAP="SWAP",e.STAKING="STAKING",e.UNSTAKING="UNSTAKING",e.CLAIMING="CLAIMING",e.EMPORIUM="EMPORIUM",e.NONE="NONE",e))(s||{}),N=(e=>(e[e.NONE=0]="NONE",e[e.APPROVE=1]="APPROVE",e[e.RELEASE_BUFFER=2]="RELEASE_BUFFER",e[e.EXECUTE=3]="EXECUTE",e))(N||{});const O=(e,a)=>({approvalChanges:Array.from({length:e}).fill(a),externalApprovalAddresses:Array.from({length:e}).fill(r.zeroAddress),conversionInHinkalAddress:Array.from({length:e}).fill(a)}),d=(e,a)=>({hinkalLogicAction:0,inHinkalAddress:a.getInHinkalAddress(r.zeroAddress),executeApprovalChanges:Array.from({length:e}).fill(0n),doPreTxApproval:!1,useApprovalUtxoData:Array.from({length:e}).map(()=>O(E.APPROVED_UTXO_CONVERSION_COUNT,0n)),interactionAddress:r.zeroAddress}),C={feeToken:S.defaultFeeToken,flatFee:0n,variableRate:0n};var u=(e=>(e[e.NOT_STARTED=0]="NOT_STARTED",e[e.CONNECTED=1]="CONNECTED",e[e.KYC=2]="KYC",e[e.COMPLETED=3]="COMPLETED",e))(u||{});exports.EventType=l;exports.HinkalLogicAction=N;exports.HinkalStakeAction=A;exports.INTERACTION=s;exports.IntegrationProvider=t;exports.UserProgress=u;exports.defaultFeeStructure=C;exports.defaultHinkalLogicArgs=d;exports.defaultUseApprovalUTXOData=O;
@@ -1,5 +1,4 @@
1
1
  import { UserKeys } from '../data-structures/crypto-keys/keys';
2
- import { ExternalActionId } from './external-action.types';
3
2
  /**
4
3
  * Configuration options for the Hinkal system.
5
4
  */
@@ -38,112 +37,21 @@ export declare enum IntegrationProvider {
38
37
  UNISWAP = 1,
39
38
  ODOS = 2,
40
39
  ONEINCH = 3,
41
- PENDLE = 4,
42
- ALL = 5,
43
- NONE = 6
44
- }
45
- export declare enum StakeProvider {
46
- CurveAavePool = 0
47
- }
48
- export declare enum CurveAction {
49
- Deposit = 0,
50
- WithdrawInt = 11,// case of int
51
- WithdrawUint = 12,// case of uint
52
- WithdrawImbalance = 13,
53
- Stake = 2,
54
- Unstake = 3,
55
- GetCRV = 4
56
- }
57
- export declare enum ConvexAction {
58
- StakeLP = 0,
59
- UnStakeLP = 1,
60
- ClaimRewardsLP = 2
61
- }
62
- export declare enum BeefyAction {
63
- Deposit = 0,
64
- DepositRegular = 1,
65
- DepositOneInchSingle = 2,
66
- DepositOneInchUniswap = 3,
67
- DepositOneInchSolidly = 4,
68
- Withdraw = 5,
69
- WithdrawRegular = 6,
70
- WithdrawOneInchSingle = 7,
71
- WithdrawOneInchUniswapAndSolidly = 8,
72
- WithdrawBoth = 9,
73
- Stake = 10,
74
- Unstake = 11,
75
- GetRewards = 12
76
- }
77
- export declare enum LidoVariant {
78
- Ethereum = "Ethereum",
79
- Polygon = "Polygon"
80
- }
81
- export declare enum LidoAction {
82
- Stake = 0,
83
- Request = 1,
84
- Claim = 2
85
- }
86
- export declare enum PendleAction {
87
- Deposit = 0,
88
- Withdraw = 1,
89
- SwapFromYt = 2,
90
- SwapToYt = 3,
91
- SwapPt = 4,
92
- Mint = 5,
93
- Redeem = 6,
94
- Checkpoint = 7,
95
- PoolRemove = 8
96
- }
97
- export declare enum PendleLPAction {
98
- AddOrRemoveLiquidity = 0,
99
- Checkpoint = 1,
100
- Invalid = 99
101
- }
102
- export declare enum VolatileAction {
103
- Persist = 0,
104
- Deposit = 1,
105
- Withdraw = 2,
106
- Swap = 3
40
+ LIFI = 4,
41
+ OKX = 5,
42
+ ALL = 6,
43
+ NONE = 7
107
44
  }
108
45
  export declare enum HinkalStakeAction {
109
46
  DepositOrStake = 0,
110
47
  Unstake = 1
111
48
  }
112
- export type VolatileHelperData = {
113
- action: VolatileAction;
114
- isRelayerOff?: boolean;
115
- recipientAddress?: string;
116
- baseExternalActionMetadata?: string;
117
- baseExternalActionId?: ExternalActionId;
118
- };
119
- export type ValidExternalAction = CurveAction | ConvexAction | BeefyAction | LidoAction | PendleAction | VolatileAction | PendleLPAction;
120
49
  export declare enum INTERACTION {
121
50
  WITHDRAW = "WITHDRAW",
122
51
  SWAP = "SWAP",
123
- CURVE_DEPOSIT = "CURVE_DEPOSIT",
124
- CURVE_WITHDRAW = "CURVE_WITHDRAW",
125
- CURVE_WITHDRAW_INBALANCED = "CURVE_WITHDRAW_INBALANCED",
126
52
  STAKING = "STAKING",
127
53
  UNSTAKING = "UNSTAKING",
128
54
  CLAIMING = "CLAIMING",
129
- BEEFY = "BEEFY",
130
- BEEFY_STAKE = "BEEFY_STAKE",
131
- BEEFY_UNSTAKE = "BEEFY_UNSTAKE",
132
- BEEFY_GET_REWARDS = "BEEFY_GET_REWARDS",
133
- LIDO_STAKE = "LIDO_STAKE",
134
- LIDO_REQUEST = "LIDO_REQUEST",
135
- LIDO_CLAIM = "LIDO_CLAIM",
136
- PENDLE_TRANSACT = "PENDLE_TRANSACT",
137
- PENDLE_YT_IN_SWAP = "PENDLE_YT_IN_SWAP",
138
- PENDLE_YT_OUT_SWAP = "PENDLE_YT_OUT_SWAP",
139
- PENDLE_PT_SWAP = "PENDLE_PT_SWAP",
140
- PENDLE_MINT = "PENDLE_MINT",
141
- PENDLE_REDEEM = "PENDLE_REDEEM",
142
- PENDLE_CLAIM = "PENDLE_CLAIM",
143
- PENDLE_LP = "PENDLE_LP",
144
- PENDLE_LP_CLAIM = "PENDLE_LP_CLAIM",
145
- VOLATILE_WITHDRAW = "VOLATILE_WITHDRAW",
146
- VOLATILE_SWAP = "VOLATILE_SWAP",
147
55
  EMPORIUM = "EMPORIUM",
148
56
  NONE = "NONE"
149
57
  }
@@ -186,3 +94,23 @@ export type FeeStructure<T = bigint> = {
186
94
  variableRate: T;
187
95
  };
188
96
  export declare const defaultFeeStructure: FeeStructure<bigint>;
97
+ export type AuthorizationData = {
98
+ v: string;
99
+ r: string;
100
+ s: string;
101
+ nonce: string;
102
+ address: string;
103
+ chainId: string;
104
+ };
105
+ export type ParsedInLogicMetadata = {
106
+ signature: string;
107
+ deadline: number;
108
+ erc20TokenAddresses: string[];
109
+ externalCallData: string;
110
+ };
111
+ export declare enum UserProgress {
112
+ NOT_STARTED = 0,
113
+ CONNECTED = 1,
114
+ KYC = 2,
115
+ COMPLETED = 3
116
+ }
@@ -1,41 +1,34 @@
1
- import { APPROVED_UTXO_CONVERSION_COUNT as S } from "../constants/conversion.constants.mjs";
2
- import { defaultFeeToken as D } from "../constants/fees.constants.mjs";
3
- import { zeroAddress as E } from "../constants/protocol.constants.mjs";
4
- var s = /* @__PURE__ */ ((a) => (a.BalanceChange = "BalanceChange", a.NetworkChange = "NetworkChange", a.KycNeeded = "KycNeeded", a.AccountChanged = "AccountChanged", a.ShowConnect = "ShowConnect", a.ShowNetworkPopup = "ShowNetworkPopup", a.MerkleTreeUpdated = "MerkleTreeUpdated", a.MerkleTreeResetStarted = "MerkleTreeResetStarted", a.MerkleTreeResetFinished = "MerkleTreeResetFinished", a))(s || {}), _ = /* @__PURE__ */ ((a) => (a[a.UNISWAP = 1] = "UNISWAP", a[a.ODOS = 2] = "ODOS", a[a.ONEINCH = 3] = "ONEINCH", a[a.PENDLE = 4] = "PENDLE", a[a.ALL = 5] = "ALL", a[a.NONE = 6] = "NONE", a))(_ || {}), h = /* @__PURE__ */ ((a) => (a[a.CurveAavePool = 0] = "CurveAavePool", a))(h || {}), W = /* @__PURE__ */ ((a) => (a[a.Deposit = 0] = "Deposit", a[a.WithdrawInt = 11] = "WithdrawInt", a[a.WithdrawUint = 12] = "WithdrawUint", a[a.WithdrawImbalance = 13] = "WithdrawImbalance", a[a.Stake = 2] = "Stake", a[a.Unstake = 3] = "Unstake", a[a.GetCRV = 4] = "GetCRV", a))(W || {}), p = /* @__PURE__ */ ((a) => (a[a.StakeLP = 0] = "StakeLP", a[a.UnStakeLP = 1] = "UnStakeLP", a[a.ClaimRewardsLP = 2] = "ClaimRewardsLP", a))(p || {}), e = /* @__PURE__ */ ((a) => (a[a.Deposit = 0] = "Deposit", a[a.DepositRegular = 1] = "DepositRegular", a[a.DepositOneInchSingle = 2] = "DepositOneInchSingle", a[a.DepositOneInchUniswap = 3] = "DepositOneInchUniswap", a[a.DepositOneInchSolidly = 4] = "DepositOneInchSolidly", a[a.Withdraw = 5] = "Withdraw", a[a.WithdrawRegular = 6] = "WithdrawRegular", a[a.WithdrawOneInchSingle = 7] = "WithdrawOneInchSingle", a[a.WithdrawOneInchUniswapAndSolidly = 8] = "WithdrawOneInchUniswapAndSolidly", a[a.WithdrawBoth = 9] = "WithdrawBoth", a[a.Stake = 10] = "Stake", a[a.Unstake = 11] = "Unstake", a[a.GetRewards = 12] = "GetRewards", a))(e || {}), L = /* @__PURE__ */ ((a) => (a.Ethereum = "Ethereum", a.Polygon = "Polygon", a))(L || {}), w = /* @__PURE__ */ ((a) => (a[a.Stake = 0] = "Stake", a[a.Request = 1] = "Request", a[a.Claim = 2] = "Claim", a))(w || {}), U = /* @__PURE__ */ ((a) => (a[a.Deposit = 0] = "Deposit", a[a.Withdraw = 1] = "Withdraw", a[a.SwapFromYt = 2] = "SwapFromYt", a[a.SwapToYt = 3] = "SwapToYt", a[a.SwapPt = 4] = "SwapPt", a[a.Mint = 5] = "Mint", a[a.Redeem = 6] = "Redeem", a[a.Checkpoint = 7] = "Checkpoint", a[a.PoolRemove = 8] = "PoolRemove", a))(U || {}), R = /* @__PURE__ */ ((a) => (a[a.AddOrRemoveLiquidity = 0] = "AddOrRemoveLiquidity", a[a.Checkpoint = 1] = "Checkpoint", a[a.Invalid = 99] = "Invalid", a))(R || {}), P = /* @__PURE__ */ ((a) => (a[a.Persist = 0] = "Persist", a[a.Deposit = 1] = "Deposit", a[a.Withdraw = 2] = "Withdraw", a[a.Swap = 3] = "Swap", a))(P || {}), d = /* @__PURE__ */ ((a) => (a[a.DepositOrStake = 0] = "DepositOrStake", a[a.Unstake = 1] = "Unstake", a))(d || {}), k = /* @__PURE__ */ ((a) => (a.WITHDRAW = "WITHDRAW", a.SWAP = "SWAP", a.CURVE_DEPOSIT = "CURVE_DEPOSIT", a.CURVE_WITHDRAW = "CURVE_WITHDRAW", a.CURVE_WITHDRAW_INBALANCED = "CURVE_WITHDRAW_INBALANCED", a.STAKING = "STAKING", a.UNSTAKING = "UNSTAKING", a.CLAIMING = "CLAIMING", a.BEEFY = "BEEFY", a.BEEFY_STAKE = "BEEFY_STAKE", a.BEEFY_UNSTAKE = "BEEFY_UNSTAKE", a.BEEFY_GET_REWARDS = "BEEFY_GET_REWARDS", a.LIDO_STAKE = "LIDO_STAKE", a.LIDO_REQUEST = "LIDO_REQUEST", a.LIDO_CLAIM = "LIDO_CLAIM", a.PENDLE_TRANSACT = "PENDLE_TRANSACT", a.PENDLE_YT_IN_SWAP = "PENDLE_YT_IN_SWAP", a.PENDLE_YT_OUT_SWAP = "PENDLE_YT_OUT_SWAP", a.PENDLE_PT_SWAP = "PENDLE_PT_SWAP", a.PENDLE_MINT = "PENDLE_MINT", a.PENDLE_REDEEM = "PENDLE_REDEEM", a.PENDLE_CLAIM = "PENDLE_CLAIM", a.PENDLE_LP = "PENDLE_LP", a.PENDLE_LP_CLAIM = "PENDLE_LP_CLAIM", a.VOLATILE_WITHDRAW = "VOLATILE_WITHDRAW", a.VOLATILE_SWAP = "VOLATILE_SWAP", a.EMPORIUM = "EMPORIUM", a.NONE = "NONE", a))(k || {}), m = /* @__PURE__ */ ((a) => (a[a.NONE = 0] = "NONE", a[a.APPROVE = 1] = "APPROVE", a[a.RELEASE_BUFFER = 2] = "RELEASE_BUFFER", a[a.EXECUTE = 3] = "EXECUTE", a))(m || {});
5
- const M = (a, r) => ({
6
- approvalChanges: Array.from({ length: a }).fill(r),
7
- externalApprovalAddresses: Array.from({ length: a }).fill(E),
8
- conversionInHinkalAddress: Array.from({ length: a }).fill(r)
9
- }), F = (a, r) => ({
1
+ import { APPROVED_UTXO_CONVERSION_COUNT as l } from "../constants/conversion.constants.mjs";
2
+ import { defaultFeeToken as O } from "../constants/fees.constants.mjs";
3
+ import { zeroAddress as N } from "../constants/protocol.constants.mjs";
4
+ var A = /* @__PURE__ */ ((e) => (e.BalanceChange = "BalanceChange", e.NetworkChange = "NetworkChange", e.KycNeeded = "KycNeeded", e.AccountChanged = "AccountChanged", e.ShowConnect = "ShowConnect", e.ShowNetworkPopup = "ShowNetworkPopup", e.MerkleTreeUpdated = "MerkleTreeUpdated", e.MerkleTreeResetStarted = "MerkleTreeResetStarted", e.MerkleTreeResetFinished = "MerkleTreeResetFinished", e))(A || {}), E = /* @__PURE__ */ ((e) => (e[e.UNISWAP = 1] = "UNISWAP", e[e.ODOS = 2] = "ODOS", e[e.ONEINCH = 3] = "ONEINCH", e[e.LIFI = 4] = "LIFI", e[e.OKX = 5] = "OKX", e[e.ALL = 6] = "ALL", e[e.NONE = 7] = "NONE", e))(E || {}), r = /* @__PURE__ */ ((e) => (e[e.DepositOrStake = 0] = "DepositOrStake", e[e.Unstake = 1] = "Unstake", e))(r || {}), S = /* @__PURE__ */ ((e) => (e.WITHDRAW = "WITHDRAW", e.SWAP = "SWAP", e.STAKING = "STAKING", e.UNSTAKING = "UNSTAKING", e.CLAIMING = "CLAIMING", e.EMPORIUM = "EMPORIUM", e.NONE = "NONE", e))(S || {}), h = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.APPROVE = 1] = "APPROVE", e[e.RELEASE_BUFFER = 2] = "RELEASE_BUFFER", e[e.EXECUTE = 3] = "EXECUTE", e))(h || {});
5
+ const C = (e, a) => ({
6
+ approvalChanges: Array.from({ length: e }).fill(a),
7
+ externalApprovalAddresses: Array.from({ length: e }).fill(N),
8
+ conversionInHinkalAddress: Array.from({ length: e }).fill(a)
9
+ }), d = (e, a) => ({
10
10
  hinkalLogicAction: 0,
11
- inHinkalAddress: r.getInHinkalAddress(E),
12
- executeApprovalChanges: Array.from({ length: a }).fill(0n),
11
+ inHinkalAddress: a.getInHinkalAddress(N),
12
+ executeApprovalChanges: Array.from({ length: e }).fill(0n),
13
13
  doPreTxApproval: !1,
14
- useApprovalUtxoData: Array.from({ length: a }).map(
15
- () => M(S, 0n)
14
+ useApprovalUtxoData: Array.from({ length: e }).map(
15
+ () => C(l, 0n)
16
16
  ),
17
- interactionAddress: E
18
- }), t = {
19
- feeToken: D,
17
+ interactionAddress: N
18
+ }), M = {
19
+ feeToken: O,
20
20
  flatFee: 0n,
21
21
  variableRate: 0n
22
22
  };
23
+ var f = /* @__PURE__ */ ((e) => (e[e.NOT_STARTED = 0] = "NOT_STARTED", e[e.CONNECTED = 1] = "CONNECTED", e[e.KYC = 2] = "KYC", e[e.COMPLETED = 3] = "COMPLETED", e))(f || {});
23
24
  export {
24
- e as BeefyAction,
25
- p as ConvexAction,
26
- W as CurveAction,
27
- s as EventType,
28
- m as HinkalLogicAction,
29
- d as HinkalStakeAction,
30
- k as INTERACTION,
31
- _ as IntegrationProvider,
32
- w as LidoAction,
33
- L as LidoVariant,
34
- U as PendleAction,
35
- R as PendleLPAction,
36
- h as StakeProvider,
37
- P as VolatileAction,
38
- t as defaultFeeStructure,
39
- F as defaultHinkalLogicArgs,
40
- M as defaultUseApprovalUTXOData
25
+ A as EventType,
26
+ h as HinkalLogicAction,
27
+ r as HinkalStakeAction,
28
+ S as INTERACTION,
29
+ E as IntegrationProvider,
30
+ f as UserProgress,
31
+ M as defaultFeeStructure,
32
+ d as defaultHinkalLogicArgs,
33
+ C as defaultUseApprovalUTXOData
41
34
  };
@@ -0,0 +1,8 @@
1
+ import { AxiosRequestConfig } from 'axios';
2
+ export interface HttpClient {
3
+ get<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>;
4
+ post<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
5
+ put<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
6
+ patch<T = any>(url: string, data?: any, config?: AxiosRequestConfig): Promise<T>;
7
+ delete<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>;
8
+ }
package/types/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export * from './API.types';
2
- export * from './axelar.types';
3
- export * from './beefy.types';
2
+ export * from './approvals.types';
4
3
  export * from './big-intable.types';
5
4
  export * from './circom-data.types';
6
5
  export * from './commitments.types';
@@ -15,16 +14,11 @@ export * from './snark.types';
15
14
  export * from './token.types';
16
15
  export * from './slippage.types';
17
16
  export * from './transactions.types';
18
- export * from './time.types';
19
17
  export * from './rewards.types';
20
- export * from './pendle.types';
21
- export * from './pendle.api.types';
22
- export * from './curve.types';
23
18
  export * from './hinkal.stake.types';
24
19
  export * from './duneAPI.types';
25
20
  export * from './admin.types';
26
21
  export * from './ICacheDevice';
27
- export * from './hinkalTvl.types';
28
22
  export * from './activities.types';
29
23
  export * from './wc.types';
30
24
  export * from './sandbox.types';
@@ -33,4 +27,27 @@ export * from './balances.types';
33
27
  export * from './cache.types';
34
28
  export * from './tenderly.api.types';
35
29
  export * from './TransactionSimulator.types';
36
- export * from './earlyAccessCode.types';
30
+ export * from './coingecko.types';
31
+ export * from './message.types';
32
+ export * from './session.types';
33
+ export * from './token-prices.types';
34
+ export * from './presaleReferral.types';
35
+ export * from './bridging.types';
36
+ export * from './brotherhood-user.types';
37
+ export * from './WeeklyAnalytics.types';
38
+ export * from './referral.types';
39
+ export * from './all-points.types';
40
+ export * from './new-rewards.type';
41
+ export * from './RewardUserEnums';
42
+ export * from './generatePoints';
43
+ export * from './eip5792.types';
44
+ export * from './proxy.types';
45
+ export * from './routing.types';
46
+ export * from './confirmation-request.types';
47
+ export * from './signature.types';
48
+ export * from './offscreen.types';
49
+ export * from './solana.types';
50
+ export * from './okx.types';
51
+ export * from './http.types';
52
+ export * from './connector.types';
53
+ export * from './scheduled-transactions.types';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var E=(e=>(e.USER="USER",e.BUSINESS="BUSINESS",e))(E||{});const a=["USER","BUSINESS"];var N=(e=>(e[e.AiPriseKyc=0]="AiPriseKyc",e[e.AiPriseKyb=1]="AiPriseKyb",e[e.BABPassport=2]="BABPassport",e[e.GalxePassport=3]="GalxePassport",e[e.ZkMePassport=4]="ZkMePassport",e[e.CoinbasePassport=5]="CoinbasePassport",e[e.AuthentoPassport=6]="AuthentoPassport",e[e.AuthentoPassportKyb=7]="AuthentoPassportKyb",e[e.ReclaimCoinbasePassport=8]="ReclaimCoinbasePassport",e[e.ReclaimBNBPassport=9]="ReclaimBNBPassport",e[e.ReclaimOKXPassport=10]="ReclaimOKXPassport",e[e.ReclaimGatePassport=11]="ReclaimGatePassport",e[e.ReclaimKucoinPassport=12]="ReclaimKucoinPassport",e[e.ReclaimMexcPassport=13]="ReclaimMexcPassport",e[e.ReclaimHtxPassport=14]="ReclaimHtxPassport",e))(N||{}),R=(e=>(e.APPROVED="APPROVED",e.DECLINED="DECLINED",e.REVIEW="REVIEW",e.UNKNOWN="UNKNOWN",e))(R||{}),i=(e=>(e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.PENDING="PENDING",e.RUNNING="RUNNING",e.NOT_STARTED="NOT_STARTED",e))(i||{});exports.KycVerificationResult=R;exports.KycVerificationStatus=i;exports.Passports=N;exports.VERIFICATION_TYPE=E;exports.VerificationTypes=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var E=(e=>(e.USER="USER",e.BUSINESS="BUSINESS",e))(E||{});const i=["USER","BUSINESS"];var N=(e=>(e[e.AiPriseKyc=0]="AiPriseKyc",e[e.AiPriseKyb=1]="AiPriseKyb",e[e.BABPassport=2]="BABPassport",e[e.GalxePassport=3]="GalxePassport",e[e.ZkMePassport=4]="ZkMePassport",e[e.CoinbasePassport=5]="CoinbasePassport",e[e.AuthentoPassport=6]="AuthentoPassport",e[e.AuthentoPassportKyb=7]="AuthentoPassportKyb",e[e.ReclaimCoinbasePassport=8]="ReclaimCoinbasePassport",e[e.ReclaimBNBPassport=9]="ReclaimBNBPassport",e[e.ReclaimOKXPassport=10]="ReclaimOKXPassport",e[e.ReclaimGatePassport=11]="ReclaimGatePassport",e[e.ReclaimMexcPassport=12]="ReclaimMexcPassport",e[e.ReclaimHtxPassport=13]="ReclaimHtxPassport",e))(N||{}),R=(e=>(e.APPROVED="APPROVED",e.DECLINED="DECLINED",e.REVIEW="REVIEW",e.UNKNOWN="UNKNOWN",e))(R||{}),a=(e=>(e.COMPLETED="COMPLETED",e.FAILED="FAILED",e.PENDING="PENDING",e.RUNNING="RUNNING",e.NOT_STARTED="NOT_STARTED",e))(a||{});exports.KycVerificationResult=R;exports.KycVerificationStatus=a;exports.Passports=N;exports.VERIFICATION_TYPE=E;exports.VerificationTypes=i;
@@ -16,9 +16,8 @@ export declare enum Passports {
16
16
  ReclaimBNBPassport = 9,
17
17
  ReclaimOKXPassport = 10,
18
18
  ReclaimGatePassport = 11,
19
- ReclaimKucoinPassport = 12,
20
- ReclaimMexcPassport = 13,
21
- ReclaimHtxPassport = 14
19
+ ReclaimMexcPassport = 12,
20
+ ReclaimHtxPassport = 13
22
21
  }
23
22
  export declare enum KycVerificationResult {
24
23
  APPROVED = "APPROVED",// The user is verified. The verification process successfully completed.
@@ -36,4 +35,7 @@ export declare enum KycVerificationStatus {
36
35
  export interface VerificationData {
37
36
  verificationResult: KycVerificationResult;
38
37
  verificationStatus: KycVerificationStatus;
38
+ countryCode: string | null;
39
+ fullName: string | null;
40
+ idNumber: string | null;
39
41
  }
@@ -1,14 +1,14 @@
1
1
  var E = /* @__PURE__ */ ((e) => (e.USER = "USER", e.BUSINESS = "BUSINESS", e))(E || {});
2
- const m = [
2
+ const D = [
3
3
  "USER",
4
4
  "BUSINESS"
5
5
  /* BUSINESS */
6
6
  ];
7
- var N = /* @__PURE__ */ ((e) => (e[e.AiPriseKyc = 0] = "AiPriseKyc", e[e.AiPriseKyb = 1] = "AiPriseKyb", e[e.BABPassport = 2] = "BABPassport", e[e.GalxePassport = 3] = "GalxePassport", e[e.ZkMePassport = 4] = "ZkMePassport", e[e.CoinbasePassport = 5] = "CoinbasePassport", e[e.AuthentoPassport = 6] = "AuthentoPassport", e[e.AuthentoPassportKyb = 7] = "AuthentoPassportKyb", e[e.ReclaimCoinbasePassport = 8] = "ReclaimCoinbasePassport", e[e.ReclaimBNBPassport = 9] = "ReclaimBNBPassport", e[e.ReclaimOKXPassport = 10] = "ReclaimOKXPassport", e[e.ReclaimGatePassport = 11] = "ReclaimGatePassport", e[e.ReclaimKucoinPassport = 12] = "ReclaimKucoinPassport", e[e.ReclaimMexcPassport = 13] = "ReclaimMexcPassport", e[e.ReclaimHtxPassport = 14] = "ReclaimHtxPassport", e))(N || {}), R = /* @__PURE__ */ ((e) => (e.APPROVED = "APPROVED", e.DECLINED = "DECLINED", e.REVIEW = "REVIEW", e.UNKNOWN = "UNKNOWN", e))(R || {}), A = /* @__PURE__ */ ((e) => (e.COMPLETED = "COMPLETED", e.FAILED = "FAILED", e.PENDING = "PENDING", e.RUNNING = "RUNNING", e.NOT_STARTED = "NOT_STARTED", e))(A || {});
7
+ var N = /* @__PURE__ */ ((e) => (e[e.AiPriseKyc = 0] = "AiPriseKyc", e[e.AiPriseKyb = 1] = "AiPriseKyb", e[e.BABPassport = 2] = "BABPassport", e[e.GalxePassport = 3] = "GalxePassport", e[e.ZkMePassport = 4] = "ZkMePassport", e[e.CoinbasePassport = 5] = "CoinbasePassport", e[e.AuthentoPassport = 6] = "AuthentoPassport", e[e.AuthentoPassportKyb = 7] = "AuthentoPassportKyb", e[e.ReclaimCoinbasePassport = 8] = "ReclaimCoinbasePassport", e[e.ReclaimBNBPassport = 9] = "ReclaimBNBPassport", e[e.ReclaimOKXPassport = 10] = "ReclaimOKXPassport", e[e.ReclaimGatePassport = 11] = "ReclaimGatePassport", e[e.ReclaimMexcPassport = 12] = "ReclaimMexcPassport", e[e.ReclaimHtxPassport = 13] = "ReclaimHtxPassport", e))(N || {}), R = /* @__PURE__ */ ((e) => (e.APPROVED = "APPROVED", e.DECLINED = "DECLINED", e.REVIEW = "REVIEW", e.UNKNOWN = "UNKNOWN", e))(R || {}), A = /* @__PURE__ */ ((e) => (e.COMPLETED = "COMPLETED", e.FAILED = "FAILED", e.PENDING = "PENDING", e.RUNNING = "RUNNING", e.NOT_STARTED = "NOT_STARTED", e))(A || {});
8
8
  export {
9
9
  R as KycVerificationResult,
10
10
  A as KycVerificationStatus,
11
11
  N as Passports,
12
12
  E as VERIFICATION_TYPE,
13
- m as VerificationTypes
13
+ D as VerificationTypes
14
14
  };
@@ -0,0 +1,5 @@
1
+ export type DecodedTypedMessageValue = {
2
+ value: any;
3
+ type: string;
4
+ };
5
+ export type DecodedTypedMessage = Record<string, DecodedTypedMessageValue>;