@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
@@ -3329,2252 +3329,6 @@ var e = {
3329
3329
  type: "function"
3330
3330
  }
3331
3331
  ],
3332
- HinkalStakeExternalActionABI: [
3333
- {
3334
- inputs: [{
3335
- internalType: "address[]",
3336
- name: "allowedRecipients",
3337
- type: "address[]"
3338
- }, {
3339
- components: [
3340
- {
3341
- internalType: "uint128",
3342
- name: "levels",
3343
- type: "uint128"
3344
- },
3345
- {
3346
- internalType: "address",
3347
- name: "poseidon2",
3348
- type: "address"
3349
- },
3350
- {
3351
- internalType: "address",
3352
- name: "poseidon4",
3353
- type: "address"
3354
- },
3355
- {
3356
- internalType: "address",
3357
- name: "poseidon5",
3358
- type: "address"
3359
- }
3360
- ],
3361
- internalType: "struct IMerkle.MerkleConstructorArgs",
3362
- name: "merkleConstructorArgs",
3363
- type: "tuple"
3364
- }],
3365
- stateMutability: "nonpayable",
3366
- type: "constructor"
3367
- },
3368
- {
3369
- inputs: [],
3370
- name: "BaseTokenNotRegistered",
3371
- type: "error"
3372
- },
3373
- {
3374
- inputs: [],
3375
- name: "EtherMismatch",
3376
- type: "error"
3377
- },
3378
- {
3379
- inputs: [],
3380
- name: "InvalidAmount",
3381
- type: "error"
3382
- },
3383
- {
3384
- inputs: [],
3385
- name: "InvalidHToken",
3386
- type: "error"
3387
- },
3388
- {
3389
- inputs: [],
3390
- name: "InvalidInputCount",
3391
- type: "error"
3392
- },
3393
- {
3394
- inputs: [],
3395
- name: "InvalidLength",
3396
- type: "error"
3397
- },
3398
- {
3399
- inputs: [],
3400
- name: "InvalidMerkleRoot",
3401
- type: "error"
3402
- },
3403
- {
3404
- inputs: [],
3405
- name: "InvalidProof",
3406
- type: "error"
3407
- },
3408
- {
3409
- inputs: [{
3410
- internalType: "uint8",
3411
- name: "which",
3412
- type: "uint8"
3413
- }],
3414
- name: "LengthMismatch",
3415
- type: "error"
3416
- },
3417
- {
3418
- inputs: [],
3419
- name: "MustBeDepositOrStake",
3420
- type: "error"
3421
- },
3422
- {
3423
- inputs: [],
3424
- name: "MustBeUnstake",
3425
- type: "error"
3426
- },
3427
- {
3428
- inputs: [],
3429
- name: "NullifierAlreadyUsed",
3430
- type: "error"
3431
- },
3432
- {
3433
- inputs: [],
3434
- name: "RelayForbidden",
3435
- type: "error"
3436
- },
3437
- {
3438
- inputs: [],
3439
- name: "SenderDepositorMismatch",
3440
- type: "error"
3441
- },
3442
- {
3443
- inputs: [],
3444
- name: "TimestampTooNew",
3445
- type: "error"
3446
- },
3447
- {
3448
- anonymous: !1,
3449
- inputs: [
3450
- {
3451
- indexed: !1,
3452
- internalType: "address",
3453
- name: "",
3454
- type: "address"
3455
- },
3456
- {
3457
- indexed: !1,
3458
- internalType: "uint256",
3459
- name: "",
3460
- type: "uint256"
3461
- },
3462
- {
3463
- indexed: !1,
3464
- internalType: "bool",
3465
- name: "",
3466
- type: "bool"
3467
- }
3468
- ],
3469
- name: "AmountValidityUpdate",
3470
- type: "event"
3471
- },
3472
- {
3473
- anonymous: !1,
3474
- inputs: [{
3475
- indexed: !1,
3476
- internalType: "address",
3477
- name: "",
3478
- type: "address"
3479
- }, {
3480
- indexed: !1,
3481
- internalType: "bool",
3482
- name: "",
3483
- type: "bool"
3484
- }],
3485
- name: "IsRestrictionDisabledUpdate",
3486
- type: "event"
3487
- },
3488
- {
3489
- anonymous: !1,
3490
- inputs: [{
3491
- indexed: !1,
3492
- internalType: "uint256",
3493
- name: "",
3494
- type: "uint256"
3495
- }],
3496
- name: "MinAllowedTimestampOffsetUpdate",
3497
- type: "event"
3498
- },
3499
- {
3500
- anonymous: !1,
3501
- inputs: [
3502
- {
3503
- indexed: !0,
3504
- internalType: "uint256",
3505
- name: "index",
3506
- type: "uint256"
3507
- },
3508
- {
3509
- indexed: !1,
3510
- internalType: "uint256",
3511
- name: "stakeCommitment",
3512
- type: "uint256"
3513
- },
3514
- {
3515
- indexed: !0,
3516
- internalType: "address",
3517
- name: "staker",
3518
- type: "address"
3519
- },
3520
- {
3521
- indexed: !1,
3522
- internalType: "address",
3523
- name: "baseToken",
3524
- type: "address"
3525
- },
3526
- {
3527
- indexed: !1,
3528
- internalType: "uint256",
3529
- name: "stakedAmount",
3530
- type: "uint256"
3531
- },
3532
- {
3533
- indexed: !1,
3534
- internalType: "bytes",
3535
- name: "encryptedStakeCommitmentContent",
3536
- type: "bytes"
3537
- },
3538
- {
3539
- indexed: !1,
3540
- internalType: "bytes",
3541
- name: "encryptedStakeCommitmentContentAlt",
3542
- type: "bytes"
3543
- },
3544
- {
3545
- indexed: !1,
3546
- internalType: "uint256",
3547
- name: "timeStamp",
3548
- type: "uint256"
3549
- }
3550
- ],
3551
- name: "NewStakeCommitment",
3552
- type: "event"
3553
- },
3554
- {
3555
- anonymous: !1,
3556
- inputs: [{
3557
- indexed: !0,
3558
- internalType: "address",
3559
- name: "previousOwner",
3560
- type: "address"
3561
- }, {
3562
- indexed: !0,
3563
- internalType: "address",
3564
- name: "newOwner",
3565
- type: "address"
3566
- }],
3567
- name: "OwnershipTransferStarted",
3568
- type: "event"
3569
- },
3570
- {
3571
- anonymous: !1,
3572
- inputs: [{
3573
- indexed: !0,
3574
- internalType: "address",
3575
- name: "previousOwner",
3576
- type: "address"
3577
- }, {
3578
- indexed: !0,
3579
- internalType: "address",
3580
- name: "newOwner",
3581
- type: "address"
3582
- }],
3583
- name: "OwnershipTransferred",
3584
- type: "event"
3585
- },
3586
- {
3587
- anonymous: !1,
3588
- inputs: [{
3589
- indexed: !0,
3590
- internalType: "uint256",
3591
- name: "commitment",
3592
- type: "uint256"
3593
- }],
3594
- name: "PermissionlessMint",
3595
- type: "event"
3596
- },
3597
- {
3598
- anonymous: !1,
3599
- inputs: [{
3600
- indexed: !1,
3601
- internalType: "uint256",
3602
- name: "nullifier",
3603
- type: "uint256"
3604
- }],
3605
- name: "StakeNullified",
3606
- type: "event"
3607
- },
3608
- {
3609
- anonymous: !1,
3610
- inputs: [{
3611
- indexed: !1,
3612
- internalType: "address",
3613
- name: "",
3614
- type: "address"
3615
- }, {
3616
- indexed: !1,
3617
- internalType: "address",
3618
- name: "",
3619
- type: "address"
3620
- }],
3621
- name: "TokenRegistryUpdate",
3622
- type: "event"
3623
- },
3624
- {
3625
- anonymous: !1,
3626
- inputs: [{
3627
- indexed: !1,
3628
- internalType: "uint256",
3629
- name: "verifierId",
3630
- type: "uint256"
3631
- }, {
3632
- indexed: !1,
3633
- internalType: "address",
3634
- name: "verifierAddress",
3635
- type: "address"
3636
- }],
3637
- name: "VerifierRegistered",
3638
- type: "event"
3639
- },
3640
- {
3641
- anonymous: !1,
3642
- inputs: [{
3643
- indexed: !1,
3644
- internalType: "uint256",
3645
- name: "verifierId",
3646
- type: "uint256"
3647
- }],
3648
- name: "VerifierRemoved",
3649
- type: "event"
3650
- },
3651
- {
3652
- inputs: [],
3653
- name: "acceptOwnership",
3654
- outputs: [],
3655
- stateMutability: "nonpayable",
3656
- type: "function"
3657
- },
3658
- {
3659
- inputs: [{
3660
- components: [
3661
- {
3662
- internalType: "uint16",
3663
- name: "tokenNumber",
3664
- type: "uint16"
3665
- },
3666
- {
3667
- internalType: "uint16",
3668
- name: "nullifierAmount",
3669
- type: "uint16"
3670
- },
3671
- {
3672
- internalType: "uint16",
3673
- name: "outputAmount",
3674
- type: "uint16"
3675
- }
3676
- ],
3677
- internalType: "struct Dimensions",
3678
- name: "dimensions",
3679
- type: "tuple"
3680
- }, {
3681
- internalType: "uint256",
3682
- name: "externalActionId",
3683
- type: "uint256"
3684
- }],
3685
- name: "buildVerifierId",
3686
- outputs: [{
3687
- internalType: "uint256",
3688
- name: "",
3689
- type: "uint256"
3690
- }],
3691
- stateMutability: "pure",
3692
- type: "function"
3693
- },
3694
- {
3695
- inputs: [],
3696
- name: "getRootHash",
3697
- outputs: [{
3698
- internalType: "uint256",
3699
- name: "",
3700
- type: "uint256"
3701
- }],
3702
- stateMutability: "view",
3703
- type: "function"
3704
- },
3705
- {
3706
- inputs: [{
3707
- internalType: "uint256",
3708
- name: "a",
3709
- type: "uint256"
3710
- }, {
3711
- internalType: "uint256",
3712
- name: "b",
3713
- type: "uint256"
3714
- }],
3715
- name: "hash2",
3716
- outputs: [{
3717
- internalType: "uint256",
3718
- name: "poseidonHash",
3719
- type: "uint256"
3720
- }],
3721
- stateMutability: "view",
3722
- type: "function"
3723
- },
3724
- {
3725
- inputs: [
3726
- {
3727
- internalType: "uint256",
3728
- name: "a0",
3729
- type: "uint256"
3730
- },
3731
- {
3732
- internalType: "uint256",
3733
- name: "a1",
3734
- type: "uint256"
3735
- },
3736
- {
3737
- internalType: "uint256",
3738
- name: "a2",
3739
- type: "uint256"
3740
- },
3741
- {
3742
- internalType: "uint256",
3743
- name: "a3",
3744
- type: "uint256"
3745
- }
3746
- ],
3747
- name: "hash4",
3748
- outputs: [{
3749
- internalType: "uint256",
3750
- name: "poseidonHash",
3751
- type: "uint256"
3752
- }],
3753
- stateMutability: "view",
3754
- type: "function"
3755
- },
3756
- {
3757
- inputs: [
3758
- {
3759
- internalType: "uint256",
3760
- name: "a0",
3761
- type: "uint256"
3762
- },
3763
- {
3764
- internalType: "uint256",
3765
- name: "a1",
3766
- type: "uint256"
3767
- },
3768
- {
3769
- internalType: "uint256",
3770
- name: "a2",
3771
- type: "uint256"
3772
- },
3773
- {
3774
- internalType: "uint256",
3775
- name: "a3",
3776
- type: "uint256"
3777
- },
3778
- {
3779
- internalType: "uint256",
3780
- name: "a4",
3781
- type: "uint256"
3782
- }
3783
- ],
3784
- name: "hash5",
3785
- outputs: [{
3786
- internalType: "uint256",
3787
- name: "poseidonHash",
3788
- type: "uint256"
3789
- }],
3790
- stateMutability: "view",
3791
- type: "function"
3792
- },
3793
- {
3794
- inputs: [{
3795
- internalType: "address",
3796
- name: "",
3797
- type: "address"
3798
- }, {
3799
- internalType: "uint256",
3800
- name: "",
3801
- type: "uint256"
3802
- }],
3803
- name: "isAmountValid",
3804
- outputs: [{
3805
- internalType: "bool",
3806
- name: "",
3807
- type: "bool"
3808
- }],
3809
- stateMutability: "view",
3810
- type: "function"
3811
- },
3812
- {
3813
- inputs: [{
3814
- internalType: "address",
3815
- name: "",
3816
- type: "address"
3817
- }],
3818
- name: "isRestrictionDisabled",
3819
- outputs: [{
3820
- internalType: "bool",
3821
- name: "",
3822
- type: "bool"
3823
- }],
3824
- stateMutability: "view",
3825
- type: "function"
3826
- },
3827
- {
3828
- inputs: [{
3829
- internalType: "uint256",
3830
- name: "x",
3831
- type: "uint256"
3832
- }],
3833
- name: "logarithm2",
3834
- outputs: [{
3835
- internalType: "uint256",
3836
- name: "y",
3837
- type: "uint256"
3838
- }],
3839
- stateMutability: "pure",
3840
- type: "function"
3841
- },
3842
- {
3843
- inputs: [],
3844
- name: "m_index",
3845
- outputs: [{
3846
- internalType: "uint256",
3847
- name: "",
3848
- type: "uint256"
3849
- }],
3850
- stateMutability: "view",
3851
- type: "function"
3852
- },
3853
- {
3854
- inputs: [],
3855
- name: "minAllowedTimestampOffset",
3856
- outputs: [{
3857
- internalType: "uint256",
3858
- name: "",
3859
- type: "uint256"
3860
- }],
3861
- stateMutability: "view",
3862
- type: "function"
3863
- },
3864
- {
3865
- inputs: [
3866
- {
3867
- internalType: "uint256[2]",
3868
- name: "a",
3869
- type: "uint256[2]"
3870
- },
3871
- {
3872
- internalType: "uint256[2][2]",
3873
- name: "b",
3874
- type: "uint256[2][2]"
3875
- },
3876
- {
3877
- internalType: "uint256[2]",
3878
- name: "c",
3879
- type: "uint256[2]"
3880
- },
3881
- {
3882
- components: [
3883
- {
3884
- internalType: "uint256[]",
3885
- name: "nullifiers",
3886
- type: "uint256[]"
3887
- },
3888
- {
3889
- internalType: "uint256[]",
3890
- name: "stakeAmounts",
3891
- type: "uint256[]"
3892
- },
3893
- {
3894
- internalType: "address[]",
3895
- name: "erc20TokenAddresses",
3896
- type: "address[]"
3897
- },
3898
- {
3899
- internalType: "address[]",
3900
- name: "stakedTokenRecipients",
3901
- type: "address[]"
3902
- },
3903
- {
3904
- internalType: "uint256",
3905
- name: "stakedMerkleRoot",
3906
- type: "uint256"
3907
- }
3908
- ],
3909
- internalType: "struct StakeProverData",
3910
- name: "stakeProverData",
3911
- type: "tuple"
3912
- }
3913
- ],
3914
- name: "mint",
3915
- outputs: [],
3916
- stateMutability: "nonpayable",
3917
- type: "function"
3918
- },
3919
- {
3920
- inputs: [
3921
- {
3922
- internalType: "uint256[2]",
3923
- name: "a",
3924
- type: "uint256[2]"
3925
- },
3926
- {
3927
- internalType: "uint256[2][2]",
3928
- name: "b",
3929
- type: "uint256[2][2]"
3930
- },
3931
- {
3932
- internalType: "uint256[2]",
3933
- name: "c",
3934
- type: "uint256[2]"
3935
- },
3936
- {
3937
- components: [
3938
- {
3939
- internalType: "uint256[]",
3940
- name: "nullifiers",
3941
- type: "uint256[]"
3942
- },
3943
- {
3944
- internalType: "uint256[]",
3945
- name: "stakeAmounts",
3946
- type: "uint256[]"
3947
- },
3948
- {
3949
- internalType: "address[]",
3950
- name: "erc20TokenAddresses",
3951
- type: "address[]"
3952
- },
3953
- {
3954
- internalType: "address[]",
3955
- name: "stakedTokenRecipients",
3956
- type: "address[]"
3957
- },
3958
- {
3959
- internalType: "uint256",
3960
- name: "stakedMerkleRoot",
3961
- type: "uint256"
3962
- }
3963
- ],
3964
- internalType: "struct StakeProverData",
3965
- name: "stakeProverData",
3966
- type: "tuple"
3967
- },
3968
- {
3969
- components: [{
3970
- internalType: "uint256",
3971
- name: "maxAllowedTimestamp",
3972
- type: "uint256"
3973
- }, {
3974
- internalType: "uint256",
3975
- name: "stakeCommitment",
3976
- type: "uint256"
3977
- }],
3978
- internalType: "struct StakeProverPermissionlessData",
3979
- name: "stakeProverPermissionlessData",
3980
- type: "tuple"
3981
- }
3982
- ],
3983
- name: "mintPermissionless",
3984
- outputs: [],
3985
- stateMutability: "nonpayable",
3986
- type: "function"
3987
- },
3988
- {
3989
- inputs: [
3990
- {
3991
- internalType: "address",
3992
- name: "",
3993
- type: "address"
3994
- },
3995
- {
3996
- internalType: "address",
3997
- name: "",
3998
- type: "address"
3999
- },
4000
- {
4001
- internalType: "uint256[]",
4002
- name: "",
4003
- type: "uint256[]"
4004
- },
4005
- {
4006
- internalType: "uint256[]",
4007
- name: "",
4008
- type: "uint256[]"
4009
- },
4010
- {
4011
- internalType: "bytes",
4012
- name: "",
4013
- type: "bytes"
4014
- }
4015
- ],
4016
- name: "onERC1155BatchReceived",
4017
- outputs: [{
4018
- internalType: "bytes4",
4019
- name: "",
4020
- type: "bytes4"
4021
- }],
4022
- stateMutability: "pure",
4023
- type: "function"
4024
- },
4025
- {
4026
- inputs: [
4027
- {
4028
- internalType: "address",
4029
- name: "",
4030
- type: "address"
4031
- },
4032
- {
4033
- internalType: "address",
4034
- name: "",
4035
- type: "address"
4036
- },
4037
- {
4038
- internalType: "uint256",
4039
- name: "",
4040
- type: "uint256"
4041
- },
4042
- {
4043
- internalType: "uint256",
4044
- name: "",
4045
- type: "uint256"
4046
- },
4047
- {
4048
- internalType: "bytes",
4049
- name: "",
4050
- type: "bytes"
4051
- }
4052
- ],
4053
- name: "onERC1155Received",
4054
- outputs: [{
4055
- internalType: "bytes4",
4056
- name: "",
4057
- type: "bytes4"
4058
- }],
4059
- stateMutability: "pure",
4060
- type: "function"
4061
- },
4062
- {
4063
- inputs: [
4064
- {
4065
- internalType: "address",
4066
- name: "",
4067
- type: "address"
4068
- },
4069
- {
4070
- internalType: "address",
4071
- name: "",
4072
- type: "address"
4073
- },
4074
- {
4075
- internalType: "uint256",
4076
- name: "",
4077
- type: "uint256"
4078
- },
4079
- {
4080
- internalType: "bytes",
4081
- name: "",
4082
- type: "bytes"
4083
- }
4084
- ],
4085
- name: "onERC721Received",
4086
- outputs: [{
4087
- internalType: "bytes4",
4088
- name: "",
4089
- type: "bytes4"
4090
- }],
4091
- stateMutability: "pure",
4092
- type: "function"
4093
- },
4094
- {
4095
- inputs: [],
4096
- name: "owner",
4097
- outputs: [{
4098
- internalType: "address",
4099
- name: "",
4100
- type: "address"
4101
- }],
4102
- stateMutability: "view",
4103
- type: "function"
4104
- },
4105
- {
4106
- inputs: [],
4107
- name: "pendingOwner",
4108
- outputs: [{
4109
- internalType: "address",
4110
- name: "",
4111
- type: "address"
4112
- }],
4113
- stateMutability: "view",
4114
- type: "function"
4115
- },
4116
- {
4117
- inputs: [],
4118
- name: "poseidon2",
4119
- outputs: [{
4120
- internalType: "contract IPoseidon2",
4121
- name: "",
4122
- type: "address"
4123
- }],
4124
- stateMutability: "view",
4125
- type: "function"
4126
- },
4127
- {
4128
- inputs: [],
4129
- name: "poseidon4",
4130
- outputs: [{
4131
- internalType: "contract IPoseidon4",
4132
- name: "",
4133
- type: "address"
4134
- }],
4135
- stateMutability: "view",
4136
- type: "function"
4137
- },
4138
- {
4139
- inputs: [],
4140
- name: "poseidon5",
4141
- outputs: [{
4142
- internalType: "contract IPoseidon5",
4143
- name: "",
4144
- type: "address"
4145
- }],
4146
- stateMutability: "view",
4147
- type: "function"
4148
- },
4149
- {
4150
- inputs: [{
4151
- internalType: "uint256[]",
4152
- name: "verifierIds",
4153
- type: "uint256[]"
4154
- }, {
4155
- internalType: "address[]",
4156
- name: "verifierAddresses",
4157
- type: "address[]"
4158
- }],
4159
- name: "registerVerifiers",
4160
- outputs: [],
4161
- stateMutability: "nonpayable",
4162
- type: "function"
4163
- },
4164
- {
4165
- inputs: [{
4166
- internalType: "uint256",
4167
- name: "verifierId",
4168
- type: "uint256"
4169
- }],
4170
- name: "removeVerifier",
4171
- outputs: [],
4172
- stateMutability: "nonpayable",
4173
- type: "function"
4174
- },
4175
- {
4176
- inputs: [],
4177
- name: "renounceOwnership",
4178
- outputs: [],
4179
- stateMutability: "view",
4180
- type: "function"
4181
- },
4182
- {
4183
- inputs: [{
4184
- internalType: "uint256",
4185
- name: "_root",
4186
- type: "uint256"
4187
- }],
4188
- name: "rootHashExists",
4189
- outputs: [{
4190
- internalType: "bool",
4191
- name: "",
4192
- type: "bool"
4193
- }],
4194
- stateMutability: "view",
4195
- type: "function"
4196
- },
4197
- {
4198
- inputs: [],
4199
- name: "rootIndex",
4200
- outputs: [{
4201
- internalType: "uint256",
4202
- name: "",
4203
- type: "uint256"
4204
- }],
4205
- stateMutability: "view",
4206
- type: "function"
4207
- },
4208
- {
4209
- inputs: [{
4210
- internalType: "uint256",
4211
- name: "",
4212
- type: "uint256"
4213
- }],
4214
- name: "roots",
4215
- outputs: [{
4216
- internalType: "uint256",
4217
- name: "",
4218
- type: "uint256"
4219
- }],
4220
- stateMutability: "view",
4221
- type: "function"
4222
- },
4223
- {
4224
- inputs: [{
4225
- components: [
4226
- {
4227
- internalType: "uint256",
4228
- name: "rootHashHinkal",
4229
- type: "uint256"
4230
- },
4231
- {
4232
- internalType: "address[]",
4233
- name: "erc20TokenAddresses",
4234
- type: "address[]"
4235
- },
4236
- {
4237
- internalType: "uint256[]",
4238
- name: "tokenIds",
4239
- type: "uint256[]"
4240
- },
4241
- {
4242
- internalType: "int256[]",
4243
- name: "amountChanges",
4244
- type: "int256[]"
4245
- },
4246
- {
4247
- internalType: "bool[]",
4248
- name: "onChainCreation",
4249
- type: "bool[]"
4250
- },
4251
- {
4252
- internalType: "int256[]",
4253
- name: "slippageValues",
4254
- type: "int256[]"
4255
- },
4256
- {
4257
- internalType: "uint256[][]",
4258
- name: "inputNullifiers",
4259
- type: "uint256[][]"
4260
- },
4261
- {
4262
- internalType: "uint256[][]",
4263
- name: "outCommitments",
4264
- type: "uint256[][]"
4265
- },
4266
- {
4267
- internalType: "bytes[][]",
4268
- name: "encryptedOutputs",
4269
- type: "bytes[][]"
4270
- },
4271
- {
4272
- components: [
4273
- {
4274
- internalType: "address",
4275
- name: "feeToken",
4276
- type: "address"
4277
- },
4278
- {
4279
- internalType: "uint256",
4280
- name: "flatFee",
4281
- type: "uint256"
4282
- },
4283
- {
4284
- internalType: "uint256",
4285
- name: "variableRate",
4286
- type: "uint256"
4287
- }
4288
- ],
4289
- internalType: "struct FeeStructure",
4290
- name: "feeStructure",
4291
- type: "tuple"
4292
- },
4293
- {
4294
- internalType: "uint256",
4295
- name: "timeStamp",
4296
- type: "uint256"
4297
- },
4298
- {
4299
- components: [
4300
- {
4301
- internalType: "uint256",
4302
- name: "extraRandomization",
4303
- type: "uint256"
4304
- },
4305
- {
4306
- internalType: "uint256",
4307
- name: "stealthAddress",
4308
- type: "uint256"
4309
- },
4310
- {
4311
- internalType: "uint256",
4312
- name: "H0",
4313
- type: "uint256"
4314
- },
4315
- {
4316
- internalType: "uint256",
4317
- name: "H1",
4318
- type: "uint256"
4319
- }
4320
- ],
4321
- internalType: "struct StealthAddressStructure",
4322
- name: "stealthAddressStructure",
4323
- type: "tuple"
4324
- },
4325
- {
4326
- internalType: "uint256",
4327
- name: "rootHashAccessToken",
4328
- type: "uint256"
4329
- },
4330
- {
4331
- internalType: "uint256",
4332
- name: "calldataHash",
4333
- type: "uint256"
4334
- },
4335
- {
4336
- internalType: "uint16",
4337
- name: "publicSignalCount",
4338
- type: "uint16"
4339
- },
4340
- {
4341
- internalType: "address",
4342
- name: "relay",
4343
- type: "address"
4344
- },
4345
- {
4346
- internalType: "address",
4347
- name: "externalAddress",
4348
- type: "address"
4349
- },
4350
- {
4351
- internalType: "uint256",
4352
- name: "externalActionId",
4353
- type: "uint256"
4354
- },
4355
- {
4356
- internalType: "bytes",
4357
- name: "externalActionMetadata",
4358
- type: "bytes"
4359
- },
4360
- {
4361
- components: [
4362
- {
4363
- internalType: "uint256",
4364
- name: "hinkalLogicAction",
4365
- type: "uint256"
4366
- },
4367
- {
4368
- internalType: "uint256",
4369
- name: "inHinkalAddress",
4370
- type: "uint256"
4371
- },
4372
- {
4373
- internalType: "int256[]",
4374
- name: "executeApprovalChanges",
4375
- type: "int256[]"
4376
- },
4377
- {
4378
- internalType: "bool",
4379
- name: "doPreTxApproval",
4380
- type: "bool"
4381
- },
4382
- {
4383
- components: [
4384
- {
4385
- internalType: "int256[]",
4386
- name: "approvalChanges",
4387
- type: "int256[]"
4388
- },
4389
- {
4390
- internalType: "address[]",
4391
- name: "externalApprovalAddresses",
4392
- type: "address[]"
4393
- },
4394
- {
4395
- internalType: "uint256[]",
4396
- name: "conversionInHinkalAddress",
4397
- type: "uint256[]"
4398
- }
4399
- ],
4400
- internalType: "struct UseApprovalUTXOData[]",
4401
- name: "useApprovalUtxoData",
4402
- type: "tuple[]"
4403
- }
4404
- ],
4405
- internalType: "struct HinkalLogicArgs",
4406
- name: "hinkalLogicArgs",
4407
- type: "tuple"
4408
- },
4409
- {
4410
- components: [
4411
- {
4412
- internalType: "address",
4413
- name: "preHookContract",
4414
- type: "address"
4415
- },
4416
- {
4417
- internalType: "address",
4418
- name: "hookContract",
4419
- type: "address"
4420
- },
4421
- {
4422
- internalType: "bytes",
4423
- name: "preHookMetadata",
4424
- type: "bytes"
4425
- },
4426
- {
4427
- internalType: "bytes",
4428
- name: "postHookMetadata",
4429
- type: "bytes"
4430
- }
4431
- ],
4432
- internalType: "struct HookData",
4433
- name: "hookData",
4434
- type: "tuple"
4435
- },
4436
- {
4437
- components: [
4438
- {
4439
- internalType: "uint8",
4440
- name: "v",
4441
- type: "uint8"
4442
- },
4443
- {
4444
- internalType: "bytes32",
4445
- name: "r",
4446
- type: "bytes32"
4447
- },
4448
- {
4449
- internalType: "bytes32",
4450
- name: "s",
4451
- type: "bytes32"
4452
- },
4453
- {
4454
- internalType: "uint256",
4455
- name: "accessKey",
4456
- type: "uint256"
4457
- },
4458
- {
4459
- internalType: "uint256",
4460
- name: "nonce",
4461
- type: "uint256"
4462
- },
4463
- {
4464
- internalType: "address",
4465
- name: "ethereumAddress",
4466
- type: "address"
4467
- }
4468
- ],
4469
- internalType: "struct SignatureData",
4470
- name: "signatureData",
4471
- type: "tuple"
4472
- },
4473
- {
4474
- internalType: "address",
4475
- name: "originalSender",
4476
- type: "address"
4477
- }
4478
- ],
4479
- internalType: "struct CircomData",
4480
- name: "circomData",
4481
- type: "tuple"
4482
- }],
4483
- name: "runAction",
4484
- outputs: [{
4485
- components: [
4486
- {
4487
- internalType: "uint256",
4488
- name: "amount",
4489
- type: "uint256"
4490
- },
4491
- {
4492
- internalType: "address",
4493
- name: "erc20Address",
4494
- type: "address"
4495
- },
4496
- {
4497
- components: [
4498
- {
4499
- internalType: "uint256",
4500
- name: "extraRandomization",
4501
- type: "uint256"
4502
- },
4503
- {
4504
- internalType: "uint256",
4505
- name: "stealthAddress",
4506
- type: "uint256"
4507
- },
4508
- {
4509
- internalType: "uint256",
4510
- name: "H0",
4511
- type: "uint256"
4512
- },
4513
- {
4514
- internalType: "uint256",
4515
- name: "H1",
4516
- type: "uint256"
4517
- }
4518
- ],
4519
- internalType: "struct StealthAddressStructure",
4520
- name: "stealthAddressStructure",
4521
- type: "tuple"
4522
- },
4523
- {
4524
- internalType: "uint256",
4525
- name: "timeStamp",
4526
- type: "uint256"
4527
- },
4528
- {
4529
- internalType: "uint256",
4530
- name: "tokenId",
4531
- type: "uint256"
4532
- }
4533
- ],
4534
- internalType: "struct UTXO[]",
4535
- name: "",
4536
- type: "tuple[]"
4537
- }],
4538
- stateMutability: "nonpayable",
4539
- type: "function"
4540
- },
4541
- {
4542
- inputs: [{
4543
- internalType: "address[]",
4544
- name: "recipients",
4545
- type: "address[]"
4546
- }],
4547
- name: "setAllowedRecipients",
4548
- outputs: [],
4549
- stateMutability: "nonpayable",
4550
- type: "function"
4551
- },
4552
- {
4553
- inputs: [{
4554
- internalType: "bytes4",
4555
- name: "_interfaceId",
4556
- type: "bytes4"
4557
- }],
4558
- name: "supportsInterface",
4559
- outputs: [{
4560
- internalType: "bool",
4561
- name: "",
4562
- type: "bool"
4563
- }],
4564
- stateMutability: "view",
4565
- type: "function"
4566
- },
4567
- {
4568
- inputs: [{
4569
- internalType: "address",
4570
- name: "",
4571
- type: "address"
4572
- }],
4573
- name: "tokenToHtoken",
4574
- outputs: [{
4575
- internalType: "contract IERC4626",
4576
- name: "",
4577
- type: "address"
4578
- }],
4579
- stateMutability: "view",
4580
- type: "function"
4581
- },
4582
- {
4583
- inputs: [{
4584
- internalType: "address",
4585
- name: "newOwner",
4586
- type: "address"
4587
- }],
4588
- name: "transferOwnership",
4589
- outputs: [],
4590
- stateMutability: "nonpayable",
4591
- type: "function"
4592
- },
4593
- {
4594
- inputs: [{
4595
- internalType: "uint256",
4596
- name: "",
4597
- type: "uint256"
4598
- }],
4599
- name: "tree",
4600
- outputs: [{
4601
- internalType: "uint256",
4602
- name: "",
4603
- type: "uint256"
4604
- }],
4605
- stateMutability: "view",
4606
- type: "function"
4607
- },
4608
- {
4609
- inputs: [
4610
- {
4611
- internalType: "address",
4612
- name: "collateral",
4613
- type: "address"
4614
- },
4615
- {
4616
- internalType: "uint256",
4617
- name: "amount",
4618
- type: "uint256"
4619
- },
4620
- {
4621
- internalType: "bool",
4622
- name: "isValid",
4623
- type: "bool"
4624
- }
4625
- ],
4626
- name: "updateAmountValidity",
4627
- outputs: [],
4628
- stateMutability: "nonpayable",
4629
- type: "function"
4630
- },
4631
- {
4632
- inputs: [{
4633
- internalType: "address",
4634
- name: "collateral",
4635
- type: "address"
4636
- }, {
4637
- internalType: "bool",
4638
- name: "isDisabled",
4639
- type: "bool"
4640
- }],
4641
- name: "updateIsRestrictionDisabled",
4642
- outputs: [],
4643
- stateMutability: "nonpayable",
4644
- type: "function"
4645
- },
4646
- {
4647
- inputs: [{
4648
- internalType: "uint256",
4649
- name: "newMinAllowedTimestampOffset",
4650
- type: "uint256"
4651
- }],
4652
- name: "updateMinAllowedTimestampOffset",
4653
- outputs: [],
4654
- stateMutability: "nonpayable",
4655
- type: "function"
4656
- },
4657
- {
4658
- inputs: [{
4659
- internalType: "address",
4660
- name: "collateral",
4661
- type: "address"
4662
- }, {
4663
- internalType: "address",
4664
- name: "hToken",
4665
- type: "address"
4666
- }],
4667
- name: "updateTokenRegistry",
4668
- outputs: [],
4669
- stateMutability: "nonpayable",
4670
- type: "function"
4671
- },
4672
- {
4673
- inputs: [{
4674
- internalType: "uint256",
4675
- name: "",
4676
- type: "uint256"
4677
- }],
4678
- name: "usedNullifiers",
4679
- outputs: [{
4680
- internalType: "bool",
4681
- name: "",
4682
- type: "bool"
4683
- }],
4684
- stateMutability: "view",
4685
- type: "function"
4686
- },
4687
- {
4688
- inputs: [{
4689
- internalType: "uint256",
4690
- name: "",
4691
- type: "uint256"
4692
- }],
4693
- name: "verifierMap",
4694
- outputs: [{
4695
- internalType: "contract IVerifier",
4696
- name: "",
4697
- type: "address"
4698
- }],
4699
- stateMutability: "view",
4700
- type: "function"
4701
- },
4702
- {
4703
- stateMutability: "payable",
4704
- type: "receive"
4705
- }
4706
- ],
4707
- HTokenABI: [
4708
- {
4709
- inputs: [
4710
- {
4711
- internalType: "string",
4712
- name: "name_",
4713
- type: "string"
4714
- },
4715
- {
4716
- internalType: "string",
4717
- name: "symbol_",
4718
- type: "string"
4719
- },
4720
- {
4721
- internalType: "contract IERC20",
4722
- name: "_baseToken",
4723
- type: "address"
4724
- },
4725
- {
4726
- internalType: "address",
4727
- name: "_hinkalAddress",
4728
- type: "address"
4729
- },
4730
- {
4731
- internalType: "address",
4732
- name: "_externalAction",
4733
- type: "address"
4734
- }
4735
- ],
4736
- stateMutability: "nonpayable",
4737
- type: "constructor"
4738
- },
4739
- {
4740
- inputs: [],
4741
- name: "MustBeExternalAction",
4742
- type: "error"
4743
- },
4744
- {
4745
- inputs: [],
4746
- name: "NoShares",
4747
- type: "error"
4748
- },
4749
- {
4750
- anonymous: !1,
4751
- inputs: [
4752
- {
4753
- indexed: !0,
4754
- internalType: "address",
4755
- name: "owner",
4756
- type: "address"
4757
- },
4758
- {
4759
- indexed: !0,
4760
- internalType: "address",
4761
- name: "spender",
4762
- type: "address"
4763
- },
4764
- {
4765
- indexed: !1,
4766
- internalType: "uint256",
4767
- name: "value",
4768
- type: "uint256"
4769
- }
4770
- ],
4771
- name: "Approval",
4772
- type: "event"
4773
- },
4774
- {
4775
- anonymous: !1,
4776
- inputs: [
4777
- {
4778
- indexed: !0,
4779
- internalType: "address",
4780
- name: "sender",
4781
- type: "address"
4782
- },
4783
- {
4784
- indexed: !0,
4785
- internalType: "address",
4786
- name: "owner",
4787
- type: "address"
4788
- },
4789
- {
4790
- indexed: !1,
4791
- internalType: "uint256",
4792
- name: "assets",
4793
- type: "uint256"
4794
- },
4795
- {
4796
- indexed: !1,
4797
- internalType: "uint256",
4798
- name: "shares",
4799
- type: "uint256"
4800
- }
4801
- ],
4802
- name: "Deposit",
4803
- type: "event"
4804
- },
4805
- {
4806
- anonymous: !1,
4807
- inputs: [{
4808
- indexed: !0,
4809
- internalType: "address",
4810
- name: "previousOwner",
4811
- type: "address"
4812
- }, {
4813
- indexed: !0,
4814
- internalType: "address",
4815
- name: "newOwner",
4816
- type: "address"
4817
- }],
4818
- name: "OwnershipTransferred",
4819
- type: "event"
4820
- },
4821
- {
4822
- anonymous: !1,
4823
- inputs: [{
4824
- indexed: !1,
4825
- internalType: "uint256",
4826
- name: "assets",
4827
- type: "uint256"
4828
- }],
4829
- name: "RewardAdded",
4830
- type: "event"
4831
- },
4832
- {
4833
- anonymous: !1,
4834
- inputs: [
4835
- {
4836
- indexed: !0,
4837
- internalType: "address",
4838
- name: "from",
4839
- type: "address"
4840
- },
4841
- {
4842
- indexed: !0,
4843
- internalType: "address",
4844
- name: "to",
4845
- type: "address"
4846
- },
4847
- {
4848
- indexed: !1,
4849
- internalType: "uint256",
4850
- name: "value",
4851
- type: "uint256"
4852
- }
4853
- ],
4854
- name: "Transfer",
4855
- type: "event"
4856
- },
4857
- {
4858
- anonymous: !1,
4859
- inputs: [
4860
- {
4861
- indexed: !0,
4862
- internalType: "address",
4863
- name: "sender",
4864
- type: "address"
4865
- },
4866
- {
4867
- indexed: !0,
4868
- internalType: "address",
4869
- name: "receiver",
4870
- type: "address"
4871
- },
4872
- {
4873
- indexed: !0,
4874
- internalType: "address",
4875
- name: "owner",
4876
- type: "address"
4877
- },
4878
- {
4879
- indexed: !1,
4880
- internalType: "uint256",
4881
- name: "assets",
4882
- type: "uint256"
4883
- },
4884
- {
4885
- indexed: !1,
4886
- internalType: "uint256",
4887
- name: "shares",
4888
- type: "uint256"
4889
- }
4890
- ],
4891
- name: "Withdraw",
4892
- type: "event"
4893
- },
4894
- {
4895
- inputs: [{
4896
- internalType: "uint256",
4897
- name: "assets",
4898
- type: "uint256"
4899
- }],
4900
- name: "addReward",
4901
- outputs: [],
4902
- stateMutability: "payable",
4903
- type: "function"
4904
- },
4905
- {
4906
- inputs: [{
4907
- internalType: "address",
4908
- name: "owner",
4909
- type: "address"
4910
- }, {
4911
- internalType: "address",
4912
- name: "spender",
4913
- type: "address"
4914
- }],
4915
- name: "allowance",
4916
- outputs: [{
4917
- internalType: "uint256",
4918
- name: "",
4919
- type: "uint256"
4920
- }],
4921
- stateMutability: "view",
4922
- type: "function"
4923
- },
4924
- {
4925
- inputs: [{
4926
- internalType: "address",
4927
- name: "spender",
4928
- type: "address"
4929
- }, {
4930
- internalType: "uint256",
4931
- name: "amount",
4932
- type: "uint256"
4933
- }],
4934
- name: "approve",
4935
- outputs: [{
4936
- internalType: "bool",
4937
- name: "",
4938
- type: "bool"
4939
- }],
4940
- stateMutability: "nonpayable",
4941
- type: "function"
4942
- },
4943
- {
4944
- inputs: [],
4945
- name: "asset",
4946
- outputs: [{
4947
- internalType: "address",
4948
- name: "",
4949
- type: "address"
4950
- }],
4951
- stateMutability: "view",
4952
- type: "function"
4953
- },
4954
- {
4955
- inputs: [{
4956
- internalType: "address",
4957
- name: "account",
4958
- type: "address"
4959
- }],
4960
- name: "balanceOf",
4961
- outputs: [{
4962
- internalType: "uint256",
4963
- name: "",
4964
- type: "uint256"
4965
- }],
4966
- stateMutability: "view",
4967
- type: "function"
4968
- },
4969
- {
4970
- inputs: [{
4971
- internalType: "uint256",
4972
- name: "shares",
4973
- type: "uint256"
4974
- }],
4975
- name: "convertToAssets",
4976
- outputs: [{
4977
- internalType: "uint256",
4978
- name: "",
4979
- type: "uint256"
4980
- }],
4981
- stateMutability: "view",
4982
- type: "function"
4983
- },
4984
- {
4985
- inputs: [{
4986
- internalType: "uint256",
4987
- name: "assets",
4988
- type: "uint256"
4989
- }],
4990
- name: "convertToShares",
4991
- outputs: [{
4992
- internalType: "uint256",
4993
- name: "",
4994
- type: "uint256"
4995
- }],
4996
- stateMutability: "view",
4997
- type: "function"
4998
- },
4999
- {
5000
- inputs: [],
5001
- name: "decimals",
5002
- outputs: [{
5003
- internalType: "uint8",
5004
- name: "",
5005
- type: "uint8"
5006
- }],
5007
- stateMutability: "view",
5008
- type: "function"
5009
- },
5010
- {
5011
- inputs: [{
5012
- internalType: "address",
5013
- name: "spender",
5014
- type: "address"
5015
- }, {
5016
- internalType: "uint256",
5017
- name: "subtractedValue",
5018
- type: "uint256"
5019
- }],
5020
- name: "decreaseAllowance",
5021
- outputs: [{
5022
- internalType: "bool",
5023
- name: "",
5024
- type: "bool"
5025
- }],
5026
- stateMutability: "nonpayable",
5027
- type: "function"
5028
- },
5029
- {
5030
- inputs: [{
5031
- internalType: "uint256",
5032
- name: "assets",
5033
- type: "uint256"
5034
- }, {
5035
- internalType: "address",
5036
- name: "receiver",
5037
- type: "address"
5038
- }],
5039
- name: "deposit",
5040
- outputs: [{
5041
- internalType: "uint256",
5042
- name: "",
5043
- type: "uint256"
5044
- }],
5045
- stateMutability: "nonpayable",
5046
- type: "function"
5047
- },
5048
- {
5049
- inputs: [],
5050
- name: "externalAction",
5051
- outputs: [{
5052
- internalType: "address",
5053
- name: "",
5054
- type: "address"
5055
- }],
5056
- stateMutability: "view",
5057
- type: "function"
5058
- },
5059
- {
5060
- inputs: [],
5061
- name: "hinkalAddress",
5062
- outputs: [{
5063
- internalType: "address",
5064
- name: "",
5065
- type: "address"
5066
- }],
5067
- stateMutability: "view",
5068
- type: "function"
5069
- },
5070
- {
5071
- inputs: [{
5072
- internalType: "address",
5073
- name: "spender",
5074
- type: "address"
5075
- }, {
5076
- internalType: "uint256",
5077
- name: "addedValue",
5078
- type: "uint256"
5079
- }],
5080
- name: "increaseAllowance",
5081
- outputs: [{
5082
- internalType: "bool",
5083
- name: "",
5084
- type: "bool"
5085
- }],
5086
- stateMutability: "nonpayable",
5087
- type: "function"
5088
- },
5089
- {
5090
- inputs: [{
5091
- internalType: "address",
5092
- name: "",
5093
- type: "address"
5094
- }],
5095
- name: "maxDeposit",
5096
- outputs: [{
5097
- internalType: "uint256",
5098
- name: "",
5099
- type: "uint256"
5100
- }],
5101
- stateMutability: "view",
5102
- type: "function"
5103
- },
5104
- {
5105
- inputs: [{
5106
- internalType: "address",
5107
- name: "",
5108
- type: "address"
5109
- }],
5110
- name: "maxMint",
5111
- outputs: [{
5112
- internalType: "uint256",
5113
- name: "",
5114
- type: "uint256"
5115
- }],
5116
- stateMutability: "view",
5117
- type: "function"
5118
- },
5119
- {
5120
- inputs: [{
5121
- internalType: "address",
5122
- name: "owner",
5123
- type: "address"
5124
- }],
5125
- name: "maxRedeem",
5126
- outputs: [{
5127
- internalType: "uint256",
5128
- name: "",
5129
- type: "uint256"
5130
- }],
5131
- stateMutability: "view",
5132
- type: "function"
5133
- },
5134
- {
5135
- inputs: [{
5136
- internalType: "address",
5137
- name: "owner",
5138
- type: "address"
5139
- }],
5140
- name: "maxWithdraw",
5141
- outputs: [{
5142
- internalType: "uint256",
5143
- name: "",
5144
- type: "uint256"
5145
- }],
5146
- stateMutability: "view",
5147
- type: "function"
5148
- },
5149
- {
5150
- inputs: [{
5151
- internalType: "uint256",
5152
- name: "shares",
5153
- type: "uint256"
5154
- }, {
5155
- internalType: "address",
5156
- name: "receiver",
5157
- type: "address"
5158
- }],
5159
- name: "mint",
5160
- outputs: [{
5161
- internalType: "uint256",
5162
- name: "",
5163
- type: "uint256"
5164
- }],
5165
- stateMutability: "nonpayable",
5166
- type: "function"
5167
- },
5168
- {
5169
- inputs: [],
5170
- name: "name",
5171
- outputs: [{
5172
- internalType: "string",
5173
- name: "",
5174
- type: "string"
5175
- }],
5176
- stateMutability: "view",
5177
- type: "function"
5178
- },
5179
- {
5180
- inputs: [
5181
- {
5182
- internalType: "address",
5183
- name: "",
5184
- type: "address"
5185
- },
5186
- {
5187
- internalType: "address",
5188
- name: "",
5189
- type: "address"
5190
- },
5191
- {
5192
- internalType: "uint256[]",
5193
- name: "",
5194
- type: "uint256[]"
5195
- },
5196
- {
5197
- internalType: "uint256[]",
5198
- name: "",
5199
- type: "uint256[]"
5200
- },
5201
- {
5202
- internalType: "bytes",
5203
- name: "",
5204
- type: "bytes"
5205
- }
5206
- ],
5207
- name: "onERC1155BatchReceived",
5208
- outputs: [{
5209
- internalType: "bytes4",
5210
- name: "",
5211
- type: "bytes4"
5212
- }],
5213
- stateMutability: "pure",
5214
- type: "function"
5215
- },
5216
- {
5217
- inputs: [
5218
- {
5219
- internalType: "address",
5220
- name: "",
5221
- type: "address"
5222
- },
5223
- {
5224
- internalType: "address",
5225
- name: "",
5226
- type: "address"
5227
- },
5228
- {
5229
- internalType: "uint256",
5230
- name: "",
5231
- type: "uint256"
5232
- },
5233
- {
5234
- internalType: "uint256",
5235
- name: "",
5236
- type: "uint256"
5237
- },
5238
- {
5239
- internalType: "bytes",
5240
- name: "",
5241
- type: "bytes"
5242
- }
5243
- ],
5244
- name: "onERC1155Received",
5245
- outputs: [{
5246
- internalType: "bytes4",
5247
- name: "",
5248
- type: "bytes4"
5249
- }],
5250
- stateMutability: "pure",
5251
- type: "function"
5252
- },
5253
- {
5254
- inputs: [
5255
- {
5256
- internalType: "address",
5257
- name: "",
5258
- type: "address"
5259
- },
5260
- {
5261
- internalType: "address",
5262
- name: "",
5263
- type: "address"
5264
- },
5265
- {
5266
- internalType: "uint256",
5267
- name: "",
5268
- type: "uint256"
5269
- },
5270
- {
5271
- internalType: "bytes",
5272
- name: "",
5273
- type: "bytes"
5274
- }
5275
- ],
5276
- name: "onERC721Received",
5277
- outputs: [{
5278
- internalType: "bytes4",
5279
- name: "",
5280
- type: "bytes4"
5281
- }],
5282
- stateMutability: "pure",
5283
- type: "function"
5284
- },
5285
- {
5286
- inputs: [],
5287
- name: "owner",
5288
- outputs: [{
5289
- internalType: "address",
5290
- name: "",
5291
- type: "address"
5292
- }],
5293
- stateMutability: "view",
5294
- type: "function"
5295
- },
5296
- {
5297
- inputs: [{
5298
- internalType: "uint256",
5299
- name: "assets",
5300
- type: "uint256"
5301
- }],
5302
- name: "previewDeposit",
5303
- outputs: [{
5304
- internalType: "uint256",
5305
- name: "",
5306
- type: "uint256"
5307
- }],
5308
- stateMutability: "view",
5309
- type: "function"
5310
- },
5311
- {
5312
- inputs: [{
5313
- internalType: "uint256",
5314
- name: "shares",
5315
- type: "uint256"
5316
- }],
5317
- name: "previewMint",
5318
- outputs: [{
5319
- internalType: "uint256",
5320
- name: "",
5321
- type: "uint256"
5322
- }],
5323
- stateMutability: "view",
5324
- type: "function"
5325
- },
5326
- {
5327
- inputs: [{
5328
- internalType: "uint256",
5329
- name: "shares",
5330
- type: "uint256"
5331
- }],
5332
- name: "previewRedeem",
5333
- outputs: [{
5334
- internalType: "uint256",
5335
- name: "",
5336
- type: "uint256"
5337
- }],
5338
- stateMutability: "view",
5339
- type: "function"
5340
- },
5341
- {
5342
- inputs: [{
5343
- internalType: "uint256",
5344
- name: "assets",
5345
- type: "uint256"
5346
- }],
5347
- name: "previewWithdraw",
5348
- outputs: [{
5349
- internalType: "uint256",
5350
- name: "",
5351
- type: "uint256"
5352
- }],
5353
- stateMutability: "view",
5354
- type: "function"
5355
- },
5356
- {
5357
- inputs: [
5358
- {
5359
- internalType: "uint256",
5360
- name: "shares",
5361
- type: "uint256"
5362
- },
5363
- {
5364
- internalType: "address",
5365
- name: "receiver",
5366
- type: "address"
5367
- },
5368
- {
5369
- internalType: "address",
5370
- name: "owner",
5371
- type: "address"
5372
- }
5373
- ],
5374
- name: "redeem",
5375
- outputs: [{
5376
- internalType: "uint256",
5377
- name: "",
5378
- type: "uint256"
5379
- }],
5380
- stateMutability: "nonpayable",
5381
- type: "function"
5382
- },
5383
- {
5384
- inputs: [],
5385
- name: "renounceOwnership",
5386
- outputs: [],
5387
- stateMutability: "nonpayable",
5388
- type: "function"
5389
- },
5390
- {
5391
- inputs: [{
5392
- internalType: "address",
5393
- name: "_externalAction",
5394
- type: "address"
5395
- }],
5396
- name: "setExternalAction",
5397
- outputs: [],
5398
- stateMutability: "nonpayable",
5399
- type: "function"
5400
- },
5401
- {
5402
- inputs: [{
5403
- internalType: "address",
5404
- name: "_hinkalAddress",
5405
- type: "address"
5406
- }],
5407
- name: "setHinkalAddress",
5408
- outputs: [],
5409
- stateMutability: "nonpayable",
5410
- type: "function"
5411
- },
5412
- {
5413
- inputs: [{
5414
- internalType: "bytes4",
5415
- name: "_interfaceId",
5416
- type: "bytes4"
5417
- }],
5418
- name: "supportsInterface",
5419
- outputs: [{
5420
- internalType: "bool",
5421
- name: "",
5422
- type: "bool"
5423
- }],
5424
- stateMutability: "view",
5425
- type: "function"
5426
- },
5427
- {
5428
- inputs: [],
5429
- name: "symbol",
5430
- outputs: [{
5431
- internalType: "string",
5432
- name: "",
5433
- type: "string"
5434
- }],
5435
- stateMutability: "view",
5436
- type: "function"
5437
- },
5438
- {
5439
- inputs: [],
5440
- name: "totalAssets",
5441
- outputs: [{
5442
- internalType: "uint256",
5443
- name: "",
5444
- type: "uint256"
5445
- }],
5446
- stateMutability: "view",
5447
- type: "function"
5448
- },
5449
- {
5450
- inputs: [],
5451
- name: "totalSupply",
5452
- outputs: [{
5453
- internalType: "uint256",
5454
- name: "",
5455
- type: "uint256"
5456
- }],
5457
- stateMutability: "view",
5458
- type: "function"
5459
- },
5460
- {
5461
- inputs: [{
5462
- internalType: "address",
5463
- name: "to",
5464
- type: "address"
5465
- }, {
5466
- internalType: "uint256",
5467
- name: "amount",
5468
- type: "uint256"
5469
- }],
5470
- name: "transfer",
5471
- outputs: [{
5472
- internalType: "bool",
5473
- name: "",
5474
- type: "bool"
5475
- }],
5476
- stateMutability: "nonpayable",
5477
- type: "function"
5478
- },
5479
- {
5480
- inputs: [
5481
- {
5482
- internalType: "address",
5483
- name: "from",
5484
- type: "address"
5485
- },
5486
- {
5487
- internalType: "address",
5488
- name: "to",
5489
- type: "address"
5490
- },
5491
- {
5492
- internalType: "uint256",
5493
- name: "amount",
5494
- type: "uint256"
5495
- }
5496
- ],
5497
- name: "transferFrom",
5498
- outputs: [{
5499
- internalType: "bool",
5500
- name: "",
5501
- type: "bool"
5502
- }],
5503
- stateMutability: "nonpayable",
5504
- type: "function"
5505
- },
5506
- {
5507
- inputs: [{
5508
- internalType: "address",
5509
- name: "newOwner",
5510
- type: "address"
5511
- }],
5512
- name: "transferOwnership",
5513
- outputs: [],
5514
- stateMutability: "nonpayable",
5515
- type: "function"
5516
- },
5517
- {
5518
- inputs: [
5519
- {
5520
- internalType: "uint256",
5521
- name: "assets",
5522
- type: "uint256"
5523
- },
5524
- {
5525
- internalType: "address",
5526
- name: "receiver",
5527
- type: "address"
5528
- },
5529
- {
5530
- internalType: "address",
5531
- name: "owner",
5532
- type: "address"
5533
- }
5534
- ],
5535
- name: "withdraw",
5536
- outputs: [{
5537
- internalType: "uint256",
5538
- name: "",
5539
- type: "uint256"
5540
- }],
5541
- stateMutability: "nonpayable",
5542
- type: "function"
5543
- }
5544
- ],
5545
- HTokenOracleABI: [
5546
- {
5547
- inputs: [{
5548
- internalType: "contract IERC4626",
5549
- name: "_hToken",
5550
- type: "address"
5551
- }],
5552
- stateMutability: "nonpayable",
5553
- type: "constructor"
5554
- },
5555
- {
5556
- inputs: [],
5557
- name: "exchangeRate",
5558
- outputs: [{
5559
- internalType: "uint256",
5560
- name: "",
5561
- type: "uint256"
5562
- }],
5563
- stateMutability: "view",
5564
- type: "function"
5565
- },
5566
- {
5567
- inputs: [],
5568
- name: "hToken",
5569
- outputs: [{
5570
- internalType: "contract IERC4626",
5571
- name: "",
5572
- type: "address"
5573
- }],
5574
- stateMutability: "view",
5575
- type: "function"
5576
- }
5577
- ],
5578
3332
  emporiumAddress: "0xe59FF2F5eC7D109221ffaAbE183A64A63FA4F8c8",
5579
3333
  hinkalWalletAddress: "0x5B9FffF15dE4fFB1c884039B44e49EbB027b130d",
5580
3334
  hinkalWrapperAddress: "0x5bD7D79BE6e52EcC0969FeEbBbc8482Cb76367ef",