@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
@@ -3067,2074 +3067,6 @@ var e = {
3067
3067
  uniswapExternalActionAddress: "0x9DE3EF14Dd024434bB4D8dbc011766bC298CC667",
3068
3068
  odosExternalActionInstanceAddress: "0x9B9B980C707e887f28A1fA90D7b8048abe0Ef403",
3069
3069
  oneInchExternalActionInstanceAddress: "0xe9057A70d8483940C80Ea4963C7A58cC0Bc1F1F9",
3070
- HinkalStakeExternalActionABI: [
3071
- {
3072
- inputs: [{
3073
- internalType: "address[]",
3074
- name: "allowedRecipients",
3075
- type: "address[]"
3076
- }, {
3077
- components: [
3078
- {
3079
- internalType: "uint128",
3080
- name: "levels",
3081
- type: "uint128"
3082
- },
3083
- {
3084
- internalType: "address",
3085
- name: "poseidon2",
3086
- type: "address"
3087
- },
3088
- {
3089
- internalType: "address",
3090
- name: "poseidon4",
3091
- type: "address"
3092
- },
3093
- {
3094
- internalType: "address",
3095
- name: "poseidon5",
3096
- type: "address"
3097
- }
3098
- ],
3099
- internalType: "struct IMerkle.MerkleConstructorArgs",
3100
- name: "merkleConstructorArgs",
3101
- type: "tuple"
3102
- }],
3103
- stateMutability: "nonpayable",
3104
- type: "constructor"
3105
- },
3106
- {
3107
- inputs: [],
3108
- name: "BaseTokenNotRegistered",
3109
- type: "error"
3110
- },
3111
- {
3112
- inputs: [],
3113
- name: "EtherMismatch",
3114
- type: "error"
3115
- },
3116
- {
3117
- inputs: [],
3118
- name: "InvalidAmount",
3119
- type: "error"
3120
- },
3121
- {
3122
- inputs: [],
3123
- name: "InvalidHToken",
3124
- type: "error"
3125
- },
3126
- {
3127
- inputs: [],
3128
- name: "InvalidInputCount",
3129
- type: "error"
3130
- },
3131
- {
3132
- inputs: [],
3133
- name: "InvalidLength",
3134
- type: "error"
3135
- },
3136
- {
3137
- inputs: [],
3138
- name: "InvalidMerkleRoot",
3139
- type: "error"
3140
- },
3141
- {
3142
- inputs: [],
3143
- name: "InvalidProof",
3144
- type: "error"
3145
- },
3146
- {
3147
- inputs: [{
3148
- internalType: "uint8",
3149
- name: "which",
3150
- type: "uint8"
3151
- }],
3152
- name: "LengthMismatch",
3153
- type: "error"
3154
- },
3155
- {
3156
- inputs: [],
3157
- name: "MustBeDepositOrStake",
3158
- type: "error"
3159
- },
3160
- {
3161
- inputs: [],
3162
- name: "MustBeUnstake",
3163
- type: "error"
3164
- },
3165
- {
3166
- inputs: [],
3167
- name: "NullifierAlreadyUsed",
3168
- type: "error"
3169
- },
3170
- {
3171
- inputs: [],
3172
- name: "RelayForbidden",
3173
- type: "error"
3174
- },
3175
- {
3176
- inputs: [],
3177
- name: "SenderDepositorMismatch",
3178
- type: "error"
3179
- },
3180
- {
3181
- inputs: [],
3182
- name: "TimestampTooNew",
3183
- type: "error"
3184
- },
3185
- {
3186
- anonymous: !1,
3187
- inputs: [
3188
- {
3189
- indexed: !1,
3190
- internalType: "address",
3191
- name: "",
3192
- type: "address"
3193
- },
3194
- {
3195
- indexed: !1,
3196
- internalType: "uint256",
3197
- name: "",
3198
- type: "uint256"
3199
- },
3200
- {
3201
- indexed: !1,
3202
- internalType: "bool",
3203
- name: "",
3204
- type: "bool"
3205
- }
3206
- ],
3207
- name: "AmountValidityUpdate",
3208
- type: "event"
3209
- },
3210
- {
3211
- anonymous: !1,
3212
- inputs: [{
3213
- indexed: !1,
3214
- internalType: "address",
3215
- name: "",
3216
- type: "address"
3217
- }, {
3218
- indexed: !1,
3219
- internalType: "bool",
3220
- name: "",
3221
- type: "bool"
3222
- }],
3223
- name: "IsRestrictionDisabledUpdate",
3224
- type: "event"
3225
- },
3226
- {
3227
- anonymous: !1,
3228
- inputs: [{
3229
- indexed: !1,
3230
- internalType: "uint256",
3231
- name: "",
3232
- type: "uint256"
3233
- }],
3234
- name: "MinAllowedTimestampOffsetUpdate",
3235
- type: "event"
3236
- },
3237
- {
3238
- anonymous: !1,
3239
- inputs: [
3240
- {
3241
- indexed: !0,
3242
- internalType: "uint256",
3243
- name: "index",
3244
- type: "uint256"
3245
- },
3246
- {
3247
- indexed: !1,
3248
- internalType: "uint256",
3249
- name: "stakeCommitment",
3250
- type: "uint256"
3251
- },
3252
- {
3253
- indexed: !0,
3254
- internalType: "address",
3255
- name: "staker",
3256
- type: "address"
3257
- },
3258
- {
3259
- indexed: !1,
3260
- internalType: "address",
3261
- name: "baseToken",
3262
- type: "address"
3263
- },
3264
- {
3265
- indexed: !1,
3266
- internalType: "uint256",
3267
- name: "stakedAmount",
3268
- type: "uint256"
3269
- },
3270
- {
3271
- indexed: !1,
3272
- internalType: "bytes",
3273
- name: "encryptedStakeCommitmentContent",
3274
- type: "bytes"
3275
- },
3276
- {
3277
- indexed: !1,
3278
- internalType: "bytes",
3279
- name: "encryptedStakeCommitmentContentAlt",
3280
- type: "bytes"
3281
- },
3282
- {
3283
- indexed: !1,
3284
- internalType: "uint256",
3285
- name: "timeStamp",
3286
- type: "uint256"
3287
- }
3288
- ],
3289
- name: "NewStakeCommitment",
3290
- type: "event"
3291
- },
3292
- {
3293
- anonymous: !1,
3294
- inputs: [{
3295
- indexed: !0,
3296
- internalType: "address",
3297
- name: "previousOwner",
3298
- type: "address"
3299
- }, {
3300
- indexed: !0,
3301
- internalType: "address",
3302
- name: "newOwner",
3303
- type: "address"
3304
- }],
3305
- name: "OwnershipTransferStarted",
3306
- type: "event"
3307
- },
3308
- {
3309
- anonymous: !1,
3310
- inputs: [{
3311
- indexed: !0,
3312
- internalType: "address",
3313
- name: "previousOwner",
3314
- type: "address"
3315
- }, {
3316
- indexed: !0,
3317
- internalType: "address",
3318
- name: "newOwner",
3319
- type: "address"
3320
- }],
3321
- name: "OwnershipTransferred",
3322
- type: "event"
3323
- },
3324
- {
3325
- anonymous: !1,
3326
- inputs: [{
3327
- indexed: !0,
3328
- internalType: "uint256",
3329
- name: "commitment",
3330
- type: "uint256"
3331
- }],
3332
- name: "PermissionlessMint",
3333
- type: "event"
3334
- },
3335
- {
3336
- anonymous: !1,
3337
- inputs: [{
3338
- indexed: !1,
3339
- internalType: "uint256",
3340
- name: "nullifier",
3341
- type: "uint256"
3342
- }],
3343
- name: "StakeNullified",
3344
- type: "event"
3345
- },
3346
- {
3347
- anonymous: !1,
3348
- inputs: [{
3349
- indexed: !1,
3350
- internalType: "address",
3351
- name: "",
3352
- type: "address"
3353
- }, {
3354
- indexed: !1,
3355
- internalType: "address",
3356
- name: "",
3357
- type: "address"
3358
- }],
3359
- name: "TokenRegistryUpdate",
3360
- type: "event"
3361
- },
3362
- {
3363
- anonymous: !1,
3364
- inputs: [{
3365
- indexed: !1,
3366
- internalType: "uint256",
3367
- name: "verifierId",
3368
- type: "uint256"
3369
- }, {
3370
- indexed: !1,
3371
- internalType: "address",
3372
- name: "verifierAddress",
3373
- type: "address"
3374
- }],
3375
- name: "VerifierRegistered",
3376
- type: "event"
3377
- },
3378
- {
3379
- anonymous: !1,
3380
- inputs: [{
3381
- indexed: !1,
3382
- internalType: "uint256",
3383
- name: "verifierId",
3384
- type: "uint256"
3385
- }],
3386
- name: "VerifierRemoved",
3387
- type: "event"
3388
- },
3389
- {
3390
- inputs: [],
3391
- name: "acceptOwnership",
3392
- outputs: [],
3393
- stateMutability: "nonpayable",
3394
- type: "function"
3395
- },
3396
- {
3397
- inputs: [{
3398
- components: [
3399
- {
3400
- internalType: "uint16",
3401
- name: "tokenNumber",
3402
- type: "uint16"
3403
- },
3404
- {
3405
- internalType: "uint16",
3406
- name: "nullifierAmount",
3407
- type: "uint16"
3408
- },
3409
- {
3410
- internalType: "uint16",
3411
- name: "outputAmount",
3412
- type: "uint16"
3413
- }
3414
- ],
3415
- internalType: "struct Dimensions",
3416
- name: "dimensions",
3417
- type: "tuple"
3418
- }, {
3419
- internalType: "uint256",
3420
- name: "externalActionId",
3421
- type: "uint256"
3422
- }],
3423
- name: "buildVerifierId",
3424
- outputs: [{
3425
- internalType: "uint256",
3426
- name: "",
3427
- type: "uint256"
3428
- }],
3429
- stateMutability: "pure",
3430
- type: "function"
3431
- },
3432
- {
3433
- inputs: [],
3434
- name: "getRootHash",
3435
- outputs: [{
3436
- internalType: "uint256",
3437
- name: "",
3438
- type: "uint256"
3439
- }],
3440
- stateMutability: "view",
3441
- type: "function"
3442
- },
3443
- {
3444
- inputs: [{
3445
- internalType: "uint256",
3446
- name: "a",
3447
- type: "uint256"
3448
- }, {
3449
- internalType: "uint256",
3450
- name: "b",
3451
- type: "uint256"
3452
- }],
3453
- name: "hash2",
3454
- outputs: [{
3455
- internalType: "uint256",
3456
- name: "poseidonHash",
3457
- type: "uint256"
3458
- }],
3459
- stateMutability: "view",
3460
- type: "function"
3461
- },
3462
- {
3463
- inputs: [
3464
- {
3465
- internalType: "uint256",
3466
- name: "a0",
3467
- type: "uint256"
3468
- },
3469
- {
3470
- internalType: "uint256",
3471
- name: "a1",
3472
- type: "uint256"
3473
- },
3474
- {
3475
- internalType: "uint256",
3476
- name: "a2",
3477
- type: "uint256"
3478
- },
3479
- {
3480
- internalType: "uint256",
3481
- name: "a3",
3482
- type: "uint256"
3483
- }
3484
- ],
3485
- name: "hash4",
3486
- outputs: [{
3487
- internalType: "uint256",
3488
- name: "poseidonHash",
3489
- type: "uint256"
3490
- }],
3491
- stateMutability: "view",
3492
- type: "function"
3493
- },
3494
- {
3495
- inputs: [
3496
- {
3497
- internalType: "uint256",
3498
- name: "a0",
3499
- type: "uint256"
3500
- },
3501
- {
3502
- internalType: "uint256",
3503
- name: "a1",
3504
- type: "uint256"
3505
- },
3506
- {
3507
- internalType: "uint256",
3508
- name: "a2",
3509
- type: "uint256"
3510
- },
3511
- {
3512
- internalType: "uint256",
3513
- name: "a3",
3514
- type: "uint256"
3515
- },
3516
- {
3517
- internalType: "uint256",
3518
- name: "a4",
3519
- type: "uint256"
3520
- }
3521
- ],
3522
- name: "hash5",
3523
- outputs: [{
3524
- internalType: "uint256",
3525
- name: "poseidonHash",
3526
- type: "uint256"
3527
- }],
3528
- stateMutability: "view",
3529
- type: "function"
3530
- },
3531
- {
3532
- inputs: [{
3533
- internalType: "address",
3534
- name: "",
3535
- type: "address"
3536
- }, {
3537
- internalType: "uint256",
3538
- name: "",
3539
- type: "uint256"
3540
- }],
3541
- name: "isAmountValid",
3542
- outputs: [{
3543
- internalType: "bool",
3544
- name: "",
3545
- type: "bool"
3546
- }],
3547
- stateMutability: "view",
3548
- type: "function"
3549
- },
3550
- {
3551
- inputs: [{
3552
- internalType: "address",
3553
- name: "",
3554
- type: "address"
3555
- }],
3556
- name: "isRestrictionDisabled",
3557
- outputs: [{
3558
- internalType: "bool",
3559
- name: "",
3560
- type: "bool"
3561
- }],
3562
- stateMutability: "view",
3563
- type: "function"
3564
- },
3565
- {
3566
- inputs: [{
3567
- internalType: "uint256",
3568
- name: "x",
3569
- type: "uint256"
3570
- }],
3571
- name: "logarithm2",
3572
- outputs: [{
3573
- internalType: "uint256",
3574
- name: "y",
3575
- type: "uint256"
3576
- }],
3577
- stateMutability: "pure",
3578
- type: "function"
3579
- },
3580
- {
3581
- inputs: [],
3582
- name: "m_index",
3583
- outputs: [{
3584
- internalType: "uint256",
3585
- name: "",
3586
- type: "uint256"
3587
- }],
3588
- stateMutability: "view",
3589
- type: "function"
3590
- },
3591
- {
3592
- inputs: [],
3593
- name: "minAllowedTimestampOffset",
3594
- outputs: [{
3595
- internalType: "uint256",
3596
- name: "",
3597
- type: "uint256"
3598
- }],
3599
- stateMutability: "view",
3600
- type: "function"
3601
- },
3602
- {
3603
- inputs: [
3604
- {
3605
- internalType: "uint256[2]",
3606
- name: "a",
3607
- type: "uint256[2]"
3608
- },
3609
- {
3610
- internalType: "uint256[2][2]",
3611
- name: "b",
3612
- type: "uint256[2][2]"
3613
- },
3614
- {
3615
- internalType: "uint256[2]",
3616
- name: "c",
3617
- type: "uint256[2]"
3618
- },
3619
- {
3620
- components: [
3621
- {
3622
- internalType: "uint256[]",
3623
- name: "nullifiers",
3624
- type: "uint256[]"
3625
- },
3626
- {
3627
- internalType: "uint256[]",
3628
- name: "stakeAmounts",
3629
- type: "uint256[]"
3630
- },
3631
- {
3632
- internalType: "address[]",
3633
- name: "erc20TokenAddresses",
3634
- type: "address[]"
3635
- },
3636
- {
3637
- internalType: "address[]",
3638
- name: "stakedTokenRecipients",
3639
- type: "address[]"
3640
- },
3641
- {
3642
- internalType: "uint256",
3643
- name: "stakedMerkleRoot",
3644
- type: "uint256"
3645
- }
3646
- ],
3647
- internalType: "struct StakeProverData",
3648
- name: "stakeProverData",
3649
- type: "tuple"
3650
- }
3651
- ],
3652
- name: "mint",
3653
- outputs: [],
3654
- stateMutability: "nonpayable",
3655
- type: "function"
3656
- },
3657
- {
3658
- inputs: [
3659
- {
3660
- internalType: "uint256[2]",
3661
- name: "a",
3662
- type: "uint256[2]"
3663
- },
3664
- {
3665
- internalType: "uint256[2][2]",
3666
- name: "b",
3667
- type: "uint256[2][2]"
3668
- },
3669
- {
3670
- internalType: "uint256[2]",
3671
- name: "c",
3672
- type: "uint256[2]"
3673
- },
3674
- {
3675
- components: [
3676
- {
3677
- internalType: "uint256[]",
3678
- name: "nullifiers",
3679
- type: "uint256[]"
3680
- },
3681
- {
3682
- internalType: "uint256[]",
3683
- name: "stakeAmounts",
3684
- type: "uint256[]"
3685
- },
3686
- {
3687
- internalType: "address[]",
3688
- name: "erc20TokenAddresses",
3689
- type: "address[]"
3690
- },
3691
- {
3692
- internalType: "address[]",
3693
- name: "stakedTokenRecipients",
3694
- type: "address[]"
3695
- },
3696
- {
3697
- internalType: "uint256",
3698
- name: "stakedMerkleRoot",
3699
- type: "uint256"
3700
- }
3701
- ],
3702
- internalType: "struct StakeProverData",
3703
- name: "stakeProverData",
3704
- type: "tuple"
3705
- },
3706
- {
3707
- components: [{
3708
- internalType: "uint256",
3709
- name: "maxAllowedTimestamp",
3710
- type: "uint256"
3711
- }, {
3712
- internalType: "uint256",
3713
- name: "stakeCommitment",
3714
- type: "uint256"
3715
- }],
3716
- internalType: "struct StakeProverPermissionlessData",
3717
- name: "stakeProverPermissionlessData",
3718
- type: "tuple"
3719
- }
3720
- ],
3721
- name: "mintPermissionless",
3722
- outputs: [],
3723
- stateMutability: "nonpayable",
3724
- type: "function"
3725
- },
3726
- {
3727
- inputs: [
3728
- {
3729
- internalType: "address",
3730
- name: "",
3731
- type: "address"
3732
- },
3733
- {
3734
- internalType: "address",
3735
- name: "",
3736
- type: "address"
3737
- },
3738
- {
3739
- internalType: "uint256",
3740
- name: "",
3741
- type: "uint256"
3742
- },
3743
- {
3744
- internalType: "bytes",
3745
- name: "",
3746
- type: "bytes"
3747
- }
3748
- ],
3749
- name: "onERC721Received",
3750
- outputs: [{
3751
- internalType: "bytes4",
3752
- name: "",
3753
- type: "bytes4"
3754
- }],
3755
- stateMutability: "pure",
3756
- type: "function"
3757
- },
3758
- {
3759
- inputs: [],
3760
- name: "owner",
3761
- outputs: [{
3762
- internalType: "address",
3763
- name: "",
3764
- type: "address"
3765
- }],
3766
- stateMutability: "view",
3767
- type: "function"
3768
- },
3769
- {
3770
- inputs: [],
3771
- name: "pendingOwner",
3772
- outputs: [{
3773
- internalType: "address",
3774
- name: "",
3775
- type: "address"
3776
- }],
3777
- stateMutability: "view",
3778
- type: "function"
3779
- },
3780
- {
3781
- inputs: [],
3782
- name: "poseidon2",
3783
- outputs: [{
3784
- internalType: "contract IPoseidon2",
3785
- name: "",
3786
- type: "address"
3787
- }],
3788
- stateMutability: "view",
3789
- type: "function"
3790
- },
3791
- {
3792
- inputs: [],
3793
- name: "poseidon4",
3794
- outputs: [{
3795
- internalType: "contract IPoseidon4",
3796
- name: "",
3797
- type: "address"
3798
- }],
3799
- stateMutability: "view",
3800
- type: "function"
3801
- },
3802
- {
3803
- inputs: [],
3804
- name: "poseidon5",
3805
- outputs: [{
3806
- internalType: "contract IPoseidon5",
3807
- name: "",
3808
- type: "address"
3809
- }],
3810
- stateMutability: "view",
3811
- type: "function"
3812
- },
3813
- {
3814
- inputs: [{
3815
- internalType: "uint256[]",
3816
- name: "verifierIds",
3817
- type: "uint256[]"
3818
- }, {
3819
- internalType: "address[]",
3820
- name: "verifierAddresses",
3821
- type: "address[]"
3822
- }],
3823
- name: "registerVerifiers",
3824
- outputs: [],
3825
- stateMutability: "nonpayable",
3826
- type: "function"
3827
- },
3828
- {
3829
- inputs: [{
3830
- internalType: "uint256",
3831
- name: "verifierId",
3832
- type: "uint256"
3833
- }],
3834
- name: "removeVerifier",
3835
- outputs: [],
3836
- stateMutability: "nonpayable",
3837
- type: "function"
3838
- },
3839
- {
3840
- inputs: [],
3841
- name: "renounceOwnership",
3842
- outputs: [],
3843
- stateMutability: "view",
3844
- type: "function"
3845
- },
3846
- {
3847
- inputs: [{
3848
- internalType: "uint256",
3849
- name: "_root",
3850
- type: "uint256"
3851
- }],
3852
- name: "rootHashExists",
3853
- outputs: [{
3854
- internalType: "bool",
3855
- name: "",
3856
- type: "bool"
3857
- }],
3858
- stateMutability: "view",
3859
- type: "function"
3860
- },
3861
- {
3862
- inputs: [],
3863
- name: "rootIndex",
3864
- outputs: [{
3865
- internalType: "uint256",
3866
- name: "",
3867
- type: "uint256"
3868
- }],
3869
- stateMutability: "view",
3870
- type: "function"
3871
- },
3872
- {
3873
- inputs: [{
3874
- internalType: "uint256",
3875
- name: "",
3876
- type: "uint256"
3877
- }],
3878
- name: "roots",
3879
- outputs: [{
3880
- internalType: "uint256",
3881
- name: "",
3882
- type: "uint256"
3883
- }],
3884
- stateMutability: "view",
3885
- type: "function"
3886
- },
3887
- {
3888
- inputs: [{
3889
- components: [
3890
- {
3891
- internalType: "uint256",
3892
- name: "rootHashHinkal",
3893
- type: "uint256"
3894
- },
3895
- {
3896
- internalType: "address[]",
3897
- name: "erc20TokenAddresses",
3898
- type: "address[]"
3899
- },
3900
- {
3901
- internalType: "uint256[]",
3902
- name: "tokenIds",
3903
- type: "uint256[]"
3904
- },
3905
- {
3906
- internalType: "int256[]",
3907
- name: "amountChanges",
3908
- type: "int256[]"
3909
- },
3910
- {
3911
- internalType: "bool[]",
3912
- name: "onChainCreation",
3913
- type: "bool[]"
3914
- },
3915
- {
3916
- internalType: "int256[]",
3917
- name: "slippageValues",
3918
- type: "int256[]"
3919
- },
3920
- {
3921
- internalType: "uint256[][]",
3922
- name: "inputNullifiers",
3923
- type: "uint256[][]"
3924
- },
3925
- {
3926
- internalType: "uint256[][]",
3927
- name: "outCommitments",
3928
- type: "uint256[][]"
3929
- },
3930
- {
3931
- internalType: "bytes[][]",
3932
- name: "encryptedOutputs",
3933
- type: "bytes[][]"
3934
- },
3935
- {
3936
- components: [
3937
- {
3938
- internalType: "address",
3939
- name: "feeToken",
3940
- type: "address"
3941
- },
3942
- {
3943
- internalType: "uint256",
3944
- name: "flatFee",
3945
- type: "uint256"
3946
- },
3947
- {
3948
- internalType: "uint256",
3949
- name: "variableRate",
3950
- type: "uint256"
3951
- }
3952
- ],
3953
- internalType: "struct FeeStructure",
3954
- name: "feeStructure",
3955
- type: "tuple"
3956
- },
3957
- {
3958
- internalType: "uint256",
3959
- name: "timeStamp",
3960
- type: "uint256"
3961
- },
3962
- {
3963
- components: [
3964
- {
3965
- internalType: "uint256",
3966
- name: "extraRandomization",
3967
- type: "uint256"
3968
- },
3969
- {
3970
- internalType: "uint256",
3971
- name: "stealthAddress",
3972
- type: "uint256"
3973
- },
3974
- {
3975
- internalType: "uint256",
3976
- name: "H0",
3977
- type: "uint256"
3978
- },
3979
- {
3980
- internalType: "uint256",
3981
- name: "H1",
3982
- type: "uint256"
3983
- }
3984
- ],
3985
- internalType: "struct StealthAddressStructure",
3986
- name: "stealthAddressStructure",
3987
- type: "tuple"
3988
- },
3989
- {
3990
- internalType: "uint256",
3991
- name: "rootHashAccessToken",
3992
- type: "uint256"
3993
- },
3994
- {
3995
- internalType: "uint256",
3996
- name: "calldataHash",
3997
- type: "uint256"
3998
- },
3999
- {
4000
- internalType: "uint16",
4001
- name: "publicSignalCount",
4002
- type: "uint16"
4003
- },
4004
- {
4005
- internalType: "address",
4006
- name: "relay",
4007
- type: "address"
4008
- },
4009
- {
4010
- internalType: "address",
4011
- name: "externalAddress",
4012
- type: "address"
4013
- },
4014
- {
4015
- internalType: "uint256",
4016
- name: "externalActionId",
4017
- type: "uint256"
4018
- },
4019
- {
4020
- internalType: "bytes",
4021
- name: "externalActionMetadata",
4022
- type: "bytes"
4023
- },
4024
- {
4025
- components: [
4026
- {
4027
- internalType: "uint256",
4028
- name: "hinkalLogicAction",
4029
- type: "uint256"
4030
- },
4031
- {
4032
- internalType: "uint256",
4033
- name: "inHinkalAddress",
4034
- type: "uint256"
4035
- },
4036
- {
4037
- internalType: "int256[]",
4038
- name: "executeApprovalChanges",
4039
- type: "int256[]"
4040
- },
4041
- {
4042
- internalType: "bool",
4043
- name: "doPreTxApproval",
4044
- type: "bool"
4045
- },
4046
- {
4047
- components: [
4048
- {
4049
- internalType: "int256[]",
4050
- name: "approvalChanges",
4051
- type: "int256[]"
4052
- },
4053
- {
4054
- internalType: "address[]",
4055
- name: "externalApprovalAddresses",
4056
- type: "address[]"
4057
- },
4058
- {
4059
- internalType: "uint256[]",
4060
- name: "conversionInHinkalAddress",
4061
- type: "uint256[]"
4062
- }
4063
- ],
4064
- internalType: "struct UseApprovalUTXOData[]",
4065
- name: "useApprovalUtxoData",
4066
- type: "tuple[]"
4067
- }
4068
- ],
4069
- internalType: "struct HinkalLogicArgs",
4070
- name: "hinkalLogicArgs",
4071
- type: "tuple"
4072
- },
4073
- {
4074
- components: [
4075
- {
4076
- internalType: "address",
4077
- name: "preHookContract",
4078
- type: "address"
4079
- },
4080
- {
4081
- internalType: "address",
4082
- name: "hookContract",
4083
- type: "address"
4084
- },
4085
- {
4086
- internalType: "bytes",
4087
- name: "preHookMetadata",
4088
- type: "bytes"
4089
- },
4090
- {
4091
- internalType: "bytes",
4092
- name: "postHookMetadata",
4093
- type: "bytes"
4094
- }
4095
- ],
4096
- internalType: "struct HookData",
4097
- name: "hookData",
4098
- type: "tuple"
4099
- },
4100
- {
4101
- components: [
4102
- {
4103
- internalType: "uint8",
4104
- name: "v",
4105
- type: "uint8"
4106
- },
4107
- {
4108
- internalType: "bytes32",
4109
- name: "r",
4110
- type: "bytes32"
4111
- },
4112
- {
4113
- internalType: "bytes32",
4114
- name: "s",
4115
- type: "bytes32"
4116
- },
4117
- {
4118
- internalType: "uint256",
4119
- name: "accessKey",
4120
- type: "uint256"
4121
- },
4122
- {
4123
- internalType: "uint256",
4124
- name: "nonce",
4125
- type: "uint256"
4126
- },
4127
- {
4128
- internalType: "address",
4129
- name: "ethereumAddress",
4130
- type: "address"
4131
- }
4132
- ],
4133
- internalType: "struct SignatureData",
4134
- name: "signatureData",
4135
- type: "tuple"
4136
- },
4137
- {
4138
- internalType: "address",
4139
- name: "originalSender",
4140
- type: "address"
4141
- }
4142
- ],
4143
- internalType: "struct CircomData",
4144
- name: "circomData",
4145
- type: "tuple"
4146
- }],
4147
- name: "runAction",
4148
- outputs: [{
4149
- components: [
4150
- {
4151
- internalType: "uint256",
4152
- name: "amount",
4153
- type: "uint256"
4154
- },
4155
- {
4156
- internalType: "address",
4157
- name: "erc20Address",
4158
- type: "address"
4159
- },
4160
- {
4161
- components: [
4162
- {
4163
- internalType: "uint256",
4164
- name: "extraRandomization",
4165
- type: "uint256"
4166
- },
4167
- {
4168
- internalType: "uint256",
4169
- name: "stealthAddress",
4170
- type: "uint256"
4171
- },
4172
- {
4173
- internalType: "uint256",
4174
- name: "H0",
4175
- type: "uint256"
4176
- },
4177
- {
4178
- internalType: "uint256",
4179
- name: "H1",
4180
- type: "uint256"
4181
- }
4182
- ],
4183
- internalType: "struct StealthAddressStructure",
4184
- name: "stealthAddressStructure",
4185
- type: "tuple"
4186
- },
4187
- {
4188
- internalType: "uint256",
4189
- name: "timeStamp",
4190
- type: "uint256"
4191
- },
4192
- {
4193
- internalType: "uint256",
4194
- name: "tokenId",
4195
- type: "uint256"
4196
- }
4197
- ],
4198
- internalType: "struct UTXO[]",
4199
- name: "",
4200
- type: "tuple[]"
4201
- }],
4202
- stateMutability: "nonpayable",
4203
- type: "function"
4204
- },
4205
- {
4206
- inputs: [{
4207
- internalType: "address[]",
4208
- name: "recipients",
4209
- type: "address[]"
4210
- }],
4211
- name: "setAllowedRecipients",
4212
- outputs: [],
4213
- stateMutability: "nonpayable",
4214
- type: "function"
4215
- },
4216
- {
4217
- inputs: [{
4218
- internalType: "address",
4219
- name: "",
4220
- type: "address"
4221
- }],
4222
- name: "tokenToHtoken",
4223
- outputs: [{
4224
- internalType: "contract IERC4626",
4225
- name: "",
4226
- type: "address"
4227
- }],
4228
- stateMutability: "view",
4229
- type: "function"
4230
- },
4231
- {
4232
- inputs: [{
4233
- internalType: "address",
4234
- name: "newOwner",
4235
- type: "address"
4236
- }],
4237
- name: "transferOwnership",
4238
- outputs: [],
4239
- stateMutability: "nonpayable",
4240
- type: "function"
4241
- },
4242
- {
4243
- inputs: [{
4244
- internalType: "uint256",
4245
- name: "",
4246
- type: "uint256"
4247
- }],
4248
- name: "tree",
4249
- outputs: [{
4250
- internalType: "uint256",
4251
- name: "",
4252
- type: "uint256"
4253
- }],
4254
- stateMutability: "view",
4255
- type: "function"
4256
- },
4257
- {
4258
- inputs: [
4259
- {
4260
- internalType: "address",
4261
- name: "collateral",
4262
- type: "address"
4263
- },
4264
- {
4265
- internalType: "uint256",
4266
- name: "amount",
4267
- type: "uint256"
4268
- },
4269
- {
4270
- internalType: "bool",
4271
- name: "isValid",
4272
- type: "bool"
4273
- }
4274
- ],
4275
- name: "updateAmountValidity",
4276
- outputs: [],
4277
- stateMutability: "nonpayable",
4278
- type: "function"
4279
- },
4280
- {
4281
- inputs: [{
4282
- internalType: "address",
4283
- name: "collateral",
4284
- type: "address"
4285
- }, {
4286
- internalType: "bool",
4287
- name: "isDisabled",
4288
- type: "bool"
4289
- }],
4290
- name: "updateIsRestrictionDisabled",
4291
- outputs: [],
4292
- stateMutability: "nonpayable",
4293
- type: "function"
4294
- },
4295
- {
4296
- inputs: [{
4297
- internalType: "uint256",
4298
- name: "newMinAllowedTimestampOffset",
4299
- type: "uint256"
4300
- }],
4301
- name: "updateMinAllowedTimestampOffset",
4302
- outputs: [],
4303
- stateMutability: "nonpayable",
4304
- type: "function"
4305
- },
4306
- {
4307
- inputs: [{
4308
- internalType: "address",
4309
- name: "collateral",
4310
- type: "address"
4311
- }, {
4312
- internalType: "address",
4313
- name: "hToken",
4314
- type: "address"
4315
- }],
4316
- name: "updateTokenRegistry",
4317
- outputs: [],
4318
- stateMutability: "nonpayable",
4319
- type: "function"
4320
- },
4321
- {
4322
- inputs: [{
4323
- internalType: "uint256",
4324
- name: "",
4325
- type: "uint256"
4326
- }],
4327
- name: "usedNullifiers",
4328
- outputs: [{
4329
- internalType: "bool",
4330
- name: "",
4331
- type: "bool"
4332
- }],
4333
- stateMutability: "view",
4334
- type: "function"
4335
- },
4336
- {
4337
- inputs: [{
4338
- internalType: "uint256",
4339
- name: "",
4340
- type: "uint256"
4341
- }],
4342
- name: "verifierMap",
4343
- outputs: [{
4344
- internalType: "contract IVerifier",
4345
- name: "",
4346
- type: "address"
4347
- }],
4348
- stateMutability: "view",
4349
- type: "function"
4350
- },
4351
- {
4352
- stateMutability: "payable",
4353
- type: "receive"
4354
- }
4355
- ],
4356
- HTokenABI: [
4357
- {
4358
- inputs: [
4359
- {
4360
- internalType: "string",
4361
- name: "name_",
4362
- type: "string"
4363
- },
4364
- {
4365
- internalType: "string",
4366
- name: "symbol_",
4367
- type: "string"
4368
- },
4369
- {
4370
- internalType: "contract IERC20",
4371
- name: "_baseToken",
4372
- type: "address"
4373
- },
4374
- {
4375
- internalType: "address",
4376
- name: "_hinkalAddress",
4377
- type: "address"
4378
- },
4379
- {
4380
- internalType: "address",
4381
- name: "_externalAction",
4382
- type: "address"
4383
- }
4384
- ],
4385
- stateMutability: "nonpayable",
4386
- type: "constructor"
4387
- },
4388
- {
4389
- inputs: [],
4390
- name: "MustBeExternalAction",
4391
- type: "error"
4392
- },
4393
- {
4394
- inputs: [],
4395
- name: "NoShares",
4396
- type: "error"
4397
- },
4398
- {
4399
- anonymous: !1,
4400
- inputs: [
4401
- {
4402
- indexed: !0,
4403
- internalType: "address",
4404
- name: "owner",
4405
- type: "address"
4406
- },
4407
- {
4408
- indexed: !0,
4409
- internalType: "address",
4410
- name: "spender",
4411
- type: "address"
4412
- },
4413
- {
4414
- indexed: !1,
4415
- internalType: "uint256",
4416
- name: "value",
4417
- type: "uint256"
4418
- }
4419
- ],
4420
- name: "Approval",
4421
- type: "event"
4422
- },
4423
- {
4424
- anonymous: !1,
4425
- inputs: [
4426
- {
4427
- indexed: !0,
4428
- internalType: "address",
4429
- name: "sender",
4430
- type: "address"
4431
- },
4432
- {
4433
- indexed: !0,
4434
- internalType: "address",
4435
- name: "owner",
4436
- type: "address"
4437
- },
4438
- {
4439
- indexed: !1,
4440
- internalType: "uint256",
4441
- name: "assets",
4442
- type: "uint256"
4443
- },
4444
- {
4445
- indexed: !1,
4446
- internalType: "uint256",
4447
- name: "shares",
4448
- type: "uint256"
4449
- }
4450
- ],
4451
- name: "Deposit",
4452
- type: "event"
4453
- },
4454
- {
4455
- anonymous: !1,
4456
- inputs: [{
4457
- indexed: !0,
4458
- internalType: "address",
4459
- name: "previousOwner",
4460
- type: "address"
4461
- }, {
4462
- indexed: !0,
4463
- internalType: "address",
4464
- name: "newOwner",
4465
- type: "address"
4466
- }],
4467
- name: "OwnershipTransferred",
4468
- type: "event"
4469
- },
4470
- {
4471
- anonymous: !1,
4472
- inputs: [{
4473
- indexed: !1,
4474
- internalType: "uint256",
4475
- name: "assets",
4476
- type: "uint256"
4477
- }],
4478
- name: "RewardAdded",
4479
- type: "event"
4480
- },
4481
- {
4482
- anonymous: !1,
4483
- inputs: [
4484
- {
4485
- indexed: !0,
4486
- internalType: "address",
4487
- name: "from",
4488
- type: "address"
4489
- },
4490
- {
4491
- indexed: !0,
4492
- internalType: "address",
4493
- name: "to",
4494
- type: "address"
4495
- },
4496
- {
4497
- indexed: !1,
4498
- internalType: "uint256",
4499
- name: "value",
4500
- type: "uint256"
4501
- }
4502
- ],
4503
- name: "Transfer",
4504
- type: "event"
4505
- },
4506
- {
4507
- anonymous: !1,
4508
- inputs: [
4509
- {
4510
- indexed: !0,
4511
- internalType: "address",
4512
- name: "sender",
4513
- type: "address"
4514
- },
4515
- {
4516
- indexed: !0,
4517
- internalType: "address",
4518
- name: "receiver",
4519
- type: "address"
4520
- },
4521
- {
4522
- indexed: !0,
4523
- internalType: "address",
4524
- name: "owner",
4525
- type: "address"
4526
- },
4527
- {
4528
- indexed: !1,
4529
- internalType: "uint256",
4530
- name: "assets",
4531
- type: "uint256"
4532
- },
4533
- {
4534
- indexed: !1,
4535
- internalType: "uint256",
4536
- name: "shares",
4537
- type: "uint256"
4538
- }
4539
- ],
4540
- name: "Withdraw",
4541
- type: "event"
4542
- },
4543
- {
4544
- inputs: [{
4545
- internalType: "uint256",
4546
- name: "assets",
4547
- type: "uint256"
4548
- }],
4549
- name: "addReward",
4550
- outputs: [],
4551
- stateMutability: "payable",
4552
- type: "function"
4553
- },
4554
- {
4555
- inputs: [{
4556
- internalType: "address",
4557
- name: "owner",
4558
- type: "address"
4559
- }, {
4560
- internalType: "address",
4561
- name: "spender",
4562
- type: "address"
4563
- }],
4564
- name: "allowance",
4565
- outputs: [{
4566
- internalType: "uint256",
4567
- name: "",
4568
- type: "uint256"
4569
- }],
4570
- stateMutability: "view",
4571
- type: "function"
4572
- },
4573
- {
4574
- inputs: [{
4575
- internalType: "address",
4576
- name: "spender",
4577
- type: "address"
4578
- }, {
4579
- internalType: "uint256",
4580
- name: "amount",
4581
- type: "uint256"
4582
- }],
4583
- name: "approve",
4584
- outputs: [{
4585
- internalType: "bool",
4586
- name: "",
4587
- type: "bool"
4588
- }],
4589
- stateMutability: "nonpayable",
4590
- type: "function"
4591
- },
4592
- {
4593
- inputs: [],
4594
- name: "asset",
4595
- outputs: [{
4596
- internalType: "address",
4597
- name: "",
4598
- type: "address"
4599
- }],
4600
- stateMutability: "view",
4601
- type: "function"
4602
- },
4603
- {
4604
- inputs: [{
4605
- internalType: "address",
4606
- name: "account",
4607
- type: "address"
4608
- }],
4609
- name: "balanceOf",
4610
- outputs: [{
4611
- internalType: "uint256",
4612
- name: "",
4613
- type: "uint256"
4614
- }],
4615
- stateMutability: "view",
4616
- type: "function"
4617
- },
4618
- {
4619
- inputs: [{
4620
- internalType: "uint256",
4621
- name: "shares",
4622
- type: "uint256"
4623
- }],
4624
- name: "convertToAssets",
4625
- outputs: [{
4626
- internalType: "uint256",
4627
- name: "",
4628
- type: "uint256"
4629
- }],
4630
- stateMutability: "view",
4631
- type: "function"
4632
- },
4633
- {
4634
- inputs: [{
4635
- internalType: "uint256",
4636
- name: "assets",
4637
- type: "uint256"
4638
- }],
4639
- name: "convertToShares",
4640
- outputs: [{
4641
- internalType: "uint256",
4642
- name: "",
4643
- type: "uint256"
4644
- }],
4645
- stateMutability: "view",
4646
- type: "function"
4647
- },
4648
- {
4649
- inputs: [],
4650
- name: "decimals",
4651
- outputs: [{
4652
- internalType: "uint8",
4653
- name: "",
4654
- type: "uint8"
4655
- }],
4656
- stateMutability: "view",
4657
- type: "function"
4658
- },
4659
- {
4660
- inputs: [{
4661
- internalType: "address",
4662
- name: "spender",
4663
- type: "address"
4664
- }, {
4665
- internalType: "uint256",
4666
- name: "subtractedValue",
4667
- type: "uint256"
4668
- }],
4669
- name: "decreaseAllowance",
4670
- outputs: [{
4671
- internalType: "bool",
4672
- name: "",
4673
- type: "bool"
4674
- }],
4675
- stateMutability: "nonpayable",
4676
- type: "function"
4677
- },
4678
- {
4679
- inputs: [{
4680
- internalType: "uint256",
4681
- name: "assets",
4682
- type: "uint256"
4683
- }, {
4684
- internalType: "address",
4685
- name: "receiver",
4686
- type: "address"
4687
- }],
4688
- name: "deposit",
4689
- outputs: [{
4690
- internalType: "uint256",
4691
- name: "",
4692
- type: "uint256"
4693
- }],
4694
- stateMutability: "nonpayable",
4695
- type: "function"
4696
- },
4697
- {
4698
- inputs: [],
4699
- name: "externalAction",
4700
- outputs: [{
4701
- internalType: "address",
4702
- name: "",
4703
- type: "address"
4704
- }],
4705
- stateMutability: "view",
4706
- type: "function"
4707
- },
4708
- {
4709
- inputs: [],
4710
- name: "hinkalAddress",
4711
- outputs: [{
4712
- internalType: "address",
4713
- name: "",
4714
- type: "address"
4715
- }],
4716
- stateMutability: "view",
4717
- type: "function"
4718
- },
4719
- {
4720
- inputs: [{
4721
- internalType: "address",
4722
- name: "spender",
4723
- type: "address"
4724
- }, {
4725
- internalType: "uint256",
4726
- name: "addedValue",
4727
- type: "uint256"
4728
- }],
4729
- name: "increaseAllowance",
4730
- outputs: [{
4731
- internalType: "bool",
4732
- name: "",
4733
- type: "bool"
4734
- }],
4735
- stateMutability: "nonpayable",
4736
- type: "function"
4737
- },
4738
- {
4739
- inputs: [{
4740
- internalType: "address",
4741
- name: "",
4742
- type: "address"
4743
- }],
4744
- name: "maxDeposit",
4745
- outputs: [{
4746
- internalType: "uint256",
4747
- name: "",
4748
- type: "uint256"
4749
- }],
4750
- stateMutability: "view",
4751
- type: "function"
4752
- },
4753
- {
4754
- inputs: [{
4755
- internalType: "address",
4756
- name: "",
4757
- type: "address"
4758
- }],
4759
- name: "maxMint",
4760
- outputs: [{
4761
- internalType: "uint256",
4762
- name: "",
4763
- type: "uint256"
4764
- }],
4765
- stateMutability: "view",
4766
- type: "function"
4767
- },
4768
- {
4769
- inputs: [{
4770
- internalType: "address",
4771
- name: "owner",
4772
- type: "address"
4773
- }],
4774
- name: "maxRedeem",
4775
- outputs: [{
4776
- internalType: "uint256",
4777
- name: "",
4778
- type: "uint256"
4779
- }],
4780
- stateMutability: "view",
4781
- type: "function"
4782
- },
4783
- {
4784
- inputs: [{
4785
- internalType: "address",
4786
- name: "owner",
4787
- type: "address"
4788
- }],
4789
- name: "maxWithdraw",
4790
- outputs: [{
4791
- internalType: "uint256",
4792
- name: "",
4793
- type: "uint256"
4794
- }],
4795
- stateMutability: "view",
4796
- type: "function"
4797
- },
4798
- {
4799
- inputs: [{
4800
- internalType: "uint256",
4801
- name: "shares",
4802
- type: "uint256"
4803
- }, {
4804
- internalType: "address",
4805
- name: "receiver",
4806
- type: "address"
4807
- }],
4808
- name: "mint",
4809
- outputs: [{
4810
- internalType: "uint256",
4811
- name: "",
4812
- type: "uint256"
4813
- }],
4814
- stateMutability: "nonpayable",
4815
- type: "function"
4816
- },
4817
- {
4818
- inputs: [],
4819
- name: "name",
4820
- outputs: [{
4821
- internalType: "string",
4822
- name: "",
4823
- type: "string"
4824
- }],
4825
- stateMutability: "view",
4826
- type: "function"
4827
- },
4828
- {
4829
- inputs: [
4830
- {
4831
- internalType: "address",
4832
- name: "",
4833
- type: "address"
4834
- },
4835
- {
4836
- internalType: "address",
4837
- name: "",
4838
- type: "address"
4839
- },
4840
- {
4841
- internalType: "uint256",
4842
- name: "",
4843
- type: "uint256"
4844
- },
4845
- {
4846
- internalType: "bytes",
4847
- name: "",
4848
- type: "bytes"
4849
- }
4850
- ],
4851
- name: "onERC721Received",
4852
- outputs: [{
4853
- internalType: "bytes4",
4854
- name: "",
4855
- type: "bytes4"
4856
- }],
4857
- stateMutability: "pure",
4858
- type: "function"
4859
- },
4860
- {
4861
- inputs: [],
4862
- name: "owner",
4863
- outputs: [{
4864
- internalType: "address",
4865
- name: "",
4866
- type: "address"
4867
- }],
4868
- stateMutability: "view",
4869
- type: "function"
4870
- },
4871
- {
4872
- inputs: [{
4873
- internalType: "uint256",
4874
- name: "assets",
4875
- type: "uint256"
4876
- }],
4877
- name: "previewDeposit",
4878
- outputs: [{
4879
- internalType: "uint256",
4880
- name: "",
4881
- type: "uint256"
4882
- }],
4883
- stateMutability: "view",
4884
- type: "function"
4885
- },
4886
- {
4887
- inputs: [{
4888
- internalType: "uint256",
4889
- name: "shares",
4890
- type: "uint256"
4891
- }],
4892
- name: "previewMint",
4893
- outputs: [{
4894
- internalType: "uint256",
4895
- name: "",
4896
- type: "uint256"
4897
- }],
4898
- stateMutability: "view",
4899
- type: "function"
4900
- },
4901
- {
4902
- inputs: [{
4903
- internalType: "uint256",
4904
- name: "shares",
4905
- type: "uint256"
4906
- }],
4907
- name: "previewRedeem",
4908
- outputs: [{
4909
- internalType: "uint256",
4910
- name: "",
4911
- type: "uint256"
4912
- }],
4913
- stateMutability: "view",
4914
- type: "function"
4915
- },
4916
- {
4917
- inputs: [{
4918
- internalType: "uint256",
4919
- name: "assets",
4920
- type: "uint256"
4921
- }],
4922
- name: "previewWithdraw",
4923
- outputs: [{
4924
- internalType: "uint256",
4925
- name: "",
4926
- type: "uint256"
4927
- }],
4928
- stateMutability: "view",
4929
- type: "function"
4930
- },
4931
- {
4932
- inputs: [
4933
- {
4934
- internalType: "uint256",
4935
- name: "shares",
4936
- type: "uint256"
4937
- },
4938
- {
4939
- internalType: "address",
4940
- name: "receiver",
4941
- type: "address"
4942
- },
4943
- {
4944
- internalType: "address",
4945
- name: "owner",
4946
- type: "address"
4947
- }
4948
- ],
4949
- name: "redeem",
4950
- outputs: [{
4951
- internalType: "uint256",
4952
- name: "",
4953
- type: "uint256"
4954
- }],
4955
- stateMutability: "nonpayable",
4956
- type: "function"
4957
- },
4958
- {
4959
- inputs: [],
4960
- name: "renounceOwnership",
4961
- outputs: [],
4962
- stateMutability: "nonpayable",
4963
- type: "function"
4964
- },
4965
- {
4966
- inputs: [{
4967
- internalType: "address",
4968
- name: "_externalAction",
4969
- type: "address"
4970
- }],
4971
- name: "setExternalAction",
4972
- outputs: [],
4973
- stateMutability: "nonpayable",
4974
- type: "function"
4975
- },
4976
- {
4977
- inputs: [{
4978
- internalType: "address",
4979
- name: "_hinkalAddress",
4980
- type: "address"
4981
- }],
4982
- name: "setHinkalAddress",
4983
- outputs: [],
4984
- stateMutability: "nonpayable",
4985
- type: "function"
4986
- },
4987
- {
4988
- inputs: [],
4989
- name: "symbol",
4990
- outputs: [{
4991
- internalType: "string",
4992
- name: "",
4993
- type: "string"
4994
- }],
4995
- stateMutability: "view",
4996
- type: "function"
4997
- },
4998
- {
4999
- inputs: [],
5000
- name: "totalAssets",
5001
- outputs: [{
5002
- internalType: "uint256",
5003
- name: "",
5004
- type: "uint256"
5005
- }],
5006
- stateMutability: "view",
5007
- type: "function"
5008
- },
5009
- {
5010
- inputs: [],
5011
- name: "totalSupply",
5012
- outputs: [{
5013
- internalType: "uint256",
5014
- name: "",
5015
- type: "uint256"
5016
- }],
5017
- stateMutability: "view",
5018
- type: "function"
5019
- },
5020
- {
5021
- inputs: [{
5022
- internalType: "address",
5023
- name: "to",
5024
- type: "address"
5025
- }, {
5026
- internalType: "uint256",
5027
- name: "amount",
5028
- type: "uint256"
5029
- }],
5030
- name: "transfer",
5031
- outputs: [{
5032
- internalType: "bool",
5033
- name: "",
5034
- type: "bool"
5035
- }],
5036
- stateMutability: "nonpayable",
5037
- type: "function"
5038
- },
5039
- {
5040
- inputs: [
5041
- {
5042
- internalType: "address",
5043
- name: "from",
5044
- type: "address"
5045
- },
5046
- {
5047
- internalType: "address",
5048
- name: "to",
5049
- type: "address"
5050
- },
5051
- {
5052
- internalType: "uint256",
5053
- name: "amount",
5054
- type: "uint256"
5055
- }
5056
- ],
5057
- name: "transferFrom",
5058
- outputs: [{
5059
- internalType: "bool",
5060
- name: "",
5061
- type: "bool"
5062
- }],
5063
- stateMutability: "nonpayable",
5064
- type: "function"
5065
- },
5066
- {
5067
- inputs: [{
5068
- internalType: "address",
5069
- name: "newOwner",
5070
- type: "address"
5071
- }],
5072
- name: "transferOwnership",
5073
- outputs: [],
5074
- stateMutability: "nonpayable",
5075
- type: "function"
5076
- },
5077
- {
5078
- inputs: [
5079
- {
5080
- internalType: "uint256",
5081
- name: "assets",
5082
- type: "uint256"
5083
- },
5084
- {
5085
- internalType: "address",
5086
- name: "receiver",
5087
- type: "address"
5088
- },
5089
- {
5090
- internalType: "address",
5091
- name: "owner",
5092
- type: "address"
5093
- }
5094
- ],
5095
- name: "withdraw",
5096
- outputs: [{
5097
- internalType: "uint256",
5098
- name: "",
5099
- type: "uint256"
5100
- }],
5101
- stateMutability: "nonpayable",
5102
- type: "function"
5103
- }
5104
- ],
5105
- HTokenOracleABI: [
5106
- {
5107
- inputs: [{
5108
- internalType: "contract IERC4626",
5109
- name: "_hToken",
5110
- type: "address"
5111
- }],
5112
- stateMutability: "nonpayable",
5113
- type: "constructor"
5114
- },
5115
- {
5116
- inputs: [],
5117
- name: "exchangeRate",
5118
- outputs: [{
5119
- internalType: "uint256",
5120
- name: "",
5121
- type: "uint256"
5122
- }],
5123
- stateMutability: "view",
5124
- type: "function"
5125
- },
5126
- {
5127
- inputs: [],
5128
- name: "hToken",
5129
- outputs: [{
5130
- internalType: "contract IERC4626",
5131
- name: "",
5132
- type: "address"
5133
- }],
5134
- stateMutability: "view",
5135
- type: "function"
5136
- }
5137
- ],
5138
3070
  emporiumAddress: "0xcA64D9B41710Bd6e1818D3F0bED939F8e7c5a490",
5139
3071
  hinkalWalletAddress: "0x27e94345eAcb931FcE5b9645F078368Ddb67eCa8",
5140
3072
  hinkalWrapperAddress: "0x99B5a72d017E08414194c5bdF101ddd2138d171f",