@kapa123456789/sdk 0.0.53 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/API/getServerURL.cjs +1 -1
- package/API/getServerURL.d.ts +8 -7
- package/API/getServerURL.mjs +12 -9
- package/constants/chains.constants.cjs +1 -1
- package/constants/chains.constants.d.ts +1 -0
- package/constants/chains.constants.mjs +8 -4
- package/data-structures/Hinkal/Hinkal.cjs +1 -1
- package/data-structures/Hinkal/Hinkal.mjs +107 -108
- package/data-structures/Hinkal/hinkalWithdraw.cjs +1 -1
- package/data-structures/Hinkal/hinkalWithdraw.mjs +31 -24
- package/index.cjs +1 -1
- package/index.mjs +312 -312
- package/package.json +1 -1
- package/types/hinkal.types.d.ts +0 -1
- package/webworker/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -16,323 +16,323 @@ import v from "./constants/deploy-data/deploy-data-tronNile.json.mjs";
|
|
|
16
16
|
import y from "./constants/deploy-data/deploy-data-tronMainnet.json.mjs";
|
|
17
17
|
import { CustomJSONParse as b, CustomJSONStringify as x, safeJsonStringify as S, toJsonSafe as C } from "./functions/utils/serialize.utils.mjs";
|
|
18
18
|
import { DEPLOYMENT_MODE as w, deploymentMode as T, isDevelopment as E, isExtension as D, isNode as O, isNotClientProduction as k, isNotProduction as A, isPlayground as j, isStaging as M, isWebpack as N } from "./constants/vite.constants.mjs";
|
|
19
|
-
import { ALCHEMY_API_KEY as P, ALCHEMY_TEST_KEY as F, BRIDGE_SUPPORTED_CHAINS as I, EVM_CHAIN_IDS as L, FILTER_CHAIN_MAP as R, HELIUS_RPC_URL as z, HINKAL_SUPPORTED_CHAINS as B, SOLANA_CHAIN_IDS as V, TRON_CHAIN_IDS as H, WALLET_SUPPORTED_CHAINS as U, chainIds as W, chainIdsByType as G, currentTronChainId as K, getNonLocalhostChainId as q, isEvmChain as J, isLocalNetwork as Y, isOptimismLike as X, isSolanaLike as Z, isTronLike as Q, localhostNetwork as $, networkRegistry as ee,
|
|
20
|
-
import { ARC_TESTNET_USDC_ADDRESS as
|
|
21
|
-
import { BPS_DENOMINATOR as
|
|
22
|
-
import { EventType as
|
|
23
|
-
import { KycVerificationResult as
|
|
24
|
-
import { ApprovalType as
|
|
25
|
-
import { SlippageType as
|
|
26
|
-
import { TransactionAction as
|
|
27
|
-
import { OldPointType as
|
|
28
|
-
import { AdminTransactionType as
|
|
29
|
-
import { ActivityStatus as
|
|
30
|
-
import { TransactionRequestType as
|
|
31
|
-
import { PrivateBalanceUpdateType as
|
|
32
|
-
import { StorageKeys as
|
|
33
|
-
import { TOKEN_PRICE_STATUS as
|
|
34
|
-
import { AchievementTiers as
|
|
35
|
-
import { MemberStatus as
|
|
36
|
-
import { PointsType as
|
|
37
|
-
import { CallsStatus as
|
|
38
|
-
import { ConfirmationRequestType as
|
|
39
|
-
import { MessagesFromOffscreen as
|
|
40
|
-
import { DepositAndWithdrawPhase as
|
|
41
|
-
import { MoonPayCurrencyType as
|
|
42
|
-
import { EventCategory as
|
|
43
|
-
import { PayActivityStatus as
|
|
44
|
-
import { ScheduleDelayOption as
|
|
45
|
-
import { DeliveryMethod as
|
|
46
|
-
import { PayoutStatus as
|
|
19
|
+
import { ALCHEMY_API_KEY as P, ALCHEMY_TEST_KEY as F, BRIDGE_SUPPORTED_CHAINS as I, EVM_CHAIN_IDS as L, FILTER_CHAIN_MAP as R, HELIUS_RPC_URL as z, HINKAL_SUPPORTED_CHAINS as B, SOLANA_CHAIN_IDS as V, TRON_CHAIN_IDS as H, WALLET_SUPPORTED_CHAINS as U, chainIds as W, chainIdsByType as G, currentTronChainId as K, getNonLocalhostChainId as q, isEvmChain as J, isLocalNetwork as Y, isOptimismLike as X, isSolanaLike as Z, isTronLike as Q, localhostNetwork as $, networkRegistry as ee, setHinkalTronChainId as te, solanaChainIdStr as ne } from "./constants/chains.constants.mjs";
|
|
20
|
+
import { ARC_TESTNET_USDC_ADDRESS as re, AssetChangeType as ie, CIRCOM_MERKLE_LENGTH as ae, CIRCOM_P as oe, CIRCOM_P_HALF as se, COMPUTE_UNIT_PADDING_PERCENTAGE as ce, DASHBOARD_BATCH_VARIABLE_RATE as le, DASHBOARD_SEND_VARIABLE_RATE as ue, EIP1271_FAILURE as de, EIP1271_SUCCESS as fe, HINKAL_DEPOSIT_AND_WITHDRAW_VARIABLE_RATE as pe, HINKAL_PRIVATE_SEND_VARIABLE_RATE as me, HINKAL_SWAP_VARIABLE_RATE as he, MAX_COMPUTE_UNIT_LIMIT as ge, MAX_MICRO_LAMPORTS_PER_CU as _e, MERKLE_LEVELS as ve, MIN_COMPUTE_UNIT_LIMIT as ye, NFT_1155_TRANSACTION_TYPE as be, NFT_721_TRANSACTION_TYPE as xe, NFT_TRANSACTION_TYPES as Se, PAY_SEND_VARIABLE_RATE as Ce, PROOFLESS_DEPOSIT_FEE_RECIPIENT_INFO as we, PROVER_VERSION as Te, RELAYERS_ARRAY as Ee, RELAYER_ADDRESS1 as De, RELAYER_ADDRESS2 as Oe, RELAYER_ADDRESS3 as ke, SOLANA_BLOCKHEIGHT_EXPIRED_RETRY_COUNT as Ae, SOLANA_LOCKED_ACCOUNTS_LIMIT as je, SOLANA_LOOKUP_TABLE_VISIBILITY_MAX_POLL_ATTEMPTS as Me, SOLANA_LOOKUP_TABLE_VISIBILITY_POLL_INTERVAL_MS as Ne, SOLANA_NFT_INTERFACES as Pe, SOLANA_PUBLIC_INPUT_PART_ONE_LENGTH as Fe, TOKEN_VALUE_UNLIMITED_THRESHOLD as Ie, TRON_DEFAULT_FEE_LIMIT_SUN as Le, TRON_TESTNET_USDT_ADDRESS as Re, TRON_USDT_ADDRESS as ze, TokenType as Be, defaultSignatureData as Ve, ethVolatileAddress as He, hinkalSimulationAddress as Ue, oneInchZeroAddress as We, ownerPublicKey as Ge, permitSignatureValidFor as Ke, signaturePhrase as qe, solanaNativeAddress as Je, wrappedSolanaAddress as Ye, zeroAddress as Xe } from "./constants/protocol.constants.mjs";
|
|
21
|
+
import { BPS_DENOMINATOR as Ze, EXTENDED_NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS as Qe, NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS as $e, TEN_PERCENT_BPS as et, defaultFeeToken as tt } from "./constants/fees.constants.mjs";
|
|
22
|
+
import { EventType as nt, HinkalLogicAction as rt, INTERACTION as it, IntegrationProvider as at, LoginMessageMode as ot, UserProgress as st, defaultFeeStructure as ct, defaultHinkalLogicArgs as lt, defaultUseApprovalUTXOData as ut } from "./types/hinkal.types.mjs";
|
|
23
|
+
import { KycVerificationResult as dt, KycVerificationStatus as ft, Passports as pt, VERIFICATION_TYPE as mt, VerificationTypes as ht } from "./types/kyc.types.mjs";
|
|
24
|
+
import { ApprovalType as gt } from "./types/token.types.mjs";
|
|
25
|
+
import { SlippageType as _t } from "./types/slippage.types.mjs";
|
|
26
|
+
import { TransactionAction as vt, TransactionReceiptStatus as yt, TransactionStatus as bt, emptyDecodedTx as xt } from "./types/transactions.types.mjs";
|
|
27
|
+
import { OldPointType as St, RafflePrizeType as Ct } from "./types/rewards.types.mjs";
|
|
28
|
+
import { AdminTransactionType as wt } from "./types/admin.types.mjs";
|
|
29
|
+
import { ActivityStatus as Tt, ActivityTypes as Et, DexProviders as Dt, IntegrationProviderNames as Ot, TokenChangeType as kt } from "./types/activities.types.mjs";
|
|
30
|
+
import { TransactionRequestType as At } from "./types/transaction.types.mjs";
|
|
31
|
+
import { PrivateBalanceUpdateType as jt } from "./types/balances.types.mjs";
|
|
32
|
+
import { StorageKeys as Mt } from "./types/cache.types.mjs";
|
|
33
|
+
import { TOKEN_PRICE_STATUS as Nt, TokenPriceTimeframe as Pt } from "./types/token-prices.types.mjs";
|
|
34
|
+
import { AchievementTiers as Ft, BrotherhoodTaskTypes as It, TaskCategory as Lt, TaskTypes as Rt } from "./types/new-rewards.type.mjs";
|
|
35
|
+
import { MemberStatus as zt, Rank as Bt } from "./types/RewardUserEnums.mjs";
|
|
36
|
+
import { PointsType as Vt, TradingType as Ht } from "./types/generatePoints.mjs";
|
|
37
|
+
import { CallsStatus as Ut, GetCallsStatusCode as Wt } from "./types/eip5792.types.mjs";
|
|
38
|
+
import { ConfirmationRequestType as Gt } from "./types/confirmation-request.types.mjs";
|
|
39
|
+
import { MessagesFromOffscreen as Kt } from "./types/offscreen.types.mjs";
|
|
40
|
+
import { DepositAndWithdrawPhase as qt, ScheduledTransactionStatus as Jt } from "./types/scheduled-transactions.types.mjs";
|
|
41
|
+
import { MoonPayCurrencyType as Yt } from "./types/onramp.types.mjs";
|
|
42
|
+
import { EventCategory as Xt } from "./types/events.types.mjs";
|
|
43
|
+
import { PayActivityStatus as Zt, PayActivityTypes as Qt, TransferVisibility as $t } from "./types/pay-activities.types.mjs";
|
|
44
|
+
import { ScheduleDelayOption as en } from "./types/schedule.types.mjs";
|
|
45
|
+
import { DeliveryMethod as tn, MemberRole as nn } from "./types/dashboard-account.mjs";
|
|
46
|
+
import { PayoutStatus as rn, PayoutType as an } from "./types/dashboard-payout.types.mjs";
|
|
47
47
|
import "./types/index.mjs";
|
|
48
|
-
import { API_CONFIG as
|
|
49
|
-
import { BACK_END_URL as
|
|
50
|
-
import { COINGECKO_API_KEY as
|
|
51
|
-
import { getCoingeckoPrice as
|
|
52
|
-
import { BasicHttpClient as
|
|
53
|
-
import { httpClient as
|
|
54
|
-
import { callOneInchAPI as
|
|
55
|
-
import { callRelayerSolanaTransactBatchAPI as
|
|
56
|
-
import { getGasEstimates as
|
|
57
|
-
import { getTokenPreviousDayPrices as
|
|
58
|
-
import { checkRisk as
|
|
59
|
-
import { monitor as
|
|
60
|
-
import { getIdleRelay as
|
|
61
|
-
import { tokensInfoCall as
|
|
62
|
-
import { getSignatureHeader as
|
|
63
|
-
import { generateAumPoints as
|
|
64
|
-
import { createBrotherhood as
|
|
65
|
-
import { caseInsensitiveEqual as
|
|
66
|
-
import { constructStealthAddressStructure as
|
|
67
|
-
import { seedlessBackup as
|
|
68
|
-
import { getScheduledTransactions as
|
|
69
|
-
import { addTemporaryWalletNonce as
|
|
70
|
-
import { allocatePrivateSendRecipientInfos as
|
|
71
|
-
import { sendPrivateSendEmailNotifications as
|
|
72
|
-
import { HINKAL_DASHBOARD_TOKEN as
|
|
73
|
-
import { getAuthHeaders as
|
|
74
|
-
import { API as
|
|
75
|
-
import { WALLET_API as
|
|
76
|
-
import { callLifiAPI as
|
|
77
|
-
import { IMAGE_PATHS as
|
|
78
|
-
import { getERC20Registry as
|
|
79
|
-
import { arbMainnetRegistry as
|
|
80
|
-
import { abi as
|
|
81
|
-
import { abi as
|
|
82
|
-
import { abi as
|
|
83
|
-
import { abi as
|
|
84
|
-
import { abi as
|
|
85
|
-
import { abi as
|
|
86
|
-
import { abi as
|
|
87
|
-
import { abi as
|
|
88
|
-
import { abi as
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import { BabABI as
|
|
92
|
-
import { contractMetadataMapping as
|
|
93
|
-
import { openDefaultPassportWindow as
|
|
94
|
-
import { AIPRISE_KYB_TEMPLATE_ID_PROD as
|
|
95
|
-
import { NETWORKS as
|
|
96
|
-
import { ACCESS_TOKEN_MINTING_POINTS as
|
|
97
|
-
import { blockReorgDepth as
|
|
98
|
-
import { mediaUrls as
|
|
99
|
-
import { allowanceHolder as
|
|
100
|
-
import { NATIVE_TOKEN_WRAPPER_ADDRESSES as
|
|
101
|
-
import { DIRECTLY_SHOW_MESSAGE_ERROR_CODES as
|
|
102
|
-
import { calculateDollarValue as
|
|
103
|
-
import { customTokenRegistry as
|
|
104
|
-
import { absBigInt as
|
|
105
|
-
import { NativeTokenSymbols as
|
|
106
|
-
import { aggregateTokenChanges as
|
|
107
|
-
import { TOKEN_LIMITS as
|
|
108
|
-
import { MAX_DISPLAY_DECIMALS as
|
|
109
|
-
import { BRIDGING_URLS as
|
|
110
|
-
import { SOLANA_LEDGER_WALLET_ID as
|
|
111
|
-
import { presaleABI as
|
|
112
|
-
import { LIFISCAN_URL as
|
|
113
|
-
import { oauthUrls as
|
|
114
|
-
import { TVL_CHANGER_ACTIVITY_TYPES as
|
|
115
|
-
import { ACHIEVEMENTS as
|
|
116
|
-
import { EVENTS_INITIAL_BLOCKS as
|
|
117
|
-
import { APPROVE_FUNCTION_SIGNATURE as
|
|
118
|
-
import { OKX_BASE_URL as
|
|
119
|
-
import { BANNED_WALLET_IDS as
|
|
120
|
-
import { RELAYER_TX_CONFIRMATION_TIMEOUT as
|
|
121
|
-
import { SCHEDULE_DELAY_OPTIONS as
|
|
122
|
-
import { MAX_FILE_SIZE_MB as
|
|
123
|
-
import { RECIPIENT_INFO_TARGET_POOL_SIZE as
|
|
48
|
+
import { API_CONFIG as on, DATA_SERVER_CONFIG as sn, DATA_SERVER_URL_ENDPOINT as cn, DATA_SERVER_URL_LOCAL as ln, FUND_COMPLIANCE_URL_ENDPOINT as un, FUND_COMPLIANCE_URL_LOCAL as dn, PLAYGROUND_URL as fn, PRODUCTION_URL as pn, RELAYER_CONFIG as mn, RELAYER_URL_ENDPOINT as hn, RELAYER_URL_LOCAL as gn, SERVER_URL_ENDPOINT as _n, SERVER_URL_LOCAL as vn, SNAPSHOT_SERVER_URL_ENDPOINT as yn, SNAPSHOT_SERVER_URL_LOCAL as bn, STAGING_URL as xn, VERIFICATION_ROUTES as Sn, WAAS_URL_ENDPOINT as Cn, WAAS_URL_LOCAL as wn, WALLET_TASK_VERIFICATION_TYPES as Tn, backendVersion as En, deploymentModeWithVersion as Dn } from "./constants/server.constants.mjs";
|
|
49
|
+
import { BACK_END_URL as On, DATA_SERVER_URL as kn, FUND_COMPLIANCE_URL as An, RELAYER_URL as jn, SERVER_URL as Mn, SNAPSHOT_SERVER_URL as Nn, WAAS_URL as Pn, setBackendForTronChain as Fn } from "./API/getServerURL.mjs";
|
|
50
|
+
import { COINGECKO_API_KEY as In, CoinGeckoChainLabels as Ln, coingeckoPriceUrl as Rn, coingeckoPriceUrl2 as zn, coingeckoTokenListUrl as Bn, getCoinByAddress as Vn, getCoinById as Hn, getCoinMarketChartByTokenId as Un, getCoingeckoIdForNativeTokens as Wn, getCoingeckoPlatform as Gn, proCoingeckoUrl as Kn, proHeader as qn, searchBySymbol as Jn } from "./constants/coingecko.constants.mjs";
|
|
51
|
+
import { getCoingeckoPrice as Yn, getCoingeckoPrice2 as Xn, getCoingeckoPrices as Zn, getCoingeckoTokenList as Qn } from "./API/getCoingeckoPrice.mjs";
|
|
52
|
+
import { BasicHttpClient as $n } from "./data-structures/http/BasicHttpClient.mjs";
|
|
53
|
+
import { httpClient as er } from "./data-structures/http/HttpClient.mjs";
|
|
54
|
+
import { callOneInchAPI as tr } from "./API/callOneInchAPI.mjs";
|
|
55
|
+
import { callRelayerSolanaTransactBatchAPI as nr, callRelayerTransactAPI as rr, callRelayerTransactBatchAPI as ir } from "./API/callRelayer.mjs";
|
|
56
|
+
import { getGasEstimates as ar } from "./API/getGasEstimates.mjs";
|
|
57
|
+
import { getTokenPreviousDayPrices as or, getTokenPrices as sr } from "./API/getTokenPrice.mjs";
|
|
58
|
+
import { checkRisk as cr } from "./API/checkRisk.mjs";
|
|
59
|
+
import { monitor as lr, monitorBatch as ur } from "./API/callMonitor.mjs";
|
|
60
|
+
import { getIdleRelay as dr } from "./API/relayCalls.mjs";
|
|
61
|
+
import { tokensInfoCall as fr } from "./API/token-calls.mjs";
|
|
62
|
+
import { getSignatureHeader as pr } from "./functions/utils/get-signature-header.mjs";
|
|
63
|
+
import { generateAumPoints as mr, generateTradingPoints as hr } from "./API/generate-trading-points.mjs";
|
|
64
|
+
import { createBrotherhood as gr, editBrotherhood as _r, getBrotherhood as vr, getBrotherhoodUsers as yr, getCurrentUserBrotherhood as br, getCurrentUserBrotherhoodUsers as xr, getPublicBrotherhoods as Sr, joinBrotherhood as Cr, leaveBrotherhood as wr } from "./API/brotherhoodCalls.mjs";
|
|
65
|
+
import { caseInsensitiveEqual as Tr, lowerCaseIncludes as Er, lowerCaseStartsWith as Dr } from "./functions/utils/caseInsensitive.utils.mjs";
|
|
66
|
+
import { constructStealthAddressStructure as Or, formatAddress as kr, hashEthereumAddress as Ar, hashString as jr, isNativePlaceholderAddress as Mr, isRecipientAddressInvalid as Nr, isValidPrivateAddress as Pr, isValidSolanaPublicKey as Fr, isValidTronAddress as Ir } from "./functions/utils/addresses.mjs";
|
|
67
|
+
import { seedlessBackup as Lr, seedlessCheckPassword as Rr, seedlessInit as zr, seedlessSalt as Br, seedlessStatus as Vr } from "./API/seedless-calls.mjs";
|
|
68
|
+
import { getScheduledTransactions as Hr, getScheduledTransactionsNullifierIndexes as Ur } from "./API/scheduled-transactions-calls.mjs";
|
|
69
|
+
import { addTemporaryWalletNonce as Wr, getTemporaryWalletNonces as Gr, removeTemporaryWalletNonce as Kr } from "./API/temporaryWalletCalls.mjs";
|
|
70
|
+
import { allocatePrivateSendRecipientInfos as qr } from "./API/privateSendRecipientInfoCalls.mjs";
|
|
71
|
+
import { sendPrivateSendEmailNotifications as Jr } from "./API/privateSendEmailNotificationsCalls.mjs";
|
|
72
|
+
import { HINKAL_DASHBOARD_TOKEN as Yr } from "./constants/auth.constants.mjs";
|
|
73
|
+
import { getAuthHeaders as Xr } from "./functions/utils/auth.utils.mjs";
|
|
74
|
+
import { API as Zr } from "./API/API.mjs";
|
|
75
|
+
import { WALLET_API as Qr, rpcGetStorageChanges as $r, rpcSimulateBundle as ei, rpcSimulateTransaction as ti, simulateTx as ni, tenderlyRpcLinks as ri } from "./API/tenderly.api.mjs";
|
|
76
|
+
import { callLifiAPI as ii } from "./API/callLifiAPI.mjs";
|
|
77
|
+
import { IMAGE_PATHS as ai } from "./constants/assets.constants.mjs";
|
|
78
|
+
import { getERC20Registry as oi, getFixedRegistry as si } from "./constants/token-data/ERC20Registry.mjs";
|
|
79
|
+
import { arbMainnetRegistry as ci, arbMainnetRegistryFixed as li, arcTestnetRegistry as ui, baseRegistry as di, baseRegistryFixed as fi, ethMainnetRegistry as pi, ethMainnetRegistryFixed as mi, localhostRegistry as hi, optimismRegistry as gi, optimismRegistryFixed as _i, polygonRegistry as vi, polygonRegistryFixed as yi, solanaLocalnetRegistry as bi, solanaMainnetRegistry as xi } from "./constants/token-data/index.mjs";
|
|
80
|
+
import { abi as Si } from "./externalABIs/amToken.mjs";
|
|
81
|
+
import { abi as Ci } from "./externalABIs/BUSD.mjs";
|
|
82
|
+
import { abi as wi } from "./externalABIs/DAI.mjs";
|
|
83
|
+
import { abi as Ti } from "./externalABIs/SanctionsList.mjs";
|
|
84
|
+
import { abi as Ei } from "./externalABIs/USDC.mjs";
|
|
85
|
+
import { abi as Di } from "./externalABIs/USDR.mjs";
|
|
86
|
+
import { abi as Oi } from "./externalABIs/USDR3CRV.mjs";
|
|
87
|
+
import { abi as ki } from "./externalABIs/USDT.mjs";
|
|
88
|
+
import { abi as Ai } from "./externalABIs/WETH.mjs";
|
|
89
|
+
import ji from "./externalABIs/OptimismGasPriceOracle.json.mjs";
|
|
90
|
+
import Mi from "./externalABIs/NodeInterfaceABI.json.mjs";
|
|
91
|
+
import { BabABI as Ni, ERC1155ABI as Pi, ERC20ABI as Fi, ERC721ABI as Ii, GalxeABI as Li, ISwapRouterABI as Ri, factoryABI as zi, quoterV2ABI as Bi } from "./externalABIs/index.mjs";
|
|
92
|
+
import { contractMetadataMapping as Vi, getHinkalParameters as Hi, uniswapV2PoolData as Ui, uniswapV3FactoryData as Wi, uniswapV3PoolData as Gi, uniswapV3QuoterData as Ki } from "./constants/contracts.constants.mjs";
|
|
93
|
+
import { openDefaultPassportWindow as qi } from "./functions/kyc/openDefaultPassportWindow.mjs";
|
|
94
|
+
import { AIPRISE_KYB_TEMPLATE_ID_PROD as Ji, AIPRISE_KYC_TEMPLATE_ID_PROD as Yi, KYC_LIMIT as Xi, RECLAIM_MESSAGE_TO_SIGN as Zi, ReclaimPassports as Qi, StandardPassports as $i, SupportedPassports as ea, aipriseBaseOnboardingProductionUrl as ta, aipriseBaseOnboardingSandboxUrl as na, supportedPassportLinks as ra } from "./constants/kyc.constants.mjs";
|
|
95
|
+
import { NETWORKS as ia } from "./constants/backend.constants.mjs";
|
|
96
|
+
import { ACCESS_TOKEN_MINTING_POINTS as aa, ACCESS_TOKEN_RECLAIM_POINTS as oa, CERTIFICATION_DISABLE_WEEK as sa, REWARDS_ENCRYPTION_PASSWORD as ca, REWARDS_MESSAGE_TO_SIGN as la, REWARD_RECEIVABLE_TOKEN_SYMBOLS as ua, boostAmounts as da, lpLink as fa, lpProgramStartWeek as pa, pointsLink as ma, raffleProgramStartWeek as ha, referralLink as ga } from "./constants/rewards.constants.mjs";
|
|
97
|
+
import { blockReorgDepth as _a } from "./constants/reorg-depths.constants.mjs";
|
|
98
|
+
import { mediaUrls as va } from "./constants/mediaUrls.constants.mjs";
|
|
99
|
+
import { allowanceHolder as ya, pancaceSwapPermit2Address as ba, permit2Address as xa, uniswap2Manager as Sa, uniswap3Manager as Ca, uniswapApprovalExtraCallData as wa, uniswapWorkaroundAddresses as Ta } from "./constants/permit2.constants.mjs";
|
|
100
|
+
import { NATIVE_TOKEN_WRAPPER_ADDRESSES as Ea, SWAP_FEE_TAKER_ADDRESSES as Da, SWAP_ROUTER_ADDRESSES as Oa, WETH_ERC20_TOKEN_ADDRESS as ka, WRAPPER_TOKEN_EXCHANGE_ADDRESSES as Aa } from "./constants/addresses.constants.mjs";
|
|
101
|
+
import { DIRECTLY_SHOW_MESSAGE_ERROR_CODES as ja, UserFriendlyErrorCodes as Ma, gasErrorCodes as Na, insufficientResourcesErrorCodes as Pa, transactionErrorCodes as Fa, walletConnectErrorCodes as Ia } from "./error-handling/error-codes.constants.mjs";
|
|
102
|
+
import { calculateDollarValue as La, ethToWei as Ra, getAmountInToken as za, getAmountInWei as Ba, getAmountInWeiOrZero as Va, getAmountWithPrecision as Ha, getAmountWithPrecisionOrZero as Ua, randomBigInt as Wa, toBigIntWithDecimals as Ga } from "./functions/web3/etherFunctions.mjs";
|
|
103
|
+
import { customTokenRegistry as Ka } from "./data-structures/custom-token-registry/CustomTokenRegistry.mjs";
|
|
104
|
+
import { absBigInt as qa, advancedToBigInt as Ja, beepsToPercentage as Ya, bigintMax as Xa, calculateAmountUsingBeeps as Za, calculateSum as Qa, countTotalAmountInUtxos as $a, fixDecimalsAmount as eo, formatAmountInput as to, getValueFirstNDigit as no, maxBigInt as ro, minBigInt as io, toBigInt as ao, toBigIntOrUndefined as oo, toCommaSeparatedNumberString as so, toInt as co, toNumberOrUndefined as lo, trimLeadingZeros as uo, truncateToDecimalPlaces as fo } from "./functions/utils/amounts.utils.mjs";
|
|
105
|
+
import { NativeTokenSymbols as po, PopularTokenSymbols as mo, SOLANA_PAY_DASHBOARD_SUPPORTED_TOKEN_SYMBOLS as ho, chainNativeTokenSymbol as go } from "./constants/tokens.constants.mjs";
|
|
106
|
+
import { aggregateTokenChanges as _o, formatTokenChangesList as vo, getERC20Token as yo, getERC20TokenBySymbol as bo, getErc20TokensForChain as xo, isArcNativeToken as So, isNFTToken as Co, overlayTokenWithRegistryData as wo, searchCompareFunction as To, sortTokens as Eo } from "./functions/utils/erc20tokenFunctions.mjs";
|
|
107
|
+
import { TOKEN_LIMITS as Do, getTokensLimits as Oo } from "./constants/token.limits.constants.mjs";
|
|
108
|
+
import { MAX_DISPLAY_DECIMALS as ko } from "./constants/balance.constants.mjs";
|
|
109
|
+
import { BRIDGING_URLS as Ao, DEFAULT_BRIDGING_SLIPPAGE as jo, LOW_AMOUNT_BRIDGING_SLIPPAGE as Mo, LOW_AMOUNT_USD_THRESHOLD as No, MIN_DAPP_BRIDGE_AMOUNT_USD as Po } from "./constants/bridging.constants.mjs";
|
|
110
|
+
import { SOLANA_LEDGER_WALLET_ID as Fo } from "./constants/wallet.constants.mjs";
|
|
111
|
+
import { presaleABI as Io, presaleContractInfoByChain as Lo } from "./constants/presale.constants.mjs";
|
|
112
|
+
import { LIFISCAN_URL as Ro, LIFI_SOLANA_CHAIN_ID as zo, getLifiChainId as Bo } from "./constants/lifi.constants.mjs";
|
|
113
|
+
import { oauthUrls as Vo } from "./constants/oauthUrls.constants.mjs";
|
|
114
|
+
import { TVL_CHANGER_ACTIVITY_TYPES as Ho } from "./constants/activity.constants.mjs";
|
|
115
|
+
import { ACHIEVEMENTS as Uo, BROTHERHOOD_TASKS as Wo, DAILY_TASKS as Go, POINTS_BOOST_TASKS as Ko, REFERRAL_BONUS_TASK as qo, REWARDS_TASKS as Jo, WELCOME_TASKS as Yo } from "./constants/tasks.constants.mjs";
|
|
116
|
+
import { EVENTS_INITIAL_BLOCKS as Xo } from "./constants/events.constants.mjs";
|
|
117
|
+
import { APPROVE_FUNCTION_SIGNATURE as Zo, NFT_APPROVE_FUNCTION_SIGNATURE as Qo, NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE as $o, PERMIT2_APPROVE_FUNCTION_SIGNATURE as es } from "./constants/function-signatures.constants.mjs";
|
|
118
|
+
import { OKX_BASE_URL as ts, OKX_SWAP_PATH as ns } from "./constants/okx.constants.mjs";
|
|
119
|
+
import { BANNED_WALLET_IDS as rs } from "./constants/link.constant.mjs";
|
|
120
|
+
import { RELAYER_TX_CONFIRMATION_TIMEOUT as is, TX_CONFIRMATION_CONFIRMATIONS_COUNT as as, TX_CONFIRMATION_TIMEOUT as os, TX_CONFIRMATION_TIMEOUT_EXTENDED as ss } from "./constants/tx-confirmation.constants.mjs";
|
|
121
|
+
import { SCHEDULE_DELAY_OPTIONS as cs } from "./constants/schedule.constants.mjs";
|
|
122
|
+
import { MAX_FILE_SIZE_MB as ls } from "./constants/images.constants.mjs";
|
|
123
|
+
import { RECIPIENT_INFO_TARGET_POOL_SIZE as us } from "./constants/pay.constants.mjs";
|
|
124
124
|
import "./constants/index.mjs";
|
|
125
|
-
import { getDashboardURL as
|
|
126
|
-
import { resolveSns as
|
|
127
|
-
import { emitReferralTx as
|
|
128
|
-
import { storeRecipientInfosViaEnclave as
|
|
125
|
+
import { getDashboardURL as ds, getHinkalLandingURL as fs, getPayURL as ps, getRewardsURL as ms, getWalletOnboardingURL as hs } from "./API/getWebsiteURL.mjs";
|
|
126
|
+
import { resolveSns as gs } from "./API/resolve-sns.mjs";
|
|
127
|
+
import { emitReferralTx as _s, emitTxPublicData as vs } from "./API/admin-calls.mjs";
|
|
128
|
+
import { storeRecipientInfosViaEnclave as ys } from "./API/enclaveRecipientInfoCalls.mjs";
|
|
129
129
|
import "./API/index.mjs";
|
|
130
|
-
import { poseidonFunction as
|
|
131
|
-
import { babyJubInstance as
|
|
132
|
-
import { preProcessing as
|
|
133
|
-
import { convertBigIntToBytes32 as
|
|
134
|
-
import { decrypt as
|
|
130
|
+
import { poseidonFunction as bs, poseidonHash as xs, poseidonHolder as Ss } from "./crypto/poseidon.mjs";
|
|
131
|
+
import { babyJubInstance as Cs, jubHolder as ws } from "./crypto/babyJub.mjs";
|
|
132
|
+
import { preProcessing as Ts } from "./crypto/preProcessing.mjs";
|
|
133
|
+
import { convertBigIntToBytes32 as Es, convertBytes32ToBigInt as Ds } from "./functions/utils/bytes32.utils.mjs";
|
|
134
|
+
import { decrypt as Os, encrypt as ks } from "./crypto/dual-path-ecdh.mjs";
|
|
135
135
|
import "./crypto/index.mjs";
|
|
136
|
-
import { ValueCache as
|
|
137
|
-
import { getCircomSign as
|
|
138
|
-
import { EncryptionKeyPairDefaultValue as
|
|
139
|
-
import { MS_PER_DAY as
|
|
140
|
-
import { Utxo as
|
|
141
|
-
import { abiDecodeUtxo as
|
|
142
|
-
import { decryptUtxo as
|
|
143
|
-
import { buildAnchorStealthAddressStructure as
|
|
144
|
-
import { checkHinkalAccessToken as
|
|
145
|
-
import { ErrorWithAmount as
|
|
146
|
-
import { FeeOverTransactionValueError as
|
|
147
|
-
import { ErrorCategory as
|
|
148
|
-
import { getGenericFeeOverTransactionValueErrorMessage as
|
|
149
|
-
import { SimulationFailureError as
|
|
150
|
-
import { ErrorWithRelayerTransaction as
|
|
151
|
-
import { ErrorWithIndex as
|
|
152
|
-
import { HttpError as
|
|
153
|
-
import { checkAddressNotUpdated as
|
|
154
|
-
import { deserializeDecodedTxs as
|
|
155
|
-
import { getContractAddress as
|
|
156
|
-
import { getFilePath as
|
|
157
|
-
import { makeEnclaveHandshakeAndEncryptInput as
|
|
158
|
-
import { convertPublicKeyToBigint as
|
|
159
|
-
import { addressToHexFormat as
|
|
160
|
-
import { attemptGetInputUtxosRemotely as
|
|
161
|
-
import { logError as
|
|
162
|
-
import { Logger as
|
|
163
|
-
import { capitalizeFirstLetter as
|
|
164
|
-
import { areErc20TokensInRegistry as
|
|
165
|
-
import { tokenVisibilityStorage as
|
|
166
|
-
import { PrivateTokensDB as
|
|
167
|
-
import { getChainBalanceFetchingMutex as
|
|
168
|
-
import { addPaddingToUtxos as
|
|
169
|
-
import { outputUtxoProcessing as
|
|
170
|
-
import { getExternalActionIdFromNumber as
|
|
171
|
-
import { buildInNullifiers as
|
|
172
|
-
import { generateZkProof as
|
|
173
|
-
import { calculateTotalFee as
|
|
174
|
-
import { createCustomSolanaConnection as
|
|
175
|
-
import { requireEnv as
|
|
176
|
-
import { getSequence as
|
|
177
|
-
import { convertIntegrationProviderToExternalActionId as
|
|
178
|
-
import { getInteractionFromAction as
|
|
179
|
-
import { processGasEstimates as
|
|
180
|
-
import { getFlatFees as
|
|
181
|
-
import { extractMessage as
|
|
136
|
+
import { ValueCache as As } from "./data-structures/ValueCache/ValueCache.mjs";
|
|
137
|
+
import { getCircomSign as js, isCircomNegative as Ms } from "./data-structures/crypto-keys/keyUtils.mjs";
|
|
138
|
+
import { EncryptionKeyPairDefaultValue as Ns, UserKeys as Ps, stealthAddressCacheDevice as Fs, stealthPairCacheDevice as Is } from "./data-structures/crypto-keys/keys.mjs";
|
|
139
|
+
import { MS_PER_DAY as Ls, calculateRelativeTime as Rs, formatDate as zs, formatTimestampDate as Bs, formatTxTimestamp as Vs, getCurrentDayStart as Hs, getCurrentTimeInSeconds as Us, getCurrentWeekStart as Ws, getDelayUntilUtc8 as Gs, getEffectiveSevenDaysAgo as Ks, getEffectiveToday as qs, getNextDayDelay as Js, getNextDayISO as Ys, getPreviousWeekStart as Xs, getUtcDayStart as Zs, isSameDay as Qs, isWithinDays as $s, msToISOString as ec, waitLittle as tc } from "./functions/utils/time.utils.mjs";
|
|
140
|
+
import { Utxo as nc } from "./data-structures/utxo/Utxo.mjs";
|
|
141
|
+
import { abiDecodeUtxo as rc, checkUtxoSignature as ic, decodeSolanaOnChainUtxo as ac, decodeUtxo as oc, decodeUtxoConstructorArgs as sc, encodeSolanaOnChainUtxo as cc, isSolanaOnChainUtxo as lc } from "./data-structures/crypto-keys/decodeUTXO.mjs";
|
|
142
|
+
import { decryptUtxo as uc, decryptUtxoConstructorArgs as dc, encryptUtxo as fc } from "./data-structures/crypto-keys/encryptDecryptUtxo.mjs";
|
|
143
|
+
import { buildAnchorStealthAddressStructure as pc, encodeToByte32Array as mc, getAccessTokenAccountPublicKey as hc, getAccessTokenMerkleAccountPublicKey as gc, getAccessTokenStorageAccountPublicKey as _c, getEncryptedOutputsAccountPublicKey as vc, getInstructionsAccountPublicKey as yc, getMerkleAccountPublicKey as bc, getNullifierAccount as xc, getProofAccountPart1PublicKey as Sc, getProofAccountPart2PublicKey as Cc, getStorageAccountPublicKey as wc, getStorageVaultPublicKey as Tc, getSwapperAccountPublicKey as Ec, getSwapperAccountPublicKeyFromSalt as Dc, getTokenLimitStorageAccountPublicKey as Oc } from "./functions/pre-transaction/solana.mjs";
|
|
144
|
+
import { checkHinkalAccessToken as kc } from "./functions/web3/functionCalls/accessTokenCalls.mjs";
|
|
145
|
+
import { ErrorWithAmount as Ac } from "./error-handling/customErrors/ErrorWithAmount.mjs";
|
|
146
|
+
import { FeeOverTransactionValueError as jc } from "./error-handling/customErrors/FeeOverTransactionValueError.mjs";
|
|
147
|
+
import { ErrorCategory as Mc } from "./error-handling/types.mjs";
|
|
148
|
+
import { getGenericFeeOverTransactionValueErrorMessage as Nc, rethrowKnownGasErrorIfPossible as Pc } from "./error-handling/customErrors/customErrors.helpers.mjs";
|
|
149
|
+
import { SimulationFailureError as Fc } from "./error-handling/customErrors/SimulationFailureError.mjs";
|
|
150
|
+
import { ErrorWithRelayerTransaction as Ic } from "./error-handling/customErrors/ErrorWithTx.mjs";
|
|
151
|
+
import { ErrorWithIndex as Lc } from "./error-handling/customErrors/ErrorWithIndex.mjs";
|
|
152
|
+
import { HttpError as Rc } from "./error-handling/customErrors/HttpError.mjs";
|
|
153
|
+
import { checkAddressNotUpdated as zc } from "./functions/utils/upToDateState.mjs";
|
|
154
|
+
import { deserializeDecodedTxs as Bc, serializeDecodedTxs as Vc } from "./functions/utils/getDataFromTransaction.mjs";
|
|
155
|
+
import { getContractAddress as Hc } from "./functions/utils/getContractAddress.mjs";
|
|
156
|
+
import { getFilePath as Uc, getHinkalCache as Wc, getInHinkalAddressesCache as Gc, getInHinkalAddressesFilePath as Kc, loadTxsCache as qc, resetCache as Jc, resetInHinkalAddressesCache as Yc, saveTxsCache as Xc, setHinkalCache as Zc, setInHinkalAddressesCache as Qc } from "./functions/utils/cacheFunctions.mjs";
|
|
157
|
+
import { makeEnclaveHandshakeAndEncryptInput as $c, makeEnclaveHandshakeAndEncryptUint8Array as el } from "./functions/utils/encryptInputForEnclave.mjs";
|
|
158
|
+
import { convertPublicKeyToBigint as tl, formatMintAddress as nl } from "./functions/utils/solanaMint.utils.mjs";
|
|
159
|
+
import { addressToHexFormat as rl, circomDataToArray as il, createTronCallData as al, createTronWeb as ol, detectTronChainIdFromHost as sl, estimateTronFeeSunWithPadding as cl, evmHexToTronBase58Address as ll, fetchTronAccountResources as ul, fetchTronChainParameters as dl, generateProofSignatureRemotely as fl, getAvailableResource as pl, getChainParameterValue as ml, getVerifierId as hl, parseZkCalldata as gl, reorderZkCallData as _l } from "./functions/utils/tron.utils.mjs";
|
|
160
|
+
import { attemptGetInputUtxosRemotely as vl, getInputUtxoAndBalance as yl, getInputUtxoAndBalanceOfStuckUtxos as bl, getInputUtxoAndBalancePerToken as xl, getInputUtxosRemotely as Sl } from "./functions/web3/events/getInputUtxoAndBalance.mjs";
|
|
161
|
+
import { logError as Cl } from "./error-handling/logError.mjs";
|
|
162
|
+
import { Logger as wl } from "./error-handling/logger.mjs";
|
|
163
|
+
import { capitalizeFirstLetter as Tl, capitalizeName as El, getAddressFromStateKey as Dl, getChainIdFromStateKey as Ol, getStateKey as kl, getTokenStateKey as Al, hexToUtf8 as jl, isNullOrEmpty as Ml, replaceAllInstances as Nl, toTitleCase as Pl, validateEmail as Fl } from "./functions/utils/string.utils.mjs";
|
|
164
|
+
import { areErc20TokensInRegistry as Il, checkTokensForShielding as Ll, isSameERC20Token as Rl, validateAndGetChainId as zl } from "./functions/utils/token-check.utils.mjs";
|
|
165
|
+
import { tokenVisibilityStorage as Bl } from "./data-structures/TokenDBs/token-visibility-db.mjs";
|
|
166
|
+
import { PrivateTokensDB as Vl, privateTokensDB as Hl } from "./data-structures/TokenDBs/PrivateTokensDB.mjs";
|
|
167
|
+
import { getChainBalanceFetchingMutex as Ul } from "./functions/utils/mutexes.utils.mjs";
|
|
168
|
+
import { addPaddingToUtxos as Wl, getShieldedBalance as Gl } from "./functions/web3/events/getShieldedBalance.mjs";
|
|
169
|
+
import { outputUtxoProcessing as Kl } from "./functions/pre-transaction/outputUtxoProcessing.mjs";
|
|
170
|
+
import { getExternalActionIdFromNumber as ql, getExternalActionIdHash as Jl } from "./functions/utils/external-action.utils.mjs";
|
|
171
|
+
import { buildInNullifiers as Yl, buildOutCommitments as Xl, calcAccessTokenSiblingAndSidesFromAccessKey as Zl, calcAccessTokenSiblingsAndSides as Ql, calcAmountChanges as $l, calcCommitmentsSiblingAndSides as eu, calcEncryptedOutputs as tu, calcPublicSignalCount as nu, calcStealthAddressStructure as ru, createCallDataHash as iu, deserializeCircomData as au, getSlippageValues as ou, serializeCircomData as su } from "./functions/snarkjs/common.snarkjs.mjs";
|
|
172
|
+
import { generateZkProof as cu } from "./functions/snarkjs/generateZkProof.mjs";
|
|
173
|
+
import { calculateTotalFee as lu, calculateWithdrawalAmount as uu, generateFeeStructure as du, getGasTokenSymbols as fu } from "./functions/utils/fees.utils.mjs";
|
|
174
|
+
import { createCustomSolanaConnection as pu, createJsonRpcProvider as mu } from "./functions/utils/create-provider.mjs";
|
|
175
|
+
import { requireEnv as hu } from "./functions/utils/requireEnv.mjs";
|
|
176
|
+
import { getSequence as gu, promisify as _u, resolveSync as vu } from "./functions/utils/resolve-sync.utils.mjs";
|
|
177
|
+
import { convertIntegrationProviderToExternalActionId as yu } from "./functions/utils/convertIntegrationProviderToExternalActionId.mjs";
|
|
178
|
+
import { getInteractionFromAction as bu } from "./functions/pre-transaction/interaction-to-action.mjs";
|
|
179
|
+
import { processGasEstimates as xu } from "./functions/pre-transaction/process-gas-estimates.mjs";
|
|
180
|
+
import { getFlatFees as Su } from "./functions/pre-transaction/getFlatFees.mjs";
|
|
181
|
+
import { extractMessage as Cu, getErrorMessage as wu, getErrorMessageFromTransactionRequest as Tu } from "./error-handling/get-error.message.mjs";
|
|
182
182
|
import "./error-handling/index.mjs";
|
|
183
|
-
import { TokenChecker as
|
|
184
|
-
import { modifyVolatileTokenAmountChanges as
|
|
185
|
-
import { constructAdminData as
|
|
186
|
-
import { calculateSolanaNullifierCount as
|
|
187
|
-
import { createAndExtendAddressLookupTable as
|
|
188
|
-
import { convertSolanaPublicSignals as
|
|
189
|
-
import { convertOKXToHinkalInstructions as
|
|
190
|
-
import { AccountActions as
|
|
191
|
-
import { getSolanaPriorityFee as
|
|
192
|
-
import { debounce as
|
|
193
|
-
import { ensureAtaExists as
|
|
194
|
-
import { storeProof as
|
|
195
|
-
import { sendInitNullifiersTransaction as
|
|
196
|
-
import { initTokenLimitIfNeeded as
|
|
197
|
-
import { recipientUtxoProcessing as
|
|
198
|
-
import { storeInstructions as
|
|
199
|
-
import { ensureAmountChanges as
|
|
200
|
-
import { getFeeStructure as
|
|
201
|
-
import { getKycAndSignatureData as
|
|
202
|
-
import { waitForDepositedUtxosInMerkleTree as
|
|
203
|
-
import { buildCommitmentValidationData as
|
|
204
|
-
import { getNetworkObject as
|
|
205
|
-
import { browserSupported as
|
|
206
|
-
import { reloadPage as
|
|
207
|
-
import { isNicknameValid as
|
|
208
|
-
import { FileCacheDevice as
|
|
209
|
-
import { LocalStorageCacheDevice as
|
|
210
|
-
import { createCacheDevice as
|
|
211
|
-
import { getBlockExplorerUrl as
|
|
212
|
-
import { uniswapWorkaround as
|
|
213
|
-
import { convertEmporiumOpToCallInfo as
|
|
214
|
-
import { getRecipientInfoFromUserKeys as
|
|
215
|
-
import { getPublicBalance as
|
|
216
|
-
import { rpcIntEncode as
|
|
217
|
-
import { arraysMatch as
|
|
218
|
-
import { trimFieldValues as
|
|
219
|
-
import { hasEnoughBalance as
|
|
220
|
-
import { extractTokenIdsFromAssetChanges as
|
|
221
|
-
import { encodeParsedInLogicMetadata as
|
|
222
|
-
import { getNetworkName as
|
|
223
|
-
import { isValidUrl as
|
|
224
|
-
import { postToOffscreen as
|
|
225
|
-
import { createSigner as
|
|
226
|
-
import { getOnChainUtxosFromReceipt as
|
|
227
|
-
import { getOnChainUtxosFromReceiptSolana as
|
|
228
|
-
import { PROXY_AVATAR_INDEX_COUNT as
|
|
229
|
-
import { validateUsername as
|
|
230
|
-
import { deserializeUtxoConstructorParams as
|
|
231
|
-
import { getUtxosFromEnclave as
|
|
232
|
-
import { getSignatureFromEnclave as
|
|
233
|
-
import { waitForEthereumTransactionConfirmation as
|
|
234
|
-
import { buildClaimableDepositPlan as
|
|
235
|
-
import { mapRecipientRequests as
|
|
236
|
-
import { formatUSDNumber as
|
|
237
|
-
import { simulateTronTransaction as
|
|
238
|
-
import { getProviderFromContract as
|
|
239
|
-
import { depositClaimableUtxos as
|
|
240
|
-
import { transferClaimableUtxos as
|
|
241
|
-
import { getWalletGroupKey as
|
|
242
|
-
import { resetStateMutex as
|
|
243
|
-
import { balanceChangedHandler as
|
|
244
|
-
import { hardRefreshPrivateBalance as
|
|
245
|
-
import { getEquivalentNativeToken as
|
|
246
|
-
import { ensureRecipientInfoPool as
|
|
247
|
-
import { buildOrderIdMemoInstruction as
|
|
248
|
-
import { MerkleTreeIncompleteError as
|
|
249
|
-
import { MerkleTree as
|
|
250
|
-
import { getPatchedAccessTokenMerkleTree as
|
|
251
|
-
import { fetchOnChainRootHashes as
|
|
252
|
-
import { constructZkProof as
|
|
253
|
-
import { hinkalDeposit as
|
|
254
|
-
import { checkEOAWithDelegation as
|
|
255
|
-
import { constructEmporiumProof as
|
|
256
|
-
import { constructSolanaZkProof as
|
|
257
|
-
import { verifyCommitmentValidationData as
|
|
258
|
-
import { prepareDepositOnChainUtxosZkProof as
|
|
259
|
-
import { openPassportWindow as
|
|
260
|
-
import { getTransactionLogEvents as
|
|
261
|
-
import { getUniswapFee as
|
|
262
|
-
import { getOdosPrice as
|
|
263
|
-
import { getOneInchPrice as
|
|
264
|
-
import { getLifiPrice as
|
|
265
|
-
import { createOKXQuote as
|
|
266
|
-
import { runContractFunction as
|
|
267
|
-
import { getTokenHolder as
|
|
268
|
-
import { decodeMessage as
|
|
269
|
-
import { signAndSendSerializedTransaction as
|
|
270
|
-
import { groupConnectorsByWallet as
|
|
271
|
-
import { hmacSha512 as
|
|
272
|
-
import { checkTokenLimitsUSD as
|
|
273
|
-
import { OpType as
|
|
274
|
-
import { createSwapToEmporiumOpForUniswap as
|
|
275
|
-
import { getTokensToDepositBack as
|
|
276
|
-
import { getGasTokenRecords as
|
|
277
|
-
import { selectGasToken as
|
|
278
|
-
import { updateHinkal as
|
|
183
|
+
import { TokenChecker as Eu } from "./data-structures/token-price-fetcher/TokenChecker.mjs";
|
|
184
|
+
import { modifyVolatileTokenAmountChanges as Du } from "./functions/pre-transaction/getVolatileTransferAmount.mjs";
|
|
185
|
+
import { constructAdminData as Ou } from "./functions/pre-transaction/constructAdminData.mjs";
|
|
186
|
+
import { calculateSolanaNullifierCount as ku } from "./functions/pre-transaction/calculateSolanaNullifierCount.mjs";
|
|
187
|
+
import { createAndExtendAddressLookupTable as Au, getAddressLookupTableAccounts as ju } from "./functions/pre-transaction/addressTableLookup.mjs";
|
|
188
|
+
import { convertSolanaPublicSignals as Mu } from "./functions/pre-transaction/solana-public-signals.mjs";
|
|
189
|
+
import { convertOKXToHinkalInstructions as Nu } from "./functions/pre-transaction/convert-okx-instructions.mjs";
|
|
190
|
+
import { AccountActions as Pu } from "./data-structures/AccountActions/AccountActions.mjs";
|
|
191
|
+
import { getSolanaPriorityFee as Fu } from "./functions/web3/getSolanaPriorityFee.mjs";
|
|
192
|
+
import { debounce as Iu, pollForValue as Lu, wait as Ru } from "./functions/utils/process.utils.mjs";
|
|
193
|
+
import { ensureAtaExists as zu, estimateComputeUnitLimit as Bu, fetchSolanaTransaction as Vu, getAccountsFromInstructions as Hu, sendProxyV0Transaction as Uu, sendV0Transaction as Wu, serializeProxyV0Transaction as Gu } from "./functions/pre-transaction/sendV0Transaction.mjs";
|
|
194
|
+
import { storeProof as Ku } from "./functions/pre-transaction/store-proof.mjs";
|
|
195
|
+
import { sendInitNullifiersTransaction as qu } from "./functions/pre-transaction/sendInitNullifiersTransaction.mjs";
|
|
196
|
+
import { initTokenLimitIfNeeded as Ju } from "./functions/pre-transaction/initTokenLimitIfNeeded.mjs";
|
|
197
|
+
import { recipientUtxoProcessing as Yu } from "./functions/pre-transaction/recipientUtxoProcessing.mjs";
|
|
198
|
+
import { storeInstructions as Xu } from "./functions/pre-transaction/store-instructions.mjs";
|
|
199
|
+
import { ensureAmountChanges as Zu } from "./functions/pre-transaction/ensureAmountChanges.mjs";
|
|
200
|
+
import { getFeeStructure as Qu } from "./functions/pre-transaction/getFeeStructure.mjs";
|
|
201
|
+
import { getKycAndSignatureData as $u } from "./functions/pre-transaction/getKycAndSignatureData.mjs";
|
|
202
|
+
import { waitForDepositedUtxosInMerkleTree as ed } from "./functions/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs";
|
|
203
|
+
import { buildCommitmentValidationData as td } from "./functions/pre-transaction/buildCommitmentValidationData.mjs";
|
|
204
|
+
import { getNetworkObject as nd, getNetworkType as rd } from "./functions/utils/evmNetworkFunctions.mjs";
|
|
205
|
+
import { browserSupported as id } from "./functions/utils/userAgent.mjs";
|
|
206
|
+
import { reloadPage as ad } from "./functions/utils/reloadPage.mjs";
|
|
207
|
+
import { isNicknameValid as od } from "./functions/utils/nickname.utils.mjs";
|
|
208
|
+
import { FileCacheDevice as sd } from "./data-structures/cacheDevices/FileCacheDevice.mjs";
|
|
209
|
+
import { LocalStorageCacheDevice as cd } from "./data-structures/cacheDevices/LocalStorageCacheDevice.mjs";
|
|
210
|
+
import { createCacheDevice as ld } from "./functions/utils/cacheDevice.utils.mjs";
|
|
211
|
+
import { getBlockExplorerUrl as ud } from "./functions/utils/getBlockExplorerUrl.mjs";
|
|
212
|
+
import { uniswapWorkaround as dd } from "./functions/utils/involves-permit2-op.mjs";
|
|
213
|
+
import { convertEmporiumOpToCallInfo as fd } from "./functions/utils/convertEmporiumOpToCallInfo.mjs";
|
|
214
|
+
import { getRecipientInfoFromUserKeys as pd } from "./functions/utils/getRecipientInfoFromUserKeys.mjs";
|
|
215
|
+
import { getPublicBalance as md, getPublicBalanceByTokenAddress as hd, getPublicBalancesOfTokens as gd, getPublicTransactionCount as _d, getSolanaPublicBalances as vd } from "./functions/utils/publicBalance.utils.mjs";
|
|
216
|
+
import { rpcIntEncode as yd } from "./functions/utils/rpc-int-encode.mjs";
|
|
217
|
+
import { arraysMatch as bd } from "./functions/utils/arraysMatch.mjs";
|
|
218
|
+
import { trimFieldValues as xd } from "./functions/utils/trimFieldValues.mjs";
|
|
219
|
+
import { hasEnoughBalance as Sd } from "./functions/utils/walletBalances.utils.mjs";
|
|
220
|
+
import { extractTokenIdsFromAssetChanges as Cd } from "./functions/utils/nftTokenFunctions.mjs";
|
|
221
|
+
import { encodeParsedInLogicMetadata as wd } from "./functions/utils/inLogicMetadata.mjs";
|
|
222
|
+
import { getNetworkName as Td } from "./functions/utils/networks.utils.mjs";
|
|
223
|
+
import { isValidUrl as Ed } from "./functions/utils/is-valid-url.mjs";
|
|
224
|
+
import { postToOffscreen as Dd } from "./functions/utils/postToOffscreen.mjs";
|
|
225
|
+
import { createSigner as Od, createVoidSigner as kd, createVoidSolanaWallet as Ad, prepareEthersProviderAdapter as jd, prepareHinkal as Md, prepareHinkalFromSeedPhrases as Nd, prepareHinkalWithSignature as Pd, prepareSolanaProviderAdapter as Fd } from "./functions/utils/prepareHinkal.mjs";
|
|
226
|
+
import { getOnChainUtxosFromReceipt as Id, getOutputCommitmentsFromEvmReceipt as Ld, getUtxosFromReceipt as Rd } from "./functions/utils/getUtxosFromReceipt.utils.mjs";
|
|
227
|
+
import { getOnChainUtxosFromReceiptSolana as zd, getOutputCommitmentsFromSolanaReceipt as Bd, getUtxosFromReceiptSolana as Vd } from "./functions/utils/getUtxosFromReceiptSolana.mjs";
|
|
228
|
+
import { PROXY_AVATAR_INDEX_COUNT as Hd, getRandomProxyAvatarIndex as Ud } from "./functions/utils/proxyAvatar.utils.mjs";
|
|
229
|
+
import { validateUsername as Wd } from "./functions/utils/validateUsername.mjs";
|
|
230
|
+
import { deserializeUtxoConstructorParams as Gd, serializeUtxoConstructorParams as Kd } from "./functions/utils/serialize-utxos.utils.mjs";
|
|
231
|
+
import { getUtxosFromEnclave as qd, storeUtxoInEnclave as Jd } from "./functions/utils/enclave-utxo-storage.mjs";
|
|
232
|
+
import { getSignatureFromEnclave as Yd, storeSignatureInEnclave as Xd } from "./functions/utils/enclave-signature-storage.mjs";
|
|
233
|
+
import { waitForEthereumTransactionConfirmation as Zd, waitForSolanaTransactionConfirmation as Qd, waitForTransactionConfirmation as $d } from "./functions/utils/tx-confirmation.utils.mjs";
|
|
234
|
+
import { buildClaimableDepositPlan as ef } from "./functions/utils/buildClaimableDepositPlan.mjs";
|
|
235
|
+
import { mapRecipientRequests as tf, splitRecipientsByAllocations as nf } from "./functions/utils/pay-routing.utils.mjs";
|
|
236
|
+
import { formatUSDNumber as rf } from "./functions/utils/formatter.mjs";
|
|
237
|
+
import { simulateTronTransaction as af } from "./functions/utils/tronSimulation.utils.mjs";
|
|
238
|
+
import { getProviderFromContract as of, getSignerFromContract as sf } from "./functions/utils/getSignerFromContract.mjs";
|
|
239
|
+
import { depositClaimableUtxos as cf } from "./functions/utils/deposit-claimable.utils.mjs";
|
|
240
|
+
import { transferClaimableUtxos as lf } from "./functions/utils/transfer-claimable.utils.mjs";
|
|
241
|
+
import { getWalletGroupKey as uf } from "./functions/utils/getWalletGroupKey.utils.mjs";
|
|
242
|
+
import { resetStateMutex as df } from "./mutexes/mutex.mjs";
|
|
243
|
+
import { balanceChangedHandler as ff } from "./functions/web3/events/balanceChangedHandler.mjs";
|
|
244
|
+
import { hardRefreshPrivateBalance as pf, initialMerkleAndPrivateBalanceRefresh as mf, refreshPrivateBalance as hf } from "./functions/utils/dispatchBalanceRefreshes.mjs";
|
|
245
|
+
import { getEquivalentNativeToken as gf, getLifiScanURL as _f } from "./functions/utils/lifi.utils.mjs";
|
|
246
|
+
import { ensureRecipientInfoPool as vf } from "./functions/utils/enclave-recipient-info-storage.mjs";
|
|
247
|
+
import { buildOrderIdMemoInstruction as yf, extractOrderIdFromMemos as bf } from "./functions/utils/solana-memo.mjs";
|
|
248
|
+
import { MerkleTreeIncompleteError as xf } from "./data-structures/merkle-tree/MerkleTreeIncompleteError.mjs";
|
|
249
|
+
import { MerkleTree as Sf } from "./data-structures/merkle-tree/MerkleTree.mjs";
|
|
250
|
+
import { getPatchedAccessTokenMerkleTree as Cf } from "./data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs";
|
|
251
|
+
import { fetchOnChainRootHashes as wf } from "./functions/snarkjs/fetchOnChainRootHashes.mjs";
|
|
252
|
+
import { constructZkProof as Tf } from "./functions/snarkjs/constructGeneralZkProof.mjs";
|
|
253
|
+
import { hinkalDeposit as Ef, hinkalDepositForOther as Df } from "./data-structures/Hinkal/hinkalDeposit.mjs";
|
|
254
|
+
import { checkEOAWithDelegation as Of, createApproveEmporiumOp as kf, createLifiBridgeOps as Af, createTransaferEmporiumOpsBatch as jf, createTransferToEmporiumOp as Mf, decodeEmporiumMetadata as Nf, emporiumOp as Pf, encodeEmporiumMetadata as Ff, generateFundAndApproveOps as If, getAuthorizationDataIfNeeded as Lf, recoverAuthorizationData as Rf } from "./functions/private-wallet/emporium.helpers.mjs";
|
|
255
|
+
import { constructEmporiumProof as zf } from "./functions/snarkjs/constructEmporiumProof.mjs";
|
|
256
|
+
import { constructSolanaZkProof as Bf } from "./functions/snarkjs/constructSolanaZkProof.mjs";
|
|
257
|
+
import { verifyCommitmentValidationData as Vf, verifyCommitmentValidationDataSolana as Hf } from "./functions/snarkjs/verifyCommitmentValidationData.mjs";
|
|
258
|
+
import { prepareDepositOnChainUtxosZkProof as Uf } from "./data-structures/Hinkal/prepareDepositOnChainUtxosZkProof.mjs";
|
|
259
|
+
import { openPassportWindow as Wf } from "./functions/kyc/passportHelper.mjs";
|
|
260
|
+
import { getTransactionLogEvents as Gf } from "./functions/web3/events/getTransactionLogEvents.mjs";
|
|
261
|
+
import { getUniswapFee as Kf, getUniswapPrice as qf, getUniswapPriceHelper as Jf, searchPoolAndFee as Yf } from "./functions/web3/uniswapAPI.mjs";
|
|
262
|
+
import { getOdosPrice as Xf } from "./functions/web3/odosAPI.mjs";
|
|
263
|
+
import { getOneInchPrice as Zf } from "./functions/web3/oneInchAPI.mjs";
|
|
264
|
+
import { getLifiPrice as Qf } from "./functions/web3/lifiAPI.mjs";
|
|
265
|
+
import { createOKXQuote as $f, getOKXPrice as ep } from "./functions/web3/okxAPI.mjs";
|
|
266
|
+
import { runContractFunction as tp } from "./functions/web3/runContractFunction.mjs";
|
|
267
|
+
import { getTokenHolder as np } from "./functions/web3/getTokenHolder.mjs";
|
|
268
|
+
import { decodeMessage as rp, getDecodedMessage as ip, getPermitInfo as ap } from "./functions/web3/EIP-712.mjs";
|
|
269
|
+
import { signAndSendSerializedTransaction as op } from "./functions/web3/signAndSendSerializedTransaction.mjs";
|
|
270
|
+
import { groupConnectorsByWallet as sp, isInjectedConnector as cp, isMockConnector as lp, isSolanaConnector as up, isTronConnector as dp } from "./functions/web3/connectors.utils.mjs";
|
|
271
|
+
import { hmacSha512 as fp } from "./functions/web3/crypto.mjs";
|
|
272
|
+
import { checkTokenLimitsUSD as pp } from "./functions/kyc/checkTokenLimitsUSD.mjs";
|
|
273
|
+
import { OpType as mp, produceOp as hp } from "./functions/private-wallet/opProducer.mjs";
|
|
274
|
+
import { createSwapToEmporiumOpForUniswap as gp, createSwapToEmporiumOps as _p } from "./functions/private-wallet/emporium.swap.helpers.mjs";
|
|
275
|
+
import { getTokensToDepositBack as vp } from "./functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.mjs";
|
|
276
|
+
import { getGasTokenRecords as yp } from "./functions/auto-deposit-back-helpers/get-gas-token-records.mjs";
|
|
277
|
+
import { selectGasToken as bp } from "./functions/auto-deposit-back-helpers/select-gas-token.mjs";
|
|
278
|
+
import { updateHinkal as xp } from "./functions/auto-deposit-back-helpers/update-hinkal.mjs";
|
|
279
279
|
import "./functions/index.mjs";
|
|
280
|
-
import { hinkalDepositAndWithdraw as
|
|
281
|
-
import { hinkalSwap as
|
|
282
|
-
import { hinkalWithdraw as
|
|
283
|
-
import { AbstractEventService as
|
|
284
|
-
import { AbstractSnapshotService as
|
|
285
|
-
import { AbstractAccessTokenSnapshotService as
|
|
286
|
-
import { AbstractCommitmentsSnapshotService as
|
|
287
|
-
import { AbstractNullifierSnapshotService as
|
|
288
|
-
import { BlockchainEvent as
|
|
289
|
-
import { BlockchainEventEmitter as
|
|
290
|
-
import { PollingBlockchainEventEmitter as
|
|
291
|
-
import { ClientBlockchainEventEmitter as
|
|
292
|
-
import { SolanaBlockchainEventEmitter as
|
|
293
|
-
import { ClientSolanaBlockchainEventEmitter as
|
|
294
|
-
import { PollingSolanaBlockchainEventEmitter as
|
|
295
|
-
import { AbstractSolanaEventService as
|
|
296
|
-
import { AbstractSolanaSnapshotService as
|
|
297
|
-
import { AbstractSolanaNullifierSnapshotService as
|
|
298
|
-
import { AbstractSolanaCommitmentsSnapshotService as
|
|
299
|
-
import { AbstractSolanaAccessTokenSnapshotService as
|
|
300
|
-
import { SnapshotFetcherService as
|
|
301
|
-
import { ClientSolanaCommitmentsSnapshotService as
|
|
302
|
-
import { ClientSolanaNullifierSnapshotService as
|
|
303
|
-
import { ClientSolanaAccessTokenSnapshotService as
|
|
304
|
-
import { ClientAccessTokenSnapshotService as
|
|
305
|
-
import { ClientCommitmentsSnapshotService as
|
|
306
|
-
import { ClientNullifierSnapshotService as
|
|
307
|
-
import { resetMerkleTrees as
|
|
308
|
-
import { MultiThreadedUtxoUtils as
|
|
309
|
-
import { ActivityStorage as
|
|
310
|
-
import { publicBalancesStorage as
|
|
311
|
-
import { privateBalancesStorage as
|
|
312
|
-
import { pricesStorage as
|
|
313
|
-
import { contactStorage as
|
|
314
|
-
import { signedMessagesStorage as
|
|
315
|
-
import { payActivityStorage as
|
|
316
|
-
import { hinkalPrivateWallet as
|
|
317
|
-
import { ArcPublicTokensDB as
|
|
318
|
-
import { PublicTokensDB as
|
|
319
|
-
import { hinkalProxySwap as
|
|
320
|
-
import { hinkalTransfer as
|
|
321
|
-
import { buildMultiPaymentDepositBuilder as
|
|
322
|
-
import { buildSolanaTransferPlan as
|
|
323
|
-
import { getSolanaProxySendSerializedTransaction as
|
|
324
|
-
import { getSolanaProxySwapSerializedTransaction as
|
|
325
|
-
import { getSolanaProxyShieldSerializedTransaction as
|
|
326
|
-
import { hinkalClaimUtxo as
|
|
327
|
-
import { hinkalSolanaProoflessDeposit as
|
|
328
|
-
import { hinkalSolanaClaimUtxo as
|
|
329
|
-
import { hinkalWithdrawStuckUtxos as
|
|
330
|
-
import { Hinkal as
|
|
331
|
-
import { hinkalPalSolanaDepositPrepare as
|
|
332
|
-
import { hinkalPalEvmDepositPrepare as
|
|
333
|
-
import { TransactionType as
|
|
334
|
-
import { PresaleContractWrapper as
|
|
335
|
-
import { EventsPublicApprovalsDB as
|
|
280
|
+
import { hinkalDepositAndWithdraw as Sp, hinkalWithdrawBatch as Cp } from "./data-structures/Hinkal/hinkalDepositAndWithdraw.mjs";
|
|
281
|
+
import { hinkalSwap as wp } from "./data-structures/Hinkal/hinkalSwap.mjs";
|
|
282
|
+
import { hinkalWithdraw as Tp } from "./data-structures/Hinkal/hinkalWithdraw.mjs";
|
|
283
|
+
import { AbstractEventService as Ep } from "./data-structures/event-service/evm/AbstractEventService.mjs";
|
|
284
|
+
import { AbstractSnapshotService as Dp } from "./data-structures/event-service/evm/AbstractSnapshotService.mjs";
|
|
285
|
+
import { AbstractAccessTokenSnapshotService as Op } from "./data-structures/event-service/evm/AbstractAccessTokenSnapshotService.mjs";
|
|
286
|
+
import { AbstractCommitmentsSnapshotService as kp } from "./data-structures/event-service/evm/AbstractCommitmentsSnapshotService.mjs";
|
|
287
|
+
import { AbstractNullifierSnapshotService as Ap } from "./data-structures/event-service/evm/AbstractNullifierSnapshotService.mjs";
|
|
288
|
+
import { BlockchainEvent as jp } from "./data-structures/BlockchainEvent/BlockchainEvent.mjs";
|
|
289
|
+
import { BlockchainEventEmitter as Mp } from "./data-structures/event-service/evm/BlockchainEventEmitter.mjs";
|
|
290
|
+
import { PollingBlockchainEventEmitter as Np } from "./data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs";
|
|
291
|
+
import { ClientBlockchainEventEmitter as Pp } from "./data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs";
|
|
292
|
+
import { SolanaBlockchainEventEmitter as Fp } from "./data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs";
|
|
293
|
+
import { ClientSolanaBlockchainEventEmitter as Ip } from "./data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.mjs";
|
|
294
|
+
import { PollingSolanaBlockchainEventEmitter as Lp } from "./data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs";
|
|
295
|
+
import { AbstractSolanaEventService as Rp } from "./data-structures/event-service/solana/AbstractSolanaEventService.mjs";
|
|
296
|
+
import { AbstractSolanaSnapshotService as zp } from "./data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs";
|
|
297
|
+
import { AbstractSolanaNullifierSnapshotService as Bp } from "./data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs";
|
|
298
|
+
import { AbstractSolanaCommitmentsSnapshotService as Vp } from "./data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs";
|
|
299
|
+
import { AbstractSolanaAccessTokenSnapshotService as Hp } from "./data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs";
|
|
300
|
+
import { SnapshotFetcherService as Up } from "./data-structures/snapshot/SnapshotFetcherService.mjs";
|
|
301
|
+
import { ClientSolanaCommitmentsSnapshotService as Wp } from "./data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs";
|
|
302
|
+
import { ClientSolanaNullifierSnapshotService as Gp } from "./data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs";
|
|
303
|
+
import { ClientSolanaAccessTokenSnapshotService as Kp } from "./data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs";
|
|
304
|
+
import { ClientAccessTokenSnapshotService as qp } from "./data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs";
|
|
305
|
+
import { ClientCommitmentsSnapshotService as Jp } from "./data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs";
|
|
306
|
+
import { ClientNullifierSnapshotService as Yp } from "./data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs";
|
|
307
|
+
import { resetMerkleTrees as Xp } from "./data-structures/Hinkal/resetMerkleTrees.mjs";
|
|
308
|
+
import { MultiThreadedUtxoUtils as Zp } from "./data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs";
|
|
309
|
+
import { ActivityStorage as Qp, activityStorage as $p } from "./data-structures/IndexedDB/activity-db.mjs";
|
|
310
|
+
import { publicBalancesStorage as em } from "./data-structures/IndexedDB/balances-db.mjs";
|
|
311
|
+
import { privateBalancesStorage as tm } from "./data-structures/IndexedDB/private-balances-db.mjs";
|
|
312
|
+
import { pricesStorage as nm } from "./data-structures/IndexedDB/prices-db.mjs";
|
|
313
|
+
import { contactStorage as rm } from "./data-structures/IndexedDB/contact-db.mjs";
|
|
314
|
+
import { signedMessagesStorage as im } from "./data-structures/IndexedDB/signatures-db.mjs";
|
|
315
|
+
import { payActivityStorage as am } from "./data-structures/IndexedDB/pay-activity-db.mjs";
|
|
316
|
+
import { hinkalPrivateWallet as om } from "./data-structures/Hinkal/hinkalPrivateWallet.mjs";
|
|
317
|
+
import { ArcPublicTokensDB as sm, arcPublicTokensDB as cm } from "./data-structures/TokenDBs/ArcPublicTokensDB.mjs";
|
|
318
|
+
import { PublicTokensDB as lm, publicTokensDB as um } from "./data-structures/TokenDBs/PublicTokensDB.mjs";
|
|
319
|
+
import { hinkalProxySwap as dm } from "./data-structures/Hinkal/hinkalProxySwap.mjs";
|
|
320
|
+
import { hinkalTransfer as fm } from "./data-structures/Hinkal/hinkalTransfer.mjs";
|
|
321
|
+
import { buildMultiPaymentDepositBuilder as pm, buildMultiPaymentDepositSetup as mm, hinkalSolanaDepositAndWithdraw as hm, hinkalSolanaWithdrawBatch as gm } from "./data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs";
|
|
322
|
+
import { buildSolanaTransferPlan as _m, hinkalSolanaTransfer as vm } from "./data-structures/Hinkal/hinkalSolanaTransfer.mjs";
|
|
323
|
+
import { getSolanaProxySendSerializedTransaction as ym, hinkalSolanaProxySend as bm } from "./data-structures/Hinkal/hinkalSolanaProxySend.mjs";
|
|
324
|
+
import { getSolanaProxySwapSerializedTransaction as xm, hinkalSolanaProxySwap as Sm } from "./data-structures/Hinkal/hinkalSolanaProxySwap.mjs";
|
|
325
|
+
import { getSolanaProxyShieldSerializedTransaction as Cm, hinkalSolanaProxyShield as wm } from "./data-structures/Hinkal/hinkalSolanaProxyShield.mjs";
|
|
326
|
+
import { hinkalClaimUtxo as Tm } from "./data-structures/Hinkal/hinkalClaimUtxo.mjs";
|
|
327
|
+
import { hinkalSolanaProoflessDeposit as Em } from "./data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs";
|
|
328
|
+
import { hinkalSolanaClaimUtxo as Dm } from "./data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs";
|
|
329
|
+
import { hinkalWithdrawStuckUtxos as Om } from "./data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs";
|
|
330
|
+
import { Hinkal as km } from "./data-structures/Hinkal/Hinkal.mjs";
|
|
331
|
+
import { hinkalPalSolanaDepositPrepare as Am } from "./data-structures/Hinkal/hinkalPalSolanaDepositPrepare.mjs";
|
|
332
|
+
import { hinkalPalEvmDepositPrepare as jm } from "./data-structures/Hinkal/hinkalPalEvmDeposit.mjs";
|
|
333
|
+
import { TransactionType as Mm } from "./data-structures/transactions-manager/history/history.types.mjs";
|
|
334
|
+
import { PresaleContractWrapper as Nm } from "./data-structures/presale/PresaleContractWrapper.mjs";
|
|
335
|
+
import { EventsPublicApprovalsDB as Pm, eventsPublicApprovalsDB as Fm } from "./data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs";
|
|
336
336
|
import "./data-structures/index.mjs";
|
|
337
337
|
import "./mutexes/index.mjs";
|
|
338
|
-
export { ra as ACCESS_TOKEN_MINTING_POINTS, ia as ACCESS_TOKEN_RECLAIM_POINTS, Vo as ACHIEVEMENTS, Ki as AIPRISE_KYB_TEMPLATE_ID_PROD, qi as AIPRISE_KYC_TEMPLATE_ID_PROD, P as ALCHEMY_API_KEY, F as ALCHEMY_TEST_KEY, Yr as API, an as API_CONFIG, s as APPROVED_UTXO_CONVERSION_COUNT, Yo as APPROVE_FUNCTION_SIGNATURE, ne as ARC_TESTNET_USDC_ADDRESS, Ep as AbstractAccessTokenSnapshotService, Dp as AbstractCommitmentsSnapshotService, wp as AbstractEventService, Op as AbstractNullifierSnapshotService, Tp as AbstractSnapshotService, Bp as AbstractSolanaAccessTokenSnapshotService, zp as AbstractSolanaCommitmentsSnapshotService, Ip as AbstractSolanaEventService, Rp as AbstractSolanaNullifierSnapshotService, Lp as AbstractSolanaSnapshotService, Mu as AccountActions, Pt as AchievementTiers, wt as ActivityStatus, Xp as ActivityStorage, Tt as ActivityTypes, Ct as AdminTransactionType, bi as AmTokenABI, ht as ApprovalType, am as ArcPublicTokensDB, re as AssetChangeType, Dn as BACK_END_URL, ts as BANNED_WALLET_IDS, Xe as BPS_DENOMINATOR, I as BRIDGE_SUPPORTED_CHAINS, Oo as BRIDGING_URLS, Ho as BROTHERHOOD_TASKS, xi as BUSDABI, ji as BabABI, Zn as BasicHttpClient, kp as BlockchainEvent, Ap as BlockchainEventEmitter, Ft as BrotherhoodTaskTypes, aa as CERTIFICATION_DISABLE_WEEK, ie as CIRCOM_MERKLE_LENGTH, ae as CIRCOM_P, oe as CIRCOM_P_HALF, Pn as COINGECKO_API_KEY, se as COMPUTE_UNIT_PADDING_PERCENTAGE, Ht as CallsStatus, Gp as ClientAccessTokenSnapshotService, Mp as ClientBlockchainEventEmitter, Kp as ClientCommitmentsSnapshotService, qp as ClientNullifierSnapshotService, Wp as ClientSolanaAccessTokenSnapshotService, Pp as ClientSolanaBlockchainEventEmitter, Hp as ClientSolanaCommitmentsSnapshotService, Up as ClientSolanaNullifierSnapshotService, Fn as CoinGeckoChainLabels, Wt as ConfirmationRequestType, a as ContractType, b as CustomJSONParse, x as CustomJSONStringify, Uo as DAILY_TASKS, ce as DASHBOARD_BATCH_VARIABLE_RATE, le as DASHBOARD_SEND_VARIABLE_RATE, on as DATA_SERVER_CONFIG, On as DATA_SERVER_URL, sn as DATA_SERVER_URL_ENDPOINT, cn as DATA_SERVER_URL_LOCAL, ko as DEFAULT_BRIDGING_SLIPPAGE, w as DEPLOYMENT_MODE, ka as DIRECTLY_SHOW_MESSAGE_ERROR_CODES, en as DeliveryMethod, Kt as DepositAndWithdrawPhase, Et as DexProviders, ue as EIP1271_FAILURE, de as EIP1271_SUCCESS, Mi as ERC1155ABI, Ni as ERC20ABI, Pi as ERC721ABI, Jo as EVENTS_INITIAL_BLOCKS, L as EVM_CHAIN_IDS, Ze as EXTENDED_NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS, js as EncryptionKeyPairDefaultValue, Ac as ErrorCategory, Oc as ErrorWithAmount, Fc as ErrorWithIndex, Pc as ErrorWithRelayerTransaction, c as EthereumNetworkType, Yt as EventCategory, tt as EventType, Mm as EventsPublicApprovalsDB, o as ExternalActionId, R as FILTER_CHAIN_MAP, kn as FUND_COMPLIANCE_URL, ln as FUND_COMPLIANCE_URL_ENDPOINT, un as FUND_COMPLIANCE_URL_LOCAL, kc as FeeOverTransactionValueError, ad as FileCacheDevice, Fi as GalxeABI, Ut as GetCallsStatusCode, z as HELIUS_RPC_URL, qr as HINKAL_DASHBOARD_TOKEN, fe as HINKAL_DEPOSIT_AND_WITHDRAW_VARIABLE_RATE, pe as HINKAL_PRIVATE_SEND_VARIABLE_RATE, B as HINKAL_SUPPORTED_CHAINS, me as HINKAL_SWAP_VARIABLE_RATE, Dm as Hinkal, nt as HinkalLogicAction, Ic as HttpError, ri as IMAGE_PATHS, rt as INTERACTION, Ii as ISwapRouterABI, it as IntegrationProvider, Dt as IntegrationProviderNames, Ji as KYC_LIMIT, ut as KycVerificationResult, dt as KycVerificationStatus, Io as LIFISCAN_URL, Lo as LIFI_SOLANA_CHAIN_ID, Ao as LOW_AMOUNT_BRIDGING_SLIPPAGE, jo as LOW_AMOUNT_USD_THRESHOLD, od as LocalStorageCacheDevice, Sl as Logger, at as LoginMessageMode, he as MAX_COMPUTE_UNIT_LIMIT, Do as MAX_DISPLAY_DECIMALS, ss as MAX_FILE_SIZE_MB, ge as MAX_MICRO_LAMPORTS_PER_CU, _e as MERKLE_LEVELS, ve as MIN_COMPUTE_UNIT_LIMIT, Mo as MIN_DAPP_BRIDGE_AMOUNT_USD, Fs as MS_PER_DAY, tn as MemberRole, Rt as MemberStatus, bf as MerkleTree, yf as MerkleTreeIncompleteError, Gt as MessagesFromOffscreen, Jt as MoonPayCurrencyType, Yp as MultiThreadedUtxoUtils, wa as NATIVE_TOKEN_WRAPPER_ADDRESSES, na as NETWORKS, ye as NFT_1155_TRANSACTION_TYPE, be as NFT_721_TRANSACTION_TYPE, Xo as NFT_APPROVE_FUNCTION_SIGNATURE, Zo as NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE, xe as NFT_TRANSACTION_TYPES, Qe as NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS, uo as NativeTokenSymbols, l as NetworkFilterType, Ai as NodeInterfaceABI, $o as OKX_BASE_URL, es as OKX_SWAP_PATH, xt as OldPointType, fp as OpType, Se as PAY_SEND_VARIABLE_RATE, Qo as PERMIT2_APPROVE_FUNCTION_SIGNATURE, dn as PLAYGROUND_URL, Wo as POINTS_BOOST_TASKS, fn as PRODUCTION_URL, Ce as PROOFLESS_DEPOSIT_FEE_RECIPIENT_INFO, we as PROVER_VERSION, Bd as PROXY_AVATAR_INDEX_COUNT, ft as Passports, Xt as PayActivityStatus, Zt as PayActivityTypes, nn as PayoutStatus, rn as PayoutType, Bt as PointsType, jp as PollingBlockchainEventEmitter, Fp as PollingSolanaBlockchainEventEmitter, fo as PopularTokenSymbols, jm as PresaleContractWrapper, At as PrivateBalanceUpdateType, zl as PrivateTokensDB, sm as PublicTokensDB, cs as RECIPIENT_INFO_TARGET_POOL_SIZE, Yi as RECLAIM_MESSAGE_TO_SIGN, Go as REFERRAL_BONUS_TASK, Te as RELAYERS_ARRAY, Ee as RELAYER_ADDRESS1, De as RELAYER_ADDRESS2, Oe as RELAYER_ADDRESS3, pn as RELAYER_CONFIG, ns as RELAYER_TX_CONFIRMATION_TIMEOUT, An as RELAYER_URL, mn as RELAYER_URL_ENDPOINT, hn as RELAYER_URL_LOCAL, oa as REWARDS_ENCRYPTION_PASSWORD, sa as REWARDS_MESSAGE_TO_SIGN, Ko as REWARDS_TASKS, ca as REWARD_RECEIVABLE_TOKEN_SYMBOLS, St as RafflePrizeType, zt as Rank, Xi as ReclaimPassports, e as RevokeType, os as SCHEDULE_DELAY_OPTIONS, jn as SERVER_URL, gn as SERVER_URL_ENDPOINT, _n as SERVER_URL_LOCAL, Mn as SNAPSHOT_SERVER_URL, vn as SNAPSHOT_SERVER_URL_ENDPOINT, yn as SNAPSHOT_SERVER_URL_LOCAL, ke as SOLANA_BLOCKHEIGHT_EXPIRED_RETRY_COUNT, V as SOLANA_CHAIN_IDS, No as SOLANA_LEDGER_WALLET_ID, Ae as SOLANA_LOCKED_ACCOUNTS_LIMIT, je as SOLANA_LOOKUP_TABLE_VISIBILITY_MAX_POLL_ATTEMPTS, Me as SOLANA_LOOKUP_TABLE_VISIBILITY_POLL_INTERVAL_MS, Ne as SOLANA_NFT_INTERFACES, po as SOLANA_PAY_DASHBOARD_SUPPORTED_TOKEN_SYMBOLS, Pe as SOLANA_PUBLIC_INPUT_PART_ONE_LENGTH, bn as STAGING_URL, Ta as SWAP_FEE_TAKER_ADDRESSES, Ea as SWAP_ROUTER_ADDRESSES, $t as ScheduleDelayOption, qt as ScheduledTransactionStatus, Nc as SimulationFailureError, gt as SlippageType, Vp as SnapshotFetcherService, Np as SolanaBlockchainEventEmitter, Zi as StandardPassports, jt as StorageKeys, Qi as SupportedPassports, $e as TEN_PERCENT_BPS, To as TOKEN_LIMITS, Mt as TOKEN_PRICE_STATUS, Fe as TOKEN_VALUE_UNLIMITED_THRESHOLD, H as TRON_CHAIN_IDS, Ie as TRON_DEFAULT_FEE_LIMIT_SUN, Le as TRON_TESTNET_USDT_ADDRESS, Re as TRON_USDT_ADDRESS, Bo as TVL_CHANGER_ACTIVITY_TYPES, rs as TX_CONFIRMATION_CONFIRMATIONS_COUNT, is as TX_CONFIRMATION_TIMEOUT, as as TX_CONFIRMATION_TIMEOUT_EXTENDED, It as TaskCategory, Lt as TaskTypes, Ot as TokenChangeType, wu as TokenChecker, Nt as TokenPriceTimeframe, ze as TokenType, Vt as TradingType, _t as TransactionAction, vt as TransactionReceiptStatus, kt as TransactionRequestType, yt as TransactionStatus, Am as TransactionType, Qt as TransferVisibility, wi as USDCABI, Ei as USDR3CRVABI, Ti as USDRABI, Di as USDTABI, Aa as UserFriendlyErrorCodes, Ms as UserKeys, ot as UserProgress, ec as Utxo, xn as VERIFICATION_ROUTES, pt as VERIFICATION_TYPE, Os as ValueCache, mt as VerificationTypes, Nn as WAAS_URL, Sn as WAAS_URL_ENDPOINT, Cn as WAAS_URL_LOCAL, Xr as WALLET_API, U as WALLET_SUPPORTED_CHAINS, wn as WALLET_TASK_VERIFICATION_TYPES, qo as WELCOME_TASKS, Oi as WETHABI, Da as WETH_ERC20_TOKEN_ADDRESS, Oa as WRAPPER_TOKEN_EXCHANGE_ADDRESSES, tc as abiDecodeUtxo, Ga as absBigInt, Zp as activityStorage, Hl as addPaddingToUtxos, Hr as addTemporaryWalletNonce, tl as addressToHexFormat, Ka as advancedToBigInt, ho as aggregateTokenChanges, $i as aipriseBaseOnboardingProductionUrl, ea as aipriseBaseOnboardingSandboxUrl, Gr as allocatePrivateSendRecipientInfos, _a as allowanceHolder, u as arbMainnetData, oi as arbMainnetRegistry, si as arbMainnetRegistryFixed, om as arcPublicTokensDB, g as arcTestnetData, ci as arcTestnetRegistry, Pl as areErc20TokensInRegistry, vd as arraysMatch, gl as attemptGetInputUtxosRemotely, xs as babyJubInstance, Tn as backendVersion, uf as balanceChangedHandler, m as baseData, li as baseRegistry, ui as baseRegistryFixed, qa as beepsToPercentage, Ja as bigintMax, ha as blockReorgDepth, la as boostAmounts, nd as browserSupported, dc as buildAnchorStealthAddressStructure, Qd as buildClaimableDepositPlan, $u as buildCommitmentValidationData, ql as buildInNullifiers, dm as buildMultiPaymentDepositBuilder, fm as buildMultiPaymentDepositSetup, _f as buildOrderIdMemoInstruction, Jl as buildOutCommitments, hm as buildSolanaTransferPlan, Yl as calcAccessTokenSiblingAndSidesFromAccessKey, Xl as calcAccessTokenSiblingsAndSides, Zl as calcAmountChanges, Ql as calcCommitmentsSiblingAndSides, $l as calcEncryptedOutputs, eu as calcPublicSignalCount, tu as calcStealthAddressStructure, Ya as calculateAmountUsingBeeps, Fa as calculateDollarValue, Is as calculateRelativeTime, Du as calculateSolanaNullifierCount, Xa as calculateSum, su as calculateTotalFee, cu as calculateWithdrawalAmount, ni as callLifiAPI, $n as callOneInchAPI, er as callRelayerSolanaTransactBatchAPI, tr as callRelayerTransactAPI, nr as callRelayerTransactBatchAPI, Cl as capitalizeFirstLetter, wl as capitalizeName, Cr as caseInsensitiveEqual, W as chainIds, G as chainIdsByType, mo as chainNativeTokenSymbol, Lc as checkAddressNotUpdated, Ef as checkEOAWithDelegation, Dc as checkHinkalAccessToken, or as checkRisk, dp as checkTokenLimitsUSD, Fl as checkTokensForShielding, nc as checkUtxoSignature, nl as circomDataToArray, In as coingeckoPriceUrl, Ln as coingeckoPriceUrl2, Rn as coingeckoTokenListUrl, Eu as constructAdminData, Lf as constructEmporiumProof, Rf as constructSolanaZkProof, Er as constructStealthAddressStructure, Cf as constructZkProof, tm as contactStorage, zi as contractMetadataMapping, ws as convertBigIntToBytes32, Ts as convertBytes32ToBigInt, ud as convertEmporiumOpToCallInfo, _u as convertIntegrationProviderToExternalActionId, ju as convertOKXToHinkalInstructions, $c as convertPublicKeyToBigint, Au as convertSolanaPublicSignals, Za as countTotalAmountInUtxos, Ou as createAndExtendAddressLookupTable, Df as createApproveEmporiumOp, mr as createBrotherhood, sd as createCacheDevice, nu as createCallDataHash, du as createCustomSolanaConnection, fu as createJsonRpcProvider, Of as createLifiBridgeOps, Zf as createOKXQuote, Ed as createSigner, mp as createSwapToEmporiumOpForUniswap, hp as createSwapToEmporiumOps, kf as createTransaferEmporiumOpsBatch, Af as createTransferToEmporiumOp, rl as createTronCallData, il as createTronWeb, Dd as createVoidSigner, Od as createVoidSolanaWallet, K as currentTronChainId, Wa as customTokenRegistry, Si as daiABI, Pu as debounce, jf as decodeEmporiumMetadata, tp as decodeMessage, rc as decodeSolanaOnChainUtxo, ic as decodeUtxo, ac as decodeUtxoConstructorArgs, Es as decrypt, cc as decryptUtxo, lc as decryptUtxoConstructorArgs, st as defaultFeeStructure, et as defaultFeeToken, ct as defaultHinkalLogicArgs, t as defaultHookData, n as defaultHookDataArray, Be as defaultSignatureData, r as defaultStealthAddressStructure, lt as defaultUseApprovalUTXOData, T as deploymentMode, En as deploymentModeWithVersion, of as depositClaimableUtxos, ru as deserializeCircomData, Rc as deserializeDecodedTxs, Ud as deserializeUtxoConstructorParams, al as detectTronChainIdFromHost, hr as editBrotherhood, hs as emitReferralTx, gs as emitTxPublicData, Mf as emporiumOp, bt as emptyDecodedTx, i as emptyStealthAddressStructure, Nf as encodeEmporiumMetadata, Sd as encodeParsedInLogicMetadata, oc as encodeSolanaOnChainUtxo, fc as encodeToByte32Array, Ds as encrypt, uc as encryptUtxo, Yu as ensureAmountChanges, Lu as ensureAtaExists, gf as ensureRecipientInfoPool, Ru as estimateComputeUnitLimit, ol as estimateTronFeeSunWithPadding, d as ethMainnetData, di as ethMainnetRegistry, fi as ethMainnetRegistryFixed, Ia as ethToWei, Ve as ethVolatileAddress, Nm as eventsPublicApprovalsDB, sl as evmHexToTronBase58Address, xu as extractMessage, vf as extractOrderIdFromMemos, xd as extractTokenIdsFromAssetChanges, Li as factoryABI, Sf as fetchOnChainRootHashes, zu as fetchSolanaTransaction, cl as fetchTronAccountResources, ll as fetchTronChainParameters, Qa as fixDecimalsAmount, Dr as formatAddress, $a as formatAmountInput, Ls as formatDate, el as formatMintAddress, Rs as formatTimestampDate, go as formatTokenChangesList, zs as formatTxTimestamp, tf as formatUSDNumber, ja as gasErrorCodes, fr as generateAumPoints, lu as generateFeeStructure, Pf as generateFundAndApproveOps, ul as generateProofSignatureRemotely, pr as generateTradingPoints, ou as generateZkProof, pc as getAccessTokenAccountPublicKey, mc as getAccessTokenMerkleAccountPublicKey, hc as getAccessTokenStorageAccountPublicKey, Bu as getAccountsFromInstructions, Tl as getAddressFromStateKey, ku as getAddressLookupTableAccounts, La as getAmountInToken, Ra as getAmountInWei, za as getAmountInWeiOrZero, Ba as getAmountWithPrecision, Va as getAmountWithPrecisionOrZero, Jr as getAuthHeaders, Ff as getAuthorizationDataIfNeeded, dl as getAvailableResource, cd as getBlockExplorerUrl, gr as getBrotherhood, _r as getBrotherhoodUsers, Vl as getChainBalanceFetchingMutex, El as getChainIdFromStateKey, fl as getChainParameterValue, ks as getCircomSign, zn as getCoinByAddress, Bn as getCoinById, Vn as getCoinMarketChartByTokenId, Hn as getCoingeckoIdForNativeTokens, Un as getCoingeckoPlatform, qn as getCoingeckoPrice, Jn as getCoingeckoPrice2, Yn as getCoingeckoPrices, Xn as getCoingeckoTokenList, Bc as getContractAddress, Bs as getCurrentDayStart, Vs as getCurrentTimeInSeconds, vr as getCurrentUserBrotherhood, yr as getCurrentUserBrotherhoodUsers, Hs as getCurrentWeekStart, ls as getDashboardURL, np as getDecodedMessage, Us as getDelayUntilUtc8, ii as getERC20Registry, _o as getERC20Token, vo as getERC20TokenBySymbol, Ws as getEffectiveSevenDaysAgo, Gs as getEffectiveToday, gc as getEncryptedOutputsAccountPublicKey, mf as getEquivalentNativeToken, yo as getErc20TokensForChain, Su as getErrorMessage, Cu as getErrorMessageFromTransactionRequest, Gl as getExternalActionIdFromNumber, Kl as getExternalActionIdHash, Xu as getFeeStructure, Vc as getFilePath, ai as getFixedRegistry, bu as getFlatFees, rr as getGasEstimates, _p as getGasTokenRecords, uu as getGasTokenSymbols, jc as getGenericFeeOverTransactionValueErrorMessage, Hc as getHinkalCache, us as getHinkalLandingURL, Bi as getHinkalParameters, lr as getIdleRelay, Uc as getInHinkalAddressesCache, Wc as getInHinkalAddressesFilePath, _l as getInputUtxoAndBalance, vl as getInputUtxoAndBalanceOfStuckUtxos, yl as getInputUtxoAndBalancePerToken, bl as getInputUtxosRemotely, _c as getInstructionsAccountPublicKey, vu as getInteractionFromAction, Zu as getKycAndSignatureData, Ro as getLifiChainId, Xf as getLifiPrice, hf as getLifiScanURL, vc as getMerkleAccountPublicKey, Cd as getNetworkName, ed as getNetworkObject, td as getNetworkType, Ks as getNextDayDelay, qs as getNextDayISO, q as getNonLocalhostChainId, yc as getNullifierAccount, Qf as getOKXPrice, Jf as getOdosPrice, Pd as getOnChainUtxosFromReceipt, Ld as getOnChainUtxosFromReceiptSolana, Yf as getOneInchPrice, Fd as getOutputCommitmentsFromEvmReceipt, Rd as getOutputCommitmentsFromSolanaReceipt, xf as getPatchedAccessTokenMerkleTree, ds as getPayURL, rp as getPermitInfo, Js as getPreviousWeekStart, bc as getProofAccountPart1PublicKey, xc as getProofAccountPart2PublicKey, rf as getProviderFromContract, fd as getPublicBalance, pd as getPublicBalanceByTokenAddress, md as getPublicBalancesOfTokens, br as getPublicBrotherhoods, hd as getPublicTransactionCount, Vd as getRandomProxyAvatarIndex, dd as getRecipientInfoFromUserKeys, fs as getRewardsURL, Br as getScheduledTransactions, Vr as getScheduledTransactionsNullifierIndexes, mu as getSequence, Ul as getShieldedBalance, qd as getSignatureFromEnclave, dr as getSignatureHeader, af as getSignerFromContract, iu as getSlippageValues, Nu as getSolanaPriorityFee, _m as getSolanaProxySendSerializedTransaction, xm as getSolanaProxyShieldSerializedTransaction, ym as getSolanaProxySwapSerializedTransaction, gd as getSolanaPublicBalances, Dl as getStateKey, Sc as getStorageAccountPublicKey, Cc as getStorageVaultPublicKey, wc as getSwapperAccountPublicKey, Tc as getSwapperAccountPublicKeyFromSalt, Ur as getTemporaryWalletNonces, ep as getTokenHolder, Ec as getTokenLimitStorageAccountPublicKey, ir as getTokenPreviousDayPrices, ar as getTokenPrices, Ol as getTokenStateKey, Eo as getTokensLimits, gp as getTokensToDepositBack, Uf as getTransactionLogEvents, Wf as getUniswapFee, Gf as getUniswapPrice, Kf as getUniswapPriceHelper, Ys as getUtcDayStart, Gd as getUtxosFromEnclave, Id as getUtxosFromReceipt, zd as getUtxosFromReceiptSolana, eo as getValueFirstNDigit, pl as getVerifierId, cf as getWalletGroupKey, ps as getWalletOnboardingURL, ap as groupConnectorsByWallet, df as hardRefreshPrivateBalance, bd as hasEnoughBalance, Or as hashEthereumAddress, kr as hashString, kl as hexToUtf8, Cm as hinkalClaimUtxo, wf as hinkalDeposit, bp as hinkalDepositAndWithdraw, Tf as hinkalDepositForOther, km as hinkalPalEvmDepositPrepare, Om as hinkalPalSolanaDepositPrepare, im as hinkalPrivateWallet, lm as hinkalProxySwap, He as hinkalSimulationAddress, Tm as hinkalSolanaClaimUtxo, pm as hinkalSolanaDepositAndWithdraw, wm as hinkalSolanaProoflessDeposit, vm as hinkalSolanaProxySend, Sm as hinkalSolanaProxyShield, bm as hinkalSolanaProxySwap, gm as hinkalSolanaTransfer, mm as hinkalSolanaWithdrawBatch, Sp as hinkalSwap, um as hinkalTransfer, Cp as hinkalWithdraw, xp as hinkalWithdrawBatch, Em as hinkalWithdrawStuckUtxos, up as hmacSha512, Qn as httpClient, Ku as initTokenLimitIfNeeded, ff as initialMerkleAndPrivateBalanceRefresh, Ma as insufficientResourcesErrorCodes, bo as isArcNativeToken, As as isCircomNegative, E as isDevelopment, J as isEvmChain, D as isExtension, op as isInjectedConnector, Y as isLocalNetwork, sp as isMockConnector, xo as isNFTToken, Ar as isNativePlaceholderAddress, id as isNicknameValid, O as isNode, k as isNotClientProduction, A as isNotProduction, Al as isNullOrEmpty, X as isOptimismLike, j as isPlayground, jr as isRecipientAddressInvalid, Xs as isSameDay, Il as isSameERC20Token, cp as isSolanaConnector, Z as isSolanaLike, sc as isSolanaOnChainUtxo, M as isStaging, lp as isTronConnector, Q as isTronLike, Mr as isValidPrivateAddress, Nr as isValidSolanaPublicKey, Pr as isValidTronAddress, wd as isValidUrl, N as isWebpack, Zs as isWithinDays, xr as joinBrotherhood, Ss as jubHolder, Sr as leaveBrotherhood, Gc as loadTxsCache, h as localhostData, $ as localhostNetwork, pi as localhostRegistry, xl as logError, wr as lowerCaseIncludes, Tr as lowerCaseStartsWith, ua as lpLink, da as lpProgramStartWeek, Zc as makeEnclaveHandshakeAndEncryptInput, Qc as makeEnclaveHandshakeAndEncryptUint8Array, $d as mapRecipientRequests, to as maxBigInt, ga as mediaUrls, no as minBigInt, Tu as modifyVolatileTokenAmountChanges, sr as monitor, cr as monitorBatch, Qs as msToISOString, ee as networkRegistry, zo as oauthUrls, Ue as oneInchZeroAddress, Gi as openDefaultPassportWindow, Hf as openPassportWindow, f as optimismData, ki as optimismGasPriceOracleAbi, mi as optimismRegistry, hi as optimismRegistryFixed, Wl as outputUtxoProcessing, So as overlayTokenWithRegistryData, We as ownerPublicKey, va as pancaceSwapPermit2Address, ml as parseZkCalldata, rm as payActivityStorage, ya as permit2Address, Ge as permitSignatureValidFor, fa as pointsLink, Fu as pollForValue, p as polygonData, gi as polygonRegistry, _i as polygonRegistryFixed, vs as poseidonFunction, ys as poseidonHash, bs as poseidonHolder, Td as postToOffscreen, Cs as preProcessing, Vf as prepareDepositOnChainUtxosZkProof, kd as prepareEthersProviderAdapter, Ad as prepareHinkal, jd as prepareHinkalFromSeedPhrases, Md as prepareHinkalWithSignature, Nd as prepareSolanaProviderAdapter, Po as presaleABI, Fo as presaleContractInfoByChain, em as pricesStorage, $p as privateBalancesStorage, Bl as privateTokensDB, Wn as proCoingeckoUrl, Gn as proHeader, yu as processGasEstimates, pp as produceOp, hu as promisify, Qp as publicBalancesStorage, cm as publicTokensDB, Ri as quoterV2ABI, pa as raffleProgramStartWeek, Ha as randomBigInt, qu as recipientUtxoProcessing, If as recoverAuthorizationData, ma as referralLink, pf as refreshPrivateBalance, rd as reloadPage, Wr as removeTemporaryWalletNonce, hl as reorderZkCallData, jl as replaceAllInstances, pu as requireEnv, Kc as resetCache, qc as resetInHinkalAddressesCache, Jp as resetMerkleTrees, lf as resetStateMutex, ms as resolveSns, gu as resolveSync, Mc as rethrowKnownGasErrorIfPossible, Zr as rpcGetStorageChanges, _d as rpcIntEncode, Qr as rpcSimulateBundle, $r as rpcSimulateTransaction, $f as runContractFunction, S as safeJsonStringify, Ci as sanctionsListABI, Jc as saveTxsCache, Kn as searchBySymbol, Co as searchCompareFunction, qf as searchPoolAndFee, Fr as seedlessBackup, Ir as seedlessCheckPassword, Lr as seedlessInit, Rr as seedlessSalt, zr as seedlessStatus, vp as selectGasToken, Gu as sendInitNullifiersTransaction, Kr as sendPrivateSendEmailNotifications, Vu as sendProxyV0Transaction, Hu as sendV0Transaction, au as serializeCircomData, zc as serializeDecodedTxs, Uu as serializeProxyV0Transaction, Wd as serializeUtxoConstructorParams, Yc as setHinkalCache, Xc as setInHinkalAddressesCache, ip as signAndSendSerializedTransaction, Ke as signaturePhrase, nm as signedMessagesStorage, nf as simulateTronTransaction, ei as simulateTx, te as solanaChainIdStr, _ as solanaData, vi as solanaLocalnetRegistry, yi as solanaMainnetRegistry, qe as solanaNativeAddress, wo as sortTokens, ef as splitRecipientsByAllocations, Ns as stealthAddressCacheDevice, Ps as stealthPairCacheDevice, Ju as storeInstructions, Wu as storeProof, _s as storeRecipientInfosViaEnclave, Jd as storeSignatureInEnclave, Kd as storeUtxoInEnclave, ta as supportedPassportLinks, ti as tenderlyRpcLinks, ro as toBigInt, io as toBigIntOrUndefined, Ua as toBigIntWithDecimals, ao as toCommaSeparatedNumberString, oo as toInt, C as toJsonSafe, so as toNumberOrUndefined, Ml as toTitleCase, Rl as tokenVisibilityStorage, ur as tokensInfoCall, Na as transactionErrorCodes, sf as transferClaimableUtxos, yd as trimFieldValues, co as trimLeadingZeros, y as tronMainnetData, v as tronNileData, lo as truncateToDecimalPlaces, ba as uniswap2Manager, xa as uniswap3Manager, Sa as uniswapApprovalExtraCallData, Vi as uniswapV2PoolData, Hi as uniswapV3FactoryData, Ui as uniswapV3PoolData, Wi as uniswapV3QuoterData, ld as uniswapWorkaround, Ca as uniswapWorkaroundAddresses, yp as updateHinkal, Ll as validateAndGetChainId, Nl as validateEmail, Hd as validateUsername, zf as verifyCommitmentValidationData, Bf as verifyCommitmentValidationDataSolana, Iu as wait, Qu as waitForDepositedUtxosInMerkleTree, Yd as waitForEthereumTransactionConfirmation, Xd as waitForSolanaTransactionConfirmation, Zd as waitForTransactionConfirmation, $s as waitLittle, Pa as walletConnectErrorCodes, Je as wrappedSolanaAddress, Ye as zeroAddress };
|
|
338
|
+
export { aa as ACCESS_TOKEN_MINTING_POINTS, oa as ACCESS_TOKEN_RECLAIM_POINTS, Uo as ACHIEVEMENTS, Ji as AIPRISE_KYB_TEMPLATE_ID_PROD, Yi as AIPRISE_KYC_TEMPLATE_ID_PROD, P as ALCHEMY_API_KEY, F as ALCHEMY_TEST_KEY, Zr as API, on as API_CONFIG, s as APPROVED_UTXO_CONVERSION_COUNT, Zo as APPROVE_FUNCTION_SIGNATURE, re as ARC_TESTNET_USDC_ADDRESS, Op as AbstractAccessTokenSnapshotService, kp as AbstractCommitmentsSnapshotService, Ep as AbstractEventService, Ap as AbstractNullifierSnapshotService, Dp as AbstractSnapshotService, Hp as AbstractSolanaAccessTokenSnapshotService, Vp as AbstractSolanaCommitmentsSnapshotService, Rp as AbstractSolanaEventService, Bp as AbstractSolanaNullifierSnapshotService, zp as AbstractSolanaSnapshotService, Pu as AccountActions, Ft as AchievementTiers, Tt as ActivityStatus, Qp as ActivityStorage, Et as ActivityTypes, wt as AdminTransactionType, Si as AmTokenABI, gt as ApprovalType, sm as ArcPublicTokensDB, ie as AssetChangeType, On as BACK_END_URL, rs as BANNED_WALLET_IDS, Ze as BPS_DENOMINATOR, I as BRIDGE_SUPPORTED_CHAINS, Ao as BRIDGING_URLS, Wo as BROTHERHOOD_TASKS, Ci as BUSDABI, Ni as BabABI, $n as BasicHttpClient, jp as BlockchainEvent, Mp as BlockchainEventEmitter, It as BrotherhoodTaskTypes, sa as CERTIFICATION_DISABLE_WEEK, ae as CIRCOM_MERKLE_LENGTH, oe as CIRCOM_P, se as CIRCOM_P_HALF, In as COINGECKO_API_KEY, ce as COMPUTE_UNIT_PADDING_PERCENTAGE, Ut as CallsStatus, qp as ClientAccessTokenSnapshotService, Pp as ClientBlockchainEventEmitter, Jp as ClientCommitmentsSnapshotService, Yp as ClientNullifierSnapshotService, Kp as ClientSolanaAccessTokenSnapshotService, Ip as ClientSolanaBlockchainEventEmitter, Wp as ClientSolanaCommitmentsSnapshotService, Gp as ClientSolanaNullifierSnapshotService, Ln as CoinGeckoChainLabels, Gt as ConfirmationRequestType, a as ContractType, b as CustomJSONParse, x as CustomJSONStringify, Go as DAILY_TASKS, le as DASHBOARD_BATCH_VARIABLE_RATE, ue as DASHBOARD_SEND_VARIABLE_RATE, sn as DATA_SERVER_CONFIG, kn as DATA_SERVER_URL, cn as DATA_SERVER_URL_ENDPOINT, ln as DATA_SERVER_URL_LOCAL, jo as DEFAULT_BRIDGING_SLIPPAGE, w as DEPLOYMENT_MODE, ja as DIRECTLY_SHOW_MESSAGE_ERROR_CODES, tn as DeliveryMethod, qt as DepositAndWithdrawPhase, Dt as DexProviders, de as EIP1271_FAILURE, fe as EIP1271_SUCCESS, Pi as ERC1155ABI, Fi as ERC20ABI, Ii as ERC721ABI, Xo as EVENTS_INITIAL_BLOCKS, L as EVM_CHAIN_IDS, Qe as EXTENDED_NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS, Ns as EncryptionKeyPairDefaultValue, Mc as ErrorCategory, Ac as ErrorWithAmount, Lc as ErrorWithIndex, Ic as ErrorWithRelayerTransaction, c as EthereumNetworkType, Xt as EventCategory, nt as EventType, Pm as EventsPublicApprovalsDB, o as ExternalActionId, R as FILTER_CHAIN_MAP, An as FUND_COMPLIANCE_URL, un as FUND_COMPLIANCE_URL_ENDPOINT, dn as FUND_COMPLIANCE_URL_LOCAL, jc as FeeOverTransactionValueError, sd as FileCacheDevice, Li as GalxeABI, Wt as GetCallsStatusCode, z as HELIUS_RPC_URL, Yr as HINKAL_DASHBOARD_TOKEN, pe as HINKAL_DEPOSIT_AND_WITHDRAW_VARIABLE_RATE, me as HINKAL_PRIVATE_SEND_VARIABLE_RATE, B as HINKAL_SUPPORTED_CHAINS, he as HINKAL_SWAP_VARIABLE_RATE, km as Hinkal, rt as HinkalLogicAction, Rc as HttpError, ai as IMAGE_PATHS, it as INTERACTION, Ri as ISwapRouterABI, at as IntegrationProvider, Ot as IntegrationProviderNames, Xi as KYC_LIMIT, dt as KycVerificationResult, ft as KycVerificationStatus, Ro as LIFISCAN_URL, zo as LIFI_SOLANA_CHAIN_ID, Mo as LOW_AMOUNT_BRIDGING_SLIPPAGE, No as LOW_AMOUNT_USD_THRESHOLD, cd as LocalStorageCacheDevice, wl as Logger, ot as LoginMessageMode, ge as MAX_COMPUTE_UNIT_LIMIT, ko as MAX_DISPLAY_DECIMALS, ls as MAX_FILE_SIZE_MB, _e as MAX_MICRO_LAMPORTS_PER_CU, ve as MERKLE_LEVELS, ye as MIN_COMPUTE_UNIT_LIMIT, Po as MIN_DAPP_BRIDGE_AMOUNT_USD, Ls as MS_PER_DAY, nn as MemberRole, zt as MemberStatus, Sf as MerkleTree, xf as MerkleTreeIncompleteError, Kt as MessagesFromOffscreen, Yt as MoonPayCurrencyType, Zp as MultiThreadedUtxoUtils, Ea as NATIVE_TOKEN_WRAPPER_ADDRESSES, ia as NETWORKS, be as NFT_1155_TRANSACTION_TYPE, xe as NFT_721_TRANSACTION_TYPE, Qo as NFT_APPROVE_FUNCTION_SIGNATURE, $o as NFT_APPROVE_SINGLE_FUNCTION_SIGNATURE, Se as NFT_TRANSACTION_TYPES, $e as NON_NATIVE_GAS_COST_TOKEN_SYMBOL_OPTIONS, po as NativeTokenSymbols, l as NetworkFilterType, Mi as NodeInterfaceABI, ts as OKX_BASE_URL, ns as OKX_SWAP_PATH, St as OldPointType, mp as OpType, Ce as PAY_SEND_VARIABLE_RATE, es as PERMIT2_APPROVE_FUNCTION_SIGNATURE, fn as PLAYGROUND_URL, Ko as POINTS_BOOST_TASKS, pn as PRODUCTION_URL, we as PROOFLESS_DEPOSIT_FEE_RECIPIENT_INFO, Te as PROVER_VERSION, Hd as PROXY_AVATAR_INDEX_COUNT, pt as Passports, Zt as PayActivityStatus, Qt as PayActivityTypes, rn as PayoutStatus, an as PayoutType, Vt as PointsType, Np as PollingBlockchainEventEmitter, Lp as PollingSolanaBlockchainEventEmitter, mo as PopularTokenSymbols, Nm as PresaleContractWrapper, jt as PrivateBalanceUpdateType, Vl as PrivateTokensDB, lm as PublicTokensDB, us as RECIPIENT_INFO_TARGET_POOL_SIZE, Zi as RECLAIM_MESSAGE_TO_SIGN, qo as REFERRAL_BONUS_TASK, Ee as RELAYERS_ARRAY, De as RELAYER_ADDRESS1, Oe as RELAYER_ADDRESS2, ke as RELAYER_ADDRESS3, mn as RELAYER_CONFIG, is as RELAYER_TX_CONFIRMATION_TIMEOUT, jn as RELAYER_URL, hn as RELAYER_URL_ENDPOINT, gn as RELAYER_URL_LOCAL, ca as REWARDS_ENCRYPTION_PASSWORD, la as REWARDS_MESSAGE_TO_SIGN, Jo as REWARDS_TASKS, ua as REWARD_RECEIVABLE_TOKEN_SYMBOLS, Ct as RafflePrizeType, Bt as Rank, Qi as ReclaimPassports, e as RevokeType, cs as SCHEDULE_DELAY_OPTIONS, Mn as SERVER_URL, _n as SERVER_URL_ENDPOINT, vn as SERVER_URL_LOCAL, Nn as SNAPSHOT_SERVER_URL, yn as SNAPSHOT_SERVER_URL_ENDPOINT, bn as SNAPSHOT_SERVER_URL_LOCAL, Ae as SOLANA_BLOCKHEIGHT_EXPIRED_RETRY_COUNT, V as SOLANA_CHAIN_IDS, Fo as SOLANA_LEDGER_WALLET_ID, je as SOLANA_LOCKED_ACCOUNTS_LIMIT, Me as SOLANA_LOOKUP_TABLE_VISIBILITY_MAX_POLL_ATTEMPTS, Ne as SOLANA_LOOKUP_TABLE_VISIBILITY_POLL_INTERVAL_MS, Pe as SOLANA_NFT_INTERFACES, ho as SOLANA_PAY_DASHBOARD_SUPPORTED_TOKEN_SYMBOLS, Fe as SOLANA_PUBLIC_INPUT_PART_ONE_LENGTH, xn as STAGING_URL, Da as SWAP_FEE_TAKER_ADDRESSES, Oa as SWAP_ROUTER_ADDRESSES, en as ScheduleDelayOption, Jt as ScheduledTransactionStatus, Fc as SimulationFailureError, _t as SlippageType, Up as SnapshotFetcherService, Fp as SolanaBlockchainEventEmitter, $i as StandardPassports, Mt as StorageKeys, ea as SupportedPassports, et as TEN_PERCENT_BPS, Do as TOKEN_LIMITS, Nt as TOKEN_PRICE_STATUS, Ie as TOKEN_VALUE_UNLIMITED_THRESHOLD, H as TRON_CHAIN_IDS, Le as TRON_DEFAULT_FEE_LIMIT_SUN, Re as TRON_TESTNET_USDT_ADDRESS, ze as TRON_USDT_ADDRESS, Ho as TVL_CHANGER_ACTIVITY_TYPES, as as TX_CONFIRMATION_CONFIRMATIONS_COUNT, os as TX_CONFIRMATION_TIMEOUT, ss as TX_CONFIRMATION_TIMEOUT_EXTENDED, Lt as TaskCategory, Rt as TaskTypes, kt as TokenChangeType, Eu as TokenChecker, Pt as TokenPriceTimeframe, Be as TokenType, Ht as TradingType, vt as TransactionAction, yt as TransactionReceiptStatus, At as TransactionRequestType, bt as TransactionStatus, Mm as TransactionType, $t as TransferVisibility, Ei as USDCABI, Oi as USDR3CRVABI, Di as USDRABI, ki as USDTABI, Ma as UserFriendlyErrorCodes, Ps as UserKeys, st as UserProgress, nc as Utxo, Sn as VERIFICATION_ROUTES, mt as VERIFICATION_TYPE, As as ValueCache, ht as VerificationTypes, Pn as WAAS_URL, Cn as WAAS_URL_ENDPOINT, wn as WAAS_URL_LOCAL, Qr as WALLET_API, U as WALLET_SUPPORTED_CHAINS, Tn as WALLET_TASK_VERIFICATION_TYPES, Yo as WELCOME_TASKS, Ai as WETHABI, ka as WETH_ERC20_TOKEN_ADDRESS, Aa as WRAPPER_TOKEN_EXCHANGE_ADDRESSES, rc as abiDecodeUtxo, qa as absBigInt, $p as activityStorage, Wl as addPaddingToUtxos, Wr as addTemporaryWalletNonce, rl as addressToHexFormat, Ja as advancedToBigInt, _o as aggregateTokenChanges, ta as aipriseBaseOnboardingProductionUrl, na as aipriseBaseOnboardingSandboxUrl, qr as allocatePrivateSendRecipientInfos, ya as allowanceHolder, u as arbMainnetData, ci as arbMainnetRegistry, li as arbMainnetRegistryFixed, cm as arcPublicTokensDB, g as arcTestnetData, ui as arcTestnetRegistry, Il as areErc20TokensInRegistry, bd as arraysMatch, vl as attemptGetInputUtxosRemotely, Cs as babyJubInstance, En as backendVersion, ff as balanceChangedHandler, m as baseData, di as baseRegistry, fi as baseRegistryFixed, Ya as beepsToPercentage, Xa as bigintMax, _a as blockReorgDepth, da as boostAmounts, id as browserSupported, pc as buildAnchorStealthAddressStructure, ef as buildClaimableDepositPlan, td as buildCommitmentValidationData, Yl as buildInNullifiers, pm as buildMultiPaymentDepositBuilder, mm as buildMultiPaymentDepositSetup, yf as buildOrderIdMemoInstruction, Xl as buildOutCommitments, _m as buildSolanaTransferPlan, Zl as calcAccessTokenSiblingAndSidesFromAccessKey, Ql as calcAccessTokenSiblingsAndSides, $l as calcAmountChanges, eu as calcCommitmentsSiblingAndSides, tu as calcEncryptedOutputs, nu as calcPublicSignalCount, ru as calcStealthAddressStructure, Za as calculateAmountUsingBeeps, La as calculateDollarValue, Rs as calculateRelativeTime, ku as calculateSolanaNullifierCount, Qa as calculateSum, lu as calculateTotalFee, uu as calculateWithdrawalAmount, ii as callLifiAPI, tr as callOneInchAPI, nr as callRelayerSolanaTransactBatchAPI, rr as callRelayerTransactAPI, ir as callRelayerTransactBatchAPI, Tl as capitalizeFirstLetter, El as capitalizeName, Tr as caseInsensitiveEqual, W as chainIds, G as chainIdsByType, go as chainNativeTokenSymbol, zc as checkAddressNotUpdated, Of as checkEOAWithDelegation, kc as checkHinkalAccessToken, cr as checkRisk, pp as checkTokenLimitsUSD, Ll as checkTokensForShielding, ic as checkUtxoSignature, il as circomDataToArray, Rn as coingeckoPriceUrl, zn as coingeckoPriceUrl2, Bn as coingeckoTokenListUrl, Ou as constructAdminData, zf as constructEmporiumProof, Bf as constructSolanaZkProof, Or as constructStealthAddressStructure, Tf as constructZkProof, rm as contactStorage, Vi as contractMetadataMapping, Es as convertBigIntToBytes32, Ds as convertBytes32ToBigInt, fd as convertEmporiumOpToCallInfo, yu as convertIntegrationProviderToExternalActionId, Nu as convertOKXToHinkalInstructions, tl as convertPublicKeyToBigint, Mu as convertSolanaPublicSignals, $a as countTotalAmountInUtxos, Au as createAndExtendAddressLookupTable, kf as createApproveEmporiumOp, gr as createBrotherhood, ld as createCacheDevice, iu as createCallDataHash, pu as createCustomSolanaConnection, mu as createJsonRpcProvider, Af as createLifiBridgeOps, $f as createOKXQuote, Od as createSigner, gp as createSwapToEmporiumOpForUniswap, _p as createSwapToEmporiumOps, jf as createTransaferEmporiumOpsBatch, Mf as createTransferToEmporiumOp, al as createTronCallData, ol as createTronWeb, kd as createVoidSigner, Ad as createVoidSolanaWallet, K as currentTronChainId, Ka as customTokenRegistry, wi as daiABI, Iu as debounce, Nf as decodeEmporiumMetadata, rp as decodeMessage, ac as decodeSolanaOnChainUtxo, oc as decodeUtxo, sc as decodeUtxoConstructorArgs, Os as decrypt, uc as decryptUtxo, dc as decryptUtxoConstructorArgs, ct as defaultFeeStructure, tt as defaultFeeToken, lt as defaultHinkalLogicArgs, t as defaultHookData, n as defaultHookDataArray, Ve as defaultSignatureData, r as defaultStealthAddressStructure, ut as defaultUseApprovalUTXOData, T as deploymentMode, Dn as deploymentModeWithVersion, cf as depositClaimableUtxos, au as deserializeCircomData, Bc as deserializeDecodedTxs, Gd as deserializeUtxoConstructorParams, sl as detectTronChainIdFromHost, _r as editBrotherhood, _s as emitReferralTx, vs as emitTxPublicData, Pf as emporiumOp, xt as emptyDecodedTx, i as emptyStealthAddressStructure, Ff as encodeEmporiumMetadata, wd as encodeParsedInLogicMetadata, cc as encodeSolanaOnChainUtxo, mc as encodeToByte32Array, ks as encrypt, fc as encryptUtxo, Zu as ensureAmountChanges, zu as ensureAtaExists, vf as ensureRecipientInfoPool, Bu as estimateComputeUnitLimit, cl as estimateTronFeeSunWithPadding, d as ethMainnetData, pi as ethMainnetRegistry, mi as ethMainnetRegistryFixed, Ra as ethToWei, He as ethVolatileAddress, Fm as eventsPublicApprovalsDB, ll as evmHexToTronBase58Address, Cu as extractMessage, bf as extractOrderIdFromMemos, Cd as extractTokenIdsFromAssetChanges, zi as factoryABI, wf as fetchOnChainRootHashes, Vu as fetchSolanaTransaction, ul as fetchTronAccountResources, dl as fetchTronChainParameters, eo as fixDecimalsAmount, kr as formatAddress, to as formatAmountInput, zs as formatDate, nl as formatMintAddress, Bs as formatTimestampDate, vo as formatTokenChangesList, Vs as formatTxTimestamp, rf as formatUSDNumber, Na as gasErrorCodes, mr as generateAumPoints, du as generateFeeStructure, If as generateFundAndApproveOps, fl as generateProofSignatureRemotely, hr as generateTradingPoints, cu as generateZkProof, hc as getAccessTokenAccountPublicKey, gc as getAccessTokenMerkleAccountPublicKey, _c as getAccessTokenStorageAccountPublicKey, Hu as getAccountsFromInstructions, Dl as getAddressFromStateKey, ju as getAddressLookupTableAccounts, za as getAmountInToken, Ba as getAmountInWei, Va as getAmountInWeiOrZero, Ha as getAmountWithPrecision, Ua as getAmountWithPrecisionOrZero, Xr as getAuthHeaders, Lf as getAuthorizationDataIfNeeded, pl as getAvailableResource, ud as getBlockExplorerUrl, vr as getBrotherhood, yr as getBrotherhoodUsers, Ul as getChainBalanceFetchingMutex, Ol as getChainIdFromStateKey, ml as getChainParameterValue, js as getCircomSign, Vn as getCoinByAddress, Hn as getCoinById, Un as getCoinMarketChartByTokenId, Wn as getCoingeckoIdForNativeTokens, Gn as getCoingeckoPlatform, Yn as getCoingeckoPrice, Xn as getCoingeckoPrice2, Zn as getCoingeckoPrices, Qn as getCoingeckoTokenList, Hc as getContractAddress, Hs as getCurrentDayStart, Us as getCurrentTimeInSeconds, br as getCurrentUserBrotherhood, xr as getCurrentUserBrotherhoodUsers, Ws as getCurrentWeekStart, ds as getDashboardURL, ip as getDecodedMessage, Gs as getDelayUntilUtc8, oi as getERC20Registry, yo as getERC20Token, bo as getERC20TokenBySymbol, Ks as getEffectiveSevenDaysAgo, qs as getEffectiveToday, vc as getEncryptedOutputsAccountPublicKey, gf as getEquivalentNativeToken, xo as getErc20TokensForChain, wu as getErrorMessage, Tu as getErrorMessageFromTransactionRequest, ql as getExternalActionIdFromNumber, Jl as getExternalActionIdHash, Qu as getFeeStructure, Uc as getFilePath, si as getFixedRegistry, Su as getFlatFees, ar as getGasEstimates, yp as getGasTokenRecords, fu as getGasTokenSymbols, Nc as getGenericFeeOverTransactionValueErrorMessage, Wc as getHinkalCache, fs as getHinkalLandingURL, Hi as getHinkalParameters, dr as getIdleRelay, Gc as getInHinkalAddressesCache, Kc as getInHinkalAddressesFilePath, yl as getInputUtxoAndBalance, bl as getInputUtxoAndBalanceOfStuckUtxos, xl as getInputUtxoAndBalancePerToken, Sl as getInputUtxosRemotely, yc as getInstructionsAccountPublicKey, bu as getInteractionFromAction, $u as getKycAndSignatureData, Bo as getLifiChainId, Qf as getLifiPrice, _f as getLifiScanURL, bc as getMerkleAccountPublicKey, Td as getNetworkName, nd as getNetworkObject, rd as getNetworkType, Js as getNextDayDelay, Ys as getNextDayISO, q as getNonLocalhostChainId, xc as getNullifierAccount, ep as getOKXPrice, Xf as getOdosPrice, Id as getOnChainUtxosFromReceipt, zd as getOnChainUtxosFromReceiptSolana, Zf as getOneInchPrice, Ld as getOutputCommitmentsFromEvmReceipt, Bd as getOutputCommitmentsFromSolanaReceipt, Cf as getPatchedAccessTokenMerkleTree, ps as getPayURL, ap as getPermitInfo, Xs as getPreviousWeekStart, Sc as getProofAccountPart1PublicKey, Cc as getProofAccountPart2PublicKey, of as getProviderFromContract, md as getPublicBalance, hd as getPublicBalanceByTokenAddress, gd as getPublicBalancesOfTokens, Sr as getPublicBrotherhoods, _d as getPublicTransactionCount, Ud as getRandomProxyAvatarIndex, pd as getRecipientInfoFromUserKeys, ms as getRewardsURL, Hr as getScheduledTransactions, Ur as getScheduledTransactionsNullifierIndexes, gu as getSequence, Gl as getShieldedBalance, Yd as getSignatureFromEnclave, pr as getSignatureHeader, sf as getSignerFromContract, ou as getSlippageValues, Fu as getSolanaPriorityFee, ym as getSolanaProxySendSerializedTransaction, Cm as getSolanaProxyShieldSerializedTransaction, xm as getSolanaProxySwapSerializedTransaction, vd as getSolanaPublicBalances, kl as getStateKey, wc as getStorageAccountPublicKey, Tc as getStorageVaultPublicKey, Ec as getSwapperAccountPublicKey, Dc as getSwapperAccountPublicKeyFromSalt, Gr as getTemporaryWalletNonces, np as getTokenHolder, Oc as getTokenLimitStorageAccountPublicKey, or as getTokenPreviousDayPrices, sr as getTokenPrices, Al as getTokenStateKey, Oo as getTokensLimits, vp as getTokensToDepositBack, Gf as getTransactionLogEvents, Kf as getUniswapFee, qf as getUniswapPrice, Jf as getUniswapPriceHelper, Zs as getUtcDayStart, qd as getUtxosFromEnclave, Rd as getUtxosFromReceipt, Vd as getUtxosFromReceiptSolana, no as getValueFirstNDigit, hl as getVerifierId, uf as getWalletGroupKey, hs as getWalletOnboardingURL, sp as groupConnectorsByWallet, pf as hardRefreshPrivateBalance, Sd as hasEnoughBalance, Ar as hashEthereumAddress, jr as hashString, jl as hexToUtf8, Tm as hinkalClaimUtxo, Ef as hinkalDeposit, Sp as hinkalDepositAndWithdraw, Df as hinkalDepositForOther, jm as hinkalPalEvmDepositPrepare, Am as hinkalPalSolanaDepositPrepare, om as hinkalPrivateWallet, dm as hinkalProxySwap, Ue as hinkalSimulationAddress, Dm as hinkalSolanaClaimUtxo, hm as hinkalSolanaDepositAndWithdraw, Em as hinkalSolanaProoflessDeposit, bm as hinkalSolanaProxySend, wm as hinkalSolanaProxyShield, Sm as hinkalSolanaProxySwap, vm as hinkalSolanaTransfer, gm as hinkalSolanaWithdrawBatch, wp as hinkalSwap, fm as hinkalTransfer, Tp as hinkalWithdraw, Cp as hinkalWithdrawBatch, Om as hinkalWithdrawStuckUtxos, fp as hmacSha512, er as httpClient, Ju as initTokenLimitIfNeeded, mf as initialMerkleAndPrivateBalanceRefresh, Pa as insufficientResourcesErrorCodes, So as isArcNativeToken, Ms as isCircomNegative, E as isDevelopment, J as isEvmChain, D as isExtension, cp as isInjectedConnector, Y as isLocalNetwork, lp as isMockConnector, Co as isNFTToken, Mr as isNativePlaceholderAddress, od as isNicknameValid, O as isNode, k as isNotClientProduction, A as isNotProduction, Ml as isNullOrEmpty, X as isOptimismLike, j as isPlayground, Nr as isRecipientAddressInvalid, Qs as isSameDay, Rl as isSameERC20Token, up as isSolanaConnector, Z as isSolanaLike, lc as isSolanaOnChainUtxo, M as isStaging, dp as isTronConnector, Q as isTronLike, Pr as isValidPrivateAddress, Fr as isValidSolanaPublicKey, Ir as isValidTronAddress, Ed as isValidUrl, N as isWebpack, $s as isWithinDays, Cr as joinBrotherhood, ws as jubHolder, wr as leaveBrotherhood, qc as loadTxsCache, h as localhostData, $ as localhostNetwork, hi as localhostRegistry, Cl as logError, Er as lowerCaseIncludes, Dr as lowerCaseStartsWith, fa as lpLink, pa as lpProgramStartWeek, $c as makeEnclaveHandshakeAndEncryptInput, el as makeEnclaveHandshakeAndEncryptUint8Array, tf as mapRecipientRequests, ro as maxBigInt, va as mediaUrls, io as minBigInt, Du as modifyVolatileTokenAmountChanges, lr as monitor, ur as monitorBatch, ec as msToISOString, ee as networkRegistry, Vo as oauthUrls, We as oneInchZeroAddress, qi as openDefaultPassportWindow, Wf as openPassportWindow, f as optimismData, ji as optimismGasPriceOracleAbi, gi as optimismRegistry, _i as optimismRegistryFixed, Kl as outputUtxoProcessing, wo as overlayTokenWithRegistryData, Ge as ownerPublicKey, ba as pancaceSwapPermit2Address, gl as parseZkCalldata, am as payActivityStorage, xa as permit2Address, Ke as permitSignatureValidFor, ma as pointsLink, Lu as pollForValue, p as polygonData, vi as polygonRegistry, yi as polygonRegistryFixed, bs as poseidonFunction, xs as poseidonHash, Ss as poseidonHolder, Dd as postToOffscreen, Ts as preProcessing, Uf as prepareDepositOnChainUtxosZkProof, jd as prepareEthersProviderAdapter, Md as prepareHinkal, Nd as prepareHinkalFromSeedPhrases, Pd as prepareHinkalWithSignature, Fd as prepareSolanaProviderAdapter, Io as presaleABI, Lo as presaleContractInfoByChain, nm as pricesStorage, tm as privateBalancesStorage, Hl as privateTokensDB, Kn as proCoingeckoUrl, qn as proHeader, xu as processGasEstimates, hp as produceOp, _u as promisify, em as publicBalancesStorage, um as publicTokensDB, Bi as quoterV2ABI, ha as raffleProgramStartWeek, Wa as randomBigInt, Yu as recipientUtxoProcessing, Rf as recoverAuthorizationData, ga as referralLink, hf as refreshPrivateBalance, ad as reloadPage, Kr as removeTemporaryWalletNonce, _l as reorderZkCallData, Nl as replaceAllInstances, hu as requireEnv, Jc as resetCache, Yc as resetInHinkalAddressesCache, Xp as resetMerkleTrees, df as resetStateMutex, gs as resolveSns, vu as resolveSync, Pc as rethrowKnownGasErrorIfPossible, $r as rpcGetStorageChanges, yd as rpcIntEncode, ei as rpcSimulateBundle, ti as rpcSimulateTransaction, tp as runContractFunction, S as safeJsonStringify, Ti as sanctionsListABI, Xc as saveTxsCache, Jn as searchBySymbol, To as searchCompareFunction, Yf as searchPoolAndFee, Lr as seedlessBackup, Rr as seedlessCheckPassword, zr as seedlessInit, Br as seedlessSalt, Vr as seedlessStatus, bp as selectGasToken, qu as sendInitNullifiersTransaction, Jr as sendPrivateSendEmailNotifications, Uu as sendProxyV0Transaction, Wu as sendV0Transaction, su as serializeCircomData, Vc as serializeDecodedTxs, Gu as serializeProxyV0Transaction, Kd as serializeUtxoConstructorParams, Fn as setBackendForTronChain, Zc as setHinkalCache, te as setHinkalTronChainId, Qc as setInHinkalAddressesCache, op as signAndSendSerializedTransaction, qe as signaturePhrase, im as signedMessagesStorage, af as simulateTronTransaction, ni as simulateTx, ne as solanaChainIdStr, _ as solanaData, bi as solanaLocalnetRegistry, xi as solanaMainnetRegistry, Je as solanaNativeAddress, Eo as sortTokens, nf as splitRecipientsByAllocations, Fs as stealthAddressCacheDevice, Is as stealthPairCacheDevice, Xu as storeInstructions, Ku as storeProof, ys as storeRecipientInfosViaEnclave, Xd as storeSignatureInEnclave, Jd as storeUtxoInEnclave, ra as supportedPassportLinks, ri as tenderlyRpcLinks, ao as toBigInt, oo as toBigIntOrUndefined, Ga as toBigIntWithDecimals, so as toCommaSeparatedNumberString, co as toInt, C as toJsonSafe, lo as toNumberOrUndefined, Pl as toTitleCase, Bl as tokenVisibilityStorage, fr as tokensInfoCall, Fa as transactionErrorCodes, lf as transferClaimableUtxos, xd as trimFieldValues, uo as trimLeadingZeros, y as tronMainnetData, v as tronNileData, fo as truncateToDecimalPlaces, Sa as uniswap2Manager, Ca as uniswap3Manager, wa as uniswapApprovalExtraCallData, Ui as uniswapV2PoolData, Wi as uniswapV3FactoryData, Gi as uniswapV3PoolData, Ki as uniswapV3QuoterData, dd as uniswapWorkaround, Ta as uniswapWorkaroundAddresses, xp as updateHinkal, zl as validateAndGetChainId, Fl as validateEmail, Wd as validateUsername, Vf as verifyCommitmentValidationData, Hf as verifyCommitmentValidationDataSolana, Ru as wait, ed as waitForDepositedUtxosInMerkleTree, Zd as waitForEthereumTransactionConfirmation, Qd as waitForSolanaTransactionConfirmation, $d as waitForTransactionConfirmation, tc as waitLittle, Ia as walletConnectErrorCodes, Ye as wrappedSolanaAddress, Xe as zeroAddress };
|