@hinkal/common 0.2.15 → 0.2.16

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 +110 -56
  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
package/API/API.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./referralProgramCalls.cjs"),s=require("./rewardsPointsCalls.cjs"),r=require("./userVerifyTransactions.cjs"),c=require("./relayCalls.cjs"),o=require("./passwordCalls.cjs"),a=require("./getTokenPrice.cjs"),t=require("./kycCalls.cjs"),g=require("./callOdosAPI.cjs"),n=require("./dataServerCalls.cjs"),i=require("./HinkalPointsCalls.cjs"),l=require("./ai-calls.cjs"),d=require("./is-tx-stateless.cjs"),u=require("./token-calls.cjs"),k={getUserKycStatus:t.getUserKycStatus,setAiPriseVerificationUrl:t.setAiPriseVerificationUrl,getAccessTokenSignature:t.getAccessTokenSignature,getReclaimVerificationRequest:t.getReclaimVerificationRequest,getZkMeAccessToken:t.getZkMeAccessToken,userHasAccessToken:t.userHasAccessToken,afterKycCall:t.afterKycCall,getTokenPrice:a.getTokenPrice,getTokenPriceEth:a.getTokenPriceEth,getTokenPrices:a.getTokenPrices,getOdosPriceForToken:g.getOdosPriceForToken,getActiveCode:e.getActiveCode,updateActiveCode:e.updateActiveCode,getWeeklyReferralCodes:e.getWeeklyReferralCodes,getReferralCodes:e.getReferralCodes,addReferralCode:e.addReferralCode,getLpProgram:e.getLpProgram,addNickname:s.addNickname,getNickname:s.getNickname,userGetLatestCertifiedHashes:r.userGetLatestCertifiedHashes,userGetTransactions:r.userGetTransactions,userVerifyTransactions:r.userVerifyTransactions,points:s.points,leaderboard:s.leaderboard,seasonLeaderboard:s.seasonLeaderboard,getIdleRelay:c.getIdleRelay,userHasPassword:o.userHasPassword,userRegisterPassword:o.userRegisterPassword,getRewardsHistory:e.getRewardsHistory,setRewardsReceivingData:e.setRewardsReceivingData,getRewardsReceivingData:e.getRewardsReceivingData,getUserPoints:n.getUserPoints,getLimitedAnonymityStakingPoints:i.getLimitedAnonymityStakingPoints,getUserAnonymityStakingPoints:i.getUserAnonymityStakingPoints,getUserAnonymityStakingReferralPoints:i.getUserAnonymityStakingReferralPoints,getAssetChanges:n.getAssetChanges,getTokenApprovalAmountRequest:l.getTokenApprovalAmountRequest,isTxStateless:d.isTxStateless,tokensInfoCall:u.tokensInfoCall};exports.API=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./relayCalls.cjs"),l=require("./passwordCalls.cjs"),U=require("./getTokenPrice.cjs"),s=require("./kycCalls.cjs"),P=require("./callOdosAPI.cjs"),c=require("./ai-calls.cjs"),k=require("./is-tx-stateless.cjs"),T=require("./simulate-batch-tx.cjs"),A=require("./token-calls.cjs"),p=require("./get-token-data.cjs"),q=require("./enclaveCalls.cjs"),B=require("./getBridgeProtocols.cjs"),y=require("./getLifiStatus.cjs"),i=require("./generate-trading-points.cjs"),e=require("./brotherhoodCalls.cjs"),d=require("./leaderboardCalls.cjs"),o=require("./referralsCalls.cjs"),g=require("./accessCodeCalls.cjs"),t=require("./rewardsUserCalls.cjs"),u=require("./weeklyAnalyticCalls.cjs"),S=require("./send-telegram-callback.cjs"),h=require("./proxyAccountsCalls.cjs"),m=require("./callMonitor.cjs"),a=require("./solana-calls.cjs"),R=require("./callRelayer.cjs"),r=require("./seedless-calls.cjs"),f=require("./scheduled-transactions-calls.cjs"),n=require("./unspent-utxos-calls.cjs"),x={getUserKycStatus:s.getUserKycStatus,setAiPriseVerificationUrl:s.setAiPriseVerificationUrl,getAccessTokenSignature:s.getAccessTokenSignature,getReclaimVerificationRequest:s.getReclaimVerificationRequest,getZkMeAccessToken:s.getZkMeAccessToken,userHasKyc:s.userHasKyc,getTokenPrices:U.getTokenPrices,getOdosPriceForToken:P.getOdosPriceForToken,getIdleRelay:C.getIdleRelay,userHasPassword:l.userHasPassword,userRegisterPassword:l.userRegisterPassword,generateTradingPoints:i.generateTradingPoints,generateAumPoints:i.generateAumPoints,getBrotherhoodUsers:e.getBrotherhoodUsers,getCurrentUserBrotherhoodUsers:e.getCurrentUserBrotherhoodUsers,getBrotherhood:e.getBrotherhood,editBrotherhood:e.editBrotherhood,createBrotherhood:e.createBrotherhood,getCurrentUserBrotherhood:e.getCurrentUserBrotherhood,getPublicBrotherhoods:e.getPublicBrotherhoods,leaveBrotherhood:e.leaveBrotherhood,joinBrotherhood:e.joinBrotherhood,getUserAnalytics:u.getUserAnalytics,getBrotherhoodAnalytics:u.getBrotherhoodAnalytics,connectRewardsUser:t.connectRewardsUser,updateRewardsUser:t.updateRewardsUser,disconnectSocialNetwork:t.disconnectSocialNetwork,getUserCurrentLeaderboard:d.getUserCurrentLeaderboard,getBrotherhoodsLeaderboard:d.getBrotherhoodsLeaderboard,getCurrentUserReferral:o.getCurrentUserReferral,submitReferralCode:o.submitReferralCode,getCurrentUserAppliedReferralCode:o.getCurrentUserAppliedReferralCode,submitAccessCode:g.submitAccessCode,getAccessCodeBenefits:g.getAccessCodeBenefits,getTokenApprovalAmountRequest:c.getTokenApprovalAmountRequest,getTokenSpendsFromOrderMessageRequest:c.getTokenSpendsFromOrderMessageRequest,isTxStateless:k.isTxStateless,simulateBatchTx:T.simulateBatchTx,tokensInfoCall:A.tokensInfoCall,getTokenData:p.getTokenData,decryptUtxoEnclaveCall:q.decryptUtxoEnclaveCall,getBridgeProtocols:B.getBridgeProtocols,getLifiStatus:y.getLifiStatus,sendTelegramCallback:S.sendTelegramCallback,getTasksProgress:t.getTasksProgress,getSwapStreak:t.getSwapStreak,getProxyAccounts:h.getProxyAccounts,updateProxyAccounts:h.updateProxyAccounts,getNftMultiplier:t.getNftMultiplier,monitor:m.monitor,generateProoflessDepositLimitless:a.generateProoflessDepositLimitless,generateMultiPaymentDepositLimitless:a.generateMultiPaymentDepositLimitless,generateAddAccessToken:a.generateAddAccessToken,callRelayerSolanaTransactBatchAPI:R.callRelayerSolanaTransactBatchAPI,seedlessInit:r.seedlessInit,seedlessBackup:r.seedlessBackup,seedlessCheckPassword:r.seedlessCheckPassword,seedlessStatus:r.seedlessStatus,seedlessSalt:r.seedlessSalt,getScheduledTransactions:f.getScheduledTransactions,storeUnspentUtxos:n.storeUnspentUtxos,deleteUnspentUtxos:n.deleteUnspentUtxos,getUnspentUtxos:n.getUnspentUtxos};exports.API=x;
package/API/API.d.ts CHANGED
@@ -1,55 +1,94 @@
1
- import { addReferralCode, getActiveCode, getLpProgram, getReferralCodes, getRewardsHistory, getRewardsReceivingData, getWeeklyReferralCodes, setRewardsReceivingData, updateActiveCode } from './referralProgramCalls';
2
- import { addNickname, getNickname, leaderboard, points, seasonLeaderboard } from './rewardsPointsCalls';
3
- import { userGetLatestCertifiedHashes, userGetTransactions, userVerifyTransactions } from './userVerifyTransactions';
4
1
  import { getIdleRelay } from './relayCalls';
5
2
  import { userHasPassword, userRegisterPassword } from './passwordCalls';
6
- import { getTokenPrice, getTokenPriceEth, getTokenPrices } from './getTokenPrice';
7
- import { afterKycCall, getAccessTokenSignature, getReclaimVerificationRequest, getUserKycStatus, getZkMeAccessToken, setAiPriseVerificationUrl, userHasAccessToken } from './kycCalls';
3
+ import { getTokenPrices } from './getTokenPrice';
4
+ import { getAccessTokenSignature, getReclaimVerificationRequest, getUserKycStatus, getZkMeAccessToken, setAiPriseVerificationUrl, userHasKyc } from './kycCalls';
8
5
  import { getOdosPriceForToken } from './callOdosAPI';
9
- import { getAssetChanges, getUserPoints } from './dataServerCalls';
10
- import { getLimitedAnonymityStakingPoints, getUserAnonymityStakingPoints, getUserAnonymityStakingReferralPoints } from './HinkalPointsCalls';
11
- import { getTokenApprovalAmountRequest } from './ai-calls';
6
+ import { getTokenApprovalAmountRequest, getTokenSpendsFromOrderMessageRequest } from './ai-calls';
12
7
  import { isTxStateless } from './is-tx-stateless';
8
+ import { simulateBatchTx } from './simulate-batch-tx';
13
9
  import { tokensInfoCall } from './token-calls';
10
+ import { getTokenData } from './get-token-data';
11
+ import { decryptUtxoEnclaveCall } from './enclaveCalls';
12
+ import { getBridgeProtocols } from './getBridgeProtocols';
13
+ import { getLifiStatus } from './getLifiStatus';
14
+ import { generateAumPoints, generateTradingPoints } from './generate-trading-points';
15
+ import { createBrotherhood, editBrotherhood, getBrotherhood, getBrotherhoodUsers, getCurrentUserBrotherhood, getCurrentUserBrotherhoodUsers, getPublicBrotherhoods, joinBrotherhood, leaveBrotherhood } from './brotherhoodCalls';
16
+ import { getBrotherhoodsLeaderboard, getUserCurrentLeaderboard } from './leaderboardCalls';
17
+ import { getCurrentUserAppliedReferralCode, getCurrentUserReferral, submitReferralCode } from './referralsCalls';
18
+ import { getAccessCodeBenefits, submitAccessCode } from './accessCodeCalls';
19
+ import { connectRewardsUser, disconnectSocialNetwork, getNftMultiplier, getSwapStreak, getTasksProgress, updateRewardsUser } from './rewardsUserCalls';
20
+ import { getBrotherhoodAnalytics, getUserAnalytics } from './weeklyAnalyticCalls';
21
+ import { sendTelegramCallback } from './send-telegram-callback';
22
+ import { getProxyAccounts, updateProxyAccounts } from './proxyAccountsCalls';
23
+ import { monitor } from './callMonitor';
24
+ import { generateAddAccessToken, generateMultiPaymentDepositLimitless, generateProoflessDepositLimitless } from './solana-calls';
25
+ import { callRelayerSolanaTransactBatchAPI } from './callRelayer';
26
+ import { seedlessBackup, seedlessCheckPassword, seedlessInit, seedlessSalt, seedlessStatus } from './seedless-calls';
27
+ import { getScheduledTransactions } from './scheduled-transactions-calls';
28
+ import { deleteUnspentUtxos, getUnspentUtxos, storeUnspentUtxos } from './unspent-utxos-calls';
14
29
  export type IAPI = {
15
30
  getUserKycStatus: typeof getUserKycStatus;
16
31
  setAiPriseVerificationUrl: typeof setAiPriseVerificationUrl;
17
32
  getAccessTokenSignature: typeof getAccessTokenSignature;
18
33
  getReclaimVerificationRequest: typeof getReclaimVerificationRequest;
19
34
  getZkMeAccessToken: typeof getZkMeAccessToken;
20
- getTokenPrice: typeof getTokenPrice;
21
- getTokenPriceEth: typeof getTokenPriceEth;
22
35
  getTokenPrices: typeof getTokenPrices;
23
36
  getOdosPriceForToken: typeof getOdosPriceForToken;
24
- getActiveCode: typeof getActiveCode;
25
- updateActiveCode: typeof updateActiveCode;
26
- getWeeklyReferralCodes: typeof getWeeklyReferralCodes;
27
- getReferralCodes: typeof getReferralCodes;
28
- addReferralCode: typeof addReferralCode;
29
- getLpProgram: typeof getLpProgram;
30
- addNickname: typeof addNickname;
31
- getNickname: typeof getNickname;
32
- userHasAccessToken: typeof userHasAccessToken;
33
- afterKycCall: typeof afterKycCall;
34
- userGetLatestCertifiedHashes: typeof userGetLatestCertifiedHashes;
35
- userGetTransactions: typeof userGetTransactions;
36
- userVerifyTransactions: typeof userVerifyTransactions;
37
37
  getIdleRelay: typeof getIdleRelay;
38
38
  userHasPassword: typeof userHasPassword;
39
39
  userRegisterPassword: typeof userRegisterPassword;
40
- points: typeof points;
41
- leaderboard: typeof leaderboard;
42
- seasonLeaderboard: typeof seasonLeaderboard;
43
- getRewardsHistory: typeof getRewardsHistory;
44
- setRewardsReceivingData: typeof setRewardsReceivingData;
45
- getRewardsReceivingData: typeof getRewardsReceivingData;
46
- getUserPoints: typeof getUserPoints;
47
- getLimitedAnonymityStakingPoints: typeof getLimitedAnonymityStakingPoints;
48
- getUserAnonymityStakingPoints: typeof getUserAnonymityStakingPoints;
49
- getUserAnonymityStakingReferralPoints: typeof getUserAnonymityStakingReferralPoints;
50
- getAssetChanges: typeof getAssetChanges;
51
40
  getTokenApprovalAmountRequest: typeof getTokenApprovalAmountRequest;
41
+ getTokenSpendsFromOrderMessageRequest: typeof getTokenSpendsFromOrderMessageRequest;
52
42
  isTxStateless: typeof isTxStateless;
43
+ simulateBatchTx: typeof simulateBatchTx;
53
44
  tokensInfoCall: typeof tokensInfoCall;
45
+ getTokenData: typeof getTokenData;
46
+ decryptUtxoEnclaveCall: typeof decryptUtxoEnclaveCall;
47
+ getBridgeProtocols: typeof getBridgeProtocols;
48
+ getLifiStatus: typeof getLifiStatus;
49
+ userHasKyc: typeof userHasKyc;
50
+ generateTradingPoints: typeof generateTradingPoints;
51
+ getBrotherhoodUsers: typeof getBrotherhoodUsers;
52
+ getCurrentUserBrotherhoodUsers: typeof getCurrentUserBrotherhoodUsers;
53
+ editBrotherhood: typeof editBrotherhood;
54
+ createBrotherhood: typeof createBrotherhood;
55
+ getCurrentUserBrotherhood: typeof getCurrentUserBrotherhood;
56
+ getPublicBrotherhoods: typeof getPublicBrotherhoods;
57
+ leaveBrotherhood: typeof leaveBrotherhood;
58
+ joinBrotherhood: typeof joinBrotherhood;
59
+ getUserAnalytics: typeof getUserAnalytics;
60
+ connectRewardsUser: typeof connectRewardsUser;
61
+ getBrotherhood: typeof getBrotherhood;
62
+ updateRewardsUser: typeof updateRewardsUser;
63
+ getUserCurrentLeaderboard: typeof getUserCurrentLeaderboard;
64
+ getBrotherhoodsLeaderboard: typeof getBrotherhoodsLeaderboard;
65
+ getCurrentUserReferral: typeof getCurrentUserReferral;
66
+ submitReferralCode: typeof submitReferralCode;
67
+ getCurrentUserAppliedReferralCode: typeof getCurrentUserAppliedReferralCode;
68
+ submitAccessCode: typeof submitAccessCode;
69
+ getAccessCodeBenefits: typeof getAccessCodeBenefits;
70
+ sendTelegramCallback: typeof sendTelegramCallback;
71
+ generateAumPoints: typeof generateAumPoints;
72
+ getSwapStreak: typeof getSwapStreak;
73
+ getBrotherhoodAnalytics: typeof getBrotherhoodAnalytics;
74
+ getTasksProgress: typeof getTasksProgress;
75
+ disconnectSocialNetwork: typeof disconnectSocialNetwork;
76
+ getProxyAccounts: typeof getProxyAccounts;
77
+ updateProxyAccounts: typeof updateProxyAccounts;
78
+ getNftMultiplier: typeof getNftMultiplier;
79
+ monitor: typeof monitor;
80
+ generateProoflessDepositLimitless: typeof generateProoflessDepositLimitless;
81
+ generateMultiPaymentDepositLimitless: typeof generateMultiPaymentDepositLimitless;
82
+ generateAddAccessToken: typeof generateAddAccessToken;
83
+ callRelayerSolanaTransactBatchAPI: typeof callRelayerSolanaTransactBatchAPI;
84
+ seedlessInit: typeof seedlessInit;
85
+ seedlessBackup: typeof seedlessBackup;
86
+ seedlessCheckPassword: typeof seedlessCheckPassword;
87
+ seedlessStatus: typeof seedlessStatus;
88
+ seedlessSalt: typeof seedlessSalt;
89
+ getScheduledTransactions: typeof getScheduledTransactions;
90
+ storeUnspentUtxos: typeof storeUnspentUtxos;
91
+ deleteUnspentUtxos: typeof deleteUnspentUtxos;
92
+ getUnspentUtxos: typeof getUnspentUtxos;
54
93
  };
55
94
  export declare const API: IAPI;
package/API/API.mjs CHANGED
@@ -1,70 +1,123 @@
1
- import { getActiveCode as e, updateActiveCode as t, getWeeklyReferralCodes as r, getReferralCodes as o, addReferralCode as s, getLpProgram as i, getRewardsHistory as a, setRewardsReceivingData as n, getRewardsReceivingData as m } from "./referralProgramCalls.mjs";
2
- import { addNickname as g, getNickname as c, points as d, leaderboard as f, seasonLeaderboard as p } from "./rewardsPointsCalls.mjs";
3
- import { userGetLatestCertifiedHashes as k, userGetTransactions as l, userVerifyTransactions as R } from "./userVerifyTransactions.mjs";
4
- import { getIdleRelay as A } from "./relayCalls.mjs";
5
- import { userHasPassword as P, userRegisterPassword as u } from "./passwordCalls.mjs";
6
- import { getTokenPrice as y, getTokenPriceEth as T, getTokenPrices as C } from "./getTokenPrice.mjs";
7
- import { getUserKycStatus as S, setAiPriseVerificationUrl as v, getAccessTokenSignature as w, getReclaimVerificationRequest as U, getZkMeAccessToken as H, userHasAccessToken as L, afterKycCall as h } from "./kycCalls.mjs";
8
- import { getOdosPriceForToken as I } from "./callOdosAPI.mjs";
9
- import { getUserPoints as V, getAssetChanges as b } from "./dataServerCalls.mjs";
10
- import { getLimitedAnonymityStakingPoints as q, getUserAnonymityStakingPoints as x, getUserAnonymityStakingReferralPoints as D } from "./HinkalPointsCalls.mjs";
11
- import { getTokenApprovalAmountRequest as G } from "./ai-calls.mjs";
12
- import { isTxStateless as K } from "./is-tx-stateless.mjs";
13
- import { tokensInfoCall as N } from "./token-calls.mjs";
14
- const _ = {
1
+ import { getIdleRelay as e } from "./relayCalls.mjs";
2
+ import { userHasPassword as r, userRegisterPassword as o } from "./passwordCalls.mjs";
3
+ import { getTokenPrices as t } from "./getTokenPrice.mjs";
4
+ import { getUserKycStatus as s, setAiPriseVerificationUrl as i, getAccessTokenSignature as m, getReclaimVerificationRequest as a, getZkMeAccessToken as n, userHasKyc as d } from "./kycCalls.mjs";
5
+ import { getOdosPriceForToken as p } from "./callOdosAPI.mjs";
6
+ import { getTokenApprovalAmountRequest as c, getTokenSpendsFromOrderMessageRequest as l } from "./ai-calls.mjs";
7
+ import { isTxStateless as g } from "./is-tx-stateless.mjs";
8
+ import { simulateBatchTx as f } from "./simulate-batch-tx.mjs";
9
+ import { tokensInfoCall as u } from "./token-calls.mjs";
10
+ import { getTokenData as h } from "./get-token-data.mjs";
11
+ import { decryptUtxoEnclaveCall as U } from "./enclaveCalls.mjs";
12
+ import { getBridgeProtocols as A } from "./getBridgeProtocols.mjs";
13
+ import { getLifiStatus as P } from "./getLifiStatus.mjs";
14
+ import { generateTradingPoints as k, generateAumPoints as B } from "./generate-trading-points.mjs";
15
+ import { getBrotherhoodUsers as T, getCurrentUserBrotherhoodUsers as C, getBrotherhood as R, editBrotherhood as S, createBrotherhood as y, getCurrentUserBrotherhood as x, getPublicBrotherhoods as w, leaveBrotherhood as b, joinBrotherhood as I } from "./brotherhoodCalls.mjs";
16
+ import { getUserCurrentLeaderboard as L, getBrotherhoodsLeaderboard as M } from "./leaderboardCalls.mjs";
17
+ import { getCurrentUserReferral as q, submitReferralCode as v, getCurrentUserAppliedReferralCode as D } from "./referralsCalls.mjs";
18
+ import { submitAccessCode as F, getAccessCodeBenefits as H } from "./accessCodeCalls.mjs";
19
+ import { connectRewardsUser as K, updateRewardsUser as N, disconnectSocialNetwork as O, getTasksProgress as V, getSwapStreak as j, getNftMultiplier as E } from "./rewardsUserCalls.mjs";
20
+ import { getUserAnalytics as Z, getBrotherhoodAnalytics as z } from "./weeklyAnalyticCalls.mjs";
21
+ import { sendTelegramCallback as G } from "./send-telegram-callback.mjs";
22
+ import { getProxyAccounts as J, updateProxyAccounts as Q } from "./proxyAccountsCalls.mjs";
23
+ import { monitor as W } from "./callMonitor.mjs";
24
+ import { generateProoflessDepositLimitless as X, generateMultiPaymentDepositLimitless as Y, generateAddAccessToken as _ } from "./solana-calls.mjs";
25
+ import { callRelayerSolanaTransactBatchAPI as $ } from "./callRelayer.mjs";
26
+ import { seedlessInit as ee, seedlessBackup as re, seedlessCheckPassword as oe, seedlessStatus as te, seedlessSalt as se } from "./seedless-calls.mjs";
27
+ import { getScheduledTransactions as ie } from "./scheduled-transactions-calls.mjs";
28
+ import { storeUnspentUtxos as me, deleteUnspentUtxos as ae, getUnspentUtxos as ne } from "./unspent-utxos-calls.mjs";
29
+ const He = {
15
30
  // KYC
16
- getUserKycStatus: S,
17
- setAiPriseVerificationUrl: v,
18
- getAccessTokenSignature: w,
19
- getReclaimVerificationRequest: U,
20
- getZkMeAccessToken: H,
21
- userHasAccessToken: L,
22
- afterKycCall: h,
31
+ getUserKycStatus: s,
32
+ setAiPriseVerificationUrl: i,
33
+ getAccessTokenSignature: m,
34
+ getReclaimVerificationRequest: a,
35
+ getZkMeAccessToken: n,
36
+ userHasKyc: d,
23
37
  // Prices
24
- getTokenPrice: y,
25
- getTokenPriceEth: T,
26
- getTokenPrices: C,
27
- getOdosPriceForToken: I,
28
- // Referral Codes
29
- getActiveCode: e,
30
- updateActiveCode: t,
31
- getWeeklyReferralCodes: r,
32
- getReferralCodes: o,
33
- addReferralCode: s,
34
- getLpProgram: i,
35
- // Rewards Points
36
- addNickname: g,
37
- getNickname: c,
38
- // Transaction Verifications
39
- userGetLatestCertifiedHashes: k,
40
- userGetTransactions: l,
41
- userVerifyTransactions: R,
42
- points: d,
43
- leaderboard: f,
44
- seasonLeaderboard: p,
38
+ getTokenPrices: t,
39
+ getOdosPriceForToken: p,
45
40
  // relay
46
- getIdleRelay: A,
41
+ getIdleRelay: e,
47
42
  // password
48
- userHasPassword: P,
49
- userRegisterPassword: u,
50
- getRewardsHistory: a,
51
- setRewardsReceivingData: n,
52
- getRewardsReceivingData: m,
43
+ userHasPassword: r,
44
+ userRegisterPassword: o,
53
45
  // points
54
- getUserPoints: V,
55
- // AnonymityStakingPoints
56
- getLimitedAnonymityStakingPoints: q,
57
- getUserAnonymityStakingPoints: x,
58
- getUserAnonymityStakingReferralPoints: D,
59
- // asset changes
60
- getAssetChanges: b,
46
+ generateTradingPoints: k,
47
+ generateAumPoints: B,
48
+ // brotherhood
49
+ getBrotherhoodUsers: T,
50
+ getCurrentUserBrotherhoodUsers: C,
51
+ getBrotherhood: R,
52
+ editBrotherhood: S,
53
+ createBrotherhood: y,
54
+ getCurrentUserBrotherhood: x,
55
+ getPublicBrotherhoods: w,
56
+ leaveBrotherhood: b,
57
+ joinBrotherhood: I,
58
+ // weekly analytics
59
+ getUserAnalytics: Z,
60
+ getBrotherhoodAnalytics: z,
61
+ // rewards user
62
+ connectRewardsUser: K,
63
+ updateRewardsUser: N,
64
+ disconnectSocialNetwork: O,
65
+ // leaderboard
66
+ getUserCurrentLeaderboard: L,
67
+ getBrotherhoodsLeaderboard: M,
68
+ // referral
69
+ getCurrentUserReferral: q,
70
+ submitReferralCode: v,
71
+ getCurrentUserAppliedReferralCode: D,
72
+ // access code
73
+ submitAccessCode: F,
74
+ getAccessCodeBenefits: H,
61
75
  // AI
62
- getTokenApprovalAmountRequest: G,
76
+ getTokenApprovalAmountRequest: c,
77
+ getTokenSpendsFromOrderMessageRequest: l,
63
78
  // tenderly
64
- isTxStateless: K,
79
+ isTxStateless: g,
80
+ simulateBatchTx: f,
65
81
  // token calls
66
- tokensInfoCall: N
82
+ tokensInfoCall: u,
83
+ getTokenData: h,
84
+ // enclave
85
+ decryptUtxoEnclaveCall: U,
86
+ // bridge protocols
87
+ getBridgeProtocols: A,
88
+ // lifi
89
+ getLifiStatus: P,
90
+ // callbacks
91
+ sendTelegramCallback: G,
92
+ // tasks
93
+ getTasksProgress: V,
94
+ // swap streak
95
+ getSwapStreak: j,
96
+ // proxy accounts
97
+ getProxyAccounts: J,
98
+ updateProxyAccounts: Q,
99
+ // nft multiplier
100
+ getNftMultiplier: E,
101
+ // hexagate
102
+ monitor: W,
103
+ // solana
104
+ generateProoflessDepositLimitless: X,
105
+ generateMultiPaymentDepositLimitless: Y,
106
+ generateAddAccessToken: _,
107
+ callRelayerSolanaTransactBatchAPI: $,
108
+ // seedless
109
+ seedlessInit: ee,
110
+ seedlessBackup: re,
111
+ seedlessCheckPassword: oe,
112
+ seedlessStatus: te,
113
+ seedlessSalt: se,
114
+ // scheduled transactions
115
+ getScheduledTransactions: ie,
116
+ // unspent utxos
117
+ storeUnspentUtxos: me,
118
+ deleteUnspentUtxos: ae,
119
+ getUnspentUtxos: ne
67
120
  };
68
121
  export {
69
- _ as API
122
+ He as API
70
123
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./getServerURL.cjs"),s=require("../constants/server.constants.cjs"),r=require("../data-structures/http/HttpClient.cjs");require("axios");const o=require("../functions/utils/get-signature-header.cjs"),u=async({accessCode:e,ethereumAddress:c,signature:n,proxyAddress:i})=>r.httpClient.post(`${t.DATA_SERVER_URL}${s.DATA_SERVER_CONFIG.submitAccessCode}`,{accessCode:e,ethereumAddress:c,proxyAddress:i},o.getSignatureHeader(n)),A=async e=>r.httpClient.get(`${t.DATA_SERVER_URL}${s.DATA_SERVER_CONFIG.getAccessCodeBenefits}/${e}`);exports.getAccessCodeBenefits=A;exports.submitAccessCode=u;
@@ -0,0 +1,23 @@
1
+ interface SubmitAccessCodeProps {
2
+ accessCode: string;
3
+ ethereumAddress: string;
4
+ signature: string;
5
+ proxyAddress: string;
6
+ }
7
+ export interface SubmitAccessCodeRes {
8
+ message: string;
9
+ success: boolean;
10
+ benefits?: {
11
+ instantPoints: number;
12
+ multiplier: number;
13
+ multiplierDurationDays: number;
14
+ };
15
+ }
16
+ export declare const submitAccessCode: ({ accessCode, ethereumAddress, signature, proxyAddress, }: SubmitAccessCodeProps) => Promise<SubmitAccessCodeRes>;
17
+ export interface GetAccessCodeBenefitsRes {
18
+ instantPoints: number;
19
+ multiplier: number;
20
+ multiplierDurationDays: number;
21
+ }
22
+ export declare const getAccessCodeBenefits: (accessCode: string) => Promise<GetAccessCodeBenefitsRes>;
23
+ export {};
@@ -0,0 +1,23 @@
1
+ import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
2
+ import { DATA_SERVER_CONFIG as o } from "../constants/server.constants.mjs";
3
+ import { httpClient as s } from "../data-structures/http/HttpClient.mjs";
4
+ import "axios";
5
+ import { getSignatureHeader as m } from "../functions/utils/get-signature-header.mjs";
6
+ const d = async ({
7
+ accessCode: e,
8
+ ethereumAddress: r,
9
+ signature: c,
10
+ proxyAddress: i
11
+ }) => s.post(
12
+ `${t}${o.submitAccessCode}`,
13
+ {
14
+ accessCode: e,
15
+ ethereumAddress: r,
16
+ proxyAddress: i
17
+ },
18
+ m(c)
19
+ ), g = async (e) => s.get(`${t}${o.getAccessCodeBenefits}/${e}`);
20
+ export {
21
+ g as getAccessCodeBenefits,
22
+ d as submitAccessCode
23
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../constants/server.constants.cjs"),i=require("./getRelayerURL.cjs"),a=require("../data-structures/http/HttpClient.cjs");require("axios");const n=(e,t)=>a.httpClient.post(`${i.getRelayerURL(e)}${r.RELAYER_CONFIG.emitTxPublicData}`,{adminData:t});exports.emitTxPublicData=n;
@@ -0,0 +1,2 @@
1
+ import { AdminDataType } from '../types/admin.types';
2
+ export declare const emitTxPublicData: (chainId: number, adminData: AdminDataType | undefined) => Promise<any>;
@@ -0,0 +1,8 @@
1
+ import { RELAYER_CONFIG as o } from "../constants/server.constants.mjs";
2
+ import { getRelayerURL as i } from "./getRelayerURL.mjs";
3
+ import { httpClient as m } from "../data-structures/http/HttpClient.mjs";
4
+ import "axios";
5
+ const R = (t, r) => m.post(`${i(t)}${o.emitTxPublicData}`, { adminData: r });
6
+ export {
7
+ R as emitTxPublicData
8
+ };
package/API/ai-calls.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("axios"),n=require("../constants/server.constants.cjs"),s=require("./getServerURL.cjs"),a=async(e,t,r)=>(await o.post(`${s.getServerURL(r)}${n.API_CONFIG.ROUTES.getTokenApprovalAmount}`,{html:e,tokenInfo:t})).data;exports.getTokenApprovalAmountRequest=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../constants/server.constants.cjs"),o=require("./getServerURL.cjs"),s=require("../data-structures/http/HttpClient.cjs");require("axios");const u=async(e,t,r)=>s.httpClient.post(`${o.getServerURL(r)}${n.API_CONFIG.ROUTES.getTokenApprovalAmount}`,{html:e,tokenInfo:t}),p=async(e,t,r)=>s.httpClient.post(`${o.getServerURL(e)}${n.API_CONFIG.ROUTES.getTokenSpendsFromOrderMessage}`,{message:t,types:r});exports.getTokenApprovalAmountRequest=u;exports.getTokenSpendsFromOrderMessageRequest=p;
package/API/ai-calls.d.ts CHANGED
@@ -1,9 +1,17 @@
1
1
  type TokenInfo = {
2
2
  address?: string;
3
3
  symbol?: string;
4
+ name?: string;
4
5
  };
5
6
  interface GetTokenApprovalAmountsResponse {
6
7
  tokenAmount: string;
7
8
  }
8
9
  export declare const getTokenApprovalAmountRequest: (html: string, tokenInfo: TokenInfo, chainId: number) => Promise<GetTokenApprovalAmountsResponse>;
10
+ interface GetTokenSpendsFromOrderMessageResponse {
11
+ tokenSpends: {
12
+ token: string;
13
+ amount: string;
14
+ }[];
15
+ }
16
+ export declare const getTokenSpendsFromOrderMessageRequest: (chainId: number, message: Record<string, unknown>, types: Record<string, unknown>) => Promise<GetTokenSpendsFromOrderMessageResponse>;
9
17
  export {};
package/API/ai-calls.mjs CHANGED
@@ -1,13 +1,21 @@
1
- import e from "axios";
2
- import { API_CONFIG as p } from "../constants/server.constants.mjs";
3
- import { getServerURL as a } from "./getServerURL.mjs";
4
- const s = async (o, t, r) => (await e.post(
5
- `${a(r)}${p.ROUTES.getTokenApprovalAmount}`,
1
+ import { API_CONFIG as r } from "../constants/server.constants.mjs";
2
+ import { getServerURL as n } from "./getServerURL.mjs";
3
+ import { httpClient as p } from "../data-structures/http/HttpClient.mjs";
4
+ import "axios";
5
+ const u = async (e, t, o) => p.post(
6
+ `${n(o)}${r.ROUTES.getTokenApprovalAmount}`,
6
7
  {
7
- html: o,
8
+ html: e,
8
9
  tokenInfo: t
9
10
  }
10
- )).data;
11
+ ), T = async (e, t, o) => p.post(
12
+ `${n(e)}${r.ROUTES.getTokenSpendsFromOrderMessage}`,
13
+ {
14
+ message: t,
15
+ types: o
16
+ }
17
+ );
11
18
  export {
12
- s as getTokenApprovalAmountRequest
19
+ u as getTokenApprovalAmountRequest,
20
+ T as getTokenSpendsFromOrderMessageRequest
13
21
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./getServerURL.cjs"),o=require("../constants/server.constants.cjs"),a=require("../data-structures/http/HttpClient.cjs");require("axios");const n=require("../functions/utils/get-signature-header.cjs"),c=async({brotherhoodId:t})=>await a.httpClient.get(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.getBrotherhood(t)}`),i=async t=>await a.httpClient.get(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.getBrotherhoodUsers(t)}`),_=async t=>await a.httpClient.get(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.getCurrentUserBrotherhoodUsers(t)}`),A=async t=>await a.httpClient.patch(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.editBrotherhood}`,t,n.getSignatureHeader(t.signature)),E=async t=>await a.httpClient.post(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.createBrotherhood}`,t,n.getSignatureHeader(t.signature)),g=async({ethereumAddress:t})=>await a.httpClient.post(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.getCurrentUserBrotherhood}`,{ethereumAddress:t}),u=async()=>await a.httpClient.get(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.getPublicBrotherhoods}`),B=async({brotherhoodId:t,transferEthereumAddress:e,ethereumAddress:h,signature:s,proxyAddress:d})=>await a.httpClient.patch(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.leaveBrotherhood(t)}`,{transferEthereumAddress:e,ethereumAddress:h,proxyAddress:d},n.getSignatureHeader(s)),S=async({brotherhoodId:t,ethereumAddress:e,signature:h,invitationToken:s,proxyAddress:d})=>await a.httpClient.patch(`${r.DATA_SERVER_URL}${o.DATA_SERVER_CONFIG.joinBrotherhood(t)}`,{ethereumAddress:e,invitationToken:s,proxyAddress:d},n.getSignatureHeader(h));exports.createBrotherhood=E;exports.editBrotherhood=A;exports.getBrotherhood=c;exports.getBrotherhoodUsers=i;exports.getCurrentUserBrotherhood=g;exports.getCurrentUserBrotherhoodUsers=_;exports.getPublicBrotherhoods=u;exports.joinBrotherhood=S;exports.leaveBrotherhood=B;
@@ -0,0 +1,82 @@
1
+ import { Brotherhood, BrotherhoodUser, BrotherhoodUserWeeklyAnalyticLeaderboardEntry, PublicBrotherhoodWithStats } from '../types';
2
+ interface GetBrotherhoodProps {
3
+ brotherhoodId: number;
4
+ }
5
+ interface GetBrotherhoodRes {
6
+ brotherhood: Brotherhood | undefined;
7
+ }
8
+ export declare const getBrotherhood: ({ brotherhoodId }: GetBrotherhoodProps) => Promise<GetBrotherhoodRes>;
9
+ interface GetBrotherhoodUsersRes {
10
+ message: number;
11
+ brotherhoodUsers: BrotherhoodUser[];
12
+ brotherhoodUserWeeklyAnalytics: BrotherhoodUserWeeklyAnalyticLeaderboardEntry[];
13
+ }
14
+ export declare const getBrotherhoodUsers: (brotherhoodId: number) => Promise<GetBrotherhoodUsersRes>;
15
+ export declare const getCurrentUserBrotherhoodUsers: (ethereumAddress: string) => Promise<GetBrotherhoodUsersRes>;
16
+ interface EditBrotherhoodProps {
17
+ ethereumAddress: string;
18
+ name: string;
19
+ isPublic: boolean;
20
+ description: string;
21
+ signature?: string;
22
+ proxyAddress?: string;
23
+ profileImage: string | undefined;
24
+ inviteButtonName: string | undefined;
25
+ inviteButtonLink: string | undefined;
26
+ }
27
+ interface EditBrotherhoodRes {
28
+ message: string;
29
+ brotherhood: Brotherhood;
30
+ }
31
+ export declare const editBrotherhood: (inputData: EditBrotherhoodProps) => Promise<EditBrotherhoodRes>;
32
+ interface CreateBrotherhoodProps {
33
+ ethereumAddress: string;
34
+ profileImage: string | undefined;
35
+ name: string;
36
+ isPublic: boolean;
37
+ description: string;
38
+ signature?: string;
39
+ proxyAddress?: string;
40
+ }
41
+ interface CreateBrotherhoodRes {
42
+ message: string;
43
+ brotherhood: Brotherhood;
44
+ }
45
+ export declare const createBrotherhood: (inputData: CreateBrotherhoodProps) => Promise<CreateBrotherhoodRes>;
46
+ interface GetCurrentUserBrotherhoodProps {
47
+ ethereumAddress: string;
48
+ }
49
+ interface GetCurrentUserBrotherhoodRes {
50
+ message: string;
51
+ brotherhood: Brotherhood | undefined;
52
+ }
53
+ export declare const getCurrentUserBrotherhood: ({ ethereumAddress, }: GetCurrentUserBrotherhoodProps) => Promise<GetCurrentUserBrotherhoodRes>;
54
+ interface GetPublicBrotherhoodsRes {
55
+ message: string;
56
+ brotherhoods: PublicBrotherhoodWithStats[];
57
+ }
58
+ export declare const getPublicBrotherhoods: () => Promise<GetPublicBrotherhoodsRes>;
59
+ interface LeaveBrotherhoodProps {
60
+ brotherhoodId: number;
61
+ transferEthereumAddress: string | undefined;
62
+ ethereumAddress: string;
63
+ signature: string;
64
+ proxyAddress: string;
65
+ }
66
+ interface LeaveBrotherhoodRes {
67
+ message: string;
68
+ }
69
+ export declare const leaveBrotherhood: ({ brotherhoodId, transferEthereumAddress, ethereumAddress, signature, proxyAddress, }: LeaveBrotherhoodProps) => Promise<LeaveBrotherhoodRes>;
70
+ interface JoinBrotherhoodProps {
71
+ ethereumAddress: string;
72
+ brotherhoodId: number;
73
+ signature: string;
74
+ invitationToken?: string;
75
+ proxyAddress: string;
76
+ }
77
+ interface JoinBrotherhoodRes {
78
+ message: string;
79
+ brotherhood: Brotherhood;
80
+ }
81
+ export declare const joinBrotherhood: ({ brotherhoodId, ethereumAddress, signature, invitationToken, proxyAddress, }: JoinBrotherhoodProps) => Promise<JoinBrotherhoodRes>;
82
+ export {};
@@ -0,0 +1,59 @@
1
+ import { DATA_SERVER_URL as r } from "./getServerURL.mjs";
2
+ import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
3
+ import { httpClient as a } from "../data-structures/http/HttpClient.mjs";
4
+ import "axios";
5
+ import { getSignatureHeader as s } from "../functions/utils/get-signature-header.mjs";
6
+ const p = async ({ brotherhoodId: t }) => await a.get(`${r}${e.getBrotherhood(t)}`), m = async (t) => await a.get(`${r}${e.getBrotherhoodUsers(t)}`), w = async (t) => await a.get(
7
+ `${r}${e.getCurrentUserBrotherhoodUsers(t)}`
8
+ ), y = async (t) => await a.patch(
9
+ `${r}${e.editBrotherhood}`,
10
+ t,
11
+ s(t.signature)
12
+ ), U = async (t) => await a.post(
13
+ `${r}${e.createBrotherhood}`,
14
+ t,
15
+ s(t.signature)
16
+ ), C = async ({
17
+ ethereumAddress: t
18
+ }) => await a.post(`${r}${e.getCurrentUserBrotherhood}`, {
19
+ ethereumAddress: t
20
+ }), l = async () => await a.get(`${r}${e.getPublicBrotherhoods}`), R = async ({
21
+ brotherhoodId: t,
22
+ transferEthereumAddress: o,
23
+ ethereumAddress: n,
24
+ signature: h,
25
+ proxyAddress: d
26
+ }) => await a.patch(
27
+ `${r}${e.leaveBrotherhood(t)}`,
28
+ {
29
+ transferEthereumAddress: o,
30
+ ethereumAddress: n,
31
+ proxyAddress: d
32
+ },
33
+ s(h)
34
+ ), f = async ({
35
+ brotherhoodId: t,
36
+ ethereumAddress: o,
37
+ signature: n,
38
+ invitationToken: h,
39
+ proxyAddress: d
40
+ }) => await a.patch(
41
+ `${r}${e.joinBrotherhood(t)}`,
42
+ {
43
+ ethereumAddress: o,
44
+ invitationToken: h,
45
+ proxyAddress: d
46
+ },
47
+ s(n)
48
+ );
49
+ export {
50
+ U as createBrotherhood,
51
+ y as editBrotherhood,
52
+ p as getBrotherhood,
53
+ m as getBrotherhoodUsers,
54
+ C as getCurrentUserBrotherhood,
55
+ w as getCurrentUserBrotherhoodUsers,
56
+ l as getPublicBrotherhoods,
57
+ f as joinBrotherhood,
58
+ R as leaveBrotherhood
59
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./getServerURL.cjs"),i=require("../constants/server.constants.cjs"),n=require("../data-structures/http/HttpClient.cjs");require("axios");const c=async(e,t)=>n.httpClient.post(`${r.getServerURL(e)}${i.API_CONFIG.ROUTES.callLifiAPI}`,t);exports.callLifiAPI=c;
@@ -0,0 +1,33 @@
1
+ export interface LifiRequestData {
2
+ fromChain: number;
3
+ toChain: number;
4
+ fromToken: string;
5
+ toToken: string;
6
+ fromAddress: string;
7
+ toAddress?: string;
8
+ fromAmount: string;
9
+ order: 'FASTEST' | 'CHEAPEST';
10
+ slippage: number;
11
+ }
12
+ export interface LifiBridgeResponse {
13
+ id: string;
14
+ type: 'swap' | 'cross' | 'lifi';
15
+ tool: string;
16
+ transactionRequest: {
17
+ from: string;
18
+ to: string;
19
+ chainId: string;
20
+ value: string;
21
+ data: string;
22
+ };
23
+ estimate: {
24
+ tool: string;
25
+ fromAmount: string;
26
+ toAmount: string;
27
+ toAmountMin: string;
28
+ };
29
+ }
30
+ export declare const callLifiAPI: (chainId: number, requestBody: LifiRequestData) => Promise<{
31
+ status: 'success';
32
+ lifiResponse: LifiBridgeResponse;
33
+ }>;