@sabaaa1/common 0.0.28 → 0.0.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.
- package/index.cjs +1 -1
- package/index.d.ts +5 -0
- package/index.mjs +120 -111
- package/package.json +1 -1
- package/webworker/worker.registry.cjs +1 -1
- package/webworker/worker.registry.mjs +8 -2
- package/webworker/workerErrorHandler.cjs +1 -0
- package/webworker/workerErrorHandler.mjs +8 -0
- package/webworker/workerFactory.d.ts +1 -1
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("./API/getServerURL.cjs"),q=require("./API/getCoingeckoPrice.cjs"),Me=require("./API/callOneInchAPI.cjs"),be=require("./API/callRelayer.cjs"),Fe=require("./API/getGasEstimates.cjs"),Y=require("./API/getTokenPrice.cjs"),fe=require("./API/checkRisk.cjs"),xe=require("./API/relayCalls.cjs"),Ve=require("./API/API.cjs"),He=require("./API/getRelayerURL.cjs"),we=require("./API/duneAPI.cjs"),C=require("./API/tenderly.api.cjs"),We=require("./API/token-calls.cjs"),Ge=require("./API/callLifiAPI.cjs"),re=require("./API/getLifiStatus.cjs"),oe=require("./API/generate-trading-points.cjs"),d=require("./API/brotherhoodCalls.cjs"),K=require("./API/getWebsiteURL.cjs"),I=require("./API/mysteryBoxesCalls.cjs"),Ye=require("./constants/assets.constants.cjs"),o=require("./constants/token-data/index.cjs"),Ke=require("./constants/deploy-data/deploy-data-bnbMainnet.json.cjs"),Xe=require("./constants/deploy-data/deploy-data-arbMainnet.json.cjs"),ze=require("./constants/deploy-data/deploy-data-ethMainnet.json.cjs"),Ze=require("./constants/deploy-data/deploy-data-optimism.json.cjs"),je=require("./constants/deploy-data/deploy-data-polygon.json.cjs"),Je=require("./constants/deploy-data/deploy-data-avalanche.json.cjs"),Qe=require("./constants/deploy-data/deploy-data-base.json.cjs"),$e=require("./constants/deploy-data/deploy-data-localhost.json.cjs"),et=require("./constants/deploy-data/deploy-data-arcTestnet.json.cjs"),a=require("./constants/chains.constants.cjs"),ae=require("./constants/fees.constants.cjs"),y=require("./constants/contracts.constants.cjs"),p=require("./constants/kyc.constants.cjs"),t=require("./constants/server.constants.cjs"),u=require("./constants/vite.constants.cjs"),e=require("./constants/protocol.constants.cjs"),s=require("./constants/coingecko.constants.cjs"),se=require("./constants/backend.constants.cjs"),n=require("./constants/rewards.constants.cjs"),tt=require("./constants/reorg-depths.constants.cjs"),rt=require("./constants/mediaUrls.constants.cjs"),P=require("./constants/permit2.constants.cjs"),h=require("./constants/addresses.constants.cjs"),ot=require("./constants/conversion.constants.cjs"),ne=require("./constants/token.limits.constants.cjs"),at=require("./constants/balance.constants.cjs"),st=require("./constants/bridging.constants.cjs"),ie=require("./constants/wallet.constants.cjs"),ce=require("./constants/presale.constants.cjs"),nt=require("./constants/lifi.constants.cjs"),it=require("./constants/oauthUrls.constants.cjs"),S=require("./constants/mystery-boxes.constants.cjs"),ct=require("./constants/activity.constants.cjs"),m=require("./constants/tasks.constants.cjs"),lt=require("./constants/events.constants.cjs"),k=require("./constants/function-signatures.constants.cjs"),X=require("./crypto/poseidon.cjs"),le=require("./crypto/babyJub.cjs"),ut=require("./crypto/preProcessing.cjs"),St=require("./data-structures/ValueCache/ValueCache.cjs"),v=require("./data-structures/crypto-keys/decodeUTXO.cjs"),z=require("./data-structures/crypto-keys/encryptDecryptUtxo.cjs"),B=require("./data-structures/crypto-keys/keys.cjs"),ue=require("./data-structures/crypto-keys/keyUtils.cjs"),At=require("./data-structures/Hinkal/Hinkal.cjs"),Se=require("./data-structures/Hinkal/hinkalDeposit.cjs"),Tt=require("./data-structures/Hinkal/hinkalSwap.cjs"),dt=require("./data-structures/Hinkal/hinkalTransfer.cjs"),pt=require("./data-structures/Hinkal/hinkalWithdraw.cjs"),Et=require("./data-structures/Hinkal/hinkalPrivateWallet.cjs"),gt=require("./data-structures/Hinkal/resetMerkleTrees.cjs"),_t=require("./data-structures/Hinkal/hinkalProxySwap.cjs"),Rt=require("./data-structures/merkle-tree/MerkleTree.cjs"),It=require("./data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs"),Pt=require("./data-structures/merkle-tree/MerkleTreeIncompleteError.cjs"),mt=require("./data-structures/event-service/AbstractAccessTokenSnapshotService.cjs"),Ct=require("./data-structures/event-service/AbstractCommitmentsSnapshotService.cjs"),yt=require("./data-structures/event-service/AbstractApprovalsSnapshotService.cjs"),ht=require("./data-structures/event-service/AbstractNullifierSnapshotService.cjs"),kt=require("./data-structures/event-service/AbstractSnapshotService.cjs"),Ot=require("./data-structures/event-service/AbstractEventService.cjs"),Dt=require("./data-structures/event-service/BlockchainEventEmitter.cjs"),Nt=require("./data-structures/utxo/Utxo.cjs"),Ut=require("./data-structures/custom-token-registry/CustomTokenRegistry.cjs"),Lt=require("./data-structures/token-price-fetcher/TokenChecker.cjs"),qt=require("./data-structures/transactions-manager/history/history.types.cjs"),vt=require("./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs"),Bt=require("./data-structures/cacheDevices/FileCacheDevice.cjs"),Mt=require("./data-structures/cacheDevices/LocalStorageCacheDevice.cjs"),bt=require("./data-structures/IndexedDB/activity-db.cjs"),Ft=require("./data-structures/IndexedDB/balances-db.cjs"),ft=require("./data-structures/IndexedDB/private-balances-db.cjs"),xt=require("./data-structures/IndexedDB/prices-db.cjs"),Vt=require("./data-structures/IndexedDB/contact-db.cjs"),Ht=require("./data-structures/IndexedDB/signatures-db.cjs"),Ae=require("./data-structures/TokenDBs/PrivateTokensDB.cjs"),Te=require("./data-structures/TokenDBs/PublicTokensDB.cjs"),wt=require("./data-structures/TokenDBs/token-visibility-db.cjs"),de=require("./data-structures/TokenDBs/ArcPublicTokensDB.cjs"),Wt=require("./data-structures/presale/PresaleContractWrapper.cjs"),Gt=require("./data-structures/snapshot/SnapshotFetcherService.cjs"),pe=require("./data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs"),Yt=require("./error-handling/customErrors/ErrorWithAmount.cjs"),Kt=require("./error-handling/customErrors/FeeOverTransactionValueError.cjs"),Ee=require("./error-handling/customErrors/customErrors.helpers.cjs"),Xt=require("./error-handling/customErrors/SimulationFailureError.cjs"),zt=require("./error-handling/customErrors/ErrorWithTx.cjs"),O=require("./error-handling/error-codes.constants.cjs"),Z=require("./error-handling/get-error.message.cjs"),Zt=require("./error-handling/handleErrorRestore.cjs"),jt=require("./error-handling/logError.cjs"),Jt=require("./error-handling/types.cjs"),Qt=require("./error-handling/logger.cjs"),E=require("./externalABIs/index.cjs"),ge=require("./functions/web3/functionCalls/accessTokenCalls.cjs"),$t=require("./functions/kyc/passportHelper.cjs"),er=require("./functions/kyc/openDefaultPassportWindow.cjs"),r=require("./functions/utils/amounts.utils.cjs"),A=require("./functions/utils/cacheFunctions.cjs"),_e=require("./functions/utils/create-provider.cjs"),Re=require("./functions/utils/external-action.utils.cjs"),T=require("./functions/utils/erc20tokenFunctions.cjs"),tr=require("./functions/utils/requireEnv.cjs"),j=require("./functions/utils/resolve-sync.utils.cjs"),rr=require("./functions/utils/convertIntegrationProviderToExternalActionId.cjs"),or=require("./functions/pre-transaction/interaction-to-action.cjs"),ar=require("./functions/pre-transaction/outputUtxoProcessing.cjs"),sr=require("./functions/pre-transaction/process-gas-estimates.cjs"),nr=require("./functions/pre-transaction/getFlatFees.cjs"),Ie=require("./functions/pre-transaction/outputApprovalDataProcessing.cjs"),ir=require("./functions/pre-transaction/getVolatileTransferAmount.cjs"),cr=require("./functions/pre-transaction/constructAdminData.cjs"),Pe=require("./functions/utils/evmNetworkFunctions.cjs"),me=require("./functions/utils/userAgent.cjs"),J=require("./functions/utils/getDataFromTransaction.cjs"),lr=require("./functions/utils/reloadPage.cjs"),g=require("./functions/utils/string.utils.cjs"),ur=require("./functions/utils/nickname.utils.cjs"),Q=require("./functions/utils/caseInsensitive.utils.cjs"),i=require("./functions/utils/time.utils.cjs"),Sr=require("./functions/utils/cacheDevice.utils.cjs"),Ce=require("./functions/utils/process.utils.cjs"),Ar=require("./functions/utils/getBlockExplorerUrl.cjs"),ye=require("./functions/utils/involves-permit2-op.cjs"),Tr=require("./functions/utils/upToDateState.cjs"),he=require("./functions/utils/serialize.utils.cjs"),ke=require("./functions/utils/processUseApprovalUtxoData.cjs"),dr=require("./functions/utils/convertEmporiumOpToCallInfo.cjs"),Oe=require("./functions/utils/getRecipientInfoFromUserKeys.cjs"),M=require("./functions/utils/publicBalance.utils.cjs"),pr=require("./functions/utils/rpc-int-encode.cjs"),Er=require("./functions/utils/token-check.utils.cjs"),gr=require("./functions/utils/arraysMatch.cjs"),b=require("./functions/utils/addresses.cjs"),_r=require("./functions/utils/trimFieldValues.cjs"),F=require("./functions/utils/walletBalances.utils.cjs"),Rr=require("./functions/utils/mutexes.utils.cjs"),Ir=require("./functions/utils/ethers-formatter.utils.cjs"),Pr=require("./functions/utils/nftTokenFunctions.cjs"),mr=require("./functions/utils/inLogicMetadata.cjs"),Cr=require("./functions/utils/networks.utils.cjs"),yr=require("./functions/utils/is-valid-url.cjs"),hr=require("./functions/utils/get-hinkal-approvals.cjs"),f=require("./functions/utils/mystery-box-auction.utils.cjs"),kr=require("./functions/utils/postToOffscreen.cjs"),Or=require("./functions/utils/get-signature-header.cjs"),_=require("./functions/web3/etherFunctions.cjs"),x=require("./functions/web3/events/getInputUtxoAndBalance.cjs"),De=require("./functions/web3/events/getShieldedBalance.cjs"),Ne=require("./functions/web3/events/web3RetrieveEvents.cjs"),Dr=require("./functions/web3/events/balanceChangedHandler.cjs"),Nr=require("./functions/web3/events/balanceChangedCustomHandler.cjs"),V=require("./functions/web3/events/getApprovedBalance.cjs"),Ur=require("./functions/web3/events/getTransactionLogEvents.cjs"),H=require("./functions/web3/uniswapAPI.cjs"),Lr=require("./functions/web3/odosAPI.cjs"),qr=require("./functions/web3/oneInchAPI.cjs"),vr=require("./functions/web3/lifiAPI.cjs"),Br=require("./functions/web3/runContractFunction.cjs"),Mr=require("./functions/web3/getTokenHolder.cjs"),$=require("./functions/web3/EIP-712.cjs"),br=require("./functions/snarkjs/constructGeneralZkProof.cjs"),Fr=require("./functions/snarkjs/constructEmporiumProof.cjs"),c=require("./functions/snarkjs/common.snarkjs.cjs"),fr=require("./functions/snarkjs/generateZkProof.cjs"),D=require("./functions/staking/index.cjs"),l=require("./functions/private-wallet/emporium.helpers.cjs"),Ue=require("./functions/private-wallet/opProducer.cjs"),w=require("./functions/private-wallet/emporium.swap.helpers.cjs"),xr=require("./types/approvals.types.cjs"),W=require("./types/circom-data.types.cjs"),Vr=require("./types/ethereum-network.types.cjs"),Hr=require("./types/external-action.types.cjs"),R=require("./types/hinkal.types.cjs"),N=require("./types/kyc.types.cjs"),wr=require("./types/token.types.cjs"),Wr=require("./types/slippage.types.cjs"),ee=require("./types/transactions.types.cjs"),Le=require("./types/rewards.types.cjs"),Gr=require("./types/hinkal.stake.types.cjs"),Yr=require("./types/admin.types.cjs"),U=require("./types/activities.types.cjs"),Kr=require("./types/sandbox.types.cjs"),Xr=require("./types/balances.types.cjs"),zr=require("./types/cache.types.cjs"),Zr=require("./types/token-prices.types.cjs"),G=require("./types/new-rewards.type.cjs"),qe=require("./types/RewardUserEnums.cjs"),ve=require("./types/generatePoints.cjs"),jr=require("./types/eip5792.types.cjs"),te=require("./types/mystery-boxes.types.cjs"),Jr=require("./types/merch-order.types.cjs"),Qr=require("./types/routing.types.cjs"),$r=require("./types/confirmation-request.types.cjs"),eo=require("./types/offscreen.types.cjs"),to=require("./mutexes/mutex.cjs"),Be=require("./constants/token-data/ERC20Registry.cjs"),ro=require("./constants/token-data/popularTokens.constants.cjs"),oo=require("./externalABIs/amToken.cjs"),ao=require("./externalABIs/USDC.cjs"),so=require("./externalABIs/DAI.cjs"),no=require("./externalABIs/USDR.cjs"),io=require("./externalABIs/USDR3CRV.cjs"),co=require("./externalABIs/USDT.cjs"),lo=require("./externalABIs/WETH.cjs"),uo=require("./externalABIs/BUSD.cjs"),So=require("./externalABIs/SanctionsList.cjs"),Ao=require("./externalABIs/OptimismGasPriceOracle.json.cjs"),To=require("./externalABIs/NodeInterfaceABI.json.cjs");exports.DATA_SERVER_URL=L.DATA_SERVER_URL;exports.getDataServerURL=L.getDataServerURL;exports.getServerURL=L.getServerURL;exports.getSnapshotServerURL=L.getSnapshotServerURL;exports.getCoingeckoPrice=q.getCoingeckoPrice;exports.getCoingeckoPrice2=q.getCoingeckoPrice2;exports.getCoingeckoPrices=q.getCoingeckoPrices;exports.getCoingeckoTokenList=q.getCoingeckoTokenList;exports.callOneInchAPI=Me.callOneInchAPI;exports.callRelayerTransactAPI=be.callRelayerTransactAPI;exports.getGasEstimates=Fe.getGasEstimates;exports.getTokenPrice=Y.getTokenPrice;exports.getTokenPriceEth=Y.getTokenPriceEth;exports.getTokenPrices=Y.getTokenPrices;exports.checkRisk=fe.checkRisk;exports.getIdleRelay=xe.getIdleRelay;exports.API=Ve.API;exports.getRelayerURL=He.getRelayerURL;exports.getPublicWalletBalance=we.getPublicWalletBalance;exports.WALLET_API=C.WALLET_API;exports.rpcGetStorageChanges=C.rpcGetStorageChanges;exports.rpcSimulateBundle=C.rpcSimulateBundle;exports.rpcSimulateTransaction=C.rpcSimulateTransaction;exports.simulateTx=C.simulateTx;exports.tenderlyRpcLinks=C.tenderlyRpcLinks;exports.tokensInfoCall=We.tokensInfoCall;exports.callLifiAPI=Ge.callLifiAPI;exports.LifiStatus=re.LifiStatus;exports.getLifiStatus=re.getLifiStatus;exports.generateAumPoints=oe.generateAumPoints;exports.generateTradingPoints=oe.generateTradingPoints;exports.createBrotherhood=d.createBrotherhood;exports.editBrotherhood=d.editBrotherhood;exports.getBrotherhood=d.getBrotherhood;exports.getBrotherhoodUsers=d.getBrotherhoodUsers;exports.getCurrentUserBrotherhood=d.getCurrentUserBrotherhood;exports.getCurrentUserBrotherhoodUsers=d.getCurrentUserBrotherhoodUsers;exports.getPublicBrotherhoods=d.getPublicBrotherhoods;exports.joinBrotherhood=d.joinBrotherhood;exports.leaveBrotherhood=d.leaveBrotherhood;exports.getHinkalLandingURL=K.getHinkalLandingURL;exports.getRewardsURL=K.getRewardsURL;exports.getWalletOnboardingURL=K.getWalletOnboardingURL;exports.claimMerchItem=I.claimMerchItem;exports.createOrUpdateMerchAddress=I.createOrUpdateMerchAddress;exports.getCurrentAuctionsInfo=I.getCurrentAuctionsInfo;exports.getCurrentDayBoxPrizeCounts=I.getCurrentDayBoxPrizeCounts;exports.getMerchOrders=I.getMerchOrders;exports.getMysteryBoxesHistory=I.getMysteryBoxesHistory;exports.getServerUtc=I.getServerUtc;exports.openMysteryBox=I.openMysteryBox;exports.IMAGE_PATHS=Ye.IMAGE_PATHS;exports.arbMainnetRegistry=o.arbMainnetRegistry;exports.arbMainnetRegistryFixed=o.arbMainnetRegistryFixed;exports.arcTestnetRegistry=o.arcTestnetRegistry;exports.avalancheRegistry=o.avalancheRegistry;exports.avalancheRegistryFixed=o.avalancheRegistryFixed;exports.baseRegistry=o.baseRegistry;exports.baseRegistryFixed=o.baseRegistryFixed;exports.bnbMainnetRegistry=o.bnbMainnetRegistry;exports.bnbMainnetRegistryFixed=o.bnbMainnetRegistryFixed;exports.ethMainnetRegistry=o.ethMainnetRegistry;exports.ethMainnetRegistryFixed=o.ethMainnetRegistryFixed;exports.localhostRegistry=o.localhostRegistry;exports.optimismRegistry=o.optimismRegistry;exports.optimismRegistryFixed=o.optimismRegistryFixed;exports.polygonRegistry=o.polygonRegistry;exports.polygonRegistryFixed=o.polygonRegistryFixed;exports.bnbMainnetData=Ke.default;exports.arbMainnetData=Xe.default;exports.ethMainnetData=ze.default;exports.optimismData=Ze.default;exports.polygonData=je.default;exports.avalancheData=Je.default;exports.baseData=Qe.default;exports.localhostData=$e.default;exports.arcTestnetData=et.default;exports.ALCHEMY_API_KEY=a.ALCHEMY_API_KEY;exports.ALCHEMY_TEST_KEY=a.ALCHEMY_TEST_KEY;exports.EthereumNetworkType=a.EthereumNetworkType;exports.WALLET_INITIAL_CHAIN_ID=a.WALLET_INITIAL_CHAIN_ID;exports.WALLET_SUPPORTED_CHAINS=a.WALLET_SUPPORTED_CHAINS;exports.chainIds=a.chainIds;exports.chainIdsByType=a.chainIdsByType;exports.getNonLocalhostChainId=a.getNonLocalhostChainId;exports.isLocalNetwork=a.isLocalNetwork;exports.isOptimismLike=a.isOptimismLike;exports.localhostNetwork=a.localhostNetwork;exports.networkRegistry=a.networkRegistry;exports.NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS=ae.NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS;exports.defaultFeeToken=ae.defaultFeeToken;exports.contractMetadataMapping=y.contractMetadataMapping;exports.getHinkalParameters=y.getHinkalParameters;exports.uniswapV2PoolData=y.uniswapV2PoolData;exports.uniswapV3FactoryData=y.uniswapV3FactoryData;exports.uniswapV3PoolData=y.uniswapV3PoolData;exports.uniswapV3QuoterData=y.uniswapV3QuoterData;exports.AIPRISE_KYB_TEMPLATE_ID_PROD=p.AIPRISE_KYB_TEMPLATE_ID_PROD;exports.AIPRISE_KYC_TEMPLATE_ID_PROD=p.AIPRISE_KYC_TEMPLATE_ID_PROD;exports.RECLAIM_MESSAGE_TO_SIGN=p.RECLAIM_MESSAGE_TO_SIGN;exports.ReclaimPassports=p.ReclaimPassports;exports.StandardPassports=p.StandardPassports;exports.SupportedPassports=p.SupportedPassports;exports.aipriseBaseOnboardingProductionUrl=p.aipriseBaseOnboardingProductionUrl;exports.aipriseBaseOnboardingSandboxUrl=p.aipriseBaseOnboardingSandboxUrl;exports.supportedPassportLinks=p.supportedPassportLinks;exports.API_CONFIG=t.API_CONFIG;exports.DATA_SERVER_CONFIG=t.DATA_SERVER_CONFIG;exports.DATA_SERVER_URL_ENDPOINT=t.DATA_SERVER_URL_ENDPOINT;exports.DATA_SERVER_URL_LOCAL=t.DATA_SERVER_URL_LOCAL;exports.PLAYGROUND_RELAYER_URLS=t.PLAYGROUND_RELAYER_URLS;exports.PLAYGROUND_SERVER_URLS=t.PLAYGROUND_SERVER_URLS;exports.PLAYGROUND_SNAPSHOT_SERVER_URLS=t.PLAYGROUND_SNAPSHOT_SERVER_URLS;exports.PLAYGROUND_URL=t.PLAYGROUND_URL;exports.PRODUCTION_RELAYER_URLS=t.PRODUCTION_RELAYER_URLS;exports.PRODUCTION_SERVER_URLS=t.PRODUCTION_SERVER_URLS;exports.PRODUCTION_SNAPSHOT_SERVER_URLS=t.PRODUCTION_SNAPSHOT_SERVER_URLS;exports.PRODUCTION_URL=t.PRODUCTION_URL;exports.RELAYER_CONFIG=t.RELAYER_CONFIG;exports.STAGING_RELAYER_URLS=t.STAGING_RELAYER_URLS;exports.STAGING_SERVER_URLS=t.STAGING_SERVER_URLS;exports.STAGING_SNAPSHOT_SERVER_URLS=t.STAGING_SNAPSHOT_SERVER_URLS;exports.STAGING_URL=t.STAGING_URL;exports.VERIFICATION_ROUTES=t.VERIFICATION_ROUTES;exports.WALLET_TASK_VERIFICATION_TYPES=t.WALLET_TASK_VERIFICATION_TYPES;exports.DEPLOYMENT_MODE=u.DEPLOYMENT_MODE;exports.deploymentMode=u.deploymentMode;exports.isDevelopment=u.isDevelopment;exports.isExtension=u.isExtension;exports.isNode=u.isNode;exports.isNotClientProduction=u.isNotClientProduction;exports.isNotProduction=u.isNotProduction;exports.isPlayground=u.isPlayground;exports.isSandbox=u.isSandbox;exports.isStaging=u.isStaging;exports.isWebpack=u.isWebpack;exports.ARC_TESTNET_USDC_ADDRESS=e.ARC_TESTNET_USDC_ADDRESS;exports.AssetChangeType=e.AssetChangeType;exports.CIRCOM_MERKLE_LENGTH=e.CIRCOM_MERKLE_LENGTH;exports.CIRCOM_P=e.CIRCOM_P;exports.CIRCOM_P_HALF=e.CIRCOM_P_HALF;exports.EIP1271_FAILURE=e.EIP1271_FAILURE;exports.EIP1271_SUCCESS=e.EIP1271_SUCCESS;exports.HINKAL_PRIVATE_SEND_VARIABLE_RATE=e.HINKAL_PRIVATE_SEND_VARIABLE_RATE;exports.HINKAL_SWAP_VARIABLE_RATE=e.HINKAL_SWAP_VARIABLE_RATE;exports.MERKLE_LEVELS=e.MERKLE_LEVELS;exports.NFT_1155_TRANSACTION_TYPE=e.NFT_1155_TRANSACTION_TYPE;exports.NFT_721_TRANSACTION_TYPE=e.NFT_721_TRANSACTION_TYPE;exports.NFT_TRANSACTION_TYPES=e.NFT_TRANSACTION_TYPES;exports.RELAYERS_ARRAY=e.RELAYERS_ARRAY;exports.RELAYER_ADDRESS1=e.RELAYER_ADDRESS1;exports.RELAYER_ADDRESS2=e.RELAYER_ADDRESS2;exports.RELAYER_ADDRESS3=e.RELAYER_ADDRESS3;exports.TOKEN_VALUE_UNLIMITED_THRESHOLD=e.TOKEN_VALUE_UNLIMITED_THRESHOLD;exports.TokenType=e.TokenType;exports.defaultSignatureData=e.defaultSignatureData;exports.ethVolatileAddress=e.ethVolatileAddress;exports.hinkalSimulationAddress=e.hinkalSimulationAddress;exports.oneInchZeroAddress=e.oneInchZeroAddress;exports.ownerPublicKey=e.ownerPublicKey;exports.permitSignatureValidFor=e.permitSignatureValidFor;exports.signaturePhrase=e.signaturePhrase;exports.zeroAddress=e.zeroAddress;exports.COINGECKO_API_KEY=s.COINGECKO_API_KEY;exports.CoinGeckoChainLabels=s.CoinGeckoChainLabels;exports.coingeckoPriceUrl=s.coingeckoPriceUrl;exports.coingeckoPriceUrl2=s.coingeckoPriceUrl2;exports.coingeckoTokenListUrl=s.coingeckoTokenListUrl;exports.getCoinByAddress=s.getCoinByAddress;exports.getCoinById=s.getCoinById;exports.getCoingeckoIdForNativeTokens=s.getCoingeckoIdForNativeTokens;exports.getCoingeckoPlatform=s.getCoingeckoPlatform;exports.proCoingeckoUrl=s.proCoingeckoUrl;exports.proHeader=s.proHeader;exports.searchBySymbol=s.searchBySymbol;exports.NETWORKS=se.NETWORKS;exports.getGasStationUrl=se.getGasStationUrl;exports.ACCESS_TOKEN_MINTING_POINTS=n.ACCESS_TOKEN_MINTING_POINTS;exports.ACCESS_TOKEN_RECLAIM_POINTS=n.ACCESS_TOKEN_RECLAIM_POINTS;exports.CERTIFICATION_DISABLE_WEEK=n.CERTIFICATION_DISABLE_WEEK;exports.REWARDS_ENCRYPTION_PASSWORD=n.REWARDS_ENCRYPTION_PASSWORD;exports.REWARDS_MESSAGE_TO_SIGN=n.REWARDS_MESSAGE_TO_SIGN;exports.REWARD_RECEIVABLE_TOKEN_SYMBOLS=n.REWARD_RECEIVABLE_TOKEN_SYMBOLS;exports.boostAmounts=n.boostAmounts;exports.lpLink=n.lpLink;exports.lpProgramStartWeek=n.lpProgramStartWeek;exports.pointsLink=n.pointsLink;exports.raffleProgramStartWeek=n.raffleProgramStartWeek;exports.referralLink=n.referralLink;exports.blockReorgDepth=tt.blockReorgDepth;exports.mediaUrls=rt.mediaUrls;exports.allowanceHolder=P.allowanceHolder;exports.pancaceSwapPermit2Address=P.pancaceSwapPermit2Address;exports.permit2Address=P.permit2Address;exports.permit2Addresses=P.permit2Addresses;exports.uniswap2Manager=P.uniswap2Manager;exports.uniswap3Manager=P.uniswap3Manager;exports.uniswapApprovalExtraCallData=P.uniswapApprovalExtraCallData;exports.uniswapWorkaroundAddresses=P.uniswapWorkaroundAddresses;exports.HETH_ERC20_TOKEN_ADDRESS=h.HETH_ERC20_TOKEN_ADDRESS;exports.NATIVE_TOKEN_WRAPPER_ADDRESSES=h.NATIVE_TOKEN_WRAPPER_ADDRESSES;exports.SWAP_FEE_TAKER_ADDRESSES=h.SWAP_FEE_TAKER_ADDRESSES;exports.SWAP_ROUTER_ADDRESSES=h.SWAP_ROUTER_ADDRESSES;exports.WETH_ERC20_TOKEN_ADDRESS=h.WETH_ERC20_TOKEN_ADDRESS;exports.WRAPPER_TOKEN_EXCHANGE_ADDRESSES=h.WRAPPER_TOKEN_EXCHANGE_ADDRESSES;exports.APPROVED_UTXO_CONVERSION_COUNT=ot.APPROVED_UTXO_CONVERSION_COUNT;exports.TOKEN_LIMITS=ne.TOKEN_LIMITS;exports.getTokensLimits=ne.getTokensLimits;exports.MAX_DISPLAY_DECIMALS=at.MAX_DISPLAY_DECIMALS;exports.BRIDGING_URLS=st.BRIDGING_URLS;exports.UNSUPPORTED_WALLETS_WALLETCONNECT_NAMES=ie.UNSUPPORTED_WALLETS_WALLETCONNECT_NAMES;exports.UNSUPPORTED_WALLET_IDS=ie.UNSUPPORTED_WALLET_IDS;exports.presaleABI=ce.presaleABI;exports.presaleContractInfoByChain=ce.presaleContractInfoByChain;exports.LIFISCAN_URL=nt.LIFISCAN_URL;exports.oauthUrls=it.oauthUrls;exports.BOX_AUCTION_DURATIONS_MINUTES=S.BOX_AUCTION_DURATIONS_MINUTES;exports.BOX_DAILY_CLAIM_LIMIT=S.BOX_DAILY_CLAIM_LIMIT;exports.BOX_ENDING_PRICES=S.BOX_ENDING_PRICES;exports.BOX_STARTING_PRICES=S.BOX_STARTING_PRICES;exports.BRONZE_MYSTERY_BOX_ITEMS=S.BRONZE_MYSTERY_BOX_ITEMS;exports.GOLD_MYSTERY_BOX_ITEMS=S.GOLD_MYSTERY_BOX_ITEMS;exports.MYSTERY_BOX_ITEMS=S.MYSTERY_BOX_ITEMS;exports.MYSTERY_BOX_ITEM_BY_ID=S.MYSTERY_BOX_ITEM_BY_ID;exports.MYSTERY_BOX_ITEM_BY_RANK=S.MYSTERY_BOX_ITEM_BY_RANK;exports.MysteryBoxItemId=S.MysteryBoxItemId;exports.SILVER_MYSTERY_BOX_ITEMS=S.SILVER_MYSTERY_BOX_ITEMS;exports.TVL_CHANGER_ACTIVITY_TYPES=ct.TVL_CHANGER_ACTIVITY_TYPES;exports.ACHIEVEMENTS=m.ACHIEVEMENTS;exports.BROTHERHOOD_TASKS=m.BROTHERHOOD_TASKS;exports.DAILY_TASKS=m.DAILY_TASKS;exports.POINTS_BOOST_TASKS=m.POINTS_BOOST_TASKS;exports.REFERRAL_BONUS_TASK=m.REFERRAL_BONUS_TASK;exports.REWARDS_TASKS=m.REWARDS_TASKS;exports.WELCOME_TASKS=m.WELCOME_TASKS;exports.EVENTS_INITIAL_BLOCKS=lt.EVENTS_INITIAL_BLOCKS;exports.APPROVE_FUNCTION_SIGNATURE=k.APPROVE_FUNCTION_SIGNATURE;exports.NFT_APPROVE_FUNCTION_SIGNATURE=k.NFT_APPROVE_FUNCTION_SIGNATURE;exports.NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE=k.NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE;exports.PERMIT2_APPROVE_FUNCTION_SIGNATURE=k.PERMIT2_APPROVE_FUNCTION_SIGNATURE;exports.TRANSFER_FUNCTION_SIGNATURE=k.TRANSFER_FUNCTION_SIGNATURE;exports.poseidonFunction=X.poseidonFunction;exports.poseidonHash=X.poseidonHash;exports.poseidonHolder=X.poseidonHolder;exports.babyJubInstance=le.babyJubInstance;exports.jubHolder=le.jubHolder;exports.preProcessing=ut.preProcessing;exports.ValueCache=St.ValueCache;exports.abiDecodeUtxo=v.abiDecodeUtxo;exports.checkUtxoSignature=v.checkUtxoSignature;exports.decodeUtxo=v.decodeUtxo;exports.decodeUtxoConstructorArgs=v.decodeUtxoConstructorArgs;exports.decryptUtxo=z.decryptUtxo;exports.decryptUtxoConstructorArgs=z.decryptUtxoConstructorArgs;exports.encryptUtxo=z.encryptUtxo;exports.EncryptionKeyPairDefaultValue=B.EncryptionKeyPairDefaultValue;exports.UserKeys=B.UserKeys;exports.stealthAddressCacheDevice=B.stealthAddressCacheDevice;exports.stealthPairCacheDevice=B.stealthPairCacheDevice;exports.getCircomSign=ue.getCircomSign;exports.isCircomNegative=ue.isCircomNegative;exports.Hinkal=At.Hinkal;exports.hinkalDeposit=Se.hinkalDeposit;exports.hinkalDepositForOther=Se.hinkalDepositForOther;exports.hinkalSwap=Tt.hinkalSwap;exports.hinkalTransfer=dt.hinkalTransfer;exports.hinkalWithdraw=pt.hinkalWithdraw;exports.hinkalPrivateWallet=Et.hinkalPrivateWallet;exports.resetMerkleTrees=gt.resetMerkleTrees;exports.hinkalProxySwap=_t.hinkalProxySwap;exports.MerkleTree=Rt.MerkleTree;exports.getPatchedAccessTokenMerkleTree=It.getPatchedAccessTokenMerkleTree;exports.MerkleTreeIncompleteError=Pt.MerkleTreeIncompleteError;exports.AbstractAccessTokenSnapshotService=mt.AbstractAccessTokenSnapshotService;exports.AbstractCommitmentsSnapshotService=Ct.AbstractCommitmentsSnapshotService;exports.AbstractApprovalsSnapshotService=yt.AbstractApprovalsSnapshotService;exports.AbstractNullifierSnapshotService=ht.AbstractNullifierSnapshotService;exports.AbstractSnapshotService=kt.AbstractSnapshotService;exports.AbstractEventService=Ot.AbstractEventService;exports.BlockchainEventEmitter=Dt.BlockchainEventEmitter;exports.Utxo=Nt.Utxo;exports.customTokenRegistry=Ut.customTokenRegistry;exports.TokenChecker=Lt.TokenChecker;exports.TransactionType=qt.TransactionType;exports.MultiThreadedUtxoUtils=vt.MultiThreadedUtxoUtils;exports.FileCacheDevice=Bt.FileCacheDevice;exports.LocalStorageCacheDevice=Mt.LocalStorageCacheDevice;exports.activityStorage=bt.activityStorage;exports.publicBalancesStorage=Ft.publicBalancesStorage;exports.privateBalancesStorage=ft.privateBalancesStorage;exports.pricesStorage=xt.pricesStorage;exports.contactStorage=Vt.contactStorage;exports.signedMessagesStorage=Ht.signedMessagesStorage;exports.PrivateTokensDB=Ae.PrivateTokensDB;exports.privateTokensDB=Ae.privateTokensDB;exports.PublicTokensDB=Te.PublicTokensDB;exports.publicTokensDB=Te.publicTokensDB;exports.tokenVisibilityStorage=wt.tokenVisibilityStorage;exports.ArcPublicTokensDB=de.ArcPublicTokensDB;exports.arcPublicTokensDB=de.arcPublicTokensDB;exports.PresaleContractWrapper=Wt.PresaleContractWrapper;exports.SnapshotFetcherService=Gt.SnapshotFetcherService;exports.EventsPublicApprovalsDB=pe.EventsPublicApprovalsDB;exports.eventsPublicApprovalsDB=pe.eventsPublicApprovalsDB;exports.ErrorWithAmount=Yt.ErrorWithAmount;exports.FeeOverTransactionValueError=Kt.FeeOverTransactionValueError;exports.getGenericFeeOverTransactionValueErrorMessage=Ee.getGenericFeeOverTransactionValueErrorMessage;exports.rethrowKnownGasErrorIfPossible=Ee.rethrowKnownGasErrorIfPossible;exports.SimulationFailureError=Xt.SimulationFailureError;exports.ErrorWithRelayerTransaction=zt.ErrorWithRelayerTransaction;exports.UserFriendlyErrorCodes=O.UserFriendlyErrorCodes;exports.gasErrorCodes=O.gasErrorCodes;exports.insufficientResourcesErrorCodes=O.insufficientResourcesErrorCodes;exports.transactionErrorCodes=O.transactionErrorCodes;exports.walletConnectErrorCodes=O.walletConnectErrorCodes;exports.extractMessage=Z.extractMessage;exports.getErrorMessage=Z.getErrorMessage;exports.getErrorMessageFromSandboxRequest=Z.getErrorMessageFromSandboxRequest;exports.checkErrorForSnapshotRestore=Zt.checkErrorForSnapshotRestore;exports.logError=jt.logError;exports.ErrorCategory=Jt.ErrorCategory;exports.Logger=Qt.Logger;exports.BabABI=E.BabABI;exports.ERC1155ABI=E.ERC1155ABI;exports.ERC20ABI=E.ERC20ABI;exports.ERC721ABI=E.ERC721ABI;exports.GalxeABI=E.GalxeABI;exports.ISwapRouterABI=E.ISwapRouterABI;exports.factoryABI=E.factoryABI;exports.quoterV2ABI=E.quoterV2ABI;exports.transactionProverABI=E.transactionProverABI;exports.checkHinkalAccessToken=ge.checkHinkalAccessToken;exports.mintAccessToken=ge.mintAccessToken;exports.openPassportWindow=$t.openPassportWindow;exports.openDefaultPassportWindow=er.openDefaultPassportWindow;exports.absBigInt=r.absBigInt;exports.beepsToPercentage=r.beepsToPercentage;exports.bigintApplySugar=r.bigintApplySugar;exports.bigintMax=r.bigintMax;exports.calculateAmountUsingBeeps=r.calculateAmountUsingBeeps;exports.calculateBigIntSum=r.calculateBigIntSum;exports.calculateSum=r.calculateSum;exports.countTotalAmountInUtxos=r.countTotalAmountInUtxos;exports.fixDecimalsAmount=r.fixDecimalsAmount;exports.getValueFirstNDigit=r.getValueFirstNDigit;exports.maxBigInt=r.maxBigInt;exports.minBigInt=r.minBigInt;exports.toBigInt=r.toBigInt;exports.toBigIntOrUndefined=r.toBigIntOrUndefined;exports.toCommaSeparatedNumberString=r.toCommaSeparatedNumberString;exports.toInt=r.toInt;exports.toNumberOrUndefined=r.toNumberOrUndefined;exports.trimLeadingZeros=r.trimLeadingZeros;exports.truncateToDecimalPlaces=r.truncateToDecimalPlaces;exports.getFilePath=A.getFilePath;exports.getHinkalCache=A.getHinkalCache;exports.getInHinkalAddressesCache=A.getInHinkalAddressesCache;exports.getInHinkalAddressesFilePath=A.getInHinkalAddressesFilePath;exports.loadTxsCache=A.loadTxsCache;exports.resetCache=A.resetCache;exports.resetInHinkalAddressesCache=A.resetInHinkalAddressesCache;exports.saveTxsCache=A.saveTxsCache;exports.setHinkalCache=A.setHinkalCache;exports.setInHinkalAddressesCache=A.setInHinkalAddressesCache;exports.createProvider=_e.createProvider;exports.createTorRpcProvider=_e.createTorRpcProvider;exports.getExternalActionIdFromNumber=Re.getExternalActionIdFromNumber;exports.getExternalActionIdHash=Re.getExternalActionIdHash;exports.aggregateTokenChanges=T.aggregateTokenChanges;exports.formatTokenChangesList=T.formatTokenChangesList;exports.getERC20Token=T.getERC20Token;exports.getERC20TokenBySymbol=T.getERC20TokenBySymbol;exports.getErc20TokensForChain=T.getErc20TokensForChain;exports.getHToken=T.getHToken;exports.isArcNativeToken=T.isArcNativeToken;exports.isNFTToken=T.isNFTToken;exports.searchCompareFunction=T.searchCompareFunction;exports.sortTokens=T.sortTokens;exports.requireEnv=tr.requireEnv;exports.getSequence=j.getSequence;exports.promisify=j.promisify;exports.resolveSync=j.resolveSync;exports.convertIntegrationProviderToExternalActionId=rr.convertIntegrationProviderToExternalActionId;exports.getInteractionFromAction=or.getInteractionFromAction;exports.outputUtxoProcessing=ar.outputUtxoProcessing;exports.processGasEstimates=sr.processGasEstimates;exports.getFlatFees=nr.getFlatFees;exports.outputApprovalDataProcessing=Ie.outputApprovalDataProcessing;exports.outputApprovalDataProcessingForHinkalApprove=Ie.outputApprovalDataProcessingForHinkalApprove;exports.modifyVolatileTokenAmountChanges=ir.modifyVolatileTokenAmountChanges;exports.constructAdminData=cr.constructAdminData;exports.getNetworkObject=Pe.getNetworkObject;exports.getNetworkType=Pe.getNetworkType;exports.browserSupported=me.browserSupported;exports.walletSupported=me.walletSupported;exports.decodeTxInput=J.decodeTxInput;exports.deserializeDecodedTxs=J.deserializeDecodedTxs;exports.serializeDecodedTxs=J.serializeDecodedTxs;exports.reloadPage=lr.reloadPage;exports.capitalizeFirstLetter=g.capitalizeFirstLetter;exports.capitalizeName=g.capitalizeName;exports.getChainIdFromStateKey=g.getChainIdFromStateKey;exports.getStateKey=g.getStateKey;exports.hexToUtf8=g.hexToUtf8;exports.isNullOrEmpty=g.isNullOrEmpty;exports.replaceAllInstances=g.replaceAllInstances;exports.toTitleCase=g.toTitleCase;exports.validateEmail=g.validateEmail;exports.isNicknameValid=ur.isNicknameValid;exports.caseInsensitiveEqual=Q.caseInsensitiveEqual;exports.lowerCaseIncludes=Q.lowerCaseIncludes;exports.lowerCaseStartsWith=Q.lowerCaseStartsWith;exports.formatDate=i.formatDate;exports.getCurrentDayStart=i.getCurrentDayStart;exports.getCurrentTimeInSeconds=i.getCurrentTimeInSeconds;exports.getCurrentWeekStart=i.getCurrentWeekStart;exports.getEffectiveMonthStart=i.getEffectiveMonthStart;exports.getEffectiveSevenDaysAgo=i.getEffectiveSevenDaysAgo;exports.getEffectiveToday=i.getEffectiveToday;exports.getNextDayDelay=i.getNextDayDelay;exports.getNextDayISO=i.getNextDayISO;exports.getPreviousWeekStart=i.getPreviousWeekStart;exports.msToISOString=i.msToISOString;exports.waitLittle=i.waitLittle;exports.createCacheDevice=Sr.createCacheDevice;exports.debounce=Ce.debounce;exports.wait=Ce.wait;exports.getBlockExplorerUrl=Ar.getBlockExplorerUrl;exports.isPermit2Tx=ye.isPermit2Tx;exports.uniswapWorkaround=ye.uniswapWorkaround;exports.checkChainOrAddressNotUpdated=Tr.checkChainOrAddressNotUpdated;exports.CustomJSONParse=he.CustomJSONParse;exports.CustomJSONStringify=he.CustomJSONStringify;exports.isUseApprovalDataEmpty=ke.isUseApprovalDataEmpty;exports.padUseApprovalUtxoData=ke.padUseApprovalUtxoData;exports.convertEmporiumOpToCallInfo=dr.convertEmporiumOpToCallInfo;exports.getExtendedRecipientInfoFromUserKeys=Oe.getExtendedRecipientInfoFromUserKeys;exports.getRecipientInfoFromUserKeys=Oe.getRecipientInfoFromUserKeys;exports.getPublicBalance=M.getPublicBalance;exports.getPublicBalanceByTokenAddress=M.getPublicBalanceByTokenAddress;exports.getPublicBalancesOfTokens=M.getPublicBalancesOfTokens;exports.getPublicTransactionCount=M.getPublicTransactionCount;exports.rpcIntEncode=pr.rpcIntEncode;exports.checkTokensForShielding=Er.checkTokensForShielding;exports.arraysMatch=gr.arraysMatch;exports.constructStealthAddressStructure=b.constructStealthAddressStructure;exports.hashEthereumAddress=b.hashEthereumAddress;exports.isValidExtendedPrivateAddress=b.isValidExtendedPrivateAddress;exports.isValidPrivateAddress=b.isValidPrivateAddress;exports.trimFieldValues=_r.trimFieldValues;exports.getNecessaryApprovalChangesData=F.getNecessaryApprovalChangesData;exports.getNecessaryAssetsForFunding=F.getNecessaryAssetsForFunding;exports.getNecessaryAssetsForFundingFromBalance=F.getNecessaryAssetsForFundingFromBalance;exports.hasEnoughBalance=F.hasEnoughBalance;exports.balanceFetchingMutex=Rr.balanceFetchingMutex;exports.convertV6ReceiptToRelayer=Ir.convertV6ReceiptToRelayer;exports.extractTokenIdsFromAssetChanges=Pr.extractTokenIdsFromAssetChanges;exports.encodeParsedInLogicMetadata=mr.encodeParsedInLogicMetadata;exports.getNetworkName=Cr.getNetworkName;exports.isValidUrl=yr.isValidUrl;exports.getHinkalApprovals=hr.getHinkalApprovals;exports.getAuctionTime=f.getAuctionTime;exports.getCurrentAuctionIntervalStartUTC=f.getCurrentAuctionIntervalStartUTC;exports.getLinearPrice=f.getLinearPrice;exports.parseAuctionTime=f.parseAuctionTime;exports.postToOffscreen=kr.postToOffscreen;exports.getSignatureHeader=Or.getSignatureHeader;exports.calculateDollarValue=_.calculateDollarValue;exports.ethToWei=_.ethToWei;exports.getAmountInToken=_.getAmountInToken;exports.getAmountInWei=_.getAmountInWei;exports.getAmountInWeiOrZero=_.getAmountInWeiOrZero;exports.getAmountWithPrecision=_.getAmountWithPrecision;exports.getAmountWithPrecisionOrZero=_.getAmountWithPrecisionOrZero;exports.randomBigInt=_.randomBigInt;exports.toBigIntWithDecimals=_.toBigIntWithDecimals;exports.attemptGetInputUtxosRemotely=x.attemptGetInputUtxosRemotely;exports.getInputUtxoAndBalance=x.getInputUtxoAndBalance;exports.getInputUtxoAndBalancePerToken=x.getInputUtxoAndBalancePerToken;exports.getInputUtxosRemotely=x.getInputUtxosRemotely;exports.addPaddingToUtxos=De.addPaddingToUtxos;exports.getShieldedBalance=De.getShieldedBalance;exports.getDepositEvents=Ne.getDepositEvents;exports.retrieveEvents=Ne.retrieveEvents;exports.balanceChangedHandler=Dr.balanceChangedHandler;exports.balanceChangedCustomHandler=Nr.balanceChangedCustomHandler;exports.getApprovedBalance=V.getApprovedBalance;exports.getApprovedUtxos=V.getApprovedUtxos;exports.getApprovedUtxosForToken=V.getApprovedUtxosForToken;exports.getMyApprovalAmountForInteraction=V.getMyApprovalAmountForInteraction;exports.getTransactionLogEvents=Ur.getTransactionLogEvents;exports.getUniswapFee=H.getUniswapFee;exports.getUniswapPrice=H.getUniswapPrice;exports.getUniswapPriceHelper=H.getUniswapPriceHelper;exports.searchPoolAndFee=H.searchPoolAndFee;exports.getOdosPrice=Lr.getOdosPrice;exports.getOneInchPrice=qr.getOneInchPrice;exports.getLifiPrice=vr.getLifiPrice;exports.runContractFunction=Br.runContractFunction;exports.getTokenHolder=Mr.getTokenHolder;exports.decodeMessage=$.decodeMessage;exports.getDecodedMessage=$.getDecodedMessage;exports.getPermitInfo=$.getPermitInfo;exports.constructZkProof=br.constructZkProof;exports.constructEmporiumProof=Fr.constructEmporiumProof;exports.buildInNullifiers=c.buildInNullifiers;exports.buildOutCommitments=c.buildOutCommitments;exports.calcAccessTokenSiblingsAndSides=c.calcAccessTokenSiblingsAndSides;exports.calcAmountChanges=c.calcAmountChanges;exports.calcCommitmentsSiblingAndSides=c.calcCommitmentsSiblingAndSides;exports.calcEncryptedOutputs=c.calcEncryptedOutputs;exports.calcPublicSignalCount=c.calcPublicSignalCount;exports.calcStealthAddressStructure=c.calcStealthAddressStructure;exports.createCallDataHash=c.createCallDataHash;exports.deserializeCircomData=c.deserializeCircomData;exports.getSlippageValues=c.getSlippageValues;exports.serializeCircomData=c.serializeCircomData;exports.generateZkProof=fr.generateZkProof;exports.calculateStakeNullifier=D.calculateStakeNullifier;exports.createStakeCommitment=D.createStakeCommitment;exports.decryptStake=D.decryptStake;exports.encodeHStakeMetadata=D.encodeHStakeMetadata;exports.encryptStake=D.encryptStake;exports.checkEOAWithDelegation=l.checkEOAWithDelegation;exports.createApproveEmporiumOp=l.createApproveEmporiumOp;exports.createTransaferEmporiumOpsBatch=l.createTransaferEmporiumOpsBatch;exports.createTransferToEmporiumOp=l.createTransferToEmporiumOp;exports.emporiumOp=l.emporiumOp;exports.encodeEmporiumMetadata=l.encodeEmporiumMetadata;exports.generateFundAndApproveOps=l.generateFundAndApproveOps;exports.generateFundApproveAndTransactOps=l.generateFundApproveAndTransactOps;exports.getAuthorizationDataIfNeeded=l.getAuthorizationDataIfNeeded;exports.modifyDataForProxy=l.modifyDataForProxy;exports.modifyDataForProxyWithPrivateKey=l.modifyDataForProxyWithPrivateKey;exports.recoverAuthorizationData=l.recoverAuthorizationData;exports.OpType=Ue.OpType;exports.produceOp=Ue.produceOp;exports.createSwapToEmporiumOpForUniswap=w.createSwapToEmporiumOpForUniswap;exports.createSwapToEmporiumOpFromData=w.createSwapToEmporiumOpFromData;exports.createSwapToEmporiumOps=w.createSwapToEmporiumOps;exports.nullifyApprovalBeforeSwap=w.nullifyApprovalBeforeSwap;exports.RevokeType=xr.RevokeType;exports.defaultHookData=W.defaultHookData;exports.defaultHookDataArray=W.defaultHookDataArray;exports.defaultStealthAddressStructure=W.defaultStealthAddressStructure;exports.emptyStealthAddressStructure=W.emptyStealthAddressStructure;exports.ContractType=Vr.ContractType;exports.ExternalActionId=Hr.ExternalActionId;exports.EventType=R.EventType;exports.HinkalLogicAction=R.HinkalLogicAction;exports.HinkalStakeAction=R.HinkalStakeAction;exports.INTERACTION=R.INTERACTION;exports.IntegrationProvider=R.IntegrationProvider;exports.UserProgress=R.UserProgress;exports.defaultFeeStructure=R.defaultFeeStructure;exports.defaultHinkalLogicArgs=R.defaultHinkalLogicArgs;exports.defaultUseApprovalUTXOData=R.defaultUseApprovalUTXOData;exports.KycVerificationResult=N.KycVerificationResult;exports.KycVerificationStatus=N.KycVerificationStatus;exports.Passports=N.Passports;exports.VERIFICATION_TYPE=N.VERIFICATION_TYPE;exports.VerificationTypes=N.VerificationTypes;exports.ApprovalType=wr.ApprovalType;exports.SlippageType=Wr.SlippageType;exports.TransactionAction=ee.TransactionAction;exports.TransactionStatus=ee.TransactionStatus;exports.emptyDecodedTx=ee.emptyDecodedTx;exports.OldPointType=Le.OldPointType;exports.RafflePrizeType=Le.RafflePrizeType;exports.HinkalStakeMode=Gr.HinkalStakeMode;exports.AdminTransactionType=Yr.AdminTransactionType;exports.ActivityStatus=U.ActivityStatus;exports.ActivityTypes=U.ActivityTypes;exports.DexProviders=U.DexProviders;exports.IntegrationProviderNames=U.IntegrationProviderNames;exports.TokenChangeType=U.TokenChangeType;exports.SandboxRequestType=Kr.SandboxRequestType;exports.PrivateBalanceUpdateType=Xr.PrivateBalanceUpdateType;exports.StorageKeys=zr.StorageKeys;exports.TOKEN_PRICE_STATUS=Zr.TOKEN_PRICE_STATUS;exports.AchievementTiers=G.AchievementTiers;exports.BrotherhoodTaskTypes=G.BrotherhoodTaskTypes;exports.TaskCategory=G.TaskCategory;exports.TaskTypes=G.TaskTypes;exports.MemberStatus=qe.MemberStatus;exports.Rank=qe.Rank;exports.PointsType=ve.PointsType;exports.TradingType=ve.TradingType;exports.GetCallsStatusCode=jr.GetCallsStatusCode;exports.MysteryBoxItemFrequency=te.MysteryBoxItemFrequency;exports.MysteryBoxItemRewardType=te.MysteryBoxItemRewardType;exports.MysteryBoxRewardStatus=te.MysteryBoxRewardStatus;exports.MerchOrderStatus=Jr.MerchOrderStatus;exports.HttpMethod=Qr.HttpMethod;exports.ConfirmationRequestType=$r.ConfirmationRequestType;exports.MessagesFromOffscreen=eo.MessagesFromOffscreen;exports.resetStateMutex=to.resetStateMutex;exports.getERC20Registry=Be.getERC20Registry;exports.getFixedRegistry=Be.getFixedRegistry;exports.PopularTokenSymbols=ro.PopularTokenSymbols;exports.AmTokenABI=oo.abi;exports.USDCABI=ao.abi;exports.daiABI=so.abi;exports.USDRABI=no.abi;exports.USDR3CRVABI=io.abi;exports.USDTABI=co.abi;exports.WETHABI=lo.abi;exports.BUSDABI=uo.abi;exports.sanctionsListABI=So.abi;exports.optimismGasPriceOracleAbi=Ao;exports.NodeInterfaceABI=To;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("./API/getServerURL.cjs"),q=require("./API/getCoingeckoPrice.cjs"),be=require("./API/callOneInchAPI.cjs"),Fe=require("./API/callRelayer.cjs"),fe=require("./API/getGasEstimates.cjs"),Y=require("./API/getTokenPrice.cjs"),xe=require("./API/checkRisk.cjs"),He=require("./API/relayCalls.cjs"),Ve=require("./API/API.cjs"),we=require("./API/getRelayerURL.cjs"),We=require("./API/duneAPI.cjs"),C=require("./API/tenderly.api.cjs"),Ge=require("./API/token-calls.cjs"),Ye=require("./API/callLifiAPI.cjs"),re=require("./API/getLifiStatus.cjs"),oe=require("./API/generate-trading-points.cjs"),T=require("./API/brotherhoodCalls.cjs"),K=require("./API/getWebsiteURL.cjs"),I=require("./API/mysteryBoxesCalls.cjs"),Ke=require("./constants/assets.constants.cjs"),o=require("./constants/token-data/index.cjs"),Xe=require("./constants/deploy-data/deploy-data-bnbMainnet.json.cjs"),ze=require("./constants/deploy-data/deploy-data-arbMainnet.json.cjs"),Ze=require("./constants/deploy-data/deploy-data-ethMainnet.json.cjs"),je=require("./constants/deploy-data/deploy-data-optimism.json.cjs"),Je=require("./constants/deploy-data/deploy-data-polygon.json.cjs"),Qe=require("./constants/deploy-data/deploy-data-avalanche.json.cjs"),$e=require("./constants/deploy-data/deploy-data-base.json.cjs"),et=require("./constants/deploy-data/deploy-data-localhost.json.cjs"),tt=require("./constants/deploy-data/deploy-data-arcTestnet.json.cjs"),a=require("./constants/chains.constants.cjs"),ae=require("./constants/fees.constants.cjs"),y=require("./constants/contracts.constants.cjs"),p=require("./constants/kyc.constants.cjs"),t=require("./constants/server.constants.cjs"),u=require("./constants/vite.constants.cjs"),e=require("./constants/protocol.constants.cjs"),s=require("./constants/coingecko.constants.cjs"),se=require("./constants/backend.constants.cjs"),n=require("./constants/rewards.constants.cjs"),rt=require("./constants/reorg-depths.constants.cjs"),ot=require("./constants/mediaUrls.constants.cjs"),P=require("./constants/permit2.constants.cjs"),h=require("./constants/addresses.constants.cjs"),at=require("./constants/conversion.constants.cjs"),ne=require("./constants/token.limits.constants.cjs"),st=require("./constants/balance.constants.cjs"),nt=require("./constants/bridging.constants.cjs"),ie=require("./constants/wallet.constants.cjs"),ce=require("./constants/presale.constants.cjs"),it=require("./constants/lifi.constants.cjs"),ct=require("./constants/oauthUrls.constants.cjs"),S=require("./constants/mystery-boxes.constants.cjs"),lt=require("./constants/activity.constants.cjs"),m=require("./constants/tasks.constants.cjs"),ut=require("./constants/events.constants.cjs"),k=require("./constants/function-signatures.constants.cjs"),X=require("./crypto/poseidon.cjs"),le=require("./crypto/babyJub.cjs"),St=require("./crypto/preProcessing.cjs"),dt=require("./data-structures/ValueCache/ValueCache.cjs"),v=require("./data-structures/crypto-keys/decodeUTXO.cjs"),z=require("./data-structures/crypto-keys/encryptDecryptUtxo.cjs"),B=require("./data-structures/crypto-keys/keys.cjs"),ue=require("./data-structures/crypto-keys/keyUtils.cjs"),At=require("./data-structures/Hinkal/Hinkal.cjs"),Se=require("./data-structures/Hinkal/hinkalDeposit.cjs"),Tt=require("./data-structures/Hinkal/hinkalSwap.cjs"),pt=require("./data-structures/Hinkal/hinkalTransfer.cjs"),Et=require("./data-structures/Hinkal/hinkalWithdraw.cjs"),gt=require("./data-structures/Hinkal/hinkalPrivateWallet.cjs"),_t=require("./data-structures/Hinkal/resetMerkleTrees.cjs"),Rt=require("./data-structures/Hinkal/hinkalProxySwap.cjs"),It=require("./data-structures/merkle-tree/MerkleTree.cjs"),Pt=require("./data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.cjs"),mt=require("./data-structures/merkle-tree/MerkleTreeIncompleteError.cjs"),Ct=require("./data-structures/event-service/AbstractAccessTokenSnapshotService.cjs"),yt=require("./data-structures/event-service/AbstractCommitmentsSnapshotService.cjs"),ht=require("./data-structures/event-service/AbstractApprovalsSnapshotService.cjs"),kt=require("./data-structures/event-service/AbstractNullifierSnapshotService.cjs"),Ot=require("./data-structures/event-service/AbstractSnapshotService.cjs"),Dt=require("./data-structures/event-service/AbstractEventService.cjs"),Nt=require("./data-structures/event-service/BlockchainEventEmitter.cjs"),Ut=require("./data-structures/utxo/Utxo.cjs"),Lt=require("./data-structures/custom-token-registry/CustomTokenRegistry.cjs"),qt=require("./data-structures/token-price-fetcher/TokenChecker.cjs"),vt=require("./data-structures/transactions-manager/history/history.types.cjs"),Bt=require("./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.cjs"),Mt=require("./data-structures/cacheDevices/FileCacheDevice.cjs"),bt=require("./data-structures/cacheDevices/LocalStorageCacheDevice.cjs"),Ft=require("./data-structures/IndexedDB/activity-db.cjs"),ft=require("./data-structures/IndexedDB/balances-db.cjs"),xt=require("./data-structures/IndexedDB/private-balances-db.cjs"),Ht=require("./data-structures/IndexedDB/prices-db.cjs"),Vt=require("./data-structures/IndexedDB/contact-db.cjs"),wt=require("./data-structures/IndexedDB/signatures-db.cjs"),de=require("./data-structures/TokenDBs/PrivateTokensDB.cjs"),Ae=require("./data-structures/TokenDBs/PublicTokensDB.cjs"),Wt=require("./data-structures/TokenDBs/token-visibility-db.cjs"),Te=require("./data-structures/TokenDBs/ArcPublicTokensDB.cjs"),Gt=require("./data-structures/presale/PresaleContractWrapper.cjs"),Yt=require("./data-structures/snapshot/SnapshotFetcherService.cjs"),pe=require("./data-structures/ApprovalDBs/EventsPublicApprovalsDB.cjs"),Kt=require("./error-handling/customErrors/ErrorWithAmount.cjs"),Xt=require("./error-handling/customErrors/FeeOverTransactionValueError.cjs"),Ee=require("./error-handling/customErrors/customErrors.helpers.cjs"),zt=require("./error-handling/customErrors/SimulationFailureError.cjs"),Zt=require("./error-handling/customErrors/ErrorWithTx.cjs"),O=require("./error-handling/error-codes.constants.cjs"),Z=require("./error-handling/get-error.message.cjs"),jt=require("./error-handling/handleErrorRestore.cjs"),Jt=require("./error-handling/logError.cjs"),Qt=require("./error-handling/types.cjs"),$t=require("./error-handling/logger.cjs"),E=require("./externalABIs/index.cjs"),ge=require("./functions/web3/functionCalls/accessTokenCalls.cjs"),er=require("./functions/kyc/passportHelper.cjs"),tr=require("./functions/kyc/openDefaultPassportWindow.cjs"),r=require("./functions/utils/amounts.utils.cjs"),d=require("./functions/utils/cacheFunctions.cjs"),_e=require("./functions/utils/create-provider.cjs"),Re=require("./functions/utils/external-action.utils.cjs"),A=require("./functions/utils/erc20tokenFunctions.cjs"),rr=require("./functions/utils/requireEnv.cjs"),j=require("./functions/utils/resolve-sync.utils.cjs"),or=require("./functions/utils/convertIntegrationProviderToExternalActionId.cjs"),ar=require("./functions/pre-transaction/interaction-to-action.cjs"),sr=require("./functions/pre-transaction/outputUtxoProcessing.cjs"),nr=require("./functions/pre-transaction/process-gas-estimates.cjs"),ir=require("./functions/pre-transaction/getFlatFees.cjs"),Ie=require("./functions/pre-transaction/outputApprovalDataProcessing.cjs"),cr=require("./functions/pre-transaction/getVolatileTransferAmount.cjs"),lr=require("./functions/pre-transaction/constructAdminData.cjs"),Pe=require("./functions/utils/evmNetworkFunctions.cjs"),me=require("./functions/utils/userAgent.cjs"),J=require("./functions/utils/getDataFromTransaction.cjs"),ur=require("./functions/utils/reloadPage.cjs"),g=require("./functions/utils/string.utils.cjs"),Sr=require("./functions/utils/nickname.utils.cjs"),Q=require("./functions/utils/caseInsensitive.utils.cjs"),i=require("./functions/utils/time.utils.cjs"),dr=require("./functions/utils/cacheDevice.utils.cjs"),Ce=require("./functions/utils/process.utils.cjs"),Ar=require("./functions/utils/getBlockExplorerUrl.cjs"),ye=require("./functions/utils/involves-permit2-op.cjs"),Tr=require("./functions/utils/upToDateState.cjs"),he=require("./functions/utils/serialize.utils.cjs"),ke=require("./functions/utils/processUseApprovalUtxoData.cjs"),pr=require("./functions/utils/convertEmporiumOpToCallInfo.cjs"),Oe=require("./functions/utils/getRecipientInfoFromUserKeys.cjs"),M=require("./functions/utils/publicBalance.utils.cjs"),Er=require("./functions/utils/rpc-int-encode.cjs"),gr=require("./functions/utils/token-check.utils.cjs"),_r=require("./functions/utils/arraysMatch.cjs"),b=require("./functions/utils/addresses.cjs"),Rr=require("./functions/utils/trimFieldValues.cjs"),F=require("./functions/utils/walletBalances.utils.cjs"),Ir=require("./functions/utils/mutexes.utils.cjs"),Pr=require("./functions/utils/ethers-formatter.utils.cjs"),mr=require("./functions/utils/nftTokenFunctions.cjs"),Cr=require("./functions/utils/inLogicMetadata.cjs"),yr=require("./functions/utils/networks.utils.cjs"),hr=require("./functions/utils/is-valid-url.cjs"),kr=require("./functions/utils/get-hinkal-approvals.cjs"),f=require("./functions/utils/mystery-box-auction.utils.cjs"),Or=require("./functions/utils/postToOffscreen.cjs"),Dr=require("./functions/utils/get-signature-header.cjs"),_=require("./functions/web3/etherFunctions.cjs"),x=require("./functions/web3/events/getInputUtxoAndBalance.cjs"),De=require("./functions/web3/events/getShieldedBalance.cjs"),Ne=require("./functions/web3/events/web3RetrieveEvents.cjs"),Nr=require("./functions/web3/events/balanceChangedHandler.cjs"),Ur=require("./functions/web3/events/balanceChangedCustomHandler.cjs"),H=require("./functions/web3/events/getApprovedBalance.cjs"),Lr=require("./functions/web3/events/getTransactionLogEvents.cjs"),V=require("./functions/web3/uniswapAPI.cjs"),qr=require("./functions/web3/odosAPI.cjs"),vr=require("./functions/web3/oneInchAPI.cjs"),Br=require("./functions/web3/lifiAPI.cjs"),Mr=require("./functions/web3/runContractFunction.cjs"),br=require("./functions/web3/getTokenHolder.cjs"),$=require("./functions/web3/EIP-712.cjs"),Fr=require("./functions/snarkjs/constructGeneralZkProof.cjs"),fr=require("./functions/snarkjs/constructEmporiumProof.cjs"),c=require("./functions/snarkjs/common.snarkjs.cjs"),xr=require("./functions/snarkjs/generateZkProof.cjs"),D=require("./functions/staking/index.cjs"),l=require("./functions/private-wallet/emporium.helpers.cjs"),Ue=require("./functions/private-wallet/opProducer.cjs"),w=require("./functions/private-wallet/emporium.swap.helpers.cjs"),Hr=require("./types/approvals.types.cjs"),W=require("./types/circom-data.types.cjs"),Vr=require("./types/ethereum-network.types.cjs"),wr=require("./types/external-action.types.cjs"),R=require("./types/hinkal.types.cjs"),N=require("./types/kyc.types.cjs"),Wr=require("./types/token.types.cjs"),Gr=require("./types/slippage.types.cjs"),ee=require("./types/transactions.types.cjs"),Le=require("./types/rewards.types.cjs"),Yr=require("./types/hinkal.stake.types.cjs"),Kr=require("./types/admin.types.cjs"),U=require("./types/activities.types.cjs"),Xr=require("./types/sandbox.types.cjs"),zr=require("./types/balances.types.cjs"),Zr=require("./types/cache.types.cjs"),jr=require("./types/token-prices.types.cjs"),G=require("./types/new-rewards.type.cjs"),qe=require("./types/RewardUserEnums.cjs"),ve=require("./types/generatePoints.cjs"),Jr=require("./types/eip5792.types.cjs"),te=require("./types/mystery-boxes.types.cjs"),Qr=require("./types/merch-order.types.cjs"),$r=require("./types/routing.types.cjs"),eo=require("./types/confirmation-request.types.cjs"),to=require("./types/offscreen.types.cjs"),ro=require("./mutexes/mutex.cjs"),oo=require("./webworker/workerFactory.cjs"),Be=require("./webworker/worker.registry.cjs"),ao=require("./webworker/workerProxy.cjs"),so=require("./webworker/workerErrorHandler.cjs"),Me=require("./constants/token-data/ERC20Registry.cjs"),no=require("./constants/token-data/popularTokens.constants.cjs"),io=require("./externalABIs/amToken.cjs"),co=require("./externalABIs/USDC.cjs"),lo=require("./externalABIs/DAI.cjs"),uo=require("./externalABIs/USDR.cjs"),So=require("./externalABIs/USDR3CRV.cjs"),Ao=require("./externalABIs/USDT.cjs"),To=require("./externalABIs/WETH.cjs"),po=require("./externalABIs/BUSD.cjs"),Eo=require("./externalABIs/SanctionsList.cjs"),go=require("./externalABIs/OptimismGasPriceOracle.json.cjs"),_o=require("./externalABIs/NodeInterfaceABI.json.cjs");exports.DATA_SERVER_URL=L.DATA_SERVER_URL;exports.getDataServerURL=L.getDataServerURL;exports.getServerURL=L.getServerURL;exports.getSnapshotServerURL=L.getSnapshotServerURL;exports.getCoingeckoPrice=q.getCoingeckoPrice;exports.getCoingeckoPrice2=q.getCoingeckoPrice2;exports.getCoingeckoPrices=q.getCoingeckoPrices;exports.getCoingeckoTokenList=q.getCoingeckoTokenList;exports.callOneInchAPI=be.callOneInchAPI;exports.callRelayerTransactAPI=Fe.callRelayerTransactAPI;exports.getGasEstimates=fe.getGasEstimates;exports.getTokenPrice=Y.getTokenPrice;exports.getTokenPriceEth=Y.getTokenPriceEth;exports.getTokenPrices=Y.getTokenPrices;exports.checkRisk=xe.checkRisk;exports.getIdleRelay=He.getIdleRelay;exports.API=Ve.API;exports.getRelayerURL=we.getRelayerURL;exports.getPublicWalletBalance=We.getPublicWalletBalance;exports.WALLET_API=C.WALLET_API;exports.rpcGetStorageChanges=C.rpcGetStorageChanges;exports.rpcSimulateBundle=C.rpcSimulateBundle;exports.rpcSimulateTransaction=C.rpcSimulateTransaction;exports.simulateTx=C.simulateTx;exports.tenderlyRpcLinks=C.tenderlyRpcLinks;exports.tokensInfoCall=Ge.tokensInfoCall;exports.callLifiAPI=Ye.callLifiAPI;exports.LifiStatus=re.LifiStatus;exports.getLifiStatus=re.getLifiStatus;exports.generateAumPoints=oe.generateAumPoints;exports.generateTradingPoints=oe.generateTradingPoints;exports.createBrotherhood=T.createBrotherhood;exports.editBrotherhood=T.editBrotherhood;exports.getBrotherhood=T.getBrotherhood;exports.getBrotherhoodUsers=T.getBrotherhoodUsers;exports.getCurrentUserBrotherhood=T.getCurrentUserBrotherhood;exports.getCurrentUserBrotherhoodUsers=T.getCurrentUserBrotherhoodUsers;exports.getPublicBrotherhoods=T.getPublicBrotherhoods;exports.joinBrotherhood=T.joinBrotherhood;exports.leaveBrotherhood=T.leaveBrotherhood;exports.getHinkalLandingURL=K.getHinkalLandingURL;exports.getRewardsURL=K.getRewardsURL;exports.getWalletOnboardingURL=K.getWalletOnboardingURL;exports.claimMerchItem=I.claimMerchItem;exports.createOrUpdateMerchAddress=I.createOrUpdateMerchAddress;exports.getCurrentAuctionsInfo=I.getCurrentAuctionsInfo;exports.getCurrentDayBoxPrizeCounts=I.getCurrentDayBoxPrizeCounts;exports.getMerchOrders=I.getMerchOrders;exports.getMysteryBoxesHistory=I.getMysteryBoxesHistory;exports.getServerUtc=I.getServerUtc;exports.openMysteryBox=I.openMysteryBox;exports.IMAGE_PATHS=Ke.IMAGE_PATHS;exports.arbMainnetRegistry=o.arbMainnetRegistry;exports.arbMainnetRegistryFixed=o.arbMainnetRegistryFixed;exports.arcTestnetRegistry=o.arcTestnetRegistry;exports.avalancheRegistry=o.avalancheRegistry;exports.avalancheRegistryFixed=o.avalancheRegistryFixed;exports.baseRegistry=o.baseRegistry;exports.baseRegistryFixed=o.baseRegistryFixed;exports.bnbMainnetRegistry=o.bnbMainnetRegistry;exports.bnbMainnetRegistryFixed=o.bnbMainnetRegistryFixed;exports.ethMainnetRegistry=o.ethMainnetRegistry;exports.ethMainnetRegistryFixed=o.ethMainnetRegistryFixed;exports.localhostRegistry=o.localhostRegistry;exports.optimismRegistry=o.optimismRegistry;exports.optimismRegistryFixed=o.optimismRegistryFixed;exports.polygonRegistry=o.polygonRegistry;exports.polygonRegistryFixed=o.polygonRegistryFixed;exports.bnbMainnetData=Xe.default;exports.arbMainnetData=ze.default;exports.ethMainnetData=Ze.default;exports.optimismData=je.default;exports.polygonData=Je.default;exports.avalancheData=Qe.default;exports.baseData=$e.default;exports.localhostData=et.default;exports.arcTestnetData=tt.default;exports.ALCHEMY_API_KEY=a.ALCHEMY_API_KEY;exports.ALCHEMY_TEST_KEY=a.ALCHEMY_TEST_KEY;exports.EthereumNetworkType=a.EthereumNetworkType;exports.WALLET_INITIAL_CHAIN_ID=a.WALLET_INITIAL_CHAIN_ID;exports.WALLET_SUPPORTED_CHAINS=a.WALLET_SUPPORTED_CHAINS;exports.chainIds=a.chainIds;exports.chainIdsByType=a.chainIdsByType;exports.getNonLocalhostChainId=a.getNonLocalhostChainId;exports.isLocalNetwork=a.isLocalNetwork;exports.isOptimismLike=a.isOptimismLike;exports.localhostNetwork=a.localhostNetwork;exports.networkRegistry=a.networkRegistry;exports.NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS=ae.NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS;exports.defaultFeeToken=ae.defaultFeeToken;exports.contractMetadataMapping=y.contractMetadataMapping;exports.getHinkalParameters=y.getHinkalParameters;exports.uniswapV2PoolData=y.uniswapV2PoolData;exports.uniswapV3FactoryData=y.uniswapV3FactoryData;exports.uniswapV3PoolData=y.uniswapV3PoolData;exports.uniswapV3QuoterData=y.uniswapV3QuoterData;exports.AIPRISE_KYB_TEMPLATE_ID_PROD=p.AIPRISE_KYB_TEMPLATE_ID_PROD;exports.AIPRISE_KYC_TEMPLATE_ID_PROD=p.AIPRISE_KYC_TEMPLATE_ID_PROD;exports.RECLAIM_MESSAGE_TO_SIGN=p.RECLAIM_MESSAGE_TO_SIGN;exports.ReclaimPassports=p.ReclaimPassports;exports.StandardPassports=p.StandardPassports;exports.SupportedPassports=p.SupportedPassports;exports.aipriseBaseOnboardingProductionUrl=p.aipriseBaseOnboardingProductionUrl;exports.aipriseBaseOnboardingSandboxUrl=p.aipriseBaseOnboardingSandboxUrl;exports.supportedPassportLinks=p.supportedPassportLinks;exports.API_CONFIG=t.API_CONFIG;exports.DATA_SERVER_CONFIG=t.DATA_SERVER_CONFIG;exports.DATA_SERVER_URL_ENDPOINT=t.DATA_SERVER_URL_ENDPOINT;exports.DATA_SERVER_URL_LOCAL=t.DATA_SERVER_URL_LOCAL;exports.PLAYGROUND_RELAYER_URLS=t.PLAYGROUND_RELAYER_URLS;exports.PLAYGROUND_SERVER_URLS=t.PLAYGROUND_SERVER_URLS;exports.PLAYGROUND_SNAPSHOT_SERVER_URLS=t.PLAYGROUND_SNAPSHOT_SERVER_URLS;exports.PLAYGROUND_URL=t.PLAYGROUND_URL;exports.PRODUCTION_RELAYER_URLS=t.PRODUCTION_RELAYER_URLS;exports.PRODUCTION_SERVER_URLS=t.PRODUCTION_SERVER_URLS;exports.PRODUCTION_SNAPSHOT_SERVER_URLS=t.PRODUCTION_SNAPSHOT_SERVER_URLS;exports.PRODUCTION_URL=t.PRODUCTION_URL;exports.RELAYER_CONFIG=t.RELAYER_CONFIG;exports.STAGING_RELAYER_URLS=t.STAGING_RELAYER_URLS;exports.STAGING_SERVER_URLS=t.STAGING_SERVER_URLS;exports.STAGING_SNAPSHOT_SERVER_URLS=t.STAGING_SNAPSHOT_SERVER_URLS;exports.STAGING_URL=t.STAGING_URL;exports.VERIFICATION_ROUTES=t.VERIFICATION_ROUTES;exports.WALLET_TASK_VERIFICATION_TYPES=t.WALLET_TASK_VERIFICATION_TYPES;exports.DEPLOYMENT_MODE=u.DEPLOYMENT_MODE;exports.deploymentMode=u.deploymentMode;exports.isDevelopment=u.isDevelopment;exports.isExtension=u.isExtension;exports.isNode=u.isNode;exports.isNotClientProduction=u.isNotClientProduction;exports.isNotProduction=u.isNotProduction;exports.isPlayground=u.isPlayground;exports.isSandbox=u.isSandbox;exports.isStaging=u.isStaging;exports.isWebpack=u.isWebpack;exports.ARC_TESTNET_USDC_ADDRESS=e.ARC_TESTNET_USDC_ADDRESS;exports.AssetChangeType=e.AssetChangeType;exports.CIRCOM_MERKLE_LENGTH=e.CIRCOM_MERKLE_LENGTH;exports.CIRCOM_P=e.CIRCOM_P;exports.CIRCOM_P_HALF=e.CIRCOM_P_HALF;exports.EIP1271_FAILURE=e.EIP1271_FAILURE;exports.EIP1271_SUCCESS=e.EIP1271_SUCCESS;exports.HINKAL_PRIVATE_SEND_VARIABLE_RATE=e.HINKAL_PRIVATE_SEND_VARIABLE_RATE;exports.HINKAL_SWAP_VARIABLE_RATE=e.HINKAL_SWAP_VARIABLE_RATE;exports.MERKLE_LEVELS=e.MERKLE_LEVELS;exports.NFT_1155_TRANSACTION_TYPE=e.NFT_1155_TRANSACTION_TYPE;exports.NFT_721_TRANSACTION_TYPE=e.NFT_721_TRANSACTION_TYPE;exports.NFT_TRANSACTION_TYPES=e.NFT_TRANSACTION_TYPES;exports.RELAYERS_ARRAY=e.RELAYERS_ARRAY;exports.RELAYER_ADDRESS1=e.RELAYER_ADDRESS1;exports.RELAYER_ADDRESS2=e.RELAYER_ADDRESS2;exports.RELAYER_ADDRESS3=e.RELAYER_ADDRESS3;exports.TOKEN_VALUE_UNLIMITED_THRESHOLD=e.TOKEN_VALUE_UNLIMITED_THRESHOLD;exports.TokenType=e.TokenType;exports.defaultSignatureData=e.defaultSignatureData;exports.ethVolatileAddress=e.ethVolatileAddress;exports.hinkalSimulationAddress=e.hinkalSimulationAddress;exports.oneInchZeroAddress=e.oneInchZeroAddress;exports.ownerPublicKey=e.ownerPublicKey;exports.permitSignatureValidFor=e.permitSignatureValidFor;exports.signaturePhrase=e.signaturePhrase;exports.zeroAddress=e.zeroAddress;exports.COINGECKO_API_KEY=s.COINGECKO_API_KEY;exports.CoinGeckoChainLabels=s.CoinGeckoChainLabels;exports.coingeckoPriceUrl=s.coingeckoPriceUrl;exports.coingeckoPriceUrl2=s.coingeckoPriceUrl2;exports.coingeckoTokenListUrl=s.coingeckoTokenListUrl;exports.getCoinByAddress=s.getCoinByAddress;exports.getCoinById=s.getCoinById;exports.getCoingeckoIdForNativeTokens=s.getCoingeckoIdForNativeTokens;exports.getCoingeckoPlatform=s.getCoingeckoPlatform;exports.proCoingeckoUrl=s.proCoingeckoUrl;exports.proHeader=s.proHeader;exports.searchBySymbol=s.searchBySymbol;exports.NETWORKS=se.NETWORKS;exports.getGasStationUrl=se.getGasStationUrl;exports.ACCESS_TOKEN_MINTING_POINTS=n.ACCESS_TOKEN_MINTING_POINTS;exports.ACCESS_TOKEN_RECLAIM_POINTS=n.ACCESS_TOKEN_RECLAIM_POINTS;exports.CERTIFICATION_DISABLE_WEEK=n.CERTIFICATION_DISABLE_WEEK;exports.REWARDS_ENCRYPTION_PASSWORD=n.REWARDS_ENCRYPTION_PASSWORD;exports.REWARDS_MESSAGE_TO_SIGN=n.REWARDS_MESSAGE_TO_SIGN;exports.REWARD_RECEIVABLE_TOKEN_SYMBOLS=n.REWARD_RECEIVABLE_TOKEN_SYMBOLS;exports.boostAmounts=n.boostAmounts;exports.lpLink=n.lpLink;exports.lpProgramStartWeek=n.lpProgramStartWeek;exports.pointsLink=n.pointsLink;exports.raffleProgramStartWeek=n.raffleProgramStartWeek;exports.referralLink=n.referralLink;exports.blockReorgDepth=rt.blockReorgDepth;exports.mediaUrls=ot.mediaUrls;exports.allowanceHolder=P.allowanceHolder;exports.pancaceSwapPermit2Address=P.pancaceSwapPermit2Address;exports.permit2Address=P.permit2Address;exports.permit2Addresses=P.permit2Addresses;exports.uniswap2Manager=P.uniswap2Manager;exports.uniswap3Manager=P.uniswap3Manager;exports.uniswapApprovalExtraCallData=P.uniswapApprovalExtraCallData;exports.uniswapWorkaroundAddresses=P.uniswapWorkaroundAddresses;exports.HETH_ERC20_TOKEN_ADDRESS=h.HETH_ERC20_TOKEN_ADDRESS;exports.NATIVE_TOKEN_WRAPPER_ADDRESSES=h.NATIVE_TOKEN_WRAPPER_ADDRESSES;exports.SWAP_FEE_TAKER_ADDRESSES=h.SWAP_FEE_TAKER_ADDRESSES;exports.SWAP_ROUTER_ADDRESSES=h.SWAP_ROUTER_ADDRESSES;exports.WETH_ERC20_TOKEN_ADDRESS=h.WETH_ERC20_TOKEN_ADDRESS;exports.WRAPPER_TOKEN_EXCHANGE_ADDRESSES=h.WRAPPER_TOKEN_EXCHANGE_ADDRESSES;exports.APPROVED_UTXO_CONVERSION_COUNT=at.APPROVED_UTXO_CONVERSION_COUNT;exports.TOKEN_LIMITS=ne.TOKEN_LIMITS;exports.getTokensLimits=ne.getTokensLimits;exports.MAX_DISPLAY_DECIMALS=st.MAX_DISPLAY_DECIMALS;exports.BRIDGING_URLS=nt.BRIDGING_URLS;exports.UNSUPPORTED_WALLETS_WALLETCONNECT_NAMES=ie.UNSUPPORTED_WALLETS_WALLETCONNECT_NAMES;exports.UNSUPPORTED_WALLET_IDS=ie.UNSUPPORTED_WALLET_IDS;exports.presaleABI=ce.presaleABI;exports.presaleContractInfoByChain=ce.presaleContractInfoByChain;exports.LIFISCAN_URL=it.LIFISCAN_URL;exports.oauthUrls=ct.oauthUrls;exports.BOX_AUCTION_DURATIONS_MINUTES=S.BOX_AUCTION_DURATIONS_MINUTES;exports.BOX_DAILY_CLAIM_LIMIT=S.BOX_DAILY_CLAIM_LIMIT;exports.BOX_ENDING_PRICES=S.BOX_ENDING_PRICES;exports.BOX_STARTING_PRICES=S.BOX_STARTING_PRICES;exports.BRONZE_MYSTERY_BOX_ITEMS=S.BRONZE_MYSTERY_BOX_ITEMS;exports.GOLD_MYSTERY_BOX_ITEMS=S.GOLD_MYSTERY_BOX_ITEMS;exports.MYSTERY_BOX_ITEMS=S.MYSTERY_BOX_ITEMS;exports.MYSTERY_BOX_ITEM_BY_ID=S.MYSTERY_BOX_ITEM_BY_ID;exports.MYSTERY_BOX_ITEM_BY_RANK=S.MYSTERY_BOX_ITEM_BY_RANK;exports.MysteryBoxItemId=S.MysteryBoxItemId;exports.SILVER_MYSTERY_BOX_ITEMS=S.SILVER_MYSTERY_BOX_ITEMS;exports.TVL_CHANGER_ACTIVITY_TYPES=lt.TVL_CHANGER_ACTIVITY_TYPES;exports.ACHIEVEMENTS=m.ACHIEVEMENTS;exports.BROTHERHOOD_TASKS=m.BROTHERHOOD_TASKS;exports.DAILY_TASKS=m.DAILY_TASKS;exports.POINTS_BOOST_TASKS=m.POINTS_BOOST_TASKS;exports.REFERRAL_BONUS_TASK=m.REFERRAL_BONUS_TASK;exports.REWARDS_TASKS=m.REWARDS_TASKS;exports.WELCOME_TASKS=m.WELCOME_TASKS;exports.EVENTS_INITIAL_BLOCKS=ut.EVENTS_INITIAL_BLOCKS;exports.APPROVE_FUNCTION_SIGNATURE=k.APPROVE_FUNCTION_SIGNATURE;exports.NFT_APPROVE_FUNCTION_SIGNATURE=k.NFT_APPROVE_FUNCTION_SIGNATURE;exports.NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE=k.NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE;exports.PERMIT2_APPROVE_FUNCTION_SIGNATURE=k.PERMIT2_APPROVE_FUNCTION_SIGNATURE;exports.TRANSFER_FUNCTION_SIGNATURE=k.TRANSFER_FUNCTION_SIGNATURE;exports.poseidonFunction=X.poseidonFunction;exports.poseidonHash=X.poseidonHash;exports.poseidonHolder=X.poseidonHolder;exports.babyJubInstance=le.babyJubInstance;exports.jubHolder=le.jubHolder;exports.preProcessing=St.preProcessing;exports.ValueCache=dt.ValueCache;exports.abiDecodeUtxo=v.abiDecodeUtxo;exports.checkUtxoSignature=v.checkUtxoSignature;exports.decodeUtxo=v.decodeUtxo;exports.decodeUtxoConstructorArgs=v.decodeUtxoConstructorArgs;exports.decryptUtxo=z.decryptUtxo;exports.decryptUtxoConstructorArgs=z.decryptUtxoConstructorArgs;exports.encryptUtxo=z.encryptUtxo;exports.EncryptionKeyPairDefaultValue=B.EncryptionKeyPairDefaultValue;exports.UserKeys=B.UserKeys;exports.stealthAddressCacheDevice=B.stealthAddressCacheDevice;exports.stealthPairCacheDevice=B.stealthPairCacheDevice;exports.getCircomSign=ue.getCircomSign;exports.isCircomNegative=ue.isCircomNegative;exports.Hinkal=At.Hinkal;exports.hinkalDeposit=Se.hinkalDeposit;exports.hinkalDepositForOther=Se.hinkalDepositForOther;exports.hinkalSwap=Tt.hinkalSwap;exports.hinkalTransfer=pt.hinkalTransfer;exports.hinkalWithdraw=Et.hinkalWithdraw;exports.hinkalPrivateWallet=gt.hinkalPrivateWallet;exports.resetMerkleTrees=_t.resetMerkleTrees;exports.hinkalProxySwap=Rt.hinkalProxySwap;exports.MerkleTree=It.MerkleTree;exports.getPatchedAccessTokenMerkleTree=Pt.getPatchedAccessTokenMerkleTree;exports.MerkleTreeIncompleteError=mt.MerkleTreeIncompleteError;exports.AbstractAccessTokenSnapshotService=Ct.AbstractAccessTokenSnapshotService;exports.AbstractCommitmentsSnapshotService=yt.AbstractCommitmentsSnapshotService;exports.AbstractApprovalsSnapshotService=ht.AbstractApprovalsSnapshotService;exports.AbstractNullifierSnapshotService=kt.AbstractNullifierSnapshotService;exports.AbstractSnapshotService=Ot.AbstractSnapshotService;exports.AbstractEventService=Dt.AbstractEventService;exports.BlockchainEventEmitter=Nt.BlockchainEventEmitter;exports.Utxo=Ut.Utxo;exports.customTokenRegistry=Lt.customTokenRegistry;exports.TokenChecker=qt.TokenChecker;exports.TransactionType=vt.TransactionType;exports.MultiThreadedUtxoUtils=Bt.MultiThreadedUtxoUtils;exports.FileCacheDevice=Mt.FileCacheDevice;exports.LocalStorageCacheDevice=bt.LocalStorageCacheDevice;exports.activityStorage=Ft.activityStorage;exports.publicBalancesStorage=ft.publicBalancesStorage;exports.privateBalancesStorage=xt.privateBalancesStorage;exports.pricesStorage=Ht.pricesStorage;exports.contactStorage=Vt.contactStorage;exports.signedMessagesStorage=wt.signedMessagesStorage;exports.PrivateTokensDB=de.PrivateTokensDB;exports.privateTokensDB=de.privateTokensDB;exports.PublicTokensDB=Ae.PublicTokensDB;exports.publicTokensDB=Ae.publicTokensDB;exports.tokenVisibilityStorage=Wt.tokenVisibilityStorage;exports.ArcPublicTokensDB=Te.ArcPublicTokensDB;exports.arcPublicTokensDB=Te.arcPublicTokensDB;exports.PresaleContractWrapper=Gt.PresaleContractWrapper;exports.SnapshotFetcherService=Yt.SnapshotFetcherService;exports.EventsPublicApprovalsDB=pe.EventsPublicApprovalsDB;exports.eventsPublicApprovalsDB=pe.eventsPublicApprovalsDB;exports.ErrorWithAmount=Kt.ErrorWithAmount;exports.FeeOverTransactionValueError=Xt.FeeOverTransactionValueError;exports.getGenericFeeOverTransactionValueErrorMessage=Ee.getGenericFeeOverTransactionValueErrorMessage;exports.rethrowKnownGasErrorIfPossible=Ee.rethrowKnownGasErrorIfPossible;exports.SimulationFailureError=zt.SimulationFailureError;exports.ErrorWithRelayerTransaction=Zt.ErrorWithRelayerTransaction;exports.UserFriendlyErrorCodes=O.UserFriendlyErrorCodes;exports.gasErrorCodes=O.gasErrorCodes;exports.insufficientResourcesErrorCodes=O.insufficientResourcesErrorCodes;exports.transactionErrorCodes=O.transactionErrorCodes;exports.walletConnectErrorCodes=O.walletConnectErrorCodes;exports.extractMessage=Z.extractMessage;exports.getErrorMessage=Z.getErrorMessage;exports.getErrorMessageFromSandboxRequest=Z.getErrorMessageFromSandboxRequest;exports.checkErrorForSnapshotRestore=jt.checkErrorForSnapshotRestore;exports.logError=Jt.logError;exports.ErrorCategory=Qt.ErrorCategory;exports.Logger=$t.Logger;exports.BabABI=E.BabABI;exports.ERC1155ABI=E.ERC1155ABI;exports.ERC20ABI=E.ERC20ABI;exports.ERC721ABI=E.ERC721ABI;exports.GalxeABI=E.GalxeABI;exports.ISwapRouterABI=E.ISwapRouterABI;exports.factoryABI=E.factoryABI;exports.quoterV2ABI=E.quoterV2ABI;exports.transactionProverABI=E.transactionProverABI;exports.checkHinkalAccessToken=ge.checkHinkalAccessToken;exports.mintAccessToken=ge.mintAccessToken;exports.openPassportWindow=er.openPassportWindow;exports.openDefaultPassportWindow=tr.openDefaultPassportWindow;exports.absBigInt=r.absBigInt;exports.beepsToPercentage=r.beepsToPercentage;exports.bigintApplySugar=r.bigintApplySugar;exports.bigintMax=r.bigintMax;exports.calculateAmountUsingBeeps=r.calculateAmountUsingBeeps;exports.calculateBigIntSum=r.calculateBigIntSum;exports.calculateSum=r.calculateSum;exports.countTotalAmountInUtxos=r.countTotalAmountInUtxos;exports.fixDecimalsAmount=r.fixDecimalsAmount;exports.getValueFirstNDigit=r.getValueFirstNDigit;exports.maxBigInt=r.maxBigInt;exports.minBigInt=r.minBigInt;exports.toBigInt=r.toBigInt;exports.toBigIntOrUndefined=r.toBigIntOrUndefined;exports.toCommaSeparatedNumberString=r.toCommaSeparatedNumberString;exports.toInt=r.toInt;exports.toNumberOrUndefined=r.toNumberOrUndefined;exports.trimLeadingZeros=r.trimLeadingZeros;exports.truncateToDecimalPlaces=r.truncateToDecimalPlaces;exports.getFilePath=d.getFilePath;exports.getHinkalCache=d.getHinkalCache;exports.getInHinkalAddressesCache=d.getInHinkalAddressesCache;exports.getInHinkalAddressesFilePath=d.getInHinkalAddressesFilePath;exports.loadTxsCache=d.loadTxsCache;exports.resetCache=d.resetCache;exports.resetInHinkalAddressesCache=d.resetInHinkalAddressesCache;exports.saveTxsCache=d.saveTxsCache;exports.setHinkalCache=d.setHinkalCache;exports.setInHinkalAddressesCache=d.setInHinkalAddressesCache;exports.createProvider=_e.createProvider;exports.createTorRpcProvider=_e.createTorRpcProvider;exports.getExternalActionIdFromNumber=Re.getExternalActionIdFromNumber;exports.getExternalActionIdHash=Re.getExternalActionIdHash;exports.aggregateTokenChanges=A.aggregateTokenChanges;exports.formatTokenChangesList=A.formatTokenChangesList;exports.getERC20Token=A.getERC20Token;exports.getERC20TokenBySymbol=A.getERC20TokenBySymbol;exports.getErc20TokensForChain=A.getErc20TokensForChain;exports.getHToken=A.getHToken;exports.isArcNativeToken=A.isArcNativeToken;exports.isNFTToken=A.isNFTToken;exports.searchCompareFunction=A.searchCompareFunction;exports.sortTokens=A.sortTokens;exports.requireEnv=rr.requireEnv;exports.getSequence=j.getSequence;exports.promisify=j.promisify;exports.resolveSync=j.resolveSync;exports.convertIntegrationProviderToExternalActionId=or.convertIntegrationProviderToExternalActionId;exports.getInteractionFromAction=ar.getInteractionFromAction;exports.outputUtxoProcessing=sr.outputUtxoProcessing;exports.processGasEstimates=nr.processGasEstimates;exports.getFlatFees=ir.getFlatFees;exports.outputApprovalDataProcessing=Ie.outputApprovalDataProcessing;exports.outputApprovalDataProcessingForHinkalApprove=Ie.outputApprovalDataProcessingForHinkalApprove;exports.modifyVolatileTokenAmountChanges=cr.modifyVolatileTokenAmountChanges;exports.constructAdminData=lr.constructAdminData;exports.getNetworkObject=Pe.getNetworkObject;exports.getNetworkType=Pe.getNetworkType;exports.browserSupported=me.browserSupported;exports.walletSupported=me.walletSupported;exports.decodeTxInput=J.decodeTxInput;exports.deserializeDecodedTxs=J.deserializeDecodedTxs;exports.serializeDecodedTxs=J.serializeDecodedTxs;exports.reloadPage=ur.reloadPage;exports.capitalizeFirstLetter=g.capitalizeFirstLetter;exports.capitalizeName=g.capitalizeName;exports.getChainIdFromStateKey=g.getChainIdFromStateKey;exports.getStateKey=g.getStateKey;exports.hexToUtf8=g.hexToUtf8;exports.isNullOrEmpty=g.isNullOrEmpty;exports.replaceAllInstances=g.replaceAllInstances;exports.toTitleCase=g.toTitleCase;exports.validateEmail=g.validateEmail;exports.isNicknameValid=Sr.isNicknameValid;exports.caseInsensitiveEqual=Q.caseInsensitiveEqual;exports.lowerCaseIncludes=Q.lowerCaseIncludes;exports.lowerCaseStartsWith=Q.lowerCaseStartsWith;exports.formatDate=i.formatDate;exports.getCurrentDayStart=i.getCurrentDayStart;exports.getCurrentTimeInSeconds=i.getCurrentTimeInSeconds;exports.getCurrentWeekStart=i.getCurrentWeekStart;exports.getEffectiveMonthStart=i.getEffectiveMonthStart;exports.getEffectiveSevenDaysAgo=i.getEffectiveSevenDaysAgo;exports.getEffectiveToday=i.getEffectiveToday;exports.getNextDayDelay=i.getNextDayDelay;exports.getNextDayISO=i.getNextDayISO;exports.getPreviousWeekStart=i.getPreviousWeekStart;exports.msToISOString=i.msToISOString;exports.waitLittle=i.waitLittle;exports.createCacheDevice=dr.createCacheDevice;exports.debounce=Ce.debounce;exports.wait=Ce.wait;exports.getBlockExplorerUrl=Ar.getBlockExplorerUrl;exports.isPermit2Tx=ye.isPermit2Tx;exports.uniswapWorkaround=ye.uniswapWorkaround;exports.checkChainOrAddressNotUpdated=Tr.checkChainOrAddressNotUpdated;exports.CustomJSONParse=he.CustomJSONParse;exports.CustomJSONStringify=he.CustomJSONStringify;exports.isUseApprovalDataEmpty=ke.isUseApprovalDataEmpty;exports.padUseApprovalUtxoData=ke.padUseApprovalUtxoData;exports.convertEmporiumOpToCallInfo=pr.convertEmporiumOpToCallInfo;exports.getExtendedRecipientInfoFromUserKeys=Oe.getExtendedRecipientInfoFromUserKeys;exports.getRecipientInfoFromUserKeys=Oe.getRecipientInfoFromUserKeys;exports.getPublicBalance=M.getPublicBalance;exports.getPublicBalanceByTokenAddress=M.getPublicBalanceByTokenAddress;exports.getPublicBalancesOfTokens=M.getPublicBalancesOfTokens;exports.getPublicTransactionCount=M.getPublicTransactionCount;exports.rpcIntEncode=Er.rpcIntEncode;exports.checkTokensForShielding=gr.checkTokensForShielding;exports.arraysMatch=_r.arraysMatch;exports.constructStealthAddressStructure=b.constructStealthAddressStructure;exports.hashEthereumAddress=b.hashEthereumAddress;exports.isValidExtendedPrivateAddress=b.isValidExtendedPrivateAddress;exports.isValidPrivateAddress=b.isValidPrivateAddress;exports.trimFieldValues=Rr.trimFieldValues;exports.getNecessaryApprovalChangesData=F.getNecessaryApprovalChangesData;exports.getNecessaryAssetsForFunding=F.getNecessaryAssetsForFunding;exports.getNecessaryAssetsForFundingFromBalance=F.getNecessaryAssetsForFundingFromBalance;exports.hasEnoughBalance=F.hasEnoughBalance;exports.balanceFetchingMutex=Ir.balanceFetchingMutex;exports.convertV6ReceiptToRelayer=Pr.convertV6ReceiptToRelayer;exports.extractTokenIdsFromAssetChanges=mr.extractTokenIdsFromAssetChanges;exports.encodeParsedInLogicMetadata=Cr.encodeParsedInLogicMetadata;exports.getNetworkName=yr.getNetworkName;exports.isValidUrl=hr.isValidUrl;exports.getHinkalApprovals=kr.getHinkalApprovals;exports.getAuctionTime=f.getAuctionTime;exports.getCurrentAuctionIntervalStartUTC=f.getCurrentAuctionIntervalStartUTC;exports.getLinearPrice=f.getLinearPrice;exports.parseAuctionTime=f.parseAuctionTime;exports.postToOffscreen=Or.postToOffscreen;exports.getSignatureHeader=Dr.getSignatureHeader;exports.calculateDollarValue=_.calculateDollarValue;exports.ethToWei=_.ethToWei;exports.getAmountInToken=_.getAmountInToken;exports.getAmountInWei=_.getAmountInWei;exports.getAmountInWeiOrZero=_.getAmountInWeiOrZero;exports.getAmountWithPrecision=_.getAmountWithPrecision;exports.getAmountWithPrecisionOrZero=_.getAmountWithPrecisionOrZero;exports.randomBigInt=_.randomBigInt;exports.toBigIntWithDecimals=_.toBigIntWithDecimals;exports.attemptGetInputUtxosRemotely=x.attemptGetInputUtxosRemotely;exports.getInputUtxoAndBalance=x.getInputUtxoAndBalance;exports.getInputUtxoAndBalancePerToken=x.getInputUtxoAndBalancePerToken;exports.getInputUtxosRemotely=x.getInputUtxosRemotely;exports.addPaddingToUtxos=De.addPaddingToUtxos;exports.getShieldedBalance=De.getShieldedBalance;exports.getDepositEvents=Ne.getDepositEvents;exports.retrieveEvents=Ne.retrieveEvents;exports.balanceChangedHandler=Nr.balanceChangedHandler;exports.balanceChangedCustomHandler=Ur.balanceChangedCustomHandler;exports.getApprovedBalance=H.getApprovedBalance;exports.getApprovedUtxos=H.getApprovedUtxos;exports.getApprovedUtxosForToken=H.getApprovedUtxosForToken;exports.getMyApprovalAmountForInteraction=H.getMyApprovalAmountForInteraction;exports.getTransactionLogEvents=Lr.getTransactionLogEvents;exports.getUniswapFee=V.getUniswapFee;exports.getUniswapPrice=V.getUniswapPrice;exports.getUniswapPriceHelper=V.getUniswapPriceHelper;exports.searchPoolAndFee=V.searchPoolAndFee;exports.getOdosPrice=qr.getOdosPrice;exports.getOneInchPrice=vr.getOneInchPrice;exports.getLifiPrice=Br.getLifiPrice;exports.runContractFunction=Mr.runContractFunction;exports.getTokenHolder=br.getTokenHolder;exports.decodeMessage=$.decodeMessage;exports.getDecodedMessage=$.getDecodedMessage;exports.getPermitInfo=$.getPermitInfo;exports.constructZkProof=Fr.constructZkProof;exports.constructEmporiumProof=fr.constructEmporiumProof;exports.buildInNullifiers=c.buildInNullifiers;exports.buildOutCommitments=c.buildOutCommitments;exports.calcAccessTokenSiblingsAndSides=c.calcAccessTokenSiblingsAndSides;exports.calcAmountChanges=c.calcAmountChanges;exports.calcCommitmentsSiblingAndSides=c.calcCommitmentsSiblingAndSides;exports.calcEncryptedOutputs=c.calcEncryptedOutputs;exports.calcPublicSignalCount=c.calcPublicSignalCount;exports.calcStealthAddressStructure=c.calcStealthAddressStructure;exports.createCallDataHash=c.createCallDataHash;exports.deserializeCircomData=c.deserializeCircomData;exports.getSlippageValues=c.getSlippageValues;exports.serializeCircomData=c.serializeCircomData;exports.generateZkProof=xr.generateZkProof;exports.calculateStakeNullifier=D.calculateStakeNullifier;exports.createStakeCommitment=D.createStakeCommitment;exports.decryptStake=D.decryptStake;exports.encodeHStakeMetadata=D.encodeHStakeMetadata;exports.encryptStake=D.encryptStake;exports.checkEOAWithDelegation=l.checkEOAWithDelegation;exports.createApproveEmporiumOp=l.createApproveEmporiumOp;exports.createTransaferEmporiumOpsBatch=l.createTransaferEmporiumOpsBatch;exports.createTransferToEmporiumOp=l.createTransferToEmporiumOp;exports.emporiumOp=l.emporiumOp;exports.encodeEmporiumMetadata=l.encodeEmporiumMetadata;exports.generateFundAndApproveOps=l.generateFundAndApproveOps;exports.generateFundApproveAndTransactOps=l.generateFundApproveAndTransactOps;exports.getAuthorizationDataIfNeeded=l.getAuthorizationDataIfNeeded;exports.modifyDataForProxy=l.modifyDataForProxy;exports.modifyDataForProxyWithPrivateKey=l.modifyDataForProxyWithPrivateKey;exports.recoverAuthorizationData=l.recoverAuthorizationData;exports.OpType=Ue.OpType;exports.produceOp=Ue.produceOp;exports.createSwapToEmporiumOpForUniswap=w.createSwapToEmporiumOpForUniswap;exports.createSwapToEmporiumOpFromData=w.createSwapToEmporiumOpFromData;exports.createSwapToEmporiumOps=w.createSwapToEmporiumOps;exports.nullifyApprovalBeforeSwap=w.nullifyApprovalBeforeSwap;exports.RevokeType=Hr.RevokeType;exports.defaultHookData=W.defaultHookData;exports.defaultHookDataArray=W.defaultHookDataArray;exports.defaultStealthAddressStructure=W.defaultStealthAddressStructure;exports.emptyStealthAddressStructure=W.emptyStealthAddressStructure;exports.ContractType=Vr.ContractType;exports.ExternalActionId=wr.ExternalActionId;exports.EventType=R.EventType;exports.HinkalLogicAction=R.HinkalLogicAction;exports.HinkalStakeAction=R.HinkalStakeAction;exports.INTERACTION=R.INTERACTION;exports.IntegrationProvider=R.IntegrationProvider;exports.UserProgress=R.UserProgress;exports.defaultFeeStructure=R.defaultFeeStructure;exports.defaultHinkalLogicArgs=R.defaultHinkalLogicArgs;exports.defaultUseApprovalUTXOData=R.defaultUseApprovalUTXOData;exports.KycVerificationResult=N.KycVerificationResult;exports.KycVerificationStatus=N.KycVerificationStatus;exports.Passports=N.Passports;exports.VERIFICATION_TYPE=N.VERIFICATION_TYPE;exports.VerificationTypes=N.VerificationTypes;exports.ApprovalType=Wr.ApprovalType;exports.SlippageType=Gr.SlippageType;exports.TransactionAction=ee.TransactionAction;exports.TransactionStatus=ee.TransactionStatus;exports.emptyDecodedTx=ee.emptyDecodedTx;exports.OldPointType=Le.OldPointType;exports.RafflePrizeType=Le.RafflePrizeType;exports.HinkalStakeMode=Yr.HinkalStakeMode;exports.AdminTransactionType=Kr.AdminTransactionType;exports.ActivityStatus=U.ActivityStatus;exports.ActivityTypes=U.ActivityTypes;exports.DexProviders=U.DexProviders;exports.IntegrationProviderNames=U.IntegrationProviderNames;exports.TokenChangeType=U.TokenChangeType;exports.SandboxRequestType=Xr.SandboxRequestType;exports.PrivateBalanceUpdateType=zr.PrivateBalanceUpdateType;exports.StorageKeys=Zr.StorageKeys;exports.TOKEN_PRICE_STATUS=jr.TOKEN_PRICE_STATUS;exports.AchievementTiers=G.AchievementTiers;exports.BrotherhoodTaskTypes=G.BrotherhoodTaskTypes;exports.TaskCategory=G.TaskCategory;exports.TaskTypes=G.TaskTypes;exports.MemberStatus=qe.MemberStatus;exports.Rank=qe.Rank;exports.PointsType=ve.PointsType;exports.TradingType=ve.TradingType;exports.GetCallsStatusCode=Jr.GetCallsStatusCode;exports.MysteryBoxItemFrequency=te.MysteryBoxItemFrequency;exports.MysteryBoxItemRewardType=te.MysteryBoxItemRewardType;exports.MysteryBoxRewardStatus=te.MysteryBoxRewardStatus;exports.MerchOrderStatus=Qr.MerchOrderStatus;exports.HttpMethod=$r.HttpMethod;exports.ConfirmationRequestType=eo.ConfirmationRequestType;exports.MessagesFromOffscreen=to.MessagesFromOffscreen;exports.resetStateMutex=ro.resetStateMutex;exports.WorkerFactory=oo.WorkerFactory;exports.WorkerVariant=Be.WorkerVariant;exports.workerNodeURL=Be.workerNodeURL;exports.WorkerProxy=ao.WorkerProxy;exports.addWorkerErrorHandler=so.addWorkerErrorHandler;exports.getERC20Registry=Me.getERC20Registry;exports.getFixedRegistry=Me.getFixedRegistry;exports.PopularTokenSymbols=no.PopularTokenSymbols;exports.AmTokenABI=io.abi;exports.USDCABI=co.abi;exports.daiABI=lo.abi;exports.USDRABI=uo.abi;exports.USDR3CRVABI=So.abi;exports.USDTABI=Ao.abi;exports.WETHABI=To.abi;exports.BUSDABI=po.abi;exports.sanctionsListABI=Eo.abi;exports.optimismGasPriceOracleAbi=go;exports.NodeInterfaceABI=_o;
|
package/index.d.ts
CHANGED
|
@@ -7,3 +7,8 @@ export * from './externalABIs';
|
|
|
7
7
|
export * from './functions';
|
|
8
8
|
export * from './types';
|
|
9
9
|
export * from './mutexes';
|
|
10
|
+
export * from './webworker/workerFactory';
|
|
11
|
+
export * from './webworker/worker.registry';
|
|
12
|
+
export * from './webworker/worker.types';
|
|
13
|
+
export * from './webworker/workerProxy';
|
|
14
|
+
export * from './webworker/workerErrorHandler';
|
package/index.mjs
CHANGED
|
@@ -9,20 +9,20 @@ import { getIdleRelay as P } from "./API/relayCalls.mjs";
|
|
|
9
9
|
import { API as N } from "./API/API.mjs";
|
|
10
10
|
import { getRelayerURL as h } from "./API/getRelayerURL.mjs";
|
|
11
11
|
import { getPublicWalletBalance as y } from "./API/duneAPI.mjs";
|
|
12
|
-
import { WALLET_API as L, rpcGetStorageChanges as U, rpcSimulateBundle as B, rpcSimulateTransaction as v, simulateTx as M, tenderlyRpcLinks as
|
|
12
|
+
import { WALLET_API as L, rpcGetStorageChanges as U, rpcSimulateBundle as B, rpcSimulateTransaction as v, simulateTx as M, tenderlyRpcLinks as F } from "./API/tenderly.api.mjs";
|
|
13
13
|
import { tokensInfoCall as V } from "./API/token-calls.mjs";
|
|
14
|
-
import { callLifiAPI as
|
|
15
|
-
import { LifiStatus as
|
|
14
|
+
import { callLifiAPI as W } from "./API/callLifiAPI.mjs";
|
|
15
|
+
import { LifiStatus as Y, getLifiStatus as w } from "./API/getLifiStatus.mjs";
|
|
16
16
|
import { generateAumPoints as X, generateTradingPoints as z } from "./API/generate-trading-points.mjs";
|
|
17
17
|
import { createBrotherhood as Z, editBrotherhood as j, getBrotherhood as J, getBrotherhoodUsers as Q, getCurrentUserBrotherhood as $, getCurrentUserBrotherhoodUsers as ee, getPublicBrotherhoods as re, joinBrotherhood as oe, leaveBrotherhood as te } from "./API/brotherhoodCalls.mjs";
|
|
18
18
|
import { getHinkalLandingURL as ie, getRewardsURL as se, getWalletOnboardingURL as ne } from "./API/getWebsiteURL.mjs";
|
|
19
19
|
import { claimMerchItem as me, createOrUpdateMerchAddress as ce, getCurrentAuctionsInfo as fe, getCurrentDayBoxPrizeCounts as le, getMerchOrders as xe, getMysteryBoxesHistory as Ae, getServerUtc as Se, openMysteryBox as Te } from "./API/mysteryBoxesCalls.mjs";
|
|
20
20
|
import { IMAGE_PATHS as de } from "./constants/assets.constants.mjs";
|
|
21
21
|
import { arbMainnetRegistry as Re, arbMainnetRegistryFixed as Ie, arcTestnetRegistry as ue, avalancheRegistry as _e, avalancheRegistryFixed as Pe, baseRegistry as Ce, baseRegistryFixed as Ne, bnbMainnetRegistry as Oe, bnbMainnetRegistryFixed as he, ethMainnetRegistry as De, ethMainnetRegistryFixed as ye, localhostRegistry as ke, optimismRegistry as Le, optimismRegistryFixed as Ue, polygonRegistry as Be, polygonRegistryFixed as ve } from "./constants/token-data/index.mjs";
|
|
22
|
-
import { default as
|
|
22
|
+
import { default as Fe } from "./constants/deploy-data/deploy-data-bnbMainnet.json.mjs";
|
|
23
23
|
import { default as Ve } from "./constants/deploy-data/deploy-data-arbMainnet.json.mjs";
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
24
|
+
import { default as We } from "./constants/deploy-data/deploy-data-ethMainnet.json.mjs";
|
|
25
|
+
import { default as Ye } from "./constants/deploy-data/deploy-data-optimism.json.mjs";
|
|
26
26
|
import { default as Ke } from "./constants/deploy-data/deploy-data-polygon.json.mjs";
|
|
27
27
|
import { default as ze } from "./constants/deploy-data/deploy-data-avalanche.json.mjs";
|
|
28
28
|
import { default as Ze } from "./constants/deploy-data/deploy-data-base.json.mjs";
|
|
@@ -32,10 +32,10 @@ import { ALCHEMY_API_KEY as rr, ALCHEMY_TEST_KEY as or, EthereumNetworkType as t
|
|
|
32
32
|
import { NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS as Ar, defaultFeeToken as Sr } from "./constants/fees.constants.mjs";
|
|
33
33
|
import { contractMetadataMapping as Er, getHinkalParameters as dr, uniswapV2PoolData as gr, uniswapV3FactoryData as Rr, uniswapV3PoolData as Ir, uniswapV3QuoterData as ur } from "./constants/contracts.constants.mjs";
|
|
34
34
|
import { AIPRISE_KYB_TEMPLATE_ID_PROD as Pr, AIPRISE_KYC_TEMPLATE_ID_PROD as Cr, RECLAIM_MESSAGE_TO_SIGN as Nr, ReclaimPassports as Or, StandardPassports as hr, SupportedPassports as Dr, aipriseBaseOnboardingProductionUrl as yr, aipriseBaseOnboardingSandboxUrl as kr, supportedPassportLinks as Lr } from "./constants/kyc.constants.mjs";
|
|
35
|
-
import { API_CONFIG as Br, DATA_SERVER_CONFIG as vr, DATA_SERVER_URL_ENDPOINT as Mr, DATA_SERVER_URL_LOCAL as
|
|
35
|
+
import { API_CONFIG as Br, DATA_SERVER_CONFIG as vr, DATA_SERVER_URL_ENDPOINT as Mr, DATA_SERVER_URL_LOCAL as Fr, PLAYGROUND_RELAYER_URLS as br, PLAYGROUND_SERVER_URLS as Vr, PLAYGROUND_SNAPSHOT_SERVER_URLS as Hr, PLAYGROUND_URL as Wr, PRODUCTION_RELAYER_URLS as Gr, PRODUCTION_SERVER_URLS as Yr, PRODUCTION_SNAPSHOT_SERVER_URLS as wr, PRODUCTION_URL as Kr, RELAYER_CONFIG as Xr, STAGING_RELAYER_URLS as zr, STAGING_SERVER_URLS as qr, STAGING_SNAPSHOT_SERVER_URLS as Zr, STAGING_URL as jr, VERIFICATION_ROUTES as Jr, WALLET_TASK_VERIFICATION_TYPES as Qr } from "./constants/server.constants.mjs";
|
|
36
36
|
import { DEPLOYMENT_MODE as eo, deploymentMode as ro, isDevelopment as oo, isExtension as to, isNode as ao, isNotClientProduction as io, isNotProduction as so, isPlayground as no, isSandbox as po, isStaging as mo, isWebpack as co } from "./constants/vite.constants.mjs";
|
|
37
|
-
import { ARC_TESTNET_USDC_ADDRESS as lo, AssetChangeType as xo, CIRCOM_MERKLE_LENGTH as Ao, CIRCOM_P as So, CIRCOM_P_HALF as To, EIP1271_FAILURE as Eo, EIP1271_SUCCESS as go, HINKAL_PRIVATE_SEND_VARIABLE_RATE as Ro, HINKAL_SWAP_VARIABLE_RATE as Io, MERKLE_LEVELS as uo, NFT_1155_TRANSACTION_TYPE as _o, NFT_721_TRANSACTION_TYPE as Po, NFT_TRANSACTION_TYPES as Co, RELAYERS_ARRAY as No, RELAYER_ADDRESS1 as Oo, RELAYER_ADDRESS2 as ho, RELAYER_ADDRESS3 as Do, TOKEN_VALUE_UNLIMITED_THRESHOLD as yo, TokenType as ko, defaultSignatureData as Lo, ethVolatileAddress as Uo, hinkalSimulationAddress as Bo, oneInchZeroAddress as vo, ownerPublicKey as Mo, permitSignatureValidFor as
|
|
38
|
-
import { COINGECKO_API_KEY as
|
|
37
|
+
import { ARC_TESTNET_USDC_ADDRESS as lo, AssetChangeType as xo, CIRCOM_MERKLE_LENGTH as Ao, CIRCOM_P as So, CIRCOM_P_HALF as To, EIP1271_FAILURE as Eo, EIP1271_SUCCESS as go, HINKAL_PRIVATE_SEND_VARIABLE_RATE as Ro, HINKAL_SWAP_VARIABLE_RATE as Io, MERKLE_LEVELS as uo, NFT_1155_TRANSACTION_TYPE as _o, NFT_721_TRANSACTION_TYPE as Po, NFT_TRANSACTION_TYPES as Co, RELAYERS_ARRAY as No, RELAYER_ADDRESS1 as Oo, RELAYER_ADDRESS2 as ho, RELAYER_ADDRESS3 as Do, TOKEN_VALUE_UNLIMITED_THRESHOLD as yo, TokenType as ko, defaultSignatureData as Lo, ethVolatileAddress as Uo, hinkalSimulationAddress as Bo, oneInchZeroAddress as vo, ownerPublicKey as Mo, permitSignatureValidFor as Fo, signaturePhrase as bo, zeroAddress as Vo } from "./constants/protocol.constants.mjs";
|
|
38
|
+
import { COINGECKO_API_KEY as Wo, CoinGeckoChainLabels as Go, coingeckoPriceUrl as Yo, coingeckoPriceUrl2 as wo, coingeckoTokenListUrl as Ko, getCoinByAddress as Xo, getCoinById as zo, getCoingeckoIdForNativeTokens as qo, getCoingeckoPlatform as Zo, proCoingeckoUrl as jo, proHeader as Jo, searchBySymbol as Qo } from "./constants/coingecko.constants.mjs";
|
|
39
39
|
import { NETWORKS as et, getGasStationUrl as rt } from "./constants/backend.constants.mjs";
|
|
40
40
|
import { ACCESS_TOKEN_MINTING_POINTS as tt, ACCESS_TOKEN_RECLAIM_POINTS as at, CERTIFICATION_DISABLE_WEEK as it, REWARDS_ENCRYPTION_PASSWORD as st, REWARDS_MESSAGE_TO_SIGN as nt, REWARD_RECEIVABLE_TOKEN_SYMBOLS as pt, boostAmounts as mt, lpLink as ct, lpProgramStartWeek as ft, pointsLink as lt, raffleProgramStartWeek as xt, referralLink as At } from "./constants/rewards.constants.mjs";
|
|
41
41
|
import { blockReorgDepth as Tt } from "./constants/reorg-depths.constants.mjs";
|
|
@@ -43,9 +43,9 @@ import { mediaUrls as dt } from "./constants/mediaUrls.constants.mjs";
|
|
|
43
43
|
import { allowanceHolder as Rt, pancaceSwapPermit2Address as It, permit2Address as ut, permit2Addresses as _t, uniswap2Manager as Pt, uniswap3Manager as Ct, uniswapApprovalExtraCallData as Nt, uniswapWorkaroundAddresses as Ot } from "./constants/permit2.constants.mjs";
|
|
44
44
|
import { HETH_ERC20_TOKEN_ADDRESS as Dt, NATIVE_TOKEN_WRAPPER_ADDRESSES as yt, SWAP_FEE_TAKER_ADDRESSES as kt, SWAP_ROUTER_ADDRESSES as Lt, WETH_ERC20_TOKEN_ADDRESS as Ut, WRAPPER_TOKEN_EXCHANGE_ADDRESSES as Bt } from "./constants/addresses.constants.mjs";
|
|
45
45
|
import { APPROVED_UTXO_CONVERSION_COUNT as Mt } from "./constants/conversion.constants.mjs";
|
|
46
|
-
import { TOKEN_LIMITS as
|
|
47
|
-
import { MAX_DISPLAY_DECIMALS as
|
|
48
|
-
import { BRIDGING_URLS as
|
|
46
|
+
import { TOKEN_LIMITS as bt, getTokensLimits as Vt } from "./constants/token.limits.constants.mjs";
|
|
47
|
+
import { MAX_DISPLAY_DECIMALS as Wt } from "./constants/balance.constants.mjs";
|
|
48
|
+
import { BRIDGING_URLS as Yt } from "./constants/bridging.constants.mjs";
|
|
49
49
|
import { UNSUPPORTED_WALLETS_WALLETCONNECT_NAMES as Kt, UNSUPPORTED_WALLET_IDS as Xt } from "./constants/wallet.constants.mjs";
|
|
50
50
|
import { presaleABI as qt, presaleContractInfoByChain as Zt } from "./constants/presale.constants.mjs";
|
|
51
51
|
import { LIFISCAN_URL as Jt } from "./constants/lifi.constants.mjs";
|
|
@@ -57,9 +57,9 @@ import { EVENTS_INITIAL_BLOCKS as _a } from "./constants/events.constants.mjs";
|
|
|
57
57
|
import { APPROVE_FUNCTION_SIGNATURE as Ca, NFT_APPROVE_FUNCTION_SIGNATURE as Na, NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE as Oa, PERMIT2_APPROVE_FUNCTION_SIGNATURE as ha, TRANSFER_FUNCTION_SIGNATURE as Da } from "./constants/function-signatures.constants.mjs";
|
|
58
58
|
import { poseidonFunction as ka, poseidonHash as La, poseidonHolder as Ua } from "./crypto/poseidon.mjs";
|
|
59
59
|
import { babyJubInstance as va, jubHolder as Ma } from "./crypto/babyJub.mjs";
|
|
60
|
-
import { preProcessing as
|
|
60
|
+
import { preProcessing as ba } from "./crypto/preProcessing.mjs";
|
|
61
61
|
import { ValueCache as Ha } from "./data-structures/ValueCache/ValueCache.mjs";
|
|
62
|
-
import { abiDecodeUtxo as
|
|
62
|
+
import { abiDecodeUtxo as Ga, checkUtxoSignature as Ya, decodeUtxo as wa, decodeUtxoConstructorArgs as Ka } from "./data-structures/crypto-keys/decodeUTXO.mjs";
|
|
63
63
|
import { decryptUtxo as za, decryptUtxoConstructorArgs as qa, encryptUtxo as Za } from "./data-structures/crypto-keys/encryptDecryptUtxo.mjs";
|
|
64
64
|
import { EncryptionKeyPairDefaultValue as Ja, UserKeys as Qa, stealthAddressCacheDevice as $a, stealthPairCacheDevice as ei } from "./data-structures/crypto-keys/keys.mjs";
|
|
65
65
|
import { getCircomSign as oi, isCircomNegative as ti } from "./data-structures/crypto-keys/keyUtils.mjs";
|
|
@@ -79,9 +79,9 @@ import { AbstractCommitmentsSnapshotService as yi } from "./data-structures/even
|
|
|
79
79
|
import { AbstractApprovalsSnapshotService as Li } from "./data-structures/event-service/AbstractApprovalsSnapshotService.mjs";
|
|
80
80
|
import { AbstractNullifierSnapshotService as Bi } from "./data-structures/event-service/AbstractNullifierSnapshotService.mjs";
|
|
81
81
|
import { AbstractSnapshotService as Mi } from "./data-structures/event-service/AbstractSnapshotService.mjs";
|
|
82
|
-
import { AbstractEventService as
|
|
82
|
+
import { AbstractEventService as bi } from "./data-structures/event-service/AbstractEventService.mjs";
|
|
83
83
|
import { BlockchainEventEmitter as Hi } from "./data-structures/event-service/BlockchainEventEmitter.mjs";
|
|
84
|
-
import { Utxo as
|
|
84
|
+
import { Utxo as Gi } from "./data-structures/utxo/Utxo.mjs";
|
|
85
85
|
import { customTokenRegistry as wi } from "./data-structures/custom-token-registry/CustomTokenRegistry.mjs";
|
|
86
86
|
import { TokenChecker as Xi } from "./data-structures/token-price-fetcher/TokenChecker.mjs";
|
|
87
87
|
import { TransactionType as qi } from "./data-structures/transactions-manager/history/history.types.mjs";
|
|
@@ -103,10 +103,10 @@ import { SnapshotFetcherService as Os } from "./data-structures/snapshot/Snapsho
|
|
|
103
103
|
import { EventsPublicApprovalsDB as Ds, eventsPublicApprovalsDB as ys } from "./data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs";
|
|
104
104
|
import { ErrorWithAmount as Ls } from "./error-handling/customErrors/ErrorWithAmount.mjs";
|
|
105
105
|
import { FeeOverTransactionValueError as Bs } from "./error-handling/customErrors/FeeOverTransactionValueError.mjs";
|
|
106
|
-
import { getGenericFeeOverTransactionValueErrorMessage as Ms, rethrowKnownGasErrorIfPossible as
|
|
106
|
+
import { getGenericFeeOverTransactionValueErrorMessage as Ms, rethrowKnownGasErrorIfPossible as Fs } from "./error-handling/customErrors/customErrors.helpers.mjs";
|
|
107
107
|
import { SimulationFailureError as Vs } from "./error-handling/customErrors/SimulationFailureError.mjs";
|
|
108
|
-
import { ErrorWithRelayerTransaction as
|
|
109
|
-
import { UserFriendlyErrorCodes as
|
|
108
|
+
import { ErrorWithRelayerTransaction as Ws } from "./error-handling/customErrors/ErrorWithTx.mjs";
|
|
109
|
+
import { UserFriendlyErrorCodes as Ys, gasErrorCodes as ws, insufficientResourcesErrorCodes as Ks, transactionErrorCodes as Xs, walletConnectErrorCodes as zs } from "./error-handling/error-codes.constants.mjs";
|
|
110
110
|
import { extractMessage as Zs, getErrorMessage as js, getErrorMessageFromSandboxRequest as Js } from "./error-handling/get-error.message.mjs";
|
|
111
111
|
import { checkErrorForSnapshotRestore as $s } from "./error-handling/handleErrorRestore.mjs";
|
|
112
112
|
import { logError as rn } from "./error-handling/logError.mjs";
|
|
@@ -116,7 +116,7 @@ import { BabABI as pn, ERC1155ABI as mn, ERC20ABI as cn, ERC721ABI as fn, GalxeA
|
|
|
116
116
|
import { checkHinkalAccessToken as dn, mintAccessToken as gn } from "./functions/web3/functionCalls/accessTokenCalls.mjs";
|
|
117
117
|
import { openPassportWindow as In } from "./functions/kyc/passportHelper.mjs";
|
|
118
118
|
import { openDefaultPassportWindow as _n } from "./functions/kyc/openDefaultPassportWindow.mjs";
|
|
119
|
-
import { absBigInt as Cn, beepsToPercentage as Nn, bigintApplySugar as On, bigintMax as hn, calculateAmountUsingBeeps as Dn, calculateBigIntSum as yn, calculateSum as kn, countTotalAmountInUtxos as Ln, fixDecimalsAmount as Un, getValueFirstNDigit as Bn, maxBigInt as vn, minBigInt as Mn, toBigInt as
|
|
119
|
+
import { absBigInt as Cn, beepsToPercentage as Nn, bigintApplySugar as On, bigintMax as hn, calculateAmountUsingBeeps as Dn, calculateBigIntSum as yn, calculateSum as kn, countTotalAmountInUtxos as Ln, fixDecimalsAmount as Un, getValueFirstNDigit as Bn, maxBigInt as vn, minBigInt as Mn, toBigInt as Fn, toBigIntOrUndefined as bn, toCommaSeparatedNumberString as Vn, toInt as Hn, toNumberOrUndefined as Wn, trimLeadingZeros as Gn, truncateToDecimalPlaces as Yn } from "./functions/utils/amounts.utils.mjs";
|
|
120
120
|
import { getFilePath as Kn, getHinkalCache as Xn, getInHinkalAddressesCache as zn, getInHinkalAddressesFilePath as qn, loadTxsCache as Zn, resetCache as jn, resetInHinkalAddressesCache as Jn, saveTxsCache as Qn, setHinkalCache as $n, setInHinkalAddressesCache as ep } from "./functions/utils/cacheFunctions.mjs";
|
|
121
121
|
import { createProvider as op, createTorRpcProvider as tp } from "./functions/utils/create-provider.mjs";
|
|
122
122
|
import { getExternalActionIdFromNumber as ip, getExternalActionIdHash as sp } from "./functions/utils/external-action.utils.mjs";
|
|
@@ -129,9 +129,9 @@ import { outputUtxoProcessing as Dp } from "./functions/pre-transaction/outputUt
|
|
|
129
129
|
import { processGasEstimates as kp } from "./functions/pre-transaction/process-gas-estimates.mjs";
|
|
130
130
|
import { getFlatFees as Up } from "./functions/pre-transaction/getFlatFees.mjs";
|
|
131
131
|
import { outputApprovalDataProcessing as vp, outputApprovalDataProcessingForHinkalApprove as Mp } from "./functions/pre-transaction/outputApprovalDataProcessing.mjs";
|
|
132
|
-
import { modifyVolatileTokenAmountChanges as
|
|
132
|
+
import { modifyVolatileTokenAmountChanges as bp } from "./functions/pre-transaction/getVolatileTransferAmount.mjs";
|
|
133
133
|
import { constructAdminData as Hp } from "./functions/pre-transaction/constructAdminData.mjs";
|
|
134
|
-
import { getNetworkObject as
|
|
134
|
+
import { getNetworkObject as Gp, getNetworkType as Yp } from "./functions/utils/evmNetworkFunctions.mjs";
|
|
135
135
|
import { browserSupported as Kp, walletSupported as Xp } from "./functions/utils/userAgent.mjs";
|
|
136
136
|
import { decodeTxInput as qp, deserializeDecodedTxs as Zp, serializeDecodedTxs as jp } from "./functions/utils/getDataFromTransaction.mjs";
|
|
137
137
|
import { reloadPage as Qp } from "./functions/utils/reloadPage.mjs";
|
|
@@ -142,9 +142,9 @@ import { formatDate as Tm, getCurrentDayStart as Em, getCurrentTimeInSeconds as
|
|
|
142
142
|
import { createCacheDevice as Dm } from "./functions/utils/cacheDevice.utils.mjs";
|
|
143
143
|
import { debounce as km, wait as Lm } from "./functions/utils/process.utils.mjs";
|
|
144
144
|
import { getBlockExplorerUrl as Bm } from "./functions/utils/getBlockExplorerUrl.mjs";
|
|
145
|
-
import { isPermit2Tx as Mm, uniswapWorkaround as
|
|
145
|
+
import { isPermit2Tx as Mm, uniswapWorkaround as Fm } from "./functions/utils/involves-permit2-op.mjs";
|
|
146
146
|
import { checkChainOrAddressNotUpdated as Vm } from "./functions/utils/upToDateState.mjs";
|
|
147
|
-
import { CustomJSONParse as
|
|
147
|
+
import { CustomJSONParse as Wm, CustomJSONStringify as Gm } from "./functions/utils/serialize.utils.mjs";
|
|
148
148
|
import { isUseApprovalDataEmpty as wm, padUseApprovalUtxoData as Km } from "./functions/utils/processUseApprovalUtxoData.mjs";
|
|
149
149
|
import { convertEmporiumOpToCallInfo as zm } from "./functions/utils/convertEmporiumOpToCallInfo.mjs";
|
|
150
150
|
import { getExtendedRecipientInfoFromUserKeys as Zm, getRecipientInfoFromUserKeys as jm } from "./functions/utils/getRecipientInfoFromUserKeys.mjs";
|
|
@@ -162,9 +162,9 @@ import { encodeParsedInLogicMetadata as Oc } from "./functions/utils/inLogicMeta
|
|
|
162
162
|
import { getNetworkName as Dc } from "./functions/utils/networks.utils.mjs";
|
|
163
163
|
import { isValidUrl as kc } from "./functions/utils/is-valid-url.mjs";
|
|
164
164
|
import { getHinkalApprovals as Uc } from "./functions/utils/get-hinkal-approvals.mjs";
|
|
165
|
-
import { getAuctionTime as vc, getCurrentAuctionIntervalStartUTC as Mc, getLinearPrice as
|
|
165
|
+
import { getAuctionTime as vc, getCurrentAuctionIntervalStartUTC as Mc, getLinearPrice as Fc, parseAuctionTime as bc } from "./functions/utils/mystery-box-auction.utils.mjs";
|
|
166
166
|
import { postToOffscreen as Hc } from "./functions/utils/postToOffscreen.mjs";
|
|
167
|
-
import { getSignatureHeader as
|
|
167
|
+
import { getSignatureHeader as Gc } from "./functions/utils/get-signature-header.mjs";
|
|
168
168
|
import { calculateDollarValue as wc, ethToWei as Kc, getAmountInToken as Xc, getAmountInWei as zc, getAmountInWeiOrZero as qc, getAmountWithPrecision as Zc, getAmountWithPrecisionOrZero as jc, randomBigInt as Jc, toBigIntWithDecimals as Qc } from "./functions/web3/etherFunctions.mjs";
|
|
169
169
|
import { attemptGetInputUtxosRemotely as ef, getInputUtxoAndBalance as rf, getInputUtxoAndBalancePerToken as of, getInputUtxosRemotely as tf } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
|
|
170
170
|
import { addPaddingToUtxos as sf, getShieldedBalance as nf } from "./functions/web3/events/getShieldedBalance.mjs";
|
|
@@ -179,8 +179,8 @@ import { getOneInchPrice as yf } from "./functions/web3/oneInchAPI.mjs";
|
|
|
179
179
|
import { getLifiPrice as Lf } from "./functions/web3/lifiAPI.mjs";
|
|
180
180
|
import { runContractFunction as Bf } from "./functions/web3/runContractFunction.mjs";
|
|
181
181
|
import { getTokenHolder as Mf } from "./functions/web3/getTokenHolder.mjs";
|
|
182
|
-
import { decodeMessage as
|
|
183
|
-
import { constructZkProof as
|
|
182
|
+
import { decodeMessage as bf, getDecodedMessage as Vf, getPermitInfo as Hf } from "./functions/web3/EIP-712.mjs";
|
|
183
|
+
import { constructZkProof as Gf } from "./functions/snarkjs/constructGeneralZkProof.mjs";
|
|
184
184
|
import { constructEmporiumProof as wf } from "./functions/snarkjs/constructEmporiumProof.mjs";
|
|
185
185
|
import { buildInNullifiers as Xf, buildOutCommitments as zf, calcAccessTokenSiblingsAndSides as qf, calcAmountChanges as Zf, calcCommitmentsSiblingAndSides as jf, calcEncryptedOutputs as Jf, calcPublicSignalCount as Qf, calcStealthAddressStructure as $f, createCallDataHash as el, deserializeCircomData as rl, getSlippageValues as ol, serializeCircomData as tl } from "./functions/snarkjs/common.snarkjs.mjs";
|
|
186
186
|
import { generateZkProof as il } from "./functions/snarkjs/generateZkProof.mjs";
|
|
@@ -189,9 +189,9 @@ import { checkEOAWithDelegation as xl, createApproveEmporiumOp as Al, createTran
|
|
|
189
189
|
import { OpType as Nl, produceOp as Ol } from "./functions/private-wallet/opProducer.mjs";
|
|
190
190
|
import { createSwapToEmporiumOpForUniswap as Dl, createSwapToEmporiumOpFromData as yl, createSwapToEmporiumOps as kl, nullifyApprovalBeforeSwap as Ll } from "./functions/private-wallet/emporium.swap.helpers.mjs";
|
|
191
191
|
import { RevokeType as Bl } from "./types/approvals.types.mjs";
|
|
192
|
-
import { defaultHookData as Ml, defaultHookDataArray as
|
|
193
|
-
import { ContractType as
|
|
194
|
-
import { ExternalActionId as
|
|
192
|
+
import { defaultHookData as Ml, defaultHookDataArray as Fl, defaultStealthAddressStructure as bl, emptyStealthAddressStructure as Vl } from "./types/circom-data.types.mjs";
|
|
193
|
+
import { ContractType as Wl } from "./types/ethereum-network.types.mjs";
|
|
194
|
+
import { ExternalActionId as Yl } from "./types/external-action.types.mjs";
|
|
195
195
|
import { EventType as Kl, HinkalLogicAction as Xl, HinkalStakeAction as zl, INTERACTION as ql, IntegrationProvider as Zl, UserProgress as jl, defaultFeeStructure as Jl, defaultHinkalLogicArgs as Ql, defaultUseApprovalUTXOData as $l } from "./types/hinkal.types.mjs";
|
|
196
196
|
import { KycVerificationResult as rx, KycVerificationStatus as ox, Passports as tx, VERIFICATION_TYPE as ax, VerificationTypes as ix } from "./types/kyc.types.mjs";
|
|
197
197
|
import { ApprovalType as nx } from "./types/token.types.mjs";
|
|
@@ -205,8 +205,8 @@ import { SandboxRequestType as hx } from "./types/sandbox.types.mjs";
|
|
|
205
205
|
import { PrivateBalanceUpdateType as yx } from "./types/balances.types.mjs";
|
|
206
206
|
import { StorageKeys as Lx } from "./types/cache.types.mjs";
|
|
207
207
|
import { TOKEN_PRICE_STATUS as Bx } from "./types/token-prices.types.mjs";
|
|
208
|
-
import { AchievementTiers as Mx, BrotherhoodTaskTypes as
|
|
209
|
-
import { MemberStatus as
|
|
208
|
+
import { AchievementTiers as Mx, BrotherhoodTaskTypes as Fx, TaskCategory as bx, TaskTypes as Vx } from "./types/new-rewards.type.mjs";
|
|
209
|
+
import { MemberStatus as Wx, Rank as Gx } from "./types/RewardUserEnums.mjs";
|
|
210
210
|
import { PointsType as wx, TradingType as Kx } from "./types/generatePoints.mjs";
|
|
211
211
|
import { GetCallsStatusCode as zx } from "./types/eip5792.types.mjs";
|
|
212
212
|
import { MysteryBoxItemFrequency as Zx, MysteryBoxItemRewardType as jx, MysteryBoxRewardStatus as Jx } from "./types/mystery-boxes.types.mjs";
|
|
@@ -215,19 +215,23 @@ import { HttpMethod as rA } from "./types/routing.types.mjs";
|
|
|
215
215
|
import { ConfirmationRequestType as tA } from "./types/confirmation-request.types.mjs";
|
|
216
216
|
import { MessagesFromOffscreen as iA } from "./types/offscreen.types.mjs";
|
|
217
217
|
import { resetStateMutex as nA } from "./mutexes/mutex.mjs";
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import { abi as
|
|
225
|
-
import { abi as
|
|
226
|
-
import { abi as
|
|
227
|
-
import { abi as
|
|
228
|
-
import { abi as
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
218
|
+
import { WorkerFactory as mA } from "./webworker/workerFactory.mjs";
|
|
219
|
+
import { WorkerVariant as fA, workerNodeURL as lA } from "./webworker/worker.registry.mjs";
|
|
220
|
+
import { WorkerProxy as AA } from "./webworker/workerProxy.mjs";
|
|
221
|
+
import { addWorkerErrorHandler as TA } from "./webworker/workerErrorHandler.mjs";
|
|
222
|
+
import { getERC20Registry as dA, getFixedRegistry as gA } from "./constants/token-data/ERC20Registry.mjs";
|
|
223
|
+
import { PopularTokenSymbols as IA } from "./constants/token-data/popularTokens.constants.mjs";
|
|
224
|
+
import { abi as _A } from "./externalABIs/amToken.mjs";
|
|
225
|
+
import { abi as CA } from "./externalABIs/USDC.mjs";
|
|
226
|
+
import { abi as OA } from "./externalABIs/DAI.mjs";
|
|
227
|
+
import { abi as DA } from "./externalABIs/USDR.mjs";
|
|
228
|
+
import { abi as kA } from "./externalABIs/USDR3CRV.mjs";
|
|
229
|
+
import { abi as UA } from "./externalABIs/USDT.mjs";
|
|
230
|
+
import { abi as vA } from "./externalABIs/WETH.mjs";
|
|
231
|
+
import { abi as FA } from "./externalABIs/BUSD.mjs";
|
|
232
|
+
import { abi as VA } from "./externalABIs/SanctionsList.mjs";
|
|
233
|
+
import { default as WA } from "./externalABIs/OptimismGasPriceOracle.json.mjs";
|
|
234
|
+
import { default as YA } from "./externalABIs/NodeInterfaceABI.json.mjs";
|
|
231
235
|
export {
|
|
232
236
|
tt as ACCESS_TOKEN_MINTING_POINTS,
|
|
233
237
|
at as ACCESS_TOKEN_RECLAIM_POINTS,
|
|
@@ -244,14 +248,14 @@ export {
|
|
|
244
248
|
hi as AbstractAccessTokenSnapshotService,
|
|
245
249
|
Li as AbstractApprovalsSnapshotService,
|
|
246
250
|
yi as AbstractCommitmentsSnapshotService,
|
|
247
|
-
|
|
251
|
+
bi as AbstractEventService,
|
|
248
252
|
Bi as AbstractNullifierSnapshotService,
|
|
249
253
|
Mi as AbstractSnapshotService,
|
|
250
254
|
Mx as AchievementTiers,
|
|
251
255
|
ux as ActivityStatus,
|
|
252
256
|
_x as ActivityTypes,
|
|
253
257
|
Rx as AdminTransactionType,
|
|
254
|
-
|
|
258
|
+
_A as AmTokenABI,
|
|
255
259
|
nx as ApprovalType,
|
|
256
260
|
us as ArcPublicTokensDB,
|
|
257
261
|
xo as AssetChangeType,
|
|
@@ -259,28 +263,28 @@ export {
|
|
|
259
263
|
oa as BOX_DAILY_CLAIM_LIMIT,
|
|
260
264
|
ta as BOX_ENDING_PRICES,
|
|
261
265
|
aa as BOX_STARTING_PRICES,
|
|
262
|
-
|
|
266
|
+
Yt as BRIDGING_URLS,
|
|
263
267
|
ia as BRONZE_MYSTERY_BOX_ITEMS,
|
|
264
268
|
Ta as BROTHERHOOD_TASKS,
|
|
265
|
-
|
|
269
|
+
FA as BUSDABI,
|
|
266
270
|
pn as BabABI,
|
|
267
271
|
Hi as BlockchainEventEmitter,
|
|
268
|
-
|
|
272
|
+
Fx as BrotherhoodTaskTypes,
|
|
269
273
|
it as CERTIFICATION_DISABLE_WEEK,
|
|
270
274
|
Ao as CIRCOM_MERKLE_LENGTH,
|
|
271
275
|
So as CIRCOM_P,
|
|
272
276
|
To as CIRCOM_P_HALF,
|
|
273
|
-
|
|
274
|
-
|
|
277
|
+
Wo as COINGECKO_API_KEY,
|
|
278
|
+
Go as CoinGeckoChainLabels,
|
|
275
279
|
tA as ConfirmationRequestType,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
280
|
+
Wl as ContractType,
|
|
281
|
+
Wm as CustomJSONParse,
|
|
282
|
+
Gm as CustomJSONStringify,
|
|
279
283
|
Ea as DAILY_TASKS,
|
|
280
284
|
vr as DATA_SERVER_CONFIG,
|
|
281
285
|
o as DATA_SERVER_URL,
|
|
282
286
|
Mr as DATA_SERVER_URL_ENDPOINT,
|
|
283
|
-
|
|
287
|
+
Fr as DATA_SERVER_URL_LOCAL,
|
|
284
288
|
eo as DEPLOYMENT_MODE,
|
|
285
289
|
Px as DexProviders,
|
|
286
290
|
Eo as EIP1271_FAILURE,
|
|
@@ -292,11 +296,11 @@ export {
|
|
|
292
296
|
Ja as EncryptionKeyPairDefaultValue,
|
|
293
297
|
tn as ErrorCategory,
|
|
294
298
|
Ls as ErrorWithAmount,
|
|
295
|
-
|
|
299
|
+
Ws as ErrorWithRelayerTransaction,
|
|
296
300
|
tr as EthereumNetworkType,
|
|
297
301
|
Kl as EventType,
|
|
298
302
|
Ds as EventsPublicApprovalsDB,
|
|
299
|
-
|
|
303
|
+
Yl as ExternalActionId,
|
|
300
304
|
Bs as FeeOverTransactionValueError,
|
|
301
305
|
Qi as FileCacheDevice,
|
|
302
306
|
sa as GOLD_MYSTERY_BOX_ITEMS,
|
|
@@ -318,15 +322,15 @@ export {
|
|
|
318
322
|
rx as KycVerificationResult,
|
|
319
323
|
ox as KycVerificationStatus,
|
|
320
324
|
Jt as LIFISCAN_URL,
|
|
321
|
-
|
|
325
|
+
Y as LifiStatus,
|
|
322
326
|
es as LocalStorageCacheDevice,
|
|
323
327
|
sn as Logger,
|
|
324
|
-
|
|
328
|
+
Wt as MAX_DISPLAY_DECIMALS,
|
|
325
329
|
uo as MERKLE_LEVELS,
|
|
326
330
|
na as MYSTERY_BOX_ITEMS,
|
|
327
331
|
pa as MYSTERY_BOX_ITEM_BY_ID,
|
|
328
332
|
ma as MYSTERY_BOX_ITEM_BY_RANK,
|
|
329
|
-
|
|
333
|
+
Wx as MemberStatus,
|
|
330
334
|
$x as MerchOrderStatus,
|
|
331
335
|
ui as MerkleTree,
|
|
332
336
|
Ni as MerkleTreeIncompleteError,
|
|
@@ -344,22 +348,22 @@ export {
|
|
|
344
348
|
Oa as NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE,
|
|
345
349
|
Co as NFT_TRANSACTION_TYPES,
|
|
346
350
|
Ar as NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS,
|
|
347
|
-
|
|
351
|
+
YA as NodeInterfaceABI,
|
|
348
352
|
Sx as OldPointType,
|
|
349
353
|
Nl as OpType,
|
|
350
354
|
ha as PERMIT2_APPROVE_FUNCTION_SIGNATURE,
|
|
351
|
-
|
|
355
|
+
br as PLAYGROUND_RELAYER_URLS,
|
|
352
356
|
Vr as PLAYGROUND_SERVER_URLS,
|
|
353
357
|
Hr as PLAYGROUND_SNAPSHOT_SERVER_URLS,
|
|
354
|
-
|
|
358
|
+
Wr as PLAYGROUND_URL,
|
|
355
359
|
da as POINTS_BOOST_TASKS,
|
|
356
|
-
|
|
357
|
-
|
|
360
|
+
Gr as PRODUCTION_RELAYER_URLS,
|
|
361
|
+
Yr as PRODUCTION_SERVER_URLS,
|
|
358
362
|
wr as PRODUCTION_SNAPSHOT_SERVER_URLS,
|
|
359
363
|
Kr as PRODUCTION_URL,
|
|
360
364
|
tx as Passports,
|
|
361
365
|
wx as PointsType,
|
|
362
|
-
|
|
366
|
+
IA as PopularTokenSymbols,
|
|
363
367
|
Cs as PresaleContractWrapper,
|
|
364
368
|
yx as PrivateBalanceUpdateType,
|
|
365
369
|
As as PrivateTokensDB,
|
|
@@ -376,7 +380,7 @@ export {
|
|
|
376
380
|
Ra as REWARDS_TASKS,
|
|
377
381
|
pt as REWARD_RECEIVABLE_TOKEN_SYMBOLS,
|
|
378
382
|
Tx as RafflePrizeType,
|
|
379
|
-
|
|
383
|
+
Gx as Rank,
|
|
380
384
|
Or as ReclaimPassports,
|
|
381
385
|
Bl as RevokeType,
|
|
382
386
|
fa as SILVER_MYSTERY_BOX_ITEMS,
|
|
@@ -393,12 +397,12 @@ export {
|
|
|
393
397
|
hr as StandardPassports,
|
|
394
398
|
Lx as StorageKeys,
|
|
395
399
|
Dr as SupportedPassports,
|
|
396
|
-
|
|
400
|
+
bt as TOKEN_LIMITS,
|
|
397
401
|
Bx as TOKEN_PRICE_STATUS,
|
|
398
402
|
yo as TOKEN_VALUE_UNLIMITED_THRESHOLD,
|
|
399
403
|
Da as TRANSFER_FUNCTION_SIGNATURE,
|
|
400
404
|
xa as TVL_CHANGER_ACTIVITY_TYPES,
|
|
401
|
-
|
|
405
|
+
bx as TaskCategory,
|
|
402
406
|
Vx as TaskTypes,
|
|
403
407
|
Nx as TokenChangeType,
|
|
404
408
|
Xi as TokenChecker,
|
|
@@ -409,14 +413,14 @@ export {
|
|
|
409
413
|
qi as TransactionType,
|
|
410
414
|
Kt as UNSUPPORTED_WALLETS_WALLETCONNECT_NAMES,
|
|
411
415
|
Xt as UNSUPPORTED_WALLET_IDS,
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
416
|
+
CA as USDCABI,
|
|
417
|
+
kA as USDR3CRVABI,
|
|
418
|
+
DA as USDRABI,
|
|
419
|
+
UA as USDTABI,
|
|
420
|
+
Ys as UserFriendlyErrorCodes,
|
|
417
421
|
Qa as UserKeys,
|
|
418
422
|
jl as UserProgress,
|
|
419
|
-
|
|
423
|
+
Gi as Utxo,
|
|
420
424
|
Jr as VERIFICATION_ROUTES,
|
|
421
425
|
ax as VERIFICATION_TYPE,
|
|
422
426
|
Ha as ValueCache,
|
|
@@ -426,13 +430,17 @@ export {
|
|
|
426
430
|
ir as WALLET_SUPPORTED_CHAINS,
|
|
427
431
|
Qr as WALLET_TASK_VERIFICATION_TYPES,
|
|
428
432
|
Ia as WELCOME_TASKS,
|
|
429
|
-
|
|
433
|
+
vA as WETHABI,
|
|
430
434
|
Ut as WETH_ERC20_TOKEN_ADDRESS,
|
|
431
435
|
Bt as WRAPPER_TOKEN_EXCHANGE_ADDRESSES,
|
|
432
|
-
|
|
436
|
+
mA as WorkerFactory,
|
|
437
|
+
AA as WorkerProxy,
|
|
438
|
+
fA as WorkerVariant,
|
|
439
|
+
Ga as abiDecodeUtxo,
|
|
433
440
|
Cn as absBigInt,
|
|
434
441
|
os as activityStorage,
|
|
435
442
|
sf as addPaddingToUtxos,
|
|
443
|
+
TA as addWorkerErrorHandler,
|
|
436
444
|
pp as aggregateTokenChanges,
|
|
437
445
|
yr as aipriseBaseOnboardingProductionUrl,
|
|
438
446
|
kr as aipriseBaseOnboardingSandboxUrl,
|
|
@@ -459,7 +467,7 @@ export {
|
|
|
459
467
|
On as bigintApplySugar,
|
|
460
468
|
hn as bigintMax,
|
|
461
469
|
Tt as blockReorgDepth,
|
|
462
|
-
|
|
470
|
+
Fe as bnbMainnetData,
|
|
463
471
|
Oe as bnbMainnetRegistry,
|
|
464
472
|
he as bnbMainnetRegistryFixed,
|
|
465
473
|
mt as boostAmounts,
|
|
@@ -477,7 +485,7 @@ export {
|
|
|
477
485
|
wc as calculateDollarValue,
|
|
478
486
|
nl as calculateStakeNullifier,
|
|
479
487
|
kn as calculateSum,
|
|
480
|
-
|
|
488
|
+
W as callLifiAPI,
|
|
481
489
|
l as callOneInchAPI,
|
|
482
490
|
A as callRelayerTransactAPI,
|
|
483
491
|
em as capitalizeFirstLetter,
|
|
@@ -491,15 +499,15 @@ export {
|
|
|
491
499
|
dn as checkHinkalAccessToken,
|
|
492
500
|
u as checkRisk,
|
|
493
501
|
ic as checkTokensForShielding,
|
|
494
|
-
|
|
502
|
+
Ya as checkUtxoSignature,
|
|
495
503
|
me as claimMerchItem,
|
|
496
|
-
|
|
504
|
+
Yo as coingeckoPriceUrl,
|
|
497
505
|
wo as coingeckoPriceUrl2,
|
|
498
506
|
Ko as coingeckoTokenListUrl,
|
|
499
507
|
Hp as constructAdminData,
|
|
500
508
|
wf as constructEmporiumProof,
|
|
501
509
|
mc as constructStealthAddressStructure,
|
|
502
|
-
|
|
510
|
+
Gf as constructZkProof,
|
|
503
511
|
cs as contactStorage,
|
|
504
512
|
Er as contractMetadataMapping,
|
|
505
513
|
zm as convertEmporiumOpToCallInfo,
|
|
@@ -520,9 +528,9 @@ export {
|
|
|
520
528
|
Sl as createTransaferEmporiumOpsBatch,
|
|
521
529
|
Tl as createTransferToEmporiumOp,
|
|
522
530
|
wi as customTokenRegistry,
|
|
523
|
-
|
|
531
|
+
OA as daiABI,
|
|
524
532
|
km as debounce,
|
|
525
|
-
|
|
533
|
+
bf as decodeMessage,
|
|
526
534
|
qp as decodeTxInput,
|
|
527
535
|
wa as decodeUtxo,
|
|
528
536
|
Ka as decodeUtxoConstructorArgs,
|
|
@@ -533,9 +541,9 @@ export {
|
|
|
533
541
|
Sr as defaultFeeToken,
|
|
534
542
|
Ql as defaultHinkalLogicArgs,
|
|
535
543
|
Ml as defaultHookData,
|
|
536
|
-
|
|
544
|
+
Fl as defaultHookDataArray,
|
|
537
545
|
Lo as defaultSignatureData,
|
|
538
|
-
|
|
546
|
+
bl as defaultStealthAddressStructure,
|
|
539
547
|
$l as defaultUseApprovalUTXOData,
|
|
540
548
|
ro as deploymentMode,
|
|
541
549
|
rl as deserializeCircomData,
|
|
@@ -549,7 +557,7 @@ export {
|
|
|
549
557
|
Oc as encodeParsedInLogicMetadata,
|
|
550
558
|
fl as encryptStake,
|
|
551
559
|
Za as encryptUtxo,
|
|
552
|
-
|
|
560
|
+
We as ethMainnetData,
|
|
553
561
|
De as ethMainnetRegistry,
|
|
554
562
|
ye as ethMainnetRegistryFixed,
|
|
555
563
|
Kc as ethToWei,
|
|
@@ -601,7 +609,7 @@ export {
|
|
|
601
609
|
t as getDataServerURL,
|
|
602
610
|
Vf as getDecodedMessage,
|
|
603
611
|
mf as getDepositEvents,
|
|
604
|
-
|
|
612
|
+
dA as getERC20Registry,
|
|
605
613
|
cp as getERC20Token,
|
|
606
614
|
fp as getERC20TokenBySymbol,
|
|
607
615
|
Rm as getEffectiveMonthStart,
|
|
@@ -614,7 +622,7 @@ export {
|
|
|
614
622
|
ip as getExternalActionIdFromNumber,
|
|
615
623
|
sp as getExternalActionIdHash,
|
|
616
624
|
Kn as getFilePath,
|
|
617
|
-
|
|
625
|
+
gA as getFixedRegistry,
|
|
618
626
|
Up as getFlatFees,
|
|
619
627
|
T as getGasEstimates,
|
|
620
628
|
rt as getGasStationUrl,
|
|
@@ -633,7 +641,7 @@ export {
|
|
|
633
641
|
Op as getInteractionFromAction,
|
|
634
642
|
Lf as getLifiPrice,
|
|
635
643
|
w as getLifiStatus,
|
|
636
|
-
|
|
644
|
+
Fc as getLinearPrice,
|
|
637
645
|
xe as getMerchOrders,
|
|
638
646
|
gf as getMyApprovalAmountForInteraction,
|
|
639
647
|
Ae as getMysteryBoxesHistory,
|
|
@@ -641,8 +649,8 @@ export {
|
|
|
641
649
|
Ec as getNecessaryAssetsForFunding,
|
|
642
650
|
dc as getNecessaryAssetsForFundingFromBalance,
|
|
643
651
|
Dc as getNetworkName,
|
|
644
|
-
|
|
645
|
-
|
|
652
|
+
Gp as getNetworkObject,
|
|
653
|
+
Yp as getNetworkType,
|
|
646
654
|
_m as getNextDayDelay,
|
|
647
655
|
Pm as getNextDayISO,
|
|
648
656
|
pr as getNonLocalhostChainId,
|
|
@@ -664,7 +672,7 @@ export {
|
|
|
664
672
|
a as getServerURL,
|
|
665
673
|
Se as getServerUtc,
|
|
666
674
|
nf as getShieldedBalance,
|
|
667
|
-
|
|
675
|
+
Gc as getSignatureHeader,
|
|
668
676
|
ol as getSlippageValues,
|
|
669
677
|
i as getSnapshotServerURL,
|
|
670
678
|
tm as getStateKey,
|
|
@@ -730,7 +738,7 @@ export {
|
|
|
730
738
|
gn as mintAccessToken,
|
|
731
739
|
ul as modifyDataForProxy,
|
|
732
740
|
_l as modifyDataForProxyWithPrivateKey,
|
|
733
|
-
|
|
741
|
+
bp as modifyVolatileTokenAmountChanges,
|
|
734
742
|
Nm as msToISOString,
|
|
735
743
|
lr as networkRegistry,
|
|
736
744
|
Ll as nullifyApprovalBeforeSwap,
|
|
@@ -739,8 +747,8 @@ export {
|
|
|
739
747
|
_n as openDefaultPassportWindow,
|
|
740
748
|
Te as openMysteryBox,
|
|
741
749
|
In as openPassportWindow,
|
|
742
|
-
|
|
743
|
-
|
|
750
|
+
Ye as optimismData,
|
|
751
|
+
WA as optimismGasPriceOracleAbi,
|
|
744
752
|
Le as optimismRegistry,
|
|
745
753
|
Ue as optimismRegistryFixed,
|
|
746
754
|
vp as outputApprovalDataProcessing,
|
|
@@ -749,10 +757,10 @@ export {
|
|
|
749
757
|
Mo as ownerPublicKey,
|
|
750
758
|
Km as padUseApprovalUtxoData,
|
|
751
759
|
It as pancaceSwapPermit2Address,
|
|
752
|
-
|
|
760
|
+
bc as parseAuctionTime,
|
|
753
761
|
ut as permit2Address,
|
|
754
762
|
_t as permit2Addresses,
|
|
755
|
-
|
|
763
|
+
Fo as permitSignatureValidFor,
|
|
756
764
|
lt as pointsLink,
|
|
757
765
|
Ke as polygonData,
|
|
758
766
|
Be as polygonRegistry,
|
|
@@ -761,7 +769,7 @@ export {
|
|
|
761
769
|
La as poseidonHash,
|
|
762
770
|
Ua as poseidonHolder,
|
|
763
771
|
Hc as postToOffscreen,
|
|
764
|
-
|
|
772
|
+
ba as preProcessing,
|
|
765
773
|
qt as presaleABI,
|
|
766
774
|
Zt as presaleContractInfoByChain,
|
|
767
775
|
ps as pricesStorage,
|
|
@@ -787,14 +795,14 @@ export {
|
|
|
787
795
|
di as resetMerkleTrees,
|
|
788
796
|
nA as resetStateMutex,
|
|
789
797
|
_p as resolveSync,
|
|
790
|
-
|
|
798
|
+
Fs as rethrowKnownGasErrorIfPossible,
|
|
791
799
|
cf as retrieveEvents,
|
|
792
800
|
U as rpcGetStorageChanges,
|
|
793
801
|
tc as rpcIntEncode,
|
|
794
802
|
B as rpcSimulateBundle,
|
|
795
803
|
v as rpcSimulateTransaction,
|
|
796
804
|
Bf as runContractFunction,
|
|
797
|
-
|
|
805
|
+
VA as sanctionsListABI,
|
|
798
806
|
Qn as saveTxsCache,
|
|
799
807
|
Qo as searchBySymbol,
|
|
800
808
|
Tp as searchCompareFunction,
|
|
@@ -803,28 +811,28 @@ export {
|
|
|
803
811
|
jp as serializeDecodedTxs,
|
|
804
812
|
$n as setHinkalCache,
|
|
805
813
|
ep as setInHinkalAddressesCache,
|
|
806
|
-
|
|
814
|
+
bo as signaturePhrase,
|
|
807
815
|
ls as signedMessagesStorage,
|
|
808
816
|
M as simulateTx,
|
|
809
817
|
Ep as sortTokens,
|
|
810
818
|
$a as stealthAddressCacheDevice,
|
|
811
819
|
ei as stealthPairCacheDevice,
|
|
812
820
|
Lr as supportedPassportLinks,
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
821
|
+
F as tenderlyRpcLinks,
|
|
822
|
+
Fn as toBigInt,
|
|
823
|
+
bn as toBigIntOrUndefined,
|
|
816
824
|
Qc as toBigIntWithDecimals,
|
|
817
825
|
Vn as toCommaSeparatedNumberString,
|
|
818
826
|
Hn as toInt,
|
|
819
|
-
|
|
827
|
+
Wn as toNumberOrUndefined,
|
|
820
828
|
nm as toTitleCase,
|
|
821
829
|
Rs as tokenVisibilityStorage,
|
|
822
830
|
V as tokensInfoCall,
|
|
823
831
|
Xs as transactionErrorCodes,
|
|
824
832
|
Tn as transactionProverABI,
|
|
825
833
|
Ac as trimFieldValues,
|
|
826
|
-
|
|
827
|
-
|
|
834
|
+
Gn as trimLeadingZeros,
|
|
835
|
+
Yn as truncateToDecimalPlaces,
|
|
828
836
|
Pt as uniswap2Manager,
|
|
829
837
|
Ct as uniswap3Manager,
|
|
830
838
|
Nt as uniswapApprovalExtraCallData,
|
|
@@ -832,12 +840,13 @@ export {
|
|
|
832
840
|
Rr as uniswapV3FactoryData,
|
|
833
841
|
Ir as uniswapV3PoolData,
|
|
834
842
|
ur as uniswapV3QuoterData,
|
|
835
|
-
|
|
843
|
+
Fm as uniswapWorkaround,
|
|
836
844
|
Ot as uniswapWorkaroundAddresses,
|
|
837
845
|
pm as validateEmail,
|
|
838
846
|
Lm as wait,
|
|
839
847
|
Om as waitLittle,
|
|
840
848
|
zs as walletConnectErrorCodes,
|
|
841
849
|
Xp as walletSupported,
|
|
850
|
+
lA as workerNodeURL,
|
|
842
851
|
Vo as zeroAddress
|
|
843
852
|
};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o=(r=>(r.ZKProof="ZKProof",r.SnarkJS="SnarkJS",r.UTXO="UTXO",r))(o||{});const e={ZKProof:"./zkProofWorker/zkProofWorkerLogic.ts",SnarkJS:"./snarkjsWorker/snarkjsWorkerLogic.ts",UTXO:"./utxoWorker/utxoWorkerLogic.ts"};exports.WorkerVariant=o;exports.workerNodeURL=e;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
var
|
|
1
|
+
var r = /* @__PURE__ */ ((o) => (o.ZKProof = "ZKProof", o.SnarkJS = "SnarkJS", o.UTXO = "UTXO", o))(r || {});
|
|
2
|
+
const k = {
|
|
3
|
+
ZKProof: "./zkProofWorker/zkProofWorkerLogic.ts",
|
|
4
|
+
SnarkJS: "./snarkjsWorker/snarkjsWorkerLogic.ts",
|
|
5
|
+
UTXO: "./utxoWorker/utxoWorkerLogic.ts"
|
|
6
|
+
};
|
|
2
7
|
export {
|
|
3
|
-
|
|
8
|
+
r as WorkerVariant,
|
|
9
|
+
k as workerNodeURL
|
|
4
10
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>{self.addEventListener("unhandledrejection",r=>{throw new Error(r.reason)})};exports.addWorkerErrorHandler=e;
|
|
@@ -2,5 +2,5 @@ import { WorkerVariant } from './worker.registry';
|
|
|
2
2
|
export declare class WorkerFactory {
|
|
3
3
|
private static createNodeWorker;
|
|
4
4
|
private static createBrowserWorker;
|
|
5
|
-
static getWebWorker(workerVariant: WorkerVariant): Promise<import('
|
|
5
|
+
static getWebWorker(workerVariant: WorkerVariant): Promise<import('../index.ts').WorkerProxy | Worker>;
|
|
6
6
|
}
|