@hinkal/common 0.2.29 → 0.2.30

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 (423) hide show
  1. package/API/API.mjs +1 -1
  2. package/API/accessCodeCalls.mjs +1 -1
  3. package/API/admin-calls.mjs +1 -1
  4. package/API/brotherhoodCalls.mjs +1 -1
  5. package/API/callLifiAPI.mjs +1 -1
  6. package/API/callMonitor.mjs +1 -1
  7. package/API/callOdosAPI.mjs +1 -1
  8. package/API/callOkxAPI.mjs +1 -1
  9. package/API/callOneInchAPI.mjs +1 -1
  10. package/API/callRelayer.mjs +1 -1
  11. package/API/checkRisk.mjs +1 -1
  12. package/API/deposit-and-withdraw-status-calls.mjs +1 -1
  13. package/API/enclaveSignatureCalls.mjs +1 -1
  14. package/API/enclaveUtxoCalls.mjs +1 -1
  15. package/API/fetchCommitmentsCache.mjs +1 -1
  16. package/API/generate-trading-points.mjs +1 -1
  17. package/API/get-token-data.mjs +1 -1
  18. package/API/get-token-price-chart-data.mjs +1 -1
  19. package/API/getCoingeckoPrice.mjs +1 -1
  20. package/API/getGasEstimates.mjs +1 -1
  21. package/API/getServerURL.mjs +1 -1
  22. package/API/getTokenPrice.mjs +1 -1
  23. package/API/getWebsiteURL.mjs +1 -1
  24. package/API/kycCalls.mjs +1 -1
  25. package/API/leaderboardCalls.mjs +1 -1
  26. package/API/onrampCalls.mjs +1 -1
  27. package/API/privacy-score-calls.mjs +1 -1
  28. package/API/privateSendEmailNotificationsCalls.mjs +1 -1
  29. package/API/privateSendNonceCalls.mjs +1 -1
  30. package/API/privateSendRecipientInfoCalls.mjs +1 -1
  31. package/API/proxyAccountsCalls.mjs +1 -1
  32. package/API/referralsCalls.mjs +1 -1
  33. package/API/relayCalls.mjs +1 -1
  34. package/API/resolve-sns.mjs +1 -1
  35. package/API/rewardsUserCalls.mjs +1 -1
  36. package/API/scheduled-transactions-calls.mjs +1 -1
  37. package/API/seedless-calls.mjs +1 -1
  38. package/API/send-telegram-callback.mjs +1 -1
  39. package/API/simulate-batch-tx.mjs +1 -1
  40. package/API/simulate-transaction.mjs +1 -1
  41. package/API/snapshot-event-calls.mjs +1 -1
  42. package/API/solana-calls.mjs +1 -1
  43. package/API/temporaryWalletCalls.mjs +1 -1
  44. package/API/tenderly.api.mjs +1 -1
  45. package/API/token-calls.mjs +1 -1
  46. package/API/tronSubsidyCalls.mjs +1 -1
  47. package/API/weeklyAnalyticCalls.mjs +1 -1
  48. package/constants/activity.constants.mjs +1 -1
  49. package/constants/addresses.constants.mjs +1 -1
  50. package/constants/assets.constants.mjs +1 -1
  51. package/constants/backend.constants.mjs +1 -1
  52. package/constants/balance.constants.mjs +1 -1
  53. package/constants/bridging.constants.mjs +1 -1
  54. package/constants/chains.constants.mjs +1 -1
  55. package/constants/coingecko.constants.mjs +1 -1
  56. package/constants/contracts.constants.mjs +1 -1
  57. package/constants/conversion.constants.mjs +1 -1
  58. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  59. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +0 -2068
  60. package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -1
  61. package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +0 -2246
  62. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  63. package/constants/deploy-data/deploy-data-base.json.mjs +0 -2068
  64. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  65. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +0 -2265
  66. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  67. package/constants/deploy-data/deploy-data-localhost.json.mjs +1 -2266
  68. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  69. package/constants/deploy-data/deploy-data-optimism.json.mjs +0 -2068
  70. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  71. package/constants/deploy-data/deploy-data-polygon.json.mjs +0 -2068
  72. package/constants/events.constants.mjs +1 -1
  73. package/constants/fees.constants.mjs +1 -1
  74. package/constants/function-signatures.constants.mjs +1 -1
  75. package/constants/images.constants.mjs +1 -1
  76. package/constants/kyc.constants.mjs +1 -1
  77. package/constants/lifi.constants.mjs +1 -1
  78. package/constants/link.constant.mjs +1 -1
  79. package/constants/mediaUrls.constants.mjs +1 -1
  80. package/constants/non-circular-tokens.constants.mjs +1 -1
  81. package/constants/oauthUrls.constants.mjs +1 -1
  82. package/constants/okx.constants.mjs +1 -1
  83. package/constants/pay.constants.mjs +1 -1
  84. package/constants/permit2.constants.mjs +1 -1
  85. package/constants/presale.constants.mjs +1 -1
  86. package/constants/protocol.constants.mjs +1 -1
  87. package/constants/reorg-depths.constants.mjs +1 -1
  88. package/constants/rewards.constants.mjs +1 -1
  89. package/constants/save-depths.mjs +1 -1
  90. package/constants/schedule.constants.mjs +1 -1
  91. package/constants/server.constants.mjs +1 -1
  92. package/constants/tasks.constants.mjs +1 -1
  93. package/constants/token-data/ERC20Registry.mjs +1 -1
  94. package/constants/token-data/index.mjs +1 -1
  95. package/constants/token.limits.constants.mjs +1 -1
  96. package/constants/tokens.constants.mjs +1 -1
  97. package/constants/tx-confirmation.constants.mjs +1 -1
  98. package/constants/vite.constants.mjs +1 -1
  99. package/constants/wallet.constants.mjs +1 -1
  100. package/crypto/preProcessing.mjs +1 -1
  101. package/data-structures/AccountActions/AccountActions.mjs +1 -1
  102. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +1 -1
  103. package/data-structures/BlockchainEvent/BlockchainEvent.mjs +1 -1
  104. package/data-structures/Hinkal/Hinkal.mjs +1 -1
  105. package/data-structures/Hinkal/handleAutoDepositBack.mjs +1 -1
  106. package/data-structures/Hinkal/hinkalActionReceive.mjs +1 -1
  107. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.mjs +1 -1
  108. package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +1 -1
  109. package/data-structures/Hinkal/hinkalClaimUtxo.mjs +1 -1
  110. package/data-structures/Hinkal/hinkalDeposit.mjs +1 -1
  111. package/data-structures/Hinkal/hinkalDepositAndBridge.mjs +1 -1
  112. package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +1 -1
  113. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +1 -1
  114. package/data-structures/Hinkal/hinkalGetRecipientInfo.mjs +1 -1
  115. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +1 -1
  116. package/data-structures/Hinkal/hinkalMultiSend.mjs +1 -1
  117. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +1 -1
  118. package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +1 -1
  119. package/data-structures/Hinkal/hinkalProxySwap.mjs +1 -1
  120. package/data-structures/Hinkal/hinkalProxyToPrivate.mjs +1 -1
  121. package/data-structures/Hinkal/hinkalSignSubAccount.mjs +1 -1
  122. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +1 -1
  123. package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +1 -1
  124. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +1 -1
  125. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs +1 -1
  126. package/data-structures/Hinkal/hinkalSolanaProxySend.mjs +1 -1
  127. package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +1 -1
  128. package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +1 -1
  129. package/data-structures/Hinkal/hinkalSolanaSwap.mjs +1 -1
  130. package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +1 -1
  131. package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +1 -1
  132. package/data-structures/Hinkal/hinkalSwap.mjs +1 -1
  133. package/data-structures/Hinkal/hinkalTransfer.mjs +1 -1
  134. package/data-structures/Hinkal/hinkalWithdraw.mjs +1 -1
  135. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
  136. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +2 -1
  137. package/data-structures/Hinkal/resetMerkleTrees.mjs +1 -1
  138. package/data-structures/IndexedDB/activity-db.mjs +1 -1
  139. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +1 -1
  140. package/data-structures/TokenDBs/ArcPublicTokensDB.mjs +1 -1
  141. package/data-structures/TokenDBs/PrivateTokensDB.mjs +1 -1
  142. package/data-structures/TokenDBs/PublicTokensDB.mjs +1 -1
  143. package/data-structures/ValueCache/ValueCache.mjs +1 -1
  144. package/data-structures/cacheDevices/AttachableMemoryCacheDevice.mjs +1 -1
  145. package/data-structures/cacheDevices/BaseCacheDevice.mjs +1 -1
  146. package/data-structures/cacheDevices/FileCacheDevice.mjs +1 -1
  147. package/data-structures/cacheDevices/LocalStorageCacheDevice.mjs +1 -1
  148. package/data-structures/crypto-keys/decodeUTXO.mjs +1 -1
  149. package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +1 -1
  150. package/data-structures/crypto-keys/keyUtils.mjs +1 -1
  151. package/data-structures/crypto-keys/keys.mjs +1 -1
  152. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.mjs +1 -1
  153. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.mjs +1 -1
  154. package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.mjs +1 -1
  155. package/data-structures/event-service/evm/AbstractEventService.mjs +1 -1
  156. package/data-structures/event-service/evm/AbstractNullifierSnapshotService.mjs +1 -1
  157. package/data-structures/event-service/evm/AbstractSnapshotService.mjs +1 -1
  158. package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +1 -1
  159. package/data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs +1 -1
  160. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs +1 -1
  161. package/data-structures/event-service/helpers/ClientEventHelper.mjs +1 -1
  162. package/data-structures/event-service/helpers/PollingEventHelper.mjs +1 -1
  163. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +1 -1
  164. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +1 -1
  165. package/data-structures/event-service/solana/AbstractSolanaEventService.mjs +1 -1
  166. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs +1 -1
  167. package/data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs +1 -1
  168. package/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.mjs +1 -1
  169. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs +1 -1
  170. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +1 -1
  171. package/data-structures/http/BasicHttpClient.mjs +1 -1
  172. package/data-structures/http/HttpClient.mjs +1 -1
  173. package/data-structures/merkle-tree/MerkleTree.mjs +1 -1
  174. package/data-structures/merkle-tree/MerkleTreeIncompleteError.mjs +1 -1
  175. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +1 -1
  176. package/data-structures/presale/PresaleContractWrapper.mjs +1 -1
  177. package/data-structures/snapshot/SnapshotFetcherService.mjs +1 -1
  178. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs +1 -1
  179. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +1 -1
  180. package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs +1 -1
  181. package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs +1 -1
  182. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +1 -1
  183. package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs +1 -1
  184. package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs +1 -1
  185. package/data-structures/token-price-fetcher/TokenChecker.mjs +1 -1
  186. package/data-structures/transactions-manager/history/history.types.mjs +1 -1
  187. package/data-structures/utxo/Utxo.mjs +1 -1
  188. package/error-handling/customErrors/ErrorWithAmount.mjs +1 -1
  189. package/error-handling/customErrors/ErrorWithIndex.mjs +1 -1
  190. package/error-handling/customErrors/ErrorWithTx.mjs +1 -1
  191. package/error-handling/customErrors/FeeOverTransactionValueError.mjs +1 -1
  192. package/error-handling/customErrors/SimulationFailureError.mjs +1 -1
  193. package/error-handling/customErrors/customErrors.helpers.mjs +1 -1
  194. package/error-handling/error-codes.constants.mjs +1 -1
  195. package/error-handling/get-error.message.mjs +1 -1
  196. package/error-handling/isInsufficientFundsError.mjs +1 -1
  197. package/error-handling/logError.mjs +1 -1
  198. package/error-handling/logger.mjs +1 -1
  199. package/error-handling/types.mjs +1 -1
  200. package/externalABIs/BUSD.mjs +1 -1
  201. package/externalABIs/DAI.mjs +1 -1
  202. package/externalABIs/NodeInterfaceABI.json.mjs +1 -1
  203. package/externalABIs/OptimismGasPriceOracle.json.mjs +1 -1
  204. package/externalABIs/SanctionsList.mjs +1 -1
  205. package/externalABIs/USDC.mjs +1 -1
  206. package/externalABIs/USDR.mjs +1 -1
  207. package/externalABIs/USDR3CRV.mjs +1 -1
  208. package/externalABIs/USDT.mjs +1 -1
  209. package/externalABIs/WETH.mjs +1 -1
  210. package/externalABIs/amToken.mjs +1 -1
  211. package/externalABIs/index.mjs +1 -1
  212. package/externalABIs/swapAbi.mjs +1 -1
  213. package/functions/auto-deposit-back-helpers/get-gas-token-records.mjs +1 -1
  214. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.mjs +1 -1
  215. package/functions/auto-deposit-back-helpers/select-gas-token.mjs +1 -1
  216. package/functions/auto-deposit-back-helpers/update-hinkal.mjs +1 -1
  217. package/functions/kyc/checkTokenLimitsUSD.mjs +1 -1
  218. package/functions/kyc/openDefaultPassportWindow.mjs +1 -1
  219. package/functions/kyc/passportHelper.mjs +1 -1
  220. package/functions/kyc/zkMeHelper.mjs +1 -1
  221. package/functions/pre-transaction/addressTableLookup.mjs +1 -1
  222. package/functions/pre-transaction/constructAdminData.mjs +1 -1
  223. package/functions/pre-transaction/convert-okx-instructions.mjs +1 -1
  224. package/functions/pre-transaction/ensureAmountChanges.mjs +1 -1
  225. package/functions/pre-transaction/getExternalSwapAddress.mjs +1 -1
  226. package/functions/pre-transaction/getFeeStructure.mjs +1 -1
  227. package/functions/pre-transaction/getFlatFees.mjs +1 -1
  228. package/functions/pre-transaction/getKycAndSignatureData.mjs +1 -1
  229. package/functions/pre-transaction/getSignatureDataForTransact.mjs +1 -1
  230. package/functions/pre-transaction/getSolanaCalldataHash.mjs +1 -1
  231. package/functions/pre-transaction/getVolatileTransferAmount.mjs +1 -1
  232. package/functions/pre-transaction/initTokenLimitIfNeeded.mjs +1 -1
  233. package/functions/pre-transaction/interaction-to-action.mjs +1 -1
  234. package/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +1 -1
  235. package/functions/pre-transaction/merge-with-fee-structure.mjs +1 -1
  236. package/functions/pre-transaction/outputApprovalDataProcessing.mjs +1 -1
  237. package/functions/pre-transaction/outputUtxoProcessing.mjs +1 -1
  238. package/functions/pre-transaction/process-gas-estimates.mjs +1 -1
  239. package/functions/pre-transaction/recipientUtxoProcessing.mjs +1 -1
  240. package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +1 -1
  241. package/functions/pre-transaction/sendV0Transaction.mjs +1 -1
  242. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.mjs +1 -1
  243. package/functions/pre-transaction/solana-public-signals.mjs +1 -1
  244. package/functions/pre-transaction/solana.mjs +1 -1
  245. package/functions/pre-transaction/solanaTransfer.utils.mjs +1 -1
  246. package/functions/pre-transaction/store-instructions.mjs +1 -1
  247. package/functions/pre-transaction/store-proof.mjs +1 -1
  248. package/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs +1 -1
  249. package/functions/private-wallet/emporium.helpers.d.ts +1 -1
  250. package/functions/private-wallet/emporium.helpers.mjs +1 -1
  251. package/functions/private-wallet/emporium.swap.helpers.mjs +1 -1
  252. package/functions/private-wallet/opProducer.mjs +1 -1
  253. package/functions/snarkjs/common.snarkjs.mjs +1 -1
  254. package/functions/snarkjs/constant.mjs +1 -1
  255. package/functions/snarkjs/constructEmporiumProof.mjs +1 -1
  256. package/functions/snarkjs/constructGeneralZkProof.mjs +1 -1
  257. package/functions/snarkjs/constructSolanaZkProof.mjs +1 -1
  258. package/functions/snarkjs/fetchMerkleTreeSiblings.mjs +1 -1
  259. package/functions/snarkjs/fetchOnChainRootHashes.mjs +1 -1
  260. package/functions/snarkjs/generateCircomData.mjs +1 -1
  261. package/functions/snarkjs/generateZkProof.mjs +1 -1
  262. package/functions/snarkjs/generateZkProofEnclave.mjs +1 -1
  263. package/functions/snarkjs/generateZkProofSelf.mjs +1 -1
  264. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +1 -1
  265. package/functions/snarkjs/getOriginalSender.mjs +1 -1
  266. package/functions/snarkjs/getZKFiles.mjs +1 -1
  267. package/functions/utils/addresses.mjs +1 -1
  268. package/functions/utils/amounts.utils.mjs +1 -1
  269. package/functions/utils/arraysMatch.mjs +1 -1
  270. package/functions/utils/buildClaimableDepositPlan.mjs +1 -1
  271. package/functions/utils/bytes32.utils.mjs +1 -1
  272. package/functions/utils/cacheDevice.utils.mjs +1 -1
  273. package/functions/utils/cacheFunctions.mjs +1 -1
  274. package/functions/utils/caseInsensitive.utils.mjs +1 -1
  275. package/functions/utils/convertEmporiumOpToCallInfo.mjs +1 -1
  276. package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +1 -1
  277. package/functions/utils/create-provider.cjs +1 -1
  278. package/functions/utils/create-provider.d.ts +1 -1
  279. package/functions/utils/create-provider.mjs +5 -7
  280. package/functions/utils/enclave-signature-storage.mjs +1 -1
  281. package/functions/utils/enclave-utxo-storage.mjs +1 -1
  282. package/functions/utils/encodeTokenWithId.mjs +1 -1
  283. package/functions/utils/encryptInputForEnclave.mjs +1 -1
  284. package/functions/utils/erc20tokenFunctions.mjs +1 -1
  285. package/functions/utils/evmNetworkFunctions.mjs +1 -1
  286. package/functions/utils/external-action.utils.mjs +1 -1
  287. package/functions/utils/fees.utils.mjs +1 -1
  288. package/functions/utils/get-signature-header.mjs +1 -1
  289. package/functions/utils/getBlockExplorerUrl.mjs +1 -1
  290. package/functions/utils/getContractAddress.mjs +1 -1
  291. package/functions/utils/getDataFromTransaction.mjs +1 -1
  292. package/functions/utils/getRecipientInfoFromUserKeys.mjs +1 -1
  293. package/functions/utils/getSignerFromContract.mjs +1 -1
  294. package/functions/utils/getUtxosFromReceipt.utils.mjs +1 -1
  295. package/functions/utils/getUtxosFromReceiptSolana.mjs +1 -1
  296. package/functions/utils/getWalletGroupKey.utils.mjs +1 -1
  297. package/functions/utils/inLogicMetadata.mjs +1 -1
  298. package/functions/utils/involves-permit2-op.mjs +1 -1
  299. package/functions/utils/ipfs.mjs +1 -1
  300. package/functions/utils/is-valid-url.mjs +1 -1
  301. package/functions/utils/merkleTree.utils.mjs +1 -1
  302. package/functions/utils/mutexes.utils.mjs +1 -1
  303. package/functions/utils/networks.utils.mjs +1 -1
  304. package/functions/utils/nftTokenFunctions.mjs +1 -1
  305. package/functions/utils/nickname.utils.mjs +1 -1
  306. package/functions/utils/postToOffscreen.mjs +1 -1
  307. package/functions/utils/prepareHinkal.mjs +1 -1
  308. package/functions/utils/process.utils.mjs +1 -1
  309. package/functions/utils/processUseApprovalUtxoData.mjs +1 -1
  310. package/functions/utils/proxyAvatar.utils.mjs +1 -1
  311. package/functions/utils/publicBalance.utils.mjs +1 -1
  312. package/functions/utils/reloadPage.mjs +1 -1
  313. package/functions/utils/requireEnv.mjs +1 -1
  314. package/functions/utils/resolve-sync.utils.mjs +1 -1
  315. package/functions/utils/rpc-int-encode.mjs +1 -1
  316. package/functions/utils/serialize-utxos.utils.mjs +1 -1
  317. package/functions/utils/serialize.utils.mjs +1 -1
  318. package/functions/utils/solanaMint.utils.mjs +1 -1
  319. package/functions/utils/string.utils.mjs +1 -1
  320. package/functions/utils/time.utils.mjs +1 -1
  321. package/functions/utils/token-check.utils.mjs +1 -1
  322. package/functions/utils/trimFieldValues.mjs +1 -1
  323. package/functions/utils/tron.utils.mjs +1 -1
  324. package/functions/utils/tronSimulation.utils.mjs +1 -1
  325. package/functions/utils/tx-confirmation.utils.d.ts +1 -1
  326. package/functions/utils/tx-confirmation.utils.mjs +1 -1
  327. package/functions/utils/upToDateState.mjs +1 -1
  328. package/functions/utils/userAgent.mjs +1 -1
  329. package/functions/utils/validateUsername.mjs +1 -1
  330. package/functions/utils/walletBalances.utils.mjs +1 -1
  331. package/functions/web3/EIP-712.mjs +1 -1
  332. package/functions/web3/connectors.utils.mjs +1 -1
  333. package/functions/web3/crypto.mjs +1 -1
  334. package/functions/web3/etherFunctions.mjs +1 -1
  335. package/functions/web3/events/balanceChangedCustomHandler.mjs +1 -1
  336. package/functions/web3/events/balanceChangedHandler.mjs +1 -1
  337. package/functions/web3/events/getApprovedBalance.mjs +1 -1
  338. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  339. package/functions/web3/events/getInputUtxoAndBalance.d.ts +1 -1
  340. package/functions/web3/events/getInputUtxoAndBalance.mjs +16 -14
  341. package/functions/web3/events/getInputUtxosEnclave.mjs +1 -1
  342. package/functions/web3/events/getShieldedBalance.cjs +1 -1
  343. package/functions/web3/events/getShieldedBalance.mjs +2 -2
  344. package/functions/web3/events/getTransactionLogEvents.d.ts +5 -8
  345. package/functions/web3/events/getTransactionLogEvents.mjs +1 -1
  346. package/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +1 -1
  347. package/functions/web3/functionCalls/accessTokenCalls.mjs +1 -1
  348. package/functions/web3/functionCalls/approveToken.mjs +1 -1
  349. package/functions/web3/functionCalls/approveTokensToHinkal.mjs +1 -1
  350. package/functions/web3/functionCalls/constructBatchCall.mjs +1 -1
  351. package/functions/web3/functionCalls/recoverTransactionFromError.mjs +1 -1
  352. package/functions/web3/functionCalls/transactCallDirect.mjs +1 -1
  353. package/functions/web3/functionCalls/transactCallDirectTron.mjs +1 -1
  354. package/functions/web3/functionCalls/transactCallRelayer.mjs +1 -1
  355. package/functions/web3/functionCalls/waitForErc20Approvals.mjs +1 -1
  356. package/functions/web3/getContractMetadata.mjs +1 -1
  357. package/functions/web3/getPublicAddressBalance.mjs +1 -1
  358. package/functions/web3/getSolanaPriorityFee.mjs +1 -1
  359. package/functions/web3/getTokenHolder.mjs +1 -1
  360. package/functions/web3/lifiAPI.mjs +1 -1
  361. package/functions/web3/odosAPI.mjs +1 -1
  362. package/functions/web3/okxAPI.mjs +1 -1
  363. package/functions/web3/oneInchAPI.mjs +1 -1
  364. package/functions/web3/runContractFunction.mjs +1 -1
  365. package/functions/web3/signAndSendSerializedTransaction.mjs +1 -1
  366. package/functions/web3/tron-wagmi-adapter.mjs +1 -1
  367. package/functions/web3/uniswapAPI.mjs +1 -1
  368. package/mutexes/mutex.mjs +1 -1
  369. package/package.json +1 -1
  370. package/providers/CustomSolanaConnection.mjs +1 -1
  371. package/providers/EthersProviderAdapter.mjs +1 -1
  372. package/providers/SolanaProviderAdapter.mjs +1 -1
  373. package/providers/TronProviderAdapter.mjs +1 -1
  374. package/providers/WagmiProviderAdapter.mjs +1 -1
  375. package/providers/prepareEthersHinkal.mjs +1 -1
  376. package/providers/prepareSolanaHinkal.mjs +1 -1
  377. package/providers/prepareTronHinkal.mjs +1 -1
  378. package/providers/prepareWagmiHinkal.mjs +1 -1
  379. package/types/RewardUserEnums.mjs +1 -1
  380. package/types/activities.types.mjs +1 -1
  381. package/types/admin.types.mjs +1 -1
  382. package/types/approvals.types.mjs +1 -1
  383. package/types/balances.types.mjs +1 -1
  384. package/types/cache.types.mjs +1 -1
  385. package/types/circom-data.types.mjs +1 -1
  386. package/types/confirmation-request.types.mjs +1 -1
  387. package/types/eip5792.types.mjs +1 -1
  388. package/types/ethereum-network.types.mjs +1 -1
  389. package/types/events.types.mjs +1 -1
  390. package/types/external-action.types.mjs +1 -1
  391. package/types/fee.types.mjs +1 -1
  392. package/types/generatePoints.mjs +1 -1
  393. package/types/hinkal.types.mjs +1 -1
  394. package/types/kyc.types.mjs +1 -1
  395. package/types/new-rewards.type.mjs +1 -1
  396. package/types/offscreen.types.mjs +1 -1
  397. package/types/onramp.types.mjs +1 -1
  398. package/types/pay-activities.types.mjs +1 -1
  399. package/types/rewards.types.mjs +1 -1
  400. package/types/schedule.types.mjs +1 -1
  401. package/types/scheduled-transactions.types.mjs +1 -1
  402. package/types/slippage.types.mjs +1 -1
  403. package/types/token-prices.types.mjs +1 -1
  404. package/types/token.types.mjs +1 -1
  405. package/types/transaction.types.mjs +1 -1
  406. package/webworker/performTaskWithWorker.mjs +1 -1
  407. package/webworker/snarkjsWorker/snarkjsWorker.types.mjs +1 -1
  408. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
  409. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +2 -2
  410. package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +1 -1
  411. package/webworker/utxoWorker/utxoWorker.types.mjs +1 -1
  412. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
  413. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +2 -2
  414. package/webworker/utxoWorker/utxoWorkerLogic.mjs +1 -1
  415. package/webworker/worker.registry.mjs +1 -1
  416. package/webworker/workerFactory.mjs +1 -1
  417. package/webworker/workerProxy.mjs +1 -1
  418. package/webworker/zkProofWorker/zkProofWorker.types.mjs +1 -1
  419. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
  420. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +2 -2
  421. package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +1 -1
  422. package/providers/CustomEthersProvider.cjs +0 -1
  423. package/providers/CustomEthersProvider.mjs +0 -28
@@ -3079,2074 +3079,6 @@ var e = {
3079
3079
  uniswapExternalActionAddress: "0x043258814389403E396D58BFD5c2585e4d856097",
3080
3080
  odosExternalActionInstanceAddress: "0x737E33EBe0b6FF66841B890ccF7BB7Ae3dc4CEA1",
3081
3081
  oneInchExternalActionInstanceAddress: "0x824234f96e82d56d73aCD59273E964b7AE22f849",
3082
- HinkalStakeExternalActionABI: [
3083
- {
3084
- inputs: [{
3085
- internalType: "address[]",
3086
- name: "allowedRecipients",
3087
- type: "address[]"
3088
- }, {
3089
- components: [
3090
- {
3091
- internalType: "uint128",
3092
- name: "levels",
3093
- type: "uint128"
3094
- },
3095
- {
3096
- internalType: "address",
3097
- name: "poseidon2",
3098
- type: "address"
3099
- },
3100
- {
3101
- internalType: "address",
3102
- name: "poseidon4",
3103
- type: "address"
3104
- },
3105
- {
3106
- internalType: "address",
3107
- name: "poseidon5",
3108
- type: "address"
3109
- }
3110
- ],
3111
- internalType: "struct IMerkle.MerkleConstructorArgs",
3112
- name: "merkleConstructorArgs",
3113
- type: "tuple"
3114
- }],
3115
- stateMutability: "nonpayable",
3116
- type: "constructor"
3117
- },
3118
- {
3119
- inputs: [],
3120
- name: "BaseTokenNotRegistered",
3121
- type: "error"
3122
- },
3123
- {
3124
- inputs: [],
3125
- name: "EtherMismatch",
3126
- type: "error"
3127
- },
3128
- {
3129
- inputs: [],
3130
- name: "InvalidAmount",
3131
- type: "error"
3132
- },
3133
- {
3134
- inputs: [],
3135
- name: "InvalidHToken",
3136
- type: "error"
3137
- },
3138
- {
3139
- inputs: [],
3140
- name: "InvalidInputCount",
3141
- type: "error"
3142
- },
3143
- {
3144
- inputs: [],
3145
- name: "InvalidLength",
3146
- type: "error"
3147
- },
3148
- {
3149
- inputs: [],
3150
- name: "InvalidMerkleRoot",
3151
- type: "error"
3152
- },
3153
- {
3154
- inputs: [],
3155
- name: "InvalidProof",
3156
- type: "error"
3157
- },
3158
- {
3159
- inputs: [{
3160
- internalType: "uint8",
3161
- name: "which",
3162
- type: "uint8"
3163
- }],
3164
- name: "LengthMismatch",
3165
- type: "error"
3166
- },
3167
- {
3168
- inputs: [],
3169
- name: "MustBeDepositOrStake",
3170
- type: "error"
3171
- },
3172
- {
3173
- inputs: [],
3174
- name: "MustBeUnstake",
3175
- type: "error"
3176
- },
3177
- {
3178
- inputs: [],
3179
- name: "NullifierAlreadyUsed",
3180
- type: "error"
3181
- },
3182
- {
3183
- inputs: [],
3184
- name: "RelayForbidden",
3185
- type: "error"
3186
- },
3187
- {
3188
- inputs: [],
3189
- name: "SenderDepositorMismatch",
3190
- type: "error"
3191
- },
3192
- {
3193
- inputs: [],
3194
- name: "TimestampTooNew",
3195
- type: "error"
3196
- },
3197
- {
3198
- anonymous: !1,
3199
- inputs: [
3200
- {
3201
- indexed: !1,
3202
- internalType: "address",
3203
- name: "",
3204
- type: "address"
3205
- },
3206
- {
3207
- indexed: !1,
3208
- internalType: "uint256",
3209
- name: "",
3210
- type: "uint256"
3211
- },
3212
- {
3213
- indexed: !1,
3214
- internalType: "bool",
3215
- name: "",
3216
- type: "bool"
3217
- }
3218
- ],
3219
- name: "AmountValidityUpdate",
3220
- type: "event"
3221
- },
3222
- {
3223
- anonymous: !1,
3224
- inputs: [{
3225
- indexed: !1,
3226
- internalType: "address",
3227
- name: "",
3228
- type: "address"
3229
- }, {
3230
- indexed: !1,
3231
- internalType: "bool",
3232
- name: "",
3233
- type: "bool"
3234
- }],
3235
- name: "IsRestrictionDisabledUpdate",
3236
- type: "event"
3237
- },
3238
- {
3239
- anonymous: !1,
3240
- inputs: [{
3241
- indexed: !1,
3242
- internalType: "uint256",
3243
- name: "",
3244
- type: "uint256"
3245
- }],
3246
- name: "MinAllowedTimestampOffsetUpdate",
3247
- type: "event"
3248
- },
3249
- {
3250
- anonymous: !1,
3251
- inputs: [
3252
- {
3253
- indexed: !0,
3254
- internalType: "uint256",
3255
- name: "index",
3256
- type: "uint256"
3257
- },
3258
- {
3259
- indexed: !1,
3260
- internalType: "uint256",
3261
- name: "stakeCommitment",
3262
- type: "uint256"
3263
- },
3264
- {
3265
- indexed: !0,
3266
- internalType: "address",
3267
- name: "staker",
3268
- type: "address"
3269
- },
3270
- {
3271
- indexed: !1,
3272
- internalType: "address",
3273
- name: "baseToken",
3274
- type: "address"
3275
- },
3276
- {
3277
- indexed: !1,
3278
- internalType: "uint256",
3279
- name: "stakedAmount",
3280
- type: "uint256"
3281
- },
3282
- {
3283
- indexed: !1,
3284
- internalType: "bytes",
3285
- name: "encryptedStakeCommitmentContent",
3286
- type: "bytes"
3287
- },
3288
- {
3289
- indexed: !1,
3290
- internalType: "bytes",
3291
- name: "encryptedStakeCommitmentContentAlt",
3292
- type: "bytes"
3293
- },
3294
- {
3295
- indexed: !1,
3296
- internalType: "uint256",
3297
- name: "timeStamp",
3298
- type: "uint256"
3299
- }
3300
- ],
3301
- name: "NewStakeCommitment",
3302
- type: "event"
3303
- },
3304
- {
3305
- anonymous: !1,
3306
- inputs: [{
3307
- indexed: !0,
3308
- internalType: "address",
3309
- name: "previousOwner",
3310
- type: "address"
3311
- }, {
3312
- indexed: !0,
3313
- internalType: "address",
3314
- name: "newOwner",
3315
- type: "address"
3316
- }],
3317
- name: "OwnershipTransferStarted",
3318
- type: "event"
3319
- },
3320
- {
3321
- anonymous: !1,
3322
- inputs: [{
3323
- indexed: !0,
3324
- internalType: "address",
3325
- name: "previousOwner",
3326
- type: "address"
3327
- }, {
3328
- indexed: !0,
3329
- internalType: "address",
3330
- name: "newOwner",
3331
- type: "address"
3332
- }],
3333
- name: "OwnershipTransferred",
3334
- type: "event"
3335
- },
3336
- {
3337
- anonymous: !1,
3338
- inputs: [{
3339
- indexed: !0,
3340
- internalType: "uint256",
3341
- name: "commitment",
3342
- type: "uint256"
3343
- }],
3344
- name: "PermissionlessMint",
3345
- type: "event"
3346
- },
3347
- {
3348
- anonymous: !1,
3349
- inputs: [{
3350
- indexed: !1,
3351
- internalType: "uint256",
3352
- name: "nullifier",
3353
- type: "uint256"
3354
- }],
3355
- name: "StakeNullified",
3356
- type: "event"
3357
- },
3358
- {
3359
- anonymous: !1,
3360
- inputs: [{
3361
- indexed: !1,
3362
- internalType: "address",
3363
- name: "",
3364
- type: "address"
3365
- }, {
3366
- indexed: !1,
3367
- internalType: "address",
3368
- name: "",
3369
- type: "address"
3370
- }],
3371
- name: "TokenRegistryUpdate",
3372
- type: "event"
3373
- },
3374
- {
3375
- anonymous: !1,
3376
- inputs: [{
3377
- indexed: !1,
3378
- internalType: "uint256",
3379
- name: "verifierId",
3380
- type: "uint256"
3381
- }, {
3382
- indexed: !1,
3383
- internalType: "address",
3384
- name: "verifierAddress",
3385
- type: "address"
3386
- }],
3387
- name: "VerifierRegistered",
3388
- type: "event"
3389
- },
3390
- {
3391
- anonymous: !1,
3392
- inputs: [{
3393
- indexed: !1,
3394
- internalType: "uint256",
3395
- name: "verifierId",
3396
- type: "uint256"
3397
- }],
3398
- name: "VerifierRemoved",
3399
- type: "event"
3400
- },
3401
- {
3402
- inputs: [],
3403
- name: "acceptOwnership",
3404
- outputs: [],
3405
- stateMutability: "nonpayable",
3406
- type: "function"
3407
- },
3408
- {
3409
- inputs: [{
3410
- components: [
3411
- {
3412
- internalType: "uint16",
3413
- name: "tokenNumber",
3414
- type: "uint16"
3415
- },
3416
- {
3417
- internalType: "uint16",
3418
- name: "nullifierAmount",
3419
- type: "uint16"
3420
- },
3421
- {
3422
- internalType: "uint16",
3423
- name: "outputAmount",
3424
- type: "uint16"
3425
- }
3426
- ],
3427
- internalType: "struct Dimensions",
3428
- name: "dimensions",
3429
- type: "tuple"
3430
- }, {
3431
- internalType: "uint256",
3432
- name: "externalActionId",
3433
- type: "uint256"
3434
- }],
3435
- name: "buildVerifierId",
3436
- outputs: [{
3437
- internalType: "uint256",
3438
- name: "",
3439
- type: "uint256"
3440
- }],
3441
- stateMutability: "pure",
3442
- type: "function"
3443
- },
3444
- {
3445
- inputs: [],
3446
- name: "getRootHash",
3447
- outputs: [{
3448
- internalType: "uint256",
3449
- name: "",
3450
- type: "uint256"
3451
- }],
3452
- stateMutability: "view",
3453
- type: "function"
3454
- },
3455
- {
3456
- inputs: [{
3457
- internalType: "uint256",
3458
- name: "a",
3459
- type: "uint256"
3460
- }, {
3461
- internalType: "uint256",
3462
- name: "b",
3463
- type: "uint256"
3464
- }],
3465
- name: "hash2",
3466
- outputs: [{
3467
- internalType: "uint256",
3468
- name: "poseidonHash",
3469
- type: "uint256"
3470
- }],
3471
- stateMutability: "view",
3472
- type: "function"
3473
- },
3474
- {
3475
- inputs: [
3476
- {
3477
- internalType: "uint256",
3478
- name: "a0",
3479
- type: "uint256"
3480
- },
3481
- {
3482
- internalType: "uint256",
3483
- name: "a1",
3484
- type: "uint256"
3485
- },
3486
- {
3487
- internalType: "uint256",
3488
- name: "a2",
3489
- type: "uint256"
3490
- },
3491
- {
3492
- internalType: "uint256",
3493
- name: "a3",
3494
- type: "uint256"
3495
- }
3496
- ],
3497
- name: "hash4",
3498
- outputs: [{
3499
- internalType: "uint256",
3500
- name: "poseidonHash",
3501
- type: "uint256"
3502
- }],
3503
- stateMutability: "view",
3504
- type: "function"
3505
- },
3506
- {
3507
- inputs: [
3508
- {
3509
- internalType: "uint256",
3510
- name: "a0",
3511
- type: "uint256"
3512
- },
3513
- {
3514
- internalType: "uint256",
3515
- name: "a1",
3516
- type: "uint256"
3517
- },
3518
- {
3519
- internalType: "uint256",
3520
- name: "a2",
3521
- type: "uint256"
3522
- },
3523
- {
3524
- internalType: "uint256",
3525
- name: "a3",
3526
- type: "uint256"
3527
- },
3528
- {
3529
- internalType: "uint256",
3530
- name: "a4",
3531
- type: "uint256"
3532
- }
3533
- ],
3534
- name: "hash5",
3535
- outputs: [{
3536
- internalType: "uint256",
3537
- name: "poseidonHash",
3538
- type: "uint256"
3539
- }],
3540
- stateMutability: "view",
3541
- type: "function"
3542
- },
3543
- {
3544
- inputs: [{
3545
- internalType: "address",
3546
- name: "",
3547
- type: "address"
3548
- }, {
3549
- internalType: "uint256",
3550
- name: "",
3551
- type: "uint256"
3552
- }],
3553
- name: "isAmountValid",
3554
- outputs: [{
3555
- internalType: "bool",
3556
- name: "",
3557
- type: "bool"
3558
- }],
3559
- stateMutability: "view",
3560
- type: "function"
3561
- },
3562
- {
3563
- inputs: [{
3564
- internalType: "address",
3565
- name: "",
3566
- type: "address"
3567
- }],
3568
- name: "isRestrictionDisabled",
3569
- outputs: [{
3570
- internalType: "bool",
3571
- name: "",
3572
- type: "bool"
3573
- }],
3574
- stateMutability: "view",
3575
- type: "function"
3576
- },
3577
- {
3578
- inputs: [{
3579
- internalType: "uint256",
3580
- name: "x",
3581
- type: "uint256"
3582
- }],
3583
- name: "logarithm2",
3584
- outputs: [{
3585
- internalType: "uint256",
3586
- name: "y",
3587
- type: "uint256"
3588
- }],
3589
- stateMutability: "pure",
3590
- type: "function"
3591
- },
3592
- {
3593
- inputs: [],
3594
- name: "m_index",
3595
- outputs: [{
3596
- internalType: "uint256",
3597
- name: "",
3598
- type: "uint256"
3599
- }],
3600
- stateMutability: "view",
3601
- type: "function"
3602
- },
3603
- {
3604
- inputs: [],
3605
- name: "minAllowedTimestampOffset",
3606
- outputs: [{
3607
- internalType: "uint256",
3608
- name: "",
3609
- type: "uint256"
3610
- }],
3611
- stateMutability: "view",
3612
- type: "function"
3613
- },
3614
- {
3615
- inputs: [
3616
- {
3617
- internalType: "uint256[2]",
3618
- name: "a",
3619
- type: "uint256[2]"
3620
- },
3621
- {
3622
- internalType: "uint256[2][2]",
3623
- name: "b",
3624
- type: "uint256[2][2]"
3625
- },
3626
- {
3627
- internalType: "uint256[2]",
3628
- name: "c",
3629
- type: "uint256[2]"
3630
- },
3631
- {
3632
- components: [
3633
- {
3634
- internalType: "uint256[]",
3635
- name: "nullifiers",
3636
- type: "uint256[]"
3637
- },
3638
- {
3639
- internalType: "uint256[]",
3640
- name: "stakeAmounts",
3641
- type: "uint256[]"
3642
- },
3643
- {
3644
- internalType: "address[]",
3645
- name: "erc20TokenAddresses",
3646
- type: "address[]"
3647
- },
3648
- {
3649
- internalType: "address[]",
3650
- name: "stakedTokenRecipients",
3651
- type: "address[]"
3652
- },
3653
- {
3654
- internalType: "uint256",
3655
- name: "stakedMerkleRoot",
3656
- type: "uint256"
3657
- }
3658
- ],
3659
- internalType: "struct StakeProverData",
3660
- name: "stakeProverData",
3661
- type: "tuple"
3662
- }
3663
- ],
3664
- name: "mint",
3665
- outputs: [],
3666
- stateMutability: "nonpayable",
3667
- type: "function"
3668
- },
3669
- {
3670
- inputs: [
3671
- {
3672
- internalType: "uint256[2]",
3673
- name: "a",
3674
- type: "uint256[2]"
3675
- },
3676
- {
3677
- internalType: "uint256[2][2]",
3678
- name: "b",
3679
- type: "uint256[2][2]"
3680
- },
3681
- {
3682
- internalType: "uint256[2]",
3683
- name: "c",
3684
- type: "uint256[2]"
3685
- },
3686
- {
3687
- components: [
3688
- {
3689
- internalType: "uint256[]",
3690
- name: "nullifiers",
3691
- type: "uint256[]"
3692
- },
3693
- {
3694
- internalType: "uint256[]",
3695
- name: "stakeAmounts",
3696
- type: "uint256[]"
3697
- },
3698
- {
3699
- internalType: "address[]",
3700
- name: "erc20TokenAddresses",
3701
- type: "address[]"
3702
- },
3703
- {
3704
- internalType: "address[]",
3705
- name: "stakedTokenRecipients",
3706
- type: "address[]"
3707
- },
3708
- {
3709
- internalType: "uint256",
3710
- name: "stakedMerkleRoot",
3711
- type: "uint256"
3712
- }
3713
- ],
3714
- internalType: "struct StakeProverData",
3715
- name: "stakeProverData",
3716
- type: "tuple"
3717
- },
3718
- {
3719
- components: [{
3720
- internalType: "uint256",
3721
- name: "maxAllowedTimestamp",
3722
- type: "uint256"
3723
- }, {
3724
- internalType: "uint256",
3725
- name: "stakeCommitment",
3726
- type: "uint256"
3727
- }],
3728
- internalType: "struct StakeProverPermissionlessData",
3729
- name: "stakeProverPermissionlessData",
3730
- type: "tuple"
3731
- }
3732
- ],
3733
- name: "mintPermissionless",
3734
- outputs: [],
3735
- stateMutability: "nonpayable",
3736
- type: "function"
3737
- },
3738
- {
3739
- inputs: [
3740
- {
3741
- internalType: "address",
3742
- name: "",
3743
- type: "address"
3744
- },
3745
- {
3746
- internalType: "address",
3747
- name: "",
3748
- type: "address"
3749
- },
3750
- {
3751
- internalType: "uint256",
3752
- name: "",
3753
- type: "uint256"
3754
- },
3755
- {
3756
- internalType: "bytes",
3757
- name: "",
3758
- type: "bytes"
3759
- }
3760
- ],
3761
- name: "onERC721Received",
3762
- outputs: [{
3763
- internalType: "bytes4",
3764
- name: "",
3765
- type: "bytes4"
3766
- }],
3767
- stateMutability: "pure",
3768
- type: "function"
3769
- },
3770
- {
3771
- inputs: [],
3772
- name: "owner",
3773
- outputs: [{
3774
- internalType: "address",
3775
- name: "",
3776
- type: "address"
3777
- }],
3778
- stateMutability: "view",
3779
- type: "function"
3780
- },
3781
- {
3782
- inputs: [],
3783
- name: "pendingOwner",
3784
- outputs: [{
3785
- internalType: "address",
3786
- name: "",
3787
- type: "address"
3788
- }],
3789
- stateMutability: "view",
3790
- type: "function"
3791
- },
3792
- {
3793
- inputs: [],
3794
- name: "poseidon2",
3795
- outputs: [{
3796
- internalType: "contract IPoseidon2",
3797
- name: "",
3798
- type: "address"
3799
- }],
3800
- stateMutability: "view",
3801
- type: "function"
3802
- },
3803
- {
3804
- inputs: [],
3805
- name: "poseidon4",
3806
- outputs: [{
3807
- internalType: "contract IPoseidon4",
3808
- name: "",
3809
- type: "address"
3810
- }],
3811
- stateMutability: "view",
3812
- type: "function"
3813
- },
3814
- {
3815
- inputs: [],
3816
- name: "poseidon5",
3817
- outputs: [{
3818
- internalType: "contract IPoseidon5",
3819
- name: "",
3820
- type: "address"
3821
- }],
3822
- stateMutability: "view",
3823
- type: "function"
3824
- },
3825
- {
3826
- inputs: [{
3827
- internalType: "uint256[]",
3828
- name: "verifierIds",
3829
- type: "uint256[]"
3830
- }, {
3831
- internalType: "address[]",
3832
- name: "verifierAddresses",
3833
- type: "address[]"
3834
- }],
3835
- name: "registerVerifiers",
3836
- outputs: [],
3837
- stateMutability: "nonpayable",
3838
- type: "function"
3839
- },
3840
- {
3841
- inputs: [{
3842
- internalType: "uint256",
3843
- name: "verifierId",
3844
- type: "uint256"
3845
- }],
3846
- name: "removeVerifier",
3847
- outputs: [],
3848
- stateMutability: "nonpayable",
3849
- type: "function"
3850
- },
3851
- {
3852
- inputs: [],
3853
- name: "renounceOwnership",
3854
- outputs: [],
3855
- stateMutability: "view",
3856
- type: "function"
3857
- },
3858
- {
3859
- inputs: [{
3860
- internalType: "uint256",
3861
- name: "_root",
3862
- type: "uint256"
3863
- }],
3864
- name: "rootHashExists",
3865
- outputs: [{
3866
- internalType: "bool",
3867
- name: "",
3868
- type: "bool"
3869
- }],
3870
- stateMutability: "view",
3871
- type: "function"
3872
- },
3873
- {
3874
- inputs: [],
3875
- name: "rootIndex",
3876
- outputs: [{
3877
- internalType: "uint256",
3878
- name: "",
3879
- type: "uint256"
3880
- }],
3881
- stateMutability: "view",
3882
- type: "function"
3883
- },
3884
- {
3885
- inputs: [{
3886
- internalType: "uint256",
3887
- name: "",
3888
- type: "uint256"
3889
- }],
3890
- name: "roots",
3891
- outputs: [{
3892
- internalType: "uint256",
3893
- name: "",
3894
- type: "uint256"
3895
- }],
3896
- stateMutability: "view",
3897
- type: "function"
3898
- },
3899
- {
3900
- inputs: [{
3901
- components: [
3902
- {
3903
- internalType: "uint256",
3904
- name: "rootHashHinkal",
3905
- type: "uint256"
3906
- },
3907
- {
3908
- internalType: "address[]",
3909
- name: "erc20TokenAddresses",
3910
- type: "address[]"
3911
- },
3912
- {
3913
- internalType: "uint256[]",
3914
- name: "tokenIds",
3915
- type: "uint256[]"
3916
- },
3917
- {
3918
- internalType: "int256[]",
3919
- name: "amountChanges",
3920
- type: "int256[]"
3921
- },
3922
- {
3923
- internalType: "bool[]",
3924
- name: "onChainCreation",
3925
- type: "bool[]"
3926
- },
3927
- {
3928
- internalType: "int256[]",
3929
- name: "slippageValues",
3930
- type: "int256[]"
3931
- },
3932
- {
3933
- internalType: "uint256[][]",
3934
- name: "inputNullifiers",
3935
- type: "uint256[][]"
3936
- },
3937
- {
3938
- internalType: "uint256[][]",
3939
- name: "outCommitments",
3940
- type: "uint256[][]"
3941
- },
3942
- {
3943
- internalType: "bytes[][]",
3944
- name: "encryptedOutputs",
3945
- type: "bytes[][]"
3946
- },
3947
- {
3948
- components: [
3949
- {
3950
- internalType: "address",
3951
- name: "feeToken",
3952
- type: "address"
3953
- },
3954
- {
3955
- internalType: "uint256",
3956
- name: "flatFee",
3957
- type: "uint256"
3958
- },
3959
- {
3960
- internalType: "uint256",
3961
- name: "variableRate",
3962
- type: "uint256"
3963
- }
3964
- ],
3965
- internalType: "struct FeeStructure",
3966
- name: "feeStructure",
3967
- type: "tuple"
3968
- },
3969
- {
3970
- internalType: "uint256",
3971
- name: "timeStamp",
3972
- type: "uint256"
3973
- },
3974
- {
3975
- components: [
3976
- {
3977
- internalType: "uint256",
3978
- name: "extraRandomization",
3979
- type: "uint256"
3980
- },
3981
- {
3982
- internalType: "uint256",
3983
- name: "stealthAddress",
3984
- type: "uint256"
3985
- },
3986
- {
3987
- internalType: "uint256",
3988
- name: "H0",
3989
- type: "uint256"
3990
- },
3991
- {
3992
- internalType: "uint256",
3993
- name: "H1",
3994
- type: "uint256"
3995
- }
3996
- ],
3997
- internalType: "struct StealthAddressStructure",
3998
- name: "stealthAddressStructure",
3999
- type: "tuple"
4000
- },
4001
- {
4002
- internalType: "uint256",
4003
- name: "rootHashAccessToken",
4004
- type: "uint256"
4005
- },
4006
- {
4007
- internalType: "uint256",
4008
- name: "calldataHash",
4009
- type: "uint256"
4010
- },
4011
- {
4012
- internalType: "uint16",
4013
- name: "publicSignalCount",
4014
- type: "uint16"
4015
- },
4016
- {
4017
- internalType: "address",
4018
- name: "relay",
4019
- type: "address"
4020
- },
4021
- {
4022
- internalType: "address",
4023
- name: "externalAddress",
4024
- type: "address"
4025
- },
4026
- {
4027
- internalType: "uint256",
4028
- name: "externalActionId",
4029
- type: "uint256"
4030
- },
4031
- {
4032
- internalType: "bytes",
4033
- name: "externalActionMetadata",
4034
- type: "bytes"
4035
- },
4036
- {
4037
- components: [
4038
- {
4039
- internalType: "uint256",
4040
- name: "hinkalLogicAction",
4041
- type: "uint256"
4042
- },
4043
- {
4044
- internalType: "uint256",
4045
- name: "inHinkalAddress",
4046
- type: "uint256"
4047
- },
4048
- {
4049
- internalType: "int256[]",
4050
- name: "executeApprovalChanges",
4051
- type: "int256[]"
4052
- },
4053
- {
4054
- internalType: "bool",
4055
- name: "doPreTxApproval",
4056
- type: "bool"
4057
- },
4058
- {
4059
- components: [
4060
- {
4061
- internalType: "int256[]",
4062
- name: "approvalChanges",
4063
- type: "int256[]"
4064
- },
4065
- {
4066
- internalType: "address[]",
4067
- name: "externalApprovalAddresses",
4068
- type: "address[]"
4069
- },
4070
- {
4071
- internalType: "uint256[]",
4072
- name: "conversionInHinkalAddress",
4073
- type: "uint256[]"
4074
- }
4075
- ],
4076
- internalType: "struct UseApprovalUTXOData[]",
4077
- name: "useApprovalUtxoData",
4078
- type: "tuple[]"
4079
- }
4080
- ],
4081
- internalType: "struct HinkalLogicArgs",
4082
- name: "hinkalLogicArgs",
4083
- type: "tuple"
4084
- },
4085
- {
4086
- components: [
4087
- {
4088
- internalType: "address",
4089
- name: "preHookContract",
4090
- type: "address"
4091
- },
4092
- {
4093
- internalType: "address",
4094
- name: "hookContract",
4095
- type: "address"
4096
- },
4097
- {
4098
- internalType: "bytes",
4099
- name: "preHookMetadata",
4100
- type: "bytes"
4101
- },
4102
- {
4103
- internalType: "bytes",
4104
- name: "postHookMetadata",
4105
- type: "bytes"
4106
- }
4107
- ],
4108
- internalType: "struct HookData",
4109
- name: "hookData",
4110
- type: "tuple"
4111
- },
4112
- {
4113
- components: [
4114
- {
4115
- internalType: "uint8",
4116
- name: "v",
4117
- type: "uint8"
4118
- },
4119
- {
4120
- internalType: "bytes32",
4121
- name: "r",
4122
- type: "bytes32"
4123
- },
4124
- {
4125
- internalType: "bytes32",
4126
- name: "s",
4127
- type: "bytes32"
4128
- },
4129
- {
4130
- internalType: "uint256",
4131
- name: "accessKey",
4132
- type: "uint256"
4133
- },
4134
- {
4135
- internalType: "uint256",
4136
- name: "nonce",
4137
- type: "uint256"
4138
- },
4139
- {
4140
- internalType: "address",
4141
- name: "ethereumAddress",
4142
- type: "address"
4143
- }
4144
- ],
4145
- internalType: "struct SignatureData",
4146
- name: "signatureData",
4147
- type: "tuple"
4148
- },
4149
- {
4150
- internalType: "address",
4151
- name: "originalSender",
4152
- type: "address"
4153
- }
4154
- ],
4155
- internalType: "struct CircomData",
4156
- name: "circomData",
4157
- type: "tuple"
4158
- }],
4159
- name: "runAction",
4160
- outputs: [{
4161
- components: [
4162
- {
4163
- internalType: "uint256",
4164
- name: "amount",
4165
- type: "uint256"
4166
- },
4167
- {
4168
- internalType: "address",
4169
- name: "erc20Address",
4170
- type: "address"
4171
- },
4172
- {
4173
- components: [
4174
- {
4175
- internalType: "uint256",
4176
- name: "extraRandomization",
4177
- type: "uint256"
4178
- },
4179
- {
4180
- internalType: "uint256",
4181
- name: "stealthAddress",
4182
- type: "uint256"
4183
- },
4184
- {
4185
- internalType: "uint256",
4186
- name: "H0",
4187
- type: "uint256"
4188
- },
4189
- {
4190
- internalType: "uint256",
4191
- name: "H1",
4192
- type: "uint256"
4193
- }
4194
- ],
4195
- internalType: "struct StealthAddressStructure",
4196
- name: "stealthAddressStructure",
4197
- type: "tuple"
4198
- },
4199
- {
4200
- internalType: "uint256",
4201
- name: "timeStamp",
4202
- type: "uint256"
4203
- },
4204
- {
4205
- internalType: "uint256",
4206
- name: "tokenId",
4207
- type: "uint256"
4208
- }
4209
- ],
4210
- internalType: "struct UTXO[]",
4211
- name: "",
4212
- type: "tuple[]"
4213
- }],
4214
- stateMutability: "nonpayable",
4215
- type: "function"
4216
- },
4217
- {
4218
- inputs: [{
4219
- internalType: "address[]",
4220
- name: "recipients",
4221
- type: "address[]"
4222
- }],
4223
- name: "setAllowedRecipients",
4224
- outputs: [],
4225
- stateMutability: "nonpayable",
4226
- type: "function"
4227
- },
4228
- {
4229
- inputs: [{
4230
- internalType: "address",
4231
- name: "",
4232
- type: "address"
4233
- }],
4234
- name: "tokenToHtoken",
4235
- outputs: [{
4236
- internalType: "contract IERC4626",
4237
- name: "",
4238
- type: "address"
4239
- }],
4240
- stateMutability: "view",
4241
- type: "function"
4242
- },
4243
- {
4244
- inputs: [{
4245
- internalType: "address",
4246
- name: "newOwner",
4247
- type: "address"
4248
- }],
4249
- name: "transferOwnership",
4250
- outputs: [],
4251
- stateMutability: "nonpayable",
4252
- type: "function"
4253
- },
4254
- {
4255
- inputs: [{
4256
- internalType: "uint256",
4257
- name: "",
4258
- type: "uint256"
4259
- }],
4260
- name: "tree",
4261
- outputs: [{
4262
- internalType: "uint256",
4263
- name: "",
4264
- type: "uint256"
4265
- }],
4266
- stateMutability: "view",
4267
- type: "function"
4268
- },
4269
- {
4270
- inputs: [
4271
- {
4272
- internalType: "address",
4273
- name: "collateral",
4274
- type: "address"
4275
- },
4276
- {
4277
- internalType: "uint256",
4278
- name: "amount",
4279
- type: "uint256"
4280
- },
4281
- {
4282
- internalType: "bool",
4283
- name: "isValid",
4284
- type: "bool"
4285
- }
4286
- ],
4287
- name: "updateAmountValidity",
4288
- outputs: [],
4289
- stateMutability: "nonpayable",
4290
- type: "function"
4291
- },
4292
- {
4293
- inputs: [{
4294
- internalType: "address",
4295
- name: "collateral",
4296
- type: "address"
4297
- }, {
4298
- internalType: "bool",
4299
- name: "isDisabled",
4300
- type: "bool"
4301
- }],
4302
- name: "updateIsRestrictionDisabled",
4303
- outputs: [],
4304
- stateMutability: "nonpayable",
4305
- type: "function"
4306
- },
4307
- {
4308
- inputs: [{
4309
- internalType: "uint256",
4310
- name: "newMinAllowedTimestampOffset",
4311
- type: "uint256"
4312
- }],
4313
- name: "updateMinAllowedTimestampOffset",
4314
- outputs: [],
4315
- stateMutability: "nonpayable",
4316
- type: "function"
4317
- },
4318
- {
4319
- inputs: [{
4320
- internalType: "address",
4321
- name: "collateral",
4322
- type: "address"
4323
- }, {
4324
- internalType: "address",
4325
- name: "hToken",
4326
- type: "address"
4327
- }],
4328
- name: "updateTokenRegistry",
4329
- outputs: [],
4330
- stateMutability: "nonpayable",
4331
- type: "function"
4332
- },
4333
- {
4334
- inputs: [{
4335
- internalType: "uint256",
4336
- name: "",
4337
- type: "uint256"
4338
- }],
4339
- name: "usedNullifiers",
4340
- outputs: [{
4341
- internalType: "bool",
4342
- name: "",
4343
- type: "bool"
4344
- }],
4345
- stateMutability: "view",
4346
- type: "function"
4347
- },
4348
- {
4349
- inputs: [{
4350
- internalType: "uint256",
4351
- name: "",
4352
- type: "uint256"
4353
- }],
4354
- name: "verifierMap",
4355
- outputs: [{
4356
- internalType: "contract IVerifier",
4357
- name: "",
4358
- type: "address"
4359
- }],
4360
- stateMutability: "view",
4361
- type: "function"
4362
- },
4363
- {
4364
- stateMutability: "payable",
4365
- type: "receive"
4366
- }
4367
- ],
4368
- HTokenABI: [
4369
- {
4370
- inputs: [
4371
- {
4372
- internalType: "string",
4373
- name: "name_",
4374
- type: "string"
4375
- },
4376
- {
4377
- internalType: "string",
4378
- name: "symbol_",
4379
- type: "string"
4380
- },
4381
- {
4382
- internalType: "contract IERC20",
4383
- name: "_baseToken",
4384
- type: "address"
4385
- },
4386
- {
4387
- internalType: "address",
4388
- name: "_hinkalAddress",
4389
- type: "address"
4390
- },
4391
- {
4392
- internalType: "address",
4393
- name: "_externalAction",
4394
- type: "address"
4395
- }
4396
- ],
4397
- stateMutability: "nonpayable",
4398
- type: "constructor"
4399
- },
4400
- {
4401
- inputs: [],
4402
- name: "MustBeExternalAction",
4403
- type: "error"
4404
- },
4405
- {
4406
- inputs: [],
4407
- name: "NoShares",
4408
- type: "error"
4409
- },
4410
- {
4411
- anonymous: !1,
4412
- inputs: [
4413
- {
4414
- indexed: !0,
4415
- internalType: "address",
4416
- name: "owner",
4417
- type: "address"
4418
- },
4419
- {
4420
- indexed: !0,
4421
- internalType: "address",
4422
- name: "spender",
4423
- type: "address"
4424
- },
4425
- {
4426
- indexed: !1,
4427
- internalType: "uint256",
4428
- name: "value",
4429
- type: "uint256"
4430
- }
4431
- ],
4432
- name: "Approval",
4433
- type: "event"
4434
- },
4435
- {
4436
- anonymous: !1,
4437
- inputs: [
4438
- {
4439
- indexed: !0,
4440
- internalType: "address",
4441
- name: "sender",
4442
- type: "address"
4443
- },
4444
- {
4445
- indexed: !0,
4446
- internalType: "address",
4447
- name: "owner",
4448
- type: "address"
4449
- },
4450
- {
4451
- indexed: !1,
4452
- internalType: "uint256",
4453
- name: "assets",
4454
- type: "uint256"
4455
- },
4456
- {
4457
- indexed: !1,
4458
- internalType: "uint256",
4459
- name: "shares",
4460
- type: "uint256"
4461
- }
4462
- ],
4463
- name: "Deposit",
4464
- type: "event"
4465
- },
4466
- {
4467
- anonymous: !1,
4468
- inputs: [{
4469
- indexed: !0,
4470
- internalType: "address",
4471
- name: "previousOwner",
4472
- type: "address"
4473
- }, {
4474
- indexed: !0,
4475
- internalType: "address",
4476
- name: "newOwner",
4477
- type: "address"
4478
- }],
4479
- name: "OwnershipTransferred",
4480
- type: "event"
4481
- },
4482
- {
4483
- anonymous: !1,
4484
- inputs: [{
4485
- indexed: !1,
4486
- internalType: "uint256",
4487
- name: "assets",
4488
- type: "uint256"
4489
- }],
4490
- name: "RewardAdded",
4491
- type: "event"
4492
- },
4493
- {
4494
- anonymous: !1,
4495
- inputs: [
4496
- {
4497
- indexed: !0,
4498
- internalType: "address",
4499
- name: "from",
4500
- type: "address"
4501
- },
4502
- {
4503
- indexed: !0,
4504
- internalType: "address",
4505
- name: "to",
4506
- type: "address"
4507
- },
4508
- {
4509
- indexed: !1,
4510
- internalType: "uint256",
4511
- name: "value",
4512
- type: "uint256"
4513
- }
4514
- ],
4515
- name: "Transfer",
4516
- type: "event"
4517
- },
4518
- {
4519
- anonymous: !1,
4520
- inputs: [
4521
- {
4522
- indexed: !0,
4523
- internalType: "address",
4524
- name: "sender",
4525
- type: "address"
4526
- },
4527
- {
4528
- indexed: !0,
4529
- internalType: "address",
4530
- name: "receiver",
4531
- type: "address"
4532
- },
4533
- {
4534
- indexed: !0,
4535
- internalType: "address",
4536
- name: "owner",
4537
- type: "address"
4538
- },
4539
- {
4540
- indexed: !1,
4541
- internalType: "uint256",
4542
- name: "assets",
4543
- type: "uint256"
4544
- },
4545
- {
4546
- indexed: !1,
4547
- internalType: "uint256",
4548
- name: "shares",
4549
- type: "uint256"
4550
- }
4551
- ],
4552
- name: "Withdraw",
4553
- type: "event"
4554
- },
4555
- {
4556
- inputs: [{
4557
- internalType: "uint256",
4558
- name: "assets",
4559
- type: "uint256"
4560
- }],
4561
- name: "addReward",
4562
- outputs: [],
4563
- stateMutability: "payable",
4564
- type: "function"
4565
- },
4566
- {
4567
- inputs: [{
4568
- internalType: "address",
4569
- name: "owner",
4570
- type: "address"
4571
- }, {
4572
- internalType: "address",
4573
- name: "spender",
4574
- type: "address"
4575
- }],
4576
- name: "allowance",
4577
- outputs: [{
4578
- internalType: "uint256",
4579
- name: "",
4580
- type: "uint256"
4581
- }],
4582
- stateMutability: "view",
4583
- type: "function"
4584
- },
4585
- {
4586
- inputs: [{
4587
- internalType: "address",
4588
- name: "spender",
4589
- type: "address"
4590
- }, {
4591
- internalType: "uint256",
4592
- name: "amount",
4593
- type: "uint256"
4594
- }],
4595
- name: "approve",
4596
- outputs: [{
4597
- internalType: "bool",
4598
- name: "",
4599
- type: "bool"
4600
- }],
4601
- stateMutability: "nonpayable",
4602
- type: "function"
4603
- },
4604
- {
4605
- inputs: [],
4606
- name: "asset",
4607
- outputs: [{
4608
- internalType: "address",
4609
- name: "",
4610
- type: "address"
4611
- }],
4612
- stateMutability: "view",
4613
- type: "function"
4614
- },
4615
- {
4616
- inputs: [{
4617
- internalType: "address",
4618
- name: "account",
4619
- type: "address"
4620
- }],
4621
- name: "balanceOf",
4622
- outputs: [{
4623
- internalType: "uint256",
4624
- name: "",
4625
- type: "uint256"
4626
- }],
4627
- stateMutability: "view",
4628
- type: "function"
4629
- },
4630
- {
4631
- inputs: [{
4632
- internalType: "uint256",
4633
- name: "shares",
4634
- type: "uint256"
4635
- }],
4636
- name: "convertToAssets",
4637
- outputs: [{
4638
- internalType: "uint256",
4639
- name: "",
4640
- type: "uint256"
4641
- }],
4642
- stateMutability: "view",
4643
- type: "function"
4644
- },
4645
- {
4646
- inputs: [{
4647
- internalType: "uint256",
4648
- name: "assets",
4649
- type: "uint256"
4650
- }],
4651
- name: "convertToShares",
4652
- outputs: [{
4653
- internalType: "uint256",
4654
- name: "",
4655
- type: "uint256"
4656
- }],
4657
- stateMutability: "view",
4658
- type: "function"
4659
- },
4660
- {
4661
- inputs: [],
4662
- name: "decimals",
4663
- outputs: [{
4664
- internalType: "uint8",
4665
- name: "",
4666
- type: "uint8"
4667
- }],
4668
- stateMutability: "view",
4669
- type: "function"
4670
- },
4671
- {
4672
- inputs: [{
4673
- internalType: "address",
4674
- name: "spender",
4675
- type: "address"
4676
- }, {
4677
- internalType: "uint256",
4678
- name: "subtractedValue",
4679
- type: "uint256"
4680
- }],
4681
- name: "decreaseAllowance",
4682
- outputs: [{
4683
- internalType: "bool",
4684
- name: "",
4685
- type: "bool"
4686
- }],
4687
- stateMutability: "nonpayable",
4688
- type: "function"
4689
- },
4690
- {
4691
- inputs: [{
4692
- internalType: "uint256",
4693
- name: "assets",
4694
- type: "uint256"
4695
- }, {
4696
- internalType: "address",
4697
- name: "receiver",
4698
- type: "address"
4699
- }],
4700
- name: "deposit",
4701
- outputs: [{
4702
- internalType: "uint256",
4703
- name: "",
4704
- type: "uint256"
4705
- }],
4706
- stateMutability: "nonpayable",
4707
- type: "function"
4708
- },
4709
- {
4710
- inputs: [],
4711
- name: "externalAction",
4712
- outputs: [{
4713
- internalType: "address",
4714
- name: "",
4715
- type: "address"
4716
- }],
4717
- stateMutability: "view",
4718
- type: "function"
4719
- },
4720
- {
4721
- inputs: [],
4722
- name: "hinkalAddress",
4723
- outputs: [{
4724
- internalType: "address",
4725
- name: "",
4726
- type: "address"
4727
- }],
4728
- stateMutability: "view",
4729
- type: "function"
4730
- },
4731
- {
4732
- inputs: [{
4733
- internalType: "address",
4734
- name: "spender",
4735
- type: "address"
4736
- }, {
4737
- internalType: "uint256",
4738
- name: "addedValue",
4739
- type: "uint256"
4740
- }],
4741
- name: "increaseAllowance",
4742
- outputs: [{
4743
- internalType: "bool",
4744
- name: "",
4745
- type: "bool"
4746
- }],
4747
- stateMutability: "nonpayable",
4748
- type: "function"
4749
- },
4750
- {
4751
- inputs: [{
4752
- internalType: "address",
4753
- name: "",
4754
- type: "address"
4755
- }],
4756
- name: "maxDeposit",
4757
- outputs: [{
4758
- internalType: "uint256",
4759
- name: "",
4760
- type: "uint256"
4761
- }],
4762
- stateMutability: "view",
4763
- type: "function"
4764
- },
4765
- {
4766
- inputs: [{
4767
- internalType: "address",
4768
- name: "",
4769
- type: "address"
4770
- }],
4771
- name: "maxMint",
4772
- outputs: [{
4773
- internalType: "uint256",
4774
- name: "",
4775
- type: "uint256"
4776
- }],
4777
- stateMutability: "view",
4778
- type: "function"
4779
- },
4780
- {
4781
- inputs: [{
4782
- internalType: "address",
4783
- name: "owner",
4784
- type: "address"
4785
- }],
4786
- name: "maxRedeem",
4787
- outputs: [{
4788
- internalType: "uint256",
4789
- name: "",
4790
- type: "uint256"
4791
- }],
4792
- stateMutability: "view",
4793
- type: "function"
4794
- },
4795
- {
4796
- inputs: [{
4797
- internalType: "address",
4798
- name: "owner",
4799
- type: "address"
4800
- }],
4801
- name: "maxWithdraw",
4802
- outputs: [{
4803
- internalType: "uint256",
4804
- name: "",
4805
- type: "uint256"
4806
- }],
4807
- stateMutability: "view",
4808
- type: "function"
4809
- },
4810
- {
4811
- inputs: [{
4812
- internalType: "uint256",
4813
- name: "shares",
4814
- type: "uint256"
4815
- }, {
4816
- internalType: "address",
4817
- name: "receiver",
4818
- type: "address"
4819
- }],
4820
- name: "mint",
4821
- outputs: [{
4822
- internalType: "uint256",
4823
- name: "",
4824
- type: "uint256"
4825
- }],
4826
- stateMutability: "nonpayable",
4827
- type: "function"
4828
- },
4829
- {
4830
- inputs: [],
4831
- name: "name",
4832
- outputs: [{
4833
- internalType: "string",
4834
- name: "",
4835
- type: "string"
4836
- }],
4837
- stateMutability: "view",
4838
- type: "function"
4839
- },
4840
- {
4841
- inputs: [
4842
- {
4843
- internalType: "address",
4844
- name: "",
4845
- type: "address"
4846
- },
4847
- {
4848
- internalType: "address",
4849
- name: "",
4850
- type: "address"
4851
- },
4852
- {
4853
- internalType: "uint256",
4854
- name: "",
4855
- type: "uint256"
4856
- },
4857
- {
4858
- internalType: "bytes",
4859
- name: "",
4860
- type: "bytes"
4861
- }
4862
- ],
4863
- name: "onERC721Received",
4864
- outputs: [{
4865
- internalType: "bytes4",
4866
- name: "",
4867
- type: "bytes4"
4868
- }],
4869
- stateMutability: "pure",
4870
- type: "function"
4871
- },
4872
- {
4873
- inputs: [],
4874
- name: "owner",
4875
- outputs: [{
4876
- internalType: "address",
4877
- name: "",
4878
- type: "address"
4879
- }],
4880
- stateMutability: "view",
4881
- type: "function"
4882
- },
4883
- {
4884
- inputs: [{
4885
- internalType: "uint256",
4886
- name: "assets",
4887
- type: "uint256"
4888
- }],
4889
- name: "previewDeposit",
4890
- outputs: [{
4891
- internalType: "uint256",
4892
- name: "",
4893
- type: "uint256"
4894
- }],
4895
- stateMutability: "view",
4896
- type: "function"
4897
- },
4898
- {
4899
- inputs: [{
4900
- internalType: "uint256",
4901
- name: "shares",
4902
- type: "uint256"
4903
- }],
4904
- name: "previewMint",
4905
- outputs: [{
4906
- internalType: "uint256",
4907
- name: "",
4908
- type: "uint256"
4909
- }],
4910
- stateMutability: "view",
4911
- type: "function"
4912
- },
4913
- {
4914
- inputs: [{
4915
- internalType: "uint256",
4916
- name: "shares",
4917
- type: "uint256"
4918
- }],
4919
- name: "previewRedeem",
4920
- outputs: [{
4921
- internalType: "uint256",
4922
- name: "",
4923
- type: "uint256"
4924
- }],
4925
- stateMutability: "view",
4926
- type: "function"
4927
- },
4928
- {
4929
- inputs: [{
4930
- internalType: "uint256",
4931
- name: "assets",
4932
- type: "uint256"
4933
- }],
4934
- name: "previewWithdraw",
4935
- outputs: [{
4936
- internalType: "uint256",
4937
- name: "",
4938
- type: "uint256"
4939
- }],
4940
- stateMutability: "view",
4941
- type: "function"
4942
- },
4943
- {
4944
- inputs: [
4945
- {
4946
- internalType: "uint256",
4947
- name: "shares",
4948
- type: "uint256"
4949
- },
4950
- {
4951
- internalType: "address",
4952
- name: "receiver",
4953
- type: "address"
4954
- },
4955
- {
4956
- internalType: "address",
4957
- name: "owner",
4958
- type: "address"
4959
- }
4960
- ],
4961
- name: "redeem",
4962
- outputs: [{
4963
- internalType: "uint256",
4964
- name: "",
4965
- type: "uint256"
4966
- }],
4967
- stateMutability: "nonpayable",
4968
- type: "function"
4969
- },
4970
- {
4971
- inputs: [],
4972
- name: "renounceOwnership",
4973
- outputs: [],
4974
- stateMutability: "nonpayable",
4975
- type: "function"
4976
- },
4977
- {
4978
- inputs: [{
4979
- internalType: "address",
4980
- name: "_externalAction",
4981
- type: "address"
4982
- }],
4983
- name: "setExternalAction",
4984
- outputs: [],
4985
- stateMutability: "nonpayable",
4986
- type: "function"
4987
- },
4988
- {
4989
- inputs: [{
4990
- internalType: "address",
4991
- name: "_hinkalAddress",
4992
- type: "address"
4993
- }],
4994
- name: "setHinkalAddress",
4995
- outputs: [],
4996
- stateMutability: "nonpayable",
4997
- type: "function"
4998
- },
4999
- {
5000
- inputs: [],
5001
- name: "symbol",
5002
- outputs: [{
5003
- internalType: "string",
5004
- name: "",
5005
- type: "string"
5006
- }],
5007
- stateMutability: "view",
5008
- type: "function"
5009
- },
5010
- {
5011
- inputs: [],
5012
- name: "totalAssets",
5013
- outputs: [{
5014
- internalType: "uint256",
5015
- name: "",
5016
- type: "uint256"
5017
- }],
5018
- stateMutability: "view",
5019
- type: "function"
5020
- },
5021
- {
5022
- inputs: [],
5023
- name: "totalSupply",
5024
- outputs: [{
5025
- internalType: "uint256",
5026
- name: "",
5027
- type: "uint256"
5028
- }],
5029
- stateMutability: "view",
5030
- type: "function"
5031
- },
5032
- {
5033
- inputs: [{
5034
- internalType: "address",
5035
- name: "to",
5036
- type: "address"
5037
- }, {
5038
- internalType: "uint256",
5039
- name: "amount",
5040
- type: "uint256"
5041
- }],
5042
- name: "transfer",
5043
- outputs: [{
5044
- internalType: "bool",
5045
- name: "",
5046
- type: "bool"
5047
- }],
5048
- stateMutability: "nonpayable",
5049
- type: "function"
5050
- },
5051
- {
5052
- inputs: [
5053
- {
5054
- internalType: "address",
5055
- name: "from",
5056
- type: "address"
5057
- },
5058
- {
5059
- internalType: "address",
5060
- name: "to",
5061
- type: "address"
5062
- },
5063
- {
5064
- internalType: "uint256",
5065
- name: "amount",
5066
- type: "uint256"
5067
- }
5068
- ],
5069
- name: "transferFrom",
5070
- outputs: [{
5071
- internalType: "bool",
5072
- name: "",
5073
- type: "bool"
5074
- }],
5075
- stateMutability: "nonpayable",
5076
- type: "function"
5077
- },
5078
- {
5079
- inputs: [{
5080
- internalType: "address",
5081
- name: "newOwner",
5082
- type: "address"
5083
- }],
5084
- name: "transferOwnership",
5085
- outputs: [],
5086
- stateMutability: "nonpayable",
5087
- type: "function"
5088
- },
5089
- {
5090
- inputs: [
5091
- {
5092
- internalType: "uint256",
5093
- name: "assets",
5094
- type: "uint256"
5095
- },
5096
- {
5097
- internalType: "address",
5098
- name: "receiver",
5099
- type: "address"
5100
- },
5101
- {
5102
- internalType: "address",
5103
- name: "owner",
5104
- type: "address"
5105
- }
5106
- ],
5107
- name: "withdraw",
5108
- outputs: [{
5109
- internalType: "uint256",
5110
- name: "",
5111
- type: "uint256"
5112
- }],
5113
- stateMutability: "nonpayable",
5114
- type: "function"
5115
- }
5116
- ],
5117
- HTokenOracleABI: [
5118
- {
5119
- inputs: [{
5120
- internalType: "contract IERC4626",
5121
- name: "_hToken",
5122
- type: "address"
5123
- }],
5124
- stateMutability: "nonpayable",
5125
- type: "constructor"
5126
- },
5127
- {
5128
- inputs: [],
5129
- name: "exchangeRate",
5130
- outputs: [{
5131
- internalType: "uint256",
5132
- name: "",
5133
- type: "uint256"
5134
- }],
5135
- stateMutability: "view",
5136
- type: "function"
5137
- },
5138
- {
5139
- inputs: [],
5140
- name: "hToken",
5141
- outputs: [{
5142
- internalType: "contract IERC4626",
5143
- name: "",
5144
- type: "address"
5145
- }],
5146
- stateMutability: "view",
5147
- type: "function"
5148
- }
5149
- ],
5150
3082
  emporiumAddress: "0x9Ee3b51350c98f0E912441aAf35166d7A71310A0",
5151
3083
  hinkalWalletAddress: "0xd079ADceaeC7276f693a097248246Da6ac581A19",
5152
3084
  hinkalWrapperAddress: "0x7a71635F72408FA540796c39F1Bf43BDe08F85E5",