h_test_1 0.0.46 → 0.0.48
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.
- package/API/API.mjs +1 -1
- package/API/accessCodeCalls.mjs +1 -1
- package/API/admin-calls.mjs +1 -1
- package/API/brotherhoodCalls.mjs +1 -1
- package/API/callLifiAPI.mjs +1 -1
- package/API/callMonitor.mjs +1 -1
- package/API/callOdosAPI.mjs +1 -1
- package/API/callOkxAPI.mjs +1 -1
- package/API/callOneInchAPI.mjs +1 -1
- package/API/callRelayer.mjs +1 -1
- package/API/checkRisk.mjs +1 -1
- package/API/deposit-and-withdraw-status-calls.mjs +1 -1
- package/API/enclaveSignatureCalls.mjs +1 -1
- package/API/enclaveUtxoCalls.mjs +1 -1
- package/API/fetchCommitmentsCache.mjs +1 -1
- package/API/generate-trading-points.mjs +1 -1
- package/API/get-token-data.mjs +1 -1
- package/API/get-token-price-chart-data.mjs +1 -1
- package/API/getCoingeckoPrice.mjs +1 -1
- package/API/getGasEstimates.mjs +1 -1
- package/API/getServerURL.mjs +1 -1
- package/API/getTokenPrice.mjs +1 -1
- package/API/getWebsiteURL.mjs +1 -1
- package/API/kycCalls.mjs +1 -1
- package/API/leaderboardCalls.mjs +1 -1
- package/API/onrampCalls.mjs +1 -1
- package/API/privacy-score-calls.mjs +1 -1
- package/API/privateSendEmailNotificationsCalls.mjs +1 -1
- package/API/privateSendNonceCalls.mjs +1 -1
- package/API/privateSendRecipientInfoCalls.mjs +1 -1
- package/API/proxyAccountsCalls.mjs +1 -1
- package/API/referralsCalls.mjs +1 -1
- package/API/relayCalls.mjs +1 -1
- package/API/resolve-sns.mjs +1 -1
- package/API/rewardsUserCalls.mjs +1 -1
- package/API/scheduled-transactions-calls.mjs +1 -1
- package/API/seedless-calls.mjs +1 -1
- package/API/send-telegram-callback.mjs +1 -1
- package/API/simulate-batch-tx.mjs +1 -1
- package/API/simulate-transaction.mjs +1 -1
- package/API/snapshot-event-calls.mjs +1 -1
- package/API/solana-calls.mjs +1 -1
- package/API/temporaryWalletCalls.mjs +1 -1
- package/API/tenderly.api.mjs +1 -1
- package/API/token-calls.mjs +1 -1
- package/API/tronSubsidyCalls.mjs +1 -1
- package/API/weeklyAnalyticCalls.mjs +1 -1
- package/constants/activity.constants.mjs +1 -1
- package/constants/addresses.constants.mjs +1 -1
- package/constants/assets.constants.mjs +1 -1
- package/constants/backend.constants.mjs +1 -1
- package/constants/balance.constants.mjs +1 -1
- package/constants/bridging.constants.mjs +1 -1
- package/constants/chains.constants.cjs +1 -1
- package/constants/chains.constants.mjs +118 -120
- package/constants/coingecko.constants.mjs +1 -1
- package/constants/contracts.constants.mjs +1 -1
- package/constants/conversion.constants.mjs +1 -1
- package/constants/deploy-data/index.d.ts +1 -3
- package/constants/events.constants.mjs +1 -1
- package/constants/fees.constants.mjs +1 -1
- package/constants/function-signatures.constants.mjs +1 -1
- package/constants/images.constants.mjs +1 -1
- package/constants/index.cjs +1 -1
- package/constants/index.mjs +0 -2
- package/constants/kyc.constants.mjs +1 -1
- package/constants/lifi.constants.mjs +1 -1
- package/constants/link.constant.mjs +1 -1
- package/constants/mediaUrls.constants.mjs +1 -1
- package/constants/non-circular-tokens.constants.mjs +1 -1
- package/constants/oauthUrls.constants.mjs +1 -1
- package/constants/okx.constants.mjs +1 -1
- package/constants/pay.constants.mjs +1 -1
- package/constants/permit2.constants.mjs +1 -1
- package/constants/presale.constants.mjs +1 -1
- package/constants/protocol.constants.mjs +1 -1
- package/constants/reorg-depths.constants.mjs +1 -1
- package/constants/rewards.constants.mjs +1 -1
- package/constants/save-depths.mjs +1 -1
- package/constants/schedule.constants.mjs +1 -1
- package/constants/server.constants.mjs +1 -1
- package/constants/tasks.constants.mjs +1 -1
- package/constants/token-data/ERC20Registry.cjs +1 -1
- package/constants/token-data/ERC20Registry.mjs +39 -51
- package/constants/token-data/index.cjs +1 -1
- package/constants/token-data/index.d.ts +1 -233
- package/constants/token-data/index.mjs +14 -18
- package/constants/token.limits.constants.mjs +1 -1
- package/constants/tokens.constants.mjs +1 -1
- package/constants/tx-confirmation.constants.mjs +1 -1
- package/constants/vite.constants.mjs +1 -1
- package/constants/wallet.constants.mjs +1 -1
- package/crypto/preProcessing.mjs +1 -1
- package/data-structures/AccountActions/AccountActions.mjs +1 -1
- package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +1 -1
- package/data-structures/BlockchainEvent/BlockchainEvent.mjs +1 -1
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.mjs +2 -2
- package/data-structures/Hinkal/handleAutoDepositBack.mjs +1 -1
- package/data-structures/Hinkal/hinkalActionReceive.mjs +1 -1
- package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.mjs +1 -1
- package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +1 -1
- package/data-structures/Hinkal/hinkalClaimUtxo.mjs +1 -1
- package/data-structures/Hinkal/hinkalDeposit.mjs +1 -1
- package/data-structures/Hinkal/hinkalDepositAndBridge.mjs +1 -1
- package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +1 -1
- package/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +1 -1
- package/data-structures/Hinkal/hinkalGetRecipientInfo.mjs +1 -1
- package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +1 -1
- package/data-structures/Hinkal/hinkalMultiSend.mjs +1 -1
- package/data-structures/Hinkal/hinkalPrivateWallet.mjs +1 -1
- package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +1 -1
- package/data-structures/Hinkal/hinkalProxySwap.mjs +1 -1
- package/data-structures/Hinkal/hinkalProxyToPrivate.mjs +1 -1
- package/data-structures/Hinkal/hinkalSignSubAccount.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaProxySend.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaSwap.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +1 -1
- package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +1 -1
- package/data-structures/Hinkal/hinkalSwap.mjs +1 -1
- package/data-structures/Hinkal/hinkalTransfer.mjs +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.mjs +3 -9
- package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +1 -1
- package/data-structures/Hinkal/resetMerkleTrees.mjs +1 -1
- package/data-structures/IndexedDB/activity-db.mjs +1 -1
- package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +1 -1
- package/data-structures/TokenDBs/ArcPublicTokensDB.mjs +1 -1
- package/data-structures/TokenDBs/PrivateTokensDB.mjs +1 -1
- package/data-structures/TokenDBs/PublicTokensDB.mjs +1 -1
- package/data-structures/ValueCache/ValueCache.mjs +1 -1
- package/data-structures/cacheDevices/AttachableMemoryCacheDevice.mjs +1 -1
- package/data-structures/cacheDevices/BaseCacheDevice.mjs +1 -1
- package/data-structures/cacheDevices/FileCacheDevice.mjs +1 -1
- package/data-structures/cacheDevices/LocalStorageCacheDevice.mjs +1 -1
- package/data-structures/crypto-keys/decodeUTXO.mjs +1 -1
- package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +1 -1
- package/data-structures/crypto-keys/keyUtils.mjs +1 -1
- package/data-structures/crypto-keys/keys.mjs +1 -1
- package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.mjs +1 -1
- package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.mjs +1 -1
- package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.mjs +1 -1
- package/data-structures/event-service/evm/AbstractEventService.cjs +1 -1
- package/data-structures/event-service/evm/AbstractEventService.mjs +2 -2
- package/data-structures/event-service/evm/AbstractNullifierSnapshotService.mjs +1 -1
- package/data-structures/event-service/evm/AbstractSnapshotService.mjs +1 -1
- package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +1 -1
- package/data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs +1 -1
- package/data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs +1 -1
- package/data-structures/event-service/helpers/ClientEventHelper.mjs +1 -1
- package/data-structures/event-service/helpers/PollingEventHelper.mjs +1 -1
- package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +1 -1
- package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +1 -1
- package/data-structures/event-service/solana/AbstractSolanaEventService.mjs +1 -1
- package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs +1 -1
- package/data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs +1 -1
- package/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.mjs +1 -1
- package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs +1 -1
- package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +1 -1
- package/data-structures/http/BasicHttpClient.mjs +1 -1
- package/data-structures/http/HttpClient.mjs +1 -1
- package/data-structures/merkle-tree/MerkleTree.mjs +1 -1
- package/data-structures/merkle-tree/MerkleTreeIncompleteError.mjs +1 -1
- package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +1 -1
- package/data-structures/presale/PresaleContractWrapper.mjs +1 -1
- package/data-structures/snapshot/SnapshotFetcherService.mjs +1 -1
- package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs +1 -1
- package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +1 -1
- package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs +1 -1
- package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs +1 -1
- package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +1 -1
- package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs +1 -1
- package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs +1 -1
- package/data-structures/token-price-fetcher/TokenChecker.mjs +1 -1
- package/data-structures/transactions-manager/history/history.types.mjs +1 -1
- package/data-structures/utxo/Utxo.mjs +1 -1
- package/error-handling/customErrors/ErrorWithAmount.mjs +1 -1
- package/error-handling/customErrors/ErrorWithIndex.mjs +1 -1
- package/error-handling/customErrors/ErrorWithTx.mjs +1 -1
- package/error-handling/customErrors/FeeOverTransactionValueError.mjs +1 -1
- package/error-handling/customErrors/SimulationFailureError.mjs +1 -1
- package/error-handling/customErrors/customErrors.helpers.cjs +1 -1
- package/error-handling/customErrors/customErrors.helpers.mjs +2 -2
- package/error-handling/error-codes.constants.mjs +1 -1
- package/error-handling/get-error.message.cjs +1 -1
- package/error-handling/get-error.message.mjs +2 -2
- package/error-handling/isInsufficientFundsError.mjs +1 -1
- package/error-handling/logError.mjs +1 -1
- package/error-handling/logger.mjs +1 -1
- package/error-handling/types.mjs +1 -1
- package/externalABIs/BUSD.mjs +1 -1
- package/externalABIs/DAI.mjs +1 -1
- package/externalABIs/NodeInterfaceABI.json.mjs +1 -1
- package/externalABIs/OptimismGasPriceOracle.json.mjs +1 -1
- package/externalABIs/SanctionsList.mjs +1 -1
- package/externalABIs/USDC.mjs +1 -1
- package/externalABIs/USDR.mjs +1 -1
- package/externalABIs/USDR3CRV.mjs +1 -1
- package/externalABIs/USDT.mjs +1 -1
- package/externalABIs/WETH.mjs +1 -1
- package/externalABIs/amToken.mjs +1 -1
- package/externalABIs/index.mjs +1 -1
- package/externalABIs/swapAbi.mjs +1 -1
- package/functions/auto-deposit-back-helpers/get-gas-token-records.mjs +1 -1
- package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.mjs +1 -1
- package/functions/auto-deposit-back-helpers/select-gas-token.mjs +1 -1
- package/functions/auto-deposit-back-helpers/update-hinkal.mjs +1 -1
- package/functions/kyc/checkTokenLimitsUSD.mjs +1 -1
- package/functions/kyc/openDefaultPassportWindow.mjs +1 -1
- package/functions/kyc/passportHelper.mjs +1 -1
- package/functions/kyc/zkMeHelper.mjs +1 -1
- package/functions/pre-transaction/addressTableLookup.mjs +1 -1
- package/functions/pre-transaction/constructAdminData.mjs +1 -1
- package/functions/pre-transaction/convert-okx-instructions.mjs +1 -1
- package/functions/pre-transaction/ensureAmountChanges.mjs +1 -1
- package/functions/pre-transaction/getExternalSwapAddress.mjs +1 -1
- package/functions/pre-transaction/getFeeStructure.mjs +1 -1
- package/functions/pre-transaction/getFlatFees.mjs +1 -1
- package/functions/pre-transaction/getKycAndSignatureData.mjs +1 -1
- package/functions/pre-transaction/getSignatureDataForTransact.mjs +1 -1
- package/functions/pre-transaction/getSolanaCalldataHash.mjs +1 -1
- package/functions/pre-transaction/getVolatileTransferAmount.mjs +1 -1
- package/functions/pre-transaction/initTokenLimitIfNeeded.mjs +1 -1
- package/functions/pre-transaction/interaction-to-action.mjs +1 -1
- package/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +1 -1
- package/functions/pre-transaction/merge-with-fee-structure.mjs +1 -1
- package/functions/pre-transaction/outputApprovalDataProcessing.cjs +1 -1
- package/functions/pre-transaction/outputApprovalDataProcessing.mjs +3 -3
- package/functions/pre-transaction/outputUtxoProcessing.cjs +1 -1
- package/functions/pre-transaction/outputUtxoProcessing.mjs +2 -5
- package/functions/pre-transaction/process-gas-estimates.mjs +1 -1
- package/functions/pre-transaction/recipientUtxoProcessing.mjs +1 -1
- package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +1 -1
- package/functions/pre-transaction/sendV0Transaction.mjs +1 -1
- package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.mjs +1 -1
- package/functions/pre-transaction/solana-public-signals.mjs +1 -1
- package/functions/pre-transaction/solana.mjs +1 -1
- package/functions/pre-transaction/solanaTransfer.utils.mjs +1 -1
- package/functions/pre-transaction/store-instructions.mjs +1 -1
- package/functions/pre-transaction/store-proof.mjs +1 -1
- package/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs +1 -1
- package/functions/private-wallet/emporium.helpers.mjs +1 -1
- package/functions/private-wallet/emporium.swap.helpers.mjs +1 -1
- package/functions/private-wallet/opProducer.mjs +1 -1
- package/functions/snarkjs/common.snarkjs.mjs +1 -1
- package/functions/snarkjs/constant.mjs +1 -1
- package/functions/snarkjs/constructEmporiumProof.mjs +1 -1
- package/functions/snarkjs/constructGeneralZkProof.mjs +1 -1
- package/functions/snarkjs/constructSolanaZkProof.mjs +1 -1
- package/functions/snarkjs/fetchMerkleTreeSiblings.mjs +1 -1
- package/functions/snarkjs/fetchOnChainRootHashes.mjs +1 -1
- package/functions/snarkjs/generateCircomData.mjs +1 -1
- package/functions/snarkjs/generateZkProof.mjs +1 -1
- package/functions/snarkjs/generateZkProofEnclave.mjs +1 -1
- package/functions/snarkjs/generateZkProofSelf.mjs +1 -1
- package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +1 -1
- package/functions/snarkjs/getOriginalSender.mjs +1 -1
- package/functions/snarkjs/getZKFiles.mjs +1 -1
- package/functions/utils/addresses.mjs +1 -1
- package/functions/utils/amounts.utils.mjs +1 -1
- package/functions/utils/arraysMatch.mjs +1 -1
- package/functions/utils/buildClaimableDepositPlan.mjs +1 -1
- package/functions/utils/bytes32.utils.mjs +1 -1
- package/functions/utils/cacheDevice.utils.mjs +1 -1
- package/functions/utils/cacheFunctions.mjs +1 -1
- package/functions/utils/caseInsensitive.utils.mjs +1 -1
- package/functions/utils/convertEmporiumOpToCallInfo.mjs +1 -1
- package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +1 -1
- package/functions/utils/create-provider.mjs +1 -1
- package/functions/utils/enclave-signature-storage.mjs +1 -1
- package/functions/utils/enclave-utxo-storage.mjs +1 -1
- package/functions/utils/encodeTokenWithId.mjs +1 -1
- package/functions/utils/encryptInputForEnclave.mjs +1 -1
- package/functions/utils/erc20tokenFunctions.mjs +1 -1
- package/functions/utils/evmNetworkFunctions.mjs +1 -1
- package/functions/utils/external-action.utils.mjs +1 -1
- package/functions/utils/fees.utils.mjs +1 -1
- package/functions/utils/get-signature-header.mjs +1 -1
- package/functions/utils/getBlockExplorerUrl.mjs +1 -1
- package/functions/utils/getContractAddress.mjs +1 -1
- package/functions/utils/getDataFromTransaction.mjs +1 -1
- package/functions/utils/getRecipientInfoFromUserKeys.mjs +1 -1
- package/functions/utils/getSignerFromContract.mjs +1 -1
- package/functions/utils/getUtxosFromReceipt.utils.mjs +1 -1
- package/functions/utils/getUtxosFromReceiptSolana.mjs +1 -1
- package/functions/utils/getWalletGroupKey.utils.mjs +1 -1
- package/functions/utils/inLogicMetadata.mjs +1 -1
- package/functions/utils/involves-permit2-op.mjs +1 -1
- package/functions/utils/ipfs.mjs +1 -1
- package/functions/utils/is-valid-url.mjs +1 -1
- package/functions/utils/merkleTree.utils.mjs +1 -1
- package/functions/utils/mutexes.utils.mjs +1 -1
- package/functions/utils/networks.utils.mjs +1 -1
- package/functions/utils/nftTokenFunctions.mjs +1 -1
- package/functions/utils/nickname.utils.mjs +1 -1
- package/functions/utils/postToOffscreen.mjs +1 -1
- package/functions/utils/prepareHinkal.mjs +1 -1
- package/functions/utils/process.utils.mjs +1 -1
- package/functions/utils/processUseApprovalUtxoData.mjs +1 -1
- package/functions/utils/proxyAvatar.utils.mjs +1 -1
- package/functions/utils/publicBalance.utils.mjs +1 -1
- package/functions/utils/reloadPage.mjs +1 -1
- package/functions/utils/requireEnv.mjs +1 -1
- package/functions/utils/resolve-sync.utils.mjs +1 -1
- package/functions/utils/rpc-int-encode.mjs +1 -1
- package/functions/utils/serialize-utxos.utils.mjs +1 -1
- package/functions/utils/serialize.utils.mjs +1 -1
- package/functions/utils/solanaMint.utils.mjs +1 -1
- package/functions/utils/string.utils.mjs +1 -1
- package/functions/utils/time.utils.mjs +1 -1
- package/functions/utils/token-check.utils.mjs +1 -1
- package/functions/utils/trimFieldValues.mjs +1 -1
- package/functions/utils/tron.utils.mjs +1 -1
- package/functions/utils/tronSimulation.utils.mjs +1 -1
- package/functions/utils/tx-confirmation.utils.mjs +1 -1
- package/functions/utils/upToDateState.mjs +1 -1
- package/functions/utils/userAgent.mjs +1 -1
- package/functions/utils/validateUsername.mjs +1 -1
- package/functions/utils/walletBalances.utils.mjs +1 -1
- package/functions/web3/EIP-712.mjs +1 -1
- package/functions/web3/connectors.utils.mjs +1 -1
- package/functions/web3/crypto.mjs +1 -1
- package/functions/web3/etherFunctions.mjs +1 -1
- package/functions/web3/events/balanceChangedCustomHandler.mjs +1 -1
- package/functions/web3/events/balanceChangedHandler.mjs +1 -1
- package/functions/web3/events/getApprovedBalance.mjs +1 -1
- package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
- package/functions/web3/events/getInputUtxoAndBalance.mjs +13 -60
- package/functions/web3/events/getInputUtxosEnclave.mjs +1 -1
- package/functions/web3/events/getShieldedBalance.cjs +1 -1
- package/functions/web3/events/getShieldedBalance.mjs +3 -13
- package/functions/web3/events/getTransactionLogEvents.mjs +1 -1
- package/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +1 -1
- package/functions/web3/functionCalls/accessTokenCalls.mjs +1 -1
- package/functions/web3/functionCalls/approveToken.mjs +1 -1
- package/functions/web3/functionCalls/approveTokensToHinkal.mjs +1 -1
- package/functions/web3/functionCalls/constructBatchCall.mjs +1 -1
- package/functions/web3/functionCalls/recoverTransactionFromError.mjs +1 -1
- package/functions/web3/functionCalls/transactCallDirect.mjs +1 -1
- package/functions/web3/functionCalls/transactCallDirectTron.mjs +1 -1
- package/functions/web3/functionCalls/transactCallRelayer.mjs +1 -1
- package/functions/web3/functionCalls/waitForErc20Approvals.mjs +1 -1
- package/functions/web3/getContractMetadata.mjs +1 -1
- package/functions/web3/getPublicAddressBalance.mjs +1 -1
- package/functions/web3/getSolanaPriorityFee.mjs +1 -1
- package/functions/web3/getTokenHolder.mjs +1 -1
- package/functions/web3/lifiAPI.mjs +1 -1
- package/functions/web3/odosAPI.mjs +1 -1
- package/functions/web3/okxAPI.mjs +1 -1
- package/functions/web3/oneInchAPI.mjs +1 -1
- package/functions/web3/runContractFunction.mjs +1 -1
- package/functions/web3/signAndSendSerializedTransaction.mjs +1 -1
- package/functions/web3/tron-wagmi-adapter.mjs +1 -1
- package/functions/web3/uniswapAPI.mjs +1 -1
- package/index.cjs +1 -1
- package/index.mjs +308 -310
- package/mutexes/mutex.mjs +1 -1
- package/package.json +1 -1
- package/providers/CustomEthersProvider.mjs +1 -1
- package/providers/CustomSolanaConnection.mjs +1 -1
- package/providers/EthersProviderAdapter.mjs +1 -1
- package/providers/SolanaProviderAdapter.mjs +1 -1
- package/providers/TronProviderAdapter.mjs +1 -1
- package/providers/WagmiProviderAdapter.mjs +1 -1
- package/providers/prepareEthersHinkal.mjs +1 -1
- package/providers/prepareSolanaHinkal.mjs +1 -1
- package/providers/prepareTronHinkal.mjs +1 -1
- package/providers/prepareWagmiHinkal.mjs +1 -1
- package/types/RewardUserEnums.mjs +1 -1
- package/types/activities.types.mjs +1 -1
- package/types/admin.types.mjs +1 -1
- package/types/approvals.types.mjs +1 -1
- package/types/balances.types.mjs +1 -1
- package/types/cache.types.mjs +1 -1
- package/types/circom-data.types.mjs +1 -1
- package/types/confirmation-request.types.mjs +1 -1
- package/types/eip5792.types.mjs +1 -1
- package/types/ethereum-network.types.mjs +1 -1
- package/types/events.types.mjs +1 -1
- package/types/external-action.types.mjs +1 -1
- package/types/fee.types.mjs +1 -1
- package/types/generatePoints.mjs +1 -1
- package/types/hinkal.types.mjs +1 -1
- package/types/kyc.types.mjs +1 -1
- package/types/new-rewards.type.mjs +1 -1
- package/types/offscreen.types.mjs +1 -1
- package/types/onramp.types.mjs +1 -1
- package/types/pay-activities.types.mjs +1 -1
- package/types/rewards.types.mjs +1 -1
- package/types/schedule.types.mjs +1 -1
- package/types/scheduled-transactions.types.mjs +1 -1
- package/types/slippage.types.mjs +1 -1
- package/types/token-prices.types.mjs +1 -1
- package/types/token.types.mjs +1 -1
- package/types/transaction.types.mjs +1 -1
- package/webworker/performTaskWithWorker.mjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorker.types.mjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
- package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +2 -2
- package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +1 -1
- package/webworker/utxoWorker/utxoWorker.types.mjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
- package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +2 -2
- package/webworker/utxoWorker/utxoWorkerLogic.mjs +1 -1
- package/webworker/worker.registry.mjs +1 -1
- package/webworker/workerFactory.mjs +1 -1
- package/webworker/workerProxy.mjs +1 -1
- package/webworker/zkProofWorker/zkProofWorker.types.mjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
- package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +2 -2
- package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +1 -1
- package/constants/deploy-data/deploy-data-avalanche.json.cjs +0 -1
- package/constants/deploy-data/deploy-data-avalanche.json.mjs +0 -5352
- package/constants/deploy-data/deploy-data-bnbMainnet.json.cjs +0 -1
- package/constants/deploy-data/deploy-data-bnbMainnet.json.mjs +0 -5352
- package/constants/token-data/avalancheRegistry.json.cjs +0 -1
- package/constants/token-data/avalancheRegistry.json.mjs +0 -729
- package/constants/token-data/avalancheRegistryFixed.json.cjs +0 -1
- package/constants/token-data/avalancheRegistryFixed.json.mjs +0 -729
- package/constants/token-data/bnbMainnetRegistry.json.cjs +0 -1
- package/constants/token-data/bnbMainnetRegistry.json.mjs +0 -900
- package/constants/token-data/bnbMainnetRegistryFixed.json.cjs +0 -1
- package/constants/token-data/bnbMainnetRegistryFixed.json.mjs +0 -900
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import e from "./deploy-data/deploy-data-
|
|
2
|
-
import t from "./deploy-data/deploy-data-
|
|
3
|
-
import n from "./deploy-data/deploy-data-
|
|
4
|
-
import r from "./deploy-data/deploy-data-
|
|
5
|
-
import i from "./deploy-data/deploy-data-
|
|
6
|
-
import a from "./deploy-data/deploy-data-
|
|
7
|
-
import o from "./deploy-data/deploy-data-
|
|
8
|
-
import s from "./deploy-data/deploy-data-
|
|
9
|
-
import c from "./deploy-data/deploy-data-
|
|
10
|
-
import l from "./deploy-data/deploy-data-
|
|
11
|
-
import u from "./
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
//#region libs/shared/common/src/constants/chains.constants.ts
|
|
15
|
-
var m = {
|
|
1
|
+
import e from "./deploy-data/deploy-data-arbMainnet.json.mjs";
|
|
2
|
+
import t from "./deploy-data/deploy-data-ethMainnet.json.mjs";
|
|
3
|
+
import n from "./deploy-data/deploy-data-optimism.json.mjs";
|
|
4
|
+
import r from "./deploy-data/deploy-data-polygon.json.mjs";
|
|
5
|
+
import i from "./deploy-data/deploy-data-base.json.mjs";
|
|
6
|
+
import a from "./deploy-data/deploy-data-localhost.json.mjs";
|
|
7
|
+
import o from "./deploy-data/deploy-data-arcTestnet.json.mjs";
|
|
8
|
+
import s from "./deploy-data/deploy-data-solana.json.mjs";
|
|
9
|
+
import c from "./deploy-data/deploy-data-tronNile.json.mjs";
|
|
10
|
+
import l from "./deploy-data/deploy-data-tronMainnet.json.mjs";
|
|
11
|
+
import { isDevelopment as u, isNotProduction as d } from "./vite.constants.mjs";
|
|
12
|
+
//#region ../shared/common/src/constants/chains.constants.ts
|
|
13
|
+
var f = {
|
|
16
14
|
polygon: 137,
|
|
17
15
|
arbMainnet: 42161,
|
|
18
16
|
ethMainnet: 1,
|
|
@@ -27,199 +25,199 @@ var m = {
|
|
|
27
25
|
tronNile: 3448148188,
|
|
28
26
|
tronLocalnet: 103,
|
|
29
27
|
tronMainnet: 728126428
|
|
30
|
-
},
|
|
31
|
-
[
|
|
28
|
+
}, p = "4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ", m = f.ethMainnet, h = (e) => !![f.localhost].includes(e), g = (e) => e ? h(e) ? m : e : m, _ = "X4IiEZsSzGOrJq8tzq7Y3", v = d ? _ : "XzUgeU8YiIIzkD7j2GWnTsFUck7wGgK9", y = "https://mainnet.helius-rpc.com/?api-key=24718f72-c710-45d6-853e-d447cf530579", b = {
|
|
29
|
+
[f.ethMainnet]: {
|
|
32
30
|
name: "Ethereum",
|
|
33
|
-
chainId:
|
|
31
|
+
chainId: f.ethMainnet,
|
|
34
32
|
rpcUrl: "https://rpc.ankr.com/eth",
|
|
35
|
-
fetchRpcUrl: `https://eth-mainnet.g.alchemy.com/v2/${
|
|
36
|
-
wsRpcUrl: `wss://eth-mainnet.g.alchemy.com/v2/${
|
|
33
|
+
fetchRpcUrl: `https://eth-mainnet.g.alchemy.com/v2/${v}`,
|
|
34
|
+
wsRpcUrl: `wss://eth-mainnet.g.alchemy.com/v2/${v}`,
|
|
37
35
|
supported: !0,
|
|
38
|
-
contractData:
|
|
36
|
+
contractData: t,
|
|
39
37
|
quoterV2Address: "0x61fFE014bA17989E743c5F6cB21bF9697530B21e",
|
|
40
38
|
uniswapV3FactoryAddress: "0x1F98431c8aD98523631AE4a59f267346ea31F984",
|
|
41
39
|
priority: 1,
|
|
42
40
|
maxPageSize: 9e5
|
|
43
41
|
},
|
|
44
|
-
[
|
|
42
|
+
[f.arbMainnet]: {
|
|
45
43
|
name: "Arbitrum",
|
|
46
|
-
chainId:
|
|
44
|
+
chainId: f.arbMainnet,
|
|
47
45
|
rpcUrl: "https://endpoints.omniatech.io/v1/arbitrum/one/public",
|
|
48
|
-
fetchRpcUrl: `https://arb-mainnet.g.alchemy.com/v2/${
|
|
49
|
-
wsRpcUrl: `wss://arb-mainnet.g.alchemy.com/v2/${
|
|
46
|
+
fetchRpcUrl: `https://arb-mainnet.g.alchemy.com/v2/${v}`,
|
|
47
|
+
wsRpcUrl: `wss://arb-mainnet.g.alchemy.com/v2/${v}`,
|
|
50
48
|
supported: !0,
|
|
51
|
-
contractData:
|
|
49
|
+
contractData: e,
|
|
52
50
|
quoterV2Address: "0x61fFE014bA17989E743c5F6cB21bF9697530B21e",
|
|
53
51
|
uniswapV3FactoryAddress: "0x1F98431c8aD98523631AE4a59f267346ea31F984",
|
|
54
52
|
priority: 2,
|
|
55
53
|
maxPageSize: 5e5
|
|
56
54
|
},
|
|
57
|
-
[
|
|
55
|
+
[f.optimism]: {
|
|
58
56
|
name: "Optimism",
|
|
59
|
-
chainId:
|
|
57
|
+
chainId: f.optimism,
|
|
60
58
|
rpcUrl: "https://optimism-mainnet.infura.io/v3/c26b99456bb6464bb498926ff5162903",
|
|
61
|
-
fetchRpcUrl: `https://opt-mainnet.g.alchemy.com/v2/${
|
|
62
|
-
wsRpcUrl: `wss://opt-mainnet.g.alchemy.com/v2/${
|
|
59
|
+
fetchRpcUrl: `https://opt-mainnet.g.alchemy.com/v2/${v}`,
|
|
60
|
+
wsRpcUrl: `wss://opt-mainnet.g.alchemy.com/v2/${v}`,
|
|
63
61
|
supported: !0,
|
|
64
|
-
contractData:
|
|
62
|
+
contractData: n,
|
|
65
63
|
quoterV2Address: "0x61fFE014bA17989E743c5F6cB21bF9697530B21e",
|
|
66
64
|
uniswapV3FactoryAddress: "0x1F98431c8aD98523631AE4a59f267346ea31F984",
|
|
67
65
|
priority: 3,
|
|
68
66
|
maxPageSize: 9e5
|
|
69
67
|
},
|
|
70
|
-
[
|
|
68
|
+
[f.polygon]: {
|
|
71
69
|
name: "Polygon",
|
|
72
|
-
chainId:
|
|
70
|
+
chainId: f.polygon,
|
|
73
71
|
rpcUrl: "https://polygon-rpc.com",
|
|
74
|
-
fetchRpcUrl: `https://polygon-mainnet.g.alchemy.com/v2/${
|
|
75
|
-
wsRpcUrl: `wss://polygon-mainnet.g.alchemy.com/v2/${
|
|
72
|
+
fetchRpcUrl: `https://polygon-mainnet.g.alchemy.com/v2/${v}`,
|
|
73
|
+
wsRpcUrl: `wss://polygon-mainnet.g.alchemy.com/v2/${v}`,
|
|
76
74
|
supported: !0,
|
|
77
|
-
contractData:
|
|
75
|
+
contractData: r,
|
|
78
76
|
quoterV2Address: "0x61fFE014bA17989E743c5F6cB21bF9697530B21e",
|
|
79
77
|
uniswapV3FactoryAddress: "0x1F98431c8aD98523631AE4a59f267346ea31F984",
|
|
80
78
|
priority: 4,
|
|
81
79
|
maxPageSize: 9e5
|
|
82
80
|
},
|
|
83
|
-
[
|
|
81
|
+
[f.avalanche]: {
|
|
84
82
|
name: "Avalanche",
|
|
85
|
-
chainId:
|
|
83
|
+
chainId: f.avalanche,
|
|
86
84
|
rpcUrl: "https://api.avax.network/ext/bc/C/rpc",
|
|
87
|
-
fetchRpcUrl: `https://avax-mainnet.g.alchemy.com/v2/${
|
|
88
|
-
wsRpcUrl: `wss://avax-mainnet.g.alchemy.com/v2/${
|
|
85
|
+
fetchRpcUrl: `https://avax-mainnet.g.alchemy.com/v2/${v}`,
|
|
86
|
+
wsRpcUrl: `wss://avax-mainnet.g.alchemy.com/v2/${v}`,
|
|
89
87
|
supported: !0,
|
|
90
|
-
contractData:
|
|
88
|
+
contractData: {},
|
|
91
89
|
quoterV2Address: "0xbe0F5544EC67e9B3b2D979aaA43f18Fd87E6257F",
|
|
92
90
|
uniswapV3FactoryAddress: "0x740b1c1de25031C31FF4fC9A62f554A55cdC1baD",
|
|
93
91
|
priority: 5
|
|
94
92
|
},
|
|
95
|
-
[
|
|
93
|
+
[f.bnbMainnet]: {
|
|
96
94
|
name: "BNB Chain",
|
|
97
|
-
chainId:
|
|
95
|
+
chainId: f.bnbMainnet,
|
|
98
96
|
rpcUrl: "https://bsc-dataseed.binance.org",
|
|
99
|
-
fetchRpcUrl: `https://bnb-mainnet.g.alchemy.com/v2/${
|
|
100
|
-
wsRpcUrl: `wss://bnb-mainnet.g.alchemy.com/v2/${
|
|
97
|
+
fetchRpcUrl: `https://bnb-mainnet.g.alchemy.com/v2/${v}`,
|
|
98
|
+
wsRpcUrl: `wss://bnb-mainnet.g.alchemy.com/v2/${v}`,
|
|
101
99
|
supported: !0,
|
|
102
|
-
contractData:
|
|
100
|
+
contractData: {},
|
|
103
101
|
quoterV2Address: "0x78D78E420Da98ad378D7799bE8f4AF69033EB077",
|
|
104
102
|
uniswapV3FactoryAddress: "0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7",
|
|
105
103
|
priority: 6
|
|
106
104
|
},
|
|
107
|
-
[
|
|
105
|
+
[f.base]: {
|
|
108
106
|
name: "Base",
|
|
109
|
-
chainId:
|
|
107
|
+
chainId: f.base,
|
|
110
108
|
rpcUrl: "https://mainnet.base.org/",
|
|
111
|
-
fetchRpcUrl: `https://base-mainnet.g.alchemy.com/v2/${
|
|
112
|
-
wsRpcUrl: `wss://base-mainnet.g.alchemy.com/v2/${
|
|
109
|
+
fetchRpcUrl: `https://base-mainnet.g.alchemy.com/v2/${v}`,
|
|
110
|
+
wsRpcUrl: `wss://base-mainnet.g.alchemy.com/v2/${v}`,
|
|
113
111
|
supported: !0,
|
|
114
|
-
contractData:
|
|
112
|
+
contractData: i,
|
|
115
113
|
quoterV2Address: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
116
114
|
uniswapV3FactoryAddress: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
|
|
117
115
|
priority: 7,
|
|
118
116
|
maxPageSize: 5e5
|
|
119
117
|
},
|
|
120
|
-
[
|
|
118
|
+
[f.arcTestnet]: {
|
|
121
119
|
name: "Arc Testnet",
|
|
122
|
-
chainId:
|
|
123
|
-
rpcUrl: `https://arc-testnet.g.alchemy.com/v2/${
|
|
124
|
-
fetchRpcUrl: `https://arc-testnet.g.alchemy.com/v2/${
|
|
125
|
-
wsRpcUrl: `wss://arc-testnet.g.alchemy.com/v2/${
|
|
120
|
+
chainId: f.arcTestnet,
|
|
121
|
+
rpcUrl: `https://arc-testnet.g.alchemy.com/v2/${v}`,
|
|
122
|
+
fetchRpcUrl: `https://arc-testnet.g.alchemy.com/v2/${v}`,
|
|
123
|
+
wsRpcUrl: `wss://arc-testnet.g.alchemy.com/v2/${v}`,
|
|
126
124
|
supported: !0,
|
|
127
|
-
contractData:
|
|
125
|
+
contractData: o,
|
|
128
126
|
priority: 8,
|
|
129
127
|
maxPageSize: 9999
|
|
130
128
|
},
|
|
131
|
-
[
|
|
129
|
+
[f.solanaMainnet]: {
|
|
132
130
|
name: "Solana",
|
|
133
|
-
chainId:
|
|
131
|
+
chainId: f.solanaMainnet,
|
|
134
132
|
rpcUrl: "https://api.mainnet-beta.solana.com",
|
|
135
133
|
fetchRpcUrl: "https://mainnet.helius-rpc.com/?api-key=54ad9ec9-dad6-41de-b961-e3e8ea7a7188",
|
|
136
134
|
supported: !0,
|
|
137
|
-
contractData:
|
|
135
|
+
contractData: s,
|
|
138
136
|
priority: 8
|
|
139
137
|
},
|
|
140
|
-
[
|
|
138
|
+
[f.solanaLocalnet]: {
|
|
141
139
|
name: "Solana Localnet",
|
|
142
|
-
chainId:
|
|
140
|
+
chainId: f.solanaLocalnet,
|
|
143
141
|
rpcUrl: "http://127.0.0.1:8899",
|
|
144
142
|
fetchRpcUrl: "http://127.0.0.1:8899",
|
|
145
143
|
supported: !0,
|
|
146
|
-
contractData:
|
|
144
|
+
contractData: s,
|
|
147
145
|
priority: 9
|
|
148
146
|
},
|
|
149
|
-
[
|
|
147
|
+
[f.tronNile]: {
|
|
150
148
|
name: "Tron Nile",
|
|
151
|
-
chainId:
|
|
152
|
-
rpcUrl: `https://tron-testnet.g.alchemy.com/v2/${
|
|
153
|
-
fetchRpcUrl: `https://tron-testnet.g.alchemy.com/v2/${
|
|
149
|
+
chainId: f.tronNile,
|
|
150
|
+
rpcUrl: `https://tron-testnet.g.alchemy.com/v2/${v}`,
|
|
151
|
+
fetchRpcUrl: `https://tron-testnet.g.alchemy.com/v2/${v}`,
|
|
154
152
|
supported: !0,
|
|
155
|
-
contractData:
|
|
153
|
+
contractData: c,
|
|
156
154
|
priority: 9,
|
|
157
155
|
maxPageSize: 5e5
|
|
158
156
|
},
|
|
159
|
-
[
|
|
157
|
+
[f.tronMainnet]: {
|
|
160
158
|
name: "Tron",
|
|
161
|
-
chainId:
|
|
162
|
-
rpcUrl: `https://tron-mainnet.g.alchemy.com/v2/${
|
|
163
|
-
fetchRpcUrl: `https://tron-mainnet.g.alchemy.com/v2/${
|
|
159
|
+
chainId: f.tronMainnet,
|
|
160
|
+
rpcUrl: `https://tron-mainnet.g.alchemy.com/v2/${v}`,
|
|
161
|
+
fetchRpcUrl: `https://tron-mainnet.g.alchemy.com/v2/${v}`,
|
|
164
162
|
supported: !0,
|
|
165
163
|
priority: 10,
|
|
166
|
-
contractData:
|
|
164
|
+
contractData: l,
|
|
167
165
|
maxPageSize: 5e5
|
|
168
166
|
}
|
|
169
|
-
},
|
|
167
|
+
}, x = {
|
|
170
168
|
name: "Localhost",
|
|
171
|
-
chainId:
|
|
169
|
+
chainId: f.localhost,
|
|
172
170
|
rpcUrl: "http://127.0.0.1:8545",
|
|
173
171
|
fetchRpcUrl: "http://127.0.0.1:8545",
|
|
174
172
|
supported: !0,
|
|
175
|
-
contractData:
|
|
176
|
-
quoterV2Address:
|
|
177
|
-
uniswapV3FactoryAddress:
|
|
173
|
+
contractData: a,
|
|
174
|
+
quoterV2Address: b[m].quoterV2Address,
|
|
175
|
+
uniswapV3FactoryAddress: b[m].uniswapV3FactoryAddress,
|
|
178
176
|
priority: 7
|
|
179
177
|
};
|
|
180
|
-
|
|
181
|
-
var
|
|
178
|
+
u && (b[f.localhost] = x);
|
|
179
|
+
var S = /* @__PURE__ */ function(e) {
|
|
182
180
|
return e.Mainnet = "Mainnet", e.Testnet = "Testnet", e.Local = "Local", e;
|
|
183
|
-
}({}),
|
|
184
|
-
[
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
181
|
+
}({}), C = {
|
|
182
|
+
[S.Mainnet]: [
|
|
183
|
+
f.polygon,
|
|
184
|
+
f.arbMainnet,
|
|
185
|
+
f.ethMainnet,
|
|
186
|
+
f.bnbMainnet,
|
|
187
|
+
f.optimism,
|
|
188
|
+
f.avalanche,
|
|
189
|
+
f.base,
|
|
190
|
+
f.tronMainnet
|
|
193
191
|
],
|
|
194
|
-
[
|
|
195
|
-
[
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
].includes(e),
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
],
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
],
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
192
|
+
[S.Testnet]: d ? [f.arcTestnet, f.tronNile] : [f.arcTestnet],
|
|
193
|
+
[S.Local]: [f.localhost]
|
|
194
|
+
}, w = (e) => [f.optimism, f.base].includes(e), T = (e) => [f.solanaMainnet, f.solanaLocalnet].includes(e), E = (e) => [
|
|
195
|
+
f.tronNile,
|
|
196
|
+
f.tronMainnet,
|
|
197
|
+
f.tronLocalnet
|
|
198
|
+
].includes(e), D = d ? f.tronNile : f.tronMainnet, O = [
|
|
199
|
+
f.ethMainnet,
|
|
200
|
+
f.optimism,
|
|
201
|
+
f.base,
|
|
202
|
+
f.polygon,
|
|
203
|
+
f.arbMainnet,
|
|
204
|
+
f.arcTestnet,
|
|
205
|
+
f.solanaMainnet
|
|
206
|
+
], k = [
|
|
207
|
+
f.ethMainnet,
|
|
208
|
+
f.optimism,
|
|
209
|
+
f.base,
|
|
210
|
+
f.polygon,
|
|
211
|
+
f.arbMainnet,
|
|
212
|
+
f.arcTestnet,
|
|
213
|
+
f.solanaMainnet,
|
|
214
|
+
D
|
|
215
|
+
], A = [
|
|
216
|
+
f.ethMainnet,
|
|
217
|
+
f.optimism,
|
|
218
|
+
f.base,
|
|
219
|
+
f.polygon,
|
|
220
|
+
f.arbMainnet
|
|
223
221
|
];
|
|
224
222
|
//#endregion
|
|
225
|
-
export {
|
|
223
|
+
export { v as ALCHEMY_API_KEY, _ as ALCHEMY_TEST_KEY, A as BRIDGE_SUPPORTED_CHAINS, S as EthereumNetworkType, y as HELIUS_RPC_URL, k as HINKAL_SUPPORTED_CHAINS, O as WALLET_SUPPORTED_CHAINS, f as chainIds, C as chainIdsByType, D as currentTronChainId, g as getNonLocalhostChainId, h as isLocalNetwork, w as isOptimismLike, T as isSolanaLike, E as isTronLike, m as localhostNetwork, b as networkRegistry, p as solanaChainIdStr };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { chainIds as e, getNonLocalhostChainId as t } from "./chains.constants.mjs";
|
|
2
|
-
//#region
|
|
2
|
+
//#region ../shared/common/src/constants/coingecko.constants.ts
|
|
3
3
|
var n = "https://api.coingecko.com/api/v3", r = "https://pro-api.coingecko.com/api/v3", i = typeof window < "u" ? "" : process.env.COINGECKO_API_KEY, a = "x-cg-pro-api-key", o = i ? r : n, s = (e) => `${o}/simple/price?ids=${e}&vs_currencies=USD,ETH`, c = (e, t) => `${o}/simple/token_price/${t}?contract_addresses=${e}&vs_currencies=USD`, l = (e) => `${o}/coins/${e}`, u = (e) => `${o}/search?query=${encodeURIComponent(e)}`, d = (e, t) => `${r}/coins/${e}/contract/${t}`, f = (e, t) => `${r}/coins/${e}/market_chart?vs_currency=usd&days=${t}&interval=daily`, p = `${r}/coins/list`, m = {
|
|
4
4
|
[e.arbMainnet]: "ethereum",
|
|
5
5
|
[e.localhost]: "ethereum",
|
|
@@ -8,7 +8,7 @@ import { ERC1155ABI as s, ERC721ABI as c } from "../externalABIs/index.mjs";
|
|
|
8
8
|
import l from "../externalABIs/IUniswapV3Pool.json.mjs";
|
|
9
9
|
import u from "../externalABIs/UniswapV2PoolAbi.json.mjs";
|
|
10
10
|
import { ethers as d } from "ethers";
|
|
11
|
-
//#region
|
|
11
|
+
//#region ../shared/common/src/constants/contracts.constants.ts
|
|
12
12
|
var f = { abi: o.abi }, p = { abi: l.abi }, m = { abi: u.abi }, h = { abi: a.abi }, g = {
|
|
13
13
|
[e.HinkalContract]: (e) => ({
|
|
14
14
|
abi: e.hinkalABI,
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { default as bnbMainnetData } from './deploy-data-bnbMainnet.json';
|
|
2
1
|
import { default as arbMainnetData } from './deploy-data-arbMainnet.json';
|
|
3
2
|
import { default as ethMainnetData } from './deploy-data-ethMainnet.json';
|
|
4
3
|
import { default as optimismData } from './deploy-data-optimism.json';
|
|
5
4
|
import { default as polygonData } from './deploy-data-polygon.json';
|
|
6
|
-
import { default as avalancheData } from './deploy-data-avalanche.json';
|
|
7
5
|
import { default as baseData } from './deploy-data-base.json';
|
|
8
6
|
import { default as localhostData } from './deploy-data-localhost.json';
|
|
9
7
|
import { default as arcTestnetData } from './deploy-data-arcTestnet.json';
|
|
10
8
|
import { default as solanaData } from './deploy-data-solana.json';
|
|
11
9
|
import { default as tronNileData } from './deploy-data-tronNile.json';
|
|
12
10
|
import { default as tronMainnetData } from './deploy-data-tronMainnet.json';
|
|
13
|
-
export {
|
|
11
|
+
export { arbMainnetData, ethMainnetData, polygonData, optimismData, baseData, localhostData, arcTestnetData, solanaData, tronNileData, tronMainnetData, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isTronLike as e } from "./chains.constants.mjs";
|
|
2
2
|
import { zeroAddress as t } from "./protocol.constants.mjs";
|
|
3
|
-
//#region
|
|
3
|
+
//#region ../shared/common/src/constants/fees.constants.ts
|
|
4
4
|
var n = t, r = [
|
|
5
5
|
"USDC",
|
|
6
6
|
"USDT",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../shared/common/src/constants/function-signatures.constants.ts
|
|
2
2
|
var e = "function approve(address spender, uint256 amount) external returns (bool)", t = "function approve(address token, address spender, uint160 amount, uint48 expiration)", n = "function setApprovalForAll(address operator, bool _approved) public", r = "function approve(address to, uint256 tokenId) public";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as APPROVE_FUNCTION_SIGNATURE, n as NFT_APPROVE_FUNCTION_SIGNATURE, r as NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE, t as PERMIT2_APPROVE_FUNCTION_SIGNATURE };
|
package/constants/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./conversion.constants.cjs`),require(`./deploy-data/deploy-data-
|
|
1
|
+
require(`./conversion.constants.cjs`),require(`./deploy-data/deploy-data-arbMainnet.json.cjs`),require(`./deploy-data/deploy-data-ethMainnet.json.cjs`),require(`./deploy-data/deploy-data-optimism.json.cjs`),require(`./deploy-data/deploy-data-polygon.json.cjs`),require(`./deploy-data/deploy-data-base.json.cjs`),require(`./deploy-data/deploy-data-localhost.json.cjs`),require(`./deploy-data/deploy-data-arcTestnet.json.cjs`),require(`./deploy-data/deploy-data-solana.json.cjs`),require(`./deploy-data/deploy-data-tronNile.json.cjs`),require(`./deploy-data/deploy-data-tronMainnet.json.cjs`),require(`./vite.constants.cjs`),require(`./chains.constants.cjs`),require(`./protocol.constants.cjs`),require(`./fees.constants.cjs`),require(`./server.constants.cjs`),require(`./coingecko.constants.cjs`),require(`./assets.constants.cjs`),require(`./token-data/ERC20Registry.cjs`),require(`./token-data/index.cjs`),require(`./contracts.constants.cjs`),require(`./kyc.constants.cjs`),require(`./backend.constants.cjs`),require(`./rewards.constants.cjs`),require(`./reorg-depths.constants.cjs`),require(`./mediaUrls.constants.cjs`),require(`./permit2.constants.cjs`),require(`./addresses.constants.cjs`),require(`./tokens.constants.cjs`),require(`./token.limits.constants.cjs`),require(`./balance.constants.cjs`),require(`./bridging.constants.cjs`),require(`./wallet.constants.cjs`),require(`./presale.constants.cjs`),require(`./lifi.constants.cjs`),require(`./oauthUrls.constants.cjs`),require(`./activity.constants.cjs`),require(`./tasks.constants.cjs`),require(`./events.constants.cjs`),require(`./function-signatures.constants.cjs`),require(`./okx.constants.cjs`),require(`./link.constant.cjs`),require(`./tx-confirmation.constants.cjs`),require(`./schedule.constants.cjs`),require(`./images.constants.cjs`),require(`./pay.constants.cjs`),require(`./non-circular-tokens.constants.cjs`);
|
package/constants/index.mjs
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import "./conversion.constants.mjs";
|
|
2
|
-
import "./deploy-data/deploy-data-bnbMainnet.json.mjs";
|
|
3
2
|
import "./deploy-data/deploy-data-arbMainnet.json.mjs";
|
|
4
3
|
import "./deploy-data/deploy-data-ethMainnet.json.mjs";
|
|
5
4
|
import "./deploy-data/deploy-data-optimism.json.mjs";
|
|
6
5
|
import "./deploy-data/deploy-data-polygon.json.mjs";
|
|
7
|
-
import "./deploy-data/deploy-data-avalanche.json.mjs";
|
|
8
6
|
import "./deploy-data/deploy-data-base.json.mjs";
|
|
9
7
|
import "./deploy-data/deploy-data-localhost.json.mjs";
|
|
10
8
|
import "./deploy-data/deploy-data-arcTestnet.json.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { chainIds as e } from "./chains.constants.mjs";
|
|
2
2
|
import { Passports as t } from "../types/kyc.types.mjs";
|
|
3
3
|
import { zkMeKycHandler as n } from "../functions/kyc/zkMeHelper.mjs";
|
|
4
|
-
//#region
|
|
4
|
+
//#region ../shared/common/src/constants/kyc.constants.ts
|
|
5
5
|
var r = "https://onboard.aiprise.com", i = "https://onboard-sandbox.aiprise.com", a = {
|
|
6
6
|
[t.AiPriseKyc]: {
|
|
7
7
|
id: t.AiPriseKyc,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../shared/common/src/constants/permit2.constants.ts
|
|
2
2
|
var e = "0x000000000022D473030F116dDEE9F6B43aC78BA3", t = "0x4A7b5Da61326A6379179b40d00F57E5bbDC962c2", n = "0xc36442b4a4522e871399cd717abdd847ab11fe88", r = "0x31c2F6fcFf4F8759b3Bd5Bf0e1084A055615c768", i = "0x0000000000001fF3684f28c67538d4D072C22734", a = [
|
|
3
3
|
e,
|
|
4
4
|
r,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { chainIds as e } from "./chains.constants.mjs";
|
|
2
|
-
//#region
|
|
2
|
+
//#region ../shared/common/src/constants/presale.constants.ts
|
|
3
3
|
var t = {
|
|
4
4
|
[e.ethMainnet]: {
|
|
5
5
|
address: "0xd5A7C59B14F0b8B4d0e88710961B6A2F07853Aec",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../shared/common/src/constants/protocol.constants.ts
|
|
2
2
|
var e = `0x${"00".repeat(20)}`, t = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", n = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", r = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", i = "11111111111111111111111111111111", a = "So11111111111111111111111111111111111111112", o = "0xECa9bC828A3005B9a3b909f2cc5c2a54794DE05F", s = "0xa614f803B6FD780986A42c78Ec9c7f77e6DeD13C", c = 1e9, l = "Hinkal Stake KeyPair Generator", u = "0xa33e4e1672ffdc9a08d0d8b50c79a7dee400bb5493d054076ff01733d7646b32", d = "0x0a0e05B6375a61D345173d90Cf7c8bd81E76445c", f = "0xB8D5E90d8Baf0650e5b9D6bb988c6dd206F4BaaD", p = "0xE6bDF21Ecd55358aF595D3f5Eea912A8e82ECA5e", m = [
|
|
3
3
|
d,
|
|
4
4
|
f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../shared/common/src/constants/rewards.constants.ts
|
|
2
2
|
var e = ["USDC"], t = "https://hinkal-team.gitbook.io/hinkal/users/rebates/referral-program", n = "https://hinkal-team.gitbook.io/hinkal/users/rewards/points", r = "https://hinkal-team.gitbook.io/hinkal/users/rebates/lp-program", i = 3, a = 9, o = {
|
|
3
3
|
10: 2,
|
|
4
4
|
50: 1.6,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScheduleDelayOption as e } from "../types/schedule.types.mjs";
|
|
2
|
-
//#region
|
|
2
|
+
//#region ../shared/common/src/constants/schedule.constants.ts
|
|
3
3
|
var t = {
|
|
4
4
|
[e.FIFTEEN_MINUTES]: 900,
|
|
5
5
|
[e.THIRTY_MINUTES]: 1800,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TaskTypes as e } from "../types/new-rewards.type.mjs";
|
|
2
2
|
import "../types/index.mjs";
|
|
3
|
-
//#region
|
|
3
|
+
//#region ../shared/common/src/constants/server.constants.ts
|
|
4
4
|
var t = { ROUTES: {
|
|
5
5
|
checkKycStatus: "/check-kyc-status",
|
|
6
6
|
getUserSignature: "/signature-request",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AchievementTiers as e, TaskCategory as t, TaskTypes as n } from "../types/new-rewards.type.mjs";
|
|
2
2
|
import "../types/index.mjs";
|
|
3
|
-
//#region
|
|
3
|
+
//#region ../shared/common/src/constants/tasks.constants.ts
|
|
4
4
|
var r = [
|
|
5
5
|
{
|
|
6
6
|
name: n.discord,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`../chains.constants.cjs`),t=require(`./arcTestnetRegistry.json.cjs`),n=require(`./ethMainnetRegistryFixed.json.cjs`),r=require(`./arbMainnetRegistryFixed.json.cjs`),i=require(`./
|
|
1
|
+
const e=require(`../chains.constants.cjs`),t=require(`./arcTestnetRegistry.json.cjs`),n=require(`./ethMainnetRegistryFixed.json.cjs`),r=require(`./arbMainnetRegistryFixed.json.cjs`),i=require(`./polygonRegistryFixed.json.cjs`),a=require(`./optimismRegistryFixed.json.cjs`),o=require(`./baseRegistryFixed.json.cjs`),s=require(`./ethMainnetRegistry.json.cjs`),c=require(`./arbMainnetRegistry.json.cjs`),l=require(`./polygonRegistry.json.cjs`),u=require(`./optimismRegistry.json.cjs`),d=require(`./baseRegistry.json.cjs`),f=require(`./localhostRegistry.json.cjs`),p=require(`./solanaMainnetRegistry.json.cjs`),m=require(`./solanaLocalnetRegistry.json.cjs`),h=require(`./tronNileRegistry.json.cjs`),g=require(`./tronMainnetRegistry.json.cjs`);var _=n=>{let r=f.default.networkRegistry.slice(0,10);switch(n){case e.chainIds.polygon:return l.default.networkRegistry;case e.chainIds.arbMainnet:return c.default.networkRegistry;case e.chainIds.ethMainnet:return s.default.networkRegistry;case e.chainIds.optimism:return u.default.networkRegistry;case e.chainIds.base:return d.default.networkRegistry;case e.chainIds.arcTestnet:return t.default.networkRegistry;case e.chainIds.solanaMainnet:return p.default.networkRegistry;case e.chainIds.solanaLocalnet:return m.default.networkRegistry;case e.chainIds.tronNile:return h.default.networkRegistry;case e.chainIds.tronMainnet:return g.default.networkRegistry;default:return r}},v=t=>{let s;switch(t){case e.chainIds.polygon:s=i.default;break;case e.chainIds.arbMainnet:s=r.default;break;case e.chainIds.ethMainnet:s=n.default;break;case e.chainIds.optimism:s=a.default;break;case e.chainIds.base:s=o.default;break;case e.chainIds.solanaMainnet:s=p.default;break;case e.chainIds.solanaLocalnet:s=m.default;break;case e.chainIds.tronNile:s=h.default;break;case e.chainIds.tronMainnet:s=g.default;break;default:s=n.default;break}return s.networkRegistry};exports.getERC20Registry=_,exports.getFixedRegistry=v;
|